예제 #1
0
    echo '<script> window.location.href = "/dso_user.php" </script>';
} else {
    echo '<h3>System benutzer</h3><table class="box"><tr><td>';
    # header and start table
    # Left nav pane echoing
    echo '<div class="navi" style="left: 5px;">' . _button('Benutzer NEU', '', 'admin_system_users.php?op=new_user');
    echo _button('Admin home', '', 'admin_main_menu.php') . '</div>';
    switch ($myop) {
        case 'user_list':
            echo user_list();
            break;
        case 'new_user':
            echo user_form();
            break;
        case 'new_user_creation':
            echo user_validate_form();
            break;
        case 'new_user_created':
            echo user_created();
            break;
        case 'del_user':
            echo delete_user();
            break;
        case 'reset_user_failcount':
            echo reset_user_failcount($_REQUEST['user_id']);
            break;
    }
    echo '</td></tr></table>';
    # end table
}
LS_page_end();
예제 #2
0
파일: user.lib.php 프로젝트: rhertzog/lcs
/**
 * validate form profile from user administration.
 *
 * @author Frederic Minne <*****@*****.**>
 * @param array $data to fill the form
 * @param int $userId id of the user account currently edited
 * @return array with error messages
 */
function user_validate_form_admin_user_profile($data, $userId)
{
    return user_validate_form('admin_user_profile', $data, $userId);
}