mirror of
https://github.com/slawkens/myaac.git
synced 2025-10-13 17:24:54 +02:00
Update index.php
This commit is contained in:
@@ -102,14 +102,14 @@ if(isset($config['boxes']))
|
|||||||
}
|
}
|
||||||
function LoginButtonAction()
|
function LoginButtonAction()
|
||||||
{
|
{
|
||||||
if(loginStatus == "false") {
|
if(loginStatus === "false") {
|
||||||
window.location = "<?php echo getLink('account/manage'); ?>";
|
window.location = "<?php echo getLink('account/manage'); ?>";
|
||||||
} else {
|
} else {
|
||||||
window.location = "<?php echo getLink('account/manage'); ?>";
|
window.location = "<?php echo getLink('account/manage'); ?>";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
function LoginstatusTextAction(source) {
|
function LoginstatusTextAction(source) {
|
||||||
if(loginStatus == "false") {
|
if(loginStatus === "false") {
|
||||||
window.location = "<?php echo getLink('account/create'); ?>";
|
window.location = "<?php echo getLink('account/create'); ?>";
|
||||||
} else {
|
} else {
|
||||||
window.location = "<?php echo getLink('account/logout'); ?>";
|
window.location = "<?php echo getLink('account/logout'); ?>";
|
||||||
|
Reference in New Issue
Block a user