Changeset 963908
- Timestamp:
- 08/11/2014 02:48:21 PM (12 years ago)
- Location:
- pricemesh/trunk
- Files:
-
- 5 edited
-
admin/pricemesh-admin.php (modified) (7 diffs)
-
admin/views/admin.php (modified) (1 diff)
-
pricemesh-base.php (modified) (1 diff)
-
public/pricemesh-public.php (modified) (2 diffs)
-
readme.txt (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
pricemesh/trunk/admin/pricemesh-admin.php
r917041 r963908 235 235 //theme 236 236 $option = "pricemesh_option_theme"; 237 $option_name = "Theme ";237 $option_name = "Theme (Pro)"; 238 238 $option_callback = "settings_styling_theme_callback"; 239 239 add_settings_field( … … 244 244 //stylesheet 245 245 $option = "pricemesh_option_stylesheet"; 246 $option_name = "Stylesheet ";246 $option_name = "Stylesheet (Pro)"; 247 247 $option_callback = "settings_styling_stylesheet_callback"; 248 248 add_settings_field( … … 261 261 ); 262 262 263 //name 264 $option = "pricemesh_option_name"; 265 $option_name = "Titel (Pro)"; 266 $option_callback = "settings_config_name_callback"; 267 add_settings_field( 268 $option, __($option_name, $this->plugin_slug), array($this, $option_callback), $this->plugin_slug, $section 269 ); 270 register_setting($group, $option); 271 263 272 //initial_items 264 273 $option = "pricemesh_option_initial_items"; … … 308 317 //title 309 318 $option = "pricemesh_option_title"; 310 $option_name = "Produkt titel";319 $option_name = "Produktname"; 311 320 $option_callback = "settings_config_title_callback"; 312 321 add_settings_field( … … 314 323 ); 315 324 register_setting($group, $option); 325 326 316 327 317 328 //----------------------------------------------------------------- … … 448 459 449 460 /** 461 * name Callback 462 * @since 1.5 463 */ 464 public function settings_config_name_callback(){ 465 $opts = self::get_pricemesh_settings(); 466 $setting = $opts["name"]; 467 echo "<input maxlength='40' type='text' name='pricemesh_option_name' value='$setting' class='regular-text'/>"; 468 469 } 470 471 /** 450 472 * theme Callback 451 473 * @since 1.3.0 … … 454 476 $opts = self::get_pricemesh_settings(); 455 477 $setting = $opts["theme"]; 456 457 $options = array("basic" => __("Standard"));478 $options = array("basic" => __("Standard"), "dark" => __("Dark")); 479 //$options = array("basic" => __("Standard")); 458 480 foreach($options as $value => $string) { 459 481 if($setting == $value){ -
pricemesh/trunk/admin/views/admin.php
r866107 r963908 4 4 5 5 <form method="POST" action="options.php"> 6 <?php echo _("Eine Übersicht über alle Einstellungen gibt es <a target='_blank' href='https://www.pricemesh.io/de/hilfe/einstellungen/'>hier</a>"); ?> 6 7 <?php settings_fields('pricemesh-settings-group'); //pass slug name of page, also referred 7 8 //to in Settings API as option group name -
pricemesh/trunk/pricemesh-base.php
r892911 r963908 28 28 "debug" => get_option("pricemesh_option_debug", "off"), 29 29 "title" => get_option("pricemesh_option_title", "off"), 30 "name" => get_option("pricemesh_option_name", ""), 30 31 31 32 "wp_robot_integration" => get_option("pricemesh_option_wp_robot_integration", 0), -
pricemesh/trunk/public/pricemesh-public.php
r942938 r963908 22 22 * @var string 23 23 */ 24 const VERSION = '1. 4.2';24 const VERSION = '1.5'; 25 25 26 26 /** … … 398 398 var pricemesh_stylesheet = '".$opts["stylesheet"]."'; 399 399 var pricemesh_title = '".$opts["title"]."'; 400 var pricemesh_theme = '".$opts["theme"]."'; 401 var pricemesh_name = '".$opts["name"]."'; 400 402 var pricemesh_load = true; 401 403 var pricemesh_plugin = 'wp'; -
pricemesh/trunk/readme.txt
r942938 r963908 3 3 Tags: affiliate, commerce, e-commerce, ecommerce, sales, sell, shop, shopping, widgets, wordpress ecommerce, amazon, preisvergleich, ads, advertising 4 4 Requires at least: 3.4 5 Tested up to: 3.9. 16 Stable tag: 1. 4.25 Tested up to: 3.9.2 6 Stable tag: 1.5 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 34 34 * Preisvergleich innerhalb des Content oder als Widget in der Sidebar 35 35 * Fügt sich in jedes Template ein 36 * Keine teuren Themes ,oder custom Templates erforderlich36 * Keine teuren Themes oder custom Templates erforderlich 37 37 * Einfach zu installieren und einzurichten 38 38 … … 60 60 2. Im Wordpress Adminbereich anmelden 61 61 3. Das Plugin im 'Plugins' Menü aktivieren 62 4. Im Adminmenü auf der linken Seite auf `Pricemesh Einstellungen` klicken und eigenes Token eintragen ,oder Demo Token übernehmen63 5. ASIN, EAN ,oder ISBN des Produktes zu einem Beitrag hinzufügen62 4. Im Adminmenü auf der linken Seite auf `Pricemesh Einstellungen` klicken und eigenes Token eintragen oder Demo Token übernehmen 63 5. ASIN, EAN oder ISBN des Produktes zu einem Beitrag hinzufügen 64 64 65 65 … … 72 72 73 73 == Changelog == 74 75 = 1.5 = 76 * Dark Theme hinzugefügt 77 * Titel hinzugefügt 78 74 79 75 80 = 1.4.2 =
Note: See TracChangeset
for help on using the changeset viewer.