diff options
Diffstat (limited to 'core/helpers/core_block.php')
-rw-r--r-- | core/helpers/core_block.php | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/core/helpers/core_block.php b/core/helpers/core_block.php index 801ffb82..1a90d466 100644 --- a/core/helpers/core_block.php +++ b/core/helpers/core_block.php @@ -19,6 +19,11 @@ */ class core_block_Core { + public static function head($theme) { + $url = url::file("core/js/menu.js"); + return "<script src=\"$url\" type=\"text/javascript\"></script>"; + } + public static function page_bottom($theme) { // @todo: guard this with permissions if (Session::instance()->get("user", false)) { |