Converted commands in the module's API file to POD format, and added more details about each function.
---- Changes since 1.470 ----
Added a module access control option to restrict allowed groups by GID range.
+---- Changes since 1.530 ----
+Added a Module Config option to hide quotas for deleted users and groups.
show_grace=1
email_msg=Disk usage for user ${USER} on filesystem ${FS} has reached ${PERCENT}% of the allowed quota. ${USED} of disk space is being used, out of a maximum of ${QUOTA}.
pc_show=1
+hide_uids=0
show_grace=0
email_msg=Disk usage for user ${USER} on filesystem ${FS} has reached ${PERCENT}% of the allowed quota. ${USED} of disk space is being used, out of a maximum of ${QUOTA}.
pc_show=1
+hide_uids=0
show_grace=0
email_msg=Disk usage for user ${USER} on filesystem ${FS} has reached ${PERCENT}% of the allowed quota. ${USED} of disk space is being used, out of a maximum of ${QUOTA}.
pc_show=1
+hide_uids=0
show_grace=0
email_msg=Disk usage for user ${USER} on filesystem ${FS} has reached ${PERCENT}% of the allowed quota. ${USED} of disk space is being used, out of a maximum of ${QUOTA}.
pc_show=1
+hide_uids=0
show_grace=0
email_msg=Disk usage for user ${USER} on filesystem ${FS} has reached ${PERCENT}% of the allowed quota. ${USED} of disk space is being used, out of a maximum of ${QUOTA}.
pc_show=1
+hide_uids=0
show_grace=0
email_msg=Disk usage for user ${USER} on filesystem ${FS} has reached ${PERCENT}% of the allowed quota. ${USED} of disk space is being used, out of a maximum of ${QUOTA}.
pc_show=1
+hide_uids=0
show_grace=0
email_msg=Disk usage for user ${USER} on filesystem ${FS} has reached ${PERCENT}% of the allowed quota. ${USED} of disk space is being used, out of a maximum of ${QUOTA}.
pc_show=1
+hide_uids=0
show_grace=1
email_msg=Disk usage for user ${USER} on filesystem ${FS} has reached ${PERCENT}% of the allowed quota. ${USED} of disk space is being used, out of a maximum of ${QUOTA}.
pc_show=1
+hide_uids=0
show_grace=0
email_msg=Disk usage for user ${USER} on filesystem ${FS} has reached ${PERCENT}% of the allowed quota. ${USED} of disk space is being used, out of a maximum of ${QUOTA}.
pc_show=1
+hide_uids=0
pc_show=Usage percentages to show,1,2-Hard and soft,1-Hard only,0-Soft only
sort_mode=Sort users and groups by,1,0-Blocks used,2-Name,1-Order from repquota,3-Hard block quota,4-Soft block quota,5-Percent of hard quota used,6-Percent of soft quota used
block_mode=Show quotas in,1,1-Kilobytes (where possible),0-Blocks
+hide_uids=Show deleted users?,1,0-Yes,1-No
line1.1=Quota email messages,11
email_msg=Email message for users over quota,9,80,5,\t
email_subject=Subject for email message to users,3,Default
# Generate table of groups
foreach $i (@order) {
next if (!&can_edit_group($group{$i,'group'}));
+ next if ($config{'hide_uids'} &&
+ $group{$i,'group'} =~ /^#/);
local @cols;
if ($access{'ro'}) {
push(@cols, $group{$i,'group'});
# Generate table of users
foreach $i (@order) {
next if (!&can_edit_user($user{$i,'user'}));
+ next if ($config{'hide_uids'} &&
+ $user{$i,'user'} =~ /^#/);
local @cols;
if ($access{'ro'}) {
push(@cols, $user{$i,'user'});