@@ -1,3 +1,3 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -define('_MD_A_DBUPDATED', 'データベースを更新しました') ; |
|
3 | +define('_MD_A_DBUPDATED', 'データベースを更新しました'); |
@@ -1,11 +1,11 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -define('_MD_A_MYTPLSFORM_TPLSADMIN', 'Templates') ; |
|
4 | -define('_MD_A_MYTPLSFORM_EDIT', 'Editing the template') ; |
|
5 | -define('_MD_A_MYTPLSFORM_UPDATED', 'The template is updated successfully') ; |
|
6 | -define('_MD_A_MYTPLSFORM_CREATED', 'A template is created successfully') ; |
|
7 | -define('_MD_A_MYTPLSFORM_LABEL_TPLFILE', 'Template name') ; |
|
8 | -define('_MD_A_MYTPLSFORM_BTN_MODIFYCONT', 'Reflect') ; |
|
9 | -define('_MD_A_MYTPLSFORM_BTN_MODIFYEND', 'Save and Finish') ; |
|
10 | -define('_MD_A_MYTPLSFORM_BTN_CREATE', 'Create') ; |
|
11 | -define('_MD_A_MYTPLSFORM_BTN_RESET', 'Reset') ; |
|
3 | +define('_MD_A_MYTPLSFORM_TPLSADMIN', 'Templates'); |
|
4 | +define('_MD_A_MYTPLSFORM_EDIT', 'Editing the template'); |
|
5 | +define('_MD_A_MYTPLSFORM_UPDATED', 'The template is updated successfully'); |
|
6 | +define('_MD_A_MYTPLSFORM_CREATED', 'A template is created successfully'); |
|
7 | +define('_MD_A_MYTPLSFORM_LABEL_TPLFILE', 'Template name'); |
|
8 | +define('_MD_A_MYTPLSFORM_BTN_MODIFYCONT', 'Reflect'); |
|
9 | +define('_MD_A_MYTPLSFORM_BTN_MODIFYEND', 'Save and Finish'); |
|
10 | +define('_MD_A_MYTPLSFORM_BTN_CREATE', 'Create'); |
|
11 | +define('_MD_A_MYTPLSFORM_BTN_RESET', 'Reset'); |
@@ -1,27 +1,27 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -define('_MYLANGADMIN_H3_MODULE', 'Target module') ; |
|
4 | -define('_MYLANGADMIN_CACHEUPDATED', 'The cache file has been updated') ; |
|
5 | -define('_MYLANGADMIN_BTN_UPDATE', 'Update') ; |
|
6 | -define('_MYLANGADMIN_BTN_RESET', 'Reset') ; |
|
3 | +define('_MYLANGADMIN_H3_MODULE', 'Target module'); |
|
4 | +define('_MYLANGADMIN_CACHEUPDATED', 'The cache file has been updated'); |
|
5 | +define('_MYLANGADMIN_BTN_UPDATE', 'Update'); |
|
6 | +define('_MYLANGADMIN_BTN_RESET', 'Reset'); |
|
7 | 7 | |
8 | -define('_MYLANGADMIN_TH_CONSTANTNAME', 'Constant Name') ; |
|
9 | -define('_MYLANGADMIN_TH_DEFAULTVALUE', 'Default Value') ; |
|
10 | -define('_MYLANGADMIN_TH_USERVALUE', 'User Value') ; |
|
8 | +define('_MYLANGADMIN_TH_CONSTANTNAME', 'Constant Name'); |
|
9 | +define('_MYLANGADMIN_TH_DEFAULTVALUE', 'Default Value'); |
|
10 | +define('_MYLANGADMIN_TH_USERVALUE', 'User Value'); |
|
11 | 11 | |
12 | -define('_MYLANGADMIN_NOTE_ADDEDBYMYLANG', '(a constant added by user)') ; |
|
13 | -define('_MYLANGADMIN_DT_MYLANGFILENAME', 'Partially overriding file name') ; |
|
12 | +define('_MYLANGADMIN_NOTE_ADDEDBYMYLANG', '(a constant added by user)'); |
|
13 | +define('_MYLANGADMIN_DT_MYLANGFILENAME', 'Partially overriding file name'); |
|
14 | 14 | |
15 | -define('_MYLANGADMIN_DT_CACHEFILENAME', 'Cache file name') ; |
|
16 | -define('_MYLANGADMIN_DT_CACHESTATUS', 'Caching status') ; |
|
17 | -define('_MYLANGADMIN_CREATED', 'Created') ; |
|
18 | -define('_MYLANGADMIN_NOTCREATED', 'Has not created yet') ; |
|
15 | +define('_MYLANGADMIN_DT_CACHEFILENAME', 'Cache file name'); |
|
16 | +define('_MYLANGADMIN_DT_CACHESTATUS', 'Caching status'); |
|
17 | +define('_MYLANGADMIN_CREATED', 'Created'); |
|
18 | +define('_MYLANGADMIN_NOTCREATED', 'Has not created yet'); |
|
19 | 19 | |
20 | -define('_MYLANGADMIN_ERR_MODNOLANGUAGE', 'Selected module does not have language folder') ; |
|
21 | -define('_MYLANGADMIN_ERR_MODLANGINCOMPATIBLE', 'Selected module has incompatible language structure') ; |
|
22 | -define('_MYLANGADMIN_ERR_MODEMPTYLANGDIR', 'Selected module does not have overridable language file') ; |
|
20 | +define('_MYLANGADMIN_ERR_MODNOLANGUAGE', 'Selected module does not have language folder'); |
|
21 | +define('_MYLANGADMIN_ERR_MODLANGINCOMPATIBLE', 'Selected module has incompatible language structure'); |
|
22 | +define('_MYLANGADMIN_ERR_MODEMPTYLANGDIR', 'Selected module does not have overridable language file'); |
|
23 | 23 | |
24 | -define('_MYLANGADMIN_MSG_D3LANGMANENABLED', 'The overriding system is enabled now.') ; |
|
25 | -define('_MYLANGADMIN_FMT_HOWTOENABLED3LANGMAN4XCL', 'The overriding system is disabled now. To enable it, copy "%s" into "%s"') ; |
|
26 | -define('_MYLANGADMIN_MSG_HOWTOENABLED3LANGMAN4X2', 'The overriding system cannot work with this XOOPS core except some D3 modules. If you want to enable it with this core, try to hack like this:') ; |
|
27 | -define('_MYLANGADMIN_MSG_NOTICE4ALREADYREAD', 'Since this file has been already read by system, this column means current value') ; |
|
24 | +define('_MYLANGADMIN_MSG_D3LANGMANENABLED', 'The overriding system is enabled now.'); |
|
25 | +define('_MYLANGADMIN_FMT_HOWTOENABLED3LANGMAN4XCL', 'The overriding system is disabled now. To enable it, copy "%s" into "%s"'); |
|
26 | +define('_MYLANGADMIN_MSG_HOWTOENABLED3LANGMAN4X2', 'The overriding system cannot work with this XOOPS core except some D3 modules. If you want to enable it with this core, try to hack like this:'); |
|
27 | +define('_MYLANGADMIN_MSG_NOTICE4ALREADYREAD', 'Since this file has been already read by system, this column means current value'); |
@@ -1,37 +1,37 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -define('_MI_ALTSYS_MODULENAME', 'ALTSYS') ; |
|
4 | -define('_MI_ALTSYS_MODULEDESC', 'Managing system easily') ; |
|
3 | +define('_MI_ALTSYS_MODULENAME', 'ALTSYS'); |
|
4 | +define('_MI_ALTSYS_MODULEDESC', 'Managing system easily'); |
|
5 | 5 | |
6 | 6 | // menus |
7 | -define('_MI_ALTSYS_MENU_CUSTOMBLOCKS', 'Custom Blocks') ; |
|
8 | -define('_MI_ALTSYS_MENU_NEWCUSTOMBLOCK', '(new)') ; |
|
9 | -define('_MI_ALTSYS_MENU_MYBLOCKSADMIN', 'Module Blocks') ; |
|
10 | -define('_MI_ALTSYS_MENU_MYTPLSADMIN', 'Templates') ; |
|
11 | -define('_MI_ALTSYS_MENU_COMPILEHOOKADMIN', 'Advanced Templates') ; |
|
12 | -define('_MI_ALTSYS_MENU_MYLANGADMIN', 'Languages') ; |
|
13 | -define('_MI_ALTSYS_MENU_ADVANCEDLANGADMIN', 'Advanced Languages') ; |
|
14 | -define('_MI_ALTSYS_MENU_MYAVATAR', 'Avatars') ; |
|
15 | -define('_MI_ALTSYS_MENU_MYSMILEY', 'Smileys') ; |
|
7 | +define('_MI_ALTSYS_MENU_CUSTOMBLOCKS', 'Custom Blocks'); |
|
8 | +define('_MI_ALTSYS_MENU_NEWCUSTOMBLOCK', '(new)'); |
|
9 | +define('_MI_ALTSYS_MENU_MYBLOCKSADMIN', 'Module Blocks'); |
|
10 | +define('_MI_ALTSYS_MENU_MYTPLSADMIN', 'Templates'); |
|
11 | +define('_MI_ALTSYS_MENU_COMPILEHOOKADMIN', 'Advanced Templates'); |
|
12 | +define('_MI_ALTSYS_MENU_MYLANGADMIN', 'Languages'); |
|
13 | +define('_MI_ALTSYS_MENU_ADVANCEDLANGADMIN', 'Advanced Languages'); |
|
14 | +define('_MI_ALTSYS_MENU_MYAVATAR', 'Avatars'); |
|
15 | +define('_MI_ALTSYS_MENU_MYSMILEY', 'Smileys'); |
|
16 | 16 | |
17 | 17 | // blocks |
18 | -define('_MI_ALTSYS_BNAME_ADMIN_MENU', 'Admin Menu') ; |
|
18 | +define('_MI_ALTSYS_BNAME_ADMIN_MENU', 'Admin Menu'); |
|
19 | 19 | |
20 | 20 | // configs |
21 | -define('_MI_ALTSYS_ADMINMENU_HFT', 'Rewrite admin menu') ; |
|
22 | -define('_MI_ALTSYS_ADMINMENU_HFTDSC', 'If your admin menu is broken, remove cache/adminmenu.php. This feature works only with XOOPS 2.0.x') ; |
|
23 | -define('_MI_ALTSYS_AMHFT_OPT_2COL', 'Two columns of module icons') ; |
|
24 | -define('_MI_ALTSYS_AMHFT_OPT_NOIMG', 'IMG to TEXT') ; |
|
25 | -define('_MI_ALTSYS_AMHFT_OPT_XCSTY', 'Like XoopsCube Legacy 2.1') ; |
|
21 | +define('_MI_ALTSYS_ADMINMENU_HFT', 'Rewrite admin menu'); |
|
22 | +define('_MI_ALTSYS_ADMINMENU_HFTDSC', 'If your admin menu is broken, remove cache/adminmenu.php. This feature works only with XOOPS 2.0.x'); |
|
23 | +define('_MI_ALTSYS_AMHFT_OPT_2COL', 'Two columns of module icons'); |
|
24 | +define('_MI_ALTSYS_AMHFT_OPT_NOIMG', 'IMG to TEXT'); |
|
25 | +define('_MI_ALTSYS_AMHFT_OPT_XCSTY', 'Like XoopsCube Legacy 2.1'); |
|
26 | 26 | |
27 | -define('_MI_ALTSYS_ADMINMENU_IM', 'Copy mymenu links into admin menu') ; |
|
28 | -define('_MI_ALTSYS_ADMINMENU_IMDSC', 'If your admin menu is broken, remove cache/adminmenu.php. This feature works only with XOOPS 2.0.x') ; |
|
27 | +define('_MI_ALTSYS_ADMINMENU_IM', 'Copy mymenu links into admin menu'); |
|
28 | +define('_MI_ALTSYS_ADMINMENU_IMDSC', 'If your admin menu is broken, remove cache/adminmenu.php. This feature works only with XOOPS 2.0.x'); |
|
29 | 29 | |
30 | -define('_MI_ALTSYS_ADMIN_IN_THEME', 'Theme set for admin') ; |
|
31 | -define('_MI_ALTSYS_ADMIN_IN_THEMEDSC', 'Set the name of the theme displaying admin area. Insert a line just after including common.php in mainfile.php<br />include XOOPS_TRUST_PATH.\'/libs/altsys/include/admin_in_theme.inc.php\';<br /> to enable this. This feature works only with XOOPS 2.0.x') ; |
|
30 | +define('_MI_ALTSYS_ADMIN_IN_THEME', 'Theme set for admin'); |
|
31 | +define('_MI_ALTSYS_ADMIN_IN_THEMEDSC', 'Set the name of the theme displaying admin area. Insert a line just after including common.php in mainfile.php<br />include XOOPS_TRUST_PATH.\'/libs/altsys/include/admin_in_theme.inc.php\';<br /> to enable this. This feature works only with XOOPS 2.0.x'); |
|
32 | 32 | |
33 | -define('_MI_ALTSYS_ENABLEFORCECLONE', 'Force all blocks to be clonable') ; |
|
34 | -define('_MI_ALTSYS_ENABLEFORCECLONEDSC', 'You should know there are blocks cause errors if multiple instances is displayed on a page') ; |
|
33 | +define('_MI_ALTSYS_ENABLEFORCECLONE', 'Force all blocks to be clonable'); |
|
34 | +define('_MI_ALTSYS_ENABLEFORCECLONEDSC', 'You should know there are blocks cause errors if multiple instances is displayed on a page'); |
|
35 | 35 | |
36 | 36 | define('_MI_ALTSYS_IMAGES_DIR', 'Directory for image files'); |
37 | 37 | define('_MI_ALTSYS_IMAGES_DIRDSC', 'relative path should be set in the module directory. default: images'); |
@@ -1,52 +1,52 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -define('_MD_A_MYBLOCKSADMIN_PERMUPDATED', 'Permissions updated successfully') ; |
|
4 | -define('_MD_A_MYBLOCKSADMIN_BLOCKADMIN', 'Blocks administration') ; |
|
5 | -define('_MD_A_MYBLOCKSADMIN_NAME', 'Name') ; |
|
6 | -define('_MD_A_MYBLOCKSADMIN_TITLE', 'Title') ; |
|
7 | -define('_MD_A_MYBLOCKSADMIN_SIDE', 'Side') ; |
|
8 | -define('_MD_A_MYBLOCKSADMIN_SBLEFT', 'o --- - LEFT') ; |
|
9 | -define('_MD_A_MYBLOCKSADMIN_SBRIGHT', '- --- o RIGHT') ; |
|
10 | -define('_MD_A_MYBLOCKSADMIN_CBLEFT', '- o-- - CENTERLEFT') ; |
|
11 | -define('_MD_A_MYBLOCKSADMIN_CBRIGHT', '- --o - CENTERRIGHT') ; |
|
12 | -define('_MD_A_MYBLOCKSADMIN_CBCENTER', '- -o- - CENTER') ; |
|
13 | -define('_MD_A_MYBLOCKSADMIN_VISIBLE', 'Visible') ; |
|
14 | -define('_MD_A_MYBLOCKSADMIN_WEIGHT', 'Weight') ; |
|
15 | -define('_MD_A_MYBLOCKSADMIN_VISIBLEIN', 'Visible in') ; |
|
16 | -define('_MD_A_MYBLOCKSADMIN_CONTENT', 'Content') ; |
|
17 | -define('_MD_A_MYBLOCKSADMIN_CAPT_USABLETAGS', 'Usable tags') ; |
|
18 | -define('_MD_A_MYBLOCKSADMIN_FMT_TAGRULE', '%s will be replaced into %s in the view') ; |
|
19 | -define('_MD_A_MYBLOCKSADMIN_CTYPE', 'Cutom Type') ; |
|
20 | -define('_MD_A_MYBLOCKSADMIN_EDITTPL', 'Edit the template') ; |
|
21 | -define('_MD_A_MYBLOCKSADMIN_OPTIONS', 'Block\'s option') ; |
|
22 | -define('_MD_A_MYBLOCKSADMIN_BCACHETIME', 'Cache Time') ; |
|
23 | -define('_MD_A_MYBLOCKSADMIN_ACTION', 'Action') ; |
|
24 | -define('_MD_A_MYBLOCKSADMIN_DESCRIPTION', 'Description') ; |
|
25 | -define('_MD_A_MYBLOCKSADMIN_TOPPAGE', 'Top Page') ; |
|
26 | -define('_MD_A_MYBLOCKSADMIN_ALLPAGES', 'All Pages') ; |
|
27 | -define('_MD_A_MYBLOCKSADMIN_PERMFORM', 'Permissions') ; |
|
28 | -define('_MD_A_MYBLOCKSADMIN_PERM_MADMIN', 'module admin') ; |
|
29 | -define('_MD_A_MYBLOCKSADMIN_PERM_MREAD', 'module read') ; |
|
30 | -define('_MD_A_MYBLOCKSADMIN_DBUPDATED', 'Database updated successfully') ; |
|
31 | -define('_MD_A_MYBLOCKSADMIN_FMT_REMOVEBLOCK', '%s will be removed. really OK?') ; |
|
32 | - |
|
33 | - |
|
34 | -define('_MD_A_MYBLOCKSADMIN_CLONEFORM', 'Clone the block') ; |
|
35 | -define('_MD_A_MYBLOCKSADMIN_NEWFORM', 'Create a block') ; |
|
36 | -define('_MD_A_MYBLOCKSADMIN_EDITFORM', 'Edit the block') ; |
|
37 | - |
|
38 | -define('_MD_A_MYBLOCKSADMIN_LINK_FORCECLONE', 'Force clone') ; |
|
39 | - |
|
40 | -define('_MD_A_MYBLOCKSADMIN_BTN_CLONE', 'Clone') ; |
|
41 | -define('_MD_A_MYBLOCKSADMIN_BTN_NEW', 'Create') ; |
|
42 | -define('_MD_A_MYBLOCKSADMIN_BTN_EDIT', 'Update') ; |
|
43 | - |
|
44 | -define('_MD_A_MYBLOCKSADMIN_CTYPE_HTML', 'Custom (plain HTML)') ; |
|
45 | -define('_MD_A_MYBLOCKSADMIN_CTYPE_NOSMILE', 'Custom (HTML+BBCODE+AutoLink)') ; |
|
46 | -define('_MD_A_MYBLOCKSADMIN_CTYPE_SMILE', 'Custom (HTML+BBCODE+AutoLink+Smiley)') ; |
|
47 | -define('_MD_A_MYBLOCKSADMIN_CTYPE_PHP', 'Custom (PHP eval())') ; |
|
48 | - |
|
49 | -define('_MD_A_MYBLOCKSADMIN_NOTICE4COMMONFCK', 'If you want to use WYSIWYG editor, install common/fckeditor') ; |
|
3 | +define('_MD_A_MYBLOCKSADMIN_PERMUPDATED', 'Permissions updated successfully'); |
|
4 | +define('_MD_A_MYBLOCKSADMIN_BLOCKADMIN', 'Blocks administration'); |
|
5 | +define('_MD_A_MYBLOCKSADMIN_NAME', 'Name'); |
|
6 | +define('_MD_A_MYBLOCKSADMIN_TITLE', 'Title'); |
|
7 | +define('_MD_A_MYBLOCKSADMIN_SIDE', 'Side'); |
|
8 | +define('_MD_A_MYBLOCKSADMIN_SBLEFT', 'o --- - LEFT'); |
|
9 | +define('_MD_A_MYBLOCKSADMIN_SBRIGHT', '- --- o RIGHT'); |
|
10 | +define('_MD_A_MYBLOCKSADMIN_CBLEFT', '- o-- - CENTERLEFT'); |
|
11 | +define('_MD_A_MYBLOCKSADMIN_CBRIGHT', '- --o - CENTERRIGHT'); |
|
12 | +define('_MD_A_MYBLOCKSADMIN_CBCENTER', '- -o- - CENTER'); |
|
13 | +define('_MD_A_MYBLOCKSADMIN_VISIBLE', 'Visible'); |
|
14 | +define('_MD_A_MYBLOCKSADMIN_WEIGHT', 'Weight'); |
|
15 | +define('_MD_A_MYBLOCKSADMIN_VISIBLEIN', 'Visible in'); |
|
16 | +define('_MD_A_MYBLOCKSADMIN_CONTENT', 'Content'); |
|
17 | +define('_MD_A_MYBLOCKSADMIN_CAPT_USABLETAGS', 'Usable tags'); |
|
18 | +define('_MD_A_MYBLOCKSADMIN_FMT_TAGRULE', '%s will be replaced into %s in the view'); |
|
19 | +define('_MD_A_MYBLOCKSADMIN_CTYPE', 'Cutom Type'); |
|
20 | +define('_MD_A_MYBLOCKSADMIN_EDITTPL', 'Edit the template'); |
|
21 | +define('_MD_A_MYBLOCKSADMIN_OPTIONS', 'Block\'s option'); |
|
22 | +define('_MD_A_MYBLOCKSADMIN_BCACHETIME', 'Cache Time'); |
|
23 | +define('_MD_A_MYBLOCKSADMIN_ACTION', 'Action'); |
|
24 | +define('_MD_A_MYBLOCKSADMIN_DESCRIPTION', 'Description'); |
|
25 | +define('_MD_A_MYBLOCKSADMIN_TOPPAGE', 'Top Page'); |
|
26 | +define('_MD_A_MYBLOCKSADMIN_ALLPAGES', 'All Pages'); |
|
27 | +define('_MD_A_MYBLOCKSADMIN_PERMFORM', 'Permissions'); |
|
28 | +define('_MD_A_MYBLOCKSADMIN_PERM_MADMIN', 'module admin'); |
|
29 | +define('_MD_A_MYBLOCKSADMIN_PERM_MREAD', 'module read'); |
|
30 | +define('_MD_A_MYBLOCKSADMIN_DBUPDATED', 'Database updated successfully'); |
|
31 | +define('_MD_A_MYBLOCKSADMIN_FMT_REMOVEBLOCK', '%s will be removed. really OK?'); |
|
32 | + |
|
33 | + |
|
34 | +define('_MD_A_MYBLOCKSADMIN_CLONEFORM', 'Clone the block'); |
|
35 | +define('_MD_A_MYBLOCKSADMIN_NEWFORM', 'Create a block'); |
|
36 | +define('_MD_A_MYBLOCKSADMIN_EDITFORM', 'Edit the block'); |
|
37 | + |
|
38 | +define('_MD_A_MYBLOCKSADMIN_LINK_FORCECLONE', 'Force clone'); |
|
39 | + |
|
40 | +define('_MD_A_MYBLOCKSADMIN_BTN_CLONE', 'Clone'); |
|
41 | +define('_MD_A_MYBLOCKSADMIN_BTN_NEW', 'Create'); |
|
42 | +define('_MD_A_MYBLOCKSADMIN_BTN_EDIT', 'Update'); |
|
43 | + |
|
44 | +define('_MD_A_MYBLOCKSADMIN_CTYPE_HTML', 'Custom (plain HTML)'); |
|
45 | +define('_MD_A_MYBLOCKSADMIN_CTYPE_NOSMILE', 'Custom (HTML+BBCODE+AutoLink)'); |
|
46 | +define('_MD_A_MYBLOCKSADMIN_CTYPE_SMILE', 'Custom (HTML+BBCODE+AutoLink+Smiley)'); |
|
47 | +define('_MD_A_MYBLOCKSADMIN_CTYPE_PHP', 'Custom (PHP eval())'); |
|
48 | + |
|
49 | +define('_MD_A_MYBLOCKSADMIN_NOTICE4COMMONFCK', 'If you want to use WYSIWYG editor, install common/fckeditor'); |
|
50 | 50 | |
51 | 51 | |
52 | 52 | // Group permission phrases |
@@ -1,3 +1,3 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -define('_MD_A_DBUPDATED', 'Database updated successfully') ; |
|
3 | +define('_MD_A_DBUPDATED', 'Database updated successfully'); |
@@ -1,7 +1,7 @@ discard block |
||
1 | 1 | <?php |
2 | 2 | |
3 | -require_once XOOPS_ROOT_PATH.'/class/template.php' ; |
|
4 | -require_once XOOPS_TRUST_PATH.'/libs/altsys/include/altsys_functions.php' ; |
|
3 | +require_once XOOPS_ROOT_PATH.'/class/template.php'; |
|
4 | +require_once XOOPS_TRUST_PATH.'/libs/altsys/include/altsys_functions.php'; |
|
5 | 5 | |
6 | 6 | class D3Tpl extends XoopsTpl |
7 | 7 | { |
@@ -10,13 +10,13 @@ discard block |
||
10 | 10 | // public function D3Tpl() |
11 | 11 | public function __construct() |
12 | 12 | { |
13 | - parent::__construct() ; |
|
14 | - if (in_array(altsys_get_core_type(), array( ALTSYS_CORE_TYPE_X20S, ALTSYS_CORE_TYPE_X23P ))) { |
|
15 | - array_unshift($this->plugins_dir, XOOPS_TRUST_PATH.'/libs/altsys/smarty_plugins') ; |
|
13 | + parent::__construct(); |
|
14 | + if (in_array(altsys_get_core_type(), array(ALTSYS_CORE_TYPE_X20S, ALTSYS_CORE_TYPE_X23P))) { |
|
15 | + array_unshift($this->plugins_dir, XOOPS_TRUST_PATH.'/libs/altsys/smarty_plugins'); |
|
16 | 16 | } |
17 | 17 | |
18 | 18 | // for RTL users |
19 | - @define('_GLOBAL_LEFT', @_ADM_USE_RTL == 1 ? 'right' : 'left') ; |
|
20 | - @define('_GLOBAL_RIGHT', @_ADM_USE_RTL == 1 ? 'left' : 'right') ; |
|
19 | + @define('_GLOBAL_LEFT', @_ADM_USE_RTL == 1 ? 'right' : 'left'); |
|
20 | + @define('_GLOBAL_RIGHT', @_ADM_USE_RTL == 1 ? 'left' : 'right'); |
|
21 | 21 | } |
22 | 22 | } |
@@ -1,12 +1,12 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -if (! defined('XOOPS_TRUST_PATH')) { |
|
4 | - die('set XOOPS_TRUST_PATH in mainfile.php') ; |
|
3 | +if (!defined('XOOPS_TRUST_PATH')) { |
|
4 | + die('set XOOPS_TRUST_PATH in mainfile.php'); |
|
5 | 5 | } |
6 | 6 | |
7 | -$mydirname = basename(dirname(__DIR__)) ; |
|
8 | -$mydirpath = dirname(__DIR__) ; |
|
7 | +$mydirname = basename(dirname(__DIR__)); |
|
8 | +$mydirpath = dirname(__DIR__); |
|
9 | 9 | // require $mydirpath.'/mytrustdirname.php' ; // set $mytrustdirname |
10 | -$mytrustdirname = 'altsys' ; |
|
10 | +$mytrustdirname = 'altsys'; |
|
11 | 11 | |
12 | -require XOOPS_TRUST_PATH.'/libs/'.$mytrustdirname.'/admin_menu.php' ; |
|
12 | +require XOOPS_TRUST_PATH.'/libs/'.$mytrustdirname.'/admin_menu.php'; |
@@ -1,13 +1,13 @@ |
||
1 | 1 | <?php |
2 | 2 | |
3 | -require '../../../mainfile.php' ; |
|
4 | -if (! defined('XOOPS_TRUST_PATH')) { |
|
5 | - die('set XOOPS_TRUST_PATH in mainfile.php') ; |
|
3 | +require '../../../mainfile.php'; |
|
4 | +if (!defined('XOOPS_TRUST_PATH')) { |
|
5 | + die('set XOOPS_TRUST_PATH in mainfile.php'); |
|
6 | 6 | } |
7 | 7 | |
8 | -$mydirname = basename(dirname(__DIR__)) ; |
|
9 | -$mydirpath = dirname(__DIR__) ; |
|
8 | +$mydirname = basename(dirname(__DIR__)); |
|
9 | +$mydirpath = dirname(__DIR__); |
|
10 | 10 | // require $mydirpath.'/mytrustdirname.php' ; // set $mytrustdirname |
11 | -$mytrustdirname = 'altsys' ; |
|
11 | +$mytrustdirname = 'altsys'; |
|
12 | 12 | |
13 | -require XOOPS_TRUST_PATH.'/libs/'.$mytrustdirname.'/index.php' ; |
|
13 | +require XOOPS_TRUST_PATH.'/libs/'.$mytrustdirname.'/index.php'; |