Project

General

Profile

Bug #18638 » 8153_leftMenuFrameWidth.diff

Administrator Admin, 2008-04-22 00:25

View differences:

typo3/backend.php (working copy)
$logo->setLogo('gfx/typo3logo_mini.png');
$menu = $this->moduleMenu->render();
// calculate menu width
$width = $GLOBALS['TBE_STYLES']['dims']['leftMenuFrameW'] ? intval($GLOBALS['TBE_STYLES']['dims']['leftMenuFrameW']) : 180;
// create backend scaffolding
$backendScaffolding = '
<div id="typo3-backend">
......
.'</div>
</div>
<div id="typo3-main-container">
<div id="typo3-side-menu">
<div id="typo3-side-menu" style="width: '.$width.'px;">
'.$menu.'
</div>
<div id="typo3-content">
<div id="typo3-content" style="margin-left: '.($width+1).'px;">
<iframe src="alt_intro.php" name="content" id="content" marginwidth="0" marginheight="0" frameborder="0" scrolling="auto" noresize="noresize"></iframe>
</div>
</div>
......
$TYPO3backend->render();
?>
?>
typo3/css/backend-scaffolding.css (working copy)
#typo3-logo,
#typo3-side-menu {
float: left;
width: 159px;
}
#typo3-top-container {
......
#typo3-top,
#typo3-content {
margin-left: 160px;
}
#typo3-side-menu {
......
typo3/css/modulemenu.css (working copy)
#typo3-menu li ul li {
font-weight: normal;
width: 138px;
padding: 1px 0px 1px 2px;
margin-left: 1px;
margin-bottom: 1px;
typo3/sysext/t3skin/ext_tables.php (working copy)
$TBE_STYLES['stylesheets']['backend-style'] = $temp_eP.'stylesheets/backend-style.css';
// Alternative dimensions for frameset sizes:
$TBE_STYLES['dims']['leftMenuFrameW'] = 140; // Left menu frame width
$TBE_STYLES['dims']['leftMenuFrameW'] = 180; // Left menu frame width
$TBE_STYLES['dims']['topFrameH'] = 45; // Top frame heigth
$TBE_STYLES['dims']['shortcutFrameH'] = 35; // Shortcut frame height
$TBE_STYLES['dims']['selMenuFrame'] = 200; // Width of the selector box menu frame
......
}
?>
?>
(4-4/4)