Skip to content

Commit

Permalink
MDL-20447 - bulk upload: add page heading
Browse files Browse the repository at this point in the history
  • Loading branch information
rwijaya committed Jun 2, 2010
1 parent 76be2d4 commit a8206cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions files/index.php
Expand Up @@ -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();
Expand Down Expand Up @@ -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\">";
Expand Down

0 comments on commit a8206cc

Please sign in to comment.