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
|
@ -98,10 +98,10 @@ function attachment_quota_settings($admin_mode, $mode, $submit = false)
|
|||
}
|
||||
DB()->sql_freeresult($result);
|
||||
|
||||
$template->assign_vars(array(
|
||||
$template->assign_vars([
|
||||
'S_SELECT_UPLOAD_QUOTA' => quota_limit_select('user_upload_quota', $upload_quota),
|
||||
'S_SELECT_PM_QUOTA' => quota_limit_select('user_pm_quota', $pm_quota),
|
||||
));
|
||||
'S_SELECT_PM_QUOTA' => quota_limit_select('user_pm_quota', $pm_quota)
|
||||
]);
|
||||
}
|
||||
|
||||
if ($admin_mode == 'user' && $submit && @$_POST['delete_user']) {
|
||||
|
@ -148,10 +148,10 @@ function attachment_quota_settings($admin_mode, $mode, $submit = false)
|
|||
}
|
||||
DB()->sql_freeresult($result);
|
||||
|
||||
$template->assign_vars(array(
|
||||
$template->assign_vars([
|
||||
'S_SELECT_UPLOAD_QUOTA' => quota_limit_select('group_upload_quota', $upload_quota),
|
||||
'S_SELECT_PM_QUOTA' => quota_limit_select('group_pm_quota', $pm_quota),
|
||||
));
|
||||
'S_SELECT_PM_QUOTA' => quota_limit_select('group_pm_quota', $pm_quota)
|
||||
]);
|
||||
}
|
||||
|
||||
if ($admin_mode == 'group' && $submit && isset($_POST['group_delete'])) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue