From b361b3a38434835de6aa64ba5e9ac8a9cba41dcc Mon Sep 17 00:00:00 2001 From: johnnyq Date: Tue, 22 Aug 2023 13:41:04 -0400 Subject: [PATCH] Updated Guest sharing removed irrelevant info such as warnings about this will expire and notes as this will be sent in the pre email message, Removed App name and sharing from the top. Formatted the Style into a card, Added Company Info at the footer --- guest_view_item.php | 32 +++++++++++++------------------- 1 file changed, 13 insertions(+), 19 deletions(-) diff --git a/guest_view_item.php b/guest_view_item.php index 68fa1c38..debdc3d1 100644 --- a/guest_view_item.php +++ b/guest_view_item.php @@ -32,10 +32,6 @@ $currency_format = numfmt_create($company_locale, NumberFormatter::CURRENCY); ?> -
-

Guest sharing

-
- Incorrect URL."; @@ -65,8 +61,6 @@ if ($row['item_active'] !== "1" || ($row['item_view_limit'] > 0 && $row['item_vi // If we got here, we have valid information -echo "
You may only be able to view this information for a limited time! Be sure to copy/download what you need.
"; - $item_type = nullable_htmlentities($row['item_type']); $item_related_id = intval($row['item_related_id']); $item_encrypted_credential = nullable_htmlentities($row['item_encrypted_credential']); @@ -75,7 +69,12 @@ $item_views = intval($row['item_views']); $item_created = nullable_htmlentities($row['item_created_at']); $item_expire = nullable_htmlentities($row['item_expire_at']); $client_id = intval($row['item_client_id']); +?> +
+
+ +purify($doc_row['document_content']); - echo "

A document has been shared with you

"; - if (!empty($item_note)) { - echo "

Note: $item_note

"; - } - echo "
"; echo "

$doc_title

"; echo $doc_content; @@ -151,12 +145,6 @@ if ($item_type == "Document") { $login_otp = nullable_htmlentities($login_row['login_otp_secret']); $login_notes = nullable_htmlentities($login_row['login_note']); - echo "

A login entry has been shared with you

"; - if (!empty($item_note)) { - echo "

Note: $item_note

"; - } - echo "
"; - echo "

Name: $login_name

"; echo "

URL: $login_uri

"; echo "

Username: $login_username

"; @@ -174,6 +162,12 @@ if ($item_type == "Document") { } -echo "

"; -echo $config_app_name; +?> + +
+ + \ No newline at end of file