confirmation when changing service levels
smbaker [Tue, 28 Aug 2012 02:29:00 +0000 (19:29 -0700)]
apps/gacksadmin/gacks_functions.php

index 8565c17..70d78a1 100644 (file)
@@ -33,6 +33,7 @@ function l_gacks_user_reservations() { return "/db/gacks/user_reservations.php";
 function l_gacks_edit($item)       { return "/db/gacks/edit.php"; }
 function l_gacks_delete($item)     { $timeStart=$item['timeStart']; $timeStop=$item['timeStop']; $id=$item['id']; $lastAllocator=end($item['allocatorHRNs']); return "/db/gacks/delete.php?timeStart=$timeStart&timeStop=$timeStop&id=$id&lastAllocator=$lastAllocator"; }
 function l_gacks_service_level()   { return "/db/gacks/user_service_level.php"; }
+function l_gacks_confirm_service($acct, $level, $autoRenew, $freezeUnreserved) { return "/db/gacks/user_confirm_service.php?account_name=$acct&level=$level&autoRenew=$autoRenew&freezeUnreserved=$freezeUnreserved"; }
 
 function gacksid($x) { return "gacksid:" . $x; }