ispman/ispman-web/cgi-bin/tmpl menu.tmpl,1.51,1.52
Joerg Delker <[email protected]>
| Newsgroups | gmane.comp.isp.ispman.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv547/ispman-web/cgi-bin/tmpl
Modified Files:
menu.tmpl
Log Message:
fixed [ 1392390 ] Domain List
Index: menu.tmpl
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/menu.tmpl,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- menu.tmpl 2 May 2006 21:32:27 -0000 1.51
+++ menu.tmpl 5 May 2006 22:28:52 -0000 1.52
@@ -97,15 +97,19 @@
my $groups;
my $thisDomainType;
+my $mode=$ispman->getConf("menuMode");
-if ($r->param('domainsearchfilter')){
+if ($mode && $mode eq "search") {
+ if ($r->param('domainsearchfilter')){
if ($r->param('domainsearchfilter') eq '*'){
- $filter="";
+ $filter="";
} else {
- $filter="ispmanDomain=*@{[$r->param('domainsearchfilter')]}*";
+ $filter="ispmanDomain=*@{[$r->param('domainsearchfilter')]}*";
}
$domains=$ispman->makeDomainHash($ispman->getDomains($filter));
-
+ }
+} else {
+ $domains=$ispman->makeDomainHash($ispman->getDomains());
}
@@ -138,7 +142,9 @@
<SELECT onChange="selectDomain(this.options[this.selectedIndex].value)">|;
$text.="<OPTION>" . _("Choose domain to manage") . "</option>\n";
-$text.="<OPTION value='__search__'> Search for a domain</option>\n";
+if ($mode && $mode eq "search") {
+ $text.="<OPTION value='__search__'> Search for a domain</option>\n";
+}
for $domain( keys %$domains ) {
$domainInfo=$ispman->getDomainInfo($domain);
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642