From: Aymeric Augustin Date: Sat, 25 Oct 2008 10:27:57 +0000 (+0200) Subject: Add a function to include arbitrary tags in X-Git-Tag: core/1.0.0~13 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=1e9a1d9943b72c5ef31f888e6266dc6322504fee;p=platal.git Add a function to include arbitrary tags in Signed-off-by: Aymeric Augustin --- diff --git a/classes/plpage.php b/classes/plpage.php index 5309765..62602b0 100644 --- a/classes/plpage.php +++ b/classes/plpage.php @@ -288,6 +288,15 @@ abstract class PlPage extends Smarty } // }}} + // {{{ function addLink + + public function addLink($rel, $path) + { + $this->append('pl_link', array('rel' => $rel, 'href' => $path)); + } + + + // }}} // {{{ function addCssInline public function addCssInline($css)