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
This commit is contained in:
chrisaga 2005-12-03 17:33:38 +00:00
commit dc3c040399
32 changed files with 334 additions and 192 deletions

View file

@ -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';