Add suitable properties to be used by layouts.

        Patch by ninetydegrees. 

diffs (26 lines):

diff -r 476e15fbfc76 -r fd79f3fbf5de bin/upgrading/s2layers/core2.s2
--- a/bin/upgrading/s2layers/core2.s2   Fri Apr 08 18:30:30 2011 +0800
+++ b/bin/upgrading/s2layers/core2.s2   Fri Apr 08 19:14:55 2011 +0800
@@ -1367,9 +1367,21 @@ property string sidebar_width_doubled {
     example = "30em";
 }
 
+property string margins_size {
+    des = "Size of left and right margins";
+    size = 5;
+}
+
+property string margins_unit {
+    des = "Unit for margins size";
+    values = "em|em|%|%|px|px";
+}
+
 set layout_type = "";
 set sidebar_width = "";
-set sidebar_width = "";
+set sidebar_width_doubled = "";
+set margins_size = "0";
+set margins_unit = "em";
 
 property string module_layout_sections {
     des = "Map module sections to user-friendly names for the wizard. Layouts 
may want to override this";
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to