Rev Author Line No. Line
228 kaklik 1 <h1><?php echo $sg->translator->_g("Edit Image") ?></h1>
2  
3 <form action="<?php echo $_SERVER['PHP_SELF'] ?>" method="post">
4 <input type="hidden" name="action" value="saveimage" />
5 <input type="hidden" name="gallery" value="<?php echo $sg->gallery->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 ?>" />
8 <input type="hidden" name="sgCategories" value="<?php echo $sg->image->categories ?>" />
9 <table class="formTable">
10 <tr>
11 <td><?php echo $sg->translator->_g("Image") ?></td>
12 <td><div class="inputbox sgImageInput"><?php echo $sg->image->thumbnailHTML() ?></div></td>
13 </tr>
14 <tr>
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>
17 </tr>
18 <tr>
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>
21 </tr>
22 <tr>
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>
25 </tr>
26 <tr>
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>
29 </tr>
30 <tr>
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>
33 </tr>
34 <tr>
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>
37 </tr>
38 <tr>
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>
41 </tr>
42 <tr>
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>
45 </tr>
46 <tr>
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>
49 </tr>
50 <tr>
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>
53 </tr>
54 <tr>
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>
57 </tr>
58 <tr>
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>
61 </tr>
62 <tr>
63 <td></td>
64 <td><input type="submit" class="button" value="<?php /*"*/ echo $sg->translator->_g("Save Changes") ?>" /></td>
65 </tr>
66 </table>
67 </form>