Skip to content
Snippets Groups Projects
Commit a7b09df7 authored by Olav Morken's avatar Olav Morken
Browse files

Consent: Make noconsent-page translateable.

git-svn-id: https://simplesamlphp.googlecode.com/svn/trunk@761 44740490-163a-0410-bde0-09ae8108e29a
parent 8fa91d64
No related branches found
No related tags found
No related merge requests found
......@@ -164,6 +164,12 @@ $lang = array(
'hr' => 'prikaži/sakrij atribute',
'hu' => 'attribútumok mutatása/elrejtése',
),
'noconsent_title' => array (
'en' => 'No consent given',
),
'noconsent_text' => array (
'en' => 'You did not give consent for transfering your attributes to the service provider.',
),
);
......
<?php
$this->data['header'] = 'No consent was given';
$this->data['header'] = $this->t('{consent:noconsent_title}');;
$this->data['icon'] = 'bomb_l.png';
$this->includeAtTemplateBase('includes/header.php');
?>
......@@ -7,10 +7,7 @@
<div id="content">
<h2><?php echo $this->data['title']; ?></h2>
You did not accept to give consent.
<h2><?php echo($this->data['header']); ?></h2>
<p><?php echo($this->t('{consent:noconsent_text}')); ?></p>
<?php $this->includeAtTemplateBase('includes/footer.php'); ?>
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment