projects
/
web.mtrack
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bf3c8a1
)
MTrackWeb/Wiki.php
author
Alan Knowles
<alan@roojs.com>
Wed, 19 Jun 2013 02:53:11 +0000
(10:53 +0800)
committer
Alan Knowles
<alan@roojs.com>
Wed, 19 Jun 2013 02:53:11 +0000
(10:53 +0800)
MTrackWeb/Wiki.php
patch
|
blob
|
history
diff --git
a/MTrackWeb/Wiki.php
b/MTrackWeb/Wiki.php
index
c17f01d
..
ac5d25c
100644
(file)
--- a/
MTrackWeb/Wiki.php
+++ b/
MTrackWeb/Wiki.php
@@
-52,8
+52,11
@@
class MTrackWeb_Wiki extends MTrackWeb
$px->project_id = $this->currentProject();
$px->orderBy('path');
+ $pr = DB_DataObject::factory('Projects');
+ $pr->get($px->project_id);
+
$ar = $px->fetchAll('path');
- $wikidata = "## Index of pages in Wiki\n\n";
+ $wikidata = "## Index of pages in Wiki
- {$pr->name}
\n\n";
foreach($ar as $pp) {
$wikidata .= " * [$pp](wiki:$pp)\n";
}