1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-06 22:57:14 +02:00

FAQs language fixes for frontend.

This commit is contained in:
Cameron
2015-06-08 00:45:21 -07:00
parent 8b49ee7ba6
commit 0d3a6f6f4c
4 changed files with 14 additions and 3 deletions

View File

@@ -258,6 +258,12 @@ class faqs_shortcodes extends e_shortcode
$faqpref = e107::pref('faqs');
if(empty($faqpref['submit_question_language']) && e107::getPref('sitelanguage') != e_LANGUAGE)
{
return false;
}
if(!empty($parms['expand']))
{
$hide = 'e-hideme';