Index: typo3/sysext/tstemplate/ts/index.php
===================================================================
--- typo3/sysext/tstemplate/ts/index.php (revision 3658)
+++ typo3/sysext/tstemplate/ts/index.php (working copy)
@@ -139,6 +139,9 @@
$this->doc->inDocStylesArray[] = '
TABLE#typo3-objectBrowser A { text-decoration: none; }
TABLE#typo3-objectBrowser .comment { color: maroon; font-weight: bold; }
+ .tsob-menu label, .tsob-menu-row2 label, .tsob-conditions label {padding: 0 5px; vertical-align: text-top;}
+ .tsob-menu-row2 {margin-top: 10px;}
+ .tsob-conditions {padding: 1px 2px;}
';
Index: typo3/sysext/tstemplate_objbrowser/class.tx_tstemplateobjbrowser.php
===================================================================
--- typo3/sysext/tstemplate_objbrowser/class.tx_tstemplateobjbrowser.php (revision 3658)
+++ typo3/sysext/tstemplate_objbrowser/class.tx_tstemplateobjbrowser.php (working copy)
@@ -411,12 +411,40 @@
$theOutput.=$this->pObj->doc->spacer(5);
$theOutput.=$this->pObj->doc->section('Object tree:','',0,1);
+
+ // func menu
+ $menu = '
';
+
+ $theOutput.=$this->pObj->doc->section('',''.$menu.'');
- $menu = 'Browse: '.t3lib_BEfunc::getFuncMenu($this->pObj->id,'SET[ts_browser_type]',$bType,$this->pObj->MOD_MENU['ts_browser_type']);
- $menu.= ' OL: '.t3lib_BEfunc::getFuncMenu($this->pObj->id,'SET[ts_browser_toplevel_'.$bType.']',$this->pObj->MOD_SETTINGS['ts_browser_toplevel_'.$bType],$this->pObj->MOD_MENU['ts_browser_toplevel_'.$bType]);
+ // second row options
+ $menu = '';
+
$theOutput.=$this->pObj->doc->section('',''.$menu.'');
-
+
+
$theKey=$this->pObj->MOD_SETTINGS["ts_browser_toplevel_".$bType];
if (!$theKey || !str_replace("-","",$theKey)) {$theKey="";}
list($theSetup,$theSetupValue) = $tmpl->ext_getSetup($theSetup, ($this->pObj->MOD_SETTINGS['ts_browser_toplevel_'.$bType]?$this->pObj->MOD_SETTINGS['ts_browser_toplevel_'.$bType]:''));
@@ -466,62 +494,24 @@
// Conditions:
if (is_array($tmpl->sections)) {
$theOutput.=$this->pObj->doc->divider(15);
-
+ $theOutput.=$this->pObj->doc->section('Conditions:','',0,1);
+
$out="";
reset($tmpl->sections);
while(list($key,$val)=each($tmpl->sections)) {
- $out.='pObj->MOD_SETTINGS["tsbrowser_conditions"][$key]?" checked":"").'> | |
';
+ $out .= 'pObj->MOD_SETTINGS['tsbrowser_conditions'][$key] ? " checked" : "") . '>';
+ $out .= ' |
';
}
$theOutput.='
-
+
-
';
}
- // Search:
- $theOutput.='
-
-
-
- |
-
-
- |
-
-
-
- ';
-
- // Menu in the bottom:
- $menu = ' '.t3lib_BEfunc::getFuncCheck($this->pObj->id,"SET[ts_browser_fixedLgd]",$this->pObj->MOD_SETTINGS["ts_browser_fixedLgd"],'','','id="checkTs_browser_fixedLgd"');
- $menu .= '
'.t3lib_BEfunc::getFuncCheck($this->pObj->id,'SET[ts_browser_showComments]',$this->pObj->MOD_SETTINGS['ts_browser_showComments']);
- $menu .= '
'.t3lib_BEfunc::getFuncCheck($this->pObj->id,'SET[ts_browser_alphaSort]',$this->pObj->MOD_SETTINGS['ts_browser_alphaSort'],'','','id="checkTs_browser_alphaSort"');
- if ($bType=="setup" && !$this->pObj->MOD_SETTINGS["ts_browser_fixedLgd"]) {
- $menu.= "
Constants display: ".t3lib_BEfunc::getFuncMenu($this->pObj->id,"SET[ts_browser_const]",$this->pObj->MOD_SETTINGS["ts_browser_const"],$this->pObj->MOD_MENU["ts_browser_const"]);
- }
- $theOutput.=$this->pObj->doc->section("",''.$menu.'');
-
+
// Ending section:
$theOutput.=$this->pObj->doc->sectionEnd();
}