Changeset 6236 for branches/2.1/plugins


Ignore:
Timestamp:
May 18, 2010, 10:42:07 PM (14 years ago)
Author:
rvelices
Message:

multi view plugin can select inactive themes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.1/plugins/admin_multi_view/controller.php

    r5128 r6236  
    131131$my_theme = '';
    132132$themes_html='<select onchange="document.location = this.options[this.selectedIndex].value;">';
    133 foreach (get_pwg_themes() as $pwg_theme)
     133include_once(PHPWG_ROOT_PATH.'admin/include/themes.class.php');
     134$themes = new themes();
     135foreach ($themes->fs_themes as $pwg_theme => $fs_theme)
    134136{
    135137  $selected = $pwg_theme == pwg_get_session_var( 'multiview_theme', $view_as_user['theme'] ) ? 'selected="selected"' : '';
Note: See TracChangeset for help on using the changeset viewer.