mirror of
https://github.com/e107inc/e107.git
synced 2025-08-06 22:57:14 +02:00
Featurebox work and other fixes
This commit is contained in:
@@ -148,6 +148,19 @@ class plugin_featurebox_item extends e_model
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Returns 'active' for the first-slide. - often used by Bootstrap.
|
||||
*/
|
||||
public function sc_featurebox_active()
|
||||
{
|
||||
$count = $this->getParam('counter', 1);
|
||||
return ($count == 1) ? "active" : "";
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* Item counter number (starting from 1)
|
||||
|
Reference in New Issue
Block a user