aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
authorchrisaga <chrisaga@piwigo.org>2005-12-03 17:33:38 +0000
committerchrisaga <chrisaga@piwigo.org>2005-12-03 17:33:38 +0000
commitdc3c040399475f7b68497919c39c90adcca4caa5 (patch)
tree3ccb0c670035f5cf94c6d849b78cb6a926fb2478 /admin
parent9731fc4ba5593b972aeac5d7f751253c3e82f840 (diff)
improve template : split theme from template itself
rest of the job : template (yoga), themes (clear dark), and php to handle them git-svn-id: http://piwigo.org/svn/trunk@960 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'admin')
-rw-r--r--admin/cat_list.php5
-rw-r--r--admin/configuration.php2
-rw-r--r--admin/user_list.php2
3 files changed, 5 insertions, 4 deletions
diff --git a/admin/cat_list.php b/admin/cat_list.php
index 3c8e1e8d2..f7652db73 100644
--- a/admin/cat_list.php
+++ b/admin/cat_list.php
@@ -298,8 +298,9 @@ SELECT id_uppercat, COUNT(*) AS nb_subcats
foreach ($categories as $category)
{
- $images_folder = PHPWG_ROOT_PATH.'template/';
- $images_folder.= $user['template'].'/admin/images';
+ // TODO : not used anymore ?
+ //$images_folder = PHPWG_ROOT_PATH.'template/';
+ //$images_folder.= $user['template'].'/admin/images';
$base_url = PHPWG_ROOT_PATH.'admin.php?page=';
$cat_list_url = $base_url.'cat_list';
diff --git a/admin/configuration.php b/admin/configuration.php
index f038800f4..bb1c82646 100644
--- a/admin/configuration.php
+++ b/admin/configuration.php
@@ -243,7 +243,7 @@ switch ($page['section'])
$blockname = 'default.template_option';
- foreach (get_templates() as $pwg_template)
+ foreach (get_themes() as $pwg_template)
{
if (isset($_POST['submit']))
{
diff --git a/admin/user_list.php b/admin/user_list.php
index dadb706c4..d06590248 100644
--- a/admin/user_list.php
+++ b/admin/user_list.php
@@ -584,7 +584,7 @@ else
$blockname = 'template_option';
-foreach (get_templates() as $pwg_template)
+foreach (get_themes() as $pwg_template)
{
if (isset($_POST['pref_submit']))
{