summaryrefslogtreecommitdiff
path: root/actions/doc.php
diff options
context:
space:
mode:
authorMeitar Moscovitz <meitarm@gmail.com>2009-02-12 02:27:13 +1100
committerMeitar Moscovitz <meitarm@gmail.com>2009-02-12 02:27:13 +1100
commit2fb8c58c84ef02766364e605d28ecaf90c5fc25f (patch)
treefb72cc6b535478800bbf9e8432cd047f6be6d788 /actions/doc.php
parentb240a1719485b15c4a6497b6053c24e8a40a4e3c (diff)
parent27e23f2dd3e071712dc9d4765beaa33b57150fe0 (diff)
Merge branch 'dev-0.7.x' into link-rel-paginate
Diffstat (limited to 'actions/doc.php')
-rw-r--r--actions/doc.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/actions/doc.php b/actions/doc.php
index 6957659ad..ebffb7c15 100644
--- a/actions/doc.php
+++ b/actions/doc.php
@@ -50,7 +50,7 @@ class DocAction extends Action
/**
* Class handler.
- *
+ *
* @param array $args array of arguments
*
* @return nothing
@@ -59,7 +59,7 @@ class DocAction extends Action
{
parent::handle($args);
$this->title = $this->trimmed('title');
- $this->filename = INSTALLDIR.'/doc/'.$this->title;
+ $this->filename = INSTALLDIR.'/doc-src/'.$this->title;
if (!file_exists($this->filename)) {
$this->clientError(_('No such document.'));
return;
@@ -71,14 +71,14 @@ class DocAction extends Action
function showPageTitle() {
$this->element('h1', array('class' => 'entry-title'), $this->title());
}
-
+
// overrided to add hentry, and content-inner classes
function showContentBlock()
{
$this->elementStart('div', array('id' => 'content', 'class' => 'hentry'));
$this->showPageTitle();
$this->showPageNoticeBlock();
- $this->elementStart('div', array('id' => 'content_inner',
+ $this->elementStart('div', array('id' => 'content_inner',
'class' => 'entry-content'));
// show the actual content (forms, lists, whatever)
$this->showContent();
@@ -88,7 +88,7 @@ class DocAction extends Action
/**
* Display content.
- *
+ *
* @return nothing
*/
function showContent()
@@ -100,7 +100,7 @@ class DocAction extends Action
/**
* Page title.
- *
+ *
* @return page title
*/
function title()