Changeset 449
- Timestamp:
- 07/29/08 17:07:34 (20 months ago)
- Location:
- veekun/branches/layout2
- Files:
-
- 1 added
- 2 modified
- 7 moved
-
lib/Vee/Controller/Style.pm (modified) (2 diffs)
-
templates/style/fluff (added)
-
templates/style/fluff/bbcode.tt (moved) (moved from veekun/branches/layout2/templates/style/bbcode.tt)
-
templates/style/fluff/dex.tt (moved) (moved from veekun/branches/layout2/templates/style/dex.tt)
-
templates/style/fluff/forum.tt (moved) (moved from veekun/branches/layout2/templates/style/forum.tt)
-
templates/style/fluff/gallery.tt (moved) (moved from veekun/branches/layout2/templates/style/gallery.tt)
-
templates/style/fluff/global.tt (moved) (moved from veekun/branches/layout2/templates/style/global.tt)
-
templates/style/fluff/index.tt (moved) (moved from veekun/branches/layout2/templates/style/index.tt)
-
templates/style/fluff/users.tt (moved) (moved from veekun/branches/layout2/templates/style/users.tt)
-
templates/wrapper.tt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
veekun/branches/layout2/lib/Vee/Controller/Style.pm
r370 r449 63 63 ); 64 64 65 sub style : Path : Args( 1) {66 my ($self, $c, $ filename) = @_;65 sub style : Path : Args(3) { 66 my ($self, $c, $theme, $color, $filename) = @_; 67 67 68 68 $c->stash( %colors ); … … 76 76 } 77 77 78 $c->stash->{template} = 'style/' . $ filename . '.tt';78 $c->stash->{template} = 'style/' . $theme . '/' . $filename . '.tt'; 79 79 $c->stash->{skip_wrapper} = 1; 80 80 $c->res->content_type('text/css'); -
veekun/branches/layout2/templates/wrapper.tt
r436 r449 12 12 <title>[% page_title %] - [% c.site_opts.site_title %]</title> 13 13 <link rel="shortcut icon" type="image/png" href="/images/favicon.png"/> 14 <link rel="stylesheet" type="text/css" href="/style/ global"/>14 <link rel="stylesheet" type="text/css" href="/style/fluff/brown/global"/> 15 15 [% FOREACH css IN extra_css %] 16 <link rel="stylesheet" type="text/css" href="/style/ [% css %]"/>16 <link rel="stylesheet" type="text/css" href="/style/fluff/brown/[% css %]"/> 17 17 [% END %] 18 18 [% extra_headers.join("\n") %]
