Changeset 6956 for extensions/gally/gally-default/template/picture.tpl
- Timestamp:
- Sep 18, 2010, 11:36:50 AM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/gally/gally-default/template/picture.tpl
r6109 r6956 152 152 {if isset($metadata)} 153 153 {foreach from=$metadata item=meta key=id} 154 <li class="tab" id="tabImageMeta "><a href="#imageMeta{$id}">{$meta.TITLE|@translate}</a></li>154 <li class="tab" id="tabImageMeta{$id}"><a href="#imageMeta{$id}">{$meta.TITLE|@translate}</a></li> 155 155 {/foreach} 156 156 {/if} … … 360 360 <div id="imageMetaContainer{$id}"> 361 361 <div class="imageMetaBg"> </div> 362 <table id="displaymeta{$id}" class="displaymeta infoTable"> 363 {foreach from=$meta.lines item=value key=label name=metaloop} 364 {if ($smarty.foreach.metaloop.iteration-1) % #metaNumCols# == 0} 365 {if !$smarty.foreach.metaloop.first}</tr>{/if} 366 {if !$smarty.foreach.metaloop.last}<tr>{/if} 367 {/if} 368 <td class="label">{$label|@translate}</td> 369 <td class="value">{$value}</td> 370 {/foreach} 371 </table> 362 363 {if count($meta.lines)>0 and !array_key_exists('<!--rawContent-->', $meta.lines)} 364 <table id="displaymeta{$id}" class="displaymeta infoTable"> 365 {foreach from=$meta.lines item=value key=label name=metaloop} 366 {if ($smarty.foreach.metaloop.iteration-1) % #metaNumCols# == 0} 367 {if !$smarty.foreach.metaloop.first}</tr>{/if} 368 {if !$smarty.foreach.metaloop.last}<tr>{/if} 369 {/if} 370 <td class="label">{$label|@translate}</td> 371 <td class="value">{$value}</td> 372 {/foreach} 373 </table> 374 {else} 375 {assign var='empty' value='<!--rawContent-->'} 376 {$meta.lines.$empty} 377 {/if} 372 378 </div> 373 379 </div> <!-- imageMeta -->
Note: See TracChangeset
for help on using the changeset viewer.