Plugin Directory

Changeset 1121801


Ignore:
Timestamp:
03/26/2015 10:23:47 PM (11 years ago)
Author:
m.tiggelaar
Message:

trunk update for attachments

Location:
key4ce-osticket-bridge/trunk
Files:
11 edited

Legend:

Unmodified
Added
Removed
  • key4ce-osticket-bridge/trunk/admin/admin_create_ticket.php

    r1119633 r1121801  
    137137            return false;
    138138        }
    139         if (FileExts.indexOf(FileExt) < 0)
    140         {
    141             error = "<?php echo __("Please make sure your file extension should be :", 'key4ce-osticket-bridge'); ?> \n";
    142             error += FileExts;
    143             alert(error);
    144             document.getElementById(FileId).value = "";
    145             return false;
    146         }
     139        if(FileExts!="")
     140        {
     141            if (FileExts.indexOf(FileExt) < 0)
     142            {
     143                error = "<?php echo __("Please make sure your file extension should be :", 'key4ce-osticket-bridge'); ?> \n";
     144                error += FileExts;
     145                alert(error);
     146                document.getElementById(FileId).value = "";
     147                return false;
     148            }
     149        }
    147150        return true;
    148151    }
  • key4ce-osticket-bridge/trunk/admin/adminticketmail.php

    r1119633 r1121801  
    140140    $strplc = str_replace(".", "",str_replace(' ', '',$fileextesnions));
    141141    $allowedExts = explode(",", $strplc);
     142    $allowextscnt=count($allowedExts);
    142143    $temp = explode(".", $_FILES['file']['name'][$i]);
    143144    $extension = end($temp); //return uploaded file extension
     
    146147    $filetype = $_FILES["file"]["type"][$i];
    147148    $filesize = $_FILES["file"]["size"][$i];
    148     if (($_FILES["file"]["size"][$i] < $max_file_size) && in_array($extension, $allowedExts)) {
     149     if (($_FILES["file"]["size"][$i] < $max_file_size) && (in_array($extension, $allowedExts) || $allowextscnt)) {
    149150        if ($_FILES["file"]["error"][$i] > 0) {
    150151            echo "Return Code: " . $_FILES["file"]["error"][$i] . "<br>";
  • key4ce-osticket-bridge/trunk/admin/ost-postreplymail.php

    r1119633 r1121801  
    6464    $strplc = str_replace(".", "",str_replace(' ', '',$fileextesnions));
    6565    $allowedExts = explode(",", $strplc);
     66    $allowextscnt=count($allowedExts);
    6667    $temp = explode(".", $_FILES['file']['name'][$i]);
    6768    $extension = end($temp); //return uploaded file extension
     
    7071    $filetype = $_FILES["file"]["type"][$i];
    7172    $filesize = $_FILES["file"]["size"][$i];
    72     if (($_FILES["file"]["size"][$i] < $max_file_size) && in_array($extension, $allowedExts)) {
     73     if (($_FILES["file"]["size"][$i] < $max_file_size) && (in_array($extension, $allowedExts) || $allowextscnt)) {
    7374        if ($_FILES["file"]["error"][$i] > 0) {
    7475            echo "Return Code: " . $_FILES["file"]["error"][$i] . "<br>";
  • key4ce-osticket-bridge/trunk/admin/ost-ticketview.php

    r1119633 r1121801  
    7474            return false;
    7575        }
    76         if (FileExts.indexOf(FileExt) < 0)
    77         {
    78             error = "<?php echo __("Please make sure your file extension should be :", 'key4ce-osticket-bridge'); ?> \n";
    79             error += FileExts;
    80             alert(error);
    81             document.getElementById(FileId).value = "";
    82             return false;
    83         }
     76        if(FileExts!="")
     77        {
     78            if (FileExts.indexOf(FileExt) < 0)
     79            {
     80                error = "<?php echo __("Please make sure your file extension should be :", 'key4ce-osticket-bridge'); ?> \n";
     81                error += FileExts;
     82                alert(error);
     83                document.getElementById(FileId).value = "";
     84                return false;
     85            }
     86        }
    8487        return true;
    8588    }
  • key4ce-osticket-bridge/trunk/includes/newticketmail.php

    r1119633 r1121801  
    136136    $strplc = str_replace(".", "",str_replace(' ', '',$fileextesnions));
    137137    $allowedExts = explode(",", $strplc);
     138    $allowextscnt=count($allowedExts);
    138139    $temp = explode(".", $_FILES['file']['name'][$i]);
    139140    $extension = end($temp); //return uploaded file extension
     
    143144    $filesize = $_FILES["file"]["size"][$i];
    144145    //$structure . "/" . $newfilename;
    145     if (($_FILES["file"]["size"][$i] < $max_file_size) && in_array($extension, $allowedExts)) {
     146    if (($_FILES["file"]["size"][$i] < $max_file_size) && (in_array($extension, $allowedExts) || $allowextscnt)) {
    146147        if ($_FILES["file"]["error"][$i] > 0) {
    147148            echo "Return Code: " . $_FILES["file"]["error"][$i] . "<br>";
  • key4ce-osticket-bridge/trunk/includes/postreplymail.php

    r1119633 r1121801  
    7070    $strplc = str_replace(".", "",str_replace(' ', '',$fileextesnions));
    7171    $allowedExts = explode(",", $strplc);
     72    $allowextscnt=count($allowedExts);
    7273    $temp = explode(".", $_FILES['file']['name'][$i]);
    7374    $extension = end($temp); //return uploaded file extension
     
    7677    $filetype = $_FILES["file"]["type"][$i];
    7778    $filesize = $_FILES["file"]["size"][$i];
    78     if (($_FILES["file"]["size"][$i] < $max_file_size) && in_array($extension, $allowedExts)) {
     79     if (($_FILES["file"]["size"][$i] < $max_file_size) && (in_array($extension, $allowedExts) || $allowextscnt)) {
    7980        if ($_FILES["file"]["error"][$i] > 0) {
    8081            echo "Return Code: " . $_FILES["file"]["error"][$i] . "<br>";
  • key4ce-osticket-bridge/trunk/languages/key4ce-osticket-bridge-ar.po

    r1119633 r1121801  
    1 # English translations for PACKAGE package.
    2 # Copyright (C) 2012 THE PACKAGE'S COPYRIGHT HOLDER
    3 # This file is distributed under the same license as the PACKAGE package.
    4 # Automatically generated, 2012.
    5 #
    6 msgid ""
    7 msgstr ""
    8 "Project-Id-Version: key4ce-osticket-bridge 1.0\n"
    9 "Report-Msgid-Bugs-To: \n"
    10 "POT-Creation-Date: 2015-03-12 08:57+0200\n"
    11 "PO-Revision-Date: 2015-03-12 14:29+0200\n"
    12 "Last-Translator: Muhammad Bashir Al-Noimi <[email protected]>\n"
    13 "Language-Team: none\n"
    14 "Language: ar\n"
    15 "MIME-Version: 1.0\n"
    16 "Content-Type: text/plain; charset=UTF-8\n"
    17 "Content-Transfer-Encoding: 8bit\n"
    18 "X-Poedit-SourceCharset: UTF-8\n"
    19 "Plural-Forms: nplurals=6; plural=(n==0 ? 0 : n==1 ? 1 : n==2 ? 2 : n%100>=3 && n%100<=10 ? 3 : n%100>=11 && n"
    20 "%100<=99 ? 4 : 5);\n"
    21 "X-Generator: Poedit 1.7.4\n"
    22 "X-Poedit-KeywordsList: __\n"
    23 "X-Poedit-Basepath: .\n"
    24 "X-Poedit-SearchPath-0: .\n"
    25 "X-Poedit-SearchPath-1: ..\n"
    26 
    27 #: ../admin/admin_create_ticket.php:83 ../admin/ost-ticketview.php:22 ../templates/new_ticket.php:22
    28 #: ../templates/view_ticket.php:26 ../templates/view_ticket.php:244
    29 msgid "Attachment"
    30 msgstr "مرفق"
    31 
    32 #: ../admin/admin_create_ticket.php:83 ../admin/ost-ticketview.php:22 ../templates/new_ticket.php:22
    33 #: ../templates/view_ticket.php:26
    34 msgid "Remove"
    35 msgstr "إزالة"
    36 
    37 #: ../admin/admin_create_ticket.php:88 ../admin/ost-ticketview.php:27 ../templates/new_ticket.php:27
    38 #: ../templates/view_ticket.php:31
    39 msgid "You have exceeds your file upload limit"
    40 msgstr "لقد تجاوزت حد الرفع المسموح لك"
    41 
    42 #: ../admin/admin_create_ticket.php:115 ../admin/ost-ticketview.php:54 ../templates/new_ticket.php:54
    43 #: ../templates/view_ticket.php:58
    44 msgid "Please make sure your file is less than"
    45 msgstr "يرجى الـتأكد أن حجم الملف أقل من"
    46 
    47 #: ../admin/admin_create_ticket.php:121 ../admin/ost-ticketview.php:60 ../templates/new_ticket.php:60
    48 #: ../templates/view_ticket.php:64
    49 msgid "Please make sure your file extension should be :"
    50 msgstr "يرجى التأكد من أن امتداد الملف يجب أن يكون:"
    51 
    52 #: ../admin/admin_create_ticket.php:176
    53 msgid "Create A New Ticket"
    54 msgstr "إنشاء بطاقة جديدة"
    55 
    56 #: ../admin/admin_create_ticket.php:178 ../templates/contact_ticket.php:58 ../templates/new_ticket.php:98
    57 msgid ""
    58 "Please fill in the form below to open a new ticket. All fields mark with [<font color=red>*</font>] <em>Are "
    59 "Required!"
    60 msgstr "يرجى تعبئة النموذج أدناه لفتح بطاقة جديدة، جميع الحقول الملونة بالأحمر مطلوبة."
    61 
    62 #: ../admin/admin_create_ticket.php:187
    63 msgid "Select User Type :"
    64 msgstr "اختر نوع المستخدم: "
    65 
    66 #: ../admin/admin_create_ticket.php:189
    67 msgid "WP Users"
    68 msgstr "مستخدمي الوورد برس"
    69 
    70 #: ../admin/admin_create_ticket.php:190
    71 msgid "Osticket Users"
    72 msgstr "مستخدمي Osticket "
    73 
    74 #: ../admin/admin_create_ticket.php:191 ../admin/admin_create_ticket.php:196 ../admin/ost-ticketview.php:96
    75 #: ../templates/new_ticket.php:106
    76 msgid "Username"
    77 msgstr "اسم المستخدم"
    78 
    79 #: ../admin/admin_create_ticket.php:194
    80 msgid "WP Username"
    81 msgstr "اسم مستخدم الوورد برس"
    82 
    83 #: ../admin/admin_create_ticket.php:195
    84 msgid "Osticket Username"
    85 msgstr "اسم مستخدم Osticket "
    86 
    87 #: ../admin/admin_create_ticket.php:199 ../templates/new_ticket.php:109
    88 msgid "Your Email"
    89 msgstr "بريدك الإلكتروني"
    90 
    91 #: ../admin/admin_create_ticket.php:202 ../admin/ost-tickets.php:86 ../admin/ost-ticketview.php:134
    92 #: ../templates/contact_ticket.php:83 ../templates/list_tickets.php:48 ../templates/new_ticket.php:112
    93 #: ../templates/view_ticket.php:145
    94 msgid "Subject"
    95 msgstr "العنوان"
    96 
    97 #: ../admin/admin_create_ticket.php:205 ../templates/new_ticket.php:115
    98 msgid "Catagories"
    99 msgstr "التصنيفات"
    100 
    101 #: ../admin/admin_create_ticket.php:208 ../templates/contact_ticket.php:73 ../templates/new_ticket.php:118
    102 msgid "Select a Category"
    103 msgstr "اختر تصنيف"
    104 
    105 #: ../admin/admin_create_ticket.php:216 ../admin/ost-tickets.php:87 ../admin/ost-ticketview.php:108
    106 #: ../templates/view_ticket.php:109
    107 msgid "Priority"
    108 msgstr "الأولوية"
    109 
    110 #: ../admin/admin_create_ticket.php:218 ../templates/new_ticket.php:128
    111 msgid "Select a Priority"
    112 msgstr "اختر الأولولية"
    113 
    114 #: ../admin/admin_create_ticket.php:229
    115 msgid "To best assist you, please be specific and detailed in your message *"
    116 msgstr "لتقديم أفضل مساعدة لك، يرجى توضيح التفاصيل جيداً في الرسالة *"
    117 
    118 #: ../admin/admin_create_ticket.php:250 ../admin/ost-ticketview.php:223 ../templates/new_ticket.php:160
    119 msgid "Attachment 1:"
    120 msgstr "مرفق 1:"
    121 
    122 #: ../admin/admin_create_ticket.php:250 ../admin/ost-ticketview.php:223 ../templates/new_ticket.php:160
    123 #: ../templates/view_ticket.php:244
    124 msgid "Add"
    125 msgstr "إضافة"
    126 
    127 #: ../admin/admin_create_ticket.php:250 ../admin/ost-ticketview.php:223 ../templates/new_ticket.php:160
    128 #: ../templates/view_ticket.php:26 ../templates/view_ticket.php:244
    129 msgid "Max file upload size :"
    130 msgstr "الحد الأقصى لحجم الملف:"
    131 
    132 #: ../admin/admin_create_ticket.php:257 ../admin/ost-ticketview.php:230 ../templates/new_ticket.php:167
    133 msgid "Attachments on the Filesystem plugin can be downloaded here:"
    134 msgstr "مرفقات هذه الإضافة يمكن تحميلها من هنا:"
    135 
    136 #: ../admin/admin_create_ticket.php:257 ../admin/ost-ticketview.php:230 ../templates/new_ticket.php:167
    137 #: ../templates/view_ticket.php:251
    138 msgid "Attachement Filesystem Plugin"
    139 msgstr "إضافة الملفات المرفقة"
    140 
    141 #: ../admin/admin_create_ticket.php:264 ../admin/header_nav_ticket.php:18 ../ost-bridge.php:157
    142 #: ../templates/nav_bar.php:46 ../templates/new_ticket.php:174
    143 msgid "Create Ticket"
    144 msgstr "إنشاء بطاقة"
    145 
    146 #: ../admin/admin_create_ticket.php:265 ../templates/contact_ticket.php:110 ../templates/new_ticket.php:175
    147 #: ../templates/view_ticket.php:271
    148 msgid "Reset"
    149 msgstr "إعادة تعيين الافتراضيات"
    150 
    151 # ------------------Email Template ost-emailtemp.php End Here half file remain-----------------------------------
    152 #: ../admin/db-settings.php:394 ../admin/db-settings.php:444 ../admin/db-settings.php:456
    153 #: ../admin/db-settings.php:468
    154 msgid "Stand by while your"
    155 msgstr "انتظر قليلاً"
    156 
    157 #: ../admin/db-settings.php:394 ../ost-bridge.php:163
    158 msgid "Settings"
    159 msgstr "إعدادات"
    160 
    161 #: ../admin/db-settings.php:394
    162 msgid "are being updated..."
    163 msgstr "يتم تحديث ..."
    164 
    165 #: ../admin/db-settings.php:403 ../admin/db-settings.php:422 ../admin/ost-config.php:28
    166 msgid "Error:"
    167 msgstr "خطأ:"
    168 
    169 #: ../admin/db-settings.php:403 ../admin/db-settings.php:422
    170 msgid ""
    171 "Message field cannot be empty, if you are closing the ticket, then enter: \"Closing Ticket\" in post a reply."
    172 msgstr "حقل الرسالة لا يمكن أن يكون فارغا, إن كنت تغلق البطاقة فأدخل: \"إغلاق البطاقة\" بحقل الرّد."
    173 
    174 #: ../admin/db-settings.php:407
    175 msgid "Thread updated successfully...Stand by: for auto refresh!"
    176 msgstr "تم تحديث الموضوع بنجاح.... انتظر قليلاً!"
    177 
    178 #: ../admin/db-settings.php:426
    179 msgid "Ticket created successfully...Stand by: for auto refresh!"
    180 msgstr "تم إنشاء البطاقة بنجاح.... انتظر قليلاً!"
    181 
    182 #: ../admin/db-settings.php:444 ../admin/ost-emailtemp.php:56
    183 msgid "Admin Response Email"
    184 msgstr "بريد رد المدير"
    185 
    186 #: ../admin/db-settings.php:444 ../admin/db-settings.php:456 ../admin/db-settings.php:468
    187 msgid "is being updated..."
    188 msgstr "جاري التحديث ..."
    189 
    190 #: ../admin/db-settings.php:456 ../admin/ost-emailtemp.php:38
    191 msgid "New Ticket Email"
    192 msgstr "بطاقة جديدة"
    193 
    194 #: ../admin/db-settings.php:468 ../admin/ost-emailtemp.php:75
    195 msgid "User Post Confirmation Email"
    196 msgstr "بريد تأكيد نشر المستخدم"
    197 
    198 #: ../admin/header_nav.php:16
    199 msgid "Data Config"
    200 msgstr "تكوين البيانات"
    201 
    202 #: ../admin/header_nav.php:17
    203 msgid "osT-Settings"
    204 msgstr "إعدادات osT"
    205 
    206 #: ../admin/header_nav.php:18 ../ost-bridge.php:173
    207 msgid "Email Templates"
    208 msgstr "قوالب البريد"
    209 
    210 #: ../admin/header_nav.php:19 ../ost-bridge.php:79
    211 msgid "Support Tickets"
    212 msgstr "بطاقات الدعم"
    213 
    214 #: ../admin/header_nav.php:26 ../admin/header_nav_ticket.php:42
    215 msgid "1 or more of your email templates is not setup"
    216 msgstr "واحد أو أكثر من قوالب البريد لم يتم إعداده"
    217 
    218 #: ../admin/header_nav.php:26 ../admin/header_nav_ticket.php:42
    219 msgid "Click Here"
    220 msgstr "انقر هنا"
    221 
    222 #: ../admin/header_nav_ticket.php:21 ../admin/ost-emailtemp.php:32 ../admin/ost-emailtemp.php:50
    223 #: ../admin/ost-emailtemp.php:69 ../admin/ost-ticketview.php:90 ../templates/list_tickets.php:95
    224 #: ../templates/view_ticket.php:90
    225 msgid "Open"
    226 msgstr "مفتوحة"
    227 
    228 #: ../admin/header_nav_ticket.php:22 ../admin/ost-ticketview.php:92 ../templates/list_tickets.php:98
    229 #: ../templates/view_ticket.php:92
    230 msgid "Answered"
    231 msgstr "تمت الإجابة"
    232 
    233 #: ../admin/header_nav_ticket.php:23 ../admin/ost-ticketview.php:88 ../templates/list_tickets.php:92
    234 #: ../templates/nav_bar.php:53 ../templates/view_ticket.php:88
    235 msgid "Closed"
    236 msgstr "مغلقة "
    237 
    238 #: ../admin/header_nav_ticket.php:24
    239 msgid "All"
    240 msgstr "الكل"
    241 
    242 #: ../admin/header_nav_ticket.php:30
    243 msgid "Search"
    244 msgstr "بحث"
    245 
    246 #: ../admin/header_nav_ticket.php:33
    247 msgid "Go >>"
    248 msgstr "اذهب >>"
    249 
    250 #: ../admin/header_nav_ticket.php:42
    251 msgid "Warning:"
    252 msgstr "تحذير:"
    253 
    254 #: ../admin/ost-config.php:8
    255 msgid "osTicket Data Configuration"
    256 msgstr "تكوين بيانات osTicket "
    257 
    258 #: ../admin/ost-config.php:11
    259 msgid ""
    260 "View or edit your OSTicket database information, you should already have osTicket installed to your server, "
    261 "view the osticket-folder/include/ost-config.php file. Look for DBHOST, DBNAME & DBUSER for the info required "
    262 "below."
    263 msgstr ""
    264 "عرض أو تعديل معلومات قاعدة بيانات OSTicket، يجب أن يكون OSTicket قد تم تنصيبه مسبقاً على مخدّمك، راجع الملف "
    265 "osticket-folder/include/ost-config.php و ابحث عن المتغيرات DBHOST، DBNAME ،DBUSER"
    266 
    267 #: ../admin/ost-config.php:11
    268 msgid ""
    269 "Landing Page Name: The welcome page can be any name you want: Support, Helpdesk, Contact-Us, ext...the plugin "
    270 "will create this page. Note: If this page exists it will be over written, also this cannot be the same name as "
    271 "your osTicket folder."
    272 msgstr ""
    273 "اسم الصفحة الرئيسية: الصفحة الترحيبية يمكن أن تكون بأي اسم تريده: الدعم، المساعدة، اتصل بنا... إلخ ستقوم "
    274 "الإضافة بإنشاء هذه الصفحة في حالة عدم تواجدها. ملاحظة: في حال وجود الصفحة مسبقاً ستقوم الإضافة بالكتابة فوقها "
    275 "كذلك لا يمكن أن يكون اسمها بنفس اسم مجلد osTicket."
    276 
    277 #: ../admin/ost-config.php:28
    278 msgid "All fields are required below for the database..."
    279 msgstr "جميع الحقول أدناه مطلوبة لقاعدة البيانات..."
    280 
    281 #: ../admin/ost-config.php:89
    282 msgid "Your settings saved successfully...Thank you!"
    283 msgstr "تم حفظ إعداداتك بنجاح... شكراً لك"
    284 
    285 #: ../admin/ost-config.php:100
    286 msgid "Host Name:"
    287 msgstr "اسم المضيف:"
    288 
    289 #: ../admin/ost-config.php:101
    290 msgid "( Normally this is localhost )"
    291 msgstr "( عادة يكون localhost )"
    292 
    293 #: ../admin/ost-config.php:104
    294 msgid "Database Name:"
    295 msgstr "اسم قاعدة البيانات:"
    296 
    297 #: ../admin/ost-config.php:105
    298 msgid "( osTicket Database Name Goes Here )"
    299 msgstr "( اسم قاعدة بيانات osTicket هنا )"
    300 
    301 #: ../admin/ost-config.php:108
    302 msgid "Database Username:"
    303 msgstr "اسم المستخدم لقاعدة البيانات:"
    304 
    305 #: ../admin/ost-config.php:109
    306 msgid "( osTicket Database Username Goes Here )"
    307 msgstr "( اسم مستخدم قاعدة بيانات osTicket هنا )"
    308 
    309 #: ../admin/ost-config.php:112
    310 msgid "Database Password:"
    311 msgstr "كلمة المرور:"
    312 
    313 #: ../admin/ost-config.php:113
    314 msgid "( osTicket Database Password Goes Here )"
    315 msgstr "( كلمة مرور قاعدة بيانات osTicket هنا )"
    316 
    317 #: ../admin/ost-config.php:116
    318 msgid "Database Prefix:"
    319 msgstr "بادئة قاعدة البيانات:"
    320 
    321 #: ../admin/ost-config.php:117
    322 msgid "( osTicket Database Prefix Goes Here )"
    323 msgstr "( بادئة قاعدة البيانات osTicket هنا )"
    324 
    325 #: ../admin/ost-config.php:120
    326 msgid "Osticket Version:"
    327 msgstr "إصدار osTicket:"
    328 
    329 #: ../admin/ost-config.php:131
    330 msgid "(Select Osticket Version)"
    331 msgstr "(اختر إصدار Osticket)"
    332 
    333 #: ../admin/ost-config.php:135
    334 msgid "Enable Closing Ticket By User:"
    335 msgstr "تفعيل إغلاق البطاقة بواسطة المستخدم:"
    336 
    337 #: ../admin/ost-config.php:139
    338 msgid "Landing Page Name:"
    339 msgstr "اسم الصفحة الرئيسية:"
    340 
    341 #: ../admin/ost-config.php:141
    342 msgid "Landing Page Name( Create this page...read Landing Page Note above! )"
    343 msgstr "اسم الصفحة الرئيسية ( أنشئ هذه الصحفة... اقرأ حولها بالملاحظة أعلاه! )"
    344 
    345 #: ../admin/ost-config.php:144
    346 msgid "Contact Ticket Page:"
    347 msgstr "صفحة بطاقة الاتصال:"
    348 
    349 #: ../admin/ost-config.php:166
    350 msgid "(Select contact ticket page)"
    351 msgstr "(احتر صفحة بطاقة الاتصال)"
    352 
    353 #: ../admin/ost-config.php:170
    354 msgid "Thank You Page:"
    355 msgstr "صفحة الشكر:"
    356 
    357 #: ../admin/ost-config.php:192
    358 msgid "(Select thank you page)"
    359 msgstr "(اختر صفحة الشكر)"
    360 
    361 #: ../admin/ost-config.php:197
    362 msgid "Save Changes"
    363 msgstr "حفظ التعديلات"
    364 
    365 #: ../admin/ost-emailtemp.php:8
    366 msgid "osTicket Email Templates"
    367 msgstr "قوالب بريد osTicket "
    368 
    369 # ------------------Email Template ost-emailtemp.php Start Here-----------------------------------
    370 #: ../admin/ost-emailtemp.php:11
    371 msgid ""
    372 "The \"Email Templates\" sent from site to client: new tickets confirmations, user post confirmations & admin "
    373 "post replies."
    374 msgstr "\"قوالب البريد\" أرسلت من الموقع للزبون: تأكيدات البطاقات الجديدة و ملاحظات المستخدم و ردود المدير."
    375 
    376 #: ../admin/ost-emailtemp.php:11
    377 msgid ""
    378 "Note: Each input field will have a suggested default template, you can place any text & use the variables "
    379 "listed below."
    380 msgstr "ملاحظة: كل حقل إدخال فيه قيم افتراضية مقترحة، يمكنك وضع أي نص واستخدام المتغيرات المدرجة أدناه."
    381 
    382 #: ../admin/ost-emailtemp.php:13
    383 msgid "$Variables You can use In Email"
    384 msgstr "يمكنك استخدام المتغيرات $Variables في البريد الإلكتروني"
    385 
    386 #: ../admin/ost-emailtemp.php:15
    387 msgid "$username=\"User Name\""
    388 msgstr "$username=\"اسم المستخدم\""
    389 
    390 #: ../admin/ost-emailtemp.php:16
    391 msgid "$usermail=\"User Email\""
    392 msgstr "$usermail=\"بريد المستخدم\""
    393 
    394 #: ../admin/ost-emailtemp.php:17
    395 msgid "$ticketid=\"Ticket #\""
    396 msgstr "$ticketid=\"رقم البطاقة\""
    397 
    398 #: ../admin/ost-emailtemp.php:18
    399 msgid "$ticketurl=\"Ticket Url\""
    400 msgstr "$ticketurl=\"رابط البطاقة\""
    401 
    402 #: ../admin/ost-emailtemp.php:19
    403 msgid "$ostitle=\"Support Title\""
    404 msgstr "$ostitle=\"عنوان الدعم\""
    405 
    406 #: ../admin/ost-emailtemp.php:20
    407 msgid "$siteurl=\"Support Url\""
    408 msgstr "$siteurl=\"رابط الدعم\""
    409 
    410 #: ../admin/ost-emailtemp.php:21
    411 msgid "$dname=\"Landing Page\""
    412 msgstr "$dname=\"الصفحة الرئيسية\""
    413 
    414 #: ../admin/ost-emailtemp.php:22
    415 msgid "$user_message=\"Users Message\""
    416 msgstr "$user_message=\"رسالة المستخدمين\""
    417 
    418 #: ../admin/ost-emailtemp.php:23
    419 msgid "$admin_response=\"Staff Message\""
    420 msgstr "$admin_response=\"رسالة الموظف\""
    421 
    422 #: ../admin/ost-emailtemp.php:24
    423 msgid "$signature=\"Staff/ Department Signature\""
    424 msgstr "$signature=\"توقيع القسم/الموظف\""
    425 
    426 #: ../admin/ost-emailtemp.php:25
    427 msgid "$ussubject=\"Ticket subject\""
    428 msgstr "$ussubject=\"عنوان البطاقة\""
    429 
    430 #: ../admin/ost-emailtemp.php:32
    431 msgid "New Ticket Email Template"
    432 msgstr "قالب رسالة بطاقة جديدة"
    433 
    434 #: ../admin/ost-emailtemp.php:32 ../admin/ost-emailtemp.php:69
    435 msgid "We suggest using this template in the user confirmation email below."
    436 msgstr "نقترح عليك استخدام هذا القالب في رسالة تأكيد المستخدم أدناه."
    437 
    438 #: ../admin/ost-emailtemp.php:38 ../admin/ost-emailtemp.php:56 ../admin/ost-emailtemp.php:75
    439 #: ../admin/ost-tickets.php:167 ../admin/ost-tickets.php:169 ../admin/ost-tickets.php:174
    440 #: ../admin/ost-ticketview.php:241 ../templates/list_tickets.php:122 ../templates/view_ticket.php:263
    441 msgid "Close"
    442 msgstr "إغلاق"
    443 
    444 #: ../admin/ost-emailtemp.php:45
    445 msgid "Save - New Ticket Email"
    446 msgstr "حفظ - رسالة بطاقة جديدة"
    447 
    448 #: ../admin/ost-emailtemp.php:50
    449 msgid "Admin Response Email Template"
    450 msgstr "قالب بريد رد المشرف"
    451 
    452 #: ../admin/ost-emailtemp.php:50
    453 msgid "We suggest using this template in your post reply to user below."
    454 msgstr "نحن نقترح عليك استخدام هذا القالب في الرد على المقالة للمستخدم أدناه."
    455 
    456 #: ../admin/ost-emailtemp.php:69
    457 msgid "User Post Confirmation Email Template"
    458 msgstr "تأكيد قالب بريد الناشر"
    459 
    460 #: ../admin/ost-emailtemp.php:82
    461 msgid "Save - User Post Confirmation Email"
    462 msgstr "حفظ - رسالة تأكيد مقالة المستخدم"
    463 
    464 #: ../admin/ost-settings.php:8 ../ost-bridge.php:328 ../ost-bridge.php:342
    465 msgid "osTicket Settings"
    466 msgstr " إعدادات osTicket"
    467 
    468 #: ../admin/ost-settings.php:11
    469 msgid "Some simple plugin settings for Wordpress."
    470 msgstr "بعض إعدادات الإضافة البسيطة لوورد برس"
    471 
    472 #: ../admin/ost-settings.php:24
    473 msgid "Support Center Status:"
    474 msgstr "حالة مركز الدعم:"
    475 
    476 #: ../admin/ost-settings.php:25
    477 msgid "Online"
    478 msgstr "متصل"
    479 
    480 #: ../admin/ost-settings.php:25
    481 msgid "(Active)"
    482 msgstr "(نشط)"
    483 
    484 #: ../admin/ost-settings.php:25
    485 msgid "Offline"
    486 msgstr "غير متصل"
    487 
    488 #: ../admin/ost-settings.php:25
    489 msgid "( offline will display maintenance message on website )"
    490 msgstr "( غير متصل سيتم عرض رسالة الصيانة على الموقع )"
    491 
    492 #: ../admin/ost-settings.php:28
    493 msgid "Helpdesk Name/Title:"
    494 msgstr "الاسم/العنوان مكتب المساعدة:"
    495 
    496 #: ../admin/ost-settings.php:29
    497 msgid "( displayed in emails & welcome/user pages )"
    498 msgstr "( تم عرضه في البريد & ترحيب/صفحات المستخدم )"
    499 
    500 #: ../admin/ost-settings.php:32
    501 msgid "Maximum Open Tickets:"
    502 msgstr "الحد الأقصى للبطاقات المفتوحة:"
    503 
    504 #: ../admin/ost-settings.php:33
    505 msgid "( per/user - enter 0 for unlimited )"
    506 msgstr "( لكل مستخدم - أدخل 0 من أجل عدد لا نهائي )"
    507 
    508 #: ../admin/ost-settings.php:36
    509 msgid "Reply Separator Tag:"
    510 msgstr "وسم فاصل الرّد:"
    511 
    512 #: ../admin/ost-settings.php:37
    513 msgid "( should be blank - if you are email polling...read"
    514 msgstr "( يجب أن تكون فارغة - إن كنت رسالة اقتراع... اقرأ"
    515 
    516 #: ../admin/ost-settings.php:37
    517 msgid "[+]"
    518 msgstr "[+]"
    519 
    520 #: ../admin/ost-settings.php:37
    521 msgid " )"
    522 msgstr " )"
    523 
    524 #: ../admin/ost-settings.php:42
    525 msgid ""
    526 "Note: If email polling, login to: osTicket->Emails->Templates->Response/Reply Template remove %{ticket."
    527 "client_link}"
    528 msgstr ""
    529 "ملاحظة: إذا كان رسالة اقتراع، سجل دخول لـ: osTicket->رسائل->قوالب->إجابة/قالب رد و أزل %{ticket.client_link}"
    530 
    531 #: ../admin/ost-settings.php:43
    532 msgid "Replace with"
    533 msgstr "استبدال بـ"
    534 
    535 #: ../admin/ost-settings.php:43
    536 msgid "%{ticket.number}"
    537 msgstr "%{ticket.number}"
    538 
    539 #: ../admin/ost-settings.php:48
    540 msgid "SMTP Status"
    541 msgstr "حالة SMTP "
    542 
    543 #: ../admin/ost-settings.php:57
    544 msgid "Enable"
    545 msgstr "تفعيل"
    546 
    547 #: ../admin/ost-settings.php:58
    548 msgid "Disable"
    549 msgstr "تعطيل"
    550 
    551 #: ../admin/ost-settings.php:59
    552 msgid "(Please select smtp status.)"
    553 msgstr "(الرجاء تحديد حالة SMTP.)"
    554 
    555 #: ../admin/ost-settings.php:62
    556 msgid "SMTP Username"
    557 msgstr "اسم مستخدم SMTP "
    558 
    559 #: ../admin/ost-settings.php:63
    560 msgid "Please enter smtp username."
    561 msgstr "يرجى كتابة اسم مستخدم SMTP"
    562 
    563 #: ../admin/ost-settings.php:66
    564 msgid "SMTP Password"
    565 msgstr "كلمة مرور SMTP"
    566 
    567 #: ../admin/ost-settings.php:67
    568 msgid "Please enter smtp password."
    569 msgstr "يرجى ادخال كلمة مرور SMTP"
    570 
    571 #: ../admin/ost-settings.php:70
    572 msgid "SMTP Host"
    573 msgstr "مضيف SMTP"
    574 
    575 #: ../admin/ost-settings.php:71
    576 msgid "Please enter smtp host."
    577 msgstr "يرجى كتابة اسم مضيف SMTP"
    578 
    579 #: ../admin/ost-settings.php:74
    580 msgid "SMTP Port"
    581 msgstr "منفذ SMTP"
    582 
    583 #: ../admin/ost-settings.php:75
    584 msgid "Please enter smtp port."
    585 msgstr "يرجى كتابة منفذ SMTP"
    586 
    587 #: ../admin/ost-settings.php:79
    588 msgid "Save Settings"
    589 msgstr "حفظ الاعدادات"
    590 
    591 #: ../admin/ost-tickets.php:18
    592 #, php-format
    593 msgid "%d record(s) has been deleted successfully"
    594 msgstr "تم حذف %d سجل بنجاح"
    595 
    596 #: ../admin/ost-tickets.php:34
    597 #, php-format
    598 msgid "%d record(s) has been closed successfully"
    599 msgstr "تم إغلاق %d سجل بنجاح"
    600 
    601 #: ../admin/ost-tickets.php:50
    602 #, php-format
    603 msgid "%d record(s) has been re-opened successfully"
    604 msgstr "تم إعادة فتح %d سجل بنجاح"
    605 
    606 #: ../admin/ost-tickets.php:74 ../templates/list_tickets.php:41
    607 msgid "Are you sure you want to continue?"
    608 msgstr "هل أنت متأكد أنك تريد المتابعة ؟"
    609 
    610 #: ../admin/ost-tickets.php:76 ../ost-bridge.php:149 ../ost-bridge.php:151
    611 msgid "Support/Request List"
    612 msgstr "الدعم/قائمة الطلبات"
    613 
    614 #: ../admin/ost-tickets.php:85
    615 msgid "Ticket #"
    616 msgstr "بطاقة"
    617 
    618 #: ../admin/ost-tickets.php:88 ../admin/ost-ticketview.php:100 ../templates/list_tickets.php:50
    619 #: ../templates/view_ticket.php:99
    620 msgid "Department"
    621 msgstr "القسم"
    622 
    623 #: ../admin/ost-tickets.php:89 ../templates/list_tickets.php:51
    624 msgid "Date"
    625 msgstr "التاريخ"
    626 
    627 #: ../admin/ost-tickets.php:129 ../admin/ost-ticketview.php:116 ../templates/view_ticket.php:114
    628 #: ../templates/view_ticket.php:128
    629 msgid "Emergency"
    630 msgstr "عاجل"
    631 
    632 #: ../admin/ost-tickets.php:132 ../admin/ost-ticketview.php:118 ../templates/view_ticket.php:116
    633 #: ../templates/view_ticket.php:130
    634 msgid "High"
    635 msgstr "مرتفع"
    636 
    637 #: ../admin/ost-tickets.php:135 ../admin/ost-tickets.php:138 ../admin/ost-ticketview.php:120
    638 #: ../admin/ost-ticketview.php:124 ../templates/view_ticket.php:118 ../templates/view_ticket.php:122
    639 #: ../templates/view_ticket.php:132 ../templates/view_ticket.php:136
    640 msgid "Normal"
    641 msgstr "عادي"
    642 
    643 #: ../admin/ost-tickets.php:141 ../admin/ost-ticketview.php:122 ../templates/view_ticket.php:120
    644 #: ../templates/view_ticket.php:134
    645 msgid "Low"
    646 msgstr "منخفض"
    647 
    648 #: ../admin/ost-tickets.php:158 ../templates/list_tickets.php:112
    649 msgid "No Records Found."
    650 msgstr "لم يتم العثور على سجلات"
    651 
    652 #: ../admin/ost-tickets.php:165
    653 msgid "Delete"
    654 msgstr "حذف"
    655 
    656 #: ../admin/ost-tickets.php:170 ../admin/ost-tickets.php:172 ../admin/ost-ticketview.php:239
    657 #: ../templates/view_ticket.php:260
    658 msgid "Reopen"
    659 msgstr "إعادة فتح"
    660 
    661 #: ../admin/ost-ticketview.php:70
    662 msgid "Reply to Support Request"
    663 msgstr "رد على طلب الدعم"
    664 
    665 #: ../admin/ost-ticketview.php:77
    666 msgid "Ticket ID"
    667 msgstr "رقم البطاقة"
    668 
    669 #: ../admin/ost-ticketview.php:78 ../admin/ost-ticketview.php:254 ../templates/view_ticket.php:270
    670 msgid "Post Reply"
    671 msgstr "إضافة رد"
    672 
    673 #: ../admin/ost-ticketview.php:84 ../templates/view_ticket.php:85
    674 msgid "Ticket Status"
    675 msgstr "حالة البطاقة"
    676 
    677 #: ../admin/ost-ticketview.php:102
    678 msgid "User Email"
    679 msgstr "بريد المستخدم"
    680 
    681 #: ../admin/ost-ticketview.php:106
    682 msgid "Date Create"
    683 msgstr "تاريخ الإنشاء"
    684 
    685 #: ../admin/ost-ticketview.php:139 ../templates/view_ticket.php:150
    686 msgid "Ticket Thread"
    687 msgstr "موضوع البطاقة"
    688 
    689 #: ../admin/ost-ticketview.php:185 ../templates/view_ticket.php:201
    690 msgid "Post a Reply"
    691 msgstr "إضافة الرد"
    692 
    693 #: ../admin/ost-ticketview.php:239 ../admin/ost-ticketview.php:241 ../templates/view_ticket.php:260
    694 #: ../templates/view_ticket.php:263
    695 msgid "Ticket On Reply"
    696 msgstr "بطاقة رد"
    697 
    698 #: ../admin/ost-ticketview.php:248
    699 msgid "My signature"
    700 msgstr "توقيعي"
    701 
    702 #: ../admin/ost-ticketview.php:249
    703 msgid "Dept. Signature"
    704 msgstr "توقيع القسم"
    705 
    706 #: ../admin/ost-ticketview.php:255
    707 msgid "Cancel - Go Back"
    708 msgstr "إلغاء - عودة للخلف"
    709 
    710 #: ../ost-bridge.php:62
    711 msgid "Open Tickets"
    712 msgstr "فتح البطاقات"
    713 
    714 #: ../ost-bridge.php:141 ../ost-bridge.php:143
    715 msgid "Tickets"
    716 msgstr "بطاقات"
    717 
    718 #: ../ost-bridge.php:151
    719 msgid "Email Tickets"
    720 msgstr "بطاقات البريد"
    721 
    722 #: ../ost-bridge.php:168
    723 msgid "osT-Config"
    724 msgstr "تكوين osT"
    725 
    726 #: ../ost-bridge.php:307 ../ost-bridge.php:314 ../ost-bridge.php:324 ../ost-bridge.php:338 ../ost-bridge.php:352
    727 msgid "You do not have sufficient permissions to access this page."
    728 msgstr "لا تملك صلاحيات الدخول لهذه الصفحة"
    729 
    730 #: ../ost-bridge.php:328 ../ost-bridge.php:342 ../ost-bridge.php:356
    731 msgid ""
    732 "<p><b>Error:</b> You must complete \"osTicket Data Configure\" before this page will display... <a href="
    733 "\"admin.php?page=ost-config\">click here</a></p>"
    734 msgstr ""
    735 "<p><b>خطأ:</b> يجب إكمال إعدادات \"osTicket\" قبل عرض هذه الصفحة... <a href=\"admin.php?page=ost-config\">انقر "
    736 "هنا</a></p>"
    737 
    738 #: ../templates/contact_ticket.php:42 ../templates/new_ticket.php:80
    739 msgid "A new request has been created successfully!"
    740 msgstr "تم إنشاء الطلب الجديد بنجاح!"
    741 
    742 #: ../templates/contact_ticket.php:45 ../templates/new_ticket.php:83
    743 msgid "We are currently notifying the selected department staff..."
    744 msgstr "يجري حالياً تنبيه موظفي القسم المحدّد..."
    745 
    746 #: ../templates/contact_ticket.php:49 ../templates/new_ticket.php:87
    747 msgid "Thank you for contacting us!"
    748 msgstr "نشكرك لتواصلك معنا!"
    749 
    750 #: ../templates/contact_ticket.php:64
    751 msgid "Full Name:"
    752 msgstr "الاسم الكامل:"
    753 
    754 #: ../templates/contact_ticket.php:67
    755 msgid "Your Email:"
    756 msgstr "بريدك الإلكتروني:"
    757 
    758 #: ../templates/contact_ticket.php:70
    759 msgid "Catagories:"
    760 msgstr "التصنيفات:"
    761 
    762 #: ../templates/contact_ticket.php:90 ../templates/new_ticket.php:139
    763 msgid "To best assist you, please be specific and detailed in your message"
    764 msgstr "لتقديم أفضل مساعدة لكم، يرجى توضيح التفاصيل جيداً في الرسالة"
    765 
    766 #: ../templates/contact_ticket.php:109
    767 msgid "Submit"
    768 msgstr "إرسال"
    769 
    770 # Listing Tickets
    771 #: ../templates/list_tickets.php:47
    772 msgid "Tickets #"
    773 msgstr "بطاقات"
    774 
    775 #: ../templates/list_tickets.php:49
    776 msgid "Status"
    777 msgstr "الحالة"
    778 
    779 #: ../templates/message.php:7
    780 msgid "You currently have the maximum amount allowed open:"
    781 msgstr "أكبر قدر مسموح به من البطاقات المفتوحة هو:"
    782 
    783 #: ../templates/message.php:7 ../templates/message.php:8
    784 msgid ""
    785 "Visit your open tickets and see if any has been resolved, if so you can close any ticket(s) and submit a new "
    786 "one."
    787 msgstr ""
    788 "زيارة بطاقاتك المفتوحة ومعرفة ما إذا كان أياً منها قد تم حلها، إذا كان الأمر كذلك يمكنك إغلاق أي بطاقة وتقديم "
    789 "واحدة جديدة."
    790 
    791 #: ../templates/message.php:7 ../templates/message.php:8
    792 msgid "View open tickets"
    793 msgstr "عرض البطاقات المفتوحة"
    794 
    795 #: ../templates/message.php:8
    796 msgid "You are currently over the maximum amount allowed open:"
    797 msgstr "لقد وصلت لأكبر قدر مسموح به من البطاقات المفتوحة:"
    798 
    799 #: ../templates/message.php:9
    800 msgid "Thank you for your interest in contacting us."
    801 msgstr "شكرا لاهتمامك والاتصال بنا."
    802 
    803 #: ../templates/message.php:9
    804 msgid "Our system is currently offline for maintenance, please check back later."
    805 msgstr "النظام حالياً غير متصل للصيانة، يرجى العودة لاحقاً."
    806 
    807 #: ../templates/nav_bar.php:44
    808 msgid "View Tickets"
    809 msgstr "عرض البطاقات"
    810 
    811 #: ../templates/nav_bar.php:52
    812 msgid "Open / Answered"
    813 msgstr "مفتوحة / مجابة "
    814 
    815 #: ../templates/nav_bar.php:57
    816 msgid "Search..."
    817 msgstr "بحث..."
    818 
    819 #: ../templates/nav_bar.php:58
    820 msgid "Go"
    821 msgstr "أذهب"
    822 
    823 #: ../templates/new_ticket.php:22
    824 msgid "Max file upload size"
    825 msgstr "الحد الأقصى لحجم الملف"
    826 
    827 #: ../templates/new_ticket.php:96
    828 msgid "Open a New Ticket"
    829 msgstr "فتح بطاقة جديدة"
    830 
    831 #: ../templates/new_ticket.php:126
    832 msgid "Priority:"
    833 msgstr "الأولوية:"
    834 
    835 #: ../templates/view_ticket.php:80
    836 msgid "Ticket ID #"
    837 msgstr "رقم البطاقة"
    838 
    839 #: ../templates/view_ticket.php:96
    840 msgid "Name"
    841 msgstr "الاسم"
    842 
    843 #: ../templates/view_ticket.php:101
    844 msgid "Email"
    845 msgstr "E-Mail"
    846 
    847 #: ../templates/view_ticket.php:107
    848 msgid "Create Date"
    849 msgstr "تاريخ الانشاء"
    850 
    851 #: ../templates/view_ticket.php:202
    852 msgid "To best assist you, please be specific and detailed in your reply."
    853 msgstr "لتقديم أفضل مساعدة لكم، يرجى توضيح التفاصيل جيداً في ردكم."
    854 
    855 #: ../templates/view_ticket.php:251
    856 msgid "Attachments on the Filesystem plugin can be downloaded here :"
    857 msgstr "يمكنك تحميل إضافة ملفات النظام من هنا:"
    858 
    859 #: ../templates/view_ticket.php:272
    860 msgid "Cancel"
    861 msgstr "إلغاء"
    862 
    863 #: ../templates/view_ticket.php:281
    864 msgid "No such ticket available."
    865 msgstr "لا تتوفر مثل هذه البطاقة."
    866 
    867 #~ msgid "Please fill in the form below to open a new ticket. All fields mark with [*] Are Required!"
    868 #~ msgstr ""
    869 #~ "يرجى تعبئة جمع الحقول أدناه لفتح بطاقة جديدة، جميع الحقول التي لها علامة (*) هي حقول مطلوب تعبئتها اجباريا"
    870 
    871 #~ msgid "Select User Type"
    872 #~ msgstr "اختر نوع المستخدم"
    873 
    874 #~ msgid "Database Name:( osTicket Database Name Goes Here )"
    875 #~ msgstr "اسم قاعدة البيانات :( اسم قاعدة البيانات osTicket هنا)"
    876 
    877 #~ msgid "New Ticket Email  [Close]"
    878 #~ msgstr "بطاقة إغلاق بريد  جديدة"
    879 
    880 #~ msgid "Admin Response Email [Close]"
    881 #~ msgstr "بريد رد المشرف (إغلاق)"
    882 
    883 #~ msgid "Save - Admin Response Email"
    884 #~ msgstr "حفظ - بريد رد  المشرف"
    885 
    886 #~ msgid "User Post Confirmation Email [Close]"
    887 #~ msgstr "تأكيد مقالة المستخدم"
    888 
    889 #~ msgid "Close Ticket On Reply"
    890 #~ msgstr "إغلاق بطاقة الرد"
    891 
    892 #~ msgid "Dept. Signature (Support)"
    893 #~ msgstr "توقيع قسم الدعم"
    894 
    895 #~ msgid "\"$Variables\" You can use In Email"
    896 #~ msgstr "/ يمكنك استخدام المتغيرات في البريد الإلكتروني"
    897 
    898 #~ msgid "*New Ticket Email Template"
    899 #~ msgstr "بطاقة قالب بريد جديد"
    900 
    901 #~ msgid "Maximum Open Tickets"
    902 #~ msgstr "الحد الأقصى للبطاقات المفتوحة"
    903 
    904 #~ msgid "Support Center Status"
    905 #~ msgstr "حالة مركز الدعم"
    9061# English translations for PACKAGE package.
    9072# Copyright (C) 2012 THE PACKAGE'S COPYRIGHT HOLDER
  • key4ce-osticket-bridge/trunk/ost-bridge.php

    r1119633 r1121801  
    33Plugin Name: Key4ce osTicket Bridge
    44Plugin URI: https://key4ce.com/projects/key4ce-osticket-bridge
    5 Description: Integrate osTicket (v1.9.3 - 1.9.6) into wordpress. including user integration and scp
    6 Version: 1.2.8
     5Description: Integrate osTicket (v1.9.3 - 1.9.5) into wordpress. including user integration and scp
     6Version: 1.2.7
    77Author: Key4ce
    88Author URI: https://key4ce.com
  • key4ce-osticket-bridge/trunk/templates/new_ticket.php

    r1119633 r1121801  
    6767        var FileSizeMB = (FileSize / 10485760).toFixed(2);
    6868        var FileExts = new Array(<?php echo $extimp; ?>);
    69         if ((FileSize > <?php echo $max_file_size; ?>))
     69       
     70        if ((FileSize > <?php echo $max_file_size; ?>) || )
    7071        {
    7172            alert("<?php echo __("Please make sure your file is less than", 'key4ce-osticket-bridge'); ?> <?php echo ($max_file_size* .0009765625) * .0009765625; ?>MB.");
     
    7374            return false;
    7475        }
    75         if (FileExts.indexOf(FileExt) < 0)
    76         {
    77             error = "<?php echo __("Please make sure your file extension should be :", 'key4ce-osticket-bridge'); ?> \n";
    78             error += FileExts;
    79             alert(error);
    80             document.getElementById(FileId).value = "";
    81             return false;
    82         }
     76        if(FileExts!="")
     77        {
     78            if (FileExts.indexOf(FileExt) < 0)
     79            {
     80                error = "<?php echo __("Please make sure your file extension should be :", 'key4ce-osticket-bridge'); ?> \n";
     81                error += FileExts;
     82                alert(error);
     83                document.getElementById(FileId).value = "";
     84                return false;
     85            }
     86        }
    8387        return true;
    8488    }
  • key4ce-osticket-bridge/trunk/templates/view_ticket.php

    r1119633 r1121801  
    7676                return false;
    7777            }
    78             if (FileExts.indexOf(FileExt) < 0)
    79             {
    80                 error = "<?php echo  __("Please make sure your file extension should be :", 'key4ce-osticket-bridge'); ?> \n";
    81                 error += FileExts;
    82                 alert(error);
    83                 document.getElementById(FileId).value = "";
    84                 return false;
    85             }
     78            if(FileExts!="")
     79            {
     80                if (FileExts.indexOf(FileExt) < 0)
     81                {
     82                    error = "<?php echo __("Please make sure your file extension should be :", 'key4ce-osticket-bridge'); ?> \n";
     83                    error += FileExts;
     84                    alert(error);
     85                    document.getElementById(FileId).value = "";
     86                    return false;
     87                }
     88            }
    8689            return true;
    8790        }
Note: See TracChangeset for help on using the changeset viewer.