Permalink
Browse files

MDL-20447 - bulk upload: add page heading

  • Loading branch information...
1 parent 76be2d4 commit a8206cc493966509c0737bc6c3631f71742a8775 @rwijaya rwijaya committed Jun 2, 2010
Showing with 3 additions and 0 deletions.
  1. +3 −0 files/index.php
View
@@ -114,6 +114,8 @@
$params = $file_info->get_params();
$params = array_merge($params, array('delete'=>1));
$PAGE->set_url("/files/index.php", $params);
+ $PAGE->set_title("$SITE->shortname: " .get_string('files'));
+ $PAGE->set_heading($SITE->fullname);
echo $OUTPUT->header();
echo $OUTPUT->notification(get_string('deletecheckwarning').': '.$file_info->get_visible_name());
$parent_info = $file_info->get_parent();
@@ -199,6 +201,7 @@ function html_header($context, $file_info){
$PAGE->navbar->add($strfiles);
$PAGE->set_url("/files/index.php", $file_info->get_params());
$PAGE->set_title("$SITE->shortname: $strfiles");
+ $PAGE->set_heading($SITE->fullname);
echo $OUTPUT->header();
echo "<table border=\"0\" style=\"margin-left:auto;margin-right:auto\" cellspacing=\"3\" cellpadding=\"3\" width=\"740\">";

0 comments on commit a8206cc

Please sign in to comment.