ILIAS  release_4-3 Revision
 All Data Structures Namespaces Files Functions Variables Groups Pages
imgupload.php File Reference

Go to the source code of this file.

Variables

global $ilIliasIniFile
global $lng
global $ilUser
global $https
 $htdocs = $ilIliasIniFile->readVariable('server', 'absolute_path') . '/'
 $weburl = $ilIliasIniFile->readVariable('server', 'http_path') . '/'
 $installpath = $htdocs
 $iliasMobPath = 'data/' . CLIENT_ID . '/mobs/'
 $iliasAbsolutePath = $htdocs
 $iliasHttpPath = $weburl
if($iliasHttpPath &&strpos($iliasHttpPath,
'https://')===false &&$https->
isDetected()) 
$tinyMCE_base_url = $weburl
 $tinyMCE_DOC_url = $installpath
 $tinyMCE_valid_imgs = array('gif', 'jpg', 'jpeg', 'png')
 $tinyMCE_upload_allowed = true
 $tinyMCE_img_delete_allowed = false
 $errors = new stdClass()
$errors general = array()
$errors fields = array()
 $mobs = ilSoapFunctions::getMobsOfObject(session_id() . '::' . CLIENT_ID, $_GET['obj_type'] . ':html', (int)$_GET['obj_id'])
 $preview = ''
 $mob_details = array()
 $img = isset($_POST['imglist']) ? $_POST['imglist'] : ''
 $_root = $installpath
 $uploadedFile = false
if(isset($_FILES['img_file'])&&is_array($_FILES['img_file'])) $tpl = new ilTemplate(dirname(__FILE__) . "/tpl.img_upload.html", true, true)

Variable Documentation

$_root = $installpath

Definition at line 54 of file imgupload.php.

$errors = new stdClass()

Definition at line 45 of file imgupload.php.

$htdocs = $ilIliasIniFile->readVariable('server', 'absolute_path') . '/'

Definition at line 19 of file imgupload.php.

global $https

Definition at line 15 of file imgupload.php.

$iliasAbsolutePath = $htdocs

Definition at line 25 of file imgupload.php.

$iliasHttpPath = $weburl

Definition at line 26 of file imgupload.php.

$iliasMobPath = 'data/' . CLIENT_ID . '/mobs/'

Definition at line 24 of file imgupload.php.

global $ilIliasIniFile

Definition at line 15 of file imgupload.php.

global $ilUser

Definition at line 15 of file imgupload.php.

$img = isset($_POST['imglist']) ? $_POST['imglist'] : ''

Definition at line 53 of file imgupload.php.

$installpath = $htdocs

Definition at line 21 of file imgupload.php.

global $lng

Definition at line 15 of file imgupload.php.

$mob_details = array()

Definition at line 52 of file imgupload.php.

$mobs = ilSoapFunctions::getMobsOfObject(session_id() . '::' . CLIENT_ID, $_GET['obj_type'] . ':html', (int)$_GET['obj_id'])

Definition at line 50 of file imgupload.php.

$preview = ''

Definition at line 51 of file imgupload.php.

if ($iliasHttpPath &&strpos($iliasHttpPath, 'https://')===false &&$https->isDetected()) $tinyMCE_base_url = $weburl

Definition at line 33 of file imgupload.php.

$tinyMCE_DOC_url = $installpath

Definition at line 34 of file imgupload.php.

$tinyMCE_img_delete_allowed = false

Definition at line 43 of file imgupload.php.

$tinyMCE_upload_allowed = true

Definition at line 40 of file imgupload.php.

$tinyMCE_valid_imgs = array('gif', 'jpg', 'jpeg', 'png')

Definition at line 37 of file imgupload.php.

if (isset($_FILES['img_file'])&&is_array($_FILES['img_file'])) $tpl = new ilTemplate(dirname(__FILE__) . "/tpl.img_upload.html", true, true)

Definition at line 146 of file imgupload.php.

$uploadedFile = false

Definition at line 57 of file imgupload.php.

$weburl = $ilIliasIniFile->readVariable('server', 'http_path') . '/'

Definition at line 20 of file imgupload.php.

$errors fields = array()

Definition at line 47 of file imgupload.php.

$errors general = array()

Definition at line 46 of file imgupload.php.