0.11_19 commit
[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>
9fae8be7 31 <th bgcolor="#FFFFFF" align="left"> Image file to add: </th>
f5d30ab9
TC
32 <td bgcolor="#FFFFFF">
33 <input type="file" name="image">
34 </td>
35 </tr>
36 <tr>
9fae8be7 37 <th bgcolor="#FFFFFF" align="left"> Alt text for image: </th>
f5d30ab9
TC
38 <td bgcolor="#FFFFFF">
39 <input type="text" name="altIn">
40 </td>
41 </tr>
5c5c6eb6 42 <tr>
9fae8be7 43 <th bgcolor="#FFFFFF" align="left"> URL for image: </th>
5c5c6eb6
TC
44 <td bgcolor="#FFFFFF">
45 <input type="text" name="url" width="40">
46 </td>
47 </tr>
f5d30ab9 48 <tr>
27feb834 49 <td bgcolor="#FFFFFF" colspan="2" align="right">
f5d30ab9
TC
50 <input type="submit" name="addimg" value=" Add Image ">
51 </td>
52 </tr>
53 </table>
54 </td>
55 </tr>
56 </table>
99ef7979
TC
57</form>
58
59
60<form method="POST" action="<:script:>" enctype="multipart/form-data">
61<input type="hidden" name="level" value="<: level :>">
62<input type="hidden" name="id" value="<: article id :>">
63<input type="hidden" name="parentid" value="<: article parentid :>">
64<input type="hidden" name="imgtype" value="<: articleType :>">
f5d30ab9
TC
65 <h2>Manage Images</h2>
66
67<table border="0" cellspacing="0" cellpadding="0" bgcolor="#000000">
68 <tr>
69 <td>
27feb834
TC
70 <table cellpadding="6" border="0" cellspacing="1">
71 <tr bgcolor="#FFFFFF">
72 <th> Image</th>
73 <th> Alt Text</th>
74 <th> URL</th>
f5d30ab9 75
27feb834
TC
76 <th> Modify</th>
77 </tr>
78 <: iterator begin image :>
79 <tr bgcolor="#FFFFFF">
80 <td align="center"> <img src="/images/<: image image :>" alt="<: image alt :>"<:
81 image height :><: image width :>></td>
82 <td valign="top">
83 <input type="text" name="alt" value="<: image alt :>">
84 </td>
85 <td valign="top">
86 <input type="text" name="url" value="<: image url :>">
87 </td>
88
89 <td valign="bottom" nowrap>
90 <input type="submit" name="removeimg_<: image order :>" value="Delete" onClick="return window.alert('Remember to update the article after deletion is complete')" >
91 <:imgmove:> </td>
92 </tr>
93 <: iterator separator image :>
94 <tr bgcolor="#FFFFFF">
95 <td colspan="4">&nbsp;</td>
96 </tr>
97 <: iterator end image :>
98 <tr>
99 <th valign="top" bgcolor="#FFFFFF"> First Image Position: </th>
100 <td bgcolor="#FFFFFF"> <input type="radio" name="imagePos" value="tl"<:
101 checked tl :>> &nbsp; Top Left <br><input type="radio" name="imagePos" value="tr"
102 <: checked tr :>> &nbsp; Top Right <br><input type="radio" name="imagePos" value="bl"
103 <: checked bl :>> &nbsp; Bottom Left <br><input type="radio" name="imagePos" value="br"
104 <: checked br :>> &nbsp; Bottom Right</td>
105 <td colspan="2" align="right" valign="bottom" bgcolor="#FFFFFF">
106 <input type="submit" name="process" value="Save changes">
107 </td>
108 </table>
f5d30ab9
TC
109</td>
110</tr>
111</table>
112
113 <p>
114 <input type="submit" name="back" value=" << Back "></p>
115
116</form>
117
7063727a 118<p><font size="-1">BSE Release <:release:></font></p>
f5d30ab9
TC
119</body
120></html>