anewt-developers team mailing list archive
-
anewt-developers team
-
Mailing list archive
-
Message #00064
[Branch ~uws/anewt/anewt.uws] Rev 1685: [page] Slightly change rendering code
------------------------------------------------------------
revno: 1685
committer: Wouter Bolsterlee <uws@xxxxxxxxx>
branch nick: anewt.uws
timestamp: Sun 2009-07-19 21:41:36 +0200
message:
[page] Slightly change rendering code
modified:
page/page.lib.php
=== modified file 'page/page.lib.php'
--- page/page.lib.php 2009-07-19 19:41:12 +0000
+++ page/page.lib.php 2009-07-19 19:41:36 +0000
@@ -530,12 +530,11 @@
'lang' => $this->_get('language'),
));
-
$html->append_child($this->_head);
$html->append_child($this->_body);
$document->append_child($html);
- return to_string($document);
+ return $document;
}
/**
@@ -549,7 +548,7 @@
public function flush()
{
header(sprintf('Content-type: %s', $this->build_content_type_charset()));
- echo $this->render(), NL;
+ echo to_string($this->render()), NL;
}
/**
--
lp:anewt
https://code.launchpad.net/~uws/anewt/anewt.uws
Your team Anewt developers is subscribed to branch lp:anewt.
To unsubscribe from this branch go to https://code.launchpad.net/~uws/anewt/anewt.uws/+edit-subscription.