From cd1794b35e8d6e8296875e8d2376718e26e5109f Mon Sep 17 00:00:00 2001 From: Christian Fowler Date: Sun, 20 May 2007 19:45:06 +0000 Subject: migrate to new ajax-ified structure editing. work in progress, currently uses ThickBox, will likely remove. checkout beware\! --- modules/mod_structure_toc.php | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'modules') 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 @@ 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; -- cgit v1.3