File tree Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Expand file tree Collapse file tree 1 file changed +16
-5
lines changed Original file line number Diff line number Diff line change 126126} elseif ($ USER ->isQualified ()) {
127127 echo "<p>You are curently a <strong>qualified user</strong> on the Unity Cluster</p> " ;
128128} else {
129+ $ tos_url = CONFIG ["site " ]["terms_of_service_url " ];
130+ $ sitePrefix = CONFIG ["site " ]["prefix " ];
129131 echo "
130132 <p>
131133 You are currently an <strong>unqualified user</strong>, and will be
132134 <strong>unable to use the cluster</strong>.
133- To become qualified, go to the
134- <a href='groups.php'>My PIs</a>
135- page to join a PI, or click on the button below if you are a PI.
136- Do not click the button below if you are a student.
135+ To become qualified, request to join a PI group, or if you are a PI, request a PI group.
136+ Do not request a PI group if you are a student.
137137 </p>
138+ <br>
139+ <form action=' $ sitePrefix/panel/groups.php' method='GET'>
140+ <label>
141+ <input type='checkbox' name='tos' value='agree' required />
142+ I have read and accept the
143+ <a target='_blank' href=' $ tos_url'>Terms of Service</a>.
144+ </label>
145+ <br>
146+ <input type='submit' value='Request to Join a PI Group' />
147+ </form>
148+ <br>
138149 " ;
139150}
140151
180191 </label>
181192 <br>
182193 <input type='hidden' name='form_type' value='pi_request'/>
183- <input type='submit' value='Request PI Account ' onclick=' $ onclick'/>
194+ <input type='submit' value='Request a PI Group ' onclick=' $ onclick'/>
184195 " ;
185196 }
186197 }
You can’t perform that action at this time.
0 commit comments