1 |
<h1><?php echo $sg->translator->_g("Edit Image") ?></h1> |
1 |
<h1><?php echo $sg->translator->_g("Edit Image") ?></h1> |
2 |
|
2 |
|
3 |
<form action="<?php echo $_SERVER['PHP_SELF'] ?>" method="post"> |
3 |
<form action="<?php echo $_SERVER['PHP_SELF'] ?>" method="post"> |
4 |
<input type="hidden" name="action" value="saveimage" /> |
4 |
<input type="hidden" name="action" value="saveimage" /> |
5 |
<input type="hidden" name="gallery" value="<?php echo $sg->gallery->idEntities() ?>" /> |
5 |
<input type="hidden" name="gallery" value="<?php echo $sg->gallery->idEntities() ?>" /> |
6 |
<input type="hidden" name="image" value="<?php echo $sg->image->idEntities() ?>" /> |
6 |
<input type="hidden" name="image" value="<?php echo $sg->image->idEntities() ?>" /> |
7 |
<input type="hidden" name="sgThumbnail" value="<?php echo $sg->image->thumbnail ?>" /> |
7 |
<input type="hidden" name="sgThumbnail" value="<?php echo $sg->image->thumbnail ?>" /> |
8 |
<input type="hidden" name="sgCategories" value="<?php echo $sg->image->categories ?>" /> |
8 |
<input type="hidden" name="sgCategories" value="<?php echo $sg->image->categories ?>" /> |
9 |
<table class="formTable"> |
9 |
<table class="formTable"> |
10 |
<tr> |
10 |
<tr> |
11 |
<td><?php echo $sg->translator->_g("Image") ?></td> |
11 |
<td><?php echo $sg->translator->_g("Image") ?></td> |
12 |
<td><div class="inputbox sgImageInput"><?php echo $sg->image->thumbnailHTML() ?></div></td> |
12 |
<td><div class="inputbox sgImageInput"><?php echo $sg->image->thumbnailHTML() ?></div></td> |
13 |
</tr> |
13 |
</tr> |
14 |
<tr> |
14 |
<tr> |
15 |
<td><?php echo $sg->translator->_g("Image name") ?></td> |
15 |
<td><?php echo $sg->translator->_g("Image name") ?></td> |
16 |
<td><input type="text" name="sgImageName" value="<?php echo $sg->image->name ?>" size="40" /></td> |
16 |
<td><input type="text" name="sgImageName" value="<?php echo $sg->image->name ?>" size="40" /></td> |
17 |
</tr> |
17 |
</tr> |
18 |
<tr> |
18 |
<tr> |
19 |
<td><?php echo $sg->translator->_g("Artist name") ?></td> |
19 |
<td><?php echo $sg->translator->_g("Artist name") ?></td> |
20 |
<td><input type="text" name="sgArtistName" value="<?php echo $sg->image->artist ?>" size="40" /></td> |
20 |
<td><input type="text" name="sgArtistName" value="<?php echo $sg->image->artist ?>" size="40" /></td> |
21 |
</tr> |
21 |
</tr> |
22 |
<tr> |
22 |
<tr> |
23 |
<td><?php echo $sg->translator->_g("Email") ?></td> |
23 |
<td><?php echo $sg->translator->_g("Email") ?></td> |
24 |
<td><input type="text" name="sgArtistEmail" value="<?php echo $sg->image->email ?>" size="40" /></td> |
24 |
<td><input type="text" name="sgArtistEmail" value="<?php echo $sg->image->email ?>" size="40" /></td> |
25 |
</tr> |
25 |
</tr> |
26 |
<tr> |
26 |
<tr> |
27 |
<td><?php echo $sg->translator->_g("Location") ?></td> |
27 |
<td><?php echo $sg->translator->_g("Location") ?></td> |
28 |
<td><input type="text" name="sgLocation" value="<?php echo $sg->image->location ?>" size="40" /></td> |
28 |
<td><input type="text" name="sgLocation" value="<?php echo $sg->image->location ?>" size="40" /></td> |
29 |
</tr> |
29 |
</tr> |
30 |
<tr> |
30 |
<tr> |
31 |
<td><?php echo $sg->translator->_g("Date") ?></td> |
31 |
<td><?php echo $sg->translator->_g("Date") ?></td> |
32 |
<td><input type="text" name="sgDate" value="<?php echo $sg->image->date ?>" size="40" /></td> |
32 |
<td><input type="text" name="sgDate" value="<?php echo $sg->image->date ?>" size="40" /></td> |
33 |
</tr> |
33 |
</tr> |
34 |
<tr> |
34 |
<tr> |
35 |
<td><?php echo $sg->translator->_g("Copyright") ?></td> |
35 |
<td><?php echo $sg->translator->_g("Copyright") ?></td> |
36 |
<td><input type="text" name="sgCopyright" value="<?php echo $sg->image->copyright ?>" size="40" /></td> |
36 |
<td><input type="text" name="sgCopyright" value="<?php echo $sg->image->copyright ?>" size="40" /></td> |
37 |
</tr> |
37 |
</tr> |
38 |
<tr> |
38 |
<tr> |
39 |
<td><?php echo $sg->translator->_g("Description") ?></td> |
39 |
<td><?php echo $sg->translator->_g("Description") ?></td> |
40 |
<td><textarea name="sgImageDesc" cols="70" rows="8"><?php echo $sg->image->descriptionStripped() ?></textarea></td> |
40 |
<td><textarea name="sgImageDesc" cols="70" rows="8"><?php echo $sg->image->descriptionStripped() ?></textarea></td> |
41 |
</tr> |
41 |
</tr> |
42 |
<tr> |
42 |
<tr> |
43 |
<td><?php echo $sg->translator->_g("Camera") ?></td> |
43 |
<td><?php echo $sg->translator->_g("Camera") ?></td> |
44 |
<td><input type="text" name="sgField01" value="<?php echo $sg->image->camera ?>" size="40" /></td> |
44 |
<td><input type="text" name="sgField01" value="<?php echo $sg->image->camera ?>" size="40" /></td> |
45 |
</tr> |
45 |
</tr> |
46 |
<tr> |
46 |
<tr> |
47 |
<td><?php echo $sg->translator->_g("Lens") ?></td> |
47 |
<td><?php echo $sg->translator->_g("Lens") ?></td> |
48 |
<td><input type="text" name="sgField02" value="<?php echo $sg->image->lens ?>" size="40" /></td> |
48 |
<td><input type="text" name="sgField02" value="<?php echo $sg->image->lens ?>" size="40" /></td> |
49 |
</tr> |
49 |
</tr> |
50 |
<tr> |
50 |
<tr> |
51 |
<td><?php echo $sg->translator->_g("Film") ?></td> |
51 |
<td><?php echo $sg->translator->_g("Film") ?></td> |
52 |
<td><input type="text" name="sgField03" value="<?php echo $sg->image->film ?>" size="40" /></td> |
52 |
<td><input type="text" name="sgField03" value="<?php echo $sg->image->film ?>" size="40" /></td> |
53 |
</tr> |
53 |
</tr> |
54 |
<tr> |
54 |
<tr> |
55 |
<td><?php echo $sg->translator->_g("Darkroom manipulation") ?></td> |
55 |
<td><?php echo $sg->translator->_g("Darkroom manipulation") ?></td> |
56 |
<td><input type="text" name="sgField04" value="<?php echo $sg->image->darkroom ?>" size="40" /></td> |
56 |
<td><input type="text" name="sgField04" value="<?php echo $sg->image->darkroom ?>" size="40" /></td> |
57 |
</tr> |
57 |
</tr> |
58 |
<tr> |
58 |
<tr> |
59 |
<td><?php echo $sg->translator->_g("Digital manipulation") ?></td> |
59 |
<td><?php echo $sg->translator->_g("Digital manipulation") ?></td> |
60 |
<td><input type="text" name="sgField05" value="<?php echo $sg->image->digital ?>" size="40" /></td> |
60 |
<td><input type="text" name="sgField05" value="<?php echo $sg->image->digital ?>" size="40" /></td> |
61 |
</tr> |
61 |
</tr> |
62 |
<tr> |
62 |
<tr> |
63 |
<td></td> |
63 |
<td></td> |
64 |
<td><input type="submit" class="button" value="<?php /*"*/ echo $sg->translator->_g("Save Changes") ?>" /></td> |
64 |
<td><input type="submit" class="button" value="<?php /*"*/ echo $sg->translator->_g("Save Changes") ?>" /></td> |
65 |
</tr> |
65 |
</tr> |
66 |
</table> |
66 |
</table> |
67 |
</form> |
67 |
</form> |