[%# Common code for Tropospherical site schemes, refactored for inheritance. Converted to Template Toolkit by; Andrea Nall Authors: Jen Griffin Based on Tropospherical Red, authored by: Janine Smith Jesse Proulx Elizabeth Lubowitz Copyright (c) 2010-2013 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. %][%- PROCESS '_dreamwidth.tt' -%] [%- BLOCK block.need_res -%] [%- old_css_files = [ 'stc/jquery/jquery.ui.theme.smoothness.css', 'stc/lj_base-app.css', 'stc/base-colors-light.css', 'stc/reset.css', 'stc/tropo/tropo-base.css', "stc/tropo/tropo-${tropo_color}.css" ]; dw_scheme.need_res({ group => 'default' }, old_css_files.merge( [ 'js/nav.js' ] )); dw_scheme.need_res({ group => 'jquery' }, old_css_files.merge( [ 'js/nav-jquery.js' ] )); dw_scheme.need_res({ group => 'foundation' }, 'stc/css/skins/tropo/tropo-' _ tropo_color _ '.css' ); -%] [%- END -%] [%- BLOCK block.page -%] [%- IF logo_path -%] [%- ELSIF tropo_color != 'red' -%] [%- logo_path = '/tropo-red/dw_logo_' _ tropo_color _ '.png' -%] [%- ELSE -%] [%- logo_path = '/tropo-red/dw_logo.png' -%] [%- END -%] [%- IF resource_group == "foundation" -%] [% PROCESS block.head %]
[%- PROCESS block.skiplink -%] [%# Not using the HTML 5
element for now because of incompatibilities with JAWS and Firefox %]
[%- PROCESS block.msgs -%]

[% sections.title %]

[%- PROCESS block.errors -%]
[%- content -%]
[% PROCESS block.footer %]
[% dw_scheme.final_body_html %] [%- PROCESS block.script_init -%] [%- ELSE -%] [% PROCESS block.head %]
[%- PROCESS block.skiplink -%] [%# Not using the HTML 5
element for now because of incompatibilities with JAWS and Firefox %]
[%- PROCESS block.msgs -%]

[% sections.title %]

[% content %]
[% PROCESS block.accountlinks %]
[% PROCESS block.footer %]
[% dw_scheme.final_body_html %]
[%- END -%] [%- END -%]