aboutsummaryrefslogtreecommitdiffstats
path: root/admin
diff options
context:
space:
mode:
Diffstat (limited to '')
-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']))
{