Dotclear

Changeset 2607:2a4091ec08c4 for plugins


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

Use DC_DEFAULT_TPLSET rather than 'mustek' for default template set.

Location:
plugins
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • plugins/pages/_public.php

    r2603 r2607  
    195195                         $core->tpl->setPath($core->tpl->getPath(), dirname(__FILE__).'/default-templates/'.$tplset); 
    196196                    } else { 
    197                          $core->tpl->setPath($core->tpl->getPath(), dirname(__FILE__).'/default-templates/mustek'); 
     197                         $core->tpl->setPath($core->tpl->getPath(), dirname(__FILE__).'/default-templates/'.DC_DEFAULT_TPLSET); 
    198198                    } 
    199199                    self::serveDocument('page.html'); 
  • plugins/tags/_public.php

    r2603 r2607  
    8686               $core->tpl->setPath($core->tpl->getPath(), dirname(__FILE__).'/default-templates/'.$tplset); 
    8787          } else { 
    88                $core->tpl->setPath($core->tpl->getPath(), dirname(__FILE__).'/default-templates/mustek'); 
     88               $core->tpl->setPath($core->tpl->getPath(), dirname(__FILE__).'/default-templates/'.DC_DEFAULT_TPLSET); 
    8989          } 
    9090     } 
  • plugins/themeEditor/class.themeEditor.php

    r2601 r2607  
    3030          $this->default_theme = path::real($this->core->blog->themes_path.'/default'); 
    3131          $this->user_theme = path::real($this->core->blog->themes_path.'/'.$this->core->blog->settings->system->theme); 
    32           $this->tplset_theme = DC_ROOT.'/inc/public/default-templates/'.'mustek'; 
     32          $this->tplset_theme = DC_ROOT.'/inc/public/default-templates/'.DC_DEFAULT_TPLSET; 
    3333          if (null !== $this->core->themes) { 
    3434               $parent_theme = $this->core->themes->moduleInfo($this->core->blog->settings->system->theme,'parent'); 
Note: See TracChangeset for help on using the changeset viewer.

Sites map