Skip to content
Fetching contributors…
Cannot retrieve contributors at this time
48 lines (46 sloc) 1.83 KB
<?php
require_once($CFG->dirroot .'/rss/rsslib.php');
?>
<table cellpadding="9" cellspacing="0">
<tr valign="top">
<td align="right"><p>block_rss_client_num_entries:</td>
<td>
<input name="block" type="hidden" value="<?php echo intval($_REQUEST['block']); ?>" />
<input name="block_rss_client_num_entries" type="text" size="5" value="<?php
if(isset($CFG->block_rss_client_num_entries)) {
p($CFG->block_rss_client_num_entries);
} else {
p(5);
} ?>" />
</td>
<td>
<?php print_string('block_rss_client_num_entries', 'block_rss_client') ?>
</td>
</tr>
<tr valign="top">
<td align="right"><p>block_rss_client_submitters:</td>
<td>
<?php if (!empty($CFG->block_rss_client_submitters)) {
$selected = $CFG->block_rss_client_submitters;
} else {
$selected = '0';
$CFG->block_rss_client_submitters = 0;
}
$options = array ( SUBMITTERS_ALL_ACCOUNT_HOLDERS => get_string('everybody'),
SUBMITTERS_ADMIN_ONLY => get_string('administrators'),
SUBMITTERS_ADMIN_AND_TEACHER => get_string('administratorsandteachers') );
choose_from_menu ($options, 'block_rss_client_submitters', $selected);
?>
</td>
<td>
<?php print_string('block_rss_submitters', 'block_rss_client') ?>
</td>
</tr>
<tr>
<td colspan="3" align="center">
<input type="submit" value="<?php print_string('savechanges') ?>"></td>
</tr>
<tr>
<td colspan="3" align="center"><a href=" <?php echo $CFG->wwwroot; ?>/blocks/rss_client/block_rss_client_action.php?courseid=<?php echo $courseid; ?>"><?php print_string('block_rss_feeds_add_edit', 'block_rss_client')?></a></center><br /><br />
</td>
</table>
Jump to Line
Something went wrong with that request. Please try again.