コード例 #1
0
ファイル: group.php プロジェクト: omaoibrahim/chamilo-lms
             break;
         case 'fill_selected':
             if (is_array($_POST['group'])) {
                 GroupManager::fill_groups($my_group);
                 Display::addFlash(Display::return_message(get_lang('SelectedGroupsFilled')));
                 header("Location: {$currentUrl}");
                 exit;
             }
             break;
     }
 }
 // Get-actions
 if (isset($_GET['action'])) {
     switch ($_GET['action']) {
         case 'swap_cat_order':
             GroupManager::swap_category_order($my_get_id1, $my_get_id2);
             Display::addFlash(Display::return_message(get_lang('CategoryOrderChanged')));
             header("Location: {$currentUrl}");
             exit;
             break;
         case 'delete_one':
             GroupManager::delete_groups($my_get_id);
             Display::addFlash(Display::return_message(get_lang('GroupDel')));
             header("Location: {$currentUrl}");
             exit;
             break;
         case 'fill_one':
             GroupManager::fill_groups($my_get_id);
             Display::addFlash(Display::return_message(get_lang('GroupFilledGroups')));
             header("Location: {$currentUrl}");
             exit;