diff --git a/ajax.php b/REMOVEajax.php similarity index 100% rename from ajax.php rename to REMOVEajax.php diff --git a/admin/ticket_template_details.php b/admin/ticket_template_details.php index 5834b790..8cd66b49 100644 --- a/admin/ticket_template_details.php +++ b/admin/ticket_template_details.php @@ -137,9 +137,9 @@ $sql_task_templates = mysqli_query($mysqli, "SELECT * FROM task_templates WHERE - + - + + @@ -831,7 +831,7 @@ ob_start(); $file_created_at = nullable_htmlentities($row['file_created_at']); ?> - " target="_blank" >$file_description"; ?> + " target="_blank" >$file_description"; ?> diff --git a/user/ajax/ajax_asset_edit.php b/user/ajax/ajax_asset_edit.php index aca0aaa6..f2b725ae 100644 --- a/user/ajax/ajax_asset_edit.php +++ b/user/ajax/ajax_asset_edit.php @@ -438,7 +438,7 @@ ob_start();
- asset_photo"> + asset_photo">
diff --git a/user/ajax/ajax_contact_details.php b/user/ajax/ajax_contact_details.php index 2043b0d0..ed749f44 100644 --- a/user/ajax/ajax_contact_details.php +++ b/user/ajax/ajax_contact_details.php @@ -221,7 +221,7 @@ ob_start();
- contact_photo"> + contact_photo"> @@ -773,7 +773,7 @@ ob_start(); -
+
diff --git a/user/ajax/ajax_contact_edit.php b/user/ajax/ajax_contact_edit.php index 9eb42eb0..714777b8 100644 --- a/user/ajax/ajax_contact_edit.php +++ b/user/ajax/ajax_contact_edit.php @@ -282,7 +282,7 @@ ob_start();
- contact_photo"> + contact_photo"> @@ -352,7 +352,7 @@ ob_start(); function generatePassword(type, id) { // Send a GET request to ajax.php as ajax.php?get_readable_pass=true jQuery.get( - "../ajax.php", { + "ajax.php", { get_readable_pass: 'true' }, function(data) { diff --git a/user/ajax/ajax_expense_edit.php b/user/ajax/ajax_expense_edit.php index 84a06a24..3110efe5 100644 --- a/user/ajax/ajax_expense_edit.php +++ b/user/ajax/ajax_expense_edit.php @@ -230,7 +230,7 @@ ob_start();
- " + " download=""> diff --git a/user/ajax/ajax_location_edit.php b/user/ajax/ajax_location_edit.php index 2b477f92..444d0d85 100644 --- a/user/ajax/ajax_location_edit.php +++ b/user/ajax/ajax_location_edit.php @@ -1,6 +1,6 @@ - "> + ">
@@ -299,4 +299,4 @@ ob_start(); - Method of Transfer - diff --git a/user/asset_details.php b/user/asset_details.php index f0aba1a5..b62f4beb 100644 --- a/user/asset_details.php +++ b/user/asset_details.php @@ -245,7 +245,7 @@ if (isset($_GET['asset_id'])) {

- asset_photo"> + asset_photo">
@@ -948,7 +948,7 @@ if (isset($_GET['asset_id'])) { ?> - " target="_blank" >$file_description"; ?> + " target="_blank" >$file_description"; ?> diff --git a/user/assets.php b/user/assets.php index adcd0800..50f6942d 100644 --- a/user/assets.php +++ b/user/assets.php @@ -721,8 +721,8 @@ if (mysqli_num_rows($os_sql) > 0) { - - + + + 0) { $files[] = [ 'id' => $file_id, 'name' => $file_name, - 'preview' => "uploads/clients/$client_id/$file_reference_name" + 'preview' => "../uploads/clients/$client_id/$file_reference_name" ]; ?> @@ -335,7 +335,7 @@ while ($folder_id > 0) {
- " alt=""> + " alt="">
@@ -345,7 +345,7 @@ while ($folder_id > 0) { - " target="_blank"> + " target="_blank">
@@ -550,7 +550,7 @@ while ($folder_id > 0) {