cvs: docweb /www/rfc rfc-overview.php rfc-proposal-edit.php

From: Date: Fri, 10 Sep 2004 14:24:23 +0000
Subject: cvs: docweb /www/rfc rfc-overview.php rfc-proposal-edit.php
Groups: php.doc.web 
Request: Send a blank email to doc-web+get-255@lists.php.net to get a copy of this message
vincent Fri Sep 10 10:24:23 2004 EDT Modified files: /docweb/www/rfc rfc-overview.php rfc-proposal-edit.php Log: some small fixes http://cvs.php.net/diff.php/docweb/www/rfc/rfc-overview.php?r1=1.5&r2=1.6&ty=u Index: docweb/www/rfc/rfc-overview.php diff -u docweb/www/rfc/rfc-overview.php:1.5 docweb/www/rfc/rfc-overview.php:1.6 --- docweb/www/rfc/rfc-overview.php:1.5 Sun Sep 5 13:25:16 2004 +++ docweb/www/rfc/rfc-overview.php Fri Sep 10 10:24:22 2004 @@ -22,7 +22,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-overview.php,v 1.5 2004/09/05 17:25:16 vincent Exp $ + * @version $Id: rfc-overview.php,v 1.6 2004/09/10 14:24:22 vincent Exp $ */ /** @@ -131,13 +131,15 @@ echo "</small>)\n"; } echo "</li>\n"; -} + -echo "</ul>\n"; +} -if ($selectStatus == '') { +if ($selectStatus == '' && isset($proposal) && $proposal->getStatus() == 'finished') { print_link('rfc-overview.php?filter=finished', 'All finished proposals'); } + +echo "</ul>\n"; echo site_footer(); http://cvs.php.net/diff.php/docweb/www/rfc/rfc-proposal-edit.php?r1=1.8&r2=1.9&ty=u Index: docweb/www/rfc/rfc-proposal-edit.php diff -u docweb/www/rfc/rfc-proposal-edit.php:1.8 docweb/www/rfc/rfc-proposal-edit.php:1.9 --- docweb/www/rfc/rfc-proposal-edit.php:1.8 Sun Sep 5 05:16:32 2004 +++ docweb/www/rfc/rfc-proposal-edit.php Fri Sep 10 10:24:22 2004 @@ -22,7 +22,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-edit.php,v 1.8 2004/09/05 09:16:32 vincent Exp $ + * @version $Id: rfc-proposal-edit.php,v 1.9 2004/09/10 14:24:22 vincent Exp $ */ /** @@ -294,7 +294,7 @@ $filehash = md5($_FILES['thefile']['name'] . time()); move_uploaded_file($_FILES['thefile']['tmp_name'], './../../files/' . $filehash); - $proposal->pkg_filehash = $proposal->pkg_filehash . '|' . $_FILES['thefile']['name'] . $filehash; + $proposal->pkg_filehash = $proposal->pkg_filehash . '|' . basename($_FILES['thefile']['name']) . $filehash; } } else {

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