23 $path = dirname(__DIR__);
25 'smilies' =>
$path .
'/class/helper.php',
40 foreach ($smileys as $smile) {
41 $message = str_replace($smile[
'smiley_code'],
'<img class="imgsmile" src="' . \
XoopsBaseConfig::get(
'uploads-url') .
'/' . htmlspecialchars($smile[
'smiley_url']) .
'" alt="' . $smile[
'smiley_emotion'] .
'" />', $message);
51 if (count(
$myts->smileys) == 0) {
55 $smileys =
$myts->smileys;
59 foreach (
$myts->smileys as $smile) {
60 if (empty($smile[
'smiley_display'])) {
static eventCoreIncludeCommonEnd($args)
static eventCoreClassXoopsformFormdhtmltextareaCodeicon($args)
static eventCoreClassModuleTextsanitizerGetSmileys($args)
static eventCoreClassModuleTextsanitizerSmiley($args)
static addMap(array $map)