[fusion-commits] r2672 - in trunk: text widgets/FeatureInfo

svn_fusion at osgeo.org svn_fusion at osgeo.org
Fri Mar 22 10:28:15 PDT 2013


Author: jng
Date: 2013-03-22 10:28:15 -0700 (Fri, 22 Mar 2013)
New Revision: 2672

Modified:
   trunk/text/en
   trunk/widgets/FeatureInfo/featureinfomain.php
Log:
#550: Add a refresh link in the Feature Info UI.

Modified: trunk/text/en
===================================================================
--- trunk/text/en	2013-03-22 17:17:27 UTC (rev 2671)
+++ trunk/text/en	2013-03-22 17:28:15 UTC (rev 2672)
@@ -156,6 +156,7 @@
 FEATUREINFOAREAUNDEFINE = areaIdx undefined
 FEATUREINFONOINFO       = no layer info
 FEATUREINFONOFEATUREIN  = no features in selected layer.
+FEATUREINFOREFRESH      = Refresh Layers
 
 # QueryUI
 QUERYTITLE              = Query Features

Modified: trunk/widgets/FeatureInfo/featureinfomain.php
===================================================================
--- trunk/widgets/FeatureInfo/featureinfomain.php	2013-03-22 17:17:27 UTC (rev 2671)
+++ trunk/widgets/FeatureInfo/featureinfomain.php	2013-03-22 17:28:15 UTC (rev 2672)
@@ -60,7 +60,8 @@
     $drawPointLocal = GetLocalizedString("REDLINEEDITPOINTHELP", $locale );
     $drawRectLocal = GetLocalizedString("REDLINEEDITRECTANGLEHELP", $locale );
     $drawPolyLocal = GetLocalizedString("REDLINEEDITPOLYGONHELP", $locale );
-
+    
+    $refreshLocal = GetLocalizedString("FEATUREINFOREFRESH", $locale);
     try
     {
         $featureInfo = new FeatureInfo($args);
@@ -309,7 +310,7 @@
 <table class="RegText" border="0" cellspacing="0" width="100%">
     <tr><td class="Title"><img id="busyImg" src="../../common/images/loader_inactive.gif" style="vertical-align:bottom"> <?php echo $titleLocal ?><hr></td></tr>
     <tr><td class="SubTitle"><?php echo $subtitleLocal ?></td></tr>
-    <tr><td><?php echo $layerLocal ?></td></tr>
+    <tr><td><?php echo $layerLocal ?> <a href="<?= $_SERVER['REQUEST_URI'] ?>">(<?= $refreshLocal ?>)</a></td></tr>
     <tr>
         <td class="RegText">
             <select size="1" class="Ctrl" id="layerSelect" onChange="OnLayerChange()" style="width: 100%">



More information about the fusion-commits mailing list