コード例 #1
0
ファイル: functions.php プロジェクト: kornelek/lms
 function module_setup()
 {
     global $SMARTY, $LMS;
     $questions = fetch_questions(0);
     $treefile = ConfigHelper::getConfig('directories.userpanel_dir') . '/modules/help/templates/tree.html';
     $SMARTY->assign('tree', $questions);
     $SMARTY->assign('treefile', $treefile);
     $SMARTY->display('module:help:setup.html');
 }
コード例 #2
0
ファイル: functions.php プロジェクト: repcio/lms
 function module_setup()
 {
     global $SMARTY, $LMS;
     $questions = fetch_questions(0);
     $treefile = $LMS->CONFIG['directories']['userpanel_dir'] . '/modules/help/templates/tree.html';
     $SMARTY->assign('tree', $questions);
     $SMARTY->assign('treefile', $treefile);
     $SMARTY->display('module:help:setup.html');
 }