Changeset 1352

Show
Ignore:
Timestamp:
12/04/07 13:41:15 (1 year ago)
Author:
rho
Message:

updated templates loading using add_context function

Signed-off: Rolando Espinoza La fuente <rho@prosoftpeople.com>

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • devel/mod/file/default_templates.php

    r1081 r1352  
    3939                         ); 
    4040                          
    41 $template['folder'] = file_get_contents(dirname(__FILE__)."/templates/file_folder.html"); 
    42 $template['file'] = file_get_contents(dirname(__FILE__)."/templates/file_file.html"); 
    43 $template['file_wizard'] = file_get_contents(dirname(__FILE__)."/templates/file_wizard.html"); 
     41templates_add_context('folder', 'mod/file/templates/file_folder.html'); 
     42templates_add_context('file', 'mod/file/templates/file_file.html'); 
     43templates_add_context('file_wizard', 'mod/file/templates/file_wizard.html'); 
    4444?>