XCL Web Application Platform 2.5.0
The XoopsCube Legacy Project
Loading...
Searching...
No Matches
definition.inc.php
1<?php
10// Enum
11const XOOPS_SIDEBLOCK_LEFT = 0;
12const XOOPS_SIDEBLOCK_RIGHT = 1;
13const XOOPS_SIDEBLOCK_BOTH = 2;
14const XOOPS_CENTERBLOCK_LEFT = 3;
15const XOOPS_CENTERBLOCK_RIGHT = 4;
16const XOOPS_CENTERBLOCK_CENTER = 5;
17const XOOPS_CENTERBLOCK_ALL = 6;
18const XOOPS_BLOCK_INVISIBLE = 0;
19const XOOPS_BLOCK_VISIBLE = 1;
20
21const XOOPS_MATCH_START = 0;
22const XOOPS_MATCH_END = 1;
23const XOOPS_MATCH_EQUAL = 2;
24const XOOPS_MATCH_CONTAIN = 3;
25
26// Smarty
27const SMARTY_DIR = XOOPS_TRUST_PATH . "/libs/smarty/";
28const XOOPS_COMPILE_PATH = XOOPS_TRUST_PATH . "/templates_c";
29
30// Path
31const XOOPS_CACHE_PATH = XOOPS_TRUST_PATH . "/cache";
32const XOOPS_MODULE_PATH = XOOPS_ROOT_PATH . "/modules";
33const XOOPS_UPLOAD_PATH = XOOPS_ROOT_PATH . "/uploads";
34const XOOPS_THEME_PATH = XOOPS_ROOT_PATH . "/themes";
35
36// Library
37const LIBRARY_PATH = XOOPS_TRUST_PATH . "/libs";
38const PEAR_PATH = XOOPS_TRUST_PATH . "/PEAR";
39const VENDOR_PATH = XOOPS_TRUST_PATH . "/vendor";
40
41// URL
42const XOOPS_MODULE_URL = XOOPS_URL . "/modules";
43const XOOPS_UPLOAD_URL = XOOPS_URL . "/uploads";
44const XOOPS_THEME_URL = XOOPS_URL . "/themes";
45
46const XOOPS_LEGACY_PROC_NAME = "legacy";
47
48// USER
49const XCUBE_CORE_USER_MODULE_NAME = "user";
50const XCUBE_CORE_USER_UTILS_CLASS = "UserAccountUtils"; // not use
51
52
53const XCUBE_CORE_PM_MODULE_NAME = "pm";
54
55const LEGACY_SYSTEM_COMMENT = 14;
56
57//
58// Name of the render-system used by the embedded template of XoopsForm.
59//
60const XOOPSFORM_DEPENDENCE_RENDER_SYSTEM = 'Legacy_RenderSystem';