Changeset 2046

Show
Ignore:
Timestamp:
09/07/07 00:19:59 (6 years ago)
Author:
kop-labs
Message:

Fixed error on StandardForm?

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • website/lib/views/StandardForm.class.php

    r2045 r2046  
    33$cfg = new ConfigUtil(); 
    44$cfg->load("views.Servlet"); 
     5global $tname;  
     6$tname = $cfg->nameTemplate;  
    57class StandardForm extends Servlet{ 
    68    function processRequest(){ 
     
    3335 
    3436        $this->registerGlobal('template', 'templates/default'); 
    35         $tname = $cfg->nameTemplate;  
    36         echo $tname; 
    37         echo $cfg; 
    38         echo "lost"; 
     37 
    3938                        $tdir = "templates/$tname"; 
    4039        $this->mergeField('template', $tdir);