Changeset 1872084
- Timestamp:
- 05/10/2018 12:35:24 PM (8 years ago)
- Location:
- good-url-preview-box
- Files:
-
- 20 edited
- 35 copied
-
tags/1.12 (copied) (copied from good-url-preview-box/trunk)
-
tags/1.12/gurlpb-activated.php (copied) (copied from good-url-preview-box/trunk/gurlpb-activated.php)
-
tags/1.12/gurlpb-alert-admin.php (copied) (copied from good-url-preview-box/trunk/gurlpb-alert-admin.php)
-
tags/1.12/gurlpb-config.php (copied) (copied from good-url-preview-box/trunk/gurlpb-config.php) (1 diff)
-
tags/1.12/gurlpb-example1.png (copied) (copied from good-url-preview-box/trunk/gurlpb-example1.png)
-
tags/1.12/gurlpb-example2.png (copied) (copied from good-url-preview-box/trunk/gurlpb-example2.png)
-
tags/1.12/gurlpb-example3.png (copied) (copied from good-url-preview-box/trunk/gurlpb-example3.png)
-
tags/1.12/gurlpb-example4.png (copied) (copied from good-url-preview-box/trunk/gurlpb-example4.png)
-
tags/1.12/gurlpb-multiple.jpg (copied) (copied from good-url-preview-box/trunk/gurlpb-multiple.jpg)
-
tags/1.12/gurlpb-settings-admin.php (copied) (copied from good-url-preview-box/trunk/gurlpb-settings-admin.php) (10 diffs)
-
tags/1.12/gurlpb-settings-admin_2017.php (copied) (copied from good-url-preview-box/trunk/gurlpb-settings-admin_2017.php) (7 diffs)
-
tags/1.12/gurlpb-single.jpg (copied) (copied from good-url-preview-box/trunk/gurlpb-single.jpg)
-
tags/1.12/gurlpb-start.php (copied) (copied from good-url-preview-box/trunk/gurlpb-start.php) (2 diffs)
-
tags/1.12/gurlpb-title-link.jpg (copied) (copied from good-url-preview-box/trunk/gurlpb-title-link.jpg)
-
tags/1.12/gurlpb_editor-help.jpg (copied) (copied from good-url-preview-box/trunk/gurlpb_editor-help.jpg)
-
tags/1.12/gurlpb_wordpress-editor-icon.png (copied) (copied from good-url-preview-box/trunk/gurlpb_wordpress-editor-icon.png)
-
tags/1.12/gurlpb_wordpress-plugin-left-icon.png (copied) (copied from good-url-preview-box/trunk/gurlpb_wordpress-plugin-left-icon.png)
-
tags/1.12/gute-url-preview-box.php (copied) (copied from good-url-preview-box/trunk/gute-url-preview-box.php) (1 diff)
-
tags/1.12/languages/gurlpb-cn.mo (copied) (copied from good-url-preview-box/trunk/languages/gurlpb-cn.mo)
-
tags/1.12/languages/gurlpb-cn.pot (copied) (copied from good-url-preview-box/trunk/languages/gurlpb-cn.pot) (1 diff)
-
tags/1.12/languages/gurlpb-de.mo (copied) (copied from good-url-preview-box/trunk/languages/gurlpb-de.mo)
-
tags/1.12/languages/gurlpb-de.pot (copied) (copied from good-url-preview-box/trunk/languages/gurlpb-de.pot) (1 diff)
-
tags/1.12/languages/gurlpb-de_DE.mo (copied) (copied from good-url-preview-box/trunk/languages/gurlpb-de_DE.mo)
-
tags/1.12/languages/gurlpb-en.pot (copied) (copied from good-url-preview-box/trunk/languages/gurlpb-en.pot) (1 diff)
-
tags/1.12/languages/gurlpb-es.mo (copied) (copied from good-url-preview-box/trunk/languages/gurlpb-es.mo)
-
tags/1.12/languages/gurlpb-es.pot (copied) (copied from good-url-preview-box/trunk/languages/gurlpb-es.pot) (1 diff)
-
tags/1.12/languages/gurlpb-es_ES.mo (copied) (copied from good-url-preview-box/trunk/languages/gurlpb-es_ES.mo)
-
tags/1.12/languages/gurlpb-ru.mo (copied) (copied from good-url-preview-box/trunk/languages/gurlpb-ru.mo)
-
tags/1.12/languages/gurlpb-ru.pot (copied) (copied from good-url-preview-box/trunk/languages/gurlpb-ru.pot) (1 diff)
-
tags/1.12/languages/gurlpb-ru_RU.mo (copied) (copied from good-url-preview-box/trunk/languages/gurlpb-ru_RU.mo)
-
tags/1.12/languages/gurlpb-zh_CN.mo (copied) (copied from good-url-preview-box/trunk/languages/gurlpb-zh_CN.mo)
-
tags/1.12/languages/gurlpb.mo (copied) (copied from good-url-preview-box/trunk/languages/gurlpb.mo)
-
tags/1.12/readme.txt (copied) (copied from good-url-preview-box/trunk/readme.txt) (3 diffs)
-
tags/1.12/screenshot-1.jpg (copied) (copied from good-url-preview-box/trunk/screenshot-1.jpg)
-
tags/1.12/screenshot-2.jpg (copied) (copied from good-url-preview-box/trunk/screenshot-2.jpg)
-
trunk/gurlpb-config.php (modified) (1 diff)
-
trunk/gurlpb-settings-admin.php (modified) (10 diffs)
-
trunk/gurlpb-settings-admin_2017.php (modified) (7 diffs)
-
trunk/gurlpb-start.php (modified) (2 diffs)
-
trunk/gute-url-preview-box.php (modified) (1 diff)
-
trunk/languages/gurlpb-cn.mo (modified) (previous)
-
trunk/languages/gurlpb-cn.pot (modified) (1 diff)
-
trunk/languages/gurlpb-de.mo (modified) (previous)
-
trunk/languages/gurlpb-de.pot (modified) (1 diff)
-
trunk/languages/gurlpb-de_DE.mo (modified) (previous)
-
trunk/languages/gurlpb-en.pot (modified) (1 diff)
-
trunk/languages/gurlpb-es.mo (modified) (previous)
-
trunk/languages/gurlpb-es.pot (modified) (1 diff)
-
trunk/languages/gurlpb-es_ES.mo (modified) (previous)
-
trunk/languages/gurlpb-ru.mo (modified) (previous)
-
trunk/languages/gurlpb-ru.pot (modified) (1 diff)
-
trunk/languages/gurlpb-ru_RU.mo (modified) (previous)
-
trunk/languages/gurlpb-zh_CN.mo (modified) (previous)
-
trunk/languages/gurlpb.mo (modified) (previous)
-
trunk/readme.txt (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
good-url-preview-box/tags/1.12/gurlpb-config.php
r1794609 r1872084 1 1 <?php 2 2 class Gurlpb_config { 3 public static $_VERSION = '1.1 1.3'; // CHANGE ALSO IN gute-url-preview-box.php, README AND IN SVN!3 public static $_VERSION = '1.12'; // CHANGE ALSO IN gute-url-preview-box.php, README AND IN SVN! 4 4 public static $_DEBUG = false; 5 5 public static $_LOCAL = false; -
good-url-preview-box/tags/1.12/gurlpb-settings-admin.php
r1794588 r1872084 196 196 } elseif ( $typegif == 2 ) { 197 197 Gurlpb_utils::log(__FUNCTION__ . '[' . __LINE__ . "] gurlpb-bgcolor" . $_POST['gurlpb-bgcolor'] ); 198 Gurlpb_utils::log(__FUNCTION__ . '[' . __LINE__ . "] gurlpb-bgcolor" . print_r( $_POST, true ));199 198 $strLoadingGif = empty( $_POST['gurlpb-gif'] ) ? '' : trim( $_POST['gurlpb-gif'] ); 200 199 if ( filter_var( $strLoadingGif, FILTER_VALIDATE_URL) !== false ) { … … 205 204 } 206 205 } 206 if ( isset( $_POST['gurlpb-clickTextRadio'] ) ) { 207 $nClickTextRadio = $_POST['gurlpb-clickTextRadio'] == 1 ? 1 : 2; 208 $strClickText = ( $nClickTextRadio == 2 ? trim( strip_tags( $_POST[ 'gurlpb-clickText' ] ) ) : '' ); 209 if ( $strClickText == '' ) { 210 delete_option('gurlpb-clickText'); 211 Gurlpb_utils::log(__FUNCTION__ . '[' . __LINE__ . "] delete_option clickText: " . $_POST[ 'gurlpb-clickText' ]); 212 } else { 213 update_option( 'gurlpb-clickText', sanitize_text_field( $strClickText ) ); 214 Gurlpb_utils::log(__FUNCTION__ . '[' . __LINE__ . "] update_option clickText" ); 215 } 216 } 207 217 if ( isset( $_POST['gurlpb-showexcerpt'] ) ) { 208 218 Gurlpb_utils::log(__FUNCTION__ . '[' . __LINE__ . "] gurlpb-except 1" ); … … 218 228 } 219 229 } 230 if ( isset( $_POST['gurlpb-maxLines'] ) ) { 231 $nMaxLines = 0 + $_POST['gurlpb-maxLines']; 232 if ( $nMaxLines > 0 && $nMaxLines <=12 ) { 233 update_option('gurlpb-maxLines', sanitize_text_field( $nMaxLines ) ); 234 } else { 235 delete_option('gurlpb-maxLines'); 236 } 237 } 238 if ( isset( $_POST['gurlpb-maxImgHeight'] ) ) { 239 $nMaxImgHeight = 0 + $_POST['gurlpb-maxImgHeight']; 240 Gurlpb_utils::log(__FUNCTION__ . '[' . __LINE__ . "] nMaxImgHeight $nMaxImgHeight" ); 241 if ( $nMaxImgHeight > 0 && $nMaxImgHeight <=800 ) { 242 update_option('gurlpb-maxImgHeight', sanitize_text_field( $nMaxImgHeight ) ); 243 } else { 244 delete_option('gurlpb-maxImgHeight'); 245 } 246 } 220 247 if ( isset( $_POST['gurlpb-hideimages'] ) ) { 221 248 update_option('gurlpb-hideimages', '1' ); … … 223 250 delete_option('gurlpb-hideimages'); 224 251 } 252 echo '<script type="text/javascript">localStorage.clear()</script>'; 225 253 } 226 254 … … 243 271 $typegif = 2; 244 272 } 273 274 $strClickText = trim( strip_tags( get_option( 'gurlpb-clickText' ) ) ); 275 $nClickTextRadio = ( $strClickText == '' ? 1 : 2 ); 276 245 277 $strZoom = get_option( 'gurlpb-zoom' ); 246 247 $strImgHeight = "";278 $strMaxLines = 0 + get_option( 'gurlpb-maxLines' ); 279 $strImgHeight = 0 + get_option( 'gurlpb-maxImgHeight' );; 248 280 ?> 249 281 <div class="wrap"> … … 357 389 (<?php _e( 'Use a gif from', 'gurlpb' ); ?>) 358 390 </span> 359 391 <br /> 392 <br /> 393 </td> 394 </tr> 395 <tr> 396 <td> 397 <?php _e( 'Clickable-text', 'gurlpb' ); ?>: 398 </td> 399 <td> 400 <input type="radio" name="gurlpb-clickTextRadio" id="gurlpb-clickTextRadio1" <?=$nClickTextRadio<2?'checked="checked"':''?> value="1" /> 401 <?php _e( 'Default-text.', 'gurlpb' ); ?> 360 402 </td> 361 403 </tr> … … 365 407 </td> 366 408 <td> 367 <input type="radio" name="gurlpb-typegif" <?=$typegif==3?'checked="checked"':''?> value="3" /> 368 <?php _e( 'No animation', 'gurlpb' ); ?> 369 <br /><br /> 409 <input type="radio" name="gurlpb-clickTextRadio" id="gurlpb-clickTextRadio2" <?=$nClickTextRadio==2?'checked="checked"':''?> value="2" /> 410 <input name="gurlpb-clickText" value="<?=($nClickTextRadio==2 && $strClickText)?$strClickText:''?>" placeholder="<?php _e( 'Example-Click-here', 'gurlpb' ); ?>" size="30" onclick="document.getElementById('gurlpb-clickTextRadio2').checked='checked';" /> 411 <br /> 412 <br /> 370 413 </td> 371 414 </tr> … … 377 420 <input type="checkbox" name="gurlpb-showexcerpt" <?=get_option( 'gurlpb-showexcerpt' ) ? 'checked="checked"' : ''?> value="1" /> 378 421 <?php _e( 'Yes', 'gurlpb' ); ?> 379 380 422 </td> 381 423 </tr> … … 410 452 </td> 411 453 <td> 412 413 <select name="gurlpb-maximgheight"> 414 <option <?=( $strImgHeight == '' || $strImgHeight == '0' ) ? 'selected="selected"': ''?> value=""><?php _e( 'none', 'gurlpb' ); ?></option> 454 <select name="gurlpb-maxImgHeight"> 455 <option <?=( ! $strImgHeight ) ? 'selected="selected"': ''?> value=""><?php _e( 'Full image (default)', 'gurlpb' ); ?></option> 415 456 <option <?= $strImgHeight == '100' ? 'selected="selected"': ''?> value="100">100px</option> 416 457 <option <?= $strImgHeight == '150' ? 'selected="selected"': ''?> value="150">150px</option> … … 424 465 </select> 425 466 467 </td> 468 </tr> 469 <tr> 470 <td> 471 <?php _e( 'Description-length', 'gurlpb' ); ?> 472 </td> 473 <td> 474 <select name="gurlpb-maxLines"> 475 <option <?=( $strMaxLines == '' || $strMaxLines == '0' ) ? 'selected="selected"': ''?> value="0"><?php _e( 'Full-text-default', 'gurlpb' ); ?></option> 476 <option <?= $strMaxLines == '1' ? 'selected="selected"': ''?> value="1"><?php _e( 'Max.', 'gurlpb' ); ?> 1 <?php _e( 'row', 'gurlpb' ); ?></option> 477 <option <?= $strMaxLines == '2' ? 'selected="selected"': ''?> value="2"><?php _e( 'Max.', 'gurlpb' ); ?> 2 <?php _e( 'rows', 'gurlpb' ); ?></option> 478 <option <?= $strMaxLines == '3' ? 'selected="selected"': ''?> value="3"><?php _e( 'Max.', 'gurlpb' ); ?> 3 <?php _e( 'rows', 'gurlpb' ); ?></option> 479 <option <?= $strMaxLines == '4' ? 'selected="selected"': ''?> value="4"><?php _e( 'Max.', 'gurlpb' ); ?> 4 <?php _e( 'rows', 'gurlpb' ); ?></option> 480 <option <?= $strMaxLines == '5' ? 'selected="selected"': ''?> value="5"><?php _e( 'Max.', 'gurlpb' ); ?> 5 <?php _e( 'rows', 'gurlpb' ); ?></option> 481 <option <?= $strMaxLines == '6' ? 'selected="selected"': ''?> value="6"><?php _e( 'Max.', 'gurlpb' ); ?> 6 <?php _e( 'rows', 'gurlpb' ); ?></option> 482 <option <?= $strMaxLines == '7' ? 'selected="selected"': ''?> value="7"><?php _e( 'Max.', 'gurlpb' ); ?> 7 <?php _e( 'rows', 'gurlpb' ); ?></option> 483 <option <?= $strMaxLines == '8' ? 'selected="selected"': ''?> value="8"><?php _e( 'Max.', 'gurlpb' ); ?> 8 <?php _e( 'rows', 'gurlpb' ); ?></option> 484 <option <?= $strMaxLines == '9' ? 'selected="selected"': ''?> value="9"><?php _e( 'Max.', 'gurlpb' ); ?> 9 <?php _e( 'rows', 'gurlpb' ); ?></option> 485 <option <?= $strMaxLines == '10' ? 'selected="selected"': ''?> value="10"><?php _e( 'Max.', 'gurlpb' ); ?> 10 <?php _e( 'rows', 'gurlpb' ); ?></option> 486 <option <?= $strMaxLines == '11' ? 'selected="selected"': ''?> value="11"><?php _e( 'Max.', 'gurlpb' ); ?> 11 <?php _e( 'rows', 'gurlpb' ); ?></option> 487 <option <?= $strMaxLines == '12' ? 'selected="selected"': ''?> value="12"><?php _e( 'Max.', 'gurlpb' ); ?> 12 <?php _e( 'rows', 'gurlpb' ); ?></option> 488 </select> 489 426 490 </td> 427 491 </tr> -
good-url-preview-box/tags/1.12/gurlpb-settings-admin_2017.php
r1794597 r1872084 55 55 } 56 56 } 57 if ( isset( $_POST['gurlpb-clickTextRadio'] ) ) { 58 $nClickTextRadio = $_POST['gurlpb-clickTextRadio'] == 1 ? 1 : 2; 59 $strClickText = ( $nClickTextRadio == 2 ? trim( strip_tags( $_POST[ 'gurlpb-clickText' ] ) ) : '' ); 60 if ( $strClickText == '' ) { 61 delete_option('gurlpb-clickText'); 62 Gurlpb_utils::log(__FUNCTION__ . '[' . __LINE__ . "] delete_option clickText: " . $_POST[ 'gurlpb-clickText' ]); 63 } else { 64 update_option( 'gurlpb-clickText', sanitize_text_field( $strClickText ) ); 65 Gurlpb_utils::log(__FUNCTION__ . '[' . __LINE__ . "] update_option clickText" ); 66 } 67 } 57 68 if ( isset( $_POST['gurlpb-showexcerpt'] ) ) { 58 69 Gurlpb_utils::log(__FUNCTION__ . '[' . __LINE__ . "] gurlpb-except 1" ); … … 68 79 } 69 80 } 81 if ( isset( $_POST['gurlpb-maxLines'] ) ) { 82 $nMaxLines = 0 + $_POST['gurlpb-maxLines']; 83 if ( $nMaxLines > 0 && $nMaxLines <=12 ) { 84 update_option('gurlpb-maxLines', sanitize_text_field( $nMaxLines ) ); 85 } else { 86 delete_option('gurlpb-maxLines'); 87 } 88 } 89 if ( isset( $_POST['gurlpb-maxImgHeight'] ) ) { 90 $nMaxImgHeight = 0 + $_POST['gurlpb-maxImgHeight']; 91 Gurlpb_utils::log(__FUNCTION__ . '[' . __LINE__ . "] nMaxImgHeight $nMaxImgHeight" ); 92 if ( $nMaxImgHeight > 0 && $nMaxImgHeight <=800 ) { 93 update_option('gurlpb-maxImgHeight', sanitize_text_field( $nMaxImgHeight ) ); 94 } else { 95 delete_option('gurlpb-maxImgHeight'); 96 } 97 } 70 98 if ( isset( $_POST['gurlpb-hideimages'] ) ) { 71 99 update_option('gurlpb-hideimages', '1' ); … … 73 101 delete_option('gurlpb-hideimages'); 74 102 } 103 echo '<script type="text/javascript">localStorage.clear()</script>'; 75 104 } 76 105 … … 93 122 $typegif = 2; 94 123 } 124 125 $strClickText = trim( strip_tags( get_option( 'gurlpb-clickText' ) ) ); 126 $nClickTextRadio = ( $strClickText == '' ? 1 : 2 ); 127 95 128 $strZoom = get_option( 'gurlpb-zoom' ); 96 97 $strImgHeight = "";129 $strMaxLines = 0 + get_option( 'gurlpb-maxLines' ); 130 $strImgHeight = 0 + get_option( 'gurlpb-maxImgHeight' );; 98 131 ?> 99 132 <div class="wrap"> … … 303 336 <tr> 304 337 <td> 338 <?php _e( 'Clickable-text', 'gurlpb' ); ?>: 339 </td> 340 <td> 341 <input type="radio" name="gurlpb-clickTextRadio" id="gurlpb-clickTextRadio1" <?=$nClickTextRadio<2?'checked="checked"':''?> value="1" /> 342 <?php _e( 'Default-text.', 'gurlpb' ); ?> 343 </td> 344 </tr> 345 <tr> 346 <td> 347 348 </td> 349 <td> 350 <input type="radio" name="gurlpb-clickTextRadio" id="gurlpb-clickTextRadio2" <?=$nClickTextRadio==2?'checked="checked"':''?> value="2" /> 351 <input name="gurlpb-clickText" value="<?=($nClickTextRadio==2 && $strClickText)?$strClickText:''?>" placeholder="<?php _e( 'Example-Click-here', 'gurlpb' ); ?>" size="30" onclick="document.getElementById('gurlpb-clickTextRadio2').checked='checked';" /> 352 <br /> 353 <br /> 354 </td> 355 </tr> 356 357 <tr> 358 <td> 305 359 <?php _e( 'Show URL preview box in excerpt', 'gurlpb' ); ?> 306 360 </td> … … 341 395 </td> 342 396 <td> 343 344 <select name="gurlpb-maximgheight"> 345 <option <?=( $strImgHeight == '' || $strImgHeight == '0' ) ? 'selected="selected"': ''?> value=""><?php _e( 'none', 'gurlpb' ); ?></option> 397 <select name="gurlpb-maxImgHeight"> 398 <option <?=( ! $strImgHeight ) ? 'selected="selected"': ''?> value=""><?php _e( 'Full image (default)', 'gurlpb' ); ?></option> 346 399 <option <?= $strImgHeight == '100' ? 'selected="selected"': ''?> value="100">100px</option> 347 400 <option <?= $strImgHeight == '150' ? 'selected="selected"': ''?> value="150">150px</option> … … 359 412 <tr> 360 413 <td> 414 <?php _e( 'Description-length', 'gurlpb' ); ?> 415 </td> 416 <td> 417 <select name="gurlpb-maxLines"> 418 <option <?=( $strMaxLines == '' || $strMaxLines == '0' ) ? 'selected="selected"': ''?> value="0"><?php _e( 'Full-text-default', 'gurlpb' ); ?></option> 419 <option <?= $strMaxLines == '1' ? 'selected="selected"': ''?> value="1"><?php _e( 'Max.', 'gurlpb' ); ?> 1 <?php _e( 'row', 'gurlpb' ); ?></option> 420 <option <?= $strMaxLines == '2' ? 'selected="selected"': ''?> value="2"><?php _e( 'Max.', 'gurlpb' ); ?> 2 <?php _e( 'rows', 'gurlpb' ); ?></option> 421 <option <?= $strMaxLines == '3' ? 'selected="selected"': ''?> value="3"><?php _e( 'Max.', 'gurlpb' ); ?> 3 <?php _e( 'rows', 'gurlpb' ); ?></option> 422 <option <?= $strMaxLines == '4' ? 'selected="selected"': ''?> value="4"><?php _e( 'Max.', 'gurlpb' ); ?> 4 <?php _e( 'rows', 'gurlpb' ); ?></option> 423 <option <?= $strMaxLines == '5' ? 'selected="selected"': ''?> value="5"><?php _e( 'Max.', 'gurlpb' ); ?> 5 <?php _e( 'rows', 'gurlpb' ); ?></option> 424 <option <?= $strMaxLines == '6' ? 'selected="selected"': ''?> value="6"><?php _e( 'Max.', 'gurlpb' ); ?> 6 <?php _e( 'rows', 'gurlpb' ); ?></option> 425 <option <?= $strMaxLines == '7' ? 'selected="selected"': ''?> value="7"><?php _e( 'Max.', 'gurlpb' ); ?> 7 <?php _e( 'rows', 'gurlpb' ); ?></option> 426 <option <?= $strMaxLines == '8' ? 'selected="selected"': ''?> value="8"><?php _e( 'Max.', 'gurlpb' ); ?> 8 <?php _e( 'rows', 'gurlpb' ); ?></option> 427 <option <?= $strMaxLines == '9' ? 'selected="selected"': ''?> value="9"><?php _e( 'Max.', 'gurlpb' ); ?> 9 <?php _e( 'rows', 'gurlpb' ); ?></option> 428 <option <?= $strMaxLines == '10' ? 'selected="selected"': ''?> value="10"><?php _e( 'Max.', 'gurlpb' ); ?> 10 <?php _e( 'rows', 'gurlpb' ); ?></option> 429 <option <?= $strMaxLines == '11' ? 'selected="selected"': ''?> value="11"><?php _e( 'Max.', 'gurlpb' ); ?> 11 <?php _e( 'rows', 'gurlpb' ); ?></option> 430 <option <?= $strMaxLines == '12' ? 'selected="selected"': ''?> value="12"><?php _e( 'Max.', 'gurlpb' ); ?> 12 <?php _e( 'rows', 'gurlpb' ); ?></option> 431 </select> 432 433 </td> 434 </tr> 435 <tr> 436 <td> 361 437 362 438 </td> -
good-url-preview-box/tags/1.12/gurlpb-start.php
r1794588 r1872084 349 349 //echo '<script type="text/javascript"> document.guc=' . $callbackA . '</script>'; 350 350 } 351 352 $strMaxLines = 0 + get_option( 'gurlpb-maxLines' ); 353 $strMaxImgHeight = 0 + get_option( 'gurlpb-maxImgHeight' ); 354 $strClickText = trim( strip_tags( get_option( 'gurlpb-clickText' ) ) ); 351 355 352 356 echo '<script type="text/javascript" async' … … 365 369 . ( $nZoom != 1 ? ' zoom="' . get_option( 'gurlpb-zoom' ) . '"' : '' ) 366 370 . ( $email ? ' email="' . base64_encode( $email ) . '"' : '' ) 371 . ( $strMaxLines ? ' maxlines="' . $strMaxLines . '"' : '' ) 372 . ( $strMaxImgHeight ? ' maxImgHeight="' . $strMaxImgHeight . '"' : '' ) 373 . ( $strClickText ? ' clickText="' . $strClickText . '"' : '' ) 367 374 . ' pluginversion="' . Gurlpb_config::$_VERSION . '"' 368 375 -
good-url-preview-box/tags/1.12/gute-url-preview-box.php
r1794609 r1872084 6 6 Author: Martin Schaedler 7 7 Author URI: https://hypnose54321.de/frankfurt/_contact.html 8 Version: 1.1 1.38 Version: 1.12 9 9 Text Domain: gurlpb 10 10 */ -
good-url-preview-box/tags/1.12/languages/gurlpb-cn.pot
r1794597 r1872084 242 242 msgid "Save-a-little-money" 243 243 msgstr "节省一些钱" 244 245 #. Clickable text 246 msgid "Clickable-text" 247 msgstr "可点击的文字" 248 249 #. Default text. 250 msgid "Default-text." 251 msgstr "默认文字" 252 253 #. Example: Click here to open page 254 msgid "Example-Click-here" 255 msgstr "例如:点击这里" 256 257 #. Description length 258 msgid "Description-length" 259 msgstr "描述长度" 260 261 #. Max. 262 msgid "Max." 263 msgstr "最大。" 264 265 #. Row 266 msgid "Row" 267 msgstr "行" 268 269 #. Rows 270 msgid "Rows" 271 msgstr "行" 272 273 #. Full text (default) 274 msgid "Full-text-default" 275 msgstr "全文(默认)" -
good-url-preview-box/tags/1.12/languages/gurlpb-de.pot
r1794597 r1872084 245 245 msgid "Save-a-little-money" 246 246 msgstr "Ein paar Euro-Cent sparen" 247 248 #. Clickable text 249 msgid "Clickable-text" 250 msgstr "Link Text" 251 252 #. Default text. 253 msgid "Default-text." 254 msgstr "Standard" 255 256 #. Example: Click here to open page 257 msgid "Example-Click-here" 258 msgstr "Bsp.: Klick hier" 259 260 #. Description length 261 msgid "Description-length" 262 msgstr "Länge des Textes" 263 264 #. Max. 265 msgid "Max." 266 msgstr "Max." 267 268 #. Row 269 msgid "Row" 270 msgstr "Zeile" 271 272 #. Rows 273 msgid "Rows" 274 msgstr "Zeilen" 275 276 #. Full text (default) 277 msgid "Full-text-default" 278 msgstr "Kompletter Text (Default)" -
good-url-preview-box/tags/1.12/languages/gurlpb-en.pot
r1794597 r1872084 239 239 msgid "Save-a-little-money" 240 240 msgstr "Save a few bugs" 241 242 #. Clickable text 243 msgid "Clickable-text" 244 msgstr "Clickable text" 245 246 #. Default text. 247 msgid "Default-text." 248 msgstr "Default text." 249 250 #. Example: Click here to open page 251 msgid "Example-Click-here" 252 msgstr "Example: Click here to open page" 253 254 #. Description length 255 msgid "Description-length" 256 msgstr "Description length" 257 258 #. Max. 259 msgid "Max." 260 msgstr "Max." 261 262 #. Row 263 msgid "Row" 264 msgstr "Row" 265 266 #. Rows 267 msgid "Rows" 268 msgstr "Rows" 269 270 #. Full text (default) 271 msgid "Full-text-default" 272 msgstr "Full text (default)" -
good-url-preview-box/tags/1.12/languages/gurlpb-es.pot
r1794597 r1872084 243 243 msgstr "Ahorra algo de dinero" 244 244 245 245 #. Clickable text 246 msgid "Clickable-text" 247 msgstr "Texto clicable" 248 249 #. Default text. 250 msgid "Default-text." 251 msgstr "Impago" 252 253 #. Example: Click here to open page 254 msgid "Example-Click-here" 255 msgstr "Ejemplo: Haga clic aquí" 256 257 #. Description length 258 msgid "Description-length" 259 msgstr "longitud de texto" 260 261 #. Max. 262 msgid "Max." 263 msgstr "Máx" 264 265 #. Row 266 msgid "Row" 267 msgstr "Fila" 268 269 #. Rows 270 msgid "Rows" 271 msgstr "Filas" 272 273 #. Full text (default) 274 msgid "Full-text-default" 275 msgstr "Texto completo (por defecto)" -
good-url-preview-box/tags/1.12/languages/gurlpb-ru.pot
r1794597 r1872084 242 242 msgstr "Сохраните немного денег" 243 243 244 #. Clickable text 245 msgid "Clickable-text" 246 msgstr "Доступный текст" 247 248 #. Default text. 249 msgid "Default-text." 250 msgstr "Текст по умолчанию" 251 252 #. Example: Click here to open page 253 msgid "Example-Click-here" 254 msgstr "Пример: нажмите здесь" 255 256 #. Description length 257 msgid "Description-length" 258 msgstr "Длина описания" 259 260 #. Max. 261 msgid "Max." 262 msgstr "Максимум." 263 264 #. Row 265 msgid "Row" 266 msgstr "Ряд" 267 268 #. Rows 269 msgid "Rows" 270 msgstr "Ряды" 271 272 #. Full text (default) 273 msgid "Full-text-default" 274 msgstr "Полный текст (по умолчанию)" -
good-url-preview-box/tags/1.12/readme.txt
r1794609 r1872084 4 4 Tags: link, links, URL, URLs, preview, preview image, guteurls, gute-urls, facebook, internet-link, post, posting, like Facebook, exacly like facebook, find url, find link, search link, search url, detect url, internet address 5 5 Requires at least: 3.0.1 6 Tested up to: 4.9. 17 Stable tag: 4.9. 16 Tested up to: 4.9.5 7 Stable tag: 4.9.5 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 115 115 == Upgrade Notice == 116 116 117 = 1.12 = 118 Added in admin area: 119 - Set maximal number of lines for a url preview box 120 - Change the clickable text link in an url preview bo 121 117 122 = 1.11.3 = 118 123 Registration page added. … … 158 163 == Changelog == 159 164 165 = 1.12 = 166 Added in admin area: 167 - Set maximal number of lines for a url preview box 168 - Change the clickable text link in an url preview box 169 160 170 = 1.11.3 = 161 171 Registration page added. -
good-url-preview-box/trunk/gurlpb-config.php
r1794609 r1872084 1 1 <?php 2 2 class Gurlpb_config { 3 public static $_VERSION = '1.1 1.3'; // CHANGE ALSO IN gute-url-preview-box.php, README AND IN SVN!3 public static $_VERSION = '1.12'; // CHANGE ALSO IN gute-url-preview-box.php, README AND IN SVN! 4 4 public static $_DEBUG = false; 5 5 public static $_LOCAL = false; -
good-url-preview-box/trunk/gurlpb-settings-admin.php
r1794588 r1872084 196 196 } elseif ( $typegif == 2 ) { 197 197 Gurlpb_utils::log(__FUNCTION__ . '[' . __LINE__ . "] gurlpb-bgcolor" . $_POST['gurlpb-bgcolor'] ); 198 Gurlpb_utils::log(__FUNCTION__ . '[' . __LINE__ . "] gurlpb-bgcolor" . print_r( $_POST, true ));199 198 $strLoadingGif = empty( $_POST['gurlpb-gif'] ) ? '' : trim( $_POST['gurlpb-gif'] ); 200 199 if ( filter_var( $strLoadingGif, FILTER_VALIDATE_URL) !== false ) { … … 205 204 } 206 205 } 206 if ( isset( $_POST['gurlpb-clickTextRadio'] ) ) { 207 $nClickTextRadio = $_POST['gurlpb-clickTextRadio'] == 1 ? 1 : 2; 208 $strClickText = ( $nClickTextRadio == 2 ? trim( strip_tags( $_POST[ 'gurlpb-clickText' ] ) ) : '' ); 209 if ( $strClickText == '' ) { 210 delete_option('gurlpb-clickText'); 211 Gurlpb_utils::log(__FUNCTION__ . '[' . __LINE__ . "] delete_option clickText: " . $_POST[ 'gurlpb-clickText' ]); 212 } else { 213 update_option( 'gurlpb-clickText', sanitize_text_field( $strClickText ) ); 214 Gurlpb_utils::log(__FUNCTION__ . '[' . __LINE__ . "] update_option clickText" ); 215 } 216 } 207 217 if ( isset( $_POST['gurlpb-showexcerpt'] ) ) { 208 218 Gurlpb_utils::log(__FUNCTION__ . '[' . __LINE__ . "] gurlpb-except 1" ); … … 218 228 } 219 229 } 230 if ( isset( $_POST['gurlpb-maxLines'] ) ) { 231 $nMaxLines = 0 + $_POST['gurlpb-maxLines']; 232 if ( $nMaxLines > 0 && $nMaxLines <=12 ) { 233 update_option('gurlpb-maxLines', sanitize_text_field( $nMaxLines ) ); 234 } else { 235 delete_option('gurlpb-maxLines'); 236 } 237 } 238 if ( isset( $_POST['gurlpb-maxImgHeight'] ) ) { 239 $nMaxImgHeight = 0 + $_POST['gurlpb-maxImgHeight']; 240 Gurlpb_utils::log(__FUNCTION__ . '[' . __LINE__ . "] nMaxImgHeight $nMaxImgHeight" ); 241 if ( $nMaxImgHeight > 0 && $nMaxImgHeight <=800 ) { 242 update_option('gurlpb-maxImgHeight', sanitize_text_field( $nMaxImgHeight ) ); 243 } else { 244 delete_option('gurlpb-maxImgHeight'); 245 } 246 } 220 247 if ( isset( $_POST['gurlpb-hideimages'] ) ) { 221 248 update_option('gurlpb-hideimages', '1' ); … … 223 250 delete_option('gurlpb-hideimages'); 224 251 } 252 echo '<script type="text/javascript">localStorage.clear()</script>'; 225 253 } 226 254 … … 243 271 $typegif = 2; 244 272 } 273 274 $strClickText = trim( strip_tags( get_option( 'gurlpb-clickText' ) ) ); 275 $nClickTextRadio = ( $strClickText == '' ? 1 : 2 ); 276 245 277 $strZoom = get_option( 'gurlpb-zoom' ); 246 247 $strImgHeight = "";278 $strMaxLines = 0 + get_option( 'gurlpb-maxLines' ); 279 $strImgHeight = 0 + get_option( 'gurlpb-maxImgHeight' );; 248 280 ?> 249 281 <div class="wrap"> … … 357 389 (<?php _e( 'Use a gif from', 'gurlpb' ); ?>) 358 390 </span> 359 391 <br /> 392 <br /> 393 </td> 394 </tr> 395 <tr> 396 <td> 397 <?php _e( 'Clickable-text', 'gurlpb' ); ?>: 398 </td> 399 <td> 400 <input type="radio" name="gurlpb-clickTextRadio" id="gurlpb-clickTextRadio1" <?=$nClickTextRadio<2?'checked="checked"':''?> value="1" /> 401 <?php _e( 'Default-text.', 'gurlpb' ); ?> 360 402 </td> 361 403 </tr> … … 365 407 </td> 366 408 <td> 367 <input type="radio" name="gurlpb-typegif" <?=$typegif==3?'checked="checked"':''?> value="3" /> 368 <?php _e( 'No animation', 'gurlpb' ); ?> 369 <br /><br /> 409 <input type="radio" name="gurlpb-clickTextRadio" id="gurlpb-clickTextRadio2" <?=$nClickTextRadio==2?'checked="checked"':''?> value="2" /> 410 <input name="gurlpb-clickText" value="<?=($nClickTextRadio==2 && $strClickText)?$strClickText:''?>" placeholder="<?php _e( 'Example-Click-here', 'gurlpb' ); ?>" size="30" onclick="document.getElementById('gurlpb-clickTextRadio2').checked='checked';" /> 411 <br /> 412 <br /> 370 413 </td> 371 414 </tr> … … 377 420 <input type="checkbox" name="gurlpb-showexcerpt" <?=get_option( 'gurlpb-showexcerpt' ) ? 'checked="checked"' : ''?> value="1" /> 378 421 <?php _e( 'Yes', 'gurlpb' ); ?> 379 380 422 </td> 381 423 </tr> … … 410 452 </td> 411 453 <td> 412 413 <select name="gurlpb-maximgheight"> 414 <option <?=( $strImgHeight == '' || $strImgHeight == '0' ) ? 'selected="selected"': ''?> value=""><?php _e( 'none', 'gurlpb' ); ?></option> 454 <select name="gurlpb-maxImgHeight"> 455 <option <?=( ! $strImgHeight ) ? 'selected="selected"': ''?> value=""><?php _e( 'Full image (default)', 'gurlpb' ); ?></option> 415 456 <option <?= $strImgHeight == '100' ? 'selected="selected"': ''?> value="100">100px</option> 416 457 <option <?= $strImgHeight == '150' ? 'selected="selected"': ''?> value="150">150px</option> … … 424 465 </select> 425 466 467 </td> 468 </tr> 469 <tr> 470 <td> 471 <?php _e( 'Description-length', 'gurlpb' ); ?> 472 </td> 473 <td> 474 <select name="gurlpb-maxLines"> 475 <option <?=( $strMaxLines == '' || $strMaxLines == '0' ) ? 'selected="selected"': ''?> value="0"><?php _e( 'Full-text-default', 'gurlpb' ); ?></option> 476 <option <?= $strMaxLines == '1' ? 'selected="selected"': ''?> value="1"><?php _e( 'Max.', 'gurlpb' ); ?> 1 <?php _e( 'row', 'gurlpb' ); ?></option> 477 <option <?= $strMaxLines == '2' ? 'selected="selected"': ''?> value="2"><?php _e( 'Max.', 'gurlpb' ); ?> 2 <?php _e( 'rows', 'gurlpb' ); ?></option> 478 <option <?= $strMaxLines == '3' ? 'selected="selected"': ''?> value="3"><?php _e( 'Max.', 'gurlpb' ); ?> 3 <?php _e( 'rows', 'gurlpb' ); ?></option> 479 <option <?= $strMaxLines == '4' ? 'selected="selected"': ''?> value="4"><?php _e( 'Max.', 'gurlpb' ); ?> 4 <?php _e( 'rows', 'gurlpb' ); ?></option> 480 <option <?= $strMaxLines == '5' ? 'selected="selected"': ''?> value="5"><?php _e( 'Max.', 'gurlpb' ); ?> 5 <?php _e( 'rows', 'gurlpb' ); ?></option> 481 <option <?= $strMaxLines == '6' ? 'selected="selected"': ''?> value="6"><?php _e( 'Max.', 'gurlpb' ); ?> 6 <?php _e( 'rows', 'gurlpb' ); ?></option> 482 <option <?= $strMaxLines == '7' ? 'selected="selected"': ''?> value="7"><?php _e( 'Max.', 'gurlpb' ); ?> 7 <?php _e( 'rows', 'gurlpb' ); ?></option> 483 <option <?= $strMaxLines == '8' ? 'selected="selected"': ''?> value="8"><?php _e( 'Max.', 'gurlpb' ); ?> 8 <?php _e( 'rows', 'gurlpb' ); ?></option> 484 <option <?= $strMaxLines == '9' ? 'selected="selected"': ''?> value="9"><?php _e( 'Max.', 'gurlpb' ); ?> 9 <?php _e( 'rows', 'gurlpb' ); ?></option> 485 <option <?= $strMaxLines == '10' ? 'selected="selected"': ''?> value="10"><?php _e( 'Max.', 'gurlpb' ); ?> 10 <?php _e( 'rows', 'gurlpb' ); ?></option> 486 <option <?= $strMaxLines == '11' ? 'selected="selected"': ''?> value="11"><?php _e( 'Max.', 'gurlpb' ); ?> 11 <?php _e( 'rows', 'gurlpb' ); ?></option> 487 <option <?= $strMaxLines == '12' ? 'selected="selected"': ''?> value="12"><?php _e( 'Max.', 'gurlpb' ); ?> 12 <?php _e( 'rows', 'gurlpb' ); ?></option> 488 </select> 489 426 490 </td> 427 491 </tr> -
good-url-preview-box/trunk/gurlpb-settings-admin_2017.php
r1794597 r1872084 55 55 } 56 56 } 57 if ( isset( $_POST['gurlpb-clickTextRadio'] ) ) { 58 $nClickTextRadio = $_POST['gurlpb-clickTextRadio'] == 1 ? 1 : 2; 59 $strClickText = ( $nClickTextRadio == 2 ? trim( strip_tags( $_POST[ 'gurlpb-clickText' ] ) ) : '' ); 60 if ( $strClickText == '' ) { 61 delete_option('gurlpb-clickText'); 62 Gurlpb_utils::log(__FUNCTION__ . '[' . __LINE__ . "] delete_option clickText: " . $_POST[ 'gurlpb-clickText' ]); 63 } else { 64 update_option( 'gurlpb-clickText', sanitize_text_field( $strClickText ) ); 65 Gurlpb_utils::log(__FUNCTION__ . '[' . __LINE__ . "] update_option clickText" ); 66 } 67 } 57 68 if ( isset( $_POST['gurlpb-showexcerpt'] ) ) { 58 69 Gurlpb_utils::log(__FUNCTION__ . '[' . __LINE__ . "] gurlpb-except 1" ); … … 68 79 } 69 80 } 81 if ( isset( $_POST['gurlpb-maxLines'] ) ) { 82 $nMaxLines = 0 + $_POST['gurlpb-maxLines']; 83 if ( $nMaxLines > 0 && $nMaxLines <=12 ) { 84 update_option('gurlpb-maxLines', sanitize_text_field( $nMaxLines ) ); 85 } else { 86 delete_option('gurlpb-maxLines'); 87 } 88 } 89 if ( isset( $_POST['gurlpb-maxImgHeight'] ) ) { 90 $nMaxImgHeight = 0 + $_POST['gurlpb-maxImgHeight']; 91 Gurlpb_utils::log(__FUNCTION__ . '[' . __LINE__ . "] nMaxImgHeight $nMaxImgHeight" ); 92 if ( $nMaxImgHeight > 0 && $nMaxImgHeight <=800 ) { 93 update_option('gurlpb-maxImgHeight', sanitize_text_field( $nMaxImgHeight ) ); 94 } else { 95 delete_option('gurlpb-maxImgHeight'); 96 } 97 } 70 98 if ( isset( $_POST['gurlpb-hideimages'] ) ) { 71 99 update_option('gurlpb-hideimages', '1' ); … … 73 101 delete_option('gurlpb-hideimages'); 74 102 } 103 echo '<script type="text/javascript">localStorage.clear()</script>'; 75 104 } 76 105 … … 93 122 $typegif = 2; 94 123 } 124 125 $strClickText = trim( strip_tags( get_option( 'gurlpb-clickText' ) ) ); 126 $nClickTextRadio = ( $strClickText == '' ? 1 : 2 ); 127 95 128 $strZoom = get_option( 'gurlpb-zoom' ); 96 97 $strImgHeight = "";129 $strMaxLines = 0 + get_option( 'gurlpb-maxLines' ); 130 $strImgHeight = 0 + get_option( 'gurlpb-maxImgHeight' );; 98 131 ?> 99 132 <div class="wrap"> … … 303 336 <tr> 304 337 <td> 338 <?php _e( 'Clickable-text', 'gurlpb' ); ?>: 339 </td> 340 <td> 341 <input type="radio" name="gurlpb-clickTextRadio" id="gurlpb-clickTextRadio1" <?=$nClickTextRadio<2?'checked="checked"':''?> value="1" /> 342 <?php _e( 'Default-text.', 'gurlpb' ); ?> 343 </td> 344 </tr> 345 <tr> 346 <td> 347 348 </td> 349 <td> 350 <input type="radio" name="gurlpb-clickTextRadio" id="gurlpb-clickTextRadio2" <?=$nClickTextRadio==2?'checked="checked"':''?> value="2" /> 351 <input name="gurlpb-clickText" value="<?=($nClickTextRadio==2 && $strClickText)?$strClickText:''?>" placeholder="<?php _e( 'Example-Click-here', 'gurlpb' ); ?>" size="30" onclick="document.getElementById('gurlpb-clickTextRadio2').checked='checked';" /> 352 <br /> 353 <br /> 354 </td> 355 </tr> 356 357 <tr> 358 <td> 305 359 <?php _e( 'Show URL preview box in excerpt', 'gurlpb' ); ?> 306 360 </td> … … 341 395 </td> 342 396 <td> 343 344 <select name="gurlpb-maximgheight"> 345 <option <?=( $strImgHeight == '' || $strImgHeight == '0' ) ? 'selected="selected"': ''?> value=""><?php _e( 'none', 'gurlpb' ); ?></option> 397 <select name="gurlpb-maxImgHeight"> 398 <option <?=( ! $strImgHeight ) ? 'selected="selected"': ''?> value=""><?php _e( 'Full image (default)', 'gurlpb' ); ?></option> 346 399 <option <?= $strImgHeight == '100' ? 'selected="selected"': ''?> value="100">100px</option> 347 400 <option <?= $strImgHeight == '150' ? 'selected="selected"': ''?> value="150">150px</option> … … 359 412 <tr> 360 413 <td> 414 <?php _e( 'Description-length', 'gurlpb' ); ?> 415 </td> 416 <td> 417 <select name="gurlpb-maxLines"> 418 <option <?=( $strMaxLines == '' || $strMaxLines == '0' ) ? 'selected="selected"': ''?> value="0"><?php _e( 'Full-text-default', 'gurlpb' ); ?></option> 419 <option <?= $strMaxLines == '1' ? 'selected="selected"': ''?> value="1"><?php _e( 'Max.', 'gurlpb' ); ?> 1 <?php _e( 'row', 'gurlpb' ); ?></option> 420 <option <?= $strMaxLines == '2' ? 'selected="selected"': ''?> value="2"><?php _e( 'Max.', 'gurlpb' ); ?> 2 <?php _e( 'rows', 'gurlpb' ); ?></option> 421 <option <?= $strMaxLines == '3' ? 'selected="selected"': ''?> value="3"><?php _e( 'Max.', 'gurlpb' ); ?> 3 <?php _e( 'rows', 'gurlpb' ); ?></option> 422 <option <?= $strMaxLines == '4' ? 'selected="selected"': ''?> value="4"><?php _e( 'Max.', 'gurlpb' ); ?> 4 <?php _e( 'rows', 'gurlpb' ); ?></option> 423 <option <?= $strMaxLines == '5' ? 'selected="selected"': ''?> value="5"><?php _e( 'Max.', 'gurlpb' ); ?> 5 <?php _e( 'rows', 'gurlpb' ); ?></option> 424 <option <?= $strMaxLines == '6' ? 'selected="selected"': ''?> value="6"><?php _e( 'Max.', 'gurlpb' ); ?> 6 <?php _e( 'rows', 'gurlpb' ); ?></option> 425 <option <?= $strMaxLines == '7' ? 'selected="selected"': ''?> value="7"><?php _e( 'Max.', 'gurlpb' ); ?> 7 <?php _e( 'rows', 'gurlpb' ); ?></option> 426 <option <?= $strMaxLines == '8' ? 'selected="selected"': ''?> value="8"><?php _e( 'Max.', 'gurlpb' ); ?> 8 <?php _e( 'rows', 'gurlpb' ); ?></option> 427 <option <?= $strMaxLines == '9' ? 'selected="selected"': ''?> value="9"><?php _e( 'Max.', 'gurlpb' ); ?> 9 <?php _e( 'rows', 'gurlpb' ); ?></option> 428 <option <?= $strMaxLines == '10' ? 'selected="selected"': ''?> value="10"><?php _e( 'Max.', 'gurlpb' ); ?> 10 <?php _e( 'rows', 'gurlpb' ); ?></option> 429 <option <?= $strMaxLines == '11' ? 'selected="selected"': ''?> value="11"><?php _e( 'Max.', 'gurlpb' ); ?> 11 <?php _e( 'rows', 'gurlpb' ); ?></option> 430 <option <?= $strMaxLines == '12' ? 'selected="selected"': ''?> value="12"><?php _e( 'Max.', 'gurlpb' ); ?> 12 <?php _e( 'rows', 'gurlpb' ); ?></option> 431 </select> 432 433 </td> 434 </tr> 435 <tr> 436 <td> 361 437 362 438 </td> -
good-url-preview-box/trunk/gurlpb-start.php
r1794588 r1872084 349 349 //echo '<script type="text/javascript"> document.guc=' . $callbackA . '</script>'; 350 350 } 351 352 $strMaxLines = 0 + get_option( 'gurlpb-maxLines' ); 353 $strMaxImgHeight = 0 + get_option( 'gurlpb-maxImgHeight' ); 354 $strClickText = trim( strip_tags( get_option( 'gurlpb-clickText' ) ) ); 351 355 352 356 echo '<script type="text/javascript" async' … … 365 369 . ( $nZoom != 1 ? ' zoom="' . get_option( 'gurlpb-zoom' ) . '"' : '' ) 366 370 . ( $email ? ' email="' . base64_encode( $email ) . '"' : '' ) 371 . ( $strMaxLines ? ' maxlines="' . $strMaxLines . '"' : '' ) 372 . ( $strMaxImgHeight ? ' maxImgHeight="' . $strMaxImgHeight . '"' : '' ) 373 . ( $strClickText ? ' clickText="' . $strClickText . '"' : '' ) 367 374 . ' pluginversion="' . Gurlpb_config::$_VERSION . '"' 368 375 -
good-url-preview-box/trunk/gute-url-preview-box.php
r1794609 r1872084 6 6 Author: Martin Schaedler 7 7 Author URI: https://hypnose54321.de/frankfurt/_contact.html 8 Version: 1.1 1.38 Version: 1.12 9 9 Text Domain: gurlpb 10 10 */ -
good-url-preview-box/trunk/languages/gurlpb-cn.pot
r1794597 r1872084 242 242 msgid "Save-a-little-money" 243 243 msgstr "节省一些钱" 244 245 #. Clickable text 246 msgid "Clickable-text" 247 msgstr "可点击的文字" 248 249 #. Default text. 250 msgid "Default-text." 251 msgstr "默认文字" 252 253 #. Example: Click here to open page 254 msgid "Example-Click-here" 255 msgstr "例如:点击这里" 256 257 #. Description length 258 msgid "Description-length" 259 msgstr "描述长度" 260 261 #. Max. 262 msgid "Max." 263 msgstr "最大。" 264 265 #. Row 266 msgid "Row" 267 msgstr "行" 268 269 #. Rows 270 msgid "Rows" 271 msgstr "行" 272 273 #. Full text (default) 274 msgid "Full-text-default" 275 msgstr "全文(默认)" -
good-url-preview-box/trunk/languages/gurlpb-de.pot
r1794597 r1872084 245 245 msgid "Save-a-little-money" 246 246 msgstr "Ein paar Euro-Cent sparen" 247 248 #. Clickable text 249 msgid "Clickable-text" 250 msgstr "Link Text" 251 252 #. Default text. 253 msgid "Default-text." 254 msgstr "Standard" 255 256 #. Example: Click here to open page 257 msgid "Example-Click-here" 258 msgstr "Bsp.: Klick hier" 259 260 #. Description length 261 msgid "Description-length" 262 msgstr "Länge des Textes" 263 264 #. Max. 265 msgid "Max." 266 msgstr "Max." 267 268 #. Row 269 msgid "Row" 270 msgstr "Zeile" 271 272 #. Rows 273 msgid "Rows" 274 msgstr "Zeilen" 275 276 #. Full text (default) 277 msgid "Full-text-default" 278 msgstr "Kompletter Text (Default)" -
good-url-preview-box/trunk/languages/gurlpb-en.pot
r1794597 r1872084 239 239 msgid "Save-a-little-money" 240 240 msgstr "Save a few bugs" 241 242 #. Clickable text 243 msgid "Clickable-text" 244 msgstr "Clickable text" 245 246 #. Default text. 247 msgid "Default-text." 248 msgstr "Default text." 249 250 #. Example: Click here to open page 251 msgid "Example-Click-here" 252 msgstr "Example: Click here to open page" 253 254 #. Description length 255 msgid "Description-length" 256 msgstr "Description length" 257 258 #. Max. 259 msgid "Max." 260 msgstr "Max." 261 262 #. Row 263 msgid "Row" 264 msgstr "Row" 265 266 #. Rows 267 msgid "Rows" 268 msgstr "Rows" 269 270 #. Full text (default) 271 msgid "Full-text-default" 272 msgstr "Full text (default)" -
good-url-preview-box/trunk/languages/gurlpb-es.pot
r1794597 r1872084 243 243 msgstr "Ahorra algo de dinero" 244 244 245 245 #. Clickable text 246 msgid "Clickable-text" 247 msgstr "Texto clicable" 248 249 #. Default text. 250 msgid "Default-text." 251 msgstr "Impago" 252 253 #. Example: Click here to open page 254 msgid "Example-Click-here" 255 msgstr "Ejemplo: Haga clic aquí" 256 257 #. Description length 258 msgid "Description-length" 259 msgstr "longitud de texto" 260 261 #. Max. 262 msgid "Max." 263 msgstr "Máx" 264 265 #. Row 266 msgid "Row" 267 msgstr "Fila" 268 269 #. Rows 270 msgid "Rows" 271 msgstr "Filas" 272 273 #. Full text (default) 274 msgid "Full-text-default" 275 msgstr "Texto completo (por defecto)" -
good-url-preview-box/trunk/languages/gurlpb-ru.pot
r1794597 r1872084 242 242 msgstr "Сохраните немного денег" 243 243 244 #. Clickable text 245 msgid "Clickable-text" 246 msgstr "Доступный текст" 247 248 #. Default text. 249 msgid "Default-text." 250 msgstr "Текст по умолчанию" 251 252 #. Example: Click here to open page 253 msgid "Example-Click-here" 254 msgstr "Пример: нажмите здесь" 255 256 #. Description length 257 msgid "Description-length" 258 msgstr "Длина описания" 259 260 #. Max. 261 msgid "Max." 262 msgstr "Максимум." 263 264 #. Row 265 msgid "Row" 266 msgstr "Ряд" 267 268 #. Rows 269 msgid "Rows" 270 msgstr "Ряды" 271 272 #. Full text (default) 273 msgid "Full-text-default" 274 msgstr "Полный текст (по умолчанию)" -
good-url-preview-box/trunk/readme.txt
r1794609 r1872084 4 4 Tags: link, links, URL, URLs, preview, preview image, guteurls, gute-urls, facebook, internet-link, post, posting, like Facebook, exacly like facebook, find url, find link, search link, search url, detect url, internet address 5 5 Requires at least: 3.0.1 6 Tested up to: 4.9. 17 Stable tag: 4.9. 16 Tested up to: 4.9.5 7 Stable tag: 4.9.5 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 115 115 == Upgrade Notice == 116 116 117 = 1.12 = 118 Added in admin area: 119 - Set maximal number of lines for a url preview box 120 - Change the clickable text link in an url preview bo 121 117 122 = 1.11.3 = 118 123 Registration page added. … … 158 163 == Changelog == 159 164 165 = 1.12 = 166 Added in admin area: 167 - Set maximal number of lines for a url preview box 168 - Change the clickable text link in an url preview box 169 160 170 = 1.11.3 = 161 171 Registration page added.
Note: See TracChangeset
for help on using the changeset viewer.