Changeset 1975178
- Timestamp:
- 11/15/2018 11:43:47 PM (7 years ago)
- Location:
- easy-code-placement/trunk
- Files:
-
- 7 added
- 2 deleted
- 19 edited
-
easy-code-placement.php (modified) (4 diffs)
-
inc/actions/add.php (modified) (3 diffs)
-
inc/actions/alignment.php (modified) (1 diff)
-
inc/actions/delete.php (modified) (1 diff)
-
inc/actions/edit.php (modified) (1 diff)
-
inc/actions/status.php (modified) (1 diff)
-
inc/css/style.css (modified) (2 diffs)
-
inc/error.php (modified) (1 diff)
-
inc/ext/clipboard.js-1.7.1 (deleted)
-
inc/ext/clipboard.js-2.0.1 (added)
-
inc/ext/clipboard.js-2.0.1/clipboard.min.js (added)
-
inc/ext/uikit-2.27.1 (deleted)
-
inc/ext/uikit-3.0.0-rc.22 (added)
-
inc/ext/uikit-3.0.0-rc.22/css (added)
-
inc/ext/uikit-3.0.0-rc.22/css/uikit.min.css (added)
-
inc/ext/uikit-3.0.0-rc.22/js (added)
-
inc/ext/uikit-3.0.0-rc.22/js/uikit.min.js (added)
-
inc/functions.php (modified) (13 diffs)
-
inc/home.php (modified) (6 diffs)
-
inc/js/scripts.js (modified) (2 diffs)
-
inc/load.php (modified) (1 diff)
-
inc/pages/help.php (modified) (1 diff)
-
inc/pages/settings.php (modified) (1 diff)
-
inc/pages/system.php (modified) (3 diffs)
-
inc/uninstall.php (modified) (2 diffs)
-
lang/easy-code-placement-de_DE.mo (modified) (previous)
-
lang/easy-code-placement-de_DE.po (modified) (16 diffs)
-
readme.txt (modified) (14 diffs)
Legend:
- Unmodified
- Added
- Removed
-
easy-code-placement/trunk/easy-code-placement.php
r1708138 r1975178 4 4 * Text Domain: easy-code-placement 5 5 * Domain Path: /lang 6 * Version: 1 7.086 * Version: 18.11 7 7 * Plugin URI: https://www.randnotizen.org/easy-code-placement/ 8 8 * Author: Jens Herdy … … 12 12 */ 13 13 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 14 21 // ************************ 15 // check for direct access s22 // check for direct access 16 23 // ************************ 17 24 function ecp_check_access() { … … 36 43 // ********* 37 44 define( 'ECP_FILE', __FILE__ ); 38 define( 'ECP_VERSION', '1 7.08' );45 define( 'ECP_VERSION', '18.11' ); 39 46 40 47 // *********************** … … 65 72 66 73 // ******************* 67 // update if nec cesary74 // update if necessary 68 75 // ******************* 69 76 ecp_do_update(); -
easy-code-placement/trunk/inc/actions/add.php
r1529213 r1975178 30 30 if( preg_match ( "/[^a-zA-Z0-9\_-]/i", $t_ecp_name ) ) { 31 31 32 // when name contains spec hial chars32 // when name contains special chars 33 33 $ecp_error = __( 'Special Characters are not allowed in the Code Name', 'easy-code-placement' ); 34 34 $ecp_error_page = "&load=add"; … … 39 39 if( $t_ecp_name =="" || $t_ecp_code =="" ) { 40 40 41 // when post em ty goto error page42 $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' ); 43 43 $ecp_error_page = "&load=add"; 44 44 $ecp_error_id = ""; … … 48 48 $ecp_count = $wpdb->get_results ( "SELECT * FROM " . $wpdb->prefix . "ecp_data WHERE name = '$t_ecp_name'" ); 49 49 if( $wpdb->num_rows ) { 50 50 51 51 // 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' ); 53 53 $ecp_error_page = "&load=add"; 54 54 $ecp_error_id = ""; -
easy-code-placement/trunk/inc/actions/alignment.php
r1529213 r1975178 20 20 if( $ecp_id=="" || !is_numeric( $ecp_id ) ) { 21 21 22 // when get em ty or other than numbers goto error page22 // when get empty or other than numbers goto error page 23 23 $ecp_error = __( 'Modifying of the ID is not allowed', 'easy-code-placement' ); 24 24 $ecp_error_page = ""; 25 25 $ecp_error_id = ""; 26 26 return( ecp_error( $ecp_error, $ecp_error_page, $ecp_error_id ) ); 27 27 28 }elseif( $ecp_alignment !== "0" && $ecp_alignment !== "1" && $ecp_alignment !== "2" && $ecp_alignment !== "3" ) { 28 29 29 // when get em ty or other than numbers goto error page30 // when get empty or other than numbers goto error page 30 31 $ecp_error = __( 'Modifying the Alignment to something else than 0, 1, 2 or 3 is not allowed', 'easy-code-placement' ); 31 32 $ecp_error_page = ""; -
easy-code-placement/trunk/inc/actions/delete.php
r1529213 r1975178 14 14 if( $ecp_id =="" || !is_numeric( $ecp_id ) ) { 15 15 16 // when get em ty or other than numbers goto error page16 // when get empty or other than numbers goto error page 17 17 $ecp_error = __( 'Modifying of the ID is not allowed', 'easy-code-placement' ); 18 18 $ecp_error_page = ""; -
easy-code-placement/trunk/inc/actions/edit.php
r1529213 r1975178 37 37 38 38 // 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' ); 40 40 $ecp_error_page = "&load=edit"; 41 41 $ecp_error_id = "&ecpid=$ecp_id"; -
easy-code-placement/trunk/inc/actions/status.php
r1529213 r1975178 20 20 if( $ecp_id=="" || !is_numeric( $ecp_id )) { 21 21 22 // when get em ty or other than numbers goto error page22 // when get empty or other than numbers goto error page 23 23 $ecp_error = __( 'Modifying of the ID is not allowed', 'easy-code-placement' ); 24 24 $ecp_error_page = ""; 25 25 $ecp_error_id = ""; 26 26 return( ecp_error( $ecp_error, $ecp_error_page, $ecp_error_id ) ); 27 27 28 }elseif( $ecp_status !=="1" && $ecp_status !=="2" ) { 28 29 // when get em ty or other than numbers goto error page29 30 // when get empty or other than numbers goto error page 30 31 $ecp_error = __( 'Modifying of the Status to something else than 1 or 2 is not allowed', 'easy-code-placement' ); 31 32 $ecp_error_page = ""; -
easy-code-placement/trunk/inc/css/style.css
r1529213 r1975178 1 /* ******* */ 2 /* General */ 3 /* ******* */ 1 4 html { 2 5 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; 4 7 background-image: radial-gradient(100% 100% at center,#f1f1f1,#f1f1f1) !important; 5 8 } … … 8 11 max-width: 1000px !important; 9 12 } 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 14 14 <table width="100%" border="0" cellspacing="0" cellpadding="6"> 15 15 <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> 17 17 </tr> 18 18 <tr> -
easy-code-placement/trunk/inc/functions.php
r1708138 r1975178 51 51 foreach( $query as $code_load ) { 52 52 53 // when status is activ54 if( $code_load->status === '1' ) {55 56 // allow php code57 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 alignment65 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 === '' ) { 66 66 $ecp_output = $code_load->code; 67 67 }elseif( $code_load->alignment === '1' ) { … … 74 74 return $ecp_output; 75 75 76 // when status is deactiv e76 // when status is deactivated 77 77 }else{ 78 78 return ''; … … 87 87 } 88 88 89 // ****** *********90 // update to 16.1191 // ****** *********89 // ****** 90 // update 91 // ****** 92 92 function ecp_update(){ 93 93 … … 95 95 if( is_multisite() ) { 96 96 global $wpdb; 97 $blog = $wpdb->blogid;97 $blog = $wpdb->blogid; 98 98 $blogids = $wpdb->get_col( "SELECT blog_id FROM $wpdb->blogs" ); 99 99 foreach( $blogids as $blogid ) { … … 101 101 102 102 // multi update 103 $wpdb->query( "UPDATE " . $wpdb->prefix . "ecp_data SET version='1 7.08'" );104 $wpdb->update( $wpdb->prefix . 'ecp_options', array( 'option_value' => '1 7.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' ) ); 105 105 } 106 106 switch_to_blog( $blog ); … … 109 109 // single update 110 110 global $wpdb; 111 $wpdb->query( "UPDATE " . $wpdb->prefix . "ecp_data SET version='1 7.08'" );112 $wpdb->update( $wpdb->prefix . 'ecp_options', array( 'option_value' => '1 7.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' ) ); 113 113 } 114 114 } … … 121 121 $ecp_options_version = $wpdb->get_var( "SELECT option_value FROM " . $wpdb->prefix . "ecp_options WHERE option_name = 'version'" ); 122 122 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' ) { 133 125 ecp_update(); 134 return;135 126 } 136 127 } … … 165 156 166 157 // 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' ]; 169 160 } 170 161 … … 174 165 175 166 // 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' ]; 178 169 } 179 170 } … … 236 227 // ******************************************************** 237 228 function ecp_admin_enqueue( $hook ) { 238 229 239 230 // check if on content page 240 231 global $ecp_settings_page; … … 242 233 return; 243 234 } 244 235 245 236 // 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' ); 255 242 } 256 243 add_action( 'admin_enqueue_scripts', 'ecp_admin_enqueue' ); … … 277 264 } 278 265 </script> 279 266 280 267 <!-- 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'> 283 270 <h4 style='margin-bottom:5px;'>" . __( 'Added on', 'easy-code-placement' ) . ":</h4> 284 271 <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> 286 273 <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> 290 278 </div> 291 279 </div> … … 314 302 315 303 <!-- 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-footeruk-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> 321 309 <a type='button' class='uk-button uk-button-danger' href='' target='_self'>" . __( 'Confirm', 'easy-code-placement' ) . "</a> 322 </ div>310 </p> 323 311 </div> 324 312 </div> -
easy-code-placement/trunk/inc/home.php
r1529213 r1975178 24 24 'prev_text' => __( '« Previous', 'easy-code-placement' ), 25 25 'next_text' => __( 'Next »', 'easy-code-placement' ), 26 'type' => 'array' 26 'type' => 'array', 27 27 ) 28 28 ); … … 55 55 <tr> 56 56 <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="<?php echo $ecp_code->shortcode; ?>"]" 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="<?php echo $ecp_code->shortcode; ?>"]" 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> 58 58 <td> 59 59 <?php … … 61 61 // Status 62 62 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> <?php63 ?><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> <?php 64 64 }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> <?php65 ?><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> <?php 66 66 } 67 67 68 68 // Alignment 69 69 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> <?php70 ?><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> <?php 71 71 }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> <?php72 ?><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> <?php 73 73 }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> <?php74 ?><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> <?php 75 75 }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> <?php76 ?><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> <?php 77 77 }?> 78 78 <!-- 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> 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> 80 80 <!-- 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> 82 82 <?php echo ecp_confirm_modal( $ecp_code->id ); ?> 83 83 <!-- 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> 85 85 <?php echo ecp_info_modal( $ecp_code->id ); ?> 86 86 </td> … … 90 90 // if the database is empty 91 91 }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> 93 93 <?php } ?> 94 94 </tbody> … … 99 99 <tbody> 100 100 <tr> 101 <td width="2 00px"><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> 102 102 <td> 103 103 <?php … … 105 105 // output pagination 106 106 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">'; 108 108 foreach( $ecp_pagination as $i => $ecp_page ) { 109 109 if( $ecp_pagenum == 1 && $i == 0 ) { 110 echo "<li class='uk-active'>$ecp_page</li>";110 echo "<li>$ecp_page</li>"; 111 111 }else{ 112 112 if( $ecp_pagenum != 1 && $ecp_pagenum == $i ) { 113 echo "<li class='uk-active'>$ecp_page</li>";113 echo "<li>$ecp_page</li>"; 114 114 }else{ 115 115 echo "<li>$ecp_page</li>"; -
easy-code-placement/trunk/inc/js/scripts.js
r1529213 r1975178 2 2 // Clipboard 3 3 // ********* 4 var clipboard = new Clipboard ('.clipboard');4 var clipboard = new ClipboardJS('.clipboard'); 5 5 clipboard.on('success', function(e) { 6 6 console.log(e); … … 9 9 console.log(e); 10 10 }); 11 12 // ********** 13 // Pagination 14 // ********** 15 jQuery('.custom-uk-pagination .page-numbers').not('.current').wrapInner('<button class="uk-button uk-button-primary uk-button-small"></button>'); 16 jQuery('.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 52 52 53 53 <!-- 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'}"> 55 55 <li class="active"><a href=""><?php _e( 'Home', 'easy-code-placement' ); ?></a></li> 56 56 <li><a href=""><?php _e( 'Settings', 'easy-code-placement' ); ?></a></li> -
easy-code-placement/trunk/inc/pages/help.php
r1529213 r1975178 8 8 ?> 9 9 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 12 12 <tbody> 13 13 <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 <?php17 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> 27 27 </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 <?php32 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> 37 37 </tr> 38 38 </tbody> -
easy-code-placement/trunk/inc/pages/system.php
r1529213 r1975178 12 12 <tbody> 13 13 <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> 16 16 </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> 30 27 <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> 33 30 </tr> 34 31 <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> 44 40 </tr> 45 41 <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> 48 44 </tr> 49 45 <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> 61 56 </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> 74 68 </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> 87 80 </tr> 88 81 </tbody> … … 93 86 <tbody> 94 87 <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"><?php97 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> 103 96 </tr> 104 97 <tr> 105 <td class="uk-width-1-4"><?php _e( 'PHP memory limit', 'easy-code-placement' ); ?></td>106 <td class="uk-width-3-4"><?php107 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> 113 106 </tr> 114 107 <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> 117 110 </tr> 118 111 </tbody> … … 123 116 <tbody> 124 117 <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> 127 120 </tr> 128 121 <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> 131 124 </tr> 132 125 <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> 135 128 </tr> 136 129 </tbody> -
easy-code-placement/trunk/inc/uninstall.php
r1529213 r1975178 23 23 global $wpdb; 24 24 25 // multiside uninstall ation25 // multiside uninstalling 26 26 if( is_multisite() ) { 27 27 $blog = $wpdb->blogid; … … 34 34 }else{ 35 35 36 // single uninstall ation36 // single uninstalling 37 37 ecp_uninstall(); 38 38 } -
easy-code-placement/trunk/lang/easy-code-placement-de_DE.po
r1529213 r1975178 3 3 "Project-Id-Version: Easy Code Placement\n" 4 4 "Report-Msgid-Bugs-To: \n" 5 "POT-Creation-Date: 201 6-11-06 15:12+0100\n"6 "PO-Revision-Date: 201 6-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" 7 7 "Last-Translator: Jens Herdy <[email protected]>\n" 8 8 "Language-Team: \n" … … 13 13 "Plural-Forms: nplurals=2; plural=n != 1;\n" 14 14 "X-Poedit-SourceCharset: UTF-8\n" 15 "X-Generator: Poedit 1.8.11\n"15 "X-Generator: Poedit 2.2\n" 16 16 "X-Poedit-Basepath: ..\n" 17 17 "X-Poedit-KeywordsList: _:1;gettext:1;dgettext:2;ngettext:1,2;dngettext:2,3;" … … 105 105 msgstr "Das verändern der ID ist nicht erlaubt" 106 106 107 #: inc/actions/alignment.php:3 0107 #: inc/actions/alignment.php:31 108 108 msgid "" 109 109 "Modifying the Alignment to something else than 0, 1, 2 or 3 is not allowed" … … 132 132 msgstr "Die Wert der Option \"Codes pro Seite\" muss numerisch sein" 133 133 134 #: inc/actions/status.php:3 0134 #: inc/actions/status.php:31 135 135 msgid "Modifying of the Status to something else than 1 or 2 is not allowed" 136 136 msgstr "" 137 137 "Das verändern des Status zu etwas anderem als 1 oder 2 ist nicht erlaubt" 138 138 139 #: inc/error.php:11 inc/error.php:16 inc/pages/system.php:2 5140 #: inc/pages/system.php:5 5 inc/pages/system.php:68 inc/pages/system.php:81141 #: inc/pages/system.php: 100 inc/pages/system.php:110139 #: 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 142 142 msgid "Error" 143 143 msgstr "Fehler" … … 151 151 "kontaktiere den Administrator." 152 152 153 #: inc/functions.php:26 inc/functions.php:1 48 inc/load.php:51153 #: inc/functions.php:26 inc/functions.php:138 inc/load.php:51 154 154 msgid "Easy Code Placement" 155 155 msgstr "Easy Code Placement" 156 156 157 #: inc/functions.php:1 49157 #: inc/functions.php:139 158 158 msgid "Add a Code wherever you want it." 159 159 msgstr "Füge einen Code ein wo immer du möchtest." 160 160 161 #: inc/functions.php:1 95161 #: inc/functions.php:185 162 162 msgid "Code to Display:" 163 163 msgstr "Code der angezeigt werden soll:" 164 164 165 #: inc/functions.php:1 97165 #: inc/functions.php:187 166 166 msgid "Please select a Code" 167 167 msgstr "Bitte wähle einen Code aus" 168 168 169 #: inc/functions.php:2 14169 #: inc/functions.php:204 170 170 msgid "Remove Borders and Design from Widget?" 171 171 msgstr "Rahmen und Design vom Widget entfernen?" 172 173 #: inc/functions.php:270 174 msgid "Added on" 175 msgstr "Hinzugefügt am" 176 177 #: inc/functions.php:272 178 msgid "Last Modified on" 179 msgstr "Zuletzt geändert am" 180 181 #: inc/functions.php:275 182 msgid "Close" 183 msgstr "Schließen" 184 185 #: inc/functions.php:276 inc/functions.php:309 186 msgid "Confirm" 187 msgstr "Bestätigen" 188 189 #: inc/functions.php:306 190 msgid "Are you really sure you want to permanently delete this Shortcode?" 191 msgstr "" 192 "Bist du wirklich sicher das du den Shortcode für immer löschen möchtest?" 193 194 #: inc/functions.php:308 195 msgid "No!" 196 msgstr "Nein!" 172 197 173 198 #: inc/home.php:24 … … 223 248 msgstr "Bearbeiten" 224 249 225 #: inc/home.php:90 250 #: inc/home.php:81 251 msgid "Delete" 252 msgstr "Löschen" 253 254 #: inc/home.php:84 255 msgid "Informations" 256 msgstr "Informationen" 257 258 #: inc/home.php:92 226 259 msgid "No Code found - Click \"Add New Code\" to add one." 227 260 msgstr "" … … 229 262 "hinzuzufügen." 230 263 231 #: inc/home.php: 99264 #: inc/home.php:101 232 265 msgid "Add New Code" 233 266 msgstr "Neuen Code hinzufügen" 234 267 235 #: inc/home.php:13 6268 #: inc/home.php:138 236 269 msgid "" 237 270 "If you want to thank the developer for this free Plugin, you are welcome to " … … 243 276 "benötigt)." 244 277 245 #: inc/home.php:144246 msgid "Added on"247 msgstr "Hinzugefügt am"248 249 #: inc/home.php:146250 msgid "Last Modified on"251 msgstr "Zuletzt geändert am"252 253 #: inc/home.php:149254 msgid "Close"255 msgstr "Schließen"256 257 #: inc/home.php:157258 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:159263 msgid "No!"264 msgstr "Nein!"265 266 #: inc/home.php:160267 msgid "Confirm"268 msgstr "Bestätigen"269 270 278 #: inc/load.php:55 271 279 msgid "Home" … … 284 292 msgstr "System Informationen" 285 293 286 #: inc/pages/help.php:1 1294 #: inc/pages/help.php:12 287 295 msgid "Where do I get the Shortcode from?" 288 296 msgstr "Wo bekomme ich den Shortcode her?" 289 297 290 #: inc/pages/help.php:1 2298 #: inc/pages/help.php:13 291 299 msgid "" 292 300 "You only need to Click on the \"Copy\" Button in the Row with your Shortcode " … … 303 311 "\"Einfügen\" auswählen." 304 312 305 #: inc/pages/help.php:1 3313 #: inc/pages/help.php:16 306 314 msgid "The \"Copy\" Button don´t work or I want to write the Code manually!" 307 315 msgstr "" … … 309 317 "eingeben!" 310 318 311 #: inc/pages/help.php:1 4319 #: inc/pages/help.php:17 312 320 msgid "" 313 321 "Just type [ecp code=\"%PLACEHOLDER%\"] at the place you want to have the " … … 318 326 "Shortcodes." 319 327 320 #: inc/pages/help.php: 15328 #: inc/pages/help.php:20 321 329 msgid "Where can I place the Shortcode?" 322 330 msgstr "Wo kann ich den Shortcode platzieren?" 323 331 324 #: inc/pages/help.php: 16332 #: inc/pages/help.php:21 325 333 msgid "" 326 334 "At the moment you can place the Shortcode at the following Areas: Widget " … … 335 343 "Schlagwörter und Auszüge." 336 344 337 #: inc/pages/help.php: 17345 #: inc/pages/help.php:24 338 346 msgid "The Output doesn´t look right or it has a colored Background!" 339 347 msgstr "" 340 348 "Die Ausgabe sieht nicht richtig aus oder hat einen farbigen Hintergrund!" 341 349 342 #: inc/pages/help.php: 18350 #: inc/pages/help.php:25 343 351 msgid "" 344 352 "Be sure to use the \"Copy\" Button to get your Shortcode or write in " … … 371 379 msgstr "Mitarbeiter und höher" 372 380 373 #: inc/pages/settings.php:29 inc/pages/system.php:7 6381 #: inc/pages/settings.php:29 inc/pages/system.php:70 374 382 msgid "Codes per Page" 375 383 msgstr "Codes pro Seite" … … 387 395 msgstr "MySQL Version" 388 396 389 #: inc/pages/system.php: 31397 #: inc/pages/system.php:28 390 398 msgid "WordPress Version" 391 399 msgstr "WordPress Version" 392 400 393 #: inc/pages/system.php:3 5401 #: inc/pages/system.php:32 394 402 msgid "WordPress Network Page" 395 403 msgstr "WordPress Netzwerk Seite" 396 404 397 #: inc/pages/system.php:3 8405 #: inc/pages/system.php:35 398 406 msgid "Yes" 399 407 msgstr "Ja" 400 408 401 #: inc/pages/system.php: 40409 #: inc/pages/system.php:37 402 410 msgid "No" 403 411 msgstr "Nein" 404 412 405 #: inc/pages/system.php:4 6413 #: inc/pages/system.php:42 406 414 msgid "Plugin Version (File)" 407 415 msgstr "Plugin Version (Datei)" 408 416 409 #: inc/pages/system.php: 50417 #: inc/pages/system.php:46 410 418 msgid "Plugin Version (Database)" 411 419 msgstr "Plugin Version (Datenbank)" 412 420 413 #: inc/pages/system.php: 63421 #: inc/pages/system.php:58 414 422 msgid "Role" 415 423 msgstr "Rolle" 416 424 417 #: inc/pages/system.php: 91425 #: inc/pages/system.php:84 418 426 msgid "Configuration" 419 427 msgstr "Konfiguration" 420 428 421 #: inc/pages/system.php: 95429 #: inc/pages/system.php:88 422 430 msgid "PHP max. execution time" 423 431 msgstr "PHP max. Ausführungszeit" 424 432 425 #: inc/pages/system.php: 105433 #: inc/pages/system.php:98 426 434 msgid "PHP memory limit" 427 435 msgstr "PHP Speicherlimit" 428 436 429 #: inc/pages/system.php:1 15437 #: inc/pages/system.php:108 430 438 msgid "WordPress memory limit" 431 439 msgstr "WordPress Speicherlimit" 432 440 433 #: inc/pages/system.php:1 21441 #: inc/pages/system.php:114 434 442 msgid "Paths" 435 443 msgstr "Pfade" 436 444 437 #: inc/pages/system.php:1 25445 #: inc/pages/system.php:118 438 446 msgid "Home URL" 439 447 msgstr "Home URL" 440 448 441 #: inc/pages/system.php:12 9449 #: inc/pages/system.php:122 442 450 msgid "Site URL" 443 451 msgstr "Seiten URL" 444 452 445 #: inc/pages/system.php:1 33453 #: inc/pages/system.php:126 446 454 msgid "Plugin URL" 447 455 msgstr "Plugin URL" … … 463 471 #~ "möchtest), Schlagwörter und Auszüge" 464 472 465 #~ msgid "Delete"466 #~ msgstr "Löschen"467 468 473 #~ msgid "Added" 469 474 #~ msgstr "Hinzugefügt" -
easy-code-placement/trunk/readme.txt
r1965051 r1975178 5 5 Requires at least: 4.0 6 6 Tested up to: 4.9.8 7 Stable tag: 1 7.087 Stable tag: 18.11 8 8 License: GPLv3 9 9 License URI: http://www.gnu.org/licenses/gpl-3.0.html … … 13 13 == Description == 14 14 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 yourcode 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!15 Easy Code Placement provides a very easy way to place any 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! 18 18 19 19 = Which Codes? = … … 22 22 * PHP 23 23 * HTML 24 * AdSense or other Ads25 * Video & Audio24 * AdSense or other ads 25 * Video & audio 26 26 * Everything you want 27 27 28 28 = Where? = 29 29 30 * Widget Area31 * Title of Posts and Pages (only Text and without alignement)32 * Content of Posts and Pages33 * 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 "#") 34 34 * Tags 35 35 * Excerpts … … 37 37 = Features = 38 38 39 * Save unlimited Codes on options page40 * Activate and Deactivate the Codes41 * Set the alignment for the Codes42 * Place a Code with a Shortcode43 * Place a Code with the own Widget44 * 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-Widget46 * 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) 47 47 * Ready for translations 48 * Multisite/ Network compatible49 * Clean uninstall - No data left48 * Multisite/network compatible 49 * Clean uninstall - no data left 50 50 51 51 = Languages = … … 54 54 * German by wassereimer 55 55 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.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. 57 57 58 58 == Installation == … … 60 60 = In WordPress = 61 61 62 * Go in your Dashboard to 'Plugins' -> 'Install'62 * Go in your dashboard to 'Plugins' -> 'Install' 63 63 * Search for 'Easy Code Placement' 64 64 * Click on 'Install' 65 65 * 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' 67 67 68 68 = Manually = 69 69 70 * Download the Plugin71 * Go in your Dashboard to 'Plugins' -> 'Install'72 * Click on Upload73 * Click on 'Choose file' and choose the downloaded Zip-file70 * 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 74 74 * Click on 'Install' 75 75 * 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' 77 77 78 78 == Screenshots == 79 79 80 1. Options- Menu81 2. Add new Code82 3. Edit existing Code83 4. Text- Widget with Shortcode inside84 5. Own Widget with Shortcode-Selection80 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 85 85 6. Settings 86 7. System Informations86 7. System informations 87 87 88 88 == 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 89 99 90 100 = 17.08 = 91 101 * 04.08.2017 92 * Compatibility check for WordPress Version 4.8.1102 * Compatibility check for WordPress version 4.8.1 93 103 * Updated clipboard.js to version 1.7.1 94 104 * Removed not used js from admin area … … 98 108 * 06.11.2016 99 109 * Added UIkit 2.27.1 100 * Removed jQuery (using W Pversion 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) 101 111 * Added a help question 102 * Fixed a wrong Text-Domain in two strings103 * When shortcode is deleted and the widget is still on the page it s not shown anymore112 * 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 104 114 * Added tons of spaces and comments for a better readability of the code 105 115 * Updated the German translation … … 109 119 * 11.10.2016 110 120 * Changed versioning to year.month.revision 111 * Complete Mobile friendly now121 * Complete mobile friendly now 112 122 * Shortcode delete must now be confirmed 113 * Added Tab-Navigation114 * Added Help Page115 * Added Button to Copy Shortcode to Clipboard116 * Fixed that Plugin Page was shown under WP Settings even when User couldn´t access it117 * Changed Table Layout118 * Changed Form Layout119 * Changed Layout to max 1000px120 * Changed all Buttons121 * Changed Pagination Layout122 * Changed Screenshots123 * 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) 128 138 129 139 = 4.0.2 = 130 140 * 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. 132 142 133 143 = 4.0.1 = 134 144 * 01.10.2016 135 145 * Removed support for Yoast SEO Plugin fields 136 * Removed support for All in One SEO Pack Plugin fields137 * 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 Widget146 * 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 139 149 140 150 = 4.0 = 141 151 * 01.10.2016 142 * Added own Widget to easily select a Code from a List143 * Added support for All in One SEO Pack Plugin fields144 * Added support for Yoast SEO Plugin fields145 * Codes now also work in Post/Page Titles, Tags and Widget Titles146 * Removed the double filtering for shortcode and PHP Code and combined them147 * 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 Functions148 * Updated the German translation 149 * Changed the required WordPress Version to 4.0152 * 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 150 160 151 161 = 3.2.1 = 152 162 * 23.09.2016 153 * Compatibility check for WordPress Version 4.6.1154 * Fixed a Problem where the Back Button didn´t work155 * Fixed an Error which caused that the Plugin didn´t work on Network-Sites163 * 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 156 166 157 167 = 3.2 = 158 168 * 19.05.2016 159 * Compatibility check for WordPress Version 4.5.2169 * Compatibility check for WordPress version 4.5.2 160 170 * Fixed a function name that could cause Problems 161 * Fixed an Error when deactivating and reactivating the Plugin162 * Added a mouse over function to display the Date when a Code was added and last modified163 * Added the Codes per Page to the System Informations Menu164 * Updated the German translation 165 * Replaced the WordPress Table Class with a simple and self-written Version171 * 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 166 176 167 177 … … 170 180 * Fixed the false configured text-domain 171 181 * Fixed hardcoded text to be translatable 172 * Added missing Strings to the German Translation182 * Added missing strings to the German translation 173 183 * Added a .pot File for translations 174 184 * Added a few tags 175 * Added a warning that CSS, Javascript and Flash Codes does have Problems at the moment185 * Added a warning that CSS, Javascript and Flash codes does have problems at the moment 176 186 177 187 = 3.1 = 178 188 * 24.01.2016 179 * Compatibility check for WordPress Version 4.4.1180 * Added an Option to choose who can manage the Plugin181 * Added the Information who can manage the Plugin to the System Informationens site182 * Donation-Page opens now in a new Tab183 * Updated the German translation 184 * Secured the Output from the System Informations Site to prevent Errors185 * Updated the existing Screenshots 5 and 6189 * 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 186 196 187 197 = 3.0 = 188 198 * 30.09.2015 189 * Added an Information Page190 * Added an Options Page199 * Added an information page 200 * Added an options page 191 201 * Removed the p-Tag if the alignment is set to none - Thanks @ Steven 192 * Compatibility check for WordPress Version 4.3.1193 * Updated the existing Screenshots and added two202 * Compatibility check for WordPress version 4.3.1 203 * Updated the existing screenshots and added two 194 204 * Updated the German translation 195 205 196 206 = 2.7 = 197 207 * 21.08.2015 198 * Added compatibility for Multisite/Network Sites208 * Added compatibility for multisite/network Sites 199 209 * 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 Website201 * Update procedure runs now only on Dashboard sites to reduce the load on the Website210 * 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 202 212 203 213 = 2.6.1 = 204 214 * 14.08.2015 205 * Compatibility check for WordPress Version 4.3215 * Compatibility check for WordPress version 4.3 206 216 207 217 = 2.6 = … … 211 221 = 2.5.1 = 212 222 * 24.04.2015 213 * Compatibility check for WordPress Version 4.2223 * Compatibility check for WordPress version 4.2 214 224 215 225 = 2.5 = 216 226 * 13.02.2015 217 227 * 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 number219 * Better Error handling - return instead of exit220 * Added Banner for WordPress Plugin Page221 * Added Icons for WordPress Plugin Installer228 * 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 222 232 223 233 = 2.4.2 = … … 227 237 = 2.4.1 = 228 238 * 17.12.2014 229 * Compatibility check for WordPress Version 4.1230 * Edited the Description that the Plugin also can be used for text239 * Compatibility check for WordPress version 4.1 240 * Edited the description that the plugin also can be used for text 231 241 232 242 = 2.4 = 233 243 * 18.10.2014 234 * Removed buggy Update function for old Versions - There was enough time to Update the Plugin - Thanks @ Befuture BefDreamer244 * Removed buggy update function for old versions - There was enough time to update the plugin - Thanks @ Befuture BefDreamer 235 245 236 246 = 2.3 = 237 247 * 05.09.2014 238 * Compatibility check for WordPress Version 4.0248 * Compatibility check for WordPress version 4.0 239 249 240 250 = 2.2 = 241 251 * 18.08.2014 242 * Compatibility check for WordPress Version 3.9.2243 * FIX: Error while edeting that the Name already exists252 * Compatibility check for WordPress version 3.9.2 253 * FIX: Error while edeting that the name already exists 244 254 245 255 = 2.1 = … … 249 259 = 2.0 = 250 260 * 23.06.2014 251 * Added: WordPress Table Layout261 * Added: WordPress table layout 252 262 * Added: Pagination 253 * Changed Update Routine254 * Added: Update Routine when Version Skipping263 * Changed update routine 264 * Added: Update routine when skipping version 255 265 * Code optimization 256 * Better Comparison Operator (Equal to Identical)266 * Better comparison operator (equal to identical) 257 267 258 268 = 1.6 = 259 269 * 21.06.2014 260 270 * Updated German translation 261 * BUG: Added missing Information in Data Table271 * BUG: Added missing information in data table 262 272 * Added check for existing name with error if found 263 273 * Code optimization … … 265 275 = 1.5 = 266 276 * 15.06.2014 267 * Added Screenshot from Widget with Shortcode in it268 * Added Screenshot from Edit Page269 * Changed existing Screenshots270 * Alignment can now be changed on Options Page271 * Changed Layout of Buttons to WPdefault272 * 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) 273 283 274 284 = 1.4 = 275 285 * 14.06.2014 276 * Added Buttons instead of Text-Links277 * Modified the W P Text Widget to work with PHP Code278 * Added the Option to set the Alignment of the Code279 * 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! 280 290 281 291 = 1.3 = 282 292 * 01.06.2014 283 * A Maximum of 30 Chars is now allowed for name284 * Added an Update routine285 * Updated the German Translation286 * Added Paypal Donate Button293 * 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 287 297 288 298 = 1.2 = 289 299 * 29.05.2014 290 * Name and Code must be filled now291 * Only letters and numbers now for Shortcode names300 * Name and code must be filled now 301 * Only letters and numbers now for shortcode names 292 302 * Better documentation of the code 293 303 * Added error messages 294 304 * SECURITY: Secured get and post data 295 * Changed Layout for Add and Edit page305 * Changed layout for add and edit page 296 306 * Set alignment of headings and data 297 * Set fixed Table Layout (percenage not px)307 * Set fixed table layout (percenage not px) 298 308 299 309 = 1.1 = … … 303 313 = 1.0 = 304 314 * 26.05.2014 305 * First Release (Stable)315 * First release (stable)
Note: See TracChangeset
for help on using the changeset viewer.