Changeset 988285
- Timestamp:
- 09/12/2014 01:54:22 PM (12 years ago)
- Location:
- wp-vgwort/trunk
- Files:
-
- 4 edited
-
class-wp-vgwort.php (modified) (4 diffs)
-
readme.txt (modified) (2 diffs)
-
views/admin.php (modified) (4 diffs)
-
wp-vgwort.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
wp-vgwort/trunk/class-wp-vgwort.php
r847729 r988285 4 4 * 5 5 * @package WP_VGWORT 6 * @author Marcus Franke <[email protected]> 6 * @author Marcus Franke <[email protected]>, Ronny Harbich 7 7 * @license GPL-2.0+ 8 * @link http:// mywebcheck.de8 * @link http://vgw-plugin.de 9 9 * @copyright 2013 MyWebcheck 10 10 * … … 24 24 * @var string 25 25 */ 26 protected $version = '2.1. 1';26 protected $version = '2.1.3'; 27 27 28 28 /** … … 106 106 add_action( 'manage_pages_custom_column', array( $this, 'custom_column' ) ); 107 107 108 } 109 108 add_action( 'admin_notices', array( $this, 'privacy_notification' ) ); 109 110 111 112 113 } 114 115 116 /** 117 * Admin notification of privacy 118 * 119 * @since 2.1.3 120 */ 121 122 function privacy_notification() { 123 124 $datenschutz = ""; 125 $vgWortOptions = get_option( 'wp_vgwort_options' ); 126 127 if ( !isset( $vgWortOptions['datenschutz'] ) OR empty($vgWortOptions['datenschutz']) ) { 128 ?> 129 <div class="error"> 130 <p><b><?php _e( 'Bitte Datenschutzhinweis erweitern. Mehr unter <a href="">Datenschutz</a> im VGW Plugin', 'wp-vgwort-locale' ); ?></b></p> 131 </div> 132 <?php 133 } 134 135 } 136 137 110 138 /** 111 139 * Loads textdomain to translate … … 145 173 $this->plugin_screen_hook_suffix = add_submenu_page( 146 174 'options-general.php', 147 __( 'VG WORT', 'wp-vgwort-locale' ),148 __( 'VG WORT', 'wp-vgwort-locale' ),175 __( 'VGW Plugin', 'wp-vgwort-locale' ), 176 __( 'VGW Plugin', 'wp-vgwort-locale' ), 149 177 'add_users', 150 178 $this->plugin_slug, -
wp-vgwort/trunk/readme.txt
r885003 r988285 1 1 === VG WORT Zählmarken === 2 2 Contributors: smoo1337, raubvogel 3 Donate link: http:// mywebcheck.de/3 Donate link: http://vgw-plugin.de/ 4 4 Tags: VG WORT, VGW, Zählpixel 5 5 Requires at least: 3.0 6 Tested up to: 3.8.17 Stable tag: 2.1. 26 Tested up to: 4.0.0 7 Stable tag: 2.1.3 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 41 41 42 42 == Changelog == 43 44 = 2.1.3 = 45 * Name des Plugin geändert 46 * Hinweis auf Datenschutzrichtlinien hinterlegt. 43 47 44 48 = 2.1.1 = -
wp-vgwort/trunk/views/admin.php
r847729 r988285 37 37 38 38 $vgWortOptions = array( 39 'showChars' => esc_attr( $_POST['showchars'] ) 39 'showChars' => esc_attr( $_POST['showchars'] ), 40 'datenschutz' => esc_attr( $_POST['datenschutz'] ) 40 41 ); 41 42 … … 50 51 // TODO: Wozu ist das hier gut? 51 52 $this->vgWortMetaOption = get_option( 'wp_vgwortmetaname', 'wp_vgwortmarke' ); 52 53 $datenschutz = ""; 53 54 $vgWortOptions = get_option( 'wp_vgwort_options' ); 54 55 … … 86 87 <?php _e( 'Sonstiges', 'wp-vgwort-locale' ); ?> 87 88 </a> 88 89 <a href="<?php echo( admin_url( 'options-general.php?page=' . $this->plugin_slug . '§ion=datenschutz' ) ); ?>" class="nav-tab <?php if ( $section == 'datenschutz' ) { 90 echo( 'nav-tab-active' ); 91 } ?>"> 92 <?php _e( 'Datenschutz', 'wp-vgwort-locale' ); ?> 93 </a> 89 94 </h2> 90 95 … … 252 257 break; 253 258 259 case "datenschutz": 260 ?> 261 262 <p> 263 <b><?php _e( 'Wir empfehlen bei Einsatz der VG WORT Zählenmarken die Datenschutzerklärung zu erweitern.', 'wp-vgwort-locale' ); ?></b> 264 </p> 265 <p> 266 <?php _e( 'Den entsprechenden Absatz zur Datenschutzerklärung finden Sie in diesem <a href="http://tom.vgwort.de/portal/showParticipationCondition">PDF</a>.', 'wp-vgwort-locale' ); ?> 267 </p> 268 269 <form method="POST" action=""> 270 271 <?php 272 273 if ( isset( $vgWortOptions['datenschutz'] ) ) { 274 if ( $vgWortOptions['datenschutz'] != '' ) { 275 $datenschutz = 'checked="checked"'; 276 } 277 } 278 ?> 279 280 <input type="checkbox" <?php echo $datenschutz; ?> name="datenschutz" value="1" /> Ich habe diesen Hinweis zur Kenntnis genommen!<br /><br /> 281 <input type="hidden" name="action" value="save"/> 282 <input type="submit" name="save" value="<?php _e( 'Einstellungen speichern', 'wp-vgwort-locale' ); ?>" class="button-primary" / > 283 284 </form> 285 286 <?php break; 287 254 288 default: 255 289 ?> -
wp-vgwort/trunk/wp-vgwort.php
r885003 r988285 9 9 * 10 10 * @wordpress-plugin 11 * Plugin Name: VG WORT Zählmarken12 * Plugin URI: http:// www.mywebcheck.de/vg-wort-plugin-wordpress/11 * Plugin Name: VGW Zählmarken Plugin 12 * Plugin URI: http://vgw-plugin.de/ 13 13 * Description: Integrieren Sie Zählmarken der VG WORT in Wordpress. 14 * Version: 2.1. 214 * Version: 2.1.3 15 15 * Author: Marcus Franke, Ronny Harbich 16 * Author URI: http:// mywebcheck.de16 * Author URI: http://vgw-plugin.de/ 17 17 * Text Domain: wp-vgwort-locale 18 18 * License: GPL-2.0+
Note: See TracChangeset
for help on using the changeset viewer.