hum, not my day, recommit the real xml cleanup
authorioguix <ioguix>
Wed, 13 Feb 2008 23:03:05 +0000 (23:03 +0000)
committerioguix <ioguix>
Wed, 13 Feb 2008 23:03:05 +0000 (23:03 +0000)
browser.php
classes/Misc.php

index 9a4ddcf203baac052e435a7d40b218ce7b6a7066..563d7fa9edd3ca878b998f0ec57e752de33b2a6b 100644 (file)
@@ -5,7 +5,7 @@
         * if you click on a database it shows a list of database objects in that
         * database.
         *
-        * $Id: browser.php,v 1.58 2008/02/13 22:55:38 ioguix Exp $
+        * $Id: browser.php,v 1.59 2008/02/13 23:03:05 ioguix Exp $
         */
 
        // Include application functions
@@ -54,7 +54,7 @@ WebFXTreeAbstractNode.prototype.target = 'detail';
 WebFXTreeAbstractNode.prototype._ondblclick = function(){}
 
 // Show tree XML on double click - for debugging purposes only
-
+/*
 // UNCOMMENT THIS FOR DEBUGGING (SHOWS THE SOURCE XML)
 WebFXTreeAbstractNode.prototype._ondblclick = function(e){
        var el = e.target || e.srcElement;
@@ -63,7 +63,7 @@ WebFXTreeAbstractNode.prototype._ondblclick = function(e){
                window.open(this.src, this.target || "_self");
        return false;
 };
-
+*/
 var tree = new WebFXLoadTree("<?php echo $lang['strservers']; ?>", "servers.php?action=tree", "servers.php");
 
 tree.write();
index 6be7e6d2c56f40dc3bfd93c66e86abb918517270..5011c53e8e1cfbf42f8d5673e14f71f2768d6e39 100644 (file)
@@ -2,7 +2,7 @@
        /**
         * Class to hold various commonly used functions
         *
-        * $Id: Misc.php,v 1.168 2008/01/31 22:03:30 ioguix Exp $
+        * $Id: Misc.php,v 1.169 2008/02/13 23:03:05 ioguix Exp $
         */
 
        class Misc {
 
                                        echo value_xml_attr('tooltip', $attrs['toolTip'], $rec);
 
-                                       echo "/>\n";
+                                       echo " />\n";
 
                                        $treedata->moveNext();
                                }
                        } else {
                                $msg = isset($attrs['nodata']) ? $attrs['nodata'] : $lang['strnoobjects'];
-                               echo "<tree text=\"{$msg}\" onaction=\"this.parentNode.reload()\" icon=\"", $this->icon('ObjectNotFound'), "\"/>\n";
+                               echo "<tree text=\"{$msg}\" onaction=\"this.parentNode.reload()\" icon=\"", $this->icon('ObjectNotFound'), "\" />\n";
                        }
 
                        if (!isset($attrs['nofoot']) || $attrs['nofoot'] === false) {