![]() |
CMS
Version 3.9
|
Go to the source code of this file.
Variables | |
$image_id = checkNumeric($_GET["image_id"]) | |
$gallery_id = checkNumeric($_GET["gallery_id"]) | |
$image = new ImageRecord() | |
if($image_id) | else |
$title = "Add a New Image to {$gallery->gallery_name}" | |
$image | gallery_id = $gallery_id |
$form = new AutoForm($image, "POST", "/action/image_picker/image_upload?gallery_id=$gallery_id") | |
$form | allowDelete = true |
$form | onSavePreProcess |
$imageUpload = new FileUploadFieldRenderer($form, "image_file", "Image File", array(ImageManager, imageUploadHandler)) | |
$imageUpload | size = 60 |
$imageTypeSelect = new SelectFieldRenderer($form, "image_type", "Image Type") | |
if ( $method=="POST") | |
$form = new AutoForm($image, "POST", "/action/image_picker/image_upload?gallery_id=$gallery_id") |
Definition at line 57 of file image_upload.inc.
$gallery_id = checkNumeric($_GET["gallery_id"]) |
Definition at line 38 of file image_upload.inc.
$image = new ImageRecord() |
Definition at line 42 of file image_upload.inc.
$image_id = checkNumeric($_GET["image_id"]) |
Definition at line 37 of file image_upload.inc.
$imageTypeSelect = new SelectFieldRenderer($form, "image_type", "Image Type") |
Definition at line 74 of file image_upload.inc.
$imageUpload = new FileUploadFieldRenderer($form, "image_file", "Image File", array(ImageManager, imageUploadHandler)) |
Definition at line 68 of file image_upload.inc.
Definition at line 53 of file image_upload.inc.
$form allowDelete = true |
Definition at line 58 of file image_upload.inc.
if ( $image_id) else |
Definition at line 50 of file image_upload.inc.
$image gallery_id = $gallery_id |
Definition at line 54 of file image_upload.inc.
if($method=="POST") | ( | $method = = "POST" | ) |
Definition at line 79 of file image_upload.inc.
$form onSavePreProcess |
Definition at line 59 of file image_upload.inc.
$imageUpload size = 60 |
Definition at line 69 of file image_upload.inc.