diff --git a/Classes/Controller/TimezonesController.php b/Classes/Controller/TimezonesController.php index 8c19bf9..60d0b42 100644 --- a/Classes/Controller/TimezonesController.php +++ b/Classes/Controller/TimezonesController.php @@ -1,6 +1,5 @@ logger = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Extbase\\Object\\ObjectManager')->get('Thucke\\Timezones\\Service\\ExtensionHelperService')->getLogger(__CLASS__); - $this->logger->log( \TYPO3\CMS\Core\Log\LogLevel::DEBUG, 'Entry point', array()); + $this->logger->log( \TYPO3\CMS\Core\Log\LogLevel::DEBUG, 'Entry initializeAction', array()); $this->checkIntlModule(); $this->prefixId = strtolower('tx_' . $this->request->getControllerExtensionName(). '_' . $this->request->getPluginName()); $this->cookieLifetime = time()+60*60*24*365; $this->timezoneService->setCurrentTimezone($this->cookieService->getCookie($this->prefixId)); - - //\TYPO3\CMS\Extbase\Utility\DebuggerUtility::var_dump($this->settings,get_class($this).' settings'); + $this->logger->log( \TYPO3\CMS\Core\Log\LogLevel::DEBUG, 'Exit initializeAction', array()); } @@ -159,7 +157,7 @@ public function selectAction() { * @ignorevalidation $timezone */ public function tzsetAction($timezone = null) { - $this->logger->log( \TYPO3\CMS\Core\Log\LogLevel::DEBUG, 'Entry tzsetAction', array()); + $this->logger->log( \TYPO3\CMS\Core\Log\LogLevel::DEBUG, 'Entry tzsetAction', array('Timezone' => $timezone)); $this->timezoneService->setCurrentTimezone($timezone); $timezone = $this->timezoneService->getCurrentTimezone()->getName(); diff --git a/Classes/Service/ExtensionHelperService.php b/Classes/Service/ExtensionHelperService.php index 4a57156..58c6dd7 100644 --- a/Classes/Service/ExtensionHelperService.php +++ b/Classes/Service/ExtensionHelperService.php @@ -39,7 +39,7 @@ class ExtensionHelperService extends \Thucke\Timezones\Service\AbstractExtension * @return void */ public function getLogger( $name ) { - return $this->loggingService->getLogger(__CLASS__); + return $this->loggingService->getLogger($name); } } ?> \ No newline at end of file diff --git a/Configuration/Flexforms/flexform_pi1.xml b/Configuration/Flexforms/flexform_pi1.xml index 645bebe..c4cb39e 100644 --- a/Configuration/Flexforms/flexform_pi1.xml +++ b/Configuration/Flexforms/flexform_pi1.xml @@ -1,91 +1,91 @@ - - - 0 - - - - - - LLL:EXT:timezones/Resources/Private/Language/locallang.xlf:flexform.sheet_general - - array - - - - - - select - - - LLL:EXT:timezones/Resources/Private/Language/locallang.xlf:flexform.general_actions_1 - Timezones->index - - - LLL:EXT:timezones/Resources/Private/Language/locallang.xlf:flexform.general_actions_2 - Timezones->show - - - LLL:EXT:timezones/Resources/Private/Language/locallang.xlf:flexform.general_actions_3 - Timezones->select - - - - - - - - - - - - LLL:EXT:timezones/Resources/Private/Language/locallang.xlf:flexform.sheet_paths - - array - - - - 1 - - - group - folder - 1 - 1 - 1 - width:180px - - - - - - 1 - - - group - folder - 1 - 1 - 1 - width:180px - - - - - - 1 - - - group - folder - 1 - 1 - 1 - width:180px - - - - - - - - + + + 0 + + + + + + LLL:EXT:timezones/Resources/Private/Language/locallang.xlf:flexform.sheet_general + + array + + + + + + select + + + LLL:EXT:timezones/Resources/Private/Language/locallang.xlf:flexform.general_actions_1 + Timezones->index;Timezones->show;Timezones->select;Timezones->tzset + + + LLL:EXT:timezones/Resources/Private/Language/locallang.xlf:flexform.general_actions_2 + Timezones->show;Timezones->index;Timezones->select;Timezones->tzset + + + LLL:EXT:timezones/Resources/Private/Language/locallang.xlf:flexform.general_actions_3 + Timezones->select;Timezones->show;Timezones->index;Timezones->tzset + + + + + + + + + + + + LLL:EXT:timezones/Resources/Private/Language/locallang.xlf:flexform.sheet_paths + + array + + + + 1 + + + group + folder + 1 + 1 + 1 + width:180px + + + + + + 1 + + + group + folder + 1 + 1 + 1 + width:180px + + + + + + 1 + + + group + folder + 1 + 1 + 1 + width:180px + + + + + + + + diff --git a/Configuration/TypoScript/setup.txt b/Configuration/TypoScript/setup.txt index 58f59be..3e470d8 100644 --- a/Configuration/TypoScript/setup.txt +++ b/Configuration/TypoScript/setup.txt @@ -8,7 +8,7 @@ plugin.tx_timezones { extensionName = Timezones vendorName = Thucke controller = Timezones - mvc.callDefaultActionIfActionCantBeResolved = 1 + mvc.callDefaultActionIfActionCantBeResolved = 0 switchableControllerActions { Timezones { 1 = index diff --git a/ext_emconf.php b/ext_emconf.php index 89bcf2c..25138d0 100644 --- a/ext_emconf.php +++ b/ext_emconf.php @@ -12,7 +12,7 @@ 'title' => 'Timezones', 'description' => 'Manages timezones and datetime conversion in your website', 'category' => 'plugin', - 'version' => '2.0.2', + 'version' => '2.0.3', 'state' => 'beta', 'uploadfolder' => false, 'createDirs' => '', @@ -22,7 +22,7 @@ 'author_company' => '', 'constraints' => array( 'depends' => array( - 'php' => '5.5.0-7.0.99', + 'php' => '5.5.0-7.1.99', 'typo3' => '6.2.15-8.7.99', ), 'conflicts' => array( diff --git a/ext_tables.sql b/ext_tables.sql deleted file mode 100644 index 99dd1d7..0000000 --- a/ext_tables.sql +++ /dev/null @@ -1,6 +0,0 @@ -# -# Table structure for table 'fe_users' -# -CREATE TABLE fe_users ( - tx_timezones_timezone varchar(100) DEFAULT '' NOT NULL -);