X-Git-Url: http://git.freeside.biz/gitweb/?a=blobdiff_plain;f=httemplate%2Findex.html;h=cd10217425a18e9c607ab36173c3369ab421e7f6;hb=c21b6e69583bec632de7fcd340c29982c868f73d;hp=0b968cf655e115459b0771fc04fd1151b2fc078a;hpb=40b96a0b17f9a8b5c2b910fce261fcdfd19f10a0;p=freeside.git diff --git a/httemplate/index.html b/httemplate/index.html index 0b968cf65..cd1021742 100644 --- a/httemplate/index.html +++ b/httemplate/index.html @@ -1,3 +1,5 @@ + +<% my $conf = new FS::Conf; %> @@ -6,22 +8,55 @@ </HEAD> <BODY BGCOLOR="#FFFFFF"> <table width="100%"> - <tr><td> + <tr> + <td rowspan=2> <IMG BORDER=0 ALT="freeside" SRC="images/small-logo.png"> - </td><td valign="top"> - <font color="#7f007b" size=7></font> - </td><td align=right valign=bottom> - version %%%VERSION%%% - <BR><A HREF="http://www.sisd.com/freeside">Freeside home page</A> - <BR><A HREF="docs/">Documentation</A> - </td></tr> + </td> + <td align=left rowspan=2> <!-- valign="top" --> + <font size=6><%= $conf->config('company_name') %> Billing</font> + </td> + <td align=right valign=top>Logged in as <b><%= getotaker %></b> + </td> + </tr> + <tr> + <td align=right valign=bottom> + + <table> + <tr> + <td align=right> + <FONT SIZE="-2"> + <A HREF="http://www.sisd.com/freeside">Freeside</A> v<%= $FS::VERSION %><BR> + <A HREF="docs/">Documentation</A><BR> + </FONT> + </td> + <% if ( $conf->config('ticket_system') eq 'RT_Internal' ) { %> + <% eval "use RT;"; %> + <td bgcolor=#000000></td> + <td align=left> + <FONT SIZE="-2"> + <A HREF="http://www.bestpractical.com/rt">RT<A> v<%= $RT::VERSION %><BR> + <A HREF="http://wiki.bestpractical.com/">Documentation</A><BR> + </FONT> + </td> + <% } %> + + </tr> + </table> + + </td> + </tr> </table> -<BR> -[<A NAME="customer_service" style="background-color: #cccccc"> Sales / Customer service </A>] -[ <A HREF="#bookkeeping">Bookkeeping / Collections</A> ] -[ <A HREF="#reports">Reports</A> ] -[ <A HREF="#sysadmin">Sysadmin</A> ] + <BR> + + +[<A NAME="customer_service" style="background-color: #cccccc"> Sales / Customer service </A>] +<% if ( $conf->config('ticket_system') ) { %> + [ <A HREF="#ticketing">Support / Ticketing</A> ] +<% } %> +[ <A HREF="#bookkeeping">Bookkeeping / Collections</A> ] +[ <A HREF="#reports">Reports</A> ] +[ <A HREF="#sysadmin">Sysadmin</A> ] <TABLE CELLSPACING=2 CELLPADDING=0 BORDER=0" WIDTH="100%" BGCOLOR="#eeeeee"> <TR><TH BGCOLOR="#cccccc">Sales / Customer service</TH></TR> <TR><TD> @@ -34,6 +69,7 @@ <FORM ACTION="search/cust_main.cgi" METHOD="POST"><INPUT TYPE="hidden" NAME="phone_on" VALUE="1">Phone # <INPUT TYPE="text" NAME="phone_text"><INPUT TYPE="submit" VALUE="Search"></FORM> <BR><FORM ACTION="search/svc_acct.cgi" METHOD="POST">Username <INPUT TYPE="text" NAME="username"><SELECT NAME="username_type"><OPTION VALUE="All">(all)</OPTION><OPTION>Fuzzy</OPTION><OPTION>Substring</OPTION><OPTION SELECTED>Exact</OPTION></SELECT><INPUT TYPE="submit" VALUE="Search"> or <A HREF="search/svc_acct.cgi?username">all accounts by username</A> or <A HREF="search/svc_acct.cgi?uid">uid</A></FORM> <BR><FORM ACTION="search/svc_domain.cgi" METHOD="POST">Domain <INPUT TYPE="text" NAME="domain"><INPUT TYPE="submit" VALUE="Search"> or <A HREF="search/svc_domain.cgi?domain">all domains</A></FORM> + <BR><FORM ACTION="search/svc_broadband.cgi" METHOD="POST">IP Address <INPUT TYPE="text" NAME="ip_addr"><INPUT TYPE="submit" VALUE="Search"> or <A HREF="search/svc_broadband.cgi?svcnum">all services by svcnum</A> or <A HREF="search/svc_broadband.cgi?blocknum">address block</A></FORM> <BR><A HREF="search/svc_forward.cgi?svcnum">all mail forwards by svcnum</A><BR> <BR><A HREF="search/svc_www.cgi?svcnum">all virtual hosts by svcnum</A><BR> <BR><A HREF="search/svc_external.cgi?svcnum">all external services by svcnum</A><BR> @@ -41,15 +77,39 @@ </TD></TR> </TABLE> + <BR><BR><BR> + +<% if ( $conf->config('ticket_system') ) { %> +[ <A HREF="#customer_service">Sales / Customer service</A> ] +[<A NAME="ticketing" style="background-color: #cccccc"> Support / Ticketing </A>] +[ <A HREF="#bookkeeping">Bookkeeping / Collections</A> ] +[ <A HREF="#reports">Reports</A> ] +[ <A HREF="#sysadmin">Sysadmin</A> ] + <TABLE CELLSPACING=2 CELLPADDING=0 BORDER=0" WIDTH="100%" BGCOLOR="#eeeeee"> + <TR><TH BGCOLOR="#cccccc">Support/Ticketing</TH></TR> + <TR><TD> + <BR><FONT SIZE="+1"><A HREF="rt/">Ticketing Main</A></FONT> + <BR><BR> + Reports + <UL> + <LI><A HREF="search/cust_main.cgi?browse=tickets">Customers sorted by active tickets</A> + <!-- <LI><A HREF="">Active tickets not assigned to a customer</A> --> + </TD></TR> + </TABLE> <BR><BR><BR> +<% } %> + -[ <A HREF="#customer_service">Sales / Customer service</A> ] -[<A NAME="bookkeeping" style="background-color: #cccccc"> Bookkeeping / Collections </A>] -[ <A HREF="#reports">Reports</A> ] -[ <A HREF="#sysadmin">Sysadmin</A> ] +[ <A HREF="#customer_service">Sales / Customer service</A> ] +<% if ( $conf->config('ticket_system') ) { %> + [ <A HREF="#ticketing">Support / Ticketing</A> ] +<% } %> +[<A NAME="bookkeeping" style="background-color: #cccccc"> Bookkeeping / Collections </A>] +[ <A HREF="#reports">Reports</A> ] +[ <A HREF="#sysadmin">Sysadmin</A> ] <TABLE CELLSPACING=2 CELLPADDING=0 BORDER=0 WIDTH="100%" BGCOLOR="#eeeeee"> <TR><TH BGCOLOR="#cccccc">Bookkeeping / Collections</TH></TR> <TR><TD> @@ -106,10 +166,13 @@ -[ <A HREF="#customer_service">Sales / Customer service</A> ] -[ <A HREF="#bookkeeping">Bookkeeping / Collections</A> ] -[<A NAME="reports" style="background-color: #cccccc"> Reports </A>] -[ <A HREF="#sysadmin">Sysadmin</A> ] +[ <A HREF="#customer_service">Sales / Customer service</A> ] +<% if ( $conf->config('ticket_system') ) { %> + [ <A HREF="#ticketing">Support / Ticketing</A> ] +<% } %> +[ <A HREF="#bookkeeping">Bookkeeping / Collections</A> ] +[<A NAME="reports" style="background-color: #cccccc"> Reports </A>] +[ <A HREF="#sysadmin">Sysadmin</A> ] <TABLE CELLSPACING=2 CELLPADDING=0 BORDER=0 WIDTH="100%" BGCOLOR="#eeeeee"> <TR><TH BGCOLOR="#cccccc">Reports</TH></TR> <TR><TD> @@ -146,10 +209,13 @@ <BR><BR><BR> -[ <A HREF="#customer_service">Sales / Customer service</A> ] -[ <A HREF="#bookkeeping">Bookkeeping / Collections</A> ] -[ <A HREF="#reports">Reports</A> ] -[<A NAME="sysadmin" style="background-color: #cccccc"> Sysadmin </A>] +[ <A HREF="#customer_service">Sales / Customer service</A> ] +<% if ( $conf->config('ticket_system') ) { %> + [ <A HREF="#ticketing">Support / Ticketing</A> ] +<% } %> +[ <A HREF="#bookkeeping">Bookkeeping / Collections</A> ] +[ <A HREF="#reports">Reports</A> ] +[<A NAME="sysadmin" style="background-color: #cccccc"> Sysadmin </A>] <TABLE CELLSPACING=2 CELLPADDING=0 BORDER=0 WIDTH="100%" BGCOLOR="#eeeeee"> <TR><TH BGCOLOR="#cccccc">Sysadmin</TH></TR> <TR><TD>