diff options
author | cvs2git <cvs2git> | 2010-12-27 00:04:45 +0000 |
---|---|---|
committer | cvs2git <cvs2git> | 2010-12-27 00:04:45 +0000 |
commit | c82d349f864e6bd9f96fd1156903bc1f7193a203 (patch) | |
tree | e117a87533656110b6acd56fc0ca64289892a9f5 /httemplate/elements/searchbar-ticket.html | |
parent | 74e058c8a010ef6feb539248a550d0bb169c1e94 (diff) |
This commit was manufactured by cvs2svn to create tag 'TORRUS_1_0_9'.TORRUS_1_0_9
Diffstat (limited to 'httemplate/elements/searchbar-ticket.html')
-rw-r--r-- | httemplate/elements/searchbar-ticket.html | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/httemplate/elements/searchbar-ticket.html b/httemplate/elements/searchbar-ticket.html deleted file mode 100644 index 0907a8924..000000000 --- a/httemplate/elements/searchbar-ticket.html +++ /dev/null @@ -1,35 +0,0 @@ -% if ( $conf->config("ticket_system") ) { - - <FORM ACTION="<% FS::TicketSystem->baseurl %>index.html" METHOD="GET" STYLE="margin:0"> - <INPUT NAME="q" TYPE="text" VALUE="<% $ticketing_label |n %>" STYLE="width:<% $width %>" onFocus="clearhint_search_ticket(this);" onClick="clearhint_search_ticket(this);" CLASS="fstext"><BR> - <A HREF="<% FS::TicketSystem->baseurl %>Search/Build.html" CLASS="fslink" STYLE="font-size:11px">Advanced</A> - <INPUT TYPE="submit" VALUE="Search tickets" CLASS="fsblackbutton" onMouseOver="this.className='fsblackbuttonselected'; return true;" onMouseOut="this.className='fsblackbutton'; return true;" STYLE="font-size:11px"> - </FORM> - <% $menu_position eq 'left' ? '<BR>' : '' %> - -% } - -<SCRIPT TYPE="text/javascript"> - - function clearhint_search_ticket (what) { - if ( what.value == '<% $ticketing_label |n %>' ) - what.value = ''; - } - -</SCRIPT> -<%once> - -my $ticketing_label = '(ticket #, subject, email or fulltext:text)'; - -</%once> -<%init> - -my $conf = new FS::Conf; - -my $curuser = $FS::CurrentUser::CurrentUser; - -my $menu_position = $curuser->option('menu_position') || 'top'; - -my $width = $menu_position eq 'left' ? '190px' : '223px'; - -</%init> |