summaryrefslogtreecommitdiff
path: root/httemplate/elements
diff options
context:
space:
mode:
Diffstat (limited to 'httemplate/elements')
-rw-r--r--httemplate/elements/header.html8
1 files changed, 8 insertions, 0 deletions
diff --git a/httemplate/elements/header.html b/httemplate/elements/header.html
index e5211bf46..5e949af15 100644
--- a/httemplate/elements/header.html
+++ b/httemplate/elements/header.html
@@ -42,6 +42,12 @@ Example:
) |n
%>
+% if ( $jquery ) {
+ <link rel="stylesheet" href="<% $fsurl %>elements/jquery-ui.min.css">
+ <SCRIPT SRC="<% $fsurl %>elements/jquery.js"></SCRIPT>
+ <SCRIPT SRC="<% $fsurl %>elements/jquery-ui.min.js"></SCRIPT>
+% }
+
<% include('init_overlib.html') |n %>
<% include('rs_init_object.html') |n %>
<% include('logout.html') |n %>
@@ -181,6 +187,7 @@ Example:
my( $title, $menubar, $etc, $head ) = ( '', '', '', '' );
my( $nobr, $nocss ) = ( 0, 0 );
+my $jquery = 0;
my $mobile;
@@ -193,6 +200,7 @@ if ( ref($_[0]) ) {
$nobr = $opt->{nobr};
$nocss = $opt->{nocss};
$mobile = $opt->{mobile};
+ $jquery = $opt->{jquery};
} else {
($title, $menubar) = ( shift, shift );
$etc = @_ ? shift : ''; #$etc is for things like onLoad= etc.