Should now look for functions named bpgallery_${BPGALLERY_THEME}_{head,tail,thumbsline,stylesheet} and use them for generating the index.html and stylesheet files. If the functions don't exist it defaults to the theme called default, which is contained in the script.
Functions now used for printing parts of the index.html file and the stylesheet. These need to be extended to check for the presence of a BPGALLERY_THEME variable and automagically load the associated theme file from /etc/bpgallery.sh/themes/ or /usr/local/etc/bpgallery.sh/themes/ or ~/.bpgallery.themes/
Brett Parker [Tue, 25 Jan 2005 22:37:04 +0000 (22:37 +0000)]
Make more configurable for different paths for external programs
* Make the find command be built once and used several times
* add XARGSCOMMAND and a sensible default
* add ECHOCOMMAND and a sensible default
* sort the images in (general) numeric order before writing the HTML page