Changeset 16962


Ignore:
Timestamp:
Jul 24, 2012, 11:03:56 AM (8 years ago)
Author:
mistic100
Message:

use a custom version of picture_content.tpl, avoiding fatal errors with Stripped

Location:
extensions/ExtendedDescription
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/ExtendedDescription/main.inc.php

    r16341 r16962  
    399399  if (pwg_db_num_rows($result))
    400400  {
    401     $template->set_filename('extended_description_content', 'picture_content.tpl');
     401    $template->set_filename('extended_description_content', dirname(__FILE__).'/template/picture_content.tpl');
    402402   
    403403    $picture = pwg_db_fetch_assoc($result);
     
    426426      'current' => array(
    427427        'selected_derivative' => $selected_derivative,
    428         'TITLE' => $picture['name'],
    429428        ),
    430429      'ALT_IMG' => $picture['file'],
Note: See TracChangeset for help on using the changeset viewer.