cvs: docweb /templates/all/www checkent.tpl.php
[email protected] ("Sean Coates")
| Newsgroups | php.doc.web |
|---|---|
| Message-ID | <cvssean1106681677@cvsserver> |
sean Tue Jan 25 14:34:37 2005 EDT
Modified files:
/docweb/templates/all/www checkent.tpl.php
Log:
added third column for redirects (nuno's request) + ws fixes
http://cvs.php.net/diff.php/docweb/templates/all/www/checkent.tpl.php?r1=1.2&r2=1.3&ty=u
Index: docweb/templates/all/www/checkent.tpl.php
diff -u docweb/templates/all/www/checkent.tpl.php:1.2 docweb/templates/all/www/checkent.tpl.php:1.3
--- docweb/templates/all/www/checkent.tpl.php:1.2 Sun Jan 23 08:16:13 2005
+++ docweb/templates/all/www/checkent.tpl.php Tue Jan 25 14:34:37 2005
@@ -1,7 +1,7 @@
<?php
/*
TODO:
- - template this
+ - language-entity this
- Shrink long URLs: http://example.org/this/is/a...long/url
*/
@@ -18,22 +18,21 @@
<table border="0">
<tr>
<th>Entity Name</th>
+ <th>URL</th>
<?php if ($extraCol[$resultType]) { ?>
<th>Redirect URL</th>
- <?php } else { ?>
- <th>URL</th>
<?php } ?>
</tr>
<?php foreach ($results AS $r) { ?>
- <tr>
+ <tr>
+ <td><?php echo $r['entity']; ?></td>
<?php if ($extraCol[$resultType]) { ?>
- <td><a href="<?php echo $r['url']; ?>" rel="nofollow"><?php echo $r['entity']; ?></a></td>
+ <td><a href ="<?php echo $r['url']; ?>" rel="nofollow"><?php echo $r['url']; ?></a></td>
<td><a href ="<?php echo $r['return_val']; ?>" rel="nofollow"><?php echo $r['return_val']; ?></a></td>
<?php } else { ?>
- <td><?php echo $r['entity']; ?></td>
<td><a href="<?php echo $r['url']; ?>" rel="nofollow"><?php echo $r['url']; ?></a></td>
<?php } ?>
- </tr>
+ </tr>
<?php } ?>
</table>
<br />