Dotclear

Changeset 2607:2a4091ec08c4


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.

Files:
5 edited

Legend:

Unmodified
Added
Removed
  • inc/core/class.dc.themes.php

    r2599 r2607  
    5959          # Themes specifics properties 
    6060          $properties = array_merge( 
    61                array('parent' => null, 'tplset' => 'mustek'), 
     61               array('parent' => null, 'tplset' => DC_DEFAULT_TPLSET), 
    6262               $properties, 
    6363               array('permissions' => 'admin') // force themes perms 
  • inc/prepend.php

    r2595 r2607  
    144144define('DC_DISTRIB_PLUGINS','aboutConfig,akismet,antispam,attachments,blogroll,blowupConfig,dclegacy,fairTrackbacks,importExport,maintenance,pages,pings,simpleMenu,tags,themeEditor,userPref,widgets'); 
    145145define('DC_DISTRIB_THEMES','blueSilence,blowupConfig,customCSS,default,ductile'); 
     146define('DC_DEFAULT_TPLSET','mustek'); 
    146147 
    147148if (!defined('DC_VENDOR_NAME')) { 
  • 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