-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.inc.php
executable file
·48 lines (39 loc) · 1.3 KB
/
config.inc.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
<?php
/**
* Language Copy
*
* @link https://github.com/nightstomp/rex_language_copy
*
* @author Thomas Göllner, Hirbod Mirjavadi info[at]nightstomp.com
*
* @package redaxo4.3.x, redaxo4.4.x, redaxo4.5.x
* @version 2.0
*/
// ADDON IDENTIFIER
$mypage = "rex_language_copy";
// ADDON VERSION
////////////////////////////////////////////////////////////////////////////////
$REX['ADDON'][$mypage]['VERSION'] = array
(
'VERSION' => 2,
'MINORVERSION' => 0,
'SUBVERSION' => 1
);
$I18N_LC = new i18n($REX['LANG'],$REX['INCLUDE_PATH']."/addons/".$mypage."/lang");
// unique id
$REX['ADDON']['rxid'][$mypage] = '1150';
// foldername
$REX['ADDON']['page'][$mypage] = $mypage;
$REX['ADDON']['version'][$mypage] = implode('.', $REX['ADDON'][$mypage]['VERSION']);
$REX['ADDON']['author'][$mypage] = 'Thomas Göllner, Hirbod Mirjavadi';
$REX['ADDON']['name'][$mypage] = $I18N_LC->msg('addon_name');
$REX['ADDON']['perm'][$mypage] = 'rex_language_copy[]';
$REX['ADDON']['perm'][$mypage] = 'admin[]';
// CREATE LANG OBJ FOR THIS ADDON
if($REX['REDAXO'] && rex_request('page') == $mypage){
$REX['ADDON']['pages'][$mypage] = array(
array('', $I18N_LC->msg('copy_content')),
array('meta_copy', $I18N_LC->msg('copy_meta'))
);
}
?>