Changeset 7791


Ignore:
Timestamp:
Nov 16, 2010, 5:21:29 PM (10 years ago)
Author:
patdenice
Message:

Minor corrections

File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/gvideo/gvideo.php

    r3609 r7791  
    1212  'H_GVIDEO' => !empty($sp[1]) ? $sp[1] : $params[$extension][0],
    1313  'W_GVIDEO' => !empty($sp[2]) ? $sp[2] : $params[$extension][1],
    14   'AUTO_GVIDEO' => $params[$extension][2]));
     14  'AUTO_GVIDEO' => $params[$extension][2],
     15  'HEIGHT_IMG' => !empty($sp[1]) ? $sp[1] : $params[$extension][0],
     16  'WIDTH_IMG' => !empty($sp[1]) ? $sp[1] : $params[$extension][0],
     17  ));
    1518
    1619if ($extension == 'gvideo')
     
    3336}
    3437
    35 $template->set_filenames(array('default_content' => dirname(__FILE__) . '/template/pywaie_' . $extension . '.tpl'));
    36 $content = $template->parse('default_content', true);
     38$template->set_filenames(array('py_content' => dirname(__FILE__) . '/template/pywaie_' . $extension . '.tpl'));
     39$content = $template->parse('py_content', true);
    3740
    3841?>
Note: See TracChangeset for help on using the changeset viewer.