Skip to content
Permalink
Browse files

Merge branch 'MDL-32344_master' of git://github.com/dmonllao/moodle

  • Loading branch information...
Aparup Banerjee
Aparup Banerjee committed Aug 14, 2012
2 parents 0523293 + f813321 commit 060eaca70edb8fe9b3323aa932d925d3d8a2a003
Showing with 406 additions and 282 deletions.
  1. +8 −1 blog/edit.php
  2. +139 −279 blog/locallib.php
  3. +252 −0 blog/renderer.php
  4. +5 −1 theme/arialist/style/core.css
  5. +2 −1 theme/base/style/core.css
@@ -105,6 +105,9 @@
}
$returnurl->param('userid', $userid);
// Blog renderer.
$output = $PAGE->get_renderer('blog');
$strblogs = get_string('blogs','blog');
if ($action === 'delete'){
@@ -125,7 +128,11 @@
$PAGE->set_title("$SITE->shortname: $strblogs");
$PAGE->set_heading($SITE->fullname);
echo $OUTPUT->header();
$entry->print_html();
// Output the entry.
$entry->prepare_render();
echo $output->render($entry);
echo '<br />';
echo $OUTPUT->confirm(get_string('blogdeleteconfirm', 'blog'), new moodle_url('edit.php', $optionsyes),new moodle_url( 'index.php', $optionsno));
echo $OUTPUT->footer();

0 comments on commit 060eaca

Please sign in to comment.
You can’t perform that action at this time.