mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 17:14:42 +02:00
Issue #435 - More Bootstrap 3 tweaks
This commit is contained in:
@@ -186,10 +186,12 @@ class plugin_featurebox_item extends e_model
|
||||
|
||||
/**
|
||||
* Item counter number (starting from 1)
|
||||
* @param optional - to strat from 0 if needed. (bootstrap 3)
|
||||
*/
|
||||
public function sc_featurebox_counter()
|
||||
{
|
||||
return $this->getParam('counter', 1);
|
||||
public function sc_featurebox_counter($parm=1)
|
||||
{
|
||||
$count = $this->getParam('counter', 1);
|
||||
return ($oarm == 0) ? $count - 1 : $count;
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user