X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=admin%2Fattachments.php;h=4803ca771e00744abfeab67b1999db85882a1def;hb=927ebef2443b6dda544056e33ec84b71d2bdb6c2;hp=2f41d80c14cc15cef973f5dedb2e4b3b0b1232e9;hpb=0b63d898491b6577a5a5bf90e771dca0dcbbcf1f;p=fa-stable.git diff --git a/admin/attachments.php b/admin/attachments.php index 2f41d80c..4803ca77 100644 --- a/admin/attachments.php +++ b/admin/attachments.php @@ -69,7 +69,7 @@ if ($download_id != -1) } $js = ""; -if ($use_popup_windows) +if ($SysPrefs->use_popup_windows) $js .= get_js_open_window(800, 500); page(_($help_context = "Attach Documents"), false, false, "", $js); @@ -94,7 +94,7 @@ if ($Mode == 'ADD_ITEM' || $Mode == 'UPDATE_ITEM') if (!file_exists($dir)) { mkdir ($dir,0777); - $index_file = ""; + $index_file = "