Commit de00191e authored by Maria Sorica's avatar Maria Sorica Committed by Maria

Bug 1734182: Display the Privacy Statement on page /privacy.php

behatnotneeded

Change-Id: If7c5d5b4c0f2da9dfb29a5294cb70f2fbe1c1045
parent 05aad4e5
......@@ -14,6 +14,13 @@ define('PUBLIC', 1);
require('init.php');
define('TITLE', get_string('privacystatement'));
$privacycontent = get_field_sql("
SELECT s.content
FROM {site_content_version} s
WHERE s.institution = ?
ORDER BY s.version DESC
LIMIT 1", array('mahara'));
$smarty = smarty();
$smarty->assign('page_content', get_site_page_content('privacy'));
$smarty->assign('page_content', $privacycontent);
$smarty->display('sitepage.tpl');
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment