Changeset 892911
- Timestamp:
- 04/14/2014 01:46:11 PM (12 years ago)
- Location:
- pricemesh/trunk
- Files:
-
- 5 edited
-
admin/pricemesh-admin.php (modified) (2 diffs)
-
pricemesh-base.php (modified) (1 diff)
-
pricemesh.php (modified) (1 diff)
-
public/pricemesh-public.php (modified) (2 diffs)
-
readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pricemesh/trunk/admin/pricemesh-admin.php
r890488 r892911 301 301 $option_name = "Anzeige"; 302 302 $option_callback = "settings_config_display_callback"; 303 add_settings_field( 304 $option, __($option_name, $this->plugin_slug), array($this, $option_callback), $this->plugin_slug, $section 305 ); 306 register_setting($group, $option); 307 308 //title 309 $option = "pricemesh_option_title"; 310 $option_name = "Produkttitel"; 311 $option_callback = "settings_config_title_callback"; 303 312 add_settings_field( 304 313 $option, __($option_name, $this->plugin_slug), array($this, $option_callback), $this->plugin_slug, $section … … 550 559 } 551 560 echo "<p><label><input type='radio' name='pricemesh_option_display' value='$value' $checked>$string</label></p>"; 561 } 562 } 563 564 /** 565 * display Callback 566 * @since 1.4 567 */ 568 public function settings_config_title_callback(){ 569 $opts = self::get_pricemesh_settings(); 570 $setting = $opts["title"]; 571 $options = array("on" => __("Titel anzeigen"), "off" => __("Titel nicht anzeigen")); 572 foreach($options as $value => $string) { 573 if($setting == $value){ 574 $checked = "checked"; 575 }else{ 576 $checked = ""; 577 } 578 echo "<p><label><input type='radio' name='pricemesh_option_title' value='$value' $checked>$string</label></p>"; 552 579 } 553 580 } -
pricemesh/trunk/pricemesh-base.php
r890024 r892911 27 27 "theme" => get_option("pricemesh_option_theme", "basic"), 28 28 "debug" => get_option("pricemesh_option_debug", "off"), 29 "title" => get_option("pricemesh_option_title", "off"), 29 30 30 31 "wp_robot_integration" => get_option("pricemesh_option_wp_robot_integration", 0), -
pricemesh/trunk/pricemesh.php
r890024 r892911 4 4 Plugin URI: https://www.pricemesh.io/plugins/wordpress/ 5 5 Description: Mit diesem Plugin ist es möglich Wordpress um einen eigenen Preisvergleich zu erweitern. 6 Version: 1. 3.16 Version: 1.4 7 7 Author: pricemesh 8 8 Author URI: https://www.pricemesh.io -
pricemesh/trunk/public/pricemesh-public.php
r890488 r892911 22 22 * @var string 23 23 */ 24 const VERSION = '1. 3.2';24 const VERSION = '1.4'; 25 25 26 26 /** … … 395 395 var pricemesh_duplicates = '".$opts["duplicates"]."'; 396 396 var pricemesh_stylesheet = '".$opts["stylesheet"]."'; 397 var pricemesh_title = '".$opts["title"]."'; 397 398 var pricemesh_load = true; 398 399 var pricemesh_plugin = 'wp'; -
pricemesh/trunk/readme.txt
r890488 r892911 4 4 Requires at least: 3.4 5 5 Tested up to: 3.8.2 6 Stable tag: 1. 3.26 Stable tag: 1.4 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 73 73 == Changelog == 74 74 75 = 1.4 = 76 * Der Titel des Produktes kann nun optional ein- und ausgeblendet werden 77 75 78 = 1.3.2 = 76 79 * Bugfix … … 81 84 82 85 = 1.3 = 83 Es gibt nun zahlreiche Möglichkeiten das Design und das Verhalten des Preisvergleichs anzupassen.86 * Es gibt nun zahlreiche Möglichkeiten das Design und das Verhalten des Preisvergleichs anzupassen. 84 87 * Es können nun eigene Stylesheets eingebunden werden 85 88 * Optional kann ein Disclaimer eingeblendet werden
Note: See TracChangeset
for help on using the changeset viewer.