9 $this->mRoot->mDelegateManager->add(
'Legacy_RenderSystem.SetupXoopsTpl', array( &$this ,
'hook' ) ) ;
12 function hook( &$xoopsTpl )
14 $root =& $this->mController->mRoot ;
15 $context =& $root->getContext();
16 $xoopsModule =& $context->mXoopsModule;
18 @include XOOPS_ROOT_PATH.
'/modules/'.$xoopsModule->get(
'dirname').
'/mytrustdirname.php' ;
19 if( ! empty( $mytrustdirname ) ) {
20 $xoopsTpl->assign(
'mytrustdirname' , $mytrustdirname ) ;