ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
frontpage_config.php File Reference

Go to the source code of this file.

Variables

 $config = SimpleSAML_Configuration::getInstance()
 
 $session = SimpleSAML_Session::getSessionFromRequest()
 
if($config->getBoolean('admin.protectindexpage', false)) $loginurl = SimpleSAML\Utils\Auth::getAdminLoginURL()
 
 $isadmin = SimpleSAML\Utils\Auth::isAdmin()
 
 $warnings = array()
 
if(!\SimpleSAML\Utils\HTTP::isHTTPS()) if($config->getValue('secretsalt')==='defaultsecretsalt') if(extension_loaded('suhosin')) $links = array()
 
 $links_welcome = array()
 
 $links_config = array()
 
 $links_auth = array()
 
 $links_federation = array()
 
 $links_config []
 
 $allLinks
 
 $current = $config->getVersion()
 
if($config->getBoolean('admin.checkforupdates', true) && $current !=='master') $enablematrix
 
 $functionchecks
 
if(SimpleSAML\Module::isModuleEnabled('ldap')) if(SimpleSAML\Module::isModuleEnabled('radius')) $funcmatrix = array()
 
 $funcmatrix []
 
if($config->getString('technicalcontact_email', 'na @example.org')==='na @example.org') else
 
 $t = new SimpleSAML_XHTML_Template($config, 'core:frontpage_config.tpl.php')
 
$t data ['pageid'] = 'frontpage_config'
 
$t data ['isadmin'] = $isadmin
 
$t data ['loginurl'] = $loginurl
 
$t data ['warnings'] = $warnings
 
$t data ['links'] = $links
 
$t data ['links_welcome'] = $links_welcome
 
$t data ['links_config'] = $links_config
 
$t data ['links_auth'] = $links_auth
 
$t data ['links_federation'] = $links_federation
 
$t data ['enablematrix'] = $enablematrix
 
$t data ['funcmatrix'] = $funcmatrix
 
$t data ['requiredmap']
 
$t data ['version'] = $config->getVersion()
 
$t data ['directory'] = dirname(dirname(dirname(dirname(__FILE__))))
 

Variable Documentation

◆ $allLinks

$allLinks
Initial value:
'links' => &$links,
'welcome' => &$links_welcome,
'config' => &$links_config,
'auth' => &$links_auth,
'federation' => &$links_federation,
)
$links_federation
$links_auth
$links_welcome
Create styles array
The data for the language used.
$links_config
if(!\SimpleSAML\Utils\HTTP::isHTTPS()) if($config->getValue('secretsalt')==='defaultsecretsalt') if(extension_loaded('suhosin')) $links

Definition at line 56 of file frontpage_config.php.

◆ $config

Definition at line 6 of file frontpage_config.php.

◆ $current

$current = $config->getVersion()

Definition at line 67 of file frontpage_config.php.

Referenced by __(), PHPExcel_Reader_Excel2007\_castToFormula(), HTMLPurifier_Injector_AutoParagraph\_checkNeedsP(), MDB2_Driver_Datatype_Common\_compareBLOBDefinition(), MDB2_Driver_Datatype_Common\_compareCLOBDefinition(), MDB2_Driver_Datatype_Common\_compareIntegerDefinition(), MDB2_Driver_Datatype_Common\_compareTextDefinition(), HTMLPurifier_Injector_AutoParagraph\_pLookAhead(), HTMLPurifier_ErrorCollector\_renderStruct(), HTMLPurifier_Injector\backward(), ilWikiStat\buildFullPeriodData(), ilObjUser\buildTextFromArray(), ilDBPdoFieldDefinition\compareBLOBDefinition(), ilDBPdoFieldDefinition\compareCLOBDefinition(), MDB2_Driver_Datatype_Common\compareDefinition(), ilDBPdoFieldDefinition\compareDefinition(), MDB2_Driver_Common\compareDefinition(), ilDBPdoFieldDefinition\compareIntegerDefinition(), ilDBPdoFieldDefinition\compareTextDefinition(), Twig_Environment\createTemplate(), d__(), PHPMailer\DKIM_Add(), dnp__(), dp__(), Parser\fetchScaryTemplateMaybeFromCache(), ilClassificationBlockGUI\filterContainer(), HTMLPurifier_Injector\forward(), HTMLPurifier_Injector\forwardUntilEndToken(), ilADTMultiEnum\getCheckSum(), ilPublicUserProfileGUI\getHTML(), SimpleSAML\Locale\Language\getLanguageList(), ilObjCategoryGUI\getObjectMetadataGUI(), Title\getParentCategoryTree(), ilObjStudyProgramme\getParents(), ilUserUtil\getPersonalStartingPoint(), SimpleSAML\Utils\HTTP\getServerHost(), ilUserUtil\getStartingPoint(), ilUserUtil\getStartingPointAsUrl(), ilOrgUnitExporter\getStructure(), ilObjCourse\getSubItems(), ilObjSession\handleAutoFill(), HTMLPurifier_Injector_RemoveSpansWithoutAttributes\handleElement(), HTMLPurifier_Injector_AutoParagraph\handleText(), TCPDF\hyphenateText(), Gettext\BaseTranslator\initGettextFunctions(), ilClassificationBlockGUI\initProviders(), HTML5TreeConstructer\inSelect(), ilSurveyPageGUI\insertNewQuestion(), ilSurveyPageGUI\insertQuestionBlock(), HTML5TreeConstructer\inTable(), ilADTMultiEnumFormBridge\isActiveForSubItems(), ilADTEnumSearchBridgeMulti\isInCondition(), n__(), Gettext\Translation\normalizeTranslationCount(), np__(), p__(), ilFullnameParser\parse(), ilCalendarEntry\parseDynamicTitle(), Twig_ExpressionParser\parseHashExpression(), ilObjSurveyGUI\savePropertiesObject(), SimpleSAML_Auth_LDAP\searchfordn(), ilCalendarAppointmentsTableGUI\setAppointments(), GuzzleHttp\Psr7\LimitStream\setOffset(), ilIndividualAssessmentMembers\updateStorageAndRBAC(), GuzzleHttp\Psr7\Uri\withoutQueryValue(), and GuzzleHttp\Psr7\Uri\withQueryValue().

◆ $enablematrix

if ( $config->getBoolean( 'admin.checkforupdates', true) &&$current !=='master') $enablematrix
Initial value:
'saml20-idp' => $config->getBoolean('enable.saml20-idp', false),
'shib13-idp' => $config->getBoolean('enable.shib13-idp', false),
)
Create styles array
The data for the language used.

Definition at line 95 of file frontpage_config.php.

◆ $funcmatrix [1/2]

Definition at line 122 of file frontpage_config.php.

◆ $funcmatrix [2/2]

$funcmatrix[]
Initial value:
'required' => 'required',
'descr' => 'PHP Version >= 5.4. You run: ' . phpversion(),
'enabled' => version_compare(phpversion(), '5.4', '>='))
Create styles array
The data for the language used.

Definition at line 123 of file frontpage_config.php.

◆ $functionchecks

$functionchecks
Initial value:
'time' => array('required', 'Date/Time Extension'),
'hash' => array('required', 'Hashing function'),
'gzinflate' => array('required', 'ZLib'),
'openssl_sign' => array('required', 'OpenSSL'),
'dom_import_simplexml' => array('required', 'XML DOM'),
'preg_match' => array('required', 'RegEx support'),
'json_decode' => array('required', 'JSON support'),
'class_implements' => array('required', 'Standard PHP Library (SPL)'),
'mb_strlen' => array('required', 'Multibyte String Extension'),
'curl_init' => array('optional', 'cURL (required if automatic version checks are used, also by some modules.'),
'session_start' => array('optional', 'Session Extension (required if PHP sessions are used)'),
'pdo_drivers' => array('optional', 'PDO Extension (required if a database backend is used)'),
)
Create styles array
The data for the language used.

Definition at line 101 of file frontpage_config.php.

◆ $isadmin

Definition at line 14 of file frontpage_config.php.

◆ $links

if (!\SimpleSAML\Utils\HTTP::isHTTPS()) if ( $config->getValue( 'secretsalt')==='defaultsecretsalt') if (extension_loaded( 'suhosin')) $links = array()

Definition at line 38 of file frontpage_config.php.

◆ $links_auth

$links_auth = array()

Definition at line 41 of file frontpage_config.php.

◆ $links_config [1/2]

$links_config = array()

Definition at line 40 of file frontpage_config.php.

◆ $links_config [2/2]

$links_config[]
Initial value:
'href' => \SimpleSAML\Utils\HTTP::getBaseURL() . 'admin/hostnames.php',
'text' => '{core:frontpage:link_diagnostics}'
)
Attribute-related utility methods.
getBaseURL($t, $type='get', $key=null, $value=null)
Definition: showstats.php:133
Create styles array
The data for the language used.

Definition at line 46 of file frontpage_config.php.

◆ $links_federation

$links_federation = array()

Definition at line 42 of file frontpage_config.php.

◆ $links_welcome

$links_welcome = array()

Definition at line 39 of file frontpage_config.php.

◆ $loginurl

if ( $config->getBoolean( 'admin.protectindexpage', false)) $loginurl = SimpleSAML\Utils\Auth::getAdminLoginURL()

Definition at line 13 of file frontpage_config.php.

◆ $session

Definition at line 7 of file frontpage_config.php.

◆ $t

$t = new SimpleSAML_XHTML_Template($config, 'core:frontpage_config.tpl.php')

Definition at line 173 of file frontpage_config.php.

◆ $warnings

$warnings = array()

Definition at line 17 of file frontpage_config.php.

Referenced by ilDclRecordListGUI\endImport().

◆ data [1/14]

$t data[ 'pageid'] = 'frontpage_config'

Definition at line 174 of file frontpage_config.php.

◆ data [2/14]

$t data[ 'isadmin'] = $isadmin

Definition at line 175 of file frontpage_config.php.

◆ data [3/14]

$t data[ 'loginurl'] = $loginurl

Definition at line 176 of file frontpage_config.php.

◆ data [4/14]

$t data[ 'warnings'] = $warnings

Definition at line 177 of file frontpage_config.php.

◆ data [5/14]

$t data[ 'links'] = $links

Definition at line 180 of file frontpage_config.php.

◆ data [6/14]

$t data[ 'links_welcome'] = $links_welcome

Definition at line 181 of file frontpage_config.php.

◆ data [7/14]

$t data[ 'links_config'] = $links_config

Definition at line 182 of file frontpage_config.php.

◆ data [8/14]

$t data[ 'links_auth'] = $links_auth

Definition at line 183 of file frontpage_config.php.

◆ data [9/14]

$t data[ 'links_federation'] = $links_federation

Definition at line 184 of file frontpage_config.php.

◆ data [10/14]

$t data[ 'enablematrix'] = $enablematrix

Definition at line 188 of file frontpage_config.php.

◆ data [11/14]

$t data[ 'funcmatrix'] = $funcmatrix

Definition at line 189 of file frontpage_config.php.

◆ data [12/14]

$t data[ 'requiredmap']
Initial value:
'recommended' => $t->noop('{core:frontpage:recommended}'),
'required' => $t->noop('{core:frontpage:required}'),
'optional' => $t->noop('{core:frontpage:optional}'),
)
Create styles array
The data for the language used.

Definition at line 190 of file frontpage_config.php.

◆ data [13/14]

$t data[ 'version'] = $config->getVersion()

Definition at line 195 of file frontpage_config.php.

◆ data [14/14]

$t data[ 'directory'] = dirname(dirname(dirname(dirname(__FILE__))))

Definition at line 196 of file frontpage_config.php.

◆ else

if ( $config->getString( 'auth.adminpassword', '123')==='123') else
Initial value:
{
$mail_ok = TRUE

Definition at line 147 of file frontpage_config.php.