/*
DB Migration
v4.0b -> v4.1
*/
INSERT INTO `language` (`id`, `code`, `allowed`, `supported`) VALUES
('', 'it', 1, 0);

ALTER TABLE staff
ADD send_email_on_new_ticket int(11) NULL
DEFAULT 0;

INSERT INTO `setting` (`id`, `name`, `value`) VALUES
('', 'session-prefix', concat(
    'opensupports-',
    substring('abcdefghijklmnopqrstuvwxyz0123456789', rand()*36+1, 1),
    substring('abcdefghijklmnopqrstuvwxyz0123456789', rand()*36+1, 1),
    substring('abcdefghijklmnopqrstuvwxyz0123456789', rand()*36+1, 1),
    substring('abcdefghijklmnopqrstuvwxyz0123456789', rand()*36+1, 1),
    substring('abcdefghijklmnopqrstuvwxyz0123456789', rand()*36+1, 1),
    substring('abcdefghijklmnopqrstuvwxyz0123456789', rand()*36+1, 1),
    substring('abcdefghijklmnopqrstuvwxyz0123456789', rand()*36+1, 1),
    substring('abcdefghijklmnopqrstuvwxyz0123456789', rand()*36+1, 1),
    substring('abcdefghijklmnopqrstuvwxyz0123456789', rand()*36+1, 1),
    substring('abcdefghijklmnopqrstuvwxyz0123456789', rand()*36+1, 1),
    substring('abcdefghijklmnopqrstuvwxyz0123456789', rand()*36+1, 1),
    substring('abcdefghijklmnopqrstuvwxyz0123456789', rand()*36+1, 1),
    substring('abcdefghijklmnopqrstuvwxyz0123456789', rand()*36+1, 1),
    substring('abcdefghijklmnopqrstuvwxyz0123456789', rand()*36+1, 1),
    substring('abcdefghijklmnopqrstuvwxyz0123456789', rand()*36+1, 1),
    substring('abcdefghijklmnopqrstuvwxyz0123456789', rand()*36+1, 1),
    '_'
));

DROP TABLE mailtemplate;

SET SQL_MODE = "NO_AUTO_VALUE_ON_ZERO";
SET time_zone = "+00:00";
CREATE TABLE IF NOT EXISTS `mailtemplate` (
  `id` int(11) unsigned NOT NULL,
  `type` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `subject` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `language` varchar(191) COLLATE utf8mb4_unicode_ci DEFAULT NULL,
  `body` text COLLATE utf8mb4_unicode_ci
) ENGINE=InnoDB AUTO_INCREMENT=111 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;

