mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 22:57:14 +02:00
FAQs frontend LANS renamed to match specifications. Filter alert removed and replaced with Filter in breadcrumb.
This commit is contained in:
@@ -90,7 +90,7 @@ class faqs_shortcodes extends e_shortcode
|
||||
|
||||
if(vartrue($params['tags']) && $this->var['faq_tags'])
|
||||
{
|
||||
$text .= "<div class='faq-tags'>".LAN_FAQS_TAGS.": ".$this->sc_faq_tags()."</div>";
|
||||
$text .= "<div class='faq-tags'>".LAN_FAQS_001.": ".$this->sc_faq_tags()."</div>";
|
||||
}
|
||||
|
||||
if($this->datestamp == true)
|
||||
@@ -297,8 +297,8 @@ class faqs_shortcodes extends e_shortcode
|
||||
{
|
||||
$text .= $frm->open('faq-ask-question','post');
|
||||
//TODO LAN ie. [x] character limit.
|
||||
$text .= "<div>".$frm->textarea('ask_a_question','',3, 80 ,array('maxlength'=>$this->questionCharLimit, 'size'=>'xxlarge','placeholder'=>LAN_FAQS_ENTER_A_QUESTION_HERE, 'wrap'=>'soft'))."
|
||||
<div class='faq-char-limit'><small>".$this->questionCharLimit." ".LAN_FAQS_CHAR_LIMIT."</small></div>".$frm->submit('submit_a_question',LAN_SUBMIT)."</div>";
|
||||
$text .= "<div>".$frm->textarea('ask_a_question','',3, 80 ,array('maxlength' =>$this->questionCharLimit, 'size' =>'xxlarge', 'placeholder' =>LAN_FAQS_012, 'wrap' =>'soft'))."
|
||||
<div class='faq-char-limit'><small>".$this->questionCharLimit." ".LAN_FAQS_013."</small></div>".$frm->submit('submit_a_question',LAN_SUBMIT)."</div>";
|
||||
|
||||
$text .= $frm->close();
|
||||
}
|
||||
@@ -309,12 +309,12 @@ class faqs_shortcodes extends e_shortcode
|
||||
']' => "</a>"
|
||||
);
|
||||
|
||||
$text .= str_replace(array_keys($srp), array_values($srp), LAN_FAQS_PLEASE_REGISTER);
|
||||
$text .= str_replace(array_keys($srp), array_values($srp), LAN_FAQS_014);
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
$text .= LAN_FAQS_NOT_PERMITTED;
|
||||
$text .= LAN_FAQS_015;
|
||||
}
|
||||
|
||||
$text .= "</div>";
|
||||
@@ -341,7 +341,7 @@ class faqs_shortcodes extends e_shortcode
|
||||
{
|
||||
|
||||
$text = "<div class='alert alert-warning alert-block faq-submit-question-list'>";
|
||||
$text .= "<h4>".LAN_FAQS_YOUR_REQUESTED_FAQS."</h4>";
|
||||
$text .= "<h4>".LAN_FAQS_016."</h4>";
|
||||
$text .= "<ul>";
|
||||
|
||||
foreach($list as $row)
|
||||
@@ -388,6 +388,11 @@ class faqs_shortcodes extends e_shortcode
|
||||
$array = array();
|
||||
// $array[0] = array('url'=> e_REQUEST_SELF, 'text'=>LAN_PLUGIN_FAQS_NAME);
|
||||
$array[0] = array('url'=> e107::url('faqs','index'), 'text'=>LAN_PLUGIN_FAQS_NAME);
|
||||
|
||||
if(!empty($_GET['srch']))
|
||||
{
|
||||
$array[1] = array('url'=> null, 'text'=>LAN_FAQS_002 .": ".e107::getParser()->filter($_GET['srch'], 'w'));
|
||||
}
|
||||
|
||||
return e107::getForm()->breadcrumb($array);
|
||||
|
||||
|
Reference in New Issue
Block a user