mirror of
https://github.com/torrentpier/torrentpier
synced 2025-08-20 21:33:54 -07:00
Minor improvements (#882)
* Minor improvements * Updated * Updated * Updated * Update privmsg.php * Updated * Update admin_attach_cp.php
This commit is contained in:
parent
2c07660435
commit
4b453de64a
75 changed files with 699 additions and 735 deletions
|
@ -120,8 +120,8 @@ function category_select($select_name, $group_id = 0)
|
|||
}
|
||||
}
|
||||
|
||||
$types = array(NONE_CAT);
|
||||
$modes = array('none');
|
||||
$types = [NONE_CAT];
|
||||
$modes = ['none'];
|
||||
|
||||
for ($i = 0, $iMax = count($types_category); $i < $iMax; $i++) {
|
||||
$types[] = $types_category[$i];
|
||||
|
@ -152,8 +152,8 @@ function size_select($select_name, $size_compare)
|
|||
{
|
||||
global $lang;
|
||||
|
||||
$size_types_text = array($lang['BYTES'], $lang['KB'], $lang['MB']);
|
||||
$size_types = array('b', 'kb', 'mb');
|
||||
$size_types_text = [$lang['BYTES'], $lang['KB'], $lang['MB']];
|
||||
$size_types = ['b', 'kb', 'mb'];
|
||||
|
||||
$select_field = '<select name="' . $select_name . '">';
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue