<tr valign=top>
<td align=right><p>langmenu:</td>
<td>
- <?php
+ <?php
unset($options);
$options[0] = get_string("no");
$options[1] = get_string("yes");
<tr valign=top>
<td align=right><p>gdversion:</td>
<td>
- <?php
+ <?php
unset($options);
$options[0] = get_string("gdnot");
$options[1] = get_string("gd1");
<tr valign=top>
<td align=right><p>htmleditor:</td>
<td>
- <?php
+ <?php
unset($options);
$options[0] = get_string("allownot");
$options[1] = get_string("allow");
<tr valign=top>
<td align=right><p>maxeditingtime:</td>
<td>
- <?php
+ <?php
unset($options);
$options[3600] = get_string("numminutes", "", 60);
$options[2700] = get_string("numminutes", "", 45);
<tr valign=top>
<td align=right><p>longtimenosee:</td>
<td>
- <?php
+ <?php
unset($options);
$options[1000] = get_string("numdays", "", 1000);
$options[365] = get_string("numdays", "", 365);
<tr valign=top>
<td align=right><p>deleteunconfirmed:</td>
<td>
- <?php
+ <?php
unset($options);
$options[0] = get_string("never");
$options[168] = get_string("numdays", "", 7);
<tr valign=top>
<td align=right><p>loglifetime:</td>
<td>
- <?php
+ <?php
unset($options);
$options[0] = get_string("neverdeletelogs");
$options[1000] = get_string("numdays", "", 1000);
<tr valign=top>
<td align=right><p>sessiontimeout:</td>
<td>
- <?php
+ <?php
unset($options);
$options[14400] = get_string("numhours", "", 4);
$options[10800] = get_string("numhours", "", 3);
<tr valign=top>
<td align=right><p>debug:</td>
<td>
- <?php
+ <?php
unset($options);
$options[7] = get_string("no");
$options[15] = get_string("yes");
<tr valign=top>
<td align=right><p>framename:</td>
<td>
- <?php
+ <?php
if (empty($config->framename)) {
$config->framename = "_top";
}
<tr valign=top>
<td align=right><p>secureforms:</td>
<td>
- <?php
+ <?php
unset($options);
$options[0] = get_string("no");
$options[1] = get_string("yes");
<tr valign=top>
<td align=right><p>teacherassignteachers:</td>
<td>
- <?php
+ <?php
unset($options);
$options[0] = get_string("no");
$options[1] = get_string("yes");
<tr valign=top>
<td align=right><p>allowunenroll:</td>
<td>
- <?php
+ <?php
unset($options);
$options[0] = get_string("no");
$options[1] = get_string("yes");
<tr valign=top>
<td align=right><p>maxbytes:</td>
<td>
- <?php
+ <?php
$options = get_max_upload_sizes();
choose_from_menu ($options, "maxbytes", $config->maxbytes, "");
?>
<tr valign=top>
<td align=right><p>fullnamedisplay:</td>
<td>
- <?php
+ <?php
unset($options);
$options['language'] = get_string('language');
$options['firstname lastname'] = get_string('firstname') . ' + ' . get_string('lastname');
<tr valign=top>
<td align=right><p>extendedusernamechars:</td>
<td>
- <?php
+ <?php
unset($options);
$options[0] = get_string("no");
$options[1] = get_string("yes");
<tr valign=top>
<td align=right><p>forcelogin:</td>
<td>
- <?php
+ <?php
unset($options);
$options[0] = get_string('no');
$options[1] = get_string('yes');
<tr valign=top>
<td align=right><p>forceloginforprofiles:</td>
<td>
- <?php
+ <?php
unset($options);
$options[0] = get_string('no');
$options[1] = get_string('yes');
<tr valign=top>
<td align=right><p>opentogoogle:</td>
<td>
- <?php
+ <?php
unset($options);
$options[0] = get_string("no");
$options[1] = get_string("yes");
?>
</td>
<td>
- <?php
+ <?php
print_string("configenablerssfeeds");
//Check for required functions...
if(!function_exists('utf8_encode')) {
echo "<font color=\"red\"> You need to add XML support to your PHP installation.</font>";
- }
+ }
+ ?>
+ </td>
+</tr>
+
+<tr valign=top>
+ <td align=right><p>digestmailtime:</td>
+ <td>
+ <?php
+ $hours = array();
+ for ($i=0; $i<=23; $i++) {
+ $hours[$i] = sprintf("%02d",$i);
+ }
+ choose_from_menu($hours, 'digestmailtime', $config->digestmailtime, "");
+ ?>
+ </td>
+ <td>
+ <?php
+ print_string('configdigestmailtime');
?>
</td>
</tr>
$string['configcountry'] = 'If you set a country here, then this country will be selected by default on new user accounts. To force users to choose a country, just leave this unset.';
$string['configdebug'] = 'If you turn this on, then PHP\'s error_reporting will be increased so that more warnings are printed. This is only useful for developers.';
$string['configdeleteunconfirmed'] = 'If you are using email authentication, this is the period within which a response will be accepted from users. After this period, old unconfirmed accounts are deleted.';
+$string['configdigestmailtime'] = 'People who choose to have emails sent to them in digest form will be emailed the digest daily. This setting controls which time of day the daily mail will be sent (the next cron that runs after this hour will send it).';
$string['configenablerssfeeds'] = 'This switch will enable RSS feeds from across the site. To actually see any change you will need to enable RSS feeds in the individual modules too - go to the Modules settings under Admin Configuration.';
$string['configenablerssfeedsdisabled'] = ' It is not available because RSS feeds are disabled in all the Site. To enable them, go to the Variables settings under Admin Configuration.';
$string['configerrorlevel'] = 'Choose the amount of PHP warnings that you want to be displayed. Normal is usually the best choice.';