Remove the style tags from the example implementation of
Page::print_default_stylesheet
Patch by fu.
diffs (19 lines):
diff -r 31781d57127e -r 7b94a60ad598 bin/upgrading/s2layers/core2.s2
--- a/bin/upgrading/s2layers/core2.s2 Sun Jul 11 23:49:02 2010 -0500
+++ b/bin/upgrading/s2layers/core2.s2 Mon Jul 12 14:26:56 2010 +0800
@@ -3104,12 +3104,9 @@ function User::print_userpic() {
### Generic Page Functions
function Page::print_default_stylesheet()
-"Adds CSS to all themes on your layout. Very likely to be overridden for most
layouts."
-{
- """<style type="text/css">""";
- start_css();
- end_css();
- """</style>\n""";
+"Adds CSS to all themes on your layout. Very likely to be overridden for most
layouts. Style tags will be automatically added around it."
+{
+
}
function Page::print_theme_stylesheet()
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog