From 163eddd27fc207dd4b46de6f6bff95b77990a95f Mon Sep 17 00:00:00 2001 From: x2001corpet Date: Thu, 27 Jul 2006 14:25:30 +0000 Subject: [PATCH] redistribution des templates admins dans leurs dossiers respectifs git-svn-id: svn+ssh://murphy/home/svn/platal/trunk@679 839d8a87-29fc-0310-9880-83ba4fa771e5 --- modules/events.php | 4 ++-- modules/geoloc.php | 4 ++-- modules/lists.php | 2 +- templates/{admin/geoloc.tpl => geoloc/admin.tpl} | 0 templates/{admin/geoloc_dynamap.tpl => geoloc/admin_dynamap.tpl} | 0 templates/{admin/lists.tpl => listes/admin_all.tpl} | 0 templates/{admin/newsletter.tpl => newsletter/admin.tpl} | 0 templates/{admin/newsletter_edit.tpl => newsletter/edit.tpl} | 0 8 files changed, 5 insertions(+), 5 deletions(-) rename templates/{admin/geoloc.tpl => geoloc/admin.tpl} (100%) rename templates/{admin/geoloc_dynamap.tpl => geoloc/admin_dynamap.tpl} (100%) rename templates/{admin/lists.tpl => listes/admin_all.tpl} (100%) rename templates/{admin/newsletter.tpl => newsletter/admin.tpl} (100%) rename templates/{admin/newsletter_edit.tpl => newsletter/edit.tpl} (100%) diff --git a/modules/events.php b/modules/events.php index 1d64842..5fa4150 100644 --- a/modules/events.php +++ b/modules/events.php @@ -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"); diff --git a/modules/geoloc.php b/modules/geoloc.php index 85b950a..8228bd9 100644 --- a/modules/geoloc.php +++ b/modules/geoloc.php @@ -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'); diff --git a/modules/lists.php b/modules/lists.php index 9a4432c..871a1ec 100644 --- a/modules/lists.php +++ b/modules/lists.php @@ -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'; diff --git a/templates/admin/geoloc.tpl b/templates/geoloc/admin.tpl similarity index 100% rename from templates/admin/geoloc.tpl rename to templates/geoloc/admin.tpl diff --git a/templates/admin/geoloc_dynamap.tpl b/templates/geoloc/admin_dynamap.tpl similarity index 100% rename from templates/admin/geoloc_dynamap.tpl rename to templates/geoloc/admin_dynamap.tpl diff --git a/templates/admin/lists.tpl b/templates/listes/admin_all.tpl similarity index 100% rename from templates/admin/lists.tpl rename to templates/listes/admin_all.tpl diff --git a/templates/admin/newsletter.tpl b/templates/newsletter/admin.tpl similarity index 100% rename from templates/admin/newsletter.tpl rename to templates/newsletter/admin.tpl diff --git a/templates/admin/newsletter_edit.tpl b/templates/newsletter/edit.tpl similarity index 100% rename from templates/admin/newsletter_edit.tpl rename to templates/newsletter/edit.tpl -- 2.1.4