#c// ###################################################################
#c// Album Theme by David Ljung Madison
#c// Design by Dave Simmer of DaveWeb.com, modified by Dave Madison
#c// -- Auto generated by simmer_theme v3.10
#c// -- From: http://MarginalHacks.com/Hacks/album/
#c// ###################################################################
#c//
<:
# Path setting - this is the path to the images
$PATH = Theme_URL();
# Font/color settings for the document
$TITLE_FONT = "size='5' color='#452245' face='Times New Roman,Georgia,Times'";
$MAIN_FONT = "face='Times New Roman,Georgia,Times'";
$CREDIT_FONT = "size='-1' face='Verdana' color='#452245'";
$BODY = "background='$PATH/bkgrnd.gif' link='#452245' alink='#452245' vlink='#452245' text='#452245'";
$START_TITLE = "";
$START_MAIN = "";
$START_CREDIT = "";
$END_FONT = "";
$SLIDESHOW = Option('slideshow');
# Icons/graphics
sub Bar {
my ($colspan) = @_;
return unless @Bar_M;
:>
<: foreach my $bar ( \@Bar_L, \@Bar_ML, \@Bar_M, \@Bar_MR, \@Bar_R ) {
next unless @$bar;
my $width = $bar->[1] =~ /100%/ ? "" : " width='$bar->[1]'";
print "\t\t\t\t\t\t\t| ";
print Image_Array(@$bar);
print " | \n";
} :>
|
<:
}
# Thumbnail border
@Over_TL = ("$PATH/Over_TL.png", 120, 73);
@Over_T = ("$PATH/Over_T.png", 2, 73);
@Over_TR = ("$PATH/Over_TR.png", 2, 73);
@Over_R = ("$PATH/Over_R.png", 2, 2);
@Over_BR = ("$PATH/Over_BR.png", 2, 2);
@Over_B = ("$PATH/Over_B.png", 2, 2);
@Over_BL = ("$PATH/Over_BL.png", 120, 2);
@Over_L = ("$PATH/Over_L.png", 120, 2);
@Border = (\@Over_TL,\@Over_T,\@Over_TR,\@Over_R,\@Over_BR,\@Over_B,\@Over_BL,\@Over_L) unless @Border;
# Overlay padding
push(@Over_T, 14);
push(@Over_B, 2);
push(@Over_L, 32);
push(@Over_R, 2);
:>//
#c//
#c// ###################################################################
#c// Everything beyond here is the same for every DaveWeb theme..
#c// ###################################################################
<: Meta() :>
<:=Trans('Image:') :> <:=Name(This_Image) :>
<:= $CSS :>
<: if ($SLIDESHOW) { :>
<: unless ($CSS) { :>
<: } :>
<: } :>
<:Body_Tag():> >
<:=Image_Array("$PATH/Null.gif",1,10):>
<: if ($Icon) {
print Image_Ref($Icon,"align='middle'");
print "\n \n";
} _:>
<:=$START_TITLE:>
<:= Parent_Albums(':'); :>
<:=$END_FONT:>
|
<: if ($SLIDESHOW) { :>
|
<: } :>
|
<: Bar($SLIDESHOW ? 3 : 2) :>
#c//
#c// Prev/caption/next
#c//
|
<: if (my $prev = Prev(This_Image, $opt->{image_loop})) { _:>
<:=$START_MAIN:>
<:=Get($prev,'href','image_page','image_page'):>
<:= $Prev ? "".Image_Ref($Prev)."" : "(".Trans('Prev').") "; :>
<:=Pretty(Name($prev),1):>
<:=$END_FONT:>
<: } _:>
|
<:=$START_TITLE:>
<:=Get(This_Image,'href','image'):>
<:=Pretty(Name(This_Image),1,1):><:=$END_FONT:>
<:=$START_MAIN:>
<:=Caption(This_Image):><:=$END_FONT:>
|
<: if (my $next = Next(This_Image, $opt->{image_loop})) { _:>
<:=$START_MAIN:>
<:=Get($next,'href','image_page','image_page'):>
<:= "".Image_Ref($Next)."" if $Next :>
<:=Pretty(Name($next),1):>
<:= " (".Trans('Next').")" unless $Next; :>
<:=$END_FONT:>
<: } _:>
|
#c//
#c// The image
#c//
|
<: PickOverlay(This_Image, 'full') if @Overlays :>
<: Border(This_Image,'full','image', @Border) :>
|
| <:=Image_Array("$PATH/Null.gif",20,20):> |
<: Bar(1) :>
|
<:=$START_CREDIT:><: Credit() :> on <:=scalar localtime:><:=$END_FONT:>
|
|