Changeset 16561


Ignore:
Timestamp:
07/10/12 00:02:45 (7 years ago)
Author:
ddtddt
Message:

[extensions] - AddInfo - Display info if empty

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/AddInfo/initpicture.php

    r16487 r16561  
    1515   
    1616  $replacement = ' 
     17  {if $INFO1} 
    1718  <div id="info1"> 
    1819    <dt class="label">{\'addinfo_info1\'|@translate}</dt> 
    1920    <dd class="value">{$INFO1}</dd> 
    2021  </div> 
     22{/if} 
     23{if $INFO2} 
    2124  <div id="info2"> 
    2225    <dt class="label">{\'addinfo_info2\'|@translate}</dt> 
    2326    <dd class="value">{$INFO2}</dd> 
    2427  </div> 
     28{/if} 
     29{if $INFO3} 
    2530  <div id="info3"> 
    2631    <dt class="label">{\'addinfo_info3\'|@translate}</dt> 
    2732    <dd class="value">{$INFO3}</dd> 
    2833  </div> 
     34{/if} 
    2935<div id="datepost" class="imageInfo">'; 
    3036 
Note: See TracChangeset for help on using the changeset viewer.