extras/newbb_5x/trunk_5_00/language/main.php
File main.php
has 396 lines of code (exceeds 250 allowed). Consider refactoring. Open
Open
<?php declare(strict_types=1);
if (defined('MAIN_DEFINED')) {
return;
}
A file should declare new symbols (classes, functions, constants, etc.) and cause no other side effects, or it should execute logic with side effects, but should not do both. The first symbol is defined on line 6 and the first side effect is on line 4. Open
Open
<?php declare(strict_types=1);
- Exclude checks
Line exceeds 120 characters; contains 265 characters Open
Open
define('_MD_DESC_MERGE', 'Once you press the merge button at the bottom of this form the topic you have selected, and its related posts, will be merged to the topic you have selected.<br><strong>The destination topic ID must be smaller than current one</strong>.');
- Exclude checks
Line exceeds 120 characters; contains 173 characters Open
Open
define('_MD_INVALID_SUBMIT', 'Invalid submission. You could have exceeded session time. Please re-submit or make a backup of your post and login to resubmit if necessary.');
- Exclude checks
Line exceeds 120 characters; contains 190 characters Open
Open
define('_MD_DESC_STICKY', 'Once you press the Sticky button at the bottom of this form the topic you have selected will be Stickyed. You may unSticky it again at a later time if you like.');
- Exclude checks
Line exceeds 120 characters; contains 194 characters Open
Open
define('_MD_DESC_UNDIGEST', 'Once you press the unDigest button at the bottom of this form the topic you have selected will be unDigested. You may Digest it again at a later time if you like.');
- Exclude checks
Line exceeds 120 characters; contains 191 characters Open
Open
define('_MD_DESC_DELETE', 'Once you press the delete button at the bottom of this form the topic you have selected, and all its related posts, will be <strong>permanently</strong> removed.');
- Exclude checks
Line exceeds 120 characters; contains 131 characters Open
Open
define('_MD_SUSPEND_TEXT', 'User %s is suspended for %d days due to:<br>[quote]%s[/quote]<br><br>The suspension is valid till %s');
- Exclude checks
Line exceeds 120 characters; contains 176 characters Open
Open
define('_MD_DESC_LOCK', 'Once you press the lock button at the bottom of this form the topic you have selected will be locked. You may unlock it at a later time if you like.');
- Exclude checks
Line exceeds 120 characters; contains 149 characters Open
Open
//define('_MD_PRIVATE', 'This is a <strong>Private</strong> forum.<br>Only users with special access can post new topics and replies to this forum');
- Exclude checks
Line exceeds 120 characters; contains 183 characters Open
Open
define('_MD_DESC_MOVE', 'Once you press the move button at the bottom of this form the topic you have selected, and its related posts, will be moved to the forum you have selected.');
- Exclude checks
Line exceeds 120 characters; contains 224 characters Open
Open
// !!IMPORTANT!! insert '\' before any char among reserved chars: "a", "A", "B", "c", "d", "D", "F", "g", "G", "h", "H", "i", "I", "j", "l", "L", "m", "M", "n", "O", "r", "s", "S", "t", "T", "U", "w", "W", "Y", "y", "z", "Z"
- Exclude checks
Line exceeds 120 characters; contains 190 characters Open
Open
define('_MD_DESC_DIGEST', 'Once you press the Digest button at the bottom of this form the topic you have selected will be Digested. You may unDigest it again at a later time if you like.');
- Exclude checks
Line exceeds 120 characters; contains 186 characters Open
Open
define('_MD_DESC_UNLOCK', 'Once you press the unlock button at the bottom of this form the topic you have selected will be unlocked. You may lock it again at a later time if you like.');
- Exclude checks
Line exceeds 120 characters; contains 194 characters Open
Open
define('_MD_DESC_UNSTICKY', 'Once you press the unSticky button at the bottom of this form the topic you have selected will be unStickyed. You may Sticky it again at a later time if you like.');
- Exclude checks