ispman/ispman-web/cgi-bin/tmpl/domains/add actions.tmpl, 1.1, 1.2
Joerg Delker <[email protected]> Sun, 21 Dec 2008 15:58:16 +0000
| Newsgroups | gmane.comp.isp.ispman.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/domains/add
In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv31441/ispman-web/cgi-bin/tmpl/domains/add
Modified Files:
actions.tmpl
Log Message:
adjusted domain/vhost actions to user format "script|description[,script|description]*"
Index: actions.tmpl
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/domains/add/actions.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- actions.tmpl 19 Feb 2007 00:22:08 -0000 1.1
+++ actions.tmpl 21 Dec 2008 15:58:14 -0000 1.2
@@ -1,16 +1,15 @@
<tr>
<td>Domain actions</td>
<td>
- <select name="domainActions" MULTIPLE>
- <perl>
- my @actions=split '\|',$ispman->getConf("domainActions");
- my $out="";
- for (@actions) {
- $out .= qq|<option value="$_">$_</option>| unless $_ eq "none";
- }
- $out
- </perl>
- </select>
+ <perl>
+ my @actions=split ',',$ispman->getConf("domainActions");
+ my $out="";
+ for (@actions) {
+ /(.*)\|(.*)/;
+ $out .= qq|<input type="checkbox" name="domainActions" value="$1">$2<br>| unless $1 eq "none";
+ }
+ $out
+ </perl>
</td>
</tr>
------------------------------------------------------------------------------