cvs: smarty /docs/scripts generate_web.php
"Messju Mohr" <[email protected]>
| Newsgroups | gmane.comp.php.cvs.smarty |
|---|---|
| Message-ID | <cvsmessju1087814272@cvsserver> |
messju Mon Jun 21 06:37:52 2004 EDT
Modified files:
/smarty/docs/scripts generate_web.php
Log:
if search-regexp.
some pages (html_select_date, popup and popup_init) didn't get the
body replaced correctly.
http://cvs.php.net/diff.php/smarty/docs/scripts/generate_web.php?r1=1.5&r2=1.6&ty=u
Index: smarty/docs/scripts/generate_web.php
diff -u smarty/docs/scripts/generate_web.php:1.5 smarty/docs/scripts/generate_web.php:1.6
--- smarty/docs/scripts/generate_web.php:1.5 Mon May 24 07:04:39 2004
+++ smarty/docs/scripts/generate_web.php Mon Jun 21 06:37:52 2004
@@ -18,13 +18,13 @@
| Small hack to generate the manual for the web |
+----------------------------------------------------------------------+
- $Id: generate_web.php,v 1.5 2004/05/24 11:04:39 messju Exp $
+ $Id: generate_web.php,v 1.6 2004/06/21 10:37:52 messju Exp $
*/
set_time_limit(0);
$search = array(
- '/(<HTML.*<META.*HTTP-EQUIV="Content-type".*charset=(.*)".*<BODY[^>]+>)/mSs',
+ '/(<HTML.*<META.*HTTP-EQUIV="Content-type".*charset=(.*?)".*?<BODY[^>]+>)/mSs',
'/(<\/BODY\s*><\/HTML\s*>)/mS'
);
--
Smarty CVS Mailing List (http://cvs.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php