From 1e9a1d9943b72c5ef31f888e6266dc6322504fee Mon Sep 17 00:00:00 2001 From: Aymeric Augustin Date: Sat, 25 Oct 2008 12:27:57 +0200 Subject: [PATCH] Add a function to include arbitrary tags in Signed-off-by: Aymeric Augustin --- classes/plpage.php | 9 +++++++++ 1 file changed, 9 insertions(+) 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) -- 2.1.4