File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 140
140
" ;
141
141
} else {
142
142
if ($ SQL ->requestExists ($ USER ->getUID ())) {
143
- echo "<input type='submit' value='Cancel PI AccountRequest' onclick='return confirm( \"Are you sure you want to cancel this request? \")'/> " ;
143
+ $ prompt = "onclick='return confirm( \"Are you sure you want to cancel this request? \") " ;
144
+ echo "<input type='submit' value='Cancel PI AccountRequest' $ prompt'/> " ;
144
145
echo "
145
146
<label style='margin-left: 10px'>
146
147
Your request has been submitted and is currently pending
149
150
" ;
150
151
} else {
151
152
echo "<input type='hidden' name='form_type' value='pi_request'/> " ;
152
- echo "<input type='submit' value='Request PI Account' onclick='return confirm( \"Are you sure you want to request a PI account? \")'/> " ;
153
+ $ prompt = "onclick='return confirm( \"Are you sure you want to request a PI account? \") " ;
154
+ echo "<input type='submit' value='Request PI Account' $ prompt'/> " ;
153
155
}
154
156
}
155
157
echo "</form> " ;
You can’t perform that action at this time.
0 commit comments