summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2008-12-08 04:39:21 +0000
committerBharat Mediratta <bharat@menalto.com>2008-12-08 04:39:21 +0000
commit73496de94f1ebb56f3156c3e24053b2d4cec669a (patch)
treeca8feb29a93404dea75e96023164af2d14d384eb
parentee2299d6d0710cb59e6b123746e7a99efff10c6d (diff)
Tighten up head()
-rw-r--r--core/helpers/core_block.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/core/helpers/core_block.php b/core/helpers/core_block.php
index 1a90d466..3956528d 100644
--- a/core/helpers/core_block.php
+++ b/core/helpers/core_block.php
@@ -20,8 +20,7 @@
class core_block_Core {
public static function head($theme) {
- $url = url::file("core/js/menu.js");
- return "<script src=\"$url\" type=\"text/javascript\"></script>";
+ return '<script src="' . url::file("core/js/menu.js") . '" type="text/javascript"></script>';
}
public static function page_bottom($theme) {