jan
/
sjqg
Archived
1
0
Fork 0
Commit Graph

2 Commits

Author SHA1 Message Date
Jan Dittberner ded7232146 move more theme related functionality into the theme class (addresses #46) 2009-07-11 15:13:40 +00:00
Jan Dittberner 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