redistribution des templates admins dans leurs dossiers respectifs
authorx2001corpet <x2001corpet@839d8a87-29fc-0310-9880-83ba4fa771e5>
Thu, 27 Jul 2006 14:25:30 +0000 (14:25 +0000)
committerx2001corpet <x2001corpet@839d8a87-29fc-0310-9880-83ba4fa771e5>
Thu, 27 Jul 2006 14:25:30 +0000 (14:25 +0000)
git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@679 839d8a87-29fc-0310-9880-83ba4fa771e5

modules/events.php
modules/geoloc.php
modules/lists.php
templates/geoloc/admin.tpl [moved from templates/admin/geoloc.tpl with 100% similarity]
templates/geoloc/admin_dynamap.tpl [moved from templates/admin/geoloc_dynamap.tpl with 100% similarity]
templates/listes/admin_all.tpl [moved from templates/admin/lists.tpl with 100% similarity]
templates/newsletter/admin.tpl [moved from templates/admin/newsletter.tpl with 100% similarity]
templates/newsletter/edit.tpl [moved from templates/admin/newsletter_edit.tpl with 100% similarity]

index 1d64842..5fa4150 100644 (file)
@@ -324,7 +324,7 @@ class EventsModule extends PLModule
     }
 
     function handler_admin_nl(&$page, $new = false) {
-        $page->changeTpl('admin/newsletter.tpl');
+        $page->changeTpl('newsletter/admin.tpl');
         $page->assign('xorg_title','Polytechnique.org - Administration - Newsletter : liste');
         require_once("newsletter.inc.php");
         
@@ -337,7 +337,7 @@ class EventsModule extends PLModule
     }
     
     function handler_admin_nl_edit(&$page, $nid = 'last', $aid = null, $action = 'edit') {
-        $page->changeTpl('admin/newsletter_edit.tpl');
+        $page->changeTpl('newsletter/edit.tpl');
         $page->assign('xorg_title','Polytechnique.org - Administration - Newsletter : Edition'); 
         require_once("newsletter.inc.php");
         
index 85b950a..8228bd9 100644 (file)
@@ -202,7 +202,7 @@ class GeolocModule extends PLModule
     }
 
     function handler_admin(&$page, $action = false) {
-        $page->changeTpl('admin/geoloc.tpl');
+        $page->changeTpl('geoloc/admin.tpl');
         require_once("geoloc.inc.php");
         $page->assign('xorg_title','Polytechnique.org - Administration - Geolocalisation');
         
@@ -225,7 +225,7 @@ class GeolocModule extends PLModule
     }
     
     function handler_admin_dynamap(&$page, $action = false) {
-        $page->changeTpl('admin/geoloc_dynamap.tpl');
+        $page->changeTpl('geoloc/admin_dynamap.tpl');
         
         if ($action == 'cities_not_on_map') {
             require_once('geoloc.inc.php');
index 9a4432c..871a1ec 100644 (file)
@@ -606,7 +606,7 @@ class ListsModule extends PLModule
     }
 
     function handler_admin_all(&$page) {
-        $page->changeTpl('admin/lists.tpl');
+        $page->changeTpl('listes/admin_all.tpl');
         $page->assign('xorg_title','Polytechnique.org - Administration - Mailing lists');
         require_once 'lists.inc.php';