Index: typo3/sysext/cms/layout/db_layout.php
===================================================================
RCS file: /cvsroot/typo3/TYPO3core/typo3/sysext/cms/layout/db_layout.php,v
retrieving revision 1.27
diff -u -r1.27 db_layout.php
--- typo3/sysext/cms/layout/db_layout.php 19 Jun 2005 22:48:48 -0000 1.27
+++ typo3/sysext/cms/layout/db_layout.php 19 Oct 2005 09:12:38 -0000
@@ -1013,46 +1013,48 @@
// Draw the page header.
- $headerSection = $this->doc->getHeader('pages',$this->pageinfo,$this->pageinfo['_thePath']).'
'.
+ $headerSection = $this->doc->getHeader('pages',$this->pageinfo,$this->pageinfo['_thePath'],$this->modTSconfig['properties']['disableIconToolbar']?1:0).'
'.
$LANG->sL('LLL:EXT:lang/locallang_core.php:labels.path',1).': '.
''.htmlspecialchars(t3lib_div::fixed_lgd_cs($this->pageinfo['_thePath'],-50)).'';
// Create icon "toolbar" for common operations like creating/moving elements/pages etc.
- $toolBar='';
- // History:
- $toolBar.=''.
- '
'.
- '';
- // New content element
- $toolBar.=''.
- '
'.
- '';
- // Move page:
- $toolBar.=''.
- '
'.
- '';
- // Create new page (wizard):
- $toolBar.=''.
- '
'.
- '';
- // Edit page header:
- $params='&edit[pages]['.$this->id.']=edit';
- $toolBar.=''.
- '
'.
- '';
-
- // Add CSH (Context Sensitive Help) icon to tool bar:
- $toolBar.= t3lib_BEfunc::cshItem($this->descrTable,'columns_'.$this->MOD_SETTINGS['function'],$BACK_PATH,'',FALSE,'margin-top: 0px; margin-bottom: 0px;');
-
- // Wrap the toolbar into a table:
- $headerSection.='
-
';
-
+
+ if(!$this->modTSconfig['properties']['disableIconToolbar']) {
+ $toolBar='';
+ // History:
+ $toolBar.=''.
+ '
'.
+ '';
+ // New content element
+ $toolBar.=''.
+ '
'.
+ '';
+ // Move page:
+ $toolBar.=''.
+ '
'.
+ '';
+ // Create new page (wizard):
+ $toolBar.=''.
+ '
'.
+ '';
+ // Edit page header:
+ $params='&edit[pages]['.$this->id.']=edit';
+ $toolBar.=''.
+ '
'.
+ '';
+
+ // Add CSH (Context Sensitive Help) icon to tool bar:
+ $toolBar.= t3lib_BEfunc::cshItem($this->descrTable,'columns_'.$this->MOD_SETTINGS['function'],$BACK_PATH,'',FALSE,'margin-top: 0px; margin-bottom: 0px;');
+
+ // Wrap the toolbar into a table:
+ $headerSection.='
+ ';
+ }
// Create menu of table-icons for jumping to table-listing anchor points:
if ($this->MOD_SETTINGS['function']!=3 && count($tableOutput)>1) {