API - XOOPS 2.5.11 Beta 2
By monxoops.fr
|
Namespaces | |
namespace | class |
Variables | |
$current_path = __DIR__ | |
if(DIRECTORY_SEPARATOR !=='/') | $xoops_root_path = substr($current_path, 0, strpos(strtolower($current_path), '/class/xoopseditor/tinymce/')) |
$current_file = basename(__FILE__) | |
$groups = is_object($GLOBALS['xoopsUser']) ? $GLOBALS['xoopsUser']->getGroups() : array(XOOPS_GROUP_ANONYMOUS) | |
$gperm_handler = xoops_getHandler('groupperm') | |
$admin = $gperm_handler->checkRight('system_admin', XOOPS_SYSTEM_SMILE, $groups) | |
$op = '' | |
if(!empty( $_GET[ 'op'])) elseif(!empty($_POST['op'])) | $myts = MyTextSanitizer::getInstance() |
if($admin && $op==='SmilesAdd') | $time = time() |
if (!isset( $_SESSION[ 'XoopsEmotions']) &&@ $_SESSION[ 'XoopsEmotions_expire']< $time) | |
if(! $_SESSION['XoopsEmotions'] &&! $admin) if( $admin) if($smiles=$_SESSION['XoopsEmotions']) | else |
$admin = $gperm_handler->checkRight('system_admin', XOOPS_SYSTEM_SMILE, $groups) |
$current_file = basename(__FILE__) |
$current_path = __DIR__ |
XoopsGroupPermHandler $gperm_handler = xoops_getHandler('groupperm') |
$groups = is_object($GLOBALS['xoopsUser']) ? $GLOBALS['xoopsUser']->getGroups() : array(XOOPS_GROUP_ANONYMOUS) |
if(!empty($_GET['op'])) elseif (!empty( $_POST[ 'op'])) $myts = MyTextSanitizer::getInstance() |
$op = '' |
if (DIRECTORY_SEPARATOR !=='/') $xoops_root_path = substr($current_path, 0, strpos(strtolower($current_path), '/class/xoopseditor/tinymce/')) |
if(! $_SESSION[ 'XoopsEmotions'] &&! $admin) if($admin) if ( $smiles=$_SESSION[ 'XoopsEmotions']) else |
if(!isset($_SESSION['XoopsEmotions']) &&@ $_SESSION['XoopsEmotions_expire']< $time) | ( | ) |