Permalink
Browse files

MDL-28205 RSS: Fixed up notice and set better pagelayout type on mana…

…ge feeds page
  • Loading branch information...
1 parent f6f6138 commit 112c7f05b5808e7e279ee0ef936df1ffeaf36901 Sam Hemelryk committed Jul 6, 2011
Showing with 4 additions and 2 deletions.
  1. +4 −2 blocks/rss_client/managefeeds.php
@@ -59,7 +59,8 @@
$urlparams['returnurl'] = $returnurl;
$extraparams = '&returnurl=' . $returnurl;
}
-$PAGE->set_url('/blocks/rss_client/managefeeds.php', $urlparams);
+$baseurl = new moodle_url('/blocks/rss_client/managefeeds.php', $urlparams);
+$PAGE->set_url($baseurl);
// Process any actions
if ($deleterssid && confirm_sesskey()) {
@@ -78,7 +79,7 @@
$strmanage = get_string('managefeeds', 'block_rss_client');
-$PAGE->set_pagelayout('base');
+$PAGE->set_pagelayout('standard');
$PAGE->set_title($strmanage);
$PAGE->set_heading($strmanage);
@@ -93,6 +94,7 @@
$table->define_columns(array('feed', 'actions'));
$table->define_headers(array(get_string('feed', 'block_rss_client'), get_string('actions', 'moodle')));
+$table->define_baseurl($baseurl);
$table->set_attribute('cellspacing', '0');
$table->set_attribute('id', 'rssfeeds');

0 comments on commit 112c7f0

Please sign in to comment.