{@ $first_page_content = $first_page_content==='empty'?'':$first_page_content} {@ $tmp = $tpl_path; $cmWidget = &getModel('widget'); $widget_list = $cmWidget->getDownloadedWidgetList(); $ccWidget = &getController('widget'); $first_page_content = $ccWidget->transWidgetCode($first_page_content, true); $tpl_path = $tmp; }