XOOPS 2.5.6  Final
 All Classes Namespaces Files Functions Variables Pages
xoopsimagebrowser.php File Reference

Go to the source code of this file.

Namespaces

namespace  class
 

Variables

 $catreadcount = count($catreadlist)
 
 $catreadlist =& $imgcat_handler->getList($groups, 'imgcat_read', 1)
 
 $catwritecount = count($catwritelist)
 
 $catwritelist =& $imgcat_handler->getList($groups, 'imgcat_write', 1)
 
if(isset($_POST)) $current_file = basename(__FILE__)
 
 $current_path = dirname(__FILE__)
 
 $gperm_handler =& xoops_gethandler('groupperm')
 
 $groups = is_object( $GLOBALS["xoopsUser"] ) ? $GLOBALS["xoopsUser"]->getGroups() : array( XOOPS_GROUP_ANONYMOUS )
 
 $imgcat_handler =& xoops_gethandler('imagecategory')
 
 $isadmin = false
 
 $op = "list"
 
if(isset($_GET["op"])) if(isset($_GET["target"]))
if(isset($_GET["image_id"]))
if(isset($_GET["imgcat_id"]))
if(isset($imgcat_id)) 
$target = htmlspecialchars($target)
 
if(DIRECTORY_SEPARATOR!="/") $xoops_root_path = substr($current_path, 0, strpos(strtolower($current_path), "/class/xoopseditor/tinymce/"))
 
global $xoopsConfig
 
if(!isset($_REQUEST["target"])) else
 
 if (($isadmin)||($catreadcount > 0)||($catwritecount > 0))
 

Variable Documentation

$catreadcount = count($catreadlist)

Definition at line 63 of file xoopsimagebrowser.php.

$catreadlist =& $imgcat_handler->getList($groups, 'imgcat_read', 1)

Definition at line 60 of file xoopsimagebrowser.php.

$catwritecount = count($catwritelist)

Definition at line 64 of file xoopsimagebrowser.php.

$catwritelist =& $imgcat_handler->getList($groups, 'imgcat_write', 1)

Definition at line 61 of file xoopsimagebrowser.php.

if (isset($_POST)) $current_file = basename(__FILE__)

Definition at line 36 of file xoopsimagebrowser.php.

$current_path = dirname(__FILE__)

Definition at line 17 of file xoopsimagebrowser.php.

$gperm_handler =& xoops_gethandler('groupperm')

Definition at line 54 of file xoopsimagebrowser.php.

$groups = is_object( $GLOBALS["xoopsUser"] ) ? $GLOBALS["xoopsUser"]->getGroups() : array( XOOPS_GROUP_ANONYMOUS )

Definition at line 55 of file xoopsimagebrowser.php.

$imgcat_handler =& xoops_gethandler('imagecategory')

Definition at line 59 of file xoopsimagebrowser.php.

$isadmin = false

Definition at line 52 of file xoopsimagebrowser.php.

$op = "list"

This code was moved to the top to avoid overriding variables that do not come from post

Definition at line 28 of file xoopsimagebrowser.php.

if (isset($_GET["op"])) if (isset($_GET["target"])) if (isset($_GET["image_id"])) if (isset($_GET["imgcat_id"])) if (isset($imgcat_id)) $target = htmlspecialchars($target)

Definition at line 93 of file xoopsimagebrowser.php.

Referenced by HTMLPurifier_ConfigSchema_Validator\error().

if (DIRECTORY_SEPARATOR!="/") $xoops_root_path = substr($current_path, 0, strpos(strtolower($current_path), "/class/xoopseditor/tinymce/"))

Definition at line 21 of file xoopsimagebrowser.php.

global $xoopsConfig

Definition at line 46 of file xoopsimagebrowser.php.

if ($op== 'listimg') else
Initial value:
{
$target = $_REQUEST["target"]

Definition at line 70 of file xoopsimagebrowser.php.

if ($isadmin||!empty($catwritelist)) if($isadmin)

Definition at line 96 of file xoopsimagebrowser.php.