Skip to content
This repository has been archived by the owner on Aug 9, 2021. It is now read-only.

Commit

Permalink
feat(invitation): update QR code size for easy scanning
Browse files Browse the repository at this point in the history
Signed-off-by: Domingo Oropeza <doropeza@teclib.com>
  • Loading branch information
DIOHz0r authored and btry committed May 10, 2018
1 parent 912af72 commit 49f3aae
Show file tree
Hide file tree
Showing 8 changed files with 12 additions and 12 deletions.
2 changes: 1 addition & 1 deletion inc/invitation.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -320,7 +320,7 @@ protected function createQRCodeDocument() {

// Generate a QRCode
$barcodeobj = new TCPDF2DBarcode($encodedRequest, 'QRCODE,L');
$qrCode = $barcodeobj->getBarcodePngData(4, 4, [0, 0, 0]);
$qrCode = $barcodeobj->getBarcodePngData(7, 7, [0, 0, 0]);

// Add border to the QR
// TCPDF forgets the quiet zone
Expand Down
6 changes: 3 additions & 3 deletions locales/cs_CZ.po
Original file line number Diff line number Diff line change
Expand Up @@ -787,7 +787,7 @@ msgstr ""
"\n"
"<a href=\"##flyvemdm.enroll_url##\">##flyvemdm.enroll_url##</a>\n"
"\n"
"<img src=\"cid:##flyvemdm.qrcode##\" alt=\"Enroll QRCode\" title=\"Enroll QRCode\" width=\"128\" height=\"128\">\n"
"<img src=\"cid:##flyvemdm.qrcode##\" alt=\"Enroll QRCode\" title=\"Enroll QRCode\" >\n"
"\n"
"S pozdravem,\n"
"\n"
Expand Down Expand Up @@ -816,7 +816,7 @@ msgid ""
"\n"
"<a href=\"##flyvemdm.enroll_url##\">##flyvemdm.enroll_url##</a>\n"
"\n"
"<img src=\"cid:##flyvemdm.qrcode##\" alt=\"Enroll QRCode\" title=\"Enroll QRCode\" width=\"128\" height=\"128\">\n"
"<img src=\"cid:##flyvemdm.qrcode##\" alt=\"Enroll QRCode\" title=\"Enroll QRCode\" >\n"
"\n"
"Regards,\n"
"\n"
Expand All @@ -833,7 +833,7 @@ msgstr ""
"\n"
"<a href=\"##flyvemdm.download_app##\">##flyvemdm.download_app##</a>\n"
"\n"
"<img src=\"cid:##flyvemdm.qrcode##\" alt=\"Enroll QRCode\" title=\"Enroll QRCode\" width=\"128\" height=\"128\">\n"
"<img src=\"cid:##flyvemdm.qrcode##\" alt=\"Enroll QRCode\" title=\"Enroll QRCode\" >\n"
"\n"
"Pokud tento e-mail čtete z počítače, vyfoťte níže uvedený QR kód, odkazující\n"
"na aplikaci. \n"
Expand Down
2 changes: 1 addition & 1 deletion locales/es_ES.po
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ msgid ""
"\n"
"<a href=\"##flyvemdm.enroll_url##\">##flyvemdm.enroll_url##</a>\n"
"\n"
"<img src=\"cid:##flyvemdm.qrcode##\" alt=\"Enroll QRCode\" title=\"Enroll QRCode\" width=\"128\" height=\"128\">\n"
"<img src=\"cid:##flyvemdm.qrcode##\" alt=\"Enroll QRCode\" title=\"Enroll QRCode\" >\n"
"\n"
"Regards,\n"
"\n"
Expand Down
2 changes: 1 addition & 1 deletion locales/es_MX.po
Original file line number Diff line number Diff line change
Expand Up @@ -781,7 +781,7 @@ msgid ""
"\n"
"<a href=\"##flyvemdm.enroll_url##\">##flyvemdm.enroll_url##</a>\n"
"\n"
"<img src=\"cid:##flyvemdm.qrcode##\" alt=\"Enroll QRCode\" title=\"Enroll QRCode\" width=\"128\" height=\"128\">\n"
"<img src=\"cid:##flyvemdm.qrcode##\" alt=\"Enroll QRCode\" title=\"Enroll QRCode\" >\n"
"\n"
"Regards,\n"
"\n"
Expand Down
2 changes: 1 addition & 1 deletion locales/flyvemdm.pot
Original file line number Diff line number Diff line change
Expand Up @@ -806,7 +806,7 @@ msgid ""
"<a href=\"##flyvemdm.enroll_url##\">##flyvemdm.enroll_url##</a>\n"
"\n"
"<img src=\"cid:##flyvemdm.qrcode##\" alt=\"Enroll QRCode\" title=\"Enroll "
"QRCode\" width=\"128\" height=\"128\">\n"
"QRCode\" >\n"
"\n"
"Regards,\n"
"\n"
Expand Down
2 changes: 1 addition & 1 deletion locales/fr_FR.po
Original file line number Diff line number Diff line change
Expand Up @@ -785,7 +785,7 @@ msgid ""
"\n"
"<a href=\"##flyvemdm.enroll_url##\">##flyvemdm.enroll_url##</a>\n"
"\n"
"<img src=\"cid:##flyvemdm.qrcode##\" alt=\"Enroll QRCode\" title=\"Enroll QRCode\" width=\"128\" height=\"128\">\n"
"<img src=\"cid:##flyvemdm.qrcode##\" alt=\"Enroll QRCode\" title=\"Enroll QRCode\" >\n"
"\n"
"Regards,\n"
"\n"
Expand Down
4 changes: 2 additions & 2 deletions locales/pt_BR.po
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ msgid ""
"\n"
"##flyvemdm.download_app##\n"
"\n"
"<img src=\"cid:##flyvemdm.qrcode##\" alt=\"Enroll QRCode\" title=\"Enroll QRCode\" width=\"128\" height=\"128\">\n"
"<img src=\"cid:##flyvemdm.qrcode##\" alt=\"Enroll QRCode\" title=\"Enroll QRCode\" >\n"
"\n"
"Regards,\n"
"\n"
Expand All @@ -123,7 +123,7 @@ msgstr ""
"\n"
"##flyvemdm.download_app##\n"
"\n"
"<img src=\"cid:##flyvemdm.qrcode##\" alt=\"Enroll QRCode\" title=\"Enroll QRCode\" width=\"128\" height=\"128\">\n"
"<img src=\"cid:##flyvemdm.qrcode##\" alt=\"Enroll QRCode\" title=\"Enroll QRCode\" >\n"
"\n"
"Atenciosamente,\n"
"\n"
Expand Down
4 changes: 2 additions & 2 deletions locales/ru.po
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ msgid ""
"\n"
"##flyvemdm.download_app##\n"
"\n"
"<img src=\"cid:##flyvemdm.qrcode##\" alt=\"Enroll QRCode\" title=\"Enroll QRCode\" width=\"128\" height=\"128\">\n"
"<img src=\"cid:##flyvemdm.qrcode##\" alt=\"Enroll QRCode\" title=\"Enroll QRCode\" >\n"
"\n"
"Regards,\n"
"\n"
Expand All @@ -120,7 +120,7 @@ msgstr ""
"\n"
"##flyvemdm.download_app##\n"
"\n"
"<img src=\"cid:##flyvemdm.qrcode##\" alt=\"Enroll QRCode\" title=\"Enroll QRCode\" width=\"128\" height=\"128\">\n"
"<img src=\"cid:##flyvemdm.qrcode##\" alt=\"Enroll QRCode\" title=\"Enroll QRCode\" >\n"
"\n"
"С уважением,\n"
"\n"
Expand Down

0 comments on commit 49f3aae

Please sign in to comment.