X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=admin%2Fattachments.php;h=4803ca771e00744abfeab67b1999db85882a1def;hb=927ebef2443b6dda544056e33ec84b71d2bdb6c2;hp=9540327a47a2aab99751be678356a287e9e4774b;hpb=1571869d54be48452fdbe08f25130972ff0a7b5a;p=fa-stable.git diff --git a/admin/attachments.php b/admin/attachments.php index 9540327a..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 = "