cvs: docweb /templates/all/www checkent.tpl.php

From: Date: Tue, 25 Jan 2005 19:34:37 +0000
Subject: cvs: docweb /templates/all/www checkent.tpl.php
Groups: php.doc.web 
Request: Send a blank email to doc-web+get-566@lists.php.net to get a copy of this message
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 />

« previous php.doc.web (#566) next »