diff --git a/src/includes/class/class.LSsession.php b/src/includes/class/class.LSsession.php
index 895404a8..805100f9 100644
--- a/src/includes/class/class.LSsession.php
+++ b/src/includes/class/class.LSsession.php
@@ -531,7 +531,7 @@ class LSsession {
LSauth :: afterLogout();
// Redirect user on home page
- LSurl :: redirect('index.php');
+ LSurl :: redirect();
return;
}
@@ -1185,7 +1185,7 @@ class LSsession {
public static function displayLoginForm() {
LStemplate :: assign('pagetitle',_('Connection'));
if (isset($_GET['LSsession_logout'])) {
- LStemplate :: assign('loginform_action','index.php');
+ LStemplate :: assign('loginform_action', '');
}
else {
LStemplate :: assign('loginform_action',$_SERVER['REQUEST_URI']);
@@ -1226,7 +1226,7 @@ class LSsession {
*/
public static function displayRecoverPasswordForm($recoveryPasswordInfos) {
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) {
LStemplate :: assign('recoverpasswordform_ldapserver_style','style="display: none"');
@@ -2466,7 +2466,7 @@ class LSsession {
}
}
if ($force)
- LSurl :: redirect('index.php');
+ LSurl :: redirect();
}
/**
diff --git a/src/includes/js/LSdefault.js b/src/includes/js/LSdefault.js
index 5098ad6c..d071bbe2 100644
--- a/src/includes/js/LSdefault.js
+++ b/src/includes/js/LSdefault.js
@@ -112,7 +112,7 @@ var LSdefault = new Class({
},
onSelectLSlangImgClick: function(img) {
- window.location='index.php?lang='+img.alt;
+ window.location='?lang='+img.alt;
},
onWantMoo: function(event) {
diff --git a/src/templates/default/login.tpl b/src/templates/default/login.tpl
index 2e720f7b..fdfe8bbf 100644
--- a/src/templates/default/login.tpl
+++ b/src/templates/default/login.tpl
@@ -40,7 +40,7 @@
{tr msg="Language"} :
-{$loginform_label_recoverPassword|escape:"htmlall"}
+{$loginform_label_recoverPassword|escape:"htmlall"}
{include file='ls:LSsession_js.tpl'}