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