summaryrefslogtreecommitdiff
path: root/tpl/image/upload.php
diff options
context:
space:
mode:
Diffstat (limited to 'tpl/image/upload.php')
-rw-r--r--tpl/image/upload.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/tpl/image/upload.php b/tpl/image/upload.php
new file mode 100644
index 0000000..6e9ee55
--- /dev/null
+++ b/tpl/image/upload.php
@@ -0,0 +1,15 @@
+<?php
+$title = "Upload an image";
+
+if ($user['id'] == 0) $message = "You should create an account so that you can track images you have uploaded.";
+
+$form_message = "A $miniature_width"."px preview will be created.";
+$need_file = true;
+$fields = array(
+ array("label" => "Image file : ", "type" => "file", "name" => "image")
+ );
+$validate = "Upload";
+
+require("tpl/general/form.php");
+
+