summaryrefslogtreecommitdiff
path: root/LibertyStructure.php
diff options
context:
space:
mode:
authorMax Kremmel <xing@synapse.plus.com>2005-08-01 18:41:07 +0000
committerMax Kremmel <xing@synapse.plus.com>2005-08-01 18:41:07 +0000
commitee3fd1e1d304664c64c5e6f34a28561374fbab58 (patch)
tree234b264cb1acd9da1ba654942e465866cd329cf7 /LibertyStructure.php
parent58db6b4a6f61527b78374143035ad0420e933b61 (diff)
downloadliberty-ee3fd1e1d304664c64c5e6f34a28561374fbab58.tar.gz
liberty-ee3fd1e1d304664c64c5e6f34a28561374fbab58.tar.bz2
liberty-ee3fd1e1d304664c64c5e6f34a28561374fbab58.zip
merge recent changes with HEAD - R1 and HEAD are identical now
Diffstat (limited to 'LibertyStructure.php')
-rwxr-xr-xLibertyStructure.php20
1 files changed, 10 insertions, 10 deletions
diff --git a/LibertyStructure.php b/LibertyStructure.php
index 9b9bc51..c7fb358 100755
--- a/LibertyStructure.php
+++ b/LibertyStructure.php
@@ -3,7 +3,7 @@
* Management of Liberty Content
*
* @author spider <spider@steelsun.com>
- * @version $Revision: 1.3 $
+ * @version $Revision: 1.4 $
* @package Liberty
*/
@@ -16,7 +16,7 @@ require_once( LIBERTY_PKG_PATH.'LibertyBase.php' );
* System class for handling the liberty package
*
* @author spider <spider@steelsun.com>
-* @version $Revision: 1.3 $
+* @version $Revision: 1.4 $
* @package Liberty
* @subpackage LibertyStructure
*/
@@ -580,22 +580,22 @@ class LibertyStructure extends LibertyBase {
}
function fetch_toc($structure_tree,$showdesc,$numbering) {
- global $smarty;
+ global $gBitSmarty;
$ret='';
if ($structure_tree != '') {
- $smarty->verifyCompileDir();
- $ret.=$smarty->fetch( "bitpackage:wiki/book_toc_startul.tpl");
+ $gBitSmarty->verifyCompileDir();
+ $ret.=$gBitSmarty->fetch( "bitpackage:wiki/book_toc_startul.tpl");
foreach($structure_tree as $leaf) {
//echo "<br />";print_r($leaf);echo "<br />";
- $smarty->assign_by_ref('structure_tree',$leaf);
- $smarty->assign('showdesc',$showdesc);
- $smarty->assign('numbering',$numbering);
- $ret.=$smarty->fetch( "bitpackage:wiki/book_toc_leaf.tpl");
+ $gBitSmarty->assign_by_ref('structure_tree',$leaf);
+ $gBitSmarty->assign('showdesc',$showdesc);
+ $gBitSmarty->assign('numbering',$numbering);
+ $ret.=$gBitSmarty->fetch( "bitpackage:wiki/book_toc_leaf.tpl");
if(isset($leaf["sub"]) && is_array($leaf["sub"])) {
$ret.=$this->fetch_toc($leaf["sub"],$showdesc,$numbering);
}
}
- $ret.=$smarty->fetch( "bitpackage:wiki/book_toc_endul.tpl");
+ $ret.=$gBitSmarty->fetch( "bitpackage:wiki/book_toc_endul.tpl");
}
return $ret;
}