Don't try to set defaults; instead, just accept what the page passes in
explicitly.
Patch by fu.
diffs (67 lines):
diff -r dee65e4f7923 -r c9cda49a744f cgi-bin/bml/scheme/blueshift.look
--- a/cgi-bin/bml/scheme/blueshift.look Sat Sep 04 17:44:59 2010 +0800
+++ b/cgi-bin/bml/scheme/blueshift.look Sat Sep 04 18:06:34 2010 +0800
@@ -27,8 +27,6 @@ standout<=
standout<=
{DRps}<div class='standout'><table
class='standout-inner'><tr><td>%%data%%</td></tr></table></div>
<=standout
-
-contentopts=>class='layout-wide-right-sidebar'
head<=
<head>
diff -r dee65e4f7923 -r c9cda49a744f cgi-bin/bml/scheme/celerity.look
--- a/cgi-bin/bml/scheme/celerity.look Sat Sep 04 17:44:59 2010 +0800
+++ b/cgi-bin/bml/scheme/celerity.look Sat Sep 04 18:06:34 2010 +0800
@@ -27,8 +27,6 @@ standout<=
standout<=
{DRps}<div class='standout'><table
class='standout-inner'><tr><td>%%data%%</td></tr></table></div>
<=standout
-
-contentopts=>class='layout-wide-right-sidebar'
head<=
<head>
@@ -181,7 +179,7 @@ page<=
<?logo?>
</div><!-- end masthead-->
- <div id="content" %%contentopts%%>
+ <div id="content" %%contentopts%% ?>
<h1>%%title%%</h1>
%%body%%
</div><!--end content-->
diff -r dee65e4f7923 -r c9cda49a744f
cgi-bin/bml/scheme/gradation-horizontal.look
--- a/cgi-bin/bml/scheme/gradation-horizontal.look Sat Sep 04 17:44:59
2010 +0800
+++ b/cgi-bin/bml/scheme/gradation-horizontal.look Sat Sep 04 18:06:34
2010 +0800
@@ -27,8 +27,6 @@ standout<=
standout<=
{DRps}<div class='standout'><table
class='standout-inner'><tr><td>%%data%%</td></tr></table></div>
<=standout
-
-contentopts=>class='layout-wide-right-sidebar'
head<=
<head>
diff -r dee65e4f7923 -r c9cda49a744f cgi-bin/bml/scheme/gradation-vertical.look
--- a/cgi-bin/bml/scheme/gradation-vertical.look Sat Sep 04 17:44:59
2010 +0800
+++ b/cgi-bin/bml/scheme/gradation-vertical.look Sat Sep 04 18:06:34
2010 +0800
@@ -27,8 +27,6 @@ standout<=
standout<=
{DRps}<div class='standout'><table
class='standout-inner'><tr><td>%%data%%</td></tr></table></div>
<=standout
-
-contentopts=>class='layout-wide-right-sidebar'
head<=
<head>
diff -r dee65e4f7923 -r c9cda49a744f htdocs/misc/render_sitescheme.bml
--- a/htdocs/misc/render_sitescheme.bml Sat Sep 04 17:44:59 2010 +0800
+++ b/htdocs/misc/render_sitescheme.bml Sat Sep 04 18:06:34 2010 +0800
@@ -40,5 +40,5 @@ head=><?_code return BML::ebml( $head );
head=><?_code return BML::ebml( $head ); _code?>
title=><?_code return BML::ebml( $title ); _code?>
windowtitle=><?_code return BML::ebml( $windowtitle ); _code?>
-contentopts=><?_code return defined $contentopts ? BML::ebml( $contentopts ) :
"<?contentopts?>"; _code?>
+contentopts=><?_code return BML::ebml( $contentopts ); _code?>
page?>
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog