PHP Classes

File: web/SSO/modules/metarefresh/templates/fetch.tpl.php

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

Contents

Class file image Download
<?php
$this
->data['header'] = $this->t('{aggregator:aggregator:aggregator_header}');
$this->includeAtTemplateBase('includes/header.php');

echo(
'<h1>Metarefresh fetch</h1>');


if (!empty(
$this->data['logentries'])) {
   
    echo
'<pre style="border: 1px solid #aaa; padding: .5em; overflow: scroll">';
    foreach(
$this->data['logentries'] AS $l) {
        echo
$l . "\n";
    }
    echo
'</pre>';
   
} else {
    echo
'No output from metarefresh.';
}



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