Changeset 3491


Ignore:
Timestamp:
Jul 1, 2009, 11:10:42 PM (15 years ago)
Author:
vdigital
Message:

merge r3490 from branch 2.0 to trunk
Reverse of 3484

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/include/category_default.inc.php

    r3485 r3491  
    104104        array('start')
    105105      );
    106   $tn_src = get_thumbnail_url($row);
    107   list($tn_width, $tn_height, $tn_type) = @getimagesize($tn_src);
     106
    108107  $tpl_var =
    109108    array(
    110109      'ID'        => $row['id'],
    111       'TN_SRC'    => $tn_src,
     110      'TN_SRC'    => get_thumbnail_url($row),
    112111      'TN_ALT'    => $row['file'],
    113112      'TN_TITLE'  => get_thumbnail_title($row),
     
    128127      'FILE_HAS_HD' => ($row['has_high'] and $user['enabled_high']=='true') ?
    129128                true:false, /* lack of include/functions_picture.inc.php */
    130       'FILE_TN_WIDTH'  => $tn_width,
    131       'FILE_TN_HEIGHT' => $tn_height,
    132       'FILE_TN_TYPE'   => $tn_type,
    133129    );
    134130
Note: See TracChangeset for help on using the changeset viewer.