|
Stud.IP
jlu_4.3 Revision 64286
|
Functions | |
| startpage_redirect ($page_code) | |
Variables | |
| global | $i_page = basename($_SERVER['PHP_SELF']) |
| global | $DEFAULT_LANGUAGE |
| global | $SessionSeminar |
| global | $sess |
| global | $auth |
| global | $user |
| global | $perm |
| global | $_language_path = init_i18n($_SESSION['_language']) |
| $seminar_open_redirected = false | |
| $user_did_login = false | |
| $course_id | |
| if((Navigation::hasItem('/course/admin')||$GLOBALS[ 'perm']->have_perm( 'admin')) &&( $perm->have_studip_perm( 'tutor', Context::getId()) &&Context::isCourse()) &&(!Context::isCourse()||! $GLOBALS[ 'SEM_CLASS'][ $GLOBALS[ 'SEM_TYPE'][Context::getArtNum()][ 'class']][ 'studygroup_mode'])) if(Navigation::hasItem('/profile/edit')) if( $user_did_login) if($seminar_open_redirected) if(is_object( $GLOBALS[ 'user']) &&$GLOBALS[ 'user']->needsToAcceptTerms() &&!match_route( 'dispatch.php/terms')) | if (Config::get() ->USER_VISIBILITY_CHECK &&is_object( $GLOBALS[ 'user']) &&$GLOBALS[ 'user']->id !=='nobody') |
| $dp =new JLUG_DataPrivacy | |
| startpage_redirect | ( | $page_code | ) |

| if($_SESSION['SessionStart']==0) if ( $auth->is_authenticated() &&is_object( $user) &&$user->id !="nobody") $_language_path = init_i18n($_SESSION['_language']) |
| global $auth |
| $course_id |
| global $DEFAULT_LANGUAGE |
| $dp =new JLUG_DataPrivacy |
| $i_page = basename($_SERVER['PHP_SELF']) |
| global $perm |
| $seminar_open_redirected = false |
| global $sess |
| global $SessionSeminar |
| global $user |
| $user_did_login = false |
| if((Navigation::hasItem('/course/admin')|| $GLOBALS['perm']->have_perm('admin')) &&($perm->have_studip_perm('tutor', Context::getId()) &&Context::isCourse()) &&(!Context::isCourse()||! $GLOBALS['SEM_CLASS'][$GLOBALS['SEM_TYPE'][Context::getArtNum()]['class']]['studygroup_mode'])) if(Navigation::hasItem('/profile/edit')) if($user_did_login) if( $seminar_open_redirected) if(is_object($GLOBALS['user']) && $GLOBALS['user']->needsToAcceptTerms() &&!match_route('dispatch.php/terms')) if(Config::get() ->USER_VISIBILITY_CHECK &&is_object($GLOBALS['user']) && $GLOBALS['user']->id !=='nobody') | ( | Config::get() ->USER_VISIBILITY_CHECK &&is_object($GLOBALS['user']) && $GLOBALS->id ! | [ 'user'] = = 'nobody' | ) |