* improved - after adding a page, return to the calling url
[diogenes.git] / include / admin / compose.php
index 76e0d8e..ba279a9 100644 (file)
@@ -58,7 +58,7 @@ $page->assign('file_content',chunk_split(base64_encode($protdoc)));
 $page->assign('msg_log',__("log message"));
 
 // build toolbars
-$page->toolbar(__("Page"), $bpage->make_toolbar());
+$page->toolbar(__("Page"), $bpage->make_toolbar($page));
 $page->toolbar(__("File"), $bfile->make_toolbar(true));
 
 $auxpage = new DiogenesBarrel("/".$bbarrel->alias."/". $bpage->getLocation());