|
|
@ -735,10 +735,10 @@ class Unix(Ldap):
|
|
|
|
fields=table_fields,
|
|
|
|
fields=table_fields,
|
|
|
|
onClick='unix_groupmod' if any(table_fields) else None,
|
|
|
|
onClick='unix_groupmod' if any(table_fields) else None,
|
|
|
|
addAction='unix_groupadd',
|
|
|
|
addAction='unix_groupadd',
|
|
|
|
records=str(maxi))
|
|
|
|
records=str(maxi+1))
|
|
|
|
if any(body):
|
|
|
|
if any(body):
|
|
|
|
num_page, count_page = getPagesInterval(
|
|
|
|
num_page, count_page = getPagesInterval(
|
|
|
|
count, offset, maxi)
|
|
|
|
count, offset, maxi+1)
|
|
|
|
self.printSUCCESS(_('page %d from ') % num_page + str(count_page))
|
|
|
|
self.printSUCCESS(_('page %d from ') % num_page + str(count_page))
|
|
|
|
return True
|
|
|
|
return True
|
|
|
|
|
|
|
|
|
|
|
@ -864,10 +864,10 @@ class Unix(Ldap):
|
|
|
|
fields=table_fields,
|
|
|
|
fields=table_fields,
|
|
|
|
onClick='unix_usermod' if any(table_fields) else None,
|
|
|
|
onClick='unix_usermod' if any(table_fields) else None,
|
|
|
|
addAction='unix_useradd',
|
|
|
|
addAction='unix_useradd',
|
|
|
|
records=str(maxi))
|
|
|
|
records=str(maxi+1))
|
|
|
|
if any(body):
|
|
|
|
if any(body):
|
|
|
|
num_page, count_page = getPagesInterval(
|
|
|
|
num_page, count_page = getPagesInterval(
|
|
|
|
count, offset, maxi)
|
|
|
|
count, offset, maxi+1)
|
|
|
|
self.printSUCCESS(_('page %d from ') % num_page + str(count_page))
|
|
|
|
self.printSUCCESS(_('page %d from ') % num_page + str(count_page))
|
|
|
|
return True
|
|
|
|
return True
|
|
|
|
|
|
|
|
|
|
|
|