]> git.imager.perl.org - bse.git/blame_incremental - site/templates/admin/article_img.tmpl
hopefully working commit
[bse.git] / site / templates / admin / article_img.tmpl
... / ...
CommitLineData
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> URL for image: </th>
44 <td bgcolor="#FFFFFF">
45 <input type="text" name="url" width="40">
46 </td>
47 </tr>
48 <tr>
49 <th>&nbsp; </th>
50 <td align="right" bgcolor="#FFFFFF">
51 <input type="submit" name="addimg" value=" Add Image ">
52 </td>
53 </tr>
54 </table>
55 </td>
56 </tr>
57 </table>
58</form>
59
60
61<form method="POST" action="<:script:>" enctype="multipart/form-data">
62<input type="hidden" name="level" value="<: level :>">
63<input type="hidden" name="id" value="<: article id :>">
64<input type="hidden" name="parentid" value="<: article parentid :>">
65<input type="hidden" name="imgtype" value="<: articleType :>">
66 <h2>Manage Images</h2>
67
68<table border="0" cellspacing="0" cellpadding="0" bgcolor="#000000">
69 <tr>
70 <td>
71 <table cellpadding="6" border="0" cellspacing="1">
72 <tr>
73 <th>
74 Image</th>
75 <th>
76 Alt Text</th>
77 <th>
78 URL</th>
79 <th>
80 Display Order</th>
81 <th>
82 Remove ?</th></tr>
83
84<: iterator begin image :>
85 <tr bgcolor="#FFFFFF">
86 <td align="center"> <img src="/images/<: image image :>" alt="<: image alt :>"<:
87 image height :><: image width :>></td>
88 <td valign="top">
89 <input type="text" name="alt" value="<: image alt :>"></td>
90 <td valign="top">
91 <input type="text" name="url" value="<: image url :>"></td>
92 <td valign="top"><:imgmove:> </td>
93 <td valign="bottom">
94 <input type="submit" name="removeimg_<: image order :>" value="Remove" onClick="return window.alert('Remember to update the article after deletion is complete')" ></td></tr>
95<: iterator separator image :>
96 <tr bgcolor="#FFFFFF">
97 <td colspan="4">&nbsp;</td>
98 </tr>
99<: iterator end image :>
100
101 <tr>
102 <th align="right" valign="top">
103 First Image Position: </th>
104 <td bgcolor="#FFFFFF"> <input type="radio" name="imagePos" value="tl"<: checked
105 tl :>> &nbsp; Top Left <br>
106 <input type="radio" name="imagePos" value="tr"<: checked tr :>> &nbsp; Top Right
107 <br>
108 <input type="radio" name="imagePos" value="bl"<: checked bl :>> &nbsp; Bottom Left
109 <br>
110 <input type="radio" name="imagePos" value="br"<: checked br :>> &nbsp; Bottom Right</td>
111 <td colspan="2" align="right" valign="bottom" bgcolor="#FFFFFF">
112 <input type="submit" name="process" value=" Process Images "></td>
113
114 </table>
115</td>
116</tr>
117</table>
118
119 <p>
120 <input type="submit" name="back" value=" << Back "></p>
121
122</form>
123
124<p><font size="-1">BSE Release <:release:></font></p>
125</body
126></html>