mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-04 14:11:01 -04:00
Move javascript from default theme to appropriate modules
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user