Tim Almdal
4d4e81ca26
Create a helper to load the theme information from theme.info
2009-11-18 08:38:11 -08:00
Bharat Mediratta
b8e94302bd
Tweak load_themes() to match exactly "/admin" or the "/admin/" prefix,
...
but not just the "/admin" prefix because that breaks if you add an
image like "admin_photostream".
2009-11-17 15:36:02 -08:00
Bharat Mediratta
96cbfe23a6
Respect the "theme" variable if we're an admin. This requires us to
...
change the order of operations in gallery_event::gallery_ready() so
that we load users before themes. Fixes ticket #836 .
2009-11-03 14:03:36 -08:00
Bharat Mediratta
91e9df7834
Update themes::load_theme() to work with mod_rewrite's short urls.
2009-10-24 10:37:12 -07:00
Tim Almdal
68411cc903
Allow themes to override event handlers. In gallery::ready() grab the server
...
PATH_INFO and pass it to the theme::load_themes method. If it starts with
\"/admin\", then set the theme to the active admin theme, otherwise set it to
the active site theme. Fixes ticket #841 : Themes cannot overload event classes."
2009-10-23 17:58:55 -07:00
Tim Almdal
2634a683b3
Revert "Create a gallery::plugin_path which returns the appropriate path to the module or theme. This checks for the existence of an application/modules or application/themes first."
...
This reverts commit e1e1461a77caf5bff457927f098366497de6ffff.
2009-10-04 10:12:22 -07:00
Tim Almdal
aa0529d557
Create a gallery::plugin_path which returns the appropriate path to the module or theme. This checks for the existence of an application/modules or application/themes first.
2009-10-04 10:12:21 -07:00
Chad Kieffer
3e6ba7acc3
Renamed most, if not all css selectors from gName to g-name. Moved a few shared images from wind to lib. Deleted unused images in the admin_wind. This will likely break a few ajax features.
2009-10-04 00:27:22 -06:00
Bharat Mediratta
b9b68e0952
Add a new "show credits" check box in the theme options so that you
...
can disable any module credits if you want. Update the theme to obey
it.
2009-06-23 16:05:32 -07:00
Bharat Mediratta
0b23433d94
Rename theme_details to theme_options. These changes got left out of
...
68fd196d66 leaving us in a temporarily
broken state.
2009-06-11 12:50:50 -07:00
Bharat Mediratta
88a3d43ba9
Update all references to the core application to now point to the
...
gallery module. This type of mass update is prone to some small bugs.
2009-05-27 16:17:29 -07:00
Bharat Mediratta
28b41056e3
Restructure things so that the application is now just another module.
...
Kohana makes this type of transition fairly straightforward in that
all controllers/helpers/etc are still located in the cascading
filesystem without any extra effort, except that I've temporarily
added a hack to force modules/gallery into the module path.
Rename what's left of "core" to be "application" so that it conforms
more closely to the Kohana standard (basically, just
application/config/config.php which is the minimal thing that you need
in the application directory)
There's still considerable work left to be done here.
2009-05-27 15:07:27 -07:00