Proyectos de Subversion Moodle

Rev

| Ultima modificación | Ver Log |

Rev Autor Línea Nro. Línea
1 efrain 1
<?php
2
// This file is part of Moodle - http://moodle.org/
3
//
4
// Moodle is free software: you can redistribute it and/or modify
5
// it under the terms of the GNU General Public License as published by
6
// the Free Software Foundation, either version 3 of the License, or
7
// (at your option) any later version.
8
//
9
// Moodle is distributed in the hope that it will be useful,
10
// but WITHOUT ANY WARRANTY; without even the implied warranty of
11
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12
// GNU General Public License for more details.
13
//
14
// You should have received a copy of the GNU General Public License
15
// along with Moodle.  If not, see <http://www.gnu.org/licenses/>.
16
 
17
/**
18
 *
19
 * @package   theme_universe
20
 * @copyright 2023 Marcin Czaja (https://rosea.io)
21
 * @license   Commercial https://themeforest.net/licenses
22
 *
23
 */
24
 
25
 
26
defined('MOODLE_INTERNAL') || die();
27
 
28
// Content Builder.
29
$page = new admin_settingpage('theme_universe_scb', get_string('scbsettings', 'theme_universe'));
30
 
31
$slotsarray = array(
32
"1" => "1",
33
"2" => "2",
34
"3" => "3",
35
"4" => "4",
36
"5" => "5",
37
"6" => "6",
38
"7" => "7",
39
"8" => "8",
40
"9" => "9",
41
"10" => "10",
42
"11" => "11",
43
"12" => "12",
44
"13" => "13",
45
"14" => "14",
46
"15" => "15",
47
"16" => "16",
48
"17" => "17",
49
"18" => "18",
50
"19" => "19",
51
"20" => "20",
52
"21" => "21",
53
"22" => "22"
54
);
55
$name = 'theme_universe/block0';
56
$title = get_string('block0', 'theme_universe');
57
$description = get_string('block0_desc', 'theme_universe');
58
$setting = new admin_setting_configselect($name, $title, $description, '2', $slotsarray);
59
$page->add($setting);
60
 
61
$name = 'theme_universe/block1';
62
$title = get_string('block1', 'theme_universe');
63
$description = get_string('block1_desc', 'theme_universe');
64
$setting = new admin_setting_configselect($name, $title, $description, '1', $slotsarray);
65
$page->add($setting);
66
 
67
$name = 'theme_universe/block2';
68
$title = get_string('block2', 'theme_universe');
69
$description = get_string('block2_desc', 'theme_universe');
70
$setting = new admin_setting_configselect($name, $title, $description, '2', $slotsarray);
71
$page->add($setting);
72
 
73
$name = 'theme_universe/block3';
74
$title = get_string('block3', 'theme_universe');
75
$description = get_string('block3_desc', 'theme_universe');
76
$setting = new admin_setting_configselect($name, $title, $description, '3', $slotsarray);
77
$page->add($setting);
78
 
79
$name = 'theme_universe/block4';
80
$title = get_string('block4', 'theme_universe');
81
$description = get_string('block4_desc', 'theme_universe');
82
$setting = new admin_setting_configselect($name, $title, $description, '4', $slotsarray);
83
$page->add($setting);
84
 
85
$name = 'theme_universe/block5';
86
$title = get_string('block5', 'theme_universe');
87
$description = get_string('block5_desc', 'theme_universe');
88
$setting = new admin_setting_configselect($name, $title, $description, '5', $slotsarray);
89
$page->add($setting);
90
 
91
$name = 'theme_universe/block6';
92
$title = get_string('block6', 'theme_universe');
93
$description = get_string('block6_desc', 'theme_universe');
94
$setting = new admin_setting_configselect($name, $title, $description, '6', $slotsarray);
95
$page->add($setting);
96
 
97
$name = 'theme_universe/block7';
98
$title = get_string('block7', 'theme_universe');
99
$description = get_string('block7_desc', 'theme_universe');
100
$setting = new admin_setting_configselect($name, $title, $description, '7', $slotsarray);
101
$page->add($setting);
102
 
