Project

General

Profile

Feature #23315 » 15305_v2.diff

Administrator Admin, 2010-07-30 20:15

View differences:

t3lib/class.t3lib_tcemain.php (Arbeitskopie)
public function clear_cacheCmd($cacheCmd) {
global $TYPO3_CONF_VARS;
$this->BE_USER->writelog(3, 1, 0, 0, 'User %s has cleared the cache (cacheCmd=%s)', array($this->BE_USER->user['username'], $cacheCmd));
// Clear cache for either ALL pages or ALL tables!
switch($cacheCmd) {
case 'pages':
typo3/sysext/belog/mod/locallang.xml (Arbeitskopie)
<label index="actionAll">All</label>
<label index="actionDatabase">Database</label>
<label index="actionFile">File</label>
<label index="actionCache">Cache</label>
<label index="actionSettings">Settings</label>
<label index="actionLogin">Login</label>
<label index="actionErrors">Errors</label>
......
<label index="action_2_8">New file</label>
<label index="action_2_9">Edit</label>
<label index="msg_2_9_1">File saved to '%s', bytes: %s, MD5: %s </label>
<label index="type_3">CACHE</label>
<label index="action_3_1">Clear Cache</label>
<label index="type_254">SETTING</label>
<label index="action_254_1">Change</label>
<label index="type_255">LOGIN</label>
typo3/sysext/belog/mod/index.php (Arbeitskopie)
0 => $GLOBALS['LANG']->getLL('any'),
1 => $GLOBALS['LANG']->getLL('actionDatabase'),
2 => $GLOBALS['LANG']->getLL('actionFile'),
3 => $GLOBALS['LANG']->getLL('actionCache'),
254 => $GLOBALS['LANG']->getLL('actionSettings'),
255 => $GLOBALS['LANG']->getLL('actionLogin'),
'-1' => $GLOBALS['LANG']->getLL('actionErrors')
(2-2/2)