From 57cf3ba758cadf56e35aa030edf525e61a56cfc6 Mon Sep 17 00:00:00 2001 From: nikrou Date: Sun, 18 Jun 2006 12:04:59 +0000 Subject: Issue 426: first step; separation of admin and public into two templates Need to simplify and delete files not needed git-svn-id: http://piwigo.org/svn/trunk@1363 68402e56-0260-453c-a942-63ccdbb3a9ee --- include/functions.inc.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/functions.inc.php') diff --git a/include/functions.inc.php b/include/functions.inc.php index 12fe7200d..4c2b045c0 100644 --- a/include/functions.inc.php +++ b/include/functions.inc.php @@ -597,11 +597,11 @@ function url_is_remote($url) /** * returns available template/theme */ -function get_pwg_themes() +function get_pwg_themes($template_root = 'public') { $themes = array(); - $template_dir = PHPWG_ROOT_PATH.'template'; + $template_dir = PHPWG_ROOT_PATH.'template'.'/'.$template_root; foreach (get_dirs($template_dir) as $template) { -- cgit v1.2.3