1
0
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:
MikeyGMT
2016-12-30 21:39:45 +00:00
parent 340e2ed732
commit ef7962481c
5 changed files with 44 additions and 51 deletions

View File

@@ -470,7 +470,7 @@ class faq
{
$sc->setVars($rw);
$text .= $tp->parseTemplate($FAQ_LIST_LOOP, true);
$caption = "&nbsp;Category: <b>".$rw['faq_info_title']."</b>";
$caption = "&nbsp;".LAN_CATEGORY.": <b>".$rw['faq_info_title']."</b>";
}
$text .= $tp->parseTemplate($FAQ_LIST_END, true);
@@ -617,7 +617,7 @@ class faq
&nbsp;&nbsp;[&nbsp;<a href='".faqs.php?main."'>".LAN_FAQS_BACK_TO_CATEGORIES."</a>&nbsp;]&nbsp;&nbsp;";
if(check_class($faqpref['add_faq'])){
$text_menu .="[&nbsp;<a href='".faqs.php?new.$id."'>".LAN_FAQS_SUBMIT_A_QUESTION."</a>&nbsp;]";
$text_menu .="[&nbsp;<a href='".faqs.php?new.$id."'>".LAN_FAQS_ASK_A_QUESTION."</a>&nbsp;]";
}
$text_menu .="</div>";