diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2008-11-27 06:14:32 +0000 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2008-11-27 06:14:32 +0000 |
commit | 27e64f1dc6cc43b40592337eed360bdf7e3d7a59 (patch) | |
tree | f127c76bff448c546a30753b466cf909bb42ca7d /modules/comment/helpers | |
parent | 7e5f59bcb7682896657dd11a530dc25412ef3cdc (diff) |
Move javascript from default theme to appropriate modules
Diffstat (limited to 'modules/comment/helpers')
-rw-r--r-- | modules/comment/helpers/comment_block.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/modules/comment/helpers/comment_block.php b/modules/comment/helpers/comment_block.php index 58a1a416..ee05a383 100644 --- a/modules/comment/helpers/comment_block.php +++ b/modules/comment/helpers/comment_block.php @@ -19,6 +19,11 @@ */ class comment_block_Core { + public static function head($theme) { + $url = url::file("modules/comment/js/comment.js"); + return "<script src=\"$url\" type=\"text/javascript\"></script>\n"; + } + public static function photo_bottom($theme) { return comment::block($theme, true); } |