File: graphicsupload.html

package info (click to toggle)
webcit 902-dfsg-4
  • links: PTS, VCS
  • area: main
  • in suites: stretch
  • size: 8,888 kB
  • ctags: 3,854
  • sloc: ansic: 34,145; sh: 4,455; makefile: 352; xml: 91; sed: 9
file content (22 lines) | stat: -rw-r--r-- 823 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
<?=("head")>
<?=("box_begin_1")><?_("Image upload")> <?BSTR("__PICDESC")><?=("box_begin_2")>
<form enctype="multipart/form-data" action='<?BSTR("__UPLURL")>' method="post" name="graphicsupload">

<input type="hidden" name="nonce" value="<?NONCE>">
<input type="hidden" name="which_room" value="<?THISROOM:NAME("U")>"><?_("You can upload an image directly from your computer")>
<br><br>
<?_("Please select a file to upload:")>
<input type="file" name="filename" size="35">

<div class="uploadpic"><img src="image?name=<?BSTR("__WHICHPIC")>"></div>

<div class="buttons">
  <input type="submit" name="upload_button" value="<?_("Upload")>">
  &nbsp;
  <input type="reset" value="<?_("Reset form")>" >
  &nbsp;
  <input type="submit" name="cancel_button" value="<?_("Cancel")>">
</div>
</form>
<?=("box_end")>
<?=("trailing")>