Changeset 10812
- Timestamp:
- May 7, 2011, 5:55:10 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 1 added
- 31 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/about.php
r8728 r10812 37 37 $title= l10n('About Piwigo'); 38 38 $page['body_id'] = 'theAboutPage'; 39 include(PHPWG_ROOT_PATH.'include/page_header.php');40 39 41 40 trigger_action('loc_begin_about'); … … 51 50 } 52 51 52 // include menubar 53 $themeconf = $template->get_template_vars('themeconf'); 54 if (!isset($themeconf['Exclude']) OR !in_array('theAboutPage', $themeconf['Exclude'])) 55 { 56 include( PHPWG_ROOT_PATH.'include/menubar.inc.php'); 57 } 58 59 include(PHPWG_ROOT_PATH.'include/page_header.php'); 53 60 $template->pparse('about'); 54 61 include(PHPWG_ROOT_PATH.'include/page_tail.php'); -
trunk/admin/configuration.php
r10122 r10812 85 85 'picture_navigation_icons', 86 86 'picture_navigation_thumb', 87 'picture_menu', 87 88 ); 88 89 -
trunk/admin/themes/default/template/configuration.tpl
r10122 r10812 284 284 <span class="property">{'Activate Navigation Thumbnails'|@translate}</span> 285 285 <input type="checkbox" name="picture_navigation_thumb" {if ($display.picture_navigation_thumb)}checked="checked"{/if}> 286 </label> 287 </li> 288 289 <li> 290 <label> 291 <span class="property">{'Show menubar'|@translate}</span> 292 <input type="checkbox" name="picture_menu" {if ($display.picture_menu)}checked="checked"{/if}> 286 293 </label> 287 294 </li> -
trunk/comments.php
r9679 r10812 528 528 } 529 529 } 530 531 // include menubar 532 $themeconf = $template->get_template_vars('themeconf'); 533 if (!isset($themeconf['Exclude']) OR !in_array('theCommentsPage', $themeconf['Exclude'])) 534 { 535 include( PHPWG_ROOT_PATH.'include/menubar.inc.php'); 536 } 537 530 538 // +-----------------------------------------------------------------------+ 531 539 // | html code display | -
trunk/identification.php
r8728 r10812 74 74 $title = l10n('Identification'); 75 75 $page['body_id'] = 'theIdentificationPage'; 76 include(PHPWG_ROOT_PATH.'include/page_header.php');77 76 78 77 $template->set_filenames( array('identification'=>'identification.tpl') ); … … 98 97 } 99 98 99 // include menubar 100 $themeconf = $template->get_template_vars('themeconf'); 101 if (!isset($themeconf['Exclude']) OR !in_array('theIdentificationPage', $themeconf['Exclude'])) 102 { 103 include( PHPWG_ROOT_PATH.'include/menubar.inc.php'); 104 } 105 100 106 //----------------------------------------------------------- html code display 107 include(PHPWG_ROOT_PATH.'include/page_header.php'); 101 108 $template->pparse('identification'); 102 109 include(PHPWG_ROOT_PATH.'include/page_tail.php'); -
trunk/install/config.sql
r10653 r10812 43 43 INSERT INTO piwigo_config (param,value,comment) VALUES ('picture_navigation_icons','true','Display navigation icons on picture page'); 44 44 INSERT INTO piwigo_config (param,value,comment) VALUES ('picture_navigation_thumb','true','Display navigation thumbnails on picture page'); 45 INSERT INTO piwigo_config (param,value,comment) VALUES ('picture_menu','false','Show menubar on picture page'); 45 46 INSERT INTO piwigo_config (param,value,comment) 46 47 VALUES ( -
trunk/language/en_UK/admin.lang.php
r10769 r10812 606 606 $lang['Settings'] = 'Settings'; 607 607 $lang['Show info'] = "Show info"; 608 $lang['Show menubar'] = "Show menubar"; 608 609 $lang['Simulation'] = "Simulation"; 609 610 $lang['singly represented'] = "fixed representative"; -
trunk/language/fr_CA/admin.lang.php
r10378 r10812 800 800 $lang['Restore'] = "Restaurer"; 801 801 $lang['Restore default configuration. You will lost your plugin settings!'] = "Restaurer la configuration par défaut? Vous perdrez vos réglages personnels !"; 802 $lang['Show menubar'] = "Afficher le menu"; 802 803 ?> -
trunk/language/fr_FR/admin.lang.php
r10769 r10812 842 842 $lang['If you want to regenerate thumbnails, please go to the <a href="%s">Batch Manager</a>.'] = 'Si vous voulez régénérer des miniatures, merci de vous rendre dans la <a href="%s">Gestion par lot</a>.'; 843 843 $lang['Graphics Library'] = 'Bibliothèque graphique'; 844 $lang['Show menubar'] = "Afficher le menu"; 844 845 ?> -
trunk/nbm.php
r8728 r10812 66 66 $title = l10n('Notification'); 67 67 $page['body_id'] = 'theNBMPage'; 68 include(PHPWG_ROOT_PATH.'include/page_header.php');69 68 70 69 $template->set_filenames(array('nbm'=>'nbm.tpl')); … … 79 78 ) 80 79 ); 80 81 // include menubar 82 $themeconf = $template->get_template_vars('themeconf'); 83 if (!isset($themeconf['Exclude']) OR !in_array('theNBMPage', $themeconf['Exclude'])) 84 { 85 include( PHPWG_ROOT_PATH.'include/menubar.inc.php'); 86 } 81 87 82 88 // +-----------------------------------------------------------------------+ 83 89 // | html code display | 84 90 // +-----------------------------------------------------------------------+ 91 include(PHPWG_ROOT_PATH.'include/page_header.php'); 85 92 $template->parse('nbm'); 86 93 include(PHPWG_ROOT_PATH.'include/page_tail.php'); -
trunk/notification.php
r8728 r10812 78 78 ) 79 79 ); 80 81 // include menubar 82 $themeconf = $template->get_template_vars('themeconf'); 83 if (!isset($themeconf['Exclude']) OR !in_array('theNotificationPage', $themeconf['Exclude'])) 84 { 85 include( PHPWG_ROOT_PATH.'include/menubar.inc.php'); 86 } 80 87 81 88 // +-----------------------------------------------------------------------+ -
trunk/password.php
r9169 r10812 154 154 $template->assign('infos', $page['infos']); 155 155 156 // include menubar 157 $themeconf = $template->get_template_vars('themeconf'); 158 if (!isset($themeconf['Exclude']) OR !in_array('thePasswordPage', $themeconf['Exclude'])) 159 { 160 include( PHPWG_ROOT_PATH.'include/menubar.inc.php'); 161 } 162 156 163 // +-----------------------------------------------------------------------+ 157 164 // | html code display | -
trunk/picture.php
r10160 r10812 1041 1041 } 1042 1042 1043 // include menubar 1044 $themeconf = $template->get_template_vars('themeconf'); 1045 if ($conf['picture_menu'] AND (!isset($themeconf['Exclude']) OR !in_array('theIdentificationPage', $themeconf['Exclude']))) 1046 { 1047 include( PHPWG_ROOT_PATH.'include/menubar.inc.php'); 1048 $template->assign('U_ADMIN', $url_admin); // overwrited by the menu 1049 } 1050 1043 1051 include(PHPWG_ROOT_PATH.'include/page_header.php'); 1044 1052 trigger_action('loc_end_picture'); -
trunk/profile.php
r10198 r10812 69 69 $title= l10n('Your Gallery Customization'); 70 70 $page['body_id'] = 'theProfilePage'; 71 include(PHPWG_ROOT_PATH.'include/page_header.php');71 $template->set_filename('profile', 'profile.tpl'); 72 72 73 73 load_profile_in_template( … … 83 83 $template->assign('errors', $errors); 84 84 } 85 $template->set_filename('profile', 'profile.tpl'); 85 86 // include menubar 87 $themeconf = $template->get_template_vars('themeconf'); 88 if (!isset($themeconf['Exclude']) OR !in_array('theProfilePage', $themeconf['Exclude'])) 89 { 90 include( PHPWG_ROOT_PATH.'include/menubar.inc.php'); 91 } 92 93 include(PHPWG_ROOT_PATH.'include/page_header.php'); 86 94 trigger_action('loc_end_profile'); 87 95 $template->pparse('profile'); -
trunk/register.php
r8728 r10812 81 81 $title= l10n('Registration'); 82 82 $page['body_id'] = 'theRegisterPage'; 83 include(PHPWG_ROOT_PATH.'include/page_header.php');84 83 85 84 $template->set_filenames( array('register'=>'register.tpl') ); … … 98 97 } 99 98 99 // include menubar 100 $themeconf = $template->get_template_vars('themeconf'); 101 if (!isset($themeconf['Exclude']) OR !in_array('theRegisterPage', $themeconf['Exclude'])) 102 { 103 include( PHPWG_ROOT_PATH.'include/menubar.inc.php'); 104 } 105 106 include(PHPWG_ROOT_PATH.'include/page_header.php'); 100 107 $template->parse('register'); 101 108 include(PHPWG_ROOT_PATH.'include/page_tail.php'); -
trunk/search.php
r8728 r10812 228 228 $template->assign('errors', $errors); 229 229 } 230 //------------------------------------------------------------ log informations 230 231 // include menubar 232 $themeconf = $template->get_template_vars('themeconf'); 233 if (!isset($themeconf['Exclude']) OR !in_array('theSearchPage', $themeconf['Exclude'])) 234 { 235 include( PHPWG_ROOT_PATH.'include/menubar.inc.php'); 236 } 237 238 //------------------------------------------------------------ html code display 231 239 include(PHPWG_ROOT_PATH.'include/page_header.php'); 232 240 $template->pparse('search'); -
trunk/tags.php
r8728 r10812 192 192 } 193 193 194 // include menubar 195 $themeconf = $template->get_template_vars('themeconf'); 196 if (!isset($themeconf['Exclude']) OR !in_array('theTagsPage', $themeconf['Exclude'])) 197 { 198 include( PHPWG_ROOT_PATH.'include/menubar.inc.php'); 199 } 200 194 201 include(PHPWG_ROOT_PATH.'include/page_header.php'); 195 202 $template->pparse('tags'); -
trunk/themes/Sylvia/theme.css
r10640 r10812 142 142 background:#222 url(images/fillet.gif) repeat-x scroll left top; 143 143 min-height:466px; 144 border: 1px solid #000; 145 border-top: 0; 146 margin:21px 7px 0 290px !important; 147 padding-top:7px; 144 148 } 145 149 … … 154 158 width: 100%; 155 159 min-width: 100%; 156 }157 158 #theCategoryPage .content {159 border: 1px solid #000;160 border-top: 0;161 margin:21px 7px 0 290px !important;162 padding-top:7px;163 160 } 164 161 … … 363 360 } 364 361 362 .pictureContent { 363 margin:0 7px 7px 290px; 364 } 365 365 366 #addComment fieldset { 366 367 color: #f70; -
trunk/themes/default/local_head.tpl
r7987 r10812 8 8 {combine_css path="themes/default/print.css" order=-10} 9 9 {/if} 10 11 {if !isset($MENUBAR)}<style type="text/css">.content {ldelim} margin-left:auto !important; }</style>{/if} -
trunk/themes/default/template/about.tpl
r8374 r10812 1 {if isset($MENUBAR)}{$MENUBAR}{/if} 1 2 <div id="content" class="content"> 2 3 <div class="titrePage"> 3 <ul class="categoryActions"> 4 <li><a href="{$U_HOME}" title="{'Home'|@translate}" class="pwg-state-default pwg-button"> 5 <span class="pwg-icon pwg-icon-home"> </span><span class="pwg-button-text">{'Home'|@translate}</span> 6 </a></li> 7 </ul> 4 <ul class="categoryActions"></ul> 8 5 <h2>{'About'|@translate}</h2> 9 6 </div> -
trunk/themes/default/template/comments.tpl
r8076 r10812 1 {if isset($MENUBAR)}{$MENUBAR}{/if} 1 2 <div id="content" class="content"> 2 3 3 4 <div class="titrePage"> 4 <ul class="categoryActions"> 5 <li><a href="{$U_HOME}" title="{'Home'|@translate}" class="pwg-state-default pwg-button"> 6 <span class="pwg-icon pwg-icon-home"> </span><span class="pwg-button-text">{'Home'|@translate}</span> 7 </a></li> 8 </ul> 5 <ul class="categoryActions"></ul> 9 6 <h2>{'User comments'|@translate}</h2> 10 7 </div> -
trunk/themes/default/template/identification.tpl
r8076 r10812 1 {if isset($MENUBAR)}{$MENUBAR}{/if} 1 2 <div id="content" class="content"> 2 3 3 4 <div class="titrePage"> 4 <ul class="categoryActions"> 5 <li><a href="{$U_HOME}" title="{'Home'|@translate}" class="pwg-state-default pwg-button"> 6 <span class="pwg-icon pwg-icon-home"> </span><span class="pwg-button-text">{'Home'|@translate}</span> 7 </a></li> 8 </ul> 5 <ul class="categoryActions"></ul> 9 6 <h2>{'Identification'|@translate}</h2> 10 7 </div> -
trunk/themes/default/template/nbm.tpl
r8091 r10812 1 1 {if isset($MENUBAR)}{$MENUBAR}{/if} 2 2 <div id="content" class="content"> 3 3 <div class="titrePage"> 4 <ul class="categoryActions"> 5 <li><a href="{$U_HOME}" title="{'Home'|@translate}" class="pwg-state-default pwg-button"> 6 <span class="pwg-icon pwg-icon-home"> </span><span class="pwg-button-text">{'Home'|@translate}</span> 7 </a></li> 8 </ul> 4 <ul class="categoryActions"></ul> 9 5 <h2>{'Notification'|@translate}</h2> 10 6 </div> -
trunk/themes/default/template/notification.tpl
r8711 r10812 3 3 <link rel="alternate" type="application/rss+xml" title="{'Complete RSS feed (photos, comments)'|@translate}" href="{$U_FEED}"> 4 4 {/html_head} 5 6 {if isset($MENUBAR)}{$MENUBAR}{/if} 5 7 <div id="content" class="content"> 6 8 7 9 <div class="titrePage"> 8 <ul class="categoryActions"> 9 <li><a href="{$U_HOME}" title="{'Home'|@translate}" class="pwg-state-default pwg-button"> 10 <span class="pwg-icon pwg-icon-home"> </span><span class="pwg-button-text">{'Home'|@translate}</span> 11 </a></li> 12 </ul> 10 <ul class="categoryActions"></ul> 13 11 <h2>{'Notification'|@translate}</h2> 14 12 </div> -
trunk/themes/default/template/password.tpl
r8091 r10812 1 {if isset($MENUBAR)}{$MENUBAR}{/if} 1 2 <div id="content" class="content"> 2 3 3 4 <div class="titrePage"> 4 <ul class="categoryActions"> 5 <li><a href="{$U_HOME}" title="{'Go through the gallery as a visitor'|@translate}" class="pwg-state-default pwg-button"> 6 <span class="pwg-icon pwg-icon-home"> </span><span class="pwg-button-text">{'Home'|@translate}</span> 7 </a></li> 8 </ul> 5 <ul class="categoryActions"></ul> 9 6 <h2>{'Password forgotten'|@translate}</h2> 10 7 </div> -
trunk/themes/default/template/picture.tpl
r10804 r10812 2 2 {include file='include/autosize.inc.tpl'} 3 3 *} 4 5 {if isset($MENUBAR)} 6 {$MENUBAR} 7 <div id="content" class="pictureContent"> 8 {/if} 4 9 5 10 {if isset($errors)} … … 311 316 312 317 {if !empty($PLUGIN_PICTURE_AFTER)}{$PLUGIN_PICTURE_AFTER}{/if} 318 319 {if isset($MENUBAR)} 320 </div> 321 {/if} -
trunk/themes/default/template/profile.tpl
r8076 r10812 1 {if isset($MENUBAR)}{$MENUBAR}{/if} 1 2 <div id="content" class="content"> 2 3 … … 12 13 13 14 <div class="titrePage"> 14 <ul class="categoryActions"> 15 <li><a href="{$U_HOME}" title="{'Home'|@translate}" class="pwg-state-default pwg-button"> 16 <span class="pwg-icon pwg-icon-home"> </span><span class="pwg-button-text">{'Home'|@translate}</span> 17 </a></li> 18 </ul> 15 <ul class="categoryActions"></ul> 19 16 <h2>{'Profile'|@translate}</h2> 20 17 </div> -
trunk/themes/default/template/register.tpl
r8635 r10812 1 {if isset($MENUBAR)}{$MENUBAR}{/if} 1 2 <div id="registerPage"> 2 3 … … 4 5 5 6 <div class="titrePage"> 6 <ul class="categoryActions"> 7 <li><a href="{$U_HOME}" title="{'Home'|@translate}" class="pwg-state-default pwg-button"> 8 <span class="pwg-icon pwg-icon-home"> </span><span class="pwg-button-text">{'Home'|@translate}</span> 9 </a></li> 10 </ul> 7 <ul class="categoryActions"></ul> 11 8 <h2>{'Registration'|@translate}</h2> 12 9 </div> -
trunk/themes/default/template/search.tpl
r8076 r10812 15 15 *} 16 16 17 {if isset($MENUBAR)}{$MENUBAR}{/if} 17 18 <div id="content" class="content"> 18 19 … … 22 23 <li><a href="{$U_HELP}" onclick="popuphelp(this.href); return false;" title="{'Help'|@translate}" class="pwg-state-default pwg-button"> 23 24 <span class="pwg-icon pwg-icon-help"> </span><span class="pwg-button-text">{'Help'|@translate}</span> 24 </a></li>25 <li><a href="{$U_HOME}" title="{'Home'|@translate}" class="pwg-state-default pwg-button">26 <span class="pwg-icon pwg-icon-home"> </span><span class="pwg-button-text">{'Home'|@translate}</span>27 25 </a></li> 28 26 </ul> -
trunk/themes/default/template/tags.tpl
r8665 r10812 1 {if isset($MENUBAR)}{$MENUBAR}{/if} 1 2 <div id="content" class="content"> 2 3 … … 13 14 </a></li> 14 15 {/if} 15 <li><a href="{$U_HOME}" title="{'Home'|@translate}" class="pwg-state-default pwg-button">16 <span class="pwg-icon pwg-icon-home"> </span><span class="pwg-button-text">{'Home'|@translate}</span>17 </a></li>18 16 </ul> 19 17 <h2>{'Tags'|@translate}</h2> -
trunk/themes/default/theme.css
r10804 r10812 90 90 */ 91 91 .content { 92 margin: 1em;93 }94 95 #theCategoryPage .content96 {97 92 margin-left: 20em; /* = #menubar width + 2em */ 98 93 } … … 412 407 } 413 408 409 /* only if menubar is shown */ 410 .pictureContent { 411 margin-left:20em; 412 } 413 .pictureContent #imageToolBar, 414 .pictureContent #theImage, 415 .pictureContent hr.separation { 416 clear:none; 417 } 418 414 419 415 420 /**
Note: See TracChangeset
for help on using the changeset viewer.