[dw-nonfree] Sunday Morning: implement one-column and two-columns-right layout
[commit: http://hg.dwscoalition.org/dw-nonfree/rev/3eb1f9eae77d]
http://bugs.dwscoalition.org/show_bug.cgi?id=2636
More cleanup in Sunday Morning layout file.
Patch by
ninetydegrees.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=2636
More cleanup in Sunday Morning layout file.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- bin/upgrading/s2layers/sundaymorning/layout.s2
-------------------------------------------------------------------------------- diff -r 73f5bf8d2385 -r 3eb1f9eae77d bin/upgrading/s2layers/sundaymorning/layout.s2 --- a/bin/upgrading/s2layers/sundaymorning/layout.s2 Tue Jul 20 14:46:05 2010 -0500 +++ b/bin/upgrading/s2layers/sundaymorning/layout.s2 Tue Jul 20 15:05:20 2010 -0500 @@ -6,12 +6,7 @@ layerinfo "lang" = "en"; # Originally a Transmogrified theme -set layout_type = "two-columns-left"; set layout_authors = [ { "name" => "regna", "type" => "user" } ]; - -set entry_management_links = "text"; -set comment_management_links = "text"; -set all_commentsubjects = true; propgroup presentation { property use num_items_recent; @@ -29,10 +24,13 @@ propgroup presentation { property use comment_management_links; } -set layout_type = "two-columns-right"; +set layout_type = "two-columns-left"; set userpics_position = "right"; set sidebar_width = "200px"; set tags_page_type = ""; +set entry_management_links = "text"; +set comment_management_links = "text"; +set all_commentsubjects = true; set custom_colors_template = "%%new%% .userpic a { background-color: %%background%%; border: solid 1px %%foreground%%; }"; @@ -217,30 +215,28 @@ function Page::print() $this->print_wrapper_start(); $this->print_control_strip(); """ - <div id="container"> - <div id="header"> + <div id="container"> + <div id="header"> + <a name="top"> """; + $this->print_global_title(); """ - <a name="top"> + </a> + </div> """; - $this->print_global_title(); + $this->print_module_section("one"); """ - </a> - </div> - """; - $this->print_module_section("one"); - """ - <div id="wrap"> + <div id="wrap"> <div id="content"> """; - $this->print_body(); + $this->print_body(); """ </div> """; - $this->print_module_section("two"); + $this->print_module_section("two"); """ - </div><div style="clear:both;"></div> - </div> + </div><div style="clear:both;"></div> + </div> """; $this->print_wrapper_end(); """ --------------------------------------------------------------------------------