Ejemplo n.º 1
0
 /**
  * Adds items to the ->MOD_MENU array. Used for the function menu selector.
  *
  * @return	void
  */
 public function menuConfig()
 {
     $this->MOD_MENU = array('mode' => array());
     $this->MOD_MENU['mode']['information'] = $GLOBALS['LANG']->sL('LLL:EXT:taskcenter/locallang.xml:task_overview');
     $this->MOD_MENU['mode']['tasks'] = 'Tasks';
     parent::menuConfig();
 }
Ejemplo n.º 2
0
 /**
  * Adds items to the ->MOD_MENU array. Used for the function menu selector.
  *
  * @return void
  */
 public function menuConfig()
 {
     /* @var $LANG language */
     global $LANG;
     $this->MOD_MENU = array('function' => array('1' => $LANG->getLL('module.admin.function1'), '2' => $LANG->getLL('module.admin.function2'), '3' => $LANG->getLL('module.admin.function3'), '4' => $LANG->getLL('module.admin.function4')));
     parent::menuConfig();
 }
Ejemplo n.º 3
0
 /**
  * Adds items to the ->MOD_MENU array. Used for the function menu selector.
  *
  * @return	void
  */
 function menuConfig()
 {
     global $LANG;
     $this->MOD_MENU = array('function' => array('1' => $LANG->getLL('display')));
     if ($GLOBALS['BE_USER']->user['admin']) {
         $this->MOD_MENU['function']['2'] = $LANG->getLL('rebuild');
     }
     parent::menuConfig();
 }
Ejemplo n.º 4
0
				/**
				 * Adds items to the ->MOD_MENU array. Used for the function menu selector.
				 *
				 * @return	void
				 */
				function menuConfig()	{
					global $LANG;
					$this->MOD_MENU = Array (
						'function' => Array (
							'1' => $LANG->getLL('title'),
							'2' => $LANG->getLL('about'),
						)
					);
					parent::menuConfig();
				}
Ejemplo n.º 5
0
 /**
  * Builds the drop down menu to select the solr instance we want to
  * administer.
  *
  * @return	void
  */
 public function menuConfig()
 {
     $registry = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('t3lib_Registry');
     $sites = Tx_Solr_Site::getAvailableSites();
     // TODO add a menu entry on top to manage all indexes, otherwise when selecting a specific index actions will only affect that specific one
     foreach ($sites as $key => $site) {
         $this->MOD_MENU['function'][$site->getRootPageId()] = $site->getLabel();
     }
     parent::menuConfig();
 }
Ejemplo n.º 6
0
	/**
	 * Adds items to the ->MOD_MENU array. Used for the function menu selector.
	 */
	function menuConfig()	{
		global $LANG;
		$this->MOD_MENU = Array (
			"function" => Array (
				"1" => $LANG->getLL("function1"),
                                "2" => $LANG->getLL("function2"),
                                //"3" => $LANG->getLL("function3"),
			)
		);
		parent::menuConfig();
	}
Ejemplo n.º 7
0
	/**
	 * Adds items to the ->MOD_MENU array. Used for the function menu selector.
	 *
	 * @return	void
	 */
	function menuConfig()	{
		global $LANG;
		$this->MOD_MENU = Array (
		/*
			'function' => Array (
				'1' => $GLOBALS['LANG']->getLL('function1'),
				'2' => $GLOBALS['LANG']->getLL('function2'),
				'3' => $GLOBALS['LANG']->getLL('function3'),
			)
		*/
		);
		parent::menuConfig();
	}
Ejemplo n.º 8
0
 /**
  * Adds items to the ->MOD_MENU array. Used for the function menu selector.
  *
  * @return	void
  */
 function menuConfig()
 {
     global $LANG;
     if (t3lib_div::_GP('user_id')) {
         $fArray = array();
         //				'1' => $LANG->getLL('function1a'),
         //				'2' => $LANG->getLL('function2a')
         //			);
     } else {
         $fArray = array('1' => $LANG->getLL('function1'), '2' => $LANG->getLL('function2'), '3' => $LANG->getLL('function3'), '4' => $LANG->getLL('function4'), '7' => $LANG->getLL('function7'), '8' => $LANG->getLL('function8'), '9' => $LANG->getLL('function9'));
     }
     $this->MOD_MENU = array('function' => $fArray);
     parent::menuConfig();
 }
