Stud.IP
2.0 Revision 48548
|
Variables | |
$sem_create_perm = (in_array(get_config('SEM_CREATE_PERM'), array('root','admin','dozent')) ? get_config('SEM_CREATE_PERM') : 'dozent') | |
$hash_secret = "nirhtak" | |
if($RESOURCES_ENABLE) if($cancel_x) | $db = new DB_Seminar |
$db2 = new DB_Seminar | |
$db3 = new DB_Seminar | |
$db4 = new DB_Seminar | |
$cssSw = new cssClassSwitcher | |
$Modules = new Modules | |
$semester = new SemesterData | |
$study_areas | |
$area_selection = new StudipStudyAreaSelection() | |
if(isset($study_areas['last_selected'])) if(isset($study_areas['showall'])) if(isset($study_areas['areas'])) else if(isset($sem_create_data["sem_bereich"])) if(isset($study_areas['selected'])) | $user_id = "uid"] |
$errormsg = '' | |
$deputies_enabled = get_config('DEPUTIES_ENABLE') | |
$default_deputies_enabled = get_config('DEPUTIES_DEFAULTENTRY_ENABLE') | |
if($RESOURCES_ENABLE &&$RESOURCES_ALLOW_ROOM_REQUESTS &&$form< 7) if(($cmd== 'do_copy'&&SeminarCategories::GetBySeminarId($cp_id)-> course_creation_forbidden)||($form &&(SeminarCategories::Get($sem_create_data['sem_class'])===false||SeminarCategories::Get($sem_create_data['sem_class'])-> course_creation_forbidden))) if(isset($cmd)&&($cmd== 'do_copy')&&$perm-> have_studip_perm('tutor', $cp_id)) if(!$sem_create_data["sem_entry"]) else | $links_admin_data ["assi"] = FALSE |
if(($auth->lifetime!=0 &&((time()-$sem_create_data["timestamp"]) > $auth->lifetime *60))||($new_session)) else | $sem_create_data ["timestamp"] = time() |
if(($sem_create_data["sem_entry"])&&(!$form)) if($start_level) if($form==1) if($form==2) if($form==3) if($form==4) if($form==5) if($form==8) if($jump_back_x) if(!$jump_back_x &&!$jump_next_x &&!$add_doz &&!$add_dep &&!$add_tut &&!$delete_doz &&!$delete_dep &&!$delete_tut &&!$add_turnus_field_x &&!$delete_turnus_field_x &&!$send_doz_x &&!$send_tut_x &&!$send_dep_x &&!$reset_search_x &&!$add_term_field_x &&!$delete_term_field_x &&!$add_studg_x &&!$delete_studg_x &&!$search_doz_x &&!$search_dep_x &&!$search_tut_x &&!$search_room_x &&!$reset_room_search_x &&!$send_room_x &&!$search_properties_x &&!$send_room_type_x &&!$reset_room_type_x &&!$reset_resource_id_x &&!$reset_admission_time_x &&!$toggle_admission_quota_x) if(($form==1)&&($jump_next_x)) if($moveup_doz) if($movedown_doz) if($moveup_tut) if($movedown_tut) if($delete_doz) if($deputies_enabled &&$delete_dep) if($delete_tut) if(($send_doz_x)&&(!$reset_search_x)&&($add_doz)) if($deputies_enabled &&$send_dep_x &&!$reset_search_x &&$add_dep) if(($send_tut_x)&&(!$reset_search_x)&&($add_tut)) if(isset($_REQUEST['delete_domain'])) if($search_doz_x||$search_dep_x||$search_tut_x||$reset_search_x||$sem_bereich_do_search_x||isset($_REQUEST['add_domain_x'])||isset($_REQUEST['delete_domain'])||$study_areas['add']||$study_areas['remove']||$study_areas['showall_button']||$study_areas['search_button']||$study_areas['search_key']||$study_areas['selected']||$study_areas['rewind_button']) elseif(($form==2)&&($jump_next_x)) if($add_turnus_field_x) if($add_term_field_x) if($delete_turnus_field) if($delete_term_field) if(($form==3)&&($jump_next_x)) if(($search_room_x)||($search_properties_x)||($reset_room_search_x)||($reset_room_type_x)||($reset_resource_id_x)||($send_room_x)||($send_room_type_x)) if(($form==4)&&($jump_next_x)) if($add_studg_x) if(isset($_REQUEST['reset_admission_time_x'])) if(isset($_REQUEST['toggle_admission_quota_x'])) if($sem_delete_studg) if((($form==5)&&($jump_next_x))||($add_studg_x)||($sem_delete_studg)||$toggle_admission_quota_x) if(($form==5)&&($jump_next_x)) if(($form==6)&&($jump_next_x)) if(($form==7)&&($jump_next_x)) if(($form==8)&&($jump_next_x)) | $sem_create_data ["level"] = $level |
if((!$sem_create_data["sem_class"])&&(!$level)) elseif((!$level)||($level==1)) if($level==2) if($level==3) if($level==4) if($level==5) if($level==6) if($level==7) if($level==8) | if (is_object($sem_create_data["resRequest"])) |
$area_selection = new StudipStudyAreaSelection() |
$cssSw = new cssClassSwitcher |
if ($RESOURCES_ENABLE) if ($cancel_x) $db = new DB_Seminar |
$db2 = new DB_Seminar |
$db3 = new DB_Seminar |
$db4 = new DB_Seminar |
$default_deputies_enabled = get_config('DEPUTIES_DEFAULTENTRY_ENABLE') |
$deputies_enabled = get_config('DEPUTIES_ENABLE') |
$errormsg = '' |
$hash_secret = "nirhtak" |
if ($RESOURCES_ENABLE &&$RESOURCES_ALLOW_ROOM_REQUESTS &&$form< 7) if (($cmd== 'do_copy'&&SeminarCategories::GetBySeminarId($cp_id)->course_creation_forbidden)||($form &&(SeminarCategories::Get($sem_create_data['sem_class'])===false||SeminarCategories::Get($sem_create_data['sem_class'])->course_creation_forbidden))) if (isset($cmd)&&($cmd== 'do_copy')&&$perm->have_studip_perm('tutor', $cp_id)) if (!$sem_create_data["sem_entry"]) else $links_admin_data["assi"] = FALSE |
if (($auth->lifetime!=0 &&((time()-$sem_create_data["timestamp"]) > $auth->lifetime *60))||($new_session)) else $sem_create_data["timestamp"] = time() |
if (($sem_create_data["sem_entry"])&&(!$form)) if ($start_level) if ($form==1) if ($form==2) if ($form==3) if ($form==4) if ($form==5) if ($form==8) if ($jump_back_x) if (!$jump_back_x &&!$jump_next_x &&!$add_doz &&!$add_dep &&!$add_tut &&!$delete_doz &&!$delete_dep &&!$delete_tut &&!$add_turnus_field_x &&!$delete_turnus_field_x &&!$send_doz_x &&!$send_tut_x &&!$send_dep_x &&!$reset_search_x &&!$add_term_field_x &&!$delete_term_field_x &&!$add_studg_x &&!$delete_studg_x &&!$search_doz_x &&!$search_dep_x &&!$search_tut_x &&!$search_room_x &&!$reset_room_search_x &&!$send_room_x &&!$search_properties_x &&!$send_room_type_x &&!$reset_room_type_x &&!$reset_resource_id_x &&!$reset_admission_time_x &&!$toggle_admission_quota_x) if (($form==1)&&($jump_next_x)) if ($moveup_doz) if ($movedown_doz) if ($moveup_tut) if ($movedown_tut) if ($delete_doz) if ($deputies_enabled &&$delete_dep) if ($delete_tut) if (($send_doz_x)&&(!$reset_search_x)&&($add_doz)) if ($deputies_enabled &&$send_dep_x &&!$reset_search_x &&$add_dep) if (($send_tut_x)&&(!$reset_search_x)&&($add_tut)) if (isset($_REQUEST['delete_domain'])) if ($search_doz_x||$search_dep_x||$search_tut_x||$reset_search_x||$sem_bereich_do_search_x||isset($_REQUEST['add_domain_x'])||isset($_REQUEST['delete_domain'])||$study_areas['add']||$study_areas['remove']||$study_areas['showall_button']||$study_areas['search_button']||$study_areas['search_key']||$study_areas['selected']||$study_areas['rewind_button']) elseif (($form==2)&&($jump_next_x)) if ($add_turnus_field_x) if ($add_term_field_x) if ($delete_turnus_field) if ($delete_term_field) if (($form==3)&&($jump_next_x)) if (($search_room_x)||($search_properties_x)||($reset_room_search_x)||($reset_room_type_x)||($reset_resource_id_x)||($send_room_x)||($send_room_type_x)) if (($form==4)&&($jump_next_x)) if ($add_studg_x) if (isset($_REQUEST['reset_admission_time_x'])) if (isset($_REQUEST['toggle_admission_quota_x'])) if ($sem_delete_studg) if ((($form==5)&&($jump_next_x))||($add_studg_x)||($sem_delete_studg)||$toggle_admission_quota_x) if (($form==5)&&($jump_next_x)) if (($form==6)&&($jump_next_x)) if (($form==7)&&($jump_next_x)) if (($form==8)&&($jump_next_x)) $sem_create_data["level"] = $level |
$sem_create_perm = (in_array(get_config('SEM_CREATE_PERM'), array('root','admin','dozent')) ? get_config('SEM_CREATE_PERM') : 'dozent') |
$semester = new SemesterData |
$study_areas |
if (isset($study_areas['last_selected'])) if (isset($study_areas['showall'])) if (isset($study_areas['areas'])) else if (isset($sem_create_data["sem_bereich"])) if (isset($study_areas['selected'])) $user_id = "uid"] |
if ((!$sem_create_data["sem_class"])&&(!$level)) elseif ((!$level)||($level==1)) if ($level==2) if ($level==3) if ($level==4) if ($level==5) if ($level==6) if ($level==7) if ($level==8) if(is_object($sem_create_data["resRequest"])) |