From: Nicolas Boisselier Date: Tue, 31 Mar 2015 15:31:38 +0000 (+0200) Subject: head X-Git-Url: https://git.nbdom.net/?a=commitdiff_plain;h=03c87e3a0e5837237e5c4cfcc2a4fa5c7eb9f624;p=nb.git head --- diff --git a/lib/php/page.php b/lib/php/page.php index 9131dd32..7be44dd1 100644 --- a/lib/php/page.php +++ b/lib/php/page.php @@ -23,6 +23,7 @@ class Page { var $title = ''; var $css = array(); + var $head = array(); var $css_code = ''; var $js = array(); @@ -239,6 +240,9 @@ class Page { $head = ''; if (preg_match('/ml$/',$this->content_type)) { + + foreach ($this->head as $h) $head .= $h.PHP_EOL; + $head .= ''.PHP_EOL; #$head .= ''.PHP_EOL; return $head;