Ejemplo n.º 9
0
 /**
  * Adds items to the ->MOD_MENU array. Used for the function menu selector.
  *
  * @return	void
  */
 public function menuConfig()
 {
     $reportsMenuItems = array();
     $this->MOD_MENU = array('function' => array());
     foreach ($GLOBALS['TYPO3_CONF_VARS']['SC_OPTIONS']['reports'] as $extKey => $reports) {
         foreach ($reports as $reportName => $report) {
             $reportsMenuItems[$extKey . '.' . $reportName] = $GLOBALS['LANG']->sL($report['title']);
         }
     }
     asort($reportsMenuItems);
     $reportsMenuItems = array_merge(array('index' => $GLOBALS['LANG']->getLL('reports_overview')), $reportsMenuItems);
     foreach ($reportsMenuItems as $key => $title) {
         $this->MOD_MENU['function'][$key] = $title;
     }
     parent::menuConfig();
 }
Ejemplo n.º 10
0
 /**
  * Adds items to the ->MOD_MENU array. Used for the function menu selector.
  *
  * @return    void
  */
 function menuConfig()
 {
     global $LANG;
     $this->MOD_MENU = array('users' => array('-1' => $LANG->getLL('loggedInUsers'), '0' => $LANG->getLL('notLoggedIn'), '' => '------------------------------'), 'mode' => array('-1' => $LANG->getLL('allTime'), '1' => $LANG->getLL('byTime')));
     foreach (t3lib_BEfunc::getRecordsByField('fe_users', 1, 1) as $user) {
         $this->MOD_MENU['users'][$user['uid']] = $user['username'];
     }
     parent::menuConfig();
     $set = t3lib_div::_GP('SET');
     if ($set['time']) {
         $dateFrom = strtotime($set['time']['from']);
         $dateTo = strtotime($set['time']['to']);
         $set['time']['from'] = $dateFrom > 0 ? date('d.m.Y', $dateFrom) : '';
         $set['time']['to'] = $dateTo > 0 ? date('d.m.Y', $dateTo) : '';
         $mergedSettings = t3lib_div::array_merge($this->MOD_SETTINGS, $set);
         $GLOBALS['BE_USER']->pushModuleData($this->MCONF['name'], $mergedSettings);
         $this->MOD_SETTINGS = $mergedSettings;
     }
 }
Ejemplo n.º 11
0
 /**
  * Builds the drop down menu to select the solr instance we want to
  * administer.
  *
  * @return	void
  */
 public function menuConfig()
 {
     // find website roots
     $rootPages = $GLOBALS['TYPO3_DB']->exec_SELECTgetRows('uid, title', 'pages', 'is_siteroot = 1 AND deleted = 0');
     $pageSelect = t3lib_div::makeInstance('t3lib_pageSelect');
     // find solr configurations and add them as function menu entries
     foreach ($rootPages as $rootPage) {
         $rootLine = $pageSelect->getRootLine($rootPage['uid']);
         $tmpl = t3lib_div::makeInstance('t3lib_tsparser_ext');
         $tmpl->tt_track = false;
         // Do not log time-performance information
         $tmpl->init();
         $tmpl->runThroughTemplates($rootLine);
         // This generates the constants/config + hierarchy info for the template.
         $tmpl->generateConfig();
         list($solrSetup) = $tmpl->ext_getSetup($tmpl->setup, 'plugin.tx_solr.solr');
         if (!empty($solrSetup)) {
             $this->MOD_MENU['function'][$rootPage['uid']] = $rootPage['title'] . ' ' . '(' . $solrSetup['host'] . ':' . $solrSetup['port'] . $solrSetup['path'] . ' [pid: ' . $rootPage['uid'] . '])';
         }
     }
     parent::menuConfig();
 }
