ispman/ispman-web/cgi-bin/tmpl/domains/edit defaultfilehost.tmpl, 1.2, 1.3 defaultmaildrop.tmpl, 1.1, 1.2 defaultwebhost.tmpl, 1.1, 1.2
Joerg Delker <[email protected]> Mon, 29 Dec 2008 16:15:38 +0000
| Newsgroups | gmane.comp.isp.ispman.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/domains/edit
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv30157/ispman-web/cgi-bin/tmpl/domains/edit
Modified Files:
defaultfilehost.tmpl defaultmaildrop.tmpl defaultwebhost.tmpl
Log Message:
added ispmanMaxDatabase field
added ispmanDefaultDBHost field
Index: defaultfilehost.tmpl
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/domains/edit/defaultfilehost.tmpl,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- defaultfilehost.tmpl 6 Feb 2004 22:07:08 -0000 1.2
+++ defaultfilehost.tmpl 29 Dec 2008 16:15:36 -0000 1.3
@@ -1,7 +1,7 @@
<tr>
- <td width="20%"><perl>_("File Server for this domain")</perl> </td>
+ <td width="20%"><perl>_("Default File Server")</perl> </td>
<td>
<perl>$ispman->{'domain'}->{'ispmanDomainDefaultFileServer'}</perl>
</td>
Index: defaultwebhost.tmpl
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/domains/edit/defaultwebhost.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- defaultwebhost.tmpl 8 Jan 2004 00:08:26 -0000 1.1
+++ defaultwebhost.tmpl 29 Dec 2008 16:15:36 -0000 1.2
@@ -1,14 +1,14 @@
<tr>
- <td><perl>_("Default Web Server Host for this domain")</perl> </td>
- <td>
- <select name="ispmanDomainDefaultWebHost" MULTIPLE>
+ <td><perl>_("Default Web Server Hosts")</perl> </td>
+ <td>
+ <select multiple name="ispmanDomainDefaultWebHost" id="ispmanDomainDefaultWebHost">
<perl>
my $text="";
my @ispmanDomainDefaultWebHosts=$ispman->getGroupMembers("httpgroup");
my @defaulthosts=$ispman->as_array($ispman->{'domain'}->{'ispmanDomainDefaultWebHost'});
-
+
for (@ispmanDomainDefaultWebHosts){
my $webhost=$_;
my $tag="";
@@ -17,14 +17,13 @@
}
$text.="<option VALUE=\"$_\" $tag>$_</option>";
}
-
+
if ($#ispmanDomainDefaultWebHosts<0){
$text.="<option VALUE=''>";
- $text.=_("WARNING: No members in group [_1] defined", "httpgroup");
- $text.="</option>";
+ $text.=_("WARNING: No members in group [_1] defined", "httpgroup");
+ $text.="</option>";
}
-
-
+
$text
</perl>
</select>
Index: defaultmaildrop.tmpl
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/domains/edit/defaultmaildrop.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- defaultmaildrop.tmpl 8 Jan 2004 00:08:26 -0000 1.1
+++ defaultmaildrop.tmpl 29 Dec 2008 16:15:36 -0000 1.2
@@ -1,14 +1,14 @@
<tr>
- <td><perl>_("Default Maildrop Host for this domain")</perl> </td>
- <td>
+ <td><perl>_("Default Maildrop Host")</perl> </td>
+ <td>
<select name="ispmanDomainDefaultMailDropHost">
<perl>
my $text="";
my @ispmanDomainDefaultMailDropHosts=$ispman->getGroupMembers("mailstoregroup");
my $mailhost=$ispman->{'domain'}->{'ispmanDomainDefaultMailDropHost'};
-
+
for (@ispmanDomainDefaultMailDropHosts){
if ($mailhost eq $_) {
$text.="<option VALUE='$_' selected>$_</option>";
@@ -16,14 +16,13 @@
$text.="<option VALUE='$_'>$_</option>";
}
}
-
+
if ($#ispmanDomainDefaultMailDropHosts<0){
$text.="<option VALUE=''>";
- $text.=_("WARNING: No members in group [_1] defined", "mailstoregroup");
- $text.="</option>";
+ $text.=_("WARNING: No members in group [_1] defined", "mailstoregroup");
+ $text.="</option>";
}
-
-
+
$text
</perl>
<OPTION VALUE=""><perl>_("No Maildrop Host (no mailbox. just forwardings)")</perl></option>
------------------------------------------------------------------------------