cvs: smarty /docs/scripts generate_web.php

"Messju Mohr" <[email protected]>
Newsgroups gmane.comp.php.cvs.smarty
Message-ID <cvsmessju1085396679@cvsserver>
messju		Mon May 24 07:04:39 2004 EDT

  Modified files:              
    /smarty/docs/scripts	generate_web.php 
  Log:
  fixed syntax of php-code for the website's manual
  
  
  
http://cvs.php.net/diff.php/smarty/docs/scripts/generate_web.php?r1=1.4&r2=1.5&ty=u
Index: smarty/docs/scripts/generate_web.php
diff -u smarty/docs/scripts/generate_web.php:1.4 smarty/docs/scripts/generate_web.php:1.5
--- smarty/docs/scripts/generate_web.php:1.4	Sun May 23 12:23:31 2004
+++ smarty/docs/scripts/generate_web.php	Mon May 24 07:04:39 2004
@@ -18,7 +18,7 @@
   | Small hack to generate the manual for the web                        |
   +----------------------------------------------------------------------+
 
-  $Id: generate_web.php,v 1.4 2004/05/23 16:23:31 nlopess Exp $
+  $Id: generate_web.php,v 1.5 2004/05/24 11:04:39 messju Exp $
 */
 
 set_time_limit(0);
@@ -29,7 +29,7 @@
 );
 
 $replace = array(
-    '<?php if(!isset($_GET["print"])&&!strstr($_SERVER["REQUEST_URI"],"/print/")){ini_set("default_charset","\2");commonHeader();}else{ ?> \1 } ?>',
+    '<?php if(!isset($_GET["print"])&&!strstr($_SERVER["REQUEST_URI"],"/print/")){ini_set("default_charset","\2");commonHeader();}else{ ?>\1<?php } ?>',
     '<?php if(!isset($_GET["print"])&&!strstr($_SERVER["REQUEST_URI"],"/print/")){commonFooter();}else{ echo "</body></html>";} ?>'
 );
 

-- 
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.