Changeset 1794588
- Timestamp:
- 12/30/2017 03:34:16 PM (8 years ago)
- Location:
- good-url-preview-box
- Files:
-
- 16 edited
- 1 copied
-
tags/1.11 (copied) (copied from good-url-preview-box/trunk)
-
tags/1.11/gurlpb-activated.php (modified) (1 diff)
-
tags/1.11/gurlpb-config.php (modified) (1 diff)
-
tags/1.11/gurlpb-settings-admin.php (modified) (5 diffs)
-
tags/1.11/gurlpb-start.php (modified) (3 diffs)
-
tags/1.11/gute-url-preview-box.php (modified) (1 diff)
-
tags/1.11/readme.txt (modified) (4 diffs)
-
tags/1.11/screenshot-1.jpg (modified) (previous)
-
tags/1.11/screenshot-2.jpg (modified) (previous)
-
trunk/gurlpb-activated.php (modified) (1 diff)
-
trunk/gurlpb-config.php (modified) (1 diff)
-
trunk/gurlpb-settings-admin.php (modified) (5 diffs)
-
trunk/gurlpb-start.php (modified) (3 diffs)
-
trunk/gute-url-preview-box.php (modified) (1 diff)
-
trunk/readme.txt (modified) (4 diffs)
-
trunk/screenshot-1.jpg (modified) (previous)
-
trunk/screenshot-2.jpg (modified) (previous)
Legend:
- Unmodified
- Added
- Removed
-
good-url-preview-box/tags/1.11/gurlpb-activated.php
r1551537 r1794588 17 17 update_option( 'gurlpb-hide-setting-a', 'true' ); 18 18 update_option( 'gurlpb-showexcerpt', '1' ); 19 update_option( 'gurlpb-boxes', '0' ); 19 20 20 21 } elseif ( get_option( 'gurlpb-showexcerpt' ) !== '1' && get_option( 'gurlpb-showexcerpt' ) !== '0' ) { -
good-url-preview-box/tags/1.11/gurlpb-config.php
r1765425 r1794588 1 1 <?php 2 2 class Gurlpb_config { 3 public static $_VERSION = '1.1 0.1'; // CHANGE ALSO IN gute-url-preview-box.php, README AND IN SVN!3 public static $_VERSION = '1.11'; // 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.11/gurlpb-settings-admin.php
r1765418 r1794588 2 2 class Gurlpb_settings_admin 3 3 { 4 5 static function page() 4 static function example_css_page() 5 { 6 ?> 7 <style> 8 /* Style the Image Used to Trigger the Modal */ 9 #myImg { 10 border-radius: 5px; 11 cursor: pointer; 12 transition: 0.3s; 13 } 14 15 #myImg:hover {opacity: 0.7;} 16 17 /* The Modal (background) */ 18 .modal { 19 display: none; /* Hidden by default */ 20 position: fixed; /* Stay in place */ 21 z-index: 1; /* Sit on top */ 22 padding-top: 100px; /* Location of the box */ 23 left: 0; 24 top: 0; 25 width: 100%; /* Full width */ 26 height: 100%; /* Full height */ 27 overflow: auto; /* Enable scroll if needed */ 28 background-color: rgb(0,0,0); /* Fallback color */ 29 background-color: rgba(0,0,0,0.9); /* Black w/ opacity */ 30 } 31 32 /* Modal Content (Image) */ 33 .modal-content { 34 margin: auto; 35 display: block; 36 width: 80%; 37 max-width: 700px; 38 } 39 40 /* Caption of Modal Image (Image Text) - Same Width as the Image */ 41 #caption { 42 margin: auto; 43 display: block; 44 width: 80%; 45 max-width: 700px; 46 text-align: center; 47 color: #ccc; 48 padding: 10px 0; 49 height: 150px; 50 } 51 52 /* Add Animation - Zoom in the Modal */ 53 .modal-content, #caption { 54 animation-name: zoom; 55 animation-duration: 0.6s; 56 } 57 58 @keyframes zoom { 59 from {transform:scale(0)} 60 to {transform:scale(1)} 61 } 62 63 /* The Close Button */ 64 .close { 65 position: absolute; 66 top: 25px; 67 z-index: 9999; 68 right: 35px; 69 color: #f1f1f1; 70 font-size: 40px; 71 font-weight: bold; 72 transition: 0.3s; 73 } 74 75 .close:hover, 76 .close:focus { 77 color: #bbb; 78 text-decoration: none; 79 cursor: pointer; 80 } 81 82 /* 100% Image Width on Smaller Screens */ 83 @media only screen and (max-width: 700px){ 84 .modal-content { 85 width: 100%; 86 } 87 } 88 </style> 89 <?php 90 } 91 92 static function example_page() 93 { 94 ?> 95 <div class="wrap"> 96 <table class="welcome-panel" width="100%" style="padding-left: 20px"> 97 <tr> 98 <td> 99 <h1>Example</h1> 100 <b>Screen shots</b><br /> 101 <!-- Trigger the Modal --> 102 <img onclick="imgModal(this)" src="<?php echo plugins_url( 'gurlpb-example1.png', __FILE__ );?>" align="left" alt="Edit" width="320" style="margin:15px"> 103 <img onclick="imgModal(this)" src="<?php echo plugins_url( 'gurlpb-example2.png', __FILE__ );?>" align="left" alt="Edit" width="320" style="margin:15px" > 104 <img onclick="imgModal(this)" src="<?php echo plugins_url( 'gurlpb-example3.png', __FILE__ );?>" align="left" alt="Edit" width="320" style="margin:15px" > 105 <img onclick="imgModal(this)" src="<?php echo plugins_url( 'gurlpb-example4.png', __FILE__ );?>" align="left" alt="Edit" width="320" style="margin:15px" > 106 107 <!-- The Modal --> 108 <div id="myModal" class="modal"> 109 110 <!-- The Close Button --> 111 <span class="close">×</span> 112 113 <!-- Modal Content (The Image) --> 114 <img class="modal-content" id="img01"> 115 116 <!-- Modal Caption (Image Text) --> 117 <div id="caption"></div> 118 </div> 119 120 <br /> 121 122 </td> 123 </tr> 124 </table> 125 </div> 126 127 <div class="wrap"> 128 <table class="welcome-panel" width="100%" style="padding-left: 20px"> 129 <tr> 130 <td> 131 <h1><?php _e( 'How to', 'gurlpb' ); ?> Video</h1> 132 <br class="clear"/> 133 <iframe width="560" height="315" src="https://www.youtube.com/embed/CpecfL_FIzM" frameborder="0" allowfullscreen ></iframe> 134 <br class="clear"/> 135 <br class="clear"/> 136 <br class="clear"/> 137 </td> 138 </tr> 139 </table> 140 </div> 141 142 <script type="text/javascript"> 143 // Get the modal 144 var modal = document.getElementById('myModal'); 145 146 // Get the image and insert it inside the modal - use its "alt" text as a caption 147 var img = document.getElementById('myImg'); 148 var modalImg = document.getElementById("img01"); 149 var captionText = document.getElementById("caption"); 150 151 function imgModal(img){ 152 modal.style.display = "block"; 153 modalImg.src = img.src; 154 captionText.innerHTML = img.alt; 155 } 156 157 // Get the <span> element that closes the modal 158 var span = document.getElementsByClassName("close")[0]; 159 160 // When the user clicks on <span> (x), close the modal 161 span.onclick = function() { 162 modal.style.display = "none"; 163 } 164 </script> 165 <?php 166 } 167 168 static function settings_page() 6 169 { 7 170 Gurlpb_utils::log(__FUNCTION__ . '[' . __LINE__ . "] started" . get_option( 'gurlpb-setting-lang-switch' ) ); … … 10 173 11 174 if ( isset( $_POST['gurlpb-submit'] ) ) { 12 if ( isset( $_POST['gurlpb-setting-a'] ) && ( $_POST['gurlpb-setting-a'] == 'single' || $_POST['gurlpb-setting-a'] == 'multiple' || $_POST['gurlpb-setting-a'] == 'manual' ) ) {13 Gurlpb_utils::log(__FUNCTION__ . '[' . __LINE__ . "] update gurlpb-setting-a" );14 update_option( 'gurlpb-setting-a', sanitize_text_field( $_POST['gurlpb-setting-a'] ) );15 }16 175 if ( isset( $_POST['gurlpb-setting-b'] ) && ( $_POST['gurlpb-setting-b'] == 'change-link' || $_POST['gurlpb-setting-b'] == 'untouched-link' ) ) { 17 176 Gurlpb_utils::log(__FUNCTION__ . '[' . __LINE__ . "] update gurlpb-setting-b" ); 18 177 update_option('gurlpb-setting-b', sanitize_text_field( $_POST['gurlpb-setting-b'] ) ); 19 }20 if ( isset( $_POST['gurlpb-regcd'] ) && preg_match("/^[0-9a-zA-Z-_]*/", $_POST['gurlpb-regcd'] ) ) {21 Gurlpb_utils::log(__FUNCTION__ . '[' . __LINE__ . "] gurlpb-regcd" );22 if ( strpos( $_POST['gurlpb-regcd'], '42x' ) ) {23 update_option( 'gurlpb-regcd', sanitize_text_field( $_POST['gurlpb-regcd'] ) );24 } else if ( ! $_POST['gurlpb-regcd'] ) {25 delete_option( 'gurlpb-regcd' );26 } else {27 ?><script type="text/javascript">window.alert( '<?php _e( 'Invalid-licence-key', 'gurlpb' ); ?>' );</script><?php28 }29 178 } 30 179 if ( isset( $_POST['gurlpb-bgcolortype'] ) ) { … … 102 251 <form id="formGurlpb" method="post" > 103 252 <input type="hidden" name="gurlpb-submit" value="1" /> 104 <h2>URL Preview <?php esc_html_e( 'Settings', 'gurlpb' ); ?></h2> 253 <h2>URL Preview <?php esc_html_e( 'Settings', 'gurlpb' ); ?></h2> 105 254 <hr /> 106 <?php 255 <?php 107 256 if ( get_option( 'gurlpb-setting-lang-switch' ) == 'y' ) { 108 257 ?> … … 117 266 } 118 267 ?> 119 120 <div class="postbox-container" style="text-align: left; border: 1px solid #999; width:100%">121 <div class="postbox-container" style="margin: 5px; padding: 3px; ">122 <?php _e( 'This-plugin-is-for-free-usage-for-no-commercial-websites-with-few-pageviews', 'gurlpb' ); ?><br />123 124 <?php printf( __( 'Else-purchase-click here %1$s.', 'gurlpb' ), 'https://guteurls.de/plan.php' ) ?><br />125 126 <input type="text" name="gurlpb-regcd" value="<?php echo get_option( 'gurlpb-regcd' ); ?>" placeholder="Licence Key"> <input type="submit"> <?php _e( 'optional', 'gurlpb' ); ?>127 </div>128 </div>129 <br class="clear"/>130 <br class="clear"/>131 132 133 134 <?php if ( get_option( 'gurlpb-hide-setting-a' ) ) { ?>135 <div style="text-align: left; border: 1px solid #999; padding: 10px">136 <div class="postbox-container" style="font-size: 30px; font-weight: bold;">137 <?php _e( 'How to', 'gurlpb' ); ?>138 </div>139 <br class="clear"/><br />140 <?php _e( 'setting-manual-URL', 'gurlpb' ); ?><br />141 <?php _e( 'setting-manual-URL2', 'gurlpb' ); ?><br />142 <br >143 ----<br /><br />144 <img src="<?php echo plugins_url( 'gurlpb_editor-help.jpg', __FILE__ );?>" xstyle="display:block; margin-right:auto;margin-left:auto;"/>145 <div xstyle="margin-left:auto;margin-right:auto;text-align: center">146 <?php _e( 'setting-manual-URL3', 'gurlpb' ); ?><br />147 </div>148 <br class="clear"/>149 <iframe width="560" height="315" src="https://www.youtube.com/embed/CpecfL_FIzM" frameborder="0" allowfullscreen ></iframe>150 <br class="clear"/>151 </div>152 <?php } else { ?>153 154 <div class="postbox-container" style="margin: 5px; padding: 3px; font-size: 30px; font-weight: bold;">155 <?php _e( 'How-many-URL-Previews?', 'gurlpb' ); ?>156 </div>157 <br class="clear"/>158 <div class="postbox-container" style="margin: 5px; padding: 3px; border: 1px solid #999">159 <input id="inputSingle" type="radio" name="gurlpb-setting-a"160 <?php if ( get_option('gurlpb-setting-a') == 'single' ) echo 'checked="checked"'; ?>161 onclick="this.form.submit();"162 value="single" />163 <?php _e( 'Add-maximal-one', 'gurlpb' ); ?><br />164 <?php _e( 'and-add-it.', 'gurlpb' ); ?><br /><br />165 <a href="javascript:document.getElementById( 'inputSingle' ).checked = 'checked'; document.getElementById( 'formGurlpbOneMany' ).submit()">166 <img src="<?php echo plugins_url( 'gurlpb-single.jpg', __FILE__ );?>"/></a><br />167 </div>168 <div class="postbox-container" style="margin: 5px; padding: 3px; border: 1px solid #999">169 <input id="inputMutiple" type="radio" name="gurlpb-setting-a"170 <?php if ( get_option('gurlpb-setting-a') == 'multiple' ) echo 'checked="checked"'; ?>171 onclick="this.form.submit();"172 value="multiple" />173 <?php _e( 'Add-one-URL,', 'gurlpb' ); ?><br />174 <?php _e( 'one-per-P-Tag.', 'gurlpb' ); ?><br /><br />175 <a href="javascript:document.getElementById( 'inputMutiple' ).checked = 'checked'; document.getElementById( 'formGurlpbOneMany' ).submit()">176 <img src="<?php echo plugins_url( 'gurlpb-multiple.jpg', __FILE__ );?>" /></a><br />177 </div>178 <div class="postbox-container" style="margin: 5px; padding: 3px; border: 1px solid #999">179 <input id="inputMutiple" type="radio" name="gurlpb-setting-a"180 <?php if ( get_option('gurlpb-setting-a') == 'manual' ) echo 'checked="checked"'; ?>181 onclick="this.form.submit();"182 value="manual" />183 <?php _e( 'setting-manual-URL', 'gurlpb' ); ?><br />184 <?php _e( 'setting-manual-URL2', 'gurlpb' ); ?><br />185 186 <img src="<?php echo plugins_url( 'gurlpb_editor-help.jpg', __FILE__ );?>" style="display:block; margin-right:auto;margin-left:auto;"/>187 <div style="margin-left:auto;margin-right:auto;text-align: center">188 <?php _e( 'setting-manual-URL3', 'gurlpb' ); ?><br />189 </div>190 191 <br /><br />192 </div>193 <?php } ?>194 195 196 <br class="clear"/>197 <hr />198 199 200 268 201 269 <div class="postbox-container" style="text-align: left; border: 1px solid #999"> … … 383 451 384 452 } 453 454 455 static function licence_page() 456 { 457 Gurlpb_utils::log(__FUNCTION__ . '[' . __LINE__ . "] started" . get_option( 'gurlpb-setting-lang-switch' ) ); 458 $user_id = get_option( 'gurlpb-admin-id' ); 459 $user_info = get_userdata( $user_id ); 460 461 if ( isset( $_POST['gurlpb-submit'] ) ) { 462 if ( isset( $_POST['gurlpb-regcd'] ) && preg_match("/^[0-9a-zA-Z-_]*$/", $_POST['gurlpb-regcd'] ) ) { 463 Gurlpb_utils::log(__FUNCTION__ . '[' . __LINE__ . "] gurlpb-regcd" ); 464 if ( strpos( $_POST['gurlpb-regcd'], '42x' ) ) { 465 update_option( 'gurlpb-regcd', sanitize_text_field( $_POST['gurlpb-regcd'] ) ); 466 } else if ( ! $_POST['gurlpb-regcd'] ) { 467 delete_option( 'gurlpb-regcd' ); 468 } else { 469 ?><script type="text/javascript">window.alert( '<?php _e( 'Invalid-licence-key', 'gurlpb' ); ?>' );</script><?php 470 } 471 } 472 if ( isset( $_POST['gurlpb-email'] ) ) { 473 Gurlpb_utils::log(__FUNCTION__ . '[' . __LINE__ . "] gurlpb-email" ); 474 $strEmail = trim( $_POST['gurlpb-email'] ); 475 if ( preg_match("/^[0-9a-zA-Z-_.@üöäß+]*@[0-9a-zA-Z_.@üöäß+\-]*$/", $strEmail ) ) { 476 update_option( 'gurlpb-email', sanitize_text_field( $strEmail ) ); 477 } else if ( ! $strEmail ) { 478 delete_option( 'gurlpb-email' ); 479 } else { 480 ?><script type="text/javascript">window.alert( '<?php _e( 'Invalid-email', 'gurlpb' ); ?>' );</script><?php 481 } 482 } 483 } 484 485 486 ?> 487 <div class="wrap"> 488 <form id="formGurlpb" method="post" > 489 <input type="hidden" name="gurlpb-submit" value="1" /> 490 491 <?php 492 if ( get_option( 'gurlpb-setting-lang-switch' ) == 'y' ) { 493 ?> 494 <input type="checkbox" name="gurlpb-setting-en" 495 <?php echo ( ( get_option( 'gurlpb-setting-en' ) == 'yes' ) ? 'checked="checked"' : '' ) ?> 496 value="yes" 497 onchange="this.form.submit()" /> 498 <?php _e('in-english', 'gurlpb'); ?> 499 <br /> 500 <hr /> 501 <?php 502 } 503 ?> 504 505 <table class="welcome-panel" width="100%" style="padding-left: 20px"> 506 <tr> 507 <td> 508 <h1><?php _e('Get-your-key', 'gurlpb'); ?></h1> 509 <b><?php _e('Register-now', 'gurlpb'); ?></b><br /> 510 <?php _e('Get-your-private-key', 'gurlpb'); ?><br /> 511 <br /> 512 513 </td> 514 <td align="right" style="padding-right: 20px"> 515 <a href="https://guteurls.de/plan.php" target="_blank" style="width:50%; text-align: center" class="button-primary"><?php _e('Get-Licence-Key', 'gurlpb'); ?></a> 516 </td> 517 </tr> 518 </table> 519 520 <table class="welcome-panel" width="100%" style="padding-left: 20px"> 521 <tr> 522 <td> 523 <h1><?php _e('Use-your-key', 'gurlpb'); ?></h1> 524 <b><?php _e('Manually-enter-licence-key', 'gurlpb'); ?></b><br /> 525 <?php _e('Please-complete-form', 'gurlpb'); ?><br /> 526 <br /> 527 528 </td> 529 <td align="right" style="padding-right: 20px"> 530 531 <input type="text" name="gurlpb-regcd" value="<?php echo get_option( 'gurlpb-regcd' ); ?>" placeholder="Licence Key" style="font-size: 21px; margin-bottom: 5px"> 532 <br /> 533 <input type="text" name="gurlpb-email" value="<?php echo get_option( 'gurlpb-email' ); ?>" placeholder="Email address" style="font-size: 21px; margin-bottom: 5px"> 534 <br /> 535 <input type="submit" class="button-primary" style="width:50%"> 536 </td> 537 </tr> 538 </table> 539 540 541 <table class="welcome-panel" width="100%" style="padding-left: 20px"> 542 <tr> 543 <td> 544 <h1><?php _e('Go-free', 'gurlpb'); ?></h1> 545 <b><?php _e('Maximal-10-preview-boxes', 'gurlpb'); ?></b><br /> 546 <?php _e('You-can-always-upgrade', 'gurlpb'); ?><br /> 547 <br /> 548 549 </td> 550 <td align="right" style="padding-right: 20px"> 551 <a href="<?php echo admin_url("admin.php?page=gurlpb_example") ?>" class="button-secondary"><?php _e('Save-a-little-money', 'gurlpb'); ?></a> 552 </td> 553 </tr> 554 </table> 555 556 557 </form> 558 </div> 559 <?php 560 561 } 385 562 } -
good-url-preview-box/tags/1.11/gurlpb-start.php
r1765418 r1794588 384 384 function gurlpb_admin_menu( ) { 385 385 Gurlpb_utils::log( __FUNCTION__ . '[' . __LINE__ . "]" ); 386 add_menu_page( 'Gurlpb', __('URL-Preview', 'gurlpb'), 'manage_options', 'gurlpb_adminmenu', 'gurlpb_settings', GURLPBPLUGINURL . '/gurlpb_wordpress-plugin-left-icon.png'); 386 if ( get_option( 'gurlpb-hide-setting-a') == 'true' ) { 387 add_menu_page( 'Gurlpb', __('URL-Preview', 'gurlpb'), 'manage_options', 'gurlpb_adminmenu', 'gurlpb_licence', GURLPBPLUGINURL . '/gurlpb_wordpress-plugin-left-icon.png'); 388 add_submenu_page( 'gurlpb_adminmenu', __('Example', 'gurlpb'), __('Example', 'gurlpb'), 'manage_options', 'gurlpb_example', 'gurlpb_example' ); 389 add_submenu_page( 'gurlpb_adminmenu', __('Settings', 'gurlpb'), __('Settings', 'gurlpb'), 'manage_options', 'gurlpb_settings', 'gurlpb_settings' ); 390 add_action('admin_head', 'gurlpb_example_css'); 391 392 } else { 393 add_menu_page( 'Gurlpb', __('URL-Preview', 'gurlpb'), 'manage_options', 'gurlpb_adminmenu', 'gurlpb_settings_2017', GURLPBPLUGINURL . '/gurlpb_wordpress-plugin-left-icon.png'); 394 } 387 395 add_submenu_page( 'gurlpb_adminmenu', __('Statistics', 'gurlpb'), __('Statistics', 'gurlpb'), 'manage_options', 'gurlpb_statistics', 'gurlpb_statistics' ); 388 396 add_submenu_page( 'gurlpb_adminmenu', 'Cache', 'Cache', 'manage_options', 'gurlpb_cache_settings', 'gurlpb_cache_settings' ); 389 390 } 391 392 function gurlpb_settings() { 397 } 398 399 function gurlpb_settings_2017() { 393 400 Gurlpb_utils::log( __FUNCTION__ . '[' . __LINE__ . "]" ); 394 401 include_once( plugin_dir_path( __FILE__ ) . 'gurlpb-alert-admin.php' ); … … 397 404 Gurlpb_alert_admin::email(); 398 405 } 406 include_once( plugin_dir_path( __FILE__ ) . 'gurlpb-settings-admin_2017.php' ); 407 Gurlpb_settings_admin_2017::page(); 408 } 409 function gurlpb_licence() { 410 Gurlpb_utils::log( __FUNCTION__ . '[' . __LINE__ . "]" ); 411 include_once( plugin_dir_path( __FILE__ ) . 'gurlpb-alert-admin.php' ); 412 if ( get_option('gurlpb-setting-c-extern') == "ausmach" ) { 413 Gurlpb_alert_admin::disabled(); 414 Gurlpb_alert_admin::email(); 415 } 399 416 include_once( plugin_dir_path( __FILE__ ) . 'gurlpb-settings-admin.php' ); 400 Gurlpb_settings_admin::page(); 417 Gurlpb_settings_admin::licence_page(); 418 } 419 function gurlpb_settings() { 420 Gurlpb_utils::log( __FUNCTION__ . '[' . __LINE__ . "]" ); 421 include_once( plugin_dir_path( __FILE__ ) . 'gurlpb-alert-admin.php' ); 422 if ( get_option('gurlpb-setting-c-extern') == "ausmach" ) { 423 Gurlpb_alert_admin::disabled(); 424 Gurlpb_alert_admin::email(); 425 } 426 include_once( plugin_dir_path( __FILE__ ) . 'gurlpb-settings-admin.php' ); 427 Gurlpb_settings_admin::settings_page(); 401 428 } 402 429 function gurlpb_statistics() { … … 404 431 include_once( plugin_dir_path( __FILE__ ) . 'gurlpb-statistics.php' ); 405 432 Gurlpb_statistics::page(); 433 } 434 function gurlpb_example() { 435 Gurlpb_utils::log( __FUNCTION__ . '[' . __LINE__ . "]" ); 436 include_once( plugin_dir_path( __FILE__ ) . 'gurlpb-settings-admin.php' ); 437 Gurlpb_settings_admin::example_page(); 438 } 439 function gurlpb_example_css() { 440 Gurlpb_utils::log( __FUNCTION__ . '[' . __LINE__ . "]" ); 441 include_once( plugin_dir_path( __FILE__ ) . 'gurlpb-settings-admin.php' ); 442 Gurlpb_settings_admin::example_css_page(); 406 443 } 407 444 function gurlpb_cache_settings() { -
good-url-preview-box/tags/1.11/gute-url-preview-box.php
r1765425 r1794588 3 3 Plugin Name: URL-Preview-Box 4 4 Plugin URI: https://guteurls.de/ 5 Description: Automatically adds an link preview box to your post, if you have copied & pasted an URL into your posting. It is like in Facebook! Automatically!:-)5 Description: This plugin adds link preview box to your post. You just copied & pasted an URL into your posting. :-) 6 6 Author: Martin Schaedler 7 7 Author URI: https://hypnose54321.de/frankfurt/_contact.html 8 Version: 1.1 0.18 Version: 1.11 9 9 Text Domain: gurlpb 10 10 */ -
good-url-preview-box/tags/1.11/readme.txt
r1767787 r1794588 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 7 Stable tag: 4.9 6 Tested up to: 4.9.1 7 Stable tag: 4.9.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html 10 10 11 Automatically adds an link preview box to your post, if you have copied & pasted an URL into your posting. It is like in Facebook! Automatically!:-)11 This plugin adds link preview box to your post. You just copied & pasted an URL into your posting. :-) 12 12 13 13 == Description == 14 14 15 The Plugin adds an link preview box to your post, 16 if you have copied & pasted an URL to your blog post. 15 The Plugin adds an link preview box to your post. 17 16 The link preview box will be displayed like in Facebook! :-) 17 18 This plugin can be used for free for maximal 10 URL Preview Boxes. 18 19 19 20 Perhaps you are familiar with Facebook. … … 43 44 44 45 https://www.ufo-und-alienforum.de/index.php/Thread/30805-Verlassene-Orte-in-Baden-Württemberg/ 45 46 http://crypted-email.com/news.php47 46 48 47 https://hypnose54321.de/frankfurt/_news.php … … 111 110 == Screenshots == 112 111 113 1. Writing an example post in admin area. That post will contain an URL preview box. 114 2. Viewing the example post. That post contains the URL preview box now. 112 1. First screen. Register to use full functionality. 113 2. Writing an example post in admin area. 114 3. That post will contain an URL preview box. 115 4. If you want, you can write text below or above. 116 5. An example preview box for the spacex.com career page. 115 117 116 118 == Upgrade Notice == 119 120 = 1.11 = 121 Registration page added. 117 122 118 123 = 1.10.1 = … … 156 161 == Changelog == 157 162 163 = 1.11 = 164 Registration page added. 165 158 166 = 1.10.1 = 159 167 Better reset/reload of cached URL data -
good-url-preview-box/trunk/gurlpb-activated.php
r1551537 r1794588 17 17 update_option( 'gurlpb-hide-setting-a', 'true' ); 18 18 update_option( 'gurlpb-showexcerpt', '1' ); 19 update_option( 'gurlpb-boxes', '0' ); 19 20 20 21 } elseif ( get_option( 'gurlpb-showexcerpt' ) !== '1' && get_option( 'gurlpb-showexcerpt' ) !== '0' ) { -
good-url-preview-box/trunk/gurlpb-config.php
r1765425 r1794588 1 1 <?php 2 2 class Gurlpb_config { 3 public static $_VERSION = '1.1 0.1'; // CHANGE ALSO IN gute-url-preview-box.php, README AND IN SVN!3 public static $_VERSION = '1.11'; // 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
r1765418 r1794588 2 2 class Gurlpb_settings_admin 3 3 { 4 5 static function page() 4 static function example_css_page() 5 { 6 ?> 7 <style> 8 /* Style the Image Used to Trigger the Modal */ 9 #myImg { 10 border-radius: 5px; 11 cursor: pointer; 12 transition: 0.3s; 13 } 14 15 #myImg:hover {opacity: 0.7;} 16 17 /* The Modal (background) */ 18 .modal { 19 display: none; /* Hidden by default */ 20 position: fixed; /* Stay in place */ 21 z-index: 1; /* Sit on top */ 22 padding-top: 100px; /* Location of the box */ 23 left: 0; 24 top: 0; 25 width: 100%; /* Full width */ 26 height: 100%; /* Full height */ 27 overflow: auto; /* Enable scroll if needed */ 28 background-color: rgb(0,0,0); /* Fallback color */ 29 background-color: rgba(0,0,0,0.9); /* Black w/ opacity */ 30 } 31 32 /* Modal Content (Image) */ 33 .modal-content { 34 margin: auto; 35 display: block; 36 width: 80%; 37 max-width: 700px; 38 } 39 40 /* Caption of Modal Image (Image Text) - Same Width as the Image */ 41 #caption { 42 margin: auto; 43 display: block; 44 width: 80%; 45 max-width: 700px; 46 text-align: center; 47 color: #ccc; 48 padding: 10px 0; 49 height: 150px; 50 } 51 52 /* Add Animation - Zoom in the Modal */ 53 .modal-content, #caption { 54 animation-name: zoom; 55 animation-duration: 0.6s; 56 } 57 58 @keyframes zoom { 59 from {transform:scale(0)} 60 to {transform:scale(1)} 61 } 62 63 /* The Close Button */ 64 .close { 65 position: absolute; 66 top: 25px; 67 z-index: 9999; 68 right: 35px; 69 color: #f1f1f1; 70 font-size: 40px; 71 font-weight: bold; 72 transition: 0.3s; 73 } 74 75 .close:hover, 76 .close:focus { 77 color: #bbb; 78 text-decoration: none; 79 cursor: pointer; 80 } 81 82 /* 100% Image Width on Smaller Screens */ 83 @media only screen and (max-width: 700px){ 84 .modal-content { 85 width: 100%; 86 } 87 } 88 </style> 89 <?php 90 } 91 92 static function example_page() 93 { 94 ?> 95 <div class="wrap"> 96 <table class="welcome-panel" width="100%" style="padding-left: 20px"> 97 <tr> 98 <td> 99 <h1>Example</h1> 100 <b>Screen shots</b><br /> 101 <!-- Trigger the Modal --> 102 <img onclick="imgModal(this)" src="<?php echo plugins_url( 'gurlpb-example1.png', __FILE__ );?>" align="left" alt="Edit" width="320" style="margin:15px"> 103 <img onclick="imgModal(this)" src="<?php echo plugins_url( 'gurlpb-example2.png', __FILE__ );?>" align="left" alt="Edit" width="320" style="margin:15px" > 104 <img onclick="imgModal(this)" src="<?php echo plugins_url( 'gurlpb-example3.png', __FILE__ );?>" align="left" alt="Edit" width="320" style="margin:15px" > 105 <img onclick="imgModal(this)" src="<?php echo plugins_url( 'gurlpb-example4.png', __FILE__ );?>" align="left" alt="Edit" width="320" style="margin:15px" > 106 107 <!-- The Modal --> 108 <div id="myModal" class="modal"> 109 110 <!-- The Close Button --> 111 <span class="close">×</span> 112 113 <!-- Modal Content (The Image) --> 114 <img class="modal-content" id="img01"> 115 116 <!-- Modal Caption (Image Text) --> 117 <div id="caption"></div> 118 </div> 119 120 <br /> 121 122 </td> 123 </tr> 124 </table> 125 </div> 126 127 <div class="wrap"> 128 <table class="welcome-panel" width="100%" style="padding-left: 20px"> 129 <tr> 130 <td> 131 <h1><?php _e( 'How to', 'gurlpb' ); ?> Video</h1> 132 <br class="clear"/> 133 <iframe width="560" height="315" src="https://www.youtube.com/embed/CpecfL_FIzM" frameborder="0" allowfullscreen ></iframe> 134 <br class="clear"/> 135 <br class="clear"/> 136 <br class="clear"/> 137 </td> 138 </tr> 139 </table> 140 </div> 141 142 <script type="text/javascript"> 143 // Get the modal 144 var modal = document.getElementById('myModal'); 145 146 // Get the image and insert it inside the modal - use its "alt" text as a caption 147 var img = document.getElementById('myImg'); 148 var modalImg = document.getElementById("img01"); 149 var captionText = document.getElementById("caption"); 150 151 function imgModal(img){ 152 modal.style.display = "block"; 153 modalImg.src = img.src; 154 captionText.innerHTML = img.alt; 155 } 156 157 // Get the <span> element that closes the modal 158 var span = document.getElementsByClassName("close")[0]; 159 160 // When the user clicks on <span> (x), close the modal 161 span.onclick = function() { 162 modal.style.display = "none"; 163 } 164 </script> 165 <?php 166 } 167 168 static function settings_page() 6 169 { 7 170 Gurlpb_utils::log(__FUNCTION__ . '[' . __LINE__ . "] started" . get_option( 'gurlpb-setting-lang-switch' ) ); … … 10 173 11 174 if ( isset( $_POST['gurlpb-submit'] ) ) { 12 if ( isset( $_POST['gurlpb-setting-a'] ) && ( $_POST['gurlpb-setting-a'] == 'single' || $_POST['gurlpb-setting-a'] == 'multiple' || $_POST['gurlpb-setting-a'] == 'manual' ) ) {13 Gurlpb_utils::log(__FUNCTION__ . '[' . __LINE__ . "] update gurlpb-setting-a" );14 update_option( 'gurlpb-setting-a', sanitize_text_field( $_POST['gurlpb-setting-a'] ) );15 }16 175 if ( isset( $_POST['gurlpb-setting-b'] ) && ( $_POST['gurlpb-setting-b'] == 'change-link' || $_POST['gurlpb-setting-b'] == 'untouched-link' ) ) { 17 176 Gurlpb_utils::log(__FUNCTION__ . '[' . __LINE__ . "] update gurlpb-setting-b" ); 18 177 update_option('gurlpb-setting-b', sanitize_text_field( $_POST['gurlpb-setting-b'] ) ); 19 }20 if ( isset( $_POST['gurlpb-regcd'] ) && preg_match("/^[0-9a-zA-Z-_]*/", $_POST['gurlpb-regcd'] ) ) {21 Gurlpb_utils::log(__FUNCTION__ . '[' . __LINE__ . "] gurlpb-regcd" );22 if ( strpos( $_POST['gurlpb-regcd'], '42x' ) ) {23 update_option( 'gurlpb-regcd', sanitize_text_field( $_POST['gurlpb-regcd'] ) );24 } else if ( ! $_POST['gurlpb-regcd'] ) {25 delete_option( 'gurlpb-regcd' );26 } else {27 ?><script type="text/javascript">window.alert( '<?php _e( 'Invalid-licence-key', 'gurlpb' ); ?>' );</script><?php28 }29 178 } 30 179 if ( isset( $_POST['gurlpb-bgcolortype'] ) ) { … … 102 251 <form id="formGurlpb" method="post" > 103 252 <input type="hidden" name="gurlpb-submit" value="1" /> 104 <h2>URL Preview <?php esc_html_e( 'Settings', 'gurlpb' ); ?></h2> 253 <h2>URL Preview <?php esc_html_e( 'Settings', 'gurlpb' ); ?></h2> 105 254 <hr /> 106 <?php 255 <?php 107 256 if ( get_option( 'gurlpb-setting-lang-switch' ) == 'y' ) { 108 257 ?> … … 117 266 } 118 267 ?> 119 120 <div class="postbox-container" style="text-align: left; border: 1px solid #999; width:100%">121 <div class="postbox-container" style="margin: 5px; padding: 3px; ">122 <?php _e( 'This-plugin-is-for-free-usage-for-no-commercial-websites-with-few-pageviews', 'gurlpb' ); ?><br />123 124 <?php printf( __( 'Else-purchase-click here %1$s.', 'gurlpb' ), 'https://guteurls.de/plan.php' ) ?><br />125 126 <input type="text" name="gurlpb-regcd" value="<?php echo get_option( 'gurlpb-regcd' ); ?>" placeholder="Licence Key"> <input type="submit"> <?php _e( 'optional', 'gurlpb' ); ?>127 </div>128 </div>129 <br class="clear"/>130 <br class="clear"/>131 132 133 134 <?php if ( get_option( 'gurlpb-hide-setting-a' ) ) { ?>135 <div style="text-align: left; border: 1px solid #999; padding: 10px">136 <div class="postbox-container" style="font-size: 30px; font-weight: bold;">137 <?php _e( 'How to', 'gurlpb' ); ?>138 </div>139 <br class="clear"/><br />140 <?php _e( 'setting-manual-URL', 'gurlpb' ); ?><br />141 <?php _e( 'setting-manual-URL2', 'gurlpb' ); ?><br />142 <br >143 ----<br /><br />144 <img src="<?php echo plugins_url( 'gurlpb_editor-help.jpg', __FILE__ );?>" xstyle="display:block; margin-right:auto;margin-left:auto;"/>145 <div xstyle="margin-left:auto;margin-right:auto;text-align: center">146 <?php _e( 'setting-manual-URL3', 'gurlpb' ); ?><br />147 </div>148 <br class="clear"/>149 <iframe width="560" height="315" src="https://www.youtube.com/embed/CpecfL_FIzM" frameborder="0" allowfullscreen ></iframe>150 <br class="clear"/>151 </div>152 <?php } else { ?>153 154 <div class="postbox-container" style="margin: 5px; padding: 3px; font-size: 30px; font-weight: bold;">155 <?php _e( 'How-many-URL-Previews?', 'gurlpb' ); ?>156 </div>157 <br class="clear"/>158 <div class="postbox-container" style="margin: 5px; padding: 3px; border: 1px solid #999">159 <input id="inputSingle" type="radio" name="gurlpb-setting-a"160 <?php if ( get_option('gurlpb-setting-a') == 'single' ) echo 'checked="checked"'; ?>161 onclick="this.form.submit();"162 value="single" />163 <?php _e( 'Add-maximal-one', 'gurlpb' ); ?><br />164 <?php _e( 'and-add-it.', 'gurlpb' ); ?><br /><br />165 <a href="javascript:document.getElementById( 'inputSingle' ).checked = 'checked'; document.getElementById( 'formGurlpbOneMany' ).submit()">166 <img src="<?php echo plugins_url( 'gurlpb-single.jpg', __FILE__ );?>"/></a><br />167 </div>168 <div class="postbox-container" style="margin: 5px; padding: 3px; border: 1px solid #999">169 <input id="inputMutiple" type="radio" name="gurlpb-setting-a"170 <?php if ( get_option('gurlpb-setting-a') == 'multiple' ) echo 'checked="checked"'; ?>171 onclick="this.form.submit();"172 value="multiple" />173 <?php _e( 'Add-one-URL,', 'gurlpb' ); ?><br />174 <?php _e( 'one-per-P-Tag.', 'gurlpb' ); ?><br /><br />175 <a href="javascript:document.getElementById( 'inputMutiple' ).checked = 'checked'; document.getElementById( 'formGurlpbOneMany' ).submit()">176 <img src="<?php echo plugins_url( 'gurlpb-multiple.jpg', __FILE__ );?>" /></a><br />177 </div>178 <div class="postbox-container" style="margin: 5px; padding: 3px; border: 1px solid #999">179 <input id="inputMutiple" type="radio" name="gurlpb-setting-a"180 <?php if ( get_option('gurlpb-setting-a') == 'manual' ) echo 'checked="checked"'; ?>181 onclick="this.form.submit();"182 value="manual" />183 <?php _e( 'setting-manual-URL', 'gurlpb' ); ?><br />184 <?php _e( 'setting-manual-URL2', 'gurlpb' ); ?><br />185 186 <img src="<?php echo plugins_url( 'gurlpb_editor-help.jpg', __FILE__ );?>" style="display:block; margin-right:auto;margin-left:auto;"/>187 <div style="margin-left:auto;margin-right:auto;text-align: center">188 <?php _e( 'setting-manual-URL3', 'gurlpb' ); ?><br />189 </div>190 191 <br /><br />192 </div>193 <?php } ?>194 195 196 <br class="clear"/>197 <hr />198 199 200 268 201 269 <div class="postbox-container" style="text-align: left; border: 1px solid #999"> … … 383 451 384 452 } 453 454 455 static function licence_page() 456 { 457 Gurlpb_utils::log(__FUNCTION__ . '[' . __LINE__ . "] started" . get_option( 'gurlpb-setting-lang-switch' ) ); 458 $user_id = get_option( 'gurlpb-admin-id' ); 459 $user_info = get_userdata( $user_id ); 460 461 if ( isset( $_POST['gurlpb-submit'] ) ) { 462 if ( isset( $_POST['gurlpb-regcd'] ) && preg_match("/^[0-9a-zA-Z-_]*$/", $_POST['gurlpb-regcd'] ) ) { 463 Gurlpb_utils::log(__FUNCTION__ . '[' . __LINE__ . "] gurlpb-regcd" ); 464 if ( strpos( $_POST['gurlpb-regcd'], '42x' ) ) { 465 update_option( 'gurlpb-regcd', sanitize_text_field( $_POST['gurlpb-regcd'] ) ); 466 } else if ( ! $_POST['gurlpb-regcd'] ) { 467 delete_option( 'gurlpb-regcd' ); 468 } else { 469 ?><script type="text/javascript">window.alert( '<?php _e( 'Invalid-licence-key', 'gurlpb' ); ?>' );</script><?php 470 } 471 } 472 if ( isset( $_POST['gurlpb-email'] ) ) { 473 Gurlpb_utils::log(__FUNCTION__ . '[' . __LINE__ . "] gurlpb-email" ); 474 $strEmail = trim( $_POST['gurlpb-email'] ); 475 if ( preg_match("/^[0-9a-zA-Z-_.@üöäß+]*@[0-9a-zA-Z_.@üöäß+\-]*$/", $strEmail ) ) { 476 update_option( 'gurlpb-email', sanitize_text_field( $strEmail ) ); 477 } else if ( ! $strEmail ) { 478 delete_option( 'gurlpb-email' ); 479 } else { 480 ?><script type="text/javascript">window.alert( '<?php _e( 'Invalid-email', 'gurlpb' ); ?>' );</script><?php 481 } 482 } 483 } 484 485 486 ?> 487 <div class="wrap"> 488 <form id="formGurlpb" method="post" > 489 <input type="hidden" name="gurlpb-submit" value="1" /> 490 491 <?php 492 if ( get_option( 'gurlpb-setting-lang-switch' ) == 'y' ) { 493 ?> 494 <input type="checkbox" name="gurlpb-setting-en" 495 <?php echo ( ( get_option( 'gurlpb-setting-en' ) == 'yes' ) ? 'checked="checked"' : '' ) ?> 496 value="yes" 497 onchange="this.form.submit()" /> 498 <?php _e('in-english', 'gurlpb'); ?> 499 <br /> 500 <hr /> 501 <?php 502 } 503 ?> 504 505 <table class="welcome-panel" width="100%" style="padding-left: 20px"> 506 <tr> 507 <td> 508 <h1><?php _e('Get-your-key', 'gurlpb'); ?></h1> 509 <b><?php _e('Register-now', 'gurlpb'); ?></b><br /> 510 <?php _e('Get-your-private-key', 'gurlpb'); ?><br /> 511 <br /> 512 513 </td> 514 <td align="right" style="padding-right: 20px"> 515 <a href="https://guteurls.de/plan.php" target="_blank" style="width:50%; text-align: center" class="button-primary"><?php _e('Get-Licence-Key', 'gurlpb'); ?></a> 516 </td> 517 </tr> 518 </table> 519 520 <table class="welcome-panel" width="100%" style="padding-left: 20px"> 521 <tr> 522 <td> 523 <h1><?php _e('Use-your-key', 'gurlpb'); ?></h1> 524 <b><?php _e('Manually-enter-licence-key', 'gurlpb'); ?></b><br /> 525 <?php _e('Please-complete-form', 'gurlpb'); ?><br /> 526 <br /> 527 528 </td> 529 <td align="right" style="padding-right: 20px"> 530 531 <input type="text" name="gurlpb-regcd" value="<?php echo get_option( 'gurlpb-regcd' ); ?>" placeholder="Licence Key" style="font-size: 21px; margin-bottom: 5px"> 532 <br /> 533 <input type="text" name="gurlpb-email" value="<?php echo get_option( 'gurlpb-email' ); ?>" placeholder="Email address" style="font-size: 21px; margin-bottom: 5px"> 534 <br /> 535 <input type="submit" class="button-primary" style="width:50%"> 536 </td> 537 </tr> 538 </table> 539 540 541 <table class="welcome-panel" width="100%" style="padding-left: 20px"> 542 <tr> 543 <td> 544 <h1><?php _e('Go-free', 'gurlpb'); ?></h1> 545 <b><?php _e('Maximal-10-preview-boxes', 'gurlpb'); ?></b><br /> 546 <?php _e('You-can-always-upgrade', 'gurlpb'); ?><br /> 547 <br /> 548 549 </td> 550 <td align="right" style="padding-right: 20px"> 551 <a href="<?php echo admin_url("admin.php?page=gurlpb_example") ?>" class="button-secondary"><?php _e('Save-a-little-money', 'gurlpb'); ?></a> 552 </td> 553 </tr> 554 </table> 555 556 557 </form> 558 </div> 559 <?php 560 561 } 385 562 } -
good-url-preview-box/trunk/gurlpb-start.php
r1765418 r1794588 384 384 function gurlpb_admin_menu( ) { 385 385 Gurlpb_utils::log( __FUNCTION__ . '[' . __LINE__ . "]" ); 386 add_menu_page( 'Gurlpb', __('URL-Preview', 'gurlpb'), 'manage_options', 'gurlpb_adminmenu', 'gurlpb_settings', GURLPBPLUGINURL . '/gurlpb_wordpress-plugin-left-icon.png'); 386 if ( get_option( 'gurlpb-hide-setting-a') == 'true' ) { 387 add_menu_page( 'Gurlpb', __('URL-Preview', 'gurlpb'), 'manage_options', 'gurlpb_adminmenu', 'gurlpb_licence', GURLPBPLUGINURL . '/gurlpb_wordpress-plugin-left-icon.png'); 388 add_submenu_page( 'gurlpb_adminmenu', __('Example', 'gurlpb'), __('Example', 'gurlpb'), 'manage_options', 'gurlpb_example', 'gurlpb_example' ); 389 add_submenu_page( 'gurlpb_adminmenu', __('Settings', 'gurlpb'), __('Settings', 'gurlpb'), 'manage_options', 'gurlpb_settings', 'gurlpb_settings' ); 390 add_action('admin_head', 'gurlpb_example_css'); 391 392 } else { 393 add_menu_page( 'Gurlpb', __('URL-Preview', 'gurlpb'), 'manage_options', 'gurlpb_adminmenu', 'gurlpb_settings_2017', GURLPBPLUGINURL . '/gurlpb_wordpress-plugin-left-icon.png'); 394 } 387 395 add_submenu_page( 'gurlpb_adminmenu', __('Statistics', 'gurlpb'), __('Statistics', 'gurlpb'), 'manage_options', 'gurlpb_statistics', 'gurlpb_statistics' ); 388 396 add_submenu_page( 'gurlpb_adminmenu', 'Cache', 'Cache', 'manage_options', 'gurlpb_cache_settings', 'gurlpb_cache_settings' ); 389 390 } 391 392 function gurlpb_settings() { 397 } 398 399 function gurlpb_settings_2017() { 393 400 Gurlpb_utils::log( __FUNCTION__ . '[' . __LINE__ . "]" ); 394 401 include_once( plugin_dir_path( __FILE__ ) . 'gurlpb-alert-admin.php' ); … … 397 404 Gurlpb_alert_admin::email(); 398 405 } 406 include_once( plugin_dir_path( __FILE__ ) . 'gurlpb-settings-admin_2017.php' ); 407 Gurlpb_settings_admin_2017::page(); 408 } 409 function gurlpb_licence() { 410 Gurlpb_utils::log( __FUNCTION__ . '[' . __LINE__ . "]" ); 411 include_once( plugin_dir_path( __FILE__ ) . 'gurlpb-alert-admin.php' ); 412 if ( get_option('gurlpb-setting-c-extern') == "ausmach" ) { 413 Gurlpb_alert_admin::disabled(); 414 Gurlpb_alert_admin::email(); 415 } 399 416 include_once( plugin_dir_path( __FILE__ ) . 'gurlpb-settings-admin.php' ); 400 Gurlpb_settings_admin::page(); 417 Gurlpb_settings_admin::licence_page(); 418 } 419 function gurlpb_settings() { 420 Gurlpb_utils::log( __FUNCTION__ . '[' . __LINE__ . "]" ); 421 include_once( plugin_dir_path( __FILE__ ) . 'gurlpb-alert-admin.php' ); 422 if ( get_option('gurlpb-setting-c-extern') == "ausmach" ) { 423 Gurlpb_alert_admin::disabled(); 424 Gurlpb_alert_admin::email(); 425 } 426 include_once( plugin_dir_path( __FILE__ ) . 'gurlpb-settings-admin.php' ); 427 Gurlpb_settings_admin::settings_page(); 401 428 } 402 429 function gurlpb_statistics() { … … 404 431 include_once( plugin_dir_path( __FILE__ ) . 'gurlpb-statistics.php' ); 405 432 Gurlpb_statistics::page(); 433 } 434 function gurlpb_example() { 435 Gurlpb_utils::log( __FUNCTION__ . '[' . __LINE__ . "]" ); 436 include_once( plugin_dir_path( __FILE__ ) . 'gurlpb-settings-admin.php' ); 437 Gurlpb_settings_admin::example_page(); 438 } 439 function gurlpb_example_css() { 440 Gurlpb_utils::log( __FUNCTION__ . '[' . __LINE__ . "]" ); 441 include_once( plugin_dir_path( __FILE__ ) . 'gurlpb-settings-admin.php' ); 442 Gurlpb_settings_admin::example_css_page(); 406 443 } 407 444 function gurlpb_cache_settings() { -
good-url-preview-box/trunk/gute-url-preview-box.php
r1765425 r1794588 3 3 Plugin Name: URL-Preview-Box 4 4 Plugin URI: https://guteurls.de/ 5 Description: Automatically adds an link preview box to your post, if you have copied & pasted an URL into your posting. It is like in Facebook! Automatically!:-)5 Description: This plugin adds link preview box to your post. You just copied & pasted an URL into your posting. :-) 6 6 Author: Martin Schaedler 7 7 Author URI: https://hypnose54321.de/frankfurt/_contact.html 8 Version: 1.1 0.18 Version: 1.11 9 9 Text Domain: gurlpb 10 10 */ -
good-url-preview-box/trunk/readme.txt
r1767787 r1794588 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 7 Stable tag: 4.9 6 Tested up to: 4.9.1 7 Stable tag: 4.9.1 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html 10 10 11 Automatically adds an link preview box to your post, if you have copied & pasted an URL into your posting. It is like in Facebook! Automatically!:-)11 This plugin adds link preview box to your post. You just copied & pasted an URL into your posting. :-) 12 12 13 13 == Description == 14 14 15 The Plugin adds an link preview box to your post, 16 if you have copied & pasted an URL to your blog post. 15 The Plugin adds an link preview box to your post. 17 16 The link preview box will be displayed like in Facebook! :-) 17 18 This plugin can be used for free for maximal 10 URL Preview Boxes. 18 19 19 20 Perhaps you are familiar with Facebook. … … 43 44 44 45 https://www.ufo-und-alienforum.de/index.php/Thread/30805-Verlassene-Orte-in-Baden-Württemberg/ 45 46 http://crypted-email.com/news.php47 46 48 47 https://hypnose54321.de/frankfurt/_news.php … … 111 110 == Screenshots == 112 111 113 1. Writing an example post in admin area. That post will contain an URL preview box. 114 2. Viewing the example post. That post contains the URL preview box now. 112 1. First screen. Register to use full functionality. 113 2. Writing an example post in admin area. 114 3. That post will contain an URL preview box. 115 4. If you want, you can write text below or above. 116 5. An example preview box for the spacex.com career page. 115 117 116 118 == Upgrade Notice == 119 120 = 1.11 = 121 Registration page added. 117 122 118 123 = 1.10.1 = … … 156 161 == Changelog == 157 162 163 = 1.11 = 164 Registration page added. 165 158 166 = 1.10.1 = 159 167 Better reset/reload of cached URL data
Note: See TracChangeset
for help on using the changeset viewer.