XOOPS
2.6.0
Main Page
Related Pages
Classes
Files
Examples
File List
File Members
popup.php
Go to the documentation of this file.
1
<?php
2
/*
3
You may not change or alter any portion of this comment or credits
4
of supporting developers from this source code or any supporting source code
5
which is considered copyrighted (c) material of the original comment or credit authors.
6
7
This program is distributed in the hope that it will be useful,
8
but WITHOUT ANY WARRANTY; without even the implied warranty of
9
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
10
*/
11
12
use
Xoops\Core\Request
;
13
25
include
dirname(dirname(__DIR__)) .
DIRECTORY_SEPARATOR
.
'mainfile.php'
;
26
27
$xoops
=
Xoops::getInstance
();
28
$xoops
->logger()->quiet();
29
30
$target
= Request::getString(
'target'
,
''
);
31
$xoops
->simpleHeader(
false
);
32
if
(
$target
&& preg_match(
'/^[0-9a-z_]*$/i'
,
$target
)) {
33
$tpl
=
new
XoopsTpl
();
34
$tpl
->assign(
'target'
,
$target
);
35
$tpl
->assign(
'smileys'
,
Smilies::getInstance
()->getHandlerSmilies()->getActiveSmilies(
false
));
36
$tpl
->assign(
'closebutton'
, 1);
37
$tpl
->display(
'module:smilies/smilies_smiley.tpl'
);
38
}
39
$xoops
->simpleFooter();
$xoops
$xoops
Definition:
popup.php:25
XoopsTpl
Definition:
template.php:32
Smilies\getInstance
static getInstance()
Definition:
helper.php:34
Xoops\getInstance
static getInstance()
Definition:
Xoops.php:160
$tpl
$tpl
Definition:
popup.php:31
DIRECTORY_SEPARATOR
defined('DS') or define('DS' DIRECTORY_SEPARATOR
Definition:
common.php:41
Request
include
$target
$target
Definition:
popup.php:30
usr64
htdocs
modules
smilies
popup.php
Generated on Fri May 22 2015 03:07:03 for XOOPS by
1.8.9.1