ILIAS  release_5-3 Revision v5.3.23-19-g915713cf615
frontpage_welcome.php
Go to the documentation of this file.
1 <?php
2 
3 
4 // Load SimpleSAMLphp, configuration
7 
8 // Check if valid local session exists.
9 if ($config->getBoolean('admin.protectindexpage', false)) {
11 }
14 
15 
16 
17 
18 
24 
25 
26 
28  'links' => &$links,
29  'welcome' => &$links_welcome,
30  'config' => &$links_config,
31  'auth' => &$links_auth,
32  'federation' => &$links_federation,
33 );
34 
36  'href' => 'https://simplesamlphp.org/docs/stable/',
37  'text' => '{core:frontpage:doc_header}',
38 );
39 
41 
42 
43 
44 
45 
46 
47 
48 
49 
50 $t = new SimpleSAML_XHTML_Template($config, 'core:frontpage_welcome.tpl.php');
51 $t->data['pageid'] = 'frontpage_welcome';
52 $t->data['isadmin'] = $isadmin;
53 $t->data['loginurl'] = $loginurl;
54 
55 $t->data['links'] = $links;
56 $t->data['links_welcome'] = $links_welcome;
57 $t->data['links_config'] = $links_config;
58 $t->data['links_auth'] = $links_auth;
59 $t->data['links_federation'] = $links_federation;
60 
61 
62 
63 
64 $t->show();
65 
66 
static requireAdmin()
Require admin access to the current page.
Definition: Auth.php:60
if($config->getBoolean('admin.protectindexpage', false)) $loginurl
static isAdmin()
Check whether the current user is admin.
Definition: Auth.php:42
static getAdminLoginURL($returnTo=null)
Retrieve a admin login URL.
Definition: Auth.php:22
static callHooks($hook, &$data=null)
Call a hook in all enabled modules.
Definition: Module.php:364
$links_welcome
$links_config
Create styles array
The data for the language used.
$links_federation
static getSessionFromRequest()
Retrieves the current session.
Definition: Session.php:243
static getInstance($instancename='simplesaml')
Get a configuration file by its instance name.