INSERT INTO `mailtemplate` (`id`, `type`, `subject`, `language`, `body`) VALUES
(1, 'USER_SIGNUP', 'Signup {{to}} - OpenSupports', 'en', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Verify your account\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Welcome to our support center, {{name}}!. We need you to verify this email in order to get access to your account.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Use this code in {{url}}/verify-token/{{to}}/{{verificationToken}} or click the button below.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{verificationToken}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/verify-token/{{to}}/{{verificationToken}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Verify Account</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/verify-token/{{to}}/{{verificationToken}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Verify Account</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(2, 'USER_SIGNUP', 'Registrado {{to}} - OpenSupports', 'es', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Verifica tu cuenta\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Bienvenido a nuestro contro de soporte, {{name}}!. Necesitamos que verifiques este email para poder acceder a tu cuenta.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Usá este código en {{url}}/verify-token/{{to}}/{{verificationToken}} o hacé click en el botón de abajo.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{verificationToken}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/verify-token/{{to}}/{{verificationToken}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Verificar cuenta</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/verify-token/{{to}}/{{verificationToken}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Verificar cuenta</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(3, 'USER_SIGNUP', 'Anmelden {{to}} - OpenSupports', 'de', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Überprüfen Sie Ihr Konto\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Willkommen in unserem Support-Center, {{name}} !. Wir müssen Sie diese E-Mail bestätigen, um Zugang zu Ihrem Konto zu erhalten.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Verwenden Sie diesen Code in {{url}}/verify-token/{{to}}/{{verificationToken}} oder klicken Sie auf die Schaltfläche unten.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{verificationToken}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/verify-token/{{to}}/{{verificationToken}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Konto überprüfen</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/verify-token/{{to}}/{{verificationToken}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Konto überprüfen</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>');
INSERT INTO `mailtemplate` (`id`, `type`, `subject`, `language`, `body`) VALUES
(4, 'USER_SIGNUP', 'S''inscrire {{to}} - OpenSupports', 'fr', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Vérifiez votre compte\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Bienvenue dans notre centre de support, {{name}}!. Nous vous demandons de vérifier cet e-mail afin d''accéder à votre compte.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Utilisez ce code dans {{url}}/verify-token/{{to}}/{{verificationToken}} ou cliquez sur le bouton ci-dessous.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{verificationToken}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/verify-token/{{to}}/{{verificationToken}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Vérifier le compte</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/verify-token/{{to}}/{{verificationToken}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Vérifier le compte</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(5, 'USER_SIGNUP', 'Daftar - OpenSupports', 'in', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            अपने खाते को सत्यापित करें\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            हमारे समर्थन केंद्र में आपका स्वागत है {{name}}!. आपके खाते तक पहुंच प्राप्त करने के लिए हमें आपको यह ईमेल सत्यापित करने की आवश्यकता है।\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    इस कोड का उपयोग करें {{url}}/verify-token/{{to}}/{{verificationToken}} या नीचे दिए गए बटन पर क्लिक करें।\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{verificationToken}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/verify-token/{{to}}/{{verificationToken}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">खाता सत्यापित करें</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/verify-token/{{to}}/{{verificationToken}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">खाता सत्यापित करें</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(6, 'USER_SIGNUP', 'サインアップ - OpenSupports', 'jp', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            アカウントを確認する\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            サポートセンターへようこそ, {{name}}!. アカウントにアクセスするには、このメールを確認する必要があります。\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    でこのコードを使用 {{url}}/verify-token/{{to}}/{{verificationToken}} 下のボタンをクリックしてください.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{verificationToken}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/verify-token/{{to}}/{{verificationToken}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">アカウントを確認</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/verify-token/{{to}}/{{verificationToken}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">アカウントを確認</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>');
INSERT INTO `mailtemplate` (`id`, `type`, `subject`, `language`, `body`) VALUES
(7, 'USER_SIGNUP', 'Inscrever-se {{to}} - OpenSupports', 'pt', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Verifique sua conta\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Bem-vindo ao nosso centro de suporte, {{name}}!. Precisamos que você verifique este e-mail para acessar sua conta.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Use este código em {{url}}/verify-token/{{to}}/{{verificationToken}} ou clique no botão abaixo.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{verificationToken}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/verify-token/{{to}}/{{verificationToken}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Verifique sua conta</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/verify-token/{{to}}/{{verificationToken}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Verifique sua conta</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(8, 'USER_SIGNUP', 'Зарегистрироваться {{to}} - OpenSupports', 'ru', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            подтвердите ваш аккаунт\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Добро пожаловать в наш центр поддержки, {{name}}!. Нам нужно, чтобы вы подтвердили это письмо, чтобы получить доступ к вашей учетной записи.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Используйте этот код в {{url}}/verify-token/{{to}}/{{verificationToken}} или нажмите кнопку ниже.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{verificationToken}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/verify-token/{{to}}/{{verificationToken}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Подтвердить</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/verify-token/{{to}}/{{verificationToken}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Подтвердить</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(9, 'USER_SIGNUP', 'kaydol {{to}} - OpenSupports', 'tr', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Hesabınızı doğrulayın\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Destek merkezimize hoş geldiniz, {{name}}!. Hesabınıza erişebilmek için bu e-postayı doğrulamanız gerekiyor.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Bu kodu şu adreste kullanın {{url}}/verify-token/{{to}}/{{verificationToken}} veya aşağıdaki butona tıklayın.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{verificationToken}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/verify-token/{{to}}/{{verificationToken}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Hesabı Doğrula</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/verify-token/{{to}}/{{verificationToken}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Hesabı Doğrula</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>');
INSERT INTO `mailtemplate` (`id`, `type`, `subject`, `language`, `body`) VALUES
(10, 'USER_SIGNUP', '注册 {{to}} - OpenSupports', 'cn', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            验证您的帐户\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            欢迎来到我们的支援中心{{name}} !. 我们需要您验证此电子邮件才能访问您的帐户。\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    使用此代码 {{url}}/verify-token/{{to}}/{{verificationToken}} 或单击下面的按钮.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{verificationToken}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/verify-token/{{to}}/{{verificationToken}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">验证您的帐户</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/verify-token/{{to}}/{{verificationToken}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">验证您的帐户</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(11, 'USER_SIGNUP', 'Sei iscritto {{to}} - OpenSupports', 'it', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Verifica il tuo account\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Benvenuto, {{name}}!. Devi verificare questa email per accedere al tuo account.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Clicca sul link {{url}}/verify-token/{{to}}/{{verificationToken}} o clicca sul pulsante qui sotto..\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{verificationToken}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/verify-token/{{to}}/{{verificationToken}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Verify Account</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/verify-token/{{to}}/{{verificationToken}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Verify Account</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(12, 'USER_PASSWORD', 'Password edited - OpenSupports', 'en', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                        </td>\n                                        <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Password changed\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Hi, {{name}}. We want to inform you that your password has changed from your customer panel.\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(13, 'USER_PASSWORD', 'Contraseña a cambiado - OpenSupports', 'es', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                        </td>\n                                        <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Contraseña cambiada\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Hola, {{name}}. Queremos informate que tu contraseña a sido cambiada desde el panel de usuario.\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>');
INSERT INTO `mailtemplate` (`id`, `type`, `subject`, `language`, `body`) VALUES
(14, 'USER_PASSWORD', 'Passwort bearbeitet - OpenSupports', 'de', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                        </td>\n                                        <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Passwort geändert\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Hallo, {{name}}. Wir möchten Sie darüber informieren, dass sich Ihr Passwort von Ihrem Kundenbereich geändert hat.\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(15, 'USER_PASSWORD', 'Mot de passe modifié - OpenSupports', 'fr', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                        </td>\n                                        <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Mot de passe changé\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Salut, {{name}}. Nous souhaitons vous informer que votre mot de passe a changé de votre panel client.\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(16, 'USER_PASSWORD', 'sandi diedit - OpenSupports', 'in', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                        </td>\n                                        <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            संकेतशब्द परवर्तित\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            नमस्ते {{name}}. हम आपको सूचित करना चाहते हैं कि आपका पासवर्ड आपके ग्राहक पैनल से बदल गया है।\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(17, 'USER_PASSWORD', 'パスワードの編集 - OpenSupports', 'jp', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                        </td>\n                                        <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            パスワード変更済み\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            こんにちは、{{name}}。 お客様のパスワードがお客様のパネルから変更されたことをお知らせいたします。\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>');
INSERT INTO `mailtemplate` (`id`, `type`, `subject`, `language`, `body`) VALUES
(18, 'USER_PASSWORD', 'Senha editada - OpenSupports', 'pt', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                        </td>\n                                        <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Senha alterada\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Olá, {{name}}. Queremos informá-lo de que sua senha foi alterada do seu painel de clientes.\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(19, 'USER_PASSWORD', 'Пароль изменен - OpenSupports', 'ru', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                        </td>\n                                        <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            пароль изменен\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Здравствуй {{name}}. Мы хотим сообщить вам, что ваш пароль был изменен с вашей клиентской панели.\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(20, 'USER_PASSWORD', 'Şifre düzenlendi - OpenSupports', 'tr', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                        </td>\n                                        <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            şifre değişti\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Merhaba, {{name}}. Şifrenizin müşteri panelinizden değiştirildiğini size bildirmek istiyoruz.\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(21, 'USER_PASSWORD', '密码已编辑 - OpenSupports', 'cn', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                        </td>\n                                        <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            密码已更改\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            嗨，{{name}}。 我们想通知您，您的密码已从您的客户面板更改。\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>');
INSERT INTO `mailtemplate` (`id`, `type`, `subject`, `language`, `body`) VALUES
(22, 'USER_PASSWORD', 'Password modificata - OpenSupports', 'it', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                        </td>\n                                        <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Password modificata\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Ciao, {{name}}. Vogliamo informarti che la tua password è stata modificata dal tuo pannello di controllo.\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(23, 'USER_EMAIL', 'Email edited - OpenSupports', 'en', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Email changed\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Hi, {{name}}. We want to inform you that your email has changed to {{newemail}} from your customer panel.\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(24, 'USER_EMAIL', 'Email a cambiado - OpenSupports', 'es', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Email a cambiado\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Hola, {{name}}. Queremos informate que tu email ha cambiado a {{newemail}} desde el panel de control.\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(25, 'USER_EMAIL', 'E-Mail bearbeitet - OpenSupports', 'de', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            E-Mail geändert\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Hallo, {{name}}. Wir möchten Sie darüber informieren, dass Ihre E-Mail von Ihrem Kundenbereich zu {{newemail}} geändert wurde.\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>');
INSERT INTO `mailtemplate` (`id`, `type`, `subject`, `language`, `body`) VALUES
(26, 'USER_EMAIL', 'Courrier électronique - OpenSupports', 'fr', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Email modifié\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Salut, {{name}}. Nous souhaitons vous informer que votre adresse e-mail est devenue {{newemail}} dans votre panneau client.\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(27, 'USER_EMAIL', 'email diedit - OpenSupports', 'in', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            ईमेल बदल गया\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            नमस्ते {{name}}। हम आपको सूचित करना चाहते हैं कि आपका ईमेल आपके ग्राहक पैनल से {{newemail}} में बदल गया है।\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(28, 'USER_EMAIL', '電子メールを編集しました - OpenSupports', 'jp', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            メールが変更されました\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            こんにちは、{{name}}。 お客様のメールがお客様のパネルから{{newemail}}に変更されたことをお知らせいたします。\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(29, 'USER_EMAIL', 'Email editado - OpenSupports', 'pt', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            E-mail alterado\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Oi, {{name}}. Queremos informar que seu e-mail foi alterado para {{newemail}} do seu painel de clientes.\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>');
INSERT INTO `mailtemplate` (`id`, `type`, `subject`, `language`, `body`) VALUES
(30, 'USER_EMAIL', 'Сообщение изменено - OpenSupports', 'ru', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Yout электронная почта изменена\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Здравствуй, {{name}}. Мы хотим сообщить вам, что ваше письмо было изменено на {{newemail}} с вашей панели клиентов.\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(31, 'USER_EMAIL', 'E-posta düzenlendi - OpenSupports', 'tr', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            E-posta değişti\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Merhaba, {{name}}. E-postanızın müşteri panelinizden {{newemail}} olarak değiştiğini bildirmek istiyoruz.\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(32, 'USER_EMAIL', '电子邮件已修改 - OpenSupports', 'cn', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            电子邮件已更改\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            嗨，{{name}}。 我们想通知您，您的电子邮件已从您的客户面板更改为 {{newemail}}。\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(33, 'USER_EMAIL', 'E-mail modificata - OpenSupports', 'it', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            L''email è stata modificata\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Ciao, {{name}}. Vogliamo informarti che la tua email è stata modificata {{newemail}} dal tuo pannello di controllo.\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>');
INSERT INTO `mailtemplate` (`id`, `type`, `subject`, `language`, `body`) VALUES
(34, 'PASSWORD_FORGOT', 'Recover password - OpenSupports', 'en', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Recover password\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Hi, {{name}}. You have requested to recover your password.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Use this code in {{url}}/recover-password?email={{to}}&token={{token}} or click the button below.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{token}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/recover-password?email={{to}}&token={{token}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Recover password</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/recover-password?email={{to}}&token={{token}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Recover password</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(35, 'PASSWORD_FORGOT', 'Recuperar password - OpenSupports', 'es', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Recuperar contraseña\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Hola, {{name}}. Has requerido recuperar tu contraseña.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Usá este codigo en {{url}}/recover-password?email={{to}}&token={{token}} o hacé click en el botón de abajo.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{token}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/recover-password?email={{to}}&token={{token}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Recuperar contraseña</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/recover-password?email={{to}}&token={{token}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Recuperar contraseña</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(36, 'PASSWORD_FORGOT', 'Passwort wiederherstellen - OpenSupports', 'de', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Passwort wiederherstellen\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Hallo, {{name}}. Sie haben aufgefordert, Ihr Passwort wiederherzustellen.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Verwenden Sie diesen Code in {{url}}/recover-password?email={{to}}&token={{token}} oder klicken Sie auf die Schaltfläche unten.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{token}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/recover-password?email={{to}}&token={{token}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Passwort wiederherstellen</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/recover-password?email={{to}}&token={{token}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Passwort wiederherstellen</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>');
INSERT INTO `mailtemplate` (`id`, `type`, `subject`, `language`, `body`) VALUES
(37, 'PASSWORD_FORGOT', 'Récupérer mot de passe - OpenSupports', 'fr', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Récupérer mot de passe\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Salut, {{name}}. Vous avez demandé à récupérer votre mot de passe.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Utilisez ce code dans {{url}}/recover-password?email={{to}}&token={{token}} ou cliquez sur le bouton ci-dessous.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{token}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/recover-password?email={{to}}&token={{token}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Récupérer mot de passe</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{to}}/recover-password?email={{to}}&token={{token}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Récupérer mot de passe</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(38, 'PASSWORD_FORGOT', 'memulihkan password - OpenSupports', 'in', '\n<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            गोपनीय शब्द पुन प्राप्त करे\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            नमस्ते {{name}}. आपने अपना पासवर्ड पुनर्प्राप्त करने का अनुरोध किया है\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    इस कोड का उपयोग करें {{url}}/recover-password?email={{to}}&token={{token}} या नीचे दिए गए बटन पर क्लिक करें.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{token}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/recover-password?email={{to}}&token={{token}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">गोपनीय शब्द पुन प्राप्त करे</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/recover-password?email={{to}}&token={{token}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">गोपनीय शब्द पुन प्राप्त करे</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(39, 'PASSWORD_FORGOT', 'パスワードを回復 - OpenSupports', 'jp', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            パスワードを回復\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            こんにちは、{{name}}。 パスワードの回復を要求しました。\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    でこのコードを使用 {{url}}/recover-password?email={{to}}&token={{token}} 下のボタンをクリックしてください.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{token}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/recover-password?email={{to}}&token={{token}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">パスワードを回復</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/recover-password?email={{to}}&token={{token}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">パスワードを回復</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>');
INSERT INTO `mailtemplate` (`id`, `type`, `subject`, `language`, `body`) VALUES
(40, 'PASSWORD_FORGOT', 'Recuperar senha - OpenSupports', 'pt', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Recuperar senha\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Olá, {{name}}. Você solicitou a recuperação da sua senha.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Use este código em {{url}}/recover-password?email={{to}}&token={{token}} ou clique no botão abaixo.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{token}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/recover-password?email={{to}}&token={{token}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Recuperar senha</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/recover-password?email={{to}}&token={{token}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Recuperar senha</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(41, 'PASSWORD_FORGOT', 'Восстановить пароль - OpenSupports', 'ru', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Восстановить пароль\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Здравствуй, {{name}}. Вы запросили восстановить пароль.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Используйте этот код в {{url}}/recover-password?email={{to}}&token={{token}} или нажмите кнопку ниже.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{token}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/recover-password?email={{to}}&token={{token}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Восстановить пароль</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/recover-password?email={{to}}&token={{token}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Восстановить пароль</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(42, 'PASSWORD_FORGOT', 'Şifre kurtarma - OpenSupports', 'tr', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Şifre kurtarma\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Merhaba, {{name}}. Şifrenizi geri yüklemenizi istediniz.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Bu kodu şu adreste kullanın {{url}}/recover-password?email={{to}}&token={{token}} veya aşağıdaki butona tıklayın.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{token}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/recover-password?email={{to}}&token={{token}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Şifre kurtarma</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/recover-password?email={{to}}&token={{token}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Şifre kurtarma</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>');
INSERT INTO `mailtemplate` (`id`, `type`, `subject`, `language`, `body`) VALUES
(43, 'PASSWORD_FORGOT', '恢复密码 - OpenSupports', 'cn', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            恢复密码\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            喂 {{name}}。 您已要求恢复密码。\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    使用此代码 {{url}}/recover-password?email={{to}}&token={{token}} 或单击下面的按钮.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{token}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/recover-password?email={{to}}&token={{token}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">恢复密码</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/recover-password?email={{to}}&token={{token}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">恢复密码</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(44, 'PASSWORD_FORGOT', 'Recupera la password - OpenSupports', 'it', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Recupera password\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Ciao, {{name}}. Hai richiesto di recuperare la tua password.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Clicca sul link {{url}}/recover-password?email={{to}}&token={{token}} o clicca sul pulsante qui sotto.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{token}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/recover-password?email={{to}}&token={{token}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Recover password</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/recover-password?email={{to}}&token={{token}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Recover password</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(45, 'USER_SYSTEM_DISABLED', 'Access system changed - OpenSupports', 'en', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 14px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Access system changed\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Hello, {{name}}. The system to access tickets has changed.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    You can access and see to your tickets by using your email and the ticket number.\n                                                    Click in the button below to see your tickets.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{tickets}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Check Ticket</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Check Ticket</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>');
INSERT INTO `mailtemplate` (`id`, `type`, `subject`, `language`, `body`) VALUES
(46, 'USER_SYSTEM_DISABLED', 'Sistema de acceso cambiado - OpenSupports', 'es', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 14px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Sistema de acceso cambiado\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Hola, {{name}}. El sistema para acceder a los tickets ha cambiado.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Ahora podes acceder a los tickets usando tu email y el numero de ticket.\n                                                    Hacé click en el botón de abajo para poder ver los tickets.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{tickets}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Revisar Ticket</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Revisar Ticket</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(47, 'USER_SYSTEM_DISABLED', 'Access system changed - OpenSupports', 'de', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 14px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Zugriffssystem geändert\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Hallo, {{name}}. Das System für den Zugriff auf Tickets hat sich geändert.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    können mit Ihren E-Mails und der Ticketnummer auf Ihre Tickets zugreifen und sie sehen.\n                                                    Klicken Sie auf die Schaltfläche unten, um Ihre Tickets zu sehen.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{tickets}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Check Ticket</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Check Ticket</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(48, 'USER_SYSTEM_DISABLED', 'Système d''accès modifié - OpenSupports', 'fr', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 14px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Système d''accès modifié\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Bonjour, {{name}}. Le système d''accès aux billets a changé.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Vous pouvez accéder et voir vos billets en utilisant votre email et le numéro de ticket.\n                                                    Cliquez sur le bouton ci-dessous pour voir vos billets.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{tickets}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Vérifier le billet</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Vérifier le billet</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>');
INSERT INTO `mailtemplate` (`id`, `type`, `subject`, `language`, `body`) VALUES
(49, 'USER_SYSTEM_DISABLED', 'sistem akses berubah - OpenSupports', 'in', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 14px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            एक्सेस सिस्टम बदल गया\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            नमस्ते {{name}}. टिकट का उपयोग करने के लिए सिस्टम बदल गया है।\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    आप अपने ईमेल और टिकट नंबर का उपयोग करके अपने टिकट तक पहुंच सकते हैं और देख सकते हैं।\n                                                    अपने टिकट देखने के लिए नीचे दिए गए बटन पर क्लिक करें।\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{tickets}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">चेक टिकट</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">चेक टिकट</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(50, 'USER_SYSTEM_DISABLED', 'アクセスシステムが変更されました - OpenSupports', 'jp', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 14px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            アクセスシステムが変更されました\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            こんにちは、{{name}}。 チケットにアクセスするシステムが変更されました。\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    あなたはあなたの電子メールとチケット番号を使ってチケットにアクセスして見ることができます。\n                                                    チケットを見るには、下のボタンをクリックしてください。\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{tickets}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">チケットをチェックする</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">チケットをチェックする</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(51, 'USER_SYSTEM_DISABLED', 'Sistema de acesso alterado - OpenSupports', 'pt', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 14px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Sistema de acesso alterado\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Oi, {{name}}. O sistema de acesso aos tickets mudou.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Você pode acessar e ver seus bilhetes usando seu e-mail eo número do bilhete.\n                                                    Clique no botão abaixo para ver os seus bilhetes.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{tickets}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Verificar Bilhete</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Verificar Bilhete</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>');
INSERT INTO `mailtemplate` (`id`, `type`, `subject`, `language`, `body`) VALUES
(52, 'USER_SYSTEM_DISABLED', 'Система доступа изменена - OpenSupports', 'ru', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 14px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Система доступа изменена\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Здравствуйте, {{name}}. Система доступа к билетам изменилась.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Вы можете получить доступ к своим билетам и посмотреть их, используя свою электронную почту и номер билета.\n                                                    Нажмите кнопку ниже, чтобы увидеть свои билеты.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{tickets}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Проверить билет</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Проверить билет</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(53, 'USER_SYSTEM_DISABLED', 'Erişim sistemi değiştirildi - OpenSupports', 'tr', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 14px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Erişim sistemi değiştirildi\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Merhaba, {{name}}. Biletleri erişmek için sistem değişti.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    E-posta adresinizi ve bilet numaranızı kullanarak biletinize erişebilir ve biletlerini görebilirsiniz.\n                                                    Biletlerini görmek için aşağıdaki butona tıklayın.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{tickets}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Bileti kontrol et</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Bileti kontrol et</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(54, 'USER_SYSTEM_DISABLED', '访问系统更改 - OpenSupports', 'cn', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 14px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            访问系统更改\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            您好，{{name}}。 访问票证的系统已更改。\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    您可以通过使用您的电子邮件和票号访问和查看您的机票。 点击下面的按钮查看您的票。\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{tickets}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">检查票</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">检查票</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>');
INSERT INTO `mailtemplate` (`id`, `type`, `subject`, `language`, `body`) VALUES
(55, 'USER_SYSTEM_DISABLED', 'Il sistema di accesso è cambiato - OpenSupports', 'it', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 14px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Modifica sistema di accesso\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Ciao, {{name}}. Il sistema di accesso ai tuoi tickets è cambiato.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Puoi accedere ai tuoi ticket usando la tua email e il numero del ticket.\n                                                    Clicca sul bottone qui sotto per vedere i tuoi tickets.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{tickets}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Check Ticket</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Check Ticket</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(56, 'USER_SYSTEM_ENABLED', 'Account created - OpenSupports', 'en', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Account created\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Hello, {{name}}. We have created an account where you can access the tickets you have sent us.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    You can access your account by using this email <i>({{to}})</i> and password below.\n                                                    Please change the password as soon as you log in.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{password}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Access my account</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Access my account</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(57, 'USER_SYSTEM_ENABLED', 'Cuenta creada - OpenSupports', 'es', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Cuenta creada\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Hola, {{name}}. Hemos creado una cuenta donde puedes acceder a los tickets que nos has enviado.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Puedes acceder usando tu email <i>({{to}})</i> y el la contraseña de abajo.\n                                                    Por favor, cambia tu contraseña tan pronto como ingreses al panel de usuario.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{password}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Acceder a cuenta</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Acceder a cuenta</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>');
INSERT INTO `mailtemplate` (`id`, `type`, `subject`, `language`, `body`) VALUES
(58, 'USER_SYSTEM_ENABLED', 'Account erstellt - OpenSupports', 'de', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Account erstellt\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Hallo, {{name}}. Wir haben ein Konto erstellt, wo Sie auf die Tickets zugreifen können, die Sie uns geschickt haben.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Sie können auf Ihr Konto zugreifen, indem Sie diese E-Mail <i>({{to}})</i> und das Passwort unten verwenden.\n                                                    Bitte ändern Sie das Passwort, sobald Sie sich anmelden.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{password}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Einloggen</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Einloggen</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(59, 'USER_SYSTEM_ENABLED', 'Compte créé - OpenSupports', 'fr', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Compte créé\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Bonjour, {{name}}. Nous avons créé un compte où vous pouvez accéder aux billets que vous nous avez envoyés.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Vous pouvez accéder à votre compte en utilisant ce courriel <i>({{to}})</i> et votre mot de passe ci-dessous.\n                                                    Veuillez modifier le mot de passe dès que vous vous connectez.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{password}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Accéder au compte</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Accéder au compte</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(60, 'USER_SYSTEM_ENABLED', 'Akun telah dibuat - OpenSupports', 'in', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            खाता बन गया\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            नमस्ते {{name}}. हमने एक खाता बनाया है, जहां आप हमारे द्वारा भेजे गए टिकटों तक पहुंच सकते हैं।\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    आप इस ईमेल <i>({{to}})</i> और नीचे दिए गए पासवर्ड का उपयोग करके अपने खाते का उपयोग कर सकते हैं।\n                                                    जैसे ही आप लॉग इन करते हैं, तभी पासवर्ड बदल दें।\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{password}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">लॉग इन करें</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">लॉग इन करें</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>');
INSERT INTO `mailtemplate` (`id`, `type`, `subject`, `language`, `body`) VALUES
(61, 'USER_SYSTEM_ENABLED', 'アカウントが作成されました - OpenSupports', 'jp', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            アカウントが作成されました\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            こんにちは、{{name}}。 あなたが送ったチケットにアクセスできるアカウントを作成しました。\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    下記のメール<i>（{{to}}）</i>とパスワードを使用してアカウントにアクセスできます。\n                                                    ログインするとすぐにパスワードを変更してください。\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{password}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">ログイン</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">ログイン</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(62, 'USER_SYSTEM_ENABLED', 'Conta criada - OpenSupports', 'pt', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Conta criada\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Oi, {{name}}. Criamos uma conta onde você pode acessar os ingressos que você nos enviou.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Você pode acessar sua conta usando este e-mail <i>({{to}})</i> e a senha abaixo.\n\\                                                    Por favor, altere a senha assim que fizer login.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{password}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Login</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Login</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(63, 'USER_SYSTEM_ENABLED', 'Аккаунт создан - OpenSupports', 'ru', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Аккаунт создан\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Здравствуйте, {{name}}. Мы создали учетную запись, где вы можете получить доступ к билетам, которые вы нам отправили.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Вы можете получить доступ к своей учетной записи, используя это электронное письмо <i>({{to}})</i> и пароль ниже.\n                                                    Измените пароль, как только вы войдете в систему.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{password}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">авторизоваться</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">авторизоваться</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>');
INSERT INTO `mailtemplate` (`id`, `type`, `subject`, `language`, `body`) VALUES
(64, 'USER_SYSTEM_ENABLED', 'Hesap oluşturuldu - OpenSupports', 'tr', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Hesap oluşturuldu\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Merhaba, {{name}}. Bize gönderdiğiniz bilete erişebileceğiniz bir hesap oluşturduk.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Hesabınıza, <i>({{to}})</i> e-posta adresini kullanarak ve aşağıdaki şifreyle erişebilirsiniz.\n                                                    Lütfen giriş yaptığınızda şifreyi değiştirin.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{password}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Hesabıma eriş</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Hesabıma eriş</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(65, 'USER_SYSTEM_ENABLED', '帐户已创建 - OpenSupports', 'cn', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            帐户已创建\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            您好，{{name}}。 我们已经创建了一个帐户，您可以访问您发送给我们的票。\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    您可以在下面使用此电子邮件 <i>({{to}})</i> 和密码访问您的帐户。 请在登录后立即更改密码。\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{password}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">访问我的帐户</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">访问我的帐户</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(66, 'USER_SYSTEM_ENABLED', 'Account creato - OpenSupports', 'it', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Account creato\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Ciao, {{name}}. Abbiamo creato il tuo account.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                   Puoi accedere al tuo account utilizzando questa email <i>({{to}})</i> e la password qui sotto.\n                                                    Ti consigliamo di cambiare la password dopo il primo accesso.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{password}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Access my account</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Access my account</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>');
INSERT INTO `mailtemplate` (`id`, `type`, `subject`, `language`, `body`) VALUES
(67, 'TICKET_CREATED', '#{{ticketNumber}} Ticket created - OpenSupports', 'en', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Ticket created\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Hello, {{name}}. You have sent a new ticket titled <i>{{title}}</i> to our support center.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    You can access to the ticket by its ticket number. Or you can click on the button below.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{ticketNumber}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Check Ticket</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Check Ticket</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(68, 'TICKET_CREATED', '#{{ticketNumber}} Ticket creado - OpenSupports', 'es', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Ticket creado\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Hola, {{name}}. Has creado un nuevo ticket titulado <i>{{title}}</i> en nuestro sistema de soporte.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Puedes ver el ticket usando el numero de ticket prensentado abajo.\n                                                    O puedes hacer click en el botón de más abajo.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{ticketNumber}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Ver Ticket</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Ver Ticket</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(69, 'TICKET_CREATED', '#{{ticketNumber}} Ticket erstellt - OpenSupports', 'de', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Ticket erstellt\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Hallo, {{name}}. Sie haben ein neues Ticket mit dem Titel <i>{{title}}</i> an unser Support-Center geschickt.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Sie können das Ticket nach der Fahrkartennummer erreichen. Oder klicken Sie auf die Schaltfläche unten.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{ticketNumber}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Check Ticket</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Check Ticket</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>');
INSERT INTO `mailtemplate` (`id`, `type`, `subject`, `language`, `body`) VALUES
(70, 'TICKET_CREATED', '#{{ticketNumber}} Ticket créé - OpenSupports', 'fr', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Ticket créé\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Bonjour, {{name}}. Vous avez envoyé un nouveau ticket intitulé <i>{{title}}</i> à notre centre de support.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Vous pouvez accéder au billet par son numéro de ticket. Ou vous pouvez cliquer sur le bouton ci-dessous.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{ticketNumber}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Vérifier le billet</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Vérifier le billet</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(71, 'TICKET_CREATED', '#{{ticketNumber}} tiket dibuat - OpenSupports', 'in', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            टिकट बनाया\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            नमस्ते {{name}}. आपने हमारे समर्थन केंद्र पर <i>{{title}}</i> नामक एक नया टिकट भेजा है.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    आप अपने टिकट नंबर से टिकट तक पहुंच सकते हैं। या आप नीचे दिए गए बटन पर क्लिक कर सकते हैं।\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{ticketNumber}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">चेक टिकट</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">चेक टिकट</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(72, 'TICKET_CREATED', '#{{ticketNumber}} チケットが作成されました - OpenSupports', 'jp', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            チケットが作成されました\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            こんにちは、{{name}}。<i>{{title}}</i> という新しいチケットをサポートセンターにお送りしました。\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    そのチケット番号でチケットにアクセスできます。 または、下のボタンをクリックしてください。\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{ticketNumber}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">チケットをチェックする</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">チケットをチェックする</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>');
INSERT INTO `mailtemplate` (`id`, `type`, `subject`, `language`, `body`) VALUES
(73, 'TICKET_CREATED', '#{{ticketNumber}} Ticket criado - OpenSupports', 'pt', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Ticket criado\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Olá, {{name}}. Você enviou um novo ticket intitulado <i>{{title}}</i> para o nosso centro de suporte.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Você pode acessar o bilhete pelo seu número de bilhete. Ou você pode clicar no botão abaixo.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{ticketNumber}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Verificar Bilhete</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Verificar Bilhete</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(74, 'TICKET_CREATED', '#{{ticketNumber}} Создан билет - OpenSupports', 'ru', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Создан билет\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Здравствуйте, {{name}}. Вы отправили новый билет с названием <i>{{title}}</i> в наш центр поддержки.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Вы можете получить доступ к билету по его номеру билета. Или вы можете нажать на кнопку ниже.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{ticketNumber}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Check Ticket</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Проверить билет</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(75, 'TICKET_CREATED', '#{{ticketNumber}} Bilet oluşturuldu - OpenSupports', 'tr', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Bilet oluşturuldu\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Merhaba, {{name}}. Destek merkezimize <i>{{title}}</i> başlıklı yeni bir bilet gönderdiniz.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Bilete bilet numarasından erişebilirsiniz. Ya da aşağıdaki düğmeyi tıklayabilirsiniz.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{ticketNumber}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Biletini kontrol et</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Biletini kontrol et</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>');
INSERT INTO `mailtemplate` (`id`, `type`, `subject`, `language`, `body`) VALUES
(76, 'TICKET_CREATED', '#{{ticketNumber}} 已创建票证 - OpenSupports', 'cn', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Ticket created\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            您好，{{name}}。 您已将一张名为 <i>{{title}}</i> 的新票发送到我们的支持中心。\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    您可以通过其票号访问票证。 或者你可以点击下面的按钮。\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{ticketNumber}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">检查票</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">检查票</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(77, 'TICKET_CREATED', '#{{ticketNumber}} ticket creato - OpenSupports', 'it', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Ticket inviato\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Ciao, {{name}}. Hai inviato un nuovo ticket <i>{{title}}</i> al nostro centro si assistenza.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    È possibile accedere al ticket attraverso il numero del ticket. Oppure puoi cliccare sul bottone qui sotto.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{ticketNumber}}\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Check Ticket</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Check Ticket</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(78, 'TICKET_RESPONDED', '#{{ticketNumber}} New response - OpenSupports', 'en', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Ticket responded\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Hello, {{name}}. You have received a response in the ticket titled <i>{{title}}</i>.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Please click below to see the new response.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Check Ticket</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Check Ticket</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>');
INSERT INTO `mailtemplate` (`id`, `type`, `subject`, `language`, `body`) VALUES
(79, 'TICKET_RESPONDED', '#{{ticketNumber}} Nueva respuesta - OpenSupports', 'es', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Nueva respuesta\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Hola, {{name}}. Has recibido una nueva respuesta en tu ticket titulado <i>{{title}}</i>.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Por favor, has click abajo para ver la respuesta.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Ver Ticket</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Ver Ticket</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(80, 'TICKET_RESPONDED', '#{{ticketNumber}} Neue Antwort - OpenSupports', 'de', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Ticket antwortete\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Hallo, {{name}}. Sie haben eine Antwort im Tickettitel <i>{{title}}</i> erhalten.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Bitte klicken Sie unten, um die neue Antwort zu sehen.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Check Ticket</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Check Ticket</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(81, 'TICKET_RESPONDED', '#{{ticketNumber}} Nouvelle réponse - OpenSupports', 'fr', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Ticket répondu\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Bonjour, {{name}}. Vous avez reçu une réponse dans le titre du ticket <i>{{title}}</i>.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Veuillez cliquer ci-dessous pour voir la nouvelle réponse.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Vérifier le billet</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Vérifier le billet</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>');
INSERT INTO `mailtemplate` (`id`, `type`, `subject`, `language`, `body`) VALUES
(82, 'TICKET_RESPONDED', '#{{ticketNumber}} tanggapan baru - OpenSupports', 'in', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            टिकट जवाब दिया\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            नमस्ते {{name}}. आपको टिकट के शीर्षक में एक प्रतिक्रिया मिली है <i>{{title}}</i>.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    कृपया नया प्रतिसाद देखने के लिए नीचे क्लिक करें।\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">चेक टिकट</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">चेक टिकट</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(83, 'TICKET_RESPONDED', '#{{ticketNumber}} 新しい応答 - OpenSupports', 'jp', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            チケットが応答しました\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            こんにちは、{{name}}。 あなたはチケットのタイトル <i>{{title}}</i>で回答を受け取りました。\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    新しいレスポンスを見るには、下記をクリックしてください。\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">チケットをチェックする</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">チケットをチェックする</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(84, 'TICKET_RESPONDED', '#{{ticketNumber}} Nova resposta - OpenSupports', 'pt', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Ticket respondeu\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Olá, {{name}}. Recebeu uma resposta no título do bilhete <i>{{title}}</i>.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Por favor, clique abaixo para ver a nova resposta.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Verificar Bilhete</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Verificar Bilhete</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>');
INSERT INTO `mailtemplate` (`id`, `type`, `subject`, `language`, `body`) VALUES
(85, 'TICKET_RESPONDED', '#{{ticketNumber}} Новый ответ - OpenSupports', 'ru', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Отправлен билет\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Здравствуйте, {{name}}. Вы получили ответ в названии билета <i>{{title}}</i>.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Нажмите ниже, чтобы увидеть новый ответ.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Проверить билет</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Проверить билет</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(86, 'TICKET_RESPONDED', '#{{ticketNumber}} Yeni yanıt - OpenSupports', 'tr', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Bilet yanıtladı\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Merhaba, {{name}}. <i>{{title}}</i> başlıklı biletten bir cevap aldınız..\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Yeni yanıtı görmek için lütfen aşağıya tıklayınız.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Biletini kontrol et</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Biletini kontrol et</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(87, 'TICKET_RESPONDED', '#{{ticketNumber}} 新反应 - OpenSupports', 'cn', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Ticket responded\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            您好，{{name}}。 您在票证名称 <i>{{title}}</i> 中收到了回复。\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    请点击下面查看新的回复。\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">检查票</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">检查票</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>');
INSERT INTO `mailtemplate` (`id`, `type`, `subject`, `language`, `body`) VALUES
(88, 'TICKET_RESPONDED', '#{{ticketNumber}} Ticket risposto - OpenSupports', 'it', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Risposta al tuo ticket\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Ciao, {{name}}. Hai ricevuto una risposta al tuo ticket <i>{{title}}</i>.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Clicca qui sotto per leggere la risposta.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Check Ticket</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Check Ticket</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(89, 'TICKET_CLOSED', '#{{ticketNumber}} Ticket closed - OpenSupports', 'en', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Ticket closed\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Hello, {{name}}. A ticket you sent titled <i>{{title}}</i> has been closed.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    You can access to the ticket by its ticket number. Or you can click on the button below.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Check Ticket</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Check Ticket</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(90, 'TICKET_CLOSED', '#{{ticketNumber}} Ticket cerrado - OpenSupports', 'es', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Ticket cerrado\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Hola, {{name}}. Un ticket que enviaste titulado <i>{{title}}</i> ha sido cerrado.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Puedes acceder al ticket por su numero de ticket o haciendo click en el botón de abajo.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Ver Ticket</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Ver Ticket</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>');
INSERT INTO `mailtemplate` (`id`, `type`, `subject`, `language`, `body`) VALUES
(91, 'TICKET_CLOSED', '#{{ticketNumber}} Ticket geschlossen - OpenSupports', 'de', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Ticket geschlossen\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Hallo, {{name}}. Ein Ticket, das Sie mit dem Titel <i>{{title}}</i> gesendet haben, wurde geschlossen.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Sie können das Ticket nach der Fahrkartennummer erreichen. Oder klicken Sie auf die Schaltfläche unten.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Check Ticket</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Check Ticket</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(92, 'TICKET_CLOSED', '#{{ticketNumber}} Billet fermé - OpenSupports', 'fr', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Billet fermé\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Bonjour, {{name}}. Un billet que vous avez envoyé intitulé <i>{{title}}</i> a été fermé.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Vous pouvez accéder au billet par son numéro de ticket. Ou vous pouvez cliquer sur le bouton ci-dessous.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Vérifier le billet</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Vérifier le billet</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(93, 'TICKET_CLOSED', '#{{ticketNumber}} tiket ditutup - OpenSupports', 'in', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            tiket ditutup\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            नमस्ते {{name}}. आपके द्वारा लिखे गए टिकट <i>{{title}} </i> को बंद कर दिया गया है।\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    आप अपने टिकट नंबर से टिकट तक पहुंच सकते हैं। या आप नीचे दिए गए बटन पर क्लिक कर सकते हैं।\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">चेक टिकट</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">चेक टिकट</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>');
INSERT INTO `mailtemplate` (`id`, `type`, `subject`, `language`, `body`) VALUES
(94, 'TICKET_CLOSED', '#{{ticketNumber}} チケットが閉じられました - OpenSupports', 'jp', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            チケットが閉じられました\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            こんにちは、{{name}}。<i>{{title}}</i> というタイトルのチケットは閉鎖されました。\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    そのチケット番号でチケットにアクセスできます。 または、下のボタンをクリックしてください。\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">チケットをチェックする</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">チケットをチェックする</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(95, 'TICKET_CLOSED', '#{{ticketNumber}} Bilhete fechado - OpenSupports', 'pt', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Bilhete fechado\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Olá, {{name}}. Um bilhete que você enviou intitulado <i>{{title}}</i> foi fechado.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Você pode acessar o bilhete pelo seu número de bilhete. Ou você pode clicar no botão abaixo.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Verificar Bilhete</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Verificar Bilhete</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(96, 'TICKET_CLOSED', '#{{ticketNumber}} Билет закрыт - OpenSupports', 'ru', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Билет закрыт\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Здравствуйте, {{name}}. Билет, который вы отправили под названием <i>{{title}}</i>, был закрыт.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Вы можете получить доступ к билету по его номеру билета. Или вы можете нажать на кнопку ниже.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Проверить билет</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Проверить билет</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>');
INSERT INTO `mailtemplate` (`id`, `type`, `subject`, `language`, `body`) VALUES
(97, 'TICKET_CLOSED', '#{{ticketNumber}} Bilet kapalı - OpenSupports', 'tr', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Bilet kapandı\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Merhaba, {{name}}. Başlık gönderdiğiniz bir bilet <i>{{title}}</i> kapatıldı.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Bilete bilet numarasından erişebilirsiniz. Ya da aşağıdaki düğmeyi tıklayabilirsiniz.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Biletini kontrol et</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Biletini kontrol et</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(98, 'TICKET_CLOSED', '#{{ticketNumber}} 票已关闭 - OpenSupports', 'cn', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Ticket closed\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            您好，{{name}}。 您发送的名为 <i>{{title}}</i> 的票已经关闭。\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    您可以通过其票号访问票证。 或者你可以点击下面的按钮。\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">检查票</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">检查票</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(99, 'TICKET_CLOSED', '#{{ticketNumber}} Ticket chiuso - OpenSupports', 'it', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Ticket chiuso\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Ciao, {{name}}. Il ticket che hai inviato <i>{{title}}</i> è stato chiuso.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    È possibile accedere al ticket attraverso il numero del ticket. Oppure puoi cliccare sul bottone qui sotto.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="button">\n                                                    <div><!--[if mso]>\n                                                        <v:roundrect xmlns:v="urn:schemas-microsoft-com:vml" xmlns:w="urn:schemas-microsoft-com:office:word" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}" style="height:45px;v-text-anchor:middle;width:155px;" arcsize="15%" strokecolor="#ffffff" fillcolor="#ff6f6f">\n                                                            <w:anchorlock/>\n                                                            <center style="color:#ffffff;font-family:Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;">Check Ticket</center>\n                                                        </v:roundrect>\n                                                        <![endif]--><a class="button-mobile" target="_blank" href="{{url}}/check-ticket/{{ticketNumber}}/{{to}}"\n                                                                       style="background-color:#ff6f6f;border-radius:5px;color:#ffffff;display:inline-block;font-family:''Cabin'', Helvetica, Arial, sans-serif;font-size:14px;font-weight:regular;line-height:45px;text-align:center;text-decoration:none;width:155px;-webkit-text-size-adjust:none;mso-hide:all;">Check Ticket</a></div>\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>');
INSERT INTO `mailtemplate` (`id`, `type`, `subject`, `language`, `body`) VALUES
(100, 'TICKET_CREATED_STAFF', '#{{ticketNumber}} Ticket created - OpenSupports', 'en', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Ticket created\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            User {{name}} has created a new ticket titled <i>{{title}}</i>.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    You can access to the ticket by its ticket number.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{ticketNumber}}\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(101, 'TICKET_CREATED_STAFF', '#{{ticketNumber}} Ticket creado - OpenSupports', 'es', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Ticket creado\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            El usuario {{name}} ha creado un nuevo ticket titulado <i>{{title}}</i>.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Puedes ver el ticket usando el numero de ticket prensentado abajo.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{ticketNumber}}\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(102, 'TICKET_CREATED_STAFF', '#{{ticketNumber}} Ticket erstellt - OpenSupports', 'de', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Ticket erstellt\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Der Benutzer {{name}} hat ein neues Ticket erstellt berechtigt <i>{{title}}</i>.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Sie können das Ticket nach der Fahrkartennummer erreichen.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{ticketNumber}}\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(103, 'TICKET_CREATED_STAFF', '#{{ticketNumber}} Ticket créé - OpenSupports', 'fr', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Ticket créé\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            L''utilisateur {{name}}. a créé un nouveau poste intitulé <i>{{title}}</i>.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Vous pouvez accéder au billet par son numéro de ticket.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{ticketNumber}}\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>');
INSERT INTO `mailtemplate` (`id`, `type`, `subject`, `language`, `body`) VALUES
(104, 'TICKET_CREATED_STAFF', '#{{ticketNumber}} tiket dibuat - OpenSupports', 'in', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            टिकट बनाया\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            उपयोगकर्ता {{name}} हकदार एक नया पद बनाया गया है <i>{{title}}</i>.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    आप अपने टिकट नंबर से टिकट तक पहुंच सकते हैं।\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{ticketNumber}}\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(105, 'TICKET_CREATED_STAFF', '#{{ticketNumber}} チケットが作成されました - OpenSupports', 'jp', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            チケットが作成されました\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            ユーザーは {{name}} 彼は題した新しいチケットを作成しました <i>{{title}}</i>。\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    そのチケット番号でチケットにアクセスできます。\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{ticketNumber}}\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(106, 'TICKET_CREATED_STAFF', '#{{ticketNumber}} Ticket criado - OpenSupports', 'pt', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Ticket criado\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            O usuário {{name}} criou um novo bilhete de direito <i>{{title}}</i>.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Você pode acessar o bilhete pelo seu número de bilhete.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{ticketNumber}}\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(107, 'TICKET_CREATED_STAFF', '#{{ticketNumber}} Создан билет - OpenSupports', 'ru', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Создан билет\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Пользователь {{name}} создал новый билет под названием <i>{{title}}</i>.\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Вы можете получить доступ к билету по его номеру билета.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{ticketNumber}}\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>');
INSERT INTO `mailtemplate` (`id`, `type`, `subject`, `language`, `body`) VALUES
(108, 'TICKET_CREATED_STAFF', '#{{ticketNumber}} Bilet oluşturuldu - OpenSupports', 'tr', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Bilet oluşturuldu\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            Kullanıcı {{name}} başlıklı yeni bir bilet yarattı <i>{{title}}</i> .\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    Bilete bilet numarasından erişebilirsiniz.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{ticketNumber}}\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(109, 'TICKET_CREATED_STAFF', '#{{ticketNumber}} 已创建票证 - OpenSupports', 'cn', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Ticket created\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            用戶 {{name}}。 他創造了一個題為新票 <i>{{title}}</i>。\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    您可以通过其票号访问票证。\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{ticketNumber}}\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>'),
(110, 'TICKET_CREATED_STAFF', '#{{ticketNumber}} Ticket creato - OpenSupports', 'it', '<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">\n<html xmlns="http://www.w3.org/1999/xhtml">\n<head>\n    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />\n    <meta name="viewport" content="width=device-width, initial-scale=1" />\n    <title>Support Center</title>\n\n    <style type="text/css">\n        /* Take care of image borders and formatting, client hacks */\n        img { max-width: 600px; outline: none; text-decoration: none; -ms-interpolation-mode: bicubic;}\n        a img { border: none; }\n        table { border-collapse: collapse !important;}\n        #outlook a { padding:0; }\n        .ReadMsgBody { width: 100%; }\n        .ExternalClass { width: 100%; }\n        .backgroundTable { margin: 0 auto; padding: 0; width: 100% !important; }\n        table td { border-collapse: collapse; }\n        .ExternalClass * { line-height: 115%; }\n        .container-for-gmail-android { min-width: 600px; }\n\n\n        /* General styling */\n        * {\n            font-family: Helvetica, Arial, sans-serif;\n        }\n\n        body {\n            -webkit-font-smoothing: antialiased;\n            -webkit-text-size-adjust: none;\n            width: 100% !important;\n            margin: 0 !important;\n            height: 100%;\n            color: #676767;\n        }\n\n        td {\n            font-family: Helvetica, Arial, sans-serif;\n            font-size: 14px;\n            color: #777777;\n            text-align: center;\n            line-height: 21px;\n        }\n\n        a {\n            color: #676767;\n            text-decoration: none !important;\n        }\n\n        .pull-left {\n            text-align: left;\n        }\n\n        .pull-right {\n            text-align: right;\n        }\n\n        .header-lg,\n        .header-md,\n        .header-sm {\n            font-size: 32px;\n            font-weight: 700;\n            line-height: normal;\n            padding: 35px 0 0;\n            color: #4d4d4d;\n        }\n\n        .header-md {\n            font-size: 24px;\n        }\n\n        .header-sm {\n            padding: 5px 0;\n            font-size: 18px;\n            line-height: 1.3;\n        }\n\n        .content-padding {\n            padding: 20px 0 30px;\n        }\n\n        .mobile-header-padding-right {\n            width: 290px;\n            text-align: right;\n            padding-left: 10px;\n        }\n\n        .mobile-header-padding-left {\n            width: 290px;\n            text-align: left;\n            padding-left: 10px;\n        }\n\n        .free-text {\n            width: 100% !important;\n            padding: 10px 60px 0px;\n        }\n\n        .block-rounded {\n            border-radius: 5px;\n            border: 1px solid #e5e5e5;\n            vertical-align: top;\n        }\n\n        .button {\n            padding: 55px 0 0;\n        }\n\n        .info-block {\n            padding: 0 20px;\n            width: 260px;\n        }\n\n        .mini-block-container {\n            padding: 30px 50px;\n            width: 500px;\n        }\n\n        .mini-block {\n            background-color: #ffffff;\n            width: 498px;\n            border: 1px solid #cccccc;\n            border-radius: 5px;\n            padding: 60px 75px;\n        }\n\n        .block-rounded {\n            width: 260px;\n        }\n\n        .info-img {\n            width: 258px;\n            border-radius: 5px 5px 0 0;\n        }\n\n        .force-width-img {\n            width: 480px;\n            height: 1px !important;\n        }\n\n        .force-width-full {\n            width: 600px;\n            height: 1px !important;\n        }\n\n        .user-img img {\n            width: 82px;\n            border-radius: 5px;\n            border: 1px solid #cccccc;\n        }\n\n        .user-img {\n            width: 92px;\n            text-align: left;\n        }\n\n        .user-msg {\n            width: 236px;\n            font-size: 14px;\n            text-align: left;\n            font-style: italic;\n        }\n\n        .code-block {\n            padding: 10px 0;\n            border: 1px solid #cccccc;\n            color: #4d4d4d;\n            font-weight: bold;\n            font-size: 17px;\n            text-align: center;\n        }\n\n        .force-width-gmail {\n            min-width:600px;\n            height: 0px !important;\n            line-height: 1px !important;\n            font-size: 1px !important;\n        }\n\n        .button-width {\n            width: 228px;\n        }\n\n    </style>\n\n    <style type="text/css" media="screen">\n        @import url(http://fonts.googleapis.com/css?family=Oxygen:400,700);\n    </style>\n\n    <style type="text/css" media="screen">\n        @media screen {\n            /* Thanks Outlook 2013! */\n            * {\n                font-family: ''Oxygen'', ''Helvetica Neue'', ''Arial'', ''sans-serif'' !important;\n            }\n        }\n    </style>\n\n    <style type="text/css" media="only screen and (max-width: 480px)">\n        /* Mobile styles */\n        @media only screen and (max-width: 480px) {\n\n            table[class*="container-for-gmail-android"] {\n                min-width: 290px !important;\n                width: 100% !important;\n            }\n\n            table[class="w320"] {\n                width: 320px !important;\n            }\n\n            img[class="force-width-gmail"] {\n                display: none !important;\n                width: 0 !important;\n                height: 0 !important;\n            }\n\n            a[class="button-width"],\n            a[class="button-mobile"] {\n                width: 248px !important;\n            }\n\n            td[class*="mobile-header-padding-left"] {\n                width: 160px !important;\n                padding-left: 0 !important;\n            }\n\n            td[class*="mobile-header-padding-right"] {\n                width: 160px !important;\n                padding-right: 0 !important;\n            }\n\n            td[class="header-lg"] {\n                font-size: 24px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="header-md"] {\n                font-size: 18px !important;\n                padding-bottom: 5px !important;\n            }\n\n            td[class="content-padding"] {\n                padding: 5px 0 30px !important;\n            }\n\n            td[class="button"] {\n                padding: 15px 0 5px !important;\n            }\n\n            td[class*="free-text"] {\n                padding: 10px 18px 30px !important;\n            }\n\n            img[class="force-width-img"],\n            img[class="force-width-full"] {\n                display: none !important;\n            }\n\n            td[class="info-block"] {\n                display: block !important;\n                width: 280px !important;\n                padding-bottom: 40px !important;\n            }\n\n            td[class="info-img"],\n            img[class="info-img"] {\n                width: 278px !important;\n            }\n\n            td[class="mini-block-container"] {\n                padding: 8px 20px !important;\n                width: 280px !important;\n            }\n\n            td[class="mini-block"] {\n                padding: 20px !important;\n            }\n\n            td[class="user-img"] {\n                display: block !important;\n                text-align: center !important;\n                width: 100% !important;\n                padding-bottom: 10px;\n            }\n\n            td[class="user-msg"] {\n                display: block !important;\n                padding-bottom: 20px !important;\n            }\n        }\n    </style>\n</head>\n\n<body bgcolor="#f7f7f7">\n<table align="center" cellpadding="0" cellspacing="0" class="container-for-gmail-android" width="100%">\n    <tr>\n        <td align="left" valign="top" width="100%" style="background-color: #ffffff;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="100%" bgcolor="#ffffff" style="border-bottom: 1px solid #cccccc">\n                    <tr>\n                        <td width="100%" height="80" valign="top" style="text-align: center; vertical-align:middle;">\n                            <center>\n                                <table cellpadding="0" cellspacing="0" width="600" class="w320">\n                                    <tr>\n                                        <td style="vertical-align: middle;">\n                                            <a href="http://www.opensupports.com/" target="_blank"><img height="47" src="http://opensupports.com/logo.png" alt="logo"></a>\n                                        </td>\n                                    </tr>\n                                </table>\n                            </center>\n                            <!--[if gte mso 9]>\n                            </v:textbox>\n                            </v:rect>\n                            <![endif]-->\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #f7f7f7;" class="content-padding">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td class="header-lg">\n                            Ticket inviato\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="free-text">\n                            l''utente {{name}} ha creato un nuovo titolo dal titolo <i>{{title}}</i>\n                        </td>\n                    </tr>\n                    <tr>\n                        <td class="mini-block-container">\n                            <table cellspacing="0" cellpadding="0" width="100%"  style="border-collapse:separate !important;">\n                                <tr>\n                                    <td class="mini-block">\n                                        <table cellpadding="0" cellspacing="0" width="100%">\n                                            <tr>\n                                                <td style="padding-bottom: 30px;">\n                                                    È possibile accedere al ticket con il suo numero di ticket.\n                                                </td>\n                                            </tr>\n                                            <tr>\n                                                <td class="code-block">\n                                                    {{ticketNumber}}\n                                                </td>\n                                            </tr>\n                                        </table>\n                                    </td>\n                                </tr>\n                            </table>\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n    <tr>\n        <td align="center" valign="top" width="100%" style="background-color: #ffffff;  border-top: 1px solid #e5e5e5; border-bottom: 1px solid #e5e5e5; height: 100px;">\n            <center>\n                <table cellspacing="0" cellpadding="0" width="600" class="w320">\n                    <tr>\n                        <td style="padding: 25px 0 25px">\n                            <strong>OpenSupports</strong><br />\n                            Open source ticket system<br />\n                            www.opensupports.com<br /><br />\n                        </td>\n                    </tr>\n                </table>\n            </center>\n        </td>\n    </tr>\n</table>\n</body>\n</html>');

ALTER TABLE `mailtemplate`
  ADD PRIMARY KEY (`id`);

ALTER TABLE `mailtemplate`
  MODIFY `id` int(11) unsigned NOT NULL AUTO_INCREMENT,AUTO_INCREMENT=111;
