Index: typo3/db_new.php
===================================================================
--- typo3/db_new.php (revision 2745)
+++ typo3/db_new.php (working copy)
@@ -325,14 +325,16 @@
$t,
$this->id).'
';
- // Link to page-wizard:
- $rowContent.= 'doc->backPath,'gfx/ol/line.gif','width="18" height="16"').' alt="" />doc->backPath,'gfx/ol/joinbottom.gif','width="18" height="16"').' alt="" />'.
- ''.
- 'doc->backPath,'gfx/new_page.gif','width="13" height="12"').' alt="" /> '.
- htmlspecialchars($LANG->getLL('clickForWizard')).
- '';
- // Half-line:
- $rowContent.= '
';
+ // Link to page-wizard (if not disabled):
+ if (empty($this->web_list_modTSconfig['properties']['newPageWiz.']['disabled'])) {
+ $rowContent.= 'doc->backPath,'gfx/ol/line.gif','width="18" height="16"').' alt="" />doc->backPath,'gfx/ol/joinbottom.gif','width="18" height="16"').' alt="" />'.
+ ''.
+ 'doc->backPath,'gfx/new_page.gif','width="13" height="12"').' alt="" /> '.
+ htmlspecialchars($LANG->getLL('clickForWizard')).
+ '';
+ // Half-line:
+ $rowContent.= '
';
+ }
// Compile table row:
$tRows[]='
@@ -437,7 +439,7 @@
';
// Create a link to the new-pages wizard.
- if ($this->showNewRecLink('pages')) {
+ if ($this->showNewRecLink('pages') && empty($this->web_list_modTSconfig['properties']['newPageWiz.']['disabled'])) {
$this->code.='