PluginProbe
Parse.ly / 2.1.2
Parse.ly v2.1.2
3.24.1 3.24.0 3.23.7 3.23.6 3.23.5 3.23.4 3.23.3 3.16.0 3.16.1 3.16.2 3.16.3 3.16.4 3.17.0 3.18.0 3.18.1 3.19.0 3.19.1 3.19.2 3.19.3 3.2.0 3.2.1 3.20.0 3.20.1 3.20.2 3.20.3 All 105 releases
wp-parsely / parsely-admin-header.php

parsely-admin-header.php in Parse.ly 2.1.2, at parsely-admin-header.php

47 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * JavaScript file
4 *
5 * Main javascript file for plugin
6 *
7 * @category Components
8 * @package WordPress
9 * @subpackage Parse.ly
10 */
11
12 ?>
13
14 <!-- wp-parsely -->
15 <style type="text/css">
16 #wp-parsely_version {color: #777; font-size: 12px; margin-left: 1em;}
17 .help-text {
18 width: 75%;
19 }
20 </style>
21 <script type="text/javascript">
22 (function($) {
23 $(document).ready(function onDOMReady() {
24 var apikey = $('#apikey').val();
25 var recrawlRequiredMessage = $('<p>')
26 .addClass('description');
27 var supportLink = $('<a>',{
28 href: 'mailto:support@parsely.com?subject=Please reprocess ' + encodeURIComponent(apikey),
29 text: 'support@parsely.com'
30 });
31
32 recrawlRequiredMessage.append('<strong style="color:red;">Important:</strong>');
33
34 recrawlRequiredMessage
35 .append(' changing this value on a site currently tracked with ' +
36 'Parse.ly will require reprocessing of your Parse.ly data. Once ' +
37 'you have changed this value, please contact ' );
38
39 recrawlRequiredMessage.append(supportLink);
40
41 recrawlRequiredMessage
42 .appendTo("div.parsely-form-controls[data-requires-recrawl='true'] .help-text");
43 });
44 })(jQuery);
45 </script>
46 <!-- end wp-parsely -->
47