Changeset 2313


Ignore:
Timestamp:
Apr 26, 2008, 3:19:24 PM (16 years ago)
Author:
vdigital
Message:

New: jQuery and Accordion Admin menus

Location:
trunk
Files:
8 added
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/config_default.inc.php

    r2299 r2313  
    594594
    595595// +-----------------------------------------------------------------------+
    596 // | Set default admin layout                                              |
    597 // +-----------------------------------------------------------------------+
    598 
    599 // Must be user setable in future
    600 // Default value of admin layout
    601 // Step 1, default_admin_layout is not defined
    602 //        null value, user_layout is used for admin layout
    603 //        defined value, this value are used for admin layout
    604 // Next on step 2, default_admin_layout will be used
    605 //                 if there are not checked like admin layout
    606 // stored on user informations
    607 //$conf['default_admin_layout']='yoga/dark';
     596// | Set admin layout                                                      |
     597// +-----------------------------------------------------------------------+
     598
     599$conf['admin_layout'] = 'yoga/admin';
    608600
    609601// should we load the active plugins ? true=Yes, false=No
    610602$conf['enable_plugins']=true;
    611 
    612 // +-----------------------------------------------------------------------+
    613 // | Set default for Web Service                                           |
    614 // +-----------------------------------------------------------------------+
    615603
    616604// Web services are allowed (true) or completely forbidden (false)
     
    625613$conf['ws_access_control'] = false;
    626614
    627 // On Access control true
    628615// Additionnal controls are made based on Web Service Access Table
    629 
    630616// Max returned rows number ( > 0 )
    631   $conf['ws_allowed_limit'] = array(1,2,3,5,10,25);
     617$conf['ws_allowed_limit'] = array(1,2,3,5,10,25);
    632618
    633619// By default can be delayed by 0, 1, 2, 3, 5, 7, 14 or 30 days
    634620// 0 it's Now(), don't remove that one
    635   $conf['ws_postponed_start'] = array(0,1,2,3,5,7,14,30); /* In days */
     621$conf['ws_postponed_start'] = array(0,1,2,3,5,7,14,30); /* In days */
    636622
    637623// By default 10, 5, 2, 1 year(s) or 6, 3, 1 month(s)
    638624// or 15, 10, 7, 5, 1, 0 day(s)
    639625// 0 it's temporary closed (Useful for one access)
    640   $conf['ws_durations'] = array(3650,1825,730,365,182,91,30,15,10,7,5,1,0);
     626$conf['ws_durations'] = array(3650,1825,730,365,182,91,30,15,10,7,5,1,0);
    641627
    642628// +-----------------------------------------------------------------------+
  • trunk/include/functions.inc.php

    r2308 r2313  
    869869function get_pwg_themes()
    870870{
     871  global $conf;
    871872  $themes = array();
    872873
     
    877878    foreach (get_dirs($template_dir.'/'.$template.'/theme') as $theme)
    878879    {
     880      if ( ($template.'/'.$theme) != $conf['admin_layout'] )
    879881      array_push($themes, $template.'/'.$theme);
    880882    }
  • trunk/include/functions_user.inc.php

    r2299 r2313  
    206206  {
    207207    list($user['admin_template'], $user['admin_theme']) =
    208       explode
    209       (
    210         '/',
    211         isset($conf['default_admin_layout']) ? $conf['default_admin_layout']
    212                                              : $user['template']
    213       );
     208      explode ('/', $conf['admin_layout']);
    214209  }
    215210
  • trunk/template/yoga/admin.tpl

    r2275 r2313  
    11{* $Id$ *}
     2<div id="post-header"></div>
    23<div id="menubar">
    34  <dl>
    4     <dt>{'Links'|@translate}</dt>
     5    <dt class="rdion">{'Links'|@translate}</dt>
    56    <dd>
    67      <ul>
     
    1213  </dl>
    1314  <dl>
    14     <dt>{'config'|@translate}</dt>
     15    <dt class="rdion">{'config'|@translate}</dt>
    1516    <dd>
    1617      <ul>
     
    2122  </dl>
    2223  <dl>
    23     <dt>{'Categories'|@translate}</dt>
     24    <dt class="rdion">{'Categories'|@translate}</dt>
    2425    <dd>
    2526      <ul>
     
    3435  </dl>
    3536  <dl>
    36     <dt>{'Pictures'|@translate}</dt>
     37    <dt class="rdion">{'Pictures'|@translate}</dt>
    3738    <dd>
    3839      <ul>
     
    4647  </dl>
    4748  <dl>
    48     <dt>{'identification'|@translate}</dt>
     49    <dt class="rdion">{'identification'|@translate}</dt>
    4950    <dd>
    5051      <ul>
     
    5657  </dl>
    5758  <dl>
    58     <dt>{'special_admin_menu'|@translate}</dt>
     59    <dt class="rdion">{'special_admin_menu'|@translate}</dt>
    5960    <dd>
    6061      <ul>
  • trunk/template/yoga/theme

    • Property svn:ignore
      •  

        old new  
        11*
         2wigo
Note: See TracChangeset for help on using the changeset viewer.