[TYPO3-core] RFC: language_mode 'ignore'
Wolfgang Klinger
wolfgang at stufenlos.net
Wed Jan 11 21:28:54 CET 2006
*Hiya*
This is a CVS patch request.
Type:
feature
Branches: TYPO3-4.0
Description:
there's no possibility (ok, I found none at least) to show a message or
something if no content is available in the currently selected language.
This patch adds another case for 'ignore' to set
$this->sys_language_content to the current $this->sys_language_uid.
kind regards
Wolfgang
-------------- next part --------------
--- TYPO3core/tslib/class.tslib_fe.php 2005-12-20 11:20:09.000000000 +0100
+++ TYPO3core_testing/tslib/class.tslib_fe.php 2006-01-11 21:13:03.000000000 +0100
@@ -1839,6 +1839,9 @@
}
}
break;
+ case 'ignore':
+ $this->sys_language_content = $this->sys_language_uid;
+ break;
default:
// Default is that everything defaults to the default language...
$this->sys_language_uid = $this->sys_language_content = 0;
More information about the TYPO3-team-core
mailing list