Rev Author Line No. Line
228 kaklik 1 <h1><?php echo $sg->translator->_g("New Image") ?></h1>
2  
3 <?php if($sg->gallery->hasChildGalleries()) echo "<p>".$sg->translator->_g("This image will not be visible because this gallery is not an album: it contains child galleries.")."</p>"; ?>
4  
5 <form action="<?php echo $_SERVER['PHP_SELF'] ?>" enctype="multipart/form-data" method="post">
6 <input type="hidden" name="action" value="addimage" />
7 <input type="hidden" name="gallery" value="<?php echo $sg->gallery->idEntities() ?>" />
8  
9  
10 <table class="formTable">
11 <tr>
12 <td><input type="radio" class="radio" id="sgLocationChoiceSingle" name="sgLocationChoice" value="single" checked="true" /></td>
13 <td colspan="2"><label for="sgLocationChoiceSingle"><?php echo $sg->translator->_g("Upload single file") ?></label></td>
14 <tr>
15 <tr>
16 <td></td>
17 <td><?php echo $sg->translator->_g("Image file to upload:") ?></td>
18 <td><input type="file" name="sgImageFile" value="" size="40" /></td>
19 </tr>
20 <tr>
21 <td></td>
22 <td><?php echo $sg->translator->_g("Identifier:") ?></td>
23 <td>
24 <label for="sgNameChoiceSame"><input type="radio" class="radio" id="sgNameChoiceSame" name="sgNameChoice" value="same" checked="true" /> <?php echo $sg->translator->_g("Use filename of uploaded file.") ?></label><br />
25 <label for="sgNameChoiceNew"><input type="radio" class="radio" id="sgNameChoiceNew" name="sgNameChoice" value="new" /> <?php echo $sg->translator->_g("Specify different filename:") ?></label><br />
26 <input type="text" name="sgFileName" value="" size="40" /></td>
27 </tr>
28 <tr>
29 <td><input type="radio" class="radio" id="sgLocationChoiceMulti" name="sgLocationChoice" value="multi" /></td>
30 <td colspan="2"><label for="sgLocationChoiceMulti"><?php echo $sg->translator->_g("Upload multiple files") ?></label></td>
31 <tr>
32 <tr>
33 <td></td>
34 <td><?php echo $sg->translator->_g("ZIP file to upload:") ?></td>
35 <td><input type="file" name="sgArchiveFile" value="" size="40" /></td>
36 </tr>
37 <tr>
38 <td><input type="radio" class="radio" id="sgLocationChoiceRemote" name="sgLocationChoice" value="remote"></td>
39 <td colspan="2"><label for="sgLocationChoiceRemote"><?php echo $sg->translator->_g("Add remote file") ?></label></td>
40 <tr>
41 <tr>
42 <td></td>
43 <td><?php echo $sg->translator->_g("URL of image:") ?></td>
44 <td><input type="text" name="sgImageURL" value="http://" size="40" /></td>
45 </tr>
46 <tr>
47 <td colspan="2"></td>
48 <td><input type="submit" class="button" value="<?php /*"*/ echo $sg->translator->_g("Create"); ?>" /></td>
49 </tr>
50 </table>
51  
52 </form>