diff options
author | Evan Prodromou <evan@controlyourself.ca> | 2009-02-10 22:33:57 -0500 |
---|---|---|
committer | Evan Prodromou <evan@controlyourself.ca> | 2009-02-10 22:33:57 -0500 |
commit | 1a7337f2fdc106b80a48692628d0b749ee090c03 (patch) | |
tree | 8dbea67bf1202f52ebb9538da64b20a7b4e3319d | |
parent | 7b9e69eb8923ef3018f0ce3e6042d9901ed16abd (diff) |
Moved /doc/ to /doc-src/
Moved the doc/ dir to /doc-src/ so that the actual
markdown files aren't substituted for the docs.
-rw-r--r-- | actions/doc.php | 12 | ||||
-rw-r--r-- | doc-src/about (renamed from doc/about) | 0 | ||||
-rw-r--r-- | doc-src/contact (renamed from doc/contact) | 0 | ||||
-rw-r--r-- | doc-src/faq (renamed from doc/faq) | 0 | ||||
-rw-r--r-- | doc-src/groups (renamed from doc/groups) | 0 | ||||
-rw-r--r-- | doc-src/help (renamed from doc/help) | 0 | ||||
-rw-r--r-- | doc-src/im (renamed from doc/im) | 0 | ||||
-rw-r--r-- | doc-src/openid (renamed from doc/openid) | 0 | ||||
-rw-r--r-- | doc-src/openmublog (renamed from doc/openmublog) | 0 | ||||
-rw-r--r-- | doc-src/privacy (renamed from doc/privacy) | 0 | ||||
-rw-r--r-- | doc-src/sms (renamed from doc/sms) | 0 | ||||
-rw-r--r-- | doc-src/source (renamed from doc/source) | 0 | ||||
-rw-r--r-- | doc-src/tags (renamed from doc/tags) | 0 |
13 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() diff --git a/doc/about b/doc-src/about index 3036a51b9..3036a51b9 100644 --- a/doc/about +++ b/doc-src/about diff --git a/doc/contact b/doc-src/contact index a8efc456a..a8efc456a 100644 --- a/doc/contact +++ b/doc-src/contact diff --git a/doc/groups b/doc-src/groups index 645390e0c..645390e0c 100644 --- a/doc/groups +++ b/doc-src/groups diff --git a/doc/help b/doc-src/help index a8cfccd2b..a8cfccd2b 100644 --- a/doc/help +++ b/doc-src/help diff --git a/doc/openid b/doc-src/openid index c741e3674..c741e3674 100644 --- a/doc/openid +++ b/doc-src/openid diff --git a/doc/openmublog b/doc-src/openmublog index 6e3abee42..6e3abee42 100644 --- a/doc/openmublog +++ b/doc-src/openmublog diff --git a/doc/privacy b/doc-src/privacy index 90c7b3c7f..90c7b3c7f 100644 --- a/doc/privacy +++ b/doc-src/privacy diff --git a/doc/source b/doc-src/source index 83debbe53..83debbe53 100644 --- a/doc/source +++ b/doc-src/source diff --git a/doc/tags b/doc-src/tags index 2ed352e70..2ed352e70 100644 --- a/doc/tags +++ b/doc-src/tags |