File main.php
has 559 lines of code (exceeds 250 allowed). Consider refactoring. Open
<?php
// $Id: main.php 12455 2014-06-24 09:30:49Z sato-san $
// ------------------------------------------------------------------------ //
// XOOPS - PHP Content Management System //
// Copyright (c) 2000 XOOPS.org //
Avoid deeply nested control flow statements. Open
if (!$lang_updated && $config->getVar('conf_catid') == ICMS_CONF && $config->getVar('conf_name') == 'language') {
$icmsConfig['language'] = ${$config->getVar('conf_name')};
$lang_updated = TRUE;
}
Avoid deeply nested control flow statements. Open
if (!$theme_updated && $config->getVar('conf_catid') == ICMS_CONF && $config->getVar('conf_name') == 'theme_set') {
$member_handler = icms::handler('icms_member');
$member_handler->updateUsersByField('theme', ${$config->getVar('conf_name')});
$theme_updated = TRUE;
}
Avoid deeply nested control flow statements. Open
if (!$encryption_updated && $config->getVar('conf_catid') == ICMS_CONF_USER && $config->getVar('conf_name') == 'enc_type') {
if ($icmsConfig['closesite'] !== 1) {
$member_handler = icms::handler('icms_member');
$member_handler->updateUsersByField('pass_expired', 1);
$encryption_updated = TRUE;
Avoid deeply nested control flow statements. Open
if (!$purifier_style_updated
&& $config->getVar('conf_catid') == ICMS_CONF_PURIFIER
&& $config->getVar('conf_name') == 'purifier_Filter_ExtractStyleBlocks'
) {
if ($config->getVar('purifier_Filter_ExtractStyleBlocks') == 1) {
Avoid deeply nested control flow statements. Open
if (! $startmod_updated && $new_value != '--' && $config->getVar('conf_catid') == ICMS_CONF && $config->getVar('conf_name') == 'startpage') {
$moduleperm_handler = icms::handler('icms_member_groupperm');
$module_handler = icms::handler('icms_module');
foreach ($new_value as $k => $v) {
Avoid deeply nested control flow statements. Open
if (! $tpl_updated && $config->getVar('conf_catid') == ICMS_CONF && $config->getVar('conf_name') == 'template_set') {
// clear cached/compiled files and regenerate them if default theme has been changed
if ($icmsConfig['template_set'] != ${$config->getVar('conf_name')}) {
$newtplset = ${$config->getVar('conf_name')};
// clear all compiled and cachedfiles
Call to method addOptionArray
from undeclared class \icms_form_elements_Select
Open
$ele->addOptionArray($dirlist);
- Exclude checks
Call to method addElement
from undeclared class \icms_form_elements_Tray
Open
$ele->addElement($f);
- Exclude checks
Call to method addOptionArray
from undeclared class \icms_form_elements_Select
Open
$ele->addOptionArray(array('0' => _NOCACHE, '30' => sprintf(_SECONDS, 30), '60' => _MINUTE, '300' => sprintf(_MINUTES, 5), '1800' => sprintf(_MINUTES, 30), '3600' => _HOUR, '18000' => sprintf(_HOURS, 5), '86400' => _DAY, '259200' => sprintf(_DAYS, 3), '604800' => _WEEK));
- Exclude checks
Reference to undeclared constant \_SECONDS
Open
$ele->addOptionArray(array('0' => _NOCACHE, '30' => sprintf(_SECONDS, 30), '60' => _MINUTE, '300' => sprintf(_MINUTES, 5), '1800' => sprintf(_MINUTES, 30), '3600' => _HOUR, '18000' => sprintf(_HOURS, 5), '86400' => _DAY, '259200' => sprintf(_DAYS, 3), '604800' => _WEEK));
- Exclude checks
Call to method addOptionArray
from undeclared class \icms_form_elements_Select
Open
$ele->addOptionArray($content_handler->getContentList());
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Hidden
Open
$form->addElement(new icms_form_elements_Hidden('redirect', ICMS_MODULES_URL . '/' . $module->getVar('dirname') . '/' . $module->getInfo('adminindex')));
- Exclude checks
Call to method htmlSpecialChars
from undeclared class \icms_core_DataFilter
Open
$ele = new icms_form_elements_Textarea($title, $config[$i]->getVar('conf_name'), icms_core_DataFilter::htmlSpecialChars($config[$i]->getConfValueForOutput()), 5, 50);
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Select
Open
$ele = new icms_form_elements_Select($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput());
- Exclude checks
Call to method __construct
from undeclared class \icms_db_criteria_Item
Open
$options = & $config_handler->getConfigOptions(new icms_db_criteria_Item('conf_id', $config[$i]->getVar('conf_id')));
- Exclude checks
Reference to undeclared constant \_GO
Open
$form->addElement(new icms_form_elements_Button('', 'button', _GO, 'submit'));
- Exclude checks
Reference to undeclared constant \_PREFERENCES
Open
echo '<div class="CPbigTitle" style="background-image: url(' . ICMS_MODULES_URL . '/system/admin/preferences/images/preferences_big.png);">' . $modlink . ' » ' . _PREFERENCES . '</div>';
- Exclude checks
Reference to static property preload
from undeclared class \icms
Open
icms::$preload->triggerEvent('savingSystemAdminPreferencesItem', array((int) $config->getVar('conf_catid'), $config->getVar('conf_name'), $config->getVar('conf_value')));
- Exclude checks
Call to method template_touch
from undeclared class \icms_view_Tpl
Open
$icmsAdminTpl->template_touch($found[0]->getVar('tpl_id'));
- Exclude checks
Variable $session_name
is undeclared Open
if (! empty($use_mysession) && $icmsConfig['use_mysession'] == 0 && $session_name != '') {
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Select
Open
$ele = new icms_form_elements_Select($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput());
- Exclude checks
Call to method addOption
from undeclared class \icms_form_elements_Select
Open
$ele->addOption($optval, $optkey);
- Exclude checks
Reference to undeclared constant \_DAY
Open
$ele->addOptionArray(array('0' => _NOCACHE, '30' => sprintf(_SECONDS, 30), '60' => _MINUTE, '300' => sprintf(_MINUTES, 5), '1800' => sprintf(_MINUTES, 30), '3600' => _HOUR, '18000' => sprintf(_HOURS, 5), '86400' => _DAY, '259200' => sprintf(_DAYS, 3), '604800' => _WEEK));
- Exclude checks
Reference to undeclared constant \_HOUR
Open
$ele->addOptionArray(array('0' => _NOCACHE, '30' => sprintf(_SECONDS, 30), '60' => _MINUTE, '300' => sprintf(_MINUTES, 5), '1800' => sprintf(_MINUTES, 30), '3600' => _HOUR, '18000' => sprintf(_HOURS, 5), '86400' => _DAY, '259200' => sprintf(_DAYS, 3), '604800' => _WEEK));
- Exclude checks
Reference to static property user
from undeclared class \icms
Open
if (! is_object(icms::$user)
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Password
Open
$ele = new icms_form_elements_Password($title, $config[$i]->getVar('conf_name'), 50, 255, icms_core_DataFilter::htmlSpecialChars($config[$i]->getConfValueForOutput()), FALSE, ($icmsConfigUser['pass_level']?'password_adv':''));
- Exclude checks
Variable $icmsModule
is undeclared Open
|| ! is_object($icmsModule)
- Exclude checks
Call to method htmlSpecialChars
from undeclared class \icms_core_DataFilter
Open
$ele = new icms_form_elements_Hidden($config[$i]->getVar('conf_name'), icms_core_DataFilter::htmlSpecialChars($config[$i]->getConfValueForOutput()));
- Exclude checks
Variable $icmsModule
is undeclared Open
|| ! icms::$user->isAdmin($icmsModule->getVar('mid'))
- Exclude checks
Call to method handler
from undeclared class \icms
Open
$config_handler = icms::handler('icms_config');
- Exclude checks
Call to method htmlSpecialChars
from undeclared class \icms_core_DataFilter
Open
? new icms_form_elements_Textarea($title, $config[$i]->getVar('conf_name'), icms_core_DataFilter::htmlSpecialChars(implode('|', $config[$i]->getConfValueForOutput())), 5, 50)
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Textarea
Open
$ele = new icms_form_elements_Textarea($title, $config[$i]->getVar('conf_name'), icms_core_DataFilter::htmlSpecialChars($config[$i]->getConfValueForOutput()));
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Hidden
Open
$form->addElement(new icms_form_elements_Hidden('_old_theme', $config[$i]->getConfValueForOutput()));
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Select
Open
: new icms_form_elements_Select($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput(), 5, TRUE);
- Exclude checks
Call to method getListByType
from undeclared class \icms_plugins_EditorHandler
Open
$dirlist = icms_plugins_EditorHandler::getListByType($type);
- Exclude checks
Call to method htmlSpecialChars
from undeclared class \icms_core_DataFilter
Open
$ele = new icms_form_elements_Password($title, $config[$i]->getVar('conf_name'), 50, 255, icms_core_DataFilter::htmlSpecialChars($config[$i]->getConfValueForOutput()), FALSE, ($icmsConfigUser['pass_level']?'password_adv':''));
- Exclude checks
Call to method addOptionArray
from undeclared class \icms_form_elements_Select
Open
$ele->addOptionArray($dirlist);
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Hidden
Open
$hidden = new icms_form_elements_Hidden('conf_ids[]', $config[$i]->getVar('conf_id'));
- Exclude checks
Call to method addOptionArray
from undeclared class \icms_form_elements_Select
Open
$ele->addOptionArray($dirlist);
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Select
Open
$ele = new icms_form_elements_Select($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput());
- Exclude checks
Call to method addElement
from undeclared class \icms_form_Theme
Open
$form->addElement(new icms_form_elements_Hidden('redirect', ICMS_MODULES_URL . '/' . $module->getVar('dirname') . '/' . $module->getInfo('adminindex')));
- Exclude checks
Call to method addOption
from undeclared class \icms_form_elements_Select
Open
$ele->addOption($optval, $optkey);
- Exclude checks
Call to method getDirList
from undeclared class \icms_core_Filesystem
Open
$dirlist = icms_core_Filesystem::getDirList(ICMS_PLUGINS_PATH . '/textsanitizer/');
- Exclude checks
Call to method addOption
from undeclared class \icms_form_elements_Select
Open
$ele->addOption($key, $name);
- Exclude checks
Call to method htmlSpecialChars
from undeclared class \icms_core_DataFilter
Open
$ele = new icms_form_elements_Text($title, $config[$i]->getVar('conf_name'), 50, 255, icms_core_DataFilter::htmlSpecialChars($config[$i]->getConfValueForOutput()));
- Exclude checks
Call to method addOptionArray
from undeclared class \icms_form_elements_Select
Open
$ele->addOptionArray($dirlist);
- Exclude checks
Call to method __construct
from undeclared class \icms_db_criteria_Compo
Open
$criteria = new icms_db_criteria_Compo(new icms_db_criteria_Item('page_status', 1));
- Exclude checks
Suspicious type true
of a variable or expression used to build a string. (Expected type to be able to cast to a string) Open
echo '<div class="CPbigTitle" style="background-image: url(' . ICMS_MODULES_URL . '/' . $module->getVar('dirname') . '/' . $iconbig . ')">' . $modlink . ' » ' . _PREFERENCES . '</div>';
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_select_Group
Open
$ele = new icms_form_elements_select_Group($title, $config[$i]->getVar('conf_name'), TRUE, $config[$i]->getConfValueForOutput(), 5, TRUE);
- Exclude checks
Reference to static property security
from undeclared class \icms
Open
if (!icms::$security->check()) {
- Exclude checks
Call to method handler
from undeclared class \icms
Open
$module_handler = icms::handler('icms_module');
- Exclude checks
Reference to undeclared constant \_MINUTE
Open
$cache_options = array('0' => _NOCACHE, '30' => sprintf(_SECONDS, 30), '60' => _MINUTE, '300' => sprintf(_MINUTES, 5), '1800' => sprintf(_MINUTES, 30), '3600' => _HOUR, '18000' => sprintf(_HOURS, 5), '86400' => _DAY, '259200' => sprintf(_DAYS, 3), '604800' => _WEEK);
- Exclude checks
Reference to undeclared class \icms_view_Tpl
in callable \icms_view_Tpl::clear_all_cache
Open
register_shutdown_function(array(&$xoopsTpl, 'clear_all_cache'));
- Exclude checks
Reference to undeclared constant \_SECONDS
Open
$cache_options = array('0' => _NOCACHE, '30' => sprintf(_SECONDS, 30), '60' => _MINUTE, '300' => sprintf(_MINUTES, 5), '1800' => sprintf(_MINUTES, 30), '3600' => _HOUR, '18000' => sprintf(_HOURS, 5), '86400' => _DAY, '259200' => sprintf(_DAYS, 3), '604800' => _WEEK);
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Hidden
Open
$ele = new icms_form_elements_Hidden($config[$i]->getVar('conf_name'), icms_core_DataFilter::htmlSpecialChars($config[$i]->getConfValueForOutput()));
- Exclude checks
Call to method htmlSpecialChars
from undeclared class \icms_core_DataFilter
Open
$ele = new icms_form_elements_Hidden($config[$i]->getVar('conf_name'), icms_core_DataFilter::htmlSpecialChars($config[$i]->getConfValueForOutput()));
- Exclude checks
Reference to undeclared constant \_NOCACHE
Open
$ele->addOptionArray(array('0' => _NOCACHE, '30' => sprintf(_SECONDS, 30), '60' => _MINUTE, '300' => sprintf(_MINUTES, 5), '1800' => sprintf(_MINUTES, 30), '3600' => _HOUR, '18000' => sprintf(_HOURS, 5), '86400' => _DAY, '259200' => sprintf(_DAYS, 3), '604800' => _WEEK));
- Exclude checks
Call to method htmlSpecialChars
from undeclared class \icms_core_DataFilter
Open
$ele = new icms_form_elements_Colorpicker($title, $config[$i]->getVar('conf_name'), icms_core_DataFilter::htmlSpecialChars($config[$i]->getConfValueForOutput()));
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Textarea
Open
$ele =($config[$i]->getVar('conf_value') != '') ? new icms_form_elements_Textarea($title, $config[$i]->getVar('conf_name'), icms_core_DataFilter::htmlSpecialChars(implode('|', $config[$i]->getConfValueForOutput())), 5, 50) : new icms_form_elements_Textarea($title, $config[$i]->getVar('conf_name'), '', 5, 50);
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Text
Open
$ele = new icms_form_elements_Text($title, $config[$i]->getVar('conf_name'), 50, 255, icms_core_DataFilter::htmlSpecialChars($config[$i]->getConfValueForOutput()));
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Select
Open
$ele = new icms_form_elements_Select($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput(), 5, TRUE);
- Exclude checks
Call to method htmlSpecialChars
from undeclared class \icms_core_DataFilter
Open
$ele = new icms_form_elements_Colorpicker($title, $config[$i]->getVar('conf_name'), icms_core_DataFilter::htmlSpecialChars($config[$i]->getConfValueForOutput()));
- Exclude checks
Call to method __construct
from undeclared class \icms_db_criteria_Item
Open
$options = & $config_handler->getConfigOptions(new icms_db_criteria_Item('conf_id', $config[$i]->getVar('conf_id')));
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Hidden
Open
$ele = new icms_form_elements_Hidden($config[$i]->getVar('conf_name'), icms_core_DataFilter::htmlSpecialChars($config[$i]->getConfValueForOutput()));
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Password
Open
$ele = new icms_form_elements_Password($title, $config[$i]->getVar('conf_name'), 50, 255, icms_core_DataFilter::htmlSpecialChars($config[$i]->getConfValueForOutput()));
- Exclude checks
Call to method htmlSpecialChars
from undeclared class \icms_core_DataFilter
Open
$ele = new icms_form_elements_Password($title, $config[$i]->getVar('conf_name'), 50, 255, icms_core_DataFilter::htmlSpecialChars($config[$i]->getConfValueForOutput()));
- Exclude checks
Reference to undeclared constant \ICMS_CONF
Open
if (! $tpl_updated && $config->getVar('conf_catid') == ICMS_CONF && $config->getVar('conf_name') == 'template_set') {
- Exclude checks
Variable $conf_ids
is undeclared Open
$count = count($conf_ids);
- Exclude checks
Call to method handler
from undeclared class \icms
Open
$config_handler = icms::handler('icms_config');
- Exclude checks
Call to method __construct
from undeclared class \icms_view_Tpl
Open
$icmsAdminTpl = new icms_view_Tpl();
- Exclude checks
Call to method handler
from undeclared class \icms
Open
$confcat_handler = icms::handler('icms_config_category');
- Exclude checks
Call to method htmlSpecialChars
from undeclared class \icms_core_DataFilter
Open
$ele = new icms_form_elements_Textarea($title, $config[$i]->getVar('conf_name'), icms_core_DataFilter::htmlSpecialChars($config[$i]->getConfValueForOutput()));
- Exclude checks
Call to method addOption
from undeclared class \icms_form_elements_Select
Open
$ele->addOption($option, $option);
- Exclude checks
Call to method addOption
from undeclared class \icms_form_elements_Select
Open
$ele->addOption($optval, $optkey);
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Select
Open
$ele = new icms_form_elements_Select($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput(), 8, TRUE);
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Select
Open
$selform = new icms_form_elements_Select($modules[$mid]->getVar('name'), $config[$i]->getVar('conf_name') . "[$mid]", $c_val);
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Password
Open
$ele = new icms_form_elements_Password($title, $config[$i]->getVar('conf_name'), 50, 255, icms_core_DataFilter::htmlSpecialChars($config[$i]->getConfValueForOutput()), FALSE, ($icmsConfigUser['pass_level']?'password_adv':''));
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Hidden
Open
$ele = new icms_form_elements_Hidden($config[$i]->getVar('conf_name'), icms_core_DataFilter::htmlSpecialChars($config[$i]->getConfValueForOutput()));
- Exclude checks
Call to method __construct
from undeclared class \icms_db_criteria_Item
Open
$config = $config_handler->getConfigs(new icms_db_criteria_Item('conf_modid', $mod));
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Textarea
Open
$ele =($config[$i]->getVar('conf_value') != '') ? new icms_form_elements_Textarea($title, $config[$i]->getVar('conf_name'), icms_core_DataFilter::htmlSpecialChars(implode('|', $config[$i]->getConfValueForOutput())), 5, 50) : new icms_form_elements_Textarea($title, $config[$i]->getVar('conf_name'), '', 5, 50);
- Exclude checks
Reference to undeclared constant \_YES
Open
$ele = new icms_form_elements_Radioyn($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput(), _YES, _NO);
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Colorpicker
Open
$ele = new icms_form_elements_Colorpicker($title, $config[$i]->getVar('conf_name'), icms_core_DataFilter::htmlSpecialChars($config[$i]->getConfValueForOutput()));
- Exclude checks
Call to method template_touch
from undeclared class \icms_view_Tpl
Open
$icmsAdminTpl->template_touch($dtemplates[$i]->getVar('tpl_id'));
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Textarea
Open
: new icms_form_elements_Textarea($title, $config[$i]->getVar('conf_name'), '', 5, 50);
- Exclude checks
Call to method addElement
from undeclared class \icms_form_Theme
Open
$form->addElement(new icms_form_elements_Hidden('_old_theme', $config[$i]->getConfValueForOutput()));
- Exclude checks
Reference to undeclared constant \_MINUTES
Open
$cache_options = array('0' => _NOCACHE, '30' => sprintf(_SECONDS, 30), '60' => _MINUTE, '300' => sprintf(_MINUTES, 5), '1800' => sprintf(_MINUTES, 30), '3600' => _HOUR, '18000' => sprintf(_HOURS, 5), '86400' => _DAY, '259200' => sprintf(_DAYS, 3), '604800' => _WEEK);
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Select
Open
$ele = new icms_form_elements_Select($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput());
- Exclude checks
Call to method addOptionArray
from undeclared class \icms_form_elements_Select
Open
$ele->addOptionArray($arr);
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Radioyn
Open
$ele = new icms_form_elements_Radioyn($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput(), _YES, _NO);
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Button
Open
$form->addElement(new icms_form_elements_Button('', 'button', _GO, 'submit'));
- Exclude checks
Call to method display
from undeclared class \icms_form_Theme
Open
$form->display();
- Exclude checks
Reference to undeclared constant \ICMS_CONF
Open
if (!$theme_updated && $config->getVar('conf_catid') == ICMS_CONF && $config->getVar('conf_name') == 'theme_set') {
- Exclude checks
Call to method handler
from undeclared class \icms
Open
$moduleperm_handler = icms::handler('icms_member_groupperm');
- Exclude checks
Call to method __construct
from undeclared class \icms_db_criteria_Compo
Open
$criteria = new icms_db_criteria_Compo();
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Textarea
Open
? new icms_form_elements_Textarea($title, $config[$i]->getVar('conf_name'), icms_core_DataFilter::htmlSpecialChars(implode('|', $config[$i]->getConfValueForOutput())), 5, 50)
- Exclude checks
Call to method getThemesList
from undeclared class \icms_view_theme_Factory
Open
? icms_view_theme_Factory::getThemesList()
- Exclude checks
Call to method addOptionArray
from undeclared class \icms_form_elements_Select
Open
$ele->addOptionArray($dirlist);
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Select
Open
$ele = new icms_form_elements_Select($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput());
- Exclude checks
Call to method handler
from undeclared class \icms
Open
$tplset_handler = icms::handler('icms_view_template_set');
- Exclude checks
Call to method __construct
from undeclared class \icms_db_criteria_Item
Open
$criteria = new icms_db_criteria_Compo(new icms_db_criteria_Item('hasmain', 1));
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_select_User
Open
$ele = new icms_form_elements_select_User($title, $config[$i]->getVar('conf_name'), FALSE, $config[$i]->getConfValueForOutput(), 1, FALSE);
- Exclude checks
Reference to undeclared constant \_HOUR
Open
$cache_options = array('0' => _NOCACHE, '30' => sprintf(_SECONDS, 30), '60' => _MINUTE, '300' => sprintf(_MINUTES, 5), '1800' => sprintf(_MINUTES, 30), '3600' => _HOUR, '18000' => sprintf(_HOURS, 5), '86400' => _DAY, '259200' => sprintf(_DAYS, 3), '604800' => _WEEK);
- Exclude checks
Call to method getFileList
from undeclared class \icms_core_Filesystem
Open
$dirlist = str_replace('.php', '', icms_core_Filesystem::getFileList(ICMS_LIBRARIES_PATH . '/geshi/geshi/', '', array('php')));
- Exclude checks
Call to method htmlSpecialChars
from undeclared class \icms_core_DataFilter
Open
$ele = new icms_form_elements_Text($title, $config[$i]->getVar('conf_name'), 50, 255, icms_core_DataFilter::htmlSpecialChars($config[$i]->getConfValueForOutput()));
- Exclude checks
Call to method addElement
from undeclared class \icms_form_Theme
Open
$form->addElement(new icms_form_elements_Hidden('op', 'save'));
- Exclude checks
Call to method handler
from undeclared class \icms
Open
$member_handler = icms::handler('icms_member');
- Exclude checks
Call to method handler
from undeclared class \icms
Open
$member_handler = icms::handler('icms_member');
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Textarea
Open
? new icms_form_elements_Textarea($title, $config[$i]->getVar('conf_name'), icms_core_DataFilter::htmlSpecialChars(implode('|', $config[$i]->getConfValueForOutput())), 5, 50)
- Exclude checks
Call to method getAdminThemesList
from undeclared class \icms_view_theme_Factory
Open
: icms_view_theme_Factory::getAdminThemesList();
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Dhtmltextarea
Open
$ele = new icms_form_elements_Dhtmltextarea($title, $config[$i]->getVar('conf_name'), icms_core_DataFilter::htmlSpecialChars($config[$i]->getConfValueForOutput()));
- Exclude checks
Call to method handler
from undeclared class \icms
Open
$module_handler = icms::handler('icms_module');
- Exclude checks
Call to method htmlSpecialChars
from undeclared class \icms_core_DataFilter
Open
$ele = new icms_form_elements_Dhtmltextarea($title, $config[$i]->getVar('conf_name'), icms_core_DataFilter::htmlSpecialChars($config[$i]->getConfValueForOutput()));
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_select_User
Open
$ele = new icms_form_elements_select_User($title, $config[$i]->getVar('conf_name'), FALSE, $config[$i]->getConfValueForOutput(), 5, TRUE);
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Select
Open
$ele = new icms_form_elements_Select($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput(), 5, TRUE);
- Exclude checks
Reference to undeclared constant \_HOURS
Open
$ele->addOptionArray(array('0' => _NOCACHE, '30' => sprintf(_SECONDS, 30), '60' => _MINUTE, '300' => sprintf(_MINUTES, 5), '1800' => sprintf(_MINUTES, 30), '3600' => _HOUR, '18000' => sprintf(_HOURS, 5), '86400' => _DAY, '259200' => sprintf(_DAYS, 3), '604800' => _WEEK));
- Exclude checks
Reference to undeclared constant \_NO
Open
$ele = new icms_form_elements_Radioyn($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput(), _YES, _NO);
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_select_Image
Open
$ele = new icms_form_elements_select_Image($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput());
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Hidden
Open
$form->addElement(new icms_form_elements_Hidden('_old_theme', $config[$i]->getConfValueForOutput()));
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Button
Open
$form->addElement(new icms_form_elements_Button('', 'button', _GO, 'submit'));
- Exclude checks
Call to method __construct
from undeclared class \icms_db_criteria_Item
Open
$criteria->add(new icms_db_criteria_Item('isactive', 1));
- Exclude checks
Call to method addElement
from undeclared class \icms_form_Theme
Open
$form->addElement(new icms_form_elements_Button('', 'button', _GO, 'submit'));
- Exclude checks
Call to method __construct
from undeclared class \icms_db_criteria_Item
Open
$criteria->add(new icms_db_criteria_Item('page_url', '%*', 'NOT LIKE'));
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Tray
Open
$ele = new icms_form_elements_Tray($title, '<br />');
- Exclude checks
Reference to undeclared constant \_GO
Open
$form->addElement(new icms_form_elements_Button('', 'button', _GO, 'submit'));
- Exclude checks
Call to method addElement
from undeclared class \icms_form_elements_Tray
Open
$ele->addElement($selform);
- Exclude checks
Reference to undeclared constant \_NO
Open
$ele = new icms_form_elements_Radioyn($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput(), _YES, _NO);
- Exclude checks
Reference to undeclared constant \_MINUTE
Open
$ele->addOptionArray(array('0' => _NOCACHE, '30' => sprintf(_SECONDS, 30), '60' => _MINUTE, '300' => sprintf(_MINUTES, 5), '1800' => sprintf(_MINUTES, 30), '3600' => _HOUR, '18000' => sprintf(_HOURS, 5), '86400' => _DAY, '259200' => sprintf(_DAYS, 3), '604800' => _WEEK));
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Select
Open
$ele = new icms_form_elements_Select($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput());
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Select
Open
$ele = new icms_form_elements_Select($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput());
- Exclude checks
Call to method display
from undeclared class \icms_form_Theme
Open
$form->display();
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Select
Open
$ele = new icms_form_elements_Select($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput());
- Exclude checks
Call to method handler
from undeclared class \icms
Open
$module_handler = icms::handler('icms_module');
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Hidden
Open
$hidden = new icms_form_elements_Hidden('conf_ids[]', $config[$i]->getVar('conf_id'));
- Exclude checks
Call to method htmlSpecialChars
from undeclared class \icms_core_DataFilter
Open
$ele = new icms_form_elements_Dhtmltextarea($title, $config[$i]->getVar('conf_name'), icms_core_DataFilter::htmlSpecialChars($config[$i]->getConfValueForOutput()), 5, 50);
- Exclude checks
Call to method getListByType
from undeclared class \icms_plugins_EditorHandler
Open
$dirlist = icms_plugins_EditorHandler::getListByType();
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PURIFIER
Open
&& $config->getVar('conf_catid') == ICMS_CONF_PURIFIER
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_select_User
Open
$ele = new icms_form_elements_select_User($title, $config[$i]->getVar('conf_name'), FALSE, $config[$i]->getConfValueForOutput(), 1, FALSE);
- Exclude checks
Reference to undeclared constant \ICMS_CONF
Open
if (!$lang_updated && $config->getVar('conf_catid') == ICMS_CONF && $config->getVar('conf_name') == 'language') {
- Exclude checks
Call to method handler
from undeclared class \icms
Open
$tplfile_handler = icms::handler('icms_view_template_file');
- Exclude checks
Call to method __construct
from undeclared class \icms_db_criteria_Item
Open
$criteria = new icms_db_criteria_Compo(new icms_db_criteria_Item('page_status', 1));
- Exclude checks
Reference to undeclared constant \_MD_AM_DBUPDATED
Open
redirect_header($redirect, 2, _MD_AM_DBUPDATED);
- Exclude checks
Reference to undeclared constant \_MD_AM_DBUPDATED
Open
redirect_header('admin.php?fct=preferences', 2, _MD_AM_DBUPDATED);
- Exclude checks
Call to method __construct
from undeclared class \icms_db_criteria_Item
Open
$modules = $module_handler->getObjects(new icms_db_criteria_Item('hasmain', 1), TRUE);
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Label
Open
$ele = new icms_form_elements_Label($title, _MD_AM_NOMODULE);
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Textarea
Open
$ele = new icms_form_elements_Textarea($title, $config[$i]->getVar('conf_name'), icms_core_DataFilter::htmlSpecialChars($config[$i]->getConfValueForOutput()), 5, 50);
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Dhtmltextarea
Open
$ele = new icms_form_elements_Dhtmltextarea($title, $config[$i]->getVar('conf_name'), icms_core_DataFilter::htmlSpecialChars($config[$i]->getConfValueForOutput()), 5, 50);
- Exclude checks
Reference to undeclared constant \ICMS_CONF_USER
Open
if (!$encryption_updated && $config->getVar('conf_catid') == ICMS_CONF_USER && $config->getVar('conf_name') == 'enc_type') {
- Exclude checks
Reference to static property preload
from undeclared class \icms
Open
icms::$preload->triggerEvent('afterSaveSystemAdminPreferencesItems', $saved_config_items);
- Exclude checks
Reference to static property user
from undeclared class \icms
Open
|| ! icms::$user->isAdmin($icmsModule->getVar('mid'))
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Textarea
Open
: new icms_form_elements_Textarea($title, $config[$i]->getVar('conf_name'), '', 5, 50);
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Select
Open
$ele = new icms_form_elements_Select($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput(), 5, TRUE);
- Exclude checks
Call to method addElement
from undeclared class \icms_form_Theme
Open
$form->addElement(new icms_form_elements_Hidden('_old_theme', $config[$i]->getConfValueForOutput()));
- Exclude checks
Call to method handler
from undeclared class \icms
Open
$member_handler = icms::handler('icms_member');
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_select_Group
Open
$ele = new icms_form_elements_select_Group($title, $config[$i]->getVar('conf_name'), TRUE, $config[$i]->getConfValueForOutput(), 1, FALSE);
- Exclude checks
Reference to undeclared constant \_WEEK
Open
$cache_options = array('0' => _NOCACHE, '30' => sprintf(_SECONDS, 30), '60' => _MINUTE, '300' => sprintf(_MINUTES, 5), '1800' => sprintf(_MINUTES, 30), '3600' => _HOUR, '18000' => sprintf(_HOURS, 5), '86400' => _DAY, '259200' => sprintf(_DAYS, 3), '604800' => _WEEK);
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Colorpicker
Open
$ele = new icms_form_elements_Colorpicker($title, $config[$i]->getVar('conf_name'), icms_core_DataFilter::htmlSpecialChars($config[$i]->getConfValueForOutput()));
- Exclude checks
Argument 1 (array_arg)
is string
but \asort()
takes array
Open
asort($dirlist);
- Exclude checks
Call to method addElement
from undeclared class \icms_form_Theme
Open
$form->addElement($hidden);
- Exclude checks
Call to method handler
from undeclared class \icms
Open
$config_handler = icms::handler('icms_config');
- Exclude checks
Call to method htmlSpecialChars
from undeclared class \icms_core_DataFilter
Open
$ele =($config[$i]->getVar('conf_value') != '') ? new icms_form_elements_Textarea($title, $config[$i]->getVar('conf_name'), icms_core_DataFilter::htmlSpecialChars(implode('|', $config[$i]->getConfValueForOutput())), 5, 50) : new icms_form_elements_Textarea($title, $config[$i]->getVar('conf_name'), '', 5, 50);
- Exclude checks
Call to method htmlSpecialChars
from undeclared class \icms_core_DataFilter
Open
$ele =($config[$i]->getVar('conf_value') != '') ? new icms_form_elements_Textarea($title, $config[$i]->getVar('conf_name'), icms_core_DataFilter::htmlSpecialChars(implode('|', $config[$i]->getConfValueForOutput())), 5, 50) : new icms_form_elements_Textarea($title, $config[$i]->getVar('conf_name'), '', 5, 50);
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_select_Group
Open
$ele = new icms_form_elements_select_Group($title, $config[$i]->getVar('conf_name'), TRUE, $config[$i]->getConfValueForOutput(), 5, TRUE);
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_select_User
Open
$ele = new icms_form_elements_select_User($title, $config[$i]->getVar('conf_name'), FALSE, $config[$i]->getConfValueForOutput(), 5, TRUE);
- Exclude checks
Call to method __construct
from undeclared class \icms_db_criteria_Item
Open
$criteria->add(new icms_db_criteria_Item('conf_modid', 0));
- Exclude checks
Call to method add
from undeclared class \icms_db_criteria_Compo
Open
$criteria->add(new icms_db_criteria_Item('conf_catid', $confcat_id));
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Radioyn
Open
$ele = new icms_form_elements_Radioyn($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput(), _YES, _NO);
- Exclude checks
Reference to undeclared constant \_YES
Open
$ele = new icms_form_elements_Radioyn($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput(), _YES, _NO);
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_select_Timezone
Open
$ele = new icms_form_elements_select_Timezone($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput());
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Select
Open
$f = new icms_form_elements_Select('<b>' . $v . ':</b>', $config[$i]->getVar('conf_name') . '[' . $k . ']', $value[$k]);
- Exclude checks
Reference to undeclared constant \_HOURS
Open
$cache_options = array('0' => _NOCACHE, '30' => sprintf(_SECONDS, 30), '60' => _MINUTE, '300' => sprintf(_MINUTES, 5), '1800' => sprintf(_MINUTES, 30), '3600' => _HOUR, '18000' => sprintf(_HOURS, 5), '86400' => _DAY, '259200' => sprintf(_DAYS, 3), '604800' => _WEEK);
- Exclude checks
Reference to undeclared constant \_PREFERENCES
Open
echo '<div class="CPbigTitle" style="background-image: url(' . ICMS_MODULES_URL . '/' . $module->getVar('dirname') . '/' . $iconbig . ')">' . $modlink . ' » ' . _PREFERENCES . '</div>';
- Exclude checks
Call to method handler
from undeclared class \icms
Open
$module_handler = icms::handler('icms_module');
- Exclude checks
Variable $session_expire
is undeclared Open
icms_setCookieVar($session_name, session_id(), time() +(60 *(int) $session_expire));
- Exclude checks
Call to method add
from undeclared class \icms_db_criteria_Compo
Open
$criteria->add(new icms_db_criteria_Item('page_url', '%*', 'NOT LIKE'));
- Exclude checks
Reference to undeclared constant \_NOCACHE
Open
$cache_options = array('0' => _NOCACHE, '30' => sprintf(_SECONDS, 30), '60' => _MINUTE, '300' => sprintf(_MINUTES, 5), '1800' => sprintf(_MINUTES, 30), '3600' => _HOUR, '18000' => sprintf(_HOURS, 5), '86400' => _DAY, '259200' => sprintf(_DAYS, 3), '604800' => _WEEK);
- Exclude checks
Call to method addOptionArray
from undeclared class \icms_form_elements_Select
Open
$ele->addOptionArray($dirlist);
- Exclude checks
Call to method __construct
from undeclared class \icms_view_Tpl
Open
$xoopsTpl = new icms_view_Tpl();
- Exclude checks
Reference to undeclared constant \ICMS_CONF
Open
if (! $startmod_updated && $new_value != '--' && $config->getVar('conf_catid') == ICMS_CONF && $config->getVar('conf_name') == 'startpage') {
- Exclude checks
Variable $column
was undeclared, but array fields are being added to it. Open
$column[] = constant($confcat->getVar('confcat_name'));
- Exclude checks
Call to method htmlSpecialChars
from undeclared class \icms_core_DataFilter
Open
? new icms_form_elements_Textarea($title, $config[$i]->getVar('conf_name'), icms_core_DataFilter::htmlSpecialChars(implode('|', $config[$i]->getConfValueForOutput())), 5, 50)
- Exclude checks
Call to method __construct
from undeclared class \icms_db_criteria_Item
Open
$options = $config_handler->getConfigOptions(new icms_db_criteria_Item('conf_id', $config[$i]->getVar('conf_id')));
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Select
Open
? new icms_form_elements_Select($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput())
- Exclude checks
Call to method add
from undeclared class \icms_db_criteria_Compo
Open
$criteria->add(new icms_db_criteria_Item('isactive', 1));
- Exclude checks
Call to method addOptionArray
from undeclared class \icms_form_elements_Select
Open
$f->addOptionArray($list);
- Exclude checks
Reference to undeclared constant \_DAYS
Open
$cache_options = array('0' => _NOCACHE, '30' => sprintf(_SECONDS, 30), '60' => _MINUTE, '300' => sprintf(_MINUTES, 5), '1800' => sprintf(_MINUTES, 30), '3600' => _HOUR, '18000' => sprintf(_HOURS, 5), '86400' => _DAY, '259200' => sprintf(_DAYS, 3), '604800' => _WEEK);
- Exclude checks
Reference to undeclared constant \_DAY
Open
$cache_options = array('0' => _NOCACHE, '30' => sprintf(_SECONDS, 30), '60' => _MINUTE, '300' => sprintf(_MINUTES, 5), '1800' => sprintf(_MINUTES, 30), '3600' => _HOUR, '18000' => sprintf(_HOURS, 5), '86400' => _DAY, '259200' => sprintf(_DAYS, 3), '604800' => _WEEK);
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Select
Open
$ele = new icms_form_elements_Select($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput());
- Exclude checks
Reference to undeclared constant \_DAYS
Open
$ele->addOptionArray(array('0' => _NOCACHE, '30' => sprintf(_SECONDS, 30), '60' => _MINUTE, '300' => sprintf(_MINUTES, 5), '1800' => sprintf(_MINUTES, 30), '3600' => _HOUR, '18000' => sprintf(_HOURS, 5), '86400' => _DAY, '259200' => sprintf(_DAYS, 3), '604800' => _WEEK));
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Select
Open
$ele = new icms_form_elements_Select($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput());
- Exclude checks
Call to method addElement
from undeclared class \icms_form_Theme
Open
$form->addElement(new icms_form_elements_Hidden('op', 'save'));
- Exclude checks
Call to method __construct
from undeclared class \icms_form_Theme
Open
$form = new icms_form_Theme(_MD_AM_MODCONFIG, 'pref_form', 'admin.php?fct=preferences', 'post', TRUE);
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Text
Open
$ele = new icms_form_elements_Text($title, $config[$i]->getVar('conf_name'), 50, 255, icms_core_DataFilter::htmlSpecialChars($config[$i]->getConfValueForOutput()));
- Exclude checks
Call to method __construct
from undeclared class \icms_form_Theme
Open
$form = new icms_form_Theme(constant($confcat->getVar('confcat_name')), 'pref_form', 'admin.php?fct=preferences', 'post', TRUE);
- Exclude checks
Call to method add
from undeclared class \icms_db_criteria_Compo
Open
$criteria->add(new icms_db_criteria_Item('conf_modid', 0));
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Hidden
Open
$form->addElement(new icms_form_elements_Hidden('op', 'save'));
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Select
Open
$ele = new icms_form_elements_Select($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput(), 1, FALSE);
- Exclude checks
Call to method clear_compiled_tpl
from undeclared class \icms_view_Tpl
Open
$xoopsTpl->clear_compiled_tpl();
- Exclude checks
Call to method handler
from undeclared class \icms
Open
$page_handler = icms::handler('icms_data_page');
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Tray
Open
$ele = new icms_form_elements_Tray($title, '<br />');
- Exclude checks
Call to method addOptionArray
from undeclared class \icms_form_elements_Select
Open
$selform->addOptionArray($cache_options);
- Exclude checks
Reference to undeclared constant \_WEEK
Open
$ele->addOptionArray(array('0' => _NOCACHE, '30' => sprintf(_SECONDS, 30), '60' => _MINUTE, '300' => sprintf(_MINUTES, 5), '1800' => sprintf(_MINUTES, 30), '3600' => _HOUR, '18000' => sprintf(_HOURS, 5), '86400' => _DAY, '259200' => sprintf(_DAYS, 3), '604800' => _WEEK));
- Exclude checks
Call to method addElement
from undeclared class \icms_form_Theme
Open
$form->addElement($ele);
- Exclude checks
Call to method addOption
from undeclared class \icms_form_elements_Select
Open
$ele->addOption($optval, $optkey);
- Exclude checks
Call to method htmlSpecialChars
from undeclared class \icms_core_DataFilter
Open
$ele = new icms_form_elements_Hidden($config[$i]->getVar('conf_name'), icms_core_DataFilter::htmlSpecialChars($config[$i]->getConfValueForOutput()));
- Exclude checks
Call to method addElement
from undeclared class \icms_form_Theme
Open
$form->addElement($ele);
- Exclude checks
Call to method addElement
from undeclared class \icms_form_Theme
Open
$form->addElement($hidden);
- Exclude checks
Variable $session_name
is undeclared Open
icms_setCookieVar($session_name, session_id(), time() +(60 *(int) $session_expire));
- Exclude checks
Reference to undeclared constant \_EDIT
Open
echo '<li><a href="admin.php?fct=preferences&op=show&confcat_id=' . $confcat['id'] . '" title="' . _EDIT . ' ' . $confcat['name'] . '">' . $confcat['name'] . '</a></li>';
- Exclude checks
Call to method handler
from undeclared class \icms
Open
$confcat_handler = icms::handler('icms_config_category');
- Exclude checks
Call to method __construct
from undeclared class \icms_db_criteria_Item
Open
$criteria->add(new icms_db_criteria_Item('conf_catid', $confcat_id));
- Exclude checks
Call to method __construct
from undeclared class \icms_db_criteria_Item
Open
$options = $config_handler->getConfigOptions(new icms_db_criteria_Item('conf_id', $config[$i]->getVar('conf_id')));
- Exclude checks
Call to method getFileList
from undeclared class \icms_core_Filesystem
Open
$dirlist = icms_core_Filesystem::getFileList(ICMS_LIBRARIES_PATH . '/icms/form/elements/captcha/fonts/', '', array('ttf'));
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_select_Lang
Open
$ele = new icms_form_elements_select_Lang($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput());
- Exclude checks
Call to method __construct
from undeclared class \icms_db_criteria_Compo
Open
$criteria = new icms_db_criteria_Compo(new icms_db_criteria_Item('hasmain', 1));
- Exclude checks
Reference to undeclared constant \_MINUTES
Open
$ele->addOptionArray(array('0' => _NOCACHE, '30' => sprintf(_SECONDS, 30), '60' => _MINUTE, '300' => sprintf(_MINUTES, 5), '1800' => sprintf(_MINUTES, 30), '3600' => _HOUR, '18000' => sprintf(_HOURS, 5), '86400' => _DAY, '259200' => sprintf(_DAYS, 3), '604800' => _WEEK));
- Exclude checks
Call to method htmlSpecialChars
from undeclared class \icms_core_DataFilter
Open
$ele = new icms_form_elements_Password($title, $config[$i]->getVar('conf_name'), 50, 255, icms_core_DataFilter::htmlSpecialChars($config[$i]->getConfValueForOutput()), FALSE, ($icmsConfigUser['pass_level']?'password_adv':''));
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Colorpicker
Open
$ele = new icms_form_elements_Colorpicker($title, $config[$i]->getVar('conf_name'), icms_core_DataFilter::htmlSpecialChars($config[$i]->getConfValueForOutput()));
- Exclude checks
Call to method htmlSpecialChars
from undeclared class \icms_core_DataFilter
Open
$ele = new icms_form_elements_Colorpicker($title, $config[$i]->getVar('conf_name'), icms_core_DataFilter::htmlSpecialChars($config[$i]->getConfValueForOutput()));
- Exclude checks
Variable $styles
is undeclared Open
$st = & $styles;
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_Hidden
Open
$form->addElement(new icms_form_elements_Hidden('op', 'save'));
- Exclude checks
Call to method __construct
from undeclared class \icms_form_elements_select_Group
Open
$ele = new icms_form_elements_select_Group($title, $config[$i]->getVar('conf_name'), TRUE, $config[$i]->getConfValueForOutput(), 1, FALSE);
- Exclude checks
Call to method addOptionArray
from undeclared class \icms_form_elements_Select
Open
$ele->addOptionArray($content_handler->getContentList());
- Exclude checks
Call to method addElement
from undeclared class \icms_form_Theme
Open
$form->addElement(new icms_form_elements_Button('', 'button', _GO, 'submit'));
- Exclude checks
Reference to static property security
from undeclared class \icms
Open
redirect_header('admin.php?fct=preferences', 3, implode('<br />', icms::$security->getErrors()));
- Exclude checks
Similar blocks of code found in 2 locations. Consider refactoring. Open
case 'textsarea' :
if ($config[$i]->getVar('conf_valuetype') == 'array') {
// this is exceptional.. only when value type is arrayneed a smarter way for this
$ele =($config[$i]->getVar('conf_value') != '') ? new icms_form_elements_Textarea($title, $config[$i]->getVar('conf_name'), icms_core_DataFilter::htmlSpecialChars(implode('|', $config[$i]->getConfValueForOutput())), 5, 50) : new icms_form_elements_Textarea($title, $config[$i]->getVar('conf_name'), '', 5, 50);
} else {
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 186.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Similar blocks of code found in 2 locations. Consider refactoring. Open
case 'textarea' :
if ($config[$i]->getVar('conf_valuetype') == 'array') {
// this is exceptional.. only when value type is array need a smarter way for this
$ele =($config[$i]->getVar('conf_value') != '') ? new icms_form_elements_Textarea($title, $config[$i]->getVar('conf_name'), icms_core_DataFilter::htmlSpecialChars(implode('|', $config[$i]->getConfValueForOutput())), 5, 50) : new icms_form_elements_Textarea($title, $config[$i]->getVar('conf_name'), '', 5, 50);
} else {
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 186.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Similar blocks of code found in 2 locations. Consider refactoring. Open
case 'textarea' :
if ($config[$i]->getVar('conf_valuetype') == 'array') {
// this is exceptional.. only when value type is array, need a smarter way for this
$ele =($config[$i]->getVar('conf_value') != '')
? new icms_form_elements_Textarea($title, $config[$i]->getVar('conf_name'), icms_core_DataFilter::htmlSpecialChars(implode('|', $config[$i]->getConfValueForOutput())), 5, 50)
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 180.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Similar blocks of code found in 2 locations. Consider refactoring. Open
case 'textsarea' :
if ($config[$i]->getVar('conf_valuetype') == 'array') {
// this is exceptional.. only when value type is array, need a smarter way for this
$ele =($config[$i]->getVar('conf_value') != '')
? new icms_form_elements_Textarea($title, $config[$i]->getVar('conf_name'), icms_core_DataFilter::htmlSpecialChars(implode('|', $config[$i]->getConfValueForOutput())), 5, 50)
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 180.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Identical blocks of code found in 2 locations. Consider refactoring. Open
$title =(! defined($config[$i]->getVar('conf_desc')) || constant($config[$i]->getVar('conf_desc')) == '') ? constant($config[$i]->getVar('conf_title')) : constant($config[$i]->getVar('conf_title')) . '<img class="helptip" src="'. ICMS_IMAGES_SET_URL . '/actions/acp_help.png" alt="' . _MD_AM_HELP_TIP . '" title="' . _MD_AM_HELP_TIP . '" /><span class="helptext">' . constant($config[$i]->getVar('conf_desc')) . '</span>';
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 153.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Identical blocks of code found in 2 locations. Consider refactoring. Open
$title =(! defined($config[$i]->getVar('conf_desc')) || constant($config[$i]->getVar('conf_desc')) == '') ? constant($config[$i]->getVar('conf_title')) : constant($config[$i]->getVar('conf_title')) . '<img class="helptip" src="'. ICMS_IMAGES_SET_URL . '/actions/acp_help.png" alt="' . _MD_AM_HELP_TIP . '" title="' . _MD_AM_HELP_TIP . '" /><span class="helptext">' . constant($config[$i]->getVar('conf_desc')) . '</span>';
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 153.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Identical blocks of code found in 4 locations. Consider refactoring. Open
for ($j = 0; $j < $opcount; $j++) {
$optval = defined($options[$j]->getVar('confop_value')) ? constant($options[$j]->getVar('confop_value')) : $options[$j]->getVar('confop_value');
$optkey = defined($options[$j]->getVar('confop_name')) ? constant($options[$j]->getVar('confop_name')) : $options[$j]->getVar('confop_name');
$ele->addOption($optval, $optkey);
}
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 144.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Identical blocks of code found in 4 locations. Consider refactoring. Open
for ($j = 0; $j < $opcount; $j++) {
$optval = defined($options[$j]->getVar('confop_value'))
? constant($options[$j]->getVar('confop_value'))
: $options[$j]->getVar('confop_value');
$optkey = defined($options[$j]->getVar('confop_name'))
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 144.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Identical blocks of code found in 4 locations. Consider refactoring. Open
for ($j = 0; $j < $opcount; $j++) {
$optval = defined($options[$j]->getVar('confop_value')) ? constant($options[$j]->getVar('confop_value')) : $options[$j]->getVar('confop_value');
$optkey = defined($options[$j]->getVar('confop_name')) ? constant($options[$j]->getVar('confop_name')) : $options[$j]->getVar('confop_name');
$ele->addOption($optval, $optkey);
}
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 144.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Identical blocks of code found in 4 locations. Consider refactoring. Open
for ($j = 0; $j < $opcount; $j++) {
$optval = defined($options[$j]->getVar('confop_value')) ? constant($options[$j]->getVar('confop_value')) : $options[$j]->getVar('confop_value');
$optkey = defined($options[$j]->getVar('confop_name')) ? constant($options[$j]->getVar('confop_name')) : $options[$j]->getVar('confop_name');
$ele->addOption($optval, $optkey);
}
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 144.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Identical blocks of code found in 2 locations. Consider refactoring. Open
$cache_options = array('0' => _NOCACHE, '30' => sprintf(_SECONDS, 30), '60' => _MINUTE, '300' => sprintf(_MINUTES, 5), '1800' => sprintf(_MINUTES, 30), '3600' => _HOUR, '18000' => sprintf(_HOURS, 5), '86400' => _DAY, '259200' => sprintf(_DAYS, 3), '604800' => _WEEK);
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 132.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
Identical blocks of code found in 2 locations. Consider refactoring. Open
$ele->addOptionArray(array('0' => _NOCACHE, '30' => sprintf(_SECONDS, 30), '60' => _MINUTE, '300' => sprintf(_MINUTES, 5), '1800' => sprintf(_MINUTES, 30), '3600' => _HOUR, '18000' => sprintf(_HOURS, 5), '86400' => _DAY, '259200' => sprintf(_DAYS, 3), '604800' => _WEEK));
- Read upRead up
Duplicated Code
Duplicated code can lead to software that is hard to understand and difficult to change. The Don't Repeat Yourself (DRY) principle states:
Every piece of knowledge must have a single, unambiguous, authoritative representation within a system.
When you violate DRY, bugs and maintenance problems are sure to follow. Duplicated code has a tendency to both continue to replicate and also to diverge (leaving bugs as two similar implementations differ in subtle ways).
Tuning
This issue has a mass of 132.
We set useful threshold defaults for the languages we support but you may want to adjust these settings based on your project guidelines.
The threshold configuration represents the minimum mass a code block must have to be analyzed for duplication. The lower the threshold, the more fine-grained the comparison.
If the engine is too easily reporting duplication, try raising the threshold. If you suspect that the engine isn't catching enough duplication, try lowering the threshold. The best setting tends to differ from language to language.
See codeclimate-duplication
's documentation for more information about tuning the mass threshold in your .codeclimate.yml
.
Refactorings
- Extract Method
- Extract Class
- Form Template Method
- Introduce Null Object
- Pull Up Method
- Pull Up Field
- Substitute Algorithm
Further Reading
- Don't Repeat Yourself on the C2 Wiki
- Duplicated Code on SourceMaking
- Refactoring: Improving the Design of Existing Code by Martin Fowler. Duplicated Code, p76
There must be no space before the colon in a CASE statement Open
case 'module_cache' :
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE" Open
$ele = new icms_form_elements_Password($title, $config[$i]->getVar('conf_name'), 50, 255, icms_core_DataFilter::htmlSpecialChars($config[$i]->getConfValueForOutput()), FALSE, ($icmsConfigUser['pass_level']?'password_adv':''));
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'yesno' :
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE" Open
$purifier_style_updated = TRUE;
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE" Open
$ele = new icms_form_elements_Select($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput(), 5, TRUE);
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'user_multi' :
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'color' :
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'textbox' :
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'user_multi' :
- Exclude checks
There must be no space before the colon in a DEFAULT statement Open
default :
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'editor_source' :
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'group_multi' :
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE" Open
$modules = $module_handler->getObjects(new icms_db_criteria_Item('hasmain', 1), TRUE);
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'password' :
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'select_pages' :
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'select_paginati' :
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE" Open
$ele = new icms_form_elements_select_User($title, $config[$i]->getVar('conf_name'), FALSE, $config[$i]->getConfValueForOutput(), 1, FALSE);
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'password' :
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'textsarea' :
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'select' :
- Exclude checks
There must be no space before the colon in a DEFAULT statement Open
default :
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'color' :
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'textarea' :
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE" Open
$ele = new icms_form_elements_Select($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput(), 1, FALSE);
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'select' :
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE" Open
$ele = new icms_form_elements_select_User($title, $config[$i]->getVar('conf_name'), FALSE, $config[$i]->getConfValueForOutput(), 5, TRUE);
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'hidden' :
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE" Open
$form = new icms_form_Theme(constant($confcat->getVar('confcat_name')), 'pref_form', 'admin.php?fct=preferences', 'post', TRUE);
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'theme_multi' :
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE" Open
$ele = new icms_form_elements_select_User($title, $config[$i]->getVar('conf_name'), FALSE, $config[$i]->getConfValueForOutput(), 1, FALSE);
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL" Open
$c_val = isset($currrent_val[$mid]) ?(int) $currrent_val[$mid] : NULL;
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'password' :
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'group' :
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE" Open
$ele = new icms_form_elements_select_User($title, $config[$i]->getVar('conf_name'), FALSE, $config[$i]->getConfValueForOutput(), 1, FALSE);
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "null" but found "NULL" Open
$found = & $tplfile_handler->find($newtplset, 'block', $dtemplates[$i]->getVar('tpl_refid'), NULL);
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'startpage' :
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE" Open
$ele = new icms_form_elements_select_Group($title, $config[$i]->getVar('conf_name'), TRUE, $config[$i]->getConfValueForOutput(), 1, FALSE);
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE" Open
$ele = new icms_form_elements_select_Group($title, $config[$i]->getVar('conf_name'), TRUE, $config[$i]->getConfValueForOutput(), 5, TRUE);
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'select_geshi' :
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE" Open
$ele = new icms_form_elements_Select($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput(), 5, TRUE);
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE" Open
$ele = new icms_form_elements_select_User($title, $config[$i]->getVar('conf_name'), FALSE, $config[$i]->getConfValueForOutput(), 5, TRUE);
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'textbox' :
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE" Open
if (isset($iconbig) && $iconbig == FALSE) {
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE" Open
$encryption_updated = TRUE;
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'select_multi' :
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE" Open
$ele = new icms_form_elements_select_Group($title, $config[$i]->getVar('conf_name'), TRUE, $config[$i]->getConfValueForOutput(), 1, FALSE);
- Exclude checks
Blank line found at end of control structure Open
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'select_plugin' :
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE" Open
$ele = new icms_form_elements_Select($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput(), 8, TRUE);
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'color' :
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'hidden' :
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE" Open
$ele = new icms_form_elements_select_Group($title, $config[$i]->getVar('conf_name'), TRUE, $config[$i]->getConfValueForOutput(), 1, FALSE);
- Exclude checks
Expected 1 space after comma in function call; 2 found Open
$ele = new icms_form_elements_Select($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput());
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE" Open
$moduleslist = $module_handler->getList($criteria, TRUE);
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE" Open
$ele = new icms_form_elements_select_User($title, $config[$i]->getVar('conf_name'), FALSE, $config[$i]->getConfValueForOutput(), 5, TRUE);
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE" Open
$ele = new icms_form_elements_select_Group($title, $config[$i]->getVar('conf_name'), TRUE, $config[$i]->getConfValueForOutput(), 5, TRUE);
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'timezone' :
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE" Open
$form = new icms_form_Theme(_MD_AM_MODCONFIG, 'pref_form', 'admin.php?fct=preferences', 'post', TRUE);
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'theme' :
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'select_font' :
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'group_multi' :
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE" Open
$ele = new icms_form_elements_select_Group($title, $config[$i]->getVar('conf_name'), TRUE, $config[$i]->getConfValueForOutput(), 1, FALSE);
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'site_cache' :
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE" Open
if ($module->getInfo('hasAdmin') == TRUE) {
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'select_image' :
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE" Open
$encryption_updated = FALSE;
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'user' :
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE" Open
if (isset($iconbig) && $iconbig == TRUE) {
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'tplset' :
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE" Open
$ele = new icms_form_elements_Password($title, $config[$i]->getVar('conf_name'), 50, 255, icms_core_DataFilter::htmlSpecialChars($config[$i]->getConfValueForOutput()), FALSE, ($icmsConfigUser['pass_level']?'password_adv':''));
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'textarea' :
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'select_pages' :
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE" Open
$lang_updated = TRUE;
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'theme_admin' :
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE" Open
: new icms_form_elements_Select($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput(), 5, TRUE);
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'editor' :
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'editor_multi' :
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE" Open
$ele = new icms_form_elements_Select($title, $config[$i]->getVar('conf_name'), $config[$i]->getConfValueForOutput(), 5, TRUE);
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'language' :
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE" Open
$ele = new icms_form_elements_select_User($title, $config[$i]->getVar('conf_name'), FALSE, $config[$i]->getConfValueForOutput(), 1, FALSE);
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE" Open
$ele = new icms_form_elements_select_Group($title, $config[$i]->getVar('conf_name'), TRUE, $config[$i]->getConfValueForOutput(), 5, TRUE);
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE" Open
$options = &$handler->getSystemHandlersList(TRUE);
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'yesno' :
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'textsarea' :
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE" Open
$theme_updated = TRUE;
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'group' :
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE" Open
$ele = new icms_form_elements_select_Group($title, $config[$i]->getVar('conf_name'), TRUE, $config[$i]->getConfValueForOutput(), 5, TRUE);
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'user' :
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE" Open
$ele = new icms_form_elements_select_User($title, $config[$i]->getVar('conf_name'), FALSE, $config[$i]->getConfValueForOutput(), 5, TRUE);
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'hidden' :
- Exclude checks
There must be no space before the colon in a CASE statement Open
case 'select_multi' :
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE" Open
$purifier_style_updated = FALSE;
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE" Open
$startmod_updated = TRUE;
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE" Open
$lang_updated = FALSE;
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE" Open
$tpl_updated = FALSE;
- Exclude checks
Blank line found at end of control structure Open
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE" Open
$theme_updated = FALSE;
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE" Open
$startmod_updated = FALSE;
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "true" but found "TRUE" Open
$tpl_updated = TRUE;
- Exclude checks
Inline control structures are not allowed Open
if (is_array($post_vars)) extract($post_vars);
- Exclude checks
Inline control structures are not allowed Open
if ($type == 'editor') $type = '';
- Exclude checks