PHP Classes

File: web/SSO/modules/core/templates/authsource_list.tpl.php

Recommend this page to a friend!
  Classes of william amed   Raptor 2   web/SSO/modules/core/templates/authsource_list.tpl.php   Download  
File: web/SSO/modules/core/templates/authsource_list.tpl.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: 472 bytes
 

Contents

Class file image Download
<?php
/**
 * Template to show list of configured authentication sources.
 *
 */
$this->data['header'] = 'Test authentication sources';

$this->includeAtTemplateBase('includes/header.php');
?>
<h1><?php echo $this->data['header']; ?></h1>
<ul>
<?php
foreach ($this->data['sources'] as $id) {
    echo
'<li><a href="?as=' . htmlspecialchars(urlencode($id)) . '">' . htmlspecialchars($id) . '</a></li>';
}
?>
</ul>

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