Ignore:
Timestamp:
Apr 17, 2016, 10:06:37 PM (8 years ago)
Author:
ddtddt
Message:

[extensions] - manage_properties_photos - no use $confpicture_informations when plugin activate

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/manage_properties_photos/initpicture.php

    r31409 r31553  
    3636   $repla='<dl id="standard" class="imageInfoTable">{strip}
    3737{foreach from=$add_info_photos item=addinfophotos}
    38     {if $addinfophotos.AIPID == 1 and $display_info.author and isset($INFO_AUTHOR)}
     38    {if $addinfophotos.AIPID == 1 and isset($INFO_AUTHOR)}
    3939        <div id="Author" class="imageInfo">
    4040                <dt>{\'Author\'|@translate}</dt>
    4141                <dd>{$INFO_AUTHOR}</dd>
    4242        </div>
    43     {else if $addinfophotos.AIPID == 2 and $display_info.created_on and isset($INFO_CREATION_DATE)}
     43    {else if $addinfophotos.AIPID == 2 and isset($INFO_CREATION_DATE)}
    4444        <div id="datecreate" class="imageInfo">
    4545                <dt>{\'Created on\'|@translate}</dt>
    4646                <dd>{$INFO_CREATION_DATE}</dd>
    4747        </div>
    48     {else if $addinfophotos.AIPID == 3 and $display_info.posted_on and isset($INFO_POSTED_DATE)}
     48    {else if $addinfophotos.AIPID == 3 and isset($INFO_POSTED_DATE)}
    4949        <div id="datepost" class="imageInfo">
    5050                <dt>{\'Posted on\'|@translate}</dt>
    5151                <dd>{$INFO_POSTED_DATE}</dd>
    5252        </div>
    53     {else if $addinfophotos.AIPID == 4 and $display_info.dimensions and isset($INFO_DIMENSIONS)}
     53    {else if $addinfophotos.AIPID == 4 and isset($INFO_DIMENSIONS)}
    5454        <div id="Dimensions" class="imageInfo">
    5555                <dt>{\'Dimensions\'|@translate}</dt>
    5656                <dd>{$INFO_DIMENSIONS}</dd>
    5757        </div>
    58     {else if $addinfophotos.AIPID == 5 and $display_info.file}
     58    {else if $addinfophotos.AIPID == 5}
    5959        <div id="File" class="imageInfo">
    6060                <dt>{\'File\'|@translate}</dt>
    6161                <dd>{$INFO_FILE}</dd>
    6262        </div>
    63     {else if $addinfophotos.AIPID == 6 and $display_info.filesize and isset($INFO_FILESIZE)}
     63    {else if $addinfophotos.AIPID == 6 and isset($INFO_FILESIZE)}
    6464        <div id="Filesize" class="imageInfo">
    6565                <dt>{\'Filesize\'|@translate}</dt>
    6666                <dd>{$INFO_FILESIZE}</dd>
    6767        </div>
    68     {else if $addinfophotos.AIPID == 7 and $display_info.tags and isset($related_tags)}
     68    {else if $addinfophotos.AIPID == 7 and isset($related_tags)}
    6969        <div id="Tags" class="imageInfo">
    7070        <dt>{\'Tags\'|@translate}</dt>
     
    7373                </dd>
    7474        </div>
    75     {else if $addinfophotos.AIPID == 8 and $display_info.categories and isset($related_categories)}
     75    {else if $addinfophotos.AIPID == 8 and isset($related_categories)}
    7676        <div id="Categories" class="imageInfo">
    7777            <dt>{\'Albums\'|@translate}</dt>
     
    8484            </dd>
    8585        </div>
    86     {else if $addinfophotos.AIPID == 9 and $display_info.visits}
     86    {else if $addinfophotos.AIPID == 9}
    8787        <div id="Visits" class="imageInfo">
    8888                <dt>{\'Visits\'|@translate}</dt>
    8989                <dd>{$INFO_VISITS}</dd>
    9090        </div>
    91     {else if $addinfophotos.AIPID == 10 and $display_info.rating_score and isset($rate_summary)}
     91    {else if $addinfophotos.AIPID == 10 and isset($rate_summary)}
    9292        <div id="Average" class="imageInfo">
    9393                <dt>{\'Rating score\'|@translate}</dt>
Note: See TracChangeset for help on using the changeset viewer.