📄 save_group_quota.cgi
字号:
#!/usr/local/bin/perl# save_group_quota.cgi# Update the quota for some grouprequire './quota-lib.pl';&ReadParse();&can_edit_group($in{'group'}) || &error("You are not allowed to edit quotas for this group");&can_edit_filesys($in{'filesys'}) || &error("You are not allowed to edit quotas on this filesystem");&edit_group_quota($in{'group'}, $in{'filesys'}, $in{'sblocks_def'} ? 0 : $in{'sblocks'}, $in{'hblocks_def'} ? 0 : $in{'hblocks'}, $in{'sfiles_def'} ? 0 : $in{'sfiles'}, $in{'hfiles_def'} ? 0 : $in{'hfiles'});if ($in{'source'}) { &redirect("group_filesys.cgi?group=$in{'group'}"); }else { &redirect("list_groups.cgi?$in{'filesys'}"); }
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -