Changeset 31343
- Timestamp:
- Jan 27, 2016, 8:28:47 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/manage_properties_photos/initpicture.php
r31342 r31343 17 17 $repla='<dl id="standard" class="imageInfoTable">{strip} 18 18 {foreach from=$add_info_photos item=addinfophotos} 19 {if $addinfophotos.AIPID == 1 and isset($INFO_AUTHOR)}19 {if $addinfophotos.AIPID == 1 and $display_info.author and isset($INFO_AUTHOR)} 20 20 <div id="Author" class="imageInfo"> 21 21 <dt>{\'Author\'|@translate}</dt> 22 22 <dd>{$INFO_AUTHOR}</dd> 23 23 </div> 24 {else if $addinfophotos.AIPID == 2 and isset($INFO_CREATION_DATE)}24 {else if $addinfophotos.AIPID == 2 and $display_info.created_on and isset($INFO_CREATION_DATE)} 25 25 <div id="datecreate" class="imageInfo"> 26 26 <dt>{\'Created on\'|@translate}</dt> 27 27 <dd>{$INFO_CREATION_DATE}</dd> 28 28 </div> 29 {else if $addinfophotos.AIPID == 3 and isset($INFO_CREATION_DATE)}29 {else if $addinfophotos.AIPID == 3 and $display_info.posted_on and isset($INFO_POSTED_DATE)} 30 30 <div id="datepost" class="imageInfo"> 31 31 <dt>{\'Posted on\'|@translate}</dt> 32 32 <dd>{$INFO_POSTED_DATE}</dd> 33 33 </div> 34 {else if $addinfophotos.AIPID == 4 and isset($INFO_DIMENSIONS)}34 {else if $addinfophotos.AIPID == 4 and $display_info.dimensions and isset($INFO_DIMENSIONS)} 35 35 <div id="Dimensions" class="imageInfo"> 36 36 <dt>{\'Dimensions\'|@translate}</dt> 37 37 <dd>{$INFO_DIMENSIONS}</dd> 38 38 </div> 39 {else if $addinfophotos.AIPID == 5 }39 {else if $addinfophotos.AIPID == 5 and $display_info.file} 40 40 <div id="File" class="imageInfo"> 41 41 <dt>{\'File\'|@translate}</dt> 42 42 <dd>{$INFO_FILE}</dd> 43 43 </div> 44 {else if $addinfophotos.AIPID == 6 and isset($INFO_FILESIZE)}44 {else if $addinfophotos.AIPID == 6 and $display_info.filesize and isset($INFO_FILESIZE)} 45 45 <div id="Filesize" class="imageInfo"> 46 46 <dt>{\'Filesize\'|@translate}</dt> 47 47 <dd>{$INFO_FILESIZE}</dd> 48 48 </div> 49 {else if $addinfophotos.AIPID == 7 and isset($related_tags)}49 {else if $addinfophotos.AIPID == 7 and $display_info.tags and isset($related_tags)} 50 50 <div id="Tags" class="imageInfo"> 51 51 <dt>{\'Tags\'|@translate}</dt> … … 54 54 </dd> 55 55 </div> 56 {else if $addinfophotos.AIPID == 8 and isset($related_categories)}56 {else if $addinfophotos.AIPID == 8 and $display_info.categories and isset($related_categories)} 57 57 <div id="Categories" class="imageInfo"> 58 58 <dt>{\'Albums\'|@translate}</dt> … … 65 65 </dd> 66 66 </div> 67 {else if $addinfophotos.AIPID == 9 }67 {else if $addinfophotos.AIPID == 9 and $display_info.visits} 68 68 <div id="Visits" class="imageInfo"> 69 69 <dt>{\'Visits\'|@translate}</dt> 70 70 <dd>{$INFO_VISITS}</dd> 71 71 </div> 72 {else if $addinfophotos.AIPID == 10 and isset($rate_summary)}72 {else if $addinfophotos.AIPID == 10 and $display_info.rating_score and isset($rate_summary)} 73 73 <div id="Average" class="imageInfo"> 74 74 <dt>{\'Rating score\'|@translate}</dt>
Note: See TracChangeset
for help on using the changeset viewer.