[freeside-commits] freeside/httemplate/elements header.html, 1.6,
1.7
Ivan,,,
ivan at wavetail.420.am
Fri Jun 2 06:20:25 PDT 2006
Update of /home/cvs/cvsroot/freeside/httemplate/elements
In directory wavetail:/tmp/cvs-serv15334/httemplate/elements
Modified Files:
header.html
Log Message:
add a service search
Index: header.html
===================================================================
RCS file: /home/cvs/cvsroot/freeside/httemplate/elements/header.html,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- header.html 15 May 2006 13:57:15 -0000 1.6
+++ header.html 2 Jun 2006 13:20:23 -0000 1.7
@@ -21,9 +21,12 @@
if ( what.value = '(cust #, name or company)' )
what.value = '';
}
- </SCRIPT>
- <SCRIPT TYPE="text/javascript">
+ function clearhint_search_svc (what) {
+ if ( what.value = '(user, user at domain or domain)' )
+ what.value = '';
+ }
+
function clearhint_search_ticket (what) {
if ( what.value = '(ticket # or subject string)' )
what.value = '';
@@ -79,20 +82,24 @@
<TD COLSPAN=4 WIDTH="100%" STYLE="padding:0"><IMG BORDER=0 ALT="" SRC="<%=$fsurl%>images/black-gradient.png" HEIGHT="13" WIDTH="100%"></TD>
</TR>
<TR>
- <TD COLSPAN=1 BGCOLOR="#000000" WIDTH="154">
- </TD>
- <TD COLSPAN=1 BGCOLOR="#000000" ALIGN="right">
+ <TD COLSPAN=1 BGCOLOR="#000000" ALIGN="right" WIDTH="15%">
<FORM ACTION="<%=$fsurl%>edit/cust_main.cgi" METHOD="GET" STYLE="margin:0">
<INPUT TYPE="submit" VALUE="New customer">
</FORM>
</TD>
<TD COLSPAN=1 BGCOLOR="#000000" ALIGN="right">
<FORM ACTION="<%=$fsurl%>search/cust_main.cgi" METHOD="GET" STYLE="margin:0">
- <INPUT NAME="search_cust" TYPE="text" VALUE="(cust #, name or company)" SIZE="23" onFocus="clearhint_search_cust(this);" onClick="clearhint_search_cust(this);" STYLE="text-align:right">
+ <INPUT NAME="search_cust" TYPE="text" VALUE="(cust #, name or company)" SIZE="22" onFocus="clearhint_search_cust(this);" onClick="clearhint_search_cust(this);" STYLE="text-align:right">
<INPUT TYPE="submit" VALUE="Search customers">
</FORM>
</TD>
<TD COLSPAN=1 BGCOLOR="#000000" ALIGN="right">
+ <FORM ACTION="<%=$fsurl%>search/svc_Smart.html" METHOD="GET" STYLE="margin:0">
+ <INPUT NAME="search_svc" TYPE="text" VALUE="(user, user at domain or domain)" SIZE="26" onFocus="clearhint_search_svc(this);" onClick="clearhint_search_svc(this);" STYLE="text-align:right">
+ <INPUT TYPE="submit" VALUE="Search services">
+ </FORM>
+ </TD>
+ <TD COLSPAN=1 BGCOLOR="#000000" ALIGN="right">
<FORM ACTION="<%=$fsurl%>rt/index.html" METHOD="GET" STYLE="margin:0">
<INPUT NAME="q" TYPE="text" VALUE="(ticket # or subject string)" onFocus="clearhint_search_ticket(this);" onClick="clearhint_search_ticket(this);" STYLE="text-align:right">
<INPUT TYPE="submit" VALUE="Search tickets">
More information about the freeside-commits
mailing list