CMS  Version 3.9
image_picker.inc File Reference

Go to the source code of this file.

Variables

 $mode = $_GET["Mode"]
 
 $editor = $_GET["Editor"]
 
 $field = $_GET["Field"]
 
 $preview = $_GET["Preview"]
 
 $gallery_id = checkNumeric($_GET["gallery_id"])
 
 $title = ($mode == "insert") ? "Insert Images" : "Select an Image"
 
 $galleries = Query::create(ImageGallery, "ORDER BY gallery_name")->execute()
 
if(! $gallery_id &&count($galleries) > 0) $styles =
 
 $script =
 
 $gallery = new ImageGallery()
 
if($gallery_idelse
 
 $view = new ImageListView($images, "javascript:imagePicker.selectImage({image_id}, '{title}')")
 
width __pad0__
 
height __pad1__
 
border __pad2__
 
margin left
 
padding __pad3__
 
background color
 

Variable Documentation

◆ $editor

$editor = $_GET["Editor"]

Definition at line 37 of file image_picker.inc.

◆ $field

$field = $_GET["Field"]

Definition at line 38 of file image_picker.inc.

◆ $galleries

$galleries = Query::create(ImageGallery, "ORDER BY gallery_name")->execute()

Definition at line 44 of file image_picker.inc.

◆ $gallery

$gallery = new ImageGallery()

Definition at line 93 of file image_picker.inc.

◆ $gallery_id

$gallery_id = checkNumeric($_GET["gallery_id"])

Definition at line 40 of file image_picker.inc.

◆ $mode

$mode = $_GET["Mode"]

Definition at line 36 of file image_picker.inc.

◆ $preview

$preview = $_GET["Preview"]

Definition at line 39 of file image_picker.inc.

◆ $script

$script =

Definition at line 83 of file image_picker.inc.

◆ $styles

if (! $gallery_id &&count( $galleries) > 0) $styles =

Definition at line 51 of file image_picker.inc.

◆ $title

$title = ($mode == "insert") ? "Insert Images" : "Select an Image"

Definition at line 42 of file image_picker.inc.

◆ $view

$view = new ImageListView($images, "javascript:imagePicker.selectImage({image_id}, '{title}')")

Definition at line 104 of file image_picker.inc.

◆ __pad0__

width __pad0__

Definition at line 121 of file image_picker.inc.

◆ __pad1__

height __pad1__

Definition at line 121 of file image_picker.inc.

◆ __pad2__

border __pad2__

Definition at line 121 of file image_picker.inc.

◆ __pad3__

padding __pad3__

Definition at line 121 of file image_picker.inc.

◆ color

background color

Definition at line 121 of file image_picker.inc.

◆ else

if ( $gallery_id) else
Initial value:
{
$images = array()
$images
Definition: images.inc:46

Definition at line 99 of file image_picker.inc.

◆ left

margin left

Definition at line 121 of file image_picker.inc.