Ignore:
Timestamp:
Mar 5, 2013, 11:58:54 PM (11 years ago)
Author:
ddtddt
Message:

[extensions] - Photo_add_by - new feature choise where add 'photo add by

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/Photo_add_by/initpicture.php

    r21162 r21222  
    1010 }
    1111
     12
    1213function pabIT($content, &$smarty)
    1314 {
    14   $search = '#<div id="datecreate" class="imageInfo">#';
     15 
     16 global $conf;
     17 
     18  $search = '#<div id="'.$conf['Photo_add_by'].'" class="imageInfo">#';
    1519 
    1620  $replacement = '
     
    2125  </div>
    2226{/if}
    23 <div id="datecreate" class="imageInfo">';
     27<div id="'.$conf['Photo_add_by'].'" class="imageInfo">';
    2428
    2529  return preg_replace($search, $replacement, $content);
Note: See TracChangeset for help on using the changeset viewer.