Dotclear


Ignore:
Timestamp:
06/24/11 15:25:24 (14 years ago)
Author:
Dsls <dsls@…>
Branch:
default
Message:

Moved tag templates to their plugin directory, fixed some troubles with tplIfConditions behavior. Closes #1131

Location:
plugins/tags
Files:
1 edited
2 moved

Legend:

Unmodified
Added
Removed
  • plugins/tags/_public.php

    r407 r413  
    4545$core->addBehavior('templateBeforeBlock',array('behaviorsTags','templateBeforeBlock')); 
    4646$core->addBehavior('tplSysIfConditions',array('behaviorsTags','tplSysIfConditions')); 
     47$core->addBehavior('publicBeforeDocument',array('behaviorsTags','addTplPath')); 
    4748 
    4849class behaviorsTags 
     
    8384          } 
    8485     } 
     86      
     87     public static function addTplPath($core) 
     88     { 
     89          $core->tpl->setPath($core->tpl->getPath(), dirname(__FILE__).'/default-templates'); 
     90     } 
     91 
    8592} 
    8693 
Note: See TracChangeset for help on using the changeset viewer.

Sites map