Project

General

Profile

Actions

Bug #23505

closed

Replace magic numbers for shortcut_mode with class constants

Added by Steffen Gebert about 14 years ago. Updated over 13 years ago.

Status:
Closed
Priority:
Should have
Category:
-
Target version:
-
Start date:
2010-09-05
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.5
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

Option shortcut_mode uses magic numbers, replace them with class constants.

Add to tslib_fe:

const SHORTCUT_MODE_NONE = 0;
const SHORTCUT_MODE_FIRST_SUBPAGE = 1;
const SHORTCUT_MODE_RANDOM_SUBPAGE = 2;
const SHORTCUT_MODE_PARENT = 3;

(issue imported from #M15644)


Files

15644.diff (3.84 KB) 15644.diff Administrator Admin, 2010-09-05 21:04
15644_v3.diff (2.5 KB) 15644_v3.diff Administrator Admin, 2010-10-13 11:04
Actions

Also available in: Atom PDF