cvs: docweb /templates/all/www checkent.tpl.php
| From: | Sean Coates | Date: | Sat, 22 Jan 2005 15:14:18 +0000 |
| Subject: | cvs: docweb /templates/all/www checkent.tpl.php | ||
| Groups: | php.doc.web | ||
| Request: | Send a blank email to doc-web+get-531@lists.php.net to get a copy of this message | ||
sean Sat Jan 22 10:14:18 2005 EDT
Added files:
/docweb/templates/all/www checkent.tpl.php
Log:
another uncommitted file from last night
http://cvs.php.net/co.php/docweb/templates/all/www/checkent.tpl.php?r=1.1&p=1
Index: docweb/templates/all/www/checkent.tpl.php
+++ docweb/templates/all/www/checkent.tpl.php
<?php
/*
TODO:
- template this
- Hyperlink <a ... /> the URLs
- Shrink long URLs: http://example.org/this/is/a...long/url
*/
?>
<h2>Entities last checked: <?php echo date('Y-m-d H:i:s', $startTime);
?></h2>
<?php if (!$isComplete) { ?>
<h3>Check not complete.</h3>
<?php } ?>
<h2>Protocols: <?php echo $schemes; ?></h2>
<br />
<?php foreach ($entData as $resultType => $results) { ?>
<h2><?php echo $resultLkp[$resultType]; ?> (<?php echo count($results);
?>)</h2>
<table border="0">
<tr>
<th>Entity Name</th>
<?php if ($extraCol[$resultType]) { ?>
<th>Redirect URL</th>
<?php } else { ?>
<th>URL</th>
<?php } ?>
</tr>
<?php foreach ($results AS $r) { ?>
<tr>
<td><?php echo $r['entity']; ?></td>
<?php if ($extraCol[$resultType]) { ?>
<td><?php echo $r['return_val']; ?></td>
<?php } else { ?>
<td><?php echo $r['url']; ?></td>
<?php } ?>
</tr>
<?php } ?>
</table>
<br />
<?php } ?>