diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-02-11 09:53:54 -0500 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-02-11 09:53:54 -0500 |
commit | 880d0b477b254d62f68b2a894ff558448693e37a (patch) | |
tree | 065d3ded9f2f83268dbed6ce667ac144690c79e0 /actions | |
parent | d345c746b9021266a2ed100329affe49c5ae8fc3 (diff) | |
parent | bba1dbdb403aac067ae97c44531f6886f90fec35 (diff) |
Merge branch 'urlroute' into 0.7.x
Diffstat (limited to 'actions')
-rw-r--r-- | actions/doc.php | 12 |
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() |