summaryrefslogtreecommitdiff
path: root/core/helpers/core_block.php
diff options
context:
space:
mode:
authorTim Almdal <tnalmdal@shaw.ca>2008-12-07 19:45:46 +0000
committerTim Almdal <tnalmdal@shaw.ca>2008-12-07 19:45:46 +0000
commit954fcf034238458f292c9f5ec72c6d4b101aac0d (patch)
treee6d5c6d850137e13d970d4f349f6ebf2103fc749 /core/helpers/core_block.php
parentb409a376f3689e51bb50f9716c1384d9b2013832 (diff)
Merge gallery3/branches/menus back into gallery3/trunk
Diffstat (limited to 'core/helpers/core_block.php')
-rw-r--r--core/helpers/core_block.php5
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)) {