[Mapbender-commits] r1848 - trunk/mapbender/http/php

svn_mapbender at osgeo.org svn_mapbender at osgeo.org
Fri Nov 23 10:17:26 EST 2007


Author: marcjansen
Date: 2007-11-23 10:17:26 -0500 (Fri, 23 Nov 2007)
New Revision: 1848

Modified:
   trunk/mapbender/http/php/mod_editElementVars.php
Log:
added visual indication of the variable type to each element var

Modified: trunk/mapbender/http/php/mod_editElementVars.php
===================================================================
--- trunk/mapbender/http/php/mod_editElementVars.php	2007-11-23 14:23:24 UTC (rev 1847)
+++ trunk/mapbender/http/php/mod_editElementVars.php	2007-11-23 15:17:26 UTC (rev 1848)
@@ -107,6 +107,14 @@
    .on{
       color: #0066cc;
    }
+   td.secondary {
+     color: #ededed;
+     font-size: 10px;
+     border: none;
+   }
+   tr.show-secondary td.secondary {
+     color: #333;
+   }
    -->
 </style>
 
@@ -194,11 +202,12 @@
    echo "<div class='myElements'>\n<table>\n";
 	
    while(db_fetch_row($res)){
-      echo "<tr>\n";
+      echo "<tr onmouseover='this.className=\"show-secondary\"' onmouseout='this.className=\"\"'>\n";
       echo "<td class='myTable'>";
       echo "<input type='radio' name='myElement' value='".db_result($res, $cnt, "var_name")."' onclick='submit()'>";
       echo "</td>\n";
       echo "<td class='myTable'>".db_result($res, $cnt, "var_name")."</td>\n";
+      echo "<td class='secondary'>".db_result($res, $cnt, "var_type")."</td>\n";
       echo "</tr>\n";
       $cnt++;
    }



More information about the Mapbender_commits mailing list