Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'allow_annon_view_prof', '_MD_AM_ALLOW_ANONYMOUS_VIEW_PROFILE', '1', '_MD_AM_ALLOW_ANONYMOUS_VIEW_PROFILE_DESC', 'yesno', 'int', 36 );
- Exclude checks
Reference to undeclared constant \IM_CONF_CONTENT
Open
$icmsDatabaseUpdater->insertConfig ( IM_CONF_CONTENT, 'default_page', '_MD_AM_DEFAULT_CONTPAGE', '0', '_MD_AM_DEFAULT_CONTPAGEDSC', 'select_pages', 'int', 1 );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_cor', '_MD_AM_EMAILCOLOR', '#000000', '_MD_AM_EMAILCOLOR_DESC', 'color', 'text', 14 );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'shadow_x', '_MD_AM_SHADOWX', '2', '_MD_AM_SHADOWX_DESC', 'textbox', 'int', 16 );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'shorten_url', '_MD_AM_SHORTURL', '0', '_MD_AM_SHORTURLDSC', 'yesno', 'int', 18 );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'show_impresscms_menu', '_MD_AM_SHOW_ICMSMENU', '1', '_MD_AM_SHOW_ICMSMENU_DESC', 'yesno', 'int', 22 );
- Exclude checks
Call to method add
from undeclared class \icms_db_criteria_Compo
Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_catid', ICMS_CONF_PERSONA ) );
- Exclude checks
Call to method addNewField
from undeclared class \icms_db_legacy_updater_Table
Open
$table->addNewField ( 'openid', "varchar(255) NOT NULL default ''" );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateTable ( $table );
- Exclude checks
Variable $dbVersion
is undeclared Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'use_jsjalali', '_MD_AM_JALALICAL', '0', '_MD_AM_JALALICALDSC', 'yesno', 'int', 23 );
- Exclude checks
Call to method __construct
from undeclared class \icms_db_legacy_updater_Table
Open
$table = new icms_db_legacy_updater_Table ( 'modules' );
- Exclude checks
Call to method name
from undeclared class \icms_db_legacy_updater_Table
Open
$icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` MODIFY pass_expired tinyint(1) unsigned NOT NULL default 0", 'Successfully altered field pass_expired in table users', '' );
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$sql = "SELECT bid FROM `" . icms::$xoopsDB->prefix ( 'newblocks' ) . "` WHERE show_func='b_social_bookmarks'";
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
list ( $new_block_id ) = icms::$xoopsDB->FetchRow ( $result );
- Exclude checks
Variable $dbVersion
is undeclared Open
if ($dbVersion <= $newDbVersion) {
- Exclude checks
Reference to undeclared constant \ICMS_CONF_USER
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'welcome_msg', '_MD_AM_WELCOMEMSG', 0, '_MD_AM_WELCOMEMSGDSC', 'yesno', 'int', 3 );
- Exclude checks
Reference to undeclared constant \ICMS_CONF_USER
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'sig_max_length', '_MD_AM_SIGMAXLENGTH', '255', '_MD_AM_SIGMAXLENGTHDSC', 'textbox', 'int', 4 );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( IM_CONF_CONTENT, 'default_page', '_MD_AM_DEFAULT_CONTPAGE', '0', '_MD_AM_DEFAULT_CONTPAGEDSC', 'select_pages', 'int', 1 );
- Exclude checks
Reference to undeclared constant \ICMS_CONF_USER
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'avatar_allow_gravatar', '_MD_AM_GRAVATARALLOW', '1', '_MD_AM_GRAVATARALWDSC', 'yesno', 'int', 15 );
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PERSONA
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_font_len', '_MD_AM_EMAILLEN', '12', '_MD_AM_EMAILLEN_DESC', 'textbox', 'int', 13 );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'rss_local', '_MD_AM_RSSLOCAL', 'http://www.impresscms.org/modules/smartsection/backend.php', '_MD_AM_RSSLOCAL_DESC', 'textbox', 'text', 7 );
- Exclude checks
Call to method add
from undeclared class \icms_db_criteria_Compo
Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_order', 3, '>' ) );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'shadow_y', '_MD_AM_SHADOWY', '2', '_MD_AM_SHADOWY_DESC', 'textbox', 'int', 17 );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'editre_block', '_MD_AM_EDITREMOVEBLOCK', '1', '_MD_AM_EDITREMOVEBLOCKDSC', 'yesno', 'int', 8 );
- Exclude checks
Call to method addNewField
from undeclared class \icms_db_legacy_updater_Table
Open
$table->addNewField ( 'page_id', "smallint(5) NOT NULL default '0'" );
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PERSONA
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_protect', '_MD_AM_EMAILPROTECT', '0', '_MD_AM_EMAILPROTECTDSC', 'yesno', 'int', 11 );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'use_captcha', '_MD_AM_USECAPTCHA', 1, '_MD_AM_USECAPTCHADSC', 'yesno', 'int', 3 );
- Exclude checks
Call to method fieldExists
from undeclared class \icms_db_legacy_updater_Table
Open
if (! $table->fieldExists ( 'openid' )) {
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->runQuery ( 'UPDATE ' . $table->name () . ' SET module_id=0, page_id=1 WHERE module_id=-1', 'Block Visibility Restructured Successfully', 'Failed in Restructure the Block Visibility' );
- Exclude checks
Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Reference to undeclared constant \ICMS_CONF_SEARCH
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_SEARCH, 'search_user_date', '_MD_AM_SEARCH_USERDATE', '1', '_MD_AM_SEARCH_USERDATE', 'yesno', 'int', 2 );
- Exclude checks
Call to method __construct
from undeclared class \icms_db_criteria_Item
Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_name', 'rss_local' ) );
- Exclude checks
Variable $dbVersion
is undeclared Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( IM_CONF_CONTENT, 'show_subs', '_MD_AM_CONT_SHOWSUBS', '1', '_MD_AM_CONT_SHOWSUBSDSC', 'yesno', 'int', 3 );
- Exclude checks
Call to method __construct
from undeclared class \icms_db_criteria_Item
Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_name', 'google_analytics' ) );
- Exclude checks
Call to method __construct
from undeclared class \icms_db_legacy_updater_Table
Open
$table = new icms_db_legacy_updater_Table ( 'users' );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_right_logo', '_MD_AM_RLOGOADM', '', '_MD_AM_RLOGOADM_DESC', 'select_image', 'text', 4 );
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$result = icms::$xoopsDB->query ( $sql );
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF ( "DELETE FROM `" . icms::$xoopsDB->prefix ( 'config' ) . "` WHERE conf_name='use_jsjalali'" );
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$result = icms::$xoopsDB->query ( $sql );
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PERSONA
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'shadow_x', '_MD_AM_SHADOWX', '2', '_MD_AM_SHADOWX_DESC', 'textbox', 'int', 16 );
- Exclude checks
Variable $abortUpdate
is undeclared Open
if (!$abortUpdate) $newDbVersion = 7;
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_emails'" );
- Exclude checks
Call to method name
from undeclared class \icms_db_legacy_updater_Table
Open
$icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' (imgcat_id, imgcat_name, imgcat_maxsize, imgcat_maxwidth, imgcat_maxheight, imgcat_display, imgcat_weight, imgcat_type, imgcat_storetype) VALUES (NULL, "Logos", 350000, 350, 80, 1, 0, "C", "file")', 'Successfully created Logos imagecategory', 'Problems when try to create Logos imagecategory' );
- Exclude checks
Call to method handler
from undeclared class \icms
Open
$configitem_handler = icms::handler('icms_config_item');
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' VALUES(0,1,' . $categ_id . ',1,"imgcat_write")', '', '' );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'smtphost'" );
- Exclude checks
Variable $dbVersion
is undeclared Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' VALUES(0,1,' . $categ_id . ',1,"imgcat_read")', '', '' );
- Exclude checks
Call to method fieldExists
from undeclared class \icms_db_legacy_updater_Table
Open
if (! $table->fieldExists ( 'page_id' )) {
- Exclude checks
Call to method addNewField
from undeclared class \icms_db_legacy_updater_Table
Open
$table->addNewField ( 'enc_type', "tinyint(2) UNSIGNED NOT NULL default 0" );
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_content_relmenu_show"' ) == FALSE) {
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
list ( $new_block_id ) = icms::$xoopsDB->FetchRow ( $result );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );
- Exclude checks
Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 17, 1, 'system_admin');" );
- Exclude checks
Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 18, 1, 'system_admin');" );
- Exclude checks
Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'reg_disclaimer'" );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_ips'" );
- Exclude checks
Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_unames'" );
- Exclude checks
Call to method __construct
from undeclared class \icms_db_criteria_Compo
Open
$criteria = new icms_db_criteria_Compo ( );
- Exclude checks
Reference to undeclared constant \ICMS_CONF_SEARCH
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_SEARCH, 'search_no_res_mod', '_MD_AM_SEARCH_NO_RES_MOD', '1', '_MD_AM_SEARCH_NO_RES_MODDSC', 'yesno', 'int', 3 );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_left_logo', '_MD_AM_LLOGOADM', '/uploads/img482278e29e81c.png', '_MD_AM_LLOGOADM_DESC', 'select_image', 'text', 1 );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_left_logo_alt', '_MD_AM_LLOGOADM_ALT', 'ImpressCMS', '_MD_AM_LLOGOADM_ALT_DESC', 'textbox', 'text', 3 );
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PERSONA
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_shadow', '_MD_AM_EMAILSHADOW', '#cccccc', '_MD_AM_EMAILSHADOW_DESC', 'color', 'text', 15 );
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PERSONA
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'show_impresscms_menu', '_MD_AM_SHOW_ICMSMENU', '1', '_MD_AM_SHOW_ICMSMENU_DESC', 'yesno', 'int', 22 );
- Exclude checks
Call to method __construct
from undeclared class \icms_db_legacy_updater_Table
Open
$table = new icms_db_legacy_updater_Table ( 'users' );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateTable ( $table );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateTable ( $table );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Variable $table
is undeclared Open
unset ( $table );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- 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_db_criteria_Item
Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_catid', ICMS_CONF_METAFOOTER ) );
- Exclude checks
Variable $dbVersion
is undeclared Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Call to method name
from undeclared class \icms_db_legacy_updater_Table
Open
$icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` MODIFY version smallint(5) unsigned NOT NULL default '102'", 'Successfully modified field version in table modules', '' );
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_content_show"' ) == FALSE) {
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$sql = "SELECT bid FROM `" . icms::$xoopsDB->prefix ( 'newblocks' ) . "` WHERE show_func='b_content_relmenu_show'";
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 20, 1, 'system_admin');" );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF, 'use_ext_date', '_MD_AM_EXT_DATE', 0, '_MD_AM_EXT_DATEDSC', 'yesno', 'int', 12 );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'google_analytics', '_MD_AM_GOOGLE_ANA', '', '_MD_AM_GOOGLE_ANA_DESC', 'textbox', 'text', 21 );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_left_logo_url', '_MD_AM_LLOGOADM_URL', '' . XOOPS_URL . '/', '_MD_AM_LLOGOADM_URL_DESC', 'textbox', 'text', 2 );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_font_len', '_MD_AM_EMAILLEN', '12', '_MD_AM_EMAILLEN_DESC', 'textbox', 'int', 13 );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'max_url_long', '_MD_AM_URLLEN', '50', '_MD_AM_URLLEN_DESC', 'textbox', 'int', 19 );
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PERSONA
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'pre_chars_left', '_MD_AM_PRECHARS', '35', '_MD_AM_PRECHARS_DESC', 'textbox', 'int', 20 );
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PERSONA
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'last_chars_left', '_MD_AM_LASTCHARS', '10', '_MD_AM_LASTCHARS_DESC', 'textbox', 'int', 21 );
- Exclude checks
Call to method name
from undeclared class \icms_db_legacy_updater_Table
Open
$icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' (image_id, image_name, image_nicename, image_mimetype, image_created, image_display, image_weight, imgcat_id) VALUES (NULL, "img482278e29e81c.png", "ImpressCMS", "image/png", ' . time () . ', 1, 0, ' . $categ_id . ')', 'Successfully added default ImpressCMS admin logo', 'Problems when try to add ImpressCMS admin logo' );
- Exclude checks
Variable $abortUpdate
is undeclared Open
if (!$abortUpdate) $newDbVersion = 3;
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateTable ( $table );
- Exclude checks
Variable $abortUpdate
is undeclared Open
if (!$abortUpdate) $newDbVersion = 4;
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PERSONA
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'use_jsjalali', '_MD_AM_JALALICAL', '0', '_MD_AM_JALALICALDSC', 'yesno', 'int', 23 );
- Exclude checks
Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Variable $abortUpdate
is undeclared Open
if (!$abortUpdate) $newDbVersion = 8;
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` MODIFY pass_expired tinyint(1) unsigned NOT NULL default 0", 'Successfully altered field pass_expired in table users', '' );
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 1);" );
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_content_menu_show"' ) == FALSE) {
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
list ( $new_block_id ) = icms::$xoopsDB->FetchRow ( $result );
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 1, 1, 'content_admin');" );
- Exclude checks
Variable $dbVersion
is undeclared Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Reference to undeclared constant \ICMS_CONF
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF, 'use_ext_date', '_MD_AM_EXT_DATE', 0, '_MD_AM_EXT_DATEDSC', 'yesno', 'int', 12 );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'allwshow_sig', '_MD_AM_ALLWSHOWSIG', 1, '_MD_AM_ALLWSHOWSIGDSC', 'yesno', 'int', 4 );
- Exclude checks
Call to method __construct
from undeclared class \icms_db_legacy_updater_Table
Open
$table = new icms_db_legacy_updater_Table ( 'imagecategory' );
- Exclude checks
Call to method __construct
from undeclared class \icms_db_legacy_updater_Table
Open
$table = new icms_db_legacy_updater_Table ( 'group_permission' );
- Exclude checks
Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Call to method addNewField
from undeclared class \icms_db_legacy_updater_Table
Open
$table->addNewField ( 'user_viewoid', "tinyint(1) UNSIGNED NOT NULL default 0" );
- Exclude checks
Variable $dbVersion
is undeclared Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Variable $table
is undeclared Open
unset ( $table );
- Exclude checks
Call to method add
from undeclared class \icms_db_criteria_Compo
Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_name', 'google_analytics' ) );
- Exclude checks
Reference to undeclared constant \ICMS_CONF_METAFOOTER
Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_catid', ICMS_CONF_METAFOOTER ) );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` DROP INDEX unamepass, ADD INDEX unamepass (uname (10), pass (10))", 'Successfully altered the index unamepass on table users', '' );
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_social_bookmarks"' ) == FALSE) {
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 19, 1, 'system_admin');" );
- Exclude checks
Call to method __construct
from undeclared class \icms_db_criteria_Item
Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_order', 3, '>' ) );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF, 'editor_enabled_list', '_MD_AM_EDITOR_ENABLED_LIST', ".serialize(array('default')).", '_MD_AM_EDITOR_ENABLED_LIST_DESC', 'editor_multi', 'array', 16 );
- Exclude checks
Reference to undeclared constant \ICMS_CONF_USER
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'use_captcha', '_MD_AM_USECAPTCHA', 1, '_MD_AM_USECAPTCHADSC', 'yesno', 'int', 3 );
- Exclude checks
Suspicious type null
of a variable or expression used to build a string. (Expected type to be able to cast to a string) Open
$default_msg_content_file = ICMS_ROOT_PATH . '/language/' . $icmsConfig ['language'] . '/mail_template/' . 'welcome.tpl';
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'sig_max_length', '_MD_AM_SIGMAXLENGTH', '255', '_MD_AM_SIGMAXLENGTHDSC', 'textbox', 'int', 4 );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'multi_login', '_MD_AM_MULTLOGINPREVENT', '0', '_MD_AM_MULTLOGINPREVENTDSC', 'yesno', 'int', 9 );
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PERSONA
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'shadow_y', '_MD_AM_SHADOWY', '2', '_MD_AM_SHADOWY_DESC', 'textbox', 'int', 17 );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_AUTH, 'auth_openid', '_MD_AM_AUTHOPENID', '0', '_MD_AM_AUTHOPENIDDSC', 'yesno', 'int', 1 );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' (imgcat_id, imgcat_name, imgcat_maxsize, imgcat_maxwidth, imgcat_maxheight, imgcat_display, imgcat_weight, imgcat_type, imgcat_storetype) VALUES (NULL, "Logos", 350000, 350, 80, 1, 0, "C", "file")', 'Successfully created Logos imagecategory', 'Problems when try to create Logos imagecategory' );
- Exclude checks
Call to method __construct
from undeclared class \icms_db_legacy_updater_Table
Open
$table = new icms_db_legacy_updater_Table ( 'image' );
- Exclude checks
Call to method add
from undeclared class \icms_db_criteria_Compo
Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_name', 'rss_local' ) );
- Exclude checks
Call to method __construct
from undeclared class \icms_db_legacy_updater_Table
Open
$table = new icms_db_legacy_updater_Table ( 'users' );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 3, 1, 'group_manager');" );
- Exclude checks
Reference to undeclared constant \ICMS_CONF
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF, 'editor_default', '_MD_AM_EDITOR_DEFAULT', 'default', '_MD_AM_EDITOR_DEFAULT_DESC', 'editor', 'text', 16 );
- Exclude checks
Reference to undeclared constant \ICMS_CONF_USER
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'allwshow_sig', '_MD_AM_ALLWSHOWSIG', 1, '_MD_AM_ALLWSHOWSIGDSC', 'yesno', 'int', 4 );
- Exclude checks
Variable $abortUpdate
is undeclared Open
if (!$abortUpdate) $newDbVersion = 11;
- Exclude checks
Reference to undeclared constant \ICMS_CONF_METAFOOTER
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'footadm', '_MD_AM_FOOTADM', 'Powered by ImpressCMS © 2007-' . date ( "Y", time () ) . ' <a href=\"http://www.impresscms.org/\" rel=\"external\">The ImpressCMS Project</a>', '_MD_AM_FOOTADM_DESC', 'textarea', 'text', 22 );
- Exclude checks
Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF, 'editor_default', '_MD_AM_EDITOR_DEFAULT', 'default', '_MD_AM_EDITOR_DEFAULT_DESC', 'editor', 'text', 16 );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( IM_CONF_CONTENT, 'show_nav', '_MD_AM_CONT_SHOWNAV', '1', '_MD_AM_CONT_SHOWNAVDSC', 'yesno', 'int', 2 );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_right_logo_alt', '_MD_AM_RLOGOADM_ALT', '', '_MD_AM_RLOGOADM_ALT_DESC', 'textbox', 'text', 6 );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'welcome_msg', '_MD_AM_WELCOMEMSG', 0, '_MD_AM_WELCOMEMSGDSC', 'yesno', 'int', 3 );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'avatar_allow_gravatar', '_MD_AM_GRAVATARALLOW', '1', '_MD_AM_GRAVATARALWDSC', 'yesno', 'int', 15 );
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PERSONA
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'editre_block', '_MD_AM_EDITREMOVEBLOCK', '1', '_MD_AM_EDITREMOVEBLOCKDSC', 'yesno', 'int', 8 );
- Exclude checks
Reference to undeclared constant \ICMS_CONF_METAFOOTER
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'google_meta', '_MD_AM_METAGOOGLE', '', '_MD_AM_METAGOOGLE_DESC', 'textbox', 'text', 9 );
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PERSONA
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_cor', '_MD_AM_EMAILCOLOR', '#000000', '_MD_AM_EMAILCOLOR_DESC', 'color', 'text', 14 );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'footadm', '_MD_AM_FOOTADM', 'Powered by ImpressCMS © 2007-' . date ( "Y", time () ) . ' <a href=\"http://www.impresscms.org/\" rel=\"external\">The ImpressCMS Project</a>', '_MD_AM_FOOTADM_DESC', 'textarea', 'text', 22 );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateTable ( $table );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'welcome_msg_content', '_MD_AM_WELCOMEMSG_CONTENT', $default_msg_content, '_MD_AM_WELCOMEMSG_CONTENTDSC', 'textarea', 'text', 3 );
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$result = icms::$xoopsDB->query ( "SELECT imgcat_id FROM " . icms::$xoopsDB->prefix ( 'imagecategory' ) . " WHERE imgcat_name = 'Logos'" );
- Exclude checks
Reference to undeclared constant \ICMS_CONF
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF, 'use_captchaf', '_MD_AM_USECAPTCHAFORM', 1, '_MD_AM_USECAPTCHAFORMDSC', 'yesno', 'int', 37 );
- Exclude checks
Reference to undeclared constant \ICMS_CONF_SEARCH
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_SEARCH, 'search_per_page', '_MD_AM_SEARCH_PER_PAGE', '20', '_MD_AM_SEARCH_PER_PAGEDSC', 'textbox', 'int', 4 );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF, 'use_captchaf', '_MD_AM_USECAPTCHAFORM', 1, '_MD_AM_USECAPTCHAFORMDSC', 'yesno', 'int', 37 );
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
list ( $categ_id ) = icms::$xoopsDB->fetchRow ( $result );
- Exclude checks
Reference to undeclared constant \ICMS_CONF_USER
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'allow_htsig', '_MD_AM_ALLWHTSIG', 1, '_MD_AM_ALLWHTSIGDSC', 'yesno', 'int', 4 );
- Exclude checks
Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Reference to undeclared constant \ICMS_CONF_METAFOOTER
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'google_analytics', '_MD_AM_GOOGLE_ANA', '', '_MD_AM_GOOGLE_ANA_DESC', 'textbox', 'text', 21 );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_SEARCH, 'search_per_page', '_MD_AM_SEARCH_PER_PAGE', '20', '_MD_AM_SEARCH_PER_PAGEDSC', 'textbox', 'int', 4 );
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PERSONA
Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_catid', ICMS_CONF_PERSONA ) );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( IM_CONF_CONTENT, 'show_pinfo', '_MD_AM_CONT_SHOWPINFO', '1', '_MD_AM_CONT_SHOWPINFODSC', 'yesno', 'int', 4 );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( IM_CONF_MULILANGUAGE, 'ml_autoselect_enabled', '_MD_AM_ML_AUTOSELECT_ENABLED', '0', '_MD_AM_ML_AUTOSELECT_ENABLED_DESC', 'yesno', 'int', 1 );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_right_logo_url', '_MD_AM_RLOGOADM_URL', '', '_MD_AM_RLOGOADM_URL_DESC', 'textbox', 'text', 5 );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PERSONA
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_font', '_MD_AM_EMAILTTF', 'arial.ttf', '_MD_AM_EMAILTTF_DESC', 'select_font', 'text', 12 );
- Exclude checks
Reference to undeclared constant \IM_CONF_CONTENT
Open
$icmsDatabaseUpdater->insertConfig ( IM_CONF_CONTENT, 'show_nav', '_MD_AM_CONT_SHOWNAV', '1', '_MD_AM_CONT_SHOWNAVDSC', 'yesno', 'int', 2 );
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PERSONA
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_left_logo', '_MD_AM_LLOGOADM', '/uploads/img482278e29e81c.png', '_MD_AM_LLOGOADM_DESC', 'select_image', 'text', 1 );
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PERSONA
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'shorten_url', '_MD_AM_SHORTURL', '0', '_MD_AM_SHORTURLDSC', 'yesno', 'int', 18 );
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PERSONA
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'max_url_long', '_MD_AM_URLLEN', '50', '_MD_AM_URLLEN_DESC', 'textbox', 'int', 19 );
- Exclude checks
Call to method fieldExists
from undeclared class \icms_db_legacy_updater_Table
Open
if (! $table->fieldExists ( 'user_viewoid' )) {
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PERSONA
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'multi_login', '_MD_AM_MULTLOGINPREVENT', '0', '_MD_AM_MULTLOGINPREVENTDSC', 'yesno', 'int', 9 );
- Exclude checks
Reference to undeclared constant \ICMS_CONF_AUTH
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_AUTH, 'auth_openid', '_MD_AM_AUTHOPENID', '0', '_MD_AM_AUTHOPENIDDSC', 'yesno', 'int', 1 );
- Exclude checks
Call to method fieldExists
from undeclared class \icms_db_legacy_updater_Table
Open
if (! $table->fieldExists ( 'pass_expired' )) {
- Exclude checks
Call to method name
from undeclared class \icms_db_legacy_updater_Table
Open
$icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' VALUES(0,1,' . $categ_id . ',1,"imgcat_write")', '', '' );
- Exclude checks
Call to method __construct
from undeclared class \icms_db_legacy_updater_Table
Open
$table = new icms_db_legacy_updater_Table ( 'block_module_link' );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'pre_chars_left', '_MD_AM_PRECHARS', '35', '_MD_AM_PRECHARS_DESC', 'textbox', 'int', 20 );
- Exclude checks
Call to method name
from undeclared class \icms_db_legacy_updater_Table
Open
$icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' VALUES(0,1,' . $categ_id . ',1,"imgcat_read")', '', '' );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'last_chars_left', '_MD_AM_LASTCHARS', '10', '_MD_AM_LASTCHARS_DESC', 'textbox', 'int', 21 );
- Exclude checks
Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
if (! $icmsDatabaseUpdater->updateTable ( $table )) {
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'use_jsjalali', '_MD_AM_JALALICAL', '0', '_MD_AM_JALALICALDSC', 'yesno', 'int', 23 );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'censor_words'" );
- Exclude checks
Call to method name
from undeclared class \icms_db_legacy_updater_Table
Open
$icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` MODIFY dbversion INT(11) unsigned NOT NULL DEFAULT 1", 'Successfully modified field dbversion in table modules', '' );
- Exclude checks
Variable $abortUpdate
is undeclared Open
if (!$abortUpdate) $newDbVersion = 10;
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PERSONA
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'use_jsjalali', '_MD_AM_JALALICAL', '0', '_MD_AM_JALALICALDSC', 'yesno', 'int', 23 );
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );
- Exclude checks
Call to method add
from undeclared class \icms_db_criteria_Compo
Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_catid', ICMS_CONF_METAFOOTER ) );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'multi_login_msg'" );
- Exclude checks
Call to method name
from undeclared class \icms_db_legacy_updater_Table
Open
$icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` DROP INDEX unamepass, ADD INDEX unamepass (uname (10), pass (10))", 'Successfully altered the index unamepass on table users', '' );
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$result = icms::$xoopsDB->query ( $sql );
- Exclude checks
Call to method fieldExists
from undeclared class \icms_db_legacy_updater_Table
Open
if ($table->fieldExists ( 'dbversion' )) {
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 2, 1, 'group_manager');" );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` MODIFY dbversion INT(11) unsigned NOT NULL DEFAULT 1", 'Successfully modified field dbversion in table modules', '' );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'meta_keywords'" );
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$result = icms::$xoopsDB->query ( $sql );
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
list ( $new_block_id ) = icms::$xoopsDB->FetchRow ( $result );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'meta_description'" );
- Exclude checks
Reference to undeclared constant \ICMS_CONF_USER
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'welcome_msg_content', '_MD_AM_WELCOMEMSG_CONTENT', $default_msg_content, '_MD_AM_WELCOMEMSG_CONTENTDSC', 'textarea', 'text', 3 );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'allow_htsig', '_MD_AM_ALLWHTSIG', 1, '_MD_AM_ALLWHTSIGDSC', 'yesno', 'int', 4 );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'google_meta', '_MD_AM_METAGOOGLE', '', '_MD_AM_METAGOOGLE_DESC', 'textbox', 'text', 9 );
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PERSONA
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_left_logo_url', '_MD_AM_LLOGOADM_URL', '' . XOOPS_URL . '/', '_MD_AM_LLOGOADM_URL_DESC', 'textbox', 'text', 2 );
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PERSONA
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_right_logo', '_MD_AM_RLOGOADM', '', '_MD_AM_RLOGOADM_DESC', 'select_image', 'text', 4 );
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PERSONA
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_right_logo_url', '_MD_AM_RLOGOADM_URL', '', '_MD_AM_RLOGOADM_URL_DESC', 'textbox', 'text', 5 );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_protect', '_MD_AM_EMAILPROTECT', '0', '_MD_AM_EMAILPROTECTDSC', 'yesno', 'int', 11 );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_font', '_MD_AM_EMAILTTF', 'arial.ttf', '_MD_AM_EMAILTTF_DESC', 'select_font', 'text', 12 );
- Exclude checks
Call to method name
from undeclared class \icms_db_legacy_updater_Table
Open
$icmsDatabaseUpdater->runQuery ( 'UPDATE ' . $table->name () . ' SET module_id=0, page_id=1 WHERE module_id=-1', 'Block Visibility Restructured Successfully', 'Failed in Restructure the Block Visibility' );
- Exclude checks
Call to method addNewField
from undeclared class \icms_db_legacy_updater_Table
Open
$table->addNewField ( 'pass_expired', "tinyint(1) UNSIGNED NOT NULL default 0" );
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$sql = "SELECT bid FROM `" . icms::$xoopsDB->prefix ( 'newblocks' ) . "` WHERE show_func='b_content_menu_show'";
- Exclude checks
Call to method addUpdateAll
from undeclared class \icms_db_legacy_updater_Table
Open
$table->addUpdateAll ( 'conf_order', 'conf_order + 2', $criteria, true );
- Exclude checks
Reference to undeclared constant \ICMS_CONF_USER
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'allow_annon_view_prof', '_MD_AM_ALLOW_ANONYMOUS_VIEW_PROFILE', '1', '_MD_AM_ALLOW_ANONYMOUS_VIEW_PROFILE_DESC', 'yesno', 'int', 36 );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'use_google_analytics', '_MD_AM_USE_GOOGLE_ANA', 0, '_MD_AM_USE_GOOGLE_ANA_DESC', 'yesno', 'int', 21 );
- Exclude checks
Reference to undeclared constant \IM_CONF_MULILANGUAGE
Open
$icmsDatabaseUpdater->insertConfig ( IM_CONF_MULILANGUAGE, 'ml_autoselect_enabled', '_MD_AM_ML_AUTOSELECT_ENABLED', '0', '_MD_AM_ML_AUTOSELECT_ENABLED_DESC', 'yesno', 'int', 1 );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' (image_id, image_name, image_nicename, image_mimetype, image_created, image_display, image_weight, imgcat_id) VALUES (NULL, "img482278e29e81c.png", "ImpressCMS", "image/png", ' . time () . ', 1, 0, ' . $categ_id . ')', 'Successfully added default ImpressCMS admin logo', 'Problems when try to add ImpressCMS admin logo' );
- Exclude checks
Variable $dbVersion
is undeclared Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Variable $abortUpdate
is undeclared Open
if (!$abortUpdate) $newDbVersion = 9;
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 16, 1, 'system_admin');" );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'ldap_users_bypass'" );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'ldap_field_mapping'" );
- Exclude checks
Call to method __construct
from undeclared class \icms_db_legacy_updater_Table
Open
$table = new icms_db_legacy_updater_Table ( 'config' );
- Exclude checks
Invalid offset "language"
of array type array{template_set:mixed}
Open
$default_msg_content_file = ICMS_ROOT_PATH . '/language/' . $icmsConfig ['language'] . '/mail_template/' . 'welcome.tpl';
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_SEARCH, 'search_no_res_mod', '_MD_AM_SEARCH_NO_RES_MOD', '1', '_MD_AM_SEARCH_NO_RES_MODDSC', 'yesno', 'int', 3 );
- Exclude checks
Reference to undeclared constant \IM_CONF_CONTENT
Open
$icmsDatabaseUpdater->insertConfig ( IM_CONF_CONTENT, 'show_subs', '_MD_AM_CONT_SHOWSUBS', '1', '_MD_AM_CONT_SHOWSUBSDSC', 'yesno', 'int', 3 );
- Exclude checks
Reference to undeclared constant \IM_CONF_CONTENT
Open
$icmsDatabaseUpdater->insertConfig ( IM_CONF_CONTENT, 'show_pinfo', '_MD_AM_CONT_SHOWPINFO', '1', '_MD_AM_CONT_SHOWPINFODSC', 'yesno', 'int', 4 );
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PERSONA
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'rss_local', '_MD_AM_RSSLOCAL', 'http://www.impresscms.org/modules/smartsection/backend.php', '_MD_AM_RSSLOCAL_DESC', 'textbox', 'text', 7 );
- Exclude checks
Variable $abortUpdate
is undeclared Open
if (!$abortUpdate) $newDbVersion = 2;
- Exclude checks
Call to method __construct
from undeclared class \icms_db_legacy_updater_Table
Open
$table = new icms_db_legacy_updater_Table ( 'users' );
- Exclude checks
Call to method __construct
from undeclared class \icms_db_legacy_updater_Table
Open
$table = new icms_db_legacy_updater_Table ( 'users' );
- Exclude checks
Variable $abortUpdate
is undeclared Open
if (!$abortUpdate) $newDbVersion = 6;
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` MODIFY version smallint(5) unsigned NOT NULL default '102'", 'Successfully modified field version in table modules', '' );
- Exclude checks
Variable $dbVersion
is undeclared Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Reference to undeclared constant \ICMS_CONF
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF, 'editor_enabled_list', '_MD_AM_EDITOR_ENABLED_LIST', ".serialize(array('default')).", '_MD_AM_EDITOR_ENABLED_LIST_DESC', 'editor_multi', 'array', 16 );
- Exclude checks
Reference to undeclared constant \ICMS_CONF_METAFOOTER
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'use_google_analytics', '_MD_AM_USE_GOOGLE_ANA', 0, '_MD_AM_USE_GOOGLE_ANA_DESC', 'yesno', 'int', 21 );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_SEARCH, 'search_user_date', '_MD_AM_SEARCH_USERDATE', '1', '_MD_AM_SEARCH_USERDATE', 'yesno', 'int', 2 );
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PERSONA
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_left_logo_alt', '_MD_AM_LLOGOADM_ALT', 'ImpressCMS', '_MD_AM_LLOGOADM_ALT_DESC', 'textbox', 'text', 3 );
- Exclude checks
Reference to undeclared constant \ICMS_CONF_PERSONA
Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_right_logo_alt', '_MD_AM_RLOGOADM_ALT', '', '_MD_AM_RLOGOADM_ALT_DESC', 'textbox', 'text', 6 );
- Exclude checks
Variable $icmsDatabaseUpdater
is undeclared Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_shadow', '_MD_AM_EMAILSHADOW', '#cccccc', '_MD_AM_EMAILSHADOW_DESC', 'color', 'text', 15 );
- Exclude checks
Variable $dbVersion
is undeclared Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Call to method handler
from undeclared class \icms
Open
$configitem_handler = icms::handler('icms_config_item');
- 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_db_criteria_Item
Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_catid', ICMS_CONF_PERSONA ) );
- Exclude checks
Call to method fieldExists
from undeclared class \icms_db_legacy_updater_Table
Open
if (! $table->fieldExists ( 'enc_type' )) {
- Exclude checks
Variable $dbVersion
is undeclared Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Variable $abortUpdate
is undeclared Open
if (!$abortUpdate) $newDbVersion = 5;
- Exclude checks
Reference to undeclared constant \_DATABASEUPDATER_UPDATE_OK
Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Reference to static property xoopsDB
from undeclared class \icms
Open
$sql = "SELECT bid FROM `" . icms::$xoopsDB->prefix ( 'newblocks' ) . "` WHERE show_func='b_content_show'";
- Exclude checks
Similar blocks of code found in 2 locations. Consider refactoring. Open
if ($dbVersion < $newDbVersion) {
$configitem_handler = icms::handler('icms_config_item');
// fetch the rss_local configitem
$criteria = new icms_db_criteria_Compo ( );
$criteria->add ( new icms_db_criteria_Item ( 'conf_name', 'rss_local' ) );
- 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 191.
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
if ($dbVersion < $newDbVersion) {
$configitem_handler = icms::handler('icms_config_item');
// fetch the rss_local configitem
$criteria = new icms_db_criteria_Compo ( );
$criteria->add ( new icms_db_criteria_Item ( 'conf_name', 'google_analytics' ) );
- 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 191.
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 4 locations. Consider refactoring. Open
if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_content_show"' ) == FALSE) {
$sql = "SELECT bid FROM `" . icms::$xoopsDB->prefix ( 'newblocks' ) . "` WHERE show_func='b_content_show'";
$result = icms::$xoopsDB->query ( $sql );
list ( $new_block_id ) = icms::$xoopsDB->FetchRow ( $result );
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );
- 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 165.
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 4 locations. Consider refactoring. Open
if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_content_menu_show"' ) == FALSE) {
$sql = "SELECT bid FROM `" . icms::$xoopsDB->prefix ( 'newblocks' ) . "` WHERE show_func='b_content_menu_show'";
$result = icms::$xoopsDB->query ( $sql );
list ( $new_block_id ) = icms::$xoopsDB->FetchRow ( $result );
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );
- 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 165.
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 4 locations. Consider refactoring. Open
if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_content_relmenu_show"' ) == FALSE) {
$sql = "SELECT bid FROM `" . icms::$xoopsDB->prefix ( 'newblocks' ) . "` WHERE show_func='b_content_relmenu_show'";
$result = icms::$xoopsDB->query ( $sql );
list ( $new_block_id ) = icms::$xoopsDB->FetchRow ( $result );
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );
- 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 165.
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 4 locations. Consider refactoring. Open
if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_social_bookmarks"' ) == FALSE) {
$sql = "SELECT bid FROM `" . icms::$xoopsDB->prefix ( 'newblocks' ) . "` WHERE show_func='b_social_bookmarks'";
$result = icms::$xoopsDB->query ( $sql );
list ( $new_block_id ) = icms::$xoopsDB->FetchRow ( $result );
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 1);" );
- 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 165.
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
Blank line found at start of control structure Open
if ($dbVersion <= $newDbVersion) {
- Exclude checks
Blank line found at start of control structure Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE" Open
if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_content_show"' ) == FALSE) {
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE" Open
if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_content_menu_show"' ) == 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
if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_content_relmenu_show"' ) == FALSE) {
- Exclude checks
Blank line found at start of control structure Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
TRUE, FALSE and NULL must be lowercase; expected "false" but found "FALSE" Open
if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_social_bookmarks"' ) == FALSE) {
- Exclude checks
Inline control structures are not allowed Open
if (!$abortUpdate) $newDbVersion = 2;
- Exclude checks
Inline control structures are not allowed Open
if (!$abortUpdate) $newDbVersion = 3;
- Exclude checks
Inline control structures are not allowed Open
if (!$abortUpdate) $newDbVersion = 4;
- Exclude checks
Inline control structures are not allowed Open
if (!$abortUpdate) $newDbVersion = 7;
- Exclude checks
Inline control structures are not allowed Open
if (!$abortUpdate) $newDbVersion = 6;
- Exclude checks
Inline control structures are not allowed Open
if (!$abortUpdate) $newDbVersion = 5;
- Exclude checks
Inline control structures are not allowed Open
if (!$abortUpdate) $newDbVersion = 8;
- Exclude checks
Inline control structures are not allowed Open
if (!$abortUpdate) $newDbVersion = 9;
- Exclude checks
Inline control structures are not allowed Open
if (!$abortUpdate) $newDbVersion = 11;
- Exclude checks
Inline control structures are not allowed Open
if (!$abortUpdate) $newDbVersion = 10;
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$criteria = new icms_db_criteria_Compo ( );
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
if ($dbVersion <= $newDbVersion) {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_order', 3, '>' ) );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF, 'use_ext_date', '_MD_AM_EXT_DATE', 0, '_MD_AM_EXT_DATEDSC', 'yesno', 'int', 12 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF, 'editor_default', '_MD_AM_EDITOR_DEFAULT', 'default', '_MD_AM_EDITOR_DEFAULT_DESC', 'editor', 'text', 16 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'welcome_msg', '_MD_AM_WELCOMEMSG', 0, '_MD_AM_WELCOMEMSGDSC', 'yesno', 'int', 3 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$fp = fopen ( $default_msg_content_file, 'r' );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'welcome_msg_content', '_MD_AM_WELCOMEMSG_CONTENT', $default_msg_content, '_MD_AM_WELCOMEMSG_CONTENTDSC', 'textarea', 'text', 3 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'allow_htsig', '_MD_AM_ALLWHTSIG', 1, '_MD_AM_ALLWHTSIGDSC', 'yesno', 'int', 4 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'sig_max_length', '_MD_AM_SIGMAXLENGTH', '255', '_MD_AM_SIGMAXLENGTHDSC', 'textbox', 'int', 4 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'avatar_allow_gravatar', '_MD_AM_GRAVATARALLOW', '1', '_MD_AM_GRAVATARALWDSC', 'yesno', 'int', 15 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'google_meta', '_MD_AM_METAGOOGLE', '', '_MD_AM_METAGOOGLE_DESC', 'textbox', 'text', 9 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'google_meta', '_MD_AM_METAGOOGLE', '', '_MD_AM_METAGOOGLE_DESC', 'textbox', 'text', 9 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'use_google_analytics', '_MD_AM_USE_GOOGLE_ANA', 0, '_MD_AM_USE_GOOGLE_ANA_DESC', 'yesno', 'int', 21 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'use_google_analytics', '_MD_AM_USE_GOOGLE_ANA', 0, '_MD_AM_USE_GOOGLE_ANA_DESC', 'yesno', 'int', 21 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_SEARCH, 'search_user_date', '_MD_AM_SEARCH_USERDATE', '1', '_MD_AM_SEARCH_USERDATE', 'yesno', 'int', 2 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'shadow_y', '_MD_AM_SHADOWY', '2', '_MD_AM_SHADOWY_DESC', 'textbox', 'int', 17 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'last_chars_left', '_MD_AM_LASTCHARS', '10', '_MD_AM_LASTCHARS_DESC', 'textbox', 'int', 21 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'last_chars_left', '_MD_AM_LASTCHARS', '10', '_MD_AM_LASTCHARS_DESC', 'textbox', 'int', 21 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
unset ( $table );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$table->addNewField ( 'page_id', "smallint(5) NOT NULL default '0'" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->runQuery ( 'UPDATE ' . $table->name () . ' SET module_id=0, page_id=1 WHERE module_id=-1', 'Block Visibility Restructured Successfully', 'Failed in Restructure the Block Visibility' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
if (isset ( $configitemsObj [0] ) && $configitemsObj [0]->getVar ( 'conf_value', 'n' ) == 'http://www.impresscms.org/modules/smartsection/backend.php') {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$table->addUpdateAll ( 'conf_order', 'conf_order + 2', $criteria, true );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
unset ( $table );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
if (! file_exists ( $default_msg_content_file )) {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'welcome_msg_content', '_MD_AM_WELCOMEMSG_CONTENT', $default_msg_content, '_MD_AM_WELCOMEMSG_CONTENTDSC', 'textarea', 'text', 3 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( IM_CONF_CONTENT, 'show_pinfo', '_MD_AM_CONT_SHOWPINFO', '1', '_MD_AM_CONT_SHOWPINFODSC', 'yesno', 'int', 4 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_left_logo', '_MD_AM_LLOGOADM', '/uploads/img482278e29e81c.png', '_MD_AM_LLOGOADM_DESC', 'select_image', 'text', 1 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_right_logo', '_MD_AM_RLOGOADM', '', '_MD_AM_RLOGOADM_DESC', 'select_image', 'text', 4 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_protect', '_MD_AM_EMAILPROTECT', '0', '_MD_AM_EMAILPROTECTDSC', 'yesno', 'int', 11 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'shorten_url', '_MD_AM_SHORTURL', '0', '_MD_AM_SHORTURLDSC', 'yesno', 'int', 18 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'show_impresscms_menu', '_MD_AM_SHOW_ICMSMENU', '1', '_MD_AM_SHOW_ICMSMENU_DESC', 'yesno', 'int', 22 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$table = new icms_db_legacy_updater_Table ( 'group_permission' );
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
if (! $icmsDatabaseUpdater->updateTable ( $table )) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
unset ( $table );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_order', 3, '>' ) );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$criteria = new icms_db_criteria_Compo ( );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->updateTable ( $table );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_name', 'rss_local' ) );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
if (isset ( $configitemsObj [0] ) && $configitemsObj [0]->getVar ( 'conf_value', 'n' ) == 'http://www.impresscms.org/modules/smartsection/backend.php') {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF, 'editor_enabled_list', '_MD_AM_EDITOR_ENABLED_LIST', ".serialize(array('default')).", '_MD_AM_EDITOR_ENABLED_LIST_DESC', 'editor_multi', 'array', 16 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
if (! file_exists ( $default_msg_content_file )) {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( IM_CONF_CONTENT, 'default_page', '_MD_AM_DEFAULT_CONTPAGE', '0', '_MD_AM_DEFAULT_CONTPAGEDSC', 'select_pages', 'int', 1 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( IM_CONF_CONTENT, 'show_subs', '_MD_AM_CONT_SHOWSUBS', '1', '_MD_AM_CONT_SHOWSUBSDSC', 'yesno', 'int', 3 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_left_logo', '_MD_AM_LLOGOADM', '/uploads/img482278e29e81c.png', '_MD_AM_LLOGOADM_DESC', 'select_image', 'text', 1 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_left_logo_alt', '_MD_AM_LLOGOADM_ALT', 'ImpressCMS', '_MD_AM_LLOGOADM_ALT_DESC', 'textbox', 'text', 3 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_right_logo_alt', '_MD_AM_RLOGOADM_ALT', '', '_MD_AM_RLOGOADM_ALT_DESC', 'textbox', 'text', 6 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'editre_block', '_MD_AM_EDITREMOVEBLOCK', '1', '_MD_AM_EDITREMOVEBLOCKDSC', 'yesno', 'int', 8 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'shorten_url', '_MD_AM_SHORTURL', '0', '_MD_AM_SHORTURLDSC', 'yesno', 'int', 18 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'max_url_long', '_MD_AM_URLLEN', '50', '_MD_AM_URLLEN_DESC', 'textbox', 'int', 19 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
unset ( $table );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' VALUES(0,1,' . $categ_id . ',1,"imgcat_read")', '', '' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$table = new icms_db_legacy_updater_Table ( 'config' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_name', 'rss_local' ) );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_order', 3, '>' ) );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$configitemsObj = $configitem_handler->getObjects ( $criteria );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->updateTable ( $table );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$configitem_handler->insert ( $configitemsObj [0] );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$fp = fopen ( $default_msg_content_file, 'r' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$default_msg_content = fread ( $fp, filesize ( $default_msg_content_file ) );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_SEARCH, 'search_no_res_mod', '_MD_AM_SEARCH_NO_RES_MOD', '1', '_MD_AM_SEARCH_NO_RES_MODDSC', 'yesno', 'int', 3 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_left_logo_url', '_MD_AM_LLOGOADM_URL', '' . XOOPS_URL . '/', '_MD_AM_LLOGOADM_URL_DESC', 'textbox', 'text', 2 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_left_logo_url', '_MD_AM_LLOGOADM_URL', '' . XOOPS_URL . '/', '_MD_AM_LLOGOADM_URL_DESC', 'textbox', 'text', 2 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_left_logo_url', '_MD_AM_LLOGOADM_URL', '' . XOOPS_URL . '/', '_MD_AM_LLOGOADM_URL_DESC', 'textbox', 'text', 2 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_font', '_MD_AM_EMAILTTF', 'arial.ttf', '_MD_AM_EMAILTTF_DESC', 'select_font', 'text', 12 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_shadow', '_MD_AM_EMAILSHADOW', '#cccccc', '_MD_AM_EMAILSHADOW_DESC', 'color', 'text', 15 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'max_url_long', '_MD_AM_URLLEN', '50', '_MD_AM_URLLEN_DESC', 'textbox', 'int', 19 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$result = icms::$xoopsDB->query ( "SELECT imgcat_id FROM " . icms::$xoopsDB->prefix ( 'imagecategory' ) . " WHERE imgcat_name = 'Logos'" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' (image_id, image_name, image_nicename, image_mimetype, image_created, image_display, image_weight, imgcat_id) VALUES (NULL, "img482278e29e81c.png", "ImpressCMS", "image/png", ' . time () . ', 1, 0, ' . $categ_id . ')', 'Successfully added default ImpressCMS admin logo', 'Problems when try to add ImpressCMS admin logo' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' (image_id, image_name, image_nicename, image_mimetype, image_created, image_display, image_weight, imgcat_id) VALUES (NULL, "img482278e29e81c.png", "ImpressCMS", "image/png", ' . time () . ', 1, 0, ' . $categ_id . ')', 'Successfully added default ImpressCMS admin logo', 'Problems when try to add ImpressCMS admin logo' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
if (! $icmsDatabaseUpdater->updateTable ( $table )) {
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_catid', ICMS_CONF_PERSONA ) );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF, 'use_ext_date', '_MD_AM_EXT_DATE', 0, '_MD_AM_EXT_DATEDSC', 'yesno', 'int', 12 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'allwshow_sig', '_MD_AM_ALLWSHOWSIG', 1, '_MD_AM_ALLWSHOWSIGDSC', 'yesno', 'int', 4 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'avatar_allow_gravatar', '_MD_AM_GRAVATARALLOW', '1', '_MD_AM_GRAVATARALWDSC', 'yesno', 'int', 15 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_SEARCH, 'search_user_date', '_MD_AM_SEARCH_USERDATE', '1', '_MD_AM_SEARCH_USERDATE', 'yesno', 'int', 2 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( IM_CONF_CONTENT, 'show_nav', '_MD_AM_CONT_SHOWNAV', '1', '_MD_AM_CONT_SHOWNAVDSC', 'yesno', 'int', 2 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_protect', '_MD_AM_EMAILPROTECT', '0', '_MD_AM_EMAILPROTECTDSC', 'yesno', 'int', 11 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_font_len', '_MD_AM_EMAILLEN', '12', '_MD_AM_EMAILLEN_DESC', 'textbox', 'int', 13 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$table = new icms_db_legacy_updater_Table ( 'imagecategory' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$result = icms::$xoopsDB->query ( "SELECT imgcat_id FROM " . icms::$xoopsDB->prefix ( 'imagecategory' ) . " WHERE imgcat_name = 'Logos'" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
list ( $categ_id ) = icms::$xoopsDB->fetchRow ( $result );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$table = new icms_db_legacy_updater_Table ( 'image' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$table = new icms_db_legacy_updater_Table ( 'group_permission' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' VALUES(0,1,' . $categ_id . ',1,"imgcat_read")', '', '' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' VALUES(0,1,' . $categ_id . ',1,"imgcat_read")', '', '' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$table->addNewField ( 'page_id', "smallint(5) NOT NULL default '0'" );
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->runQuery ( 'UPDATE ' . $table->name () . ' SET module_id=0, page_id=1 WHERE module_id=-1', 'Block Visibility Restructured Successfully', 'Failed in Restructure the Block Visibility' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->runQuery ( 'UPDATE ' . $table->name () . ' SET module_id=0, page_id=1 WHERE module_id=-1', 'Block Visibility Restructured Successfully', 'Failed in Restructure the Block Visibility' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
if (isset ( $configitemsObj [0] ) && $configitemsObj [0]->getVar ( 'conf_value', 'n' ) == 'http://www.impresscms.org/modules/smartsection/backend.php') {
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'allow_annon_view_prof', '_MD_AM_ALLOW_ANONYMOUS_VIEW_PROFILE', '1', '_MD_AM_ALLOW_ANONYMOUS_VIEW_PROFILE_DESC', 'yesno', 'int', 36 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( IM_CONF_CONTENT, 'default_page', '_MD_AM_DEFAULT_CONTPAGE', '0', '_MD_AM_DEFAULT_CONTPAGEDSC', 'select_pages', 'int', 1 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( IM_CONF_CONTENT, 'show_nav', '_MD_AM_CONT_SHOWNAV', '1', '_MD_AM_CONT_SHOWNAVDSC', 'yesno', 'int', 2 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_right_logo_url', '_MD_AM_RLOGOADM_URL', '', '_MD_AM_RLOGOADM_URL_DESC', 'textbox', 'text', 5 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_shadow', '_MD_AM_EMAILSHADOW', '#cccccc', '_MD_AM_EMAILSHADOW_DESC', 'color', 'text', 15 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'shadow_y', '_MD_AM_SHADOWY', '2', '_MD_AM_SHADOWY_DESC', 'textbox', 'int', 17 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_AUTH, 'auth_openid', '_MD_AM_AUTHOPENID', '0', '_MD_AM_AUTHOPENIDDSC', 'yesno', 'int', 1 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$result = icms::$xoopsDB->query ( "SELECT imgcat_id FROM " . icms::$xoopsDB->prefix ( 'imagecategory' ) . " WHERE imgcat_name = 'Logos'" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$result = icms::$xoopsDB->query ( "SELECT imgcat_id FROM " . icms::$xoopsDB->prefix ( 'imagecategory' ) . " WHERE imgcat_name = 'Logos'" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$table = new icms_db_legacy_updater_Table ( 'block_module_link' );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
if (! $table->fieldExists ( 'page_id' )) {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
unset ( $table );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_catid', ICMS_CONF_PERSONA ) );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
if (! $table->fieldExists ( 'openid' )) {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$table = new icms_db_legacy_updater_Table ( 'config' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF, 'editor_enabled_list', '_MD_AM_EDITOR_ENABLED_LIST', ".serialize(array('default')).", '_MD_AM_EDITOR_ENABLED_LIST_DESC', 'editor_multi', 'array', 16 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'use_captcha', '_MD_AM_USECAPTCHA', 1, '_MD_AM_USECAPTCHADSC', 'yesno', 'int', 3 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
if (! file_exists ( $default_msg_content_file )) {
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$default_msg_content = fread ( $fp, filesize ( $default_msg_content_file ) );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'allwshow_sig', '_MD_AM_ALLWSHOWSIG', 1, '_MD_AM_ALLWSHOWSIGDSC', 'yesno', 'int', 4 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'google_meta', '_MD_AM_METAGOOGLE', '', '_MD_AM_METAGOOGLE_DESC', 'textbox', 'text', 9 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( IM_CONF_MULILANGUAGE, 'ml_autoselect_enabled', '_MD_AM_ML_AUTOSELECT_ENABLED', '0', '_MD_AM_ML_AUTOSELECT_ENABLED_DESC', 'yesno', 'int', 1 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( IM_CONF_MULILANGUAGE, 'ml_autoselect_enabled', '_MD_AM_ML_AUTOSELECT_ENABLED', '0', '_MD_AM_ML_AUTOSELECT_ENABLED_DESC', 'yesno', 'int', 1 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( IM_CONF_CONTENT, 'default_page', '_MD_AM_DEFAULT_CONTPAGE', '0', '_MD_AM_DEFAULT_CONTPAGEDSC', 'select_pages', 'int', 1 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'show_impresscms_menu', '_MD_AM_SHOW_ICMSMENU', '1', '_MD_AM_SHOW_ICMSMENU_DESC', 'yesno', 'int', 22 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' (imgcat_id, imgcat_name, imgcat_maxsize, imgcat_maxwidth, imgcat_maxheight, imgcat_display, imgcat_weight, imgcat_type, imgcat_storetype) VALUES (NULL, "Logos", 350000, 350, 80, 1, 0, "C", "file")', 'Successfully created Logos imagecategory', 'Problems when try to create Logos imagecategory' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' VALUES(0,1,' . $categ_id . ',1,"imgcat_write")', '', '' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_catid', ICMS_CONF_PERSONA ) );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
if (isset ( $configitemsObj [0] ) && $configitemsObj [0]->getVar ( 'conf_value', 'n' ) == 'http://www.impresscms.org/modules/smartsection/backend.php') {
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->updateTable ( $table );
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
if (! $table->fieldExists ( 'user_viewoid' )) {
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_catid', ICMS_CONF_METAFOOTER ) );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$criteria = new icms_db_criteria_Compo ( );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_order', 3, '>' ) );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$table->addUpdateAll ( 'conf_order', 'conf_order + 2', $criteria, true );
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
if (! file_exists ( $default_msg_content_file )) {
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'avatar_allow_gravatar', '_MD_AM_GRAVATARALLOW', '1', '_MD_AM_GRAVATARALWDSC', 'yesno', 'int', 15 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_SEARCH, 'search_user_date', '_MD_AM_SEARCH_USERDATE', '1', '_MD_AM_SEARCH_USERDATE', 'yesno', 'int', 2 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$criteria = new icms_db_criteria_Compo ( );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_left_logo', '_MD_AM_LLOGOADM', '/uploads/img482278e29e81c.png', '_MD_AM_LLOGOADM_DESC', 'select_image', 'text', 1 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
unset ( $table );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'editre_block', '_MD_AM_EDITREMOVEBLOCK', '1', '_MD_AM_EDITREMOVEBLOCKDSC', 'yesno', 'int', 8 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'use_google_analytics', '_MD_AM_USE_GOOGLE_ANA', 0, '_MD_AM_USE_GOOGLE_ANA_DESC', 'yesno', 'int', 21 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'footadm', '_MD_AM_FOOTADM', 'Powered by ImpressCMS © 2007-' . date ( "Y", time () ) . ' <a href=\"http://www.impresscms.org/\" rel=\"external\">The ImpressCMS Project</a>', '_MD_AM_FOOTADM_DESC', 'textarea', 'text', 22 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'multi_login', '_MD_AM_MULTLOGINPREVENT', '0', '_MD_AM_MULTLOGINPREVENTDSC', 'yesno', 'int', 9 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_order', 3, '>' ) );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'footadm', '_MD_AM_FOOTADM', 'Powered by ImpressCMS © 2007-' . date ( "Y", time () ) . ' <a href=\"http://www.impresscms.org/\" rel=\"external\">The ImpressCMS Project</a>', '_MD_AM_FOOTADM_DESC', 'textarea', 'text', 22 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_font_len', '_MD_AM_EMAILLEN', '12', '_MD_AM_EMAILLEN_DESC', 'textbox', 'int', 13 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'use_captcha', '_MD_AM_USECAPTCHA', 1, '_MD_AM_USECAPTCHADSC', 'yesno', 'int', 3 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( IM_CONF_CONTENT, 'show_subs', '_MD_AM_CONT_SHOWSUBS', '1', '_MD_AM_CONT_SHOWSUBSDSC', 'yesno', 'int', 3 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'allow_annon_view_prof', '_MD_AM_ALLOW_ANONYMOUS_VIEW_PROFILE', '1', '_MD_AM_ALLOW_ANONYMOUS_VIEW_PROFILE_DESC', 'yesno', 'int', 36 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$result = icms::$xoopsDB->query ( "SELECT imgcat_id FROM " . icms::$xoopsDB->prefix ( 'imagecategory' ) . " WHERE imgcat_name = 'Logos'" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'google_analytics', '_MD_AM_GOOGLE_ANA', '', '_MD_AM_GOOGLE_ANA_DESC', 'textbox', 'text', 21 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'shadow_x', '_MD_AM_SHADOWX', '2', '_MD_AM_SHADOWX_DESC', 'textbox', 'int', 16 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
list ( $categ_id ) = icms::$xoopsDB->fetchRow ( $result );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_SEARCH, 'search_per_page', '_MD_AM_SEARCH_PER_PAGE', '20', '_MD_AM_SEARCH_PER_PAGEDSC', 'textbox', 'int', 4 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'max_url_long', '_MD_AM_URLLEN', '50', '_MD_AM_URLLEN_DESC', 'textbox', 'int', 19 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' (image_id, image_name, image_nicename, image_mimetype, image_created, image_display, image_weight, imgcat_id) VALUES (NULL, "img482278e29e81c.png", "ImpressCMS", "image/png", ' . time () . ', 1, 0, ' . $categ_id . ')', 'Successfully added default ImpressCMS admin logo', 'Problems when try to add ImpressCMS admin logo' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_AUTH, 'auth_openid', '_MD_AM_AUTHOPENID', '0', '_MD_AM_AUTHOPENIDDSC', 'yesno', 'int', 1 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( IM_CONF_CONTENT, 'show_subs', '_MD_AM_CONT_SHOWSUBS', '1', '_MD_AM_CONT_SHOWSUBSDSC', 'yesno', 'int', 3 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
if (! $icmsDatabaseUpdater->updateTable ( $table )) {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
if (! $icmsDatabaseUpdater->updateTable ( $table )) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_right_logo_alt', '_MD_AM_RLOGOADM_ALT', '', '_MD_AM_RLOGOADM_ALT_DESC', 'textbox', 'text', 6 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Space before opening parenthesis of function call prohibited Open
unset ( $table );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'rss_local', '_MD_AM_RSSLOCAL', 'http://www.impresscms.org/modules/smartsection/backend.php', '_MD_AM_RSSLOCAL_DESC', 'textbox', 'text', 7 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'multi_login', '_MD_AM_MULTLOGINPREVENT', '0', '_MD_AM_MULTLOGINPREVENTDSC', 'yesno', 'int', 9 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
unset ( $table );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_AUTH, 'auth_openid', '_MD_AM_AUTHOPENID', '0', '_MD_AM_AUTHOPENIDDSC', 'yesno', 'int', 1 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
unset ( $table );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' VALUES(0,1,' . $categ_id . ',1,"imgcat_write")', '', '' );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_name', 'rss_local' ) );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
if (isset ( $configitemsObj [0] ) && $configitemsObj [0]->getVar ( 'conf_value', 'n' ) == 'http://www.impresscms.org/modules/smartsection/backend.php') {
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$table = new icms_db_legacy_updater_Table ( 'block_module_link' );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_name', 'rss_local' ) );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->updateTable ( $table );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
unset ( $table );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
if (! $table->fieldExists ( 'page_id' )) {
- Exclude checks
Space before opening parenthesis of function call prohibited Open
if (isset ( $configitemsObj [0] ) && $configitemsObj [0]->getVar ( 'conf_value', 'n' ) == 'http://www.impresscms.org/modules/smartsection/backend.php') {
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->updateTable ( $table );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_name', 'rss_local' ) );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$configitemsObj [0]->setVar ( 'conf_value', 'https://www.impresscms.org/modules/new/rss.php' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$table = new icms_db_legacy_updater_Table ( 'users' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
if (! $table->fieldExists ( 'openid' )) {
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$table = new icms_db_legacy_updater_Table ( 'users' );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF, 'use_ext_date', '_MD_AM_EXT_DATE', 0, '_MD_AM_EXT_DATEDSC', 'yesno', 'int', 12 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$table->addNewField ( 'openid', "varchar(255) NOT NULL default ''" );
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$default_msg_content = fread ( $fp, filesize ( $default_msg_content_file ) );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Space after opening parenthesis of function call prohibited Open
unset ( $table );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Space after opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Space before opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$table->addNewField ( 'openid', "varchar(255) NOT NULL default ''" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$default_msg_content = fread ( $fp, filesize ( $default_msg_content_file ) );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'use_jsjalali', '_MD_AM_JALALICAL', '0', '_MD_AM_JALALICALDSC', 'yesno', 'int', 23 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$table->addNewField ( 'user_viewoid', "tinyint(1) UNSIGNED NOT NULL default 0" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
if (! $table->fieldExists ( 'pass_expired' )) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'allwshow_sig', '_MD_AM_ALLWSHOWSIG', 1, '_MD_AM_ALLWSHOWSIGDSC', 'yesno', 'int', 4 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$criteria = new icms_db_criteria_Compo ( );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->updateTable ( $table );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'footadm', '_MD_AM_FOOTADM', 'Powered by ImpressCMS © 2007-' . date ( "Y", time () ) . ' <a href=\"http://www.impresscms.org/\" rel=\"external\">The ImpressCMS Project</a>', '_MD_AM_FOOTADM_DESC', 'textarea', 'text', 22 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
unset ( $table );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_SEARCH, 'search_no_res_mod', '_MD_AM_SEARCH_NO_RES_MOD', '1', '_MD_AM_SEARCH_NO_RES_MODDSC', 'yesno', 'int', 3 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
}
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( IM_CONF_MULILANGUAGE, 'ml_autoselect_enabled', '_MD_AM_ML_AUTOSELECT_ENABLED', '0', '_MD_AM_ML_AUTOSELECT_ENABLED_DESC', 'yesno', 'int', 1 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
unset ( $table );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'rss_local', '_MD_AM_RSSLOCAL', 'http://www.impresscms.org/modules/smartsection/backend.php', '_MD_AM_RSSLOCAL_DESC', 'textbox', 'text', 7 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( "DELETE FROM `" . icms::$xoopsDB->prefix ( 'config' ) . "` WHERE conf_name='use_jsjalali'" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$criteria = new icms_db_criteria_Compo ( );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'rss_local', '_MD_AM_RSSLOCAL', 'http://www.impresscms.org/modules/smartsection/backend.php', '_MD_AM_RSSLOCAL_DESC', 'textbox', 'text', 7 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_shadow', '_MD_AM_EMAILSHADOW', '#cccccc', '_MD_AM_EMAILSHADOW_DESC', 'color', 'text', 15 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'shadow_x', '_MD_AM_SHADOWX', '2', '_MD_AM_SHADOWX_DESC', 'textbox', 'int', 16 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
unset ( $table );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
list ( $categ_id ) = icms::$xoopsDB->fetchRow ( $result );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$table = new icms_db_legacy_updater_Table ( 'image' );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' VALUES(0,1,' . $categ_id . ',1,"imgcat_write")', '', '' );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' VALUES(0,1,' . $categ_id . ',1,"imgcat_read")', '', '' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
unset ( $table );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$table->addNewField ( 'page_id', "smallint(5) NOT NULL default '0'" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$configitemsObj = $configitem_handler->getObjects ( $criteria );
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
if (! $table->fieldExists ( 'pass_expired' )) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$table->addNewField ( 'pass_expired', "tinyint(1) UNSIGNED NOT NULL default 0" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Space after opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Space before opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Space after opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Space before opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( "DELETE FROM `" . icms::$xoopsDB->prefix ( 'config' ) . "` WHERE conf_name='use_jsjalali'" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
if ($fp) {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$default_msg_content = fread ( $fp, filesize ( $default_msg_content_file ) );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'allow_htsig', '_MD_AM_ALLWHTSIG', 1, '_MD_AM_ALLWHTSIGDSC', 'yesno', 'int', 4 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'footadm', '_MD_AM_FOOTADM', 'Powered by ImpressCMS © 2007-' . date ( "Y", time () ) . ' <a href=\"http://www.impresscms.org/\" rel=\"external\">The ImpressCMS Project</a>', '_MD_AM_FOOTADM_DESC', 'textarea', 'text', 22 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'footadm', '_MD_AM_FOOTADM', 'Powered by ImpressCMS © 2007-' . date ( "Y", time () ) . ' <a href=\"http://www.impresscms.org/\" rel=\"external\">The ImpressCMS Project</a>', '_MD_AM_FOOTADM_DESC', 'textarea', 'text', 22 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_right_logo_url', '_MD_AM_RLOGOADM_URL', '', '_MD_AM_RLOGOADM_URL_DESC', 'textbox', 'text', 5 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_right_logo_alt', '_MD_AM_RLOGOADM_ALT', '', '_MD_AM_RLOGOADM_ALT_DESC', 'textbox', 'text', 6 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'editre_block', '_MD_AM_EDITREMOVEBLOCK', '1', '_MD_AM_EDITREMOVEBLOCKDSC', 'yesno', 'int', 8 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'multi_login', '_MD_AM_MULTLOGINPREVENT', '0', '_MD_AM_MULTLOGINPREVENTDSC', 'yesno', 'int', 9 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_font', '_MD_AM_EMAILTTF', 'arial.ttf', '_MD_AM_EMAILTTF_DESC', 'select_font', 'text', 12 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_cor', '_MD_AM_EMAILCOLOR', '#000000', '_MD_AM_EMAILCOLOR_DESC', 'color', 'text', 14 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'shadow_x', '_MD_AM_SHADOWX', '2', '_MD_AM_SHADOWX_DESC', 'textbox', 'int', 16 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'last_chars_left', '_MD_AM_LASTCHARS', '10', '_MD_AM_LASTCHARS_DESC', 'textbox', 'int', 21 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' (imgcat_id, imgcat_name, imgcat_maxsize, imgcat_maxwidth, imgcat_maxheight, imgcat_display, imgcat_weight, imgcat_type, imgcat_storetype) VALUES (NULL, "Logos", 350000, 350, 80, 1, 0, "C", "file")', 'Successfully created Logos imagecategory', 'Problems when try to create Logos imagecategory' );
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
if (! $table->fieldExists ( 'page_id' )) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$criteria = new icms_db_criteria_Compo ( );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_name', 'rss_local' ) );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_catid', ICMS_CONF_PERSONA ) );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_catid', ICMS_CONF_PERSONA ) );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$configitemsObj = $configitem_handler->getObjects ( $criteria );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$configitem_handler->insert ( $configitemsObj [0] );
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$table = new icms_db_legacy_updater_Table ( 'users' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$table = new icms_db_legacy_updater_Table ( 'users' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->updateTable ( $table );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
unset ( $table );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Space before opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( "DELETE FROM `" . icms::$xoopsDB->prefix ( 'config' ) . "` WHERE conf_name='use_jsjalali'" );
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
}
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_order', 3, '>' ) );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF, 'editor_enabled_list', '_MD_AM_EDITOR_ENABLED_LIST', ".serialize(array('default')).", '_MD_AM_EDITOR_ENABLED_LIST_DESC', 'editor_multi', 'array', 16 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'use_captcha', '_MD_AM_USECAPTCHA', 1, '_MD_AM_USECAPTCHADSC', 'yesno', 'int', 3 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'footadm', '_MD_AM_FOOTADM', 'Powered by ImpressCMS © 2007-' . date ( "Y", time () ) . ' <a href=\"http://www.impresscms.org/\" rel=\"external\">The ImpressCMS Project</a>', '_MD_AM_FOOTADM_DESC', 'textarea', 'text', 22 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_SEARCH, 'search_per_page', '_MD_AM_SEARCH_PER_PAGE', '20', '_MD_AM_SEARCH_PER_PAGEDSC', 'textbox', 'int', 4 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_right_logo', '_MD_AM_RLOGOADM', '', '_MD_AM_RLOGOADM_DESC', 'select_image', 'text', 4 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_font_len', '_MD_AM_EMAILLEN', '12', '_MD_AM_EMAILLEN_DESC', 'textbox', 'int', 13 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'shadow_y', '_MD_AM_SHADOWY', '2', '_MD_AM_SHADOWY_DESC', 'textbox', 'int', 17 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'pre_chars_left', '_MD_AM_PRECHARS', '35', '_MD_AM_PRECHARS_DESC', 'textbox', 'int', 20 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' (image_id, image_name, image_nicename, image_mimetype, image_created, image_display, image_weight, imgcat_id) VALUES (NULL, "img482278e29e81c.png", "ImpressCMS", "image/png", ' . time () . ', 1, 0, ' . $categ_id . ')', 'Successfully added default ImpressCMS admin logo', 'Problems when try to add ImpressCMS admin logo' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
unset ( $table );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' VALUES(0,1,' . $categ_id . ',1,"imgcat_write")', '', '' );
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->runQuery ( 'UPDATE ' . $table->name () . ' SET module_id=0, page_id=1 WHERE module_id=-1', 'Block Visibility Restructured Successfully', 'Failed in Restructure the Block Visibility' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
unset ( $table );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$table->addNewField ( 'user_viewoid', "tinyint(1) UNSIGNED NOT NULL default 0" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$table->addUpdateAll ( 'conf_order', 'conf_order + 2', $criteria, true );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF, 'use_captchaf', '_MD_AM_USECAPTCHAFORM', 1, '_MD_AM_USECAPTCHAFORMDSC', 'yesno', 'int', 37 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'welcome_msg', '_MD_AM_WELCOMEMSG', 0, '_MD_AM_WELCOMEMSGDSC', 'yesno', 'int', 3 );
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'welcome_msg_content', '_MD_AM_WELCOMEMSG_CONTENT', $default_msg_content, '_MD_AM_WELCOMEMSG_CONTENTDSC', 'textarea', 'text', 3 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'google_analytics', '_MD_AM_GOOGLE_ANA', '', '_MD_AM_GOOGLE_ANA_DESC', 'textbox', 'text', 21 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_SEARCH, 'search_per_page', '_MD_AM_SEARCH_PER_PAGE', '20', '_MD_AM_SEARCH_PER_PAGEDSC', 'textbox', 'int', 4 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( IM_CONF_CONTENT, 'show_pinfo', '_MD_AM_CONT_SHOWPINFO', '1', '_MD_AM_CONT_SHOWPINFODSC', 'yesno', 'int', 4 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_left_logo_alt', '_MD_AM_LLOGOADM_ALT', 'ImpressCMS', '_MD_AM_LLOGOADM_ALT_DESC', 'textbox', 'text', 3 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'pre_chars_left', '_MD_AM_PRECHARS', '35', '_MD_AM_PRECHARS_DESC', 'textbox', 'int', 20 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'show_impresscms_menu', '_MD_AM_SHOW_ICMSMENU', '1', '_MD_AM_SHOW_ICMSMENU_DESC', 'yesno', 'int', 22 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
unset ( $table );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' (imgcat_id, imgcat_name, imgcat_maxsize, imgcat_maxwidth, imgcat_maxheight, imgcat_display, imgcat_weight, imgcat_type, imgcat_storetype) VALUES (NULL, "Logos", 350000, 350, 80, 1, 0, "C", "file")', 'Successfully created Logos imagecategory', 'Problems when try to create Logos imagecategory' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' (imgcat_id, imgcat_name, imgcat_maxsize, imgcat_maxwidth, imgcat_maxheight, imgcat_display, imgcat_weight, imgcat_type, imgcat_storetype) VALUES (NULL, "Logos", 350000, 350, 80, 1, 0, "C", "file")', 'Successfully created Logos imagecategory', 'Problems when try to create Logos imagecategory' );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$result = icms::$xoopsDB->query ( "SELECT imgcat_id FROM " . icms::$xoopsDB->prefix ( 'imagecategory' ) . " WHERE imgcat_name = 'Logos'" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF, 'editor_default', '_MD_AM_EDITOR_DEFAULT', 'default', '_MD_AM_EDITOR_DEFAULT_DESC', 'editor', 'text', 16 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$table = new icms_db_legacy_updater_Table ( 'block_module_link' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF, 'use_captchaf', '_MD_AM_USECAPTCHAFORM', 1, '_MD_AM_USECAPTCHAFORMDSC', 'yesno', 'int', 37 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
if (! $table->fieldExists ( 'page_id' )) {
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$table = new icms_db_legacy_updater_Table ( 'config' );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
unset ( $table );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF, 'editor_default', '_MD_AM_EDITOR_DEFAULT', 'default', '_MD_AM_EDITOR_DEFAULT_DESC', 'editor', 'text', 16 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$default_msg_content = fread ( $fp, filesize ( $default_msg_content_file ) );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$criteria = new icms_db_criteria_Compo ( );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF, 'use_captchaf', '_MD_AM_USECAPTCHAFORM', 1, '_MD_AM_USECAPTCHAFORMDSC', 'yesno', 'int', 37 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'welcome_msg', '_MD_AM_WELCOMEMSG', 0, '_MD_AM_WELCOMEMSGDSC', 'yesno', 'int', 3 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'allow_htsig', '_MD_AM_ALLWHTSIG', 1, '_MD_AM_ALLWHTSIGDSC', 'yesno', 'int', 4 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$configitemsObj [0]->setVar ( 'conf_value', 'https://www.impresscms.org/modules/new/rss.php' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$fp = fopen ( $default_msg_content_file, 'r' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'sig_max_length', '_MD_AM_SIGMAXLENGTH', '255', '_MD_AM_SIGMAXLENGTHDSC', 'textbox', 'int', 4 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'sig_max_length', '_MD_AM_SIGMAXLENGTH', '255', '_MD_AM_SIGMAXLENGTHDSC', 'textbox', 'int', 4 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
if (! $table->fieldExists ( 'user_viewoid' )) {
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_USER, 'allow_annon_view_prof', '_MD_AM_ALLOW_ANONYMOUS_VIEW_PROFILE', '1', '_MD_AM_ALLOW_ANONYMOUS_VIEW_PROFILE_DESC', 'yesno', 'int', 36 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'google_analytics', '_MD_AM_GOOGLE_ANA', '', '_MD_AM_GOOGLE_ANA_DESC', 'textbox', 'text', 21 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_METAFOOTER, 'footadm', '_MD_AM_FOOTADM', 'Powered by ImpressCMS © 2007-' . date ( "Y", time () ) . ' <a href=\"http://www.impresscms.org/\" rel=\"external\">The ImpressCMS Project</a>', '_MD_AM_FOOTADM_DESC', 'textarea', 'text', 22 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( IM_CONF_CONTENT, 'show_pinfo', '_MD_AM_CONT_SHOWPINFO', '1', '_MD_AM_CONT_SHOWPINFODSC', 'yesno', 'int', 4 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_SEARCH, 'search_no_res_mod', '_MD_AM_SEARCH_NO_RES_MOD', '1', '_MD_AM_SEARCH_NO_RES_MODDSC', 'yesno', 'int', 3 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_left_logo_alt', '_MD_AM_LLOGOADM_ALT', 'ImpressCMS', '_MD_AM_LLOGOADM_ALT_DESC', 'textbox', 'text', 3 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( IM_CONF_CONTENT, 'show_nav', '_MD_AM_CONT_SHOWNAV', '1', '_MD_AM_CONT_SHOWNAVDSC', 'yesno', 'int', 2 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
if (! $table->fieldExists ( 'enc_type' )) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_right_logo', '_MD_AM_RLOGOADM', '', '_MD_AM_RLOGOADM_DESC', 'select_image', 'text', 4 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'adm_right_logo_url', '_MD_AM_RLOGOADM_URL', '', '_MD_AM_RLOGOADM_URL_DESC', 'textbox', 'text', 5 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
unset ( $table );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_cor', '_MD_AM_EMAILCOLOR', '#000000', '_MD_AM_EMAILCOLOR_DESC', 'color', 'text', 14 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_protect', '_MD_AM_EMAILPROTECT', '0', '_MD_AM_EMAILPROTECTDSC', 'yesno', 'int', 11 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
unset ( $table );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_cor', '_MD_AM_EMAILCOLOR', '#000000', '_MD_AM_EMAILCOLOR_DESC', 'color', 'text', 14 );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'email_font', '_MD_AM_EMAILTTF', 'arial.ttf', '_MD_AM_EMAILTTF_DESC', 'select_font', 'text', 12 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$table = new icms_db_legacy_updater_Table ( 'imagecategory' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'shorten_url', '_MD_AM_SHORTURL', '0', '_MD_AM_SHORTURLDSC', 'yesno', 'int', 18 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
unset ( $table );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
unset ( $table );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'pre_chars_left', '_MD_AM_PRECHARS', '35', '_MD_AM_PRECHARS_DESC', 'textbox', 'int', 20 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$table = new icms_db_legacy_updater_Table ( 'imagecategory' );
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
}
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$table = new icms_db_legacy_updater_Table ( 'image' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->runQuery ( 'INSERT INTO ' . $table->name () . ' (image_id, image_name, image_nicename, image_mimetype, image_created, image_display, image_weight, imgcat_id) VALUES (NULL, "img482278e29e81c.png", "ImpressCMS", "image/png", ' . time () . ', 1, 0, ' . $categ_id . ')', 'Successfully added default ImpressCMS admin logo', 'Problems when try to add ImpressCMS admin logo' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
if (! $table->fieldExists ( 'pass_expired' )) {
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$table = new icms_db_legacy_updater_Table ( 'group_permission' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$table = new icms_db_legacy_updater_Table ( 'users' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
unset ( $table );
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_catid', ICMS_CONF_PERSONA ) );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$configitemsObj [0]->setVar ( 'conf_value', 'https://www.impresscms.org/modules/new/rss.php' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'use_jsjalali', '_MD_AM_JALALICAL', '0', '_MD_AM_JALALICALDSC', 'yesno', 'int', 23 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$table = new icms_db_legacy_updater_Table ( 'users' );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
unset ( $table );
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
if (! $table->fieldExists ( 'openid' )) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
unset ( $table );
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Space before opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
unset ( $table );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$table = new icms_db_legacy_updater_Table ( 'users' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
unset ( $table );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$configitemsObj = $configitem_handler->getObjects ( $criteria );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
if (isset ( $configitemsObj [0] ) && $configitemsObj [0]->getVar ( 'conf_value', 'n' ) == 'http://www.impresscms.org/modules/smartsection/backend.php') {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
unset ( $table );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
if (! $table->fieldExists ( 'user_viewoid' )) {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->updateTable ( $table );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
unset ( $table );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
if (! $table->fieldExists ( 'enc_type' )) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$table->addNewField ( 'enc_type', "tinyint(2) UNSIGNED NOT NULL default 0" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->updateTable ( $table );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->updateTable ( $table );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'use_jsjalali', '_MD_AM_JALALICAL', '0', '_MD_AM_JALALICALDSC', 'yesno', 'int', 23 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
unset ( $table );
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
}
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'use_jsjalali', '_MD_AM_JALALICAL', '0', '_MD_AM_JALALICALDSC', 'yesno', 'int', 23 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_catid', ICMS_CONF_METAFOOTER ) );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
if (isset ( $configitemsObj [0] ) && $configitemsObj [0]->getVar ( 'conf_formtype', 'n' ) == 'textarea') {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$configitemsObj [0]->setVar ( 'conf_formtype', 'textbox' );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$result = icms::$xoopsDB->query ( $sql );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 3, 1, 'group_manager');" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'ldap_users_bypass'" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_ips'" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Space after opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$configitem_handler->insert ( $configitemsObj [0] );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->updateTable ( $table );
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$table = new icms_db_legacy_updater_Table ( 'users' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'use_jsjalali', '_MD_AM_JALALICAL', '0', '_MD_AM_JALALICALDSC', 'yesno', 'int', 23 );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
unset ( $table );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_name', 'google_analytics' ) );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$configitemsObj [0]->setVar ( 'conf_formtype', 'textbox' );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
if ($table->fieldExists ( 'dbversion' )) {
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_social_bookmarks"' ) == FALSE) {
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Space after opening parenthesis of function call prohibited Open
if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_social_bookmarks"' ) == FALSE) {
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` MODIFY version smallint(5) unsigned NOT NULL default '102'", 'Successfully modified field version in table modules', '' );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
list ( $new_block_id ) = icms::$xoopsDB->FetchRow ( $result );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$table = new icms_db_legacy_updater_Table ( 'users' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Space before opening parenthesis of function call prohibited Open
if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_content_menu_show"' ) == FALSE) {
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$result = icms::$xoopsDB->query ( $sql );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$result = icms::$xoopsDB->query ( $sql );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_content_relmenu_show"' ) == FALSE) {
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$sql = "SELECT bid FROM `" . icms::$xoopsDB->prefix ( 'newblocks' ) . "` WHERE show_func='b_content_menu_show'";
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$sql = "SELECT bid FROM `" . icms::$xoopsDB->prefix ( 'newblocks' ) . "` WHERE show_func='b_content_relmenu_show'";
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$sql = "SELECT bid FROM `" . icms::$xoopsDB->prefix ( 'newblocks' ) . "` WHERE show_func='b_content_menu_show'";
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 18, 1, 'system_admin');" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 20, 1, 'system_admin');" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_unames'" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 17, 1, 'system_admin');" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_unames'" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_unames'" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_emails'" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 19, 1, 'system_admin');" );
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
if (isset ( $configitemsObj [0] ) && $configitemsObj [0]->getVar ( 'conf_formtype', 'n' ) == 'textarea') {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'meta_description'" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` MODIFY version smallint(5) unsigned NOT NULL default '102'", 'Successfully modified field version in table modules', '' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->updateTable ( $table );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 1, 1, 'content_admin');" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'ldap_users_bypass'" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 3, 1, 'group_manager');" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_ips'" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'ldap_users_bypass'" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
if (! $table->fieldExists ( 'pass_expired' )) {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` MODIFY dbversion INT(11) unsigned NOT NULL DEFAULT 1", 'Successfully modified field dbversion in table modules', '' );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'smtphost'" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_content_relmenu_show"' ) == FALSE) {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$table->addNewField ( 'pass_expired', "tinyint(1) UNSIGNED NOT NULL default 0" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$sql = "SELECT bid FROM `" . icms::$xoopsDB->prefix ( 'newblocks' ) . "` WHERE show_func='b_social_bookmarks'";
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$result = icms::$xoopsDB->query ( $sql );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
list ( $new_block_id ) = icms::$xoopsDB->FetchRow ( $result );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
if (! $table->fieldExists ( 'enc_type' )) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
list ( $new_block_id ) = icms::$xoopsDB->FetchRow ( $result );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$table->addNewField ( 'enc_type', "tinyint(2) UNSIGNED NOT NULL default 0" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
list ( $new_block_id ) = icms::$xoopsDB->FetchRow ( $result );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 18, 1, 'system_admin');" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 2, 1, 'group_manager');" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Space before opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 3, 1, 'group_manager');" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 16, 1, 'system_admin');" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_name', 'google_analytics' ) );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 16, 1, 'system_admin');" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$configitemsObj = $configitem_handler->getObjects ( $criteria );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 16, 1, 'system_admin');" );
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'meta_description'" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'ldap_users_bypass'" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_unames'" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 1);" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'ldap_users_bypass'" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_content_show"' ) == FALSE) {
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'reg_disclaimer'" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'reg_disclaimer'" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$result = icms::$xoopsDB->query ( $sql );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'smtphost'" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'smtphost'" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_content_relmenu_show"' ) == FALSE) {
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$sql = "SELECT bid FROM `" . icms::$xoopsDB->prefix ( 'newblocks' ) . "` WHERE show_func='b_content_relmenu_show'";
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$sql = "SELECT bid FROM `" . icms::$xoopsDB->prefix ( 'newblocks' ) . "` WHERE show_func='b_content_relmenu_show'";
- Exclude checks
Space before opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 18, 1, 'system_admin');" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 19, 1, 'system_admin');" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 20, 1, 'system_admin');" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_unames'" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'meta_keywords'" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'meta_keywords'" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'censor_words'" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_ips'" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'multi_login_msg'" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
if (isset ( $configitemsObj [0] ) && $configitemsObj [0]->getVar ( 'conf_formtype', 'n' ) == 'textarea') {
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$table = new icms_db_legacy_updater_Table ( 'modules' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$table = new icms_db_legacy_updater_Table ( 'users' );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
unset ( $table );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$sql = "SELECT bid FROM `" . icms::$xoopsDB->prefix ( 'newblocks' ) . "` WHERE show_func='b_social_bookmarks'";
- Exclude checks
Space after opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 1);" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_content_menu_show"' ) == FALSE) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 16, 1, 'system_admin');" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 17, 1, 'system_admin');" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 18, 1, 'system_admin');" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 2, 1, 'group_manager');" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'meta_keywords'" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'meta_description'" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'meta_description'" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'censor_words'" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'reg_disclaimer'" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_ips'" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_ips'" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'smtphost'" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'smtphost'" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_name', 'google_analytics' ) );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
}
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` MODIFY dbversion INT(11) unsigned NOT NULL DEFAULT 1", 'Successfully modified field dbversion in table modules', '' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` MODIFY version smallint(5) unsigned NOT NULL default '102'", 'Successfully modified field version in table modules', '' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_social_bookmarks"' ) == FALSE) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 1);" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$sql = "SELECT bid FROM `" . icms::$xoopsDB->prefix ( 'newblocks' ) . "` WHERE show_func='b_content_show'";
- Exclude checks
Space after opening parenthesis of function call prohibited Open
list ( $new_block_id ) = icms::$xoopsDB->FetchRow ( $result );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
list ( $new_block_id ) = icms::$xoopsDB->FetchRow ( $result );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 19, 1, 'system_admin');" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 20, 1, 'system_admin');" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_name', 'google_analytics' ) );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'ldap_field_mapping'" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'ldap_field_mapping'" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_name', 'google_analytics' ) );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_catid', ICMS_CONF_METAFOOTER ) );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'reg_disclaimer'" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$configitem_handler->insert ( $configitemsObj [0] );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$table = new icms_db_legacy_updater_Table ( 'modules' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
if ($table->fieldExists ( 'dbversion' )) {
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
}
- Exclude checks
Space after opening parenthesis of function call prohibited Open
unset ( $table );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
unset ( $table );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$table = new icms_db_legacy_updater_Table ( 'users' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Space after opening parenthesis of function call prohibited Open
if (! $table->fieldExists ( 'openid' )) {
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` DROP INDEX unamepass, ADD INDEX unamepass (uname (10), pass (10))", 'Successfully altered the index unamepass on table users', '' );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->updateTable ( $table );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$table = new icms_db_legacy_updater_Table ( 'users' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Space after opening parenthesis of function call prohibited Open
if (! $table->fieldExists ( 'user_viewoid' )) {
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$table = new icms_db_legacy_updater_Table ( 'users' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$result = icms::$xoopsDB->query ( $sql );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$table->addNewField ( 'pass_expired', "tinyint(1) UNSIGNED NOT NULL default 0" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$configitem_handler->insert ( $configitemsObj [0] );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->updateTable ( $table );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Space before opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->updateTable ( $table );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` MODIFY dbversion INT(11) unsigned NOT NULL DEFAULT 1", 'Successfully modified field dbversion in table modules', '' );
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
if (! $table->fieldExists ( 'enc_type' )) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Space before opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_catid', ICMS_CONF_METAFOOTER ) );
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Space before opening parenthesis of function call prohibited Open
if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_content_relmenu_show"' ) == FALSE) {
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Space before opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( "DELETE FROM `" . icms::$xoopsDB->prefix ( 'config' ) . "` WHERE conf_name='use_jsjalali'" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Space before opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
list ( $new_block_id ) = icms::$xoopsDB->FetchRow ( $result );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$table = new icms_db_legacy_updater_Table ( 'modules' );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_social_bookmarks"' ) == FALSE) {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->insertConfig ( ICMS_CONF_PERSONA, 'use_jsjalali', '_MD_AM_JALALICAL', '0', '_MD_AM_JALALICALDSC', 'yesno', 'int', 23 );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 1, 1, 'content_admin');" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$criteria = new icms_db_criteria_Compo ( );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 1, 1, 'content_admin');" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
list ( $new_block_id ) = icms::$xoopsDB->FetchRow ( $result );
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
}
- Exclude checks
Space before opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 2, 1, 'group_manager');" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` MODIFY pass_expired tinyint(1) unsigned NOT NULL default 0", 'Successfully altered field pass_expired in table users', '' );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$sql = "SELECT bid FROM `" . icms::$xoopsDB->prefix ( 'newblocks' ) . "` WHERE show_func='b_content_show'";
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` MODIFY pass_expired tinyint(1) unsigned NOT NULL default 0", 'Successfully altered field pass_expired in table users', '' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
unset ( $table );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$sql = "SELECT bid FROM `" . icms::$xoopsDB->prefix ( 'newblocks' ) . "` WHERE show_func='b_social_bookmarks'";
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$sql = "SELECT bid FROM `" . icms::$xoopsDB->prefix ( 'newblocks' ) . "` WHERE show_func='b_content_show'";
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 2, 1, 'group_manager');" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
list ( $new_block_id ) = icms::$xoopsDB->FetchRow ( $result );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 1);" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
list ( $new_block_id ) = icms::$xoopsDB->FetchRow ( $result );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$result = icms::$xoopsDB->query ( $sql );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'censor_words'" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 1);" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 1);" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 16, 1, 'system_admin');" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'reg_disclaimer'" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 17, 1, 'system_admin');" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 20, 1, 'system_admin');" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$result = icms::$xoopsDB->query ( $sql );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 17, 1, 'system_admin');" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'reg_disclaimer'" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 1, 1, 'content_admin');" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 2, 1, 'group_manager');" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 20, 1, 'system_admin');" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_emails'" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_emails'" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
}
- Exclude checks
Space after opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 18, 1, 'system_admin');" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'smtphost'" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 1, 1, 'content_admin');" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 19, 1, 'system_admin');" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'multi_login_msg'" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 3, 1, 'group_manager');" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 20, 1, 'system_admin');" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_emails'" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'censor_words'" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'ldap_field_mapping'" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_emails'" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'ldap_field_mapping'" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'ldap_field_mapping'" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'ldap_field_mapping'" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'multi_login_msg'" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'multi_login_msg'" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$table->addNewField ( 'enc_type', "tinyint(2) UNSIGNED NOT NULL default 0" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
icms::$xoopsDB->queryF ( "DELETE FROM `" . icms::$xoopsDB->prefix ( 'config' ) . "` WHERE conf_name='use_jsjalali'" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
icms::$xoopsDB->queryF ( "DELETE FROM `" . icms::$xoopsDB->prefix ( 'config' ) . "` WHERE conf_name='use_jsjalali'" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$configitemsObj = $configitem_handler->getObjects ( $criteria );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$configitemsObj [0]->setVar ( 'conf_formtype', 'textbox' );
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Space before opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Space after opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Space before opening parenthesis of function call prohibited Open
if ($table->fieldExists ( 'dbversion' )) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$table = new icms_db_legacy_updater_Table ( 'users' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` DROP INDEX unamepass, ADD INDEX unamepass (uname (10), pass (10))", 'Successfully altered the index unamepass on table users', '' );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` MODIFY pass_expired tinyint(1) unsigned NOT NULL default 0", 'Successfully altered field pass_expired in table users', '' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Space before opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
}
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$result = icms::$xoopsDB->query ( $sql );
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_content_show"' ) == FALSE) {
- Exclude checks
Space before opening parenthesis of function call prohibited Open
if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_content_show"' ) == FALSE) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$result = icms::$xoopsDB->query ( $sql );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$result = icms::$xoopsDB->query ( $sql );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_name', 'google_analytics' ) );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$table->addNewField ( 'openid', "varchar(255) NOT NULL default ''" );
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Space after opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 17, 1, 'system_admin');" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
if (isset ( $configitemsObj [0] ) && $configitemsObj [0]->getVar ( 'conf_formtype', 'n' ) == 'textarea') {
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$table->addNewField ( 'user_viewoid', "tinyint(1) UNSIGNED NOT NULL default 0" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 3, 1, 'group_manager');" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_catid', ICMS_CONF_METAFOOTER ) );
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Space before opening parenthesis of function call prohibited Open
unset ( $table );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'meta_keywords'" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
if (isset ( $configitemsObj [0] ) && $configitemsObj [0]->getVar ( 'conf_formtype', 'n' ) == 'textarea') {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'multi_login_msg'" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$table = new icms_db_legacy_updater_Table ( 'users' );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
if ($table->fieldExists ( 'dbversion' )) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'multi_login_msg'" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
if (isset ( $configitemsObj [0] ) && $configitemsObj [0]->getVar ( 'conf_formtype', 'n' ) == 'textarea') {
- Exclude checks
Space before opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` MODIFY dbversion INT(11) unsigned NOT NULL DEFAULT 1", 'Successfully modified field dbversion in table modules', '' );
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
}
- Exclude checks
Space before opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Space after opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
if ($dbVersion < $newDbVersion) {
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` DROP INDEX unamepass, ADD INDEX unamepass (uname (10), pass (10))", 'Successfully altered the index unamepass on table users', '' );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$criteria->add ( new icms_db_criteria_Item ( 'conf_catid', ICMS_CONF_METAFOOTER ) );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
unset ( $table );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
if (isset ( $configitemsObj [0] ) && $configitemsObj [0]->getVar ( 'conf_formtype', 'n' ) == 'textarea') {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->updateModuleDBVersion ( $newDbVersion, 'system' );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$configitem_handler->insert ( $configitemsObj [0] );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` MODIFY version smallint(5) unsigned NOT NULL default '102'", 'Successfully modified field version in table modules', '' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Space after opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
list ( $new_block_id ) = icms::$xoopsDB->FetchRow ( $result );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` DROP INDEX unamepass, ADD INDEX unamepass (uname (10), pass (10))", 'Successfully altered the index unamepass on table users', '' );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
list ( $new_block_id ) = icms::$xoopsDB->FetchRow ( $result );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_content_show"' ) == FALSE) {
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->runQuery ( "ALTER TABLE `" . $table->name () . "` MODIFY pass_expired tinyint(1) unsigned NOT NULL default 0", 'Successfully altered field pass_expired in table users', '' );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$result = icms::$xoopsDB->query ( $sql );
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Space after opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 3, " . $new_block_id . ", 1, 'block_read');" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 19, 1, 'system_admin');" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 16, 1, 'system_admin');" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 1, 1, 'content_admin');" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 17, 1, 'system_admin');" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 2, 1, 'group_manager');" );
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_content_menu_show"' ) == FALSE) {
- Exclude checks
Space before opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Space after opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 18, 1, 'system_admin');" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
if (getDbValue ( icms::$xoopsDB, 'newblocks', 'show_func', 'show_func="b_content_menu_show"' ) == FALSE) {
- Exclude checks
Line indented incorrectly; expected 0 tabs, found 1 Open
}
- Exclude checks
Space after opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 3, 1, 'group_manager');" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_emails'" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$sql = "SELECT bid FROM `" . icms::$xoopsDB->prefix ( 'newblocks' ) . "` WHERE show_func='b_content_menu_show'";
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'censor_words'" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Line indented incorrectly; expected 1 tabs, found 2 Open
}
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'meta_keywords'" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'meta_keywords'" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "block_module_link" ) . " VALUES (" . $new_block_id . ", 0, 0);" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'meta_description'" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
icms::$xoopsDB->queryF ( " INSERT INTO " . icms::$xoopsDB->prefix ( "group_permission" ) . " VALUES ('', 1, 19, 1, 'system_admin');" );
- Exclude checks
Space before opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'censor_words'" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'ldap_users_bypass'" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_ips'" );
- Exclude checks
Space after opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Space before opening parenthesis of function call prohibited Open
echo sprintf ( _DATABASEUPDATER_UPDATE_OK, icms_conv_nr2local ( $newDbVersion ) ) . '<br />';
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'array' WHERE conf_name = 'bad_unames'" );
- Exclude checks
Expected 0 spaces before closing bracket; 1 found Open
$icmsDatabaseUpdater->db->queryF ( "UPDATE `" . $icmsDatabaseUpdater->db->prefix ( 'config' ) . "` SET conf_formtype = 'textsarea', conf_valuetype = 'text' WHERE conf_name = 'meta_description'" );
- Exclude checks