Plugin Directory

Changeset 2566592

Timestamp:
07/18/2021 10:31:01 AM (3 years ago)
Author:
ada2go
Message:

Important security an functionality fix

Location:
ada2go-text-modules/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • ada2go-text-modules/trunk/a2g_tm_result.php

    r2561723 r2566592  
    11<?php
    22global $wpdb;
     3
     4
     5
     6
     7
     8
     9
     10
     11
     12
     13
    314foreach ($_POST as $key => $value) {
    415    $a2g_catid_textid = explode(",",$value);
     
    617    echo "<br><br>";
    718}
     19
     20
     21
     22
     23
     24
     25
     26
     27
     28
     29
     30
     31
     32
     33
     34
     35
     36
     37
     38
     39
     40
     41
     42
     43
     44
     45
  • ada2go-text-modules/trunk/ada2go-text-modules.php

    r2566427 r2566592  
    33Plugin Name: Ada2go - Text Modules
    44Description: (DE) ada2go - Text Modules gibt im Frontend ein anklickbares Formular aus um vordefinierten Text auszugeben. Du kannst es beispielsweise f&uuml;r Teilnehmerfeedback, Arbeitszeugnisse oder &auml;hnliches nutzen. (EN) ada2go - Text Modules outputs a clickable form in the frontend to output predefined text. You can use it, for example, for participant feedback, job references or similar.
    5 Version: 1.1
     5Version: 1.
    66Author: Heiko von ada2go.de
    77Author URI: https://ada2go.de/
     
    149149      return $a2g_built_text_table;
    150150    }
     151
     152
     153
     154
     155
     156
     157
     158
     159
     160
     161
     162
     163
     164
     165
     166
     167
     168
    151169 
    152170    /**
  • ada2go-text-modules/trunk/readme.txt

    r2566425 r2566592  
    55Requires at least: 4.7
    66Tested up to: 5.8
    7 Stable tag: 1.1
     7Stable tag: 1.
    88Requires PHP: 7.0
    99License: GPLv3 or later
     
    3333
    3434== Changelog ==
     35
     36
    3537
    3638= 1.1 =
  • ada2go-text-modules/trunk/settings_page.php

    r2566425 r2566592  
    2222          );
    2323            echo __('<div class="updated">
    24               <p>'.__('Erldigt! Alles gespeichert!', 'ada2go-text-modules').'</p>
     24              <p>'.__('Erldigt! Alles gespeichert!', 'ada2go-text-modules').'</p>
    2525            </div>');
    2626    }
     
    4545          );
    4646            echo __('<div class="updated">
    47               <p>'.__('Erldigt! Alles gespeichert!', 'ada2go-text-modules').'</p>
     47              <p>'.__('Erldigt! Alles gespeichert!', 'ada2go-text-modules').'</p>
    4848            </div>');
    4949    }
    5050   
     51
     52
     53
     54
     55
     56
     57
     58
     59
     60
     61
     62
     63
    5164    // Handle DEL Kat
    5265    if($_GET['action']=="delcat" AND (is_admin())) {
     
    6477              }
    6578    }
     79
    6680    // Handle DEL Text
    6781    if($_GET['action']=="deltext" AND (is_admin())) {
     
    161175  <button class="tablinks" onclick="a2gSettingTab(event, 'textEdit')"><?php echo __('Texte bearbeiten', 'ada2go-text-modules'); ?></button>
    162176  <button class="tablinks" onclick="a2gSettingTab(event, 'textAdd')"><?php echo __('Texte hinzuf&uuml;gen', 'ada2go-text-modules'); ?></button>
     177
    163178</div>
    164179
     
    1791943. <?php echo __('Mit dem Shortcode [a2gtm] f&uuml;gst du ein Formular im FRONTEND ein das die Besucher nutzen k&ouml;nnen.', 'ada2go-text-modules'); ?><br>
    1801954. <?php echo __('Wenn nur ausgew&auml;hlte Benutzer diese Seite aufrufen sollen, sch&uuml;tze sie mit einem Passwort oder speziellen Plugin.', 'ada2go-text-modules'); ?>
     196
     197
     198
     199
     200
     201
     202
     203
     204
     205
     206
     207
     208
     209
     210
     211
     212
    181213</div>
    182214
     
    204236<?php echo __( 'Beschreibung', 'ada2go-text-modules' ); ?><br />
    205237<?php
    206 echo wp_editor( '', 'kat-desc' ); ?>
     238echo wp_editor( '', 'kat-desc'); ?>
    207239<br />
    208240<br />
     
    236268<?php echo __( 'Text', 'ada2go-text-modules' ); ?><br />
    237269<?php
    238 echo wp_editor( '', 'text-desc', array(
    239         'media_buttons' => true,
    240         'tinymce' => array( 'plugins' => $mce_plugins )
    241     ) ); ?>
     270echo wp_editor( '', 'text-desc'); ?>
    242271    </div>
    243272<br />
     
    248277<input<?php if($a2g_tm_kat_exist=false) echo " disabled"; ?> type="submit" name="submit" id="submit" class="button button-primary" value="<?php echo __( 'Text speichern', 'ada2go-text-modules' ); ?>">
    249278</form>
     279
     280
     281
     282
     283
     284
     285
     286
     287
     288
     289
     290
     291
     292
     293
     294
     295
     296
     297
     298
     299
     300
    250301</div>
    251302
Note: See TracChangeset for help on using the changeset viewer.