050caa5830
allow embedded use ( fixes #56 )
2009-07-12 16:11:02 +00:00
8f40d4554a
make theme and javascript paths configurable ( fixes #49 )
2009-07-11 20:48:25 +00:00
5be4c55b97
add support for a theme request parameter ( fixes #51 )
...
* includes/galleryfunctions.php:
- check for request parameter theme and whether it matches an
allowed directory name
* includes/theme.class.php:
- die if the theme cannot be initialized properly
2009-07-11 15:13:48 +00:00
ded7232146
move more theme related functionality into the theme class (addresses #46 )
2009-07-11 15:13:40 +00:00
fcea03a800
make themes configurable ( fixes #50 )
...
* gallery.ini:
- remove theme specific configuration
- add default theme name
* includes/galleryfunctions.php:
- implement theme initialization
- configure common parameters from theme
* includes/theme.class.php:
- implement a simple theme class
* index.php:
- assign $gallery to template
* themes/default_horizontal/theme.ini:
- add theme specific configuration
* themes/default_horizontal/theme.php:
- use $content['gallery'] instead of undefined $gallery
2009-07-11 11:53:43 +00:00