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()
|
||||
{
|
||||
if(loginStatus == "false") {
|
||||
if(loginStatus === "false") {
|
||||
window.location = "<?php echo getLink('account/manage'); ?>";
|
||||
} else {
|
||||
window.location = "<?php echo getLink('account/manage'); ?>";
|
||||
}
|
||||
}
|
||||
function LoginstatusTextAction(source) {
|
||||
if(loginStatus == "false") {
|
||||
if(loginStatus === "false") {
|
||||
window.location = "<?php echo getLink('account/create'); ?>";
|
||||
} else {
|
||||
window.location = "<?php echo getLink('account/logout'); ?>";
|
||||
|
Reference in New Issue
Block a user