[fusion-commits] r2126 - sandbox/adsk/2.2gp/widgets/BufferPanel

svn_fusion at osgeo.org svn_fusion at osgeo.org
Wed Mar 31 23:06:48 EDT 2010


Author: hubu
Date: 2010-03-31 23:06:48 -0400 (Wed, 31 Mar 2010)
New Revision: 2126

Modified:
   sandbox/adsk/2.2gp/widgets/BufferPanel/Buffer.php
Log:
Fix ticket #385.
In the Buffer.php, we are using the lower case to find this templ file like this: $layerTempl = file_get_contents("./arealayerdef.templ");
But the actual file name is <AreaLayerDef.templ> which is in capital letters.
So this submission use ArealayerDef.templ to find the templ file.


Modified: sandbox/adsk/2.2gp/widgets/BufferPanel/Buffer.php
===================================================================
--- sandbox/adsk/2.2gp/widgets/BufferPanel/Buffer.php	2010-03-31 20:01:00 UTC (rev 2125)
+++ sandbox/adsk/2.2gp/widgets/BufferPanel/Buffer.php	2010-04-01 03:06:48 UTC (rev 2126)
@@ -412,7 +412,7 @@
     global $dataSource, $featureName, $ffcolor, $fbcolor, $transparent, $linestyle, $thickness, $lcolor, $fillstyle, $foretrans;
 
     $xtrans = sprintf("%02x", 255 * $foretrans / 100);
-    $layerTempl = file_get_contents("./arealayerdef.templ");
+    $layerTempl = file_get_contents("./AreaLayerDef.templ");
     $xmlStr = sprintf($layerTempl,
                       $dataSource,
                       $featureName,



More information about the fusion-commits mailing list