2 <form method=
"post" action=
"calendar.php">
3 <input type=
"hidden" name=
"sesskey" value=
"<?php echo $USER->sesskey ?>" />
4 <table
class="formtable">
8 <div
><?php
print_string('helpadminseesall', 'admin'); ?></div>
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>
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>
27 <div><?php print_string('helpweekenddays', 'admin'); ?></div>
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>
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>
41 <th>upcoming_lookahead:
</th>
43 <div><?php print_string('helpupcominglookahead', 'admin'); ?></div>
44 <p><input type=
"text" name=
"lookahead" size=
"3" value=
"<?php echo CALENDAR_UPCOMING_DAYS; ?>" /></p
>
48 <th
>upcoming_maxevents
:</th
>
50 <div
><?php
print_string('helpupcomingmaxevents', 'admin'); ?></div>
51 <p><input type=
"text" name=
"maxevents" size=
"3" value=
"<?php echo CALENDAR_UPCOMING_MAXEVENTS; ?>" /></p
>
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>
63 <td colspan=
"2" align=
"center">
64 <input type=
"submit" value=
"<?php print_string('savechanges'); ?>" />