diff --git a/admin/bm.php b/admin/bm.php index d539de3..b31ce8a 100644 --- a/admin/bm.php +++ b/admin/bm.php @@ -61,7 +61,13 @@ if ($user->isAdmin()) { $_POST["description"] = strip_tags($_POST["description"]); if ($tumble->addPost($_POST)) { - header("Location: ".$conf->urlGelato."/admin/index.php?added=true"); + //header("Location: ".$conf->urlGelato."/admin/index.php?added=true"); + //die(); + $input = array("{type}"); + $output = array("1"); + + $template->cargarPlantilla($input, $output, "template_bm"); + $template->mostrarPlantilla(); die(); } else { header("Location: ".$conf->urlGelato."/admin/index.php?error=2&des=".$this->merror); @@ -146,7 +152,7 @@ if ($user->isAdmin()) { ?>
-