blob: 31bdda7b69ad3f5353d3146fb51358a5aa4451cc (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
<?php
$title = "Upload a file";
if ($user['id'] == 0) $message = "You should create an account so that you can track files you have uploaded.";
$form_message = "If you upload an image, a $img_mini_width"."px preview will be created.";
$need_file = true;
$fields = array(
array("label" => "Image file : ", "type" => "file", "name" => "file"),
array("label" => "Image title (optionnal) : ", "type" => "text", "name" => "name")
);
$validate = "Upload";
require("tpl/general/form.php");
|