22 require_once dirname(__FILE__).
'/../../../../../../mainfile.php';
25 $xoops->disableErrorReporting();
26 $xoops->simpleHeader(
false);
29 $helper->loadLanguage(
'tinymce');
31 $op = Request::getCmd(
'op',
'');
33 if (!
$xoops->security()->check()) {
34 $xoops->redirect(
'xoops_xlanguage.php', 2, implode(
',',
$xoops->security()->getErrors()));
39 $lang->CleanVarsForDB();
42 $helper->getHandlerLanguage()->createConfig();
43 $xoops->redirect(
'xoops_xlanguage.php', 2, _AM_XLANGUAGE_SAVED);
52 $xlanguage =
$xoops->getHandlerModule()->getByDirName(
'xlanguage');
61 $xoopsTpl->assign(
'form_txt',
$helper->getForm(
$helper->getHandlerLanguage()->loadConfig(),
'tinymce')->render());
67 $xoopsTpl->display(
'module:xlanguage/xlanguage_tinymce.tpl');
if($gperm_handler) $xoopsTpl
static getHelper($dirname= 'system')
static load($name, $type="core")