ispman/ispman-web/cgi-bin/tmpl/dns edit_TXTrecords.tmpl, 1.1, 1.2
Joerg Delker <[email protected]>
| Newsgroups | gmane.comp.isp.ispman.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/dns
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv31945/ispman-web/cgi-bin/tmpl/dns
Modified Files:
edit_TXTrecords.tmpl
Log Message:
fixing hidden dn field
extending txt length
Index: edit_TXTrecords.tmpl
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/dns/edit_TXTrecords.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- edit_TXTrecords.tmpl 6 Jun 2006 20:58:37 -0000 1.1
+++ edit_TXTrecords.tmpl 6 Jun 2006 22:10:21 -0000 1.2
@@ -40,7 +40,7 @@
<input type=hidden name='ispmanDomain'>
<input type=hidden name='mode'>
<td><input type=text name=host></td>
- <td><input type=text name=txt></td>
+ <td><input type=text name=txt size=40></td>
<td><input type=button onClick='submitForm(this.form,"add")' value='@{[_("Add")]}'></td>
</form>
</tr>
@@ -64,11 +64,11 @@
for (@sorted){
$text.="<tr>";
$text.="<form method=POST>";
- $text.="<input type=hidden name='dn' value='@{[$ispman->getnSRecordDn($thisDomain, $_->{'origion'}, $_->{'host'})]}'>";
+ $text.="<input type=hidden name='dn' value='@{[$ispman->gettXTRecordDn($thisDomain, $_->{'host'}, $_->{'txt'})]}'>";
$text.="<input type=hidden name='ispmanDomain'>";
$text.="<input type=hidden name='mode'>";
$text.="<td><input type=text name='host' value='$_->{'host'}'></td>";
- $text.="<td><input type=text name='txt' value='$_->{'txt'}'></td>";
+ $text.="<td><input type=text name='txt' size=40 value='$_->{'txt'}'></td>";
$text.="<td>\n";
$text.="<input type=image onClick='submitForm(this.form,\"update\")' src='".$ispman->getConfig("ispmanUrlPrefix")."/gfx/apply.gif'>\n";
$text.="<input type=image onClick='submitForm(this.form,\"delete\")' src='".$ispman->getConfig("ispmanUrlPrefix")."/gfx/delete.gif'>\n";