Dotclear


Ignore:
Timestamp:
08/06/13 10:03:57 (12 years ago)
Author:
Dsls
Branch:
default
Message:

Backed out merge changeset: 48c827f9db99

Backed out merge revision to its first parent (5ceeeb6f5454)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • inc/public/class.dc.template.php

    r1249 r1280  
    6767          $this->addValue('BlogLanguage',array($this,'BlogLanguage')); 
    6868          $this->addValue('BlogThemeURL',array($this,'BlogThemeURL')); 
    69           $this->addValue('BlogParentThemeURL',array($this,'BlogParentThemeURL')); 
    7069          $this->addValue('BlogUpdateDate',array($this,'BlogUpdateDate')); 
    7170          $this->addValue('BlogID',array($this,'BlogID')); 
     
    840839      
    841840     /*dtd 
    842      <!ELEMENT tpl:BlogThemeURL - O -- Blog's current Theme URL --> 
     841     <!ELEMENT tpl:BlogThemeURL - O -- Blog's current Themei URL --> 
    843842     */ 
    844843     public function BlogThemeURL($attr) 
     
    846845          $f = $this->getFilters($attr); 
    847846          return '<?php echo '.sprintf($f,'$core->blog->settings->system->themes_url."/".$core->blog->settings->system->theme').'; ?>'; 
    848      } 
    849       
    850      /*dtd 
    851      <!ELEMENT tpl:BlogParentThemeURL - O -- Blog's current Theme's parent URL --> 
    852      */ 
    853      public function BlogParentThemeURL($attr) 
    854      { 
    855           $f = $this->getFilters($attr); 
    856           $parent = '$core->themes->moduleInfo($core->blog->settings->system->theme,\'parent\')'; 
    857           return '<?php echo '.sprintf($f,'$core->blog->settings->system->themes_url."/".('."$parent".' ? '."$parent".' : $core->blog->settings->system->theme)').'; ?>'; 
    858847     } 
    859848     
Note: See TracChangeset for help on using the changeset viewer.

Sites map