forked from olien/rex_focuspoint
-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.inc.php
executable file
·31 lines (22 loc) · 933 Bytes
/
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
<?php
$mypage = 'focuspoint';
if($REX['REDAXO']) {
$I18N->appendFile(dirname(__FILE__) . '/lang/');
$REX['ADDON']['version'][$mypage] = '0.5';
$REX['ADDON']['author'][$mypage] = 'Oliver Kreischer, Daniel Weitenauer';
$REX['ADDON']['name'][$mypage] = $I18N->msg('fp_title');
$I18N->appendFile(dirname(__FILE__) . '/lang/');
include $REX["INCLUDE_PATH"]."/addons/focuspoint/classes/class.rex_focuspoint.inc.php";
rex_register_extension('MEDIA_ADDED', 'rex_focuspoint::set_media');
rex_register_extension('MEDIA_UPDATED', 'rex_focuspoint::set_media');
rex_register_extension('MEDIA_FORM_EDIT', 'rex_focuspoint::show_form_info');
$helpPage = new rex_be_page($I18N->msg('fp_help'), array(
'page' => $mypage,
'subpage' => ''
)
);
$helpPage->setHref('index.php?page=focuspoint');
$REX['ADDON']['pages'][$mypage] = array(
$helpPage
);
}