[TYPO3-core] FYI72 #16279: Use class constants for pages:shortcut_mode in tbl_pages.php

Steffen Gebert steffen at steffen-gebert.de
Sat Nov 6 20:15:29 CET 2010


The following changes will be committed in 72h if nobody objects.

Type: Bugfix

Bugtracker reference:
http://bugs.typo3.org/view.php?id=

Branches:
trunk

Problem:
#15644 introduced class constants for field shortcut_mode of table pages:
 > const SHORTCUT_MODE_NONE = 0;
 > const SHORTCUT_MODE_FIRST_SUBPAGE = 1;
 > const SHORTCUT_MODE_RANDOM_SUBPAGE = 2;
 > const SHORTCUT_MODE_PARENT_PAGE = 3;
Currently, they're not used in $TCA['pages']

Solution:
Use them

Note:
I checked shortcuts in FE and BE, both still work.

Kind regards
Steffen

-- 
Steffen Gebert
TYPO3 Core Team Member
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 16279.diff
Type: text/x-diff
Size: 858 bytes
Desc: not available
URL: <http://lists.typo3.org/pipermail/typo3-team-core/attachments/20101106/9a0510dd/attachment.diff>


More information about the TYPO3-team-core mailing list