Update of /cvsroot/phpwiki/phpwiki/lib
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv21235
Modified Files:
CachedMarkup.php
Log Message:
proper linebreaks
Index: CachedMarkup.php
===================================================================
RCS file: /cvsroot/phpwiki/phpwiki/lib/CachedMarkup.php,v
retrieving revision 1.34
retrieving revision 1.35
diff -u -2 -b -p -d -r1.34 -r1.35
--- CachedMarkup.php 30 Jan 2005 21:51:04 -0000 1.34
+++ CachedMarkup.php 23 Apr 2005 11:18:58 -0000 1.35
@@ -203,5 +203,9 @@ class CacheableMarkup extends XmlContent
$xml .= $item;
}
- elseif (is_subclass_of($item, check_php_version(5) ? 'Cached_DynamicContent' : 'cached_dynamiccontent')) {
+ elseif (is_subclass_of($item,
+ check_php_version(5)
+ ? 'Cached_DynamicContent'
+ : 'cached_dynamiccontent'))
+ {
$val = $item->expand($basepage, $this);
$xml .= $val->asXML();
@@ -222,6 +226,9 @@ class CacheableMarkup extends XmlContent
print $item;
}
- elseif (is_subclass_of($item, check_php_version(5) ? 'Cached_DynamicContent' : 'cached_dynamiccontent')) {
- // give the content the chance to know about itself or even
+ elseif (is_subclass_of($item,
+ check_php_version(5)
+ ? 'Cached_DynamicContent'
+ : 'cached_dynamiccontent'))
+ { // give the content the chance to know about itself or even
// to change itself
$val = $item->expand($basepage, $this);
|