From 39610613f209630784022b492a99fa832f40c27b Mon Sep 17 00:00:00 2001 From: Flatlogic Bot Date: Fri, 13 Feb 2026 09:02:00 +0000 Subject: [PATCH] Autosave: 20260213-090159 --- index.php | 64 +++++++++++++++++++++++++++++++++++++++++++++++++++---- 1 file changed, 60 insertions(+), 4 deletions(-) diff --git a/index.php b/index.php index 035351c..7f4592a 100644 --- a/index.php +++ b/index.php @@ -42,7 +42,9 @@ $texts = [ 'recipient_name' => 'Recipient Name', 'recipient_phone' => 'Recipient Phone', 'gift_message' => 'Gift Message', - 'gift_notice' => 'The system will send a notification to the recipient.' + 'gift_notice' => 'The system will send a notification to the recipient.', + 'read_more' => 'Read More', + 'close' => 'Close' ], 'ar' => [ 'title' => 'ادعم قضية', @@ -78,7 +80,9 @@ $texts = [ 'recipient_name' => 'اسم المستلم', 'recipient_phone' => 'رقم هاتف المستلم', 'gift_message' => 'رسالة الهدية', - 'gift_notice' => 'سيقوم النظام بإرسال إشعار إلى المستلم.' + 'gift_notice' => 'سيقوم النظام بإرسال إشعار إلى المستلم.', + 'read_more' => 'اقرأ المزيد', + 'close' => 'إغلاق' ] ]; @@ -548,6 +552,15 @@ function safe_truncate($text, $limit = 120) { background: #f9fafb; margin-top: 1rem; } + + .read-more-btn { + font-size: 0.8125rem; + cursor: pointer; + transition: opacity 0.2s; + } + .read-more-btn:hover { + opacity: 0.8; + } @@ -650,7 +663,9 @@ function safe_truncate($text, $limit = 120) { 120; + $truncated_desc = safe_truncate($full_desc, 120); ?>
@@ -672,7 +687,18 @@ function safe_truncate($text, $limit = 120) {

-

+

+ + + + + + +

@@ -696,6 +722,24 @@ function safe_truncate($text, $limit = 120) {
+ + +