[dw-nonfree] Make site schemes siteviews S2 layout have inheritable themes
[commit: http://hg.dwscoalition.org/dw-nonfree/rev/19a48e4de898]
http://bugs.dwscoalition.org/show_bug.cgi?id=3189
Register dreamwidth.org-specific site skins.
Patch by
exor674.
Files modified:
http://bugs.dwscoalition.org/show_bug.cgi?id=3189
Register dreamwidth.org-specific site skins.
Patch by
![[personal profile]](https://www.dreamwidth.org/img/silk/identity/user.png)
Files modified:
- cgi-bin/DW/SiteScheme/Local.pm
-------------------------------------------------------------------------------- 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 <anall@andreanall.com> +# +# 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; + --------------------------------------------------------------------------------