var['faq_id'];
$text = "".$tp->toHtml($this->var['faq_question'])."
".$tp->toHTML($this->var['faq_answer'],TRUE)."
";
}
else
{
$text = $tp->toHtml($this->var['faq_question']);
}
return $text;
}
function sc_faq_question_link($parm='')
{
$tp = e107::getParser();
return "var['faq_id']."' >".$tp -> toHtml($this->var['faq_question'])."";
}
function sc_faq_answer()
{
$tp = e107::getParser();
return "".$tp -> toHtml($this->var['faq_answer'])."
";
}
function sc_faq_edit()
{
$tp = e107::getParser();
$faqpref = e107::getPlugConfig('faqs')->getPref();
if(($faqpref['add_faq'] && $this->var['faq_author'] == USERID) || ADMIN )
{
return "[ var['faq_id']."'>Edit ]";
}
}
function sc_faq_category()
{
$tp = e107::getParser();
return "".$tp->toHtml($this->var['faq_info_title'])."";
}
function sc_faq_catlink()
{
$tp = e107::getParser();
return "".($this->var['faq_info_title'] ? $tp -> toHtml($this->var['faq_info_title']) : "[".NWSLAN_42."]")."";
}
function sc_faq_count()
{
$tp = e107::getParser();
return $this->var['f_count'];
}
function sc_faq_cat_diz()
{
$tp = e107::getParser();
return $tp->toHtml($this->var['faq_info_about'])." ";
}
function sc_faq_icon()
{
return "
";
}
function sc_faq_submit_question()
{
$faqpref = e107::getPlugConfig('faqs')->getPref();
$frm = e107::getForm();
if (check_class($faqpref['add_faq']))
{
$text = "
";
return $text;
}
}
function sc_faq_search()
{
$tp = e107::getParser();
return "
".$tp->parseTemplate("{SEARCH=faqs}")."
";
}
}
?>