diff options
| author | Jonathan Prykop <jonathan@freeside.biz> | 2016-02-04 15:13:46 -0600 |
|---|---|---|
| committer | Jonathan Prykop <jonathan@freeside.biz> | 2016-02-04 15:13:46 -0600 |
| commit | 70c5f94c948159a7f561d999dbad62e0eae0cd8f (patch) | |
| tree | 6bc0f05c552a3cb1bedea879a6ccdbf252faf2a9 /httemplate/elements/header.html | |
| parent | 24d0c8a10e4c7db2cca056529faa677ea9df51e0 (diff) | |
RT#39694 Checkpoint for v3 backport
Diffstat (limited to 'httemplate/elements/header.html')
| -rw-r--r-- | httemplate/elements/header.html | 8 |
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. |
