Don't try to set defaults; instead, just accept what the page passes in 
explicitly. Also, pass in the class for the logged-in homepage.

        Patch by fu. 

diffs (35 lines):

diff -r fe63d53deaf5 -r b15bf5d48465 cgi-bin/bml/scheme/tropo-purple.look
--- a/cgi-bin/bml/scheme/tropo-purple.look      Wed Sep 01 23:02:53 2010 +0800
+++ b/cgi-bin/bml/scheme/tropo-purple.look      Sat Sep 04 18:04:51 2010 +0800
@@ -26,8 +26,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 fe63d53deaf5 -r b15bf5d48465 cgi-bin/bml/scheme/tropo-red.look
--- a/cgi-bin/bml/scheme/tropo-red.look Wed Sep 01 23:02:53 2010 +0800
+++ b/cgi-bin/bml/scheme/tropo-red.look Sat Sep 04 18:04:51 2010 +0800
@@ -26,8 +26,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 fe63d53deaf5 -r b15bf5d48465 htdocs/index.bml
--- a/htdocs/index.bml  Wed Sep 01 23:02:53 2010 +0800
+++ b/htdocs/index.bml  Sat Sep 04 18:04:51 2010 +0800
@@ -188,6 +188,7 @@ _code?>
 <=body
 title=><?_code return $title; _code?>
 windowtitle=><?_code return $windowtitle; _code?>
+contentopts=>class="layout-wide-right-sidebar"
 head<=
 <?_code return $headextra; _code?>
 <=head
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog

Reply via email to