|
Stud.IP
3.2 Revision
|
Functions | |
| visibility_change_message ($old_vis, $new_vis) | |
Variables | |
| $needed_perm = (get_config('ALLOW_DOZENT_VISIBILITY') ? 'dozent' : 'admin') | |
| if($perm->have_perm('admin')) | else |
| else | $header_object_id = $admin_admission_data["sem_id"] |
| $header_line = getHeaderLine($header_object_id) | |
| $sems =array() | |
| if($SessSemName[1] &&(!Request::int('change_visible'))) | $visibility_sem = Request::optionArray('visibility_sem') |
| if(Request::optionArray('visibility_sem')) | $visibility_query = "SELECT VeranstaltungsNummer, Name, visible FROM seminare WHERE Seminar_id = ?" |
| $visibility_statement = DBManager::get()->prepare($visibility_query) | |
| $containerTable =new ContainerTable() | |
| $contentTable =new ContentTable() | |
| $zt =new ZebraTable(array("width"=>"100%", "padding"=>"5")) | |
| $update_query = "UPDATE seminare SET visible = ? WHERE Seminar_id = ?" | |
| $update_statement = DBManager::get()->prepare($update_query) | |
| for ( $i=0; $i< count( $all_sem); $i++) | |
| $template = $GLOBALS['template_factory']->open('layouts/base.php') | |
| $template | content_for_layout = ob_get_clean() |
| visibility_change_message | ( | $old_vis, | |
| $new_vis | |||
| ) |
| $containerTable =new ContainerTable() |
| $contentTable =new ContentTable() |
| $header_line = getHeaderLine($header_object_id) |
| else $header_object_id = $admin_admission_data["sem_id"] |
| $needed_perm = (get_config('ALLOW_DOZENT_VISIBILITY') ? 'dozent' : 'admin') |
| $sems =array() |
| $template = $GLOBALS['template_factory']->open('layouts/base.php') |
| $update_query = "UPDATE seminare SET visible = ? WHERE Seminar_id = ?" |
| $update_statement = DBManager::get()->prepare($update_query) |
| if (Request::optionArray( 'visibility_sem')) $visibility_query = "SELECT VeranstaltungsNummer, Name, visible FROM seminare WHERE Seminar_id = ?" |
| if ( $SessSemName[1] &&(!Request::int( 'change_visible'))) $visibility_sem = Request::optionArray('visibility_sem') |
| $visibility_statement = DBManager::get()->prepare($visibility_query) |
| $zt =new ZebraTable(array("width"=>"100%", "padding"=>"5")) |
| $template content_for_layout = ob_get_clean() |
| if ( $SessSemName[1] &&(!Request::int( 'change_visible'))) else |
| for($i=0;$i< count($all_sem);$i++) |