XoopsModules25x/xoopstube

View on GitHub
language/english/modinfo.php

Summary

Maintainability
A
2 hrs
Test Coverage

File modinfo.php has 255 lines of code (exceeds 250 allowed). Consider refactoring.
Open

<?php

/**
 * Module: XoopsTube
 *
Severity: Minor
Found in language/english/modinfo.php - About 2 hrs to fix

    Line exceeds 120 characters; contains 142 characters
    Open

    define('_MI_XOOPSTUBE_CATEGORY_FILESUBMIT_NOTIFYCAP', 'Notify me when a new video is submitted (awaiting approval) to the current category.');
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 165 characters
    Open

    define('_MI_XOOPSTUBE_RATINGDISPLAYDSC', "Select <em>Yes</em> to display the Rating features. Select <em>No</em> if you don't want to display the Rating features.");
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 155 characters
    Open

    define('_MI_XOOPSTUBE_PREFERENCES_COMMENTS', '<span style="color: #FF0000; font-size: Small;  font-weight: bold;">--- Comments/Notifications ---</span> ');
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 244 characters
    Open

    define('_MI_XOOPSTUBE_EDITORCHOICE', "Select the editor to use for admin side. If you have a 'simple' install (e.g you use only XOOPS core editor class, provided in the standard xoops core package), then you can just select DHTML and Compact");
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 160 characters
    Open

    define('_MI_XOOPSTUBE_PREFERENCES_DIRMODE_DESC', 'Set the directory writing permissions as defined for Unix (e.g. 0777 is the default for upload directories)');
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 176 characters
    Open

    define('_MI_XOOPSTUBE_IMGUPDATEDSC', 'If selected Thumbnail images will be updated at each page render, otherwise the first thumbnail image will be used regardless. <br><br>');
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 129 characters
    Open

    define('_MI_XOOPSTUBE_CATEGORY_FILESUBMIT_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : New video submitted in category');
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 148 characters
    Open

    define('_MI_XOOPSTUBE_PREFERENCES_OTHERS', '<span style="color: #FF0000; font-size: Small;  font-weight: bold;">--- Other Preferences ---</span> ');
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 125 characters
    Open

    define('_MI_XOOPSTUBE_GLOBAL_VIDEOMODIFY_NOTIFYSBJ', '[{X_SITENAME}] {X_MODULE} auto-notify : Video Modification Requested');
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 130 characters
    Open

    define('_MI_XOOPSTUBE_GLOBAL_VIDEOSUBMIT_NOTIFYDSC', 'Receive notification when any new video is submitted (awaiting approval).');
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 150 characters
    Open

    //define('_MI_XOOPSTUBE_PREFERENCES_DIRECTIORIES', '<span style="font-weight: bold; color: #FF0000; font-size: small;"><b>Directories Setup</span> ');
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 247 characters
    Open

    define('_MI_XOOPSTUBE_EDITORCHOICEUSER', "Select the editor to use for user side. If you have a 'simple' install (e.g you use only XOOPS core editor class, provided in the standard xoops core package), then you can just select DHTML and Compact");
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 154 characters
    Open

    define('_MI_XOOPSTUBE_PREFERENCES_DIRECTIORIES', '<span style="color: #FF0000; font-size: Small;  font-weight: bold;">--- Directories Setup ---</span> ');
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 165 characters
    Open

    define('_MI_XOOPSTUBE_SHOW_SAMPLE_BUTTON_DESC', 'If yes, the "Add Sample Data" button will be visible to the Admin. It is Yes as a default for first installation.');
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 232 characters
    Open

    define('_MI_XOOPSTUBE_USETHUMBSDSC', "Supported link types: JPG, GIF, PNG.<div style='padding-top: 8px;'>XoopsTube will use thumbnails for images. Set to 'No' to use orginal image if the server does not support this option.</div>");
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 175 characters
    Open

    define('_MI_XOOPSTUBE_DESC', 'With the module <em>XoopsTube</em> you can add and categorize movies from sites like <br>YouTube, DailyMotion, LiveLeak, etc. to your website.');
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 132 characters
    Open

    define('_MI_XOOPSTUBE_SUBCATSDSC', 'SELECT Yes TO display sub-categories. Selecting NO will hide sub-categories FROM the listings');
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 126 characters
    Open

    define('_MI_XOOPSTUBE_LICENSEDSC', 'GNU General Public License (GPL) - a copy of the GNU license is enclosed (license.txt).');
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 153 characters
    Open

    define('_MI_XOOPSTUBE_CATEGORY_FILESUBMIT_NOTIFYDSC', 'Receive notification when a new video is submitted (awaiting approval) to the current category.');
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 128 characters
    Open

    define('_MI_XOOPSTUBE_CATEGORY_NEWVIDEO_NOTIFYDSC', 'Receive notification when a new video is posted to the current category.');
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    Line exceeds 120 characters; contains 127 characters
    Open

    define('_MI_XOOPSTUBE_GLOBAL_VIDEOMODIFY_NOTIFYDSC', 'Receive notification when any video modification request is submitted.');
    Severity: Minor
    Found in language/english/modinfo.php by phpcodesniffer

    There are no issues that match your filters.

    Category
    Status