mirror of
https://github.com/Piwigo/Piwigo.git
synced 2026-08-07 17:23:04 +02:00
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
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user