projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8bfc237
)
MTrackWeb/Milestone.php
author
Alan Knowles
<alan@akbkhome.com>
Mon, 28 Mar 2011 07:22:55 +0000
(15:22 +0800)
committer
Alan Knowles
<alan@akbkhome.com>
Mon, 28 Mar 2011 07:22:55 +0000
(15:22 +0800)
MTrackWeb/Milestone.php
patch
|
blob
|
history
diff --git
a/MTrackWeb/Milestone.php
b/MTrackWeb/Milestone.php
index
e71a261
..
d2b3e5d
100644
(file)
--- a/
MTrackWeb/Milestone.php
+++ b/
MTrackWeb/Milestone.php
@@
-6,5
+6,28
@@
require_once 'MTrackWeb.php';
class MTrackWeb_Milestone extends MTrackWeb
{
+ var $id; // 0 = new
+ var $issue;
+ var $preview;
+ var $error;
+ var $editable;
+ var $tid = 0; // or the MD5 rep.
+
+ function get($pi= 0)
+ {
+
+ if (!isset($_REQUEST['ajax_body'])) {
+ return;
+ }
+ $this->masterTemplate = 'milestone.html';
+ $this->id = $pi ? $pi: (isset($_GET['id']) ? $_GET['id'] : 0);
+ $this->id = (int) $this->id;
+
+
+
+
+
+
+ }
}