kernel2/QF2_vis.php
changeset 34 0e05a7ed0206
parent 19 7b6c1826b462
child 37 c971c735661c
     1.1 --- a/kernel2/QF2_vis.php	Fri Nov 20 16:17:47 2009 +0600
     1.2 +++ b/kernel2/QF2_vis.php	Wed Dec 30 16:25:48 2009 +0600
     1.3 @@ -356,6 +356,7 @@
     1.4                      // not used for now - not needed
     1.5                      //if ($add_Consts = qf_file_load_datafile(QF_STCNTS_DIR.$part.'.cnt', true))
     1.6                      //    $this->Consts += $add_Consts;
     1.7 +                    $QF->Events->Call_Event_Ref('VIS_RawParse', $indata, $style, $part);
     1.8  
     1.9                      $indata = str_replace('{ST_IMGS}', QF_ST_IMGS_DIR.$style, $indata);
    1.10                      $indata = str_replace('{IMGS}', QF_IMAGES_DIR, $indata);
    1.11 @@ -364,7 +365,7 @@
    1.12                      $indata = preg_replace_callback('#\{(?>L_((?:\w+|\"[^\"]+\"|\|)+))\}#',Array(&$this, '_Templ_Lang_CB'),$indata);
    1.13                      $indata = preg_replace('#\{(?>CONST:([\w\|]+))\}#e','(isset(\$this->Templ_Consts("$1"))) ? \$this->Templ_Consts("$1") : ""',$indata);
    1.14  
    1.15 -                    $QF->Events->Call_Event_Ref('VIS_PreParse', $indata);
    1.16 +                    $QF->Events->Call_Event_Ref('VIS_PreParse', $indata, $style, $part);
    1.17  
    1.18                      preg_match_all("#<<\+ '(?>(\w+))'>>(.*?)<<- '\\1'>>#s", $indata, $blocks);
    1.19