Permalink
Browse files

Merge branch 'wip-MDL-28205-m20' of git://github.com/samhemelryk/mood…

…le into MOODLE_20_STABLE
  • Loading branch information...
2 parents 2b98c3d + cca30c4 commit 393d636e259f92040d8d8f3102534aa0da69e545 @skodak skodak committed Jul 18, 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 393d636

Please sign in to comment.