Issue Bug Closed

#23505Replace magic numbers for shortcut_mode with class constants

Steffen Gebert 09/05/10, 18:13 updated 03/29/11, 17:44

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)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.