echo $show_rooms_check == 'on' ? 4 : 3; ?> " align="right"> <input type="hidden" name="change_visible" value="1"> <? echo LinkButton::create(_("Alle auswählen"), URLHelper::getURL('', array('select_all' => TRUE, 'list' => TRUE, 'show_rooms_check' => $show_rooms_check))); echo LinkButton::create(_("Keine auswählen"), URLHelper::getURL('', array('select_none' => TRUE, 'list' => TRUE, 'show_rooms_check' => $show_rooms_check))); ?> </td> </tr> <? } //more Options for lock changing if ($i_page == "admin_lock.php") { $seminar_lock_rules = LockRules::getAvailableSeminarRules($GLOBALS['user']->id); ?> <tr class="table_footer"> <td colspan="3"> </td> <td colspan="4" align="right"> <? $lock_all = Request::option('lock_all'); printf("<select name=\"lock_all\" size=1>"); printf("<option value=\"-1\">"._("Bitte wählen")."</option>"); printf("<option value=\"none\" %s>--"._("keine Sperrebene")."--</option>", $lock_all == 'none' ? 'selected=selected' : '' ); foreach($seminar_lock_rules as $lr) { printf("<option value=\"".$lr["lock_id"]."\" "); if (isset($lock_all) && $lock_all==$lr["lock_id"]) { printf(" selected=selected "); }