PHP Classes

File: web/SSO/modules/consentSimpleAdmin/templates/consentadmin.php

Recommend this page to a friend!
  Classes of william amed   Raptor 2   web/SSO/modules/consentSimpleAdmin/templates/consentadmin.php   Download  
File: web/SSO/modules/consentSimpleAdmin/templates/consentadmin.php
Role: Example script
Content type: text/plain
Description: Example script
Class: Raptor 2
Framework that takes routes from annotations
Author: By
Last change:
Date: 8 years ago
Size: 1,066 bytes
 

Contents

Class file image Download
<?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'); ?>