Ejemplo n.º 12
0
 /**
  * Configuration of which mod-menu items can be used
  *
  * @return	void
  */
 function menuConfig()
 {
     // MENU-ITEMS:
     $this->MOD_MENU = $this->settings->MOD_MENU;
     $globalSettings = unserialize($GLOBALS['TYPO3_CONF_VARS']['EXT']['extConf']['em']);
     if (!is_array($globalSettings)) {
         // no settings saved yet, set default values
         $globalSettings['showOldModules'] = 1;
         $globalSettings['inlineToWindow'] = 1;
         $globalSettings['displayMyExtensions'] = 0;
     }
     if ($globalSettings['showOldModules'] == 0) {
         unset($this->MOD_MENU['function']['loaded_list'], $this->MOD_MENU['function']['installed_list'], $this->MOD_MENU['function']['import'], $this->MOD_MENU['function']['translations'], $this->MOD_MENU['function']['settings']);
     }
     $this->MOD_MENU['singleDetails'] = $this->mergeExternalItems($this->MCONF['name'], 'singleDetails', $this->MOD_MENU['singleDetails']);
     $this->MOD_MENU['extensionInfo'] = $this->mergeExternalItems($this->MCONF['name'], 'singleDetails', array());
     // page/be_user TSconfig settings and blinding of menu-items
     if (!$GLOBALS['BE_USER']->getTSConfigVal('mod.' . $this->MCONF['name'] . '.allowTVlisting')) {
         unset($this->MOD_MENU['display_details'][3]);
         unset($this->MOD_MENU['display_details'][4]);
         unset($this->MOD_MENU['display_details'][5]);
     }
     // CLEANSE SETTINGS
     $this->MOD_SETTINGS = t3lib_BEfunc::getModuleData($this->MOD_MENU, t3lib_div::_GP('SET'), $this->MCONF['name']);
     if ($this->MOD_SETTINGS['function'] == 2) {
         // If listing from online repository, certain items are removed though:
         unset($this->MOD_MENU['listOrder']['type']);
         unset($this->MOD_MENU['display_details'][2]);
         unset($this->MOD_MENU['display_details'][3]);
         unset($this->MOD_MENU['display_details'][4]);
         unset($this->MOD_MENU['display_details'][5]);
         $this->MOD_SETTINGS = t3lib_BEfunc::getModuleData($this->MOD_MENU, t3lib_div::_GP('SET'), $this->MCONF['name']);
     }
     $this->settings->saveSettings($this->MOD_SETTINGS);
     parent::menuConfig();
     $this->settings->saveSettings($this->MOD_SETTINGS);
 }
Ejemplo n.º 13
0
 /**
  * Adds items to the ->MOD_MENU array. Used for the function menu selector.
  *
  * @return	void
  */
 function menuConfig()
 {
     $this->MOD_MENU = array('displayMode' => array('explode' => 'Mode: Exploded Visual', 'source' => 'Mode: HTML Source '), 'showDSxml' => '');
     parent::menuConfig();
 }
Ejemplo n.º 14
0
 /**
  * Adds items to the ->MOD_MENU array. Used for the function menu selector.
  *
  * @return	void
  */
 function menuConfig()
 {
     global $LANG;
     $this->MOD_MENU = array_merge($this->MOD_MENU, array('tx_dam_select' => '', 'tx_dam_select_undo' => '', 'tx_dam_folder' => '', 'tx_dam_select_storedSettings' => '', 'tx_damindex_indexSetup' => '', 'tx_damindex_storedSettings' => '', 'tx_dam_resultPointer' => '', 'tx_dam_file_uploadFields' => array(5 => '5', 10 => '10', 15 => '15'), 'tx_dam_file_upload_overwrite' => '', 'tx_dam_resultsPerPage' => array(20 => '20', 50 => '50', 100 => '100', 200 => '200'), 'tx_dam_list_langSelector' => '', 'tx_dam_list_langOverlay' => array('exclusive' => $LANG->sL('LLL:EXT:dam/lib/locallang.xml:langCurrentExclusive'), 'andUntranslated' => $LANG->sL('LLL:EXT:dam/lib/locallang.xml:langCurrentAndDefault'))));
     parent::menuConfig();
 }
Ejemplo n.º 15
0
 /**
  * Adds items to the ->MOD_MENU array. Used for the function menu selector.
  *
  * @return    void
  */
 public function menuConfig()
 {
     $this->MOD_MENU = array('function' => array('1' => $GLOBALS['LANG']->getLL('function1')));
     parent::menuConfig();
 }
