summaryrefslogtreecommitdiff
path: root/tpl/image/upload.php
blob: 71283cf8a215449295e6d81d12f1c061bc3d4e61 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
<?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"),
	array("label" => "Image title (optionnal) : ", "type" => "text", "name" => "name")
	);
$validate = "Upload";

require("tpl/general/form.php");