Changeset 2313
- Timestamp:
- Apr 26, 2008, 3:19:24 PM (16 years ago)
- Location:
- trunk
- Files:
-
- 8 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/config_default.inc.php
r2299 r2313 594 594 595 595 // +-----------------------------------------------------------------------+ 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'; 608 600 609 601 // should we load the active plugins ? true=Yes, false=No 610 602 $conf['enable_plugins']=true; 611 612 // +-----------------------------------------------------------------------+613 // | Set default for Web Service |614 // +-----------------------------------------------------------------------+615 603 616 604 // Web services are allowed (true) or completely forbidden (false) … … 625 613 $conf['ws_access_control'] = false; 626 614 627 // On Access control true628 615 // Additionnal controls are made based on Web Service Access Table 629 630 616 // Max returned rows number ( > 0 ) 631 617 $conf['ws_allowed_limit'] = array(1,2,3,5,10,25); 632 618 633 619 // By default can be delayed by 0, 1, 2, 3, 5, 7, 14 or 30 days 634 620 // 0 it's Now(), don't remove that one 635 621 $conf['ws_postponed_start'] = array(0,1,2,3,5,7,14,30); /* In days */ 636 622 637 623 // By default 10, 5, 2, 1 year(s) or 6, 3, 1 month(s) 638 624 // or 15, 10, 7, 5, 1, 0 day(s) 639 625 // 0 it's temporary closed (Useful for one access) 640 626 $conf['ws_durations'] = array(3650,1825,730,365,182,91,30,15,10,7,5,1,0); 641 627 642 628 // +-----------------------------------------------------------------------+ -
trunk/include/functions.inc.php
r2308 r2313 869 869 function get_pwg_themes() 870 870 { 871 global $conf; 871 872 $themes = array(); 872 873 … … 877 878 foreach (get_dirs($template_dir.'/'.$template.'/theme') as $theme) 878 879 { 880 if ( ($template.'/'.$theme) != $conf['admin_layout'] ) 879 881 array_push($themes, $template.'/'.$theme); 880 882 } -
trunk/include/functions_user.inc.php
r2299 r2313 206 206 { 207 207 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']); 214 209 } 215 210 -
trunk/template/yoga/admin.tpl
r2275 r2313 1 1 {* $Id$ *} 2 <div id="post-header"></div> 2 3 <div id="menubar"> 3 4 <dl> 4 <dt >{'Links'|@translate}</dt>5 <dt class="rdion">{'Links'|@translate}</dt> 5 6 <dd> 6 7 <ul> … … 12 13 </dl> 13 14 <dl> 14 <dt >{'config'|@translate}</dt>15 <dt class="rdion">{'config'|@translate}</dt> 15 16 <dd> 16 17 <ul> … … 21 22 </dl> 22 23 <dl> 23 <dt >{'Categories'|@translate}</dt>24 <dt class="rdion">{'Categories'|@translate}</dt> 24 25 <dd> 25 26 <ul> … … 34 35 </dl> 35 36 <dl> 36 <dt >{'Pictures'|@translate}</dt>37 <dt class="rdion">{'Pictures'|@translate}</dt> 37 38 <dd> 38 39 <ul> … … 46 47 </dl> 47 48 <dl> 48 <dt >{'identification'|@translate}</dt>49 <dt class="rdion">{'identification'|@translate}</dt> 49 50 <dd> 50 51 <ul> … … 56 57 </dl> 57 58 <dl> 58 <dt >{'special_admin_menu'|@translate}</dt>59 <dt class="rdion">{'special_admin_menu'|@translate}</dt> 59 60 <dd> 60 61 <ul> -
trunk/template/yoga/theme
- Property svn:ignore
-
old new 1 1 * 2 wigo
-
- Property svn:ignore
Note: See TracChangeset
for help on using the changeset viewer.