This is an automated email from the ASF dual-hosted git repository.
jfthomps pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/vcl.git
The following commit(s) were added to refs/heads/develop by this push:
new 7f2704dd VCL-1139 - increase max allowed reservation duration from 20
weeks to 30 weeks
7f2704dd is described below
commit 7f2704ddf39521fad70de3ba17ee923234a1cef2
Author: Josh Thompson <[email protected]>
AuthorDate: Thu Feb 15 13:42:20 2024 -0500
VCL-1139 - increase max allowed reservation duration from 20 weeks to 30
weeks
groups.php: modified jsonUserGroupStore: changed values passed to
getReservationLengths from 201600 (20 weeks) to 302400 (30 weeks)
---
web/.ht-inc/groups.php | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/web/.ht-inc/groups.php b/web/.ht-inc/groups.php
index 30315b4f..91a0fdb6 100644
--- a/web/.ht-inc/groups.php
+++ b/web/.ht-inc/groups.php
@@ -311,7 +311,7 @@ function jsonUserGroupStore() {
elseif(checkUserHasPerm('Manage Federated User Groups (affiliation
only)'))
$showfederatedaffil = 1;
$items = array();
- $lengths = getReservationLengths(201600);
+ $lengths = getReservationLengths(302400);
foreach($affilusergroups as $id => $group) {
if($group['name'] == 'None' || preg_match('/^\s*None/',
$group['name']))
continue;
@@ -784,7 +784,7 @@ function editOrAddGroup($state) {
print " <TR>\n";
print " <TH align=right>Initial Max Time:</TH>\n";
print " <TD>";
- $lengths = getReservationLengths(201600);
+ $lengths = getReservationLengths(302400);
if(! array_key_exists($data['initialmax'], $lengths))
$data['initialmax'] =
getReservationLengthCeiling($data['initialmax']);
printSelectInput("initialmax", $lengths,
$data['initialmax']);
@@ -1490,7 +1490,7 @@ function confirmEditOrAddGroup($state) {
print " <TD>" .
$usergroups[$data["editgroupid"]]["name"] . "</TD>\n";
print " </TR>\n";
}
- $lengths = getReservationLengths(201600);
+ $lengths = getReservationLengths(302400);
print " <TR>\n";
print " <TH align=right>Initial Max Time:</TH>\n";
print " <TD>{$lengths[$data["initialmax"]]}</TD>\n";