Archived
1
0
Fork 0

make theme and javascript paths configurable (fixes #49)

This commit is contained in:
Jan Dittberner 2009-07-11 20:48:25 +00:00
parent 631ec74b2b
commit 8f40d4554a
4 changed files with 12 additions and 9 deletions

View file

@ -49,10 +49,10 @@ $gallery = getCurrentGallery();
*/
$thumbinfo = getThumbNailInfo($gallery);
$scripts = array('js/jquery.js',
'js/jquery.colorBlend.js',
'js/jquery.lightbox.js',
'scripts/ourhandlers.js');
$scripts = array($configuration['basepath'] . 'js/jquery.js',
$configuration['basepath'] . 'js/jquery.colorBlend.js',
$configuration['basepath'] . 'js/jquery.lightbox.js',
$configuration['basepath'] . 'scripts/ourhandlers.js');
$styles = array();
$template = $theme->getTemplate();