Register dreamwidth.org-specific site skins.
Patch by exor674.
diffs (36 lines):
diff -r 7a10df60e793 -r 19a48e4de898 cgi-bin/DW/SiteScheme/Local.pm
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/cgi-bin/DW/SiteScheme/Local.pm Tue Nov 16 18:11:39 2010 +0800
@@ -0,0 +1,32 @@
+#!/usr/bin/perl
+#
+# DW::SiteScheme::Local
+#
+# Register the local sitesechemes
+#
+# Authors:
+# Andrea Nall <[email protected]>
+#
+# Copyright (c) 2010 by Dreamwidth Studios, LLC.
+#
+# This program is NOT free software or open-source; you can use it as an
+# example of how to implement your own site-specific extensions to the
+# Dreamwidth Studios open-source code, but you cannot use it on your site
+# or redistribute it, with or without modifications.
+#
+use DW::SiteScheme;
+
+DW::SiteScheme->register_siteschemes(
+ 'celerity-local' => 'celerity',
+ 'dreamwidth' => 'global',
+ 'gradation-horizontal-local' => 'gradation-horizontal',
+ 'gradation-vertical-local' => 'gradation-vertical',
+ 'tropo-common' => 'common',
+ 'tropo-purple' => 'tropo-common',
+ 'tropo-red' => 'tropo-common'
+);
+
+DW::SiteScheme->register_default_sitescheme( 'tropo-red' );
+
+1;
+
_______________________________________________
dw-changelog mailing list
[email protected]
http://lists.dwscoalition.org/mailman/listinfo/dw-changelog