2010-02-26 Benjamin Mack <benni@typo3.org>
- * Fixed bug #13611: Replace calls to t3lib_div:: within t3lib_div to self:: du to performance reasons (Thanks to Georg Ringer)
+ * Fixed bug #12849: Element wizard & web_list.allowedNewTables doesn't respect hiding pages (Thanks to Georg Ringer)
+ * Fixed bug #13611: Replace calls to t3lib_div:: within t3lib_div to self:: due to performance reasons (Thanks to Georg Ringer)
2010-02-25 Stanislas Rolland <typo3@sjbr.ca>
// Half-line:
$rowContent.= '<br />' . $halfLine;
- // Compile table row:
- $startRows[]='
- <tr>
- <td nowrap="nowrap">' . $rowContent . '</td>
- <td>' . t3lib_BEfunc::cshItem($table, '', $this->doc->backPath, '', $doNotShowFullDescr) . '</td>
- </tr>
- ';
+ // Compile table row to show the icon for "new page (select position)"
+ $startRows = array();
+ if ($this->showNewRecLink('pages')) {
+ $startRows[] = '
+ <tr>
+ <td nowrap="nowrap">' . $rowContent . '</td>
+ <td>' . t3lib_BEfunc::cshItem($table, '', $this->doc->backPath, '', $doNotShowFullDescr) . '</td>
+ </tr>
+ ';
+ }
// New tables (but not pages) INSIDE this pages