ispman/ispman-web/cgi-bin/tmpl/domains summary.tmpl,1.7,1.8

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

Modified Files:
	summary.tmpl 
Log Message:
fixed some perl warnings
beauty changes

Index: summary.tmpl
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/domains/summary.tmpl,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- summary.tmpl	28 Apr 2003 14:47:15 -0000	1.7
+++ summary.tmpl	6 Feb 2004 17:03:34 -0000	1.8
@@ -40,7 +40,7 @@
  
 
 
-<table border=0 cellpadding=0 cellspacing=2 bgcolor=white >
+<table border=0 cellpadding=2 cellspacing=2 bgcolor=white >
 <tr class=menuheader>
 <th class=menuheader></th>
 <th class=menuheader>Domain</th>
@@ -115,14 +115,14 @@
                                 
                 $text.= join "\n", map {"<td>&nbsp; $_ &nbsp; </td>"} (
                         $ispman->getDomainType($domain),
-                        $ispman->{'domaininfo'}{$domain}->{'ispmanDomainOwner'},
-                        $ispman->{'domaininfo'}{$domain}->{'ispmanDomainCustomer'},
-                        $ispman->{'domaininfo'}{$domain}->{'ispmanDomainComment'},
-                        $ispman->getReplicaCountForDomain($domain),
-                        $ispman->getUserCount($domain),
-                        $ispman->getVhostCount($domain),
-                        $ispman->{'domaininfo'}{$domain}->{'locked'},
-                        $ispman->{'domaininfo'}{$domain}->{'lockedby'}
+                        $ispman->{'domaininfo'}{$domain}->{'ispmanDomainOwner'} || "&nbsp;",
+                        $ispman->{'domaininfo'}{$domain}->{'ispmanDomainCustomer'} || "&nbsp;",
+                        $ispman->{'domaininfo'}{$domain}->{'ispmanDomainComment'} || "&nbsp;",
+                        $ispman->getReplicaCountForDomain($domain) || "&nbsp;",
+                        $ispman->getUserCount($domain) || "&nbsp;",
+                        $ispman->getVhostCount($domain) || "&nbsp;",
+                        $ispman->{'domaininfo'}{$domain}->{'locked'} || "&nbsp;",
+                        $ispman->{'domaininfo'}{$domain}->{'lockedby'} || "&nbsp;"
 
                         );
                 $text.="</tr>";
@@ -132,18 +132,18 @@
         for my $domain( sort  keys %$masters ) {                                                                   
                         
                 $text.="<tr class=@{[$ispman->getDomainType($domain)]}>";
-                $text.= join "\n", map {"<td>&nbsp; $_ &nbsp; </td>"} (
+                $text.= join "\n", map {"<td>$_</td>"} (
                         "<A HREF='javascript:parent.whois(\"$domain\")'>W</a>",
                         "<A onClick='self.location=\"$ENV{'SCRIPT_NAME'}?mode=editDomain&ispmanDomain=$domain\"' target='main_menu' HREF='$ENV{'SCRIPT_NAME'}?mode=menu&ispmanDomain=$domain'>$domain</a>",
                         $ispman->getDomainType($domain),
-                        $ispman->{'domaininfo'}{$domain}->{'ispmanDomainOwner'},
-                        $ispman->{'domaininfo'}{$domain}->{'ispmanDomainCustomer'},
-                        $ispman->{'domaininfo'}{$domain}->{'ispmanDomainComment'},
-                        $ispman->getReplicaCountForDomain($domain),
-                        $ispman->getUserCount($domain),
-                        $ispman->getVhostCount($domain),
-                        $ispman->{'domaininfo'}{$domain}->{'locked'},
-                        $ispman->{'domaininfo'}{$domain}->{'lockedby'}
+                        $ispman->{'domaininfo'}{$domain}->{'ispmanDomainOwner'} || "&nbsp;",
+                        $ispman->{'domaininfo'}{$domain}->{'ispmanDomainCustomer'} || "&nbsp;",
+                        $ispman->{'domaininfo'}{$domain}->{'ispmanDomainComment'} || "&nbsp;",
+                        $ispman->getReplicaCountForDomain($domain) || "&nbsp;",
+                        $ispman->getUserCount($domain) || "&nbsp;",
+                        $ispman->getVhostCount($domain) || "&nbsp;",
+                        $ispman->{'domaininfo'}{$domain}->{'locked'} || "&nbsp;",
+                        $ispman->{'domaininfo'}{$domain}->{'lockedby'} || "&nbsp;"
                         );
                 $text.="</tr>";
                 unless ($r->param("hidereplicas")){



-------------------------------------------------------
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.