cvs: pearweb /public_html/pepr index.php pepr-proposal-delete.php pepr-proposal-show.php pepr-votes-show.php

From: Date: Sun, 13 Jan 2008 00:02:55 +0000
Subject: cvs: pearweb /public_html/pepr index.php pepr-proposal-delete.php pepr-proposal-show.php pepr-votes-show.php
Groups: php.pear.cvs php.pear.core 
Request: Send a blank email to pear-cvs+get-50253@lists.php.net to get a copy of this message
dufuz Sun Jan 13 00:02:55 2008 UTC Modified files: /pearweb/public_html/pepr index.php pepr-proposal-delete.php pepr-proposal-show.php pepr-votes-show.php Log: print_link to make_link http://cvs.php.net/viewvc.cgi/pearweb/public_html/pepr/index.php?r1=1.9&r2=1.10&diff_format=u Index: pearweb/public_html/pepr/index.php diff -u pearweb/public_html/pepr/index.php:1.9 pearweb/public_html/pepr/index.php:1.10 --- pearweb/public_html/pepr/index.php:1.9 Sat Jun 9 21:47:17 2007 +++ pearweb/public_html/pepr/index.php Sun Jan 13 00:02:54 2008 @@ -19,7 +19,7 @@ * @author Daniel Convissor <danielc@php.net> * @copyright Copyright (c) 1997-2005 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License - * @version $Id: index.php,v 1.9 2007/06/09 21:47:17 dufuz Exp $ + * @version $Id: index.php,v 1.10 2008/01/13 00:02:54 dufuz Exp $ */ /** @@ -115,11 +115,11 @@ if ($already_voted) { echo '(Already voted) '; } - print_link('pepr-proposal-show.php?id=' . $proposal->id, + echo make_link('pepr-proposal-show.php?id=' . $proposal->id, htmlspecialchars($proposal->pkg_category) . ' :: ' . htmlspecialchars($proposal->pkg_name)); echo ' by '; - print_link('/user/' . htmlspecialchars($proposal->user_handle), + echo make_link('/user/' . htmlspecialchars($proposal->user_handle), htmlspecialchars($users[$proposal->user_handle]['name'])); switch ($status) { case 'proposal': @@ -138,7 +138,7 @@ } if ($selectStatus == '' && isset($proposal) && $status == 'finished') { - print_link('/pepr/?filter=finished', 'All finished proposals'); + echo make_link('/pepr/?filter=finished', 'All finished proposals'); } echo "</ul>\n"; http://cvs.php.net/viewvc.cgi/pearweb/public_html/pepr/pepr-proposal-delete.php?r1=1.15&r2=1.16&diff_format=u Index: pearweb/public_html/pepr/pepr-proposal-delete.php diff -u pearweb/public_html/pepr/pepr-proposal-delete.php:1.15 pearweb/public_html/pepr/pepr-proposal-delete.php:1.16 --- pearweb/public_html/pepr/pepr-proposal-delete.php:1.15 Thu Jun 15 19:39:03 2006 +++ pearweb/public_html/pepr/pepr-proposal-delete.php Sun Jan 13 00:02:54 2008 @@ -17,7 +17,7 @@ * @author Daniel Convissor <danielc@php.net> * @copyright Copyright (c) 1997-2005 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License - * @version $Id: pepr-proposal-delete.php,v 1.15 2006/06/15 19:39:03 mj Exp $ + * @version $Id: pepr-proposal-delete.php,v 1.16 2008/01/13 00:02:54 dufuz Exp $ */ /** @@ -32,7 +32,7 @@ echo "<h1>Delete Proposal</h1>\n"; report_success('Proposal deleted successfully.'); echo '<p>'; - print_link('/pepr/', 'Back to PEPr Home Page'); + echo make_link('/pepr/', 'Back to PEPr Home Page'); echo "</p>\n"; response_footer(); exit; http://cvs.php.net/viewvc.cgi/pearweb/public_html/pepr/pepr-proposal-show.php?r1=1.56&r2=1.57&diff_format=u Index: pearweb/public_html/pepr/pepr-proposal-show.php diff -u pearweb/public_html/pepr/pepr-proposal-show.php:1.56 pearweb/public_html/pepr/pepr-proposal-show.php:1.57 --- pearweb/public_html/pepr/pepr-proposal-show.php:1.56 Sun Apr 22 01:51:36 2007 +++ pearweb/public_html/pepr/pepr-proposal-show.php Sun Jan 13 00:02:54 2008 @@ -17,7 +17,7 @@ * @author Daniel Convissor <danielc@php.net> * @copyright Copyright (c) 1997-2005 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License - * @version $Id: pepr-proposal-show.php,v 1.56 2007/04/22 01:51:36 dufuz Exp $ + * @version $Id: pepr-proposal-show.php,v 1.57 2008/01/13 00:02:54 dufuz Exp $ */ /** @@ -156,7 +156,7 @@ $proposal->getLinks($dbh); foreach ($proposal->links as $link) { echo ' <li>'; - print_link(htmlspecialchars($link->url), $link->getType(true)); + echo make_link(htmlspecialchars($link->url), $link->getType(true)); echo "</li>\n"; } http://cvs.php.net/viewvc.cgi/pearweb/public_html/pepr/pepr-votes-show.php?r1=1.10&r2=1.11&diff_format=u Index: pearweb/public_html/pepr/pepr-votes-show.php diff -u pearweb/public_html/pepr/pepr-votes-show.php:1.10 pearweb/public_html/pepr/pepr-votes-show.php:1.11 --- pearweb/public_html/pepr/pepr-votes-show.php:1.10 Sun Apr 22 01:51:36 2007 +++ pearweb/public_html/pepr/pepr-votes-show.php Sun Jan 13 00:02:54 2008 @@ -17,7 +17,7 @@ * @author Daniel Convissor <danielc@php.net> * @copyright Copyright (c) 1997-2005 The PHP Group * @license http://www.php.net/license/3_0.txt PHP License - * @version $Id: pepr-votes-show.php,v 1.10 2007/04/22 01:51:36 dufuz Exp $ + * @version $Id: pepr-votes-show.php,v 1.11 2008/01/13 00:02:54 dufuz Exp $ */ /** @@ -258,7 +258,7 @@ } echo ' <li><strong>'; - print_link('pepr-vote-show.php?id=' . $proposal->id + echo make_link('pepr-vote-show.php?id=' . $proposal->id . '&amp;handle=' . htmlspecialchars($vote->user_handle), $vote->value); @@ -270,7 +270,7 @@ echo '*'; } echo ' &nbsp;('; - print_link('/user/' . htmlspecialchars($vote->user_handle), + echo make_link('/user/' . htmlspecialchars($vote->user_handle), htmlspecialchars($users[$vote->user_handle]['name'])); echo ')&nbsp; ' . make_utc_date($vote->timestamp); echo "</li>\n";

« previous php.pear.cvs (#50253) next »