Changeset 2300992
- Timestamp:
- 05/08/2020 03:06:32 PM (6 years ago)
- Location:
- emailsystem/trunk
- Files:
-
- 5 edited
-
assets/js/emailsystem.js (modified) (2 diffs)
-
emailsystem.php (modified) (5 diffs)
-
languages/emailsystem-en_US.mo (modified) (previous)
-
languages/emailsystem-en_US.po (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
emailsystem/trunk/assets/js/emailsystem.js
r2127080 r2300992 68 68 window.onload = function(){ 69 69 if (jQuery('#sortable2')[0]) { 70 if (tiny mce) {71 tiny mce.get('form-preface').on('change',function(){72 var form_preface = tiny mce.get('form-preface').getContent();70 if (tinyMCE) { 71 tinyMCE.get('form-preface').on('change',function(){ 72 var form_preface = tinyMCE.get('form-preface').getContent(); 73 73 form_preface = form_preface.replace(/^<p>/,''); 74 74 form_preface = form_preface.replace(/<\/p>$/,''); 75 75 jQuery('#form-preview #preface_preview').html(form_preface); 76 76 }) 77 tiny mce.get('form-consent').on('change',function(){78 var form_consent = tiny mce.get('form-consent').getContent();77 tinyMCE.get('form-consent').on('change',function(){ 78 var form_consent = tinyMCE.get('form-consent').getContent(); 79 79 form_consent = form_consent.replace(/^<p>/,''); 80 80 form_consent = form_consent.replace(/<\/p>$/,''); … … 218 218 jQuery('span.alert').text(em_php_vars['list_warn']) 219 219 return false; 220 } else if ((jQuery('input[name="new_list"]').val() != "") && (jQuery('select[name="selected_list"]').val() != "")) { 221 jQuery('span.alert').text(em_php_vars['both_list_warn']) 222 return false; 220 223 } else { 221 224 jQuery('.list-select input').css('border','1px solid #ddd') -
emailsystem/trunk/emailsystem.php
r2179205 r2300992 4 4 * Plugin URI: https://www.emailsystem.gr/ 5 5 * Description: The easiest, user friendly, professional email marketing platform to grow your email lists and communicate effectively with your subscribers. 6 * Version: 1. 1.16 * Version: 1.2 7 7 * Author: EmailSystem Email Marketing 8 8 * Author URI: https://www.emailsystem.gr/ … … 11 11 * Domain Path: /languages/ 12 12 **/ 13 14 13 ?> 15 14 <?php … … 34 33 add_action('plugins_loaded','check_for_woocommerce'); 35 34 add_action('wp_ajax_empostsave', 'empostsave'); 35 add_filter( 'get_edit_post_link', 'wpd_edit_post_link_filter', 10, 3 ); 36 36 function em_custom_post_type() { 37 37 register_post_type( 'emailsystemform', … … 224 224 } 225 225 wp_enqueue_style( 'icon-css', plugins_url('/assets/css/icon.css', __FILE__)); 226 } 227 function wpd_edit_post_link_filter( $link, $post_ID, $context ){ 228 if( 'emailsystemform' == get_post_type( $post_ID ) ){ 229 $link = $link . '&post_type=emailsystemform'; 230 } 231 return $link; 226 232 } 227 233 function emailsystem_setting(){ … … 477 483 em_php_vars['formname_warn'] = '<?php echo __('Συμπληρώστε το όνομα της φόρμας','emailsystem'); ?>'; 478 484 em_php_vars['list_warn'] = '<?php echo __('Επιλέξτε μία από τις ομάδες σας ή συμπληρώστε το όνομα για τη δημιουργία μίας καινούργιας','emailsystem'); ?>'; 485 em_php_vars['both_list_warn'] = '<?php echo __('Δεν μπορείτε να έχετε και τα δύο πεδία συμπληρωμένα','emailsystem'); ?>'; 479 486 em_php_vars['form_empty'] = '<?php echo __('Η φόρμα σας δεν μπορεί να είναι κενή','emailsystem'); ?>'; 480 487 em_php_vars['form_wrong'] = '<?php echo __('Η φόρμα σας πρέπει να περιέχει τουλάχιστον ένα πεδίο τύπου email και ένα κουμπί τύπου submit','emailsystem'); ?>'; -
emailsystem/trunk/languages/emailsystem-en_US.po
r2127080 r2300992 1 msgid "" 2 msgstr "" 3 "Project-Id-Version: \n" 4 "POT-Creation-Date: \n" 5 "PO-Revision-Date: \n" 6 "Last-Translator: \n" 7 "Language-Team: \n" 8 "MIME-Version: 1.0\n" 9 "Content-Type: text/plain; charset=UTF-8\n" 10 "Content-Transfer-Encoding: 8bit\n" 11 "Language: en_US\n" 12 "X-Generator: Poedit 2.3\n" 13 1 14 msgid "Δημιουργήστε τη φόρμα σας κάνοντας drag & drop τα πεδία που επιθυμείτε από την αριστερή στήλη." 2 15 msgstr "Create your form by dragging & dropping the desired elements from the left column." 16 3 17 msgid "Συμπληρώστε τα παρακάτω πεδία με τα στοιχεία που θα βρείτε στις <b>Πληροφορίες Χρήστη</b> στο λογαριασμό σας στο <a href='https://www.emailsystem.gr/index.php?login=true' target='_blank'>EmailSystem</a> ώστε να αποκτήσετε πρόσβαση στις λειτουργίες του plugin." 4 18 msgstr "Fill in the fields below with the information from <b>User Information</b> in your <a href='https://www.emailsystem.gr/index.php?login=true' target='_blank'>EmailSystem</a> account to access plugin features." 19 5 20 msgid "Όνομα Φόρμας" 6 21 msgstr "Form Name" 22 7 23 msgid "Δημιουργήστε μία καινούργια ομάδα με όνομα" 8 24 msgstr "Create a new list with name" 25 9 26 msgid "ή χρησιμοποιείστε μία από τις υπάρχουσες" 10 27 msgstr "or use one of the existing ones" 28 11 29 msgid "Επιλέξτε ομάδα" 12 30 msgstr "Select list" 31 13 32 msgid "Εισαγωγικό κείμενο:" 14 msgstr "Preface text" 33 msgstr "Preface text:" 34 15 35 msgid "Το κείμενο το οποίο θα εμφανίζεται πριν τα πεδία της φόρμας σας." 16 36 msgstr "Text that will appear above your form's fields." 37 17 38 msgid "Κείμενο συναίνεσης" 18 39 msgstr "Consent text" 40 19 41 msgid "Το κείμενο το οποίο θα εμφανίζεται στο checkbox συναίνεσης του χρήστη για την εγγραφή του στο newsletter." 20 42 msgstr "Text that will appear next to the user consent checkbox for subscribing to the newsletter." 43 21 44 msgid "Ευχαριστήρια σελίδα:" 22 msgstr "Thank you URL" 45 msgstr "Thank you URL:" 46 23 47 msgid "Το URL με το ευχαριστήριο μήνυμα στο οποίο θα γίνεται ανακατεύθυνση μετά τη συμπλήρωση της φόρμας." 24 48 msgstr "The URL with the thank-you message to which the user will be redirected after completing the form." 49 25 50 msgid "Αποθήκευση φόρμας" 26 51 msgstr "Save form" 52 27 53 msgid "Δίνω την συγκατάθεσή μου για την συλλογή των προσωπικών μου δεδομένων αποκλειστικά για την αποστολή ενημερωτικών email από την εταιρεία." 28 54 msgstr "I give my consent to the collection of my personal data solely for the purpose of receiving newsletter from the company." 55 29 56 msgid "Φόντο:" 30 57 msgstr "Background:" 58 31 59 msgid "Περίγραμμα:" 32 60 msgstr "Border:" 61 33 62 msgid "Πλάτος:" 34 63 msgstr "Width:" 64 35 65 msgid "Στυλ:" 36 66 msgstr "Style:" 67 37 68 msgid "Χρώμα:" 38 69 msgstr "Color:" 70 39 71 msgid "Διεύθυνση email" 40 72 msgstr "Email address" 73 41 74 msgid "Εγγραφή" 42 75 msgstr "Subscribe" 76 43 77 msgid "Η διεύθυνσή σας..." 44 78 msgstr "Your email address..." 79 45 80 msgid "Είστε σίγουροι ότι θέλετε να διαγράψετε αυτό το πεδίο; Η ενέργια δεν μπορεί να αναιρεθεί." 46 81 msgstr "Are you sure you want to delete this form field? This action cannot be undone." 82 47 83 msgid "<b>Προσοχή!</b> Η ομάδα αυτή έχει ήδη προσαρμοσμένα πεδία. Εαν η φόρμα σας περιλαμβάνει επιπλέον προσαρμοσμένα πεδία θα δημιουργήσει νέα αφήνοντας τα παλιά ως έχουν." 48 84 msgstr "<b>Attention!</b> This group already has custom fields. If your form includes additional custom fields, it will create new ones leaving the old ones unchanged." 85 49 86 msgid "Συμπληρώστε το όνομα της φόρμας" 50 87 msgstr "Fill in the form name" 88 51 89 msgid "Επιλέξτε μία από τις ομάδες σας ή συμπληρώστε το όνομα για τη δημιουργία μίας καινούργιας" 52 90 msgstr "Select one of your lists or fill in the name to create a new one" 91 53 92 msgid "Η φόρμα σας δεν μπορεί να είναι κενή" 54 93 msgstr "Your form cannot be empty" 94 55 95 msgid "Η φόρμα σας πρέπει να περιέχει τουλάχιστον ένα πεδίο τύπου email και ένα κουμπί τύπου submit" 56 96 msgstr "Your form must contain at least one email field and a submit button" 97 57 98 msgid "Συμπληρώστε το κείμενο συναίνεσης" 58 99 msgstr "Fill in the consent text" 100 59 101 msgid "Η φόρμα σας ενημερώθηκε με επιτυχία! Για να την ενσωματώσετε χρησιμοποιήστε το " 60 102 msgstr "Your form has been updated successfully! To embed it use " 103 61 104 msgid "Η φόρμα σας δημιουργήθηκε με επιτυχία! Για να την ενσωματώσετε χρησιμοποιήστε το " 62 105 msgstr "Your form has been saved successfully! To embed it use " 106 63 107 msgid "<span style='font-size:34px;font-weight:bold;'>Newsletter</span><br><span style='font-size:20px;font-weight:normal;'>Εγγραφείτε στο Newsletter μας</span><br><br>" 64 108 msgstr "<span style='font-size:34px;font-weight:bold;'>Newsletter</span><br><span style='font-size:20px;font-weight:normal;'>Subscribe to our Newsletter</span><br><br>" 109 65 110 msgid "Ζωντανή Προεπισκόπηση" 66 111 msgstr "Live Preview" 112 67 113 msgid "Αποθήκευση" 68 114 msgstr "Save" 115 69 116 msgid "Προβολή checkbox για εγγραφή στο Newsletter κατά το checkout" 70 117 msgstr "Display Newsletter subscription checkbox during checkout" 118 71 119 msgid "Κείμενο που θα εμφανίζεται στο checkbox:" 72 120 msgstr "Checkbox label:" 121 73 122 msgid "Επιλέξτε την ομάδα στην οποία θα γράφονται οι συνδρομητές" 74 123 msgstr "Select the list in which the subscribers will be added" 124 75 125 msgid "ή δημιουργήστε μία καινούργια ομάδα με όνομα:" 76 126 msgstr "or create a new one with name:" 127 77 128 msgid "Δημιουργήστε την ομάδα στην οποία θα γράφονται οι συνδρομητές σας. Δώστε το όνομα της ομάδας:" 78 msgstr "Create the list in which the subscribers will be added. Input the list name" 129 msgstr "Create the list in which the subscribers will be added. Input the list name:" 130 79 131 msgid "Ενεργοποίηση λειτουργίας double opt-in" 80 132 msgstr "Enable double opt-in" 133 134 msgid "Δεν μπορείτε να έχετε και τα δύο πεδία συμπληρωμένα" 135 msgstr "You cannot have both fields completed" -
emailsystem/trunk/readme.txt
r2170520 r2300992 2 2 Tags: emailsystem, newsletter, subscribe, form, webform 3 3 Contributors: emailsystem 4 Tested up to: 5. 2.25 Stable tag: 1. 1.14 Tested up to: 5.4.1 5 Stable tag: 1.2 6 6 Requires at least: 4.9.8 7 7 License: GPLv2 … … 47 47 == Changelog == 48 48 49 =1.2= 50 Fixed a bug that prevented form editing. 51 49 52 =1.1= 50 53 Bootstrap was removed since it was causing incompatibilities.
Note: See TracChangeset
for help on using the changeset viewer.