public function isActionButtonActive($actionwanted)
	{
		$active = 0;
		$pathArrayConfig = '';
		 
		switch ($actionwanted)
		{
			case 'save' : 		$pathArrayConfig = 'meliscms_page_action_save';
			break;
			case 'delete' : 	$pathArrayConfig = 'meliscms_page_action_delete';
			break;
			case 'publish' : 	$pathArrayConfig = 'meliscms_page_action_publishunpublish';
			break;
			case 'unpublish' : 	$pathArrayConfig = 'meliscms_page_action_publishunpublish';
			break;
		}
		
		$melisAppConfig = $this->getServiceLocator()->get('MelisCoreConfig');
		$melisKeys = $melisAppConfig->getMelisKeys();
		 
		$melisCoreAuth = $this->getServiceLocator()->get('MelisCoreAuth');
		$xmlRights = $melisCoreAuth->getAuthRights();

		$melisCoreRights = $this->getServiceLocator()->get('MelisCoreRights');
		
		if (!empty($melisKeys[$pathArrayConfig]))
		{
			$isAccessible = $melisCoreRights->isAccessible($xmlRights, MelisCoreRightsService::MELISCORE_PREFIX_INTERFACE, $melisKeys[$pathArrayConfig]);
			if ($isAccessible)
				$active = 1;
		}
		 
		return $active;
	}