diff options
author | Tim Almdal <tnalmdal@shaw.ca> | 2008-12-07 19:45:46 +0000 |
---|---|---|
committer | Tim Almdal <tnalmdal@shaw.ca> | 2008-12-07 19:45:46 +0000 |
commit | 954fcf034238458f292c9f5ec72c6d4b101aac0d (patch) | |
tree | e6d5c6d850137e13d970d4f349f6ebf2103fc749 /core/helpers/core_block.php | |
parent | b409a376f3689e51bb50f9716c1384d9b2013832 (diff) |
Merge gallery3/branches/menus back into gallery3/trunk
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)) { |