Plugin Directory

Changeset 2350886


Ignore:
Timestamp:
08/02/2020 10:51:41 AM (6 years ago)
Author:
itservicejung
Message:

Bugfixes

Location:
youforms-free-for-copecart/trunk
Files:
7 edited

Legend:

Unmodified
Added
Removed
  • youforms-free-for-copecart/trunk/changelog.txt

    r2349716 r2350886  
     1/***1.0.4 - 2020.08.02**/
     2- Bug fixes
     3
    14/***1.0.3 - 2020.07.31**/
    25- Add feedback url in Admin notice.
  • youforms-free-for-copecart/trunk/includes/backend/Dashboard.php

    r2349716 r2350886  
    2121        add_action( 'admin_notices', [ __CLASS__, 'feedback_notice' ] );
    2222
    23         //echo "<center>".md5_file(YouFormsITJ_DIR."youForms.php")."</center>";
    24 
    2523        self::$initd = true;
    2624    }
    2725
    2826    public static function feedback_notice() {
     27        if(!YouFormsITJ_Meta_Post_Editor::ITJ_CheckPostType()){
     28            return;
     29        };
    2930        ?>
     31
    3032    <div class="notice notice-success is-dismissible">
    3133            <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>
     
    3638
    3739    public static function checkloading() {
    38         if (md5_file(YouFormsITJ_DIR."youForms.php") === "14aad9a5fde108d8bfc98eec530ab6e4") {
    3940            return true;
    40         } else {
    41             return false;
    42         }
    4341    }
    4442
  • youforms-free-for-copecart/trunk/includes/helpers/Meta_Post_Editor.php

    r2344575 r2350886  
    122122    }
    123123
     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
    124134
    125135    public static function ITJ_form_WorkSpace() {
    126136
    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()){
    130138             return;
    131          }
    132 
     139         };
    133140
    134141      global $post;
  • youforms-free-for-copecart/trunk/languages/Cope_Formlang-de_DE.po

    r2349716 r2350886  
    22msgstr ""
    33"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"
    66"Last-Translator: \n"
    77"Language-Team: [email protected]\n"
     
    1313"X-Poedit-Basepath: ..\n"
    1414"Plural-Forms: nplurals=2; plural=(n != 1);\n"
    15 "X-Poedit-KeywordsList: __;_e;esc_html__;:\n"
     15"X-Poedit-KeywordsList: __;_e;esc_html__;:;:\n"
    1616"X-Poedit-SourceCharset: UTF-8\n"
    1717"X-Poedit-Flags-xgettext: --add-comments\n"
     
    1919"X-Poedit-SearchPathExcluded-0: assets\n"
    2020
    21 #: includes/helpers/Meta_Post_Editor.php:156
     21#: includes/backend/Dashboard.php:35
     22msgid ""
     23"👋 <a target=\"blank_\" href=\"https://api.itservicejung.de/feedback?plugin="
     24msgstr ""
     25
     26#: includes/helpers/Meta_Post_Editor.php:163
    2227msgid ""
    2328"Help: Put your product url in here that you get from CopeCart! This link "
     
    2833"aufgerufen!"
    2934
    30 #: includes/helpers/Meta_Post_Editor.php:157
     35#: includes/helpers/Meta_Post_Editor.php:164
    3136msgid "Paste your CopeCart product url here!"
    3237msgstr "Platzieren Sie hier ihre CopeCart Produkturl ohne Parameter ein!"
     
    3641#. var_dump(get_post_meta( get_the_ID(), ''));
    3742#. echo get_post_type( get_the_ID() );
    38 #: includes/helpers/Meta_Post_Editor.php:173
     43#: includes/helpers/Meta_Post_Editor.php:180
    3944msgid "Button template"
    4045msgstr "Schaltfläche"
    4146
    42 #: includes/helpers/Meta_Post_Editor.php:174
     47#: includes/helpers/Meta_Post_Editor.php:181
    4348msgid "Help: This button open's the Modal template below as a popup!"
    4449msgstr ""
     
    4752
    4853#. Get Modal und Script
    49 #: includes/helpers/Meta_Post_Editor.php:204
    50 #: includes/helpers/Meta_Post_Editor.php:252
     54#: includes/helpers/Meta_Post_Editor.php:211
     55#: includes/helpers/Meta_Post_Editor.php:259
    5156msgid "Modal template"
    5257msgstr "Modales Fenster"
    5358
    54 #: includes/helpers/Meta_Post_Editor.php:296
     59#: includes/helpers/Meta_Post_Editor.php:303
    5560msgid "Hide button template"
    5661msgstr "Verstecke die Schaltfläche"
    5762
    5863#. 'Cope_Form_settings',
    59 #: includes/helpers/Meta_Post_Editor.php:310
     64#: includes/helpers/Meta_Post_Editor.php:317
    6065msgid "Visible/hide components"
    6166msgstr "Aktiviere/Deaktiviere Komponenten"
    6267
    6368#. 'Cope_Form_settings',
    64 #: includes/helpers/Meta_Post_Editor.php:320
     69#: includes/helpers/Meta_Post_Editor.php:327
    6570msgid "Change button template text"
    6671msgstr "Ändern der Texte in der Schaltfläche"
    6772
    6873#. 'Cope_Form_settings',
    69 #: includes/helpers/Meta_Post_Editor.php:331
     74#: includes/helpers/Meta_Post_Editor.php:338
    7075msgid "Change button template color"
    7176msgstr "Ändern der Farben in der Schaltfläche"
    7277
    7378#. 'Cope_Form_settings',
    74 #: includes/helpers/Meta_Post_Editor.php:341
     79#: includes/helpers/Meta_Post_Editor.php:348
    7580msgid "Change modal template text"
    7681msgstr "Ändern der Texte im modalem Fenster"
    7782
    78 #: includes/helpers/Meta_Post_Editor.php:359
    79 #: includes/helpers/Meta_Post_Editor.php:476
     83#: includes/helpers/Meta_Post_Editor.php:366
     84#: includes/helpers/Meta_Post_Editor.php:483
    8085msgid "Button background:"
    8186msgstr "Hintergrundfarbe der Formularschaltfläche:"
    8287
    83 #: includes/helpers/Meta_Post_Editor.php:369
    84 #: includes/helpers/Meta_Post_Editor.php:486
     88#: includes/helpers/Meta_Post_Editor.php:376
     89#: includes/helpers/Meta_Post_Editor.php:493
    8590msgid "Button font-color:"
    8691msgstr "Schriftfarbe der Schaltfläche:"
    8792
    88 #: includes/helpers/Meta_Post_Editor.php:382
     93#: includes/helpers/Meta_Post_Editor.php:389
    8994msgid "Subscribe NOW! to the premium Wordpress Plugin!"
    9095msgstr "Abonniere jetzt das Premium WordPress Plugin!"
    9196
    92 #: includes/helpers/Meta_Post_Editor.php:383
     97#: includes/helpers/Meta_Post_Editor.php:390
    9398msgid "Create checkouts very easy, with the premium CopCart Form!"
    9499msgstr "Gestalte eigene Masken und steige dein Umsatz mithilfe von CopeCart!"
    95100
    96 #: includes/helpers/Meta_Post_Editor.php:389
    97 #: includes/helpers/Meta_Post_Editor.php:460
     101#: includes/helpers/Meta_Post_Editor.php:396
     102#: includes/helpers/Meta_Post_Editor.php:467
    98103msgid "Button text:"
    99104msgstr "Text der Formularschaltfläche:"
    100105
    101 #: includes/helpers/Meta_Post_Editor.php:390
     106#: includes/helpers/Meta_Post_Editor.php:397
    102107msgid "Your Button-text.."
    103108msgstr "Ihr Schaltflächentext.."
    104109
    105 #: includes/helpers/Meta_Post_Editor.php:397
     110#: includes/helpers/Meta_Post_Editor.php:404
    106111msgid "Button subtext:"
    107112msgstr "Subtext der Schaltfläche:"
    108113
    109 #: includes/helpers/Meta_Post_Editor.php:398
     114#: includes/helpers/Meta_Post_Editor.php:405
    110115msgid "Your Button-subtext..."
    111116msgstr "Ihr Schaltflächensubtext..."
    112117
    113 #: includes/helpers/Meta_Post_Editor.php:408
     118#: includes/helpers/Meta_Post_Editor.php:415
    114119msgid "Billing address"
    115120msgstr "Kontaktdaten"
    116121
    117 #: includes/helpers/Meta_Post_Editor.php:409
     122#: includes/helpers/Meta_Post_Editor.php:416
    118123msgid "Yes! i will subscribe to the premium version!"
    119124msgstr "Ja! Ich möchte das Premium Plugin für WordPress abonnieren!"
    120125
    121 #: includes/helpers/Meta_Post_Editor.php:412
     126#: includes/helpers/Meta_Post_Editor.php:419
    122127msgid "Continue Checkout"
    123128msgstr "Weiter zur Kasse"
    124129
    125 #: includes/helpers/Meta_Post_Editor.php:413
     130#: includes/helpers/Meta_Post_Editor.php:420
    126131msgid "Checkout will be done by CopeCart!"
    127132msgstr "Sie werden zur CopeCart Kasse weitergeleitet!"
    128133
    129 #: includes/helpers/Meta_Post_Editor.php:423
     134#: includes/helpers/Meta_Post_Editor.php:430
    130135msgid "Header text:"
    131136msgstr "Formularkopftext:"
    132137
    133 #: includes/helpers/Meta_Post_Editor.php:424
    134 #: includes/helpers/Meta_Post_Editor.php:461
     138#: includes/helpers/Meta_Post_Editor.php:431
     139#: includes/helpers/Meta_Post_Editor.php:468
    135140msgid "Your Headertext.."
    136141msgstr "Ihr Formularkopftext.."
    137142
    138 #: includes/helpers/Meta_Post_Editor.php:431
     143#: includes/helpers/Meta_Post_Editor.php:438
    139144msgid "Header subtext:"
    140145msgstr "Formularkopfsubtext:"
    141146
    142 #: includes/helpers/Meta_Post_Editor.php:432
    143 #: includes/helpers/Meta_Post_Editor.php:469
     147#: includes/helpers/Meta_Post_Editor.php:439
     148#: includes/helpers/Meta_Post_Editor.php:476
    144149msgid "Your Headersubtext..."
    145150msgstr "Ihr Schaltflächensubtext..."
    146151
    147 #: includes/helpers/Meta_Post_Editor.php:439
     152#: includes/helpers/Meta_Post_Editor.php:446
    148153msgid "Header background:"
    149154msgstr "Hintergrundfarbe vom Formularkopf :"
    150155
    151 #: includes/helpers/Meta_Post_Editor.php:449
     156#: includes/helpers/Meta_Post_Editor.php:456
    152157msgid "Header font-color:"
    153158msgstr "Schriftfarbe vom Formularkopf:"
    154159
    155 #: includes/helpers/Meta_Post_Editor.php:468
     160#: includes/helpers/Meta_Post_Editor.php:475
    156161msgid "Button subtext"
    157162msgstr "Subtext von der Formularschaltfläche"
    158163
    159 #: includes/helpers/Meta_Post_Editor.php:547
     164#: includes/helpers/Meta_Post_Editor.php:554
    160165msgid "Enable Email"
    161166msgstr "Aktiviere Email"
    162167
    163 #: includes/helpers/Meta_Post_Editor.php:553
     168#: includes/helpers/Meta_Post_Editor.php:560
    164169msgid "Before cart expiry date"
    165170msgstr "Vor dem Ablaufdatum des Warenkorbs"
    166171
    167 #: includes/helpers/Meta_Post_Editor.php:561
     172#: includes/helpers/Meta_Post_Editor.php:568
    168173msgid "Days"
    169174msgstr "Tage"
    170175
    171 #: includes/helpers/Meta_Post_Editor.php:562
     176#: includes/helpers/Meta_Post_Editor.php:569
    172177msgid "Hours"
    173178msgstr "Stunden"
    174179
    175 #: includes/helpers/Meta_Post_Editor.php:563
     180#: includes/helpers/Meta_Post_Editor.php:570
    176181msgid "Minutes"
    177182msgstr "Minuten"
    178183
    179 #: includes/helpers/Meta_Post_Editor.php:564
     184#: includes/helpers/Meta_Post_Editor.php:571
    180185msgid "Seconds"
    181186msgstr "Sekunden"
     
    285290msgstr "youForms Free für CopeCart Benutzer"
    286291
    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
    299293msgid "Add new Form"
    300294msgstr "Erstelle ein neues Formular"
  • youforms-free-for-copecart/trunk/readme.txt

    r2349716 r2350886  
    44Requires at least: 4.4
    55Tested up to: 5.2
    6 Stable tag: 1.0.3
     6Stable tag: 1.0.4
    77License: GPLv2 or later
    88
  • youforms-free-for-copecart/trunk/youForms.php

    r2349716 r2350886  
    33 Plugin Name: youForms free for CopeCart
    44 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.3
     5 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
    77 Author: ITServiceJung
    88 Author URI: http://itservicejung.de
     
    1111 License: GPL-2+
    1212 License URI: http://www.gnu.org/licenses/gpl-2.0.txt
    13  Tested up to: 5.4.1
     13 Tested up to: 5.4.2
    1414 */
    1515
    1616 /*
     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
    1731 Copyright 2020 itservicejung.de - All Rights Reserved
    1832 */
     
    108122        define('YouFormsITJ_VERSION', '1.0.0');
    109123        define('YouFormsITJ_plugin_name', 'youForms');
     124        define('YouFormsITJ_post_type', 'youforms');
    110125        define('YouFormsITJ_DIR', plugin_dir_path(__FILE__));
    111126        define('YouFormsITJ_PLUGIN_BASENAME', plugin_basename(__FILE__));
Note: See TracChangeset for help on using the changeset viewer.