Exemple #1
0
 function getFnrTopicAction()
 {
     @($id = DevblocksPlatform::importGPC($_REQUEST['id'], 'integer', 0));
     $tpl = DevblocksPlatform::getTemplateService();
     $tpl_path = dirname(dirname(__FILE__)) . '/templates/';
     $tpl->assign('path', $tpl_path);
     $tpl->cache_lifetime = "0";
     if (!empty($id) && null != ($fnr_topic = DAO_FnrTopic::get($id))) {
         $tpl->assign('fnr_topic', $fnr_topic);
     }
     $tpl->display('file:' . $tpl_path . 'config/edit_fnr_topic.tpl');
 }