From: web Date: Sat, 23 Sep 2006 11:56:41 +0000 (+0000) Subject: Quelques alias en plus pour la compatibilite avec les URLs precedemment utilisees. X-Git-Tag: xorg/0.9.11~45 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=cd9ed6b17e222cfcf1ed899fda2b22fa3434fdc3;p=platal.git Quelques alias en plus pour la compatibilite avec les URLs precedemment utilisees. + correction d'un bug sur la page geoloc git-svn-id: svn+ssh://murphy/home/svn/platal/branches/platal-0.9.11@894 839d8a87-29fc-0310-9880-83ba4fa771e5 --- diff --git a/modules/email.php b/modules/email.php index 96ab340..c93289f 100644 --- a/modules/email.php +++ b/modules/email.php @@ -27,6 +27,7 @@ class EmailModule extends PLModule 'emails' => $this->make_hook('emails', AUTH_COOKIE), 'emails/alias' => $this->make_hook('alias', AUTH_MDP), 'emails/antispam' => $this->make_hook('antispam', AUTH_MDP), + 'antispam.php' => $this->make_hook('antispam', AUTH_MDP), 'emails/broken' => $this->make_hook('broken', AUTH_COOKIE), 'emails/redirect' => $this->make_hook('redirect', AUTH_MDP), 'emails/send' => $this->make_hook('send', AUTH_MDP), diff --git a/modules/platal.php b/modules/platal.php index e92a831..3115ea4 100644 --- a/modules/platal.php +++ b/modules/platal.php @@ -38,6 +38,7 @@ class PlatalModule extends PLModule function handlers() { return array( + 'login.php' => $this->make_hook('index', AUTH_PUBLIC), 'index' => $this->make_hook('index', AUTH_PUBLIC), 'cacert.pem' => $this->make_hook('cacert', AUTH_PUBLIC), 'changelog' => $this->make_hook('changelog', AUTH_PUBLIC), @@ -54,11 +55,13 @@ class PlatalModule extends PLModule 'tmpPWD' => $this->make_hook('tmpPWD', AUTH_PUBLIC), 'password/smtp' => $this->make_hook('smtppass', AUTH_MDP), 'recovery' => $this->make_hook('recovery', AUTH_PUBLIC), + 'recovery.php' => $this->make_hook('recovery', AUTH_PUBLIC), 'exit' => $this->make_hook('exit', AUTH_PUBLIC), 'deconnexion.php' => $this->make_hook('exit', AUTH_PUBLIC), // happenings related thingies 'rss' => $this->make_hook('rss', AUTH_PUBLIC), + 'rss.php' => $this->make_hook('rss', AUTH_PUBLIC), ); } diff --git a/modules/profile.php b/modules/profile.php index 795c99d..0c048bd 100644 --- a/modules/profile.php +++ b/modules/profile.php @@ -29,6 +29,7 @@ class ProfileModule extends PLModule 'fiche.php' => $this->make_hook('fiche', AUTH_PUBLIC), 'profile' => $this->make_hook('profile', AUTH_PUBLIC), + 'profil.php' => $this->make_hook('p_edit', AUTH_MDP), 'profile/edit' => $this->make_hook('p_edit', AUTH_MDP), 'profile/orange' => $this->make_hook('p_orange', AUTH_MDP), 'profile/usage' => $this->make_hook('p_usage', AUTH_MDP), diff --git a/modules/search.php b/modules/search.php index 096b61e..8cb48dd 100644 --- a/modules/search.php +++ b/modules/search.php @@ -25,6 +25,7 @@ class SearchModule extends PLModule { return array( 'search' => $this->make_hook('quick', AUTH_PUBLIC), + 'search.php' => $this->make_hook('quick', AUTH_PUBLIC), 'search/adv' => $this->make_hook('advanced', AUTH_COOKIE), 'advanced_search.php' => $this->make_hook('redir_advanced', AUTH_PUBLIC), ); diff --git a/templates/geoloc/index.tpl b/templates/geoloc/index.tpl index 5705bb7..0b4e101 100644 --- a/templates/geoloc/index.tpl +++ b/templates/geoloc/index.tpl @@ -70,7 +70,7 @@ function searchMapId(f) width="600" height="450" align="middle"> - +