Changeset 12878
- Timestamp:
- Jan 12, 2012, 9:50:46 PM (12 years ago)
- Location:
- trunk
- Files:
-
- 14 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/admin/themes/default/template/configuration.tpl
r12872 r12878 272 272 <li> 273 273 <label> 274 <span class="property">{'Sort order'|@translate|@string_format:$pwg->l10n('Activate field"%s"')}</span>274 <span class="property">{'Sort order'|@translate|@string_format:$pwg->l10n('Activate icon "%s"')}</span> 275 275 <input type="checkbox" name="index_sort_order_input" {if ($display.index_sort_order_input)}checked="checked"{/if}> 276 276 </label> -
trunk/identification.php
r12764 r12878 3 3 // | Piwigo - a PHP based photo gallery | 4 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2008-201 1Piwigo Team http://piwigo.org |5 // | Copyright(C) 2008-2012 Piwigo Team http://piwigo.org | 6 6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | 7 7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | … … 83 83 $template->assign( 84 84 array( 85 'U_LOST_PASSWORD' => get_root_url().'password.php',86 85 'U_REDIRECT' => $redirect_to, 87 86 … … 90 89 )); 91 90 92 if ( $conf['allow_user_registration'])91 if (!$conf['gallery_locked'] && $conf['allow_user_registration']) 93 92 { 94 93 $template->assign('U_REGISTER', get_root_url().'register.php' ); 95 94 } 96 95 96 if (!$conf['gallery_locked']) 97 { 98 $template->assign('U_LOST_PASSWORD', get_root_url().'password.php' ); 99 } 100 97 101 // include menubar 98 102 $themeconf = $template->get_template_vars('themeconf'); 99 if (! isset($themeconf['hide_menu_on']) OR !in_array('theIdentificationPage', $themeconf['hide_menu_on']))103 if (!$conf['gallery_locked'] && (!isset($themeconf['hide_menu_on']) OR !in_array('theIdentificationPage', $themeconf['hide_menu_on']))) 100 104 { 101 105 include( PHPWG_ROOT_PATH.'include/menubar.inc.php'); -
trunk/include/functions.inc.php
r12870 r12878 3 3 // | Piwigo - a PHP based photo gallery | 4 4 // +-----------------------------------------------------------------------+ 5 // | Copyright(C) 2008-201 1Piwigo Team http://piwigo.org |5 // | Copyright(C) 2008-2012 Piwigo Team http://piwigo.org | 6 6 // | Copyright(C) 2003-2008 PhpWebGallery Team http://phpwebgallery.net | 7 7 // | Copyright(C) 2002-2003 Pierrick LE GALL http://le-gall.net/pierrick | … … 1077 1077 while ($row = pwg_db_fetch_assoc($result)) 1078 1078 { 1079 $conf[ $row['param'] ] = isset($row['value']) ? $row['value'] : ''; 1080 1081 // If the field is true or false, the variable is transformed into a 1082 // boolean value. 1083 if ($conf[$row['param']] == 'true' or $conf[$row['param']] == 'false') 1084 { 1085 $conf[ $row['param'] ] = get_boolean($conf[ $row['param'] ]); 1086 } 1079 $val = isset($row['value']) ? $row['value'] : ''; 1080 // If the field is true or false, the variable is transformed into a boolean value. 1081 if ($val == 'true') 1082 { 1083 $val = true; 1084 } 1085 elseif ($val == 'false') 1086 { 1087 $val = false; 1088 } 1089 $conf[ $row['param'] ] = $val; 1087 1090 } 1088 1091 } -
trunk/language/en_UK/admin.lang.php
r12782 r12878 98 98 $lang['Action'] = 'Action'; 99 99 $lang['Actions'] = "Actions"; 100 $lang['Activate field "%s"'] = 'Activate field "%s"';101 100 $lang['Activate icon "%s"'] = 'Activate icon "%s"'; 102 101 $lang['Activate icon "new" next to albums and pictures'] = 'Activate icon "new" next to albums and pictures'; -
trunk/themes/default/template/about.tpl
r12764 r12878 1 1 {if isset($MENUBAR)}{$MENUBAR}{/if} 2 <div id="content" class="content ">2 <div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}"> 3 3 <div class="titrePage"> 4 4 <ul class="categoryActions"> -
trunk/themes/default/template/comments.tpl
r12764 r12878 1 1 {if isset($MENUBAR)}{$MENUBAR}{/if} 2 <div id="content" class="content ">2 <div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}"> 3 3 4 4 <div class="titrePage"> -
trunk/themes/default/template/identification.tpl
r12764 r12878 1 1 {if isset($MENUBAR)}{$MENUBAR}{/if} 2 <div id="content" class="content ">2 <div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}"> 3 3 4 4 <div class="titrePage"> … … 48 48 </p> 49 49 50 50 <p> 51 51 {if isset($U_REGISTER)} 52 52 <a href="{$U_REGISTER}" title="{'Register'|@translate}" class="pwg-state-default pwg-button"> … … 54 54 </a> 55 55 {/if} 56 {if isset($U_LOST_PASSWORD)} 56 57 <a href="{$U_LOST_PASSWORD}" title="{'Forgot your password?'|@translate}" class="pwg-state-default pwg-button"> 57 58 <span class="pwg-icon pwg-icon-lost-password"> </span><span>{'Forgot your password?'|@translate}</span> 58 59 </a> 59 </p> 60 {/if} 61 </p> 60 62 61 63 </form> -
trunk/themes/default/template/index.tpl
r12873 r12878 1 1 {$MENUBAR} 2 2 {if !empty($PLUGIN_INDEX_CONTENT_BEFORE)}{$PLUGIN_INDEX_CONTENT_BEFORE}{/if} 3 <div id="content" class="content ">3 <div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}"> 4 4 <div class="titrePage"> 5 5 <ul class="categoryActions"> -
trunk/themes/default/template/notification.tpl
r12764 r12878 5 5 6 6 {if isset($MENUBAR)}{$MENUBAR}{/if} 7 <div id="content" class="content ">7 <div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}"> 8 8 9 9 <div class="titrePage"> -
trunk/themes/default/template/picture.tpl
r12764 r12878 5 5 {if isset($MENUBAR)} 6 6 {$MENUBAR} 7 <div id="content" class=" pictureContent">7 <div id="content" class="contentWithMenu"> 8 8 {/if} 9 9 -
trunk/themes/default/template/profile.tpl
r12764 r12878 1 1 {if isset($MENUBAR)}{$MENUBAR}{/if} 2 <div id="content" class="content ">2 <div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}"> 3 3 4 4 <div class="titrePage"> -
trunk/themes/default/template/search.tpl
r12764 r12878 16 16 17 17 {if isset($MENUBAR)}{$MENUBAR}{/if} 18 <div id="content" class="content ">18 <div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}"> 19 19 20 20 <div class="titrePage"> -
trunk/themes/default/template/tags.tpl
r12764 r12878 1 1 {if isset($MENUBAR)}{$MENUBAR}{/if} 2 <div id="content" class="content ">2 <div id="content" class="content{if isset($MENUBAR)} contentWithMenu{/if}"> 3 3 4 4 <div class="titrePage"> -
trunk/themes/default/theme.css
r12873 r12878 84 84 * Content 85 85 */ 86 .content {86 .contentWithMenu { 87 87 margin-left: 20em; /* = #menubar width + 2em */ 88 88 } … … 418 418 } 419 419 420 /* only if menubar is shown */ 421 .pictureContent { 422 margin-left:20em; 423 } 424 .pictureContent #imageToolBar, 425 .pictureContent #theImage { 420 .contentWithMenu #imageToolBar, 421 .contentWithMenu #theImage { 426 422 clear: none; 427 423 }
Note: See TracChangeset
for help on using the changeset viewer.