Proyectos de Subversion Moodle

Rev

Rev 1 | Mostrar el archivo completo | | | Autoría | Ultima modificación | Ver Log |

Rev 1 Rev 1441
Línea 64... Línea 64...
64
 
64
 
65
$name = 'theme_universe/topbarcustomhtml';
65
$name = 'theme_universe/topbarcustomhtml';
66
$title = get_string('topbarcustomhtml', 'theme_universe');
66
$title = get_string('topbarcustomhtml', 'theme_universe');
67
$description = get_string('topbarcustomhtml_desc', 'theme_universe', $a);
67
$description = get_string('topbarcustomhtml_desc', 'theme_universe', $a);
68
$default = '';
68
$default = '';
69
$setting = new admin_setting_confightmleditor($name, $title, $description, $default);
69
$setting = new admin_setting_configtextarea($name, $title, $description, $default);
Línea 70... Línea 70...
70
$page->add($setting);
70
$page->add($setting);
71
 
71
 
72
// Custom Logo.
72
// Custom Logo.
Línea 154... Línea 154...
154
$description = get_string('color_desc', 'theme_universe');
154
$description = get_string('color_desc', 'theme_universe');
155
$setting = new admin_setting_configcolourpicker($name, $title, $description, '');
155
$setting = new admin_setting_configcolourpicker($name, $title, $description, '');
156
$setting->set_updatedcallback('theme_reset_all_caches');
156
$setting->set_updatedcallback('theme_reset_all_caches');
157
$page->add($setting);
157
$page->add($setting);
Línea 158... Línea 158...
158
 
158
 
159
$name = 'theme_universe/colortopbartext';
159
// $name = 'theme_universe/colortopbartext';
-
 
160
// $title = get_string('colortopbartext', 'theme_universe');
-
 
161
// $description = get_string('color_desc', 'theme_universe');
-
 
162
// $setting = new admin_setting_configcolourpicker($name, $title, $description, '');
-
 
163
// $setting->set_updatedcallback('theme_reset_all_caches');
-
 
164
// $page->add($setting);
-
 
165
 
-
 
166
// $name = 'theme_universe/dmcolortopbartext';
160
$title = get_string('colortopbartext', 'theme_universe');
167
// $title = get_string('dmcolortopbartext', 'theme_universe');
161
$description = get_string('color_desc', 'theme_universe');
168
// $description = get_string('color_desc', 'theme_universe');
162
$setting = new admin_setting_configcolourpicker($name, $title, $description, '');
169
// $setting = new admin_setting_configcolourpicker($name, $title, $description, '');
163
$setting->set_updatedcallback('theme_reset_all_caches');
170
// $setting->set_updatedcallback('theme_reset_all_caches');
Línea 164... Línea 171...
164
$page->add($setting);
171
// $page->add($setting);
165
 
172
 
166
$name = 'theme_universe/colortopbarbtntext';
173
$name = 'theme_universe/colortopbarbtntext';
167
$title = get_string('colortopbarbtntext', 'theme_universe');
174
$title = get_string('colortopbarbtntext', 'theme_universe');
Línea 182... Línea 189...
182
$description = get_string('color_desc', 'theme_universe');
189
$description = get_string('color_desc', 'theme_universe');
183
$setting = new admin_setting_configcolourpicker($name, $title, $description, '');
190
$setting = new admin_setting_configcolourpicker($name, $title, $description, '');
184
$setting->set_updatedcallback('theme_reset_all_caches');
191
$setting->set_updatedcallback('theme_reset_all_caches');
185
$page->add($setting);
192
$page->add($setting);
Línea -... Línea 193...
-
 
193
 
-
 
194
$name = 'theme_universe/dmcolortopbarbtntext';
-
 
195
$title = get_string('dmcolortopbarbtntext', 'theme_universe');
-
 
196
$description = get_string('color_desc', 'theme_universe');
-
 
197
$setting = new admin_setting_configcolourpicker($name, $title, $description, '');
-
 
198
$setting->set_updatedcallback('theme_reset_all_caches');
-
 
199
$page->add($setting);
-
 
200
 
-
 
201
$name = 'theme_universe/dmcolortopbarbtnhover';
-
 
202
$title = get_string('dmcolortopbarbtnhover', 'theme_universe');
-
 
203
$description = get_string('color_desc', 'theme_universe');
-
 
204
$setting = new admin_setting_configcolourpicker($name, $title, $description, '');
-
 
205
$setting->set_updatedcallback('theme_reset_all_caches');
-
 
206
$page->add($setting);
-
 
207
 
-
 
208
$name = 'theme_universe/dmcolortopbarbtnhovertext';
-
 
209
$title = get_string('dmcolortopbarbtnhovertext', 'theme_universe');
-
 
210
$description = get_string('color_desc', 'theme_universe');
-
 
211
$setting = new admin_setting_configcolourpicker($name, $title, $description, '');
-
 
212
$setting->set_updatedcallback('theme_reset_all_caches');
-
 
213
$page->add($setting);
186
 
214
 
187
// Additional Button next to the Log in button.
215
// Additional Button next to the Log in button.
188
$name = 'theme_universe/hadditionalbtn';
216
$name = 'theme_universe/hadditionalbtn';
189
$heading = get_string('hadditionalbtn', 'theme_universe');
217
$heading = get_string('hadditionalbtn', 'theme_universe');
190
$title = get_string('hadditionalbtn_desc', 'theme_universe');
218
$title = get_string('hadditionalbtn_desc', 'theme_universe');