Changeset 6238


Ignore:
Timestamp:
May 18, 2010, 10:59:20 PM (10 years ago)
Author:
rvelices
Message:

merge -r6236 from branch 2.1 (some odd stuff is going on - I couldn't use svn for merging ... had to do it manually)
multi view plugin can select inactive themes

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/plugins/admin_multi_view/controller.php

    r5128 r6238  
    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.