Ejemplo n.º 16
0
 /**
  * Adds items to the ->MOD_MENU array. Used for the function menu selector.
  *
  * @return	void
  */
 function menuConfig()
 {
     global $LANG;
     $this->loadExtConf();
     $this->MOD_MENU = array('action' => array('' => $LANG->getLL('general.action.blank.title'), 'link' => $LANG->getLL('general.action.edit.link.title'), 'inlineEdit' => $LANG->getLL('general.action.edit.inline.title'), 'export_excel' => $LANG->getLL('general.action.export.excel.title'), 'export_xml' => $LANG->getLL('general.action.export.xml.title')), 'lang' => array(), 'onlyChangedContent' => '', 'noHidden' => '');
     // Load system languages into menu:
     /** @var $t8Tools t3lib_transl8tools */
     $t8Tools = t3lib_div::makeInstance('t3lib_transl8tools');
     $sysL = $t8Tools->getSystemLanguages();
     foreach ($sysL as $sL) {
         if ($sL['uid'] > 0 && $GLOBALS['BE_USER']->checkLanguageAccess($sL['uid'])) {
             if ($this->lConf['enable_hidden_languages'] == 1) {
                 $this->MOD_MENU['lang'][$sL['uid']] = $sL['title'];
             } elseif ($sL['hidden'] == 0) {
                 $this->MOD_MENU['lang'][$sL['uid']] = $sL['title'];
             }
         }
     }
     parent::menuConfig();
 }
Ejemplo n.º 17
0
 /**
  * adds items to the MOD_MENU array. Used for the editConst-List
  *
  * @param array language data
  * @param string name of default entry
  * @return void
  */
 private function menuConstList($langData, $default)
 {
     // generate constant list
     $constList = array();
     $languages = tx_lfeditor_mod1_functions::buildLangArray();
     foreach ($languages as $language) {
         if (!is_array($langData[$language])) {
             continue;
         }
         $constants = array_keys($langData[$language]);
         foreach ($constants as $constant) {
             $constList[str_replace('#', '$*-*$', $constant)] = $constant;
         }
     }
     // sorting and default entry
     asort($constList);
     $constList = array_merge(array('###default###' => $default), $constList);
     $this->MOD_MENU = array('constList' => $constList);
     parent::menuConfig();
 }
Ejemplo n.º 18
0
 /**
  * Adds items to the ->MOD_MENU array. Used for the function menu selector.
  *
  * @return  void
  */
 function menuConfig()
 {
     global $LANG;
     parent::menuConfig();
 }
Ejemplo n.º 19
0
 /**
  * Adds items to the ->MOD_MENU array. Used for the function menu selector.
  *
  * @return	void
  */
 function menuConfig()
 {
     global $LANG, $BE_USER;
     $beGroups = explode(',', $BE_USER->user['usergroup']);
     if ($BE_USER->user['admin']) {
         $this->MOD_MENU = array('function' => array('1a' => 'Personendaten Backend', '1b' => 'Personendaten Frontend', '1c' => 'Backendbenutzer anlegen (Studi)', '2' => 'Seitenbaum-Aktionen', '3' => 'Bearbeiter anzeigen', '4' => 'Lesezeichen', '7' => 'LSF-Test', '8' => 'Logfile-Suche', '10' => 'Alias-Verwaltung', '11' => 'Portal-Funktionen', '12' => 'SOLR-Funktionen', '101' => 'Importiere QSM-Daten', '102' => 'Veranstaltungen (Buchungen)', '103' => 'Export Zetschriftenliste', '104' => 'Importiere Umfrage', '105' => 'Exportiere Redakteure', '106' => 'Exportiere SeitenRedakteure (nach Seiten sortiert)', '107' => 'QR-Codes', '999' => 'Testfunktion'));
     }
     if (strpos($BE_USER->groupData['tables_modify'], 'tx_hetools_veranstaltungen') !== FALSE) {
         $this->MOD_MENU['function']['102'] = 'Veranstaltungen (Buchungen)';
     }
     if (in_array('174', $beGroups)) {
         $this->MOD_MENU['function']['106'] = 'QR-Codes';
     }
     parent::menuConfig();
 }
