Changeset 1257506
- Timestamp:
- 10/01/2015 03:11:21 PM (11 years ago)
- Location:
- sb-connector
- Files:
-
- 24 added
- 3 edited
-
tags/1.0.7 (added)
-
tags/1.0.7/api (added)
-
tags/1.0.7/api/api.php (added)
-
tags/1.0.7/class (added)
-
tags/1.0.7/class/class-sb-helper.php (added)
-
tags/1.0.7/css (added)
-
tags/1.0.7/css/bootstrap.css (added)
-
tags/1.0.7/css/dashboard.css (added)
-
tags/1.0.7/css/nicer-settings.css (added)
-
tags/1.0.7/fonts (added)
-
tags/1.0.7/fonts/glyphicons-halflings-regular.eot (added)
-
tags/1.0.7/fonts/glyphicons-halflings-regular.svg (added)
-
tags/1.0.7/fonts/glyphicons-halflings-regular.ttf (added)
-
tags/1.0.7/fonts/glyphicons-halflings-regular.woff (added)
-
tags/1.0.7/js (added)
-
tags/1.0.7/js/bootstrap.js (added)
-
tags/1.0.7/js/main.js (added)
-
tags/1.0.7/js/zeroclipboard-min.js (added)
-
tags/1.0.7/readme.txt (added)
-
tags/1.0.7/sb-connector.php (added)
-
tags/1.0.7/screenshot-1.png (added)
-
tags/1.0.7/screenshot-2.png (added)
-
trunk/class/class-sb-helper.php (modified) (2 diffs)
-
trunk/js/main.js (added)
-
trunk/js/zeroclipboard-min.js (added)
-
trunk/readme.txt (modified) (1 diff)
-
trunk/sb-connector.php (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
sb-connector/trunk/class/class-sb-helper.php
r1256747 r1257506 156 156 $post_fields[ 'post_thumbnail' ] = array(); 157 157 $thumbnail_id = get_post_thumbnail_id( $post[ 'ID' ] ); 158 158 159 if( $thumbnail_id ) 159 160 { … … 216 217 $_media_item = array( 217 218 'attachment_id' => strval( $media_item->ID ), 218 'date_created_gmt' => $ this->_convert_date_gmt( $media_item->post_date_gmt, $media_item->post_date ),219 'date_created_gmt' => $media_item->post_date_gmt, 219 220 'parent' => $media_item->post_parent, 220 221 'link' => wp_get_attachment_url( $media_item->ID ), -
sb-connector/trunk/readme.txt
r1256747 r1257506 4 4 Requires at least: 3.6 5 5 Tested up to: 4.3.1 6 Stable tag: 1.0. 66 Stable tag: 1.0.7 7 7 License: GPL v2 8 8 -
sb-connector/trunk/sb-connector.php
r1256774 r1257506 4 4 * Description: SpeedBlogging Connector is a plugin that connects your blog with SpeedBlogging system and it enables 5 5 * you to publish your blog post fast 6 * Version: 1.0. 66 * Version: 1.0.7 7 7 * Author: Internet Marketing Bar 8 8 * Author URI: http://internetmarketingbar.com … … 45 45 wp_enqueue_style('bootstrap-css', $plugin_url . 'css/bootstrap.css', array(), '1.0'); 46 46 wp_enqueue_script('bootstrap-js', $plugin_url . 'js/bootstrap.js', array('jquery'), '1.0', false); 47 wp_enqueue_script( 'zeroclipboard-js', $plugin_url . 'js/zeroclipboard-min.js', array( 'jquery' ), '1.0', true ); 48 wp_enqueue_script( 'speedblogging-js', $plugin_url . 'js/main.js', array( 'jquery', 'zeroclipboard-js' ), '1.0', true ); 47 49 } 48 50 … … 64 66 ?> 65 67 <div class="wrap smart_only_area"> 66 <h1 class="page-header">SB Connector <small>version 1.0. 6</small></h1>68 <h1 class="page-header">SB Connector <small>version 1.0.7</small></h1> 67 69 68 70 <div class="container-fluid"> … … 74 76 <small>Please add your blog with this key in SpeedBlogging to connect this blog with SpeedBlogging system</small> 75 77 </label> 76 <input type="text" class="form-control input-lg" name="sb-key" value="<?php echo $hash; ?>"/> 78 <div class="input-group"> 79 <input type="text" class="form-control input-lg" name="sb-key" id="sb-key" 80 value="<?php echo $hash; ?>"/> 81 <span class="input-group-btn"> 82 <button class="btn btn-lg btn=default zclip" data-method="direct" data-copy-type="value" 83 data-target="input[name=sb-key]" type="button" 84 style="background-color: #fff; border: 1px solid #ccc;">Copy 85 </button> 86 </span> 87 </div> 77 88 </div> 78 89 <div class="form-group"> … … 81 92 <small>This is the API endpoint you will need to add your blog with</small> 82 93 </label> 83 <input type="text" class="form-control input-lg" name="connector_url" value="<?php echo $api_url; ?>"/> 84 94 <div class="input-group"> 95 <input type="text" class="form-control input-lg" name="connector_url" id="connector_url" 96 value="<?php echo $api_url; ?>"/> 97 <span class="input-group-btn"> 98 <button class="btn btn-lg btn=default zclip" data-method="direct" data-copy-type="value" 99 data-target="input[name=connector_url]" type="button" 100 style="background-color: #fff; border: 1px solid #ccc;">Copy 101 </button> 102 </span> 103 </div> 85 104 </div> 86 105 </div>
Note: See TracChangeset
for help on using the changeset viewer.