XoopsModules25x/xfguestbook

View on GitHub

Showing 1,027 of 1,027 total issues

Line exceeds 120 characters; contains 124 characters
Open

        $sql = \sprintf('DELETE FROM `%s` WHERE msg_id = %u', $this->db->prefix('xfguestbook_msg'), $msg->getVar('msg_id'));
Severity: Minor
Found in class/MessageHandler.php by phpcodesniffer

Line exceeds 120 characters; contains 214 characters
Open

                    $a_msg['country'] = '<img src="' . XOOPS_URL . '/modules/xfguestbook/assets/images/flags/' . $onemsg->getVar('flagdir') . '/' . $onemsg->getVar('country') . '.gif" alt="' . $country_name . '">';
Severity: Minor
Found in index.php by phpcodesniffer

Line exceeds 120 characters; contains 126 characters
Open

        redirect_header('country_manager.php?op=flagForm&amp;country_code=' . $country_code, 2, MD_XFGUESTBOOK_NOIMGSELECTED);
Severity: Minor
Found in admin/country_manager.php by phpcodesniffer

Line exceeds 120 characters; contains 170 characters
Open

    $adminObject->addInfoBoxLine(sprintf(MD_XFGUESTBOOK_MSGMODERATE, "<span  style='color: #008012; font-weight: bold;'>" . $totalModerateMsgs . '</span>'), '', 'green');
Severity: Minor
Found in admin/index.php by phpcodesniffer

Line exceeds 120 characters; contains 168 characters
Open

    $adminObject->addInfoBoxLine(sprintf(MD_XFGUESTBOOK_MSGMODERATE, "<span  style='color: #cb000b; font-weight: bold;'>" . $totalModerateMsgs . '</span>'), '', 'red');
Severity: Minor
Found in admin/index.php by phpcodesniffer

Line exceeds 120 characters; contains 123 characters
Open

        echo "<td colspan='3'>" . $GLOBALS['xoopsSecurity']->getTokenHTML() . "<input type='submit' value='" . _GO . '\'>';
Severity: Minor
Found in admin/ip_manager.php by phpcodesniffer

Line exceeds 120 characters; contains 157 characters
Open

            $all_msg['action']    = "<a href='main.php?op=edit&amp;msg_id=" . $onemsg->getVar('msg_id') . '\'><img src=\'' . $pathIcon16 . "/edit.png'></a>";
Severity: Minor
Found in admin/main.php by phpcodesniffer

Line exceeds 120 characters; contains 140 characters
Open

        xoops_confirm(['op' => 'countryDel', 'country_id' => $country_id, 'ok' => 1], 'country_manager.php', AM_XFGUESTBOOK_CONFDELCOUNTRY);
Severity: Minor
Found in admin/country_manager.php by phpcodesniffer

Line exceeds 120 characters; contains 154 characters
Open

        $adminObject->addItemButton(constant('CO_' . $moduleDirNameUpper . '_' . 'ADD_SAMPLEDATA'), '__DIR__ . /../../testdata/index.php?op=load', 'add');
Severity: Minor
Found in admin/index.php by phpcodesniffer

Line exceeds 120 characters; contains 152 characters
Open

            echo "<td align='center' class='even'><a href='ip_manager.php?op=badIpEdit&amp;ip_id=" . $badips[$i]['ip_id'] . '\'>' . _EDIT . '</a></td>';
Severity: Minor
Found in admin/ip_manager.php by phpcodesniffer

Line exceeds 120 characters; contains 153 characters
Open

            $all_msg['user']      = ($onemsg->getVar('user_id') > 0) ? \XoopsUser::getUnameFromId($onemsg->getVar('user_id')) : $onemsg->getVar('uname');
Severity: Minor
Found in admin/main.php by phpcodesniffer

Line exceeds 120 characters; contains 255 characters
Open

    $country_tray->addElement(new \XoopsFormLabel('', "<img src='" . XOOPS_URL . '/modules/' . $xoopsModule->dirname() . '/assets/images/flags/' . $msg->getVar('flagdir') . '/' . $msg->getVar('country') . ".gif' name='image' id='image' alt=''><br><br>"));
Severity: Minor
Found in include/form_edit.inc.php by phpcodesniffer

Line exceeds 120 characters; contains 181 characters
Open

    $msg        = sprintf(MD_XFGUESTBOOK_IMG_CONFIG, (int)($helper->getConfig('photo_maxsize') / 1000), $helper->getConfig('photo_maxwidth'), $helper->getConfig('photo_maxheight'));
Severity: Minor
Found in include/form_sign.inc.php by phpcodesniffer

Line exceeds 120 characters; contains 129 characters
Open

        $p_msg   = MD_XFGUESTBOOK_FROMUSER . " $name_user " . MD_XFGUESTBOOK_YOURMSG . ' ' . $xoopsConfig['sitename'] . ' :<br>';
Severity: Minor
Found in contact.php by phpcodesniffer

Line exceeds 120 characters; contains 131 characters
Open

define('CO_' . $moduleDirNameUpper . '_' . 'FOLDER_NO', 'Folder "%s" does not exist. Create the specified folder with CHMOD 777.');
Severity: Minor
Found in language/english/common.php by phpcodesniffer

Line exceeds 120 characters; contains 165 characters
Open

                $descEditor = new \XoopsFormEditor(\ucfirst($options['name']), $helper->getConfig('editorUser'), $options, $nohtml = false, $onfailure = 'textarea');
Severity: Minor
Found in class/Common/SysUtility.php by phpcodesniffer

Line exceeds 120 characters; contains 124 characters
Open

        $sql    = 'SELECT country_code, country_name FROM ' . $db->prefix('xfguestbook_country') . ' ORDER BY country_name';

Line exceeds 120 characters; contains 171 characters
Open

                echo '<td width="20%" class = "even"><img src=\'' . XOOPS_URL . '/modules/' . $xoopsModule->dirname() . '/assets/images/ic15_notok.gif\' alt=\'Pas OK\' >';
Severity: Minor
Found in admin/upgrade.php by phpcodesniffer

Line exceeds 120 characters; contains 130 characters
Open

            echo '<input type = "hidden" name = "' . $one_table['name'] . '_checked" value = "' . $one_table['to_update'] . '" >';
Severity: Minor
Found in admin/upgrade.php by phpcodesniffer

Line exceeds 120 characters; contains 138 characters
Open

            $sql    = 'ALTER TABLE ' . $xoopsDB->prefix('xfguestbook_country') . ' CHANGE `country_code` `country_code` CHAR(5) NOT NULL';
Severity: Minor
Found in admin/upgrade.php by phpcodesniffer
Severity
Category
Status
Source
Language