summaryrefslogtreecommitdiff
path: root/modules/slideshow
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-11-28 23:25:07 -0800
committerBharat Mediratta <bharat@menalto.com>2009-11-28 23:25:07 -0800
commitf3981bbaa9c9e72d147e164a3decea411b6dd54c (patch)
tree137e3d802685508bd44908d8cfa650a298d82a5f /modules/slideshow
parentb677778253cdea89e19befbf04441a741010bfc2 (diff)
Rework the theme loading code to allow themes to be treated as Gallery
modules, and have an admin subdirectory that is treated like a Kohana module (as distinct from a Gallery module). The main advantage of creating the separate admin subdirectory is that we will not load an admin theme and a site theme at the same time. We'll only load a few specialized bits of the site theme while the admin theme is active. Concrete examples. A site theme named "xxx": - will receive events at themes/xxx/helpers/xxx_event.php - will have working controllers at themes/xxx/controllers/xxx.php If theme xxx has an admin subdir, then in admin mode it: - will receive events at themes/xxx/admin/helpers/xxx_event.php - will have working controllers at themes/xxx/admin/controllers/xxx.php
Diffstat (limited to 'modules/slideshow')
0 files changed, 0 insertions, 0 deletions