/**
  * Headlines constructor
  * 
  * @param string $pageContent Template content
  */
 function __construct($pageContent)
 {
     parent::__construct('.');
     parent::getSettings();
     $this->pageContent = $pageContent;
     \Cx\Core\Csrf\Controller\Csrf::add_placeholder($this->_objTpl);
 }
 /**
  * Constructor   -> Create the module-menu and an internal template-object
  * @global array  $_ARRAYLANG
  * @global object $objTemplate
  */
 function __construct()
 {
     global $_ARRAYLANG, $objTemplate;
     parent::__construct(ASCMS_MODULE_PATH . '/' . $this->moduleName . '/View/Template/Backend');
     $this->act = $_REQUEST['act'];
     $contentNavigation = '<a href="index.php?cmd=' . $this->moduleName . '" class="' . ($this->act == '' ? 'active' : '') . '">' . $_ARRAYLANG['TXT_CALENDAR_MENU_OVERVIEW'] . ' </a>';
     $contentNavigation .= \Permission::checkAccess(180, 'static', true) ? '<a href="index.php?cmd=' . $this->moduleName . '&amp;act=modify_event" class="' . ($this->act == 'modify_event' ? 'active' : '') . '">' . $_ARRAYLANG['TXT_CALENDAR_NEW_EVENT'] . ' </a>' : '';
     $contentNavigation .= \Permission::checkAccess(165, 'static', true) ? '<a href="index.php?cmd=' . $this->moduleName . '&amp;act=categories" class="' . ($this->act == 'categories' ? 'active' : '') . '">' . $_ARRAYLANG['TXT_CALENDAR_CATEGORIES'] . ' </a>' : '';
     $contentNavigation .= \Permission::checkAccess(181, 'static', true) ? '<a href="index.php?cmd=' . $this->moduleName . '&amp;act=settings" class="' . ($this->act == 'settings' ? 'active' : '') . '">' . $_ARRAYLANG['TXT_CALENDAR_MENU_SETTINGS'] . ' </a>' : '';
     $objTemplate->setVariable("CONTENT_NAVIGATION", $contentNavigation);
 }