PHP Classes

File: web/SSO/modules/cron/templates/croninfo-tpl.php

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

Contents

Class file image Download
<?php

$this
->data['header'] = $this->t('cron_header');
$this->includeAtTemplateBase('includes/header.php');

$run_text = $this->t('run_text');
?>

    <p><?php echo $this->t('cron_info') ?></p>

    <p><?php echo $this->t('cron_suggestion') ?></p>
    <pre style="font-size: x-small; color: #444; padding: 1em; border: 1px solid #eee; margin: .4em "><code><?php
       
       
foreach ($this->data['urls'] AS $url ) {
            echo
"# " . $run_text. ' [' .$url['tag']. ']' . "\n";
            echo
"" . $url['int'] . " curl --silent \"" . $url['href'] . "\" > /dev/null 2>&1\n";
        }
       
       
?>
</code></pre>

    <br><p><?php echo $this->t('cron_execution') ?></p>
    <ul>
        <?php

       
foreach ($this->data['urls'] AS $url ) {
            echo
'<li><a href="' . $url['href'] . '&amp;output=xhtml">' . $run_text. ' [' .$url['tag']. ']' . '</a></li>';
        }

       
?>

    </ul>

</div>

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