Quelques alias en plus pour la compatibilite avec les URLs precedemment utilisees.
authorweb <web@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sat, 23 Sep 2006 11:56:41 +0000 (11:56 +0000)
committerweb <web@839d8a87-29fc-0310-9880-83ba4fa771e5>
Sat, 23 Sep 2006 11:56:41 +0000 (11:56 +0000)
+ 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

modules/email.php
modules/platal.php
modules/profile.php
modules/search.php
templates/geoloc/index.tpl

index 96ab340..c93289f 100644 (file)
@@ -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),
index e92a831..3115ea4 100644 (file)
@@ -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),
         );
     }
 
index 795c99d..0c048bd 100644 (file)
@@ -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),
index 096b61e..8cb48dd 100644 (file)
@@ -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),
         );
index 5705bb7..0b4e101 100644 (file)
@@ -70,7 +70,7 @@ function searchMapId(f)
     width="600"
     height="450"
     align="middle">
-      <param name="movie" value="$platal->ns}geoloc/dynamap.swf"/>
+      <param name="movie" value="{$platal->ns}geoloc/dynamap.swf"/>
       <param name="bgcolor" value="#ffffff"/>
       <param name="wmode" value="opaque"/>
       <param name="quality" value="high"/>