|
1 <div class="social-meta-box-block"> |
|
2 <h4><?php _e('Add Tweet by URL', 'social'); ?></h4> |
|
3 <p><?php _e('Enter the URL of the tweet to add it as a comment.', 'social'); ?></p> |
|
4 |
|
5 <p> |
|
6 <input type="text" id="social-source-url" name="source_url" style="width:350px" /> |
|
7 <span class="submit" style="float:none"> |
|
8 <a href="<?php echo esc_url(wp_nonce_url(admin_url('options-general.php?social_controller=import&social_action=from_url&social_service=twitter&post_id='.$post->ID), 'from_url')); ?>" id="import_from_url" class="button"><?php _e('Import Tweet', 'social'); ?></a> |
|
9 </span> |
|
10 <img src="<?php echo esc_url(admin_url('images/wpspin_light.gif')); ?>" style="position:relative;top:4px;left:0;display:none" id="import_from_url_loader" /> |
|
11 <span id="social-import-error"></span> |
|
12 </p> |
|
13 </div><!-- .social-meta-box-block --> |
|
14 |
|
15 <?php if (in_array(Social::option('fetch_comments'), array('1', '2'))) { ?> |
|
16 <div class="social-meta-box-block cf-clearfix"> |
|
17 <h4> |
|
18 <?php _e('Manual Refresh', 'social'); ?> |
|
19 <span id="social-next-run">(<?php echo sprintf(__('Next automatic run <span>%s</span>', 'social'), $next_run); ?>)</span> |
|
20 </h4> |
|
21 |
|
22 <p class="submit" style="clear:both;float:none;padding:0;"> |
|
23 <a href="<?php echo esc_url(wp_nonce_url(admin_url('options-general.php?social_controller=aggregation&social_action=run&post_id='.$post->ID), 'run')); ?>" id="run_aggregation" class="button" style="float:left;margin-bottom:10px;"><?php _e('Find Social Comments', 'social'); ?></a> |
|
24 <img src="<?php echo esc_url(admin_url('images/wpspin_light.gif')); ?>" style="float:left;position:relative;top:4px;left:5px;display:none;" id="run_aggregation_loader" /> |
|
25 </p> |
|
26 </div><!-- .social-meta-box-block --> |
|
27 <?php } ?> |
|
28 |
|
29 <div class="social-meta-box-block"> |
|
30 <h4><?php _e('Log', 'social'); ?></h4> |
|
31 |
|
32 <div id="aggregation_log"> |
|
33 <?php echo Social_Aggregation_Log::instance($post->ID); ?> |
|
34 </div> |
|
35 </div><!-- .social-meta-box-block --> |