# Album HTML ::run test ! -d scratch ::run mkdir scratch ::sleep 1 :{write scratch/photopubrc dir scratch suffix .jpg dir scratch filename info makealbum all standard scratch/album.thtml :} :{write scratch/info group 1-5 foo :} :{write scratch/album.thtml $description :} :{init :{albumhtml album=/all style=/standard foo :} :} ::sleep 1 :{write scratch/info group 1-5 foo group 6-10 bar :} :{write scratch/album.thtml $description Previous Next :} :{init :{albumhtml album=/all style=/standard foo Next :} :} :{init :{albumhtml album=/all style=/standard search=bar bar :} :} ::sleep 1 :{write scratch/album.thtml $albumtitle Album $album :} :{init :{albumhtml album=/all style=/standard Album /all :} :} ::sleep 1 :{write scratch/photopubrc dir scratch suffix .jpg dir scratch filename info makealbum all standard scratch/album.thtml title The whole lot style /standard :} :{init :{albumhtml album=/all The whole lot :} :} :{write scratch/album.thtml $description :} :{init :{albumhtml album=/all bar foo :} :} # Errors ::sleep 1 :{write scratch/photopubrc dir scratch suffix .jpg dir scratch filename info makealbum all standard scratch/album.thtml :} :{init :{albumhtml album=/none style=/standard :!userinput That album (/none) contains no entries - perhaps you specified an incorrect album? :} :} ::sleep 1 ::run rm scratch/album.thtml :{init :{albumhtml album=/all style=/foo :!userinput Album style /foo not defined :} :} :{init :{albumhtml album=/all style=/standard :!config Couldn't stat $basedir/scratch/album.thtml :} :} :{init :{albumhtml album=/all :!userinput style not given and no default defined :} :} :{init :{albumhtml style=/standard :!userinput album not given and no default defined :} :} ::run rm scratch/* ::run rmdir scratch