projects
/
platal.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
30b4d21
)
Add a function to include arbitrary <link> tags in <head>
author
Aymeric Augustin
<aymeric.augustin@m4x.org>
Sat, 25 Oct 2008 10:27:57 +0000
(12:27 +0200)
committer
Aymeric Augustin
<aymeric.augustin@m4x.org>
Sat, 25 Oct 2008 10:27:57 +0000
(12:27 +0200)
Signed-off-by: Aymeric Augustin <aymeric.augustin@m4x.org>
classes/plpage.php
patch
|
blob
|
blame
|
history
diff --git
a/classes/plpage.php
b/classes/plpage.php
index
5309765
..
62602b0
100644
(file)
--- 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)