Ignore:
Timestamp:
Jan 24, 2014, 9:23:12 PM (10 years ago)
Author:
Eric
Message:

Next version is 2.6.0 :
Remove obsolete admin default theme
Customize tablesorter using zebra widget (colors according to admin theme in action) and tablesorter pager - step 2 and final

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/UserAdvManager/trunk/admin/UAM_admin.php

    r26914 r26955  
    3838
    3939$dump_download = '';
     40
     41// Get admin panel theme
     42// ---------------------
     43$themeconf=$template->get_template_vars('themeconf');
     44$UAM_theme=$themeconf['id'];
    4045
    4146// +-----------------------------------------------------------------------+
     
    606611  // Template initialization for forms and data
    607612  // ------------------------------------------
    608   $themeconf=$template->get_template_vars('themeconf');
    609   $UAM_theme=$themeconf['id'];
    610 
    611613  $template->assign(
    612614    array(
     
    872874      }
    873875
    874       // Plugin version inserted
    875                 // -----------------------
     876      // Plugin version inserted and admin panel theme
     877                // ---------------------------------------------
    876878                $template->assign(
    877879                                array(
    878880                                'UAM_VERSION'  => $version,
    879881                  'UAM_PATH'     => UAM_PATH,
     882            'UAM_THEME'    => $UAM_theme,
    880883          )
    881884      );
     
    13921395    }
    13931396   
    1394     // Plugin version inserted
    1395     // -----------------------
     1397    // Plugin version inserted and admin panel theme
     1398    // ---------------------------------------------
    13961399    $template->assign(
    13971400      array(
     
    13991402        'UAM_VERSION'  => $version,
    14001403        'UAM_PATH'     => UAM_PATH,
     1404        'UAM_THEME'    => $UAM_theme,
    14011405      )
    14021406    );
     
    17411745    }
    17421746
    1743     // Plugin version inserted
    1744     // -----------------------
     1747    // Plugin version inserted and admin panel theme
     1748    // ---------------------------------------------
    17451749    $template->assign(
    17461750      array(
    17471751        'UAM_VERSION'  => $version,
    17481752        'UAM_PATH'     => UAM_PATH,
     1753        'UAM_THEME'    => $UAM_theme,
    17491754      )
    17501755    );
Note: See TracChangeset for help on using the changeset viewer.