htdocs/include/notification_functions.php 1 location
|
@@ 165-167 (lines=3) @@
|
162 |
|
|
163 |
|
foreach ($not_config['event'] as $event) { |
164 |
|
if ($event['category'] == $category_name) { |
165 |
|
if (!is_dir($dir = XOOPS_ROOT_PATH . '/modules/' . $module->getVar('dirname') . '/language/' . $xoopsConfig['language'] . '/mail_template/')) { |
166 |
|
$dir = XOOPS_ROOT_PATH . '/modules/' . $module->getVar('dirname') . '/language/english/mail_template/'; |
167 |
|
} |
168 |
|
$event['mail_template_dir'] = $dir; |
169 |
|
if (!$enabled_only || notificationEventEnabled($category, $event, $module)) { |
170 |
|
$event_array[] = $event; |
htdocs/modules/system/help.php 1 location
|
@@ 191-195 (lines=5) @@
|
188 |
|
} |
189 |
|
$xoopsTpl->assign('list_mods', $listed_mods); |
190 |
|
|
191 |
|
if (file_exists(XOOPS_ROOT_PATH . '/modules/system/language/' . $xoopsConfig['language'] . '/help/help_center.html')) { |
192 |
|
$helpcontent = $xoopsTpl->fetch(XOOPS_ROOT_PATH . '/modules/system/language/' . $xoopsConfig['language'] . '/help/help_center.html'); |
193 |
|
} else { |
194 |
|
$helpcontent = '<div id="non-modhelp">' . _MD_CPANEL_HELPCENTER . '</div>'; |
195 |
|
} |
196 |
|
|
197 |
|
$xoopsTpl->assign('helpcontent', $helpcontent); |
198 |
|
} |