Ignore:
Timestamp:
Jun 16, 2013, 4:22:35 PM (11 years ago)
Author:
flop25
Message:

feature:2924
adding 3 options for the default behaviour of the panels
ToDo lang files

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/themes/elegant/themeconf.inc.php

    r23235 r23251  
    1313  'local_head'  => 'local_head.tpl'
    1414);
     15// Need upgrade?
     16global $conf;
     17include(PHPWG_THEMES_PATH.'elegant/admin/upgrade.inc.php');
     18
     19add_event_handler('init', 'set_config_values_elegant');
     20function set_config_values_elegant()
     21{
     22  global $conf, $template;
     23  $config = unserialize( $conf['elegant'] );
     24  $template->assign( 'elegant', $config );
     25}
     26
    1527?>
Note: See TracChangeset for help on using the changeset viewer.