privacy.php 681 Bytes
Newer Older
Richard Mansfield's avatar
Richard Mansfield committed
1
2
3
4
5
<?php
/**
 *
 * @package    mahara
 * @subpackage core
6
 * @author     Catalyst IT Ltd
7
8
 * @license    http://www.gnu.org/copyleft/gpl.html GNU GPL version 3 or later
 * @copyright  For copyright information on Mahara, please see the README file distributed with this software.
Richard Mansfield's avatar
Richard Mansfield committed
9
10
11
12
 *
 */

define('INTERNAL', 1);
13
define('PUBLIC', 1);
Richard Mansfield's avatar
Richard Mansfield committed
14
require('init.php');
Martyn Smith's avatar
Martyn Smith committed
15
define('TITLE', get_string('privacystatement'));
Richard Mansfield's avatar
Richard Mansfield committed
16

17
18
19
20
21
22
23
$privacycontent = get_field_sql("
    SELECT s.content
    FROM {site_content_version} s
    WHERE s.institution = ?
    ORDER BY s.version DESC
    LIMIT 1", array('mahara'));

Richard Mansfield's avatar
Richard Mansfield committed
24
$smarty = smarty();
25
$smarty->assign('page_content', $privacycontent);
Richard Mansfield's avatar
Richard Mansfield committed
26
$smarty->display('sitepage.tpl');