1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-13 18:14:26 +02:00

Featurebox tabbed content support added (new core 'tabs' template)

This commit is contained in:
secretr
2009-12-12 16:35:46 +00:00
parent c6ade9d33a
commit e7410e2440
6 changed files with 131 additions and 130 deletions

View File

@@ -9,9 +9,9 @@
* Featurebox Item model
*
* $Source: /cvs_backup/e107_0.8/e107_plugins/featurebox/includes/item.php,v $
* $Revision: 1.7 $
* $Date: 2009-12-12 10:30:33 $
* $Author: e107coders $
* $Revision: 1.8 $
* $Date: 2009-12-12 16:35:46 $
* $Author: secretr $
*
*/
@@ -87,10 +87,6 @@ class plugin_featurebox_item extends e_model
$src = $tp->replaceConstants($this->get('fb_image'), 'full');
//FIXME - doesn't display anything that uses {e_MEDIA} in the path.
if(isset($parm['src']))
{
return $src;
@@ -166,7 +162,7 @@ class plugin_featurebox_item extends e_model
*/
public function setCategory($category)
{
$this->_category = $category;
$this->_category = $category;
return $this;
}
@@ -192,7 +188,7 @@ class plugin_featurebox_item extends e_model
*/
public function __call($method, $arguments)
{
if (strpos($method, "sc_featurebox_category_") === 0)
if (strpos($method, "sc_featurebox_") === 0)
{
return call_user_func_array(array($this->getCategory(), $method), $arguments);
}