ispman/ispman-web/cgi-bin/tmpl/vhosts edit_acls.tmpl,1.4,1.5

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

Modified Files:
	edit_acls.tmpl 
Log Message:
removed all those nasty ^Ms

Folks! Try to avoid windows editors when editing ispman files



Index: edit_acls.tmpl
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/vhosts/edit_acls.tmpl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- edit_acls.tmpl	13 Jan 2004 16:05:49 -0000	1.4
+++ edit_acls.tmpl	21 Feb 2004 21:31:28 -0000	1.5
@@ -1,4 +1,4 @@
-<table>
+<table>
 <tr>
     <td valign=top>
         <perl>_("Website  Access control")</perl>  <br>
@@ -33,9 +33,9 @@
 			for (sort {length($b) <=> length($a)} keys %$ACLs){ 
 				$text.="<tr>";
 				if ($r->param("ispmanVhostAclLocation") && $r->param("ispmanVhostAclLocation") eq $ACLs->{$_}{'ispmanVhostAclLocation'}){
-					$text.=qq|\n<form name=ACLEditForm>\n
-					<td valign=top>
-					$ACLs->{$_}{'ispmanVhostAclLocation'}
+					$text.=qq|\n<form name=ACLEditForm>\n
+					<td valign=top>
+					$ACLs->{$_}{'ispmanVhostAclLocation'}
 					</td>
 						<td valign=top> <select name=ispmanVhostAclAllowUser multiple size=5>|;
 					my $allowedUsers={};
@@ -53,8 +53,8 @@
 					}
 					my $domainusers=$ispman->getDomainUsersForDomain($r->param('ispmanDomain'));
 					for $domainuser(keys %$domainusers){
-						my $exploded_dn=$ispman->explodeDN($domainusers->{$domainuser});
-						my $uid=$exploded_dn->{'uid'};
+						my $exploded_dn=$ispman->explodeDN($domainusers->{$domainuser});
+						my $uid=$exploded_dn->{'uid'};
 						$text.="<option value='$uid'";
 						if ($allowedUsers->{$uid}) {
 							$text.=" selected ";
@@ -68,7 +68,7 @@
 					<input type=hidden name=ispmanVhostAclLocation value="$ACLs->{$_}{'ispmanVhostAclLocation'}">
 					<input type=hidden name=ispmanDomain value="@{[$r->param('ispmanDomain')]}">
 					<input type=hidden name=ispmanVhostName value="@{[$r->param('ispmanVhostName')]}">
-					<input type=hidden name=mode value="updateVhostAcl">
+					<input type=hidden name=mode value="updateVhostAcl">
 					</form>
 					<td><a href="@{[$r->url]}?mode=deleteVhostAcl&section=acls&ispmanDomain=@{[$r->param("ispmanDomain")]}&ispmanVhostName=@{[$r->param("ispmanVhostName")]}&ispmanVhostAclLocation=$ACLs->{$_}{'ispmanVhostAclLocation'}">@{[_('Delete')]}</a></td>
 					|;
@@ -99,12 +99,12 @@
 		$text
 	</perl>
                 
-	<tr class=control>
+	<tr class=control>
 		<form name=NewVhostACLForm>
 		<td valign=top class=control><input type=text name=newIspmanVhostAclLocation value=""></td>
 		<td valign=top class=control>
 		<select MULTIPLE size=5 name=newIspmanVhostAclAllowUser>
-		<perl>
+		<perl>
 			$text='';
 			my $webusers=$ispman->getWebusers($r->param('ispmanDomain'));
 			for $webuser(keys %$webusers){
@@ -115,10 +115,10 @@
                         
 		<perl>
 			$text="";
-			my $users=$ispman->getDomainUsersForDomain($r->param('ispmanDomain'));
-			for my $user(keys %$users) {
-				my $exploded_dn=$ispman->explodeDN($users->{$user});
-				my $uid=$exploded_dn->{'uid'};
+			my $users=$ispman->getDomainUsersForDomain($r->param('ispmanDomain'));
+			for my $user(keys %$users) {
+				my $exploded_dn=$ispman->explodeDN($users->{$user});
+				my $uid=$exploded_dn->{'uid'};
 				$text.="<option value='$uid'>domainuser: $uid</option>\n";
 			}
 			$text
@@ -128,15 +128,15 @@
 		<input type=hidden name=mode value="addVhostAcl">
 		<input type=hidden name=ispmanVhostName value="<perl>$r->param("ispmanVhostName")</perl>">
 		<input type=hidden name=ispmanDomain value="<perl>$r->param("ispmanDomain")</perl>">
-		<td colspan=2><input type=submit value="<perl>_('Add  new protected area')</perl>"></td>
-		</form>
+		<td colspan=2><input type=submit value="<perl>_('Add  new protected area')</perl>"></td>
+		</form>
 	</tr>
 </table>                
-
-
-
+
+
+
 </td>
 </tr>
-</table>
+</table>
 
 



-------------------------------------------------------
SF.Net is sponsored by: Speed Start Your Linux Apps Now.
Build and deploy apps & Web services for Linux with
a free DVD software kit from IBM. Click Now!
http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click
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.