393,24 → 393,16 |
<meta http-equiv=\"Cache-control\" content=\"no-cache\"> |
<meta http-equiv=\"Pragma\" content=\"no-cache\"> |
<script type=\"text/javascript\" language=\"JavaScript\"> |
var blur = 0; // not un use |
var mytimeleft = 0; // not un use |
alcasar_popup = null; |
|
function popUp(URL) { |
if (self.name != \"alcasar_popup\") { |
alcasar_popup = window.open(URL, 'alcasar_popup', 'width=500,height=460,directories=no,resizable=no,scrollbars=yes,location=no,toolbar=no,statusbar=no,menubar=no'); |
} |
} |
|
function doOnLoad(result, userurl, redirurl, adminurl, timeleft) { |
if (timeleft) { // not in use |
mytimeleft = timeleft; |
} |
if ((result == 1)||(result == 4)) { //success or already |
//window.location = userurl; |
if (alcasar_popup != null) alcasar_popup.focus(); |
|
if (adminurl != ''){ |
window.location = adminurl; |
} else if (redirurl != '') { |
444,6 → 436,7 |
echo "<center> $reply <br /><br /></center>"; |
} |
} |
if ($userurl == "http://logout/") $userurl="http://www.qwant.com"; //avoid cyclic logout |
echo " |
<img id=\"logo-alcasar\" src=\"/images/logo-alcasar.png\"> |
<form name=\"form1\" method=\"post\" action=\"$loginpath\"> |