[Chameleon-dev] [Bug 1301] New: Manage WMS Servers malformed img tag

bugzilla-daemon at bugzilla.maptools.org bugzilla-daemon at bugzilla.maptools.org
Thu Feb 23 22:23:49 EST 2006


           Summary: Manage WMS Servers malformed img tag
           Product: Chameleon
           Version: 2.2
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: trivial
          Priority: P5
         Component: AdminTools
        AssignedTo: chameleon-dev at lists.maptools.org
        ReportedBy: cbc at unc.edu

php_utils/src/phpwms/manage_servers_body.phtml has a php error which causes
invalid html to generate, and displays as a missing image and stray text on the
Manage WMS Servers frame of the Chameleon admin pages. The patch is as follows:

Index: src/phpwms/manage_servers_body.phtml
RCS file: /cvs/maptools/cvsroot/php_utils/src/phpwms/manage_servers_body.phtml,v
retrieving revision 1.16
diff -u -r1.16 manage_servers_body.phtml
--- src/phpwms/manage_servers_body.phtml	10 Jun 2003 14:10:03 -0000	1.16
+++ src/phpwms/manage_servers_body.phtml	23 Feb 2006 23:36:52 -0000
@@ -135,7 +135,7 @@
     <td align="right"><span class="label"><?php echo trim($oTmpMLT->get("27",
"Ouput")); ?>:</span><br>
-		<img src="<?php echo $szCommonPath."/"; ?>images/<?if
($oServerManager->m_bStatus) echo "a_pixel.gif"; else echo "icon_alert.gif" ?>"
width="65" height="40"></td>
+		<img src="<?php echo $szCommonPath."/"; ?>images/<?php if
($oServerManager->m_bStatus) echo "a_pixel.gif"; else echo "icon_alert.gif" ?>"
width="65" height="40"></td>
     <td><textarea class="inputBox" name="szStatus" rows=3 cols=40
wrap="virtual"><?php echo $oServerManager->m_szStatus ?></textarea></td>

------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Please do NOT reply to this email, use the link above instead to 
login to bugzilla and submit your comment. Any email reply to this
address will be lost.

More information about the Chameleon-dev mailing list