Revision 1528
Added by Dietmar almost 13 years ago
index.php | ||
---|---|---|
78 | 78 |
</tr> |
79 | 79 |
<tr> |
80 | 80 |
<td width="170"> |
81 |
<?php show_menu(); ?>
|
|
81 |
<?php show_menu2(SM2_ALLMENU,SM2_ROOT, SM2_ROOT+PAGE_LEVEL_LIMIT, SM2_ALL|SM2_NUMCLASS ); ?>
|
|
82 | 82 |
</td> |
83 | 83 |
</tr> |
84 | 84 |
<tr> |
... | ... | |
119 | 119 |
</form> |
120 | 120 |
<?php } ?> |
121 | 121 |
|
122 |
<?php |
|
123 |
if(FRONTEND_LOGIN AND !$wb->is_authenticated()) { |
|
124 |
?> |
|
122 |
<?php |
|
123 |
if(FRONTEND_LOGIN AND !$wb->is_authenticated() AND VISIBILITY != 'private' ) { |
|
124 |
$redirect_url = (isset($_SERVER['HTTP_REFERER']) ? $_SERVER['HTTP_REFERER'] : WB_URL ); |
|
125 |
$redirect_url = (isset($thisApp->redirect_url) ? $thisApp->redirect_url : $redirect_url ); |
|
126 |
?> |
|
125 | 127 |
<form name="login" action="<?php echo LOGIN_URL; ?>" method="post"> |
126 |
|
|
128 |
<input type="hidden" name="redirect" value="<?php echo $redirect_url;?>" /></p> |
|
127 | 129 |
<table cellpadding="0" cellspacing="0" border="0" width="150" align="center" style="margin-top: 10px;"> |
128 | 130 |
<tr> |
129 | 131 |
<td class="border"> |
Also available in: Unified diff
rework login and show_menu in templates allcss and round