Changeset 960 for trunk/admin


Ignore:
Timestamp:
Dec 3, 2005, 6:33:38 PM (19 years ago)
Author:
chrisaga
Message:

improve template : split theme from template itself

rest of the job : template (yoga), themes (clear dark), and php to handle them

Location:
trunk/admin
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/cat_list.php

    r869 r960  
    299299foreach ($categories as $category)
    300300{
    301   $images_folder = PHPWG_ROOT_PATH.'template/';
    302   $images_folder.= $user['template'].'/admin/images';
     301  // TODO : not used anymore ?
     302  //$images_folder = PHPWG_ROOT_PATH.'template/';
     303  //$images_folder.= $user['template'].'/admin/images';
    303304 
    304305  $base_url = PHPWG_ROOT_PATH.'admin.php?page=';
  • trunk/admin/configuration.php

    r882 r960  
    244244    $blockname = 'default.template_option';
    245245
    246     foreach (get_templates() as $pwg_template)
     246    foreach (get_themes() as $pwg_template)
    247247    {
    248248      if (isset($_POST['submit']))
  • trunk/admin/user_list.php

    r931 r960  
    585585$blockname = 'template_option';
    586586
    587 foreach (get_templates() as $pwg_template)
     587foreach (get_themes() as $pwg_template)
    588588{
    589589  if (isset($_POST['pref_submit']))
Note: See TracChangeset for help on using the changeset viewer.