Revision 241
Added by stefan about 19 years ago
trunk/wb/templates/allcss/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 /> |
trunk/wb/templates/round/index.php | ||
---|---|---|
95 | 95 |
<?php } ?> |
96 | 96 |
|
97 | 97 |
<?php |
98 |
if(FRONTEND_LOGIN AND !$admin->is_authenticated()) {
|
|
98 |
if(FRONTEND_LOGIN AND !$wb->is_authenticated()) {
|
|
99 | 99 |
?> |
100 | 100 |
<form name="login" action="<?php echo LOGIN_URL; ?>" method="post"> |
101 | 101 |
|
... | ... | |
152 | 152 |
|
153 | 153 |
</form> |
154 | 154 |
<?php |
155 |
} elseif(FRONTEND_LOGIN AND $admin->is_authenticated()) {
|
|
155 |
} elseif(FRONTEND_LOGIN AND $wb->is_authenticated()) {
|
|
156 | 156 |
?> |
157 | 157 |
<form name="logout" action="<?php echo LOGOUT_URL; ?>" method="post"> |
158 | 158 |
|
... | ... | |
169 | 169 |
</tr> |
170 | 170 |
<tr> |
171 | 171 |
<td class="login" style="padding-top: 15px; padding-bottom: 15px;"> |
172 |
<?php echo $TEXT['WELCOME_BACK']; ?>, <?php echo $admin->get_display_name(); ?>
|
|
172 |
<?php echo $TEXT['WELCOME_BACK']; ?>, <?php echo $wb->get_display_name(); ?>
|
|
173 | 173 |
</td> |
174 | 174 |
</tr> |
175 | 175 |
<tr> |
Also available in: Unified diff
Replaced by in templates round and allcss