diff -ruN typo3_src-4.2.6.orig/t3lib/config_default.php typo3_src-4.2.6/t3lib/config_default.php --- typo3_src-4.2.6.orig/t3lib/config_default.php 2009-02-10 10:36:25.000000000 +0100 +++ typo3_src-4.2.6/t3lib/config_default.php 2009-05-15 22:46:55.000000000 +0200 @@ -65,6 +65,7 @@ 'devIPmask' => '127.0.0.1,::1', // Defines a list of IP addresses which will allow development-output to display. The debug() function will use this as a filter. See the function t3lib_div::cmpIP() for details on syntax. Setting this to blank value will deny all. Setting to "*" will allow all. 'sqlDebug' => 0, // Boolean. If set, then database queries that fails are outputted in browser. For development. 'enable_DLOG' => FALSE, // Whether the developer log is enabled. See constant "TYPO3_DLOG" + 'disableVersionDisplay' => 1, // Disable the visibility of version in meta tag 'ddmmyy' => 'd-m-y', // Format of Date-Month-Year - see PHP-function date() 'hhmm' => 'H:i', // Format of Hours-Minutes - see PHP-function date() 'USdateFormat' => 0, // Boolean. If true, dates entered in the TCEforms of the backend will be formatted mm-dd-yyyy diff -ruN typo3_src-4.2.6.orig/typo3/sysext/cms/tslib/class.tslib_pagegen.php typo3_src-4.2.6/typo3/sysext/cms/tslib/class.tslib_pagegen.php --- typo3_src-4.2.6.orig/typo3/sysext/cms/tslib/class.tslib_pagegen.php 2009-02-10 10:36:51.000000000 +0100 +++ typo3_src-4.2.6/typo3/sysext/cms/tslib/class.tslib_pagegen.php 2009-05-15 22:40:21.000000000 +0200 @@ -678,8 +678,9 @@ $GLOBALS['TSFE']->content.=' '.htmlspecialchars($titleTagContent).''; } + $version = ($GLOBALS['TYPO3_CONF_VARS']['SYS']['disableVersionDisplay'] == '1') ? '' : TYPO3_branch; $GLOBALS['TSFE']->content.=' - '; + '; $conf=$GLOBALS['TSFE']->pSetup['meta.']; if (is_array($conf)) { diff -ruN typo3_src-4.2.6.orig/typo3/template.php typo3_src-4.2.6/typo3/template.php --- typo3_src-4.2.6.orig/typo3/template.php 2009-02-10 10:37:06.000000000 +0100 +++ typo3_src-4.2.6/typo3/template.php 2009-05-15 22:39:52.000000000 +0200 @@ -989,7 +989,8 @@ * @return string tag with name "generator" */ function generator() { - $str = 'TYPO3 '.TYPO3_branch.', http://typo3.com, © Kasper Skårhøj 1998-2008, extensions are copyright of their respective owners.'; + $version = ($GLOBALS['TYPO3_CONF_VARS']['SYS']['disableVersionDisplay'] == '1') ? '' : TYPO3_branch; + $str = 'TYPO3 '.$version.', http://typo3.com, © Kasper Skårhøj 1998-2008, extensions are copyright of their respective owners.'; return ''; }