Side / Fixed Menu: Image placeholder tool tip.

This commit is contained in:
fusionate 2024-10-31 11:49:31 -06:00
parent b766ad7f27
commit 37ff548fa8
No known key found for this signature in database
2 changed files with 40 additions and 13 deletions

View File

@ -7004,4 +7004,31 @@ $text['label-icon']['zh-cn'] = "图标";
$text['label-icon']['ja-jp'] = "アイコン"; $text['label-icon']['ja-jp'] = "アイコン";
$text['label-icon']['ko-kr'] = "아이콘"; $text['label-icon']['ko-kr'] = "아이콘";
$text['label-primary-contact-attachment-image']['en-us'] = "Primary Assigned Contact Attachment Image";
$text['label-primary-contact-attachment-image']['en-gb'] = "Primary Assigned Contact Attachment Image";
$text['label-primary-contact-attachment-image']['ar-eg'] = "صورة مرفقة لجهة الاتصال الأساسية المعينة";
$text['label-primary-contact-attachment-image']['de-at'] = "Primär zugewiesenes Kontakt-Anhangsbild";
$text['label-primary-contact-attachment-image']['de-ch'] = "Primär zugewiesenes Kontakt-Anhangsbild";
$text['label-primary-contact-attachment-image']['de-de'] = "Primär zugewiesenes Kontakt-Anhangsbild";
$text['label-primary-contact-attachment-image']['el-gr'] = "Κύρια αντιστοιχισμένη εικόνα συνημμένου επαφής";
$text['label-primary-contact-attachment-image']['es-cl'] = "Imagen adjunta del contacto asignado principal";
$text['label-primary-contact-attachment-image']['es-mx'] = "Imagen adjunta del contacto asignado principal";
$text['label-primary-contact-attachment-image']['fr-ca'] = "Image de pièce jointe du contact attribué principal";
$text['label-primary-contact-attachment-image']['fr-fr'] = "Image de pièce jointe du contact principal attribué";
$text['label-primary-contact-attachment-image']['he-il'] = "תמונה מצורפת של איש קשר מוקצה ראשי";
$text['label-primary-contact-attachment-image']['it-it'] = "Immagine allegato contatto assegnato primario";
$text['label-primary-contact-attachment-image']['ka-ge'] = "პირველადი მინიჭებული კონტაქტის დანართის სურათი";
$text['label-primary-contact-attachment-image']['nl-nl'] = "Primaire toegewezen contactpersoon Bijlage-afbeelding";
$text['label-primary-contact-attachment-image']['pl-pl'] = "Obraz załącznika głównego przypisanego kontaktu";
$text['label-primary-contact-attachment-image']['pt-br'] = "Imagem de anexo de contato atribuído primário";
$text['label-primary-contact-attachment-image']['pt-pt'] = "Imagem de anexo de contacto atribuído principal";
$text['label-primary-contact-attachment-image']['ro-ro'] = "Imaginea atașată de contact principal atribuită";
$text['label-primary-contact-attachment-image']['ru-ru'] = "Изображение прикрепленного файла основного назначенного контакта";
$text['label-primary-contact-attachment-image']['sv-se'] = "Bifogad bild för primär tilldelad kontakt";
$text['label-primary-contact-attachment-image']['uk-ua'] = "Зображення вкладеного основного призначеного контакту";
$text['label-primary-contact-attachment-image']['tr-tr'] = "Birincil Atanmış Kişi Eki Görüntüsü";
$text['label-primary-contact-attachment-image']['zh-cn'] = "主要指定联系人附件图像";
$text['label-primary-contact-attachment-image']['ja-jp'] = "主な連絡先の添付ファイル画像";
$text['label-primary-contact-attachment-image']['ko-kr'] = "기본 할당된 연락처 첨부 이미지";
?> ?>

View File

