fix BackenModule
This commit is contained in:
		| @@ -30,7 +30,7 @@ | ||||
|  | ||||
| namespace cgoIT\rateit; | ||||
|  | ||||
| class rateitBackendModule extends \BackendModule | ||||
| class RateItBackendModule extends \BackendModule | ||||
| { | ||||
| 	protected $strTemplate; | ||||
| 	protected $actions = array(); | ||||
| @@ -63,6 +63,8 @@ class rateitBackendModule extends \BackendModule | ||||
| 	public function __construct($objElement=array()) { | ||||
| 		parent::__construct($objElement); | ||||
|  | ||||
| 		asdlkfj | ||||
|  | ||||
| 		$this->label = $GLOBALS['TL_CONFIG']['rating_type'] == 'hearts' ? $GLOBALS['TL_LANG']['rateit']['heart'] : $GLOBALS['TL_LANG']['rateit']['star']; | ||||
| 		$this->labels = $GLOBALS['TL_CONFIG']['rating_type'] == 'hearts' ? $GLOBALS['TL_LANG']['rateit']['hearts'] : $GLOBALS['TL_LANG']['rateit']['stars']; | ||||
|  | ||||
|   | ||||
| @@ -43,7 +43,10 @@ $GLOBALS['TL_HOOKS']['parseTemplate'][]          = array('cgoIT\rateit\RateItArt | ||||
|  */ | ||||
| array_insert($GLOBALS['BE_MOD']['content'], -1, | ||||
| 	array('rateit' => array ( | ||||
| 		'callback'   => 'cgoIT\rateit\RateItBackendModule' | ||||
| 		'callback'   => 'cgoIT\rateit\RateItBackendModule', | ||||
|     'icon'       => RateItBackend::image('icon'), | ||||
| 		'stylesheet' => RateItBackend::css('backend'), | ||||
| 		'javascript' => RateItBackend::js('RateItBackend') | ||||
| 	) | ||||
| )); | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user