X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=admin%2Fattachments.php;h=dafa3e022fb1ea592e93b3415269b6aa5ced7ffc;hb=ebc600101ceab69c06eac4b1bd4d1782af45de05;hp=0e1b4e28a61bfacdbf9e26505eb00f2a08f3f05b;hpb=d48f1d6f613ffd8e7ab4fbc8840e0a8aab1ad3b6;p=fa-stable.git diff --git a/admin/attachments.php b/admin/attachments.php index 0e1b4e28..dafa3e02 100644 --- a/admin/attachments.php +++ b/admin/attachments.php @@ -10,7 +10,7 @@ See the License here . ***********************************************************************/ $path_to_root=".."; -$page_security = 8; +$page_security = 'SA_ATTACHDOCUMENT'; include_once($path_to_root . "/includes/session.inc"); @@ -68,7 +68,7 @@ if ($download_id != -1) $js = ""; if ($use_popup_windows) $js .= get_js_open_window(800, 500); -page(_("Attach Documents"), false, false, "", $js); +page(_($help_context = "Attach Documents"), false, false, "", $js); simple_page_mode(true); //---------------------------------------------------------------------------------------- @@ -160,7 +160,7 @@ if ($Mode == 'RESET') function viewing_controls() { - start_form(false, true); + start_form(); start_table("class='tablestyle_noborder'"); @@ -256,7 +256,7 @@ end_table(1); if (isset($_POST['filterType'])) hidden('filterType', $_POST['filterType']); -submit_add_or_update_center($selected_id == -1, '', true); +submit_add_or_update_center($selected_id == -1, '', 'both'); end_form();