Dotclear

Changeset 992:bbe8a306df16 for inc


Ignore:
Timestamp:
11/12/12 12:46:57 (13 years ago)
Author:
Dsls <dsls@…>
Branch:
twig
Message:

Added very early drafts for form management & twig admin templates.
Still crappy code, needs to be better documented.

post.php is broken there, many things need to be done to be fully functional !
(nb: for the moment, DC_TPL_CACHE.'/admtpl' needs to be created manually.

Location:
inc
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • inc/prepend.php

    r801 r992  
    5252$__autoload['rsExtUser']                = dirname(__FILE__).'/core/class.dc.rs.extensions.php'; 
    5353 
     54 
     55$__autoload['dcAdminPage']                   = dirname(__FILE__).'/admin/class.dc.adminpage.php'; 
     56$__autoload['dcAdminContext']                = dirname(__FILE__).'/admin/class.dc.adminpage.php'; 
    5457$__autoload['dcMenu']                   = dirname(__FILE__).'/admin/class.dc.menu.php'; 
    5558$__autoload['dcPage']                   = dirname(__FILE__).'/admin/lib.dc.page.php'; 
     
    5962$__autoload['adminCommentList']         = dirname(__FILE__).'/admin/lib.pager.php'; 
    6063$__autoload['adminUserList']            = dirname(__FILE__).'/admin/lib.pager.php'; 
     64$__autoload['Twig_Autoloader']          = dirname(__FILE__).'/libs/twig/Autoloader.php'; 
     65Twig_Autoloader::register(); 
    6166 
    6267$__autoload['dcTemplate']               = dirname(__FILE__).'/public/class.dc.template.php'; 
    6368$__autoload['context']                  = dirname(__FILE__).'/public/lib.tpl.context.php'; 
    6469$__autoload['dcUrlHandlers']            = dirname(__FILE__).'/public/lib.urlhandlers.php'; 
     70$__autoload['dcForm']              = dirname(__FILE__).'/admin/class.dc.form.php'; 
     71$__autoload['dcFormExtension']               = dirname(__FILE__).'/admin/class.dc.form.php'; 
    6572 
    6673# Clearbricks extensions 
Note: See TracChangeset for help on using the changeset viewer.

Sites map