Replace print_stylesheet with Page::print_theme_stylesheet.
Patch by 900degrees.
diffs (70 lines):
diff -r bba8fb8b7525 -r 25a4f3dc3e77 bin/upgrading/s2layers/easyread/themes.s2
--- a/bin/upgrading/s2layers/easyread/themes.s2 Fri Sep 24 14:34:18 2010 -0500
+++ b/bin/upgrading/s2layers/easyread/themes.s2 Fri Sep 24 15:55:37 2010 -0500
@@ -221,14 +221,16 @@ set color_module_text="#000";
set color_module_text="#000";
set color_module_title = "#ef8229";
-function print_stylesheet () {
+function Page::print_theme_stylesheet() {
"""
#tertiary {
color: $*color_module_text;
background-color: $*color_module_background;
}
- .module-header { color $*color_module_title; }
+ .module-header {
+ color $*color_module_title;
+ }
""";
}
diff -r bba8fb8b7525 -r 25a4f3dc3e77
bin/upgrading/s2layers/skittlishdreams/themes.s2
--- a/bin/upgrading/s2layers/skittlishdreams/themes.s2 Fri Sep 24 14:34:18
2010 -0500
+++ b/bin/upgrading/s2layers/skittlishdreams/themes.s2 Fri Sep 24 15:55:37
2010 -0500
@@ -55,7 +55,7 @@ set image_background_module_url = "skitt
set image_background_module_url = "skittlishdreams/academy_box.gif";
set image_background_navigation_url = "skittlishdreams/academy_circle.gif";
-function print_stylesheet () {
+function Page::print_theme_stylesheet() {
"""
.entry-title, .entry-title a {
color: $*color_entry_title;
@@ -239,7 +239,7 @@ set image_background_module_url = "skitt
set image_background_module_url = "skittlishdreams/desertcream_box.gif";
set image_background_navigation_url = "skittlishdreams/desertcream_circle.gif";
-function print_stylesheet () {
+function Page::print_theme_stylesheet() {
"""
.entry-title, .entry-title a {
color: $*color_entry_title;
@@ -363,7 +363,7 @@ set image_background_module_url = "skitt
set image_background_module_url = "skittlishdreams/inthebag_box.gif";
set image_background_navigation_url = "skittlishdreams/inthebag_circle.gif";
-function print_stylesheet () {
+function Page::print_theme_stylesheet() {
"""
.entry-title, .entry-title a {
color: $*color_entry_title;
@@ -434,7 +434,7 @@ set image_background_navigation_url = "s
set image_background_navigation_url =
"skittlishdreams/likesunshine_circle.gif";
set image_background_page_url = "skittlishdreams/likesunshine_page.gif";
-function print_stylesheet () {
+function Page::print_theme_stylesheet() {
"""
.entry-title, .entry-title a {
color: $*color_entry_title;
@@ -671,7 +671,7 @@ set image_background_module_url = "skitt
set image_background_module_url = "skittlishdreams/snowcherries_box.gif";
set image_background_navigation_url =
"skittlishdreams/snowcherries_circle.gif";
-function print_stylesheet () {
+function Page::print_theme_stylesheet() {
"""
.entry-title, .entry-title a {
color: $*color_entry_title;
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog