0,0 → 1,57 |
<h1><?php echo $sg->translator->_g("Edit Gallery") ?></h1> |
|
<form action="<?php echo $_SERVER['PHP_SELF'] ?>" method="post"> |
<input type="hidden" name="action" value="savegallery" /> |
<input type="hidden" name="gallery" value="<?php echo $sg->gallery->idEntities() ?>" /> |
<input type="hidden" name="sgCategories" value="<?php echo $sg->gallery->categories ?>" /> |
|
|
<table class="formTable"> |
<tr> |
<td><?php echo $sg->translator->_g("Thumbnail") ?></td> |
<td><div class="inputbox sgImageInput"> |
<?php |
if($sg->gallery->filename == "__random__") |
echo nl2br($sg->translator->_g("Random\nthumbnail")); |
else |
echo $sg->gallery->thumbnailHTML(); |
?> |
<br /> |
<a href="<?php echo $sg->formatAdminURL("changethumbnail",$sg->gallery->idEncoded()) ?>"><?php echo $sg->translator->_g("thumbnail|Change...") ?></a> |
</div></td> |
</tr> |
<tr> |
<td><?php echo $sg->translator->_g("Gallery name") ?></td> |
<td><input type="text" name="sgGalleryName" value="<?php echo $sg->gallery->name ?>" size="40" /></td> |
</tr> |
<tr> |
<td><?php echo $sg->translator->_g("Artist name") ?></td> |
<td><input type="text" name="sgArtistName" value="<?php echo $sg->gallery->artist ?>" size="40" /></td> |
</tr> |
<tr> |
<td><?php echo $sg->translator->_g("Email") ?></td> |
<td><input type="text" name="sgArtistEmail" value="<?php echo $sg->gallery->email ?>" size="40" /></td> |
</tr> |
<tr> |
<td><?php echo $sg->translator->_g("Date") ?></td> |
<td><input type="text" name="sgDate" value="<?php echo $sg->gallery->date ?>" size="40" /></td> |
</tr> |
<tr> |
<td><?php echo $sg->translator->_g("Copyright") ?></td> |
<td><input type="text" name="sgCopyright" value="<?php echo $sg->gallery->copyright ?>" size="40" /></td> |
</tr> |
<tr> |
<td><?php echo $sg->translator->_g("Summary") ?></td> |
<td><textarea name="sgSummary" cols="70" rows="3"><?php echo $sg->gallery->summaryStripped() ?></textarea></td> |
</tr> |
<tr> |
<td><?php echo $sg->translator->_g("Description") ?></td> |
<td><textarea name="sgGalleryDesc" cols="70" rows="8"><?php echo $sg->gallery->descriptionStripped() ?></textarea></td> |
</tr> |
<tr> |
<td></td> |
<td><input type="submit" class="button" value="<?php /*"*/ echo $sg->translator->_g("Save Changes") ?>" /></td> |
</tr> |
</table> |
|
</form> |