forked from juho-jaakkola/moodle-block_elgg_community
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsettings.php
34 lines (29 loc) · 983 Bytes
/
settings.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
<?php
$options = array(
'all' => get_string('allcourses', 'block_course_list'),
'own' => get_string('owncourses', 'block_course_list')
);
$settings->add(new admin_setting_configtext(
'block_elgg_community_elgg_url',
get_string('elgg_url', 'block_elgg_community'),
get_string('config_elgg_url', 'block_elgg_community'),
''
));
$settings->add(new admin_setting_configtext(
'block_elgg_community_public',
get_string('public_key', 'block_elgg_community'),
get_string('config_public_key', 'block_elgg_community'),
''
));
$settings->add(new admin_setting_configtext(
'block_elgg_community_secret',
get_string('secret_key', 'block_elgg_community'),
get_string('config_secret_key', 'block_elgg_community'),
''
));
$settings->add(new admin_setting_configtext(
'block_elgg_community_name',
get_string('community_name', 'block_elgg_community'),
get_String('config_community_name', 'block_elgg_community'),
''
));