XoopsModules25x/about

View on GitHub

Showing 434 of 434 total issues

Line exceeds 120 characters; contains 150 characters
Open

        $html .= "<fieldset><legend style='font-weight: bold; color: #900;'>" . \constant('CO_' . $moduleDirNameUpper . '_IMAGEINFO') . "</legend>\n";
Severity: Minor
Found in class/Common/ServerStats.php by phpcodesniffer

Line exceeds 120 characters; contains 131 characters
Open

        //            'totalsubmitted'  => $helper->getHandler('Item')->getItemsCount(-1, [Constants::PUBLISHER_STATUS_SUBMITTED]),
Severity: Minor
Found in config/config.php by phpcodesniffer

Line exceeds 120 characters; contains 146 characters
Open

        $options_page[$k] = empty($v['page_image']) ? $page_title : $page_title . '<img src="' . $helper->url('assets/images/picture.png') . '">';
Severity: Minor
Found in blocks/blocks.php by phpcodesniffer

Line exceeds 120 characters; contains 124 characters
Open

                    $helper->redirect('admin/admin.page.php', Constants::REDIRECT_DELAY_MEDIUM, _AM_ABOUT_PAGE_ORDER_ERROR);
Severity: Minor
Found in admin/admin.page.php by phpcodesniffer

Line exceeds 120 characters; contains 132 characters
Open

     * The hardcoded path is not desirable for theme switch, however, we have to keabout it before getting a good solution for cache
Severity: Minor
Found in class/Utility.php by phpcodesniffer

Line exceeds 120 characters; contains 143 characters
Open

$pageResults[Constants::NOT_PUBLISHED] = array_key_exists(Constants::NOT_PUBLISHED, $pageResults) ? $pageResults[Constants::NOT_PUBLISHED] : 0;
Severity: Minor
Found in admin/index.php by phpcodesniffer

Line exceeds 120 characters; contains 199 characters
Open

$adminObject->addInfoBoxLine(sprintf("<span class='infolabel'>" . _MD_ABOUT_TOTAL_LINKS_PUBLISHED . '</span>', "<span class='infotext green bold'>" . $linkResults[Constants::PUBLISHED] . '</span>'));
Severity: Minor
Found in admin/index.php by phpcodesniffer

Line exceeds 120 characters; contains 149 characters
Open

    $form->addElement(new \XoopsFormText(_AM_ABOUT_PAGE_MENU_TITLE . ':', 'page_menu_title', 60, 255, $pageObj->getVar('page_menu_title', $format)));
Severity: Minor
Found in include/form.page.php by phpcodesniffer

Line exceeds 120 characters; contains 135 characters
Open

define('CO_' . $moduleDirNameUpper . '_UPLOADPATHDSC', 'Note. Upload path *MUST* contain the full server path of your upload folder.');
Severity: Minor
Found in language/english/common.php by phpcodesniffer

Line exceeds 120 characters; contains 122 characters
Open

                $module->setErrors(\sprintf(\constant('CO_' . $moduleDirNameUpper . '_ERROR_BAD_PHP'), $reqVer, $verNum));

Line exceeds 120 characters; contains 154 characters
Open

                \curl_setopt($curlHandle, \CURLOPT_SSL_VERIFYPEER, true); //TODO: how to avoid an error when 'Peer's Certificate issuer is not recognized'

Line exceeds 120 characters; contains 136 characters
Open

            $uploader          = new \XoopsMediaUploader($upload_path, $allowed_mimetypes, $maxfilesize, $maxfilewidth, $maxfileheight);
Severity: Minor
Found in admin/admin.page.php by phpcodesniffer

Line exceeds 120 characters; contains 135 characters
Open

define('CO_' . $moduleDirNameUpper . '_UPLOADPATHDSC', 'Note. Upload path *MUST* contain the full server path of your upload folder.');
Severity: Minor
Found in language/german/common.php by phpcodesniffer

Could not read file data. Is the file empty?
Open

Severity: Minor
Found in assets/css/style.css by csslint

Rule doesn't have all its properties in alphabetical order.
Open

.treeview, .treeview ul {

Don't use IDs in selectors.
Open

body#about label, body#about input[type='radio']{
Severity: Minor
Found in assets/css/admin_style.css by csslint

Element (body#about) is overqualified, just use #about without element name.
Open

body#about label, body#about input[type='radio']{
Severity: Minor
Found in assets/css/admin_style.css by csslint

Element (div.lastCollapsable-hitarea) is overqualified, just use .lastCollapsable-hitarea without element name.
Open

.treeview div.lastCollapsable-hitarea, .treeview div.lastExpandable-hitarea { background-position: 0; }

Element (body#about) is overqualified, just use #about without element name.
Open

body#about label, body#about input[type='radio']{
Severity: Minor
Found in assets/css/admin_style.css by csslint

Element (a.selected) is overqualified, just use .selected without element name.
Open

.treeview a.selected {
Severity
Category
Status
Source
Language