mirror of
https://github.com/e107inc/e107.git
synced 2025-04-21 21:21:54 +02:00
{FAQ_HIDE} added for manual collapse/expand management via template.
This commit is contained in:
parent
d02ede9750
commit
c3b3b0077c
@ -57,6 +57,16 @@ class faqs_shortcodes extends e_shortcode
|
||||
{
|
||||
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='')
|
||||
|
Loading…
x
Reference in New Issue
Block a user