Changeset 2350886
- Timestamp:
- 08/02/2020 10:51:41 AM (6 years ago)
- Location:
- youforms-free-for-copecart/trunk
- Files:
-
- 7 edited
-
changelog.txt (modified) (1 diff)
-
includes/backend/Dashboard.php (modified) (2 diffs)
-
includes/helpers/Meta_Post_Editor.php (modified) (1 diff)
-
languages/Cope_Formlang-de_DE.mo (modified) (previous)
-
languages/Cope_Formlang-de_DE.po (modified) (7 diffs)
-
readme.txt (modified) (1 diff)
-
youForms.php (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
youforms-free-for-copecart/trunk/changelog.txt
r2349716 r2350886 1 /***1.0.4 - 2020.08.02**/ 2 - Bug fixes 3 1 4 /***1.0.3 - 2020.07.31**/ 2 5 - Add feedback url in Admin notice. -
youforms-free-for-copecart/trunk/includes/backend/Dashboard.php
r2349716 r2350886 21 21 add_action( 'admin_notices', [ __CLASS__, 'feedback_notice' ] ); 22 22 23 //echo "<center>".md5_file(YouFormsITJ_DIR."youForms.php")."</center>";24 25 23 self::$initd = true; 26 24 } 27 25 28 26 public static function feedback_notice() { 27 if(!YouFormsITJ_Meta_Post_Editor::ITJ_CheckPostType()){ 28 return; 29 }; 29 30 ?> 31 30 32 <div class="notice notice-success is-dismissible"> 31 33 <p><?php _e('👋 <a target="blank_" href="https://api.itservicejung.de/feedback?plugin='.YouFormsITJ_plugin_name.'">We need your suggestion on how we can improve <b>'.YouFormsITJ_plugin_name.'</b>!</a> 😛 ', 'sample-text-domain' ); ?></p> … … 36 38 37 39 public static function checkloading() { 38 if (md5_file(YouFormsITJ_DIR."youForms.php") === "14aad9a5fde108d8bfc98eec530ab6e4") {39 40 return true; 40 } else {41 return false;42 }43 41 } 44 42 -
youforms-free-for-copecart/trunk/includes/helpers/Meta_Post_Editor.php
r2344575 r2350886 122 122 } 123 123 124 public static function ITJ_CheckPostType(){ 125 //This if prevent showing the workspace in media or else! 126 $check = true; 127 $scr = get_current_screen(); 128 if ( $scr->post_type !== YouFormsITJ_post_type) { 129 $check = false; 130 } 131 return $check; 132 } 133 124 134 125 135 public static function ITJ_form_WorkSpace() { 126 136 127 //This if prevent showing the workspace in media or else! 128 $scr = get_current_screen(); 129 if ( $scr->post_type !== 'youforms') { 137 if(!self::ITJ_CheckPostType()){ 130 138 return; 131 } 132 139 }; 133 140 134 141 global $post; -
youforms-free-for-copecart/trunk/languages/Cope_Formlang-de_DE.po
r2349716 r2350886 2 2 msgstr "" 3 3 "Project-Id-Version: youforms-1.0\n" 4 "POT-Creation-Date: 2020-07- 25 10:29+0200\n"5 "PO-Revision-Date: 2020-07- 25 10:30+0200\n"4 "POT-Creation-Date: 2020-07-31 20:51+0200\n" 5 "PO-Revision-Date: 2020-07-31 21:06+0200\n" 6 6 "Last-Translator: \n" 7 7 "Language-Team: [email protected]\n" … … 13 13 "X-Poedit-Basepath: ..\n" 14 14 "Plural-Forms: nplurals=2; plural=(n != 1);\n" 15 "X-Poedit-KeywordsList: __;_e;esc_html__;: \n"15 "X-Poedit-KeywordsList: __;_e;esc_html__;:;:\n" 16 16 "X-Poedit-SourceCharset: UTF-8\n" 17 17 "X-Poedit-Flags-xgettext: --add-comments\n" … … 19 19 "X-Poedit-SearchPathExcluded-0: assets\n" 20 20 21 #: includes/helpers/Meta_Post_Editor.php:156 21 #: includes/backend/Dashboard.php:35 22 msgid "" 23 "👋 <a target=\"blank_\" href=\"https://api.itservicejung.de/feedback?plugin=" 24 msgstr "" 25 26 #: includes/helpers/Meta_Post_Editor.php:163 22 27 msgid "" 23 28 "Help: Put your product url in here that you get from CopeCart! This link " … … 28 33 "aufgerufen!" 29 34 30 #: includes/helpers/Meta_Post_Editor.php:1 5735 #: includes/helpers/Meta_Post_Editor.php:164 31 36 msgid "Paste your CopeCart product url here!" 32 37 msgstr "Platzieren Sie hier ihre CopeCart Produkturl ohne Parameter ein!" … … 36 41 #. var_dump(get_post_meta( get_the_ID(), '')); 37 42 #. echo get_post_type( get_the_ID() ); 38 #: includes/helpers/Meta_Post_Editor.php:1 7343 #: includes/helpers/Meta_Post_Editor.php:180 39 44 msgid "Button template" 40 45 msgstr "Schaltfläche" 41 46 42 #: includes/helpers/Meta_Post_Editor.php:1 7447 #: includes/helpers/Meta_Post_Editor.php:181 43 48 msgid "Help: This button open's the Modal template below as a popup!" 44 49 msgstr "" … … 47 52 48 53 #. Get Modal und Script 49 #: includes/helpers/Meta_Post_Editor.php:2 0450 #: includes/helpers/Meta_Post_Editor.php:25 254 #: includes/helpers/Meta_Post_Editor.php:211 55 #: includes/helpers/Meta_Post_Editor.php:259 51 56 msgid "Modal template" 52 57 msgstr "Modales Fenster" 53 58 54 #: includes/helpers/Meta_Post_Editor.php: 29659 #: includes/helpers/Meta_Post_Editor.php:303 55 60 msgid "Hide button template" 56 61 msgstr "Verstecke die Schaltfläche" 57 62 58 63 #. 'Cope_Form_settings', 59 #: includes/helpers/Meta_Post_Editor.php:31 064 #: includes/helpers/Meta_Post_Editor.php:317 60 65 msgid "Visible/hide components" 61 66 msgstr "Aktiviere/Deaktiviere Komponenten" 62 67 63 68 #. 'Cope_Form_settings', 64 #: includes/helpers/Meta_Post_Editor.php:32 069 #: includes/helpers/Meta_Post_Editor.php:327 65 70 msgid "Change button template text" 66 71 msgstr "Ändern der Texte in der Schaltfläche" 67 72 68 73 #. 'Cope_Form_settings', 69 #: includes/helpers/Meta_Post_Editor.php:33 174 #: includes/helpers/Meta_Post_Editor.php:338 70 75 msgid "Change button template color" 71 76 msgstr "Ändern der Farben in der Schaltfläche" 72 77 73 78 #. 'Cope_Form_settings', 74 #: includes/helpers/Meta_Post_Editor.php:34 179 #: includes/helpers/Meta_Post_Editor.php:348 75 80 msgid "Change modal template text" 76 81 msgstr "Ändern der Texte im modalem Fenster" 77 82 78 #: includes/helpers/Meta_Post_Editor.php:3 5979 #: includes/helpers/Meta_Post_Editor.php:4 7683 #: includes/helpers/Meta_Post_Editor.php:366 84 #: includes/helpers/Meta_Post_Editor.php:483 80 85 msgid "Button background:" 81 86 msgstr "Hintergrundfarbe der Formularschaltfläche:" 82 87 83 #: includes/helpers/Meta_Post_Editor.php:3 6984 #: includes/helpers/Meta_Post_Editor.php:4 8688 #: includes/helpers/Meta_Post_Editor.php:376 89 #: includes/helpers/Meta_Post_Editor.php:493 85 90 msgid "Button font-color:" 86 91 msgstr "Schriftfarbe der Schaltfläche:" 87 92 88 #: includes/helpers/Meta_Post_Editor.php:38 293 #: includes/helpers/Meta_Post_Editor.php:389 89 94 msgid "Subscribe NOW! to the premium Wordpress Plugin!" 90 95 msgstr "Abonniere jetzt das Premium WordPress Plugin!" 91 96 92 #: includes/helpers/Meta_Post_Editor.php:3 8397 #: includes/helpers/Meta_Post_Editor.php:390 93 98 msgid "Create checkouts very easy, with the premium CopCart Form!" 94 99 msgstr "Gestalte eigene Masken und steige dein Umsatz mithilfe von CopeCart!" 95 100 96 #: includes/helpers/Meta_Post_Editor.php:3 8997 #: includes/helpers/Meta_Post_Editor.php:46 0101 #: includes/helpers/Meta_Post_Editor.php:396 102 #: includes/helpers/Meta_Post_Editor.php:467 98 103 msgid "Button text:" 99 104 msgstr "Text der Formularschaltfläche:" 100 105 101 #: includes/helpers/Meta_Post_Editor.php:39 0106 #: includes/helpers/Meta_Post_Editor.php:397 102 107 msgid "Your Button-text.." 103 108 msgstr "Ihr Schaltflächentext.." 104 109 105 #: includes/helpers/Meta_Post_Editor.php: 397110 #: includes/helpers/Meta_Post_Editor.php:404 106 111 msgid "Button subtext:" 107 112 msgstr "Subtext der Schaltfläche:" 108 113 109 #: includes/helpers/Meta_Post_Editor.php: 398114 #: includes/helpers/Meta_Post_Editor.php:405 110 115 msgid "Your Button-subtext..." 111 116 msgstr "Ihr Schaltflächensubtext..." 112 117 113 #: includes/helpers/Meta_Post_Editor.php:4 08118 #: includes/helpers/Meta_Post_Editor.php:415 114 119 msgid "Billing address" 115 120 msgstr "Kontaktdaten" 116 121 117 #: includes/helpers/Meta_Post_Editor.php:4 09122 #: includes/helpers/Meta_Post_Editor.php:416 118 123 msgid "Yes! i will subscribe to the premium version!" 119 124 msgstr "Ja! Ich möchte das Premium Plugin für WordPress abonnieren!" 120 125 121 #: includes/helpers/Meta_Post_Editor.php:41 2126 #: includes/helpers/Meta_Post_Editor.php:419 122 127 msgid "Continue Checkout" 123 128 msgstr "Weiter zur Kasse" 124 129 125 #: includes/helpers/Meta_Post_Editor.php:4 13130 #: includes/helpers/Meta_Post_Editor.php:420 126 131 msgid "Checkout will be done by CopeCart!" 127 132 msgstr "Sie werden zur CopeCart Kasse weitergeleitet!" 128 133 129 #: includes/helpers/Meta_Post_Editor.php:4 23134 #: includes/helpers/Meta_Post_Editor.php:430 130 135 msgid "Header text:" 131 136 msgstr "Formularkopftext:" 132 137 133 #: includes/helpers/Meta_Post_Editor.php:4 24134 #: includes/helpers/Meta_Post_Editor.php:46 1138 #: includes/helpers/Meta_Post_Editor.php:431 139 #: includes/helpers/Meta_Post_Editor.php:468 135 140 msgid "Your Headertext.." 136 141 msgstr "Ihr Formularkopftext.." 137 142 138 #: includes/helpers/Meta_Post_Editor.php:43 1143 #: includes/helpers/Meta_Post_Editor.php:438 139 144 msgid "Header subtext:" 140 145 msgstr "Formularkopfsubtext:" 141 146 142 #: includes/helpers/Meta_Post_Editor.php:43 2143 #: includes/helpers/Meta_Post_Editor.php:4 69147 #: includes/helpers/Meta_Post_Editor.php:439 148 #: includes/helpers/Meta_Post_Editor.php:476 144 149 msgid "Your Headersubtext..." 145 150 msgstr "Ihr Schaltflächensubtext..." 146 151 147 #: includes/helpers/Meta_Post_Editor.php:4 39152 #: includes/helpers/Meta_Post_Editor.php:446 148 153 msgid "Header background:" 149 154 msgstr "Hintergrundfarbe vom Formularkopf :" 150 155 151 #: includes/helpers/Meta_Post_Editor.php:4 49156 #: includes/helpers/Meta_Post_Editor.php:456 152 157 msgid "Header font-color:" 153 158 msgstr "Schriftfarbe vom Formularkopf:" 154 159 155 #: includes/helpers/Meta_Post_Editor.php:4 68160 #: includes/helpers/Meta_Post_Editor.php:475 156 161 msgid "Button subtext" 157 162 msgstr "Subtext von der Formularschaltfläche" 158 163 159 #: includes/helpers/Meta_Post_Editor.php:5 47164 #: includes/helpers/Meta_Post_Editor.php:554 160 165 msgid "Enable Email" 161 166 msgstr "Aktiviere Email" 162 167 163 #: includes/helpers/Meta_Post_Editor.php:5 53168 #: includes/helpers/Meta_Post_Editor.php:560 164 169 msgid "Before cart expiry date" 165 170 msgstr "Vor dem Ablaufdatum des Warenkorbs" 166 171 167 #: includes/helpers/Meta_Post_Editor.php:56 1172 #: includes/helpers/Meta_Post_Editor.php:568 168 173 msgid "Days" 169 174 msgstr "Tage" 170 175 171 #: includes/helpers/Meta_Post_Editor.php:56 2176 #: includes/helpers/Meta_Post_Editor.php:569 172 177 msgid "Hours" 173 178 msgstr "Stunden" 174 179 175 #: includes/helpers/Meta_Post_Editor.php:5 63180 #: includes/helpers/Meta_Post_Editor.php:570 176 181 msgid "Minutes" 177 182 msgstr "Minuten" 178 183 179 #: includes/helpers/Meta_Post_Editor.php:5 64184 #: includes/helpers/Meta_Post_Editor.php:571 180 185 msgid "Seconds" 181 186 msgstr "Sekunden" … … 285 290 msgstr "youForms Free für CopeCart Benutzer" 286 291 287 #. 288 #. Plugin Name: youForms free for CopeCart 289 #. Plugin URI: https://wordpress.org/plugins/youforms/ 290 #. Description: 291 #: youForms.php:5 292 msgid "" 293 "With youForms you can design a sales form for your CopeCart product. Only " 294 "copy the product url in the new form and place the shortcode on your page! " 295 "Done!" 296 msgstr "" 297 298 #: youForms.php:69 292 #: youForms.php:81 299 293 msgid "Add new Form" 300 294 msgstr "Erstelle ein neues Formular" -
youforms-free-for-copecart/trunk/readme.txt
r2349716 r2350886 4 4 Requires at least: 4.4 5 5 Tested up to: 5.2 6 Stable tag: 1.0. 36 Stable tag: 1.0.4 7 7 License: GPLv2 or later 8 8 -
youforms-free-for-copecart/trunk/youForms.php
r2349716 r2350886 3 3 Plugin Name: youForms free for CopeCart 4 4 Plugin URI: https://wordpress.org/plugins/youforms/ 5 Description: "youForms create sale forms for CopeCart products. Copy the product url in the new form and place the given shortcode on your page! Done!"6 Version: 1.0. 35 Description: Create <strong>Free forms for CopeCart products</strong>. Copy the product url in the new form and place the given shortcode on a page! Done! 6 Version: 1.0.4 7 7 Author: ITServiceJung 8 8 Author URI: http://itservicejung.de … … 11 11 License: GPL-2+ 12 12 License URI: http://www.gnu.org/licenses/gpl-2.0.txt 13 Tested up to: 5.4. 113 Tested up to: 5.4.2 14 14 */ 15 15 16 16 /* 17 This program is free software; you can redistribute it and/or 18 modify it under the terms of the GNU General Public License 19 as published by the Free Software Foundation; either version 2 20 of the License, or (at your option) any later version. 21 22 This program is distributed in the hope that it will be useful, 23 but WITHOUT ANY WARRANTY; without even the implied warranty of 24 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 25 GNU General Public License for more details. 26 27 You should have received a copy of the GNU General Public License 28 along with this program; if not, write to the Free Software 29 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. 30 17 31 Copyright 2020 itservicejung.de - All Rights Reserved 18 32 */ … … 108 122 define('YouFormsITJ_VERSION', '1.0.0'); 109 123 define('YouFormsITJ_plugin_name', 'youForms'); 124 define('YouFormsITJ_post_type', 'youforms'); 110 125 define('YouFormsITJ_DIR', plugin_dir_path(__FILE__)); 111 126 define('YouFormsITJ_PLUGIN_BASENAME', plugin_basename(__FILE__));
Note: See TracChangeset
for help on using the changeset viewer.