cvs: docweb /include lib_general.inc.php /www/rfc rfc-proposal-show.php
| From: | Vincent Gevers | Date: | Fri, 27 Aug 2004 18:00:33 +0000 |
| Subject: | cvs: docweb /include lib_general.inc.php /www/rfc rfc-proposal-show.php | ||
| Groups: | php.doc.web | ||
| Request: | Send a blank email to doc-web+get-204@lists.php.net to get a copy of this message | ||
vincent Fri Aug 27 14:00:33 2004 EDT
Modified files:
/docweb/include lib_general.inc.php
/docweb/www/rfc rfc-proposal-show.php
Log:
- Updated links
- WS fixes
http://cvs.php.net/diff.php/docweb/include/lib_general.inc.php?r1=1.11&r2=1.12&ty=u
Index: docweb/include/lib_general.inc.php
diff -u docweb/include/lib_general.inc.php:1.11 docweb/include/lib_general.inc.php:1.12
--- docweb/include/lib_general.inc.php:1.11 Thu Aug 26 15:52:27 2004
+++ docweb/include/lib_general.inc.php Fri Aug 27 14:00:33 2004
@@ -17,7 +17,7 @@
| Mehdi Achour <didou@php.net> |
| Gabor Hojtsy <goba@php.net> |
+----------------------------------------------------------------------+
-$Id: lib_general.inc.php,v 1.11 2004/08/26 19:52:27 vincent Exp $
+$Id: lib_general.inc.php,v 1.12 2004/08/27 18:00:33 vincent Exp $
*/
error_reporting(E_ALL);
@@ -311,6 +311,7 @@
function site_nav_provider()
{
$links = array('<a href="/">Subsite homepage</a>');
+ $links[] = '<a href="/rfc/rfc-overview.php">Request For
Comments</a>';
if (in_array(SITE, array('gtk', 'pear', 'php',
'smarty'))) {
$links[] = '<a href="/revcheck.php">Revision check</a>';
}
@@ -318,8 +319,7 @@
$links[] = '<a href="/dochowto/index.php">Documentation
Howto</a>';
}
if (strpos($_SERVER['PHP_SELF'], 'rfc') !== false) {
- $links[] = '<a href="/rfc/rfc-overview.php">RFC
overview</a>';
- $links[] = '<a href="/rfc/rfc-proposal-edit.php">Submit
Proposal</a>';
+ $links[] = '<a href="/rfc/rfc-proposal-edit.php">Submit
RFC</a>';
}
if (count($links) == 0) {
$links[] = 'N/A';
http://cvs.php.net/diff.php/docweb/www/rfc/rfc-proposal-show.php?r1=1.6&r2=1.7&ty=u
Index: docweb/www/rfc/rfc-proposal-show.php
diff -u docweb/www/rfc/rfc-proposal-show.php:1.6 docweb/www/rfc/rfc-proposal-show.php:1.7
--- docweb/www/rfc/rfc-proposal-show.php:1.6 Fri Aug 27 08:49:43 2004
+++ docweb/www/rfc/rfc-proposal-show.php Fri Aug 27 14:00:33 2004
@@ -19,7 +19,7 @@
* @author Daniel Convissor <danielc@php.net>
* @copyright Copyright (c) 1997-2004 The PHP Group
* @license http://www.php.net/license/3_0.txt
PHP License
- * @version $Id: rfc-proposal-show.php,v 1.6 2004/08/27 12:49:43 vincent Exp $
+ * @version $Id: rfc-proposal-show.php,v 1.7 2004/08/27 18:00:33 vincent Exp $
*/
/**
@@ -199,8 +199,8 @@
if (!empty($proposal->pkg_filehash)) {
$list = explode("|", htmlspecialchars($proposal->pkg_filehash));
foreach ($list as $hash) {
-if ($hash == '')
- continue;
+ if ($hash == '')
+ continue;
$file = substr($hash, 0, -32);
$hash = substr($hash, -32);
@@ -255,14 +255,12 @@
<?php
-if ($changelog = @ppComment::getAll($proposal->id,
- 'package_proposal_changelog'))
-{
+if ($changelog = @ppComment::getAll($proposal->id, 'package_proposal_changelog')) {
echo "<ul>\n";
foreach ($changelog as $comment) {
if (!isset($userinfos[$comment->user_handle])) {
// $userinfo[$comment->user_handle] = user::info($comment->user_handle); // !!!
- $userinfo[$comment->user_handle] = array('name'=>'TestUser');
+ $userinfo[$comment->user_handle] = array('name'=>'TestUser');
}
echo '<li><p style="margin: 0em 0em 0.3em 0em; font-size:
90%;">';
echo htmlspecialchars($userinfo[$comment->user_handle]['name']);