mirror of
https://github.com/e107inc/e107.git
synced 2025-08-12 01:25:01 +02:00
Text to LANS #6 - More FAQ
Text to LANS #6 - More FAQ Still more to do. Added new Pref tab to split FAQ and Category Add/Edit/Delete
This commit is contained in:
@@ -470,7 +470,7 @@ class faq
|
||||
{
|
||||
$sc->setVars($rw);
|
||||
$text .= $tp->parseTemplate($FAQ_LIST_LOOP, true);
|
||||
$caption = " Category: <b>".$rw['faq_info_title']."</b>";
|
||||
$caption = " ".LAN_CATEGORY.": <b>".$rw['faq_info_title']."</b>";
|
||||
}
|
||||
|
||||
$text .= $tp->parseTemplate($FAQ_LIST_END, true);
|
||||
@@ -617,7 +617,7 @@ class faq
|
||||
[ <a href='".faqs.php?main."'>".LAN_FAQS_BACK_TO_CATEGORIES."</a> ] ";
|
||||
|
||||
if(check_class($faqpref['add_faq'])){
|
||||
$text_menu .="[ <a href='".faqs.php?new.$id."'>".LAN_FAQS_SUBMIT_A_QUESTION."</a> ]";
|
||||
$text_menu .="[ <a href='".faqs.php?new.$id."'>".LAN_FAQS_ASK_A_QUESTION."</a> ]";
|
||||
}
|
||||
$text_menu .="</div>";
|
||||
|
||||
|
Reference in New Issue
Block a user