Ejemplo n.º 20
0
 /**
  * Adds items to the ->MOD_MENU array. Used for the function menu selector.
  *
  * @return	void
  */
 function menuConfig()
 {
     // Load the list of values that can be used as filters (filters are used only when all entries are being displayed)
     $this->getLogFilters();
     $this->MOD_MENU = array('function' => array('showlog' => $GLOBALS['LANG']->getLL('showlog'), 'cleanup' => $GLOBALS['LANG']->getLL('cleanup')), 'logrun' => array('1000' => $GLOBALS['LANG']->getLL('latest_run'), '25' => $GLOBALS['LANG']->getLL('latest_25'), '50' => $GLOBALS['LANG']->getLL('latest_50'), '100' => $GLOBALS['LANG']->getLL('latest_100'), '-1' => $GLOBALS['LANG']->getLL('all_entries')), 'autorefresh' => 0, 'page' => 0, 'expandAllExtraData' => 0, 'sword' => '');
     $this->MOD_MENU['logrun'] = t3lib_div::array_merge($this->recentRuns, $this->MOD_MENU['logrun']);
     // If the clear button has been clicked, empty all filters
     if (!empty($this->setVars['clear'])) {
         $this->selectedFilters = array();
         $GLOBALS['BE_USER']->pushModuleData('selectedFilters', $this->selectedFilters);
     } else {
         if (isset($this->setVars['filters'])) {
             $storedData = $GLOBALS['BE_USER']->getModuleData('selectedFilters');
             if (isset($storedData)) {
                 $this->selectedFilters = array_merge($storedData, $this->setVars['filters']);
             } else {
                 $this->selectedFilters = $this->setVars['filters'];
             }
             $GLOBALS['BE_USER']->pushModuleData('selectedFilters', $this->selectedFilters);
         } else {
             $this->selectedFilters = $GLOBALS['BE_USER']->getModuleData('selectedFilters');
         }
     }
     parent::menuConfig();
 }
Ejemplo n.º 21
0
 /**
  * Adds items to the ->MOD_MENU array. Used for the function menu selector.
  *
  * @return	void
  */
 function menuConfig()
 {
     global $LANG;
     $this->MOD_MENU = array("function" => array("1" => $LANG->getLL("add_activity"), "2" => $LANG->getLL("edit_activity")));
     parent::menuConfig();
 }
Ejemplo n.º 22
0
 /**
  * Adds items to the ->MOD_MENU array. Used for the function menu selector.
  *
  * @return    void
  */
 function menuConfig()
 {
     /*{{{*/
     global $LANG;
     $this->MOD_MENU = array('function' => array('1' => $LANG->getLL('function1'), '2' => $LANG->getLL('function2'), '3' => $LANG->getLL('function3')));
     parent::menuConfig();
 }
Ejemplo n.º 23
0
 /**
  * Adds items to the ->MOD_MENU array. Used for the function menu selector.
  *
  * @return	void
  */
 public function menuConfig()
 {
     $this->MOD_MENU = array('function' => array(0 => $GLOBALS['LANG']->getLL('Debug_log'), 'info' => $GLOBALS['LANG']->getLL('Cached_info'), 'sqlcheck' => $GLOBALS['LANG']->getLL('SQL_check')));
     parent::menuConfig();
 }
Ejemplo n.º 24
0
 /**
  * Configuration of which mod-menu items can be used
  *
  * @return	void
  */
 function menuConfig()
 {
     global $BE_USER, $TYPO3_CONF_VARS;
     // MENU-ITEMS:
     $this->MOD_MENU = array('function' => array(0 => $GLOBALS['LANG']->getLL('menu_loaded_extensions'), 1 => $GLOBALS['LANG']->getLL('menu_install_extensions'), 2 => $GLOBALS['LANG']->getLL('menu_import_extensions'), 4 => $GLOBALS['LANG']->getLL('menu_translation_handling'), 3 => $GLOBALS['LANG']->getLL('menu_settings'), 5 => $GLOBALS['LANG']->getLL('menu_extension_updates')), 'listOrder' => array('cat' => $GLOBALS['LANG']->getLL('list_order_category'), 'author_company' => $GLOBALS['LANG']->getLL('list_order_author'), 'state' => $GLOBALS['LANG']->getLL('list_order_state'), 'type' => $GLOBALS['LANG']->getLL('list_order_type')), 'display_details' => array(1 => $GLOBALS['LANG']->getLL('show_details'), 0 => $GLOBALS['LANG']->getLL('show_description'), 2 => $GLOBALS['LANG']->getLL('show_more_details'), 3 => $GLOBALS['LANG']->getLL('show_technical'), 4 => $GLOBALS['LANG']->getLL('show_validating'), 5 => $GLOBALS['LANG']->getLL('show_changed')), 'display_shy' => '', 'display_own' => '', 'display_obsolete' => '', 'display_installed' => '', 'display_files' => '', 'singleDetails' => array('info' => $GLOBALS['LANG']->getLL('details_info'), 'edit' => $GLOBALS['LANG']->getLL('details_edit'), 'backup' => $GLOBALS['LANG']->getLL('details_backup_delete'), 'dump' => $GLOBALS['LANG']->getLL('details_dump_db'), 'upload' => $GLOBALS['LANG']->getLL('details_upload'), 'updateModule' => $GLOBALS['LANG']->getLL('details_update')), 'fe_u' => '', 'fe_p' => '', 'mirrorListURL' => '', 'rep_url' => '', 'extMirrors' => '', 'selectedMirror' => '', 'selectedLanguages' => '');
     $this->MOD_MENU['singleDetails'] = $this->mergeExternalItems($this->MCONF['name'], 'singleDetails', $this->MOD_MENU['singleDetails']);
     // page/be_user TSconfig settings and blinding of menu-items
     if (!$BE_USER->getTSConfigVal('mod.' . $this->MCONF['name'] . '.allowTVlisting')) {
         unset($this->MOD_MENU['display_details'][3]);
         unset($this->MOD_MENU['display_details'][4]);
         unset($this->MOD_MENU['display_details'][5]);
     }
     // CLEANSE SETTINGS
     $this->MOD_SETTINGS = t3lib_BEfunc::getModuleData($this->MOD_MENU, t3lib_div::_GP('SET'), $this->MCONF['name']);
     if ($this->MOD_SETTINGS['function'] == 2) {
         // If listing from online repository, certain items are removed though:
         unset($this->MOD_MENU['listOrder']['type']);
         unset($this->MOD_MENU['display_details'][2]);
         unset($this->MOD_MENU['display_details'][3]);
         unset($this->MOD_MENU['display_details'][4]);
         unset($this->MOD_MENU['display_details'][5]);
         $this->MOD_SETTINGS = t3lib_BEfunc::getModuleData($this->MOD_MENU, t3lib_div::_GP('SET'), $this->MCONF['name']);
     }
     parent::menuConfig();
 }
