mirror of
https://gitlab.easter-eggs.com/ee/ldapsaisie.git
synced 2024-12-19 06:53:53 +01:00
Remove references to old index.php page
This commit is contained in:
parent
4bd18a14e4
commit
91ea37f841
5 changed files with 12 additions and 12 deletions
|
@ -531,7 +531,7 @@ class LSsession {
|
||||||
LSauth :: afterLogout();
|
LSauth :: afterLogout();
|
||||||
|
|
||||||
// Redirect user on home page
|
// Redirect user on home page
|
||||||
LSurl :: redirect('index.php');
|
LSurl :: redirect();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -1185,7 +1185,7 @@ class LSsession {
|
||||||
public static function displayLoginForm() {
|
public static function displayLoginForm() {
|
||||||
LStemplate :: assign('pagetitle',_('Connection'));
|
LStemplate :: assign('pagetitle',_('Connection'));
|
||||||
if (isset($_GET['LSsession_logout'])) {
|
if (isset($_GET['LSsession_logout'])) {
|
||||||
LStemplate :: assign('loginform_action','index.php');
|
LStemplate :: assign('loginform_action', '');
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
LStemplate :: assign('loginform_action',$_SERVER['REQUEST_URI']);
|
LStemplate :: assign('loginform_action',$_SERVER['REQUEST_URI']);
|
||||||
|
@ -1226,7 +1226,7 @@ class LSsession {
|
||||||
*/
|
*/
|
||||||
public static function displayRecoverPasswordForm($recoveryPasswordInfos) {
|
public static function displayRecoverPasswordForm($recoveryPasswordInfos) {
|
||||||
LStemplate :: assign('pagetitle',_('Recovery of your credentials'));
|
LStemplate :: assign('pagetitle',_('Recovery of your credentials'));
|
||||||
LStemplate :: assign('recoverpasswordform_action','index.php?LSsession_recoverPassword');
|
LStemplate :: assign('recoverpasswordform_action','?LSsession_recoverPassword');
|
||||||
|
|
||||||
if (count(LSconfig :: get('ldap_servers'))==1) {
|
if (count(LSconfig :: get('ldap_servers'))==1) {
|
||||||
LStemplate :: assign('recoverpasswordform_ldapserver_style','style="display: none"');
|
LStemplate :: assign('recoverpasswordform_ldapserver_style','style="display: none"');
|
||||||
|
@ -2466,7 +2466,7 @@ class LSsession {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
if ($force)
|
if ($force)
|
||||||
LSurl :: redirect('index.php');
|
LSurl :: redirect();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
|
@ -112,7 +112,7 @@ var LSdefault = new Class({
|
||||||
},
|
},
|
||||||
|
|
||||||
onSelectLSlangImgClick: function(img) {
|
onSelectLSlangImgClick: function(img) {
|
||||||
window.location='index.php?lang='+img.alt;
|
window.location='?lang='+img.alt;
|
||||||
},
|
},
|
||||||
|
|
||||||
onWantMoo: function(event) {
|
onWantMoo: function(event) {
|
||||||
|
|
|
@ -40,7 +40,7 @@
|
||||||
</dl>
|
</dl>
|
||||||
</form>
|
</form>
|
||||||
<span>{tr msg="Language"} : <img id='LSlang' src='{img name=$LSlang}' alt='{$LSlang|escape:"htmlall"}' title='{$LSlang|escape:"htmlall"}'/></span>
|
<span>{tr msg="Language"} : <img id='LSlang' src='{img name=$LSlang}' alt='{$LSlang|escape:"htmlall"}' title='{$LSlang|escape:"htmlall"}'/></span>
|
||||||
<a href='index.php?LSsession_recoverPassword' class='LSsession_recoverPassword LSsession_recoverPassword_hidden'>{$loginform_label_recoverPassword|escape:"htmlall"}</a>
|
<a href='?LSsession_recoverPassword' class='LSsession_recoverPassword LSsession_recoverPassword_hidden'>{$loginform_label_recoverPassword|escape:"htmlall"}</a>
|
||||||
</div>
|
</div>
|
||||||
{include file='ls:LSsession_js.tpl'}
|
{include file='ls:LSsession_js.tpl'}
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -31,7 +31,7 @@
|
||||||
|
|
||||||
<p id='recoverpassword_msg'>{$recoverpassword_msg|escape:"htmlall"}</p>
|
<p id='recoverpassword_msg'>{$recoverpassword_msg|escape:"htmlall"}</p>
|
||||||
<span>{tr msg="Language"} : <img id='LSlang' src='{img name=$LSlang}' alt='{$LSlang|escape:"htmlall"}' title='{$LSlang|escape:"htmlall"}'/></span>
|
<span>{tr msg="Language"} : <img id='LSlang' src='{img name=$LSlang}' alt='{$LSlang|escape:"htmlall"}' title='{$LSlang|escape:"htmlall"}'/></span>
|
||||||
<a href='index.php' id='recoverpassword_back'>{$recoverpasswordform_label_back|escape:"htmlall"}</a>
|
<a href='' id='recoverpassword_back'>{$recoverpasswordform_label_back|escape:"htmlall"}</a>
|
||||||
</div>
|
</div>
|
||||||
{include file='ls:LSsession_js.tpl'}
|
{include file='ls:LSsession_js.tpl'}
|
||||||
</body>
|
</body>
|
||||||
|
|
|
@ -17,12 +17,12 @@
|
||||||
<table id='main'>
|
<table id='main'>
|
||||||
<tr>
|
<tr>
|
||||||
<td rowspan=2 id='left'>
|
<td rowspan=2 id='left'>
|
||||||
<a href='index.php'><img src='{img name='logo'}' alt='Logo' id='logo'/></a>
|
<a href=''><img src='{img name='logo'}' alt='Logo' id='logo'/></a>
|
||||||
|
|
||||||
{if isset($LSsession_subDn) && $LSsession_subDn!=""}
|
{if isset($LSsession_subDn) && $LSsession_subDn!=""}
|
||||||
<form action="index.php" method='post' id='LSsession_topDn_form'>
|
<form action="" method='post' id='LSsession_topDn_form'>
|
||||||
<label>{$label_level|escape:"htmlall"}
|
<label>{$label_level|escape:"htmlall"}
|
||||||
<a href="index.php?LSsession_refresh"><img src='{img name='refresh'}' alt='{$_refresh|escape:"htmlall"}' title='{$_refresh|escape:"htmlall"}' /></a>
|
<a href="?LSsession_refresh"><img src='{img name='refresh'}' alt='{$_refresh|escape:"htmlall"}' title='{$_refresh|escape:"htmlall"}' /></a>
|
||||||
<select name='LSsession_topDn' id='LSsession_topDn'>
|
<select name='LSsession_topDn' id='LSsession_topDn'>
|
||||||
{html_options values=$LSsession_subDn_indexes output=$LSsession_subDn_names selected=$LSsession_subDn}
|
{html_options values=$LSsession_subDn_indexes output=$LSsession_subDn_names selected=$LSsession_subDn}
|
||||||
</select>
|
</select>
|
||||||
|
@ -60,8 +60,8 @@
|
||||||
<input type='submit' value='->'/>
|
<input type='submit' value='->'/>
|
||||||
</form>
|
</form>
|
||||||
{if $displaySelfAccess}{$connected_as|escape:"htmlall"} <span id='user_name'>{$LSsession_username|escape:"htmlall"}</span>{/if}
|
{if $displaySelfAccess}{$connected_as|escape:"htmlall"} <span id='user_name'>{$LSsession_username|escape:"htmlall"}</span>{/if}
|
||||||
<a href='index.php?LSsession_refresh=1'><img src='{img name='refresh'}' alt="{tr msg="Refresh my access rights"}" title="{tr msg="Refresh my access rights"}" /></a>
|
<a href='?LSsession_refresh=1'><img src='{img name='refresh'}' alt="{tr msg="Refresh my access rights"}" title="{tr msg="Refresh my access rights"}" /></a>
|
||||||
{if $displayLogoutBtn} <a href='index.php?LSsession_logout'><img src='{img name='logout'}' alt='Logout' title='Logout' /></a>{/if}
|
{if $displayLogoutBtn} <a href='?LSsession_logout'><img src='{img name='logout'}' alt='Logout' title='Logout' /></a>{/if}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
|
|
Loading…
Reference in a new issue