Changeset 5153 for trunk/profile.php


Ignore:
Timestamp:
Mar 17, 2010, 1:48:38 AM (14 years ago)
Author:
plg
Message:

feature 1514: new screen to manage installed themes; activate, deactivate,
delete, set as default.

plugins.class.php was merged back to a state it doesn't manage themes at all.
themes.class.php was created instead, from a duplication of plugins.class.php
and strongly modified then.

feature 1507: the display of available themes is now much more "graphic".

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/profile.php

    r5123 r5153  
    258258      ));
    259259
    260   foreach (get_pwg_themes() as $pwg_theme)
    261   {
    262     if (isset($_POST['submit']) or $userdata['theme'] == $pwg_theme)
    263     {
    264       $template->assign('template_selection', $pwg_theme);
    265     }
    266     $template_options[$pwg_theme] = $pwg_theme;
    267   }
    268   $template->assign('template_options', $template_options);
     260  $template->assign('template_selection', $userdata['theme']);
     261  $template->assign('template_options', get_pwg_themes());
    269262
    270263  foreach (get_languages() as $language_code => $language_name)
Note: See TracChangeset for help on using the changeset viewer.