Changeset 1740796
- Timestamp:
- 10/04/2017 10:05:12 AM (8 years ago)
- Location:
- eldolink/trunk
- Files:
-
- 5 edited
-
includes/widget_banner.php (modified) (1 diff)
-
includes/widget_catcher.php (modified) (5 diffs)
-
includes/widget_content.php (modified) (5 diffs)
-
includes/widget_dynamic.php (modified) (4 diffs)
-
wp-eldolink.php (modified) (8 diffs)
Legend:
- Unmodified
- Added
- Removed
-
eldolink/trunk/includes/widget_banner.php
r1733554 r1740796 5 5 public function __construct() 6 6 { 7 parent::__construct('eldolink_banner', __(' Banner Eldolink', 'eldolink'), array(7 parent::__construct('eldolink_banner', __('Eldolink® Banner', 'eldolink'), array( 8 8 'description' => __('Setting up a banner', 'eldolink'), 9 9 )); -
eldolink/trunk/includes/widget_catcher.php
r1733554 r1740796 5 5 public function __construct() 6 6 { 7 parent::__construct('eldolink_catcher', __(' Catcher Eldolink', 'eldolink'), array(7 parent::__construct('eldolink_catcher', __('Eldolink® email catcher', 'eldolink'), array( 8 8 'description' => __('Setting up a catcher', 'eldolink'), 9 9 )); … … 189 189 190 190 $this->get_field_name('txtColor'), 191 __('Text Colo r', 'eldolink'),191 __('Text Colour', 'eldolink'), 192 192 $this->get_field_id('txtColor'), 193 193 $this->get_field_name('txtColor'), … … 195 195 196 196 $this->get_field_name('bgColor'), 197 __('Background Colo r', 'eldolink'),197 __('Background Colour', 'eldolink'), 198 198 $this->get_field_id('bgColor'), 199 199 $this->get_field_name('bgColor'), … … 201 201 202 202 $this->get_field_name('brColor'), 203 __('Border Colo r', 'eldolink'),203 __('Border Colour', 'eldolink'), 204 204 $this->get_field_id('brColor'), 205 205 $this->get_field_name('brColor'), … … 207 207 208 208 $this->get_field_name('btnColor'), 209 __('Button Colo r', 'eldolink'),209 __('Button Colour', 'eldolink'), 210 210 $this->get_field_id('btnColor'), 211 211 $this->get_field_name('btnColor'), -
eldolink/trunk/includes/widget_content.php
r1733554 r1740796 5 5 public function __construct() 6 6 { 7 parent::__construct('eldolink_content', __(' Content Eldolink', 'eldolink'), array(7 parent::__construct('eldolink_content', __('Eldolink® free content', 'eldolink'), array( 8 8 'description' => __('Setting up a content', 'eldolink'), 9 9 )); … … 189 189 190 190 $this->get_field_name('txtColor'), 191 __('Text Colo r', 'eldolink'),191 __('Text Colour', 'eldolink'), 192 192 $this->get_field_id('txtColor'), 193 193 $this->get_field_name('txtColor'), … … 195 195 196 196 $this->get_field_name('bgColor'), 197 __('Background Colo r', 'eldolink'),197 __('Background Colour', 'eldolink'), 198 198 $this->get_field_id('bgColor'), 199 199 $this->get_field_name('bgColor'), … … 201 201 202 202 $this->get_field_name('brColor'), 203 __('Border Colo r', 'eldolink'),203 __('Border Colour', 'eldolink'), 204 204 $this->get_field_id('brColor'), 205 205 $this->get_field_name('brColor'), … … 207 207 208 208 $this->get_field_name('btnColor'), 209 __('Button Colo r', 'eldolink'),209 __('Button Colour', 'eldolink'), 210 210 $this->get_field_id('btnColor'), 211 211 $this->get_field_name('btnColor'), -
eldolink/trunk/includes/widget_dynamic.php
r1733554 r1740796 5 5 public function __construct() 6 6 { 7 parent::__construct('eldolink_dynamic', __(' Dynamic Eldolink', 'eldolink'), array(7 parent::__construct('eldolink_dynamic', __('Eldolink® dynamic banner', 'eldolink'), array( 8 8 'description' => __('Setting up a dynamic banner', 'eldolink'), 9 9 )); … … 156 156 157 157 $this->get_field_name('txtColor'), 158 __('Text Colo r', 'eldolink'),158 __('Text Colour', 'eldolink'), 159 159 $this->get_field_id('txtColor'), 160 160 $this->get_field_name('txtColor'), … … 162 162 163 163 $this->get_field_name('bgColor'), 164 __('Background Colo r', 'eldolink'),164 __('Background Colour', 'eldolink'), 165 165 $this->get_field_id('bgColor'), 166 166 $this->get_field_name('bgColor'), … … 168 168 169 169 $this->get_field_name('brColor'), 170 __('Border Colo r', 'eldolink'),170 __('Border Colour', 'eldolink'), 171 171 $this->get_field_id('brColor'), 172 172 $this->get_field_name('brColor'), -
eldolink/trunk/wp-eldolink.php
r1740296 r1740796 1 1 <?php 2 2 /** 3 * Plugin Name: Eldolink 3 * Plugin Name: Eldolink® 4 4 * Plugin URI: https://www.eldolink.com/home 5 * Description: Plugin for Eldolink 5 * Description: Plugin for Eldolink® 6 6 * Version: 0.4 7 7 * Text Domain: eldolink … … 169 169 if (!get_option('eldolink_affiliate')) { 170 170 $class = 'notice notice-error'; 171 $message = __( 'Your Affiliate ID is missing.', 'eldolink' );171 $message = __( 'Your affiliate ID is missing.', 'eldolink' ); 172 172 $url = 'https://www.eldolink.com/partners'; 173 173 $link = __( 'Learn more', 'eldolink' ); … … 178 178 if (!get_option('eldolink_token')) { 179 179 $class = 'notice notice-error'; 180 $message = __( 'Your API Token is missing.', 'eldolink' );180 $message = __( 'Your API token is missing.', 'eldolink' ); 181 181 $url = 'https://www.eldolink.com/partners/account'; 182 182 $link = __( 'Learn more', 'eldolink' ); … … 187 187 if( !$this->check_api_access() ){ 188 188 $class = 'notice notice-error'; 189 $message = __( 'An error occured when validating your API Token.', 'eldolink' );189 $message = __( 'An error occured when validating your API token.', 'eldolink' ); 190 190 $url = 'https://www.eldolink.com/partners/account'; 191 191 $link = __( 'Learn more', 'eldolink' ); … … 238 238 $settings, 239 239 __('General settings', 'eldolink'), 240 __('To use our different tools, you need an Eldolink affiliate account.', 'eldolink'),240 __('To use our different tools, you need an Eldolink® affiliate account.', 'eldolink'), 241 241 __('Create a free account', 'eldolink'), 242 __('Your Affiliate ID', 'eldolink'),242 __('Your affiliate ID', 'eldolink'), 243 243 get_option('eldolink_affiliate'), 244 244 __('This is your 5 digits identifier located at the top right of your affiliate interface', 'eldolink'), 245 __('Your API Token', 'eldolink'),245 __('Your API token', 'eldolink'), 246 246 get_option('eldolink_token'), 247 247 __('This token is generated in your affiliate interface.', 'eldolink'), … … 369 369 <div class="wrap"> 370 370 <h1>%s</h1> 371 <p>%s< /p>371 <p>%s<br />%s<br />%s<br />%s<br />%s<br />%s</p> 372 372 <h2 class="title">%s</h2> 373 373 <p>%s <a href="%s">%s</a>.</p> … … 378 378 <p>%s <a href="%s">%s</a>. %s.</p> 379 379 <p>%s</p> 380 <p> %s<br />%s<br />%s</p>381 <p> %s<br />%s<br />%s</p>382 <p> %s<br />%s<br />%s</p>383 <p> %s<br />%s<br />%s</p>380 <p><strong>%s</strong><br />%s<br />%s<br />%s<br />%s<br />%s<br />%s<br />%s<br />%s</p> 381 <p><strong>%s</strong><br />%s<br />%s<br />%s<br />%s<br />%s<br />%s<br />%s<br />%s<br />%s<br />%s<br />%s<br />%s<br />%s</p> 382 <p><strong>%s</strong><br />%s<br />%s<br />%s<br />%s<br />%s<br />%s<br />%s<br />%s<br />%s<br />%s<br />%s<br />%s<br />%s</p> 383 <p><strong>%s</strong><br />%s<br />%s<br />%s<br />%s<br />%s<br />%s<br />%s<br />%s<br />%s<br />%s</p> 384 384 </div> 385 385 ', 386 386 get_admin_page_title(), 387 387 388 __('This plugin gives you access to every Eldolink® promotion tools, such as :<br />389 - Banners<br /> 390 - Dynamic Banners<br /> 391 - Free Contents<br /> 392 - Catchers<br /> 393 - Super Catchers (modals)<br />', 'eldolink'),388 __('This plugin gives you access to every Eldolink® promotion tools, such as :', 'eldolink'), 389 __('- Banners', 'eldolink'), 390 __('- Dynamic Banners', 'eldolink'), 391 __('- Free Contents', 'eldolink'), 392 __('- Catchers', 'eldolink'), 393 __('- Modals (super catchers)', 'eldolink'), 394 394 395 395 __('Settings', 'eldolink'), 396 __('To use this plugin, please create a free account on eldolink.com and enter your Affiliate ID and Token IDon the', 'eldolink'),396 __('To use this plugin, please create a free account on eldolink.com and enter your affiliate ID and token API on the', 'eldolink'), 397 397 esc_url( admin_url( 'admin.php?page=eldolink_settings' ) ), 398 398 __('settings page', 'eldolink'), … … 412 412 __('You can also insert every tools into pages or posts by using it\'s shortcode:', 'eldolink'), 413 413 414 __('<strong>Banners:</strong><br />Shortcode : [eldolink_banner]', 'eldolink'), 415 __('Parameters:<br /><ul><ol>{products} : list of the products to promote</ol><ol>{format} : format of the banner</ol><ol>{r} : pricing model to use</ol><ol>{trk1} : your tracker</ol><ol>{trk2} : your additional tracker</ol></ul>', 'eldolink'), 416 __('Example: [eldolink_banner products=14,10,1 format=300x250 r=share trk1=tracker trk2=additional_tracker]', 'eldolink'), 417 418 __('<strong>Email Catchers:</strong><br /> Shortcode : [eldolink_catcher]', 'eldolink'), 419 __('Parameters:<br /><ul><ol>{tool} : ID of the tool</ol><ol>{width} : width of the catcher</ol><ol>{height} : height of the catcher</ol><ol>{txtColor} : text colour</ol><ol>{bgColor} : background colour</ol><ol>{brColor} : border colour</ol><ol>{btnColor} : button colour</ol><ol>{r} : pricing model to use</ol><ol>{trk1} : your tracker</ol><ol>{trk2} : your additional tracker</ol></ul>', 'eldolink'), 420 __('Example: [eldolink_catcher tool=223 width=650 height=160 txtColor=333333 bgColor=ffffff brColor=337ab7 btnColor=337ab7 r=share trk1=tracker trk2=additional_tracker]', 'eldolink'), 421 422 __('<strong>Free Contents:</strong><br /> Shortcode : [eldolink_content]', 'eldolink'), 423 __('Parameters:<br /><ul><ol>{tool} : ID of the tool</ol><ol>{width} : width of the catcher</ol><ol>{height} : height of the catcher</ol><ol>{txtColor} : text colour</ol><ol>{bgColor} : background colour</ol><ol>{brColor} : border colour</ol><ol>{btnColor} : button colour</ol><ol>{r} : pricing model to use</ol><ol>{trk1} : your tracker</ol><ol>{trk2} : your additional tracker</ol></ul>', 'eldolink'), 424 __('Example: [eldolink_content tool=169 width=600 height=800 txtColor=333333 bgColor=ffffff brColor=337ab7 btnColor=337ab7 r=share trk1=tracker trk2=additional_tracker]', 'eldolink'), 425 426 __('<strong>Dynamic Banners:</strong><br /> Shortcode : [eldolink_dynamic]', 'eldolink'), 427 __('Parameters:<br /><ul><ol>{format} : format of the dynamic banner</ol><ol>{txtColor} : text colour</ol><ol>{bgColor} : background colour</ol><ol>{brColor} : border colour</ol><ol>{r} : pricing model to use</ol><ol>{trk1} : your tracker</ol><ol>{trk2} : your additional tracker</ol></ul>', 'eldolink'), 428 __('Example: [eldolink_dynamic format=300x250 txtColor=333333 bgColor=ffffff brColor=337ab7 r=share trk1=tracker trk2=additional_tracker]', 'eldolink') 414 __('Banners :', 'eldolink'), 415 __('Shortcode : [eldolink_banner]', 'eldolink'), 416 __('Parameters :', 'eldolink'), 417 __('{products} : list of the products to promote', 'eldolink'), 418 __('{format} : format of the banner', 'eldolink'), 419 __('{r} : pricing model to use', 'eldolink'), 420 __('{trk1} : your tracker', 'eldolink'), 421 __('{trk2} : your additional tracker', 'eldolink'), 422 __('Example : [eldolink_banner products=14,10,1 format=300x250 r=share trk1=tracker trk2=additional_tracker]', 'eldolink'), 423 424 __('Email Catchers :', 'eldolink'), 425 __('Shortcode : [eldolink_catcher]', 'eldolink'), 426 __('Parameters :', 'eldolink'), 427 __('{tool} : tool\'s identifier', 'eldolink'), 428 __('{width} : width of the catcher', 'eldolink'), 429 __('{height} : height of the catcher', 'eldolink'), 430 __('{txtColor} : text colour', 'eldolink'), 431 __('{bgColor} : background colour', 'eldolink'), 432 __('{brColor} : border colour', 'eldolink'), 433 __('{btnColor} : button colour', 'eldolink'), 434 __('{r} : pricing model to use', 'eldolink'), 435 __('{trk1} : your tracker', 'eldolink'), 436 __('{trk2} : your additional tracker', 'eldolink'), 437 __('Example : [eldolink_catcher tool=223 width=650 height=160 txtColor=333333 bgColor=ffffff brColor=337ab7 btnColor=337ab7 r=share trk1=tracker trk2=additional_tracker]', 'eldolink'), 438 439 __('Free Contents :', 'eldolink'), 440 __('Shortcode : [eldolink_content]', 'eldolink'), 441 __('Parameters :', 'eldolink'), 442 __('{tool} : tool\'s identifier', 'eldolink'), 443 __('{width} : width of the catcher', 'eldolink'), 444 __('{height} : height of the catcher', 'eldolink'), 445 __('{txtColor} : text colour', 'eldolink'), 446 __('{bgColor} : background colour', 'eldolink'), 447 __('{brColor} : border colour', 'eldolink'), 448 __('{btnColor} : button colour', 'eldolink'), 449 __('{r} : pricing model to use', 'eldolink'), 450 __('{trk1} : your tracker', 'eldolink'), 451 __('{trk2} : your additional tracker', 'eldolink'), 452 __('Example : [eldolink_content tool=169 width=600 height=800 txtColor=333333 bgColor=ffffff brColor=337ab7 btnColor=337ab7 r=share trk1=tracker trk2=additional_tracker]', 'eldolink'), 453 454 __('Dynamic Banners :', 'eldolink'), 455 __('Shortcode : [eldolink_dynamic]', 'eldolink'), 456 __('Parameters :', 'eldolink'), 457 __('{format} : format of the banner', 'eldolink'), 458 __('{txtColor} : text colour', 'eldolink'), 459 __('{bgColor} : background colour', 'eldolink'), 460 __('{brColor} : border colour', 'eldolink'), 461 __('{r} : pricing model to use', 'eldolink'), 462 __('{trk1} : your tracker', 'eldolink'), 463 __('{trk2} : your additional tracker', 'eldolink'), 464 __('Example : [eldolink_dynamic format=300x250 txtColor=333333 bgColor=ffffff brColor=337ab7 r=share trk1=tracker trk2=additional_tracker]', 'eldolink') 429 465 ); 430 466 }
Note: See TracChangeset
for help on using the changeset viewer.