cvs: pearweb /include/pepr pepr.php
| From: | Pierre-Alain Joye | Date: | Thu, 06 Apr 2006 21:03:23 +0000 |
| Subject: | cvs: pearweb /include/pepr pepr.php | ||
| Groups: | php.pear.cvs php.pear.core | ||
| Request: | Send a blank email to pear-core+get-4702@lists.php.net to get a copy of this message | ||
pajoye Thu Apr 6 21:03:23 2006 UTC
Modified files:
/pearweb/include/pepr pepr.php
Log:
- returns a timestamp
http://cvs.php.net/viewcvs.cgi/pearweb/include/pepr/pepr.php?r1=1.62&r2=1.63&diff_format=u
Index: pearweb/include/pepr/pepr.php
diff -u pearweb/include/pepr/pepr.php:1.62 pearweb/include/pepr/pepr.php:1.63
--- pearweb/include/pepr/pepr.php:1.62 Sat Feb 18 13:27:06 2006
+++ pearweb/include/pepr/pepr.php Thu Apr 6 21:03:22 2006
@@ -22,7 +22,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.php,v 1.62 2006/02/18 13:27:06 pajoye Exp $
+ * @version $Id: pepr.php,v 1.63 2006/04/06 21:03:22 pajoye Exp $
*/
/**#@+
@@ -43,7 +43,7 @@
{
global $auth_user;
- /* There is no point to have a pepr navigation bar for
+ /* There is no point to have a pepr navigation bar for
a new proposal
*/
if ($proposal == null) {
@@ -82,7 +82,7 @@
print_tabbed_navigation($items);
}
-function display_overview_nav ()
+function display_overview_nav ()
{
global $proposalStatiMap;
$items = array(
@@ -95,12 +95,12 @@
'title' => $name
);
}
-
+
print_tabbed_navigation($items);
}
-
-
-
+
+
+
function shorten_string($string)
{
if (strlen($string) < 80) {
@@ -178,7 +178,7 @@
Proposed package:
'.$this->pkg_category.'::'.$this->pkg_name.'<br />
Proposer: '.user_link($this->user_handle).'<br />
'.$this->getParsedDescribtion(),
- 'date' => date("Y-m-d\TH:i:s-05:00",
$this->draft_date)
+ 'date' => $this->draft_date
);
}
@@ -203,7 +203,7 @@
}
return $describtion;
}
-
+
/**
* Look up proposal information based on the proposal ID number
*
@@ -247,7 +247,7 @@
* @param int $limit limit the number of proposals to receive
* @param string $order an SQL expression used by the "ORDER BY" statement
*
- * @return array an array of proposal objects (maybe with 0 elements,
+ * @return array an array of proposal objects (maybe with 0 elements,
* if no proposals received)
*
* @access public
@@ -308,7 +308,7 @@
}
return $result;
}
-
+
function getLinks(&$dbh)
@@ -666,7 +666,7 @@
if ($event == 'change_status_finished') {
$proposalVotesSum = ppVote::getSum($dbh, $this->id);
-
+
$vote_result = 'Sum of Votes: ' . $proposalVotesSum['all'];
$vote_result .= ' (' . $proposalVotesSum['conditional']
. ' conditional)';
@@ -1008,5 +1008,3 @@
return $this->type;
}
}
-
-?>