Changeset 4685
- Timestamp:
- 07/13/08 02:05:08 (5 months ago)
- Location:
- branches/1.0/tools/docs
- Files:
-
- 2 modified
-
index.php (modified) (2 diffs)
-
templates/index.tpl.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
branches/1.0/tools/docs/index.php
r4675 r4685 163 163 $toc = $cache->fetch('toc'); 164 164 165 $what = isset($what) ? $what:'manual'; 166 165 167 // If table of contents was not cached, parse it from documentation files 166 168 if ( ! $toc instanceof Sensei_Doc_Toc) { 167 $toc = new Sensei_Doc_Toc(dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR . 'docs' . DIRECTORY_SEPARATOR . 'manual'. DIRECTORY_SEPARATOR . 'en.txt');169 $toc = new Sensei_Doc_Toc(dirname(dirname(dirname(__FILE__))) . DIRECTORY_SEPARATOR . 'docs' . DIRECTORY_SEPARATOR . $what . DIRECTORY_SEPARATOR . 'en.txt'); 168 170 $cache->save($toc, 'toc'); 169 171 } … … 191 193 192 194 $renderer->setOptions(array( 193 'title' => 'Doctrine Manual',195 'title' => 'Doctrine ' . ucwords($what), 194 196 'author' => 'Konsta Vesterinen', 195 197 'version' => 'Rev. ' . $revision, -
branches/1.0/tools/docs/templates/index.tpl.php
r2308 r4685 16 16 17 17 <div id="wrap"> 18 19 <ul> 20 <li><a href="index.php">Manual</a></li> 21 <li><a href="cookbook.php">Cookbook</a></li> 22 </ul> 18 23 19 24 <div id="content">