1
0
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:
Cameron
2013-12-19 22:45:09 -08:00
parent 7874cd1060
commit 62509f09fb
7 changed files with 69 additions and 11 deletions

View File

@@ -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;
}
/**