Added new strings for question grade matching
[moodle-linuxchix.git] / admin / calendar.html
blob48d022c9632f1a83686332d8a7880130bee1816a
2 <form method="post" action="calendar.php">
3 <input type="hidden" name="sesskey" value="<?php echo $USER->sesskey ?>" />
4 <table class="formtable">
5 <tr>
6 <th>adminseesall:</th>
7 <td>
8 <div><?php print_string('helpadminseesall', 'admin'); ?></div>
9 <p>
10 <select name="adminseesallcourses">
11 <option value="0" <?php if(empty($CFG->calendar_adminseesall)) echo "selected='selected'"; ?>><?php print_string('adminseesownevents', 'admin'); ?></option>
12 <option value="1" <?php if(!empty($CFG->calendar_adminseesall)) echo "selected='selected'"; ?>><?php print_string('adminseesallevents', 'admin'); ?></option>
13 </select>
14 </p>
15 </td>
16 </tr>
17 <tr>
18 <th>startwday:</th>
19 <td>
20 <div><?php print_string('helpstartofweek', 'admin'); ?></div>
21 <p><?php choose_from_menu($weekdays, 'startwday', empty($CFG->calendar_startwday) ? 0 : $CFG->calendar_startwday, ''); ?></p>
22 </td>
23 </tr>
24 <tr>
25 <th>weekenddays:</th>
26 <td>
27 <div><?php print_string('helpweekenddays', 'admin'); ?></div>
28 <p>
29 <span style="white-space: nowrap;"><input type="checkbox" name="weekend[]" value="1" id="weekend1" <?php if(CALENDAR_WEEKEND & 2) echo 'checked="checked"'; ?> /> <label for="weekend1"><?php print_string('monday', 'calendar'); ?></label></span>
30 <span style="white-space: nowrap;"><input type="checkbox" name="weekend[]" value="2" id="weekend2" <?php if(CALENDAR_WEEKEND & 4) echo 'checked="checked"'; ?> /> <label for="weekend2"><?php print_string('tuesday', 'calendar'); ?></label></span>
31 <span style="white-space: nowrap;"><input type="checkbox" name="weekend[]" value="3" id="weekend3" <?php if(CALENDAR_WEEKEND & 8) echo 'checked="checked"'; ?> /> <label for="weekend3"><?php print_string('wednesday', 'calendar'); ?></label></span>
32 <span style="white-space: nowrap;"><input type="checkbox" name="weekend[]" value="4" id="weekend4" <?php if(CALENDAR_WEEKEND & 16) echo 'checked="checked"'; ?> /> <label for="weekend4"><?php print_string('thursday', 'calendar'); ?></label></span>
33 <span style="white-space: nowrap;"><input type="checkbox" name="weekend[]" value="5" id="weekend5" <?php if(CALENDAR_WEEKEND & 32) echo 'checked="checked"'; ?> /> <label for="weekend5"><?php print_string('friday', 'calendar'); ?></label></span>
34 <br />
35 <span style="white-space: nowrap;"><input type="checkbox" name="weekend[]" value="6" id="weekend6" <?php if(CALENDAR_WEEKEND & 64) echo 'checked="checked"'; ?> /> <label for="weekend6"><?php print_string('saturday', 'calendar'); ?></label></span>
36 <span style="white-space: nowrap;"><input type="checkbox" name="weekend[]" value="0" id="weekend0" <?php if(CALENDAR_WEEKEND & 1) echo 'checked="checked"'; ?> /> <label for="weekend0"><?php print_string('sunday', 'calendar'); ?></label></span>
37 </p>
38 </td>
39 </tr>
40 <tr>
41 <th>upcoming_lookahead:</th>
42 <td>
43 <div><?php print_string('helpupcominglookahead', 'admin'); ?></div>
44 <p><input type="text" name="lookahead" size="3" value="<?php echo CALENDAR_UPCOMING_DAYS; ?>" /></p>
45 </td>
46 </tr>
47 <tr>
48 <th>upcoming_maxevents:</th>
49 <td>
50 <div><?php print_string('helpupcomingmaxevents', 'admin'); ?></div>
51 <p><input type="text" name="maxevents" size="3" value="<?php echo CALENDAR_UPCOMING_MAXEVENTS; ?>" /></p>
52 </td>
53 </tr>
54 <tr>
55 <th>timezones:</th>
56 <td>
57 <div><?php print_string('helpforcetimezone', 'admin'); ?></div>
58 <p><?php choose_from_menu($timezones, 'forcetimezone', $CFG->forcetimezone, get_string('timezonenotforced', 'admin'), '', '99'); ?></p>
59 <p><a href="timezoneimport.php"><?php print_string('importtimezones', 'admin'); ?>...</a></p>
60 </td>
61 </tr>
62 <tr>
63 <td colspan="2" align="center">
64 <input type="submit" value="<?php print_string('savechanges'); ?>" />
65 </td>
66 </tr>
67 </table>
68 </form>