Stud.IP  jlu_4.3 Revision 64286
seminar_open.php File Reference

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
 

Function Documentation

◆ startpage_redirect()

startpage_redirect (   $page_code)
Here is the call graph for this function:

Variable Documentation

◆ $_language_path

if($_SESSION['SessionStart']==0) if ( $auth->is_authenticated() &&is_object( $user) &&$user->id !="nobody") $_language_path = init_i18n($_SESSION['_language'])

◆ $auth

global $auth

◆ $course_id

$course_id
Initial value:
= (Request::int('cancel_login') && (!is_object($user) || $user->id === 'nobody'))
? null
: Request::option('cid')
static option($param, $default=NULL)
Definition: Request.class.php:219
static int($param, $default=NULL)
Definition: Request.class.php:238
global $user
Definition: seminar_open.php:65

◆ $DEFAULT_LANGUAGE

global $DEFAULT_LANGUAGE

◆ $dp

$dp =new JLUG_DataPrivacy

◆ $i_page

$i_page = basename($_SERVER['PHP_SELF'])

◆ $perm

global $perm

◆ $seminar_open_redirected

$seminar_open_redirected = false

◆ $sess

global $sess

◆ $SessionSeminar

global $SessionSeminar

◆ $user

global $user

◆ $user_did_login

$user_did_login = false

◆ if

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')