Revision 241
Added by stefan about 19 years ago
index.php | ||
---|---|---|
60 | 60 |
<?php page_menu(0, 1, '<li class="menu_main"[class]>[a][menu_title][/a]</li>', '<ul>', '</ul>', '', ' style="font-weight: bold;"'); ?> |
61 | 61 |
|
62 | 62 |
<?php |
63 |
if(FRONTEND_LOGIN == 'enabled' AND VISIBILITY != 'private' AND $admin->get_session('USER_ID') == '') {
|
|
63 |
if(FRONTEND_LOGIN == 'enabled' AND VISIBILITY != 'private' AND $wb->get_session('USER_ID') == '') {
|
|
64 | 64 |
?> |
65 | 65 |
<form name="login" action="<?php echo LOGIN_URL; ?>" method="post" class="login_table"> |
66 | 66 |
<h1><?php echo $TEXT['LOGIN']; ?></h1> |
... | ... | |
75 | 75 |
<?php } ?> |
76 | 76 |
</form> |
77 | 77 |
<?php |
78 |
} elseif(FRONTEND_LOGIN == 'enabled' AND is_numeric($admin->get_session('USER_ID'))) {
|
|
78 |
} elseif(FRONTEND_LOGIN == 'enabled' AND is_numeric($wb->get_session('USER_ID'))) {
|
|
79 | 79 |
?> |
80 | 80 |
<form name="logout" action="<?php echo LOGOUT_URL; ?>" method="post" class="login_table"> |
81 | 81 |
<h1><?php echo $TEXT['LOGGED_IN']; ?></h1> |
82 |
<?php echo $TEXT['WELCOME_BACK']; ?>, <?php echo $admin->get_display_name(); ?>
|
|
82 |
<?php echo $TEXT['WELCOME_BACK']; ?>, <?php echo $wb->get_display_name(); ?>
|
|
83 | 83 |
<br /> |
84 | 84 |
<input type="submit" name="submit" value="<?php echo $MENU['LOGOUT']; ?>" /> |
85 | 85 |
<br /> |
Also available in: Unified diff
Replaced by in templates round and allcss