[phpMP-CVS] CVS: phpMP/includes template.php,1.42,1.43
Status: Pre-Alpha
Brought to you by:
heimidal
From: Gordon P. H. <gph...@us...> - 2003-06-29 18:50:16
|
Update of /cvsroot/phpmp/phpMP/includes In directory sc8-pr-cvs1:/tmp/cvs-serv7100/includes Modified Files: template.php Log Message: I commented out the things that were causing errors. - GPHemsley Index: template.php =================================================================== RCS file: /cvsroot/phpmp/phpMP/includes/template.php,v retrieving revision 1.42 retrieving revision 1.43 diff -C2 -r1.42 -r1.43 *** template.php 29 Jun 2003 08:34:37 -0000 1.42 --- template.php 29 Jun 2003 18:50:13 -0000 1.43 *************** *** 290,294 **** $compile_blocks = array(); ! for ($curr_tb = 0; $curr_tb < count($text_blocks); $curr_tb++) { switch ($blocks[1][$curr_tb]) --- 290,294 ---- $compile_blocks = array(); ! /* for ($curr_tb = 0; $curr_tb < count($text_blocks); $curr_tb++) { switch ($blocks[1][$curr_tb]) *************** *** 356,360 **** break; } ! } $template_php = ''; --- 356,360 ---- break; } ! }*/ $template_php = ''; *************** *** 362,366 **** { $trim_check_text = trim($text_blocks[$i]); ! $trim_check_block = trim($compile_blocks[$i]); $template_php .= (!$no_echo) ? ((!empty($trim_check_text)) ? $text_blocks[$i] : '') . ((!empty($compile_blocks[$i])) ? $compile_blocks[$i] : '') : ((!empty($trim_check_text)) ? $text_blocks[$i] : '') . ((!empty($compile_blocks[$i])) ? $compile_blocks[$i] : ''); } --- 362,366 ---- { $trim_check_text = trim($text_blocks[$i]); ! // $trim_check_block = trim($compile_blocks[$i]); $template_php .= (!$no_echo) ? ((!empty($trim_check_text)) ? $text_blocks[$i] : '') . ((!empty($compile_blocks[$i])) ? $compile_blocks[$i] : '') : ((!empty($trim_check_text)) ? $text_blocks[$i] : '') . ((!empty($compile_blocks[$i])) ? $compile_blocks[$i] : ''); } |