fu: Close-up of Fu, bringing a scoop of water to her mouth (Default)
fu ([personal profile] fu) wrote in [site community profile] changelog2010-09-04 10:05 am

[dw-nonfree] Most site schemes hardcode a class layout-wide-right-sidebar for #content

[commit: http://hg.dwscoalition.org/dw-nonfree/rev/b15bf5d48465]

http://bugs.dwscoalition.org/show_bug.cgi?id=3000

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 [personal profile] fu.

Files modified:
  • cgi-bin/bml/scheme/tropo-purple.look
  • cgi-bin/bml/scheme/tropo-red.look
  • htdocs/index.bml
--------------------------------------------------------------------------------
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
--------------------------------------------------------------------------------

Post a comment in response:

This account has disabled anonymous posting.
If you don't have an account you can create one now.
HTML doesn't work in the subject.
More info about formatting

If you are unable to use this captcha for any reason, please contact us by email at support@dreamwidth.org