Plugin Directory

Changeset 1975178


Ignore:
Timestamp:
11/15/2018 11:43:47 PM (7 years ago)
Author:
wassereimer
Message:

new version 18.11 for trunk

Location:
easy-code-placement/trunk
Files:
7 added
2 deleted
19 edited

Legend:

Unmodified
Added
Removed
  • easy-code-placement/trunk/easy-code-placement.php

    r1708138 r1975178  
    44 * Text Domain: easy-code-placement
    55 * Domain Path: /lang
    6  * Version: 17.08
     6 * Version: 18.11
    77 * Plugin URI: https://www.randnotizen.org/easy-code-placement/
    88 * Author: Jens Herdy
     
    1212 */
    1313
     14// ****
     15// TODO: Add export/import for the data (http://php.net/manual/de/function.var-export.php)
     16// TODO: Fix Flash/Java/CSS
     17// TODO: Add search
     18// TODO: Change output from text/php (including line breaks)
     19// ****
     20
    1421// ************************
    15 // check for direct accesss
     22// check for direct access
    1623// ************************
    1724function ecp_check_access() {
     
    3643// *********
    3744define( 'ECP_FILE', __FILE__ );
    38 define( 'ECP_VERSION', '17.08' );
     45define( 'ECP_VERSION', '18.11' );
    3946
    4047// ***********************
     
    6572
    6673// *******************
    67 // update if neccesary
     74// update if necessary
    6875// *******************
    6976ecp_do_update();
  • easy-code-placement/trunk/inc/actions/add.php

    r1529213 r1975178  
    3030    if( preg_match ( "/[^a-zA-Z0-9\_-]/i", $t_ecp_name ) ) {
    3131       
    32         // when name contains spechial chars
     32        // when name contains special chars
    3333        $ecp_error = __( 'Special Characters are not allowed in the Code Name', 'easy-code-placement' );
    3434        $ecp_error_page = "&load=add";
     
    3939    if( $t_ecp_name =="" || $t_ecp_code =="" ) {
    4040       
    41         // when post emty goto error page
    42     $ecp_error = __( 'The Code Name and / or the Code must be filled in', 'easy-code-placement' );
     41        // when post empty goto error page
     42        $ecp_error = __( 'The Code Name and / or the Code must be filled in', 'easy-code-placement' );
    4343        $ecp_error_page = "&load=add";
    4444        $ecp_error_id = "";
     
    4848    $ecp_count = $wpdb->get_results ( "SELECT * FROM " . $wpdb->prefix . "ecp_data WHERE name = '$t_ecp_name'" );
    4949    if( $wpdb->num_rows ) {
    50        
     50
    5151        // when name in database goto error page
    52     $ecp_error = __( 'The Code Name already exist - It must be uniqe', 'easy-code-placement' );
     52        $ecp_error = __( 'The Code Name already exist - It must be uniqe', 'easy-code-placement' );
    5353        $ecp_error_page = "&load=add";
    5454        $ecp_error_id = "";
  • easy-code-placement/trunk/inc/actions/alignment.php

    r1529213 r1975178  
    2020if( $ecp_id=="" || !is_numeric( $ecp_id ) ) {
    2121   
    22     // when get emty or other than numbers goto error page
     22    // when get empty or other than numbers goto error page
    2323    $ecp_error = __( 'Modifying of the ID is not allowed', 'easy-code-placement' );
    2424    $ecp_error_page = "";
    2525    $ecp_error_id = "";
    2626    return( ecp_error( $ecp_error, $ecp_error_page, $ecp_error_id ) );
     27
    2728}elseif( $ecp_alignment !== "0" && $ecp_alignment !== "1" && $ecp_alignment !== "2" && $ecp_alignment !== "3" ) {
    2829   
    29     // when get emty or other than numbers goto error page
     30    // when get empty or other than numbers goto error page
    3031    $ecp_error = __( 'Modifying the Alignment to something else than 0, 1, 2 or 3 is not allowed', 'easy-code-placement' );
    3132    $ecp_error_page = "";
  • easy-code-placement/trunk/inc/actions/delete.php

    r1529213 r1975178  
    1414if( $ecp_id =="" || !is_numeric( $ecp_id ) ) {
    1515   
    16     // when get emty or other than numbers goto error page
     16    // when get empty or other than numbers goto error page
    1717    $ecp_error = __( 'Modifying of the ID is not allowed', 'easy-code-placement' );
    1818    $ecp_error_page = "";
  • easy-code-placement/trunk/inc/actions/edit.php

    r1529213 r1975178  
    3737       
    3838        // when post emty goto error page
    39     $ecp_error = __( 'The Code must be filled in', 'easy-code-placement' );
     39        $ecp_error = __( 'The Code must be filled in', 'easy-code-placement' );
    4040        $ecp_error_page = "&load=edit";
    4141        $ecp_error_id = "&ecpid=$ecp_id";
  • easy-code-placement/trunk/inc/actions/status.php

    r1529213 r1975178  
    2020if( $ecp_id=="" || !is_numeric( $ecp_id )) {
    2121   
    22     // when get emty or other than numbers goto error page
     22    // when get empty or other than numbers goto error page
    2323    $ecp_error = __( 'Modifying of the ID is not allowed', 'easy-code-placement' );
    2424    $ecp_error_page = "";
    2525    $ecp_error_id = "";
    2626    return( ecp_error( $ecp_error, $ecp_error_page, $ecp_error_id ) );
     27
    2728}elseif( $ecp_status !=="1" && $ecp_status !=="2" ) {
    28    
    29     // when get emty or other than numbers goto error page
     29
     30    // when get empty or other than numbers goto error page
    3031    $ecp_error = __( 'Modifying of the Status to something else than 1 or 2 is not allowed', 'easy-code-placement' );
    3132    $ecp_error_page = "";
  • easy-code-placement/trunk/inc/css/style.css

    r1529213 r1975178  
     1/* ******* */
     2/* General */
     3/* ******* */
    14html {
    25    background: #f1f1f1 !important;
    3     background-image: -webkit-radial-gradient(100% 100%,center,#f1f1f1,#f1f1f1) !important;
     6    background-image: -webkit-radial-gradient(100% 100% at center,#f1f1f1,#f1f1f1) !important;
    47    background-image: radial-gradient(100% 100% at center,#f1f1f1,#f1f1f1) !important;
    58}
     
    811    max-width: 1000px !important;
    912}
     13
     14/* ********* */
     15/* Dashicons */
     16/* ********* */
     17.dashicons.custom-dashicons {
     18    line-height: 1.4 !important;
     19}
     20.green-dashicons {
     21    color: green;
     22}
     23.red-dashicons {
     24    color: red;
     25}
     26.orange-dashicons {
     27    color: darkorange;
     28}
     29
     30/* ********** */
     31/* Pagination */
     32/* ********** */
     33.uk-pagination.custom-uk-pagination li {
     34    padding-left: 0 !important;
     35}
  • easy-code-placement/trunk/inc/error.php

    r1529213 r1975178  
    1414<table width="100%" border="0" cellspacing="0" cellpadding="6">   
    1515    <tr>
    16         <td><h3><font color="#FF0000"><?php _e( 'Error', 'easy-code-placement' ); ?>!</font></h3></td>
     16        <td><h3><span style="color: #FF0000; "><?php _e( 'Error', 'easy-code-placement' ); ?>!</span></h3></td>
    1717    </tr>
    1818    <tr>
  • easy-code-placement/trunk/inc/functions.php

    r1708138 r1975178  
    5151    foreach( $query as $code_load ) {
    5252           
    53             // when status is activ
    54             if( $code_load->status === '1' ) {
    55                
    56                 // allow php code
    57                 if( strpos( $code_load->code, '<' . '?' ) !== false ) {
    58                     ob_start();
    59                     eval( '?' . '>' . $code_load->code );
    60                     $code_load->code = ob_get_contents();
    61                     ob_end_clean();
    62                 }
    63                
    64                 // set alignment
    65         if( $code_load->alignment === '0' OR $code_load->alignment === '' ) {
     53        // when status is active
     54        if( $code_load->status === '1' ) {
     55
     56            // allow php code
     57            if( strpos( $code_load->code, '<' . '?' ) !== false ) {
     58                ob_start();
     59                eval( '?' . '>' . $code_load->code );
     60                $code_load->code = ob_get_contents();
     61                ob_end_clean();
     62            }
     63
     64        // set alignment
     65        if( $code_load->alignment === '0' || $code_load->alignment === '' ) {
    6666                    $ecp_output = $code_load->code;
    6767                }elseif( $code_load->alignment === '1' ) {
     
    7474                return $ecp_output;
    7575               
    76             // when status is deactive
     76            // when status is deactivated
    7777            }else{
    7878        return '';
     
    8787}
    8888
    89 // ***************
    90 // update to 16.11
    91 // ***************
     89// ******
     90// update
     91// ******
    9292function ecp_update(){
    9393   
     
    9595    if( is_multisite() ) {
    9696        global $wpdb;
    97     $blog = $wpdb->blogid;
     97        $blog = $wpdb->blogid;
    9898        $blogids = $wpdb->get_col( "SELECT blog_id FROM $wpdb->blogs" );
    9999        foreach( $blogids as $blogid ) {
     
    101101           
    102102            // multi update
    103             $wpdb->query( "UPDATE " . $wpdb->prefix . "ecp_data SET version='17.08'" );
    104             $wpdb->update( $wpdb->prefix . 'ecp_options', array( 'option_value' => '17.08' ), array( 'option_name' => 'version' ) );
     103            $wpdb->query( "UPDATE " . $wpdb->prefix . "ecp_data SET version='18.11'" );
     104            $wpdb->update( $wpdb->prefix . 'ecp_options', array( 'option_value' => '18.11' ), array( 'option_name' => 'version' ) );
    105105        }
    106106    switch_to_blog( $blog );
     
    109109        // single update
    110110        global $wpdb;
    111         $wpdb->query( "UPDATE " . $wpdb->prefix . "ecp_data SET version='17.08'" );
    112         $wpdb->update( $wpdb->prefix . 'ecp_options', array( 'option_value' => '17.08' ), array( 'option_name' => 'version' ) );
     111        $wpdb->query( "UPDATE " . $wpdb->prefix . "ecp_data SET version='18.11'" );
     112        $wpdb->update( $wpdb->prefix . 'ecp_options', array( 'option_value' => '18.11' ), array( 'option_name' => 'version' ) );
    113113    }
    114114}
     
    121121$ecp_options_version = $wpdb->get_var( "SELECT option_value FROM " . $wpdb->prefix . "ecp_options WHERE option_name = 'version'" );
    122122
    123     // check if user is admin
    124     if( !is_admin() ) {
    125         return;
    126        
    127     // check if we use the current version
    128     }elseif( $ecp_options_version === '17.08' ) {
    129         return;
    130        
    131     // if user is admin and we have an old version do the update
    132     }else{
     123    // check if user is admin and if he has an old version
     124    if( is_admin() && $ecp_options_version !== '18.11' ) {
    133125        ecp_update();
    134         return;
    135126    }
    136127}
     
    165156           
    166157            // output border and design?
    167             if( $instance[ 'ecp_display' ] != "1" ) {
    168                 if( array_key_exists( 'before_widget', $args ) ) echo $args[ 'before_widget' ];
     158            if( $instance[ 'ecp_display' ] != "1" && array_key_exists( 'before_widget', $args ) ) {
     159                echo $args[ 'before_widget' ];
    169160            }
    170161           
     
    174165           
    175166            // output border and design?
    176             if( $instance[ 'ecp_display' ] != "1" ) {
    177                 if( array_key_exists( 'after_widget', $args ) ) echo $args[ 'after_widget' ];
     167            if( $instance[ 'ecp_display' ] != "1" && array_key_exists( 'after_widget', $args ) ) {
     168                echo $args[ 'after_widget' ];
    178169            }
    179170        }
     
    236227// ********************************************************
    237228function ecp_admin_enqueue( $hook ) {
    238    
     229
    239230    // check if on content page
    240231    global $ecp_settings_page;
     
    242233        return;
    243234    }
    244    
     235
    245236    // add to wp
    246     wp_enqueue_script( 'ecp_admin_uikit_js', plugins_url( '/ext/uikit-2.27.1/js/uikit.min.js' , __FILE__ ), array( 'jquery' ), '2.27.1', false );
    247     wp_enqueue_script( 'ecp_admin_uikit_accordion_js', plugins_url( '/ext/uikit-2.27.1/js/components/accordion.min.js' , __FILE__ ), array( 'jquery' ), '2.27.1', false );
    248     wp_enqueue_script( 'ecp_admin_uikit_tooltip_js', plugins_url( '/ext/uikit-2.27.1/js/components/tooltip.min.js' , __FILE__ ), array( 'jquery' ), '2.27.1', false );
    249     wp_enqueue_script( 'ecp_admin_clipboard', plugins_url( '/ext/clipboard.js-1.7.1/clipboard.min.js', __FILE__ ), array( 'jquery' ), '1.7.1', false );
    250     wp_enqueue_script( 'ecp_admin_js', plugins_url( '/js/scripts.js', __FILE__ ), array( 'jquery' ), '16.10', true );
    251     wp_enqueue_style( 'ecp_admin_css', plugins_url( '/css/style.css', __FILE__ ), array(), '16.10', 'all' );
    252     wp_enqueue_style( 'ecp_admin_uikit_css', plugins_url( '/ext/uikit-2.27.1/css/uikit.gradient.min.css' , __FILE__ ), array(), '2.27.1', 'all' );
    253     wp_enqueue_style( 'ecp_admin_uikit_accordion_css', plugins_url( '/ext/uikit-2.27.1/css/components/accordion.gradient.min.css' , __FILE__ ), array(), '2.27.1', 'all' );
    254     wp_enqueue_style( 'ecp_admin_uikit_tooltip_css', plugins_url( '/ext/uikit-2.27.1/css/components/tooltip.gradient.min.css' , __FILE__ ), array(), '2.27.1', 'all' );
     237    wp_enqueue_script( 'ecp_admin_uikit_js', plugins_url( '/ext/uikit-3.0.0-rc.22/js/uikit.min.js' , __FILE__ ), array( 'jquery' ), '3.0.0-rc.22', false );
     238    wp_enqueue_script( 'ecp_admin_clipboard', plugins_url( '/ext/clipboard.js-2.0.1/clipboard.min.js', __FILE__ ), array( 'jquery' ), '2.0.1', false );
     239    wp_enqueue_script( 'ecp_admin_js', plugins_url( '/js/scripts.js', __FILE__ ), array( 'jquery' ), '18.11', true );
     240    wp_enqueue_style( 'ecp_admin_css', plugins_url( '/css/style.css', __FILE__ ), array(), '18.11', 'all' );
     241    wp_enqueue_style( 'ecp_admin_uikit_css', plugins_url( '/ext/uikit-3.0.0-rc.22/css/uikit.min.css' , __FILE__ ), array(), '3.0.0-rc.22', 'all' );
    255242}
    256243add_action( 'admin_enqueue_scripts', 'ecp_admin_enqueue' );
     
    277264    }
    278265    </script>
    279 
     266   
    280267    <!-- Info Modal -->
    281     <div class='uk-modal' id='info" . $id . "'>
    282         <div class='uk-modal-dialog'>
     268    <div id='info" . $id . "' uk-modal>
     269        <div class='uk-modal-dialog uk-modal-body uk-margin-auto-vertical'>
    283270            <h4 style='margin-bottom:5px;'>" . __( 'Added on', 'easy-code-placement' ) . ":</h4>
    284271            <div id='added" . $id . "'></div><br>
    285             <h4 style='margin-bottom:5px;'>" . __( 'Last Modified on', 'easy-code-placement' ) . ":</h4>   
     272            <h4 style='margin-bottom:5px; margin-top:5px;'>" . __( 'Last Modified on', 'easy-code-placement' ) . ":</h4>   
    286273            <div id='modified" . $id . "'></div>
    287             <div class='uk-modal-footer uk-text-right'>
    288               <button type='button' class='uk-button uk-modal-close'>" . __( 'Close', 'easy-code-placement' ) . "</button>       
    289             </div>
     274            <p class='uk-text-right'>
     275                <button type='button' class='uk-button uk-button-default uk-modal-close'>" . __( 'Close', 'easy-code-placement' ) . "</button>
     276                <a type='button' class='uk-button uk-button-danger' href='' target='_self'>" . __( 'Confirm', 'easy-code-placement' ) . "</a>
     277            </p>
    290278        </div>
    291279    </div>
     
    314302
    315303    <!-- Confirm Modal -->
    316     <div class='uk-modal' id='confirm" . $id . "'>
    317         <div class='uk-modal-dialog'>
    318             " . __( 'Are you really sure you want to permanently delete this Shortcode?', 'easy-code-placement' ) . "
    319             <div class='uk-modal-footer uk-text-right'>
    320                 <button type='button' class='uk-button uk-modal-close'>" . __( 'No!', 'easy-code-placement' ) . "</button>
     304    <div id='confirm" . $id . "' uk-modal>
     305        <div class='uk-modal-dialog uk-modal-body uk-margin-auto-vertical'>
     306            <h4>" . __( 'Are you really sure you want to permanently delete this Shortcode?', 'easy-code-placement' ) . "</h4>
     307             <p class='uk-text-right'>
     308                <button type='button' class='uk-button uk-button-default uk-modal-close'>" . __( 'No!', 'easy-code-placement' ) . "</button>
    321309                <a type='button' class='uk-button uk-button-danger' href='' target='_self'>" . __( 'Confirm', 'easy-code-placement' ) . "</a>
    322             </div>
     310            </p>
    323311        </div>
    324312    </div>
  • easy-code-placement/trunk/inc/home.php

    r1529213 r1975178  
    2424    'prev_text'  => __( '« Previous', 'easy-code-placement' ),
    2525    'next_text'  => __( 'Next »', 'easy-code-placement' ),
    26     'type'       => 'array'
     26    'type'       => 'array',
    2727    )
    2828);
     
    5555            <tr>
    5656                <td class="uk-table-middle"><?php echo $ecp_code->name; ?></td>
    57                 <td><button class="clipboard uk-button" data-uk-tooltip="{pos:'right'}" data-clipboard-text="[ecp code=&quot;<?php echo $ecp_code->shortcode; ?>&quot;]" href="#" title="<?php echo _e( 'Copy Shortcode to Clipboard', 'easy-code-placement' ); ?>"><i class="uk-icon-clipboard"></i> <?php _e( 'Copy', 'easy-code-placement' ); ?></button></td>
     57                <td><button class="clipboard uk-button uk-button-default uk-button-small" data-clipboard-text="[ecp code=&quot;<?php echo $ecp_code->shortcode; ?>&quot;]" href="#" uk-tooltip="<?php echo _e( 'Copy Shortcode to Clipboard', 'easy-code-placement' ); ?>"><span class="dashicons custom-dashicons dashicons-clipboard"></span> <?php _e( 'Copy', 'easy-code-placement' ); ?></button></td>
    5858                <td>
    5959                    <?php
     
    6161                    // Status
    6262                    if( $ecp_code->status === '1' ) {
    63                         ?><a class="uk-button" data-uk-tooltip="{pos:'right'}" href="<?php echo admin_url( 'options-general.php?page=ecp&load=status&ecpid=' . $ecp_code->id . '&status=2'.$ecp_sendpage . '' ); ?>" title="<?php echo _e( 'Online - Click to change', 'easy-code-placement' ); ?>"><i class="uk-icon-check" style="width:14px;color:green;"></i></a>&nbsp;&nbsp;<?php
     63                        ?><a class="uk-button uk-button-default uk-button-small" href="<?php echo admin_url( 'options-general.php?page=ecp&load=status&ecpid=' . $ecp_code->id . '&status=2'.$ecp_sendpage . '' ); ?>" uk-tooltip="<?php echo _e( 'Online - Click to change', 'easy-code-placement' ); ?>"><span class="dashicons custom-dashicons green-dashicons dashicons-yes"></span></a>&nbsp;&nbsp;<?php
    6464                    }elseif( $ecp_code->status === '2' ) {
    65                         ?><a class="uk-button" data-uk-tooltip="{pos:'right'}" href="<?php echo admin_url( 'options-general.php?page=ecp&load=status&ecpid=' . $ecp_code->id . '&status=1'.$ecp_sendpage . '' ); ?>" title="<?php echo _e( 'Offline - Click to change', 'easy-code-placement' ); ?>"><i class="uk-icon-times" style="width:14px;color:red;"></i></a>&nbsp;&nbsp;<?php
     65                        ?><a class="uk-button uk-button-default uk-button-small" href="<?php echo admin_url( 'options-general.php?page=ecp&load=status&ecpid=' . $ecp_code->id . '&status=1'.$ecp_sendpage . '' ); ?>" uk-tooltip="<?php echo _e( 'Offline - Click to change', 'easy-code-placement' ); ?>"><span class="dashicons custom-dashicons red-dashicons dashicons-no-alt"></span></a>&nbsp;&nbsp;<?php
    6666                    }
    6767                   
    6868                    // Alignment
    6969                    if( $ecp_code->alignment === '0' ) {
    70                         ?><a class="uk-button" data-uk-tooltip="{pos:'right'}" href="<?php echo admin_url( 'options-general.php?page=ecp&load=alignment&ecpid=' . $ecp_code->id . '&alignment=1'.$ecp_sendpage . '' ); ?>" title="<?php echo _e( 'No Alignment - Click to change', 'easy-code-placement' ); ?>"><i class="uk-icon-ban" style="width:14px;color:red;"></i></a>&nbsp;<?php
     70                        ?><a class="uk-button uk-button-default uk-button-small" href="<?php echo admin_url( 'options-general.php?page=ecp&load=alignment&ecpid=' . $ecp_code->id . '&alignment=1'.$ecp_sendpage . '' ); ?>" uk-tooltip="<?php echo _e( 'No Alignment - Click to change', 'easy-code-placement' ); ?>"><span class="dashicons custom-dashicons dashicons-editor-justify"></span></a>&nbsp;<?php
    7171                    }elseif ( $ecp_code->alignment === '1' ) {
    72                         ?><a class="uk-button" data-uk-tooltip="{pos:'right'}" href="<?php echo admin_url( 'options-general.php?page=ecp&load=alignment&ecpid=' . $ecp_code->id . '&alignment=2'.$ecp_sendpage . '' ); ?>" title="<?php echo _e( 'Alignment Left - Click to change', 'easy-code-placement' ); ?>"><i class="uk-icon-align-left"></i></a>&nbsp;<?php
     72                        ?><a class="uk-button uk-button-default uk-button-small" href="<?php echo admin_url( 'options-general.php?page=ecp&load=alignment&ecpid=' . $ecp_code->id . '&alignment=2'.$ecp_sendpage . '' ); ?>" uk-tooltip="<?php echo _e( 'Alignment Left - Click to change', 'easy-code-placement' ); ?>"><span class="dashicons custom-dashicons dashicons-editor-alignleft"></span></a>&nbsp;<?php
    7373                    }elseif ( $ecp_code->alignment === '2' ) {
    74                         ?><a class="uk-button" data-uk-tooltip="{pos:'right'}" href="<?php echo admin_url( 'options-general.php?page=ecp&load=alignment&ecpid=' . $ecp_code->id . '&alignment=3'.$ecp_sendpage . '' ); ?>" title="<?php echo _e( 'Alignment Center - Click to change', 'easy-code-placement' ); ?>"><i class="uk-icon-align-center"></i></a>&nbsp;<?php
     74                        ?><a class="uk-button uk-button-default uk-button-small" href="<?php echo admin_url( 'options-general.php?page=ecp&load=alignment&ecpid=' . $ecp_code->id . '&alignment=3'.$ecp_sendpage . '' ); ?>" uk-tooltip="<?php echo _e( 'Alignment Center - Click to change', 'easy-code-placement' ); ?>"><span class="dashicons custom-dashicons dashicons-editor-aligncenter"></span></a>&nbsp;<?php
    7575                    }elseif ( $ecp_code->alignment === '3' ) {
    76                         ?><a class="uk-button" data-uk-tooltip="{pos:'right'}" href="<?php echo admin_url( 'options-general.php?page=ecp&load=alignment&ecpid=' . $ecp_code->id . '&alignment=0'.$ecp_sendpage . '' ); ?>" title="<?php echo _e( 'Alignment Right - Click to change', 'easy-code-placement' ); ?>"><i class="uk-icon-align-right"></i></a>&nbsp;<?php
     76                        ?><a class="uk-button uk-button-default uk-button-small" href="<?php echo admin_url( 'options-general.php?page=ecp&load=alignment&ecpid=' . $ecp_code->id . '&alignment=0'.$ecp_sendpage . '' ); ?>" uk-tooltip="<?php echo _e( 'Alignment Right - Click to change', 'easy-code-placement' ); ?>"><span class="dashicons custom-dashicons dashicons-editor-alignright"></span></a>&nbsp;<?php
    7777                    }?>
    7878                    <!-- Edit Button -->
    79                     <a class="uk-button uk-button-primary" data-uk-tooltip="{pos:'right'}" href="<?php echo admin_url( 'options-general.php?page=ecp&load=edit&ecpid=' . $ecp_code->id . '' . $ecp_sendpage . '' ); ?>" title="<?php echo _e('Edit','easy-code-placement'); ?>"><i class="uk-icon-cog"></i></a>&nbsp;
     79                    <a class="uk-button uk-button-primary uk-button-small" href="<?php echo admin_url( 'options-general.php?page=ecp&load=edit&ecpid=' . $ecp_code->id . '' . $ecp_sendpage . '' ); ?>" uk-tooltip="<?php echo _e('Edit','easy-code-placement'); ?>"><span class="dashicons custom-dashicons dashicons-admin-generic"></span></a>&nbsp;
    8080                    <!-- Delete Button -->
    81                     <button type="button" id="confirmtrigger<?php echo $ecp_code->id; ?>" class="uk-button uk-button-danger" data-uk-modal="{target:'#confirm<?php echo $ecp_code->id; ?>',center:true}" data-href<?php echo $ecp_code->id; ?>="<?php echo admin_url( 'options-general.php?page=ecp&load=delete&ecpid=' . $ecp_code->id ); ?>"><i class="uk-icon-trash"></i></button>
     81                    <button type="button" id="confirmtrigger<?php echo $ecp_code->id; ?>" class="uk-button uk-button-danger uk-button-small" uk-toggle="target:#confirm<?php echo $ecp_code->id; ?>" data-href<?php echo $ecp_code->id; ?>="<?php echo admin_url( 'options-general.php?page=ecp&load=delete&ecpid=' . $ecp_code->id ); ?>" uk-tooltip="<?php echo _e( 'Delete', 'easy-code-placement' ); ?>"><span class="dashicons custom-dashicons dashicons-trash"></span></button>
    8282                    <?php echo ecp_confirm_modal( $ecp_code->id ); ?>
    8383                    <!-- Button for Info Modal -->
    84                     <button type="button" id="infotrigger<?php echo $ecp_code->id; ?>" class="uk-button" data-uk-modal="{target:'#info<?php echo $ecp_code->id; ?>',center:true}" data-added<?php echo $ecp_code->id; ?>="<?php if( strtotime( $ecp_code->added ) > strtotime( '2000-01-01 01:00:00' ) ) { echo date( 'd.m.Y - H:i', strtotime( $ecp_code->added ) ); } else { echo "-";} ?>" data-modified<?php echo $ecp_code->id; ?>="<?php if( strtotime( $ecp_code->changed ) > strtotime( '2000-01-01 01:00:00' ) ) { echo date( 'd.m.Y - H:i', strtotime( $ecp_code->changed ) ); } else { echo "-"; } ?>"><i class="uk-icon-info"></i></button>
     84                    <button type="button" id="infotrigger<?php echo $ecp_code->id; ?>" class="uk-button uk-button-default uk-button-small" uk-toggle="target:#info<?php echo $ecp_code->id; ?>" data-added<?php echo $ecp_code->id; ?>="<?php if( strtotime( $ecp_code->added ) > strtotime( '2000-01-01 01:00:00' ) ) { echo date( 'd.m.Y - H:i', strtotime( $ecp_code->added ) ); } else { echo "-";} ?>" data-modified<?php echo $ecp_code->id; ?>="<?php if( strtotime( $ecp_code->changed ) > strtotime( '2000-01-01 01:00:00' ) ) { echo date( 'd.m.Y - H:i', strtotime( $ecp_code->changed ) ); } else { echo "-"; } ?>" uk-tooltip="<?php echo _e( 'Informations', 'easy-code-placement' ); ?>"><span class="dashicons custom-dashicons orange-dashicons dashicons-lightbulb"></span></button>
    8585                    <?php echo ecp_info_modal( $ecp_code->id ); ?>
    8686                </td>
     
    9090        // if the database is empty   
    9191        }else{ ?>
    92             <tr><td colspan="3"><center><?php _e( 'No Code found - Click "Add New Code" to add one.', 'easy-code-placement' ); ?></center></td></tr>
     92            <tr><td colspan="3" style="text-align: center;"><?php _e( 'No Code found - Click "Add New Code" to add one.', 'easy-code-placement' ); ?></td></tr>
    9393        <?php } ?>
    9494    </tbody>
     
    9999    <tbody>
    100100        <tr>
    101             <td width="200px"><button type="button" class="uk-button uk-button-primary" onClick='document.location.href="<?php echo admin_url( 'options-general.php?page=ecp&load=add' );?>"'><?php _e( 'Add New Code', 'easy-code-placement' ); ?></button></td>
     101            <td width="250px"><button type="button" class="uk-button uk-button-primary" onClick='document.location.href="<?php echo admin_url( 'options-general.php?page=ecp&load=add' );?>"'><?php _e( 'Add New Code', 'easy-code-placement' ); ?></button></td>
    102102            <td>
    103103                <?php
     
    105105                // output pagination
    106106                if( is_array( $ecp_pagination ) ) {
    107                     echo '<ul class="uk-pagination uk-pagination-right">';
     107                    echo '<ul class="uk-pagination custom-uk-pagination uk-flex-right">';
    108108                    foreach( $ecp_pagination as $i => $ecp_page ) {
    109109                        if( $ecp_pagenum == 1 && $i == 0 ) {
    110                             echo "<li class='uk-active'>$ecp_page</li>";
     110                            echo "<li>$ecp_page</li>";
    111111                        }else{
    112112                            if( $ecp_pagenum != 1 && $ecp_pagenum == $i ) {
    113                                 echo "<li class='uk-active'>$ecp_page</li>";
     113                                echo "<li>$ecp_page</li>";
    114114                            }else{
    115115                                echo "<li>$ecp_page</li>";
  • easy-code-placement/trunk/inc/js/scripts.js

    r1529213 r1975178  
    22// Clipboard
    33// *********
    4 var clipboard = new Clipboard('.clipboard');
     4var clipboard = new ClipboardJS('.clipboard');
    55clipboard.on('success', function(e) {
    66    console.log(e);
     
    99    console.log(e);
    1010});
     11
     12// **********
     13// Pagination
     14// **********
     15jQuery('.custom-uk-pagination .page-numbers').not('.current').wrapInner('<button class="uk-button uk-button-primary uk-button-small"></button>');
     16jQuery('.custom-uk-pagination .page-numbers').filter('.current').wrapInner('<button class="uk-button uk-button-default uk-button-small" disabled></button>');
  • easy-code-placement/trunk/inc/load.php

    r1529213 r1975178  
    5252       
    5353        <!-- tab navigation -->
    54         <ul class="uk-tab uk-margin-top" data-uk-tab="{connect:'#ecp-tabs'}">
     54        <ul class="uk-tab uk-margin-top" uk-tab="{connect:'#ecp-tabs'}">
    5555            <li class="active"><a href=""><?php _e( 'Home', 'easy-code-placement' ); ?></a></li>         
    5656            <li><a href=""><?php _e( 'Settings', 'easy-code-placement' ); ?></a></li>
  • easy-code-placement/trunk/inc/pages/help.php

    r1529213 r1975178  
    88?>
    99
    10 <div class="uk-accordion" data-uk-accordion>
    11     <h3 class="uk-accordion-title"><?php echo _e( 'Where do I get the Shortcode from?', 'easy-code-placement' ); ?></h3>
    12     <div class="uk-accordion-content"><?php echo _e( 'You only need to Click on the "Copy" Button in the Row with your Shortcode you need. When you click on the Button the Shortcode is copied to your Clipoard. Now you only need to Press "Strg + V" on your Keyboard or Right-Click on your Mouse and click on "Insert" at the place you want to have the Shortcode.', 'easy-code-placement' ); ?></div>
    13     <h3 class="uk-accordion-title"><?php echo _e( 'The "Copy" Button don´t work or I want to write the Code manually!', 'easy-code-placement' ); ?></h3>
    14     <div class="uk-accordion-content"><?php echo _e( 'Just type [ecp code="%PLACEHOLDER%"] at the place you want to have the Shortcode. Replace %PLACEHOLDER% with the Name of your Shortcode.', 'easy-code-placement' ); ?></div>
    15     <h3 class="uk-accordion-title"><?php echo _e( 'Where can I place the Shortcode?', 'easy-code-placement' ); ?></h3>
    16     <div class="uk-accordion-content"><?php echo _e( 'At the moment you can place the Shortcode at the following Areas: Widget Title and Content, Title of Posts and Pages (only Text and without alignement), Content of Posts and Pages, Menu (in the Link-Text and the URL must be "#" if you dont want to link it somewhere), Tags and Excerpts.', 'easy-code-placement' ); ?></div>
    17     <h3 class="uk-accordion-title"><?php echo _e( 'The Output doesn´t look right or it has a colored Background!', 'easy-code-placement' ); ?></h3>
    18     <div class="uk-accordion-content"><?php echo _e( 'Be sure to use the "Copy" Button to get your Shortcode or write in manually. Otherwise it can happen that you Copy HTML Code that´s around the Shortcode. You couldn´t see see it but you can Copy it!', 'easy-code-placement' ); ?></div>
    19 </div>
     10<ul uk-accordion>
     11    <li>
     12        <a class="uk-accordion-title" href="#"><?php echo _e( 'Where do I get the Shortcode from?', 'easy-code-placement' ); ?></a>
     13        <div class="uk-accordion-content"><?php echo _e( 'You only need to Click on the "Copy" Button in the Row with your Shortcode you need. When you click on the Button the Shortcode is copied to your Clipoard. Now you only need to Press "Strg + V" on your Keyboard or Right-Click on your Mouse and click on "Insert" at the place you want to have the Shortcode.', 'easy-code-placement' ); ?></div>
     14    </li>
     15    <li>
     16        <a class="uk-accordion-title" href="#"><?php echo _e( 'The "Copy" Button don´t work or I want to write the Code manually!', 'easy-code-placement' ); ?></a>
     17        <div class="uk-accordion-content"><?php echo _e( 'Just type [ecp code="%PLACEHOLDER%"] at the place you want to have the Shortcode. Replace %PLACEHOLDER% with the Name of your Shortcode.', 'easy-code-placement' ); ?></div>
     18    </li>
     19    <li>
     20        <a class="uk-accordion-title" href="#"><?php echo _e( 'Where can I place the Shortcode?', 'easy-code-placement' ); ?></a>
     21        <div class="uk-accordion-content"><?php echo _e( 'At the moment you can place the Shortcode at the following Areas: Widget Title and Content, Title of Posts and Pages (only Text and without alignement), Content of Posts and Pages, Menu (in the Link-Text and the URL must be "#" if you dont want to link it somewhere), Tags and Excerpts.', 'easy-code-placement' ); ?></div>
     22    </li>
     23    <li>
     24        <a class="uk-accordion-title" href="#"><?php echo _e( 'The Output doesn´t look right or it has a colored Background!', 'easy-code-placement' ); ?></a>
     25        <div class="uk-accordion-content"><?php echo _e( 'Be sure to use the "Copy" Button to get your Shortcode or write in manually. Otherwise it can happen that you Copy HTML Code that´s around the Shortcode. You couldn´t see see it but you can Copy it!', 'easy-code-placement' ); ?></div>
     26    </li>
     27</ul>
  • easy-code-placement/trunk/inc/pages/settings.php

    r1529213 r1975178  
    1212    <tbody>
    1313    <tr>
    14             <td class="uk-width-1-4 uk-table-middle"><?php _e( 'Who can manage this Plugin?', 'easy-code-placement' ); ?></td>
    15             <td class="uk-width-3-4">
    16                 <?php
    17                 global $wpdb;
    18                 $ecp_role = $wpdb->get_var( "SELECT option_value FROM " . $wpdb->prefix . "ecp_options WHERE option_name = 'role'" );
    19                 ?>
    20                 <select name="role">
    21                     <option <?php if( $ecp_role === 'manage_options' ) { echo 'selected'; }; ?> value="manage_options"><?php _e( 'Adminstrators and higher', 'easy-code-placement' ); ?></option>
    22                     <option <?php if( $ecp_role === 'manage_categories' ) { echo 'selected'; }; ?> value="manage_categories"><?php _e( 'Editors and higher', 'easy-code-placement' ); ?></option>
    23                     <option <?php if( $ecp_role === 'publish_posts' ) { echo 'selected'; }; ?> value="publish_posts"><?php _e( 'Authors and higher', 'easy-code-placement' ); ?></option>
    24                     <option <?php if( $ecp_role === 'edit_posts' ) { echo 'selected'; }; ?> value="edit_posts"><?php _e( 'Contributors and higher', 'easy-code-placement' ); ?></option>
    25                 </select>
    26             </td>
     14        <td class="uk-width-1-4 uk-table-middle"><?php _e( 'Who can manage this Plugin?', 'easy-code-placement' ); ?></td>
     15        <td class="uk-width-3-4">
     16            <?php
     17            global $wpdb;
     18            $ecp_role = $wpdb->get_var( "SELECT option_value FROM " . $wpdb->prefix . "ecp_options WHERE option_name = 'role'" );
     19            ?>
     20            <select name="role">
     21                <option <?php if( $ecp_role === 'manage_options' ) { echo 'selected'; }; ?> value="manage_options"><?php _e( 'Adminstrators and higher', 'easy-code-placement' ); ?></option>
     22                <option <?php if( $ecp_role === 'manage_categories' ) { echo 'selected'; }; ?> value="manage_categories"><?php _e( 'Editors and higher', 'easy-code-placement' ); ?></option>
     23                <option <?php if( $ecp_role === 'publish_posts' ) { echo 'selected'; }; ?> value="publish_posts"><?php _e( 'Authors and higher', 'easy-code-placement' ); ?></option>
     24                <option <?php if( $ecp_role === 'edit_posts' ) { echo 'selected'; }; ?> value="edit_posts"><?php _e( 'Contributors and higher', 'easy-code-placement' ); ?></option>
     25            </select>
     26        </td>
    2727    </tr>
    28         <tr>
    29             <td class="uk-width-1-4 uk-table-middle"><?php _e( 'Codes per Page', 'easy-code-placement' ); ?></td>
    30             <td class="uk-width-3-4">
    31                 <?php
    32                 global $wpdb;
    33                 $ecp_per_page = $wpdb->get_var( "SELECT option_value FROM " . $wpdb->prefix . "ecp_options WHERE option_name = 'perpage'" );
    34                 ?>
    35                 <input type="text" name="perpage" value="<?php echo $ecp_per_page; ?>" size="10" maxlength="2">
    36             </td>
     28    <tr>
     29        <td class="uk-width-1-4 uk-table-middle"><?php _e( 'Codes per Page', 'easy-code-placement' ); ?></td>
     30        <td class="uk-width-3-4">
     31            <?php
     32            global $wpdb;
     33            $ecp_per_page = $wpdb->get_var( "SELECT option_value FROM " . $wpdb->prefix . "ecp_options WHERE option_name = 'perpage'" );
     34            ?>
     35            <input type="text" name="perpage" value="<?php echo $ecp_per_page; ?>" size="10" maxlength="2">
     36        </td>
    3737    </tr>
    3838    </tbody>
  • easy-code-placement/trunk/inc/pages/system.php

    r1529213 r1975178  
    1212    <tbody>
    1313    <tr>
    14             <td class="uk-width-1-4"><?php _e( 'PHP Version', 'easy-code-placement' ); ?></td>
    15             <td class="uk-width-3-4"><?php echo PHP_VERSION; ?></td>
     14        <td class="uk-width-1-4"><?php _e( 'PHP Version', 'easy-code-placement' ); ?></td>
     15        <td class="uk-width-3-4"><?php echo PHP_VERSION; ?></td>
    1616    </tr>
    17         <tr>
    18             <td class="uk-width-1-4"><?php _e( 'MySQL Version', 'easy-code-placement' ); ?></td>
    19             <td class="uk-width-3-4"><?php
    20                     if( isset( $GLOBALS[ 'wpdb' ]->dbh->server_info ) ) {
    21             echo $GLOBALS[ 'wpdb' ]->dbh->server_info;
    22                     }else if( function_exists( 'mysql_get_server_info' ) ) {
    23             echo mysql_get_server_info();
    24                     }else{
    25                         _e( 'Error', 'easy-code-placement' );
    26                     }
    27         ?>
    28             </td>
    29         </tr>
     17    <tr>
     18        <td class="uk-width-1-4"><?php _e( 'MySQL Version', 'easy-code-placement' ); ?></td>
     19        <td class="uk-width-3-4"><?php
     20            if( isset( $GLOBALS[ 'wpdb' ]->dbh->server_info ) ) {
     21                echo $GLOBALS[ 'wpdb' ]->dbh->server_info;
     22            }else{
     23                _e( 'Error', 'easy-code-placement' );
     24            }   ?>
     25        </td>
     26    </tr>
    3027    <tr>
    31             <td class="uk-width-1-4"><?php _e( 'WordPress Version', 'easy-code-placement' ); ?></td>
    32             <td class="uk-width-3-4"><?php echo get_bloginfo ( 'version' ); ?></td>
     28        <td class="uk-width-1-4"><?php _e( 'WordPress Version', 'easy-code-placement' ); ?></td>
     29        <td class="uk-width-3-4"><?php echo get_bloginfo ( 'version' ); ?></td>
    3330    </tr>
    3431    <tr>
    35             <td class="uk-width-1-4"><?php _e( 'WordPress Network Page', 'easy-code-placement' ); ?></td>
    36             <td class="uk-width-3-4"><?php
    37                     if( is_multisite() ) {
    38                         _e( 'Yes', 'easy-code-placement' );
    39                     }else{
    40                         _e( 'No', 'easy-code-placement' );
    41                     }
    42                 ?>
    43             </td>
     32        <td class="uk-width-1-4"><?php _e( 'WordPress Network Page', 'easy-code-placement' ); ?></td>
     33        <td class="uk-width-3-4"><?php
     34            if( is_multisite() ) {
     35                _e( 'Yes', 'easy-code-placement' );
     36            }else{
     37                _e( 'No', 'easy-code-placement' );
     38            } ?>
     39        </td>
    4440    </tr>
    4541    <tr>
    46             <td class="uk-width-1-4"><?php _e( 'Plugin Version (File)', 'easy-code-placement' ); ?></td>
    47             <td class="uk-width-3-4"><?php echo ECP_VERSION; ?></td>
     42        <td class="uk-width-1-4"><?php _e( 'Plugin Version (File)', 'easy-code-placement' ); ?></td>
     43        <td class="uk-width-3-4"><?php echo ECP_VERSION; ?></td>
    4844    </tr>
    4945    <tr>
    50             <td class="uk-width-1-4"><?php _e( 'Plugin Version (Database)', 'easy-code-placement' ); ?></td>
    51             <td class="uk-width-3-4"><?php
    52                     global $wpdb;
    53                     $ecp_options_version = $wpdb->get_var( "SELECT option_value FROM " . $wpdb->prefix . "ecp_options WHERE option_name = 'version'" );
    54                     if( $ecp_options_version === '' ) {
    55                         _e( 'Error', 'easy-code-placement' );
    56                     }else{
    57                         echo $ecp_options_version;
    58                     }
    59                 ?>
    60             </td>
     46        <td class="uk-width-1-4"><?php _e( 'Plugin Version (Database)', 'easy-code-placement' ); ?></td>
     47        <td class="uk-width-3-4"><?php
     48            global $wpdb;
     49            $ecp_options_version = $wpdb->get_var( "SELECT option_value FROM " . $wpdb->prefix . "ecp_options WHERE option_name = 'version'" );
     50            if( $ecp_options_version === '' ) {
     51                _e( 'Error', 'easy-code-placement' );
     52            }else{
     53                echo $ecp_options_version;
     54            } ?>
     55        </td>
    6156    </tr>
    62     <tr>
    63             <td class="uk-width-1-4"><?php _e( 'Role', 'easy-code-placement' ); ?></td>
    64             <td class="uk-width-3-4"><?php
    65                     global $wpdb;
    66                     $ecp_options_role = $wpdb->get_var( "SELECT option_value FROM " . $wpdb->prefix . "ecp_options WHERE option_name = 'role'" );
    67                     if( $ecp_options_role === '' ) {
    68                         _e( 'Error', 'easy-code-placement' );
    69                     }else{
    70                         echo $ecp_options_role;
    71                     }
    72                 ?>
    73             </td>
     57    <tr>
     58        <td class="uk-width-1-4"><?php _e( 'Role', 'easy-code-placement' ); ?></td>
     59        <td class="uk-width-3-4"><?php
     60            global $wpdb;
     61            $ecp_options_role = $wpdb->get_var( "SELECT option_value FROM " . $wpdb->prefix . "ecp_options WHERE option_name = 'role'" );
     62            if( $ecp_options_role === '' ) {
     63                _e( 'Error', 'easy-code-placement' );
     64            }else{
     65                echo $ecp_options_role;
     66            } ?>
     67        </td>
    7468    </tr>
    75         <tr>
    76             <td class="uk-width-1-4"><?php _e( 'Codes per Page' ,'easy-code-placement' ); ?></td>
    77             <td class="uk-width-3-4"><?php
    78                     global $wpdb;
    79                     $ecp_per_page = $wpdb->get_var( "SELECT option_value FROM " . $wpdb->prefix . "ecp_options WHERE option_name = 'perpage'" );
    80                     if( $ecp_per_page === '' ) {
    81                         _e( 'Error', 'easy-code-placement' );
    82                     }else{
    83                         echo $ecp_per_page;
    84                     }
    85                 ?>
    86             </td>
     69    <tr>
     70        <td class="uk-width-1-4"><?php _e( 'Codes per Page' ,'easy-code-placement' ); ?></td>
     71        <td class="uk-width-3-4"><?php
     72            global $wpdb;
     73            $ecp_per_page = $wpdb->get_var( "SELECT option_value FROM " . $wpdb->prefix . "ecp_options WHERE option_name = 'perpage'" );
     74            if( $ecp_per_page === '' ) {
     75                _e( 'Error', 'easy-code-placement' );
     76            }else{
     77                echo $ecp_per_page;
     78            } ?>
     79        </td>
    8780    </tr>
    8881    </tbody>
     
    9386    <tbody>
    9487    <tr>
    95             <td class="uk-width-1-4"><?php _e( 'PHP max. execution time', 'easy-code-placement' ); ?></td>
    96             <td class="uk-width-3-4"><?php
    97                 if( function_exists( 'ini_get' ) ) {
    98                     echo ini_get( 'max_execution_time' ) . 's';
    99                 }else{
    100                     _e( 'Error', 'easy-code-placement' );
    101                 } ?>
    102             </td>
     88        <td class="uk-width-1-4"><?php _e( 'PHP max. execution time', 'easy-code-placement' ); ?></td>
     89        <td class="uk-width-3-4"><?php
     90            if( function_exists( 'ini_get' ) ) {
     91                echo ini_get( 'max_execution_time' ) . 's';
     92            }else{
     93                _e( 'Error', 'easy-code-placement' );
     94            } ?>
     95        </td>
    10396    </tr>
    10497    <tr>
    105             <td class="uk-width-1-4"><?php _e( 'PHP memory limit', 'easy-code-placement' ); ?></td>
    106             <td class="uk-width-3-4"><?php
    107                 if( function_exists( 'ini_get' ) ) {
    108                     echo ini_get( 'memory_limit' ) . 'B';
    109                 }else{
    110                     _e( 'Error', 'easy-code-placement' );
    111                 } ?>
    112             </td>
     98        <td class="uk-width-1-4"><?php _e( 'PHP memory limit', 'easy-code-placement' ); ?></td>
     99        <td class="uk-width-3-4"><?php
     100            if( function_exists( 'ini_get' ) ) {
     101                echo ini_get( 'memory_limit' ) . 'B';
     102            }else{
     103                _e( 'Error', 'easy-code-placement' );
     104            } ?>
     105        </td>
    113106    </tr>
    114107    <tr>
    115             <td class="uk-width-1-4"><?php _e( 'WordPress memory limit', 'easy-code-placement' ); ?></td>
    116             <td class="uk-width-3-4"><?php echo WP_MEMORY_LIMIT; ?>B</td>
     108        <td class="uk-width-1-4"><?php _e( 'WordPress memory limit', 'easy-code-placement' ); ?></td>
     109        <td class="uk-width-3-4"><?php echo WP_MEMORY_LIMIT; ?>B</td>
    117110    </tr>
    118111    </tbody>
     
    123116    <tbody>
    124117    <tr>
    125             <td class="uk-width-1-4"><?php _e( 'Home URL', 'easy-code-placement' ); ?></td>
    126             <td class="uk-width-3-4"><?php echo home_url(); ?></td>
     118        <td class="uk-width-1-4"><?php _e( 'Home URL', 'easy-code-placement' ); ?></td>
     119        <td class="uk-width-3-4"><?php echo home_url(); ?></td>
    127120    </tr>
    128121    <tr>
    129             <td class="uk-width-1-4"><?php _e( 'Site URL', 'easy-code-placement' ); ?></td>
    130             <td class="uk-width-3-4"><?php echo site_url(); ?></td>
     122        <td class="uk-width-1-4"><?php _e( 'Site URL', 'easy-code-placement' ); ?></td>
     123        <td class="uk-width-3-4"><?php echo site_url(); ?></td>
    131124    </tr>
    132125    <tr>
    133             <td class="uk-width-1-4"><?php _e( 'Plugin URL', 'easy-code-placement' ); ?></td>
    134             <td class="uk-width-3-4"><?php echo plugins_url(); ?></td>
     126        <td class="uk-width-1-4"><?php _e( 'Plugin URL', 'easy-code-placement' ); ?></td>
     127        <td class="uk-width-3-4"><?php echo plugins_url(); ?></td>
    135128    </tr>
    136129    </tbody>
  • easy-code-placement/trunk/inc/uninstall.php

    r1529213 r1975178  
    2323    global $wpdb;
    2424   
    25     // multiside uninstallation
     25    // multiside uninstalling
    2626    if( is_multisite() ) {
    2727    $blog = $wpdb->blogid;
     
    3434    }else{
    3535       
    36     // single uninstallation   
     36    // single uninstalling
    3737    ecp_uninstall();
    3838    }
  • easy-code-placement/trunk/lang/easy-code-placement-de_DE.po

    r1529213 r1975178  
    33"Project-Id-Version: Easy Code Placement\n"
    44"Report-Msgid-Bugs-To: \n"
    5 "POT-Creation-Date: 2016-11-06 15:12+0100\n"
    6 "PO-Revision-Date: 2016-11-06 15:12+0100\n"
     5"POT-Creation-Date: 2018-11-04 22:24+0100\n"
     6"PO-Revision-Date: 2018-11-04 22:27+0100\n"
    77"Last-Translator: Jens Herdy <[email protected]>\n"
    88"Language-Team: \n"
     
    1313"Plural-Forms: nplurals=2; plural=n != 1;\n"
    1414"X-Poedit-SourceCharset: UTF-8\n"
    15 "X-Generator: Poedit 1.8.11\n"
     15"X-Generator: Poedit 2.2\n"
    1616"X-Poedit-Basepath: ..\n"
    1717"X-Poedit-KeywordsList: _:1;gettext:1;dgettext:2;ngettext:1,2;dngettext:2,3;"
     
    105105msgstr "Das verändern der ID ist nicht erlaubt"
    106106
    107 #: inc/actions/alignment.php:30
     107#: inc/actions/alignment.php:31
    108108msgid ""
    109109"Modifying the Alignment to something else than 0, 1, 2 or 3 is not allowed"
     
    132132msgstr "Die Wert der Option \"Codes pro Seite\" muss numerisch sein"
    133133
    134 #: inc/actions/status.php:30
     134#: inc/actions/status.php:31
    135135msgid "Modifying of the Status to something else than 1 or 2 is not allowed"
    136136msgstr ""
    137137"Das verändern des Status zu etwas anderem als 1 oder 2 ist nicht erlaubt"
    138138
    139 #: inc/error.php:11 inc/error.php:16 inc/pages/system.php:25
    140 #: inc/pages/system.php:55 inc/pages/system.php:68 inc/pages/system.php:81
    141 #: inc/pages/system.php:100 inc/pages/system.php:110
     139#: inc/error.php:11 inc/error.php:16 inc/pages/system.php:23
     140#: inc/pages/system.php:51 inc/pages/system.php:63 inc/pages/system.php:75
     141#: inc/pages/system.php:93 inc/pages/system.php:103
    142142msgid "Error"
    143143msgstr "Fehler"
     
    151151"kontaktiere den Administrator."
    152152
    153 #: inc/functions.php:26 inc/functions.php:148 inc/load.php:51
     153#: inc/functions.php:26 inc/functions.php:138 inc/load.php:51
    154154msgid "Easy Code Placement"
    155155msgstr "Easy Code Placement"
    156156
    157 #: inc/functions.php:149
     157#: inc/functions.php:139
    158158msgid "Add a Code wherever you want it."
    159159msgstr "Füge einen Code ein wo immer du möchtest."
    160160
    161 #: inc/functions.php:195
     161#: inc/functions.php:185
    162162msgid "Code to Display:"
    163163msgstr "Code der angezeigt werden soll:"
    164164
    165 #: inc/functions.php:197
     165#: inc/functions.php:187
    166166msgid "Please select a Code"
    167167msgstr "Bitte wähle einen Code aus"
    168168
    169 #: inc/functions.php:214
     169#: inc/functions.php:204
    170170msgid "Remove Borders and Design from Widget?"
    171171msgstr "Rahmen und Design vom Widget entfernen?"
     172
     173#: inc/functions.php:270
     174msgid "Added on"
     175msgstr "Hinzugefügt am"
     176
     177#: inc/functions.php:272
     178msgid "Last Modified on"
     179msgstr "Zuletzt geändert am"
     180
     181#: inc/functions.php:275
     182msgid "Close"
     183msgstr "Schließen"
     184
     185#: inc/functions.php:276 inc/functions.php:309
     186msgid "Confirm"
     187msgstr "Bestätigen"
     188
     189#: inc/functions.php:306
     190msgid "Are you really sure you want to permanently delete this Shortcode?"
     191msgstr ""
     192"Bist du wirklich sicher das du den Shortcode für immer löschen möchtest?"
     193
     194#: inc/functions.php:308
     195msgid "No!"
     196msgstr "Nein!"
    172197
    173198#: inc/home.php:24
     
    223248msgstr "Bearbeiten"
    224249
    225 #: inc/home.php:90
     250#: inc/home.php:81
     251msgid "Delete"
     252msgstr "Löschen"
     253
     254#: inc/home.php:84
     255msgid "Informations"
     256msgstr "Informationen"
     257
     258#: inc/home.php:92
    226259msgid "No Code found - Click \"Add New Code\" to add one."
    227260msgstr ""
     
    229262"hinzuzufügen."
    230263
    231 #: inc/home.php:99
     264#: inc/home.php:101
    232265msgid "Add New Code"
    233266msgstr "Neuen Code hinzufügen"
    234267
    235 #: inc/home.php:136
     268#: inc/home.php:138
    236269msgid ""
    237270"If you want to thank the developer for this free Plugin, you are welcome to "
     
    243276"benötigt)."
    244277
    245 #: inc/home.php:144
    246 msgid "Added on"
    247 msgstr "Hinzugefügt am"
    248 
    249 #: inc/home.php:146
    250 msgid "Last Modified on"
    251 msgstr "Zuletzt geändert am"
    252 
    253 #: inc/home.php:149
    254 msgid "Close"
    255 msgstr "Schließen"
    256 
    257 #: inc/home.php:157
    258 msgid "Are you really sure you want to permanently delete this Shortcode?"
    259 msgstr ""
    260 "Bist du wirklich sicher das du den Shortcode für immer löschen möchtest?"
    261 
    262 #: inc/home.php:159
    263 msgid "No!"
    264 msgstr "Nein!"
    265 
    266 #: inc/home.php:160
    267 msgid "Confirm"
    268 msgstr "Bestätigen"
    269 
    270278#: inc/load.php:55
    271279msgid "Home"
     
    284292msgstr "System Informationen"
    285293
    286 #: inc/pages/help.php:11
     294#: inc/pages/help.php:12
    287295msgid "Where do I get the Shortcode from?"
    288296msgstr "Wo bekomme ich den Shortcode her?"
    289297
    290 #: inc/pages/help.php:12
     298#: inc/pages/help.php:13
    291299msgid ""
    292300"You only need to Click on the \"Copy\" Button in the Row with your Shortcode "
     
    303311"\"Einfügen\" auswählen."
    304312
    305 #: inc/pages/help.php:13
     313#: inc/pages/help.php:16
    306314msgid "The \"Copy\" Button don´t work or I want to write the Code manually!"
    307315msgstr ""
     
    309317"eingeben!"
    310318
    311 #: inc/pages/help.php:14
     319#: inc/pages/help.php:17
    312320msgid ""
    313321"Just type [ecp code=\"%PLACEHOLDER%\"] at the place you want to have the "
     
    318326"Shortcodes."
    319327
    320 #: inc/pages/help.php:15
     328#: inc/pages/help.php:20
    321329msgid "Where can I place the Shortcode?"
    322330msgstr "Wo kann ich den Shortcode platzieren?"
    323331
    324 #: inc/pages/help.php:16
     332#: inc/pages/help.php:21
    325333msgid ""
    326334"At the moment you can place the Shortcode at the following Areas: Widget "
     
    335343"Schlagwörter und Auszüge."
    336344
    337 #: inc/pages/help.php:17
     345#: inc/pages/help.php:24
    338346msgid "The Output doesn´t look right or it has a colored Background!"
    339347msgstr ""
    340348"Die Ausgabe sieht nicht richtig aus oder hat einen farbigen Hintergrund!"
    341349
    342 #: inc/pages/help.php:18
     350#: inc/pages/help.php:25
    343351msgid ""
    344352"Be sure to use the \"Copy\" Button to get your Shortcode or write in "
     
    371379msgstr "Mitarbeiter und höher"
    372380
    373 #: inc/pages/settings.php:29 inc/pages/system.php:76
     381#: inc/pages/settings.php:29 inc/pages/system.php:70
    374382msgid "Codes per Page"
    375383msgstr "Codes pro Seite"
     
    387395msgstr "MySQL Version"
    388396
    389 #: inc/pages/system.php:31
     397#: inc/pages/system.php:28
    390398msgid "WordPress Version"
    391399msgstr "WordPress Version"
    392400
    393 #: inc/pages/system.php:35
     401#: inc/pages/system.php:32
    394402msgid "WordPress Network Page"
    395403msgstr "WordPress Netzwerk Seite"
    396404
    397 #: inc/pages/system.php:38
     405#: inc/pages/system.php:35
    398406msgid "Yes"
    399407msgstr "Ja"
    400408
    401 #: inc/pages/system.php:40
     409#: inc/pages/system.php:37
    402410msgid "No"
    403411msgstr "Nein"
    404412
    405 #: inc/pages/system.php:46
     413#: inc/pages/system.php:42
    406414msgid "Plugin Version (File)"
    407415msgstr "Plugin Version (Datei)"
    408416
    409 #: inc/pages/system.php:50
     417#: inc/pages/system.php:46
    410418msgid "Plugin Version (Database)"
    411419msgstr "Plugin Version (Datenbank)"
    412420
    413 #: inc/pages/system.php:63
     421#: inc/pages/system.php:58
    414422msgid "Role"
    415423msgstr "Rolle"
    416424
    417 #: inc/pages/system.php:91
     425#: inc/pages/system.php:84
    418426msgid "Configuration"
    419427msgstr "Konfiguration"
    420428
    421 #: inc/pages/system.php:95
     429#: inc/pages/system.php:88
    422430msgid "PHP max. execution time"
    423431msgstr "PHP max. Ausführungszeit"
    424432
    425 #: inc/pages/system.php:105
     433#: inc/pages/system.php:98
    426434msgid "PHP memory limit"
    427435msgstr "PHP Speicherlimit"
    428436
    429 #: inc/pages/system.php:115
     437#: inc/pages/system.php:108
    430438msgid "WordPress memory limit"
    431439msgstr "WordPress Speicherlimit"
    432440
    433 #: inc/pages/system.php:121
     441#: inc/pages/system.php:114
    434442msgid "Paths"
    435443msgstr "Pfade"
    436444
    437 #: inc/pages/system.php:125
     445#: inc/pages/system.php:118
    438446msgid "Home URL"
    439447msgstr "Home URL"
    440448
    441 #: inc/pages/system.php:129
     449#: inc/pages/system.php:122
    442450msgid "Site URL"
    443451msgstr "Seiten URL"
    444452
    445 #: inc/pages/system.php:133
     453#: inc/pages/system.php:126
    446454msgid "Plugin URL"
    447455msgstr "Plugin URL"
     
    463471#~ "möchtest), Schlagwörter und Auszüge"
    464472
    465 #~ msgid "Delete"
    466 #~ msgstr "Löschen"
    467 
    468473#~ msgid "Added"
    469474#~ msgstr "Hinzugefügt"
  • easy-code-placement/trunk/readme.txt

    r1965051 r1975178  
    55Requires at least: 4.0
    66Tested up to: 4.9.8
    7 Stable tag: 17.08
     7Stable tag: 18.11
    88License: GPLv3
    99License URI: http://www.gnu.org/licenses/gpl-3.0.html
     
    1313== Description ==
    1414
    15 Easy Code Placement provides a very easy way to place any Code where you want to have it. - You can use the WordPress Text Widget with an Shortcode in it or just place a Shortcode anywhere in Posts/Pages to display your code where you want to have it.
    16 
    17 ATTENTION! CSS, Javascript and Flash Codes does have Problems at the moment. It will be fixed in the future!
     15Easy Code Placement provides a very easy way to place any code where you want to have it.
     16
     17ATTENTION! CSS, Javascript and Flash codes does have problems at the moment. It will be fixed in the future!
    1818
    1919= Which Codes? =
     
    2222* PHP
    2323* HTML
    24 * AdSense or other Ads
    25 * Video & Audio
     24* AdSense or other ads
     25* Video & audio
    2626* Everything you want
    2727
    2828= Where? =
    2929
    30 * Widget Area
    31 * Title of Posts and Pages (only Text and without alignement)
    32 * Content of Posts and Pages
    33 * Menu (In Link-Text and Url must be "#")
     30* Widget areas
     31* Title of posts and pages (only text and without alignement)
     32* Content of posts and pages
     33* Menu (in link-text and url must be "#")
    3434* Tags
    3535* Excerpts
     
    3737= Features =
    3838     
    39 * Save unlimited Codes on options page
    40 * Activate and Deactivate the Codes
    41 * Set the alignment for the Codes
    42 * Place a Code with a Shortcode
    43 * Place a Code with the own Widget
    44 * Remove Borders and the Design from the Widget (for example to use a Tracking Code that does not Display anything)
    45 * Place a Code with the standard WordPress Text-Widget
    46 * Choose who can manage the Plugin (Admin/Editor/Author/Contributor)
     39* Save unlimited codes on options page
     40* Activate and deactivate the codes
     41* Set the alignment for the codes
     42* Place a code with a shortcode
     43* Place a code with the own widget
     44* Remove borders and the design from the widget (for example to use a tracking code that does not display anything)
     45* Place a code with the standard WordPress text-widget
     46* Choose who can manage the plugin (Admin/Editor/Author/Contributor)
    4747* Ready for translations
    48 * Multisite/Network compatible
    49 * Clean uninstall - No data left
     48* Multisite/network compatible
     49* Clean uninstall - no data left
    5050
    5151= Languages =
     
    5454* German by wassereimer
    5555
    56 If you have translated this Plugin into an Language that is not listed here, please open a Support-Thread and place a link in it where i can download the files. Than i will add the Language in the next Version and place a "Thank you" above.
     56If you have translated this plugin into an language that is not listed here, please open a support-thread and place a link in it where i can download the files. Than i will add the language in the next version and place a "Thank you" above.
    5757
    5858== Installation ==
     
    6060= In WordPress =
    6161
    62 * Go in your Dashboard to 'Plugins' -> 'Install'
     62* Go in your dashboard to 'Plugins' -> 'Install'
    6363* Search for 'Easy Code Placement'
    6464* Click on 'Install'
    6565* Activate the plugin through the 'Plugins' menu in WordPress
    66 * Now you can go to the Settings-Page on 'Settings' -> 'Easy Code Placement'
     66* Now you can go to the settings-page on 'Settings' -> 'Easy Code Placement'
    6767
    6868= Manually =
    6969
    70 * Download the Plugin
    71 * Go in your Dashboard to 'Plugins' -> 'Install'
    72 * Click on Upload
    73 * Click on 'Choose file' and choose the downloaded Zip-file
     70* Download the plugin
     71* Go in your dashboard to 'Plugins' -> 'Install'
     72* Click on 'Upload'
     73* Click on 'Choose file' and choose the downloaded zip-file
    7474* Click on 'Install'
    7575* Activate the plugin through the 'Plugins' menu in WordPress
    76 * Now you can go to the Settings-Page on 'Settings' -> 'Easy Code Placement'
     76* Now you can go to the settings-page on 'Settings' -> 'Easy Code Placement'
    7777
    7878== Screenshots ==
    7979
    80 1. Options-Menu
    81 2. Add new Code
    82 3. Edit existing Code
    83 4. Text-Widget with Shortcode inside
    84 5. Own Widget with Shortcode-Selection
     801. Options-menu
     812. Add new code
     823. Edit existing code
     834. Text-widget with shortcode inside
     845. Own widget with shortcode-selection
    85856. Settings
    86 7. System Informations
     867. System informations
    8787
    8888== Changelog ==
     89
     90= 18.11 =
     91* 16.11.2018
     92* Updated some deprecated php/html code
     93* Updated UIkit to version 3.0.0-rc.22 and migrated the code
     94* Updated clipboard.js to version 2.0.1
     95* Removed FontAwesome and using WordPress build in Dashicons now
     96* Compatibility check for WordPress version 4.9.8
     97* Corrected lots of writing mistakes
     98* Added to do to the main Plugin file
    8999
    90100= 17.08 =
    91101* 04.08.2017
    92 * Compatibility check for WordPress Version 4.8.1
     102* Compatibility check for WordPress version 4.8.1
    93103* Updated clipboard.js to version 1.7.1
    94104* Removed not used js from admin area
     
    98108* 06.11.2016
    99109* Added UIkit 2.27.1
    100 * Removed jQuery (using WP version now), Bootstrap (using UIkit now) and Font-Awesome (build into UIkit)
     110* Removed jQuery (using WordPress version now), Bootstrap (using UIkit now) and Font-Awesome (build into UIkit)
    101111* Added a help question
    102 * Fixed a wrong Text-Domain in two strings
    103 * When shortcode is deleted and the widget is still on the page its not shown anymore
     112* Fixed a wrong text-domain in two strings
     113* When shortcode is deleted and the widget is still on the page it is not shown anymore
    104114* Added tons of spaces and comments for a better readability of the code
    105115* Updated the German translation
     
    109119* 11.10.2016
    110120* Changed versioning to year.month.revision
    111 * Complete Mobile friendly now
     121* Complete mobile friendly now
    112122* Shortcode delete must now be confirmed
    113 * Added Tab-Navigation
    114 * Added Help Page
    115 * Added Button to Copy Shortcode to Clipboard
    116 * Fixed that Plugin Page was shown under WP Settings even when User couldn´t access it
    117 * Changed Table Layout
    118 * Changed Form Layout
    119 * Changed Layout to max 1000px
    120 * Changed all Buttons
    121 * Changed Pagination Layout
    122 * Changed Screenshots
    123 * Updated the German translation
    124 * Added jQuery 3.1.1 (loaded on ECP Admin Page only)
    125 * Added Bootstrap 3.3.7 (loaded on ECP Admin Page only)
    126 * Added Font-Awesome 4.6.3 (loaded on ECP Admin Page only)
    127 * Added clipboard.js 1.5.12 (loaded on ECP Admin Page only)
     123* Added tab-navigation
     124* Added help page
     125* Added Button to copy shortcode to clipboard
     126* Fixed that plugin page was shown under WordPress settings even when user could not access it
     127* Changed table layout
     128* Changed form layout
     129* Changed layout to max 1000px
     130* Changed all buttons
     131* Changed pagination layout
     132* Changed screenshots
     133* Updated the German translation
     134* Added jQuery 3.1.1 (loaded on ECP admin page only)
     135* Added Bootstrap 3.3.7 (loaded on ECP admin page only)
     136* Added Font-Awesome 4.6.3 (loaded on ECP admin page only)
     137* Added clipboard.js 1.5.12 (loaded on ECP admin page only)
    128138
    129139= 4.0.2 =
    130140* 04.10.2016
    131 * Quick and dirty fix for Output Buffer Errors on some Systems. Please Notice that all Functions worked as they should even when the Error came up.
     141* Quick and dirty fix for output buffer errors on some systems. Please notice that all functions worked as they should even when the error came up.
    132142
    133143= 4.0.1 =
    134144* 01.10.2016
    135145* Removed support for Yoast SEO Plugin fields
    136 * Removed support for All in One SEO Pack Plugin fields
    137 * Added the ability to disable the Design and Borders of the Widget (for example to use a Tracking Code that does not Display anything)
    138 * Fixed a Problem with undefined Indexes when creating a Widget
     146* Removed support for All in One SEO Pack plugin fields
     147* Added the ability to disable the design and borders of the widget (for example to use a tracking code that does not display anything)
     148* Fixed a problem with undefined indexes when creating a widget
    139149
    140150= 4.0 =
    141151* 01.10.2016
    142 * Added own Widget to easily select a Code from a List
    143 * Added support for All in One SEO Pack Plugin fields
    144 * Added support for Yoast SEO Plugin fields
    145 * Codes now also work in Post/Page Titles, Tags and Widget Titles
    146 * Removed the double filtering for shortcode and PHP Code and combined them
    147 * Removed the global Output Buffering - now only used for allowing PHP Code in a closed function that will have no effect on other Plugins or Functions
    148 * Updated the German translation
    149 * Changed the required WordPress Version to 4.0
     152* Added own widget to easily select a code from a list
     153* Added support for All in One SEO Pack plugin fields
     154* Added support for Yoast SEO plugin fields
     155* Codes now also work in post/page titles, tags and widget titles
     156* Removed the double filtering for shortcode and PHP code and combined them
     157* Removed the global output buffering - now only used for allowing PHP code in a closed function that will have no effect on other plugins or functions
     158* Updated the German translation
     159* Changed the required WordPress version to 4.0
    150160
    151161= 3.2.1 =
    152162* 23.09.2016
    153 * Compatibility check for WordPress Version 4.6.1
    154 * Fixed a Problem where the Back Button didn´t work
    155 * Fixed an Error which caused that the Plugin didn´t work on Network-Sites
     163* Compatibility check for WordPress version 4.6.1
     164* Fixed a problem where the back button did not work
     165* Fixed an error which caused that the plugin did not work on network-sites
    156166
    157167= 3.2 =
    158168* 19.05.2016
    159 * Compatibility check for WordPress Version 4.5.2
     169* Compatibility check for WordPress version 4.5.2
    160170* Fixed a function name that could cause Problems
    161 * Fixed an Error when deactivating and reactivating the Plugin
    162 * Added a mouse over function to display the Date when a Code was added and last modified
    163 * Added the Codes per Page to the System Informations Menu
    164 * Updated the German translation
    165 * Replaced the WordPress Table Class with a simple and self-written Version
     171* Fixed an error when deactivating and reactivating the plugin
     172* Added a mouse over function to display the date when a code was added and last modified
     173* Added the codes per page to the system informations menu
     174* Updated the German translation
     175* Replaced the WordPress table class with a simple and self-written version
    166176
    167177
     
    170180* Fixed the false configured text-domain
    171181* Fixed hardcoded text to be translatable
    172 * Added missing Strings to the German Translation
     182* Added missing strings to the German translation
    173183* Added a .pot File for translations
    174184* Added a few tags
    175 * Added a warning that CSS, Javascript and Flash Codes does have Problems at the moment
     185* Added a warning that CSS, Javascript and Flash codes does have problems at the moment
    176186
    177187= 3.1 =
    178188* 24.01.2016
    179 * Compatibility check for WordPress Version 4.4.1
    180 * Added an Option to choose who can manage the Plugin
    181 * Added the Information who can manage the Plugin to the System Informationens site
    182 * Donation-Page opens now in a new Tab
    183 * Updated the German translation
    184 * Secured the Output from the System Informations Site to prevent Errors
    185 * Updated the existing Screenshots 5 and 6
     189* Compatibility check for WordPress version 4.4.1
     190* Added an option to choose who can manage the plugin
     191* Added the information who can manage the plugin to the system informationens site
     192* Donation-Page opens now in a new tab
     193* Updated the German translation
     194* Secured the output from the system informations site to prevent errors
     195* Updated the existing screenshots 5 and 6
    186196
    187197= 3.0 =
    188198* 30.09.2015
    189 * Added an Information Page
    190 * Added an Options Page
     199* Added an information page
     200* Added an options page
    191201* Removed the p-Tag if the alignment is set to none - Thanks @ Steven
    192 * Compatibility check for WordPress Version 4.3.1
    193 * Updated the existing Screenshots and added two
     202* Compatibility check for WordPress version 4.3.1
     203* Updated the existing screenshots and added two
    194204* Updated the German translation
    195205
    196206= 2.7 =
    197207* 21.08.2015
    198 * Added compatibility for Multisite/Network Sites
     208* Added compatibility for multisite/network Sites
    199209* FIX: After deactivating and activating the plugin, there was duplicated data in the options database
    200 * Added more Tags to find the Plugin on the WordPress Website
    201 * Update procedure runs now only on Dashboard sites to reduce the load on the Website
     210* Added more tags to find the plugin on the WordPress website
     211* Update procedure runs now only on dashboard sites to reduce the load on the website
    202212
    203213= 2.6.1 =
    204214* 14.08.2015
    205 * Compatibility check for WordPress Version 4.3
     215* Compatibility check for WordPress version 4.3
    206216
    207217= 2.6 =
     
    211221= 2.5.1 =
    212222* 24.04.2015
    213 * Compatibility check for WordPress Version 4.2
     223* Compatibility check for WordPress version 4.2
    214224
    215225= 2.5 =
    216226* 13.02.2015
    217227* FIX: When edeting something the name of the shortcode disapears in the list and doesnt work anymore
    218 * FIX: While Updating the version in data Table doesnt set to new version number
    219 * Better Error handling - return instead of exit
    220 * Added Banner for WordPress Plugin Page
    221 * Added Icons for WordPress Plugin Installer
     228* FIX: While updating the version in data table doesnt set to new version number
     229* Better error handling - return instead of exit
     230* Added Banner for WordPress plugin page
     231* Added icons for WordPress plugin installer
    222232
    223233= 2.4.2 =
     
    227237= 2.4.1 =
    228238* 17.12.2014
    229 * Compatibility check for WordPress Version 4.1
    230 * Edited the Description that the Plugin also can be used for text
     239* Compatibility check for WordPress version 4.1
     240* Edited the description that the plugin also can be used for text
    231241
    232242= 2.4 =
    233243* 18.10.2014
    234 * Removed buggy Update function for old Versions - There was enough time to Update the Plugin - Thanks @ Befuture BefDreamer
     244* Removed buggy update function for old versions - There was enough time to update the plugin - Thanks @ Befuture BefDreamer
    235245
    236246= 2.3 =
    237247* 05.09.2014
    238 * Compatibility check for WordPress Version 4.0
     248* Compatibility check for WordPress version 4.0
    239249
    240250= 2.2 =
    241251* 18.08.2014
    242 * Compatibility check for WordPress Version 3.9.2
    243 * FIX: Error while edeting that the Name already exists
     252* Compatibility check for WordPress version 3.9.2
     253* FIX: Error while edeting that the name already exists
    244254
    245255= 2.1 =
     
    249259= 2.0 =
    250260* 23.06.2014
    251 * Added: WordPress Table Layout
     261* Added: WordPress table layout
    252262* Added: Pagination
    253 * Changed Update Routine
    254 * Added: Update Routine when Version Skipping
     263* Changed update routine
     264* Added: Update routine when skipping version
    255265* Code optimization
    256 * Better Comparison Operator (Equal to Identical)
     266* Better comparison operator (equal to identical)
    257267
    258268= 1.6 =
    259269* 21.06.2014
    260270* Updated German translation
    261 * BUG: Added missing Information in Data Table
     271* BUG: Added missing information in data table
    262272* Added check for existing name with error if found
    263273* Code optimization
     
    265275= 1.5 =
    266276* 15.06.2014
    267 * Added Screenshot from Widget with Shortcode in it
    268 * Added Screenshot from Edit Page
    269 * Changed existing Screenshots
    270 * Alignment can now be changed on Options Page
    271 * Changed Layout of Buttons to WP default
    272 * New and better Buttons (Action)
     277* Added screenshot from widget with shortcode in it
     278* Added screenshot from edit page
     279* Changed existing screenshots
     280* Alignment can now be changed on options page
     281* Changed layout of buttons to WordPress default
     282* New and better buttons (action)
    273283
    274284= 1.4 =
    275285* 14.06.2014
    276 * Added Buttons instead of Text-Links
    277 * Modified the WP Text Widget to work with PHP Code
    278 * Added the Option to set the Alignment of the Code
    279 * The Uninstall is Clean now - No Trah left!
     286* Added buttons instead of text-links
     287* Modified the WordPress text widget to work with PHP code
     288* Added the option to set the alignment of the Code
     289* The uninstall is clean now - no trash left!
    280290
    281291= 1.3 =
    282292* 01.06.2014
    283 * A Maximum of 30 Chars is now allowed for name
    284 * Added an Update routine
    285 * Updated the German Translation
    286 * Added Paypal Donate Button
     293* A maximum of 30 characters is now allowed for name
     294* Added an update routine
     295* Updated the German translation
     296* Added Paypal donate button
    287297
    288298= 1.2 =
    289299* 29.05.2014
    290 * Name and Code must be filled now
    291 * Only letters and numbers now for Shortcode names
     300* Name and code must be filled now
     301* Only letters and numbers now for shortcode names
    292302* Better documentation of the code
    293303* Added error messages
    294304* SECURITY: Secured get and post data
    295 * Changed Layout for Add and Edit page
     305* Changed layout for add and edit page
    296306* Set alignment of headings and data
    297 * Set fixed Table Layout (percenage not px)
     307* Set fixed table layout (percenage not px)
    298308
    299309= 1.1 =
     
    303313= 1.0 =
    304314* 26.05.2014
    305 * First Release (Stable)
     315* First release (stable)
Note: See TracChangeset for help on using the changeset viewer.