Ejemplo n.º 25
0
	/**
	 * Adds items to the ->MOD_MENU array. Used for the function menu selector.
	 *
	 * @return	void
	 */
	function menuConfig()    {
		$this->MOD_MENU = Array (
			'displayMode' => array	(
				'explode' => 'Mode: Exploded Visual',
#				'_' => 'Mode: Overlay',
				'source' => 'Mode: HTML Source ',
#				'borders' => 'Mode: Table Borders',
			),
			'showDSxml' => ''
		);
		parent::menuConfig();
	}
Ejemplo n.º 26
0
 /**
  * Adds items to the ->MOD_MENU array. Used for the function menu selector.
  *
  * @return	void
  */
 public function menuConfig()
 {
     $this->MOD_MENU = array('function' => array('scheduler' => $GLOBALS['LANG']->getLL('function.scheduler'), 'check' => $GLOBALS['LANG']->getLL('function.check'), 'info' => $GLOBALS['LANG']->getLL('function.info')));
     parent::menuConfig();
 }
Ejemplo n.º 27
0
 /**
  * Adds items to the ->MOD_MENU array. Used for the function menu selector.
  *
  * @return	void
  */
 function menuConfig()
 {
     global $LANG;
     $this->MOD_MENU = array('function' => array('1' => $LANG->getLL('info')));
     parent::menuConfig();
 }
Ejemplo n.º 28
0
	/**
	 * Adds items to the ->MOD_MENU array. Used for the function menu selector.
	 *
	 * @return	void
	 */
	function menuConfig()
	{
		$this->MOD_MENU = array(
			'function' => array(
				'1' => $this->LANG->sL('LLL:EXT:t3jquery/mod1/locallang.xml:function1'),
				'2' => $this->LANG->sL('LLL:EXT:t3jquery/mod1/locallang.xml:function2'),
				'3' => $this->LANG->sL('LLL:EXT:t3jquery/mod1/locallang.xml:function3'),
				'4' => $this->LANG->sL('LLL:EXT:t3jquery/mod1/locallang.xml:function4'),
			)
		);
		if (t3lib_extMgm::isLoaded('extdeveval')) {
			$this->MOD_MENU['function'][5] = $this->LANG->sL('LLL:EXT:t3jquery/mod1/locallang.xml:function5');
		}
		parent::menuConfig();
	}
Ejemplo n.º 29
0
 /**
  * Adds items to the ->MOD_MENU array. Used for the function menu selector.
  *
  * @return    void
  */
 public function menuConfig()
 {
     global $LANG;
     $this->MOD_MENU = array('function' => array('2' => $LANG->getLL('function2'), '3' => $LANG->getLL('function3')));
     parent::menuConfig();
 }