103
$name = 'theme_universe/block8';
104
$title = get_string('block8', 'theme_universe');
105
$description = get_string('block8_desc', 'theme_universe');
106
$setting = new admin_setting_configselect($name, $title, $description, '8', $slotsarray);
107
$page->add($setting);
108
 
109
$name = 'theme_universe/block9';
110
$title = get_string('block9', 'theme_universe');
111
$description = get_string('block9_desc', 'theme_universe');
112
$setting = new admin_setting_configselect($name, $title, $description, '9', $slotsarray);
113
$page->add($setting);
114
 
115
$name = 'theme_universe/block10';
116
$title = get_string('block10', 'theme_universe');
117
$description = get_string('block10_desc', 'theme_universe');
118
$setting = new admin_setting_configselect($name, $title, $description, '10', $slotsarray);
119
$page->add($setting);
120
 
121
$name = 'theme_universe/block11';
122
$title = get_string('block11', 'theme_universe');
123
$description = get_string('block11_desc', 'theme_universe');
124
$setting = new admin_setting_configselect($name, $title, $description, '11', $slotsarray);
125
$page->add($setting);
126
 
127
$name = 'theme_universe/block12';
128
$title = get_string('block12', 'theme_universe');
129
$description = get_string('block12_desc', 'theme_universe');
130
$setting = new admin_setting_configselect($name, $title, $description, '12', $slotsarray);
131
$page->add($setting);
132
 
133
$name = 'theme_universe/block13';
134
$title = get_string('block13', 'theme_universe');
135
$description = get_string('block13_desc', 'theme_universe');
136
$setting = new admin_setting_configselect($name, $title, $description, '13', $slotsarray);
137
$page->add($setting);
138
 
139
$name = 'theme_universe/block14';
140
$title = get_string('block14', 'theme_universe');
141
$description = get_string('block14_desc', 'theme_universe');
142
$setting = new admin_setting_configselect($name, $title, $description, '14', $slotsarray);
143
$page->add($setting);
144
 
145
$name = 'theme_universe/block15';
146
$title = get_string('block15', 'theme_universe');
147
$description = get_string('block15_desc', 'theme_universe');
148
$setting = new admin_setting_configselect($name, $title, $description, '15', $slotsarray);
149
$page->add($setting);
150
 
151
$name = 'theme_universe/block16';
152
$title = get_string('block16', 'theme_universe');
153
$description = get_string('block16_desc', 'theme_universe');
154
$setting = new admin_setting_configselect($name, $title, $description, '16', $slotsarray);
155
$page->add($setting);
156
 
157
$name = 'theme_universe/block17';
158
$title = get_string('block17', 'theme_universe');
159
$description = get_string('block17_desc', 'theme_universe');
160
$setting = new admin_setting_configselect($name, $title, $description, '17', $slotsarray);
161
$page->add($setting);
162
 
163
$name = 'theme_universe/block18';
164
$title = get_string('block18', 'theme_universe');
165
$description = get_string('block18_desc', 'theme_universe');
166
$setting = new admin_setting_configselect($name, $title, $description, '18', $slotsarray);
167
$page->add($setting);
168
 
169
$name = 'theme_universe/block19';
170
$title = get_string('block19', 'theme_universe');
171
$description = get_string('block19_desc', 'theme_universe');
172
$setting = new admin_setting_configselect($name, $title, $description, '19', $slotsarray);
173
$page->add($setting);
174
 
175
$name = 'theme_universe/block20';
176
$title = get_string('block20', 'theme_universe');
177
$description = get_string('block20_desc', 'theme_universe');
178
$setting = new admin_setting_configselect($name, $title, $description, '1', $slotsarray);
179
$page->add($setting);
180
 
181
$name = 'theme_universe/block21';
182
$title = get_string('block21', 'theme_universe');
183
$description = get_string('block21_desc', 'theme_universe');
184
$setting = new admin_setting_configselect($name, $title, $description, '2', $slotsarray);
185
$page->add($setting);
186
 
187
$name = 'theme_universe/block22';
188
$title = get_string('block22', 'theme_universe');
189
$description = get_string('block22_desc', 'theme_universe');
190
$setting = new admin_setting_configselect($name, $title, $description, '3', $slotsarray);
191
$page->add($setting);
192
 
193
$settings->add($page);