Dotclear

Changeset 1760


Ignore:
Timestamp:
10/26/09 16:00:41 (13 years ago)
Author:
bruno
Message:

Merged [1756] onto 0.3 branch, see #299

File:
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/gallery/branches/0.3/_public_tpl.php

    r905 r1760  
    352352          '<?php try { '. 
    353353          '$theme = $_ctx->gallery_theme;'. 
    354           'if ($theme == "") {'. 
     354          'if (($theme != "") && ($core->tpl->getFilePath("gal_".$theme."/'.$rel_src.'") !== false)) {'. 
     355          '    $src = "gal_".$theme."/'.$rel_src.'";'. 
     356          '} else {'. 
    355357          '    $src = "gal_simple/'.$rel_src.'";'. 
    356           '} else {'. 
    357           '    $src = "gal_".$theme."/'.$rel_src.'";'. 
    358358          '}'. 
    359359          'echo $core->tpl->getData(str_replace("\'","\\\'",$src)); '. 
Note: See TracChangeset for help on using the changeset viewer.

Sites map