ispman/ispman-web/cgi-bin/tmpl/domains/edit defaultfilehost.tmpl,1.1,1.2

[email protected]
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/domains/edit
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv23788/ispman-web/cgi-bin/tmpl/domains/edit

Modified Files:
	defaultfilehost.tmpl 
Log Message:
fileserver should not be editable after domain creation

Index: defaultfilehost.tmpl
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/domains/edit/defaultfilehost.tmpl,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- defaultfilehost.tmpl	8 Jan 2004 00:08:26 -0000	1.1
+++ defaultfilehost.tmpl	6 Feb 2004 22:07:08 -0000	1.2
@@ -1,33 +1,9 @@
 
 
 <tr>
-    <td width="20%"><perl>_("Default File Server Host for this domain")</perl> </td>
+    <td width="20%"><perl>_("File Server for this domain")</perl> </td>
     <td> 
-        <select name="ispmanDomainDefaultFileServer">
-        <perl>
-        my $text="";
-        my @ispmanDomainDefaultFileServers=$ispman->getGroupMembers("fileservergroup");
-        my $filehost=$ispman->{'domain'}->{'ispmanDomainDefaultFileServer'};
-
-        
-        for (@ispmanDomainDefaultFileServers){
-            if ($filehost eq $_) {
-               $text.="<option VALUE=$_ selected>$_</option>";
-            } else {
-               $text.="<option VALUE=$_>$_</option>";
-            }
-        }
-        
-        if  ($#ispmanDomainDefaultFileServers<0){
-            $text.="<option VALUE=''>";
-	    $text.=_("WARNING: No members in group [_1] defined", "fileservergroup");
-	    $text.="</option>";        
-        }
-        
-        
-        $text
-        </perl>
-        </select>
+        <perl>$ispman->{'domain'}->{'ispmanDomainDefaultFileServer'}</perl>
     </td>
 </tr>
 



-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.