/** * Prints out the display/edit UI to add/remove groups for this user * @param string $memberid id of the member to to change groups for */ function print_edit($edit, &$user) { $group = new Group(new GroupDB()); $non_user_groups = $group->getGroups($user->get_id()); $user_groups = $user->groups; begin_table($user->get_name()); if ($edit) { print_groups_to_add($non_user_groups); print_move_buttons(); print_groups_to_remove($user_groups); print_save_button($user->get_id()); } else { print_groups_to_view($user_groups); } end_table(); }
if ($i == $config['cron_dbindex']) $aus['cron'].='SELECTED'; $aus['cron'].='>' . $databases['Name'][$i] . "</option>\n"; } } else { $config['cron_dbindex']=0; } $aus['cron'].='</select>' . "\n"; $aus['cron'].='</td></tr>'; // comment $aus['cron'].='<tr><td>' . $lang['L_CRON_COMMENT'] . ': </td>'; $aus['cron'].='<td><input type="text" class="text" name="cron_comment" size="30" maxlength="100" value="' . htmlspecialchars($config['cron_comment']) . '"></td></tr>'; $aus['cron'].='</table></fieldset>' . print_save_button() . '</div>'; //Formular-Buttons --> $aus['formende']='</div></form><br style="clear:both;">'; // AUSGABE echo $aus['formstart']; echo $aus['db']; echo $aus['global1']; echo $aus['global2']; echo $aus['global3']; echo $aus['transfer1']; echo $aus['transfer2']; echo $aus['cron']; echo $aus['conf'];