Initial revision
[bse.git] / site / templates / admin / article_img.tmpl
CommitLineData
f5d30ab9
TC
1<html>
2<head>
3
4 <title>Administration - <: articleType :> Image Wizard</title>
5
6 <link rel="stylesheet" type="text/css" href="/css/admin.css">
7
8</head>
9
10<body>
11
12 <input type="button" onclick="history.go(0);" value=" Refresh ">
13
14 <h1><: articleType :> Image Wizard</h1>
15
16 <h2>Add a new image</h2>
17
18<:message:><p>
19
20<form method="POST" action="<:script:>" enctype="multipart/form-data">
21
22<input type="hidden" name="level" value="<: level :>">
23<input type="hidden" name="id" value="<: article id :>">
24<input type="hidden" name="parentid" value="<: article parentid :>">
25<input type="hidden" name="imgtype" value="<: articleType :>">
26 <table border="0" cellspacing="0" cellpadding="0" bgcolor="#000000">
27 <tr>
28 <td>
29 <table cellpadding="6" border="0" cellspacing="1">
30 <tr>
31 <th> Image file to add: </th>
32 <td bgcolor="#FFFFFF">
33 <input type="file" name="image">
34 </td>
35 </tr>
36 <tr>
37 <th> Alt text for image: </th>
38 <td bgcolor="#FFFFFF">
39 <input type="text" name="altIn">
40 </td>
41 </tr>
42 <tr>
43 <th>&nbsp; </th>
44 <td align="right" bgcolor="#FFFFFF">
45 <input type="submit" name="addimg" value=" Add Image ">
46 </td>
47 </tr>
48 </table>
49 </td>
50 </tr>
51 </table>
52 <h2>Manage Images</h2>
53
54<table border="0" cellspacing="0" cellpadding="0" bgcolor="#000000">
55 <tr>
56 <td>
57 <table cellpadding="6" border="0" cellspacing="1">
58 <tr>
59 <th>
60 Image</th>
61 <th>
62 Alt Text</th>
63 <th>
64 Display Order</th>
65 <th>
66 Remove ?</th></tr>
67
68<: iterator begin image :>
69 <tr bgcolor="#FFFFFF">
70 <td align="center"> <img src="/images/<: image image :>" alt="<: image alt :>"<:
71 image height :><: image width :>></td>
72 <td valign="top">
73 <input type="text" name="alt" value="<: image alt :>"></td>
74 <td valign="top"><:imgmove:> </td>
75 <td valign="bottom">
76 <input type="submit" name="removeimg_<: image order :>" value="Remove"></td></tr>
77<: iterator separator image :>
78 <tr bgcolor="#FFFFFF">
79 <td colspan="4">&nbsp;</td>
80 </tr>
81<: iterator end image :>
82
83 <tr>
84 <th align="right" valign="top">
85 First Image Position: </td>
86 <td bgcolor="#FFFFFF"> <input type="radio" name="imagePos" value="tl"<: checked
87 tl :>> &nbsp; Top Left <br>
88 <input type="radio" name="imagePos" value="tr"<: checked tr :>> &nbsp; Top Right
89 <br>
90 <input type="radio" name="imagePos" value="bl"<: checked bl :>> &nbsp; Bottom Left
91 <br>
92 <input type="radio" name="imagePos" value="br"<: checked br :>> &nbsp; Bottom Right</td>
93 <td colspan="2" align="right" valign="bottom" bgcolor="#FFFFFF">
94 <input type="submit" name="process" value=" Process Images "></td>
95
96 </table>
97</td>
98</tr>
99</table>
100
101 <p>
102 <input type="submit" name="back" value=" << Back "></p>
103
104</form>
105
106</body
107></html>