Dotclear


Ignore:
Timestamp:
12/08/13 14:29:45 (12 years ago)
Author:
franck <carnet.franck.paul@…>
Branch:
default
Message:

Switch all templates to HTML5, step 2, ARIA roles implemented, plugins use tplset

Location:
plugins/tags
Files:
4 added
2 deleted
1 edited

Legend:

Unmodified
Added
Removed
  • plugins/tags/_public.php

    r2566 r2603  
    8282     public static function addTplPath($core) 
    8383     { 
    84           $core->tpl->setPath($core->tpl->getPath(), dirname(__FILE__).'/default-templates'); 
     84          $tplset = $core->themes->moduleInfo($core->blog->settings->system->theme,'tplset'); 
     85          if (!empty($tplset) && is_dir(dirname(__FILE__).'/default-templates/'.$tplset)) { 
     86               $core->tpl->setPath($core->tpl->getPath(), dirname(__FILE__).'/default-templates/'.$tplset); 
     87          } else { 
     88               $core->tpl->setPath($core->tpl->getPath(), dirname(__FILE__).'/default-templates/mustek'); 
     89          } 
    8590     } 
    8691 
Note: See TracChangeset for help on using the changeset viewer.

Sites map