mirror of
https://github.com/e107inc/e107.git
synced 2025-08-02 12:48:26 +02:00
{FAQ_HIDE} added for manual collapse/expand management via template.
This commit is contained in:
@@ -58,6 +58,16 @@ class faqs_shortcodes extends e_shortcode
|
|||||||
return $this->counter;
|
return $this->counter;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function sc_faq_hide($parm=null)
|
||||||
|
{
|
||||||
|
if(empty($parm))
|
||||||
|
{
|
||||||
|
$parm = 'collapse';
|
||||||
|
}
|
||||||
|
|
||||||
|
return ($this->item != $this->var['faq_id']) ? $parm : '';
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
function sc_faq_question($parm='')
|
function sc_faq_question($parm='')
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user