Commit 3b0f5e1c authored by Kasper Skårhøj's avatar Kasper Skårhøj
Browse files

* Added API for configuring tables (ending on "cache") that are flushed together with "Clear All Cache".
* Fixed that the Admin Panel is always on top (z-index : 0;


git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@336 709f56b5-9817-0410-a4d7-c38de5d9e867
parent 8d2d1655
2004-06-03 Kasper Skårhøj,,, <kasper@typo3.com>
* Added API for configuring tables (ending on "cache") that are flushed together with "Clear All Cache".
* Fixed that the Admin Panel is always on top (z-index : 0;
2004-06-03 Kasper Skårhøj,,, <kasper@typo3.com>
* Added base url to typo3 error dialog in frontend. Means it shows logo when using realurls now.
......
......@@ -4019,6 +4019,17 @@ class t3lib_TCEmain {
$GLOBALS['TYPO3_DB']->exec_DELETEquery('cache_pagesection','');
}
$GLOBALS['TYPO3_DB']->exec_DELETEquery('cache_hash','');
// Clearing additional cache tables:
if (is_array($TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearAllCache_additionalTables'])) {
foreach($TYPO3_CONF_VARS['SC_OPTIONS']['t3lib/class.t3lib_tcemain.php']['clearAllCache_additionalTables'] as $tableName) {
if (!ereg('[^[:alnum:]_]',$tableName) && substr($tableName,-5)=='cache') {
$GLOBALS['TYPO3_DB']->exec_DELETEquery($tableName,'');
} else {
die('Fatal Error: Trying to flush table "'.$tableName.'" with "Clear All Cache"');
}
}
}
}
break;
case 'temp_CACHED':
......
......@@ -178,7 +178,7 @@ class t3lib_tsfeBeUserAuth extends t3lib_beUserAuth {
-->
<a name="TSFE_ADMIN"></a>
<form name="TSFE_ADMIN_PANEL_FORM" action="'.htmlspecialchars(t3lib_div::getIndpEnv('REQUEST_URI')).'#TSFE_ADMIN" method="post" style="margin: 0 0 0 0;">
<table border="0" cellpadding="0" cellspacing="0" class="typo3-adminPanel" bgcolor="#F6F2E6" border="1" bordercolor="black">'.
<table border="0" cellpadding="0" cellspacing="0" class="typo3-adminPanel" bgcolor="#F6F2E6" style="border: 1px solid black; z-index:0; position:absolute;">'.
$header.$out.'
</table>
</form>';
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment