Changesets can be listed by changeset number.
The Git repository is here.
- Revision:
- 193
- Log:
First stage commit of Typo 4.1, modified for the ROOL site.
Includes all local modifications but a final pass needs to be
made to delete any files left over from earlier Typo versions
that shouldn't be here anymore. See the 'tags' section of the
repository for a clean Typo 4.1 tree.Note that symlinks to shared files in the RISC OS Open theme
directory have been deliberately included this time around; I
decided that on balance it was better to leave them in as
placeholders, since unlike symlinks in app/views/shared, the
Typo theme structure is not a standard Rails concept.
- Author:
- rool
- Date:
- Wed Apr 04 18:51:02 +0100 2007
- Size:
- 532 Bytes
1 | class Sidebars::ConsolidatedPlugin < Sidebars::Plugin |
2 | class << self |
3 | @abstract = true |
4 | |
5 | def fields |
6 | associated_class.fields |
7 | end |
8 | |
9 | def default_config |
10 | fields.inject({ }) do |acc, item| |
11 | acc.merge(item.key => item.default) |
12 | end |
13 | end |
14 | |
15 | def description |
16 | associated_class.description |
17 | end |
18 | end |
19 | |
20 | def index |
21 | @sidebar = params['sidebar'] |
22 | @sb_config = @sidebar.config |
23 | @sidebar.parse_request(params) |
24 | render :partial => "sidebars/#{@sidebar.short_name}/content" |
25 | end |
26 | end |