Index: typo3/sysext/lowlevel/config/index.php
===================================================================
--- typo3/sysext/lowlevel/config/index.php (revision 4425)
+++ typo3/sysext/lowlevel/config/index.php (working copy)
@@ -234,12 +234,26 @@
// Variable name:
if (t3lib_div::_GP('varname')) {
- $this->content .= '
- ' . $GLOBALS['LANG']->getLL('variable', true) . '
-
- ' . $GLOBALS['LANG']->getLL('copyPaste', true) . '
-
- ';
+ $line = t3lib_div::_GP('_') ? t3lib_div::_GP('_') : t3lib_div::_GP('varname');
+ if (t3lib_div::_GP('writetoexttables')) {
+ // insert line in extTables.php
+ $extTables = file_get_contents(PATH_typo3conf . 'extTables.php');
+ $extTables = '/is', '', $extTables) . chr(10) . $line . chr(10) . '?>';
+ file_put_contents(PATH_typo3conf . 'extTables.php', $extTables);
+ $this->content .= '' . sprintf($GLOBALS['LANG']->getLL('writeMessage', true), PATH_typo3conf . 'extTables.php', '
', '' . $line . '') . '
+
';
+ } else {
+ $this->content .= '
+ ' . $GLOBALS['LANG']->getLL('variable', true) . '
+
';
+ if ($this->MOD_SETTINGS['function'] != 3 and $this->MOD_SETTINGS['function'] != 5) {
+ // no write for $TYPO3_LOADED_EXT and $BE_USER->uc
+ $this->content .= '
';
+ } else {
+ $this->content .= $GLOBALS['LANG']->getLL('copyPaste', true) . chr(10) . '';
+ }
+
+ }
}
$this->content.= '
';
Index: typo3/sysext/lowlevel/config/locallang.xml
===================================================================
--- typo3/sysext/lowlevel/config/locallang.xml (revision 4425)
+++ typo3/sysext/lowlevel/config/locallang.xml (working copy)
@@ -19,6 +19,9 @@
+
+
+
\ No newline at end of file