[freeside-commits] freeside/rt/html/Elements Tabs, 1.7,
1.8 FreesideSvcSearch, NONE, 1.1 PageLayout, 1.7, 1.8
Ivan,,,
ivan at wavetail.420.am
Fri Jun 2 06:20:26 PDT 2006
Update of /home/cvs/cvsroot/freeside/rt/html/Elements
In directory wavetail:/tmp/cvs-serv15334/rt/html/Elements
Modified Files:
Tabs PageLayout
Added Files:
FreesideSvcSearch
Log Message:
add a service search
Index: Tabs
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/html/Elements/Tabs,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- Tabs 15 May 2006 11:05:04 -0000 1.7
+++ Tabs 2 Jun 2006 13:20:24 -0000 1.8
@@ -63,7 +63,9 @@
},
B => { html => $m->scomp('/Elements/FreesideSearch')
},
- C => { html => $m->scomp('/Elements/SimpleSearch')
+ C => { html => $m->scomp('/Elements/FreesideSvcSearch')
+ },
+ D => { html => $m->scomp('/Elements/SimpleSearch')
}
};
my $basetabs = {
Index: PageLayout
===================================================================
RCS file: /home/cvs/cvsroot/freeside/rt/html/Elements/PageLayout,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- PageLayout 15 May 2006 11:05:04 -0000 1.7
+++ PageLayout 2 Jun 2006 13:20:24 -0000 1.8
@@ -45,14 +45,14 @@
%# END BPS TAGGED BLOCK }}}
<table class="black" border=0 cellspacing=0 cellpadding=0 width="100%">
<tr>
- <TD colspan=4 WIDTH="100%" STYLE="padding:0"><IMG BORDER=0 ALT="" SRC="<% $RT::URI::freeside::URL %>images/black-gradient.png" HEIGHT="13" WIDTH="100%"></TD>
+ <TD colspan=5 WIDTH="100%" STYLE="padding:0"><IMG BORDER=0 ALT="" SRC="<% $RT::URI::freeside::URL %>images/black-gradient.png" HEIGHT="13" WIDTH="100%"></TD>
</tr>
<tr>
- <th class="black" align="left" width=15%><span class="rtname"><%$AppName%></span>
- </th>
+%# <th class="black" align="left" width=15%><span class="rtname"><%$AppName%></span>
+%# </th>
<span class="topactions">
-% foreach my $action (sort keys %{$topactions}) {
- <td class="blackright">
+% my $notfirst = 0; foreach my $action (sort keys %{$topactions}) {
+ <td class="blackright" ALIGN="right" <% $notfirst++ ? '' : 'WIDTH="15%"' %>>
<%$topactions->{"$action"}->{'html'} |n %>
</td>
% }
--- NEW FILE: FreesideSvcSearch ---
<form action="<% $RT::URI::freeside::URL %>/search/svc_Smart.html" STYLE="margin:0">
<SCRIPT TYPE="text/javascript">
function clearhint_search_svc (what) {
if ( what.value = '(user, user at domain or domain)' )
what.value = '';
}
</SCRIPT>
<input name="search_svc" accesskey="0" VALUE="(user, user at domain or domain)" SIZE="27" onFocus="clearhint_search_svc(this);" onClick="clearhint_search_svc(this);" STYLE="text-align:right">
<input type="submit" value="<&|/l&>Search services</&>">
</form>
More information about the freeside-commits
mailing list