![]() |
CMS
Version 3.9
|
Go to the source code of this file.
Variables | |
$gallery_id = checkNumeric($_GET["gallery_id"]) | |
if(! $gallery_id) if(!isset($_FILES["photo"])) | $gallery = new ImageGallery($gallery_id) |
if($gallery->owner_id !=$user->get($user->getPrimaryKey()) &&!checkRole($gallery->write_access)) if(!preg_match("/\\.\\w+$/", $_FILES["photo"]["name"])) | $image = new ImageRecord() |
$image | gallery_id = $gallery_id |
$image | title = "Uploaded Photo" |
$image | ALT_tag = "Uploaded Photo" |
$image | date_taken = now() |
$image | credits = $user->getFullName() |
$image | caption = "" |
$image | keywords = "" |
$image | related_resource = "" |
$image | published = false |
$image | include_in_slideshow = false |
$image | sort_order = 0 |
$image | image_type = $_FILES["photo"]["type"] |
$image | owner_id = $user->get($user->getPrimaryKey()) |
if (! $gallery_id) if (!isset( $_FILES["photo"])) $gallery = new ImageGallery($gallery_id) |
Definition at line 18 of file photo_upload.inc.
$gallery_id = checkNumeric($_GET["gallery_id"]) |
Definition at line 4 of file photo_upload.inc.
if ( $gallery->owner_id !=$user->get( $user->getPrimaryKey()) &&!checkRole( $gallery->write_access)) if (!preg_match("/\\.\\w+$/", $_FILES["photo"]["name"])) $image = new ImageRecord() |
Definition at line 42 of file photo_upload.inc.
$image ALT_tag = "Uploaded Photo" |
Definition at line 45 of file photo_upload.inc.
$image caption = "" |
Definition at line 48 of file photo_upload.inc.
$image credits = $user->getFullName() |
Definition at line 47 of file photo_upload.inc.
$image date_taken = now() |
Definition at line 46 of file photo_upload.inc.
$image gallery_id = $gallery_id |
Definition at line 43 of file photo_upload.inc.
$image image_type = $_FILES["photo"]["type"] |
Definition at line 54 of file photo_upload.inc.
$image include_in_slideshow = false |
Definition at line 52 of file photo_upload.inc.
$image keywords = "" |
Definition at line 49 of file photo_upload.inc.
$image owner_id = $user->get($user->getPrimaryKey()) |
Definition at line 55 of file photo_upload.inc.
$image published = false |
Definition at line 51 of file photo_upload.inc.
$image related_resource = "" |
Definition at line 50 of file photo_upload.inc.
$image sort_order = 0 |
Definition at line 53 of file photo_upload.inc.
$image title = "Uploaded Photo" |
Definition at line 44 of file photo_upload.inc.