openrat-cms

Unnamed repository; edit this file 'description' to name the repository.
Log | Files | Refs

commit 12873225a0fc269b9af5be58fe92e64f1e1b12a6
parent 60ac479225a1e26003db2f17dfa37743584c8b67
Author: dankert <devnull@localhost>
Date:   Tue, 24 Jan 2006 00:06:28 +0100

*** empty log message ***

Diffstat:
serviceClasses/TemplateEngine.class.php | 7++++---
1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/serviceClasses/TemplateEngine.class.php b/serviceClasses/TemplateEngine.class.php @@ -70,7 +70,7 @@ class TemplateEngine if ( empty($line) ) // Leerzeilen in Vorlage { - fwrite( $outFile,"\n" ); +// fwrite( $outFile,"\n" ); continue; } @@ -151,7 +151,7 @@ class TemplateEngine function copyFileContents( $infile,$outFileHandler,$attr ) { global $conf; - Logger::debug("Inserting template command: ".$infile); +// Logger::debug("Inserting template command: ".$infile); $inFileName = OR_THEMES_DIR.$conf['interface']['theme'].'/include/html/'.$infile.'.inc.'.PHP_EXT; if ( !is_file($inFileName) ) if ( count($attr)==0 ) @@ -174,7 +174,8 @@ class TemplateEngine $file = file( $inFileName ); foreach( $file as $line ) { - fwrite( $outFileHandler,rtrim($line)."\n" ); + //fwrite( $outFileHandler,rtrim($line)."\n" ); + fwrite( $outFileHandler,$line ); } fwrite( $outFileHandler,'<?php unset($attr) ?>'); foreach( $attr as $attrName=>$attrValue )