Changeset 1946

Show
Ignore:
Timestamp:
09/02/07 21:04:10 (6 years ago)
Author:
kop-labs
Message:

set globals var :: onload

Files:
1 modified

Legend:

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

    r1935 r1946  
    66class IndexForm extends StandardForm{ 
    77    function doGet(){ 
    8         //global $title, $template_ad, $ad_info,$template_download; 
     8        global $vmenu, $title, $template_ad, $ad_info,$template_download; 
    99        $tmp = $this->fields['title']; 
    1010        $tmp .= "Homepage"; 
    1111        $this->mergeField('title',$tmp); 
    12         //$vmenu  = 'template_vmenu.html'; 
     12        $vmenu  = 'template_vmenu.html'; 
    1313        $this->registerGlobal('vmenu', 'template_vmenu.html'); 
    1414        $this->registerGlobal('template_ad', 'template_ad_big.html');