File: consentadmin.php

package info (click to toggle)
simplesamlphp 1.13.1-2%2Bdeb8u1
  • links: PTS, VCS
  • area: main
  • in suites: jessie
  • size: 11,304 kB
  • sloc: php: 65,124; xml: 629; python: 376; sh: 193; perl: 185; makefile: 43
file content (34 lines) | stat: -rw-r--r-- 1,066 bytes parent folder | download | duplicates (4)
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
<?php 

$this->data['header'] = $this->t('{consentSimpleAdmin:consentsimpleadmin:header}');
$this->includeAtTemplateBase('includes/header.php'); 

?>



<p><?php

echo '<p>' . $this->t('{consentSimpleAdmin:consentsimpleadmin:granted}', array(
	'%NO%' => (string)$this->data['consents'],
	'%OF%' => (string)$this->data['consentServices'],
)) . '</p>';


echo '<p>' . $this->t('{consentSimpleAdmin:consentsimpleadmin:info}') . '</p>';


?></p>

<!-- <p>You have granted <?php echo $this->data['consents']; ?> consents to <?php echo $this->data['consentServices']; ?> different services.</p>

<p>If you withdraw all consents given, you will be asked again each time you visit a new service, whether or not you would like to accept that a given set of attributes are transferred.</p> -->

<form method="get" action="consentAdmin.php">

	<input type="submit" name="withdraw" value="<?php echo $this->t('{consentSimpleAdmin:consentsimpleadmin:withdraw}'); ?>" />

</form>
<!--  Withdraw all consent given -->

<?php $this->includeAtTemplateBase('includes/footer.php'); ?>