Changeset 13782
- Timestamp:
- Mar 28, 2012, 11:00:24 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/install/config.sql
r13242 r13782 32 32 INSERT INTO piwigo_config (param,value,comment) VALUES ('extents_for_templates','a:0:{}','Actived template-extension(s)'); 33 33 INSERT INTO piwigo_config (param,value,comment) VALUES ('blk_menubar','','Menubar options'); 34 INSERT INTO piwigo_config (param,value,comment) VALUES ('menubar_filter_icon',' true','Display filter icon');34 INSERT INTO piwigo_config (param,value,comment) VALUES ('menubar_filter_icon','false','Display filter icon'); 35 35 INSERT INTO piwigo_config (param,value,comment) VALUES ('index_sort_order_input','true','Display image order selection list'); 36 INSERT INTO piwigo_config (param,value,comment) VALUES ('index_flat_icon',' true','Display flat icon');36 INSERT INTO piwigo_config (param,value,comment) VALUES ('index_flat_icon','false','Display flat icon'); 37 37 INSERT INTO piwigo_config (param,value,comment) VALUES ('index_posted_date_icon','true','Display calendar by posted date'); 38 38 INSERT INTO piwigo_config (param,value,comment) VALUES ('index_created_date_icon','true','Display calendar by creation date icon'); … … 49 49 VALUES ( 50 50 'picture_informations', 51 'a:11:{s:6:"author";b:1;s:10:"created_on";b:1;s:9:"posted_on";b:1;s:10:"dimensions";b: 1;s:4:"file";b:1;s:8:"filesize";b:1;s:4:"tags";b:1;s:10:"categories";b:1;s:6:"visits";b:1;s:12:"rating_score";b:1;s:13:"privacy_level";b:1;}',51 'a:11:{s:6:"author";b:1;s:10:"created_on";b:1;s:9:"posted_on";b:1;s:10:"dimensions";b:0;s:4:"file";b:0;s:8:"filesize";b:0;s:4:"tags";b:1;s:10:"categories";b:1;s:6:"visits";b:1;s:12:"rating_score";b:1;s:13:"privacy_level";b:1;}', 52 52 'Information displayed on picture page' 53 53 ); -
trunk/themes/default/template/picture.tpl
r13777 r13782 162 162 <dl id="standard" class="imageInfoTable infoTable"> 163 163 {strip} 164 {if $display_info.author }164 {if $display_info.author and isset($INFO_AUTHOR)} 165 165 <div id="Author" class="imageInfo"> 166 166 <dt>{'Author'|@translate}</dt> 167 <dd>{ if isset($INFO_AUTHOR)}{$INFO_AUTHOR}{else}{'N/A'|@translate}{/if}</dd>168 </div> 169 {/if} 170 {if $display_info.created_on }167 <dd>{$INFO_AUTHOR}</dd> 168 </div> 169 {/if} 170 {if $display_info.created_on and isset($INFO_CREATION_DATE)} 171 171 <div id="datecreate" class="imageInfo"> 172 172 <dt>{'Created on'|@translate}</dt> 173 <dd>{ if isset($INFO_CREATION_DATE)}{$INFO_CREATION_DATE}{else}{'N/A'|@translate}{/if}</dd>173 <dd>{$INFO_CREATION_DATE}</dd> 174 174 </div> 175 175 {/if} … … 180 180 </div> 181 181 {/if} 182 {if $display_info.dimensions }182 {if $display_info.dimensions and isset($INFO_DIMENSIONS)} 183 183 <div id="Dimensions" class="imageInfo"> 184 184 <dt>{'Dimensions'|@translate}</dt> 185 <dd>{ if isset($INFO_DIMENSIONS)}{$INFO_DIMENSIONS}{else}{'N/A'|@translate}{/if}</dd>185 <dd>{$INFO_DIMENSIONS}</dd> 186 186 </div> 187 187 {/if} … … 192 192 </div> 193 193 {/if} 194 {if $display_info.filesize }194 {if $display_info.filesize and isset($INFO_FILESIZE)} 195 195 <div id="Filesize" class="imageInfo"> 196 196 <dt>{'Filesize'|@translate}</dt> 197 <dd>{ if isset($INFO_FILESIZE)}{$INFO_FILESIZE}{else}{'N/A'|@translate}{/if}</dd>198 </div> 199 {/if} 200 {if $display_info.tags }197 <dd>{$INFO_FILESIZE}</dd> 198 </div> 199 {/if} 200 {if $display_info.tags and isset($related_tags)} 201 201 <div id="Tags" class="imageInfo"> 202 202 <dt>{'Tags'|@translate}</dt> 203 203 <dd> 204 {if isset($related_tags)} 205 {foreach from=$related_tags item=tag name=tag_loop}{if !$smarty.foreach.tag_loop.first}, {/if}<a href="{$tag.URL}">{$tag.name}</a>{/foreach} 206 {else} 207 {/if} 208 </dd> 209 </div> 210 {/if} 211 {if $display_info.categories} 204 {foreach from=$related_tags item=tag name=tag_loop}{if !$smarty.foreach.tag_loop.first}, {/if}<a href="{$tag.URL}">{$tag.name}</a>{/foreach} 205 </dd> 206 </div> 207 {/if} 208 {if $display_info.categories and isset($related_categories)} 212 209 <div id="Categories" class="imageInfo"> 213 210 <dt>{'Albums'|@translate}</dt> 214 211 <dd> 215 {if isset($related_categories)}216 212 <ul> 217 213 {foreach from=$related_categories item=cat} … … 219 215 {/foreach} 220 216 </ul> 221 {/if}222 217 </dd> 223 218 </div>
Note: See TracChangeset
for help on using the changeset viewer.