View device_descriptions_HBW-SD6-Multikey-v1.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"HBW-SD6-Multikey-v1": { | |
"MASTER": { | |
"LOGGING_TIME": { | |
"DEFAULT": 5.0, | |
"FLAGS": 1, | |
"ID": "LOGGING_TIME", | |
"MAX": 25.0, | |
"MIN": 0.1, | |
"OPERATIONS": 7, |
View AbstractFields.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
/*************************************************************** | |
* Copyright notice | |
* | |
* (c) 2011 Thomas Maroschik <tmaroschik@dfau.de> | |
* All rights reserved | |
* | |
* This script is part of the TYPO3 project. The TYPO3 project is | |
* free software; you can redistribute it and/or modify | |
* it under the terms of the GNU General Public License as published by |
View AjaxLoginHandler.php
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
namespace TYPO3\CMS\Backend; | |
/*************************************************************** | |
* Copyright notice | |
* | |
* (c) 2008-2011 Christoph Koehler (christoph@webempoweredchurch.org) | |
* All rights reserved | |
* | |
* This script is part of the TYPO3 project. The TYPO3 project is |
View gist:3183702
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- ext/flux/Classes/Backend/TceMain.php | |
+++ ext/flux/Classes/Backend/TceMain.php | |
@@ -182,12 +182,23 @@ | |
case 'new': | |
$newUid = $reference->substNEWwithIDs[$id]; | |
$oldUid = $fieldArray['t3_origuid']; | |
+ $newLanguageUid = NULL; | |
+ if ($oldUid) { | |
+ $oldRecord = $GLOBALS['TYPO3_DB']->exec_SELECTgetSingleRow('uid,' . $GLOBALS['TCA'][$table]['ctrl']['languageField'], $table, 'uid = ' . $oldUid); | |
+ if (isset($oldRecord[$GLOBALS['TCA'][$table]['ctrl']['languageField']])) { |