XOOPS API 2.5.11 Beta1
UI v0.5
Réalisé par monxoops.fr
|
Espaces de nommage | |
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__ |
$gperm_handler = xoops_getHandler('groupperm') |
$groups = is_object($GLOBALS['xoopsUser']) ? $GLOBALS['xoopsUser']->getGroups() : array(XOOPS_GROUP_ANONYMOUS) |
$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) |