summaryrefslogtreecommitdiff
path: root/lib/util.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@prodromou.name>2008-06-17 00:36:50 -0400
committerEvan Prodromou <evan@prodromou.name>2008-06-17 00:36:50 -0400
commit4a013767897da7f894edf6b20d5feb0c5cbd5046 (patch)
tree7592c158eca26a3f006452c7d963b383898fdd95 /lib/util.php
parent7ad2b42bc36a13917666ad69b81cfb779a03a22a (diff)
add jQuery
darcs-hash:20080617043650-84dde-cef7662e9dff3ac0a1187586fc4cdcfca1d08087.gz
Diffstat (limited to 'lib/util.php')
-rw-r--r--lib/util.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/util.php b/lib/util.php
index 169a23853..32aacbe5b 100644
--- a/lib/util.php
+++ b/lib/util.php
@@ -166,6 +166,11 @@ function common_show_header($pagetitle, $callable=NULL, $data=NULL, $headercall=
'href="'.theme_path('ie'.$ver.'.css').' /><![endif]');
}
}
+
+ common_element('script', array('type' => 'text/javascript',
+ 'src' => common_path('js/jsquery.min.js')),
+ ' ');
+
if ($callable) {
if ($data) {
call_user_func($callable, $data);