@ -1123,7 +1123,7 @@ if (!class_exists('menu')) {
$html .= " <div class='col-5 col-sm-6 p-0' style=\"min-width: 130px; background-image: url('".PROJECT_PATH."/app/contacts/contact_attachment.php?id=".$_SESSION['user']['contact_image']."&action=download&sid=".session_id()."'); background-repeat: no-repeat; background-size: cover; background-position: center;\"></div>\n"; $html .= " <div class='col-5 col-sm-6 p-0' style=\"min-width: 130px; background-image: url('".PROJECT_PATH."/app/contacts/contact_attachment.php?id=".$_SESSION['user']['contact_image']."&action=download&sid=".session_id()."'); background-repeat: no-repeat; background-size: cover; background-position: center;\"></div>\n";
} }
else { else {
$html .= " <div class='col-5 col-sm-6 p-0 pt-1' style=\"min-width: 130px;\"><i class='fa-solid fa-user-circle fa-8x' style='opacity: 0.1;'></i></div>\n"; $html .= " <div class='col-5 col-sm-6 p-0 pt-1' style=\"min-width: 130px; cursor: help;\" title=\"".$text['label-primary-contact-attachment-image']."\"><i class='fa-solid fa-user-circle fa-8x' style='opacity: 0.1;'></i></div>\n";
} }
// $html .= " <div class='".(!empty($_SESSION['user']['contact_image']) && is_uuid($_SESSION['user']['contact_image']) ? 'col-7 col-sm-6 pr-0' : 'col-12 p-0')." ' style='min-width: 130px; text-align: left;'>\n"; // $html .= " <div class='".(!empty($_SESSION['user']['contact_image']) && is_uuid($_SESSION['user']['contact_image']) ? 'col-7 col-sm-6 pr-0' : 'col-12 p-0')." ' style='min-width: 130px; text-align: left;'>\n";
$html .= " <div class='col-7 col-sm-6 pr-0' style='min-width: 130px; text-align: left;'>\n"; $html .= " <div class='col-7 col-sm-6 pr-0' style='min-width: 130px; text-align: left;'>\n";
@ -1258,7 +1258,7 @@ if (!class_exists('menu')) {
$html .= " <div class='col-5 col-sm-6 p-0' style=\"min-width: 130px; background-image: url('".PROJECT_PATH."/app/contacts/contact_attachment.php?id=".$_SESSION['user']['contact_image']."&action=download&sid=".session_id()."'); background-repeat: no-repeat; background-size: cover; background-position: center;\"></div>\n"; $html .= " <div class='col-5 col-sm-6 p-0' style=\"min-width: 130px; background-image: url('".PROJECT_PATH."/app/contacts/contact_attachment.php?id=".$_SESSION['user']['contact_image']."&action=download&sid=".session_id()."'); background-repeat: no-repeat; background-size: cover; background-position: center;\"></div>\n";
} }
else { else {
$html .= " <div class='col-5 col-sm-6 p-0 pt-1' style=\"min-width: 130px;\"><i class='fa-solid fa-user-circle fa-8x' style='opacity: 0.1;'></i></div>\n"; $html .= " <div class='col-5 col-sm-6 p-0 pt-1' style=\"min-width: 130px; cursor: help;\" title=\"".$text['label-primary-contact-attachment-image']."\"><i class='fa-solid fa-user-circle fa-8x' style='opacity: 0.1;'></i></div>\n";
} }
// $html .= " <div class='".(!empty($_SESSION['user']['contact_image']) && is_uuid($_SESSION['user']['contact_image']) ? 'col-7 col-sm-6 pr-0' : 'col-12 p-0')." ' style='min-width: 130px; text-align: left;'>\n"; // $html .= " <div class='".(!empty($_SESSION['user']['contact_image']) && is_uuid($_SESSION['user']['contact_image']) ? 'col-7 col-sm-6 pr-0' : 'col-12 p-0')." ' style='min-width: 130px; text-align: left;'>\n";
$html .= " <div class='col-7 col-sm-6 pr-0' style='min-width: 130px; text-align: left;'>\n"; $html .= " <div class='col-7 col-sm-6 pr-0' style='min-width: 130px; text-align: left;'>\n";