-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathphidx.ezt
176 lines (175 loc) · 4.02 KB
/
phidx.ezt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
<html>
<head>
<title>Photo Index[is mode "file"] Image[end] - [path][if-any slideshow_mode] (Slideshow)[end]</title>
<style>
body {
background: white;
}
img {
border: 10px;
vertical-align: middle;
}
h1, h2, p, li {
font-family: verdana, arial, helvetica, sans-serif;
color: black;
}
h1 {
font-size: 24px;
font-weight: bold;
font-style: normal;
}
h2 {
font-size: 18px;
font-weight: bold;
font-style: italic;
}
p, li {
font-size: 11px;
font-weight: normal;
font-style: normal;
}
#directory {
margin: 0 0.25in;
padding: 0.125in 0.25in;
}
#directory a {
color: blue;
text-decoration: none;
}
#directory a:hover {
background: yellow;
}
#thumbnails {
padding: 20px 0;
}
#thumbnails a:hover {
background: none;
}
#archives, #settings {
clear: both;
}
.thumbnail {
width: [thumbnail_size]px;
height: [thumbnail_size]px;
margin: 2px;
text-align: center;
float: left;
}
.itemup {
background: url('/icons/small/back.gif') no-repeat;
font-family: times new roman, times, serif;
font-size: 16px;
font-style: italic;
padding-left: 20px;
margin-top: 0;
margin-bottom: 0;
}
.itemdir {
background: url('/icons/small/dir.gif') no-repeat;
font-family: times new roman, times, serif;
font-size: 16px;
padding-left: 20px;
margin-top: 0;
margin-bottom: 0;
}
.itemfile {
background: url('/icons/small/image2.gif') no-repeat;
font-family: times new roman, times, serif;
font-size: 16px;
padding-left: 20px;
margin-top: 0;
margin-bottom: 0;
}
</style>
</head>
<body>
[is mode "file"]
<div style="text-align: center">
<p>[if-any slideshow_mode]
<a href="[up_href]">
<img src="/icons/alert.red.gif" title="Stop Slideshow"/> Stop Slideshow</a>
[else]
<a href="[prev_href]">
<img src="/icons/left.gif" title="Previous"/></a>
<a href="[rotate_left_href]">
<img src="/icons/forward.gif" title="Rotate Left"/></a>
<a href="[up_href]">
<img src="/icons/up.gif" title="Directory Listing"/></a>
<a href="[rotate_right_href]">
<img src="/icons/back.gif" title="Rotate Right"/></a>
<a href="[next_href]">
<img src="/icons/right.gif" title="Next"/></a>
[if-any slideshow_href]
<a href="[slideshow_href]">
<img src="/icons/movie.gif" title="Slideshow"/></a>
[end]
[end]
</p>
<a href="[image_full_href]"><img src="[image_href]"/></a>
</div>
[else]
<h1>Photo Index[if-any album]: [album][end][if-any path]: [path][end]</h1>
<p>
[for settings]
[settings.description] is set to <strong>[settings.value]</strong>.<br/>
[end]
[if-any archive_href]
Click <a href="[archive_href]">here</a> to download an archive of all of these images.<br/>
[end]
</p>
<div id="directory">
[if-any up_href]
<p class="itemup"><a href="[up_href]">[[]PARENT DIRECTORY]</a></p>
[end]
[for subdirs]
<p class="itemdir"><a href="[subdirs.href]">[subdirs.name]</a></p>
[end]
[if-any images]
[if-any thumbnails]<div id="thumbnails">[end]
[for images]
[if-any thumbnails]
<div class="thumbnail"><a href="[images.href]"><img src="[images.thumbnail_href]"/></a></div>
[else]
<p class="itemfile"><a href="[images.href]">[images.name]</a></p>
[end]
[end]
[if-any thumbnails]</div>[end]
[end]
</div>
[if-any archive_form_href]
<div id="archives">
<h2>Download These Images:</h2>
<form method="get" action="[archive_form_href]">
<p>Archive password:
<input type="text" name="a" value="" />
<input type="submit" value="Download" />
</p>
</form>
</div>
[end]
<div id="settings">
<h2>Change Your Settings:</h2>
<form method="get" action="[settings_form_href]">
[for settings]
<p>
[settings.description]:
[for settings.options]
<input type="radio" name="[settings.name]" value="[settings.options.value]"
[is settings.options.value settings.value] checked[end]/>
[settings.options.name]
[end]
</p>
[end]
<p>
<input type="submit" value="Change settings"/>
</p>
</form>
</div>
<hr/>
[end]
<p><i><a href="http://phidx.googlecode.com/">phidx</a> version [version]
<br/>
<i>Current time: [localtime]</i>
</p>
</body>
</html>