aboutsummaryrefslogtreecommitdiff
path: root/public/datenschutz.php
blob: 0eb134f5c99da123f80b94164375868a560e6756 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
/**
 * datenschutz.php
 *
 * privacy guidelines for Stud.IP
 *
 * PHP version 5
 *
 * @author      Elmar Ludwig
 * @author      Michael Riehemann <michael.riehemann@uni-oldenburg.de>
 * @copyright   2009 Stud.IP
 * @license     http://www.gnu.org/licenses/gpl.html GPL Licence 3
 * @package     studip_core
 * @access      public
 */

require '../lib/bootstrap.php';

page_open([
    'sess' => 'Seminar_Session',
    'auth' => 'Seminar_Default_Auth',
    'perm' => 'Seminar_Perm',
    'user' => 'Seminar_User'
]);

// set up user session
include 'lib/seminar_open.php';

// this page must be accessible during visibility decision
Config::get()->USER_VISIBILITY_CHECK = false;

PageLayout::setTitle(_('Erläuterungen zum Datenschutz'));

$template = $template_factory->open('privacy');
$template->set_layout('layouts/base.php');

echo $template->render();