MDL-11082 Improved groups upgrade performance 1.8x -> 1.9; thanks Eloy for telling...
[moodle-pu.git] / mod / data / config.html
blob422f822d84d79859e63662ba3220a3d2526db7ab
1 <form method="post" action="module.php" id="form">
2 <div>
3 <input type="hidden" name="sesskey" value="<?php echo $USER->sesskey ?>" />
5 <table cellpadding="9" cellspacing="0" >
7 <tr valign="top">
8 <td align="right">data_enablerssfeeds:</td>
9 <td>
10 <?php
11 if (!isset($CFG->enablerssfeeds) || $CFG->enablerssfeeds == 0) {
12 echo get_string('rssglobaldisabled', 'data');
13 } else {
14 unset($options);
15 $options[0] = get_string("no");
16 $options[1] = get_string("yes");
18 $data_enablerssfeeds = false;
19 if (isset($CFG->data_enablerssfeeds) && $CFG->data_enablerssfeeds == 1) {
20 $data_enablerssfeeds = true;
24 choose_from_menu ($options, "data_enablerssfeeds", $data_enablerssfeeds, "", "", "");
27 </td>
28 <td>
29 <?php
30 print_string("configenablerssfeeds","data");
31 if (!isset($CFG->enablerssfeeds) || $CFG->enablerssfeeds == 0) {
32 print_string("configenablerssfeedsdisabled");
35 </td>
36 </tr>
38 <tr>
39 <td colspan="3" align="center">
40 <input type="submit" value="<?php print_string("savechanges") ?>" /></td>
41 </tr>
42 </table>
43 </div>
44 </form>