Changeset 5182
- Timestamp:
- Mar 18, 2010, 11:12:30 PM (14 years ago)
- Location:
- trunk
- Files:
-
- 19 added
- 2 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/help.php
r3282 r5182 23 23 24 24 include_once(PHPWG_ROOT_PATH.'admin/include/functions.php'); 25 include_once(PHPWG_ROOT_PATH.'admin/include/tabsheet.class.php'); 25 26 26 27 // +-----------------------------------------------------------------------+ … … 29 30 check_status(ACCESS_ADMINISTRATOR); 30 31 31 $template->assign('ADMIN_CONTENT', load_language('help.html','',array('return'=>true)) ); 32 $link = get_root_url().'admin.php?page=help§ion='; 33 $selected = null; 34 $help_section_title = null; 35 36 $tabs = array( 37 array( 38 'code' => 'add_photos', 39 'label' => 'Add Photos', 40 ), 41 array( 42 'code' => 'permissions', 43 'label' => 'Permissions', 44 ), 45 array( 46 'code' => 'groups', 47 'label' => 'Groups', 48 ), 49 array( 50 'code' => 'user_upload', 51 'label' => 'User Upload', 52 ), 53 array( 54 'code' => 'virtual_links', 55 'label' => 'Virtual Links', 56 ), 57 array( 58 'code' => 'misc', 59 'label' => 'Miscellaneous', 60 ), 61 ); 62 63 if (!isset($_GET['section'])) 64 { 65 $section = $tabs[0]['code']; 66 } 67 else 68 { 69 $section = $_GET['section']; 70 } 71 72 $tabsheet = new tabsheet(); 73 foreach ($tabs as $tab) 74 { 75 if ($tab['code'] == $section) 76 { 77 $selected_tab = $tab['code']; 78 $help_section_title = l10n($tab['label']); 79 } 80 81 $tabsheet->add($tab['code'], l10n($tab['label']), $link.$tab['code']); 82 } 83 $tabsheet->select($selected_tab); 84 $tabsheet->assign(); 85 86 $template->set_filenames(array('help' => 'help.tpl')); 87 88 $template->assign( 89 array( 90 'HELP_CONTENT' => load_language( 91 'help/help_'.$selected_tab.'.html', 92 '', 93 array('return'=>true) 94 ), 95 'HELP_SECTION_TITLE' => $help_section_title, 96 ) 97 ); 98 99 // +-----------------------------------------------------------------------+ 100 // | sending html code | 101 // +-----------------------------------------------------------------------+ 102 103 $template->assign_var_from_handle('ADMIN_CONTENT', 'help'); 32 104 ?> -
trunk/admin/photos_add.php
r5089 r5182 148 148 'code' => 'settings', 149 149 'label' => 'Settings', 150 ) 150 ), 151 array( 152 'code' => 'ploader', 153 'label' => 'Piwigo Uploader', 154 ), 155 array( 156 'code' => 'ftp', 157 'label' => 'FTP + Synchronisation', 158 ), 151 159 ); 152 160 -
trunk/admin/themes/clear/theme.css
r5174 r5182 211 211 212 212 #pluginsMenuSeparator {border:1px solid #ddd;} 213 214 #helpContent A {border-bottom:1px dotted #005E89;} 215 #helpContent A:hover {border-bottom:1px solid #d54e21;} -
trunk/admin/themes/default/default-layout.css
r5174 r5182 541 541 542 542 #pwgHead { 543 background-color:# 222;543 background-color:#464646; 544 544 height:46px; 545 545 } … … 746 746 747 747 #pluginsMenuSeparator {width:80%; margin:5px auto;} 748 749 #helpContent P {text-align:left; margin-left:10px;} 750 #helpContent LI, #ftpPage LI {margin-top:10px;} 751 #helpContent P.nextStepLink {text-align:center; font-weight:bold; margin-bottom:20px;} -
trunk/admin/themes/default/template/header.tpl
r5166 r5182 49 49 Hello {$USERNAME} : 50 50 <a href="{$U_RETURN}" title="Visit Gallery">Visit Gallery</a> | 51 <a href="{$U_CHANGE_THEME}" title="Switch to clear theme for administration">Change Theme</a> | 51 <a href="{$U_CHANGE_THEME}" title="Switch to clear theme for administration">Change Admin Colors</a> | 52 <a href="{$U_FAQ}" title="{'Instructions to use Piwigo'|@translate}">Help Me</a> | 52 53 <a href="{$U_LOGOUT}">{'Logout'|@translate}</a> 53 <a href="{$U_FAQ}" title="{'Instructions'|@translate}" id="instructions"><img style="padding-left:10px;" src="{$ROOT_URL}admin/themes/default/icon/help.png" class="button" alt="(?)"></a>54 54 </div> 55 55 </div> -
trunk/admin/themes/roma/theme.css
r5174 r5182 223 223 224 224 #pluginsMenuSeparator {border:1px solid #333;} 225 226 #helpContent, #pLoaderPage, #ftpPage, #ftpPage LEGEND {color:#aaa;} -
trunk/include/config_default.inc.php
r5153 r5182 772 772 // directory with themes inside 773 773 $conf['themes_dir'] = PHPWG_ROOT_PATH.'themes'; 774 775 // pLoader direct download url for windows 776 $conf['ploader_download_windows'] = 'http://piwigo.org/ext/download.php?eid=270'; 777 778 // pLoader direct download url for mac 779 $conf['ploader_download_mac'] = 'http://piwigo.org/ext/download.php?eid=353'; 780 781 // pLoader direct download url for linux 782 $conf['ploader_download_linux'] = 'http://piwigo.org/ext/download.php?eid=269'; 774 783 ?>
Note: See TracChangeset
for help on using the changeset viewer.