diff options
| author | Christian Fowler <spider@viovio.com> | 2007-05-20 19:45:06 +0000 |
|---|---|---|
| committer | Christian Fowler <spider@viovio.com> | 2007-05-20 19:45:06 +0000 |
| commit | cd1794b35e8d6e8296875e8d2376718e26e5109f (patch) | |
| tree | 6b9d83286bbfb1716c4e3a565a40a9d562ca1979 /modules | |
| parent | bb3dff73c48c59a98ee1bf334012ac36a6ce597f (diff) | |
| download | liberty-cd1794b35e8d6e8296875e8d2376718e26e5109f.tar.gz liberty-cd1794b35e8d6e8296875e8d2376718e26e5109f.tar.bz2 liberty-cd1794b35e8d6e8296875e8d2376718e26e5109f.zip | |
migrate to new ajax-ified structure editing. work in progress, currently uses ThickBox, will likely remove. checkout beware\!
Diffstat (limited to 'modules')
| -rw-r--r-- | modules/mod_structure_toc.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/mod_structure_toc.php b/modules/mod_structure_toc.php index 3f36042..f109a62 100644 --- a/modules/mod_structure_toc.php +++ b/modules/mod_structure_toc.php @@ -1,5 +1,5 @@ <?php -// $Header: /cvsroot/bitweaver/_bit_liberty/modules/mod_structure_toc.php,v 1.4 2006/12/23 18:55:44 squareing Exp $ +// $Header: /cvsroot/bitweaver/_bit_liberty/modules/mod_structure_toc.php,v 1.5 2007/05/20 19:45:06 spiderr Exp $ /** * Params: * @package liberty @@ -11,7 +11,9 @@ if( is_object( $gContent ) && ( empty( $gStructure ) || !$gStructure->isValid() $structures = $gContent->getStructures(); // We take the first structure. not good, but works for now - spiderr if( !empty( $structures[0] ) ) { + require_once( LIBERTY_PKG_PATH.'LibertyStructure.php' ); $struct = new LibertyStructure( $structures[0]['structure_id'] ); + $struct->load(); } } else { $struct = &$gStructure; |
