[fusion-commits] r2783 - sandbox/redline_advanced_stylization/widgets/Redline
svn_fusion at osgeo.org
svn_fusion at osgeo.org
Fri Sep 13 01:50:53 PDT 2013
Author: jng
Date: 2013-09-13 01:50:52 -0700 (Fri, 13 Sep 2013)
New Revision: 2783
Modified:
sandbox/redline_advanced_stylization/widgets/Redline/editmarkupstyle.php
Log:
#595: Hide the Label style setting in the Edit Style UI for Advanced Stylization as we haven't figured out how to cleanly translate this yet.
Modified: sandbox/redline_advanced_stylization/widgets/Redline/editmarkupstyle.php
===================================================================
--- sandbox/redline_advanced_stylization/widgets/Redline/editmarkupstyle.php 2013-09-13 08:42:27 UTC (rev 2782)
+++ sandbox/redline_advanced_stylization/widgets/Redline/editmarkupstyle.php 2013-09-13 08:50:52 UTC (rev 2783)
@@ -19,6 +19,8 @@
$style = $markupManager->GetLayerStyle($args["EDITMARKUPLAYER"]);
$editFeatureSource = $markupManager->GetFeatureSource($args["EDITMARKUPLAYER"]);
+ $isAdvanced = (strcmp($args["REDLINESTYLIZATION"], "ADVANCED") == 0);
+
$errorMsg = null;
$errorDetail = null;
$defaultFormat = null;
@@ -463,6 +465,7 @@
<br>
</td>
</tr>
+ <? if (!$isAdvanced) { ?>
<tr>
<td colspan="2">
<?=$labelBackgroundStyleLocal?><br>
@@ -473,7 +476,9 @@
</select>
</td>
</tr>
-
+ <? } else { ?>
+ <input name="LABELBACKSTYLE" size="1" style="display:none" />
+ <? } ?>
<tr>
<td colspan="2" align="right">
<hr>
More information about the fusion-commits
mailing list