Move javascript from default theme to appropriate modules

This commit is contained in:
Tim Almdal
2008-11-27 06:14:32 +00:00
parent 7e5f59bcb7
commit 27e64f1dc6
5 changed files with 9 additions and 3 deletions
@@ -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);
}