Project

General

Profile

« Previous | Next » 

Revision 241

Added by stefan about 19 years ago

Replaced by in templates round and allcss

View differences:

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