mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
14 lines
703 B
PHP
14 lines
703 B
PHP
<?php
|
|
|
|
defined('MOODLE_INTERNAL') || die;
|
|
|
|
if ($ADMIN->fulltree) {
|
|
$settings->add(new admin_setting_configtext('block_rss_client_num_entries', get_string('numentries', 'block_rss_client'),
|
|
get_string('clientnumentries', 'block_rss_client'), 5, PARAM_INT));
|
|
|
|
$settings->add(new admin_setting_configtext('block_rss_client_timeout', get_string('timeout2', 'block_rss_client'),
|
|
get_string('timeout', 'block_rss_client'), 30, PARAM_INT));
|
|
|
|
$link ='<a href="'.$CFG->wwwroot.'/blocks/rss_client/managefeeds.php">'.get_string('feedsaddedit', 'block_rss_client').'</a>';
|
|
$settings->add(new admin_setting_heading('block_rss_addheading', '', $link));
|
|
} |