<?php } elseif (get_num_groups() && COUNT(get_allocates(4, $_SESSION['user_id'])) > 1) { // 6/10/11 ?> <TR CLASS='even' VALIGN="top"> <!-- 6/10/11 --> <TD CLASS="td_label"><A CLASS="td_label" HREF="#" TITLE="Sets Regions that Facility is allocated to - click + to expand, - to collapse"><?php print get_text("Region"); ?> </A>: <SPAN id='expand_gps' onClick="$('groups_sh').style.display = 'inline-block'; $('expand_gps').style.display = 'none'; $('collapse_gps').style.display = 'inline-block';" style = 'display: inline-block; font-size: 16px; border: 1px solid;'><B>+</B></SPAN> <SPAN id='collapse_gps' onClick="$('groups_sh').style.display = 'none'; $('collapse_gps').style.display = 'none'; $('expand_gps').style.display = 'inline-block';" style = 'display: none; font-size: 16px; border: 1px solid;'><B>-</B></SPAN></TD> <TD <?php $alloc_groups = implode(',', get_allocates(4, $_SESSION['user_id'])); // 6/10/11 print get_user_group_butts_readonly($_SESSION['user_id']); ?> </TD></TR> <?php } else { ?> <INPUT TYPE="hidden" NAME="frm_group[]" VALUE="1"> <!-- 6/10/11 --> <?php } } else { ?> <INPUT TYPE="hidden" NAME="frm_group[]" VALUE="1"> <!-- 6/10/11 --> <?php } if (is_administrator()) {
} elseif (get_num_groups() && COUNT(get_allocates(4, $_SESSION['user_id'])) > 1) { // 6/10/11 ?> <TR CLASS='even' VALIGN="top"> <!-- 6/10/11 --> <TD CLASS="td_label"><A HREF="#" TITLE="Sets Regions that Responder is allocated to - click + to expand, - to collapse"><?php print get_text("Regions"); ?> </A>: <SPAN id='expand_gps' onClick="$('groups_sh').style.display = 'inline-block'; $('expand_gps').style.display = 'none'; $('collapse_gps').style.display = 'inline-block';" style = 'display: inline-block; font-size: 16px; border: 1px solid;'><B>+</B></SPAN> <SPAN id='collapse_gps' onClick="$('groups_sh').style.display = 'none'; $('collapse_gps').style.display = 'none'; $('expand_gps').style.display = 'inline-block';" style = 'display: none; font-size: 16px; border: 1px solid;'><B>-</B></SPAN></TD> </TD> <TD COLSPAN='2'> <?php $alloc_groups = implode(',', get_allocates(4, $_SESSION['user_id'])); // 4/18/11 print get_user_group_butts_readonly(get_allocates(4, $_SESSION['user_id'])); // 4/18/11 ?> </TD></TR> <?php } else { } } else { ?> <INPUT TYPE="hidden" NAME="frm_group[]" VALUE="1"> <!-- 6/10/11 --> <?php } if (is_administrator()) { // 6/10/11 ?>