Dotclear

Changeset 1070:64699c5b7cc9 for inc


Ignore:
Timestamp:
12/17/12 00:15:04 (13 years ago)
Author:
JcDenis
Branch:
twig
Message:
  • First draft for the use of Twig on plugins
  • aboutConfig is now "Twig compliant"
Location:
inc/admin
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • inc/admin/class.dc.admincontext.php

    r1064 r1070  
    3939               'admin_url'    => DC_ADMIN_URL, 
    4040               'theme_url'    => DC_ADMIN_URL.'index.php?tf=', 
     41               'plugin_url'   => DC_ADMIN_URL.'index.php?pf=', 
    4142                
    4243               'version'           => DC_VERSION, 
     
    201202     { 
    202203          $this->protected_globals['page_title'] = $title; 
     204     } 
     205      
     206     /** 
     207     Check if a page title is set 
     208     */ 
     209     public function hasPageTitle() 
     210     { 
     211          return !empty($this->protected_globals['page_title']); 
    203212     } 
    204213      
Note: See TracChangeset for help on using the changeset viewer.

Sites map