Changeset 1665 for trunk/vendor/Sensei

Show
Ignore:
Timestamp:
06/13/07 22:30:32 (19 months ago)
Author:
jepso
Message:

* Converted most of the docs to the new format.
* Fixed a few layout bugs in new documentation
* Fixed documentation table of contents indentation bug in IE6 (fixes #344)
* Fixed a parser bug in Sensei_Doc_Section
* Restructrured a bit some files of the documentation.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/vendor/Sensei/Sensei/Doc/Section.php

    r1651 r1665  
    373373            // Let's assume that the text is defined in another file. 
    374374            if (!$current->isRoot() && $current->_text === '') { 
    375                              
    376                 $otherFilename = $current->getPath() . '.php'; 
    377                              
     375 
     376                $otherFilename = $current->getPath(false, DIRECTORY_SEPARATOR) . '.txt'; 
     377                                             
    378378                if (($filename !== $otherFilename) 
    379379                 && (file_exists($path . DIRECTORY_SEPARATOR . $otherFilename))) {