* improved - after adding a page, return to the calling url
[diogenes.git] / include / admin / edit.php
index eab2e67..510c70a 100644 (file)
@@ -61,12 +61,12 @@ $page->assign('submit',__("Submit"));
 if ($file == $globals->cssfile) {
    $page->assign('style_sheets', $globals->style_sheets);
    $page->assign('preset_style_sheet', $globals->barrel_style_sheet);
-   $page->assign('msg_set_stylesheet', __("replace current style sheet by a preset one"));
+   $page->assign('msg_set_stylesheet', __("replace by a preset style sheet"));
    $page->assign('msg_replace',__("Replace"));
 }
 
 // top toolbar
-$page->toolbar(__("Page"), $bpage->make_toolbar());
+$page->toolbar(__("Page"), $bpage->make_toolbar($page));
 $page->toolbar(__("File"), $bfile->make_toolbar(true));
 $page->display('admin-edit.tpl');
 ?>