Pinterest "Pin It" Button - Version 2.0.0

Version Description

  • Tested up to WordPress 3.6.1.
  • Now in full compliance with current "Pin It" button developer guidelines at http://developers.pinterest.com/pin_it/.
  • More extensive Help section, which was moved to a separate submenu item.
  • Updated CSS & JS output so they're much more "light weight" which should improve performance.
  • Removed all references to "!important" in the public CSS to allow for more control of styles.
  • Implemented more standards from the WordPress Settings API. Settings pages should be more maintainable going forward.
  • Settings pages now using tabs to break up functionality.
  • Can now specify button type for shortcode and widget. No longer inherits from main settings.
  • Fixed so button now shows up on category pages.
  • Added is_main_query() check for "the_content" filter.
  • Removed show/hide button options on category edit screen (conflicted with post/page visibility changes).
  • Optional Presstrends anonymous usage tracking.
Download this release

Release Info

Developer pderksen
Plugin Icon 128x128 Pinterest "Pin It" Button
Version 2.0.0
Comparing to
See all releases

Code changes from version 1.4.3 to 2.0.0

Files changed (67) hide show
  1. assets/banner-772x250.png +0 -0
  2. {img → assets}/icon-external-link.gif +0 -0
  3. assets/index.php +1 -0
  4. assets/pinterest-icon-16.png +0 -0
  5. assets/pinterest-icon-32.png +0 -0
  6. assets/pinterest-icon-64.png +0 -0
  7. class-pinterest-pin-it-button.php +440 -0
  8. css/admin.css +112 -0
  9. css/bootstrap-custom.css +435 -0
  10. css/button-shadow.png +0 -0
  11. css/flat-ui-custom.css +212 -0
  12. css/index.php +1 -0
  13. css/pinterest-pin-it-button-admin.css +0 -180
  14. css/pinterest-pin-it-button.css +0 -206
  15. css/public.css +63 -0
  16. fonts/Flat-UI-Icons.dev.svg +470 -0
  17. fonts/Flat-UI-Icons.eot +0 -0
  18. fonts/Flat-UI-Icons.svg +470 -0
  19. fonts/Flat-UI-Icons.ttf +0 -0
  20. fonts/Flat-UI-Icons.woff +0 -0
  21. fonts/index.php +1 -0
  22. img/pin-it-button-pro-custom-image-examples-small.png +0 -0
  23. img/pinterest-button-icon-med.png +0 -0
  24. img/pinterest-button-icon-small.png +0 -0
  25. inc/admin-display-functions-lite.php +0 -204
  26. inc/admin-display-functions-shared.php +0 -567
  27. inc/admin-general-functions-shared.php +0 -121
  28. inc/category-meta.php +0 -67
  29. inc/post-meta.php +0 -103
  30. inc/public-display-functions.php +0 -346
  31. inc/shortcode.php +0 -85
  32. inc/widget.php +0 -146
  33. includes/admin-notices.php +40 -0
  34. includes/index.php +1 -0
  35. includes/misc-functions.php +108 -0
  36. includes/presstrends.php +52 -0
  37. includes/register-settings.php +435 -0
  38. includes/shortcodes.php +95 -0
  39. includes/upgrade-plugin.php +103 -0
  40. includes/widgets.php +196 -0
  41. index.php +1 -0
  42. js/gplus-embed.js +0 -8
  43. js/index.php +1 -0
  44. js/pin-it-button-custom-btn-img.js +0 -55
  45. js/pin-it-button-image-selected.js +0 -8
  46. js/pin-it-button-user-selects-image.js +0 -16
  47. js/pinterest-pin-it-button-admin.js +0 -72
  48. js/twitter-embed.js +0 -4
  49. license.txt +68 -10
  50. pinterest-pin-it-button.php +31 -63
  51. readme.txt +230 -167
  52. screenshot-1.png +0 -0
  53. screenshot-2.jpg +0 -0
  54. screenshot-2.png +0 -0
  55. screenshot-3.png +0 -0
  56. screenshot-4.png +0 -0
  57. screenshot-5.png +0 -0
  58. screenshot-6.png +0 -0
  59. screenshot-7.png +0 -0
  60. uninstall.php +35 -25
  61. views/admin-help.php +203 -0
  62. views/admin-install-notice.php +30 -0
  63. views/admin-sidebar.php +102 -0
  64. views/admin.php +70 -0
  65. views/index.php +1 -0
  66. views/post-meta-display.php +62 -0
  67. views/public.php +190 -0
assets/banner-772x250.png ADDED
Binary file
{img → assets}/icon-external-link.gif RENAMED
File without changes
assets/index.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php // Silence is golden ?>
assets/pinterest-icon-16.png ADDED
Binary file
assets/pinterest-icon-32.png ADDED
Binary file
assets/pinterest-icon-64.png ADDED
Binary file
class-pinterest-pin-it-button.php ADDED
@@ -0,0 +1,440 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Main Pinterest_Pin_It_Button class
5
+ *
6
+ * @package PIB
7
+ * @author Phil Derksen <pderksen@gmail.com>, Nick Young <mycorpweb@gmail.com>
8
+ */
9
+
10
+ // Exit if accessed directly.
11
+ if ( ! defined( 'ABSPATH' ) )
12
+ exit;
13
+
14
+ class Pinterest_Pin_It_Button {
15
+
16
+ /**
17
+ * Plugin version, used for cache-busting of style and script file references.
18
+ *
19
+ * @since 2.0.0
20
+ *
21
+ * @var string
22
+ */
23
+ protected $version = '2.0.0';
24
+
25
+ /**
26
+ * Unique identifier for your plugin.
27
+ *
28
+ * Use this value (not the variable name) as the text domain when internationalizing strings of text. It should
29
+ * match the Text Domain file header in the main plugin file.
30
+ *
31
+ * @since 2.0.0
32
+ *
33
+ * @var string
34
+ */
35
+ protected $plugin_slug = 'pinterest-pin-it-button';
36
+
37
+ /**
38
+ * Instance of this class.
39
+ *
40
+ * @since 2.0.0
41
+ *
42
+ * @var object
43
+ */
44
+ protected static $instance = null;
45
+
46
+ /**
47
+ * Slug of the plugin screen.
48
+ *
49
+ * @since 2.0.0
50
+ *
51
+ * @var string
52
+ */
53
+ protected $plugin_screen_hook_suffix = null;
54
+
55
+ /**
56
+ * Initialize the plugin by setting localization, filters, and administration functions.
57
+ *
58
+ * @since 2.0.0
59
+ */
60
+
61
+ /**
62
+ * Presstrends API authorization
63
+ *
64
+ * @since 3.0.0
65
+ *
66
+ * @var string
67
+ */
68
+ protected $presstrends_auth = '0ebdi3uscgaztp99nnbam6rl6i2186qwo';
69
+
70
+ private function __construct() {
71
+ // Setup constants.
72
+ $this->setup_constants();
73
+
74
+ // Run our upgrade checks first and update our version option.
75
+ add_action( 'init', array( $this, 'upgrade_plugin' ), 0 );
76
+ update_option( 'pib_version', $this->version );
77
+
78
+ // Include required files.
79
+ add_action( 'init', array( $this, 'includes' ), 1 );
80
+
81
+ // Add the options page and menu item.
82
+ add_action( 'admin_menu', array( $this, 'add_plugin_admin_menu' ), 2 );
83
+
84
+ // Enqueue admin styles and scripts.
85
+ add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_admin_styles' ) );
86
+ add_action( 'admin_enqueue_scripts', array( $this, 'enqueue_admin_scripts' ) );
87
+
88
+ // Enqueue public style and scripts.
89
+ add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_styles' ) );
90
+ add_action( 'wp_enqueue_scripts', array( $this, 'enqueue_scripts' ) );
91
+
92
+ // Add admin notice after plugin activation. Also check if should be hidden.
93
+ add_action( 'admin_notices', array( $this, 'admin_install_notice' ) );
94
+
95
+ // Add Post Meta stuff.
96
+ add_action( 'add_meta_boxes', array( $this, 'display_post_meta') );
97
+ add_action( 'save_post', array( $this, 'save_meta_data') );
98
+
99
+ // Add plugin listing "Settings" action link.
100
+ add_filter( 'plugin_action_links_' . plugin_basename( plugin_dir_path( __FILE__ ) . $this->plugin_slug . '.php' ), array( $this, 'settings_link' ) );
101
+
102
+ // Finally, call presstrends tracking code.
103
+ add_action( 'admin_init', array( $this, 'use_presstrends_tracking' ) );
104
+ }
105
+
106
+ /**
107
+ * Return an instance of this class.
108
+ *
109
+ * @since 2.0.0
110
+ *
111
+ * @return object A single instance of this class.
112
+ */
113
+ public static function get_instance() {
114
+ // If the single instance hasn't been set, set it now.
115
+ if ( null == self::$instance ) {
116
+ self::$instance = new self;
117
+ }
118
+
119
+ return self::$instance;
120
+ }
121
+
122
+ /**
123
+ * Setup plugin constants.
124
+ *
125
+ * @since 2.0.0
126
+ */
127
+ public function setup_constants() {
128
+ // Plugin slug.
129
+ if ( ! defined( 'PIB_PLUGIN_SLUG' ) )
130
+ define( 'PIB_PLUGIN_SLUG', $this->plugin_slug );
131
+
132
+ // Plugin version.
133
+ if ( ! defined( 'PIB_VERSION' ) )
134
+ define( 'PIB_VERSION', $this->version );
135
+
136
+ // Plugin title.
137
+ if ( ! defined( 'PIB_PLUGIN_TITLE' ) )
138
+ define( 'PIB_PLUGIN_TITLE', $this->get_plugin_title() );
139
+
140
+ // Plugin folder URL.
141
+ if ( ! defined( 'PIB_PLUGIN_URL' ) )
142
+ define( 'PIB_PLUGIN_URL', plugin_dir_url( __FILE__ ) );
143
+ }
144
+
145
+ /**
146
+ * Fired when the plugin is activated.
147
+ *
148
+ * @since 2.0.0
149
+ *
150
+ * @param boolean $network_wide True if WPMU superadmin uses "Network Activate" action, false if WPMU is disabled or plugin is activated on an individual blog.
151
+ */
152
+ public static function activate( $network_wide ) {
153
+ // Add value to indicate that we should show admin install notice.
154
+ update_option( 'pib_show_admin_install_notice', 1 );
155
+ }
156
+
157
+ /**
158
+ * Run upgrade plugin process.
159
+ *
160
+ * @since 2.0.0
161
+ */
162
+ public function upgrade_plugin() {
163
+ include_once( 'includes/upgrade-plugin.php' );
164
+ }
165
+
166
+ /**
167
+ * Include required files (admin and frontend).
168
+ *
169
+ * @since 2.0.0
170
+ */
171
+ public function includes() {
172
+ // Load global options.
173
+ global $pib_options;
174
+
175
+ // Include the file to register all of the plugin settings.
176
+ include_once( 'includes/register-settings.php' );
177
+
178
+ // Load global options settings.
179
+ $pib_options = pib_get_settings();
180
+
181
+ // Include widgets file if on widgets admin or public.
182
+ include_once( dirname( __FILE__ ) . '/includes/widgets.php' );
183
+
184
+ // Other common includes.
185
+ include_once( 'includes/misc-functions.php' );
186
+
187
+ // Admin-only includes.
188
+ if ( is_admin() ) {
189
+ include_once( 'includes/admin-notices.php' );
190
+ } else {
191
+ // Frontend-only includes.
192
+ include_once( 'includes/shortcodes.php' );
193
+ include_once( 'views/public.php' );
194
+ }
195
+ }
196
+
197
+ /**
198
+ * Return localized base plugin title.
199
+ *
200
+ * @since 2.0.0
201
+ *
202
+ * @return string
203
+ */
204
+ public static function get_plugin_title() {
205
+ return __( 'Pinterest "Pin It" Button Lite', 'pib' );
206
+ }
207
+
208
+ /**
209
+ * Enqueue admin-specific style sheets for this plugin's admin pages only.
210
+ *
211
+ * @since 2.0.0
212
+ *
213
+ * @return null Return early if no settings page is registered.
214
+ */
215
+ public function enqueue_admin_styles() {
216
+
217
+ if ( $this->viewing_this_plugin() ) {
218
+ // Plugin admin custom Bootstrap CSS. Tack on plugin version.
219
+ wp_enqueue_style( $this->plugin_slug .'-bootstrap', plugins_url( 'css/bootstrap-custom.css', __FILE__ ), array(), $this->version );
220
+
221
+ // Plugin admin custom Flat UI CSS. Tack on plugin version.
222
+ wp_enqueue_style( $this->plugin_slug .'-flat-ui', plugins_url( 'css/flat-ui-custom.css', __FILE__ ), array( $this->plugin_slug .'-bootstrap' ), $this->version );
223
+
224
+ // Plugin admin CSS. Tack on plugin version.
225
+ wp_enqueue_style( $this->plugin_slug .'-admin-styles', plugins_url( 'css/admin.css', __FILE__ ), array( $this->plugin_slug .'-flat-ui' ), $this->version );
226
+ }
227
+ }
228
+
229
+ /**
230
+ * Enqueue admin-specific JavaScript.
231
+ *
232
+ * @since 2.0.0
233
+ *
234
+ * @return null Return early if no settings page is registered.
235
+ */
236
+ public function enqueue_admin_scripts() {
237
+
238
+ // No admin.js needed yet so commented out.
239
+
240
+ if ( $this->viewing_this_plugin() ) {
241
+ // Main plugin admin JS. Tackon plugin version.
242
+ //wp_enqueue_script( $this->plugin_slug . '-admin-script', plugins_url( 'js/admin.js', __FILE__ ), array( 'jquery' ), $this->version );
243
+ }
244
+ }
245
+
246
+ /**
247
+ * Enqueue public-facing style sheets.
248
+ *
249
+ * @since 2.0.0
250
+ */
251
+ public function enqueue_styles() {
252
+ global $pib_options;
253
+
254
+ // Check to see if setting to disable is true first.
255
+ if ( empty( $pib_options['disable_css'] ) ) {
256
+ wp_enqueue_style( $this->plugin_slug . '-plugin-styles', plugins_url( 'css/public.css', __FILE__ ), array(), $this->version );
257
+ }
258
+ }
259
+
260
+ /**
261
+ * Enqueues public-facing script files.
262
+ *
263
+ * @since 2.0.0
264
+ */
265
+ public function enqueue_scripts() {
266
+ // Enqueue Pinterest JS plugin boilerplate style. Don't tack on plugin version.
267
+ wp_enqueue_script( $this->plugin_slug . '-pinterest-pinit', '//assets.pinterest.com/js/pinit.js', array(), null, true );
268
+ }
269
+
270
+ /**
271
+ * Register the administration menu for this plugin into the WordPress Dashboard menu.
272
+ *
273
+ * @since 2.0.0
274
+ */
275
+ public function add_plugin_admin_menu() {
276
+ // Add main menu item
277
+ $this->plugin_screen_hook_suffix[] = add_menu_page(
278
+ $this->get_plugin_title() . __( ' Settings', 'pib' ),
279
+ __( 'Pin It Button', 'pib' ),
280
+ 'manage_options',
281
+ $this->plugin_slug,
282
+ array( $this, 'display_plugin_admin_page' ),
283
+ plugins_url( 'assets/pinterest-icon-16.png', __FILE__ )
284
+ );
285
+
286
+ // Add Help submenu page
287
+ $this->plugin_screen_hook_suffix[] = add_submenu_page(
288
+ $this->plugin_slug,
289
+ $this->get_plugin_title() . __( ' Help', 'pib' ),
290
+ __( 'Help', 'pib' ),
291
+ 'manage_options',
292
+ $this->plugin_slug . '_help',
293
+ array( $this, 'display_admin_help_page' )
294
+ );
295
+ }
296
+
297
+ /**
298
+ * Render the admin pages for this plugin.
299
+ *
300
+ * @since 2.0.0
301
+ */
302
+ public function display_plugin_admin_page() {
303
+ include_once( 'views/admin.php' );
304
+ }
305
+
306
+ public function display_admin_help_page() {
307
+ include_once( 'views/admin-help.php' );
308
+ }
309
+
310
+ /**
311
+ * Render the post meta for this plugin.
312
+ *
313
+ * @since 2.0.0
314
+ */
315
+ public function display_post_meta() {
316
+ // Add the meta boxes for both posts and pages
317
+ add_meta_box('pib-meta', '"Pin It" Button Settings', 'add_meta_form', 'post', 'advanced', 'high');
318
+ add_meta_box('pib-meta', '"Pin It" Button Settings', 'add_meta_form', 'page', 'advanced', 'high');
319
+
320
+ // function to output the HTML for meta box
321
+ function add_meta_form( $post ) {
322
+
323
+ wp_nonce_field( basename( __FILE__ ), 'pib_meta_nonce' );
324
+
325
+ include_once( 'views/post-meta-display.php' );
326
+ }
327
+ }
328
+
329
+ /**
330
+ * Save the post meta for this plugin.
331
+ *
332
+ * @since 2.0.0
333
+ *
334
+ * @param int $post_id
335
+ * @return int $post_id
336
+ */
337
+ public function save_meta_data( $post_id ) {
338
+ if ( defined( 'DOING_AUTOSAVE' ) && DOING_AUTOSAVE )
339
+ return $post_id;
340
+
341
+ // An array to hold all of our post meta ids so we can run them through a loop
342
+ $post_meta_fields = array(
343
+ 'pib_url_of_webpage',
344
+ 'pib_url_of_img',
345
+ 'pib_description'
346
+ );
347
+
348
+ // Record sharing disable
349
+
350
+ if ( current_user_can( 'edit_post', $post_id ) ) {
351
+ if ( isset( $_POST['pib_sharing_status_hidden'] ) ) {
352
+ if ( !isset( $_POST['pib_enable_post_sharing'] ) ) {
353
+ update_post_meta( $post_id, 'pib_sharing_disabled', 1 );
354
+ }
355
+ else {
356
+ delete_post_meta( $post_id, 'pib_sharing_disabled' );
357
+ }
358
+
359
+ // Loop through our array and make sure it is posted and not empty in order to update it, otherwise we delete it
360
+ foreach ( $post_meta_fields as $pmf ) {
361
+ if ( isset( $_POST[$pmf] ) && !empty( $_POST[$pmf] ) ) {
362
+ update_post_meta( $post_id, $pmf, $_POST[$pmf] );
363
+ } else {
364
+ delete_post_meta( $post_id, $pmf );
365
+ }
366
+ }
367
+ }
368
+ }
369
+
370
+
371
+ return $post_id;
372
+ }
373
+
374
+ /**
375
+ * Add Settings action link to left of existing action links on plugin listing page.
376
+ *
377
+ * @since 2.0.0
378
+ *
379
+ * @param array $links Default plugin action links.
380
+ * @return array $links Amended plugin action links.
381
+ */
382
+ public function settings_link( $links ) {
383
+ $setting_link = sprintf( '<a href="%s">%s</a>', add_query_arg( 'page', $this->plugin_slug, admin_url( 'admin.php' ) ), __( 'Settings', 'pib' ) );
384
+ array_unshift( $links, $setting_link );
385
+
386
+ return $links;
387
+ }
388
+
389
+ /**
390
+ * Check if viewing one of this plugin's admin pages.
391
+ *
392
+ * @since 2.0.0
393
+ *
394
+ * @return bool
395
+ */
396
+ private function viewing_this_plugin() {
397
+ if ( ! isset( $this->plugin_screen_hook_suffix ) )
398
+ return false;
399
+
400
+ $screen = get_current_screen();
401
+
402
+ if ( in_array( $screen->id, $this->plugin_screen_hook_suffix ) )
403
+ return true;
404
+ else
405
+ return false;
406
+ }
407
+
408
+ /**
409
+ * Show notice after plugin install/activate in admin dashboard until user acknowledges.
410
+ * Also check if user chooses to hide it.
411
+ *
412
+ * @since 2.0.0
413
+ */
414
+ public function admin_install_notice() {
415
+ // Exit all of this is stored value is false/0 or not set.
416
+ if ( false == get_option( 'pib_show_admin_install_notice' ) )
417
+ return;
418
+
419
+ // Delete stored value if "hide" button click detected (custom querystring value set to 1).
420
+ // or if on a PIB admin page. Then exit.
421
+ if ( ! empty( $_REQUEST['pib-dismiss-install-nag'] ) || $this->viewing_this_plugin() ) {
422
+ delete_option( 'pib_show_admin_install_notice' );
423
+ return;
424
+ }
425
+
426
+ // At this point show install notice. Show it only on the plugin screen.
427
+ if( get_current_screen()->id == 'plugins' )
428
+ include_once( 'views/admin-install-notice.php' );
429
+ }
430
+
431
+ public function use_presstrends_tracking() {
432
+ global $pib_options;
433
+
434
+ // Include tracking if option checked.
435
+ if( ! empty( $pib_options['presstrends_tracking'] ) && ( 1 == $pib_options['presstrends_tracking'] ) ) {
436
+ include( 'includes/presstrends.php' );
437
+ pib_run_presstrends_tracking( $this->presstrends_auth );
438
+ }
439
+ }
440
+ }
css/admin.css ADDED
@@ -0,0 +1,112 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* This stylesheet is used to style the admin option form of the plugin. */
2
+
3
+ #icon-pinterest-32 {
4
+ background: transparent url('../assets/pinterest-icon-32.png') no-repeat;
5
+ }
6
+
7
+ /* This icon is taken from the Flat Social Media Icons fromk Designmodo at
8
+ * http://designmodo.com/flat-social-icons/
9
+ */
10
+
11
+ a.pib-external-link {
12
+ background: transparent url('../assets/icon-external-link.gif') center right no-repeat;
13
+ padding-right: 17px;
14
+ }
15
+
16
+ /* Layout the page similar to the built-in post edit screen. */
17
+
18
+ #pib-settings {
19
+ margin-right: 310px;
20
+ }
21
+
22
+ #pib-settings-content {
23
+ width: 100%;
24
+ float: left;
25
+ }
26
+
27
+ #pib-settings-sidebar {
28
+ float: right;
29
+ margin-top: 9px;
30
+ margin-right: -310px;
31
+ width: 290px;
32
+ }
33
+
34
+ #pib-settings-sidebar {
35
+ font-family: "Lato", sans-serif; /* Base font from Flat UI body tag. */
36
+ }
37
+
38
+ /* Sidebar container. Taken from Flat UI .tile & popover classes. */
39
+
40
+ #pib-settings-sidebar .sidebar-container {
41
+ background-color: #edeff1;
42
+ border-radius: 6px;
43
+ font-size: 15px;
44
+ margin-bottom: 18px;
45
+ padding: 0;
46
+ position: relative;
47
+ text-align: left;
48
+ }
49
+
50
+ #pib-settings-sidebar .sidebar-title-large,
51
+ #pib-settings-sidebar .sidebar-title-medium {
52
+ background-color: #34495e;
53
+ border-bottom: 1px solid #ebebeb;
54
+ color: #ffffff;
55
+ font-size: 12px;
56
+ font-weight: 700;
57
+ line-height: 18px;
58
+ margin: 0;
59
+ padding: 10px 20px 11px;
60
+ text-align: center;
61
+ -webkit-border-radius: 5px 5px 0 0;
62
+ -moz-border-radius: 5px 5px 0 0;
63
+ border-radius: 5px 5px 0 0;
64
+ }
65
+
66
+ #pib-settings-sidebar .sidebar-title-large {
67
+ font-size: 20px;
68
+ }
69
+
70
+ #pib-settings-sidebar .sidebar-title-medium {
71
+ font-size: 16px;
72
+ }
73
+
74
+ #pib-settings-sidebar .sidebar-title-small {
75
+ font-size: 14px;
76
+ font-weight: 700;
77
+ line-height: 18px;
78
+ margin: 0;
79
+ padding: 10px 14px 5px;
80
+ text-align: center;
81
+ }
82
+
83
+ #pib-settings-sidebar .sidebar-content {
84
+ padding: 14px;
85
+ }
86
+
87
+ #pib-settings-sidebar .sidebar-content ul {
88
+ margin: 0;
89
+ }
90
+
91
+ #pib-settings-sidebar .sidebar-content ul li {
92
+ margin-bottom: 8px;
93
+ }
94
+
95
+ #pib-settings-sidebar .sidebar-content ul li i {
96
+ margin-right: 5px;
97
+ }
98
+
99
+ #pib-settings-sidebar .sidebar-content p {
100
+ line-height: 1.4em;
101
+ margin: 0 0 10px;
102
+ }
103
+
104
+ #pib-settings-sidebar .sidebar-content p.last-blurb {
105
+ font-size: 17px;
106
+ margin: 10px 0 25px 0;
107
+ text-align: center;
108
+ }
109
+
110
+ #pib-settings-sidebar .sidebar-content.pib-rss-news ul {
111
+ font-size: 14px;
112
+ }
css/bootstrap-custom.css ADDED
@@ -0,0 +1,435 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*** Bootstrap buttons only ***/
2
+
3
+ /* Some elements of this plugin are derived from the Bootstrap framework at
4
+ * http://twitter.github.io/bootstrap/
5
+ */
6
+
7
+ /*!
8
+ * Bootstrap v2.3.2
9
+ *
10
+ * Copyright 2012 Twitter, Inc
11
+ * Licensed under the Apache License v2.0
12
+ * http://www.apache.org/licenses/LICENSE-2.0
13
+ *
14
+ * Designed and built with all the love in the world @twitter by @mdo and @fat.
15
+ */
16
+ .clearfix {
17
+ *zoom: 1;
18
+ }
19
+ .clearfix:before,
20
+ .clearfix:after {
21
+ display: table;
22
+ content: "";
23
+ line-height: 0;
24
+ }
25
+ .clearfix:after {
26
+ clear: both;
27
+ }
28
+ .hide-text {
29
+ font: 0/0 a;
30
+ color: transparent;
31
+ text-shadow: none;
32
+ background-color: transparent;
33
+ border: 0;
34
+ }
35
+ .input-block-level {
36
+ display: block;
37
+ width: 100%;
38
+ min-height: 30px;
39
+ -webkit-box-sizing: border-box;
40
+ -moz-box-sizing: border-box;
41
+ box-sizing: border-box;
42
+ }
43
+ .btn {
44
+ display: inline-block;
45
+ *display: inline;
46
+ /* IE7 inline-block hack */
47
+
48
+ *zoom: 1;
49
+ padding: 4px 12px;
50
+ margin-bottom: 0;
51
+ font-size: 14px;
52
+ line-height: 20px;
53
+ text-align: center;
54
+ vertical-align: middle;
55
+ cursor: pointer;
56
+ color: #333333;
57
+ text-shadow: 0 1px 1px rgba(255, 255, 255, 0.75);
58
+ background-color: #f5f5f5;
59
+ background-image: -moz-linear-gradient(top, #ffffff, #e6e6e6);
60
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ffffff), to(#e6e6e6));
61
+ background-image: -webkit-linear-gradient(top, #ffffff, #e6e6e6);
62
+ background-image: -o-linear-gradient(top, #ffffff, #e6e6e6);
63
+ background-image: linear-gradient(to bottom, #ffffff, #e6e6e6);
64
+ background-repeat: repeat-x;
65
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffffffff', endColorstr='#ffe6e6e6', GradientType=0);
66
+ border-color: #e6e6e6 #e6e6e6 #bfbfbf;
67
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
68
+ *background-color: #e6e6e6;
69
+ /* Darken IE7 buttons by default so they stand out more given they won't have borders */
70
+
71
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
72
+ border: 1px solid #cccccc;
73
+ *border: 0;
74
+ border-bottom-color: #b3b3b3;
75
+ -webkit-border-radius: 4px;
76
+ -moz-border-radius: 4px;
77
+ border-radius: 4px;
78
+ *margin-left: .3em;
79
+ -webkit-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
80
+ -moz-box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
81
+ box-shadow: inset 0 1px 0 rgba(255,255,255,.2), 0 1px 2px rgba(0,0,0,.05);
82
+ }
83
+ .btn:hover,
84
+ .btn:focus,
85
+ .btn:active,
86
+ .btn.active,
87
+ .btn.disabled,
88
+ .btn[disabled] {
89
+ color: #333333;
90
+ background-color: #e6e6e6;
91
+ *background-color: #d9d9d9;
92
+ }
93
+ .btn:active,
94
+ .btn.active {
95
+ background-color: #cccccc \9;
96
+ }
97
+ .btn:first-child {
98
+ *margin-left: 0;
99
+ }
100
+ .btn:hover,
101
+ .btn:focus {
102
+ color: #333333;
103
+ text-decoration: none;
104
+ background-position: 0 -15px;
105
+ -webkit-transition: background-position 0.1s linear;
106
+ -moz-transition: background-position 0.1s linear;
107
+ -o-transition: background-position 0.1s linear;
108
+ transition: background-position 0.1s linear;
109
+ }
110
+ .btn:focus {
111
+ outline: thin dotted #333;
112
+ outline: 5px auto -webkit-focus-ring-color;
113
+ outline-offset: -2px;
114
+ }
115
+ .btn.active,
116
+ .btn:active {
117
+ background-image: none;
118
+ outline: 0;
119
+ -webkit-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
120
+ -moz-box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
121
+ box-shadow: inset 0 2px 4px rgba(0,0,0,.15), 0 1px 2px rgba(0,0,0,.05);
122
+ }
123
+ .btn.disabled,
124
+ .btn[disabled] {
125
+ cursor: default;
126
+ background-image: none;
127
+ opacity: 0.65;
128
+ filter: alpha(opacity=65);
129
+ -webkit-box-shadow: none;
130
+ -moz-box-shadow: none;
131
+ box-shadow: none;
132
+ }
133
+ .btn-large {
134
+ padding: 11px 19px;
135
+ font-size: 17.5px;
136
+ -webkit-border-radius: 6px;
137
+ -moz-border-radius: 6px;
138
+ border-radius: 6px;
139
+ }
140
+ .btn-large [class^="icon-"],
141
+ .btn-large [class*=" icon-"] {
142
+ margin-top: 4px;
143
+ }
144
+ .btn-small {
145
+ padding: 2px 10px;
146
+ font-size: 11.9px;
147
+ -webkit-border-radius: 3px;
148
+ -moz-border-radius: 3px;
149
+ border-radius: 3px;
150
+ }
151
+ .btn-small [class^="icon-"],
152
+ .btn-small [class*=" icon-"] {
153
+ margin-top: 0;
154
+ }
155
+ .btn-mini [class^="icon-"],
156
+ .btn-mini [class*=" icon-"] {
157
+ margin-top: -1px;
158
+ }
159
+ .btn-mini {
160
+ padding: 0 6px;
161
+ font-size: 10.5px;
162
+ -webkit-border-radius: 3px;
163
+ -moz-border-radius: 3px;
164
+ border-radius: 3px;
165
+ }
166
+ .btn-block {
167
+ display: block;
168
+ width: 100%;
169
+ padding-left: 0;
170
+ padding-right: 0;
171
+ -webkit-box-sizing: border-box;
172
+ -moz-box-sizing: border-box;
173
+ box-sizing: border-box;
174
+ }
175
+ .btn-block + .btn-block {
176
+ margin-top: 5px;
177
+ }
178
+ input[type="submit"].btn-block,
179
+ input[type="reset"].btn-block,
180
+ input[type="button"].btn-block {
181
+ width: 100%;
182
+ }
183
+ .btn-primary.active,
184
+ .btn-warning.active,
185
+ .btn-danger.active,
186
+ .btn-success.active,
187
+ .btn-info.active,
188
+ .btn-inverse.active {
189
+ color: rgba(255, 255, 255, 0.75);
190
+ }
191
+ .btn-primary {
192
+ color: #ffffff;
193
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
194
+ background-color: #006dcc;
195
+ background-image: -moz-linear-gradient(top, #0088cc, #0044cc);
196
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#0088cc), to(#0044cc));
197
+ background-image: -webkit-linear-gradient(top, #0088cc, #0044cc);
198
+ background-image: -o-linear-gradient(top, #0088cc, #0044cc);
199
+ background-image: linear-gradient(to bottom, #0088cc, #0044cc);
200
+ background-repeat: repeat-x;
201
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff0088cc', endColorstr='#ff0044cc', GradientType=0);
202
+ border-color: #0044cc #0044cc #002a80;
203
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
204
+ *background-color: #0044cc;
205
+ /* Darken IE7 buttons by default so they stand out more given they won't have borders */
206
+
207
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
208
+ }
209
+ .btn-primary:hover,
210
+ .btn-primary:focus,
211
+ .btn-primary:active,
212
+ .btn-primary.active,
213
+ .btn-primary.disabled,
214
+ .btn-primary[disabled] {
215
+ color: #ffffff;
216
+ background-color: #0044cc;
217
+ *background-color: #003bb3;
218
+ }
219
+ .btn-primary:active,
220
+ .btn-primary.active {
221
+ background-color: #003399 \9;
222
+ }
223
+ .btn-warning {
224
+ color: #ffffff;
225
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
226
+ background-color: #faa732;
227
+ background-image: -moz-linear-gradient(top, #fbb450, #f89406);
228
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#fbb450), to(#f89406));
229
+ background-image: -webkit-linear-gradient(top, #fbb450, #f89406);
230
+ background-image: -o-linear-gradient(top, #fbb450, #f89406);
231
+ background-image: linear-gradient(to bottom, #fbb450, #f89406);
232
+ background-repeat: repeat-x;
233
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#fffbb450', endColorstr='#fff89406', GradientType=0);
234
+ border-color: #f89406 #f89406 #ad6704;
235
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
236
+ *background-color: #f89406;
237
+ /* Darken IE7 buttons by default so they stand out more given they won't have borders */
238
+
239
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
240
+ }
241
+ .btn-warning:hover,
242
+ .btn-warning:focus,
243
+ .btn-warning:active,
244
+ .btn-warning.active,
245
+ .btn-warning.disabled,
246
+ .btn-warning[disabled] {
247
+ color: #ffffff;
248
+ background-color: #f89406;
249
+ *background-color: #df8505;
250
+ }
251
+ .btn-warning:active,
252
+ .btn-warning.active {
253
+ background-color: #c67605 \9;
254
+ }
255
+ .btn-danger {
256
+ color: #ffffff;
257
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
258
+ background-color: #da4f49;
259
+ background-image: -moz-linear-gradient(top, #ee5f5b, #bd362f);
260
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#ee5f5b), to(#bd362f));
261
+ background-image: -webkit-linear-gradient(top, #ee5f5b, #bd362f);
262
+ background-image: -o-linear-gradient(top, #ee5f5b, #bd362f);
263
+ background-image: linear-gradient(to bottom, #ee5f5b, #bd362f);
264
+ background-repeat: repeat-x;
265
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ffee5f5b', endColorstr='#ffbd362f', GradientType=0);
266
+ border-color: #bd362f #bd362f #802420;
267
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
268
+ *background-color: #bd362f;
269
+ /* Darken IE7 buttons by default so they stand out more given they won't have borders */
270
+
271
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
272
+ }
273
+ .btn-danger:hover,
274
+ .btn-danger:focus,
275
+ .btn-danger:active,
276
+ .btn-danger.active,
277
+ .btn-danger.disabled,
278
+ .btn-danger[disabled] {
279
+ color: #ffffff;
280
+ background-color: #bd362f;
281
+ *background-color: #a9302a;
282
+ }
283
+ .btn-danger:active,
284
+ .btn-danger.active {
285
+ background-color: #942a25 \9;
286
+ }
287
+ .btn-success {
288
+ color: #ffffff;
289
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
290
+ background-color: #5bb75b;
291
+ background-image: -moz-linear-gradient(top, #62c462, #51a351);
292
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#62c462), to(#51a351));
293
+ background-image: -webkit-linear-gradient(top, #62c462, #51a351);
294
+ background-image: -o-linear-gradient(top, #62c462, #51a351);
295
+ background-image: linear-gradient(to bottom, #62c462, #51a351);
296
+ background-repeat: repeat-x;
297
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff62c462', endColorstr='#ff51a351', GradientType=0);
298
+ border-color: #51a351 #51a351 #387038;
299
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
300
+ *background-color: #51a351;
301
+ /* Darken IE7 buttons by default so they stand out more given they won't have borders */
302
+
303
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
304
+ }
305
+ .btn-success:hover,
306
+ .btn-success:focus,
307
+ .btn-success:active,
308
+ .btn-success.active,
309
+ .btn-success.disabled,
310
+ .btn-success[disabled] {
311
+ color: #ffffff;
312
+ background-color: #51a351;
313
+ *background-color: #499249;
314
+ }
315
+ .btn-success:active,
316
+ .btn-success.active {
317
+ background-color: #408140 \9;
318
+ }
319
+ .btn-info {
320
+ color: #ffffff;
321
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
322
+ background-color: #49afcd;
323
+ background-image: -moz-linear-gradient(top, #5bc0de, #2f96b4);
324
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#5bc0de), to(#2f96b4));
325
+ background-image: -webkit-linear-gradient(top, #5bc0de, #2f96b4);
326
+ background-image: -o-linear-gradient(top, #5bc0de, #2f96b4);
327
+ background-image: linear-gradient(to bottom, #5bc0de, #2f96b4);
328
+ background-repeat: repeat-x;
329
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff5bc0de', endColorstr='#ff2f96b4', GradientType=0);
330
+ border-color: #2f96b4 #2f96b4 #1f6377;
331
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
332
+ *background-color: #2f96b4;
333
+ /* Darken IE7 buttons by default so they stand out more given they won't have borders */
334
+
335
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
336
+ }
337
+ .btn-info:hover,
338
+ .btn-info:focus,
339
+ .btn-info:active,
340
+ .btn-info.active,
341
+ .btn-info.disabled,
342
+ .btn-info[disabled] {
343
+ color: #ffffff;
344
+ background-color: #2f96b4;
345
+ *background-color: #2a85a0;
346
+ }
347
+ .btn-info:active,
348
+ .btn-info.active {
349
+ background-color: #24748c \9;
350
+ }
351
+ .btn-inverse {
352
+ color: #ffffff;
353
+ text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
354
+ background-color: #363636;
355
+ background-image: -moz-linear-gradient(top, #444444, #222222);
356
+ background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#444444), to(#222222));
357
+ background-image: -webkit-linear-gradient(top, #444444, #222222);
358
+ background-image: -o-linear-gradient(top, #444444, #222222);
359
+ background-image: linear-gradient(to bottom, #444444, #222222);
360
+ background-repeat: repeat-x;
361
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#ff444444', endColorstr='#ff222222', GradientType=0);
362
+ border-color: #222222 #222222 #000000;
363
+ border-color: rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.1) rgba(0, 0, 0, 0.25);
364
+ *background-color: #222222;
365
+ /* Darken IE7 buttons by default so they stand out more given they won't have borders */
366
+
367
+ filter: progid:DXImageTransform.Microsoft.gradient(enabled = false);
368
+ }
369
+ .btn-inverse:hover,
370
+ .btn-inverse:focus,
371
+ .btn-inverse:active,
372
+ .btn-inverse.active,
373
+ .btn-inverse.disabled,
374
+ .btn-inverse[disabled] {
375
+ color: #ffffff;
376
+ background-color: #222222;
377
+ *background-color: #151515;
378
+ }
379
+ .btn-inverse:active,
380
+ .btn-inverse.active {
381
+ background-color: #080808 \9;
382
+ }
383
+ button.btn,
384
+ input[type="submit"].btn {
385
+ *padding-top: 3px;
386
+ *padding-bottom: 3px;
387
+ }
388
+ button.btn::-moz-focus-inner,
389
+ input[type="submit"].btn::-moz-focus-inner {
390
+ padding: 0;
391
+ border: 0;
392
+ }
393
+ button.btn.btn-large,
394
+ input[type="submit"].btn.btn-large {
395
+ *padding-top: 7px;
396
+ *padding-bottom: 7px;
397
+ }
398
+ button.btn.btn-small,
399
+ input[type="submit"].btn.btn-small {
400
+ *padding-top: 3px;
401
+ *padding-bottom: 3px;
402
+ }
403
+ button.btn.btn-mini,
404
+ input[type="submit"].btn.btn-mini {
405
+ *padding-top: 1px;
406
+ *padding-bottom: 1px;
407
+ }
408
+ .btn-link,
409
+ .btn-link:active,
410
+ .btn-link[disabled] {
411
+ background-color: transparent;
412
+ background-image: none;
413
+ -webkit-box-shadow: none;
414
+ -moz-box-shadow: none;
415
+ box-shadow: none;
416
+ }
417
+ .btn-link {
418
+ border-color: transparent;
419
+ cursor: pointer;
420
+ color: #0088cc;
421
+ -webkit-border-radius: 0;
422
+ -moz-border-radius: 0;
423
+ border-radius: 0;
424
+ }
425
+ .btn-link:hover,
426
+ .btn-link:focus {
427
+ color: #005580;
428
+ text-decoration: underline;
429
+ background-color: transparent;
430
+ }
431
+ .btn-link[disabled]:hover,
432
+ .btn-link[disabled]:focus {
433
+ color: #333333;
434
+ text-decoration: none;
435
+ }
css/button-shadow.png DELETED
Binary file
css/flat-ui-custom.css ADDED
@@ -0,0 +1,212 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /*** Flat UI styles only ***/
2
+
3
+ /* Some elements of this plugin are derived from the Flat UI design framework at
4
+ * http://designmodo.github.io/Flat-UI/ and http://designmodo.com/flat/
5
+ */
6
+
7
+ @import url("https://fonts.googleapis.com/css?family=Lato:400,700,700italic,900,400italic,300");
8
+ @font-face {
9
+ font-family: "Flat-UI-Icons";
10
+ src: url("../fonts/Flat-UI-Icons.eot");
11
+ src: url("../fonts/Flat-UI-Icons.eot?#iefix") format("embedded-opentype"), url("../fonts/Flat-UI-Icons.woff") format("woff"), url("../fonts/Flat-UI-Icons.ttf") format("truetype"), url("../fonts/Flat-UI-Icons.svg#Flat-UI-Icons") format("svg");
12
+ font-weight: normal;
13
+ font-style: normal;
14
+ }
15
+ /* Use the following CSS code if you want to use data attributes for inserting your icons */
16
+ [data-icon]:before {
17
+ font-family: 'Flat-UI-Icons';
18
+ content: attr(data-icon);
19
+ speak: none;
20
+ font-weight: normal;
21
+ font-variant: normal;
22
+ text-transform: none;
23
+ -webkit-font-smoothing: antialiased;
24
+ }
25
+
26
+ /*** Glyphs ***/
27
+
28
+ .fui-arrow-right,
29
+ .fui-check,
30
+ .fui-cross,
31
+ .fui-pinterest {
32
+ display: inline-block;
33
+ font-family: 'Flat-UI-Icons';
34
+ speak: none;
35
+ font-style: normal;
36
+ font-weight: normal;
37
+ font-variant: normal;
38
+ text-transform: none;
39
+ -webkit-font-smoothing: antialiased;
40
+ }
41
+ .fui-arrow-right:before {
42
+ content: "\e02c";
43
+ }
44
+ .fui-check:before {
45
+ content: "\e00a";
46
+ }
47
+ .fui-cross:before {
48
+ content: "\e00b";
49
+ }
50
+ .fui-pinterest:before {
51
+ content: "\e046";
52
+ }
53
+ /* 62px */
54
+ /* 52px */
55
+ /* 40px */
56
+ /* 29px */
57
+ /* 28px */
58
+ /* 24px */
59
+
60
+ /*** Button base ***/
61
+
62
+ .btn,
63
+ .btn-group > .btn,
64
+ .btn-group > .dropdown-menu,
65
+ .btn-group > .popover {
66
+ font-size: 14.994px;
67
+ /* 15px */
68
+
69
+ font-weight: 500;
70
+ }
71
+ .btn {
72
+ border: none;
73
+ background: #bdc3c7;
74
+ color: #ffffff;
75
+ padding: 9px 12px 10px;
76
+ line-height: 22px;
77
+ text-decoration: none;
78
+ text-shadow: none;
79
+ -webkit-border-radius: 6px;
80
+ -moz-border-radius: 6px;
81
+ border-radius: 6px;
82
+ -webkit-box-shadow: none;
83
+ -moz-box-shadow: none;
84
+ box-shadow: none;
85
+ -webkit-transition: 0.25s;
86
+ -moz-transition: 0.25s;
87
+ -o-transition: 0.25s;
88
+ transition: 0.25s;
89
+ -webkit-backface-visibility: hidden;
90
+ }
91
+ .btn:hover,
92
+ .btn:focus,
93
+ .btn-group:focus .btn.dropdown-toggle {
94
+ background-color: #cacfd2;
95
+ color: #ffffff;
96
+ outline: none;
97
+ -webkit-transition: 0.25s;
98
+ -moz-transition: 0.25s;
99
+ -o-transition: 0.25s;
100
+ transition: 0.25s;
101
+ -webkit-backface-visibility: hidden;
102
+ }
103
+ .btn:active,
104
+ .btn-group.open .btn.dropdown-toggle,
105
+ .btn.active {
106
+ background-color: #a1a6a9;
107
+ color: rgba(255, 255, 255, 0.75);
108
+ -webkit-box-shadow: none;
109
+ -moz-box-shadow: none;
110
+ box-shadow: none;
111
+ }
112
+ .btn.disabled,
113
+ .btn[disabled] {
114
+ background-color: #bdc3c7;
115
+ color: rgba(255, 255, 255, 0.75);
116
+ -webkit-box-shadow: none;
117
+ -moz-box-shadow: none;
118
+ box-shadow: none;
119
+ opacity: 0.7;
120
+ filter: alpha(opacity=70);
121
+ }
122
+ .btn.btn-huge {
123
+ font-size: 21.994px;
124
+ /* 22px */
125
+
126
+ line-height: 22px;
127
+ padding: 15px 20px 16px;
128
+ }
129
+ .btn.btn-huge > [class^="fui-"] {
130
+ top: 1px;
131
+ }
132
+ .btn.btn-huge > [class^="fui-"].pull-right {
133
+ margin-right: -2px;
134
+ }
135
+ .btn.btn-large {
136
+ font-size: 16.996px;
137
+ /* 17px */
138
+
139
+ line-height: 20px;
140
+ padding: 12px 18px 13px;
141
+ }
142
+ .btn.btn-large > [class^="fui-"] {
143
+ top: 0;
144
+ }
145
+ .btn.btn-large > [class^="fui-"].pull-right {
146
+ margin-right: -2px;
147
+ }
148
+ .btn.btn-small {
149
+ font-size: 12.992px;
150
+ /* 13px */
151
+
152
+ line-height: 20px;
153
+ padding: 6px 13px 8px;
154
+ }
155
+ .btn.btn-small > [class^="fui-"] {
156
+ top: 1px;
157
+ }
158
+ .btn.btn-mini {
159
+ font-size: 11.998px;
160
+ /* 12px */
161
+
162
+ padding: 8px 13px 9px;
163
+ line-height: 1.2;
164
+ }
165
+ .btn.btn-mini > [class^="fui-"] {
166
+ top: 0;
167
+ }
168
+ .btn.btn-embossed {
169
+ -webkit-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.15);
170
+ -moz-box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.15);
171
+ box-shadow: inset 0 -2px 0 rgba(0, 0, 0, 0.15);
172
+ }
173
+ .btn.btn-embossed.active,
174
+ .btn.btn-embossed:active {
175
+ -webkit-box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.15);
176
+ -moz-box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.15);
177
+ box-shadow: inset 0 2px 0 rgba(0, 0, 0, 0.15);
178
+ }
179
+ .btn.btn-wide {
180
+ min-width: 140px;
181
+ padding-left: 30px;
182
+ padding-right: 30px;
183
+ }
184
+
185
+ /*** Button palettes ***/
186
+
187
+ .btn.btn-danger {
188
+ background-color: #e74c3c;
189
+ }
190
+ .btn.btn-danger:hover,
191
+ .btn.btn-danger:focus,
192
+ .btn-group:focus .btn.btn-danger.dropdown-toggle {
193
+ background-color: #ec7063;
194
+ }
195
+ .btn.btn-danger:active,
196
+ .btn-group.open .btn.btn-danger.dropdown-toggle,
197
+ .btn.btn-danger.active {
198
+ background-color: #c44133;
199
+ }
200
+ .btn.btn-inverse {
201
+ background-color: #34495e;
202
+ }
203
+ .btn.btn-inverse:hover,
204
+ .btn.btn-inverse:focus,
205
+ .btn-group:focus .btn.btn-inverse.dropdown-toggle {
206
+ background-color: #415b76;
207
+ }
208
+ .btn.btn-inverse:active,
209
+ .btn-group.open .btn.btn-inverse.dropdown-toggle,
210
+ .btn.btn-inverse.active {
211
+ background-color: #2c3e50;
212
+ }
css/index.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php // Silence is golden ?>
css/pinterest-pin-it-button-admin.css DELETED
@@ -1,180 +0,0 @@
1
- /* Pinterest "Pin It" Button Admin CSS */
2
-
3
- #icon-pib-icon32 {
4
- background: transparent url('../img/pinterest-button-icon-med.png') no-repeat;
5
- }
6
-
7
- .postbox .pib-hndle {
8
- cursor: pointer;
9
- }
10
-
11
- .form-table {
12
- margin-bottom: 10px !important;
13
- }
14
-
15
- /* Shrink WP admin cell height defaults */
16
- .form-table td {
17
- padding: 1px 10px;
18
- }
19
-
20
- /* Now back to WP admin cell height defaults */
21
- .form-table .pib-input-cell {
22
- padding: 8px 10px;
23
- }
24
-
25
- /* TODO: Flip flop above 2 classes - use native CSS where possible */
26
-
27
- .form-table label {
28
- padding-left: 3px;
29
- }
30
- .form-table input[type="checkbox"] {
31
- margin-right: 5px;
32
- width: auto;
33
- }
34
-
35
- .form-table textarea {
36
- line-height: 1.3em;
37
- width: 350px;
38
- }
39
-
40
- .form-table .pib-pad-cell-top {
41
- padding-top: 7px;
42
- }
43
-
44
- .form-table .pib-plain-label {
45
- margin: 0;
46
- padding: 0;
47
- }
48
-
49
- .pib-admin-upgrade-banner-top {
50
- margin-top: 5px;
51
- }
52
-
53
- .pib-admin-upgrade-banner-top img {
54
- border: 1px solid #ccc;
55
- }
56
-
57
- #share_plugin_buttons td {
58
- padding-right: 10px;
59
- vertical-align: top;
60
- }
61
-
62
- #pib_license_key {
63
- width: 250px;
64
- }
65
-
66
- #custom_css {
67
- width: 100%;
68
- }
69
-
70
- .inside li .label {
71
- vertical-align: top;
72
- }
73
-
74
- .pib-submit-settings {
75
- padding-bottom: 1.5em;
76
- }
77
-
78
- .pib-no-margin,
79
- .pib-no-margin td {
80
- margin: 0;
81
- padding: 0;
82
- }
83
-
84
- .pib-upgrade-to-pro {
85
- font: italic 12px sans-serif;
86
- }
87
-
88
- .pib-upgrade-to-pro a {
89
- font-weight: bold;
90
- }
91
-
92
- /* Pro Upgrade Styles */
93
-
94
- /* from twitter bootstrap labels */
95
- .pib-pro-label {
96
- font: bold 12px sans-serif;
97
- line-height: 14px;
98
- color: #ffffff;
99
- text-shadow: 0 -1px 0 rgba(0, 0, 0, 0.25);
100
- white-space: nowrap;
101
- vertical-align: baseline;
102
- background-color: #999; /* red: #b94a48 */
103
- padding: 1px 4px 2px;
104
- -webkit-border-radius: 3px;
105
- -moz-border-radius: 3px;
106
- border-radius: 3px;
107
- margin-left: 10px;
108
- }
109
-
110
- .disabled {
111
- color: #999;
112
- cursor: inherit;
113
- }
114
-
115
- /* External link icon */
116
- a.external {
117
- background: transparent url('../img/icon-external-link.gif') center right no-repeat;
118
- padding-right: 17px;
119
- }
120
-
121
- /* Custom image button admin section (outside popup) */
122
- #custom_img_btn_select_row td table {
123
- padding-left: 6px;
124
- }
125
-
126
- /* Custom image button selector table inside thickbox popup (Pro) */
127
- #custom_img_btn_selector_form {
128
- text-align: center;
129
- }
130
-
131
- #custom_img_btn_selector_form table {
132
- margin: 20px auto 0 auto;
133
- }
134
-
135
- #custom_img_btn_selector_form td {
136
- cursor: pointer;
137
- width: 75px;
138
- text-align: center;
139
- height: 50px;
140
- }
141
-
142
- #custom_img_btn_selector_form td:hover {
143
- background-color: #ececec;
144
- }
145
-
146
- #custom_img_btn_selector_form p {
147
- text-align: center;
148
- }
149
-
150
- #custom_img_btn_lite_row td {
151
- padding-right: 15px !important;
152
- }
153
-
154
- /* Custom image button examples thickbox popup (lite) */
155
- #custom_img_btn_examples_container {
156
- text-align: center;
157
- margin-top: 20px;
158
- }
159
-
160
- #custom_img_btn_examples_container .upgrade-text {
161
- line-height: 2em;
162
- }
163
-
164
- /* Repeating button-primary class font color as thickbox styles override it, so we need to override it in turn.
165
- Taken from wp-admin/css/colors-fresh.dev.css */
166
-
167
- #custom_img_btn_examples_container .upgrade-text a.button-primary {
168
- color: #fff;
169
- }
170
-
171
- #custom_img_btn_examples_container .upgrade-text a.button-primary:active {
172
- color: #eaf2fa;
173
- }
174
-
175
- #custom_img_btn_examples_container .upgrade-text a.button-primary:hover,
176
- #custom_img_btn_examples_container .upgrade-text a.button-primary:focus,
177
- #custom_img_btn_examples_container .upgrade-text a.button-primary:active {
178
- border-color: #13455b;
179
- color: #eaf2fa;
180
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
css/pinterest-pin-it-button.css DELETED
@@ -1,206 +0,0 @@
1
- /* Pinterest "Pin It" Button Public CSS */
2
-
3
- /* DIV surrounding button */
4
- .pin-it-btn-wrapper,
5
- .pin-it-btn-wrapper-shortcode,
6
- .pin-it-btn-wrapper-widget {
7
- }
8
-
9
- .pin-it-btn-wrapper {
10
- padding-bottom: 10px;
11
- }
12
-
13
- /* Latest "clear fix" method: http://css-tricks.com/snippets/css/clear-fix/ */
14
- .pib-clearfix:before,
15
- .pib-clearfix:after {
16
- content:"";
17
- display: table;
18
- }
19
- .pib-clearfix:after {
20
- clear: both;
21
- }
22
- .pib-clearfix {
23
- zoom: 1; /* For IE 6/7 (trigger hasLayout) */
24
- }
25
-
26
- .pib-float-left {
27
- float: left;
28
- }
29
-
30
- .pib-float-right {
31
- float: right;
32
- }
33
-
34
- /* DIV surrounding Share Bar */
35
- /* Need to override WP styles with !important tags */
36
-
37
- .pib-sharebar {
38
- padding: 10px 0 5px;
39
- margin: 0;
40
- width: 100% !important;
41
- }
42
-
43
- .pib-sharebar ul,
44
- .pib-sharebar li {
45
- margin: 0 !important;
46
- padding: 0 !important;
47
- list-style: none;
48
- border: none;
49
- background: none;
50
- text-indent: 0;
51
- }
52
-
53
- .pib-sharebar li {
54
- float: left;
55
- margin: 0 5px 5px 0 !important;
56
- display: block;
57
- }
58
-
59
- .pib-sharebar li:before {
60
- content: none !important;
61
- }
62
-
63
- .pib-sharebar li.pib-sharebar-pinterest a {
64
- vertical-align: top !important;
65
- }
66
-
67
- /*** BEGIN Count Bubble CSS ***/
68
- /* Need to override theme styles as much as possible with !important tags */
69
-
70
- table.pib-count-table {
71
- border: 0 !important;
72
- border-collapse: collapse !important;
73
- border-spacing: 0 !important;
74
- margin: 0 !important;
75
- padding: 0 !important;
76
- vertical-align: top !important;
77
- width: auto !important;
78
- }
79
-
80
- table.pib-count-table td {
81
- border: 0 !important;
82
- margin: 0 !important;
83
- padding: 0 !important;
84
- vertical-align: top !important;
85
- }
86
-
87
- table.pib-count-table-horizontal td {
88
- text-align: left !important;
89
- }
90
-
91
- table.pib-count-table-vertical td {
92
- text-align: center !important;
93
- }
94
-
95
- a.pin-it-button-no-iframe,
96
- a.pin-it-button-no-iframe:hover {
97
- background: none !important;
98
- border: 0 !important;
99
- text-decoration: none !important;
100
- width: auto !important;
101
- }
102
-
103
- img.pib-count-img {
104
- border: 0 !important;
105
- margin: 0 !important;
106
- max-width: none !important;
107
- padding: 0 !important;
108
- width: auto !important;
109
- -webkit-box-shadow: 0 0 0 !important;
110
- box-shadow: 0 0 0 !important;
111
- }
112
-
113
- .pib-count-cell {
114
- display: none; /* Initially hidden */
115
- position: relative !important;
116
- }
117
-
118
- table.pib-count-table-horizontal td.pib-count-cell {
119
- padding-left: 4px !important;
120
- }
121
-
122
- table.pib-count-table-vertical td.pib-count-cell {
123
- padding-bottom: 4px !important;
124
- }
125
-
126
- .pib-count-bubble {
127
- background-color: #FCF9F9 !important;
128
- border: 1px solid #C9C5C5 !important;
129
- border-radius: 1px !important;
130
- color: #777 !important;
131
- display: inline-block !important;
132
- position: relative !important;
133
- vertical-align: top !important;
134
- }
135
-
136
- table.pib-count-table-horizontal .pib-count-bubble {
137
- height: 10px !important;
138
- font: 10px/10px Arial, Helvetica, sans-serif !important;
139
- margin: 0 !important;
140
- padding: 3px 5px 4px 5px !important;
141
- text-align: left !important;
142
- width: auto !important;
143
- }
144
-
145
- table.pib-count-table-vertical .pib-count-bubble {
146
- font: 12px/12px Arial, Helvetica, sans-serif !important;
147
- height: 21px !important;
148
- margin: 0 !important;
149
- padding: 9px 0 0 0 !important;
150
- text-align: center !important;
151
- width: 39px !important;
152
- }
153
-
154
- .pib-count-bubble:after,
155
- .pib-count-bubble:before {
156
- border: solid transparent;
157
- content: " ";
158
- height: 0;
159
- width: 0;
160
- position: absolute;
161
- pointer-events: none;
162
- }
163
-
164
- table.pib-count-table-horizontal .pib-count-bubble:after,
165
- table.pib-count-table-horizontal .pib-count-bubble:before {
166
- right: 100%;
167
- }
168
-
169
- table.pib-count-table-vertical .pib-count-bubble:after,
170
- table.pib-count-table-vertical .pib-count-bubble:before {
171
- top: 100%;
172
- }
173
-
174
- .pib-count-bubble:after {
175
- border-width: 3px;
176
- }
177
-
178
- table.pib-count-table-horizontal .pib-count-bubble:after {
179
- border-right-color: #FCF9F9;
180
- top: 50%;
181
- margin-top: -3px;
182
- }
183
-
184
- table.pib-count-table-vertical .pib-count-bubble:after {
185
- border-top-color: #FCF9F9;
186
- left: 50%;
187
- margin-left: -3px;
188
- }
189
-
190
- .pib-count-bubble:before {
191
- border-width: 4px;
192
- }
193
-
194
- table.pib-count-table-horizontal .pib-count-bubble:before {
195
- border-right-color: #C9C5C5;
196
- top: 50%;
197
- margin-top: -4px;
198
- }
199
-
200
- table.pib-count-table-vertical .pib-count-bubble:before {
201
- border-top-color: #C9C5C5;
202
- left: 50%;
203
- margin-left: -4px;
204
- }
205
-
206
- /*** END Count Bubble CSS ***/
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
css/public.css ADDED
@@ -0,0 +1,63 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* This stylesheet is used to style the public view of the plugin. */
2
+
3
+ /* Pinterest "Pin It" Button Public CSS */
4
+
5
+ /***
6
+ *
7
+ * DIV surrounding button
8
+ *
9
+ ***/
10
+ div.pin-it-btn-wrapper,
11
+ div.pin-it-btn-wrapper-shortcode,
12
+ div.pin-it-btn-wrapper-widget {
13
+ }
14
+
15
+ div.pin-it-btn-wrapper {
16
+ padding-bottom: 10px;
17
+ position: relative;
18
+ clear: both;
19
+ }
20
+
21
+ div.pin-it-btn-wrapper a,
22
+ div.pin-it-btn-wrapper a:hover,
23
+ div.pin-it-btn-wrapper-shortcode a,
24
+ div.pin-it-btn-wrapper-shortcode a:hover,
25
+ div.pin-it-btn-wrapper-widget a,
26
+ div.pin-it-btn-wrapper-widget a:hover {
27
+ background: none;
28
+ border: 0;
29
+ text-decoration: none;
30
+ width: auto;
31
+ margin: 0;
32
+ max-width: none;
33
+ padding: 0;
34
+ -webkit-box-shadow: 0 0 0;
35
+ box-shadow: 0 0 0;
36
+ -webkit-border-radius: 0;
37
+ border-radius: 0;
38
+ }
39
+
40
+ /* Latest "clearfix" utility class from Bootstrap 3 */
41
+ .pib-clearfix:before,
42
+ .pib-clearfix:after {
43
+ display: table;
44
+ content: " ";
45
+ }
46
+
47
+ .pib-clearfix:after {
48
+ clear: both;
49
+ }
50
+
51
+ /* Align left/right/center options */
52
+
53
+ .pib-align-left {
54
+ text-align: left;
55
+ }
56
+
57
+ .pib-align-right {
58
+ text-align: right;
59
+ }
60
+
61
+ .pib-align-center {
62
+ text-align: center;
63
+ }
fonts/Flat-UI-Icons.dev.svg ADDED
@@ -0,0 +1,470 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
+ <svg xmlns="http://www.w3.org/2000/svg">
4
+ <metadata>
5
+ This is a custom SVG font generated by IcoMoon.
6
+ <iconset id="Flat-UI-Icons" name="Flat UI Icons" href="http://designmodo.com/flat" grid="16"></iconset><author name="Sergey Shmidt" href="http://designmodo.com"></author><license name="Attribution-NonCommercial-NoDerivs 3.0 Unported" href="http://creativecommons.org/licenses/by-nc-nd/3.0/"></license>
7
+ </metadata>
8
+ <defs>
9
+ <font id="Flat-UI-Icons" horiz-adv-x="512" >
10
+ <font-face units-per-em="512" ascent="480" descent="-32" />
11
+ <missing-glyph horiz-adv-x="512" />
12
+ <glyph unicode="&#xe000;" d="M 448.00,127.808L 256.00,384.00L 64.00,128.00L 448.00,127.808z" data-tags="triangle-up" />
13
+ <glyph unicode="&#xe001;" d="M 447.744,96.064L 64.00,96.064 L 255.872,288.00L 447.744,96.064z" data-tags="triangle-up-small" />
14
+ <glyph unicode="&#xe002;" d="M 64.00,416.00l 384.00-224.032L 64.00-31.968L 64.00,416.00 z" data-tags="triangle-right-large" />
15
+ <glyph unicode="&#xe003;" d="M 448.00-31.968L 64.00,191.968L 448.00,416.00L 448.00-31.968 z" data-tags="triangle-left-large" />
16
+ <glyph unicode="&#xe004;" d="M 64.00,320.00l 192.00-256.192L 448.00,320.00L 64.00,320.00 z" data-tags="triangle-down" />
17
+ <glyph unicode="&#xe016;" d="M 256.00,480.00C 114.624,480.00,0.00,365.376,0.00,224.00c0.00-141.344, 114.624-256.00, 256.00-256.00c 141.408,0.00, 256.00,114.624, 256.00,256.00C 512.00,365.376, 397.408,480.00, 256.00,480.00z M 288.384,97.568
18
+ c0.00-18.528-14.496-33.536-32.384-33.536s-32.384,15.008-32.384,33.536L 223.616,254.112 C 223.616,272.64, 238.112,287.648, 256.00,287.648S 288.384,272.64, 288.384,254.112L 288.384,97.568 z
19
+ M 256.00,320.16c-17.888,0.00-32.384,14.304-32.384,31.936S 238.112,383.968, 256.00,383.968s 32.384-14.272, 32.384-31.904S 273.888,320.16, 256.00,320.16z" data-tags="info" />
20
+ <glyph unicode="&#xe017;" d="M 256.00,480.00C 114.624,480.00,0.00,365.376,0.00,224.00c0.00-141.376, 114.624-256.00, 256.00-256.00c 141.376,0.00, 256.00,114.624, 256.00,256.00C 512.00,365.376, 397.376,480.00, 256.00,480.00z M 256.00,64.032
21
+ c-17.888,0.00-32.384,14.272-32.384,31.904c0.00,17.60, 14.496,31.904, 32.384,31.904c 17.888,0.00, 32.384-14.304, 32.384-31.904
22
+ C 288.384,78.304, 273.888,64.032, 256.00,64.032z M 288.384,193.888C 288.384,175.36, 273.888,160.352, 256.00,160.352c-17.888,0.00-32.384,15.04-32.384,33.536L 223.616,350.432
23
+ c0.00,18.528, 14.496,33.536, 32.384,33.536c 17.888,0.00, 32.384-15.04, 32.384-33.536L 288.384,193.888 z" data-tags="alert" />
24
+ <glyph unicode="&#xe018;" d="M 256.00-32.00c-141.376,0.00-256.00,114.624-256.00,256.00c0.00,141.344, 114.624,256.00, 256.00,256.00c 141.376,0.00, 256.00-114.624, 256.00-256.00C 512.00,82.624, 397.376-32.00, 256.00-32.00z M 256.00,64.032
25
+ c 17.888,0.00, 32.384,14.272, 32.384,31.904c0.00,17.60-14.496,31.904-32.384,31.904c-17.888,0.00-32.384-14.304-32.384-31.904
26
+ C 223.616,78.304, 238.112,64.032, 256.00,64.032z M 325.376,362.144C 308.416,376.096, 284.256,383.872, 255.36,383.872c-21.28,0.00-39.456-3.84-55.072-10.08
27
+ C 192.00,370.432, 165.472,353.952, 159.968,349.344l 16.192-24.16c 2.656-4.672, 6.976-7.04, 12.96-7.04c 2.496,0.00, 5.312,0.992, 8.48,2.944
28
+ c 2.304,1.44, 20.544,10.848, 28.256,13.184c 16.16,4.80, 33.92,2.848, 42.08,0.32c 11.136-3.424, 19.20-9.952, 23.68-18.88
29
+ c 2.944-5.888, 6.688-22.08-2.112-37.216C 282.176,265.952, 270.72,256.416, 258.08,247.968C 251.328,243.36, 245.056,238.656, 239.392,233.76
30
+ c-0.256,0.00-0.896-0.48-2.336-1.76C 237.76,232.608, 238.688,233.152, 239.392,233.76C 240.992,233.824, 224.00,212.096, 224.00,192.00c0.00-21.44,0.00-32.00,0.00-32.00l 64.00,0.00 L 288.00,192.00
31
+ c0.00,16.64, 8.064,25.984, 8.224,28.352c 5.504,3.936, 30.528,23.072, 36.48,29.952C 343.808,263.104, 352.00,280.00, 352.00,303.808
32
+ C 352.00,328.224, 342.304,348.224, 325.376,362.144z" data-tags="question" />
33
+ <glyph unicode="&#xe019;" d="M 448.00,480.00L 64.00,480.00 C 28.672,480.00,0.00,451.328,0.00,416.00l0.00-384.00 c0.00-35.328, 28.672-64.00, 64.00-64.00l 384.00,0.00 c 35.328,0.00, 64.00,28.672, 64.00,64.00L 512.00,416.00 C 512.00,451.328, 483.328,480.00, 448.00,480.00z M 192.00,447.968
34
+ c 17.664,0.00, 32.00-14.304, 32.00-31.968c0.00-17.696-14.336-32.00-32.00-32.00S 160.00,398.304, 160.00,416.00C 160.00,433.664, 174.336,447.968, 192.00,447.968z M 96.00,447.968c 17.664,0.00, 32.00-14.304, 32.00-31.968
35
+ c0.00-17.696-14.336-32.00-32.00-32.00S 64.00,398.304, 64.00,416.00C 64.00,433.664, 78.336,447.968, 96.00,447.968z M 448.032,32.00L 64.00,32.00 L 64.00,352.00 l 384.032,0.00 L 448.032,32.00 z" data-tags="window" />
36
+ <glyph unicode="&#xe01a;" d="M 469.376,383.872l-53.344,0.00L 416.032,437.184 c0.00,23.552-19.104,42.656-42.656,42.656L 42.656,479.84 c-23.552,0.00-42.656-19.104-42.656-42.656l0.00-330.336
37
+ c0.00-23.584, 18.624-42.688, 41.568-42.688l 54.432,0.00 l0.00-53.344 c0.00-23.552, 18.624-42.656, 41.568-42.656l 332.896,0.00 c 22.976,0.00, 41.60,19.104, 41.60,42.656L 512.064,341.184
38
+ C 512.032,364.736, 492.928,383.872, 469.376,383.872z M 192.00,447.808c 17.664,0.00, 32.00-14.304, 32.00-31.968c0.00-17.696-14.336-32.00-32.00-32.00s-32.00,14.304-32.00,32.00
39
+ C 160.00,433.504, 174.336,447.808, 192.00,447.808z M 96.00,447.808c 17.664,0.00, 32.00-14.304, 32.00-31.968c0.00-17.696-14.336-32.00-32.00-32.00s-32.00,14.304-32.00,32.00C 64.00,433.504, 78.336,447.808, 96.00,447.808z
40
+ M 64.00,127.84l-0.032,224.00L 352.00,351.84 l0.00-224.00 L 64.00,127.84 z M 448.00,31.84L 160.00,31.84 l0.00,32.32 l 214.432,0.00 c 22.976,0.00, 41.60,19.104, 41.60,42.688L 416.032,255.84 L 448.00,255.84 L 448.00,31.84 z" data-tags="windows" />
41
+ <glyph unicode="&#xe02c;" d="M 192.576-33.056l-64.096,64.128l 160.544,160.448L 128.448,350.496l 64.00,65.504l 223.584-223.616L 192.576-33.056z" data-tags="arrow-right" />
42
+ <glyph unicode="&#xe02d;" d="M 96.48,192.384L 320.064,416.00l 64.00-65.504L 223.488,191.488l 160.576-160.448l-64.128-64.128L 96.48,192.384z" data-tags="arrow-left" />
43
+ <glyph unicode="&#xe02e;" d="M 384.00,95.968c-60.80,0.00-98.944,34.368-128.00,72.224C 226.944,130.336, 188.80,95.968, 128.00,95.968C 76.576,95.968,0.00,130.08,0.00,224.00c0.00,93.888, 76.576,128.00, 128.00,128.00
44
+ c 60.80,0.00, 98.944-34.336, 128.00-72.224C 285.056,317.664, 323.20,352.00, 384.00,352.00c 51.456,0.00, 128.00-34.112, 128.00-128.00C 512.00,130.08, 435.456,95.968, 384.00,95.968z M 128.00,288.00
45
+ C 113.184,287.744, 64.00,282.432, 64.00,224.00c0.00-60.928, 53.312-64.00, 64.00-64.00c 39.136,0.00, 61.632,23.904, 89.376,64.00C 189.632,264.064, 167.136,288.00, 128.00,288.00z M 294.624,224.00
46
+ c 27.712-40.064, 50.176-63.936, 89.216-64.00C 399.008,160.224, 448.00,165.632, 448.00,224.00c0.00,60.928-53.312,64.00-64.00,64.00C 344.864,288.00, 322.368,264.064, 294.624,224.00z" data-tags="loop" />
47
+ <glyph unicode="&#xe02f;" d="M 400.00,256.00c-11.488,0.00-29.664,0.00-48.00,0.00L 352.00,192.00 c 11.328,0.00, 22.40,0.00, 32.00,0.00c 6.048,0.00, 11.648,0.00, 16.00,0.00c 61.856,0.00, 112.00-50.144, 112.00-112.00S 461.856-32.00, 400.00-32.00
48
+ S 288.00,18.112, 288.00,80.00c0.00,11.488,0.00,29.632,0.00,48.00L 224.00,128.00 c0.00-11.328,0.00-22.432,0.00-32.00c0.00-6.048,0.00-11.616,0.00-16.00C 224.00,18.112, 173.856-32.00, 112.00-32.00S0.00,18.112,0.00,80.00
49
+ S 50.144,192.00, 112.00,192.00C 123.488,192.00, 141.664,192.00, 160.00,192.00L 160.00,256.00 C 148.704,256.00, 137.568,256.00, 128.00,256.00C 121.952,256.00, 116.384,256.00, 112.00,256.00C 50.144,256.00,0.00,306.112,0.00,368.00C0.00,429.856, 50.144,480.00, 112.00,480.00
50
+ S 224.00,429.856, 224.00,368.00C 224.00,356.512, 224.00,338.336, 224.00,320.00l 64.00,0.00 c0.00,11.296,0.00,22.432,0.00,32.00c0.00,6.048,0.00,11.616,0.00,16.00C 288.00,429.856, 338.144,480.00, 400.00,480.00S 512.00,429.856, 512.00,368.00
51
+ C 512.00,306.112, 461.856,256.00, 400.00,256.00z M 160.00,368.00C 160.00,394.496, 138.496,416.00, 112.00,416.00S 64.00,394.496, 64.00,368.00C 64.00,341.472, 85.504,320.00, 112.00,320.00C 115.872,320.00, 121.76,320.00, 128.00,320.00c 14.784,0.00, 32.00,0.00, 32.00,0.00
52
+ S 160.00,354.528, 160.00,368.00z M 160.00,96.00c0.00,14.752,0.00,32.00,0.00,32.00s-34.528,0.00-48.00,0.00C 85.504,128.00, 64.00,106.496, 64.00,80.00S 85.504,32.00, 112.00,32.00S 160.00,53.504, 160.00,80.00
53
+ C 160.00,83.872, 160.00,89.76, 160.00,96.00z M 352.00,80.00c0.00-26.496, 21.504-48.00, 48.00-48.00s 48.00,21.504, 48.00,48.00S 426.496,128.00, 400.00,128.00c-3.872,0.00-9.76,0.00-16.00,0.00
54
+ c-14.784,0.00-32.00,0.00-32.00,0.00S 352.00,93.44, 352.00,80.00z M 288.00,256.00L 224.00,256.00 L 224.00,192.00 l 64.00,0.00 L 288.00,256.00 z M 400.00,416.00C 373.504,416.00, 352.00,394.496, 352.00,368.00c0.00-3.872,0.00-9.728,0.00-16.00c0.00-14.816,0.00-32.00,0.00-32.00
55
+ s 34.528,0.00, 48.00,0.00C 426.496,320.00, 448.00,341.472, 448.00,368.00C 448.00,394.496, 426.496,416.00, 400.00,416.00z" data-tags="cmd" />
56
+ <glyph unicode="&#xe030;" d="M 400.992,203.20c-14.336,8.832-32.704,3.616-40.96-11.68C 359.744,191.008, 359.744,190.40, 359.456,189.888L 358.72,190.368
57
+ C 337.728,153.152, 299.872,128.00, 256.128,128.00s-81.568,25.152-102.592,62.368L 152.832,189.952C 152.48,190.752, 152.48,191.68, 152.032,192.512
58
+ C 143.744,207.776, 125.376,213.024, 111.008,204.192S 91.744,175.776, 100.032,160.512c 0.64-1.12, 1.632-1.824, 2.336-2.848l-0.544-0.352
59
+ c 26.56-47.104, 71.552-80.80, 124.288-90.304L 226.112,32.00 L 166.08,32.00 c-16.576,0.00-30.016-14.336-30.016-32.00c0.00-17.696, 13.44-32.00, 30.016-32.00l 180.064,0.00
60
+ c 16.608,0.00, 30.016,14.304, 30.016,32.00c0.00,17.664-13.408,32.00-30.016,32.00L 286.144,32.00 l0.00,34.976 c 52.736,9.504, 97.728,43.264, 124.288,90.336L 410.24,157.44
61
+ c 0.544,0.736, 1.312,1.216, 1.728,2.048C 420.288,174.816, 415.36,194.368, 400.992,203.20z M 256.128,160.00c 49.728,0.00, 90.016,42.976, 90.016,96.00L 346.144,384.00
62
+ c0.00,53.024-40.32,96.00-90.016,96.00C 206.40,480.00, 166.08,437.024, 166.08,384.00l0.00-128.00 C 166.08,202.976, 206.40,160.00, 256.128,160.00z" data-tags="mic" />
63
+ <glyph unicode="&#xe005;" d="M 255.872,128.064L 64.00,320.00l 383.744,0.00 L 255.872,128.064z" data-tags="triangle-down-small" />
64
+ <glyph unicode="&#xe006;" d="M 256.00,480.00C 114.624,480.00,0.00,365.408,0.00,224.032C0.00,82.624, 114.624-32.00, 256.00-32.00c 141.376,0.00, 256.00,114.624, 256.00,256.032C 512.00,365.408, 397.376,480.00, 256.00,480.00z M 421.44,276.064
65
+ l-183.648-183.616c-3.744-3.744-9.856-3.744-13.568,0.00l-27.136,27.392c-3.712,3.776-9.856,9.952-13.568,13.696L 120.352,199.936
66
+ C 118.496,201.792, 117.504,204.416, 117.504,206.88c0.00,2.496, 0.992,4.864, 2.848,6.752l 27.68,24.96c 1.888,1.92, 4.384,2.816, 6.848,2.816
67
+ c 2.432-0.032, 4.864-0.992, 6.72-2.816l 62.624-63.936c 3.744-3.808, 9.824-3.808, 13.568,0.00l 142.944,142.56c 3.712,3.744, 9.856,3.744, 13.568,0.00
68
+ l 27.168-27.456C 425.184,286.016, 425.184,279.84, 421.44,276.064z" data-tags="check-inverted" />
69
+ <glyph unicode="&#xe007;" d="M 474.272,191.424c 50.24,51.392, 50.176,134.656,0.00,186.016c-25.696,26.24-59.488,39.072-93.12,38.496C 334.08,415.168, 256.48,351.456, 256.48,351.456
70
+ S 176.672,416.064, 128.48,416.00C 95.616,415.936, 62.784,403.072, 37.728,377.472c-50.208-51.392-50.24-134.624,0.00-186.016L 256.00-31.712L 474.272,191.424z" data-tags="heart" />
71
+ <glyph unicode="&#xe008;" d="M 272.064,216.032c-43.936,0.00-79.552,36.864-79.552,82.40c0.00,45.568, 35.616,82.432, 79.552,82.432S 351.616,344.00, 351.616,298.432
72
+ C 351.616,252.928, 316.00,216.032, 272.064,216.032 M 272.064,480.192c-97.248,0.00-176.064-81.664-176.064-182.40c0.00-95.136, 79.744-217.888, 132.992-277.632
73
+ c 19.904-22.272, 43.072-52.352, 43.072-52.352s 24.896,30.176, 46.24,53.152c 53.184,57.248, 129.824,172.224, 129.824,276.80
74
+ C 448.128,398.528, 369.312,480.192, 272.064,480.192" data-tags="location" />
75
+ <glyph unicode="&#xe009;" d="M 448.00,159.968L 288.00,159.968 L 288.00,0.00 c0.00-17.696-14.304-32.00-32.00-32.00L 224.00-32.00 c-17.664,0.00-32.00,14.304-32.00,32.00L 192.00,159.968 L 32.00,159.968 C 14.336,159.968,0.00,174.336,0.00,192.00L0.00,224.032
76
+ c0.00,17.664, 14.336,31.936, 32.00,31.936l 160.00,0.00 L 192.00,416.00 c0.00,17.664, 14.336,32.00, 32.00,32.00l 32.00,0.00 c 17.696,0.00, 32.00-14.336, 32.00-32.00l0.00-160.032 l 160.00,0.00 c 17.696,0.00, 32.00-14.272, 32.00-31.936L 480.00,192.00
77
+ C 480.00,174.336, 465.696,159.968, 448.00,159.968z" data-tags="plus" />
78
+ <glyph unicode="&#xe00a;" d="M 461.568,411.296c-6.176,6.272-16.384,6.272-22.56,0.00l-238.08-237.248c-6.24-6.272-16.416-6.272-22.624,0.00L 73.984,280.416
79
+ C 70.912,283.52, 66.848,285.12, 62.816,285.152c-4.128,0.00-8.288-1.504-11.424-4.736l-46.08-41.504C 2.24,235.776, 0.576,231.84, 0.576,227.744
80
+ c0.00-4.16, 1.664-8.512, 4.736-11.616l 105.184-110.496c 6.208-6.24, 16.416-16.512, 22.624-22.816l 45.216-45.632c 6.208-6.24, 16.384-6.24, 22.624,0.00
81
+ l 305.856,305.664c 6.24,6.24, 6.24,16.544,0.00,22.816L 461.568,411.296z" data-tags="check" />
82
+ <glyph unicode="&#xe00b;" d="M 443.904,366.016c 6.24-6.208, 6.24-16.416,0.00-22.624L 319.456,218.88c-6.176-6.208-6.176-16.416,0.00-22.656l 124.384-124.544
83
+ c 6.24-6.208, 6.24-16.416,0.00-22.624l-45.312-45.216c-6.176-6.208-16.384-6.208-22.624,0.00L 251.584,128.384c-6.208,6.208-16.416,6.208-22.624,0.00
84
+ l-124.448-124.448c-6.208-6.24-16.416-6.24-22.624,0.00l-45.248,45.312c-6.208,6.176-6.208,16.384,0.00,22.624l 124.48,124.448
85
+ c 6.208,6.208, 6.208,16.416,0.00,22.656L 36.736,343.488c-6.208,6.24-6.208,16.416,0.00,22.624l 45.28,45.248c 6.208,6.208, 16.416,6.208, 22.624,0.00
86
+ l 124.32-124.512c 6.208-6.24, 16.416-6.24, 22.624-0.032l 124.416,124.48c 6.24,6.176, 16.448,6.176, 22.624,0.00L 443.904,366.016z" data-tags="cross" />
87
+ <glyph unicode="&#xe00c;" d="M 495.968,415.68L 16.032,415.68 c-8.80,0.00-16.00-7.68-16.00-17.088l0.00-62.336 c0.00-9.024, 7.20-16.416, 16.00-16.416l 479.936,0.00 c 8.80,0.00, 16.00,7.36, 16.00,16.416
88
+ L 511.968,398.592 C 511.968,408.00, 504.768,415.68, 495.968,415.68z M 495.968,255.68L 16.032,255.68 c-8.80,0.00-16.00-7.68-16.00-17.12l0.00-62.304
89
+ c0.00-9.056, 7.20-16.416, 16.00-16.416l 479.936,0.00 c 8.80,0.00, 16.00,7.36, 16.00,16.416L 511.968,238.592 C 511.968,248.00, 504.768,255.68, 495.968,255.68z M 495.968,95.68
90
+ L 16.032,95.68 c-8.80,0.00-16.00-7.68-16.00-17.12l0.00-62.304 c0.00-8.992, 7.20-16.384, 16.00-16.384l 479.936,0.00 c 8.80,0.00, 16.00,7.36, 16.00,16.384l0.00,62.304
91
+ C 511.968,88.00, 504.768,95.68, 495.968,95.68z" data-tags="list" />
92
+ <glyph unicode="&#xe00d;" d="M 480.256,355.136c-10.88,17.984-24.288,35.584-40.672,51.904c-16.608,16.448-34.496,29.984-52.80,40.80L 418.944,480.00c0.00,0.00, 46.528,0.00, 69.824-23.264
93
+ C 512.00,433.44, 512.00,386.912, 512.00,386.912L 480.256,355.136z M 193.60,64.384L 96.384,64.384 L 96.384,161.60 l 11.68,11.68c 19.776-9.28, 39.392-22.464, 57.088-40.16
94
+ c 17.696-17.664, 30.848-37.344, 40.16-57.088L 193.60,64.384z M 453.376,328.256l-220.00-224.16c-11.36,18.816-25.344,37.152-42.496,54.176
95
+ C 173.536,175.488, 154.848,189.632, 135.712,200.928l 224.576,220.448c 18.912-8.928, 37.728-21.472, 54.656-38.432S 444.448,347.232, 453.376,328.256z M 64.00,416.00l0.00-383.968 l 384.00,0.00
96
+ L 448.00,192.00 l 64.00,63.968l0.00-241.44 C 512.00-11.168, 491.20-32.00, 465.472-32.00L 46.528-32.00 C 20.832-32.00,0.00-11.168,0.00,14.528L0.00,433.44 C0.00,459.168, 20.832,480.00, 46.528,480.00L 288.00,480.00 L 224.00,416.00L 64.00,416.00 z" data-tags="new" />
97
+ <glyph unicode="&#xe00e;" d="M 480.128,32.032l0.00-0.384 L 352.00,159.776l0.00-63.744 C 352.00,60.672, 323.328,32.00, 288.00,32.00L 64.00,32.00 c-35.328,0.00-64.00,28.672-64.00,64.032L0.00,319.968 C0.00,355.328, 28.672,384.00, 64.00,384.00l 224.00,0.00
98
+ c 35.328,0.00, 64.00-28.672, 64.00-64.032L 352.00,255.68 l 128.00,128.00L 480.00,384.00 c 17.696,0.00, 32.00-14.304, 32.00-32.00l0.00-288.00 C 512.00,46.368, 497.728,32.096, 480.128,32.032z" data-tags="video" />
99
+ <glyph unicode="&#xe00f;" d="M 448.512,384.00l-73.92,0.00 l-21.44,45.312C 348.256,439.968, 330.624,448.00, 313.472,448.00L 191.072,448.00 C 173.92,448.00, 156.288,439.968, 151.36,429.312L 130.432,384.00L 64.00,384.00 C0.00,384.00,0.00,352.00,0.00,352.00
100
+ l0.00-320.00 c0.00,0.00,0.00-32.00, 64.00-32.00l 384.00,0.00 c 64.00,0.00, 64.00,32.00, 64.00,32.00L 512.00,352.00 C 512.00,352.00, 512.00,384.00, 448.512,384.00z M 256.00,64.032c-70.688,0.00-128.00,57.248-128.00,127.936C 128.00,262.688, 185.312,320.00, 256.00,320.00s 128.00-57.312, 128.00-128.032
101
+ C 384.00,121.28, 326.688,64.032, 256.00,64.032z M 256.00,272.00C 211.808,272.00, 176.00,236.192, 176.00,192.00c0.00-44.16, 35.808-80.00, 80.00-80.00s 80.00,35.84, 80.00,80.00
102
+ C 336.00,236.192, 300.192,272.00, 256.00,272.00z" data-tags="photo" />
103
+ <glyph unicode="&#xe010;" d="M 246.592,448.00C 222.40,448.00, 215.072,434.08, 215.072,434.08S 123.52,325.984, 81.792,325.984c-41.088,0.00-40.672,0.00-40.672,0.00C 18.40,325.984,0.00,307.776,0.00,285.344
104
+ l0.00-122.048 c0.00-22.464, 18.40-40.64, 41.088-40.64c0.00,0.00, 0.672,0.00, 41.088,0.00c 40.512,0.00, 134.784-109.44, 134.784-109.44c 7.456-7.744, 17.952-12.576, 29.632-12.576
105
+ c 22.688,0.00, 41.088,18.176, 41.088,40.64L 287.68,407.328 C 287.68,429.792, 269.28,448.00, 246.592,448.00z M 421.984,408.864l-23.712-35.488
106
+ c 43.328-35.20, 71.104-88.864, 71.104-149.088s-27.744-113.92-71.104-149.056l 23.712-35.488C 476.704,82.688, 512.00,149.312, 512.00,224.288
107
+ C 512.00,299.296, 476.704,365.888, 421.984,408.864z M 374.40,337.664l-23.936-35.84c 20.672-19.456, 33.696-46.88, 33.696-77.536
108
+ c0.00-30.656-13.024-58.048-33.696-77.536l 23.936-35.808c 31.936,27.36, 52.288,68.00, 52.288,113.344C 426.688,269.696, 406.336,310.272, 374.40,337.664z" data-tags="volume" />
109
+ <glyph unicode="&#xe011;" d="M 256.032,480.00C 114.688,480.00, 0.096,365.408, 0.096,224.032c0.00-141.408, 114.592-255.968, 255.936-255.968c 141.376,0.00, 255.968,114.56, 255.968,255.968
110
+ C 512.00,365.408, 397.408,480.00, 256.032,480.00z M 339.488,134.24l-7.424-7.488c-6.208-6.176-16.672-6.496-23.232-0.64L 223.072,199.872
111
+ C 216.512,205.728, 211.552,217.728, 211.968,226.496l 8.928,141.536C 221.344,376.832, 228.896,384.00, 237.728,384.00l 10.528,0.00 c 8.80,0.00, 16.352-7.168, 16.768-15.968
112
+ l 7.328-115.904c 0.448-8.768, 5.60-21.344, 11.424-27.904l 56.384-66.784C 345.984,150.944, 345.728,140.448, 339.488,134.24z" data-tags="time" />
113
+ <glyph unicode="&#xe012;" d="M 256.032,400.00c-169.472,0.00-256.48-176.448-256.48-176.448s 65.664-176.48, 256.48-176.48c 172.736,0.00, 256.416,175.808, 256.416,175.808
114
+ S 428.128,400.00, 256.032,400.00z M 256.416,113.248c-61.984,0.00-106.752,48.288-106.752,110.304c0.00,62.048, 44.768,110.272, 106.752,110.272
115
+ c 61.952,0.00, 106.72-48.224, 106.72-110.272C 363.136,161.536, 318.336,113.248, 256.416,113.248z M 256.416,289.728c-35.392-0.064-64.064-30.72-64.064-66.176
116
+ c0.00-35.424, 28.672-66.176, 64.064-66.176s 64.032,30.752, 64.032,66.176C 320.448,259.008, 291.808,289.824, 256.416,289.728z" data-tags="eye" />
117
+ <glyph unicode="&#xe013;" d="M 228.928,84.032l 144.64-113.248c 2.368-1.888, 3.808-2.816, 5.184-2.816c 4.00,0.00, 5.248,2.752, 5.248,7.264l0.00,107.20
118
+ C 384.00,89.984, 388.992,96.00, 395.68,96.00l 52.576,0.00 c 63.744,0.00, 63.68,30.72, 63.68,30.72L 511.936,446.752 c0.00,0.00,0.00,33.28-63.936,33.28L 64.032,480.032 c-64.00,0.00-64.00-33.28-64.00-33.28L 0.032,126.72
119
+ c0.00,0.00-0.032-30.72, 64.224-30.72l 128.00,0.00 C 192.256,96.00, 219.04,95.264, 228.928,84.032z" data-tags="chat" />
120
+ <glyph unicode="&#xe015;" d="M 512.00,13.376C 512.00-11.712, 491.20-32.00, 465.44-32.00L 319.808-32.00 l0.00,175.84 c0.00,26.528-19.008,48.064-42.528,48.064L 234.72,191.904
121
+ c-23.488,0.00-42.56-21.536-42.56-48.064L 192.16-32.00 L 46.528-32.00 C 20.832-32.00,0.00-11.712,0.00,13.376L0.00,252.864 c0.00,11.68, 4.672,22.24, 12.096,30.272L 11.616,284.064
122
+ l 212.96,186.496c 17.152,12.576, 44.992,12.576, 62.144,0.00l 213.632-186.496L 500.128,282.88C 507.424,274.848, 512.00,264.416, 512.00,252.864L 512.00,13.376 z" data-tags="home" />
123
+ <glyph unicode="&#xe01b;" d="M 448.00-32.00l-96.00,0.00 l0.00,64.00 l 96.032,0.00 L 448.032,352.00 L 64.00,352.00 l0.00-320.00 l 96.00,0.00 l0.00-64.00 L 64.00-32.00 c-35.328,0.00-64.00,28.672-64.00,64.00L0.00,416.00 c0.00,35.328, 28.672,64.00, 64.00,64.00l 384.00,0.00 c 35.328,0.00, 64.00-28.672, 64.00-64.00l0.00-384.00
124
+ C 512.00-3.328, 483.328-32.00, 448.00-32.00z M 96.00,447.968C 78.304,447.968, 64.00,433.664, 64.00,416.00c0.00-17.696, 14.304-32.00, 32.00-32.00s 32.00,14.304, 32.00,32.00C 128.00,433.664, 113.696,447.968, 96.00,447.968z
125
+ M 192.00,447.968C 174.304,447.968, 160.00,433.664, 160.00,416.00c0.00-17.696, 14.304-32.00, 32.00-32.00s 32.00,14.304, 32.00,32.00C 224.00,433.664, 209.696,447.968, 192.00,447.968z M 135.968,100.352
126
+ c-11.104,11.616-11.104,30.432,0.00,42.08l 98.464,104.704c 3.072,3.232, 6.72,5.248, 10.56,6.72c 0.032,0.032, 0.096,0.032, 0.16,0.064
127
+ c 2.944,1.12, 5.92,1.728, 8.992,1.856c 1.12,0.096, 2.208,0.192, 3.328,0.128C 258.848,255.808, 260.16,255.392, 261.472,255.104
128
+ c 5.664-1.12, 11.136-3.36, 15.488-7.936l 98.432-104.704c 11.136-11.648, 11.136-30.464,0.00-42.08c-11.136-11.552-29.152-11.552-40.288,0.00L 288.00,160.00l0.00-159.968
129
+ C 288.00-17.056, 271.968-32.00, 255.68-32.00C 239.424-32.00, 224.00-17.056, 224.00,0.032L 224.00,160.00 l-47.744-59.648C 165.12,88.768, 147.104,88.768, 135.968,100.352z" data-tags="upload" />
130
+ <glyph unicode="&#xe01c;" d="M 361.696,176.80c-5.664,5.728-7.552,16.352-4.192,23.648c0.00,0.00, 23.616,51.232, 23.616,88.864C 381.12,394.624, 295.904,480.00, 190.752,480.00
131
+ s-190.40-85.376-190.40-190.656c0.00-105.312, 85.248-190.688, 190.40-190.688c 37.60,0.00, 88.704,23.68, 88.704,23.68c 7.328,3.392, 17.984,1.472, 23.616-4.224
132
+ l 145.728-145.888c 5.728-5.696, 15.04-5.696, 20.672,0.00l 37.888,37.952c 5.728,5.728, 5.728,15.072,0.00,20.736L 361.696,176.80z M 190.752,186.688
133
+ c-56.544,0.00-102.528,46.016-102.528,102.656c0.00,56.608, 46.016,102.656, 102.528,102.656s 102.496-46.048, 102.496-102.656C 293.248,232.704, 247.296,186.688, 190.752,186.688z" data-tags="search" />
134
+ <glyph unicode="&#xe01d;" d="M 256.512,298.144c 53.28,0.00, 96.512,40.672, 96.512,90.944C 352.992,439.296, 309.792,480.00, 256.512,480.00S 160.00,439.296, 160.00,389.088
135
+ C 160.00,338.848, 203.232,298.144, 256.512,298.144z M 332.16,291.84C 310.88,277.12, 284.864,268.128, 256.512,268.128c-28.48,0.00-54.56,9.056-75.872,23.872
136
+ C 94.016,273.344, 32.00,223.584, 32.00,164.992l0.00-129.44 c0.00-8.576, 7.20-15.552, 16.00-15.552l 32.00,0.00 c 8.80,0.00, 16.00,6.304, 16.00,14.048c0.00,4.48,0.00,100.928,0.00,100.928
137
+ c0.00,8.32, 4.768,4.992, 10.688,4.992c 5.888,0.00, 10.656-4.512, 10.656-9.984l 0.16-89.984c 0.448-5.184, 4.80-42.208, 10.272-43.296
138
+ c0.00,0.00, 33.28-28.672, 128.224-28.672c 95.616,0.00, 128.224,28.672, 128.224,28.672c 5.472,1.056, 9.856,38.08, 10.272,43.296l 0.16,89.984
139
+ c0.00,5.504, 4.768,9.984, 10.688,9.984c 5.888,0.00, 10.656-4.512, 10.656-9.984c0.00,0.00,0.00-91.456,0.00-95.936c0.00-7.744, 7.20-14.048, 16.00-14.048l 32.00,0.00
140
+ c 8.80,0.00, 16.00,7.008, 16.00,15.552L 480.00,164.992 C 480.00,223.424, 418.304,273.056, 332.16,291.84z" data-tags="user" />
141
+ <glyph unicode="&#xe01e;" d="M 448.00,416.00C 422.752,416.00, 64.00,416.00, 64.00,416.00C 38.752,416.00,0.00,395.424,0.00,370.528l0.00-9.056 c0.00,0.00, 216.384-180.928, 256.00-180.928s 256.00,180.352, 256.00,180.352l0.00,9.60
142
+ C 512.00,395.424, 473.248,416.00, 448.00,416.00z M0.00,288.48l0.00-256.448 C0.00,32.032,0.00,0.00, 64.00,0.00l 384.00,0.00 c 64.096,0.00, 64.00,32.032, 64.00,32.032L 512.00,289.28 c0.00,0.00-182.08-162.496-256.00-162.496
143
+ C 182.848,126.784,0.00,288.48,0.00,288.48z" data-tags="mail" />
144
+ <glyph unicode="&#xe01f;" d="M 448.00-32.00L 64.00-32.00 c-17.664,0.00-32.00,14.304-32.00,32.032L 32.00,224.00 c0.00,17.664, 14.336,32.00, 32.00,32.00l 32.00,0.00 L 96.00,320.00 c0.00,88.352, 71.616,160.00, 160.00,160.00s 160.00-71.648, 160.00-160.00l0.00-64.00 l 32.00,0.00 c 17.696,0.00, 32.00-14.336, 32.00-32.00
145
+ l0.00-223.968 C 480.00-17.696, 465.696-32.00, 448.00-32.00z M 352.00,320.00c0.00,52.992-42.976,96.00-96.00,96.00S 160.00,372.992, 160.00,320.00l0.00-64.00 l 192.00,0.00 L 352.00,320.00 z" data-tags="lock" />
146
+ <glyph unicode="&#xe020;" d="M 383.936,377.504l-0.064-0.032c-0.448,0.32-0.80,0.768-1.312,1.12c-14.592,10.016-34.496,6.304-44.512-8.352
147
+ c-9.984-14.656-6.24-34.656, 8.32-44.672C 346.752,325.248, 347.136,325.12, 347.488,324.928L 347.36,324.704C 388.80,295.68, 416.00,247.456, 416.00,192.832
148
+ c0.00-88.768-71.648-160.736-160.00-160.736s-160.00,71.968-160.00,160.736C 96.00,247.456, 123.20,295.68, 164.64,324.704L 164.512,324.928c 0.352,0.192, 0.736,0.32, 1.12,0.608
149
+ c 14.592,10.016, 18.304,30.016, 8.32,44.672C 163.936,384.864, 144.032,388.608, 129.44,378.56C 128.96,378.208, 128.576,377.792, 128.096,377.44L 128.064,377.504
150
+ C 70.048,336.80, 32.00,269.344, 32.00,192.832c0.00-124.288, 100.288-225.088, 224.00-225.088s 224.00,100.80, 224.00,225.088C 480.00,269.344, 441.952,336.80, 383.936,377.504z M 256.00,160.00
151
+ c 17.696,0.00, 32.00,14.304, 32.00,32.00L 288.00,415.968 C 288.00,433.664, 273.696,448.00, 256.00,448.00C 238.336,448.00, 224.00,433.664, 224.00,415.968L 224.00,192.00 C 224.00,174.304, 238.336,160.00, 256.00,160.00z" data-tags="power" />
152
+ <glyph unicode="&#xe021;" d="M0.00,207.968C 144.00,224.00, 224.00,304.00, 240.00,448.00c 16.032-144.00, 96.032-224.00, 240.064-240.032c-144.032-16.00-224.032-96.00-240.064-240.00C 224.00,111.968, 144.00,191.968,0.00,207.968z" data-tags="star" />
153
+ <glyph unicode="&#xe023;" d="M 160.00,288.00C 142.336,288.00, 128.00,273.696, 128.00,256.00s 14.336-32.00, 32.00-32.00s 32.00,14.304, 32.00,32.00S 177.664,288.00, 160.00,288.00z M 256.00,192.00
154
+ c-17.664,0.00-32.00-14.304-32.00-32.00s 14.336-32.00, 32.00-32.00s 32.00,14.304, 32.00,32.00S 273.664,192.00, 256.00,192.00z M 160.00,192.00c-17.664,0.00-32.00-14.304-32.00-32.00s 14.336-32.00, 32.00-32.00s 32.00,14.304, 32.00,32.00S 177.664,192.00, 160.00,192.00z
155
+ M 448.00,447.968l-64.00,0.00 C 384.00,465.664, 369.696,480.00, 352.00,480.00s-32.00-14.336-32.00-32.032L 192.00,447.968 C 192.00,465.664, 177.664,480.00, 160.00,480.00S 128.00,465.664, 128.00,447.968L 64.00,447.968 C 28.672,447.968,0.00,419.328,0.00,384.00l0.00-320.00
156
+ c0.00-35.36, 28.672-64.00, 64.00-64.00l 384.00,0.00 c 35.328,0.00, 64.00,28.64, 64.00,64.00L 512.00,384.00 C 512.00,419.328, 483.328,447.968, 448.00,447.968z M 448.00,64.00L 64.00,64.00 L 64.00,384.00 l 64.00,0.00 c0.00-17.696, 14.336-32.00, 32.00-32.00s 32.00,14.304, 32.00,32.00l 128.00,0.00
157
+ c0.00-17.696, 14.304-32.00, 32.00-32.00s 32.00,14.304, 32.00,32.00l 64.00,0.00 L 448.00,64.00 z M 352.00,288.00c-17.696,0.00-32.00-14.304-32.00-32.00s 14.304-32.00, 32.00-32.00s 32.00,14.304, 32.00,32.00S 369.696,288.00, 352.00,288.00z M 256.00,288.00
158
+ C 238.336,288.00, 224.00,273.696, 224.00,256.00s 14.336-32.00, 32.00-32.00s 32.00,14.304, 32.00,32.00S 273.664,288.00, 256.00,288.00z M 352.00,192.00c-17.696,0.00-32.00-14.304-32.00-32.00s 14.304-32.00, 32.00-32.00s 32.00,14.304, 32.00,32.00S 369.696,192.00, 352.00,192.00z" data-tags="calendar" />
159
+ <glyph unicode="&#xe024;" d="M 459.136,263.52c-8.672,1.28-17.984,9.152-20.672,17.504l-13.056,31.616c-4.064,7.776-3.136,19.936, 2.176,26.976l 21.056,28.096
160
+ c 5.312,7.04, 4.864,18.176-0.992,24.768L 424.512,415.68c-6.56,5.856-17.76,6.272-24.80,0.992l-28.064-21.12
161
+ c-7.072-5.248-19.20-6.24-27.008-2.144L 313.056,406.432C 304.64,409.088, 296.736,418.432, 295.552,427.168L 290.56,461.92
162
+ C 289.312,470.624, 281.152,478.496, 272.384,479.392C 272.384,479.392, 266.976,480.00, 256.00,480.00S 239.616,479.392, 239.616,479.392C 230.848,478.496, 222.656,470.624, 221.44,461.92
163
+ L 216.448,427.168C 215.232,418.432, 207.36,409.088, 198.944,406.432L 167.36,393.408C 159.584,389.312, 147.456,390.304, 140.416,395.552l-28.128,21.12
164
+ C 105.28,421.984, 94.08,421.536, 87.488,415.68L 64.384,392.544C 58.56,385.952, 58.112,374.784, 63.392,367.744L 84.48,339.648c 5.28-7.04, 6.24-19.20, 2.144-26.976
165
+ L 73.60,281.024C 70.912,272.672, 61.60,264.80, 52.896,263.52L 18.144,258.624C 9.408,257.344, 1.536,249.184, 0.64,240.416c0.00,0.00-0.576-5.44-0.576-16.416
166
+ c0.00-10.976, 0.576-16.448, 0.576-16.448c 0.928-8.736, 8.80-16.896, 17.504-18.144l 34.752-4.928C 61.60,183.232, 70.912,175.328, 73.60,166.976l 13.056-31.616
167
+ c 4.096-7.808, 3.136-19.904-2.144-26.944l-21.088-28.128c-5.28-7.072-6.56-16.64-2.816-21.248c 3.712-4.608, 14.432-16.032, 14.464-16.032
168
+ c0.00-0.064, 3.616-3.36, 8.00-7.328c 4.384-4.032, 22.24-9.60, 29.28-4.32l 28.128,21.056c 7.04,5.312, 19.168,6.272, 26.944,2.176L 198.944,41.60
169
+ c 8.416-2.72, 16.288-12.00, 17.504-20.736l 4.992-34.752c 1.216-8.672, 9.408-16.64, 18.144-17.536c0.00,0.00, 5.44-0.576, 16.416-0.576
170
+ s 16.384,0.576, 16.384,0.576c 8.736,0.896, 16.928,8.832, 18.176,17.536l 4.992,34.752c 1.184,8.736, 9.056,18.016, 17.504,20.736l 31.552,12.992
171
+ c 7.808,4.096, 19.936,3.136, 27.008-2.112l 28.128-21.12c 7.072-5.28, 18.176-4.832, 24.80,0.96l 23.136,23.168
172
+ c 5.824,6.592, 6.24,17.76, 0.928,24.80l-21.056,28.128c-5.312,7.04-6.24,19.136-2.176,26.944l 13.056,31.616
173
+ c 2.688,8.384, 12.00,16.256, 20.672,17.504l 34.752,4.928c 8.672,1.248, 16.576,9.408, 17.504,18.144c0.00,0.00, 0.576,5.44, 0.576,16.448
174
+ c0.00,10.976-0.576,16.416-0.576,16.416c-0.928,8.768-8.80,16.928-17.504,18.208L 459.136,263.52z M 256.00,160.00c-35.328,0.00-64.00,28.672-64.00,64.00
175
+ c0.00,35.36, 28.672,64.00, 64.00,64.00c 35.296,0.00, 64.00-28.672, 64.00-64.00C 320.00,188.672, 291.328,160.00, 256.00,160.00z" data-tags="gear" />
176
+ <glyph unicode="&#xe025;" d="M 384.00,348.512L 384.00,348.512l 64.00,0.00 c 17.696,0.00, 32.00-14.336, 32.00-32.00l0.00-320.00 c0.00-17.696-14.304-32.00-32.00-32.00L 112.00-35.488 c-44.192,0.00-80.00,35.808-80.00,80.00L 32.00,396.48
177
+ c0.00,44.192, 35.808,80.032, 80.00,80.032L 448.00,476.512 c 17.696,0.00, 32.00-14.336, 32.00-32.00c0.00-17.696-14.304-32.032-32.00-32.032l-64.00,0.00 L 192.00,412.48 L 128.00,412.48 c-17.664,0.00-32.00-14.304-32.00-32.00s 14.336-32.00, 32.00-32.00l 64.00,0.00 l0.00-128.00
178
+ l 32.00,32.00l 32.00-32.00l0.00,128.00 L 384.00,348.48 z" data-tags="book" />
179
+ <glyph unicode="&#xe026;" d="M 32.00,32.00l0.00,96.00 l 64.00,0.00 l0.00-96.064 l 320.00,0.00 L 416.00,416.00 L 96.00,416.00 L 96.00,320.00 L 32.00,320.00 L 32.00,416.00 C 32.00,451.328, 60.672,480.00, 96.00,480.00l 320.00,0.00 C 451.36,480.00, 480.00,451.328, 480.00,416.00l0.00-384.00 c0.00-35.36-28.64-64.00-64.00-64.00L 96.00-32.00
180
+ C 60.672-32.00, 32.00-3.36, 32.00,32.00z M 164.384,344.00c 11.616,11.136, 30.432,11.136, 42.048,0.00l 104.704-98.40c 3.264-3.104, 5.248-6.784, 6.752-10.592
181
+ c 0.032-0.064, 0.032-0.096, 0.064-0.16C 319.072,231.936, 319.68,228.928, 319.776,225.856C 319.904,224.736, 320.00,223.648, 319.904,222.496
182
+ C 319.84,221.152, 319.392,219.872, 319.072,218.528C 317.984,212.896, 315.744,207.424, 311.136,203.04L 206.432,104.64c-11.616-11.136-30.432-11.136-42.048,0.00
183
+ c-11.584,11.136-11.584,29.12,0.00,40.256L 224.00,192.00L 64.00,192.00 C 46.944,192.00, 32.00,208.032, 32.00,224.32C 32.00,240.576, 46.944,256.00, 64.00,256.00l 160.00,0.00 L 164.384,303.776
184
+ C 152.768,314.848, 152.768,332.928, 164.384,344.00z" data-tags="exit" />
185
+ <glyph unicode="&#xe027;" d="M 448.00,352.00l-32.00,0.00 l0.00-320.00 c0.00,0.00-0.992-64.00-64.00-64.00c0.00,0.00-159.008,0.00-224.00,0.00s-64.00,64.00-64.00,64.00L 64.00,352.00 L 32.00,352.00 C 14.336,352.00,0.00,366.336,0.00,384.00s 14.336,32.00, 32.00,32.00l 128.00,0.00 l 32.00,0.00 L 192.00,432.00 C 192.00,458.528, 213.472,480.00, 240.00,480.00
186
+ C 266.496,480.00, 288.00,458.528, 288.00,432.00L 288.00,416.00 l 32.00,0.00 l 128.00,0.00 c 17.696,0.00, 32.00-14.304, 32.00-32.00S 465.696,352.00, 448.00,352.00z M 352.00,352.00L 128.00,352.00 l0.00-320.00 l 224.00,0.00 L 352.00,352.00 z M 192.00,320.00C 209.664,320.00, 224.00,305.664, 224.00,288.00l0.00-192.00 c0.00-17.696-14.336-32.00-32.00-32.00
187
+ s-32.00,14.304-32.00,32.00L 160.00,288.00 C 160.00,305.664, 174.336,320.00, 192.00,320.00z M 288.00,320.00C 305.696,320.00, 320.00,305.664, 320.00,288.00l0.00-192.00 c0.00-17.696-14.304-32.00-32.00-32.00s-32.00,14.304-32.00,32.00L 256.00,288.00 C 256.00,305.664, 270.304,320.00, 288.00,320.00z" data-tags="trash" />
188
+ <glyph unicode="&#xe028;" d="M 448.00,352.00c0.00,0.00-139.008,0.032-160.00,0.032S 243.008,416.00, 224.00,416.00S 64.00,416.00, 64.00,416.00C 28.672,416.00,0.00,387.36,0.00,352.00l0.00-320.032 c0.00-63.328, 64.00-64.00, 64.00-64.00l 384.00,0.00 c 35.328,0.00, 64.00,28.672, 64.00,64.00
189
+ l0.00,256.00 C 512.00,323.328, 483.328,352.00, 448.00,352.00z M 448.032,31.968L 64.00,31.968 L 64.00,352.00 c0.00,0.00, 107.008,0.00, 127.008,0.00s 44.992-64.00, 64.00-64.00c 20.00,0.00, 193.024,0.00, 193.024,0.00L 448.032,31.968 z" data-tags="folder" />
190
+ <glyph unicode="&#xe029;" d="M 447.712,480.032L 63.776,480.032 C 0.128,480.032,0.00,416.00,0.00,416.00l0.00-255.968 C0.00,160.032, 0.352,96.00, 64.00,96.00l 128.00,0.00 c0.00,0.00, 26.784-0.736, 36.672-11.968l 144.672-113.248
191
+ c 2.368-1.888, 3.808-2.816, 5.216-2.816c 4.00,0.00, 5.184,2.752, 5.184,7.296l0.00,107.168 c0.00,7.552, 4.992,13.60, 11.712,13.60L 448.00,96.032
192
+ c 62.656,0.00, 64.00,64.032, 64.00,64.032L 512.00,416.00 C 512.00,416.00, 511.36,480.032, 447.712,480.032z M 448.00,160.032l-128.00,0.00 l0.00-64.00 l-82.304,64.00L 64.00,160.032 L 64.00,416.00 l 384.00,0.00 L 448.00,160.032 z" data-tags="bubble" />
193
+ <glyph unicode="&#xe02a;" d="M 437.024,405.024c-99.968,100.00-262.048,99.968-362.048,0.00c-99.968-99.936-99.968-262.048, 0.032-362.016
194
+ c 99.968-99.968, 262.048-99.968, 362.016-0.032C 537.024,142.944, 537.024,305.056, 437.024,405.024z M 373.60,154.528
195
+ c 13.76-13.76, 14.112-35.648, 0.864-48.928c-13.28-13.28-35.20-12.864-48.896,0.864L 256.032,175.968L 186.24,106.176
196
+ c-13.76-13.728-35.648-14.112-48.896-0.864c-13.28,13.28-12.864,35.20, 0.832,48.928L 208.00,224.032L 138.176,293.856
197
+ C 124.448,307.552, 124.064,329.44, 137.344,342.72C 150.592,356.00, 172.512,355.616, 186.24,341.888l 69.792-69.792l 69.536,69.536
198
+ c 13.728,13.728, 35.616,14.112, 48.896,0.832c 13.248-13.28, 12.864-35.168-0.864-48.896L 304.096,224.032L 373.60,154.528z" data-tags="cross-inverted" />
199
+ <glyph unicode="&#xe031;" d="M 256.00,480.032C 114.624,480.032,0.00,365.376,0.00,224.00c0.00-141.408, 114.624-256.032, 256.00-256.032S 512.00,82.592, 512.00,224.00C 512.00,365.376, 397.376,480.032, 256.00,480.032z
200
+ M 382.112,191.648L 288.416,191.648 l0.00-93.76 c0.00-18.496-14.496-33.536-32.384-33.536s-32.384,15.04-32.384,33.536l0.00,93.76 l-94.08,0.00 C 111.072,191.648, 96.032,206.112, 96.032,224.00
201
+ s 15.04,32.384, 33.536,32.384l 94.08,0.00 l0.00,94.08 C 223.648,368.992, 238.144,384.00, 256.032,384.00s 32.384-15.008, 32.384-33.536l0.00-94.08 l 93.728,0.00
202
+ c 18.528,0.00, 33.536-14.528, 33.536-32.384S 400.672,191.648, 382.112,191.648z" data-tags="plus-inverted" />
203
+ <glyph unicode="&#xe014;" d="M 448.00,31.936L 64.00,31.936 l0.00,384.00 l 160.00,0.00 l0.00,64.00 L 44.512,479.968C 19.936,479.968,0.00,460.00,0.00,435.424l0.00-422.976 c0.00-24.576, 19.936-44.512, 44.512-44.512l 422.976,0.00
204
+ c 24.576,0.00, 44.512,19.936, 44.512,44.512L 512.00,191.936 l-64.00,0.00 L 448.00,31.936 z M 512.00,448.00c0.00,7.328-3.04,13.76-7.36,19.136c-0.672,0.864-1.024,1.856-1.792,2.656
205
+ c-0.096,0.064-0.128,0.192-0.192,0.288c-0.192,0.16-0.224,0.416-0.416,0.608c-2.048,2.048-4.576,3.264-6.976,4.64
206
+ c-1.056,0.608-1.92,1.504-3.04,1.984c-4.352,1.888-8.96,2.688-13.632,2.56c-0.064,0.00-0.128,0.032-0.192,0.032l-156.512,0.00
207
+ C 303.392,479.936, 288.384,465.632, 288.384,448.00c0.00-17.60, 15.04-31.904, 33.568-31.904l 80.608,0.00 L 201.28,214.432c-12.416-12.384-12.416-32.384,0.00-44.736
208
+ c 12.416-12.384, 32.512-12.384, 44.896,0.00l 201.984,201.76l0.00-81.60 c0.00-18.528, 14.304-33.536, 31.936-33.536C 497.728,256.32, 512.00,271.328, 512.00,289.856L 512.00,446.368
209
+ c0.00,0.32-0.16,0.576-0.16,0.864C 511.84,447.488, 512.00,447.744, 512.00,448.00z" data-tags="export" />
210
+ <glyph unicode="&#xe02b;" d="M 256.00,480.00C 114.61,480.00,0.00,365.369,0.00,223.957c0.00-141.369, 114.61-255.979, 256.00-255.979c 141.39,0.00, 256.00,114.61, 256.00,255.979C 512.00,365.369, 397.39,480.00, 256.00,480.00z
211
+ M 256.00,70.379c-84.814,0.00-153.60,68.764-153.60,153.579c0.00,84.857, 68.786,153.621, 153.60,153.621c 84.836,0.00, 153.60-68.764, 153.60-153.621C 409.60,139.143, 340.836,70.379, 256.00,70.379z" data-tags="radio-unchecked" />
212
+ <glyph unicode="&#xe032;" d="M 256.00,480.00C 114.61,480.00,0.00,365.412,0.00,224.021c0.00-141.412, 114.61-256.043, 256.00-256.043c 141.39,0.00, 256.00,114.631, 256.00,256.043C 512.00,365.412, 397.39,480.00, 256.00,480.00z
213
+ M 256.00,70.40c-84.814,0.00-153.60,68.786-153.60,153.621c0.00,84.793, 68.786,153.543, 153.60,153.543c 84.836,0.00, 153.60-68.764, 153.60-153.543C 409.60,139.186, 340.836,70.40, 256.00,70.40z M 256.00,300.80
214
+ C 213.582,300.80, 179.20,266.418, 179.20,224.021C 179.20,181.582, 213.582,147.20, 256.00,147.20c 42.418,0.00, 76.80,34.382, 76.80,76.821C 332.80,266.418, 298.418,300.80, 256.00,300.80z" data-tags="radio-checked" />
215
+ <glyph unicode="&#xe033;" d="M 128.00,480.00l 256.00,0.00 c 70.713,0.00, 128.00-57.287, 128.00-128.00l0.00-256.021 c0.00-70.713-57.287-128.00-128.00-128.00L 128.00-32.021 c-70.677,0.00-128.00,57.287-128.00,128.00L0.00,352.00 C0.00,422.713, 57.323,480.00, 128.00,480.00z" data-tags="checkbox-unchecked" />
216
+ <glyph unicode="&#xe034;" d="M 384.00,480.00L 128.00,480.00 C 57.323,480.00,0.00,422.677,0.00,352.00l0.00-256.021 c0.00-70.713, 57.323-128.00, 128.00-128.00l 256.00,0.00 c 70.713,0.00, 128.00,57.287, 128.00,128.00L 512.00,352.00 C 512.00,422.677, 454.699,480.00, 384.00,480.00z M 421.433,276.046
217
+ l-183.652-183.652c-3.74-3.74-9.849-3.74-13.568,0.00l-27.157,27.371c-3.74,3.783-9.849,9.963-13.568,13.724l-63.154,66.382
218
+ c-1.849,1.892-2.837,4.473-2.837,6.933c0.00,2.503, 1.003,4.864, 2.837,6.756l 27.669,24.953c 1.87,1.913, 4.373,2.816, 6.855,2.816
219
+ c 2.425,0.00, 4.864-0.946, 6.734-2.816l 62.62-63.90c 3.705-3.819, 9.828-3.819, 13.568,0.00l 142.948,142.514c 3.74,3.74, 9.828,3.74, 13.547,0.00
220
+ l 27.157-27.392C 425.138,286.009, 425.138,279.787, 421.433,276.046z" data-tags="checkbox-checked" />
221
+ <glyph unicode="&#xe035;" d="M 346.484,277.364c-18.711,0.00-77.615,1.396-126.813,2.071c 15.244,50.595, 28.416,96.303, 33.257,128.884c 69.306,0.00, 154.554-0.698, 167.703-0.698
222
+ c 21.481,0.00, 31.884,7.633, 39.494,27.02c 4.841,12.474, 14.545,30.487, 14.545,36.026c0.00,11.078-6.935,14.545-18.711,14.545c-31.884,0.00-124.719,3.468-207.919,3.468
223
+ C 110.895,488.681,0.00,441.553,0.00,369.501c0.00-18.013, 7.633-30.487, 15.942-30.487c 2.071,0.00, 4.841,0.698, 6.935,2.769c 29.789,26.345, 56.832,62.371, 135.843,66.513
224
+ c-16.64-38.097-34.653-90.065-50.595-144.826c-65.14-17.315-92.858-42.938-92.858-64.442c0.00-4.166, 3.468-6.935, 9.007-6.935c 15.942,0.00, 39.494,2.071, 66.537,5.539
225
+ c-18.013-69.306-29.789-135.145-29.789-171.148c0.00-42.263, 0.698-67.212, 23.552-67.212c 38.819,0.00, 79.709,6.935, 79.709,40.89c0.00,63.767, 16.64,138.589, 36.026,209.268
226
+ c 6.237,0.698, 12.474,0.698, 18.711,0.698c 18.013,0.00, 93.556-4.841, 105.332-4.841c 13.172,0.00, 19.409,7.633, 24.25,25.623c 2.769,11.078, 9.007,27.718, 9.007,33.257
227
+ C 357.585,274.548, 353.42,277.364, 346.484,277.364z M 1316.841,131.119c-5.539,0.00-14.545-6.237-24.948-20.108c-22.179-29.114-81.082-63.767-97.722-63.767
228
+ c-11.055,0.00-15.919,18.735-15.919,47.825c0.00,29.789, 5.539,94.231, 14.545,147.596c 20.108,0.00, 58.205-3.468, 69.306-3.468c 10.403,0.00, 19.409,38.819, 19.409,47.825
229
+ c0.00,8.308-0.698,11.078-7.633,11.078c-15.244,0.00-36.724,0.698-68.608,1.396l 28.393,49.897c-6.935,29.114-15.22,56.134-45.033,56.134
230
+ c-24.948,0.00-48.524-44.358-67.91-106.729c-15.244-0.698-28.393-0.698-37.423-0.698c-15.919-18.711-17.99-29.789-17.99-51.968c0.00-4.166, 2.769-6.935, 8.285-6.935
231
+ l 31.209,0.00 c-8.192-36.096-13.708-73.775-15.686-108.567c-19.735-13.777-74.496-83.363-100.119-83.363c-10.38,0.00-14.545,24.948-14.545,56.832
232
+ c0.00,35.351, 0.698,63.767, 5.539,90.065c 10.403,17.315, 19.409,33.955, 28.393,54.761c0.00,22.877-38.097,60.998-66.513,60.998c-9.728,0.00-17.315-7.633-23.575-20.108
233
+ c-4.841,2.769-11.776,4.841-20.783,6.935c-14.545,2.769-28.393,4.166-41.588,4.166c-57.507,0.00-107.404-36.026-139.264-74.147
234
+ c-29.30-35.607-45.079-81.152-49.664-125.673c-23.11-27.648-52.62-53.108-96.582-53.108c-34.653,0.00-59.601,23.575-59.601,74.822l0.00,27.718
235
+ c 86.621,112.943, 192.652,188.486, 192.652,273.711c0.00,38.819-24.25,61.649-63.767,61.649c-142.755,0.00-227.281-210.641-227.281-380.393c0.00-99.095, 71.377-137.914, 147.619-137.914
236
+ c 43.055,0.00, 85.62,25.693, 114.269,58.927c 15.942-38.935, 52.387-62.371, 99.863-62.371c 63.791,0.00, 99.793,28.393, 124.044,67.887c 7.633-38.121, 22.877-64.442, 49.199-64.442
237
+ c 53.807,0.00, 115.06,43.171, 143.407,90.042c 6.586-52.666, 25.786-90.042, 61.766-90.042c 75.567,0.00, 173.94,79.011, 173.94,139.264
238
+ C 1326.545,122.81, 1323.776,131.119, 1316.841,131.119z M 616.82,418.001c 8.308,0.00, 11.776-4.841, 11.776-15.244c0.00-42.961-46.429-70.004-108.777-165.609
239
+ C 539.881,352.186, 587.008,418.001, 616.82,418.001z M 892.672,120.739c-16.64-58.903-54.063-82.455-85.946-82.455c-31.185,0.00-39.494,26.345-39.494,53.364
240
+ c0.00,93.556, 72.076,149.667, 139.287,162.141C 896.14,209.431, 893.347,149.178, 892.672,120.739z" horiz-adv-x="1326.5454545454545" data-tags="flat" />
241
+ <glyph unicode="&#xe022;" d="M0.00,288.224L0.00,342.08 c0.00,22.976, 19.104,41.568, 42.656,41.568l 53.696,0.00 L 96.352,428.864
242
+ c0.00,10.528, 10.784,51.104, 24.096,51.104L 168.64,479.968 c 13.312,0.00, 24.096-40.576, 24.096-51.104l0.00-45.216 l 159.616,0.00 L 352.352,428.864 c0.00,10.528, 10.816,51.104, 24.096,51.104l 48.192,0.00
243
+ c 13.312,0.00, 24.096-40.576, 24.096-51.104l0.00-45.216 l 20.64,0.00 c 23.584,0.00, 42.688-18.592, 42.688-41.568l0.00-53.888 L0.00,288.192 z M 512.032,255.68l0.00-246.112
244
+ c0.00-22.976-19.104-41.60-42.688-41.60L 42.656-32.032 c-23.552,0.00-42.656,18.624-42.656,41.60L0.00,255.68 L 512.032,255.68 z" data-tags="calendar-solid" />
245
+ <glyph unicode="&#xe036;" d="M 512.00,224.00l-190.40-64.00l-5.152-192.00L 193.60,120.48L0.00,65.792L 114.496,224.00L0.00,382.208l 193.60-54.656L 316.448,480.00l 5.152-192.00L 512.00,224.00z" data-tags="star" />
246
+ <glyph unicode="&#xe037;" d="M 384.00,63.776c 17.696,0.00, 32.00,14.336, 32.00,32.032s-14.304,32.032-32.00,32.032
247
+ s-32.00-14.336-32.00-32.032S 366.304,63.776, 384.00,63.776z M 469.376,384.00L 42.688,384.00 c-23.584,0.00-42.688-19.104-42.688-42.688l0.00-330.592
248
+ c0.00-23.584, 19.104-42.72, 42.688-42.72l 426.688,0.00 c 23.552,0.00, 42.656,19.136, 42.656,42.72L 512.032,341.312 C 512.032,364.896, 492.928,384.00, 469.376,384.00z
249
+ M 448.032,32.096L 64.00,32.096 l0.00,127.776 l 384.032,0.00 L 448.032,32.096 z M 448.032,255.936L 64.00,255.936 l0.00,64.032 l 384.032,0.00 L 448.032,255.936 z" data-tags="credit-card" />
250
+ <glyph unicode="&#xe038;" d="M 469.856,437.856c-56.224,56.224-147.392,56.224-203.648-0.032l-224.00-224.00c-56.256-56.256-56.256-147.424-0.032-203.648
251
+ s 147.392-56.256, 203.648,0.00l 47.424,46.08c-25.504,0.576-48.768,8.864-68.48,22.336l-24.224-23.20c-31.264-31.264-81.92-31.264-113.152,0.00
252
+ c-31.232,31.232-31.232,81.92, 0.032,113.152l 224.00,224.00c 31.264,31.264, 81.92,31.264, 113.12,0.00c 31.264-31.264, 31.296-81.888, 0.032-113.12L 312.96,167.04
253
+ c-9.376-9.376-24.576-9.376-33.952,0.00s-9.376,24.576,0.00,33.952l 84.288,85.088c 6.24,6.24, 6.272,16.384,0.00,22.624l-22.624,22.624
254
+ c-6.24,6.24-16.384,6.24-22.624,0.00l-84.288-85.088c-34.368-34.368-34.368-90.08,0.00-124.448c 34.368-34.368, 90.08-34.368, 124.448,0.00l 111.616,112.416
255
+ C 526.048,290.432, 526.048,381.632, 469.856,437.856z" data-tags="clip" />
256
+ <glyph unicode="&#xe039;" d="M 469.824,437.824C 442.592,465.024, 406.432,480.00, 368.00,480.00c-38.464,0.00-74.624-14.976-101.824-42.176
257
+ c0.00,0.00-90.848-90.816-96.064-95.968c-27.104-27.168-42.048-63.36-42.112-102.048c 0.064-38.40, 15.04-74.496, 42.176-101.632l 11.68-11.712
258
+ c 3.136-3.136, 7.264-4.672, 11.328-4.672c 4.096,0.00, 8.192,1.568, 11.328,4.672l 22.624,22.624c 6.24,6.24, 6.24,16.384,0.00,22.624l-11.712,11.712
259
+ c-30.688,30.688-31.104,81.024-0.896,112.256c 0.928,0.928, 96.928,96.896, 96.928,96.896C 326.56,407.68, 346.624,416.00, 368.00,416.00
260
+ s 41.44-8.32, 56.576-23.392l0.00-0.032 c 31.264-31.296, 31.264-81.888,0.00-113.12l-4.928-4.928C 427.36,253.728, 431.968,231.424, 432.00,208.00
261
+ c0.00-4.256-0.608-8.352-0.832-12.512l 38.656,38.688C 526.048,290.432, 526.016,381.632, 469.824,437.824z M 330.08,321.568
262
+ c-3.104,3.136-7.232,4.672-11.296,4.672c-4.128,0.00-8.224-1.568-11.328-4.672l-22.624-22.624c-6.272-6.24-6.272-16.384,0.00-22.624
263
+ l 11.68-11.712c 30.688-30.688, 31.136-81.024, 0.928-112.256c-0.928-0.928-96.928-96.896-96.928-96.896C 185.44,40.32, 165.376,32.00, 143.968,32.00
264
+ c-21.344,0.00-41.408,8.32-56.544,23.392l0.00,0.032 c-31.264,31.296-31.264,81.888-0.032,113.12l 4.96,4.928C 84.608,194.272, 80.00,216.576, 80.00,240.00
265
+ c0.00,4.256, 0.576,8.352, 0.832,12.512l-38.656-38.688c-56.256-56.256-56.224-147.424,0.00-203.616C 69.408-17.024, 105.568-32.00, 144.00-32.00
266
+ s 74.592,14.976, 101.824,42.176c0.00,0.00, 90.848,90.816, 96.064,95.968c 27.104,27.168, 42.048,63.36, 42.112,102.048c-0.064,38.40-15.072,74.496-42.176,101.632
267
+ L 330.08,321.568z" data-tags="link" />
268
+ <glyph unicode="&#xe03b;" d="M 128.00,480.00l-96.00,0.00 c-17.664,0.00-32.00-14.304-32.00-32.00l0.00-448.00 c0.00-17.696, 14.336-32.00, 32.00-32.00l 96.00,0.00
269
+ c 17.664,0.00, 32.00,14.304, 32.00,32.00l0.00,448.00 C 160.00,465.696, 145.664,480.00, 128.00,480.00z M 448.00,480.00l-96.00,0.00 c-17.696,0.00-32.00-14.304-32.00-32.00l0.00-448.00 c0.00-17.696, 14.304-32.00, 32.00-32.00l 96.00,0.00
270
+ c 17.696,0.00, 32.00,14.304, 32.00,32.00l0.00,448.00 C 480.00,465.696, 465.696,480.00, 448.00,480.00z" data-tags="pause" />
271
+ <glyph unicode="&#xe03c;" d="M 440.00,237.888l-416.00,240.00c-4.928,2.848-11.072,2.848-16.00,0.00C 3.072,475.008, 0.00,469.728, 0.00,464.00l0.00-480.00
272
+ c0.00-5.728, 3.072-11.008, 8.00-13.856C 10.464-31.296, 13.248-32.00, 16.00-32.00s 5.536,0.704, 8.00,2.144l 416.00,240.00c 4.928,2.848, 8.00,8.128, 8.00,13.856
273
+ S 444.928,235.008, 440.00,237.888z" data-tags="play" />
274
+ <glyph unicode="&#xe03d;" d="M 506.368,194.08l-120.608,176.00c-5.984,8.704-15.84,13.92-26.40,13.92
275
+ L 32.00,384.00 c-17.696,0.00-32.00-14.336-32.00-32.00l0.00-352.00 c0.00-17.664, 14.304-32.00, 32.00-32.00l 327.36,0.00 c 10.56,0.00, 20.448,5.184, 26.40,13.92l 120.608,176.00
276
+ C 513.888,168.80, 513.888,183.20, 506.368,194.08z M 368.00,128.00c-26.496,0.00-48.00,21.504-48.00,48.00s 21.504,48.00, 48.00,48.00s 48.00-21.504, 48.00-48.00
277
+ S 394.496,128.00, 368.00,128.00z" data-tags="tag" />
278
+ <glyph unicode="&#xe03e;" d="M 373.376,480.00L 43.104,480.00 c-23.776,0.00-43.104-19.072-43.104-32.00l0.00-426.688
279
+ c0.00-34.208, 19.328-53.312, 43.104-53.312l 330.272,0.00 c 23.52,0.00, 42.624,19.104, 42.624,42.656L 416.00,437.344 C 416.00,460.928, 396.896,480.00, 373.376,480.00z M 224.00,64.00
280
+ l-128.00,0.00 c-17.696,0.00-32.00,14.304-32.00,32.00s 14.304,32.00, 32.00,32.00l 128.00,0.00 c 17.696,0.00, 32.00-14.304, 32.00-32.00S 241.696,64.00, 224.00,64.00z M 320.00,192.00l-224.00,0.00 c-17.696,0.00-32.00,14.304-32.00,32.00
281
+ s 14.304,32.00, 32.00,32.00l 224.00,0.00 c 17.696,0.00, 32.00-14.304, 32.00-32.00S 337.696,192.00, 320.00,192.00z M 320.00,320.00l-224.00,0.00 c-17.696,0.00-32.00,14.304-32.00,32.00s 14.304,32.00, 32.00,32.00l 224.00,0.00
282
+ c 17.696,0.00, 32.00-14.304, 32.00-32.00S 337.696,320.00, 320.00,320.00z" data-tags="document" />
283
+ <glyph unicode="&#xe03a;" d="M 469.376-32.00L 42.688-32.00 c-23.584,0.00-42.688,18.624-42.688,41.632L0.00,342.368 C0.00,365.376 19.104,384.00 42.688,384.00L 469.376,384.00
284
+ c 23.552,0.00, 42.656-18.624, 42.656-41.632l0.00-332.736 C 512.032-13.376, 492.928-32.00, 469.376-32.00z M 448.032,320.00L 64.00,320.00 l0.00-255.904 c0.00,0.00, 32.00,32.032, 64.00,64.032
285
+ c 32.00,32.032, 64.00,0.00, 64.00,0.00l 32.00-32.00c0.00,0.00, 59.36,60.384, 96.00,96.064c 33.44,33.472, 64.00,0.00, 64.00,0.00l 64.00-64.064L 448.032,320.00z M 160.00,192.00c-17.664,0.00-32.00,14.336-32.00,31.968
286
+ c0.00,17.696, 14.336,32.032, 32.00,32.032s 32.00-14.336, 32.00-32.032C 192.00,206.336 177.664,192.00 160.00,192.00z" data-tags="image" />
287
+ <glyph unicode="&#xe03f;" d="M 482.752,480.00L 29.248,480.00 C 13.184,480.00, 0.00,466.816, 0.00,450.752l0.00-453.504 C 0.00-18.816, 13.184-32.00, 29.248-32.00l 453.504,0.00
288
+ C 498.816-32.00, 512.00-18.816, 512.00-2.752L 512.00,450.752 C 512.00,466.816, 498.816,480.00, 482.752,480.00z M 434.56,192.792l-70.312,0.00 l0.00-188.248 l-71.68,0.00 L 292.568,192.792 L 242.776,192.792 L 242.776,260.568 l 49.752,0.00
289
+ c0.00,0.00,0.00,27.776,0.00,57.896c0.00,45.504, 29.44,87.296, 97.192,87.296c 27.352,0.00, 47.68-2.664, 47.68-2.664l-1.624-63.272c0.00,0.00-20.672,0.192-43.264,0.192
290
+ c-24.448,0.00-28.328-11.264-28.328-29.952c0.00-2.304,0.00-3.136,0.00-3.20c0.00-5.248,0.00-17.96,0.00-46.312l 73.512,0.00 L 434.56,192.792z" data-tags="facebook" />
291
+ <glyph unicode="&#xe040;" d="M 83.488,415.264L 83.488,416.00 C 83.36,415.648, 83.20,415.424, 83.072,415.264L 83.488,415.264 zM 508.64,288.832c0.00,41.184-33.12,74.624-73.984,74.624C 376.384,365.952, 316.80,367.04, 256.00,366.944
292
+ C 195.20,367.008, 135.616,365.952, 77.344,363.456c-40.80,0.00-73.952-33.44-73.952-74.624C 0.96,256.16-0.096,223.584,0.00,190.944
293
+ c-0.096-32.608, 0.96-65.248, 3.392-97.92c0.00-41.184, 33.12-74.624, 73.952-74.624C 135.552,15.968, 195.20,14.848, 256.00,14.976
294
+ c 60.736-0.128, 120.352,0.992, 178.624,3.424c 40.80,0.00, 73.952,33.44, 73.952,74.624c 2.496,32.672, 3.52,65.312, 3.424,97.92
295
+ C 512.096,223.584, 511.072,256.192, 508.64,288.832z M 192.032,78.976l0.00,224.00 l 160.00-112.00L 192.032,78.976z" data-tags="youtube" />
296
+ <glyph unicode="&#xe041;" d="M 437.184,415.904C 366.016,418.24, 317.888,377.984, 292.64,294.976c 12.96,5.408, 25.632,8.16, 37.92,8.16
297
+ c 25.984,0.00, 37.44-14.72, 34.336-44.224c-1.504-17.856-12.96-43.84-34.336-77.984C 309.056,146.784, 292.992,129.728, 282.368,129.728
298
+ c-13.824,0.00-26.432,26.336-37.952,79.104C 240.576,224.352, 233.664,263.904, 223.776,327.552c-9.248,58.944-33.728,86.432-73.472,82.56
299
+ C 133.504,408.576, 108.288,393.056, 74.688,363.616C 50.112,341.088, 25.28,318.592,0.00,296.096l 24.064-31.392c 23.008,16.384, 36.448,24.448, 40.16,24.448
300
+ c 17.664,0.00, 34.08-27.872, 49.376-83.68c 13.792-51.264, 27.584-102.40, 41.376-153.632c 20.608-55.776, 45.92-83.712, 75.68-83.712
301
+ c 48.16,0.00, 107.168,45.728, 176.704,137.216c 67.296,87.616, 102.016,156.672, 104.384,207.136C 514.848,379.872, 489.984,414.40, 437.184,415.904z" data-tags="vimeo" />
302
+ <glyph unicode="&#xe042;" d="M 83.488,479.264L 83.488,480.00 C 83.36,479.648, 83.20,479.424, 83.072,479.264L 83.488,479.264 zM 512.00,413.696c-18.848-8.384-39.136-14.016-60.384-16.608c 21.728,12.992, 38.368,33.664, 46.24,58.112
303
+ c-20.352-12.032-42.816-20.736-66.688-25.504c-19.232,20.448-46.496,33.184-76.704,33.184c-57.984,0.00-105.024-47.072-105.024-105.056
304
+ c0.00-8.192, 0.928-16.256, 2.72-23.936c-87.296,4.448-164.704,46.208-216.512,109.76C 26.592,428.224, 21.408,410.144, 21.408,390.944
305
+ c0.00-36.48, 18.56-68.608, 46.72-87.456C 50.912,304.032, 34.72,308.768, 20.544,316.64c0.00-0.448,0.00-0.832,0.00-1.344c0.00-50.912, 36.224-93.344, 84.256-103.008
306
+ C 96.00,209.888, 86.72,208.608, 77.152,208.608c-6.752,0.00-13.344,0.64-19.776,1.888c 13.344-41.76, 52.16-72.128, 98.112-72.928
307
+ c-35.936-28.192-81.248-44.992-130.432-44.992c-8.48,0.00-16.832,0.512-25.056,1.504c 46.496-29.824, 101.696-47.232, 161.024-47.232
308
+ c 193.216,0.00, 298.88,160.064, 298.88,298.912c0.00,4.576-0.096,9.088-0.288,13.632C 480.128,374.144, 497.952,392.64, 512.00,413.696z" data-tags="twitter" />
309
+ <glyph unicode="&#xe043;" d="M 256.00,480.00C 114.592,480.00,0.00,365.376,0.00,224.00s 114.592-256.00, 256.00-256.00s 256.00,114.624, 256.00,256.00S 397.408,480.00, 256.00,480.00z M 253.216,286.016c-8.576,0.00-15.488-7.008-15.488-15.52
310
+ L 237.664,177.088c-0.512-35.744-29.568-64.576-65.408-64.576c-36.16,0.00-65.472,29.312-65.472,65.504c0.00,0.48,0.00,40.64,0.00,40.64l 50.048,0.00 L 156.832,178.56
311
+ c0.00-8.608, 6.976-15.456, 15.488-15.456c 8.576,0.00, 15.488,6.944, 15.488,15.456L 187.808,273.152 c 1.28,35.072, 30.016,63.136, 65.344,63.136
312
+ c 35.456,0.00, 64.32-28.288, 65.376-63.488l0.00-20.672 L 288.704,243.232L 268.672,252.544L 268.672,270.528 C 268.704,279.04, 261.792,286.016, 253.216,286.016z M 399.712,178.016
313
+ c0.00-36.192-29.312-65.504-65.504-65.504c-36.00,0.00-65.184,28.992-65.504,64.864L 268.704,218.208 l 20.00-9.312l 29.888,8.864l0.00-41.12
314
+ c0.00-8.608, 6.944-15.488, 15.488-15.488c 8.544,0.00, 15.456,6.944, 15.456,15.488L 349.536,218.624 l 50.08,0.00 C 399.712,218.624, 399.712,178.464, 399.712,178.016z" data-tags="stumbleupon" />
315
+ <glyph unicode="&#xe044;" d="M 90.368,28.96c 39.424,56.80, 104.864,94.112, 179.264,94.112c 67.712,0.00, 128.064-30.976, 168.128-79.328
316
+ C 483.616,90.016, 512.00,153.696, 512.00,224.00c0.00,141.376-114.624,256.00-256.00,256.00S0.00,365.376,0.00,224.00C0.00,145.856, 35.136,75.936, 90.368,28.96z M 392.80,147.232
317
+ c-3.68-8.32-10.368-9.984-18.176-6.368c-34.048,15.744-72.00,24.608-112.00,24.608c-41.12,0.00-80.00-9.28-114.752-25.856
318
+ c-3.744-1.824-11.936-2.56-15.616,8.064c-3.68,10.56, 2.112,16.64, 5.504,18.112c 37.984,17.76, 80.192,27.84, 124.864,27.84
319
+ c 43.872,0.00, 86.048-8.352, 122.816-26.912C 391.264,163.776, 396.576,155.456, 392.80,147.232z M 414.624,212.608c-2.688-3.68-6.816-6.24-11.68-6.24
320
+ c-1.376,0.00-2.56,0.416-3.808,0.736c-41.824,18.432-87.936,28.832-136.512,28.832c-48.256,0.00-94.048-10.208-135.616-28.416
321
+ C 125.504,206.976, 123.936,206.528, 122.24,206.528c-4.928,0.00-9.152,2.688-11.776,6.496l-2.752,8.32C 107.776,225.664, 109.76,229.408, 112.736,232.032
322
+ c 45.792,20.576, 96.448,32.128, 149.888,32.128c 53.408,0.00, 104.032-11.552, 149.824-32.128c 3.072-2.56, 4.96-6.432, 5.088-10.752L 414.624,212.608z
323
+ M 94.112,315.968C 146.24,336.96, 202.976,348.704, 262.624,348.704c 59.008,0.00, 115.328-11.488, 167.008-32.128c 7.008-3.552, 11.872-10.624, 11.872-19.04
324
+ c0.00-11.872-9.632-21.504-21.504-21.504c-1.696,0.00-3.264,0.416-4.80,0.704c-47.136,19.04-98.624,29.60-152.576,29.60
325
+ c-54.016,0.00-105.568-10.56-152.736-29.664C 108.384,276.416, 106.88,276.064, 105.248,276.064c-11.872,0.00-21.504,9.632-21.504,21.504
326
+ C 83.744,305.44, 87.936,312.224, 94.112,315.968z M 269.632,38.496c-43.328,0.00-81.728-20.896-106.24-52.96C 192.128-25.632, 223.328-32.00, 256.032-32.00
327
+ c 40.544,0.00, 78.688,9.664, 112.704,26.40C 344.256,21.44, 308.928,38.496, 269.632,38.496z" data-tags="spotify" />
328
+ <glyph unicode="&#xe045;" d="M 83.456,464.288L 83.456,465.024 c-0.128-0.352-0.32-0.576-0.448-0.736L 83.456,464.288 zM 490.592,186.944C 492.48,199.008, 493.536,211.36, 493.536,224.00c0.00,131.20-106.368,237.568-237.568,237.568
329
+ c-12.576,0.00-24.992-1.056-37.056-2.944C 197.024,472.192, 171.232,480.00, 143.52,480.00C 64.256,480.00,0.00,415.744,0.00,336.448c0.00-27.68, 7.84-53.472, 21.376-75.36
330
+ C 19.488,248.992, 18.464,236.64, 18.464,224.00c0.00-131.20, 106.304-237.472, 237.536-237.472c 12.608,0.00, 24.992,0.96, 37.088,2.88c 21.952-13.504, 47.68-21.376, 75.36-21.376
331
+ c 79.264,0.00, 143.52,64.288, 143.52,143.52C 511.968,139.264, 504.16,165.024, 490.592,186.944z M 368.704,116.00c-10.016-14.496-24.768-25.824-44.064-33.952
332
+ c-19.328-8.128-42.176-12.192-68.608-12.192c-31.584,0.00-57.792,5.504-78.464,16.672c-14.656,8.00-26.56,18.752-35.68,32.128
333
+ c-9.184,13.408-13.856,26.496-13.856,39.328c0.00,7.488, 2.88,14.048, 8.48,19.392C 142.208,182.784, 149.504,185.504, 158.08,185.504
334
+ c 7.04,0.00, 13.056-2.112, 18.016-6.304C 180.992,174.976, 185.12,168.864, 188.48,160.80c 4.00-9.312, 8.384-17.088, 13.024-23.36
335
+ c 4.672-6.112, 11.104-11.328, 19.52-15.328c 8.32-4.064, 19.424-6.048, 33.248-6.048c 19.008,0.00, 34.368,4.16, 46.048,12.224
336
+ c 11.808,8.224, 17.504,18.112, 17.504,30.144c0.00,9.60-3.072,17.184-9.312,23.136c-6.368,6.016-14.496,10.56-24.672,13.76
337
+ c-10.144,3.264-23.84,6.688-40.96,10.272C 219.936,210.56, 200.704,216.448, 185.152,223.136C 169.568,229.888, 157.152,239.072, 147.936,250.72
338
+ C 138.688,262.40, 134.08,276.992, 134.08,294.304c0.00,16.448, 4.832,31.20, 14.56,44.032C 158.40,351.20, 172.48,361.024, 190.752,367.904
339
+ c 18.24,6.848, 39.744,10.208, 64.352,10.208c 19.68,0.00, 36.704-2.208, 51.136-6.816c 14.368-4.576, 26.368-10.56, 35.936-18.08
340
+ c 9.60-7.552, 16.576-15.456, 20.992-23.872c 4.448-8.384, 6.688-16.608, 6.688-24.544c0.00-7.392-2.912-14.144-8.512-20.064
341
+ c-5.632-5.952-12.736-8.896-21.152-8.864c-7.52,0.00-13.472,1.728-17.60,5.408C 318.592,284.80, 314.40,290.528, 309.856,298.464
342
+ C 304.128,309.472, 297.248,318.048, 289.248,324.256C 281.472,330.24, 268.608,333.44, 250.72,333.408c-16.576,0.00-29.824-3.328-39.776-9.984
343
+ C 200.896,316.672, 196.096,308.928, 196.064,299.776c 0.032-5.728, 1.664-10.56, 4.992-14.688C 204.416,280.864, 209.088,277.312, 215.104,274.24
344
+ C 221.12,271.20, 227.232,268.736, 233.376,267.072c 6.208-1.76, 16.544-4.32, 30.88-7.68C 282.208,255.488, 298.56,251.20, 313.216,246.432s 27.136-10.464, 37.44-17.28
345
+ c 10.40-6.816, 18.528-15.456, 24.384-25.92c 5.824-10.496, 8.704-23.328, 8.704-38.368C 383.872,146.752, 378.816,130.432, 368.704,116.00z" data-tags="skype" />
346
+ <glyph unicode="&#xe046;" d="M 83.488,464.32L 83.488,465.056 C 83.36,464.704, 83.20,464.48, 83.072,464.32L 83.488,464.32 zM 256.00,480.00C 114.624,480.00,0.00,365.376,0.00,224.00c0.00-104.768, 63.072-194.848, 153.248-234.464c-0.672,17.888-0.16,39.36, 4.448,58.816
347
+ C 162.624,69.088, 190.624,187.84, 190.624,187.84S 182.464,204.16, 182.464,228.32c0.00,37.984, 21.984,66.272, 49.344,66.272c 23.328,0.00, 34.56-17.504, 34.56-38.432
348
+ c0.00-23.36-14.944-58.368-22.624-90.816c-6.40-27.20, 13.632-49.312, 40.384-49.312c 48.512,0.00, 81.184,62.304, 81.184,136.064
349
+ c0.00,56.096-37.824,98.112-106.528,98.112c-77.664,0.00-126.016-57.952-126.016-122.624c0.00-22.272, 6.56-38.016, 16.896-50.208
350
+ c 4.704-5.568, 5.408-7.808, 3.68-14.208c-1.248-4.736-4.032-16.064-5.216-20.576c-1.728-6.496-6.976-8.80-12.80-6.368
351
+ C 99.552,150.784, 82.88,189.984, 82.88,233.984c0.00,72.704, 61.312,159.936, 183.008,159.936c 97.696,0.00, 162.048-70.752, 162.048-146.624
352
+ c0.00-100.448-55.872-175.392-138.112-175.392c-27.68,0.00-53.696,14.944-62.56,31.872c0.00,0.00-14.88-59.04-17.984-70.368
353
+ c-5.44-19.744-16.064-39.392-25.76-54.816C 206.464-28.256, 230.816-31.936, 256.00-31.936c 141.376,0.00, 256.00,114.624, 256.00,255.968S 397.376,480.00, 256.00,480.00z" data-tags="pinterest" />
354
+ <glyph unicode="&#xe047;" d="M 127.104,457.44C 61.216,431.392, 16.48,381.088, 3.968,313.376c-7.68-41.60-4.736-86.976, 13.60-125.792
355
+ C 21.664,178.944, 26.56,170.656, 32.416,162.944c 2.88-3.712, 5.888-7.328, 9.152-10.72c 5.856,2.048, 11.456,4.672, 16.832,7.744
356
+ C 80.704,172.544, 97.088,191.872, 116.16,208.16C 52.48,281.984, 120.00,373.472, 204.544,393.92c 78.624,19.008, 185.248-13.792, 209.056-94.688
357
+ c 9.888-33.536, 3.36-70.56-23.904-94.88c-14.272-12.672-32.448-21.056-51.584-24.512c-11.264-1.984-22.752-2.336-34.016-1.184
358
+ c-6.272,0.64-12.608,1.664-18.752,3.136c-10.464,2.496-19.776,2.144-19.776,13.44c0.00,29.504,0.00,59.008,0.00,88.512c0.00,14.752,0.00,29.504,0.00,44.256
359
+ c0.00,8.992, 0.896,7.328-6.592,8.256C 252.96,336.96, 247.104,337.536, 241.152,338.016c-20.864,1.664-42.688,2.752-63.36-0.768
360
+ C 170.016,335.872, 169.504,337.088, 169.504,328.704c0.00-6.816,0.00-13.632,0.00-20.384c0.00-16.576,0.00-33.056,0.00-49.632c0.00-49.44, 3.744-99.424, 1.728-148.736
361
+ c-0.608-14.688-0.992-49.984-17.44-57.248c-19.104-8.448-35.936,9.376-53.568,13.12c 2.40-24.768-13.056-73.888, 15.776-86.368
362
+ c 26.464-11.424, 56.896-15.648, 84.832-6.24c 58.432,19.84, 77.376,84.864, 69.984,138.368c 90.272-27.008, 187.68,18.112, 226.304,99.616
363
+ c 27.456,58.048, 15.84,130.112-25.536,179.488C 394.08,483.136, 236.768,500.896, 127.104,457.44z" data-tags="path" />
364
+ <glyph unicode="&#xe048;" d="M 424.288,205.12c 44.096,0.00, 79.84,35.584, 79.84,79.52s-35.744,79.552-79.84,79.552c-44.128,0.00-79.84-35.616-79.84-79.552
365
+ S 380.16,205.12, 424.288,205.12M 431.36,186.624c-0.64,0.064-1.248,0.128-1.824,0.192C 429.088,186.88, 428.64,186.88, 428.16,186.88
366
+ c-1.28,0.064-2.528,0.128-3.808,0.128L 424.32,187.008 l-0.096,0.00 c-1.312,0.00-2.592-0.064-3.84-0.128c-0.512,0.00-0.928,0.00-1.408-0.064
367
+ c-0.608-0.064-1.152-0.128-1.792-0.192c-45.12-3.872-80.672-44.128-80.672-90.048l0.00-30.88 c0.00-4.384, 3.552-7.936, 8.00-7.936l 2.816,0.00 l 153.952,0.00
368
+ l 2.848,0.00 c 4.416,0.00, 7.968,3.552, 7.968,7.936l0.00,30.88 C 512.032,142.496, 476.512,182.752, 431.36,186.624M 239.328,190.368c 39.616,0.00, 71.872,32.064, 71.872,71.616S 278.944,333.568, 239.328,333.568c-39.744,0.00-71.872-32.00-71.872-71.552
369
+ S 199.552,190.368, 239.328,190.368M 245.632,173.76C 245.12,173.824, 244.576,173.888, 244.064,173.952c-0.448,0.00-0.864,0.00-1.312,0.064
370
+ c-1.12,0.00-2.24,0.064-3.36,0.064L 239.264,174.08 L 239.20,174.08 c-1.12,0.00-2.24-0.064-3.392-0.064C 235.36,173.952, 234.976,173.952, 234.528,173.952
371
+ C 233.984,173.888, 233.472,173.824, 232.928,173.76c-40.672-3.488-72.672-39.68-72.672-81.056l0.00-27.744 l0.00-0.064 c0.00-3.936, 3.232-7.136, 7.232-7.136l 2.496,0.00 l 138.496,0.00
372
+ l 2.56,0.00 c 3.968,0.00, 7.20,3.20, 7.20,7.136l0.00,0.064 l0.00,27.744 C 318.24,134.048, 286.24,170.24, 245.632,173.76M 71.136,177.12c 35.712,0.00, 64.672,28.768, 64.672,64.448c0.00,35.552-28.96,64.448-64.672,64.448
373
+ c-35.744,0.00-64.672-28.864-64.672-64.448C 6.432,205.952, 35.36,177.12, 71.136,177.12M 76.80,162.176c-0.48,0.00-0.928,0.064-1.44,0.064C 75.008,162.304, 74.656,162.304, 74.24,162.304
374
+ C 73.248,162.432, 72.224,162.432, 71.20,162.432L 71.136,162.432 L 71.04,162.432 c-1.024,0.00-2.016,0.00-3.136-0.128c-0.416,0.00-0.704,0.00-1.12-0.064
375
+ c-0.48,0.00-0.896-0.064-1.44-0.064C 28.736,159.008,0.00,126.368,0.00,89.184l0.00-24.96 c0.00-3.552, 2.912-6.432, 6.464-6.432l 2.272,0.00 l 124.672,0.00 L 135.68,57.792
376
+ c 3.552,0.00, 6.432,2.88, 6.432,6.432l0.00,24.96 C 142.176,126.368, 113.44,159.008, 76.80,162.176" data-tags="myspace" />
377
+ <glyph unicode="&#xe049;" d="M 83.456,464.32L 83.456,465.056 C 83.328,464.704, 83.168,464.48, 83.04,464.32L 83.456,464.32 zM 479.968,480.00l-16.736,0.00 L 48.736,480.00 L 32.00,480.00 C 14.336,480.00,0.00,465.664,0.00,448.00l0.00-16.768 l0.00-414.528 l0.00-16.768 C0.00-17.728, 14.336-32.00, 32.00-32.00l 16.768,0.00 l 414.464,0.00 l 16.736,0.00
378
+ c 17.696,0.00, 32.00,14.272, 32.00,31.936l0.00,16.768 L 511.968,431.264 L 511.968,448.032 C 511.968,465.664, 497.664,480.00, 479.968,480.00z M 438.656,65.024l-72.128,0.00 L 366.528,180.032
379
+ c0.00,28.928-8.256,48.64-34.304,48.64c-19.968,0.00-31.872-13.312-37.056-26.08c-1.92-4.608-2.368-11.104-2.368-17.504l0.00-120.00 L 218.336,65.088
380
+ c0.00,0.00, 0.928,200.896,0.00,221.088l 74.432,0.00 L 292.768,255.68 c 9.60,14.656, 26.688,35.52, 65.056,35.52c 47.424,0.00, 80.80-36.928, 80.80-102.912L 438.624,65.024 z M 130.336,382.464
381
+ c 22.176,0.00, 35.808-16.032, 36.256-36.992c0.00-20.576-14.048-36.992-36.672-36.992L 129.536,308.48 c-21.792,0.00-35.808,16.448-35.808,36.992
382
+ C 93.728,366.432, 108.16,382.464, 130.336,382.464z M 170.688,285.312l0.00-220.256 L 97.536,65.056 L 97.536,285.312 L 170.688,285.312 z" data-tags="linkedin" />
383
+ <glyph unicode="&#xe04a;" d="M0.00,69.152c 18.848,8.736, 38.40,14.88, 58.624,18.40c 27.232,4.064, 49.856,6.304, 67.84,6.816c-5.536,7.392-10.528,15.296-14.848,23.68
384
+ c-5.088,8.16-7.616,17.984-7.616,29.44c0.00,6.88, 0.96,12.608, 2.88,17.184c 1.696,4.80, 3.264,9.28, 4.704,13.376
385
+ C 102.816,176.992, 94.56,176.512, 86.784,176.512C 50.016,176.96, 21.12,187.456,0.00,208.032L0.00,69.152 zM 187.488,276.512c0.00,30.688-7.776,61.664-23.328,92.896c-7.296,14.976-16.896,27.168-28.80,36.544c-12.16,8.896-26.112,13.60-41.92,14.08
386
+ C 72.512,419.52, 55.136,411.008, 41.28,394.528C 29.60,377.28, 24.00,357.984, 24.512,336.672c0.00-28.16, 8.16-57.504, 24.48-87.968
387
+ c 7.904-14.208, 18.112-26.272, 30.624-36.16c 12.48-9.888, 26.784-14.848, 42.848-14.848c 20.32,0.736, 37.248,8.128, 50.752,22.08
388
+ C 179.744,229.696, 183.936,239.84, 185.824,250.24C 186.912,260.672, 187.488,269.408, 187.488,276.512zM 147.488,72.384c-4.928,0.544-10.688,0.768-17.312,0.768c-3.936,0.512-14.016,0.00-30.208-1.536c-15.968-2.24-32.32-5.952-48.992-11.008
389
+ c-3.936-1.536-9.44-3.808-16.576-6.88c-7.136-3.264-14.368-7.936-21.728-14.016C 7.968,35.552, 3.744,30.688,0.00,25.152l0.00-21.152
390
+ C0.00-15.872, 16.00-32.00, 35.648-32.00l 194.304,0.00 c0.00,0.48, 0.032,0.928, 0.032,1.44c0.00,19.744-6.40,36.96-19.168,51.648
391
+ C 197.344,35.04, 176.224,52.128, 147.488,72.384zM 476.352,480.00l-92.096,0.00 L 256.032,480.00 l-130.24,0.00 L 35.648,480.00 C 16.00,480.00,0.00,463.872,0.00,444.00l0.00-38.976 l0.00-9.312 c 2.24,2.40, 4.576,4.80, 7.008,7.168
392
+ c 21.952,18.24, 44.704,30.144, 68.352,35.712c 23.392,4.80, 45.344,7.232, 65.792,7.232l 154.24,0.00 L 247.776,417.76L 200.192,417.76
393
+ C 205.056,414.72, 210.496,410.272, 216.544,404.448c 5.824-6.08, 11.52-13.536, 17.088-22.40c 5.344-8.384, 10.048-18.24, 14.176-29.632
394
+ C 251.20,341.024, 252.864,327.712, 252.864,312.544c-0.448-27.872-6.56-50.144-18.272-66.88c-5.76-8.096-11.84-15.552-18.272-22.40
395
+ C 209.216,216.416, 201.632,209.44, 193.60,202.368c-4.608-4.80-8.832-10.272-12.736-16.384C 176.256,179.68, 173.952,172.352, 173.952,164.00
396
+ c0.00-8.128, 2.368-14.816, 7.072-20.128c 4.00-5.12, 7.904-9.504, 11.68-13.312l 26.144-21.696c 16.256-13.408, 30.528-28.192, 42.784-44.448
397
+ c 11.552-16.448, 17.568-38.016, 18.016-64.576c0.00-11.008-1.408-21.632-4.224-31.872l 200.896,0.00 C 496.00-32.00, 512.00-15.872, 512.00,4.00L 512.00,405.024 L 512.00,444.00
398
+ C 512.00,463.872, 496.00,480.00, 476.352,480.00z M 504.384,321.184l-80.928,0.00 l0.00-81.728 l-39.20,0.00 L 384.256,321.184 L 303.328,321.184 L 303.328,360.768 l 80.928,0.00 L 384.256,442.496 l 39.20,0.00 l0.00-81.728 l 80.928,0.00 L 504.384,321.184 z" data-tags="googleplus" />
399
+ <glyph unicode="&#xe04c;" d="M 256.00,480.00C 114.624,480.00,0.00,365.376,0.00,224.00s 114.592-256.00, 256.00-256.00c 141.376,0.00, 256.00,114.624, 256.00,256.00S 397.376,480.00, 256.00,480.00z M 412.864,347.264
400
+ c 24.992-31.68, 40.64-70.976, 42.56-113.888c-28.864,6.112-56.192,9.12-81.632,9.12l0.00,0.00l-0.224,0.00 c-20.512,0.00-39.712-1.888-57.856-5.056
401
+ C 311.328,248.256, 306.88,258.624, 302.368,268.576C 342.752,286.24, 381.504,311.424, 412.864,347.264z M 256.00,423.712c 47.136,0.00, 90.304-16.48, 124.576-43.904
402
+ C 354.40,348.512, 319.808,325.824, 282.464,309.76C 256.256,360.512, 230.88,396.736, 213.568,418.944C 227.328,422.016, 241.44,423.712, 256.00,423.712z M 167.808,402.912
403
+ C 181.664,386.56, 209.44,350.528, 239.072,294.24C 178.784,276.288, 118.048,272.128, 81.344,272.128c-1.024,0.00-2.08,0.00-3.104,0.00L 78.176,272.128
404
+ c-6.176,0.00-11.488,0.128-15.968,0.256C 76.576,329.76, 115.872,377.184, 167.808,402.912z M 56.288,224.00c0.00,0.928, 0.032,1.888, 0.096,2.88
405
+ C 62.08,226.656, 69.376,226.464, 78.176,226.464l 0.064,0.00 C 118.40,226.752, 188.512,230.112, 259.488,252.512C 263.36,244.064, 267.264,235.264, 271.008,226.048
406
+ C 223.552,210.24, 186.24,184.928, 158.592,159.744c-26.592-24.256-44.608-48.256-55.104-64.256C 74.112,130.304, 56.288,175.008, 56.288,224.00z M 256.00,24.256
407
+ c-44.448,0.00-85.408,14.688-118.656,39.36c 7.104,11.616, 22.208,33.984, 46.336,57.056c 24.80,23.744, 59.04,48.256, 103.744,62.816
408
+ c 15.232-42.624, 28.992-91.328, 39.456-146.144C 304.80,28.928, 280.992,24.256, 256.00,24.256z M 369.056,59.712c-10.112,49.60-22.944,94.272-36.864,134.208
409
+ c 12.928,1.856, 26.56,2.88, 40.928,2.88l 0.512,0.00 l 0.064,0.00 l 0.064,0.00 c 23.808,0.00, 49.984-2.944, 78.336-9.376C 442.304,134.624, 411.68,89.12, 369.056,59.712z
410
+ " data-tags="dribbble" />
411
+ <glyph unicode="&#xe04d;" d="M 427.52,480.00L 84.48,480.00 C 38.016,480.00,0.00,441.984,0.00,395.52L0.00,52.48 c0.00-46.432, 38.016-84.512, 84.48-84.512L 427.52-32.032 c 46.432,0.00, 84.512,38.048, 84.512,84.512L 512.032,395.52
412
+ C 512.00,441.984, 473.984,480.00, 427.52,480.00z M 411.168,167.296c-0.32-54.432-44.544-98.976-99.04-98.976L 198.272,68.32 c-54.496,0.00-99.072,44.544-99.072,98.976L 99.20,282.848
413
+ c0.00,54.496, 44.576,99.20, 99.072,99.20l 69.312,0.00 c 25.568-3.072, 62.752-24.928, 76.512-54.08c 3.744-8.16, 5.76-9.44, 8.864-33.664
414
+ c 1.696-12.448, 2.56-21.696, 8.096-26.816c 7.84-7.168, 36.96-2.304, 42.784-6.816l 4.384-3.424l 2.624-5.472l 0.928-4.416L 411.168,167.296zM 199.52,263.168l 54.944,0.00 c 10.496,0.00, 19.008,8.64, 19.008,19.008s-8.512,18.88-19.008,18.88L 199.52,301.056 c-10.432,0.00-18.944-8.512-18.944-18.88
415
+ S 189.088,263.168, 199.52,263.168zM 311.232,187.52L 199.584,187.52 c-10.464,0.00-19.008-8.448-19.008-18.816c0.00-10.272, 8.544-18.88, 19.008-18.88l 111.616,0.00 c 10.336,0.00, 18.816,8.608, 18.816,18.88
416
+ C 330.016,179.104, 321.568,187.52, 311.232,187.52z" data-tags="blogger" />
417
+ <glyph unicode="&#xe04e;" d="M 462.368,242.752l-128.352,0.00 l0.00,32.00 l 128.352,0.00 L 462.368,242.752 z M 248.704,111.488c 8.32-12.896, 12.384-28.544, 12.384-46.944
418
+ c0.00-18.944-4.64-36.00-14.112-51.04C 240.896,3.552, 233.408-4.736, 224.416-11.584C 214.272-19.36, 202.272-24.736, 188.48-27.68
419
+ C 174.656-30.56, 159.648-32.00, 143.52-32.00L0.00-32.00 L0.00,288.00 l 153.92,0.00 c 38.752-0.64, 66.208-11.904, 82.496-34.048C 246.08,240.32, 250.944,224.00, 250.944,205.056
420
+ c0.00-19.552-4.896-35.264-14.752-47.136C 230.72,151.328, 222.624,145.216, 211.936,139.744C 228.16,133.76, 240.48,124.416, 248.704,111.488z M 73.472,161.888l 67.36,0.00
421
+ c 13.92,0.00, 25.056,2.688, 33.728,7.872c 8.672,5.312, 12.896,14.688, 12.896,28.192c0.00,14.944-5.696,24.768-17.088,29.568
422
+ C 160.544,230.816, 148.00,232.512, 132.704,232.512L 73.44,232.512 L 73.472,161.888L 73.472,161.888z M 193.984,69.184c0.00,16.64-6.752,28.128-20.288,34.24
423
+ C 166.144,106.976, 155.52,108.736, 141.92,108.928L 73.472,108.928 l0.00-85.312 l 67.328,0.00 c 13.856,0.00, 24.544,1.792, 32.288,5.632C 187.008,36.256, 193.984,49.472, 193.984,69.184z
424
+ M 509.984,121.248c 1.568-10.464, 2.24-25.696, 1.984-45.536l-166.112,0.00 c 0.896-23.04, 8.80-39.168, 23.84-48.352c 9.024-5.824, 20.00-8.672, 32.896-8.672
425
+ c 13.504,0.00, 24.576,3.456, 33.056,10.528c 4.672,3.744, 8.672,9.056, 12.256,15.68l 60.864,0.00 c-1.568-13.568-8.896-27.36-22.048-41.376
426
+ c-20.384-22.304-49.024-33.504-85.824-33.504c-30.368,0.00-57.12,9.44-80.384,28.256C 297.344,17.12, 285.728,47.712, 285.728,90.112
427
+ c0.00,39.68, 10.40,70.112, 31.36,91.328c 20.992,21.248, 48.192,31.808, 81.664,31.808c 19.808,0.00, 37.728-3.552, 53.664-10.752
428
+ c 15.904-7.136, 29.024-18.432, 39.392-33.952C 501.12,155.008, 507.168,139.264, 509.984,121.248z M 450.016,115.328c-1.12,15.936-6.432,28.00-16.00,36.192
429
+ c-9.44,8.352-21.248,12.448-35.328,12.448c-15.36,0.00-27.20-4.448-35.616-13.12c-8.48-8.672-13.76-20.576-15.872-35.488L 450.016,115.36 L 450.016,115.328z" data-tags="behance" />
430
+ <glyph unicode="&#xe04b;" d="M 176.00,416.00l-160.00,0.00 C 7.168,416.00,0.00,408.832,0.00,400.00l0.00-160.00 C0.00,231.168, 7.168,224.00, 16.00,224.00l 160.00,0.00 C 184.832,224.00, 192.00,231.168, 192.00,240.00l0.00,160.00 C 192.00,408.832, 184.832,416.00, 176.00,416.00
431
+ zM 176.00,160.00l-160.00,0.00 C 7.168,160.00,0.00,152.832,0.00,144.00l0.00-160.00 C0.00-24.832, 7.168-32.00, 16.00-32.00l 160.00,0.00 C 184.832-32.00, 192.00-24.832, 192.00-16.00l0.00,160.00
432
+ C 192.00,152.832, 184.832,160.00, 176.00,160.00zM 496.00,416.00l-224.00,0.00 C 263.168,416.00, 256.00,408.832, 256.00,400.00l0.00-32.00 C 256.00,359.168, 263.168,352.00, 272.00,352.00l 224.00,0.00 C 504.864,352.00, 512.00,359.168, 512.00,368.00l0.00,32.00
433
+ C 512.00,408.832, 504.864,416.00, 496.00,416.00zM 496.00,288.00l-224.00,0.00 C 263.168,288.00, 256.00,280.832, 256.00,272.00l0.00-32.00 C 256.00,231.168, 263.168,224.00, 272.00,224.00l 224.00,0.00 C 504.864,224.00, 512.00,231.168, 512.00,240.00l0.00,32.00
434
+ C 512.00,280.832, 504.864,288.00, 496.00,288.00zM 496.00,160.00l-224.00,0.00 C 263.168,160.00, 256.00,152.832, 256.00,144.00l0.00-32.00 C 256.00,103.168, 263.168,96.00, 272.00,96.00l 224.00,0.00 c 8.864,0.00, 16.00,7.168, 16.00,16.00l0.00,32.00
435
+ C 512.00,152.832, 504.864,160.00, 496.00,160.00zM 496.00,32.00l-224.00,0.00 C 263.168,32.00, 256.00,24.832, 256.00,16.00l0.00-32.00 C 256.00-24.832, 263.168-32.00, 272.00-32.00l 224.00,0.00 c 8.864,0.00, 16.00,7.168, 16.00,16.00l0.00,32.00
436
+ C 512.00,24.832, 504.864,32.00, 496.00,32.00z" data-tags="list-thumbnailed" />
437
+ <glyph unicode="&#xe04f;" d="M 112.00,416.00l-96.00,0.00 C 7.168,416.00,0.00,408.832,0.00,400.00l0.00-96.00 C0.00,295.168, 7.168,288.00, 16.00,288.00l 96.00,0.00 C 120.832,288.00, 128.00,295.168, 128.00,304.00l0.00,96.00 C 128.00,408.832, 120.832,416.00, 112.00,416.00z M 112.00,256.00l-96.00,0.00
438
+ C 7.168,256.00,0.00,248.832,0.00,240.00l0.00-96.00 C0.00,135.168, 7.168,128.00, 16.00,128.00l 96.00,0.00 C 120.832,128.00, 128.00,135.168, 128.00,144.00l0.00,96.00 C 128.00,248.832, 120.832,256.00, 112.00,256.00z M 272.00,416.00l-96.00,0.00
439
+ C 167.168,416.00, 160.00,408.832, 160.00,400.00l0.00-96.00 C 160.00,295.168, 167.168,288.00, 176.00,288.00l 96.00,0.00 C 280.832,288.00, 288.00,295.168, 288.00,304.00l0.00,96.00 C 288.00,408.832, 280.832,416.00, 272.00,416.00z M 272.00,256.00l-96.00,0.00
440
+ C 167.168,256.00, 160.00,248.832, 160.00,240.00l0.00-96.00 C 160.00,135.168, 167.168,128.00, 176.00,128.00l 96.00,0.00 C 280.832,128.00, 288.00,135.168, 288.00,144.00l0.00,96.00 C 288.00,248.832, 280.832,256.00, 272.00,256.00z M 432.00,416.00l-96.00,0.00
441
+ C 327.168,416.00, 320.00,408.832, 320.00,400.00l0.00-96.00 C 320.00,295.168, 327.168,288.00, 336.00,288.00l 96.00,0.00 C 440.832,288.00, 448.00,295.168, 448.00,304.00l0.00,96.00 C 448.00,408.832, 440.832,416.00, 432.00,416.00z M 432.00,256.00l-96.00,0.00
442
+ C 327.168,256.00, 320.00,248.832, 320.00,240.00l0.00-96.00 C 320.00,135.168, 327.168,128.00, 336.00,128.00l 96.00,0.00 C 440.832,128.00, 448.00,135.168, 448.00,144.00l0.00,96.00 C 448.00,248.832, 440.832,256.00, 432.00,256.00z M 112.00,96.00l-96.00,0.00
443
+ C 7.168,96.00,0.00,88.832,0.00,80.00l0.00-96.00 C0.00-24.832, 7.168-32.00, 16.00-32.00l 96.00,0.00 C 120.832-32.00, 128.00-24.832, 128.00-16.00l0.00,96.00 C 128.00,88.832, 120.832,96.00, 112.00,96.00z M 272.00,96.00l-96.00,0.00
444
+ C 167.168,96.00, 160.00,88.832, 160.00,80.00l0.00-96.00 C 160.00-24.832, 167.168-32.00, 176.00-32.00l 96.00,0.00 C 280.832-32.00, 288.00-24.832, 288.00-16.00l0.00,96.00 C 288.00,88.832, 280.832,96.00, 272.00,96.00z M 432.00,96.00l-96.00,0.00
445
+ c-8.832,0.00-16.00-7.168-16.00-16.00l0.00-96.00 c0.00-8.832, 7.168-16.00, 16.00-16.00l 96.00,0.00 c 8.832,0.00, 16.00,7.168, 16.00,16.00l0.00,96.00 C 448.00,88.832, 440.832,96.00, 432.00,96.00z" data-tags="list-small-thumbnails" />
446
+ <glyph unicode="&#xe050;" d="M 496.00,416.00l-384.00,0.00 C 103.168,416.00, 96.00,408.832, 96.00,400.00l0.00-32.00 C 96.00,359.168, 103.168,352.00, 112.00,352.00l 384.00,0.00 C 504.832,352.00, 512.00,359.168, 512.00,368.00l0.00,32.00
447
+ C 512.00,408.832, 504.832,416.00, 496.00,416.00zM 496.00,288.00l-384.00,0.00 C 103.168,288.00, 96.00,280.832, 96.00,272.00l0.00-32.00 C 96.00,231.168, 103.168,224.00, 112.00,224.00l 384.00,0.00 C 504.832,224.00, 512.00,231.168, 512.00,240.00l0.00,32.00
448
+ C 512.00,280.832, 504.832,288.00, 496.00,288.00zM 496.00,160.00l-384.00,0.00 C 103.168,160.00, 96.00,152.832, 96.00,144.00l0.00-32.00 C 96.00,103.168, 103.168,96.00, 112.00,96.00l 384.00,0.00 c 8.832,0.00, 16.00,7.168, 16.00,16.00l0.00,32.00
449
+ C 512.00,152.832, 504.832,160.00, 496.00,160.00zM 496.00,32.00l-384.00,0.00 C 103.168,32.00, 96.00,24.832, 96.00,16.00l0.00-32.00 C 96.00-24.832, 103.168-32.00, 112.00-32.00l 384.00,0.00 c 8.832,0.00, 16.00,7.168, 16.00,16.00l0.00,32.00
450
+ C 512.00,24.832, 504.832,32.00, 496.00,32.00zM 48.00,416.00l-32.00,0.00 C 7.168,416.00,0.00,408.832,0.00,400.00l0.00-32.00 C0.00,359.168, 7.168,352.00, 16.00,352.00l 32.00,0.00 C 56.832,352.00, 64.00,359.168, 64.00,368.00l0.00,32.00 C 64.00,408.832, 56.832,416.00, 48.00,416.00
451
+ zM 48.00,288.00l-32.00,0.00 C 7.168,288.00,0.00,280.832,0.00,272.00l0.00-32.00 C0.00,231.168, 7.168,224.00, 16.00,224.00l 32.00,0.00 C 56.832,224.00, 64.00,231.168, 64.00,240.00l0.00,32.00 C 64.00,280.832, 56.832,288.00, 48.00,288.00
452
+ zM 48.00,160.00l-32.00,0.00 C 7.168,160.00,0.00,152.832,0.00,144.00l0.00-32.00 C0.00,103.168, 7.168,96.00, 16.00,96.00l 32.00,0.00 C 56.832,96.00, 64.00,103.168, 64.00,112.00l0.00,32.00
453
+ C 64.00,152.832, 56.832,160.00, 48.00,160.00zM 48.00,32.00l-32.00,0.00 C 7.168,32.00,0.00,24.832,0.00,16.00l0.00-32.00 C0.00-24.832, 7.168-32.00, 16.00-32.00l 32.00,0.00 C 56.832-32.00, 64.00-24.832, 64.00-16.00l0.00,32.00
454
+ C 64.00,24.832, 56.832,32.00, 48.00,32.00z" data-tags="list-numbered" />
455
+ <glyph unicode="&#xe051;" d="M 208.00,480.00l-192.00,0.00 C 7.168,480.00,0.00,472.832,0.00,464.00l0.00-192.00 C0.00,263.168, 7.168,256.00, 16.00,256.00l 192.00,0.00 C 216.832,256.00, 224.00,263.168, 224.00,272.00l0.00,192.00 C 224.00,472.832, 216.832,480.00, 208.00,480.00z M 496.00,480.00l-192.00,0.00
456
+ C 295.168,480.00, 288.00,472.832, 288.00,464.00l0.00-192.00 C 288.00,263.168, 295.168,256.00, 304.00,256.00l 192.00,0.00 C 504.832,256.00, 512.00,263.168, 512.00,272.00l0.00,192.00 C 512.00,472.832, 504.832,480.00, 496.00,480.00z M 208.00,192.00l-192.00,0.00
457
+ C 7.168,192.00,0.00,184.832,0.00,176.00l0.00-192.00 C0.00-24.832, 7.168-32.00, 16.00-32.00l 192.00,0.00 C 216.832-32.00, 224.00-24.832, 224.00-16.00l0.00,192.00 C 224.00,184.832, 216.832,192.00, 208.00,192.00z M 496.00,192.00l-192.00,0.00
458
+ C 295.168,192.00, 288.00,184.832, 288.00,176.00l0.00-192.00 C 288.00-24.832, 295.168-32.00, 304.00-32.00l 192.00,0.00 c 8.832,0.00, 16.00,7.168, 16.00,16.00l0.00,192.00 C 512.00,184.832, 504.832,192.00, 496.00,192.00z" data-tags="list-large-thumbnails" />
459
+ <glyph unicode="&#xe052;" d="M 496.00,416.00l-480.00,0.00 C 7.168,416.00,0.00,408.832,0.00,400.00l0.00-32.00 C0.00,359.168, 7.168,352.00, 16.00,352.00l 480.00,0.00 C 504.832,352.00, 512.00,359.168, 512.00,368.00l0.00,32.00
460
+ C 512.00,408.832, 504.832,416.00, 496.00,416.00zM 496.00,288.00l-480.00,0.00 C 7.168,288.00,0.00,280.832,0.00,272.00l0.00-32.00 C0.00,231.168, 7.168,224.00, 16.00,224.00l 480.00,0.00 C 504.832,224.00, 512.00,231.168, 512.00,240.00l0.00,32.00
461
+ C 512.00,280.832, 504.832,288.00, 496.00,288.00zM 496.00,160.00l-480.00,0.00 C 7.168,160.00,0.00,152.832,0.00,144.00l0.00-32.00 C0.00,103.168, 7.168,96.00, 16.00,96.00l 480.00,0.00 c 8.832,0.00, 16.00,7.168, 16.00,16.00l0.00,32.00
462
+ C 512.00,152.832, 504.832,160.00, 496.00,160.00zM 496.00,32.00l-480.00,0.00 C 7.168,32.00,0.00,24.832,0.00,16.00l0.00-32.00 C0.00-24.832, 7.168-32.00, 16.00-32.00l 480.00,0.00 c 8.832,0.00, 16.00,7.168, 16.00,16.00l0.00,32.00
463
+ C 512.00,24.832, 504.832,32.00, 496.00,32.00z" data-tags="list-columned" />
464
+ <glyph unicode="&#xe053;" d="M 496.00,384.00l-320.00,0.00 C 167.168,384.00, 160.00,376.832, 160.00,368.00l0.00-32.00 C 160.00,327.168, 167.168,320.00, 176.00,320.00l 320.00,0.00 C 504.832,320.00, 512.00,327.168, 512.00,336.00l0.00,32.00
465
+ C 512.00,376.832, 504.832,384.00, 496.00,384.00zM 496.00,224.00l-320.00,0.00 C 167.168,224.00, 160.00,216.832, 160.00,208.00l0.00-32.00 C 160.00,167.168, 167.168,160.00, 176.00,160.00l 320.00,0.00 C 504.832,160.00, 512.00,167.168, 512.00,176.00l0.00,32.00
466
+ C 512.00,216.832, 504.832,224.00, 496.00,224.00zM 496.00,64.00l-320.00,0.00 C 167.168,64.00, 160.00,56.832, 160.00,48.00l0.00-32.00 C 160.00,7.168, 167.168,0.00, 176.00,0.00l 320.00,0.00 c 8.832,0.00, 16.00,7.168, 16.00,16.00l0.00,32.00
467
+ C 512.00,56.832, 504.832,64.00, 496.00,64.00zM0.00,352.00A64.00,64.00 180.00 1 1 128.00,352A64.00,64.00 180.00 1 1 0.00,352zM0.00,192.00A64.00,64.00 180.00 1 1 128.00,192A64.00,64.00 180.00 1 1 0.00,192zM0.00,32.00A64.00,64.00 180.00 1 1 128.00,32A64.00,64.00 180.00 1 1 0.00,32z" data-tags="list-bulleted" />
468
+ <glyph unicode="&#x20;" horiz-adv-x="256" />
469
+ <glyph class="hidden" unicode="&#xf000;" d="M0,480L 512 -32L0 -32 z" horiz-adv-x="0" />
470
+ </font></defs></svg>
fonts/Flat-UI-Icons.eot ADDED
Binary file
fonts/Flat-UI-Icons.svg ADDED
@@ -0,0 +1,470 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
+ <svg xmlns="http://www.w3.org/2000/svg">
4
+ <metadata>
5
+ This is a custom SVG font generated by IcoMoon.
6
+ <iconset id="Flat-UI-Icons" name="Flat UI Icons" href="http://designmodo.com/flat" grid="16"></iconset><author name="Sergey Shmidt" href="http://designmodo.com"></author><license name="Attribution-NonCommercial-NoDerivs 3.0 Unported" href="http://creativecommons.org/licenses/by-nc-nd/3.0/"></license>
7
+ </metadata>
8
+ <defs>
9
+ <font id="Flat-UI-Icons" horiz-adv-x="512" >
10
+ <font-face units-per-em="512" ascent="480" descent="-32" />
11
+ <missing-glyph horiz-adv-x="512" />
12
+ <glyph unicode="&#xe000;" d="M 448.00,127.808L 256.00,384.00L 64.00,128.00L 448.00,127.808z" />
13
+ <glyph unicode="&#xe001;" d="M 447.744,96.064L 64.00,96.064 L 255.872,288.00L 447.744,96.064z" />
14
+ <glyph unicode="&#xe002;" d="M 64.00,416.00l 384.00-224.032L 64.00-31.968L 64.00,416.00 z" />
15
+ <glyph unicode="&#xe003;" d="M 448.00-31.968L 64.00,191.968L 448.00,416.00L 448.00-31.968 z" />
16
+ <glyph unicode="&#xe004;" d="M 64.00,320.00l 192.00-256.192L 448.00,320.00L 64.00,320.00 z" />
17
+ <glyph unicode="&#xe016;" d="M 256.00,480.00C 114.624,480.00,0.00,365.376,0.00,224.00c0.00-141.344, 114.624-256.00, 256.00-256.00c 141.408,0.00, 256.00,114.624, 256.00,256.00C 512.00,365.376, 397.408,480.00, 256.00,480.00z M 288.384,97.568
18
+ c0.00-18.528-14.496-33.536-32.384-33.536s-32.384,15.008-32.384,33.536L 223.616,254.112 C 223.616,272.64, 238.112,287.648, 256.00,287.648S 288.384,272.64, 288.384,254.112L 288.384,97.568 z
19
+ M 256.00,320.16c-17.888,0.00-32.384,14.304-32.384,31.936S 238.112,383.968, 256.00,383.968s 32.384-14.272, 32.384-31.904S 273.888,320.16, 256.00,320.16z" />
20
+ <glyph unicode="&#xe017;" d="M 256.00,480.00C 114.624,480.00,0.00,365.376,0.00,224.00c0.00-141.376, 114.624-256.00, 256.00-256.00c 141.376,0.00, 256.00,114.624, 256.00,256.00C 512.00,365.376, 397.376,480.00, 256.00,480.00z M 256.00,64.032
21
+ c-17.888,0.00-32.384,14.272-32.384,31.904c0.00,17.60, 14.496,31.904, 32.384,31.904c 17.888,0.00, 32.384-14.304, 32.384-31.904
22
+ C 288.384,78.304, 273.888,64.032, 256.00,64.032z M 288.384,193.888C 288.384,175.36, 273.888,160.352, 256.00,160.352c-17.888,0.00-32.384,15.04-32.384,33.536L 223.616,350.432
23
+ c0.00,18.528, 14.496,33.536, 32.384,33.536c 17.888,0.00, 32.384-15.04, 32.384-33.536L 288.384,193.888 z" />
24
+ <glyph unicode="&#xe018;" d="M 256.00-32.00c-141.376,0.00-256.00,114.624-256.00,256.00c0.00,141.344, 114.624,256.00, 256.00,256.00c 141.376,0.00, 256.00-114.624, 256.00-256.00C 512.00,82.624, 397.376-32.00, 256.00-32.00z M 256.00,64.032
25
+ c 17.888,0.00, 32.384,14.272, 32.384,31.904c0.00,17.60-14.496,31.904-32.384,31.904c-17.888,0.00-32.384-14.304-32.384-31.904
26
+ C 223.616,78.304, 238.112,64.032, 256.00,64.032z M 325.376,362.144C 308.416,376.096, 284.256,383.872, 255.36,383.872c-21.28,0.00-39.456-3.84-55.072-10.08
27
+ C 192.00,370.432, 165.472,353.952, 159.968,349.344l 16.192-24.16c 2.656-4.672, 6.976-7.04, 12.96-7.04c 2.496,0.00, 5.312,0.992, 8.48,2.944
28
+ c 2.304,1.44, 20.544,10.848, 28.256,13.184c 16.16,4.80, 33.92,2.848, 42.08,0.32c 11.136-3.424, 19.20-9.952, 23.68-18.88
29
+ c 2.944-5.888, 6.688-22.08-2.112-37.216C 282.176,265.952, 270.72,256.416, 258.08,247.968C 251.328,243.36, 245.056,238.656, 239.392,233.76
30
+ c-0.256,0.00-0.896-0.48-2.336-1.76C 237.76,232.608, 238.688,233.152, 239.392,233.76C 240.992,233.824, 224.00,212.096, 224.00,192.00c0.00-21.44,0.00-32.00,0.00-32.00l 64.00,0.00 L 288.00,192.00
31
+ c0.00,16.64, 8.064,25.984, 8.224,28.352c 5.504,3.936, 30.528,23.072, 36.48,29.952C 343.808,263.104, 352.00,280.00, 352.00,303.808
32
+ C 352.00,328.224, 342.304,348.224, 325.376,362.144z" />
33
+ <glyph unicode="&#xe019;" d="M 448.00,480.00L 64.00,480.00 C 28.672,480.00,0.00,451.328,0.00,416.00l0.00-384.00 c0.00-35.328, 28.672-64.00, 64.00-64.00l 384.00,0.00 c 35.328,0.00, 64.00,28.672, 64.00,64.00L 512.00,416.00 C 512.00,451.328, 483.328,480.00, 448.00,480.00z M 192.00,447.968
34
+ c 17.664,0.00, 32.00-14.304, 32.00-31.968c0.00-17.696-14.336-32.00-32.00-32.00S 160.00,398.304, 160.00,416.00C 160.00,433.664, 174.336,447.968, 192.00,447.968z M 96.00,447.968c 17.664,0.00, 32.00-14.304, 32.00-31.968
35
+ c0.00-17.696-14.336-32.00-32.00-32.00S 64.00,398.304, 64.00,416.00C 64.00,433.664, 78.336,447.968, 96.00,447.968z M 448.032,32.00L 64.00,32.00 L 64.00,352.00 l 384.032,0.00 L 448.032,32.00 z" />
36
+ <glyph unicode="&#xe01a;" d="M 469.376,383.872l-53.344,0.00L 416.032,437.184 c0.00,23.552-19.104,42.656-42.656,42.656L 42.656,479.84 c-23.552,0.00-42.656-19.104-42.656-42.656l0.00-330.336
37
+ c0.00-23.584, 18.624-42.688, 41.568-42.688l 54.432,0.00 l0.00-53.344 c0.00-23.552, 18.624-42.656, 41.568-42.656l 332.896,0.00 c 22.976,0.00, 41.60,19.104, 41.60,42.656L 512.064,341.184
38
+ C 512.032,364.736, 492.928,383.872, 469.376,383.872z M 192.00,447.808c 17.664,0.00, 32.00-14.304, 32.00-31.968c0.00-17.696-14.336-32.00-32.00-32.00s-32.00,14.304-32.00,32.00
39
+ C 160.00,433.504, 174.336,447.808, 192.00,447.808z M 96.00,447.808c 17.664,0.00, 32.00-14.304, 32.00-31.968c0.00-17.696-14.336-32.00-32.00-32.00s-32.00,14.304-32.00,32.00C 64.00,433.504, 78.336,447.808, 96.00,447.808z
40
+ M 64.00,127.84l-0.032,224.00L 352.00,351.84 l0.00-224.00 L 64.00,127.84 z M 448.00,31.84L 160.00,31.84 l0.00,32.32 l 214.432,0.00 c 22.976,0.00, 41.60,19.104, 41.60,42.688L 416.032,255.84 L 448.00,255.84 L 448.00,31.84 z" />
41
+ <glyph unicode="&#xe02c;" d="M 192.576-33.056l-64.096,64.128l 160.544,160.448L 128.448,350.496l 64.00,65.504l 223.584-223.616L 192.576-33.056z" />
42
+ <glyph unicode="&#xe02d;" d="M 96.48,192.384L 320.064,416.00l 64.00-65.504L 223.488,191.488l 160.576-160.448l-64.128-64.128L 96.48,192.384z" />
43
+ <glyph unicode="&#xe02e;" d="M 384.00,95.968c-60.80,0.00-98.944,34.368-128.00,72.224C 226.944,130.336, 188.80,95.968, 128.00,95.968C 76.576,95.968,0.00,130.08,0.00,224.00c0.00,93.888, 76.576,128.00, 128.00,128.00
44
+ c 60.80,0.00, 98.944-34.336, 128.00-72.224C 285.056,317.664, 323.20,352.00, 384.00,352.00c 51.456,0.00, 128.00-34.112, 128.00-128.00C 512.00,130.08, 435.456,95.968, 384.00,95.968z M 128.00,288.00
45
+ C 113.184,287.744, 64.00,282.432, 64.00,224.00c0.00-60.928, 53.312-64.00, 64.00-64.00c 39.136,0.00, 61.632,23.904, 89.376,64.00C 189.632,264.064, 167.136,288.00, 128.00,288.00z M 294.624,224.00
46
+ c 27.712-40.064, 50.176-63.936, 89.216-64.00C 399.008,160.224, 448.00,165.632, 448.00,224.00c0.00,60.928-53.312,64.00-64.00,64.00C 344.864,288.00, 322.368,264.064, 294.624,224.00z" />
47
+ <glyph unicode="&#xe02f;" d="M 400.00,256.00c-11.488,0.00-29.664,0.00-48.00,0.00L 352.00,192.00 c 11.328,0.00, 22.40,0.00, 32.00,0.00c 6.048,0.00, 11.648,0.00, 16.00,0.00c 61.856,0.00, 112.00-50.144, 112.00-112.00S 461.856-32.00, 400.00-32.00
48
+ S 288.00,18.112, 288.00,80.00c0.00,11.488,0.00,29.632,0.00,48.00L 224.00,128.00 c0.00-11.328,0.00-22.432,0.00-32.00c0.00-6.048,0.00-11.616,0.00-16.00C 224.00,18.112, 173.856-32.00, 112.00-32.00S0.00,18.112,0.00,80.00
49
+ S 50.144,192.00, 112.00,192.00C 123.488,192.00, 141.664,192.00, 160.00,192.00L 160.00,256.00 C 148.704,256.00, 137.568,256.00, 128.00,256.00C 121.952,256.00, 116.384,256.00, 112.00,256.00C 50.144,256.00,0.00,306.112,0.00,368.00C0.00,429.856, 50.144,480.00, 112.00,480.00
50
+ S 224.00,429.856, 224.00,368.00C 224.00,356.512, 224.00,338.336, 224.00,320.00l 64.00,0.00 c0.00,11.296,0.00,22.432,0.00,32.00c0.00,6.048,0.00,11.616,0.00,16.00C 288.00,429.856, 338.144,480.00, 400.00,480.00S 512.00,429.856, 512.00,368.00
51
+ C 512.00,306.112, 461.856,256.00, 400.00,256.00z M 160.00,368.00C 160.00,394.496, 138.496,416.00, 112.00,416.00S 64.00,394.496, 64.00,368.00C 64.00,341.472, 85.504,320.00, 112.00,320.00C 115.872,320.00, 121.76,320.00, 128.00,320.00c 14.784,0.00, 32.00,0.00, 32.00,0.00
52
+ S 160.00,354.528, 160.00,368.00z M 160.00,96.00c0.00,14.752,0.00,32.00,0.00,32.00s-34.528,0.00-48.00,0.00C 85.504,128.00, 64.00,106.496, 64.00,80.00S 85.504,32.00, 112.00,32.00S 160.00,53.504, 160.00,80.00
53
+ C 160.00,83.872, 160.00,89.76, 160.00,96.00z M 352.00,80.00c0.00-26.496, 21.504-48.00, 48.00-48.00s 48.00,21.504, 48.00,48.00S 426.496,128.00, 400.00,128.00c-3.872,0.00-9.76,0.00-16.00,0.00
54
+ c-14.784,0.00-32.00,0.00-32.00,0.00S 352.00,93.44, 352.00,80.00z M 288.00,256.00L 224.00,256.00 L 224.00,192.00 l 64.00,0.00 L 288.00,256.00 z M 400.00,416.00C 373.504,416.00, 352.00,394.496, 352.00,368.00c0.00-3.872,0.00-9.728,0.00-16.00c0.00-14.816,0.00-32.00,0.00-32.00
55
+ s 34.528,0.00, 48.00,0.00C 426.496,320.00, 448.00,341.472, 448.00,368.00C 448.00,394.496, 426.496,416.00, 400.00,416.00z" />
56
+ <glyph unicode="&#xe030;" d="M 400.992,203.20c-14.336,8.832-32.704,3.616-40.96-11.68C 359.744,191.008, 359.744,190.40, 359.456,189.888L 358.72,190.368
57
+ C 337.728,153.152, 299.872,128.00, 256.128,128.00s-81.568,25.152-102.592,62.368L 152.832,189.952C 152.48,190.752, 152.48,191.68, 152.032,192.512
58
+ C 143.744,207.776, 125.376,213.024, 111.008,204.192S 91.744,175.776, 100.032,160.512c 0.64-1.12, 1.632-1.824, 2.336-2.848l-0.544-0.352
59
+ c 26.56-47.104, 71.552-80.80, 124.288-90.304L 226.112,32.00 L 166.08,32.00 c-16.576,0.00-30.016-14.336-30.016-32.00c0.00-17.696, 13.44-32.00, 30.016-32.00l 180.064,0.00
60
+ c 16.608,0.00, 30.016,14.304, 30.016,32.00c0.00,17.664-13.408,32.00-30.016,32.00L 286.144,32.00 l0.00,34.976 c 52.736,9.504, 97.728,43.264, 124.288,90.336L 410.24,157.44
61
+ c 0.544,0.736, 1.312,1.216, 1.728,2.048C 420.288,174.816, 415.36,194.368, 400.992,203.20z M 256.128,160.00c 49.728,0.00, 90.016,42.976, 90.016,96.00L 346.144,384.00
62
+ c0.00,53.024-40.32,96.00-90.016,96.00C 206.40,480.00, 166.08,437.024, 166.08,384.00l0.00-128.00 C 166.08,202.976, 206.40,160.00, 256.128,160.00z" />
63
+ <glyph unicode="&#xe005;" d="M 255.872,128.064L 64.00,320.00l 383.744,0.00 L 255.872,128.064z" />
64
+ <glyph unicode="&#xe006;" d="M 256.00,480.00C 114.624,480.00,0.00,365.408,0.00,224.032C0.00,82.624, 114.624-32.00, 256.00-32.00c 141.376,0.00, 256.00,114.624, 256.00,256.032C 512.00,365.408, 397.376,480.00, 256.00,480.00z M 421.44,276.064
65
+ l-183.648-183.616c-3.744-3.744-9.856-3.744-13.568,0.00l-27.136,27.392c-3.712,3.776-9.856,9.952-13.568,13.696L 120.352,199.936
66
+ C 118.496,201.792, 117.504,204.416, 117.504,206.88c0.00,2.496, 0.992,4.864, 2.848,6.752l 27.68,24.96c 1.888,1.92, 4.384,2.816, 6.848,2.816
67
+ c 2.432-0.032, 4.864-0.992, 6.72-2.816l 62.624-63.936c 3.744-3.808, 9.824-3.808, 13.568,0.00l 142.944,142.56c 3.712,3.744, 9.856,3.744, 13.568,0.00
68
+ l 27.168-27.456C 425.184,286.016, 425.184,279.84, 421.44,276.064z" />
69
+ <glyph unicode="&#xe007;" d="M 474.272,191.424c 50.24,51.392, 50.176,134.656,0.00,186.016c-25.696,26.24-59.488,39.072-93.12,38.496C 334.08,415.168, 256.48,351.456, 256.48,351.456
70
+ S 176.672,416.064, 128.48,416.00C 95.616,415.936, 62.784,403.072, 37.728,377.472c-50.208-51.392-50.24-134.624,0.00-186.016L 256.00-31.712L 474.272,191.424z" />
71
+ <glyph unicode="&#xe008;" d="M 272.064,216.032c-43.936,0.00-79.552,36.864-79.552,82.40c0.00,45.568, 35.616,82.432, 79.552,82.432S 351.616,344.00, 351.616,298.432
72
+ C 351.616,252.928, 316.00,216.032, 272.064,216.032 M 272.064,480.192c-97.248,0.00-176.064-81.664-176.064-182.40c0.00-95.136, 79.744-217.888, 132.992-277.632
73
+ c 19.904-22.272, 43.072-52.352, 43.072-52.352s 24.896,30.176, 46.24,53.152c 53.184,57.248, 129.824,172.224, 129.824,276.80
74
+ C 448.128,398.528, 369.312,480.192, 272.064,480.192" />
75
+ <glyph unicode="&#xe009;" d="M 448.00,159.968L 288.00,159.968 L 288.00,0.00 c0.00-17.696-14.304-32.00-32.00-32.00L 224.00-32.00 c-17.664,0.00-32.00,14.304-32.00,32.00L 192.00,159.968 L 32.00,159.968 C 14.336,159.968,0.00,174.336,0.00,192.00L0.00,224.032
76
+ c0.00,17.664, 14.336,31.936, 32.00,31.936l 160.00,0.00 L 192.00,416.00 c0.00,17.664, 14.336,32.00, 32.00,32.00l 32.00,0.00 c 17.696,0.00, 32.00-14.336, 32.00-32.00l0.00-160.032 l 160.00,0.00 c 17.696,0.00, 32.00-14.272, 32.00-31.936L 480.00,192.00
77
+ C 480.00,174.336, 465.696,159.968, 448.00,159.968z" />
78
+ <glyph unicode="&#xe00a;" d="M 461.568,411.296c-6.176,6.272-16.384,6.272-22.56,0.00l-238.08-237.248c-6.24-6.272-16.416-6.272-22.624,0.00L 73.984,280.416
79
+ C 70.912,283.52, 66.848,285.12, 62.816,285.152c-4.128,0.00-8.288-1.504-11.424-4.736l-46.08-41.504C 2.24,235.776, 0.576,231.84, 0.576,227.744
80
+ c0.00-4.16, 1.664-8.512, 4.736-11.616l 105.184-110.496c 6.208-6.24, 16.416-16.512, 22.624-22.816l 45.216-45.632c 6.208-6.24, 16.384-6.24, 22.624,0.00
81
+ l 305.856,305.664c 6.24,6.24, 6.24,16.544,0.00,22.816L 461.568,411.296z" />
82
+ <glyph unicode="&#xe00b;" d="M 443.904,366.016c 6.24-6.208, 6.24-16.416,0.00-22.624L 319.456,218.88c-6.176-6.208-6.176-16.416,0.00-22.656l 124.384-124.544
83
+ c 6.24-6.208, 6.24-16.416,0.00-22.624l-45.312-45.216c-6.176-6.208-16.384-6.208-22.624,0.00L 251.584,128.384c-6.208,6.208-16.416,6.208-22.624,0.00
84
+ l-124.448-124.448c-6.208-6.24-16.416-6.24-22.624,0.00l-45.248,45.312c-6.208,6.176-6.208,16.384,0.00,22.624l 124.48,124.448
85
+ c 6.208,6.208, 6.208,16.416,0.00,22.656L 36.736,343.488c-6.208,6.24-6.208,16.416,0.00,22.624l 45.28,45.248c 6.208,6.208, 16.416,6.208, 22.624,0.00
86
+ l 124.32-124.512c 6.208-6.24, 16.416-6.24, 22.624-0.032l 124.416,124.48c 6.24,6.176, 16.448,6.176, 22.624,0.00L 443.904,366.016z" />
87
+ <glyph unicode="&#xe00c;" d="M 495.968,415.68L 16.032,415.68 c-8.80,0.00-16.00-7.68-16.00-17.088l0.00-62.336 c0.00-9.024, 7.20-16.416, 16.00-16.416l 479.936,0.00 c 8.80,0.00, 16.00,7.36, 16.00,16.416
88
+ L 511.968,398.592 C 511.968,408.00, 504.768,415.68, 495.968,415.68z M 495.968,255.68L 16.032,255.68 c-8.80,0.00-16.00-7.68-16.00-17.12l0.00-62.304
89
+ c0.00-9.056, 7.20-16.416, 16.00-16.416l 479.936,0.00 c 8.80,0.00, 16.00,7.36, 16.00,16.416L 511.968,238.592 C 511.968,248.00, 504.768,255.68, 495.968,255.68z M 495.968,95.68
90
+ L 16.032,95.68 c-8.80,0.00-16.00-7.68-16.00-17.12l0.00-62.304 c0.00-8.992, 7.20-16.384, 16.00-16.384l 479.936,0.00 c 8.80,0.00, 16.00,7.36, 16.00,16.384l0.00,62.304
91
+ C 511.968,88.00, 504.768,95.68, 495.968,95.68z" />
92
+ <glyph unicode="&#xe00d;" d="M 480.256,355.136c-10.88,17.984-24.288,35.584-40.672,51.904c-16.608,16.448-34.496,29.984-52.80,40.80L 418.944,480.00c0.00,0.00, 46.528,0.00, 69.824-23.264
93
+ C 512.00,433.44, 512.00,386.912, 512.00,386.912L 480.256,355.136z M 193.60,64.384L 96.384,64.384 L 96.384,161.60 l 11.68,11.68c 19.776-9.28, 39.392-22.464, 57.088-40.16
94
+ c 17.696-17.664, 30.848-37.344, 40.16-57.088L 193.60,64.384z M 453.376,328.256l-220.00-224.16c-11.36,18.816-25.344,37.152-42.496,54.176
95
+ C 173.536,175.488, 154.848,189.632, 135.712,200.928l 224.576,220.448c 18.912-8.928, 37.728-21.472, 54.656-38.432S 444.448,347.232, 453.376,328.256z M 64.00,416.00l0.00-383.968 l 384.00,0.00
96
+ L 448.00,192.00 l 64.00,63.968l0.00-241.44 C 512.00-11.168, 491.20-32.00, 465.472-32.00L 46.528-32.00 C 20.832-32.00,0.00-11.168,0.00,14.528L0.00,433.44 C0.00,459.168, 20.832,480.00, 46.528,480.00L 288.00,480.00 L 224.00,416.00L 64.00,416.00 z" />
97
+ <glyph unicode="&#xe00e;" d="M 480.128,32.032l0.00-0.384 L 352.00,159.776l0.00-63.744 C 352.00,60.672, 323.328,32.00, 288.00,32.00L 64.00,32.00 c-35.328,0.00-64.00,28.672-64.00,64.032L0.00,319.968 C0.00,355.328, 28.672,384.00, 64.00,384.00l 224.00,0.00
98
+ c 35.328,0.00, 64.00-28.672, 64.00-64.032L 352.00,255.68 l 128.00,128.00L 480.00,384.00 c 17.696,0.00, 32.00-14.304, 32.00-32.00l0.00-288.00 C 512.00,46.368, 497.728,32.096, 480.128,32.032z" />
99
+ <glyph unicode="&#xe00f;" d="M 448.512,384.00l-73.92,0.00 l-21.44,45.312C 348.256,439.968, 330.624,448.00, 313.472,448.00L 191.072,448.00 C 173.92,448.00, 156.288,439.968, 151.36,429.312L 130.432,384.00L 64.00,384.00 C0.00,384.00,0.00,352.00,0.00,352.00
100
+ l0.00-320.00 c0.00,0.00,0.00-32.00, 64.00-32.00l 384.00,0.00 c 64.00,0.00, 64.00,32.00, 64.00,32.00L 512.00,352.00 C 512.00,352.00, 512.00,384.00, 448.512,384.00z M 256.00,64.032c-70.688,0.00-128.00,57.248-128.00,127.936C 128.00,262.688, 185.312,320.00, 256.00,320.00s 128.00-57.312, 128.00-128.032
101
+ C 384.00,121.28, 326.688,64.032, 256.00,64.032z M 256.00,272.00C 211.808,272.00, 176.00,236.192, 176.00,192.00c0.00-44.16, 35.808-80.00, 80.00-80.00s 80.00,35.84, 80.00,80.00
102
+ C 336.00,236.192, 300.192,272.00, 256.00,272.00z" />
103
+ <glyph unicode="&#xe010;" d="M 246.592,448.00C 222.40,448.00, 215.072,434.08, 215.072,434.08S 123.52,325.984, 81.792,325.984c-41.088,0.00-40.672,0.00-40.672,0.00C 18.40,325.984,0.00,307.776,0.00,285.344
104
+ l0.00-122.048 c0.00-22.464, 18.40-40.64, 41.088-40.64c0.00,0.00, 0.672,0.00, 41.088,0.00c 40.512,0.00, 134.784-109.44, 134.784-109.44c 7.456-7.744, 17.952-12.576, 29.632-12.576
105
+ c 22.688,0.00, 41.088,18.176, 41.088,40.64L 287.68,407.328 C 287.68,429.792, 269.28,448.00, 246.592,448.00z M 421.984,408.864l-23.712-35.488
106
+ c 43.328-35.20, 71.104-88.864, 71.104-149.088s-27.744-113.92-71.104-149.056l 23.712-35.488C 476.704,82.688, 512.00,149.312, 512.00,224.288
107
+ C 512.00,299.296, 476.704,365.888, 421.984,408.864z M 374.40,337.664l-23.936-35.84c 20.672-19.456, 33.696-46.88, 33.696-77.536
108
+ c0.00-30.656-13.024-58.048-33.696-77.536l 23.936-35.808c 31.936,27.36, 52.288,68.00, 52.288,113.344C 426.688,269.696, 406.336,310.272, 374.40,337.664z" />
109
+ <glyph unicode="&#xe011;" d="M 256.032,480.00C 114.688,480.00, 0.096,365.408, 0.096,224.032c0.00-141.408, 114.592-255.968, 255.936-255.968c 141.376,0.00, 255.968,114.56, 255.968,255.968
110
+ C 512.00,365.408, 397.408,480.00, 256.032,480.00z M 339.488,134.24l-7.424-7.488c-6.208-6.176-16.672-6.496-23.232-0.64L 223.072,199.872
111
+ C 216.512,205.728, 211.552,217.728, 211.968,226.496l 8.928,141.536C 221.344,376.832, 228.896,384.00, 237.728,384.00l 10.528,0.00 c 8.80,0.00, 16.352-7.168, 16.768-15.968
112
+ l 7.328-115.904c 0.448-8.768, 5.60-21.344, 11.424-27.904l 56.384-66.784C 345.984,150.944, 345.728,140.448, 339.488,134.24z" />
113
+ <glyph unicode="&#xe012;" d="M 256.032,400.00c-169.472,0.00-256.48-176.448-256.48-176.448s 65.664-176.48, 256.48-176.48c 172.736,0.00, 256.416,175.808, 256.416,175.808
114
+ S 428.128,400.00, 256.032,400.00z M 256.416,113.248c-61.984,0.00-106.752,48.288-106.752,110.304c0.00,62.048, 44.768,110.272, 106.752,110.272
115
+ c 61.952,0.00, 106.72-48.224, 106.72-110.272C 363.136,161.536, 318.336,113.248, 256.416,113.248z M 256.416,289.728c-35.392-0.064-64.064-30.72-64.064-66.176
116
+ c0.00-35.424, 28.672-66.176, 64.064-66.176s 64.032,30.752, 64.032,66.176C 320.448,259.008, 291.808,289.824, 256.416,289.728z" />
117
+ <glyph unicode="&#xe013;" d="M 228.928,84.032l 144.64-113.248c 2.368-1.888, 3.808-2.816, 5.184-2.816c 4.00,0.00, 5.248,2.752, 5.248,7.264l0.00,107.20
118
+ C 384.00,89.984, 388.992,96.00, 395.68,96.00l 52.576,0.00 c 63.744,0.00, 63.68,30.72, 63.68,30.72L 511.936,446.752 c0.00,0.00,0.00,33.28-63.936,33.28L 64.032,480.032 c-64.00,0.00-64.00-33.28-64.00-33.28L 0.032,126.72
119
+ c0.00,0.00-0.032-30.72, 64.224-30.72l 128.00,0.00 C 192.256,96.00, 219.04,95.264, 228.928,84.032z" />
120
+ <glyph unicode="&#xe015;" d="M 512.00,13.376C 512.00-11.712, 491.20-32.00, 465.44-32.00L 319.808-32.00 l0.00,175.84 c0.00,26.528-19.008,48.064-42.528,48.064L 234.72,191.904
121
+ c-23.488,0.00-42.56-21.536-42.56-48.064L 192.16-32.00 L 46.528-32.00 C 20.832-32.00,0.00-11.712,0.00,13.376L0.00,252.864 c0.00,11.68, 4.672,22.24, 12.096,30.272L 11.616,284.064
122
+ l 212.96,186.496c 17.152,12.576, 44.992,12.576, 62.144,0.00l 213.632-186.496L 500.128,282.88C 507.424,274.848, 512.00,264.416, 512.00,252.864L 512.00,13.376 z" />
123
+ <glyph unicode="&#xe01b;" d="M 448.00-32.00l-96.00,0.00 l0.00,64.00 l 96.032,0.00 L 448.032,352.00 L 64.00,352.00 l0.00-320.00 l 96.00,0.00 l0.00-64.00 L 64.00-32.00 c-35.328,0.00-64.00,28.672-64.00,64.00L0.00,416.00 c0.00,35.328, 28.672,64.00, 64.00,64.00l 384.00,0.00 c 35.328,0.00, 64.00-28.672, 64.00-64.00l0.00-384.00
124
+ C 512.00-3.328, 483.328-32.00, 448.00-32.00z M 96.00,447.968C 78.304,447.968, 64.00,433.664, 64.00,416.00c0.00-17.696, 14.304-32.00, 32.00-32.00s 32.00,14.304, 32.00,32.00C 128.00,433.664, 113.696,447.968, 96.00,447.968z
125
+ M 192.00,447.968C 174.304,447.968, 160.00,433.664, 160.00,416.00c0.00-17.696, 14.304-32.00, 32.00-32.00s 32.00,14.304, 32.00,32.00C 224.00,433.664, 209.696,447.968, 192.00,447.968z M 135.968,100.352
126
+ c-11.104,11.616-11.104,30.432,0.00,42.08l 98.464,104.704c 3.072,3.232, 6.72,5.248, 10.56,6.72c 0.032,0.032, 0.096,0.032, 0.16,0.064
127
+ c 2.944,1.12, 5.92,1.728, 8.992,1.856c 1.12,0.096, 2.208,0.192, 3.328,0.128C 258.848,255.808, 260.16,255.392, 261.472,255.104
128
+ c 5.664-1.12, 11.136-3.36, 15.488-7.936l 98.432-104.704c 11.136-11.648, 11.136-30.464,0.00-42.08c-11.136-11.552-29.152-11.552-40.288,0.00L 288.00,160.00l0.00-159.968
129
+ C 288.00-17.056, 271.968-32.00, 255.68-32.00C 239.424-32.00, 224.00-17.056, 224.00,0.032L 224.00,160.00 l-47.744-59.648C 165.12,88.768, 147.104,88.768, 135.968,100.352z" />
130
+ <glyph unicode="&#xe01c;" d="M 361.696,176.80c-5.664,5.728-7.552,16.352-4.192,23.648c0.00,0.00, 23.616,51.232, 23.616,88.864C 381.12,394.624, 295.904,480.00, 190.752,480.00
131
+ s-190.40-85.376-190.40-190.656c0.00-105.312, 85.248-190.688, 190.40-190.688c 37.60,0.00, 88.704,23.68, 88.704,23.68c 7.328,3.392, 17.984,1.472, 23.616-4.224
132
+ l 145.728-145.888c 5.728-5.696, 15.04-5.696, 20.672,0.00l 37.888,37.952c 5.728,5.728, 5.728,15.072,0.00,20.736L 361.696,176.80z M 190.752,186.688
133
+ c-56.544,0.00-102.528,46.016-102.528,102.656c0.00,56.608, 46.016,102.656, 102.528,102.656s 102.496-46.048, 102.496-102.656C 293.248,232.704, 247.296,186.688, 190.752,186.688z" />
134
+ <glyph unicode="&#xe01d;" d="M 256.512,298.144c 53.28,0.00, 96.512,40.672, 96.512,90.944C 352.992,439.296, 309.792,480.00, 256.512,480.00S 160.00,439.296, 160.00,389.088
135
+ C 160.00,338.848, 203.232,298.144, 256.512,298.144z M 332.16,291.84C 310.88,277.12, 284.864,268.128, 256.512,268.128c-28.48,0.00-54.56,9.056-75.872,23.872
136
+ C 94.016,273.344, 32.00,223.584, 32.00,164.992l0.00-129.44 c0.00-8.576, 7.20-15.552, 16.00-15.552l 32.00,0.00 c 8.80,0.00, 16.00,6.304, 16.00,14.048c0.00,4.48,0.00,100.928,0.00,100.928
137
+ c0.00,8.32, 4.768,4.992, 10.688,4.992c 5.888,0.00, 10.656-4.512, 10.656-9.984l 0.16-89.984c 0.448-5.184, 4.80-42.208, 10.272-43.296
138
+ c0.00,0.00, 33.28-28.672, 128.224-28.672c 95.616,0.00, 128.224,28.672, 128.224,28.672c 5.472,1.056, 9.856,38.08, 10.272,43.296l 0.16,89.984
139
+ c0.00,5.504, 4.768,9.984, 10.688,9.984c 5.888,0.00, 10.656-4.512, 10.656-9.984c0.00,0.00,0.00-91.456,0.00-95.936c0.00-7.744, 7.20-14.048, 16.00-14.048l 32.00,0.00
140
+ c 8.80,0.00, 16.00,7.008, 16.00,15.552L 480.00,164.992 C 480.00,223.424, 418.304,273.056, 332.16,291.84z" />
141
+ <glyph unicode="&#xe01e;" d="M 448.00,416.00C 422.752,416.00, 64.00,416.00, 64.00,416.00C 38.752,416.00,0.00,395.424,0.00,370.528l0.00-9.056 c0.00,0.00, 216.384-180.928, 256.00-180.928s 256.00,180.352, 256.00,180.352l0.00,9.60
142
+ C 512.00,395.424, 473.248,416.00, 448.00,416.00z M0.00,288.48l0.00-256.448 C0.00,32.032,0.00,0.00, 64.00,0.00l 384.00,0.00 c 64.096,0.00, 64.00,32.032, 64.00,32.032L 512.00,289.28 c0.00,0.00-182.08-162.496-256.00-162.496
143
+ C 182.848,126.784,0.00,288.48,0.00,288.48z" />
144
+ <glyph unicode="&#xe01f;" d="M 448.00-32.00L 64.00-32.00 c-17.664,0.00-32.00,14.304-32.00,32.032L 32.00,224.00 c0.00,17.664, 14.336,32.00, 32.00,32.00l 32.00,0.00 L 96.00,320.00 c0.00,88.352, 71.616,160.00, 160.00,160.00s 160.00-71.648, 160.00-160.00l0.00-64.00 l 32.00,0.00 c 17.696,0.00, 32.00-14.336, 32.00-32.00
145
+ l0.00-223.968 C 480.00-17.696, 465.696-32.00, 448.00-32.00z M 352.00,320.00c0.00,52.992-42.976,96.00-96.00,96.00S 160.00,372.992, 160.00,320.00l0.00-64.00 l 192.00,0.00 L 352.00,320.00 z" />
146
+ <glyph unicode="&#xe020;" d="M 383.936,377.504l-0.064-0.032c-0.448,0.32-0.80,0.768-1.312,1.12c-14.592,10.016-34.496,6.304-44.512-8.352
147
+ c-9.984-14.656-6.24-34.656, 8.32-44.672C 346.752,325.248, 347.136,325.12, 347.488,324.928L 347.36,324.704C 388.80,295.68, 416.00,247.456, 416.00,192.832
148
+ c0.00-88.768-71.648-160.736-160.00-160.736s-160.00,71.968-160.00,160.736C 96.00,247.456, 123.20,295.68, 164.64,324.704L 164.512,324.928c 0.352,0.192, 0.736,0.32, 1.12,0.608
149
+ c 14.592,10.016, 18.304,30.016, 8.32,44.672C 163.936,384.864, 144.032,388.608, 129.44,378.56C 128.96,378.208, 128.576,377.792, 128.096,377.44L 128.064,377.504
150
+ C 70.048,336.80, 32.00,269.344, 32.00,192.832c0.00-124.288, 100.288-225.088, 224.00-225.088s 224.00,100.80, 224.00,225.088C 480.00,269.344, 441.952,336.80, 383.936,377.504z M 256.00,160.00
151
+ c 17.696,0.00, 32.00,14.304, 32.00,32.00L 288.00,415.968 C 288.00,433.664, 273.696,448.00, 256.00,448.00C 238.336,448.00, 224.00,433.664, 224.00,415.968L 224.00,192.00 C 224.00,174.304, 238.336,160.00, 256.00,160.00z" />
152
+ <glyph unicode="&#xe021;" d="M0.00,207.968C 144.00,224.00, 224.00,304.00, 240.00,448.00c 16.032-144.00, 96.032-224.00, 240.064-240.032c-144.032-16.00-224.032-96.00-240.064-240.00C 224.00,111.968, 144.00,191.968,0.00,207.968z" />
153
+ <glyph unicode="&#xe023;" d="M 160.00,288.00C 142.336,288.00, 128.00,273.696, 128.00,256.00s 14.336-32.00, 32.00-32.00s 32.00,14.304, 32.00,32.00S 177.664,288.00, 160.00,288.00z M 256.00,192.00
154
+ c-17.664,0.00-32.00-14.304-32.00-32.00s 14.336-32.00, 32.00-32.00s 32.00,14.304, 32.00,32.00S 273.664,192.00, 256.00,192.00z M 160.00,192.00c-17.664,0.00-32.00-14.304-32.00-32.00s 14.336-32.00, 32.00-32.00s 32.00,14.304, 32.00,32.00S 177.664,192.00, 160.00,192.00z
155
+ M 448.00,447.968l-64.00,0.00 C 384.00,465.664, 369.696,480.00, 352.00,480.00s-32.00-14.336-32.00-32.032L 192.00,447.968 C 192.00,465.664, 177.664,480.00, 160.00,480.00S 128.00,465.664, 128.00,447.968L 64.00,447.968 C 28.672,447.968,0.00,419.328,0.00,384.00l0.00-320.00
156
+ c0.00-35.36, 28.672-64.00, 64.00-64.00l 384.00,0.00 c 35.328,0.00, 64.00,28.64, 64.00,64.00L 512.00,384.00 C 512.00,419.328, 483.328,447.968, 448.00,447.968z M 448.00,64.00L 64.00,64.00 L 64.00,384.00 l 64.00,0.00 c0.00-17.696, 14.336-32.00, 32.00-32.00s 32.00,14.304, 32.00,32.00l 128.00,0.00
157
+ c0.00-17.696, 14.304-32.00, 32.00-32.00s 32.00,14.304, 32.00,32.00l 64.00,0.00 L 448.00,64.00 z M 352.00,288.00c-17.696,0.00-32.00-14.304-32.00-32.00s 14.304-32.00, 32.00-32.00s 32.00,14.304, 32.00,32.00S 369.696,288.00, 352.00,288.00z M 256.00,288.00
158
+ C 238.336,288.00, 224.00,273.696, 224.00,256.00s 14.336-32.00, 32.00-32.00s 32.00,14.304, 32.00,32.00S 273.664,288.00, 256.00,288.00z M 352.00,192.00c-17.696,0.00-32.00-14.304-32.00-32.00s 14.304-32.00, 32.00-32.00s 32.00,14.304, 32.00,32.00S 369.696,192.00, 352.00,192.00z" />
159
+ <glyph unicode="&#xe024;" d="M 459.136,263.52c-8.672,1.28-17.984,9.152-20.672,17.504l-13.056,31.616c-4.064,7.776-3.136,19.936, 2.176,26.976l 21.056,28.096
160
+ c 5.312,7.04, 4.864,18.176-0.992,24.768L 424.512,415.68c-6.56,5.856-17.76,6.272-24.80,0.992l-28.064-21.12
161
+ c-7.072-5.248-19.20-6.24-27.008-2.144L 313.056,406.432C 304.64,409.088, 296.736,418.432, 295.552,427.168L 290.56,461.92
162
+ C 289.312,470.624, 281.152,478.496, 272.384,479.392C 272.384,479.392, 266.976,480.00, 256.00,480.00S 239.616,479.392, 239.616,479.392C 230.848,478.496, 222.656,470.624, 221.44,461.92
163
+ L 216.448,427.168C 215.232,418.432, 207.36,409.088, 198.944,406.432L 167.36,393.408C 159.584,389.312, 147.456,390.304, 140.416,395.552l-28.128,21.12
164
+ C 105.28,421.984, 94.08,421.536, 87.488,415.68L 64.384,392.544C 58.56,385.952, 58.112,374.784, 63.392,367.744L 84.48,339.648c 5.28-7.04, 6.24-19.20, 2.144-26.976
165
+ L 73.60,281.024C 70.912,272.672, 61.60,264.80, 52.896,263.52L 18.144,258.624C 9.408,257.344, 1.536,249.184, 0.64,240.416c0.00,0.00-0.576-5.44-0.576-16.416
166
+ c0.00-10.976, 0.576-16.448, 0.576-16.448c 0.928-8.736, 8.80-16.896, 17.504-18.144l 34.752-4.928C 61.60,183.232, 70.912,175.328, 73.60,166.976l 13.056-31.616
167
+ c 4.096-7.808, 3.136-19.904-2.144-26.944l-21.088-28.128c-5.28-7.072-6.56-16.64-2.816-21.248c 3.712-4.608, 14.432-16.032, 14.464-16.032
168
+ c0.00-0.064, 3.616-3.36, 8.00-7.328c 4.384-4.032, 22.24-9.60, 29.28-4.32l 28.128,21.056c 7.04,5.312, 19.168,6.272, 26.944,2.176L 198.944,41.60
169
+ c 8.416-2.72, 16.288-12.00, 17.504-20.736l 4.992-34.752c 1.216-8.672, 9.408-16.64, 18.144-17.536c0.00,0.00, 5.44-0.576, 16.416-0.576
170
+ s 16.384,0.576, 16.384,0.576c 8.736,0.896, 16.928,8.832, 18.176,17.536l 4.992,34.752c 1.184,8.736, 9.056,18.016, 17.504,20.736l 31.552,12.992
171
+ c 7.808,4.096, 19.936,3.136, 27.008-2.112l 28.128-21.12c 7.072-5.28, 18.176-4.832, 24.80,0.96l 23.136,23.168
172
+ c 5.824,6.592, 6.24,17.76, 0.928,24.80l-21.056,28.128c-5.312,7.04-6.24,19.136-2.176,26.944l 13.056,31.616
173
+ c 2.688,8.384, 12.00,16.256, 20.672,17.504l 34.752,4.928c 8.672,1.248, 16.576,9.408, 17.504,18.144c0.00,0.00, 0.576,5.44, 0.576,16.448
174
+ c0.00,10.976-0.576,16.416-0.576,16.416c-0.928,8.768-8.80,16.928-17.504,18.208L 459.136,263.52z M 256.00,160.00c-35.328,0.00-64.00,28.672-64.00,64.00
175
+ c0.00,35.36, 28.672,64.00, 64.00,64.00c 35.296,0.00, 64.00-28.672, 64.00-64.00C 320.00,188.672, 291.328,160.00, 256.00,160.00z" />
176
+ <glyph unicode="&#xe025;" d="M 384.00,348.512L 384.00,348.512l 64.00,0.00 c 17.696,0.00, 32.00-14.336, 32.00-32.00l0.00-320.00 c0.00-17.696-14.304-32.00-32.00-32.00L 112.00-35.488 c-44.192,0.00-80.00,35.808-80.00,80.00L 32.00,396.48
177
+ c0.00,44.192, 35.808,80.032, 80.00,80.032L 448.00,476.512 c 17.696,0.00, 32.00-14.336, 32.00-32.00c0.00-17.696-14.304-32.032-32.00-32.032l-64.00,0.00 L 192.00,412.48 L 128.00,412.48 c-17.664,0.00-32.00-14.304-32.00-32.00s 14.336-32.00, 32.00-32.00l 64.00,0.00 l0.00-128.00
178
+ l 32.00,32.00l 32.00-32.00l0.00,128.00 L 384.00,348.48 z" />
179
+ <glyph unicode="&#xe026;" d="M 32.00,32.00l0.00,96.00 l 64.00,0.00 l0.00-96.064 l 320.00,0.00 L 416.00,416.00 L 96.00,416.00 L 96.00,320.00 L 32.00,320.00 L 32.00,416.00 C 32.00,451.328, 60.672,480.00, 96.00,480.00l 320.00,0.00 C 451.36,480.00, 480.00,451.328, 480.00,416.00l0.00-384.00 c0.00-35.36-28.64-64.00-64.00-64.00L 96.00-32.00
180
+ C 60.672-32.00, 32.00-3.36, 32.00,32.00z M 164.384,344.00c 11.616,11.136, 30.432,11.136, 42.048,0.00l 104.704-98.40c 3.264-3.104, 5.248-6.784, 6.752-10.592
181
+ c 0.032-0.064, 0.032-0.096, 0.064-0.16C 319.072,231.936, 319.68,228.928, 319.776,225.856C 319.904,224.736, 320.00,223.648, 319.904,222.496
182
+ C 319.84,221.152, 319.392,219.872, 319.072,218.528C 317.984,212.896, 315.744,207.424, 311.136,203.04L 206.432,104.64c-11.616-11.136-30.432-11.136-42.048,0.00
183
+ c-11.584,11.136-11.584,29.12,0.00,40.256L 224.00,192.00L 64.00,192.00 C 46.944,192.00, 32.00,208.032, 32.00,224.32C 32.00,240.576, 46.944,256.00, 64.00,256.00l 160.00,0.00 L 164.384,303.776
184
+ C 152.768,314.848, 152.768,332.928, 164.384,344.00z" />
185
+ <glyph unicode="&#xe027;" d="M 448.00,352.00l-32.00,0.00 l0.00-320.00 c0.00,0.00-0.992-64.00-64.00-64.00c0.00,0.00-159.008,0.00-224.00,0.00s-64.00,64.00-64.00,64.00L 64.00,352.00 L 32.00,352.00 C 14.336,352.00,0.00,366.336,0.00,384.00s 14.336,32.00, 32.00,32.00l 128.00,0.00 l 32.00,0.00 L 192.00,432.00 C 192.00,458.528, 213.472,480.00, 240.00,480.00
186
+ C 266.496,480.00, 288.00,458.528, 288.00,432.00L 288.00,416.00 l 32.00,0.00 l 128.00,0.00 c 17.696,0.00, 32.00-14.304, 32.00-32.00S 465.696,352.00, 448.00,352.00z M 352.00,352.00L 128.00,352.00 l0.00-320.00 l 224.00,0.00 L 352.00,352.00 z M 192.00,320.00C 209.664,320.00, 224.00,305.664, 224.00,288.00l0.00-192.00 c0.00-17.696-14.336-32.00-32.00-32.00
187
+ s-32.00,14.304-32.00,32.00L 160.00,288.00 C 160.00,305.664, 174.336,320.00, 192.00,320.00z M 288.00,320.00C 305.696,320.00, 320.00,305.664, 320.00,288.00l0.00-192.00 c0.00-17.696-14.304-32.00-32.00-32.00s-32.00,14.304-32.00,32.00L 256.00,288.00 C 256.00,305.664, 270.304,320.00, 288.00,320.00z" />
188
+ <glyph unicode="&#xe028;" d="M 448.00,352.00c0.00,0.00-139.008,0.032-160.00,0.032S 243.008,416.00, 224.00,416.00S 64.00,416.00, 64.00,416.00C 28.672,416.00,0.00,387.36,0.00,352.00l0.00-320.032 c0.00-63.328, 64.00-64.00, 64.00-64.00l 384.00,0.00 c 35.328,0.00, 64.00,28.672, 64.00,64.00
189
+ l0.00,256.00 C 512.00,323.328, 483.328,352.00, 448.00,352.00z M 448.032,31.968L 64.00,31.968 L 64.00,352.00 c0.00,0.00, 107.008,0.00, 127.008,0.00s 44.992-64.00, 64.00-64.00c 20.00,0.00, 193.024,0.00, 193.024,0.00L 448.032,31.968 z" />
190
+ <glyph unicode="&#xe029;" d="M 447.712,480.032L 63.776,480.032 C 0.128,480.032,0.00,416.00,0.00,416.00l0.00-255.968 C0.00,160.032, 0.352,96.00, 64.00,96.00l 128.00,0.00 c0.00,0.00, 26.784-0.736, 36.672-11.968l 144.672-113.248
191
+ c 2.368-1.888, 3.808-2.816, 5.216-2.816c 4.00,0.00, 5.184,2.752, 5.184,7.296l0.00,107.168 c0.00,7.552, 4.992,13.60, 11.712,13.60L 448.00,96.032
192
+ c 62.656,0.00, 64.00,64.032, 64.00,64.032L 512.00,416.00 C 512.00,416.00, 511.36,480.032, 447.712,480.032z M 448.00,160.032l-128.00,0.00 l0.00-64.00 l-82.304,64.00L 64.00,160.032 L 64.00,416.00 l 384.00,0.00 L 448.00,160.032 z" />
193
+ <glyph unicode="&#xe02a;" d="M 437.024,405.024c-99.968,100.00-262.048,99.968-362.048,0.00c-99.968-99.936-99.968-262.048, 0.032-362.016
194
+ c 99.968-99.968, 262.048-99.968, 362.016-0.032C 537.024,142.944, 537.024,305.056, 437.024,405.024z M 373.60,154.528
195
+ c 13.76-13.76, 14.112-35.648, 0.864-48.928c-13.28-13.28-35.20-12.864-48.896,0.864L 256.032,175.968L 186.24,106.176
196
+ c-13.76-13.728-35.648-14.112-48.896-0.864c-13.28,13.28-12.864,35.20, 0.832,48.928L 208.00,224.032L 138.176,293.856
197
+ C 124.448,307.552, 124.064,329.44, 137.344,342.72C 150.592,356.00, 172.512,355.616, 186.24,341.888l 69.792-69.792l 69.536,69.536
198
+ c 13.728,13.728, 35.616,14.112, 48.896,0.832c 13.248-13.28, 12.864-35.168-0.864-48.896L 304.096,224.032L 373.60,154.528z" />
199
+ <glyph unicode="&#xe031;" d="M 256.00,480.032C 114.624,480.032,0.00,365.376,0.00,224.00c0.00-141.408, 114.624-256.032, 256.00-256.032S 512.00,82.592, 512.00,224.00C 512.00,365.376, 397.376,480.032, 256.00,480.032z
200
+ M 382.112,191.648L 288.416,191.648 l0.00-93.76 c0.00-18.496-14.496-33.536-32.384-33.536s-32.384,15.04-32.384,33.536l0.00,93.76 l-94.08,0.00 C 111.072,191.648, 96.032,206.112, 96.032,224.00
201
+ s 15.04,32.384, 33.536,32.384l 94.08,0.00 l0.00,94.08 C 223.648,368.992, 238.144,384.00, 256.032,384.00s 32.384-15.008, 32.384-33.536l0.00-94.08 l 93.728,0.00
202
+ c 18.528,0.00, 33.536-14.528, 33.536-32.384S 400.672,191.648, 382.112,191.648z" />
203
+ <glyph unicode="&#xe014;" d="M 448.00,31.936L 64.00,31.936 l0.00,384.00 l 160.00,0.00 l0.00,64.00 L 44.512,479.968C 19.936,479.968,0.00,460.00,0.00,435.424l0.00-422.976 c0.00-24.576, 19.936-44.512, 44.512-44.512l 422.976,0.00
204
+ c 24.576,0.00, 44.512,19.936, 44.512,44.512L 512.00,191.936 l-64.00,0.00 L 448.00,31.936 z M 512.00,448.00c0.00,7.328-3.04,13.76-7.36,19.136c-0.672,0.864-1.024,1.856-1.792,2.656
205
+ c-0.096,0.064-0.128,0.192-0.192,0.288c-0.192,0.16-0.224,0.416-0.416,0.608c-2.048,2.048-4.576,3.264-6.976,4.64
206
+ c-1.056,0.608-1.92,1.504-3.04,1.984c-4.352,1.888-8.96,2.688-13.632,2.56c-0.064,0.00-0.128,0.032-0.192,0.032l-156.512,0.00
207
+ C 303.392,479.936, 288.384,465.632, 288.384,448.00c0.00-17.60, 15.04-31.904, 33.568-31.904l 80.608,0.00 L 201.28,214.432c-12.416-12.384-12.416-32.384,0.00-44.736
208
+ c 12.416-12.384, 32.512-12.384, 44.896,0.00l 201.984,201.76l0.00-81.60 c0.00-18.528, 14.304-33.536, 31.936-33.536C 497.728,256.32, 512.00,271.328, 512.00,289.856L 512.00,446.368
209
+ c0.00,0.32-0.16,0.576-0.16,0.864C 511.84,447.488, 512.00,447.744, 512.00,448.00z" />
210
+ <glyph unicode="&#xe02b;" d="M 256.00,480.00C 114.61,480.00,0.00,365.369,0.00,223.957c0.00-141.369, 114.61-255.979, 256.00-255.979c 141.39,0.00, 256.00,114.61, 256.00,255.979C 512.00,365.369, 397.39,480.00, 256.00,480.00z
211
+ M 256.00,70.379c-84.814,0.00-153.60,68.764-153.60,153.579c0.00,84.857, 68.786,153.621, 153.60,153.621c 84.836,0.00, 153.60-68.764, 153.60-153.621C 409.60,139.143, 340.836,70.379, 256.00,70.379z" />
212
+ <glyph unicode="&#xe032;" d="M 256.00,480.00C 114.61,480.00,0.00,365.412,0.00,224.021c0.00-141.412, 114.61-256.043, 256.00-256.043c 141.39,0.00, 256.00,114.631, 256.00,256.043C 512.00,365.412, 397.39,480.00, 256.00,480.00z
213
+ M 256.00,70.40c-84.814,0.00-153.60,68.786-153.60,153.621c0.00,84.793, 68.786,153.543, 153.60,153.543c 84.836,0.00, 153.60-68.764, 153.60-153.543C 409.60,139.186, 340.836,70.40, 256.00,70.40z M 256.00,300.80
214
+ C 213.582,300.80, 179.20,266.418, 179.20,224.021C 179.20,181.582, 213.582,147.20, 256.00,147.20c 42.418,0.00, 76.80,34.382, 76.80,76.821C 332.80,266.418, 298.418,300.80, 256.00,300.80z" />
215
+ <glyph unicode="&#xe033;" d="M 128.00,480.00l 256.00,0.00 c 70.713,0.00, 128.00-57.287, 128.00-128.00l0.00-256.021 c0.00-70.713-57.287-128.00-128.00-128.00L 128.00-32.021 c-70.677,0.00-128.00,57.287-128.00,128.00L0.00,352.00 C0.00,422.713, 57.323,480.00, 128.00,480.00z" />
216
+ <glyph unicode="&#xe034;" d="M 384.00,480.00L 128.00,480.00 C 57.323,480.00,0.00,422.677,0.00,352.00l0.00-256.021 c0.00-70.713, 57.323-128.00, 128.00-128.00l 256.00,0.00 c 70.713,0.00, 128.00,57.287, 128.00,128.00L 512.00,352.00 C 512.00,422.677, 454.699,480.00, 384.00,480.00z M 421.433,276.046
217
+ l-183.652-183.652c-3.74-3.74-9.849-3.74-13.568,0.00l-27.157,27.371c-3.74,3.783-9.849,9.963-13.568,13.724l-63.154,66.382
218
+ c-1.849,1.892-2.837,4.473-2.837,6.933c0.00,2.503, 1.003,4.864, 2.837,6.756l 27.669,24.953c 1.87,1.913, 4.373,2.816, 6.855,2.816
219
+ c 2.425,0.00, 4.864-0.946, 6.734-2.816l 62.62-63.90c 3.705-3.819, 9.828-3.819, 13.568,0.00l 142.948,142.514c 3.74,3.74, 9.828,3.74, 13.547,0.00
220
+ l 27.157-27.392C 425.138,286.009, 425.138,279.787, 421.433,276.046z" />
221
+ <glyph unicode="&#xe035;" d="M 346.484,277.364c-18.711,0.00-77.615,1.396-126.813,2.071c 15.244,50.595, 28.416,96.303, 33.257,128.884c 69.306,0.00, 154.554-0.698, 167.703-0.698
222
+ c 21.481,0.00, 31.884,7.633, 39.494,27.02c 4.841,12.474, 14.545,30.487, 14.545,36.026c0.00,11.078-6.935,14.545-18.711,14.545c-31.884,0.00-124.719,3.468-207.919,3.468
223
+ C 110.895,488.681,0.00,441.553,0.00,369.501c0.00-18.013, 7.633-30.487, 15.942-30.487c 2.071,0.00, 4.841,0.698, 6.935,2.769c 29.789,26.345, 56.832,62.371, 135.843,66.513
224
+ c-16.64-38.097-34.653-90.065-50.595-144.826c-65.14-17.315-92.858-42.938-92.858-64.442c0.00-4.166, 3.468-6.935, 9.007-6.935c 15.942,0.00, 39.494,2.071, 66.537,5.539
225
+ c-18.013-69.306-29.789-135.145-29.789-171.148c0.00-42.263, 0.698-67.212, 23.552-67.212c 38.819,0.00, 79.709,6.935, 79.709,40.89c0.00,63.767, 16.64,138.589, 36.026,209.268
226
+ c 6.237,0.698, 12.474,0.698, 18.711,0.698c 18.013,0.00, 93.556-4.841, 105.332-4.841c 13.172,0.00, 19.409,7.633, 24.25,25.623c 2.769,11.078, 9.007,27.718, 9.007,33.257
227
+ C 357.585,274.548, 353.42,277.364, 346.484,277.364z M 1316.841,131.119c-5.539,0.00-14.545-6.237-24.948-20.108c-22.179-29.114-81.082-63.767-97.722-63.767
228
+ c-11.055,0.00-15.919,18.735-15.919,47.825c0.00,29.789, 5.539,94.231, 14.545,147.596c 20.108,0.00, 58.205-3.468, 69.306-3.468c 10.403,0.00, 19.409,38.819, 19.409,47.825
229
+ c0.00,8.308-0.698,11.078-7.633,11.078c-15.244,0.00-36.724,0.698-68.608,1.396l 28.393,49.897c-6.935,29.114-15.22,56.134-45.033,56.134
230
+ c-24.948,0.00-48.524-44.358-67.91-106.729c-15.244-0.698-28.393-0.698-37.423-0.698c-15.919-18.711-17.99-29.789-17.99-51.968c0.00-4.166, 2.769-6.935, 8.285-6.935
231
+ l 31.209,0.00 c-8.192-36.096-13.708-73.775-15.686-108.567c-19.735-13.777-74.496-83.363-100.119-83.363c-10.38,0.00-14.545,24.948-14.545,56.832
232
+ c0.00,35.351, 0.698,63.767, 5.539,90.065c 10.403,17.315, 19.409,33.955, 28.393,54.761c0.00,22.877-38.097,60.998-66.513,60.998c-9.728,0.00-17.315-7.633-23.575-20.108
233
+ c-4.841,2.769-11.776,4.841-20.783,6.935c-14.545,2.769-28.393,4.166-41.588,4.166c-57.507,0.00-107.404-36.026-139.264-74.147
234
+ c-29.30-35.607-45.079-81.152-49.664-125.673c-23.11-27.648-52.62-53.108-96.582-53.108c-34.653,0.00-59.601,23.575-59.601,74.822l0.00,27.718
235
+ c 86.621,112.943, 192.652,188.486, 192.652,273.711c0.00,38.819-24.25,61.649-63.767,61.649c-142.755,0.00-227.281-210.641-227.281-380.393c0.00-99.095, 71.377-137.914, 147.619-137.914
236
+ c 43.055,0.00, 85.62,25.693, 114.269,58.927c 15.942-38.935, 52.387-62.371, 99.863-62.371c 63.791,0.00, 99.793,28.393, 124.044,67.887c 7.633-38.121, 22.877-64.442, 49.199-64.442
237
+ c 53.807,0.00, 115.06,43.171, 143.407,90.042c 6.586-52.666, 25.786-90.042, 61.766-90.042c 75.567,0.00, 173.94,79.011, 173.94,139.264
238
+ C 1326.545,122.81, 1323.776,131.119, 1316.841,131.119z M 616.82,418.001c 8.308,0.00, 11.776-4.841, 11.776-15.244c0.00-42.961-46.429-70.004-108.777-165.609
239
+ C 539.881,352.186, 587.008,418.001, 616.82,418.001z M 892.672,120.739c-16.64-58.903-54.063-82.455-85.946-82.455c-31.185,0.00-39.494,26.345-39.494,53.364
240
+ c0.00,93.556, 72.076,149.667, 139.287,162.141C 896.14,209.431, 893.347,149.178, 892.672,120.739z" horiz-adv-x="1326.5454545454545" />
241
+ <glyph unicode="&#xe022;" d="M0.00,288.224L0.00,342.08 c0.00,22.976, 19.104,41.568, 42.656,41.568l 53.696,0.00 L 96.352,428.864
242
+ c0.00,10.528, 10.784,51.104, 24.096,51.104L 168.64,479.968 c 13.312,0.00, 24.096-40.576, 24.096-51.104l0.00-45.216 l 159.616,0.00 L 352.352,428.864 c0.00,10.528, 10.816,51.104, 24.096,51.104l 48.192,0.00
243
+ c 13.312,0.00, 24.096-40.576, 24.096-51.104l0.00-45.216 l 20.64,0.00 c 23.584,0.00, 42.688-18.592, 42.688-41.568l0.00-53.888 L0.00,288.192 z M 512.032,255.68l0.00-246.112
244
+ c0.00-22.976-19.104-41.60-42.688-41.60L 42.656-32.032 c-23.552,0.00-42.656,18.624-42.656,41.60L0.00,255.68 L 512.032,255.68 z" />
245
+ <glyph unicode="&#xe036;" d="M 512.00,224.00l-190.40-64.00l-5.152-192.00L 193.60,120.48L0.00,65.792L 114.496,224.00L0.00,382.208l 193.60-54.656L 316.448,480.00l 5.152-192.00L 512.00,224.00z" />
246
+ <glyph unicode="&#xe037;" d="M 384.00,63.776c 17.696,0.00, 32.00,14.336, 32.00,32.032s-14.304,32.032-32.00,32.032
247
+ s-32.00-14.336-32.00-32.032S 366.304,63.776, 384.00,63.776z M 469.376,384.00L 42.688,384.00 c-23.584,0.00-42.688-19.104-42.688-42.688l0.00-330.592
248
+ c0.00-23.584, 19.104-42.72, 42.688-42.72l 426.688,0.00 c 23.552,0.00, 42.656,19.136, 42.656,42.72L 512.032,341.312 C 512.032,364.896, 492.928,384.00, 469.376,384.00z
249
+ M 448.032,32.096L 64.00,32.096 l0.00,127.776 l 384.032,0.00 L 448.032,32.096 z M 448.032,255.936L 64.00,255.936 l0.00,64.032 l 384.032,0.00 L 448.032,255.936 z" />
250
+ <glyph unicode="&#xe038;" d="M 469.856,437.856c-56.224,56.224-147.392,56.224-203.648-0.032l-224.00-224.00c-56.256-56.256-56.256-147.424-0.032-203.648
251
+ s 147.392-56.256, 203.648,0.00l 47.424,46.08c-25.504,0.576-48.768,8.864-68.48,22.336l-24.224-23.20c-31.264-31.264-81.92-31.264-113.152,0.00
252
+ c-31.232,31.232-31.232,81.92, 0.032,113.152l 224.00,224.00c 31.264,31.264, 81.92,31.264, 113.12,0.00c 31.264-31.264, 31.296-81.888, 0.032-113.12L 312.96,167.04
253
+ c-9.376-9.376-24.576-9.376-33.952,0.00s-9.376,24.576,0.00,33.952l 84.288,85.088c 6.24,6.24, 6.272,16.384,0.00,22.624l-22.624,22.624
254
+ c-6.24,6.24-16.384,6.24-22.624,0.00l-84.288-85.088c-34.368-34.368-34.368-90.08,0.00-124.448c 34.368-34.368, 90.08-34.368, 124.448,0.00l 111.616,112.416
255
+ C 526.048,290.432, 526.048,381.632, 469.856,437.856z" />
256
+ <glyph unicode="&#xe039;" d="M 469.824,437.824C 442.592,465.024, 406.432,480.00, 368.00,480.00c-38.464,0.00-74.624-14.976-101.824-42.176
257
+ c0.00,0.00-90.848-90.816-96.064-95.968c-27.104-27.168-42.048-63.36-42.112-102.048c 0.064-38.40, 15.04-74.496, 42.176-101.632l 11.68-11.712
258
+ c 3.136-3.136, 7.264-4.672, 11.328-4.672c 4.096,0.00, 8.192,1.568, 11.328,4.672l 22.624,22.624c 6.24,6.24, 6.24,16.384,0.00,22.624l-11.712,11.712
259
+ c-30.688,30.688-31.104,81.024-0.896,112.256c 0.928,0.928, 96.928,96.896, 96.928,96.896C 326.56,407.68, 346.624,416.00, 368.00,416.00
260
+ s 41.44-8.32, 56.576-23.392l0.00-0.032 c 31.264-31.296, 31.264-81.888,0.00-113.12l-4.928-4.928C 427.36,253.728, 431.968,231.424, 432.00,208.00
261
+ c0.00-4.256-0.608-8.352-0.832-12.512l 38.656,38.688C 526.048,290.432, 526.016,381.632, 469.824,437.824z M 330.08,321.568
262
+ c-3.104,3.136-7.232,4.672-11.296,4.672c-4.128,0.00-8.224-1.568-11.328-4.672l-22.624-22.624c-6.272-6.24-6.272-16.384,0.00-22.624
263
+ l 11.68-11.712c 30.688-30.688, 31.136-81.024, 0.928-112.256c-0.928-0.928-96.928-96.896-96.928-96.896C 185.44,40.32, 165.376,32.00, 143.968,32.00
264
+ c-21.344,0.00-41.408,8.32-56.544,23.392l0.00,0.032 c-31.264,31.296-31.264,81.888-0.032,113.12l 4.96,4.928C 84.608,194.272, 80.00,216.576, 80.00,240.00
265
+ c0.00,4.256, 0.576,8.352, 0.832,12.512l-38.656-38.688c-56.256-56.256-56.224-147.424,0.00-203.616C 69.408-17.024, 105.568-32.00, 144.00-32.00
266
+ s 74.592,14.976, 101.824,42.176c0.00,0.00, 90.848,90.816, 96.064,95.968c 27.104,27.168, 42.048,63.36, 42.112,102.048c-0.064,38.40-15.072,74.496-42.176,101.632
267
+ L 330.08,321.568z" />
268
+ <glyph unicode="&#xe03b;" d="M 128.00,480.00l-96.00,0.00 c-17.664,0.00-32.00-14.304-32.00-32.00l0.00-448.00 c0.00-17.696, 14.336-32.00, 32.00-32.00l 96.00,0.00
269
+ c 17.664,0.00, 32.00,14.304, 32.00,32.00l0.00,448.00 C 160.00,465.696, 145.664,480.00, 128.00,480.00z M 448.00,480.00l-96.00,0.00 c-17.696,0.00-32.00-14.304-32.00-32.00l0.00-448.00 c0.00-17.696, 14.304-32.00, 32.00-32.00l 96.00,0.00
270
+ c 17.696,0.00, 32.00,14.304, 32.00,32.00l0.00,448.00 C 480.00,465.696, 465.696,480.00, 448.00,480.00z" />
271
+ <glyph unicode="&#xe03c;" d="M 440.00,237.888l-416.00,240.00c-4.928,2.848-11.072,2.848-16.00,0.00C 3.072,475.008, 0.00,469.728, 0.00,464.00l0.00-480.00
272
+ c0.00-5.728, 3.072-11.008, 8.00-13.856C 10.464-31.296, 13.248-32.00, 16.00-32.00s 5.536,0.704, 8.00,2.144l 416.00,240.00c 4.928,2.848, 8.00,8.128, 8.00,13.856
273
+ S 444.928,235.008, 440.00,237.888z" />
274
+ <glyph unicode="&#xe03d;" d="M 506.368,194.08l-120.608,176.00c-5.984,8.704-15.84,13.92-26.40,13.92
275
+ L 32.00,384.00 c-17.696,0.00-32.00-14.336-32.00-32.00l0.00-352.00 c0.00-17.664, 14.304-32.00, 32.00-32.00l 327.36,0.00 c 10.56,0.00, 20.448,5.184, 26.40,13.92l 120.608,176.00
276
+ C 513.888,168.80, 513.888,183.20, 506.368,194.08z M 368.00,128.00c-26.496,0.00-48.00,21.504-48.00,48.00s 21.504,48.00, 48.00,48.00s 48.00-21.504, 48.00-48.00
277
+ S 394.496,128.00, 368.00,128.00z" />
278
+ <glyph unicode="&#xe03e;" d="M 373.376,480.00L 43.104,480.00 c-23.776,0.00-43.104-19.072-43.104-32.00l0.00-426.688
279
+ c0.00-34.208, 19.328-53.312, 43.104-53.312l 330.272,0.00 c 23.52,0.00, 42.624,19.104, 42.624,42.656L 416.00,437.344 C 416.00,460.928, 396.896,480.00, 373.376,480.00z M 224.00,64.00
280
+ l-128.00,0.00 c-17.696,0.00-32.00,14.304-32.00,32.00s 14.304,32.00, 32.00,32.00l 128.00,0.00 c 17.696,0.00, 32.00-14.304, 32.00-32.00S 241.696,64.00, 224.00,64.00z M 320.00,192.00l-224.00,0.00 c-17.696,0.00-32.00,14.304-32.00,32.00
281
+ s 14.304,32.00, 32.00,32.00l 224.00,0.00 c 17.696,0.00, 32.00-14.304, 32.00-32.00S 337.696,192.00, 320.00,192.00z M 320.00,320.00l-224.00,0.00 c-17.696,0.00-32.00,14.304-32.00,32.00s 14.304,32.00, 32.00,32.00l 224.00,0.00
282
+ c 17.696,0.00, 32.00-14.304, 32.00-32.00S 337.696,320.00, 320.00,320.00z" />
283
+ <glyph unicode="&#xe03a;" d="M 469.376-32.00L 42.688-32.00 c-23.584,0.00-42.688,18.624-42.688,41.632L0.00,342.368 C0.00,365.376 19.104,384.00 42.688,384.00L 469.376,384.00
284
+ c 23.552,0.00, 42.656-18.624, 42.656-41.632l0.00-332.736 C 512.032-13.376, 492.928-32.00, 469.376-32.00z M 448.032,320.00L 64.00,320.00 l0.00-255.904 c0.00,0.00, 32.00,32.032, 64.00,64.032
285
+ c 32.00,32.032, 64.00,0.00, 64.00,0.00l 32.00-32.00c0.00,0.00, 59.36,60.384, 96.00,96.064c 33.44,33.472, 64.00,0.00, 64.00,0.00l 64.00-64.064L 448.032,320.00z M 160.00,192.00c-17.664,0.00-32.00,14.336-32.00,31.968
286
+ c0.00,17.696, 14.336,32.032, 32.00,32.032s 32.00-14.336, 32.00-32.032C 192.00,206.336 177.664,192.00 160.00,192.00z" />
287
+ <glyph unicode="&#xe03f;" d="M 482.752,480.00L 29.248,480.00 C 13.184,480.00, 0.00,466.816, 0.00,450.752l0.00-453.504 C 0.00-18.816, 13.184-32.00, 29.248-32.00l 453.504,0.00
288
+ C 498.816-32.00, 512.00-18.816, 512.00-2.752L 512.00,450.752 C 512.00,466.816, 498.816,480.00, 482.752,480.00z M 434.56,192.792l-70.312,0.00 l0.00-188.248 l-71.68,0.00 L 292.568,192.792 L 242.776,192.792 L 242.776,260.568 l 49.752,0.00
289
+ c0.00,0.00,0.00,27.776,0.00,57.896c0.00,45.504, 29.44,87.296, 97.192,87.296c 27.352,0.00, 47.68-2.664, 47.68-2.664l-1.624-63.272c0.00,0.00-20.672,0.192-43.264,0.192
290
+ c-24.448,0.00-28.328-11.264-28.328-29.952c0.00-2.304,0.00-3.136,0.00-3.20c0.00-5.248,0.00-17.96,0.00-46.312l 73.512,0.00 L 434.56,192.792z" />
291
+ <glyph unicode="&#xe040;" d="M 83.488,415.264L 83.488,416.00 C 83.36,415.648, 83.20,415.424, 83.072,415.264L 83.488,415.264 zM 508.64,288.832c0.00,41.184-33.12,74.624-73.984,74.624C 376.384,365.952, 316.80,367.04, 256.00,366.944
292
+ C 195.20,367.008, 135.616,365.952, 77.344,363.456c-40.80,0.00-73.952-33.44-73.952-74.624C 0.96,256.16-0.096,223.584,0.00,190.944
293
+ c-0.096-32.608, 0.96-65.248, 3.392-97.92c0.00-41.184, 33.12-74.624, 73.952-74.624C 135.552,15.968, 195.20,14.848, 256.00,14.976
294
+ c 60.736-0.128, 120.352,0.992, 178.624,3.424c 40.80,0.00, 73.952,33.44, 73.952,74.624c 2.496,32.672, 3.52,65.312, 3.424,97.92
295
+ C 512.096,223.584, 511.072,256.192, 508.64,288.832z M 192.032,78.976l0.00,224.00 l 160.00-112.00L 192.032,78.976z" />
296
+ <glyph unicode="&#xe041;" d="M 437.184,415.904C 366.016,418.24, 317.888,377.984, 292.64,294.976c 12.96,5.408, 25.632,8.16, 37.92,8.16
297
+ c 25.984,0.00, 37.44-14.72, 34.336-44.224c-1.504-17.856-12.96-43.84-34.336-77.984C 309.056,146.784, 292.992,129.728, 282.368,129.728
298
+ c-13.824,0.00-26.432,26.336-37.952,79.104C 240.576,224.352, 233.664,263.904, 223.776,327.552c-9.248,58.944-33.728,86.432-73.472,82.56
299
+ C 133.504,408.576, 108.288,393.056, 74.688,363.616C 50.112,341.088, 25.28,318.592,0.00,296.096l 24.064-31.392c 23.008,16.384, 36.448,24.448, 40.16,24.448
300
+ c 17.664,0.00, 34.08-27.872, 49.376-83.68c 13.792-51.264, 27.584-102.40, 41.376-153.632c 20.608-55.776, 45.92-83.712, 75.68-83.712
301
+ c 48.16,0.00, 107.168,45.728, 176.704,137.216c 67.296,87.616, 102.016,156.672, 104.384,207.136C 514.848,379.872, 489.984,414.40, 437.184,415.904z" />
302
+ <glyph unicode="&#xe042;" d="M 83.488,479.264L 83.488,480.00 C 83.36,479.648, 83.20,479.424, 83.072,479.264L 83.488,479.264 zM 512.00,413.696c-18.848-8.384-39.136-14.016-60.384-16.608c 21.728,12.992, 38.368,33.664, 46.24,58.112
303
+ c-20.352-12.032-42.816-20.736-66.688-25.504c-19.232,20.448-46.496,33.184-76.704,33.184c-57.984,0.00-105.024-47.072-105.024-105.056
304
+ c0.00-8.192, 0.928-16.256, 2.72-23.936c-87.296,4.448-164.704,46.208-216.512,109.76C 26.592,428.224, 21.408,410.144, 21.408,390.944
305
+ c0.00-36.48, 18.56-68.608, 46.72-87.456C 50.912,304.032, 34.72,308.768, 20.544,316.64c0.00-0.448,0.00-0.832,0.00-1.344c0.00-50.912, 36.224-93.344, 84.256-103.008
306
+ C 96.00,209.888, 86.72,208.608, 77.152,208.608c-6.752,0.00-13.344,0.64-19.776,1.888c 13.344-41.76, 52.16-72.128, 98.112-72.928
307
+ c-35.936-28.192-81.248-44.992-130.432-44.992c-8.48,0.00-16.832,0.512-25.056,1.504c 46.496-29.824, 101.696-47.232, 161.024-47.232
308
+ c 193.216,0.00, 298.88,160.064, 298.88,298.912c0.00,4.576-0.096,9.088-0.288,13.632C 480.128,374.144, 497.952,392.64, 512.00,413.696z" />
309
+ <glyph unicode="&#xe043;" d="M 256.00,480.00C 114.592,480.00,0.00,365.376,0.00,224.00s 114.592-256.00, 256.00-256.00s 256.00,114.624, 256.00,256.00S 397.408,480.00, 256.00,480.00z M 253.216,286.016c-8.576,0.00-15.488-7.008-15.488-15.52
310
+ L 237.664,177.088c-0.512-35.744-29.568-64.576-65.408-64.576c-36.16,0.00-65.472,29.312-65.472,65.504c0.00,0.48,0.00,40.64,0.00,40.64l 50.048,0.00 L 156.832,178.56
311
+ c0.00-8.608, 6.976-15.456, 15.488-15.456c 8.576,0.00, 15.488,6.944, 15.488,15.456L 187.808,273.152 c 1.28,35.072, 30.016,63.136, 65.344,63.136
312
+ c 35.456,0.00, 64.32-28.288, 65.376-63.488l0.00-20.672 L 288.704,243.232L 268.672,252.544L 268.672,270.528 C 268.704,279.04, 261.792,286.016, 253.216,286.016z M 399.712,178.016
313
+ c0.00-36.192-29.312-65.504-65.504-65.504c-36.00,0.00-65.184,28.992-65.504,64.864L 268.704,218.208 l 20.00-9.312l 29.888,8.864l0.00-41.12
314
+ c0.00-8.608, 6.944-15.488, 15.488-15.488c 8.544,0.00, 15.456,6.944, 15.456,15.488L 349.536,218.624 l 50.08,0.00 C 399.712,218.624, 399.712,178.464, 399.712,178.016z" />
315
+ <glyph unicode="&#xe044;" d="M 90.368,28.96c 39.424,56.80, 104.864,94.112, 179.264,94.112c 67.712,0.00, 128.064-30.976, 168.128-79.328
316
+ C 483.616,90.016, 512.00,153.696, 512.00,224.00c0.00,141.376-114.624,256.00-256.00,256.00S0.00,365.376,0.00,224.00C0.00,145.856, 35.136,75.936, 90.368,28.96z M 392.80,147.232
317
+ c-3.68-8.32-10.368-9.984-18.176-6.368c-34.048,15.744-72.00,24.608-112.00,24.608c-41.12,0.00-80.00-9.28-114.752-25.856
318
+ c-3.744-1.824-11.936-2.56-15.616,8.064c-3.68,10.56, 2.112,16.64, 5.504,18.112c 37.984,17.76, 80.192,27.84, 124.864,27.84
319
+ c 43.872,0.00, 86.048-8.352, 122.816-26.912C 391.264,163.776, 396.576,155.456, 392.80,147.232z M 414.624,212.608c-2.688-3.68-6.816-6.24-11.68-6.24
320
+ c-1.376,0.00-2.56,0.416-3.808,0.736c-41.824,18.432-87.936,28.832-136.512,28.832c-48.256,0.00-94.048-10.208-135.616-28.416
321
+ C 125.504,206.976, 123.936,206.528, 122.24,206.528c-4.928,0.00-9.152,2.688-11.776,6.496l-2.752,8.32C 107.776,225.664, 109.76,229.408, 112.736,232.032
322
+ c 45.792,20.576, 96.448,32.128, 149.888,32.128c 53.408,0.00, 104.032-11.552, 149.824-32.128c 3.072-2.56, 4.96-6.432, 5.088-10.752L 414.624,212.608z
323
+ M 94.112,315.968C 146.24,336.96, 202.976,348.704, 262.624,348.704c 59.008,0.00, 115.328-11.488, 167.008-32.128c 7.008-3.552, 11.872-10.624, 11.872-19.04
324
+ c0.00-11.872-9.632-21.504-21.504-21.504c-1.696,0.00-3.264,0.416-4.80,0.704c-47.136,19.04-98.624,29.60-152.576,29.60
325
+ c-54.016,0.00-105.568-10.56-152.736-29.664C 108.384,276.416, 106.88,276.064, 105.248,276.064c-11.872,0.00-21.504,9.632-21.504,21.504
326
+ C 83.744,305.44, 87.936,312.224, 94.112,315.968z M 269.632,38.496c-43.328,0.00-81.728-20.896-106.24-52.96C 192.128-25.632, 223.328-32.00, 256.032-32.00
327
+ c 40.544,0.00, 78.688,9.664, 112.704,26.40C 344.256,21.44, 308.928,38.496, 269.632,38.496z" />
328
+ <glyph unicode="&#xe045;" d="M 83.456,464.288L 83.456,465.024 c-0.128-0.352-0.32-0.576-0.448-0.736L 83.456,464.288 zM 490.592,186.944C 492.48,199.008, 493.536,211.36, 493.536,224.00c0.00,131.20-106.368,237.568-237.568,237.568
329
+ c-12.576,0.00-24.992-1.056-37.056-2.944C 197.024,472.192, 171.232,480.00, 143.52,480.00C 64.256,480.00,0.00,415.744,0.00,336.448c0.00-27.68, 7.84-53.472, 21.376-75.36
330
+ C 19.488,248.992, 18.464,236.64, 18.464,224.00c0.00-131.20, 106.304-237.472, 237.536-237.472c 12.608,0.00, 24.992,0.96, 37.088,2.88c 21.952-13.504, 47.68-21.376, 75.36-21.376
331
+ c 79.264,0.00, 143.52,64.288, 143.52,143.52C 511.968,139.264, 504.16,165.024, 490.592,186.944z M 368.704,116.00c-10.016-14.496-24.768-25.824-44.064-33.952
332
+ c-19.328-8.128-42.176-12.192-68.608-12.192c-31.584,0.00-57.792,5.504-78.464,16.672c-14.656,8.00-26.56,18.752-35.68,32.128
333
+ c-9.184,13.408-13.856,26.496-13.856,39.328c0.00,7.488, 2.88,14.048, 8.48,19.392C 142.208,182.784, 149.504,185.504, 158.08,185.504
334
+ c 7.04,0.00, 13.056-2.112, 18.016-6.304C 180.992,174.976, 185.12,168.864, 188.48,160.80c 4.00-9.312, 8.384-17.088, 13.024-23.36
335
+ c 4.672-6.112, 11.104-11.328, 19.52-15.328c 8.32-4.064, 19.424-6.048, 33.248-6.048c 19.008,0.00, 34.368,4.16, 46.048,12.224
336
+ c 11.808,8.224, 17.504,18.112, 17.504,30.144c0.00,9.60-3.072,17.184-9.312,23.136c-6.368,6.016-14.496,10.56-24.672,13.76
337
+ c-10.144,3.264-23.84,6.688-40.96,10.272C 219.936,210.56, 200.704,216.448, 185.152,223.136C 169.568,229.888, 157.152,239.072, 147.936,250.72
338
+ C 138.688,262.40, 134.08,276.992, 134.08,294.304c0.00,16.448, 4.832,31.20, 14.56,44.032C 158.40,351.20, 172.48,361.024, 190.752,367.904
339
+ c 18.24,6.848, 39.744,10.208, 64.352,10.208c 19.68,0.00, 36.704-2.208, 51.136-6.816c 14.368-4.576, 26.368-10.56, 35.936-18.08
340
+ c 9.60-7.552, 16.576-15.456, 20.992-23.872c 4.448-8.384, 6.688-16.608, 6.688-24.544c0.00-7.392-2.912-14.144-8.512-20.064
341
+ c-5.632-5.952-12.736-8.896-21.152-8.864c-7.52,0.00-13.472,1.728-17.60,5.408C 318.592,284.80, 314.40,290.528, 309.856,298.464
342
+ C 304.128,309.472, 297.248,318.048, 289.248,324.256C 281.472,330.24, 268.608,333.44, 250.72,333.408c-16.576,0.00-29.824-3.328-39.776-9.984
343
+ C 200.896,316.672, 196.096,308.928, 196.064,299.776c 0.032-5.728, 1.664-10.56, 4.992-14.688C 204.416,280.864, 209.088,277.312, 215.104,274.24
344
+ C 221.12,271.20, 227.232,268.736, 233.376,267.072c 6.208-1.76, 16.544-4.32, 30.88-7.68C 282.208,255.488, 298.56,251.20, 313.216,246.432s 27.136-10.464, 37.44-17.28
345
+ c 10.40-6.816, 18.528-15.456, 24.384-25.92c 5.824-10.496, 8.704-23.328, 8.704-38.368C 383.872,146.752, 378.816,130.432, 368.704,116.00z" />
346
+ <glyph unicode="&#xe046;" d="M 83.488,464.32L 83.488,465.056 C 83.36,464.704, 83.20,464.48, 83.072,464.32L 83.488,464.32 zM 256.00,480.00C 114.624,480.00,0.00,365.376,0.00,224.00c0.00-104.768, 63.072-194.848, 153.248-234.464c-0.672,17.888-0.16,39.36, 4.448,58.816
347
+ C 162.624,69.088, 190.624,187.84, 190.624,187.84S 182.464,204.16, 182.464,228.32c0.00,37.984, 21.984,66.272, 49.344,66.272c 23.328,0.00, 34.56-17.504, 34.56-38.432
348
+ c0.00-23.36-14.944-58.368-22.624-90.816c-6.40-27.20, 13.632-49.312, 40.384-49.312c 48.512,0.00, 81.184,62.304, 81.184,136.064
349
+ c0.00,56.096-37.824,98.112-106.528,98.112c-77.664,0.00-126.016-57.952-126.016-122.624c0.00-22.272, 6.56-38.016, 16.896-50.208
350
+ c 4.704-5.568, 5.408-7.808, 3.68-14.208c-1.248-4.736-4.032-16.064-5.216-20.576c-1.728-6.496-6.976-8.80-12.80-6.368
351
+ C 99.552,150.784, 82.88,189.984, 82.88,233.984c0.00,72.704, 61.312,159.936, 183.008,159.936c 97.696,0.00, 162.048-70.752, 162.048-146.624
352
+ c0.00-100.448-55.872-175.392-138.112-175.392c-27.68,0.00-53.696,14.944-62.56,31.872c0.00,0.00-14.88-59.04-17.984-70.368
353
+ c-5.44-19.744-16.064-39.392-25.76-54.816C 206.464-28.256, 230.816-31.936, 256.00-31.936c 141.376,0.00, 256.00,114.624, 256.00,255.968S 397.376,480.00, 256.00,480.00z" />
354
+ <glyph unicode="&#xe047;" d="M 127.104,457.44C 61.216,431.392, 16.48,381.088, 3.968,313.376c-7.68-41.60-4.736-86.976, 13.60-125.792
355
+ C 21.664,178.944, 26.56,170.656, 32.416,162.944c 2.88-3.712, 5.888-7.328, 9.152-10.72c 5.856,2.048, 11.456,4.672, 16.832,7.744
356
+ C 80.704,172.544, 97.088,191.872, 116.16,208.16C 52.48,281.984, 120.00,373.472, 204.544,393.92c 78.624,19.008, 185.248-13.792, 209.056-94.688
357
+ c 9.888-33.536, 3.36-70.56-23.904-94.88c-14.272-12.672-32.448-21.056-51.584-24.512c-11.264-1.984-22.752-2.336-34.016-1.184
358
+ c-6.272,0.64-12.608,1.664-18.752,3.136c-10.464,2.496-19.776,2.144-19.776,13.44c0.00,29.504,0.00,59.008,0.00,88.512c0.00,14.752,0.00,29.504,0.00,44.256
359
+ c0.00,8.992, 0.896,7.328-6.592,8.256C 252.96,336.96, 247.104,337.536, 241.152,338.016c-20.864,1.664-42.688,2.752-63.36-0.768
360
+ C 170.016,335.872, 169.504,337.088, 169.504,328.704c0.00-6.816,0.00-13.632,0.00-20.384c0.00-16.576,0.00-33.056,0.00-49.632c0.00-49.44, 3.744-99.424, 1.728-148.736
361
+ c-0.608-14.688-0.992-49.984-17.44-57.248c-19.104-8.448-35.936,9.376-53.568,13.12c 2.40-24.768-13.056-73.888, 15.776-86.368
362
+ c 26.464-11.424, 56.896-15.648, 84.832-6.24c 58.432,19.84, 77.376,84.864, 69.984,138.368c 90.272-27.008, 187.68,18.112, 226.304,99.616
363
+ c 27.456,58.048, 15.84,130.112-25.536,179.488C 394.08,483.136, 236.768,500.896, 127.104,457.44z" />
364
+ <glyph unicode="&#xe048;" d="M 424.288,205.12c 44.096,0.00, 79.84,35.584, 79.84,79.52s-35.744,79.552-79.84,79.552c-44.128,0.00-79.84-35.616-79.84-79.552
365
+ S 380.16,205.12, 424.288,205.12M 431.36,186.624c-0.64,0.064-1.248,0.128-1.824,0.192C 429.088,186.88, 428.64,186.88, 428.16,186.88
366
+ c-1.28,0.064-2.528,0.128-3.808,0.128L 424.32,187.008 l-0.096,0.00 c-1.312,0.00-2.592-0.064-3.84-0.128c-0.512,0.00-0.928,0.00-1.408-0.064
367
+ c-0.608-0.064-1.152-0.128-1.792-0.192c-45.12-3.872-80.672-44.128-80.672-90.048l0.00-30.88 c0.00-4.384, 3.552-7.936, 8.00-7.936l 2.816,0.00 l 153.952,0.00
368
+ l 2.848,0.00 c 4.416,0.00, 7.968,3.552, 7.968,7.936l0.00,30.88 C 512.032,142.496, 476.512,182.752, 431.36,186.624M 239.328,190.368c 39.616,0.00, 71.872,32.064, 71.872,71.616S 278.944,333.568, 239.328,333.568c-39.744,0.00-71.872-32.00-71.872-71.552
369
+ S 199.552,190.368, 239.328,190.368M 245.632,173.76C 245.12,173.824, 244.576,173.888, 244.064,173.952c-0.448,0.00-0.864,0.00-1.312,0.064
370
+ c-1.12,0.00-2.24,0.064-3.36,0.064L 239.264,174.08 L 239.20,174.08 c-1.12,0.00-2.24-0.064-3.392-0.064C 235.36,173.952, 234.976,173.952, 234.528,173.952
371
+ C 233.984,173.888, 233.472,173.824, 232.928,173.76c-40.672-3.488-72.672-39.68-72.672-81.056l0.00-27.744 l0.00-0.064 c0.00-3.936, 3.232-7.136, 7.232-7.136l 2.496,0.00 l 138.496,0.00
372
+ l 2.56,0.00 c 3.968,0.00, 7.20,3.20, 7.20,7.136l0.00,0.064 l0.00,27.744 C 318.24,134.048, 286.24,170.24, 245.632,173.76M 71.136,177.12c 35.712,0.00, 64.672,28.768, 64.672,64.448c0.00,35.552-28.96,64.448-64.672,64.448
373
+ c-35.744,0.00-64.672-28.864-64.672-64.448C 6.432,205.952, 35.36,177.12, 71.136,177.12M 76.80,162.176c-0.48,0.00-0.928,0.064-1.44,0.064C 75.008,162.304, 74.656,162.304, 74.24,162.304
374
+ C 73.248,162.432, 72.224,162.432, 71.20,162.432L 71.136,162.432 L 71.04,162.432 c-1.024,0.00-2.016,0.00-3.136-0.128c-0.416,0.00-0.704,0.00-1.12-0.064
375
+ c-0.48,0.00-0.896-0.064-1.44-0.064C 28.736,159.008,0.00,126.368,0.00,89.184l0.00-24.96 c0.00-3.552, 2.912-6.432, 6.464-6.432l 2.272,0.00 l 124.672,0.00 L 135.68,57.792
376
+ c 3.552,0.00, 6.432,2.88, 6.432,6.432l0.00,24.96 C 142.176,126.368, 113.44,159.008, 76.80,162.176" />
377
+ <glyph unicode="&#xe049;" d="M 83.456,464.32L 83.456,465.056 C 83.328,464.704, 83.168,464.48, 83.04,464.32L 83.456,464.32 zM 479.968,480.00l-16.736,0.00 L 48.736,480.00 L 32.00,480.00 C 14.336,480.00,0.00,465.664,0.00,448.00l0.00-16.768 l0.00-414.528 l0.00-16.768 C0.00-17.728, 14.336-32.00, 32.00-32.00l 16.768,0.00 l 414.464,0.00 l 16.736,0.00
378
+ c 17.696,0.00, 32.00,14.272, 32.00,31.936l0.00,16.768 L 511.968,431.264 L 511.968,448.032 C 511.968,465.664, 497.664,480.00, 479.968,480.00z M 438.656,65.024l-72.128,0.00 L 366.528,180.032
379
+ c0.00,28.928-8.256,48.64-34.304,48.64c-19.968,0.00-31.872-13.312-37.056-26.08c-1.92-4.608-2.368-11.104-2.368-17.504l0.00-120.00 L 218.336,65.088
380
+ c0.00,0.00, 0.928,200.896,0.00,221.088l 74.432,0.00 L 292.768,255.68 c 9.60,14.656, 26.688,35.52, 65.056,35.52c 47.424,0.00, 80.80-36.928, 80.80-102.912L 438.624,65.024 z M 130.336,382.464
381
+ c 22.176,0.00, 35.808-16.032, 36.256-36.992c0.00-20.576-14.048-36.992-36.672-36.992L 129.536,308.48 c-21.792,0.00-35.808,16.448-35.808,36.992
382
+ C 93.728,366.432, 108.16,382.464, 130.336,382.464z M 170.688,285.312l0.00-220.256 L 97.536,65.056 L 97.536,285.312 L 170.688,285.312 z" />
383
+ <glyph unicode="&#xe04a;" d="M0.00,69.152c 18.848,8.736, 38.40,14.88, 58.624,18.40c 27.232,4.064, 49.856,6.304, 67.84,6.816c-5.536,7.392-10.528,15.296-14.848,23.68
384
+ c-5.088,8.16-7.616,17.984-7.616,29.44c0.00,6.88, 0.96,12.608, 2.88,17.184c 1.696,4.80, 3.264,9.28, 4.704,13.376
385
+ C 102.816,176.992, 94.56,176.512, 86.784,176.512C 50.016,176.96, 21.12,187.456,0.00,208.032L0.00,69.152 zM 187.488,276.512c0.00,30.688-7.776,61.664-23.328,92.896c-7.296,14.976-16.896,27.168-28.80,36.544c-12.16,8.896-26.112,13.60-41.92,14.08
386
+ C 72.512,419.52, 55.136,411.008, 41.28,394.528C 29.60,377.28, 24.00,357.984, 24.512,336.672c0.00-28.16, 8.16-57.504, 24.48-87.968
387
+ c 7.904-14.208, 18.112-26.272, 30.624-36.16c 12.48-9.888, 26.784-14.848, 42.848-14.848c 20.32,0.736, 37.248,8.128, 50.752,22.08
388
+ C 179.744,229.696, 183.936,239.84, 185.824,250.24C 186.912,260.672, 187.488,269.408, 187.488,276.512zM 147.488,72.384c-4.928,0.544-10.688,0.768-17.312,0.768c-3.936,0.512-14.016,0.00-30.208-1.536c-15.968-2.24-32.32-5.952-48.992-11.008
389
+ c-3.936-1.536-9.44-3.808-16.576-6.88c-7.136-3.264-14.368-7.936-21.728-14.016C 7.968,35.552, 3.744,30.688,0.00,25.152l0.00-21.152
390
+ C0.00-15.872, 16.00-32.00, 35.648-32.00l 194.304,0.00 c0.00,0.48, 0.032,0.928, 0.032,1.44c0.00,19.744-6.40,36.96-19.168,51.648
391
+ C 197.344,35.04, 176.224,52.128, 147.488,72.384zM 476.352,480.00l-92.096,0.00 L 256.032,480.00 l-130.24,0.00 L 35.648,480.00 C 16.00,480.00,0.00,463.872,0.00,444.00l0.00-38.976 l0.00-9.312 c 2.24,2.40, 4.576,4.80, 7.008,7.168
392
+ c 21.952,18.24, 44.704,30.144, 68.352,35.712c 23.392,4.80, 45.344,7.232, 65.792,7.232l 154.24,0.00 L 247.776,417.76L 200.192,417.76
393
+ C 205.056,414.72, 210.496,410.272, 216.544,404.448c 5.824-6.08, 11.52-13.536, 17.088-22.40c 5.344-8.384, 10.048-18.24, 14.176-29.632
394
+ C 251.20,341.024, 252.864,327.712, 252.864,312.544c-0.448-27.872-6.56-50.144-18.272-66.88c-5.76-8.096-11.84-15.552-18.272-22.40
395
+ C 209.216,216.416, 201.632,209.44, 193.60,202.368c-4.608-4.80-8.832-10.272-12.736-16.384C 176.256,179.68, 173.952,172.352, 173.952,164.00
396
+ c0.00-8.128, 2.368-14.816, 7.072-20.128c 4.00-5.12, 7.904-9.504, 11.68-13.312l 26.144-21.696c 16.256-13.408, 30.528-28.192, 42.784-44.448
397
+ c 11.552-16.448, 17.568-38.016, 18.016-64.576c0.00-11.008-1.408-21.632-4.224-31.872l 200.896,0.00 C 496.00-32.00, 512.00-15.872, 512.00,4.00L 512.00,405.024 L 512.00,444.00
398
+ C 512.00,463.872, 496.00,480.00, 476.352,480.00z M 504.384,321.184l-80.928,0.00 l0.00-81.728 l-39.20,0.00 L 384.256,321.184 L 303.328,321.184 L 303.328,360.768 l 80.928,0.00 L 384.256,442.496 l 39.20,0.00 l0.00-81.728 l 80.928,0.00 L 504.384,321.184 z" />
399
+ <glyph unicode="&#xe04c;" d="M 256.00,480.00C 114.624,480.00,0.00,365.376,0.00,224.00s 114.592-256.00, 256.00-256.00c 141.376,0.00, 256.00,114.624, 256.00,256.00S 397.376,480.00, 256.00,480.00z M 412.864,347.264
400
+ c 24.992-31.68, 40.64-70.976, 42.56-113.888c-28.864,6.112-56.192,9.12-81.632,9.12l0.00,0.00l-0.224,0.00 c-20.512,0.00-39.712-1.888-57.856-5.056
401
+ C 311.328,248.256, 306.88,258.624, 302.368,268.576C 342.752,286.24, 381.504,311.424, 412.864,347.264z M 256.00,423.712c 47.136,0.00, 90.304-16.48, 124.576-43.904
402
+ C 354.40,348.512, 319.808,325.824, 282.464,309.76C 256.256,360.512, 230.88,396.736, 213.568,418.944C 227.328,422.016, 241.44,423.712, 256.00,423.712z M 167.808,402.912
403
+ C 181.664,386.56, 209.44,350.528, 239.072,294.24C 178.784,276.288, 118.048,272.128, 81.344,272.128c-1.024,0.00-2.08,0.00-3.104,0.00L 78.176,272.128
404
+ c-6.176,0.00-11.488,0.128-15.968,0.256C 76.576,329.76, 115.872,377.184, 167.808,402.912z M 56.288,224.00c0.00,0.928, 0.032,1.888, 0.096,2.88
405
+ C 62.08,226.656, 69.376,226.464, 78.176,226.464l 0.064,0.00 C 118.40,226.752, 188.512,230.112, 259.488,252.512C 263.36,244.064, 267.264,235.264, 271.008,226.048
406
+ C 223.552,210.24, 186.24,184.928, 158.592,159.744c-26.592-24.256-44.608-48.256-55.104-64.256C 74.112,130.304, 56.288,175.008, 56.288,224.00z M 256.00,24.256
407
+ c-44.448,0.00-85.408,14.688-118.656,39.36c 7.104,11.616, 22.208,33.984, 46.336,57.056c 24.80,23.744, 59.04,48.256, 103.744,62.816
408
+ c 15.232-42.624, 28.992-91.328, 39.456-146.144C 304.80,28.928, 280.992,24.256, 256.00,24.256z M 369.056,59.712c-10.112,49.60-22.944,94.272-36.864,134.208
409
+ c 12.928,1.856, 26.56,2.88, 40.928,2.88l 0.512,0.00 l 0.064,0.00 l 0.064,0.00 c 23.808,0.00, 49.984-2.944, 78.336-9.376C 442.304,134.624, 411.68,89.12, 369.056,59.712z
410
+ " />
411
+ <glyph unicode="&#xe04d;" d="M 427.52,480.00L 84.48,480.00 C 38.016,480.00,0.00,441.984,0.00,395.52L0.00,52.48 c0.00-46.432, 38.016-84.512, 84.48-84.512L 427.52-32.032 c 46.432,0.00, 84.512,38.048, 84.512,84.512L 512.032,395.52
412
+ C 512.00,441.984, 473.984,480.00, 427.52,480.00z M 411.168,167.296c-0.32-54.432-44.544-98.976-99.04-98.976L 198.272,68.32 c-54.496,0.00-99.072,44.544-99.072,98.976L 99.20,282.848
413
+ c0.00,54.496, 44.576,99.20, 99.072,99.20l 69.312,0.00 c 25.568-3.072, 62.752-24.928, 76.512-54.08c 3.744-8.16, 5.76-9.44, 8.864-33.664
414
+ c 1.696-12.448, 2.56-21.696, 8.096-26.816c 7.84-7.168, 36.96-2.304, 42.784-6.816l 4.384-3.424l 2.624-5.472l 0.928-4.416L 411.168,167.296zM 199.52,263.168l 54.944,0.00 c 10.496,0.00, 19.008,8.64, 19.008,19.008s-8.512,18.88-19.008,18.88L 199.52,301.056 c-10.432,0.00-18.944-8.512-18.944-18.88
415
+ S 189.088,263.168, 199.52,263.168zM 311.232,187.52L 199.584,187.52 c-10.464,0.00-19.008-8.448-19.008-18.816c0.00-10.272, 8.544-18.88, 19.008-18.88l 111.616,0.00 c 10.336,0.00, 18.816,8.608, 18.816,18.88
416
+ C 330.016,179.104, 321.568,187.52, 311.232,187.52z" />
417
+ <glyph unicode="&#xe04e;" d="M 462.368,242.752l-128.352,0.00 l0.00,32.00 l 128.352,0.00 L 462.368,242.752 z M 248.704,111.488c 8.32-12.896, 12.384-28.544, 12.384-46.944
418
+ c0.00-18.944-4.64-36.00-14.112-51.04C 240.896,3.552, 233.408-4.736, 224.416-11.584C 214.272-19.36, 202.272-24.736, 188.48-27.68
419
+ C 174.656-30.56, 159.648-32.00, 143.52-32.00L0.00-32.00 L0.00,288.00 l 153.92,0.00 c 38.752-0.64, 66.208-11.904, 82.496-34.048C 246.08,240.32, 250.944,224.00, 250.944,205.056
420
+ c0.00-19.552-4.896-35.264-14.752-47.136C 230.72,151.328, 222.624,145.216, 211.936,139.744C 228.16,133.76, 240.48,124.416, 248.704,111.488z M 73.472,161.888l 67.36,0.00
421
+ c 13.92,0.00, 25.056,2.688, 33.728,7.872c 8.672,5.312, 12.896,14.688, 12.896,28.192c0.00,14.944-5.696,24.768-17.088,29.568
422
+ C 160.544,230.816, 148.00,232.512, 132.704,232.512L 73.44,232.512 L 73.472,161.888L 73.472,161.888z M 193.984,69.184c0.00,16.64-6.752,28.128-20.288,34.24
423
+ C 166.144,106.976, 155.52,108.736, 141.92,108.928L 73.472,108.928 l0.00-85.312 l 67.328,0.00 c 13.856,0.00, 24.544,1.792, 32.288,5.632C 187.008,36.256, 193.984,49.472, 193.984,69.184z
424
+ M 509.984,121.248c 1.568-10.464, 2.24-25.696, 1.984-45.536l-166.112,0.00 c 0.896-23.04, 8.80-39.168, 23.84-48.352c 9.024-5.824, 20.00-8.672, 32.896-8.672
425
+ c 13.504,0.00, 24.576,3.456, 33.056,10.528c 4.672,3.744, 8.672,9.056, 12.256,15.68l 60.864,0.00 c-1.568-13.568-8.896-27.36-22.048-41.376
426
+ c-20.384-22.304-49.024-33.504-85.824-33.504c-30.368,0.00-57.12,9.44-80.384,28.256C 297.344,17.12, 285.728,47.712, 285.728,90.112
427
+ c0.00,39.68, 10.40,70.112, 31.36,91.328c 20.992,21.248, 48.192,31.808, 81.664,31.808c 19.808,0.00, 37.728-3.552, 53.664-10.752
428
+ c 15.904-7.136, 29.024-18.432, 39.392-33.952C 501.12,155.008, 507.168,139.264, 509.984,121.248z M 450.016,115.328c-1.12,15.936-6.432,28.00-16.00,36.192
429
+ c-9.44,8.352-21.248,12.448-35.328,12.448c-15.36,0.00-27.20-4.448-35.616-13.12c-8.48-8.672-13.76-20.576-15.872-35.488L 450.016,115.36 L 450.016,115.328z" />
430
+ <glyph unicode="&#xe04b;" d="M 176.00,416.00l-160.00,0.00 C 7.168,416.00,0.00,408.832,0.00,400.00l0.00-160.00 C0.00,231.168, 7.168,224.00, 16.00,224.00l 160.00,0.00 C 184.832,224.00, 192.00,231.168, 192.00,240.00l0.00,160.00 C 192.00,408.832, 184.832,416.00, 176.00,416.00
431
+ zM 176.00,160.00l-160.00,0.00 C 7.168,160.00,0.00,152.832,0.00,144.00l0.00-160.00 C0.00-24.832, 7.168-32.00, 16.00-32.00l 160.00,0.00 C 184.832-32.00, 192.00-24.832, 192.00-16.00l0.00,160.00
432
+ C 192.00,152.832, 184.832,160.00, 176.00,160.00zM 496.00,416.00l-224.00,0.00 C 263.168,416.00, 256.00,408.832, 256.00,400.00l0.00-32.00 C 256.00,359.168, 263.168,352.00, 272.00,352.00l 224.00,0.00 C 504.864,352.00, 512.00,359.168, 512.00,368.00l0.00,32.00
433
+ C 512.00,408.832, 504.864,416.00, 496.00,416.00zM 496.00,288.00l-224.00,0.00 C 263.168,288.00, 256.00,280.832, 256.00,272.00l0.00-32.00 C 256.00,231.168, 263.168,224.00, 272.00,224.00l 224.00,0.00 C 504.864,224.00, 512.00,231.168, 512.00,240.00l0.00,32.00
434
+ C 512.00,280.832, 504.864,288.00, 496.00,288.00zM 496.00,160.00l-224.00,0.00 C 263.168,160.00, 256.00,152.832, 256.00,144.00l0.00-32.00 C 256.00,103.168, 263.168,96.00, 272.00,96.00l 224.00,0.00 c 8.864,0.00, 16.00,7.168, 16.00,16.00l0.00,32.00
435
+ C 512.00,152.832, 504.864,160.00, 496.00,160.00zM 496.00,32.00l-224.00,0.00 C 263.168,32.00, 256.00,24.832, 256.00,16.00l0.00-32.00 C 256.00-24.832, 263.168-32.00, 272.00-32.00l 224.00,0.00 c 8.864,0.00, 16.00,7.168, 16.00,16.00l0.00,32.00
436
+ C 512.00,24.832, 504.864,32.00, 496.00,32.00z" />
437
+ <glyph unicode="&#xe04f;" d="M 112.00,416.00l-96.00,0.00 C 7.168,416.00,0.00,408.832,0.00,400.00l0.00-96.00 C0.00,295.168, 7.168,288.00, 16.00,288.00l 96.00,0.00 C 120.832,288.00, 128.00,295.168, 128.00,304.00l0.00,96.00 C 128.00,408.832, 120.832,416.00, 112.00,416.00z M 112.00,256.00l-96.00,0.00
438
+ C 7.168,256.00,0.00,248.832,0.00,240.00l0.00-96.00 C0.00,135.168, 7.168,128.00, 16.00,128.00l 96.00,0.00 C 120.832,128.00, 128.00,135.168, 128.00,144.00l0.00,96.00 C 128.00,248.832, 120.832,256.00, 112.00,256.00z M 272.00,416.00l-96.00,0.00
439
+ C 167.168,416.00, 160.00,408.832, 160.00,400.00l0.00-96.00 C 160.00,295.168, 167.168,288.00, 176.00,288.00l 96.00,0.00 C 280.832,288.00, 288.00,295.168, 288.00,304.00l0.00,96.00 C 288.00,408.832, 280.832,416.00, 272.00,416.00z M 272.00,256.00l-96.00,0.00
440
+ C 167.168,256.00, 160.00,248.832, 160.00,240.00l0.00-96.00 C 160.00,135.168, 167.168,128.00, 176.00,128.00l 96.00,0.00 C 280.832,128.00, 288.00,135.168, 288.00,144.00l0.00,96.00 C 288.00,248.832, 280.832,256.00, 272.00,256.00z M 432.00,416.00l-96.00,0.00
441
+ C 327.168,416.00, 320.00,408.832, 320.00,400.00l0.00-96.00 C 320.00,295.168, 327.168,288.00, 336.00,288.00l 96.00,0.00 C 440.832,288.00, 448.00,295.168, 448.00,304.00l0.00,96.00 C 448.00,408.832, 440.832,416.00, 432.00,416.00z M 432.00,256.00l-96.00,0.00
442
+ C 327.168,256.00, 320.00,248.832, 320.00,240.00l0.00-96.00 C 320.00,135.168, 327.168,128.00, 336.00,128.00l 96.00,0.00 C 440.832,128.00, 448.00,135.168, 448.00,144.00l0.00,96.00 C 448.00,248.832, 440.832,256.00, 432.00,256.00z M 112.00,96.00l-96.00,0.00
443
+ C 7.168,96.00,0.00,88.832,0.00,80.00l0.00-96.00 C0.00-24.832, 7.168-32.00, 16.00-32.00l 96.00,0.00 C 120.832-32.00, 128.00-24.832, 128.00-16.00l0.00,96.00 C 128.00,88.832, 120.832,96.00, 112.00,96.00z M 272.00,96.00l-96.00,0.00
444
+ C 167.168,96.00, 160.00,88.832, 160.00,80.00l0.00-96.00 C 160.00-24.832, 167.168-32.00, 176.00-32.00l 96.00,0.00 C 280.832-32.00, 288.00-24.832, 288.00-16.00l0.00,96.00 C 288.00,88.832, 280.832,96.00, 272.00,96.00z M 432.00,96.00l-96.00,0.00
445
+ c-8.832,0.00-16.00-7.168-16.00-16.00l0.00-96.00 c0.00-8.832, 7.168-16.00, 16.00-16.00l 96.00,0.00 c 8.832,0.00, 16.00,7.168, 16.00,16.00l0.00,96.00 C 448.00,88.832, 440.832,96.00, 432.00,96.00z" />
446
+ <glyph unicode="&#xe050;" d="M 496.00,416.00l-384.00,0.00 C 103.168,416.00, 96.00,408.832, 96.00,400.00l0.00-32.00 C 96.00,359.168, 103.168,352.00, 112.00,352.00l 384.00,0.00 C 504.832,352.00, 512.00,359.168, 512.00,368.00l0.00,32.00
447
+ C 512.00,408.832, 504.832,416.00, 496.00,416.00zM 496.00,288.00l-384.00,0.00 C 103.168,288.00, 96.00,280.832, 96.00,272.00l0.00-32.00 C 96.00,231.168, 103.168,224.00, 112.00,224.00l 384.00,0.00 C 504.832,224.00, 512.00,231.168, 512.00,240.00l0.00,32.00
448
+ C 512.00,280.832, 504.832,288.00, 496.00,288.00zM 496.00,160.00l-384.00,0.00 C 103.168,160.00, 96.00,152.832, 96.00,144.00l0.00-32.00 C 96.00,103.168, 103.168,96.00, 112.00,96.00l 384.00,0.00 c 8.832,0.00, 16.00,7.168, 16.00,16.00l0.00,32.00
449
+ C 512.00,152.832, 504.832,160.00, 496.00,160.00zM 496.00,32.00l-384.00,0.00 C 103.168,32.00, 96.00,24.832, 96.00,16.00l0.00-32.00 C 96.00-24.832, 103.168-32.00, 112.00-32.00l 384.00,0.00 c 8.832,0.00, 16.00,7.168, 16.00,16.00l0.00,32.00
450
+ C 512.00,24.832, 504.832,32.00, 496.00,32.00zM 48.00,416.00l-32.00,0.00 C 7.168,416.00,0.00,408.832,0.00,400.00l0.00-32.00 C0.00,359.168, 7.168,352.00, 16.00,352.00l 32.00,0.00 C 56.832,352.00, 64.00,359.168, 64.00,368.00l0.00,32.00 C 64.00,408.832, 56.832,416.00, 48.00,416.00
451
+ zM 48.00,288.00l-32.00,0.00 C 7.168,288.00,0.00,280.832,0.00,272.00l0.00-32.00 C0.00,231.168, 7.168,224.00, 16.00,224.00l 32.00,0.00 C 56.832,224.00, 64.00,231.168, 64.00,240.00l0.00,32.00 C 64.00,280.832, 56.832,288.00, 48.00,288.00
452
+ zM 48.00,160.00l-32.00,0.00 C 7.168,160.00,0.00,152.832,0.00,144.00l0.00-32.00 C0.00,103.168, 7.168,96.00, 16.00,96.00l 32.00,0.00 C 56.832,96.00, 64.00,103.168, 64.00,112.00l0.00,32.00
453
+ C 64.00,152.832, 56.832,160.00, 48.00,160.00zM 48.00,32.00l-32.00,0.00 C 7.168,32.00,0.00,24.832,0.00,16.00l0.00-32.00 C0.00-24.832, 7.168-32.00, 16.00-32.00l 32.00,0.00 C 56.832-32.00, 64.00-24.832, 64.00-16.00l0.00,32.00
454
+ C 64.00,24.832, 56.832,32.00, 48.00,32.00z" />
455
+ <glyph unicode="&#xe051;" d="M 208.00,480.00l-192.00,0.00 C 7.168,480.00,0.00,472.832,0.00,464.00l0.00-192.00 C0.00,263.168, 7.168,256.00, 16.00,256.00l 192.00,0.00 C 216.832,256.00, 224.00,263.168, 224.00,272.00l0.00,192.00 C 224.00,472.832, 216.832,480.00, 208.00,480.00z M 496.00,480.00l-192.00,0.00
456
+ C 295.168,480.00, 288.00,472.832, 288.00,464.00l0.00-192.00 C 288.00,263.168, 295.168,256.00, 304.00,256.00l 192.00,0.00 C 504.832,256.00, 512.00,263.168, 512.00,272.00l0.00,192.00 C 512.00,472.832, 504.832,480.00, 496.00,480.00z M 208.00,192.00l-192.00,0.00
457
+ C 7.168,192.00,0.00,184.832,0.00,176.00l0.00-192.00 C0.00-24.832, 7.168-32.00, 16.00-32.00l 192.00,0.00 C 216.832-32.00, 224.00-24.832, 224.00-16.00l0.00,192.00 C 224.00,184.832, 216.832,192.00, 208.00,192.00z M 496.00,192.00l-192.00,0.00
458
+ C 295.168,192.00, 288.00,184.832, 288.00,176.00l0.00-192.00 C 288.00-24.832, 295.168-32.00, 304.00-32.00l 192.00,0.00 c 8.832,0.00, 16.00,7.168, 16.00,16.00l0.00,192.00 C 512.00,184.832, 504.832,192.00, 496.00,192.00z" />
459
+ <glyph unicode="&#xe052;" d="M 496.00,416.00l-480.00,0.00 C 7.168,416.00,0.00,408.832,0.00,400.00l0.00-32.00 C0.00,359.168, 7.168,352.00, 16.00,352.00l 480.00,0.00 C 504.832,352.00, 512.00,359.168, 512.00,368.00l0.00,32.00
460
+ C 512.00,408.832, 504.832,416.00, 496.00,416.00zM 496.00,288.00l-480.00,0.00 C 7.168,288.00,0.00,280.832,0.00,272.00l0.00-32.00 C0.00,231.168, 7.168,224.00, 16.00,224.00l 480.00,0.00 C 504.832,224.00, 512.00,231.168, 512.00,240.00l0.00,32.00
461
+ C 512.00,280.832, 504.832,288.00, 496.00,288.00zM 496.00,160.00l-480.00,0.00 C 7.168,160.00,0.00,152.832,0.00,144.00l0.00-32.00 C0.00,103.168, 7.168,96.00, 16.00,96.00l 480.00,0.00 c 8.832,0.00, 16.00,7.168, 16.00,16.00l0.00,32.00
462
+ C 512.00,152.832, 504.832,160.00, 496.00,160.00zM 496.00,32.00l-480.00,0.00 C 7.168,32.00,0.00,24.832,0.00,16.00l0.00-32.00 C0.00-24.832, 7.168-32.00, 16.00-32.00l 480.00,0.00 c 8.832,0.00, 16.00,7.168, 16.00,16.00l0.00,32.00
463
+ C 512.00,24.832, 504.832,32.00, 496.00,32.00z" />
464
+ <glyph unicode="&#xe053;" d="M 496.00,384.00l-320.00,0.00 C 167.168,384.00, 160.00,376.832, 160.00,368.00l0.00-32.00 C 160.00,327.168, 167.168,320.00, 176.00,320.00l 320.00,0.00 C 504.832,320.00, 512.00,327.168, 512.00,336.00l0.00,32.00
465
+ C 512.00,376.832, 504.832,384.00, 496.00,384.00zM 496.00,224.00l-320.00,0.00 C 167.168,224.00, 160.00,216.832, 160.00,208.00l0.00-32.00 C 160.00,167.168, 167.168,160.00, 176.00,160.00l 320.00,0.00 C 504.832,160.00, 512.00,167.168, 512.00,176.00l0.00,32.00
466
+ C 512.00,216.832, 504.832,224.00, 496.00,224.00zM 496.00,64.00l-320.00,0.00 C 167.168,64.00, 160.00,56.832, 160.00,48.00l0.00-32.00 C 160.00,7.168, 167.168,0.00, 176.00,0.00l 320.00,0.00 c 8.832,0.00, 16.00,7.168, 16.00,16.00l0.00,32.00
467
+ C 512.00,56.832, 504.832,64.00, 496.00,64.00zM0.00,352.00A64.00,64.00 180.00 1 1 128.00,352A64.00,64.00 180.00 1 1 0.00,352zM0.00,192.00A64.00,64.00 180.00 1 1 128.00,192A64.00,64.00 180.00 1 1 0.00,192zM0.00,32.00A64.00,64.00 180.00 1 1 128.00,32A64.00,64.00 180.00 1 1 0.00,32z" />
468
+ <glyph unicode="&#x20;" horiz-adv-x="256" />
469
+ <glyph class="hidden" unicode="&#xf000;" d="M0,480L 512 -32L0 -32 z" horiz-adv-x="0" />
470
+ </font></defs></svg>
fonts/Flat-UI-Icons.ttf ADDED
Binary file
fonts/Flat-UI-Icons.woff ADDED
Binary file
fonts/index.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php // Silence is golden ?>
img/pin-it-button-pro-custom-image-examples-small.png DELETED
Binary file
img/pinterest-button-icon-med.png DELETED
Binary file
img/pinterest-button-icon-small.png DELETED
Binary file
inc/admin-display-functions-lite.php DELETED
@@ -1,204 +0,0 @@
1
- <?php
2
-
3
- //*** Admin Display Functions - Lite Only ***
4
-
5
- //Custom button image examples
6
-
7
- function pib_custom_btn_img_examples_popup() {
8
- ?>
9
-
10
- <div id="custom_img_btn_examples" style="display:none;">
11
- <div id="custom_img_btn_examples_container">
12
- <img src="//d2ghr62k8k1ljk.cloudfront.net/img/pin-it-button-pro-custom-image-examples.png" alt="<?php _e( 'Pin It Button Pro Custom Image Examples', 'pib' ); ?>" />
13
-
14
- <div class="upgrade-text">
15
- <?php _e( 'These button designs available in "Pin It" Button Pro.', 'pib' ); ?><br/>
16
- <a href="<?php echo PIB_UPGRADE_URL_BASE . pib_campaign_url( 'custom_button_popup', 'pro_upgrade' ); ?>" target="_blank" class="button-primary close"><?php _e( 'Upgrade Now', 'pib' ); ?></a>
17
- &nbsp;&nbsp;<a href="#" class="close"><?php _e( 'Close', 'pib' ); ?></a>
18
- </div>
19
- </div>
20
- </div>
21
-
22
- <?php
23
- }
24
-
25
- //Upgrade banner
26
-
27
- function pib_upgrade_banner_top() {
28
- ?>
29
-
30
- <div class="pib-admin-upgrade-banner-top">
31
- <a href="<?php echo PIB_UPGRADE_URL_BASE . pib_campaign_url( 'banner_top', 'pro_upgrade' ); ?>" target="_blank">
32
- <img src="//d2ghr62k8k1ljk.cloudfront.net/img/pin-it-button-pro-upgrade-banner.png" alt="<?php _e( 'Upgrade to the Pin It Button Pro Plugin', 'pib' ); ?>" />
33
- </a>
34
- </div>
35
-
36
- <?php
37
- }
38
-
39
- //Settings page sidebar (Lite)
40
-
41
- function pib_settings_sidebar_lite() {
42
- ?>
43
-
44
- <div class="postbox">
45
- <?php pib_handlediv(); ?>
46
- <h3 class="hndle pib-hndle"><?php _e( 'Spread the Word', 'pib' ); ?></h3>
47
-
48
- <div class="inside">
49
- <p><?php _e( 'Like this plugin? A share would be awesome!', 'pib' ); ?></p>
50
-
51
- <table id="share_plugin_buttons">
52
- <tr>
53
- <td><?php echo pib_share_twitter(); ?></td>
54
- <td><?php echo pib_share_pinterest(); ?></td>
55
- </tr>
56
- <tr>
57
- <td><?php echo pib_share_facebook(); ?></td>
58
- <td><?php echo pib_share_gplus(); ?></td>
59
- </tr>
60
- </table>
61
-
62
- <p>
63
- &raquo; <a href="http://wordpress.org/extend/plugins/pinterest-pin-it-button/" target="_blank" class="external">
64
- <?php _e( 'Rate it on WordPress', 'pib' ); ?></a>
65
- </p>
66
- </div>
67
- </div>
68
-
69
- <div class="postbox">
70
- <?php pib_handlediv(); ?>
71
- <h3 class="hndle pib-hndle"><?php _e( 'Plugin Support', 'tpp' ); ?></h3>
72
-
73
- <div class="inside">
74
- <p>
75
- &raquo; <a href="http://pinterestplugin.com/support<?php echo pib_campaign_url( 'sidebar_link', 'support_pib_lite' ); ?>" target="_blank" class="external">
76
- <?php _e( 'Support & Knowledge Base', 'pib' ); ?></a>
77
- </p>
78
- <p>
79
- <?php _e( 'Priority support provided to licensed users only.', 'pib' ); ?>
80
- </p>
81
- </div>
82
- </div>
83
-
84
- <div class="postbox">
85
- <?php pib_handlediv(); ?>
86
- <h3 class="hndle pib-hndle"><?php _e( 'More Pinterest Plugins', 'pib' ); ?></h3>
87
-
88
- <div class="inside">
89
- <ul>
90
- <li>&raquo; <a href="<?php echo PIB_UPGRADE_URL_BASE . pib_campaign_url( 'sidebar_link', 'pro_upgrade' ); ?>" target="_blank" class="external">"Pin It" Button Pro</a></li>
91
- <li>&raquo; <a href="http://pinterestplugin.com/top-pinned-posts/<?php echo pib_campaign_url( 'sidebar_link', 'top_pinned_posts' ); ?>" target="_blank" class="external">Top Pinned Posts</a></li>
92
- <li>&raquo; <a href="http://pinterestplugin.com/follow-button<?php echo pib_campaign_url( 'sidebar_link', 'follow_button' ); ?>" target="_blank" class="external">"Follow" Button</a></li>
93
- <li>&raquo; <a href="http://pinterestplugin.com/pinterest-block<?php echo pib_campaign_url( 'sidebar_link', 'pinterest_block' ); ?>" target="_blank" class="external">Pinterest Block</a></li>
94
- </ul>
95
- </div>
96
- </div>
97
-
98
- <?php pib_newsletter_subscribe(); ?>
99
-
100
- <?php pib_plugin_news(); ?>
101
-
102
- <?php
103
- }
104
-
105
- //Render Facebook Like button
106
- //https://developers.facebook.com/docs/reference/plugins/like/
107
-
108
- function pib_share_facebook() {
109
- ?>
110
- <iframe src="//www.facebook.com/plugins/like.php?href=http%3A%2F%2Fpinterestplugin.com%2F&amp;send=false&amp;layout=button_count&amp;width=96&amp;show_faces=false&amp;action=like&amp;colorscheme=light&amp;font&amp;height=21&amp;appId=144056775628952" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:96px; height:21px;" allowTransparency="true"></iframe>
111
- <?php
112
- }
113
-
114
- //Render Twitter button
115
- //https://twitter.com/about/resources/buttons
116
- //https://dev.twitter.com/docs/tweet-button (scroll down for iframe button version)
117
-
118
- function pib_share_twitter() {
119
- ?>
120
- <a href="https://twitter.com/share" class="twitter-share-button" data-url="http://pinterestplugin.com" data-text="I'm using the Pinterest &quot;Pin It&quot; Button Plugin for WordPress. It rocks!">Tweet</a>
121
- <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
122
- <?php
123
- }
124
-
125
- //Render Pin It button
126
- //Render in iframe otherwise it messes up the WP admin left menu
127
-
128
- function pib_share_pinterest() {
129
- ?>
130
- <a href="http://pinterest.com/pin/create/button/?url=http%3A%2F%2Fpinterestplugin.com%2F&media=http%3A%2F%2Fpinterestplugin.com%2Fimg%2Fpinterest-pin-it-button-plugin-for-wordpress.png&description=Add%20a%20Simple%20and%20Flexible%20%22Pin%20It%22%20Button%20to%20Your%20WordPress%20Site%20--%20http%3A%2F%2Fpinterestplugin.com%2F" class="pin-it-button" count-layout="horizontal"><img border="0" src="//assets.pinterest.com/images/PinExt.png" title="Pin It" /></a>
131
- <script src="//assets.pinterest.com/js/pinit.js"></script>
132
- <?php
133
- }
134
-
135
- //Render Google + button
136
- //https://developers.google.com/+/plugins/+1button/
137
-
138
- function pib_share_gplus() {
139
- ?>
140
- <div class="g-plusone" data-size="medium" data-href="http://pinterestplugin.com"></div>
141
-
142
- <script type="text/javascript">
143
- (function() {
144
- var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
145
- po.src = 'https://apis.google.com/js/plusone.js';
146
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
147
- })();
148
- </script>
149
- <?php
150
- }
151
-
152
- //Add first-install pointer CSS/JS & functionality
153
-
154
- function pib_add_admin_css_js_pointer() {
155
- wp_enqueue_style( 'wp-pointer' );
156
- wp_enqueue_script( 'wp-pointer' );
157
-
158
- add_action( 'admin_print_footer_scripts', 'pib_admin_print_footer_scripts' );
159
- }
160
-
161
- add_action( 'admin_enqueue_scripts', 'pib_add_admin_css_js_pointer' );
162
-
163
- //Add pointer popup message when plugin first installed
164
-
165
- function pib_admin_print_footer_scripts() {
166
- //Check option to hide pointer after initial display
167
- if ( !get_option( 'pib_hide_pointer' ) ) {
168
- $pointer_content = '<h3>' . __( 'Ready to be Pinned?', 'pib' ) . '</h3>';
169
- $pointer_content .= '<p>' . __( 'Congratulations. You have just installed the Pinterest "Pin It" Button Plugin. ' .
170
- 'Now just configure your settings and start getting Pinned!', 'pib' ) . '</p>';
171
-
172
- $url = admin_url( 'admin.php?page=' . PIB_BASE_NAME );
173
-
174
- ?>
175
-
176
- <script type="text/javascript">
177
- //<![CDATA[
178
- jQuery(document).ready( function($) {
179
- $("#menu-plugins").pointer({
180
- content: '<?php echo $pointer_content; ?>',
181
- buttons: function( event, t ) {
182
- button = $('<a id="pointer-close" class="button-secondary"><?php _e( 'Close', 'pib' ); ?></a>');
183
- button.bind("click.pointer", function() {
184
- t.element.pointer("close");
185
- });
186
- return button;
187
- },
188
- position: "left",
189
- close: function() { }
190
-
191
- }).pointer("open");
192
-
193
- $("#pointer-close").after('<a id="pointer-primary" class="button-primary" style="margin-right: 5px;" href="<?php echo $url; ?>">' +
194
- '<?php _e( 'Pin It Button Settings', 'pib' ); ?>');
195
- });
196
- //]]>
197
- </script>
198
-
199
- <?php
200
-
201
- //Update option so this pointer is never seen again
202
- update_option( 'pib_hide_pointer', 1 );
203
- }
204
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
inc/admin-display-functions-shared.php DELETED
@@ -1,567 +0,0 @@
1
- <?php
2
-
3
- //*** Admin Display Functions - Lite & Pro Shared ***
4
-
5
- function pib_settings_page() {
6
- global $pib_options;
7
-
8
- $custom_css = trim( $pib_options['custom_css'] );
9
- ?>
10
-
11
- <div class="wrap">
12
- <?php screen_icon( 'pib-icon32' ); ?>
13
- <h2><?php _e( 'Pinterest "Pin It" Button ' . pib_pro_or_lite() . ' Settings', 'pib' ); ?></h2>
14
-
15
- <?php ( PIB_IS_PRO ? '' : pib_upgrade_banner_top() ); ?>
16
-
17
- <div id="poststuff" class="metabox-holder has-right-sidebar">
18
-
19
- <!-- Fixed right sidebar like WP post edit screen -->
20
-
21
- <div id="side-info-column" class="inner-sidebar">
22
- <div id="side-sortables" class="meta-box-sortables ui-sortable">
23
- <?php ( PIB_IS_PRO ? pib_settings_sidebar_pro() : pib_settings_sidebar_lite() ); ?>
24
- </div>
25
-
26
- <?php //pib_debug_options(); ?>
27
- </div>
28
-
29
- <div id="post-body">
30
- <div id="post-body-content">
31
- <div class="meta-box-sortables ui-sortable">
32
- <?php settings_errors(); //Display status messages after action ("settings saved", errors) ?>
33
-
34
- <form method="post" action="options.php">
35
- <?php settings_fields( 'pib_settings_group' ); ?>
36
-
37
- <?php if ( PIB_IS_PRO ) { pib_license_key_input(); } ?>
38
-
39
- <div class="postbox pib-postbox">
40
- <?php pib_handlediv(); ?>
41
- <h3 class="hndle pib-hndle"><?php _e( 'Button Style & Pin Count', 'pib' ); ?></h3>
42
-
43
- <table class="form-table inside">
44
- <tr valign="top">
45
- <td>
46
- <input type="radio" id="user_selects_image" value="user_selects_image" name="pib_options[button_style]"
47
- <?php checked( ( $pib_options['button_style'] == 'user_selects_image' ) || empty( $pib_options['button_style'] ) ); ?> />
48
- <label for="user_selects_image"><?php _e( '<strong>User selects image</strong> from popup', 'pib' ); ?></label>
49
- </td>
50
- </tr>
51
- <tr valign="top">
52
- <td>
53
- <input type="radio" id="image_selected" value="image_selected" name="pib_options[button_style]"
54
- <?php checked( $pib_options['button_style'], 'image_selected' ); ?> />
55
- <label for="image_selected"><?php _e( 'Image is <strong>pre-selected</strong> (defaults to first image in post)', 'pib' ); ?></label>
56
- </td>
57
- </tr>
58
- <tr valign="top">
59
- <td class="pib-pad-cell-top">
60
- <label for="count_layout" class="pib-plain-label"><?php _e( 'Pin Count:' ); ?></label>
61
- <select id="count_layout" name="pib_options[count_layout]">
62
- <option value="none" <?php selected( ( $pib_options['count_layout'] == 'none' ) || empty( $pib_options['count_layout'] ) ); ?>><?php _e( 'No Count' ); ?></option>
63
- <option value="horizontal" <?php selected( $pib_options['count_layout'], 'horizontal' ); ?>><?php _e( 'Horizontal' ); ?></option>
64
- <option value="vertical" <?php selected( $pib_options['count_layout'], 'vertical' ); ?>><?php _e( 'Vertical' ); ?></option>
65
- </select>
66
- </td>
67
- </tr>
68
- <tr valign="top">
69
- <td>
70
- <input type="checkbox" id="use_featured_image" name="pib_options[use_featured_image]" value="1"
71
- <?php checked( (bool)$pib_options['use_featured_image'] ); ?>
72
- <?php pib_lite_disabled_attr(); ?> />
73
- <label for="use_featured_image" class="<?php pib_lite_disabled_class(); ?>">
74
- <?php _e( 'For pre-selected image, use <strong>featured image</strong> if available', 'pib' ); ?></label>
75
- <?php pib_pro_label(); ?>
76
- </td>
77
- </tr>
78
- <tr valign="top">
79
- <td class="pib-pad-cell-top">
80
- <?php _e( 'You may individually override what website address (URL), image and description will be pinned for each post. ' .
81
- 'Go to the post (or page) <strong>edit screen</strong> and scroll to the bottom.', 'pib' ); ?>
82
- </td>
83
- </tr>
84
- <tr valign="top">
85
- <td>
86
- <?php _e( 'Button style settings apply to <strong>all</strong> "Pin It" buttons including widgets and shortcodes. ', 'pib' ); ?>
87
- </td>
88
- </tr>
89
- </table>
90
- </div>
91
-
92
- <div class="postbox pib-postbox">
93
- <?php pib_handlediv(); ?>
94
- <h3 class="hndle pib-hndle">
95
- <?php _e( 'Custom Button Image', 'pib' ); ?>
96
- <?php pib_pro_label(); ?>
97
- </h3>
98
-
99
- <table class="form-table inside">
100
-
101
- <?php if ( PIB_IS_PRO ): ?>
102
-
103
- <tr valign="top">
104
- <td>
105
- <input type="checkbox" id="use_custom_img_btn" name="pib_options[use_custom_img_btn]" value="1"
106
- <?php checked( (bool)$pib_options['use_custom_img_btn'] ); ?> />
107
- <label for="use_custom_img_btn">
108
- <?php _e( 'Enable custom button image', 'pib' ); ?>
109
- </label>
110
- </td>
111
- </tr>
112
- <tr id="custom_img_btn_select_row" valign="top">
113
- <td>
114
- <table>
115
- <tr>
116
- <td>Current image:</td>
117
- <td>
118
- <img id="custom_btn_img" src="<?php echo ( !empty( $pib_options['custom_btn_img_url'] ) ? $pib_options['custom_btn_img_url'] : PIB_DEFAULT_CUSTOM_BUTTON_IMAGE_URL ); ?>" />
119
- </td>
120
- <td>
121
- <a id="custom_btn_img_select_link" href="#TB_inline?width=600&amp;height=400&amp;inlineId=custom_img_btn_selector" class="thickbox"
122
- title="Select a Custom Button"><?php _e( 'Select New Button Image', 'pib' ); ?></a>
123
- </td>
124
-
125
- <input type="hidden" id="custom_btn_img_url" name="pib_options[custom_btn_img_url]"
126
- value="<?php echo ( !empty( $pib_options['custom_btn_img_url'] ) ? $pib_options['custom_btn_img_url'] : PIB_DEFAULT_CUSTOM_BUTTON_IMAGE_URL ); ?>" />
127
-
128
- <!-- Thickbox popup image selector div in separate function (Pro) -->
129
- </tr>
130
- </table>
131
- </td>
132
- </tr>
133
-
134
- <?php else: ?>
135
-
136
- <tr valign="top">
137
- <td>
138
- <table id="custom_img_btn_lite_row" class="pib-no-margin">
139
- <tr>
140
- <td><?php _e( 'Custom button image examples', 'pib' ); ?>:</td>
141
- <td>
142
- <img src="<?php echo PIB_IMAGES_URL . 'pin-it-button-pro-custom-image-examples-small.png'; ?>" alt="Custom button image preview" />
143
- </td>
144
- <td>
145
- <strong><a href="#TB_inline?width=600&amp;height=400&amp;inlineId=custom_img_btn_examples" class="thickbox"
146
- title="Custom Button Image Examples"><?php _e( 'See More Button Images', 'pib' ); ?></a></strong>
147
- </td>
148
- </tr>
149
- </table>
150
- </td>
151
- </tr>
152
- <tr valign="top">
153
- <td>
154
- <div class="pib-upgrade-to-pro">
155
- <?php _e( 'Available in "Pin It" Button Pro. ', 'pib' ); ?>
156
- <a href="<?php echo PIB_UPGRADE_URL_BASE . pib_campaign_url( 'upgrade_link_custom_button', 'pro_upgrade' ); ?>" target="_blank" class="external"><?php _e( 'Upgrade Now', 'pib' ); ?></a>
157
- </div>
158
- </td>
159
- </tr>
160
-
161
- <?php endif; ?>
162
- </table>
163
- </div>
164
-
165
- <div class="postbox pib-postbox">
166
- <?php pib_handlediv(); ?>
167
- <h3 class="hndle pib-hndle">
168
- <?php _e( 'Share Bar (Facebook, Twitter & Google +1 Buttons)', 'pib' ); ?>
169
- <?php pib_pro_label(); ?>
170
- </h3>
171
-
172
- <table class="form-table inside">
173
-
174
- <?php if ( PIB_IS_PRO ): ?>
175
-
176
- <tr valign="top">
177
- <td colspan="2">
178
- <input type="checkbox" id="use_other_sharing_buttons" name="pib_options[use_other_sharing_buttons]" value="1"
179
- <?php checked( (bool)$pib_options['use_other_sharing_buttons'] ); ?> />
180
- <label for="use_other_sharing_buttons">
181
- <?php _e( 'Enable other social sharing buttons (Facebook, Twitter and/or Google +1)', 'pib' ); ?>
182
- </label>
183
- </td>
184
- </tr>
185
-
186
- <?php endif; ?>
187
-
188
- <tr valign="top">
189
- <th scope="row">
190
- <label id="share_btn_label" class="pib-plain-label"><?php _e( 'Button order (left to right):', 'pib' ); ?></label>
191
- </th>
192
- <td class="pib-pad-cell-top">
193
- <select id="share_btn_1" name="pib_options[share_btn_1]">
194
- <option value="none" <?php selected( ( $pib_options['share_btn_1'] == 'none' ) || empty( $pib_options['share_btn_1'] ) ); ?>>-- <?php _e( 'None', 'pib' ); ?> --</option>
195
- <option value="pinterest" <?php selected( $pib_options['share_btn_1'], 'pinterest' ); ?>>Pinterest</option>
196
- <option value="facebook" <?php selected( $pib_options['share_btn_1'], 'facebook' ); ?>>Facebook</option>
197
- <option value="twitter" <?php selected( $pib_options['share_btn_1'], 'twitter' ); ?>>Twitter</option>
198
- <option value="gplus" <?php selected( $pib_options['share_btn_1'], 'gplus' ); ?>>Google +1</option>
199
- </select>
200
-
201
- <select id="share_btn_2" name="pib_options[share_btn_2]">
202
- <option value="none" <?php selected( ( $pib_options['share_btn_2'] == 'none' ) || empty( $pib_options['share_btn_2'] ) ); ?>>-- <?php _e( 'None', 'pib' ); ?> --</option>
203
- <option value="pinterest" <?php selected( $pib_options['share_btn_2'], 'pinterest' ); ?>>Pinterest</option>
204
- <option value="facebook" <?php selected( $pib_options['share_btn_2'], 'facebook' ); ?>>Facebook</option>
205
- <option value="twitter" <?php selected( $pib_options['share_btn_2'], 'twitter' ); ?>>Twitter</option>
206
- <option value="gplus" <?php selected( $pib_options['share_btn_2'], 'gplus' ); ?>>Google +1</option>
207
- </select>
208
-
209
- <select id="share_btn_3" name="pib_options[share_btn_3]">
210
- <option value="none" <?php selected( ( $pib_options['share_btn_3'] == 'none' ) || empty( $pib_options['share_btn_3'] ) ); ?>>-- <?php _e( 'None', 'pib' ); ?> --</option>
211
- <option value="pinterest" <?php selected( $pib_options['share_btn_3'], 'pinterest' ); ?>>Pinterest</option>
212
- <option value="facebook" <?php selected( $pib_options['share_btn_3'], 'facebook' ); ?>>Facebook</option>
213
- <option value="twitter" <?php selected( $pib_options['share_btn_3'], 'twitter' ); ?>>Twitter</option>
214
- <option value="gplus" <?php selected( $pib_options['share_btn_3'], 'gplus' ); ?>>Google +1</option>
215
- </select>
216
-
217
- <select id="share_btn_4" name="pib_options[share_btn_4]">
218
- <option value="none" <?php selected( ( $pib_options['share_btn_4'] == 'none' ) || empty( $pib_options['share_btn_4'] ) ); ?>>-- <?php _e( 'None', 'pib' ); ?> --</option>
219
- <option value="pinterest" <?php selected( $pib_options['share_btn_4'], 'pinterest' ); ?>>Pinterest</option>
220
- <option value="facebook" <?php selected( $pib_options['share_btn_4'], 'facebook' ); ?>>Facebook</option>
221
- <option value="twitter" <?php selected( $pib_options['share_btn_4'], 'twitter' ); ?>>Twitter</option>
222
- <option value="gplus" <?php selected( $pib_options['share_btn_4'], 'gplus' ); ?>>Google +1</option>
223
- </select>
224
- </td>
225
- </tr>
226
-
227
- <?php if ( PIB_IS_PRO ) { pib_sharebar_more_options(); } ?>
228
-
229
- <?php if ( !PIB_IS_PRO ): ?>
230
-
231
- <tr valign="top">
232
- <td class="pib-pad-cell-top" colspan="2">
233
- <div class="pib-upgrade-to-pro">
234
- <?php _e( 'Available in "Pin It" Button Pro.', 'pib' ); ?>
235
- <a href="<?php echo PIB_UPGRADE_URL_BASE . pib_campaign_url( 'upgrade_link_social_buttons', 'pro_upgrade' ); ?>" target="_blank" class="external"><?php _e( 'Upgrade Now', 'pib' ); ?></a>
236
- </div>
237
- </td>
238
- </tr>
239
-
240
- <?php endif; ?>
241
- </table>
242
- </div>
243
-
244
- <div class="pib-submit-settings">
245
- <input name="submit" type="submit" value="<?php _e( 'Save Changes', 'pib' ); ?>" class="button-primary" />
246
- </div>
247
-
248
- <div class="postbox pib-postbox">
249
- <?php pib_handlediv(); ?>
250
- <h3 class="hndle pib-hndle"><?php _e( 'Page/Post Visibility', 'pib' ); ?></h3>
251
-
252
- <table class="form-table inside">
253
- <tr valign="top">
254
- <td>
255
- <?php _e( 'What types of pages should the button appear on?', 'pib' ); ?>
256
- </td>
257
- </tr>
258
- <tr valign="top">
259
- <td>
260
- <input id="display_home_page" name="pib_options[display_home_page]" type="checkbox" value="1"
261
- <?php checked( (bool)$pib_options['display_home_page'] ); ?> />
262
- <label for="display_home_page"><?php _e( 'Blog Home Page (or Latest Posts Page)', 'pib' ); ?></label>
263
- </td>
264
- </tr>
265
- <tr valign="top">
266
- <td>
267
- <input id="display_front_page" name="pib_options[display_front_page]" type="checkbox" value="1"
268
- <?php checked( (bool)$pib_options['display_front_page'] ); ?> />
269
- <label for="display_front_page"><?php _e( 'Front Page (different from Home Page only if set in Settings > Reading)', 'pib' ); ?></label>
270
- </td>
271
- </tr>
272
- <tr valign="top">
273
- <td>
274
- <input id="display_posts" name="pib_options[display_posts]" type="checkbox" value="1"
275
- <?php checked( (bool)$pib_options['display_posts'] ); ?> />
276
- <label for="display_posts"><?php _e( 'Individual Posts', 'pib' ); ?></label>
277
- </td>
278
- </tr>
279
- <tr valign="top">
280
- <td>
281
- <input id="display_pages" name="pib_options[display_pages]" type="checkbox" value="1"
282
- <?php checked( (bool)$pib_options['display_pages'] ); ?> />
283
- <label for="display_pages"><?php _e( 'WordPress Static "Pages"', 'pib' ); ?></label>
284
- </td>
285
- </tr>
286
- <tr valign="top">
287
- <td>
288
- <input id="display_archives" name="pib_options[display_archives]" type="checkbox" value="1"
289
- <?php checked( (bool)$pib_options['display_archives'] ); ?> />
290
- <label for="display_archives"><?php _e( 'Archives (includes Category, Tag, Author and date-based pages)', 'pib' ); ?></label>
291
- </td>
292
- </tr>
293
- <tr valign="top">
294
- <td class="pib-pad-cell-top">
295
- <?php _e( 'To hide the "Pin It" button for a specific post, page or category, go to the edit screen for that post, page or category,
296
- scroll down to the bottom, and uncheck the "Show" checkbox.', 'pib' ); ?>
297
- </td>
298
- </tr>
299
- <tr valign="top">
300
- <td>
301
- <?php _e( 'Go to Appearance', 'pib' ); ?> &rarr; <a href="<?php echo admin_url( 'widgets.php' ); ?>"><?php _e( 'Widgets', 'pib' ); ?></a>
302
- <?php _e( 'to add a "Pin It" button to your sidebar.', 'pib' ); ?>
303
- </td>
304
- </tr>
305
- </table>
306
- </div>
307
-
308
- <div class="postbox pib-postbox">
309
- <?php pib_handlediv(); ?>
310
- <h3 class="hndle pib-hndle"><?php _e( 'Page/Post Placement', 'pib' ); ?></h3>
311
-
312
- <table class="form-table inside">
313
- <tr valign="top">
314
- <td>
315
- <?php _e( 'Where on each page should the button appear?', 'pib' ); ?>
316
- </td>
317
- </tr>
318
- <tr valign="top">
319
- <td>
320
- <input id="display_above_content" name="pib_options[display_above_content]" type="checkbox" value="1"
321
- <?php checked( (bool)$pib_options['display_above_content'] ); ?> />
322
- <label for="display_above_content"><?php _e( 'Above Content', 'pib' ); ?></label>
323
- </td>
324
- </tr>
325
- <tr valign="top">
326
- <td>
327
- <input id="display_below_content" name="pib_options[display_below_content]" type="checkbox" value="1"
328
- <?php checked( (bool)$pib_options['display_below_content'] ); ?> />
329
- <label for="display_below_content"><?php _e( 'Below Content', 'pib' ); ?></label>
330
- </td>
331
- </tr>
332
- <tr valign="top">
333
- <td>
334
- <input id="display_on_post_excerpts" name="pib_options[display_on_post_excerpts]" type="checkbox" value="1"
335
- <?php checked( (bool)$pib_options['display_on_post_excerpts'] ); ?> />
336
- <label for="display_on_post_excerpts"><?php _e( 'On Post Excerpts', 'pib' ); ?></label>
337
- </td>
338
- </tr>
339
- <tr valign="top">
340
- <td>
341
- <?php _e( 'Currently, only the button style <strong>"image is pre-selected"</strong> will use the individual post URL when a visitor
342
- pins on a post excerpt.', 'pib' ); ?>
343
- </td>
344
- </tr>
345
- </table>
346
- </div>
347
-
348
- <div class="postbox pib-postbox">
349
- <?php pib_handlediv(); ?>
350
- <h3 class="hndle pib-hndle"><?php _e( 'Admin Settings', 'pib' ); ?></h3>
351
-
352
- <table class="form-table inside">
353
- <tr valign="top">
354
- <td>
355
- <input id="uninstall_save_settings" name="pib_options[uninstall_save_settings]" type="checkbox" value="1"
356
- <?php checked( (bool)$pib_options['uninstall_save_settings'] ); ?> />
357
- <label for="uninstall_save_settings">
358
- <?php _e( '<strong>Save settings</strong> when uninstalling this plugin? Useful when upgrading to Pro or re-installing later.', 'pib' ); ?>
359
- </label>
360
- </td>
361
- </tr>
362
- </table>
363
- </div>
364
-
365
- <div class="postbox pib-postbox">
366
- <?php pib_handlediv(); ?>
367
- <h3 class="hndle pib-hndle"><?php _e( 'Custom CSS & Styling', 'pib' ); ?></h3>
368
-
369
- <table class="form-table inside">
370
- <tr valign="top">
371
- <td>
372
- <label for="custom_css"><?php _e( 'Additional CSS to add', 'pib' ); ?>:</label>
373
- </td>
374
- </tr>
375
- <tr valign="top">
376
- <td>
377
- <textarea id="custom_css" name="pib_options[custom_css]" rows="6"><?php echo $custom_css; ?></textarea>
378
- </td>
379
- </tr>
380
- <tr valign="top">
381
- <td>
382
- <input id="remove_div" name="pib_options[remove_div]" type="checkbox" value="1"
383
- <?php checked( (bool)$pib_options['remove_div'] ); ?> />
384
- <label for="remove_div">
385
- <?php _e( 'Remove div tag surrounding regular button', 'pib' ); ?> (<code><?php echo htmlentities('<div class="pin-it-btn-wrapper"></div>'); ?></code>).
386
- <?php _e( 'Already removed if other social sharing buttons enabled.', 'pib' ); ?>
387
- </label>
388
- </td>
389
- </tr>
390
- </table>
391
- </div>
392
-
393
- <div class="postbox pib-postbox">
394
- <?php pib_handlediv(); ?>
395
- <h3 class="hndle pib-hndle"><?php _e( 'Shortcode Instructions', 'pib' ); ?></h3>
396
-
397
- <div class="inside">
398
- <p>
399
- <?php _e( 'Use the shortcode', 'pib' ); ?> <code>[pinit]</code> <?php _e( 'to display the button within your content.', 'pib' ); ?>
400
- </p>
401
- <p>
402
- <?php _e( 'Use the function', 'pib' ); ?> <code><?php echo htmlentities( '<?php echo do_shortcode(\'[pinit]\'); ?>' ); ?></code>
403
- <?php _e( 'to display within template or theme files.', 'pib' ); ?>
404
- </p>
405
- <p><strong>Shortcode parameters</strong></p>
406
- <p>
407
- - <?php _e( 'count: none (default), horizontal, vertical', 'pib' ); ?><br/>
408
- - <?php _e( 'url: URL of the web page to be pinned (defaults to current post/page URL, but <em>must specify</em> if on home or index page)', 'pib' ); ?><br/>
409
- - <?php _e( 'image_url: URL of the image to be pinned (defaults to first image in post)', 'pib' ); ?><br/>
410
- - <?php _e( 'description: description of the pin (defaults to post title)', 'pib' ); ?><br/>
411
- - <?php _e( 'float: none (default), left, right', 'pib' ); ?><br/>
412
- - <?php _e( 'remove_div: false (default), true -- if true removes surrounding div tag ', 'pib' ); ?>
413
- (<code><?php echo htmlentities( '<div class="pin-it-btn-wrapper-shortcode"></div>' ); ?></code>),
414
- <?php _e( 'which also removes float setting', 'pib' ); ?><br/>
415
- - <?php _e( 'social_buttons: false (default), true -- if true and enabled above, will show Facebook, Twitter & Google +1 buttons', 'pib' ); ?>
416
- <?php pib_pro_label(); ?>
417
- </p>
418
- <p><strong><?php _e( 'Examples', 'pib' ); ?></strong></p>
419
- <p>
420
- <code>[pinit count="horizontal"]</code><br/>
421
- <code>[pinit count="vertical" url="http://www.mysite.com" image_url="http://www.mysite.com/myimage.jpg"
422
- description="My favorite image!" float="right"]</code><br/>
423
- </p>
424
- </div>
425
- </div>
426
-
427
- <div class="pib-submit-settings">
428
- <input name="submit" type="submit" value="<?php _e( 'Save Changes', 'pib' ); ?>" class="button-primary" />
429
- </div>
430
-
431
- </form>
432
- </div>
433
- </div>
434
- </div>
435
- </div>
436
-
437
- <?php echo ( PIB_IS_PRO ? pib_custom_btn_img_selector_popup() : pib_custom_btn_img_examples_popup() ); ?>
438
-
439
- </div>
440
-
441
- <?php
442
- }
443
-
444
- //Handle div tag html
445
-
446
- function pib_handlediv() {
447
- ?>
448
- <div class="handlediv pib-handlediv" title="Click to toggle"><br /></div>
449
- <?php
450
- }
451
-
452
- //Subscribe by email admin section
453
-
454
- function pib_newsletter_subscribe() {
455
- ?>
456
-
457
- <div class="postbox">
458
- <?php pib_handlediv(); ?>
459
- <h3 class="hndle pib-hndle"><?php _e( 'Subscribe by Email', 'tpp' ); ?></h3>
460
-
461
- <div class="inside">
462
- <p><?php _e( 'Subscribe to get notified of important updates and news for our Pinterest plugins.', 'pib' ); ?></p>
463
- &raquo; <a href="http://pinterestplugin.com/newsletter<?php echo pib_campaign_url( 'sidebar_link', 'newsletter' ); ?>" target="_blank" class="external">
464
- <?php _e( 'Get Updates', 'pib' ); ?></a>
465
- </div>
466
- </div>
467
-
468
- <?php
469
- }
470
-
471
- //Plugin news feed
472
-
473
- function pib_plugin_news() {
474
- ?>
475
-
476
- <div class="postbox">
477
- <?php pib_handlediv(); ?>
478
- <h3 class="hndle pib-hndle"><?php _e( 'Pinterest Plugin News', 'pib' ); ?></h3>
479
-
480
- <div class="inside">
481
- <?php pib_rss_news(); ?>
482
- </div>
483
- </div>
484
-
485
- <?php
486
- }
487
-
488
- //Render rss items from pinterestplugin.com
489
- //http://codex.wordpress.org/Function_Reference/fetch_feed
490
-
491
- function pib_rss_news() {
492
- // Get RSS Feed(s)
493
- include_once( ABSPATH . WPINC . '/feed.php' );
494
-
495
- // Get a SimplePie feed object from the specified feed source.
496
- $rss = fetch_feed( 'http://pinterestplugin.com/feed/' );
497
-
498
- if ( !is_wp_error( $rss ) ) {
499
- // Checks that the object is created correctly
500
- // Figure out how many total items there are, but limit it to 5.
501
- $maxitems = $rss->get_item_quantity( 3 );
502
-
503
- // Build an array of all the items, starting with element 0 (first element).
504
- $rss_items = $rss->get_items( 0, $maxitems );
505
- }
506
-
507
- ?>
508
-
509
- <ul>
510
- <?php if ($maxitems == 0): ?>
511
- <li><?php _e( 'No items.', 'pib' ); ?></li>
512
- <?php else: ?>
513
- <?php
514
- // Loop through each feed item and display each item as a hyperlink.
515
- foreach ( $rss_items as $item ): ?>
516
- <li>
517
- &raquo; <a href="<?php echo esc_url( $item->get_permalink() ) . pib_campaign_url( 'sidebar_link', 'blog_post_link' ); ?>" target="_blank" class="external">
518
- <?php echo esc_html( $item->get_title() ); ?></a>
519
- </li>
520
- <?php endforeach; ?>
521
- <?php endif; ?>
522
- </ul>
523
-
524
- <?php
525
- }
526
-
527
- //*** Functions depending on Pro vs Lite versions ***
528
-
529
- //Return "Pro" or blank string (no need to show "Lite")
530
-
531
- function pib_pro_or_lite() {
532
- return ( PIB_IS_PRO ? 'Pro' : '' );
533
- }
534
-
535
- //Lite version: Add disabled attribute
536
-
537
- function pib_lite_disabled_attr() {
538
- if ( !PIB_IS_PRO ) { echo 'disabled="disabled"'; }
539
- }
540
-
541
- //Lite version: Add disabled class name
542
-
543
- function pib_lite_disabled_class() {
544
- if ( !PIB_IS_PRO ) { echo 'disabled'; }
545
- }
546
-
547
- function pib_pro_label() {
548
- if ( !PIB_IS_PRO ) {
549
- echo '<span class="pib-pro-label">' . __( 'Pro Feature', 'pib' ) . '</span>';
550
- }
551
- }
552
-
553
- //Debug options
554
-
555
- function pib_debug_options() {
556
- global $pib_options;
557
- ?>
558
-
559
- <h4>Debug Options</h4>
560
- <p>
561
- <?php foreach ( $pib_options as $option => $value ): ?>
562
- <?php echo $option . ': ' . $value; ?><br/>
563
- <?php endforeach; ?>
564
- </p>
565
-
566
- <?php
567
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
inc/admin-general-functions-shared.php DELETED
@@ -1,121 +0,0 @@
1
- <?php
2
-
3
- //*** Admin General Functions - Lite & Pro Shared ***
4
-
5
- //Plugin installation/activation
6
- //register_activation_hook needs to be in main plugin file
7
-
8
- function pib_install() {
9
- global $pib_options;
10
-
11
- //Need to retrieve options here
12
- $pib_options = get_option( 'pib_options' );
13
-
14
- //Deactivate plugin if WP version too low
15
- if ( version_compare( get_bloginfo( 'version' ), '3.2', '<' ) ) {
16
- deactivate_plugins( basename( __FILE__ ) );
17
- }
18
-
19
- //Set default options for plugin, but don't overwrite existing values
20
- //Boolean values should be set to 1 for true, 0 for false
21
- $default_options = array(
22
- 'button_style' => 'user_selects_image',
23
- 'count_layout' => 'none',
24
-
25
- 'display_home_page' => 1,
26
- 'display_front_page' => 0,
27
- 'display_posts' => 1,
28
- 'display_pages' => 0,
29
- 'display_archives' => 0,
30
- 'display_above_content' => 0,
31
- 'display_below_content' => 1,
32
- 'display_on_post_excerpts' => 0,
33
-
34
- 'uninstall_save_settings' => 1,
35
- 'custom_css' => '',
36
- 'remove_div' => 0,
37
-
38
- //Pro options
39
- 'pib_license_key' => '',
40
- 'use_featured_image' => 0,
41
-
42
- 'use_custom_img_btn' => 0,
43
- 'custom_btn_img_url' => PIB_DEFAULT_CUSTOM_BUTTON_IMAGE_URL,
44
-
45
- 'use_other_sharing_buttons' => 0,
46
- 'share_btn_1' => 'pinterest',
47
- 'share_btn_2' => 'facebook',
48
- 'share_btn_3' => 'twitter',
49
- 'share_btn_4' => 'gplus',
50
- 'sharebar_btn_width' => '100',
51
- 'sharebar_hide_count' => 0
52
- );
53
-
54
- //Loop through global options and set them to defaults
55
- //If already set (from previous install - check with isset) don't overwrite
56
- foreach ( $default_options as $option => $value ) {
57
- if ( !isset( $pib_options[$option] ) ) {
58
- $pib_options[$option] = $value;
59
- }
60
- }
61
-
62
- //Save default option values
63
- update_option( 'pib_options', $pib_options );
64
- }
65
-
66
- //Register settings
67
-
68
- function pib_register_settings() {
69
- register_setting( 'pib_settings_group', 'pib_options' );
70
- }
71
-
72
- add_action( 'admin_init', 'pib_sharing_add_meta_box' );
73
- add_action( 'admin_init', 'pib_register_settings' );
74
-
75
- //Add settings page to admin menu
76
- //Use $page variable to load CSS/JS ONLY for this plugin's admin page
77
-
78
- function pib_create_menu() {
79
- //add_menu_page( $page_title, $menu_title, $capability, $menu_slug, $function, $icon_url, $position );
80
- $page = add_menu_page( __( 'Pin It Button ' . pib_pro_or_lite() . ' Settings', 'pib' ), __( 'Pin It Button ' . pib_pro_or_lite(), 'pib' ), 'manage_options',
81
- 'pib_pin_it_button', 'pib_settings_page', PIB_IMAGES_URL . 'pinterest-button-icon-small.png' );
82
-
83
- add_action( 'admin_print_styles-' . $page, 'pib_add_admin_css_js' );
84
- }
85
-
86
- add_action( 'admin_menu', 'pib_create_menu' );
87
-
88
- //Add Admin CSS/JS
89
-
90
- function pib_add_admin_css_js() {
91
- wp_enqueue_script( 'jquery' );
92
-
93
- //Add thickbox JS/CSS for custom button image gallery popup (and button examples)
94
- add_thickbox();
95
-
96
- wp_enqueue_style( 'pinterest-pin-it-button', PIB_CSS_URL . 'pinterest-pin-it-button-admin.css' );
97
- wp_enqueue_script( 'pinterest-pin-it-button', PIB_JS_URL . 'pinterest-pin-it-button-admin.js', array( 'jquery' ), '' );
98
- }
99
-
100
- //Admin URL
101
-
102
- function pib_admin_url() {
103
- return admin_url( 'admin.php?page=pib_pin_it_button' );
104
- }
105
-
106
- //Add Settings link to the left of Deactivate on plugins list page
107
-
108
- function pib_plugin_settings_link( $links ) {
109
- $url = pib_admin_url();
110
- $settings_link = '<a href="' . $url . '">Settings</a>';
111
- array_unshift( $links, $settings_link );
112
- return $links;
113
- }
114
-
115
- add_filter( 'plugin_action_links_' . PIB_BASE_NAME, 'pib_plugin_settings_link' );
116
-
117
- //Google campaign tracking URL (querystring part)
118
-
119
- function pib_campaign_url( $medium, $campaign ) {
120
- return '?utm_source=pib_' . ( PIB_IS_PRO ? 'pro' : 'lite' ) . '&utm_medium=' . $medium . '&utm_campaign=' . $campaign;
121
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
inc/category-meta.php DELETED
@@ -1,67 +0,0 @@
1
- <?php
2
-
3
- //Option name
4
-
5
- define('PIB_CATEGORY_FIELDS', 'pib_category_fields_option');
6
-
7
- //Add Checkbox to Category Edit Screen
8
-
9
- add_action('edit_category_form_fields', 'pib_category_fields');
10
-
11
- function pib_category_fields($tag) {
12
- $t_id = $tag->term_id;
13
- $tag_extra_fields = get_option(PIB_CATEGORY_FIELDS);
14
-
15
- if ( $tag_extra_fields[$t_id]['checkbox'] == true)
16
- $pib_category_checked = '';
17
- else
18
- $pib_category_checked = 'checked="checked"';
19
-
20
- ?>
21
-
22
- <table class="form-table">
23
- <tr class="form-field">
24
- <th scope="row" valign="top">
25
- <h3>"Pin It" Button Settings</h3>
26
- </th>
27
- </tr>
28
- <tbody>
29
- <tr class="form-field">
30
- <th scope="row" valign="top">
31
- <label for="pib_category_field">Show "Pin It" Button</label>
32
- </th>
33
- <td>
34
- <input name="pib_category_field" id="pib_category_field" type="checkbox" value="true" style="width: auto;"
35
- <?php echo $pib_category_checked; ?> />
36
- <p class="description">
37
- If checked displays the button for this category (if <strong>Archives</strong> also checked in
38
- <a href="<?php echo admin_url( 'admin.php?page=' . PIB_BASE_NAME ); ?>">"Pin It" Button Settings</a>).
39
- If unchecked the button will <strong>always</strong> be hidden for this category.
40
- </p>
41
- </td>
42
- </tr>
43
- </tbody>
44
- </table>
45
-
46
- <?php
47
- }
48
-
49
- // when the form gets submitted, and the category gets updated (in your case the option will get updated with the values of your custom fields above
50
-
51
- add_action('edited_category', 'update_pib_category_fields');
52
-
53
- function update_pib_category_fields($term_id) {
54
- if ( $_POST['taxonomy'] == 'category' ) {
55
- $tag_extra_fields = get_option(PIB_CATEGORY_FIELDS);
56
- $tag_extra_fields[$term_id]['checkbox'] = strip_tags($_POST['pib_category_field']);
57
-
58
- if ( $_POST['pib_category_field'] != true ) {
59
- $tag_extra_fields[$term_id]['checkbox'] = true;
60
- update_option( PIB_CATEGORY_FIELDS, $tag_extra_fields );
61
- }
62
- if ( $_POST['pib_category_field'] == true ) {
63
- $tag_extra_fields[$term_id]['checkbox'] = "";
64
- update_option( PIB_CATEGORY_FIELDS, $tag_extra_fields );
65
- }
66
- }
67
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
inc/post-meta.php DELETED
@@ -1,103 +0,0 @@
1
- <?php
2
-
3
- //Adds a meta box to the main column on the Post and Page edit screens
4
-
5
- function pib_sharing_add_meta_box() {
6
- add_meta_box( 'pib_sharing_meta','"Pin It" Button Settings', 'pib_sharing_meta_box_content', 'page', 'advanced', 'high' );
7
- add_meta_box( 'pib_sharing_meta','"Pin It" Button Settings', 'pib_sharing_meta_box_content', 'post', 'advanced', 'high' );
8
- }
9
-
10
- //Renders the post/page meta box checkbox html
11
-
12
- function pib_sharing_meta_box_content( $post ) {
13
- global $pib_options;
14
-
15
- $pib_sharing_checked = get_post_meta( $post->ID, 'pib_sharing_disabled', 1 );
16
- $pib_url_of_webpage = get_post_meta( $post->ID, 'pib_url_of_webpage', true);
17
- $pib_url_of_img = get_post_meta( $post->ID, 'pib_url_of_img', true);
18
- $pib_description = get_post_meta( $post->ID, 'pib_description', true);
19
-
20
- $pib_button_style = ( $pib_options['button_style'] == 'user_selects_image' ) ? 'User selects image' : 'Image pre-selected';
21
- ?>
22
-
23
- <p>
24
- <em>Button style is inherited from setting saved in <a href="<?php echo admin_url( 'admin.php?page=' . PIB_BASE_NAME ); ?>">"Pin It" Button Settings</a>.
25
- Current style: <strong><?php echo $pib_button_style; ?></strong></em>
26
- </p>
27
- <p>
28
- <em>These 3 text fields will be used only if the button style is: <strong>Image pre-selected</strong></em>
29
- </p>
30
- <p>
31
- <table class="form-table inside">
32
- <tr valign="top">
33
- <td>
34
- <label for="pib_url_of_webpage">URL of the web page to be pinned (defaults to current post/page URL if left blank):</label><br/>
35
- <input type="text" id="pib_url_of_webpage" name="pib_url_of_webpage" value="<?php echo $pib_url_of_webpage; ?>" class="widefat"/>
36
- </td>
37
- </tr>
38
- <tr valign="top">
39
- <td>
40
- <label for="pib_url_of_img">URL of the image to be pinned (defaults to first image in post if left blank):</label><br/>
41
- <input type="text" id="pib_url_of_img" name="pib_url_of_img" value="<?php echo $pib_url_of_img; ?>" class="widefat"/>
42
- </td>
43
- </tr>
44
- <tr valign="top">
45
- <td>
46
- <label for="pib_description">Description of the pin (defaults to post title if left blank):</label><br/>
47
- <input type="text" id="pib_description" name="pib_description" value="<?php echo $pib_description; ?>" class="widefat"/>
48
- </td>
49
- </tr>
50
- </table>
51
- </p>
52
-
53
- <p>
54
- <input name="pib_enable_post_sharing" id="pib_enable_post_sharing" type="checkbox" value="1"
55
- <?php checked( empty( $pib_sharing_checked ) || ($pib_sharing_checked === false) ); ?> />
56
- <label for="pib_enable_post_sharing">Show "Pin It" button on this post/page.</label>
57
- <p class="description">
58
- If checked displays the button for this post/page (if <strong>Individual Posts</strong> (for posts) or <strong>WordPress Static "Pages"</strong>
59
- (for pages) is also checked in <a href="<?php echo admin_url( 'admin.php?page=' . PIB_BASE_NAME ); ?>">"Pin It" Button Settings</a>).
60
- If unchecked the button will <strong>always</strong> be hidden for this post/page.
61
- </p>
62
- <input type="hidden" name="pib_sharing_status_hidden" value="1" />
63
- </p>
64
-
65
- <?php
66
- }
67
-
68
-
69
- //Saves display option for individual post/page
70
-
71
- function pib_sharing_meta_box_save( $post_id ) {
72
- if ( defined('DOING_AUTOSAVE') && DOING_AUTOSAVE )
73
- return $post_id;
74
-
75
- // Record sharing disable
76
- if ( isset( $_POST['post_type'] ) && ( 'post' == $_POST['post_type'] || 'page' == $_POST['post_type'] ) ) {
77
- if ( current_user_can( 'edit_post', $post_id ) ) {
78
- if ( isset( $_POST['pib_sharing_status_hidden'] ) ) {
79
- if ( !isset( $_POST['pib_enable_post_sharing'] ) ) {
80
- update_post_meta( $post_id, 'pib_sharing_disabled', 1 );
81
- }
82
- else {
83
- delete_post_meta( $post_id, 'pib_sharing_disabled' );
84
- }
85
-
86
- if ( isset( $_POST['pib_url_of_webpage'] ) && isset( $_POST['pib_url_of_img'] ) && isset( $_POST['pib_description'] )) {
87
- update_post_meta( $post_id, 'pib_url_of_webpage', $_POST['pib_url_of_webpage'] );
88
- update_post_meta( $post_id, 'pib_url_of_img', $_POST['pib_url_of_img'] );
89
- update_post_meta( $post_id, 'pib_description', $_POST['pib_description'] );
90
- }
91
- else {
92
- delete_post_meta( $post_id, 'pib_url_of_webpage' );
93
- delete_post_meta( $post_id, 'pib_url_of_img' );
94
- delete_post_meta( $post_id, 'pib_description' );
95
- }
96
- }
97
- }
98
- }
99
-
100
- return $post_id;
101
- }
102
-
103
- add_action( 'save_post', 'pib_sharing_meta_box_save' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
inc/public-display-functions.php DELETED
@@ -1,346 +0,0 @@
1
- <?php
2
-
3
- //Add Public CSS/JS
4
-
5
- function pib_add_public_css_js() {
6
- global $pib_options;
7
-
8
- //Add CSS to header
9
- wp_enqueue_style( 'pinterest-pin-it-button', PIB_CSS_URL . 'pinterest-pin-it-button.css' );
10
-
11
- //Image pre-selected
12
- if ( $pib_options['button_style'] == 'image_selected' ) {
13
-
14
- //Image pre-selected AND use Custom image button
15
- if ( (bool)$pib_options['use_custom_img_btn'] ) {
16
- //Popup small sized window like original Pinterest create pin popup
17
- wp_enqueue_script( 'pin-it-button-image-selected', PIB_JS_URL . 'pin-it-button-image-selected.js', array( 'jquery' ), '', true );
18
- }
19
-
20
- //Image pre-selected AND use Stock button (embed code from Pinterest)
21
- else {
22
- //No longer users iframe
23
- wp_enqueue_script( 'pinterest-assets', 'http' . ( is_ssl() ? 's' : '' ) . '://assets.pinterest.com/js/pinit.js', null, '', true );
24
- }
25
- }
26
-
27
- //User selects image (default)
28
- //$pib_options['button_style'] == 'user_selects_image' (or blank)
29
- else {
30
- //Fire off Pinterest's pinmarklet.js
31
- wp_enqueue_script( 'pin-it-button-user-selects-image', PIB_JS_URL . 'pin-it-button-user-selects-image.js', array( 'jquery' ), '', true );
32
-
33
- //User selects image AND use Custom image button
34
- if ( (bool)$pib_options['use_custom_img_btn'] ) {
35
- //Do nothing
36
- }
37
-
38
- //User selects image AND use Stock button
39
- else {
40
- //Do nothing
41
- }
42
- }
43
-
44
- //Custom count bubble JS for non-iframe buttons (if count layout specified)
45
- if (
46
- ( ( $pib_options['button_style'] != 'image_selected' ) || (bool)$pib_options['use_custom_img_btn'] ) &&
47
- ( isset( $pib_options['count_layout'] ) && ( $pib_options['count_layout'] != 'none' ) )
48
- ) {
49
- wp_enqueue_script( 'pin-it-button-custom-btn-img', PIB_JS_URL . 'pin-it-button-custom-btn-img.js', array( 'jquery' ), '', true );
50
- }
51
-
52
- //Load other sharing button JS in head (for compatibility with themes not implementing wp_footer() hook)
53
- if ( PIB_IS_PRO && (bool)$pib_options['use_other_sharing_buttons'] ) {
54
- wp_enqueue_script( 'twitter-embed', PIB_JS_URL . 'twitter-embed.js', null, '', true );
55
- wp_enqueue_script( 'gplus-embed', PIB_JS_URL . 'gplus-embed.js', null, '', true );
56
- }
57
- }
58
-
59
- add_action( 'wp_enqueue_scripts', 'pib_add_public_css_js' );
60
-
61
- //Add Custom CSS
62
-
63
- function pib_add_custom_css() {
64
- global $pib_options;
65
-
66
- $custom_css = trim( $pib_options['custom_css'] );
67
-
68
- //Add custom sharebar button width
69
- $sharebar_btn_width = ( !empty( $pib_options['sharebar_btn_width'] ) ? $pib_options['sharebar_btn_width'] : '100' );
70
- //Mark as !important
71
- $sharebar_btn_width_css = '.pib-sharebar li { width: ' . $sharebar_btn_width . 'px; }';
72
-
73
- echo "\n" .
74
- '<style type="text/css">' . "\n" .
75
- $sharebar_btn_width_css . "\n" .
76
- $custom_css . "\n" . //Put custom css last
77
- '</style>' . "\n";
78
- }
79
-
80
- add_action( 'wp_head', 'pib_add_custom_css' );
81
-
82
- //Function for rendering "Pin It" button base html
83
-
84
- function pib_button_base( $post_url, $image_url, $description, $count_layout ) {
85
- global $pib_options;
86
-
87
- $btn_class = '';
88
- $btn_img_url = '';
89
-
90
- //Specify no-iframe class for all but Stock button
91
- if ( ( $pib_options['button_style'] != 'image_selected' ) || (bool)$pib_options['use_custom_img_btn'] ) {
92
- $btn_class .= 'pin-it-button-no-iframe';
93
- }
94
-
95
- //Set button image URL
96
- if ( PIB_IS_PRO && (bool)$pib_options['use_custom_img_btn'] ) {
97
- $btn_img_url = $pib_options['custom_btn_img_url'];
98
- }
99
- else {
100
- //Default non-sprite button image url from Pinterest
101
- $btn_img_url = '//assets.pinterest.com/images/PinExt.png';
102
- //New image added on 11/15/2012 if needed:
103
- //$btn_img_url = '//assets.pinterest.com/images/pidgets/pin_it_button.png';
104
- }
105
-
106
- //Image pre-selected
107
- if ( $pib_options['button_style'] == 'image_selected' ) {
108
-
109
- //Image pre-selected AND use Custom image button
110
- if ( (bool)$pib_options['use_custom_img_btn'] ) {
111
- $btn_class .= ' pin-it-button-image-selected';
112
- }
113
-
114
- //Image pre-selected AND use Stock button (embed code from Pinterest)
115
- else {
116
- //Official iframe + image pre-selected (original embed code from Pinterest, use their class name)
117
- $btn_class .= ' pin-it-button';
118
- }
119
- }
120
-
121
- //User selects image (default)
122
- //$pib_options['button_style'] == 'user_selects_image' (or blank)
123
- else {
124
- $btn_class .= ' pin-it-button-user-selects-image';
125
- }
126
-
127
- //HTML from Pinterest Goodies 3/19/2012
128
- //<a href="http://pinterest.com/pin/create/button/?url=[PAGE]&media=[IMG]&description=[DESC]" class="pin-it-button" count-layout="horizontal">
129
- //<img border="0" src="//assets.pinterest.com/images/PinExt.png" title="Pin It" /></a>
130
- //rel="nobox" is to prevent lightbox popup
131
-
132
- $inner_btn_html = '<img border="0" class="pib-count-img" src="' . $btn_img_url . '" title="Pin It" />';
133
- $full_btn_html = '';
134
-
135
- //Link href always needs all the parameters in it for the count bubble to work
136
- //Note: leave "http:" here - will break some setups otherwise
137
- $link_href = 'http://pinterest.com/pin/create/button/?url=' . rawurlencode( $post_url ) . '&media=' . rawurlencode( $image_url ) .
138
- '&description='. rawurlencode( $description );
139
-
140
- //Full link html with attributes
141
- $link_html = '<a href="' . $link_href . '" ' .
142
- 'count-layout="' . $count_layout . '" class="' . $btn_class . '" rel="nobox">' .
143
- $inner_btn_html . '</a>';
144
-
145
- //Count bubble HTML for non-iframe buttons (if count layout specified)
146
- if (
147
- ( ( $pib_options['button_style'] == 'user_selects_image' ) || (bool)$pib_options['use_custom_img_btn'] ) &&
148
- ( $count_layout != 'none' )
149
- ) {
150
-
151
- if ( $count_layout == 'horizontal' ) {
152
-
153
- $full_btn_html = '<table class="pib-count-table pib-count-table-horizontal"><tbody><tr>' . "\n" .
154
- '<td>' . $link_html . '</td>' . "\n" .
155
- '<td class="pib-count-cell"><div class="pib-count-bubble"></div></td>' . "\n" .
156
- '</tr></tbody></table>' . "\n";
157
- }
158
- elseif ( $count_layout == 'vertical' ) {
159
-
160
- $full_btn_html = '<table class="pib-count-table pib-count-table-vertical"><tbody><tr>' . "\n" .
161
- '<td class="pib-count-cell"><div class="pib-count-bubble"></div></td>' . "\n" .
162
- '</tr><tr>' . "\n" .
163
- '<td>' . $link_html . '</td>' . "\n" .
164
- '</tr></tbody></table>' . "\n";
165
- }
166
- }
167
- else {
168
- $full_btn_html = $link_html;
169
- }
170
-
171
- return $full_btn_html;
172
- }
173
-
174
- //Button HTML to render
175
-
176
- function pib_button_html() {
177
- global $pib_options;
178
- global $post;
179
- $postID = $post->ID;
180
-
181
- //Return nothing if sharing disabled on current post
182
- if ( get_post_meta( $postID, 'pib_sharing_disabled', 1 ) ) {
183
- return '';
184
- }
185
-
186
- //Set post url, image url and description from current post meta
187
- $post_url = get_post_meta( $postID, 'pib_url_of_webpage', true );
188
- $image_url = get_post_meta( $postID, 'pib_url_of_img', true );
189
- $description = get_post_meta( $postID, 'pib_description', true );
190
-
191
- //Use featured image if specified (also not blank and Pro only)
192
- $featured_img_array = wp_get_attachment_image_src( get_post_thumbnail_id( $postID ), 'full' );
193
- $featured_img_url = $featured_img_array[0];
194
- if ( PIB_IS_PRO && (bool)$pib_options['use_featured_image'] && !empty( $featured_img_url ) ) {
195
- $image_url = $featured_img_url;
196
- }
197
-
198
- //Set post url to current post if still blank
199
- if ( empty( $post_url ) ) { $post_url = get_permalink( $postID ); }
200
-
201
- //Set image url to first image if still blank
202
- if ( empty( $image_url ) ) {
203
- //Get url of img and compare width and height
204
- $output = preg_match_all( '/<img.+src=[\'"]([^\'"]+)[\'"].*>/i', $post->post_content, $matches );
205
- $first_img = $matches [1] [0];
206
- $image_url = $first_img;
207
- }
208
-
209
- //Set description to post title if still blank
210
- if ( empty( $description ) ) { $description = get_the_title( $postID ); }
211
-
212
- $count_layout = $pib_options['count_layout'];
213
-
214
- $base_btn = pib_button_base( $post_url, $image_url, $description, $count_layout );
215
-
216
- //Don't wrap with div if using other sharing buttons or "remove div" is checked
217
- if ( (bool)$pib_options['use_other_sharing_buttons'] || (bool)$pib_options['remove_div'] ) {
218
- return $base_btn;
219
- }
220
- else {
221
- //Surround with div tag
222
- return '<div class="pin-it-btn-wrapper">' . $base_btn . '</div>';
223
- }
224
- }
225
-
226
- //Share Bar HTML to render (pass through button unless Pro)
227
-
228
- function pib_sharebar_html() {
229
- global $pib_options;
230
- global $post;
231
- $postID = $post->ID;
232
-
233
- if ( PIB_IS_PRO && (bool)$pib_options['use_other_sharing_buttons'] ) {
234
- return pib_sharebar_html_pro();
235
- } else {
236
- return pib_button_html();
237
- }
238
- }
239
-
240
- //Render share bar on pages with regular content
241
-
242
- function pib_render_content( $content ) {
243
- global $pib_options;
244
- global $post;
245
- $postID = $post->ID;
246
-
247
- //Determine if button displayed on current page from main admin settings
248
- if (
249
- ( is_home() && ( (bool)$pib_options['display_home_page'] ) ) ||
250
- ( is_front_page() && ( (bool)$pib_options['display_front_page'] ) ) ||
251
- ( is_single() && ( (bool)$pib_options['display_posts'] ) ) ||
252
- ( is_page() && ( (bool)$pib_options['display_pages'] ) && !is_front_page() ) ||
253
-
254
- //archive pages besides categories (tag, author, date, search)
255
- //http://codex.wordpress.org/Conditional_Tags
256
- ( is_archive() && ( (bool)$pib_options['display_archives'] ) &&
257
- ( is_tag() || is_author() || is_date() || is_search() )
258
- )
259
- ) {
260
- if ( (bool)$pib_options['display_above_content'] ) {
261
- $content = pib_sharebar_html( $postID ) . $content;
262
- }
263
- if ( (bool)$pib_options['display_below_content'] ) {
264
- $content .= pib_sharebar_html( $postID );
265
- }
266
- }
267
-
268
- //Determine if displayed on Category on the base of category edit Screen Option
269
- if ( is_archive() && ( (bool)$pib_options['display_archives'] ) ) {
270
- $tag_extra_fields = get_option( PIB_CATEGORY_FIELDS );
271
- $category_ids = get_all_category_ids();
272
- foreach( $category_ids as $term_id ) {
273
- if( !$tag_extra_fields[$term_id]['checkbox'] ) {
274
-
275
- if( is_category($term_id) ) {
276
- if ( (bool)$pib_options['display_above_content'] ) {
277
- $content = pib_sharebar_html( $postID ) . $content;
278
- }
279
- if ( (bool)$pib_options['display_below_content'] ) {
280
- $content .= pib_sharebar_html( $postID );
281
- }
282
- }
283
- }
284
- }
285
- }
286
-
287
- return $content;
288
- }
289
-
290
- add_filter( 'the_content', 'pib_render_content' );
291
-
292
- //Render share bar on pages with excerpts if option checked
293
-
294
- function pib_render_content_excerpt( $content ) {
295
- global $pib_options;
296
- global $post;
297
- $postID = $post->ID;
298
-
299
- if ( $pib_options['display_on_post_excerpts'] ) {
300
- if (
301
- ( is_home() && ( $pib_options['display_home_page'] ) ) ||
302
- ( is_front_page() && ( $pib_options['display_front_page'] ) )
303
- ) {
304
- if ( $pib_options['display_above_content'] ) {
305
- $content = pib_sharebar_html( $postID ) . $content;
306
- }
307
- if ( $pib_options['display_below_content'] ) {
308
- $content .= pib_sharebar_html( $postID );
309
- }
310
- }
311
-
312
- //Determine if displayed on Category on the base of category edit Screen Option
313
- if( is_archive() && ( $pib_options['display_archives'] ) ) {
314
-
315
- $tag_extra_fields = get_option( PIB_CATEGORY_FIELDS );
316
- $category_ids = get_all_category_ids();
317
- foreach( $category_ids as $term_id ) {
318
- if( !$tag_extra_fields[$term_id]['checkbox'] ) {
319
-
320
- if(is_category($term_id)) {
321
- if ( $pib_options['display_above_content'] ) {
322
- $content = pib_sharebar_html( $postID ) . $content;
323
- }
324
- if ( $pib_options['display_below_content'] ) {
325
- $content .= pib_sharebar_html( $postID );
326
- }
327
- }
328
- }
329
- }
330
- }
331
- }
332
-
333
- return $content;
334
- }
335
-
336
- add_filter( 'the_excerpt', 'pib_render_content_excerpt' );
337
-
338
- //Add thumbnail support to theme if needed
339
-
340
- function pib_add_thumbnail_support() {
341
- if ( !current_theme_supports( 'post-thumbnails' ) ) {
342
- add_theme_support( 'post-thumbnails' );
343
- }
344
- }
345
-
346
- add_action('init', 'pib_add_thumbnail_support');
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
inc/shortcode.php DELETED
@@ -1,85 +0,0 @@
1
- <?php
2
-
3
- function pib_button_shortcode_html( $attr ) {
4
- global $pib_options;
5
- global $post;
6
- $postID = $post->ID;
7
-
8
- /*
9
- For URL, image URL and Description, use in order:
10
- 1) attribute value
11
- 2) custom fields for post
12
- 3) inherit from post: permalink, first image, post title
13
- */
14
-
15
- $url = $attr['url'];
16
-
17
- if ( empty( $url ) ) {
18
- $url = get_post_meta( $postID, 'pib_url_of_webpage', true);
19
- if ( empty( $url ) ) {
20
- $url = get_permalink( $postID );
21
- }
22
- }
23
-
24
- $image_url = $attr['image_url'];
25
-
26
- if ( empty( $image_url ) ) {
27
- $image_url = get_post_meta( $postID, 'pib_url_of_img', true);
28
- if ( empty( $image_url ) ) {
29
- //Get url of img and compare width and height
30
- $output = preg_match_all( '/<img.+src=[\'"]([^\'"]+)[\'"].*>/i', $post->post_content, $matches );
31
- $first_img = $matches [1] [0];
32
- $image_url = $first_img;
33
- }
34
- }
35
-
36
- $description = $attr['description'];
37
-
38
- if ( empty( $description ) ) {
39
- $description = get_post_meta( $postID, 'pib_description', true);
40
- if ( empty( $description ) ) {
41
- $description = get_the_title( $postID );
42
- }
43
- }
44
-
45
- $count = ( empty( $attr['count'] ) ? 'none' : $attr['count'] );
46
- $remove_div = ( $attr['remove_div'] == 'true' );
47
- $social_buttons = ( $attr['social_buttons'] == 'true' );
48
-
49
- $base_btn = pib_button_base( $url, $image_url, $description, $count );
50
-
51
- //Don't wrap with div or use float left/right if using other sharing buttons or "remove div" is checked
52
- if ( $remove_div || $social_buttons ) {
53
- return $base_btn;
54
- }
55
- else {
56
- //Surround with div tag
57
- $float_class = '';
58
-
59
- if ( $attr['float'] == 'left' ) {
60
- $float_class = 'pib-float-left';
61
- }
62
- elseif ( $attr['float'] == 'right' ) {
63
- $float_class = 'pib-float-right';
64
- }
65
-
66
- return '<div class="pin-it-btn-wrapper-shortcode ' . $float_class . '">' . $base_btn . '</div>';
67
- }
68
- }
69
-
70
- //Share Bar HTML to render (pass through button unless Pro)
71
-
72
- function pib_sharebar_shortcode_html( $attr ) {
73
- global $pib_options;
74
- global $post;
75
-
76
- $social_buttons = ( $attr['social_buttons'] == 'true' );
77
-
78
- if ( PIB_IS_PRO && $social_buttons && (bool)$pib_options['use_other_sharing_buttons'] ) {
79
- return pib_sharebar_shortcode_html_pro( $attr, $post->ID );
80
- } else {
81
- return pib_button_shortcode_html( $attr );
82
- }
83
- }
84
-
85
- add_shortcode( 'pinit', 'pib_sharebar_shortcode_html' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
inc/widget.php DELETED
@@ -1,146 +0,0 @@
1
- <?php
2
- //Add Pinterest Pin It Button widget
3
-
4
- class Pib_Widget extends WP_Widget {
5
-
6
- function __construct() {
7
- $widget_ops = array( 'classname' => 'pib-clearfix', 'description' => __( 'Add a Pinterest "Pin It" button to your sidebar with this widget.' ) );
8
- $control_ops = array( 'width' => 400 ); //doesn't use height
9
- parent::__construct( 'pib_button', __( 'Pinterest "Pin It" Button' ), $widget_ops, $control_ops );
10
- }
11
-
12
- function widget( $args, $instance ) {
13
- global $pib_options;
14
- extract($args);
15
-
16
- $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? '' : $instance['title'], $instance, $this->id_base );
17
-
18
- $pib_url_of_webpage_widget = $instance['pib_url_of_webpage_widget'];
19
-
20
- //Set URL to home page if button style is "user selects image"
21
- if ( empty( $pib_url_of_webpage_widget ) && ( $pib_options['button_style'] == 'user_selects_image' ) ) {
22
- $pib_url_of_webpage_widget = get_home_url();
23
- }
24
-
25
- $pib_url_of_img_widget = $instance['pib_url_of_img_widget'];
26
- $pib_description_widget = $instance['pib_description_widget'];
27
- $count_layout = empty( $instance['count_layout'] ) ? 'none' : $instance['count_layout'];
28
- $float = empty( $instance['float'] ) ? 'none' : $instance['float'];
29
- $pib_remove_div = (bool)$instance['remove_div'];
30
-
31
- $base_btn = pib_button_base( $pib_url_of_webpage_widget, $pib_url_of_img_widget, $pib_description_widget, $count_layout );
32
-
33
- echo $before_widget;
34
-
35
- if ( $title ) {
36
- echo $before_title . $title . $after_title;
37
- }
38
-
39
- if ( $pib_remove_div ) {
40
- echo $base_btn;
41
- }
42
- else {
43
- //Surround with div tag
44
- $float_class = '';
45
-
46
- if ( $float == 'left' ) {
47
- $float_class = 'pib-float-left';
48
- }
49
- elseif ( $float == 'right' ) {
50
- $float_class = 'pib-float-right';
51
- }
52
-
53
- echo '<div class="pin-it-btn-wrapper-widget ' . $float_class . '">' . $base_btn . '</div>';
54
- }
55
-
56
- echo $after_widget;
57
- }
58
-
59
- function update( $new_instance, $old_instance ) {
60
- $instance = $old_instance;
61
- $new_instance = wp_parse_args( (array)$new_instance, array( 'count_layout' => 'none', 'title' => '',
62
- 'pib_count_button_radio' => 'user_selects_image', 'float' => 'none' ) );
63
- $instance['title'] = strip_tags($new_instance['title']);
64
- $instance['pib_url_of_webpage_widget'] = strip_tags( $new_instance['pib_url_of_webpage_widget'] );
65
- $instance['pib_url_of_img_widget'] = strip_tags( $new_instance['pib_url_of_img_widget'] );
66
- $instance['pib_description_widget'] = strip_tags( $new_instance['pib_description_widget'] );
67
- $instance['count_layout'] = $new_instance['count_layout'];
68
- $instance['float'] = $new_instance['float'];
69
- $instance['remove_div'] = ( $new_instance['remove_div'] ? 1 : 0 );
70
-
71
- return $instance;
72
- }
73
-
74
- function form( $instance ) {
75
- global $pib_options;
76
-
77
- $instance = wp_parse_args( (array) $instance, array( 'count_layout' => 'none', 'title' => '',
78
- 'pib_count_button_radio' => 'user_selects_image', 'float' => 'none' ) );
79
- $title = strip_tags($instance['title']);
80
- $pib_url_of_webpage_widget = strip_tags( $instance['pib_url_of_webpage_widget'] );
81
- $pib_url_of_img_widget = strip_tags( $instance['pib_url_of_img_widget'] );
82
- $pib_description_widget = strip_tags( $instance['pib_description_widget'] );
83
- $pib_button_style_widget = ( $pib_options['button_style'] == 'user_selects_image' ) ? 'User selects image' : 'Image pre-selected';
84
- ?>
85
-
86
- <p>
87
- <label for="<?php echo $this->get_field_id('title'); ?>"><?php _e( 'Title (optional):' ); ?></label>
88
- <input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $title ); ?>" />
89
- </p>
90
- <p>
91
- <label for="<?php echo $this->get_field_id( 'count_layout' ); ?>"><?php _e( 'Pin Count:' ); ?></label>
92
- <select name="<?php echo $this->get_field_name( 'count_layout' ); ?>" id="<?php echo $this->get_field_id( 'count_layout' ); ?>">
93
- <option value="none" <?php selected( $instance['count_layout'], 'none' ); ?>><?php _e( 'No Count'); ?></option>
94
- <option value="horizontal" <?php selected( $instance['count_layout'], 'horizontal' ); ?>><?php _e( 'Horizontal' ); ?></option>
95
- <option value="vertical" <?php selected( $instance['count_layout'], 'vertical' ); ?>><?php _e( 'Vertical' ); ?></option>
96
- </select>
97
- </p>
98
- <div class="pib-widget-text-fields">
99
- <p>
100
- <?php _e('Button style is inherited from setting saved in'); ?>
101
- <a href="<?php echo admin_url( 'admin.php?page=' . PIB_BASE_NAME ); ?>"><?php _e('"Pin It" Button Settings'); ?></a>
102
- </p>
103
- <p>
104
- <?php _e('Current style') ?>: <strong style="color: red;"><?php echo $pib_button_style_widget; ?></strong>
105
- </p>
106
- <p>
107
- <label for="<?php echo $this->get_field_id('pib_url_of_webpage_widget'); ?>"><?php _e('URL of the web page to be pinned'); ?></label>
108
- <input class="widefat" id="<?php echo $this->get_field_id('pib_url_of_webpage_widget'); ?>" name="<?php echo $this->get_field_name('pib_url_of_webpage_widget'); ?>" type="text" value="<?php echo esc_attr($pib_url_of_webpage_widget); ?>" />
109
- <span class="description"><?php _e('Required for "image pre-selected". Defaults to home page for "user selects image".'); ?></span>
110
- </p>
111
- <p>
112
- <label for="<?php echo $this->get_field_id('pib_url_of_img_widget'); ?>"><?php _e('URL of the image to be pinned'); ?></label>
113
- <input class="widefat" id="<?php echo $this->get_field_id('pib_url_of_img_widget'); ?>" name="<?php echo $this->get_field_name('pib_url_of_img_widget'); ?>" type="text" value="<?php echo esc_attr($pib_url_of_img_widget); ?>" />
114
- <span class="description"><?php _e('Required for "image pre-selected". Not used for "user selects image".'); ?></span>
115
- </p>
116
- <p>
117
- <label for="<?php echo $this->get_field_id('pib_description_widget'); ?>"><?php _e('Description of the pin (optional)'); ?></label>
118
- <input class="widefat" id="<?php echo $this->get_field_id('pib_description_widget'); ?>" name="<?php echo $this->get_field_name('pib_description_widget'); ?>" type="text" value="<?php echo esc_attr($pib_description_widget); ?>" />
119
- </p>
120
- </div>
121
-
122
- <p>
123
- <label for="<?php echo $this->get_field_id('float'); ?>"><?php _e('Align (float)'); ?>:</label>
124
- <select name="<?php echo $this->get_field_name('float'); ?>" id="<?php echo $this->get_field_id('float'); ?>">
125
- <option value="none" <?php selected( $instance['float'], 'none' ); ?>><?php _e('none (default)'); ?></option>
126
- <option value="left" <?php selected( $instance['float'], 'left' ); ?>><?php _e('left'); ?></option>
127
- <option value="right" <?php selected( $instance['float'], 'right' ); ?>><?php _e('right'); ?></option>
128
- </select>
129
- </p>
130
- <p>
131
- <input class="checkbox" <?php checked($instance['remove_div'], true) ?> id="<?php echo $this->get_field_id('remove_div'); ?>" name="<?php echo $this->get_field_name('remove_div'); ?>" type="checkbox"/>
132
- <label for="<?php echo $this->get_field_id('remove_div'); ?>"><?php _e('Remove div tag surrounding this widget button (also removes <strong>float</strong> setting)'); ?></label>
133
- </p>
134
- <?php
135
- }
136
- }
137
-
138
-
139
- // Function that register Pin It Button widget.
140
-
141
- function pib_load_widgets() {
142
- register_widget( 'Pib_Widget' );
143
- }
144
-
145
- //Add function to the widgets_init hook.
146
- add_action( 'widgets_init', 'pib_load_widgets' );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
includes/admin-notices.php ADDED
@@ -0,0 +1,40 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Admin settings page update notices.
5
+ *
6
+ * @package PIB
7
+ * @subpackage Includes
8
+ * @author Phil Derksen <pderksen@gmail.com>, Nick Young <mycorpweb@gmail.com>
9
+ */
10
+
11
+ // Exit if accessed directly.
12
+ if ( ! defined( 'ABSPATH' ) )
13
+ exit;
14
+
15
+ function pib_register_admin_notices() {
16
+ // The first check will show message if general tab is updated. The additional check is if the plugin page is first clicked on and the 'tab' has not been set yet.
17
+
18
+ $is_pib_settings_page = strpos( ( isset( $_GET['page'] ) ? $_GET['page'] : '' ), 'pinterest-pin-it-button' );
19
+
20
+ if ( ( isset( $_GET['tab'] ) && 'general' == $_GET['tab'] ) && ( isset( $_GET['settings-updated'] ) && 'true' == $_GET['settings-updated'] )
21
+ || ( !isset( $_GET['tab'] ) && $is_pib_settings_page !== false && ( isset( $_GET['settings-updated'] ) && 'true' == $_GET['settings-updated'] ) ) ) {
22
+ add_settings_error( 'pib-notices', 'pib-general-updated', __( 'General settings updated.', 'pib' ), 'updated' );
23
+ }
24
+
25
+ if ( ( isset( $_GET['tab'] ) && 'post_visibility' == $_GET['tab'] ) && ( isset( $_GET['settings-updated'] ) && 'true' == $_GET['settings-updated'] ) ) {
26
+ add_settings_error( 'pib-notices', 'pib-post_visibility-updated', __( 'Post Visibility settings updated.', 'pib' ), 'updated' );
27
+ }
28
+
29
+ if ( ( isset( $_GET['tab'] ) && 'styles' == $_GET['tab'] ) && ( isset( $_GET['settings-updated'] ) && 'true' == $_GET['settings-updated'] ) ) {
30
+ add_settings_error( 'pib-notices', 'pib-styles-updated', __( 'Styles settings updated.', 'pib' ), 'updated' );
31
+ }
32
+
33
+ if ( ( isset( $_GET['tab'] ) && 'misc' == $_GET['tab'] ) && ( isset( $_GET['settings-updated'] ) && 'true' == $_GET['settings-updated'] ) ) {
34
+ add_settings_error( 'pib-notices', 'pib-misc-updated', __( 'Misc settings updated.', 'pib' ), 'updated' );
35
+ }
36
+
37
+ settings_errors( 'pib-notices' );
38
+ }
39
+
40
+ add_action( 'admin_notices', 'pib_register_admin_notices' );
includes/index.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php // Silence is golden ?>
includes/misc-functions.php ADDED
@@ -0,0 +1,108 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Misc functions to use throughout the plugin.
5
+ *
6
+ * @package PIB
7
+ * @subpackage Includes
8
+ * @author Phil Derksen <pderksen@gmail.com>, Nick Young <mycorpweb@gmail.com>
9
+ */
10
+
11
+ // Exit if accessed directly.
12
+ if ( ! defined( 'ABSPATH' ) )
13
+ exit;
14
+
15
+ /**
16
+ * Google Analytics campaign URL.
17
+ *
18
+ * @since 2.0.0
19
+ *
20
+ * @param string $base_url Plain URL to navigate to
21
+ * @param string $source GA "source" tracking value
22
+ * @param string $medium GA "medium" tracking value
23
+ * @param string $campaign GA "campaign" tracking value
24
+ * @return string $url Full Google Analytics campaign URL
25
+ */
26
+ function pib_ga_campaign_url( $base_url, $source, $medium, $campaign ) {
27
+ // $source is always 'pib_lite_2' for Pit It Button Lite 2.x
28
+ // $medium examples: 'sidebar_link', 'banner_image'
29
+
30
+ $url = add_query_arg( array(
31
+ 'utm_source' => $source,
32
+ 'utm_medium' => $medium,
33
+ 'utm_campaign' => $campaign
34
+ ), $base_url );
35
+
36
+ return $url;
37
+ }
38
+
39
+ /**
40
+ * Render RSS items from pinterestplugin.com in unordered list.
41
+ * http://codex.wordpress.org/Function_Reference/fetch_feed
42
+ *
43
+ * @since 2.0.0
44
+ */
45
+
46
+ function pib_rss_news() {
47
+ // Get RSS Feed(s).
48
+ include_once( ABSPATH . WPINC . '/feed.php' );
49
+
50
+ // Get a SimplePie feed object from the specified feed source.
51
+ $rss = fetch_feed( 'http://pinterestplugin.com/feed/' );
52
+
53
+ if ( ! is_wp_error( $rss ) ) {
54
+ // Checks that the object is created correctly.
55
+ // Figure out how many total items there are, but limit it to 5.
56
+ $maxitems = $rss->get_item_quantity( 3 );
57
+
58
+ // Build an array of all the items, starting with element 0 (first element).
59
+ $rss_items = $rss->get_items( 0, $maxitems );
60
+ }
61
+ ?>
62
+
63
+ <ul>
64
+ <?php if ($maxitems == 0): ?>
65
+ <li><?php _e( 'No items.', 'pib' ); ?></li>
66
+ <?php else: ?>
67
+ <?php
68
+ // Loop through each feed item and display each item as a hyperlink.
69
+ foreach ( $rss_items as $item ): ?>
70
+ <?php $post_url = add_query_arg( array(
71
+
72
+ // Google Analytics campaign URL
73
+ 'utm_source' => 'pib_lite_2',
74
+ 'utm_medium' => 'sidebar_link',
75
+ 'utm_campaign' => 'blog_post_link'
76
+
77
+ ), esc_url( $item->get_permalink() ) ); ?>
78
+
79
+ <li>
80
+ &raquo; <a href="<?php echo $post_url; ?>" target="_blank" class="pib-external-link"><?php echo esc_html( $item->get_title() ); ?></a>
81
+ </li>
82
+ <?php endforeach; ?>
83
+ <?php endif; ?>
84
+ </ul>
85
+
86
+ <?php
87
+ }
88
+
89
+ /**
90
+ * Check if the WooCommerce plugin is active.
91
+ *
92
+ * @since 2.0.0
93
+ *
94
+ * @return boolean
95
+ */
96
+ function pib_is_woo_commerce_active() {
97
+ return class_exists( 'WooCommerce' );
98
+
99
+ /*
100
+ * Could also do:
101
+ * if ( in_array( 'woocommerce/woocommerce.php', apply_filters( 'active_plugins', get_option( 'active_plugins' ) ) ) ) {
102
+ *
103
+ * References:
104
+ * http://docs.woothemes.com/document/create-a-plugin/
105
+ * http://www.wpmayor.com/articles/how-to-check-whether-a-plugin-is-active/
106
+ * http://pippinsplugins.com/checking-dependent-plugin-active/
107
+ */
108
+ }
includes/presstrends.php ADDED
@@ -0,0 +1,52 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ function pib_run_presstrends_tracking( $auth ) {
4
+ // PressTrends Account API Key
5
+ $api_key = 'qsu6mq75d69xqhpadhdz09rfqze9c6u499q6';
6
+
7
+ // Start of Metrics
8
+ global $wpdb;
9
+ $data = get_transient( 'presstrends_cache_data' );
10
+ if ( !$data || $data == '' ) {
11
+ $api_base = 'http://api.presstrends.io/index.php/api/pluginsites/update/auth/';
12
+ $url = $api_base . $auth . '/api/' . $api_key . '/';
13
+ $count_posts = wp_count_posts();
14
+ $count_pages = wp_count_posts( 'page' );
15
+ $comments_count = wp_count_comments();
16
+ if ( function_exists( 'wp_get_theme' ) ) {
17
+ $theme_data = wp_get_theme();
18
+ $theme_name = urlencode( $theme_data->Name );
19
+ } else {
20
+ $theme_data = get_theme_data( get_stylesheet_directory() . '/style.css' );
21
+ $theme_name = $theme_data['Name'];
22
+ }
23
+ $plugin_name = '&';
24
+ foreach ( get_plugins() as $plugin_info ) {
25
+ $plugin_name .= $plugin_info['Name'] . '&';
26
+ }
27
+ // CHANGE __FILE__ PATH IF LOCATED OUTSIDE MAIN PLUGIN FILE
28
+ $plugin_data = get_plugin_data( __FILE__ );
29
+ $posts_with_comments = $wpdb->get_var( "SELECT COUNT(*) FROM $wpdb->posts WHERE post_type='post' AND comment_count > 0" );
30
+ $data = array(
31
+ 'url' => base64_encode(site_url()),
32
+ 'posts' => $count_posts->publish,
33
+ 'pages' => $count_pages->publish,
34
+ 'comments' => $comments_count->total_comments,
35
+ 'approved' => $comments_count->approved,
36
+ 'spam' => $comments_count->spam,
37
+ 'pingbacks' => $wpdb->get_var( "SELECT COUNT(comment_ID) FROM $wpdb->comments WHERE comment_type = 'pingback'" ),
38
+ 'post_conversion' => ( $count_posts->publish > 0 && $posts_with_comments > 0 ) ? number_format( ( $posts_with_comments / $count_posts->publish ) * 100, 0, '.', '' ) : 0,
39
+ 'theme_version' => $plugin_data['Version'],
40
+ 'theme_name' => $theme_name,
41
+ 'site_name' => str_replace( ' ', '', get_bloginfo( 'name' ) ),
42
+ 'plugins' => count( get_option( 'active_plugins' ) ),
43
+ 'plugin' => urlencode( $plugin_name ),
44
+ 'wpversion' => get_bloginfo( 'version' ),
45
+ );
46
+ foreach ( $data as $k => $v ) {
47
+ $url .= $k . '/' . $v . '/';
48
+ }
49
+ wp_remote_get( $url );
50
+ set_transient( 'presstrends_cache_data', $data, 60 * 60 * 24 );
51
+ }
52
+ }
includes/register-settings.php ADDED
@@ -0,0 +1,435 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Register all settings needed for the Settings API.
5
+ *
6
+ * @package PIB
7
+ * @subpackage Includes
8
+ * @author Phil Derksen <pderksen@gmail.com>, Nick Young <mycorpweb@gmail.com>
9
+ */
10
+
11
+ // Exit if accessed directly.
12
+ if ( ! defined( 'ABSPATH' ) )
13
+ exit;
14
+
15
+ function pib_register_settings() {
16
+ $pib_settings = array(
17
+
18
+ /* General Settings */
19
+ 'general' => array(
20
+ 'button_type' => array(
21
+ 'id' => 'button_type',
22
+ 'name' => __( 'Button Type', 'pib' ),
23
+ 'desc' => '',
24
+ 'type' => 'radio',
25
+ 'std' => 'no',
26
+ 'options' => array(
27
+ 'user_selects_image' => __( 'User selects image from popup (any image)', 'pib' ),
28
+ 'image_selected' => __( 'Image is pre-selected (one image -- defaults to first image in post)', 'pib' )
29
+ )
30
+ ),
31
+ 'count_layout' => array(
32
+ 'id' => 'count_layout',
33
+ 'name' => __( 'Pin Count', 'pib' ),
34
+ 'desc' => '',
35
+ 'type' => 'select',
36
+ 'options' => array(
37
+ 'none' => __( 'Not Shown', 'pib' ),
38
+ 'horizontal' => __( 'Beside the Button', 'pib' ),
39
+ 'vertical' => __( 'Above the Button', 'pib' )
40
+ )
41
+ ),
42
+ 'uninstall_save_settings' => array(
43
+ 'id' => 'uninstall_save_settings',
44
+ 'name' => __( 'Save Settings', 'pib' ),
45
+ 'desc' => __( 'Save your settings when uninstalling this plugin. Useful when upgrading or re-installing.', 'pib' ),
46
+ 'type' => 'checkbox'
47
+ ),
48
+ 'presstrends_tracking' => array(
49
+ 'id' => 'presstrends_tracking',
50
+ 'name' => __( 'Allow Anonymous Usage Tracking', 'pib' ),
51
+ 'desc' => __( 'If checked, this option will enable PressTrends, which is a simple usage tracker that allows us to see how our customers are using our plugins.', 'pib' ) . '<br/>' .
52
+ __( 'This anonymous data gives us insight on how we can improve our plugins for you. It will not track any user details, so your security and privacy are safe with us.', 'pib' ) . '<br/>' .
53
+ '<em>' . __( 'If you feel comfortable enabling this option we\'d appreciate your participation. Thanks!', 'pib' ) . '</em>',
54
+ 'type' => 'checkbox'
55
+ )
56
+ ),
57
+
58
+ /* Post Visibility Settings */
59
+ 'post_visibility' => array(
60
+ 'post_page_types' => array(
61
+ 'id' => 'post_page_types',
62
+ 'name' => __( 'Post/Page Types', 'pib' ),
63
+ 'desc' => __( 'You may individually hide the "Pin It" button per post/page. This field is located towards the bottom of the post/page edit screen.', 'pib' ),
64
+ 'type' => 'multicheck',
65
+ 'options' => array(
66
+ 'display_home_page' => __( 'Home Page (or latest posts page)', 'pib' ),
67
+ 'display_front_page' => __( 'Front Page (different from Home Page only if set in Settings > Reading)', 'pib' ),
68
+ 'display_posts' => __( 'Individual Posts', 'pib' ),
69
+ 'display_pages' => __( 'Individual Pages (WordPress static pages)', 'pib' ),
70
+ 'display_archives' => __( 'Archive Pages (includes Category, Tag, Author, and date-based pages)', 'pib' )
71
+ )
72
+ ),
73
+ 'post_page_placement' => array(
74
+ 'id' => 'post_page_placement',
75
+ 'name' => __( 'Post/Page Placement', 'pib' ),
76
+ 'desc' => __( 'Only the button style <strong>"Image is pre-selected"</strong> will use the individual post URL when a visitor pins from a post excerpt.', 'pib' ) . '<br />' .
77
+ sprintf( __( 'Go to Appearance &rarr; <a href="%s">Widgets</a> to add a "Pin It" button to your sidebar or other widget area.', 'pib' ), admin_url( 'widgets.php' ) ),
78
+ 'type' => 'multicheck',
79
+ 'options' => array(
80
+ 'display_above_content' => __( 'Above Content', 'pib' ),
81
+ 'display_below_content' => __( 'Below Content', 'pib' ),
82
+ 'display_on_post_excerpts' => __( 'Include in Post Excerpts', 'pib' )
83
+ )
84
+ )
85
+ ),
86
+
87
+ /* Styles Settings */
88
+ 'styles' => array(
89
+ 'custom_css' => array(
90
+ 'id' => 'custom_css',
91
+ 'name' => __( 'Custom CSS', 'pib' ),
92
+ 'desc' => __( 'Custom CSS can be used to override other CSS style rules.', 'pib' ) . '<br />' .
93
+ sprintf( __( 'Visit the <a href="%s">Help Section</a> for CSS override examples.', 'pib' ), add_query_arg( 'page', PIB_PLUGIN_SLUG . '_help', admin_url( 'admin.php' ) ) ),
94
+ 'type' => 'textarea'
95
+ ),
96
+ 'remove_div' => array(
97
+ 'id' => 'remove_div',
98
+ 'name' => __( 'Remove DIV Container', 'pib' ),
99
+ 'desc' => __( 'Remove DIV tag surrounding regular button', 'pib' ) . '(<code>' . htmlspecialchars( '<div class="pin-it-btn-wrapper"></div>' ) . '</code>)',
100
+ 'type' => 'checkbox'
101
+ ),
102
+ 'disable_css' => array(
103
+ 'id' => 'disable_css',
104
+ 'name' => __( 'Disable CSS File Reference', 'pib' ),
105
+ 'desc' => __( 'Advanced. Will prevent the plugin\'s CSS file from being referenced. Custom CSS above will still be included.', 'pib' ),
106
+ 'type' => 'checkbox'
107
+ )
108
+ )
109
+ );
110
+
111
+ /* If the options do not exist then create them for each section */
112
+ if ( false == get_option( 'pib_settings_general' ) ) {
113
+ add_option( 'pib_settings_general' );
114
+ }
115
+
116
+ if ( false == get_option( 'pib_settings_post_visibility' ) ) {
117
+ add_option( 'pib_settings_post_visibility' );
118
+ }
119
+
120
+ if ( false == get_option( 'pib_settings_styles' ) ) {
121
+ add_option( 'pib_settings_styles' );
122
+ }
123
+
124
+ /* Add the General Settings section */
125
+ add_settings_section(
126
+ 'pib_settings_general',
127
+ __( 'General Settings', 'pib' ),
128
+ '__return_false',
129
+ 'pib_settings_general'
130
+ );
131
+
132
+ foreach ( $pib_settings['general'] as $option ) {
133
+ add_settings_field(
134
+ 'pib_settings_general[' . $option['id'] . ']',
135
+ $option['name'],
136
+ function_exists( 'pib_' . $option['type'] . '_callback' ) ? 'pib_' . $option['type'] . '_callback' : 'pib_missing_callback',
137
+ 'pib_settings_general',
138
+ 'pib_settings_general',
139
+ pib_get_settings_field_args( $option, 'general' )
140
+ );
141
+ }
142
+
143
+ /* Add the Post Visibility Settings section */
144
+ add_settings_section(
145
+ 'pib_settings_post_visibility',
146
+ __( 'Post Visibility Settings', 'pib' ),
147
+ '__return_false',
148
+ 'pib_settings_post_visibility'
149
+ );
150
+
151
+ foreach ( $pib_settings['post_visibility'] as $option ) {
152
+ add_settings_field(
153
+ 'pib_settings_post_visibility[' . $option['id'] . ']',
154
+ $option['name'],
155
+ function_exists( 'pib_' . $option['type'] . '_callback' ) ? 'pib_' . $option['type'] . '_callback' : 'pib_missing_callback',
156
+ 'pib_settings_post_visibility',
157
+ 'pib_settings_post_visibility',
158
+ pib_get_settings_field_args( $option, 'post_visibility' )
159
+ );
160
+ }
161
+
162
+ /* Add the Styles Settings section */
163
+ add_settings_section(
164
+ 'pib_settings_styles',
165
+ __( 'Style Settings', 'pib' ),
166
+ '__return_false',
167
+ 'pib_settings_styles'
168
+ );
169
+
170
+ foreach ( $pib_settings['styles'] as $option ) {
171
+ add_settings_field(
172
+ 'pib_settings_styles[' . $option['id'] . ']',
173
+ $option['name'],
174
+ function_exists( 'pib_' . $option['type'] . '_callback' ) ? 'pib_' . $option['type'] . '_callback' : 'pib_missing_callback',
175
+ 'pib_settings_styles',
176
+ 'pib_settings_styles',
177
+ pib_get_settings_field_args( $option, 'styles' )
178
+ );
179
+ }
180
+
181
+ /* Register all settings or we will get an error when trying to save */
182
+ register_setting( 'pib_settings_general', 'pib_settings_general', 'pib_settings_sanitize' );
183
+ register_setting( 'pib_settings_post_visibility', 'pib_settings_post_visibility', 'pib_settings_sanitize' );
184
+ register_setting( 'pib_settings_styles', 'pib_settings_styles', 'pib_settings_sanitize' );
185
+
186
+ }
187
+ add_action( 'admin_init', 'pib_register_settings' );
188
+
189
+ /*
190
+ * Return generic add_settings_field $args parameter array.
191
+ *
192
+ * @since 2.0.0
193
+ *
194
+ * @param string $option Single settings option key.
195
+ * @param string $section Section of settings apge.
196
+ * @return array $args parameter to use with add_settings_field call.
197
+ */
198
+
199
+ function pib_get_settings_field_args( $option, $section ) {
200
+ $settings_args = array(
201
+ 'id' => $option['id'],
202
+ 'desc' => $option['desc'],
203
+ 'name' => $option['name'],
204
+ 'section' => $section,
205
+ 'size' => isset( $option['size'] ) ? $option['size'] : null,
206
+ 'options' => isset( $option['options'] ) ? $option['options'] : '',
207
+ 'std' => isset( $option['std'] ) ? $option['std'] : ''
208
+ );
209
+
210
+ // Link label to input using 'label_for' argument if text, textarea, password, select, or variations of.
211
+ // Just add to existing settings args array if needed.
212
+ if ( in_array( $option['type'], array( 'text', 'select', 'textarea', 'password', 'number' ) ) ) {
213
+ $settings_args = array_merge( $settings_args, array( 'label_for' => 'pib_settings_' . $section . '[' . $option['id'] . ']' ) );
214
+ }
215
+
216
+ return $settings_args;
217
+ }
218
+
219
+ /*
220
+ * Radio button callback function
221
+ */
222
+ function pib_radio_callback( $args ) {
223
+ global $pib_options;
224
+
225
+ // Return empty string if no options.
226
+ if ( empty( $args['options'] ) ) {
227
+ echo '';
228
+ return;
229
+ }
230
+
231
+ $html = "\n";
232
+
233
+ foreach ( $args['options'] as $key => $option ) {
234
+ $checked = false;
235
+
236
+ if ( isset( $pib_options[ $args['id'] ] ) && $pib_options[ $args['id'] ] == $key )
237
+ $checked = true;
238
+ elseif ( isset( $args['std'] ) && $args['std'] == $key && ! isset( $pib_options[ $args['id'] ] ) )
239
+ $checked = true;
240
+
241
+ $html .= '<input name="pib_settings_' . $args['section'] . '[' . $args['id'] . ']" id="pib_settings_' . $args['section'] . '[' . $args['id'] . '][' . $key . ']" type="radio" value="' . $key . '" ' . checked( true, $checked, false ) . '/>' . "\n";
242
+ $html .= '<label for="pib_settings_' . $args['section'] . '[' . $args['id'] . '][' . $key . ']">' . $option . '</label><br/>' . "\n";
243
+ }
244
+
245
+ // Render and style description text underneath if it exists.
246
+ if ( ! empty( $args['desc'] ) )
247
+ $html .= '<p class="description">' . $args['desc'] . '</p>' . "\n";
248
+
249
+ echo $html;
250
+ }
251
+
252
+ /*
253
+ * Single checkbox callback function
254
+ */
255
+ function pib_checkbox_callback( $args ) {
256
+ global $pib_options;
257
+
258
+ $checked = isset( $pib_options[$args['id']] ) ? checked( 1, $pib_options[$args['id']], false ) : '';
259
+ $html = "\n" . '<input type="checkbox" id="pib_settings_' . $args['section'] . '[' . $args['id'] . ']" name="pib_settings_' . $args['section'] . '[' . $args['id'] . ']" value="1" ' . $checked . '/>' . "\n";
260
+
261
+ // Render description text directly to the right in a label if it exists.
262
+ if ( ! empty( $args['desc'] ) )
263
+ $html .= '<label for="pib_settings_' . $args['section'] . '[' . $args['id'] . ']"> ' . $args['desc'] . '</label>' . "\n";
264
+
265
+ echo $html;
266
+ }
267
+
268
+ /*
269
+ * Multiple checkboxes callback function
270
+ */
271
+
272
+ function pib_multicheck_callback( $args ) {
273
+ global $pib_options;
274
+
275
+ // Return empty string if no options.
276
+ if ( empty( $args['options'] ) ) {
277
+ echo '';
278
+ return;
279
+ }
280
+
281
+ $html = "\n";
282
+
283
+ foreach ( $args['options'] as $key => $option ) {
284
+ if ( isset( $pib_options[$args['id']][$key] ) ) { $enabled = $option; } else { $enabled = NULL; }
285
+ $html .= '<input name="pib_settings_' . $args['section'] . '[' . $args['id'] . '][' . $key . ']" id="pib_settings_' . $args['section'] . '[' . $args['id'] . '][' . $key . ']" type="checkbox" value="' . $option . '" ' . checked($option, $enabled, false) . '/>' . "\n";
286
+ $html .= '<label for="pib_settings_' . $args['section'] . '[' . $args['id'] . '][' . $key . ']">' . $option . '</label><br/>' . "\n";
287
+ }
288
+
289
+ // Render and style description text underneath if it exists.
290
+ if ( ! empty( $args['desc'] ) )
291
+ $html .= '<p class="description">' . $args['desc'] . '</p>' . "\n";
292
+
293
+ echo $html;
294
+ }
295
+
296
+ /*
297
+ * Select box callback function
298
+ */
299
+ function pib_select_callback( $args ) {
300
+ global $pib_options;
301
+
302
+ // Return empty string if no options.
303
+ if ( empty( $args['options'] ) ) {
304
+ echo '';
305
+ return;
306
+ }
307
+
308
+ $html = "\n" . '<select id="pib_settings_' . $args['section'] . '[' . $args['id'] . ']" name="pib_settings_' . $args['section'] . '[' . $args['id'] . ']"/>' . "\n";
309
+
310
+ foreach ( $args['options'] as $option => $name ) :
311
+ $selected = isset( $pib_options[$args['id']] ) ? selected( $option, $pib_options[$args['id']], false ) : '';
312
+ $html .= '<option value="' . $option . '" ' . $selected . '>' . $name . '</option>' . "\n";
313
+ endforeach;
314
+
315
+ $html .= '</select>' . "\n";
316
+
317
+ // Render and style description text underneath if it exists.
318
+ if ( ! empty( $args['desc'] ) )
319
+ $html .= '<p class="description">' . $args['desc'] . '</p>' . "\n";
320
+
321
+ echo $html;
322
+ }
323
+
324
+ /*
325
+ * Textarea callback function
326
+ */
327
+ function pib_textarea_callback( $args ) {
328
+ global $pib_options;
329
+
330
+ if ( isset( $pib_options[ $args['id'] ] ) )
331
+ $value = $pib_options[ $args['id'] ];
332
+ else
333
+ $value = isset( $args['std'] ) ? $args['std'] : '';
334
+
335
+ // Ignoring size at the moment.
336
+ $html = "\n" . '<textarea class="large-text" cols="50" rows="10" id="pib_settings_' . $args['section'] . '[' . $args['id'] . ']" name="pib_settings_' . $args['section'] . '[' . $args['id'] . ']">' . esc_textarea( $value ) . '</textarea>' . "\n";
337
+
338
+ // Render and style description text underneath if it exists.
339
+ if ( ! empty( $args['desc'] ) )
340
+ $html .= '<p class="description">' . $args['desc'] . '</p>' . "\n";
341
+
342
+ echo $html;
343
+ }
344
+
345
+ /**
346
+ * Number callback function
347
+ */
348
+ function pib_number_callback( $args ) {
349
+ global $pib_options;
350
+
351
+ if ( isset( $pib_options[ $args['id'] ] ) )
352
+ $value = $pib_options[ $args['id'] ];
353
+ else
354
+ $value = isset( $args['std'] ) ? $args['std'] : '';
355
+
356
+ $size = ( isset( $args['size'] ) && ! is_null( $args['size'] ) ) ? $args['size'] : 'regular';
357
+ $html = "\n" . '<input type="number" class="' . $size . '-text" id="pib_settings_' . $args['section'] . '[' . $args['id'] . ']" name="pib_settings_' . $args['section'] . '[' . $args['id'] . ']" step="1" value="' . esc_attr( $value ) . '"/>' . "\n";
358
+
359
+ // Render description text directly to the right in a label if it exists.
360
+ if ( ! empty( $args['desc'] ) )
361
+ $html .= '<label for="pib_settings_' . $args['section'] . '[' . $args['id'] . ']"> ' . $args['desc'] . '</label>' . "\n";
362
+
363
+ echo $html;
364
+ }
365
+
366
+ /**
367
+ * Textbox callback function
368
+ */
369
+ function pib_text_callback( $args ) {
370
+ global $pib_options;
371
+
372
+ if ( isset( $pib_options[ $args['id'] ] ) )
373
+ $value = $pib_options[ $args['id'] ];
374
+ else
375
+ $value = isset( $args['std'] ) ? $args['std'] : '';
376
+
377
+ $size = ( isset( $args['size'] ) && ! is_null( $args['size'] ) ) ? $args['size'] : 'regular';
378
+ $html = "\n" . '<input type="text" class="' . $size . '-text" id="pib_settings_' . $args['section'] . '[' . $args['id'] . ']" name="pib_settings_' . $args['section'] . '[' . $args['id'] . ']" value="' . esc_attr( $value ) . '"/>' . "\n";
379
+
380
+ // Render and style description text underneath if it exists.
381
+ if ( ! empty( $args['desc'] ) )
382
+ $html .= '<p class="description">' . $args['desc'] . '</p>' . "\n";
383
+
384
+ echo $html;
385
+ }
386
+
387
+ /*
388
+ * Function we can use to sanitize the input data and return it when saving options
389
+ */
390
+ function pib_settings_sanitize( $input ) {
391
+ add_settings_error( 'pib-notices', '', '', '' );
392
+ return $input;
393
+ }
394
+
395
+ /*
396
+ * Default callback function if correct one does not exist
397
+ */
398
+ function pib_missing_callback( $args ) {
399
+ printf( __( 'The callback function used for the <strong>%s</strong> setting is missing.', 'pib' ), $args['id'] );
400
+ }
401
+
402
+ /*
403
+ * Function used to return an array of all of the plugin settings
404
+ */
405
+ function pib_get_settings() {
406
+
407
+ // If this is the first time running we need to set the defaults
408
+ if ( !get_option( 'pib_upgrade_has_run' ) ) {
409
+
410
+ // set default post visibility options
411
+ $post_visibility = get_option( 'pib_settings_post_visibility' );
412
+ $post_visibility['post_page_types']['display_home_page'] = 1;
413
+ $post_visibility['post_page_types']['display_posts'] = 1;
414
+ $post_visibility['post_page_placement']['display_below_content'] = 1;
415
+
416
+ update_option( 'pib_settings_post_visibility', $post_visibility );
417
+
418
+ // set default general settings options
419
+ $general = get_option( 'pib_settings_general' );
420
+ $general['button_type'] = 'user_selects_image';
421
+ $general['count_layout'] = 'none';
422
+ $general['uninstall_save_settings'] = 1;
423
+
424
+ update_option( 'pib_settings_general', $general );
425
+
426
+ // add an option to let us know the initial settings have been run and we don't run them again
427
+ add_option( 'pib_upgrade_has_run', 1 );
428
+ }
429
+
430
+ $general_settings = is_array( get_option( 'pib_settings_general' ) ) ? get_option( 'pib_settings_general' ) : array();
431
+ $post_visibility_settings = is_array( get_option( 'pib_settings_post_visibility' ) ) ? get_option( 'pib_settings_post_visibility' ) : array();
432
+ $style_settings = is_array( get_option( 'pib_settings_styles' ) ) ? get_option( 'pib_settings_styles' ) : array();
433
+
434
+ return array_merge( $general_settings, $post_visibility_settings, $style_settings );
435
+ }
includes/shortcodes.php ADDED
@@ -0,0 +1,95 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Define plugin shortcodes.
5
+ *
6
+ * @package PIB
7
+ * @subpackage Includes
8
+ * @author Phil Derksen <pderksen@gmail.com>, Nick Young <mycorpweb@gmail.com>
9
+ */
10
+
11
+ // Exit if accessed directly.
12
+ if ( ! defined( 'ABSPATH' ) )
13
+ exit;
14
+
15
+ function pib_pinit_shortcode( $attr ) {
16
+ global $pib_options;
17
+ global $post;
18
+ $postID = $post->ID;
19
+
20
+ /*
21
+ For URL, image URL and Description, use in order:
22
+ 1) attribute value
23
+ 2) custom fields for post
24
+ 3) inherit from post: permalink, first image, post title
25
+ */
26
+
27
+ extract( shortcode_atts( array(
28
+ 'count' => 'none',
29
+ 'url' => '',
30
+ 'image_url' => '',
31
+ 'description' => '',
32
+ 'align' => 'none',
33
+ 'remove_div' => false,
34
+ 'button_type' => 'any'
35
+ ), $attr ) );
36
+
37
+ if ( empty( $url ) ) {
38
+ $url = get_post_meta( $postID, 'pib_url_of_webpage', true);
39
+
40
+ if ( empty( $url ) ) {
41
+ $url = get_permalink( $postID );
42
+ }
43
+ }
44
+
45
+ if ( empty( $image_url ) ) {
46
+ $image_url = get_post_meta( $postID, 'pib_url_of_img', true);
47
+
48
+ if ( empty( $image_url ) ) {
49
+ //Get url of img and compare width and height
50
+ $output = preg_match_all( '/<img.+src=[\'"]([^\'"]+)[\'"].*>/i', $post->post_content, $matches );
51
+
52
+ if ( ! ( 0 == $output || false == $output ) ) {
53
+ $image_url = $matches [1] [0];
54
+ } else {
55
+ $image_url = '';
56
+ }
57
+ }
58
+ }
59
+
60
+ if ( empty( $description ) ) {
61
+ $description = get_post_meta( $postID, 'pib_description', true);
62
+
63
+ if ( empty( $description ) ) {
64
+ $description = get_the_title( $postID );
65
+ }
66
+ }
67
+
68
+ // set button_type to a correct parameter to be passed
69
+ $button_type = ( $button_type == 'one' ? 'image_selected' : 'user_selects_image' );
70
+
71
+ $base_btn = pib_button_base( $button_type, $url, $image_url, $description, $count );
72
+
73
+ //Don't wrap with div or set float class if "remove div" is checked
74
+ if ( $remove_div ) {
75
+ return $base_btn;
76
+ }
77
+ else {
78
+ //Surround with div tag
79
+ $align_class = '';
80
+
81
+ if ( 'left' == $align ) {
82
+ $align_class = 'pib-align-left';
83
+ }
84
+ elseif ( 'right' == $align ) {
85
+ $align_class = 'pib-align-right';
86
+ }
87
+ elseif ( 'center' == $align ) {
88
+ $align_class = 'pib-align-center';
89
+ }
90
+
91
+ return '<div class="pin-it-btn-wrapper-shortcode ' . $align_class . '">' . $base_btn . '</div>';
92
+ }
93
+ }
94
+
95
+ add_shortcode( 'pinit', 'pib_pinit_shortcode' );
includes/upgrade-plugin.php ADDED
@@ -0,0 +1,103 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Run the upgrade process from version 1.x of the plugin to current.
5
+ *
6
+ * @package PIB
7
+ * @subpackage Includes
8
+ * @author Phil Derksen <pderksen@gmail.com>, Nick Young <mycorpweb@gmail.com>
9
+ */
10
+
11
+ // Exit if accessed directly.
12
+ if ( ! defined( 'ABSPATH' ) )
13
+ exit;
14
+
15
+ if ( ! get_option( 'pib_version' ) ) {
16
+ add_option( 'pib_version', $this->version );
17
+ } else {
18
+ add_option( 'pib_old_version', get_option( 'pib_version' ) );
19
+ }
20
+
21
+ // If this option exists then the plugin is before version 2.0.0
22
+ if ( get_option( 'pib_options' ) ) {
23
+ add_option( 'pib_old_version', '1.4.3' );
24
+ update_option( 'pib_upgrade_has_run', 1 );
25
+ }
26
+
27
+ // Only if the old version is less than the new version do we run our upgrade code.
28
+ if ( version_compare( get_option( 'pib_old_version' ), $this->version, '<' ) ) {
29
+ // need to update pib_upgrade_has_run so that we don;t load the defaults in too
30
+ update_option( 'pib_upgrade_has_run', 1 );
31
+ pib_do_all_upgrades();
32
+ } else {
33
+ // Delete our holder for the old version of PIB.
34
+ delete_option( 'pib_old_version' );
35
+ }
36
+
37
+ function pib_do_all_upgrades() {
38
+
39
+ $current_version = get_option( 'pib_old_version' );
40
+
41
+ // if less than version 2 then upgrade
42
+ if ( version_compare( $current_version, '2.0.0', '<' ))
43
+ pib_v2_upgrade();
44
+
45
+ delete_option( 'pib_old_version' );
46
+
47
+ }
48
+
49
+ function pib_v2_upgrade() {
50
+ // Add code here to transfer all the options to new tab layout
51
+
52
+ // Need to decipher which Post Visibility settings to update so we will use an array
53
+ $page_placement = array( 'display_above_content', 'display_below_content', 'display_on_post_excerpts' );
54
+
55
+ if ( get_option('pib_options' ) ) {
56
+ $old_options = get_option( 'pib_options' );
57
+
58
+ // get the new options so we can update them accordingly
59
+ $general_options = get_option( 'pib_settings_general' );
60
+ $post_visibility_options = get_option( 'pib_settings_post_visibility' );
61
+ $style_options = get_option( 'pib_settings_styles' );
62
+
63
+ // Do I need to add the new options here if they don't exist?
64
+
65
+ foreach ($old_options as $key => $value) {
66
+
67
+ if ( 'custom_css' == $key || 'remove_div' == $key ) {
68
+ // Add to styles settings
69
+ $style_options[$key] = $value;
70
+
71
+ } else if ( ! ( false === strrpos( $key, 'display' ) ) ) {
72
+ // Add to Post Visibility settings
73
+
74
+ // With the new options we have these setup as nested arrays so we need to check which one we are adding to
75
+ if ( in_array( $key, $page_placement ) ) {
76
+ $post_visibility_options['post_page_placement'][$key] = $value;
77
+ } else {
78
+ $post_visibility_options['post_page_types'][$key] = $value;
79
+ }
80
+
81
+ } else {
82
+ // Add to General Settings
83
+ // we are changing 'button_style' to 'button_type' going forward
84
+ if( 'button_style' == $key ) {
85
+ $general_options['button_type'] = $value;
86
+ } else {
87
+ $general_options[$key] = $value;
88
+ }
89
+ }
90
+
91
+ // add update options here
92
+ update_option( 'pib_settings_general', $general_options );
93
+ update_option( 'pib_settings_post_visibility', $post_visibility_options );
94
+ update_option( 'pib_settings_styles', $style_options );
95
+
96
+ // Delete old options
97
+ delete_option( 'pib_options' );
98
+ delete_option( 'pib_hide_pointer' );
99
+ }
100
+ }
101
+ }
102
+
103
+ pib_do_all_upgrades();
includes/widgets.php ADDED
@@ -0,0 +1,196 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Represents the view for the widget component of the plugin.
5
+ *
6
+ * @package PIB
7
+ * @subpackage Includes
8
+ * @author Phil Derksen <pderksen@gmail.com>, Nick Young <mycorpweb@gmail.com>
9
+ */
10
+
11
+ // Exit if accessed directly.
12
+ if ( ! defined( 'ABSPATH' ) )
13
+ exit;
14
+
15
+ class PIB_Widget extends WP_Widget {
16
+
17
+ public function __construct() {
18
+ parent::__construct(
19
+ 'pib_button',
20
+ __( 'Pinterest "Pin It" Button', 'pib' ),
21
+ array(
22
+ 'classname' => 'pib-clearfix', // Wrap widget with "clear fix" CSS trick.
23
+ 'description' => __( 'Add a Pinterest "Pin It" button to any widget area.', 'pib' )
24
+ ),
25
+ // Widen widget admin area.
26
+ array( 'width' => 400 )
27
+ );
28
+ }
29
+
30
+ public function widget( $args, $instance ) {
31
+ global $pib_options;
32
+ extract( $args );
33
+
34
+ $title = apply_filters( 'widget_title', empty( $instance['title'] ) ? '' : $instance['title'], $instance, $this->id_base );
35
+
36
+ $pib_url_of_webpage_widget = $instance['pib_url_of_webpage_widget'];
37
+
38
+ //Set URL to home page if button style is "user selects image"
39
+ if ( empty( $pib_url_of_webpage_widget ) && ( $pib_options['button_type'] == 'user_selects_image' ) ) {
40
+ $pib_url_of_webpage_widget = get_home_url();
41
+ }
42
+
43
+ $pib_url_of_img_widget = $instance['pib_url_of_img_widget'];
44
+ $pib_description_widget = $instance['pib_description_widget'];
45
+ $count_layout = empty( $instance['count_layout'] ) ? 'none' : $instance['count_layout'];
46
+ $align = empty( $instance['button_align'] ) ? 'none' : $instance['button_align'];
47
+ $pib_remove_div = (bool) $instance['remove_div'];
48
+ $button_type = empty ( $instance['button_type'] ) ? 'user_selects_image' : $instance['button_type'];
49
+
50
+ // If the button type is set for users to select image then we need to overwrite any values from the widget that are used
51
+ // for displaying a a pre-selected image. These are not erased from the widget, but are just overwritten here.
52
+ if ( 'user_selects_image' == $button_type ) {
53
+ $pib_url_of_webpage_widget = '';
54
+ $pib_url_of_img_widget = '';
55
+ $pib_description_widget = '';
56
+ }
57
+
58
+ $base_btn = pib_button_base( $button_type, $pib_url_of_webpage_widget, $pib_url_of_img_widget, $pib_description_widget, $count_layout );
59
+
60
+ echo $before_widget;
61
+
62
+ if ( ! empty( $title ) ) {
63
+ echo $before_title . $title . $after_title;
64
+ }
65
+
66
+ if ( $pib_remove_div ) {
67
+ echo $base_btn;
68
+ }
69
+ else {
70
+
71
+ $align_class = '';
72
+
73
+ if ( 'left' == $align ) {
74
+ $align_class = 'pib-align-left';
75
+ }
76
+ elseif ( 'right' == $align ) {
77
+ $align_class = 'pib-align-right';
78
+ }
79
+ elseif ( 'center' == $align ) {
80
+ $align_class = 'pib-align-center';
81
+ }
82
+
83
+ // Surround with div tag
84
+ echo '<div class="pin-it-btn-wrapper-widget ' . $align_class . '">' . $base_btn . '</div>';
85
+ }
86
+
87
+ echo $after_widget;
88
+ }
89
+
90
+ public function update( $new_instance, $old_instance ) {
91
+ $instance = $old_instance;
92
+
93
+ $instance['title'] = strip_tags($new_instance['title']);
94
+ $instance['pib_url_of_webpage_widget'] = strip_tags( $new_instance['pib_url_of_webpage_widget'] );
95
+ $instance['pib_url_of_img_widget'] = strip_tags( $new_instance['pib_url_of_img_widget'] );
96
+ $instance['pib_description_widget'] = strip_tags( $new_instance['pib_description_widget'] );
97
+ $instance['count_layout'] = $new_instance['count_layout'];
98
+ $instance['button_align'] = $new_instance['align'];
99
+ $instance['remove_div'] = ( $new_instance['remove_div'] ? 1 : 0 );
100
+ $instance['button_type'] = $new_instance['button_type'];
101
+
102
+ return $instance;
103
+ }
104
+
105
+ public function form( $instance ) {
106
+ global $pib_options;
107
+
108
+ $default = array(
109
+ 'title' => '',
110
+ 'count_layout' => 'none',
111
+ 'button_type' => 'user_selects_image',
112
+ 'pib_url_of_webpage_widget' => '',
113
+ 'pib_url_of_img_widget' => '',
114
+ 'pib_description_widget' => '',
115
+ 'button_align' => 'none',
116
+ 'remove_div' => 0
117
+ );
118
+
119
+ $instance = wp_parse_args( (array) $instance, $default );
120
+
121
+ $title = strip_tags($instance['title']);
122
+ $pib_url_of_webpage_widget = strip_tags( $instance['pib_url_of_webpage_widget'] );
123
+ $pib_url_of_img_widget = strip_tags( $instance['pib_url_of_img_widget'] );
124
+ $pib_description_widget = strip_tags( $instance['pib_description_widget'] );
125
+ $pib_button_type_widget = $instance['button_type'];
126
+ ?>
127
+
128
+ <p>
129
+ <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title (optional)', 'pib' ); ?>:</label>
130
+ <input class="widefat" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" type="text" value="<?php echo esc_attr( $title ); ?>" />
131
+ </p>
132
+ <p>
133
+ <label for="<?php echo $this->get_field_id( 'count_layout' ); ?>"><?php _e( 'Pin Count:', 'pib' ); ?></label>
134
+ <select name="<?php echo $this->get_field_name( 'count_layout' ); ?>" id="<?php echo $this->get_field_id( 'count_layout' ); ?>">
135
+ <option value="none" <?php selected( $instance['count_layout'], 'none' ); ?>><?php _e( 'Not Shown', 'pib' ); ?></option>
136
+ <option value="horizontal" <?php selected( $instance['count_layout'], 'horizontal' ); ?>><?php _e( 'Beside the Button', 'pib' ); ?></option>
137
+ <option value="vertical" <?php selected( $instance['count_layout'], 'vertical' ); ?>><?php _e( 'Above the Button', 'pib' ); ?></option>
138
+ </select>
139
+ </p>
140
+
141
+ <p>
142
+ Button Type:
143
+ </p>
144
+ <p>
145
+ <input class="pib-widget-toggle" type="radio" name="<?php echo $this->get_field_name( 'button_type' ); ?>" value="user_selects_image" id="<?php echo $this->get_field_id( 'user_selects_image' ); ?>" <?php checked( $pib_button_type_widget, 'user_selects_image' ); ?> />
146
+ <label for="<?php echo $this->get_field_id( 'user_selects_image' ); ?>"><?php _e( 'User selects image from popup (any image)', 'pib' ); ?></label>
147
+ </p>
148
+ <p>
149
+ <input class="pib-widget-toggle pib-widget-pre-selected" type="radio" name="<?php echo $this->get_field_name( 'button_type' ); ?>" value="image_selected" id="<?php echo $this->get_field_id( 'image_selected' ); ?>" <?php checked( $pib_button_type_widget, 'image_selected' ); ?> />
150
+ <label for="<?php echo $this->get_field_id( 'image_selected' ); ?>"><?php _e( 'Image is pre-selected (one image -- defaults to first image in post)', 'pib' ); ?></label>
151
+ </p>
152
+
153
+ <p class="description">
154
+ <?php _e( 'These 3 text fields will be used only if the button type is "image pre-selected".', 'pib' ); ?>
155
+ </p>
156
+
157
+ <div class="pib-widget-text-fields">
158
+ <p>
159
+ <label for="<?php echo $this->get_field_id( 'pib_url_of_webpage_widget' ); ?>"><?php _e( 'URL of the web page to be pinned', 'pib' ); ?>:</label>
160
+ <input class="widefat" id="<?php echo $this->get_field_id( 'pib_url_of_webpage_widget' ); ?>" name="<?php echo $this->get_field_name( 'pib_url_of_webpage_widget' ); ?>"
161
+ type="text" value="<?php echo esc_attr( $pib_url_of_webpage_widget ); ?>" />
162
+ </p>
163
+ <p>
164
+ <label for="<?php echo $this->get_field_id( 'pib_url_of_img_widget' ); ?>"><?php _e( 'URL of the image to be pinned', 'pib' ); ?>:</label>
165
+ <input class="widefat" id="<?php echo $this->get_field_id( 'pib_url_of_img_widget' ); ?>" name="<?php echo $this->get_field_name( 'pib_url_of_img_widget' ); ?>"
166
+ type="text" value="<?php echo esc_attr( $pib_url_of_img_widget ); ?>" />
167
+ </p>
168
+ <p>
169
+ <label for="<?php echo $this->get_field_id( 'pib_description_widget' ); ?>"><?php _e( 'Description of the pin (optional)', 'pib' ); ?>:</label>
170
+ <input class="widefat" id="<?php echo $this->get_field_id( 'pib_description_widget' ); ?>" name="<?php echo $this->get_field_name( 'pib_description_widget' ); ?>"
171
+ type="text" value="<?php echo esc_attr( $pib_description_widget ); ?>" />
172
+ </p>
173
+ </div>
174
+
175
+ <p>
176
+ <label for="<?php echo $this->get_field_id( 'align' ); ?>"><?php _e( 'Alignment', 'pib' ); ?>:</label>
177
+ <select name="<?php echo $this->get_field_name( 'align' ); ?>" id="<?php echo $this->get_field_id( 'align' ); ?>">
178
+ <option value="none" <?php selected( $instance['button_align'], 'none' ); ?>><?php _e( 'None', 'pib' ); ?></option>
179
+ <option value="left" <?php selected( $instance['button_align'], 'left' ); ?>><?php _e( 'Left', 'pib' ); ?></option>
180
+ <option value="right" <?php selected( $instance['button_align'], 'right' ); ?>><?php _e( 'Right', 'pib' ); ?></option>
181
+ <option value="center" <?php selected( $instance['button_align'], 'center' ); ?>><?php _e( 'Center', 'pib' ); ?></option>
182
+ </select>
183
+ </p>
184
+
185
+ <p>
186
+ <input class="checkbox" <?php checked($instance['remove_div'], true) ?> id="<?php echo $this->get_field_id( 'remove_div' ); ?>"
187
+ name="<?php echo $this->get_field_name( 'remove_div' ); ?>" type="checkbox"/>
188
+ <label for="<?php echo $this->get_field_id( 'remove_div' ); ?>">
189
+ <?php _e( 'Remove div tag surrounding this widget button. Also removes alignment setting.', 'pib' ); ?>
190
+ </label>
191
+ </p>
192
+ <?php
193
+ }
194
+ }
195
+
196
+ add_action( 'widgets_init', create_function( '', 'register_widget("PIB_Widget");' ) );
index.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php // Silence is golden ?>
js/gplus-embed.js DELETED
@@ -1,8 +0,0 @@
1
- //Embed JS that gets rendered in footer once if using official Google +1 JS buttons
2
- //https://developers.google.com/+/plugins/+1button/
3
-
4
- (function() {
5
- var po = document.createElement('script'); po.type = 'text/javascript'; po.async = true;
6
- po.src = 'https://apis.google.com/js/plusone.js';
7
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(po, s);
8
- })();
 
 
 
 
 
 
 
 
js/index.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php // Silence is golden ?>
js/pin-it-button-custom-btn-img.js DELETED
@@ -1,55 +0,0 @@
1
- //JS to create count bubble for custom image button
2
- //Modified from original Pinterest iframe pinit.html
3
-
4
- jQuery(document).ready(function($) {
5
- var baseApiUrl = "//api.pinterest.com/v1/urls/count.json?callback=?";
6
-
7
- //Loop through pin it button table that contains css/image and count bubble
8
- $(".pib-count-table").each(function (index) {
9
- var parentContainer = $(this);
10
- var pinItLink = parentContainer.find(".pin-it-button-no-iframe");
11
- var countLayout = 'horizontal';
12
- var alwaysShowCount = false;
13
-
14
- // Parse args
15
- var vars = {}
16
- var url = pinItLink.attr("href");
17
- var pairs = url.slice(url.indexOf('?') + 1).split('&');
18
- for (var i = 0; i < pairs.length; i++) {
19
- var parts = pairs[i].split('=');
20
- vars[parts[0]] = parts[1];
21
- }
22
-
23
- countLayout = pinItLink.attr("count-layout") || countLayout;
24
- alwaysShowCount = pinItLink.attr("always-show-count") || alwaysShowCount;
25
-
26
- // Request count from API
27
- if (countLayout != 'none' || alwaysShowCount) {
28
- var targetUrl = vars['url'] || vars['media'];
29
-
30
- //Decode URL and convert + to space
31
- //http://stackoverflow.com/questions/901115/get-query-string-values-in-javascript
32
- targetUrl = decodeURIComponent(targetUrl.replace(/\+/g, " "));
33
-
34
- $.getJSON(baseApiUrl, { url: targetUrl }, function (data) {
35
- //Don't show count bubble if count is zero
36
- if ((data.count < 1) && !alwaysShowCount) {
37
- return;
38
- }
39
-
40
- //Transform count (from Pinterest JS)
41
- var count = data.count;
42
- if (count > 999 && count <= 999999)
43
- count = Math.floor(count / 1000) + "K+";
44
- else if (count > 999999 && count <= 999999999)
45
- count = Math.floor(count / 1000000) + "M+";
46
- else if (count > 999999999)
47
- count = "++";
48
-
49
- //If this far display the bubble and count
50
- parentContainer.find(".pib-count-cell").show();
51
- parentContainer.find(".pib-count-bubble").html(count);
52
- });
53
- }
54
- });
55
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
js/pin-it-button-image-selected.js DELETED
@@ -1,8 +0,0 @@
1
- //Add click event for image-selected/no-iframe version
2
- jQuery(document).ready(function($) {
3
- $("a.pin-it-button-image-selected").click(function(event) {
4
- event.preventDefault();
5
- var modal = window.open($(this).attr('href'),'pibModal','width=665,height=300');
6
- if (window.focus) { modal.focus(); }
7
- });
8
- });
 
 
 
 
 
 
 
 
js/pin-it-button-user-selects-image.js DELETED
@@ -1,16 +0,0 @@
1
- //Added function for firing off Pinterest's pinmarklet.js for "user selects image" button type
2
- function execPinmarklet() {
3
- var e=document.createElement('script');
4
- e.setAttribute('type','text/javascript');
5
- e.setAttribute('charset','UTF-8');
6
- e.setAttribute('src','http://assets.pinterest.com/js/pinmarklet.js?r=' + Math.random()*99999999);
7
- document.body.appendChild(e);
8
- }
9
-
10
- //Add click event for user-selects-image/no-frame version
11
- jQuery(document).ready(function($) {
12
- $("a.pin-it-button-user-selects-image").click(function(event) {
13
- event.preventDefault();
14
- execPinmarklet();
15
- });
16
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
js/pinterest-pin-it-button-admin.js DELETED
@@ -1,72 +0,0 @@
1
- //See http://digwp.com/2011/09/using-instead-of-jquery-in-wordpress/
2
-
3
- jQuery(document).ready(function($) {
4
-
5
- //Enable collapse/expand toggle of admin boxes (like WP dashboard)
6
-
7
- $(".pib-hndle").toggle(function() {
8
- $(this).next(".inside").slideToggle("fast");
9
- }, function () {
10
- $(this).next(".inside").slideToggle("fast");
11
- });
12
-
13
- $(".pib-handlediv").toggle(function() {
14
- $(this).next(".pib-hndle").next(".inside").slideToggle("fast");
15
- }, function() {
16
- $(this).next(".pib-hndle").next(".inside").slideToggle("fast");
17
- });
18
-
19
- /*** Custom Button Image ***/
20
-
21
- disableCustomButtonImage();
22
-
23
- $("#use_custom_img_btn").change(function(event) {
24
- disableCustomButtonImage();
25
- });
26
-
27
- //Disable custom button image label and row elements depending on enabled checkbox
28
- function disableCustomButtonImage() {
29
- var customButtonEnabled = $("#use_custom_img_btn").is(":checked");
30
-
31
- $("#custom_img_btn_select_row, #custom_btn_img, #custom_btn_img_select_link").toggleClass("disabled", !customButtonEnabled);
32
- }
33
-
34
- //Process custom button image selection from thickbox popup (Pro)
35
- //Making table cell clickable instead of inside link tag
36
- $("#custom_img_btn_selector .custom-btn-img-cell").click(function(event) {
37
- event.preventDefault();
38
-
39
- var img_url = $(this).data("img-url");
40
-
41
- //Close thickbox popup right after click
42
- tb_remove();
43
-
44
- //Update settings screen current image under modal box
45
- //Just fill in hidden field on parent form. No need to post via ajax.
46
- $("img#custom_btn_img").prop("src", img_url);
47
- $("input#custom_btn_img_url").val(img_url);
48
- });
49
-
50
- //Close custom button image examples thickbox popup (Lite)
51
- $("#custom_img_btn_examples_container .upgrade-text a.close").click(function(event) {
52
- tb_remove();
53
- });
54
-
55
- /*** Other Social Sharing Buttons / Share Bar ***/
56
-
57
- disableShareBarSelection();
58
-
59
- $("#use_other_sharing_buttons").change(function(event) {
60
- disableShareBarSelection();
61
- });
62
-
63
- //Disable share bar label and drop-downs depending on enabled checkbox
64
- function disableShareBarSelection() {
65
- var sharingEnabled = $("#use_other_sharing_buttons").is(":checked");
66
-
67
- //Adding disable attribute causes drop-down values to save as blank, so just add visual disable class
68
- //$("#share_btn_1, #share_btn_2, #share_btn_3, #share_btn_4").prop("disabled", !sharingEnabled);
69
- $("#share_btn_label, #share_btn_1, #share_btn_2, #share_btn_3, #share_btn_4").toggleClass("disabled", !sharingEnabled);
70
- }
71
-
72
- });
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
js/twitter-embed.js DELETED
@@ -1,4 +0,0 @@
1
- //Embed JS that gets rendered in footer once if using official Tweet JS buttons
2
- //https://twitter.com/about/resources/buttons
3
-
4
- !function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0];if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src="//platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");
 
 
 
 
license.txt CHANGED
@@ -1,13 +1,12 @@
1
- GNU GENERAL PUBLIC LICENSE
2
- Version 2, June 1991
3
-
4
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
5
- 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA
6
 
 
 
7
  Everyone is permitted to copy and distribute verbatim copies
8
  of this license document, but changing it is not allowed.
9
 
10
- Preamble
11
 
12
  The licenses for most software are designed to take away your
13
  freedom to share and change it. By contrast, the GNU General Public
@@ -16,7 +15,7 @@ software--to make sure the software is free for all its users. This
16
  General Public License applies to most of the Free Software
17
  Foundation's software and to any other program whose authors commit to
18
  using it. (Some other Free Software Foundation software is covered by
19
- the GNU Library General Public License instead.) You can apply it to
20
  your programs, too.
21
 
22
  When we speak of free software, we are referring to freedom, not
@@ -57,7 +56,7 @@ patent must be licensed for everyone's free use or not licensed at all.
57
  The precise terms and conditions for copying, distribution and
58
  modification follow.
59
 
60
- GNU GENERAL PUBLIC LICENSE
61
  TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
62
 
63
  0. This License applies to any program or other work which contains
@@ -121,6 +120,7 @@ distribute the same sections as part of a whole which is a work based
121
  on the Program, the distribution of the whole must be on the terms of
122
  this License, whose permissions for other licensees extend to the
123
  entire whole, and thus to each and every part regardless of who wrote it.
 
124
  Thus, it is not the intent of this section to claim rights or contest
125
  your rights to work written entirely by you; rather, the intent is to
126
  exercise the right to control the distribution of derivative or
@@ -255,7 +255,7 @@ make exceptions for this. Our decision will be guided by the two goals
255
  of preserving the free status of all derivatives of our free software and
256
  of promoting the sharing and reuse of software generally.
257
 
258
- NO WARRANTY
259
 
260
  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261
  FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
@@ -277,5 +277,63 @@ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277
  PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278
  POSSIBILITY OF SUCH DAMAGES.
279
 
280
- END OF TERMS AND CONDITIONS
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
281
 
 
 
 
 
 
1
+ GNU GENERAL PUBLIC LICENSE
2
+ Version 2, June 1991
 
 
 
3
 
4
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
5
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6
  Everyone is permitted to copy and distribute verbatim copies
7
  of this license document, but changing it is not allowed.
8
 
9
+ Preamble
10
 
11
  The licenses for most software are designed to take away your
12
  freedom to share and change it. By contrast, the GNU General Public
15
  General Public License applies to most of the Free Software
16
  Foundation's software and to any other program whose authors commit to
17
  using it. (Some other Free Software Foundation software is covered by
18
+ the GNU Lesser General Public License instead.) You can apply it to
19
  your programs, too.
20
 
21
  When we speak of free software, we are referring to freedom, not
56
  The precise terms and conditions for copying, distribution and
57
  modification follow.
58
 
59
+ GNU GENERAL PUBLIC LICENSE
60
  TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61
 
62
  0. This License applies to any program or other work which contains
120
  on the Program, the distribution of the whole must be on the terms of
121
  this License, whose permissions for other licensees extend to the
122
  entire whole, and thus to each and every part regardless of who wrote it.
123
+
124
  Thus, it is not the intent of this section to claim rights or contest
125
  your rights to work written entirely by you; rather, the intent is to
126
  exercise the right to control the distribution of derivative or
255
  of preserving the free status of all derivatives of our free software and
256
  of promoting the sharing and reuse of software generally.
257
 
258
+ NO WARRANTY
259
 
260
  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261
  FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
277
  PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278
  POSSIBILITY OF SUCH DAMAGES.
279
 
280
+ END OF TERMS AND CONDITIONS
281
+
282
+ How to Apply These Terms to Your New Programs
283
+
284
+ If you develop a new program, and you want it to be of the greatest
285
+ possible use to the public, the best way to achieve this is to make it
286
+ free software which everyone can redistribute and change under these terms.
287
+
288
+ To do so, attach the following notices to the program. It is safest
289
+ to attach them to the start of each source file to most effectively
290
+ convey the exclusion of warranty; and each file should have at least
291
+ the "copyright" line and a pointer to where the full notice is found.
292
+
293
+ <one line to give the program's name and a brief idea of what it does.>
294
+ Copyright (C) <year> <name of author>
295
+
296
+ This program is free software; you can redistribute it and/or modify
297
+ it under the terms of the GNU General Public License as published by
298
+ the Free Software Foundation; either version 2 of the License, or
299
+ (at your option) any later version.
300
+
301
+ This program is distributed in the hope that it will be useful,
302
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
303
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
304
+ GNU General Public License for more details.
305
+
306
+ You should have received a copy of the GNU General Public License along
307
+ with this program; if not, write to the Free Software Foundation, Inc.,
308
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
309
+
310
+ Also add information on how to contact you by electronic and paper mail.
311
+
312
+ If the program is interactive, make it output a short notice like this
313
+ when it starts in an interactive mode:
314
+
315
+ Gnomovision version 69, Copyright (C) year name of author
316
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317
+ This is free software, and you are welcome to redistribute it
318
+ under certain conditions; type `show c' for details.
319
+
320
+ The hypothetical commands `show w' and `show c' should show the appropriate
321
+ parts of the General Public License. Of course, the commands you use may
322
+ be called something other than `show w' and `show c'; they could even be
323
+ mouse-clicks or menu items--whatever suits your program.
324
+
325
+ You should also get your employer (if you work as a programmer) or your
326
+ school, if any, to sign a "copyright disclaimer" for the program, if
327
+ necessary. Here is a sample; alter the names:
328
+
329
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
331
+
332
+ <signature of Ty Coon>, 1 April 1989
333
+ Ty Coon, President of Vice
334
 
335
+ This General Public License does not permit incorporating your program into
336
+ proprietary programs. If your program is a subroutine library, you may
337
+ consider it more useful to permit linking proprietary applications with the
338
+ library. If this is what you want to do, use the GNU Lesser General
339
+ Public License instead of this License.
pinterest-pin-it-button.php CHANGED
@@ -1,64 +1,32 @@
1
  <?php
2
- /*
3
- Plugin Name: Pinterest "Pin It" Button Lite
4
- Plugin URI: http://pinterestplugin.com
5
- Description: Add a Pinterest "Pin It" Button to your posts and pages allowing your readers easily pin your images. Includes shortcode and widget.
6
- Author: Phil Derksen
7
- Author URI: http://pinterestplugin.com
8
- Version: 1.4.3
9
- License: GPLv2
10
- Copyright 2012 Phil Derksen (phil@pinterestplugin.com)
11
- */
12
-
13
- define( 'PIB_IS_PRO', false );
14
-
15
- /***************************
16
- * Global Constants
17
- ***************************/
18
-
19
- define( 'PIB_BASE_NAME', plugin_basename( __FILE__ ) ); // pinterest-pin-it-button/pinterest-pin-it-button.php
20
- define( 'PIB_BASE_DIR_SHORT', dirname( PIB_BASE_NAME ) ); // pinterest-pin-it-button
21
- define( 'PIB_BASE_DIR_LONG', dirname( __FILE__ ) ); // ../wp-content/plugins/pinterest-pin-it-button (physical file path)
22
- define( 'PIB_INC_DIR', PIB_BASE_DIR_LONG . '/inc/' ); // ../wp-content/plugins/pinterest-pin-it-button/inc/ (physical file path)
23
- define( 'PIB_BASE_URL', plugin_dir_url( __FILE__ ) ); // http://mysite.com/wp-content/plugins/pinterest-pin-it-button/
24
- define( 'PIB_IMAGES_URL', PIB_BASE_URL . 'img/' ); // http://mysite.com/wp-content/plugins/pinterest-pin-it-button/img/
25
- define( 'PIB_CSS_URL', PIB_BASE_URL . 'css/' );
26
- define( 'PIB_JS_URL', PIB_BASE_URL . 'js/' );
27
-
28
- define( 'PIB_UPGRADE_URL_BASE', 'http://pinterestplugin.com/pin-it-button-pro/' );
29
- define( 'PIB_DEFAULT_CUSTOM_BUTTON_IMAGE_URL', PIB_IMAGES_URL . 'pin-it-buttons/set01/a04.png' );
30
-
31
- register_activation_hook( __FILE__, 'pib_install' );
32
-
33
- $pib_options = get_option( 'pib_options' );
34
-
35
- /***************************
36
- * Includes
37
- ***************************/
38
-
39
- require_once( PIB_INC_DIR . 'admin-general-functions-shared.php' );
40
- require_once( PIB_INC_DIR . 'admin-display-functions-shared.php' );
41
- require_once( PIB_INC_DIR . 'public-display-functions.php' );
42
-
43
- if ( PIB_IS_PRO ) {
44
- require_once( PIB_INC_DIR . 'admin-general-functions-pro.php' );
45
- require_once( PIB_INC_DIR . 'admin-display-functions-pro.php' );
46
- require_once( PIB_INC_DIR . 'public-display-functions-pro.php' );
47
- }
48
- else {
49
- require_once( PIB_INC_DIR . 'admin-display-functions-lite.php' );
50
- }
51
-
52
- require_once( PIB_INC_DIR . 'widget.php' );
53
- require_once( PIB_INC_DIR . 'shortcode.php' );
54
- require_once( PIB_INC_DIR . 'post-meta.php' );
55
- require_once( PIB_INC_DIR . 'category-meta.php' );
56
-
57
- /***************************
58
- * Debug Code
59
- ***************************/
60
-
61
- function pib_debug_print( $value ) {
62
- print_r( $value );
63
- echo '<br/>';
64
- }
1
  <?php
2
+ /**
3
+ * Pinterest "Pin It" Button Lite
4
+ *
5
+ * @package PIB
6
+ * @author Phil Derksen <pderksen@gmail.com>, Nick Young <mycorpweb@gmail.com>
7
+ * @license GPL-2.0+
8
+ * @link http://pinterestplugin.com
9
+ * @copyright 2011-2013 Phil Derksen
10
+ *
11
+ * @wordpress-plugin
12
+ * Plugin Name: Pinterest "Pin It" Button Lite
13
+ * Plugin URI: http://pinterestplugin.com
14
+ * Description: Add a Pinterest "Pin It" Button to your site and get your visitors to start pinning your awesome content!
15
+ * Version: 2.0.0
16
+ * Author: Phil Derksen
17
+ * Author URI: http://philderksen.com
18
+ * License: GPL-2.0+
19
+ * License URI: http://www.gnu.org/licenses/gpl-2.0.txt
20
+ */
21
+
22
+ // Exit if accessed directly.
23
+ if ( ! defined( 'ABSPATH' ) )
24
+ exit;
25
+
26
+ if( ! class_exists( 'Pinterest_Pin_It_Button' ) )
27
+ require_once( plugin_dir_path( __FILE__ ) . 'class-pinterest-pin-it-button.php' );
28
+
29
+ // Register hooks that are fired when the plugin is activated, deactivated, and uninstalled, respectively.
30
+ register_activation_hook( __FILE__, array( 'Pinterest_Pin_It_Button', 'activate' ) );
31
+
32
+ Pinterest_Pin_It_Button::get_instance();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
readme.txt CHANGED
@@ -1,167 +1,230 @@
1
- === Pinterest "Pin It" Button ===
2
- Contributors: pderksen
3
- Tags: pinterest, pin it, pin it button, social
4
- Requires at least: 3.2
5
- Tested up to: 3.5
6
- Stable tag: trunk
7
-
8
- Easily add a Pinterest "Pin It" Button to your site and encourage your visitors pin your awesome content!
9
-
10
- == Description ==
11
-
12
- Add a simple Pinterest "Pin It" Button to your posts in 2 minutes!
13
-
14
- ###Pinterest "Pin It" Button Plugin Features:###
15
-
16
- * Let the reader select an image from a popup (Pinterest bookmarklet style)
17
- * (or) Specify the image to pin on each post (Pinterest default)
18
- * Show horizontal, vertical or no pin count (Pinterest counts per post/URL)
19
- * Show or hide the button on any post, page or category
20
- * Add custom CSS to align with other sharing buttons
21
- * Sidebar widget and shortcode options included
22
-
23
- ###Additional Features Available in Pinterest "Pin It" Button PRO:###
24
-
25
- * 30 Custom "Pin It" Button Designs to choose from
26
- * Facebook, Twitter & Google +1 sharing button included
27
- * Allow featured images to be pre-selected when pinning
28
- * Automatic Upgrades & Priority Support
29
-
30
- [Upgrade to Pinterest "Pin It" Button PRO! &raquo;](http://pinterestplugin.com/pin-it-button-pro/?utm_source=wordpress_org&utm_medium=link&utm_campaign=pin_it_button_lite)
31
-
32
- ###Raves###
33
-
34
- * "The Pinterest 'Pin It' Button is a painless solution for bloggers just getting started with this social network." -- [WP Jedi](http://www.wpjedi.com/pinterest-pin-it-button-for-wordpress/)
35
- * Top 10 Plugins for February 2012 (the only Pinterest one) -- [ManageWP](http://managewp.com/top-10-wordpress-plugins-of-the-month-february)
36
- * "If you want to make it easy for Pinterest users to pin your articles, consider using this 'Pin It' button plugin." -- [WP Tavern](http://www.wptavern.com/pin-it-is-the-new-bookmark)
37
- * "If you're looking for something simple and obtrusive, the Pinterest 'Pin It' Button will suit you." -- [WPMU.org](http://wpmu.org/pinterest-plugins-wordpress/)
38
-
39
- [See a demo the Pinterest "Pin It" Button &raquo;](http://bruisesandbandaids.com/2011/newborn-photography-props/) (see bottom of the post)
40
-
41
- [Upgrade to "Pin It" Button Pro Now! &raquo;](http://pinterestplugin.com/pin-it-button-pro/?utm_source=wordpress_org&utm_medium=link&utm_campaign=pin_it_button_lite)
42
-
43
- = More Pinterest Plugins =
44
-
45
- * [Pinterest Top Pinned Posts](http://pinterestplugin.com/top-pinned-posts/?utm_source=wordpress_org&utm_medium=link&utm_campaign=pin_it_button_lite)
46
- * [Pinterest "Follow" Button](http://pinterestplugin.com/follow-button)
47
- * [Pinterest Block](http://pinterestplugin.com/pinterest-block)
48
-
49
- == Installation ==
50
-
51
- **Finding and installing through the WordPress admin:**
52
-
53
- 1. If searching for this plugin in your WordPress admin, search for "pin it button".
54
- 1. Find the plugin that's labeled *Pinterest "Pin It" Button" with "Pin It" in quotes.
55
- 1. Also look for my name as the author (*Phil Derksen*). There are other "Pin It" button plugins which is why this can be confusing.
56
- 1. Click "Install Now", then Activate, then head to the new menu item on the left labeled "Pin It Button".
57
-
58
- **Alternative installation methods:**
59
-
60
- * Download this plugin, then upload through the WordPress admin (Plugins > Add New > Upload)
61
- * Download this plugin, unzip the contents, then FTP upload to the `/wp-content/plugins/` directory
62
-
63
- Note: If you overwrite the plugin using an FTP upload, you may lose some saved settings.
64
-
65
- == Frequently Asked Questions ==
66
-
67
- [FAQ maintained here &raquo;](http://pinterestplugin.com/pin-it-button-faq)
68
-
69
- == Screenshots ==
70
-
71
- 1. Settings page
72
- 2. Button display below a post
73
- 3. Widget options
74
- 4. Per page settings
75
- 5. Advanced settings
76
-
77
- == Changelog ==
78
-
79
- = 1.4.3 =
80
- * Fixed bug where Create Pin popup wasn't working in some cases.
81
-
82
- = 1.4.2 =
83
- * Tested with WordPress 3.5.
84
- * Added: Option to save settings upon plugin uninstall.
85
- * Changed: Removed "Always show pin count" option as it's no longer supported by Pinterest.
86
- * Changed: Iframe option removed as it's no longer supported by Pinterest.
87
- * Changed: Moved some JavaScript files to load in the footer rather than the header to improve page speed load and compatibility with Pinterest code. Theme must implement wp_footer() to function properly.
88
- * Fixed: Count="vertical" shortcode fixed.
89
- * Fixed: Updated button CSS/styles to improve compatibility with more themes.
90
- * Fixed: Checks theme support for post thumbnails and adds if needed.
91
- * Fixed: Various minor bug fixes.
92
-
93
- = 1.4.1 =
94
- * Fixed: Various shortcode fixes.
95
- * Fixed: Moved some JavaScript files that were loaded in the footer to now load in the header to improve compatibility with themes not implementing wp_footer().
96
- * Fixed: Updated button CSS/styles to improve compatibility with more themes.
97
-
98
- = 1.4.0 =
99
- * Changed/Fixed: Iframe removed when button set to "User selects image". Fixes security issues and display errors on some web hosts.
100
- * Added: Displays new features available if upgrading "Pin It" Button Pro
101
-
102
- = 1.3.1 =
103
- * Changed: Modified button JavaScript to be in line with Pinterest's current button embed JavaScript
104
- * Changed: Split up internal code files for easier maintenance and updates
105
- * Fixed: Shortcode -- If the attributes "url", "image_url" and/or "description" aren't specified, it will try and use the post's custom page url, image url and/or description if found. If not found it will default to the post's url, first image in post and post title.
106
- * Fixed: Changed the way defaults are set upon install so it shouldn't override previous settings
107
- * Fixed: Uninstall now removes custom post meta fields
108
-
109
- = 1.3.0 =
110
- * Added: Added a Pin Count option (horizontal or vertical)
111
- * Added: Added new button style where image is pre-selected (like official Pinterest button)
112
- * Added: Added fields for specifying URL, image URL and description for new button style **image pre-selected**
113
- * Added: Added float option for alignment (none, left or right) to widget and shortcode
114
- * Added: Shortcode -- Can now remove div tag wrapper
115
- * Added: Widget -- Can now remove div tag wrapper
116
- * Changed: Moved "Follow" button widget to separate plugin: [Pinterest "Follow" Button](http://wordpress.org/extend/plugins/pinterest-follow-button/)
117
- * Changed: Both button styles now embed iframe (like official Pinterest button)
118
- * Changed: External JavaScript now loads in footer for better performance
119
- * Fixed: Fixed bug where front page was still showing button even when Front Page was unchecked
120
- * Fixed: Fixed bug where some settings weren't saved when upgrading the plugin
121
- * Fixed: Fixed bug where tag, author, date and search archive pages were not displaying the button
122
-
123
- = 1.2.1 =
124
- * Fixed: Fixed bug with hiding posts/pages/categories when upgrading from a previous version
125
-
126
- = 1.2.0 =
127
- * Added: Added option to hide button per page/post
128
- * Added: Added option to hide button per category
129
- * Added: Added widget to display "Pin It" button
130
- * Added: Added widget to display "Follow" on Pinterest button
131
- * Fixed: Fixed CSS where some blogs weren't displaying the button properly
132
-
133
- = 1.1.3 =
134
- * Added: Added option to hide button on individual posts and pages (on post/page editing screen)
135
-
136
- = 1.1.2 =
137
- * Fixed: Removed use of session state storing for now as it caused errors for some
138
-
139
- = 1.1.1 =
140
- * Fixed: Updated jQuery coding method to avoid JavaScript conflicts with other plugins and themes some were getting
141
-
142
- = 1.1.0 =
143
- * Added: Added custom CSS area for advanced layout and styling
144
- * Added: Added checkbox option to remove the button's surrounding `<div>` tag
145
- * Added: Button image and style updated to match Pinterest's current embed code
146
- * Fixed: Changed the way the button click is called to solve pinning issues in Internet Explorer
147
-
148
- = 1.0.2 =
149
- * Added: Added checkbox option to display/hide button on post excerpts
150
- * Fixed: "Pin It" links generated by the shortcode should not show up when viewing the post in RSS readers
151
-
152
- = 1.0.1 =
153
- * Added: Added checkbox option to display/hide button on "front page" (sometimes different than home page)
154
-
155
- = 1.0.0 =
156
- * Added: Added checkbox options to select what types of pages the button should appear on
157
- * Added: Display options above and below content are now checkboxes (one or both can be selected)
158
- * Added: Added shortcode [pinit] to display button within content
159
-
160
- = 0.1.2 =
161
- * Changed: Moved javascript that fires on button click to a separate file
162
-
163
- = 0.1.1 =
164
- * Fixed style sheet reference
165
-
166
- = 0.1.0 =
167
- * Initial release
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ === Pinterest "Pin It" Button ===
2
+ Contributors: pderksen, nickyoung87
3
+ Tags: pinterest, pinterest, pin it button, social, social media, image, images, photo, photos, pinterest pin it button, pin it, social button
4
+ Requires at least: 3.5.2
5
+ Tested up to: 3.6.1
6
+ Stable tag: trunk
7
+ License: GPLv2 or later
8
+ License URI: http://www.gnu.org/licenses/gpl-2.0.html
9
+
10
+ Add a Pinterest "Pin It" Button to your site and get your visitors to start pinning your awesome content!
11
+
12
+ == Description ==
13
+
14
+ Add a simple Pinterest "Pin It" Button to your posts in 2 minutes!
15
+
16
+ ###"Pin It" Button Lite Features###
17
+
18
+ * Let the reader select an image when pinning or...
19
+ * Pre-select an image for them to pin.
20
+ * Default to the first image in the post or...
21
+ * Specify a specific image to pin per post.
22
+ * Hide the button on specific posts and pages.
23
+ * Add a "Pin It" button to your sidebar or footer as a widget.
24
+ * Place "Pin It" buttons anywhere using a shortcode.
25
+
26
+ ###Pro Version Features###
27
+
28
+ * Add "Pin It" buttons on image hover (in any corner).
29
+ * Add a "Pin It" button under each image.
30
+ * Pick from 30 custom "Pin It" button designs.
31
+ * Upload your own custom "Pin It" buttons.
32
+ * Twitter, Facebook, Google+ & LinkedIn sharing buttons included.
33
+ * Option to pin featured images.
34
+ * Show or hide on custom post types.
35
+ * WooCommerce compatibility
36
+ * Customer support and automatic updates
37
+
38
+ [Start Getting Pinned Like Crazy with "Pin It" Button Pro!](http://pinterestplugin.com/pin-it-button-pro/?utm_source=wordpress_org&utm_medium=link&utm_campaign=pin_it_button_lite)
39
+
40
+ Best of all, you don't need to copy and paste any code to get a "Pin It" button on your WordPress site.
41
+
42
+ We do the code insertions for you, and in full compliance with the [official "Pin It" button widget builder](http://business.pinterest.com/widget-builder/#do_pin_it_button).
43
+
44
+ ###Raves###
45
+
46
+ * "The Pinterest 'Pin It' Button is a painless solution for bloggers just getting started with this social network." -- [WP Jedi](http://www.wpjedi.com/pinterest-pin-it-button-for-wordpress/)
47
+ * Top 10 Plugins for February 2012 (the only Pinterest one) -- [ManageWP](http://managewp.com/top-10-wordpress-plugins-of-the-month-february)
48
+ * "If you want to make it easy for Pinterest users to pin your articles, consider using this 'Pin It' button plugin." -- [WP Tavern](http://www.wptavern.com/pin-it-is-the-new-bookmark)
49
+ * "If you're looking for something simple and obtrusive, the Pinterest 'Pin It' Button will suit you." -- [WPMU.org](http://wpmu.org/pinterest-plugins-wordpress/)
50
+
51
+ [See a "Pin It" Button Pro Demo](http://bruisesandbandaids.com/2011/newborn-photography-props/) (shows off the share bar and image hover features)
52
+
53
+ [Setup an Eye-Catching Button in Minutes with "Pin It" Button Pro!](http://pinterestplugin.com/pin-it-button-pro/?utm_source=wordpress_org&utm_medium=link&utm_campaign=pin_it_button_lite)
54
+
55
+ This plugin (and the Pro version) are in full compliance with current "Pin It" button developer guidelines at <http://developers.pinterest.com/pin_it/>.
56
+
57
+ We will do our best to keep both plugins up to date with the official developer guidelines.
58
+
59
+ == Installation ==
60
+
61
+ You can install this plugin one of three ways:
62
+
63
+ = 1. Admin Search =
64
+ 1. In your Admin, go to menu Plugins > Add.
65
+ 1. Search for `pin it button`.
66
+ 1. Find the plugin that's labeled `Pinterest "Pin It" Button` with "Pin It" in quotes.
67
+ 1. Look for the author names **Phil Derksen & Nick Young** on the plugin.
68
+ 1. Click to install.
69
+ 1. Activate the plugin.
70
+ 1. A new menu item `Pin It Button` will appear in your Admin.
71
+
72
+ = 2. Download & Upload =
73
+ 1. Download the plugin (.zip file) on the right column of this page.
74
+ 1. In your Admin, go to menu Plugins > Add.
75
+ 1. Select the tab "Upload".
76
+ 1. Upload the .zip file you just downloaded.
77
+ 1. Activate the plugin.
78
+ 1. A new menu item `Pin It Button` will appear in your Admin.
79
+
80
+ = 3. FTP Upload =
81
+ 1. Download the plugin (.zip file) on the right column of this page.
82
+ 1. Unzip the zip file contents.
83
+ 1. Upload the `pinterest-pin-it-button` folder to the `/wp-content/plugins/` directory of your site.
84
+ 1. Activate the plugin through the 'Plugins' menu in WordPress.
85
+ 1. A new menu item `Pin It Button` will appear in your Admin.
86
+
87
+ == Frequently Asked Questions ==
88
+
89
+ = General Troubleshooting =
90
+
91
+ If the "Pin It" button doesn't get triggered on click (and your browser is redirected to a pinterest.com URL), please make sure that there is not extra code that is hijacking the click event (for example, a Google Analytics onclick event).
92
+
93
+ A popular known plugin that does this is **Google Analytics for WordPress**. Try unchecking one or both of these options: 1) Track outbound clicks & downloads, 2) Check Advanced Settings, then make sure "Track outbound clicks as pageviews" is un-checked.
94
+
95
+ Your theme must implement **wp_footer()** in the footer.php file, otherwise JavaScript will not load correctly. You can test if this is the issue by switching to a WordPress stock theme such as twenty-twelve temporarily.
96
+
97
+ [Visit the complete knowledgebase](http://pinterestplugin.com/pin-it-button-faq?utm_source=wordpress_org&utm_medium=link&utm_campaign=pin_it_button_lite) for additional help and troubleshooting tips.
98
+
99
+ CSS styling and shortcode help available within the plugin admin.
100
+
101
+ == Screenshots ==
102
+
103
+ 1. Button display with count bubble beside
104
+ 2. Button display with count bubble above
105
+ 3. General button settings
106
+ 4. Post visibility and placement settings
107
+ 5. Style/CSS settings
108
+ 6. Widget settings
109
+ 7. Individual post (post meta) settings
110
+
111
+ == Changelog ==
112
+
113
+ = 2.0.0 =
114
+
115
+ * Tested up to WordPress 3.6.1.
116
+ * Now in full compliance with current "Pin It" button developer guidelines at <http://developers.pinterest.com/pin_it/>.
117
+ * More extensive Help section, which was moved to a separate submenu item.
118
+ * Updated CSS & JS output so they're much more "light weight" which should improve performance.
119
+ * Removed all references to "!important" in the public CSS to allow for more control of styles.
120
+ * Implemented more standards from the WordPress Settings API. Settings pages should be more maintainable going forward.
121
+ * Settings pages now using tabs to break up functionality.
122
+ * Can now specify button type for shortcode and widget. No longer inherits from main settings.
123
+ * Fixed so button now shows up on category pages.
124
+ * Added is_main_query() check for "the_content" filter.
125
+ * Removed show/hide button options on category edit screen (conflicted with post/page visibility changes).
126
+ * Optional Presstrends anonymous usage tracking.
127
+
128
+ = 1.4.3 =
129
+ * Fixed bug where Create Pin popup wasn't working in some cases.
130
+
131
+ = 1.4.2 =
132
+ * Tested with WordPress 3.5.
133
+ * Added: Option to save settings upon plugin uninstall.
134
+ * Changed: Removed "Always show pin count" option as it's no longer supported by Pinterest.
135
+ * Changed: Iframe option removed as it's no longer supported by Pinterest.
136
+ * Changed: Moved some JavaScript files to load in the footer rather than the header to improve page speed load and compatibility with Pinterest code. Theme must implement wp_footer() to function properly.
137
+ * Fixed: Count="vertical" shortcode fixed.
138
+ * Fixed: Updated button CSS/styles to improve compatibility with more themes.
139
+ * Fixed: Checks theme support for post thumbnails and adds if needed.
140
+ * Fixed: Various minor bug fixes.
141
+
142
+ = 1.4.1 =
143
+ * Fixed: Various shortcode fixes.
144
+ * Fixed: Moved some JavaScript files that were loaded in the footer to now load in the header to improve compatibility with themes not implementing wp_footer().
145
+ * Fixed: Updated button CSS/styles to improve compatibility with more themes.
146
+
147
+ = 1.4.0 =
148
+ * Changed/Fixed: Iframe removed when button set to "User selects image". Fixes security issues and display errors on some web hosts.
149
+ * Added: Displays new features available if upgrading "Pin It" Button Pro
150
+
151
+ = 1.3.1 =
152
+ * Changed: Modified button JavaScript to be in line with Pinterest's current button embed JavaScript
153
+ * Changed: Split up internal code files for easier maintenance and updates
154
+ * Fixed: Shortcode -- If the attributes "url", "image_url" and/or "description" aren't specified, it will try and use the post's custom page url, image url and/or description if found. If not found it will default to the post's url, first image in post and post title.
155
+ * Fixed: Changed the way defaults are set upon install so it shouldn't override previous settings
156
+ * Fixed: Uninstall now removes custom post meta fields
157
+
158
+ = 1.3.0 =
159
+ * Added: Added a Pin Count option (horizontal or vertical)
160
+ * Added: Added new button style where image is pre-selected (like official Pinterest button)
161
+ * Added: Added fields for specifying URL, image URL and description for new button style **image pre-selected**
162
+ * Added: Added float option for alignment (none, left or right) to widget and shortcode
163
+ * Added: Shortcode -- Can now remove div tag wrapper
164
+ * Added: Widget -- Can now remove div tag wrapper
165
+ * Changed: Moved "Follow" button widget to separate plugin: [Pinterest "Follow" Button](http://wordpress.org/extend/plugins/pinterest-follow-button/)
166
+ * Changed: Both button styles now embed iframe (like official Pinterest button)
167
+ * Changed: External JavaScript now loads in footer for better performance
168
+ * Fixed: Fixed bug where front page was still showing button even when Front Page was unchecked
169
+ * Fixed: Fixed bug where some settings weren't saved when upgrading the plugin
170
+ * Fixed: Fixed bug where tag, author, date and search archive pages were not displaying the button
171
+
172
+ = 1.2.1 =
173
+ * Fixed: Fixed bug with hiding posts/pages/categories when upgrading from a previous version
174
+
175
+ = 1.2.0 =
176
+ * Added: Added option to hide button per page/post
177
+ * Added: Added option to hide button per category
178
+ * Added: Added widget to display "Pin It" button
179
+ * Added: Added widget to display "Follow" on Pinterest button
180
+ * Fixed: Fixed CSS where some blogs weren't displaying the button properly
181
+
182
+ = 1.1.3 =
183
+ * Added: Added option to hide button on individual posts and pages (on post/page editing screen)
184
+
185
+ = 1.1.2 =
186
+ * Fixed: Removed use of session state storing for now as it caused errors for some
187
+
188
+ = 1.1.1 =
189
+ * Fixed: Updated jQuery coding method to avoid JavaScript conflicts with other plugins and themes some were getting
190
+
191
+ = 1.1.0 =
192
+ * Added: Added custom CSS area for advanced layout and styling
193
+ * Added: Added checkbox option to remove the button's surrounding `<div>` tag
194
+ * Added: Button image and style updated to match Pinterest's current embed code
195
+ * Fixed: Changed the way the button click is called to solve pinning issues in Internet Explorer
196
+
197
+ = 1.0.2 =
198
+ * Added: Added checkbox option to display/hide button on post excerpts
199
+ * Fixed: "Pin It" links generated by the shortcode should not show up when viewing the post in RSS readers
200
+
201
+ = 1.0.1 =
202
+ * Added: Added checkbox option to display/hide button on "front page" (sometimes different than home page)
203
+
204
+ = 1.0.0 =
205
+ * Added: Added checkbox options to select what types of pages the button should appear on
206
+ * Added: Display options above and below content are now checkboxes (one or both can be selected)
207
+ * Added: Added shortcode [pinit] to display button within content
208
+
209
+ = 0.1.2 =
210
+ * Changed: Moved javascript that fires on button click to a separate file
211
+
212
+ = 0.1.1 =
213
+ * Fixed style sheet reference
214
+
215
+ = 0.1.0 =
216
+ * Initial release
217
+
218
+ == Upgrade Notice ==
219
+
220
+ = 2.0.0 =
221
+
222
+ Version 2.0.0 includes a few changes that may affect the appearance of the "Pin It" button on your website.
223
+
224
+ It is now only providing features that are supported in the [official "Pin It" button](http://business.pinterest.com/widget-builder/#do_pin_it_button) from Pinterest.
225
+
226
+ Additional features can be found in ["Pin It" Button Pro!](http://pinterestplugin.com/pin-it-button-pro/?utm_source=wordpress_org&utm_medium=link&utm_campaign=pin_it_button_lite)
227
+
228
+ "Pin It" Button Lite has also been rewritten to be in full compliance with the current "Pin It" button developer guidelines at <http://developers.pinterest.com/pin_it/>.
229
+
230
+ Finally, all references to "!important" in the public CSS to allow for more control of styles. You may need to add or remove custom CSS to improve the layout and styling of the button.
screenshot-1.png CHANGED
Binary file
screenshot-2.jpg DELETED
Binary file
screenshot-2.png ADDED
Binary file
screenshot-3.png CHANGED
Binary file
screenshot-4.png CHANGED
Binary file
screenshot-5.png CHANGED
Binary file
screenshot-6.png ADDED
Binary file
screenshot-7.png ADDED
Binary file
uninstall.php CHANGED
@@ -1,30 +1,40 @@
1
  <?php
2
 
3
- //If uninstall/delete not called from WordPress then exit
4
- if ( !defined( 'WP_UNINSTALL_PLUGIN' ) ) {
 
 
 
 
 
 
 
5
  exit;
6
- }
7
-
8
- //Delete plugin options only if value checked
9
-
10
- global $pib_options;
11
-
12
- //Need to retrieve options here
13
- $pib_options = get_option( 'pib_options' );
14
-
15
- if ( !(bool)$pib_options['uninstall_save_settings'] ) {
16
-
17
- //Remove option records from options table
18
- delete_option( 'pib_options' );
19
- delete_option( 'pib_category_fields_option' );
20
-
21
- //Remove custom post meta fields
22
- $posts = get_posts( array( 'numberposts' => -1 ) );
23
 
24
- foreach( $posts as $post ) {
25
- delete_post_meta( $post->ID, 'pib_sharing_disabled' );
26
- delete_post_meta( $post->ID, 'pib_url_of_webpage' );
27
- delete_post_meta( $post->ID, 'pib_url_of_img' );
28
- delete_post_meta( $post->ID, 'pib_description' );
29
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
30
  }
1
  <?php
2
 
3
+ /**
4
+ * Fired when the plugin is uninstalled.
5
+ *
6
+ * @package PIB
7
+ * @author Phil Derksen <pderksen@gmail.com>, Nick Young <mycorpweb@gmail.com>
8
+ */
9
+
10
+ // If uninstall not called from WordPress, then exit.
11
+ if ( ! defined( 'WP_UNINSTALL_PLUGIN' ) )
12
  exit;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
13
 
14
+ // Legacy category option not used anymore. Delete either way.
15
+ delete_option( 'pib_category_fields_option' );
16
+
17
+ $general = get_option( 'pib_settings_general' );
18
+
19
+ // If the the option to save settings is checked then do nothing, otherwise delete all options and post meta
20
+ if ( $general['uninstall_save_settings'] ) {
21
+ // Do nothing
22
+ } else {
23
+ // Delete options
24
+ delete_option( 'pib_settings_general' );
25
+ delete_option( 'pib_settings_post_visibility' );
26
+ delete_option( 'pib_settings_styles' );
27
+ delete_option( 'pib_settings_misc' );
28
+ delete_option( 'pib_upgrade_has_run' );
29
+ delete_option( 'pib_version' );
30
+ delete_option( 'pib_show_admin_install_notice' );
31
+
32
+ // Delete widget options
33
+ delete_option( 'widget_pib_button' );
34
+
35
+ // Delete post meta
36
+ delete_post_meta_by_key( 'pib_sharing_disabled' );
37
+ delete_post_meta_by_key( 'pib_url_of_webpage' );
38
+ delete_post_meta_by_key( 'pib_url_of_img' );
39
+ delete_post_meta_by_key( 'pib_description' );
40
  }
views/admin-help.php ADDED
@@ -0,0 +1,203 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Represents the view for the administration page "Help".
5
+ *
6
+ * @package PIB
7
+ * @subpackage Views
8
+ * @author Phil Derksen <pderksen@gmail.com>, Nick Young <mycorpweb@gmail.com>
9
+ */
10
+
11
+ // Exit if accessed directly.
12
+ if ( ! defined( 'ABSPATH' ) )
13
+ exit;
14
+
15
+ ?>
16
+
17
+ <div class="wrap">
18
+
19
+ <div id="pib-settings">
20
+ <div id="pib-settings-content">
21
+
22
+ <?php screen_icon( 'pinterest-32' ); ?>
23
+ <h2><?php echo esc_html( get_admin_page_title() ); ?></h2>
24
+
25
+ <p>
26
+ <?php _e( 'Plugin version', 'pib' ); ?>: <strong><?php echo PIB_VERSION; ?></strong>
27
+ </p>
28
+
29
+ <h3 class="title"><?php _e( 'Individual Post/Page Overrides', 'pib' ); ?></h3>
30
+
31
+ <p>
32
+ <?php _e( 'You may individually override what website address (URL), image and description will be pinned for each post or page.', 'pib' ); ?>
33
+ <?php _e( 'These fields are located towards the bottom of the post/page edit screen.', 'pib' ); ?>
34
+ </p>
35
+
36
+ <h3 class="title"><?php _e( 'Shortcode', 'pib' ); ?></h3>
37
+
38
+ <p>
39
+ <?php _e( 'Use the shortcode', 'pib' ); ?> <code>[pinit]</code> <?php _e( 'to display the button within your content.', 'pib' ); ?>
40
+ </p>
41
+ <p>
42
+ <?php _e( 'Use the function', 'pib' ); ?> <code><?php echo htmlentities( '<?php echo do_shortcode(\'[pinit]\'); ?>' ); ?></code>
43
+ <?php _e( 'to display within template or theme files.', 'pib' ); ?>
44
+ </p>
45
+
46
+ <h4><?php _e( 'Available Attributes (Lite & Pro)', 'pib' ); ?></h4>
47
+
48
+ <table class="widefat importers" cellspacing="0">
49
+ <thead>
50
+ <tr>
51
+ <th><?php _e( 'Attribute', 'pib' ); ?></th>
52
+ <th><?php _e( 'Description', 'pib' ); ?></th>
53
+ <th><?php _e( 'Choices', 'pib' ); ?></th>
54
+ <th><?php _e( 'Default', 'pib' ); ?></th>
55
+ </tr>
56
+ </thead>
57
+ <tbody>
58
+ <tr>
59
+ <td>button_type</td>
60
+ <td><?php _e( '"Pin It" button behavior type', 'pib' ); ?></td>
61
+ <td>any (user selects images), one (image is pre-selected)</td>
62
+ <td>any</td>
63
+ </tr>
64
+ <tr>
65
+ <td>count</td>
66
+ <td><?php _e( 'Where to show the pin count bubble', 'pib' ); ?></td>
67
+ <td>none, horizontal (beside), vertical (above)</td>
68
+ <td>none</td>
69
+ </tr>
70
+ <tr>
71
+ <td>url</td>
72
+ <td><?php _e( 'URL of the web page to be pinned. Must be specified if used on home or index page.', 'pib' ); ?></td>
73
+ <td><?php _e( 'Any valid web page URL', 'pib' ); ?></td>
74
+ <td><?php _e( 'Current post/page URL', 'pib' ); ?></td>
75
+ </tr>
76
+ <tr>
77
+ <td>image_url</td>
78
+ <td><?php _e( 'URL of the image to be pinned', 'pib' ); ?></td>
79
+ <td><?php _e( 'Any valid image URL', 'pib' ); ?></td>
80
+ <td><?php _e( 'First image in post/page', 'pib' ); ?></td>
81
+ </tr>
82
+ <tr>
83
+ <td>description</td>
84
+ <td><?php _e( 'Description of the pin', 'pib' ); ?></td>
85
+ <td><?php _e( 'Any string of text', 'pib' ); ?></td>
86
+ <td>Post/page title</td>
87
+ </tr>
88
+ <tr>
89
+ <td>align</td>
90
+ <td><?php _e( 'Adds CSS to align button', 'pib' ); ?></td>
91
+ <td>none, left, right, center</td>
92
+ <td>none</td>
93
+ </tr>
94
+ <tr>
95
+ <td>remove_div</td>
96
+ <td><?php _e( 'If true removes surrounding div tag', 'pib' ); ?></td>
97
+ <td>true, false</td>
98
+ <td>false</td>
99
+ </tr>
100
+ </tbody>
101
+ </table>
102
+
103
+ <h4><?php _e( 'Available Attributes (Pro Only)', 'pib' ); ?></h4>
104
+
105
+ <table class="widefat importers" cellspacing="0">
106
+ <thead>
107
+ <tr>
108
+ <th><?php _e( 'Attribute', 'pib' ); ?></th>
109
+ <th><?php _e( 'Description', 'pib' ); ?></th>
110
+ <th><?php _e( 'Choices', 'pib' ); ?></th>
111
+ <th><?php _e( 'Default', 'pib' ); ?></th>
112
+ </tr>
113
+ </thead>
114
+ <tbody>
115
+ <tr>
116
+ <td>social_buttons</td>
117
+ <td><?php _e( 'If true will show other social sharing buttons (the share bar). Must be enabled in main settings. Inherits alignment and other styles from main settings.', 'pib' ); ?></td>
118
+ <td>true, false</td>
119
+ <td>false</td>
120
+ </tr>
121
+ <tr>
122
+ <td>use_featured_image</td>
123
+ <td><?php _e( 'If true and "image is pre-selected" is enabled, will default to post\'s featured image.', 'pib' ); ?></td>
124
+ <td>true, false</td>
125
+ <td>false</td>
126
+ </tr>
127
+ </tbody>
128
+ </table>
129
+
130
+ <h4><?php _e( 'Shortcode Examples', 'pib' ); ?></h4>
131
+
132
+ <ul class="ul-disc">
133
+ <li><code>[pinit count="horizontal" button_type="one"]</code></li>
134
+ <li><code>[pinit count="vertical" url="http://www.mysite.com" image_url="http://www.mysite.com/myimage.jpg" description="This is a description of my image." align="right"]</code></li>
135
+ <li><strong><?php _e( 'Pro only' ); ?>:</strong> <code>[pinit social_buttons="true" use_featured_image="true" count="horizontal"]</code></li>
136
+ </ul>
137
+
138
+ <h3 class="title"><?php _e( 'CSS Style Overrides', 'pib' ); ?></h3>
139
+
140
+ <p>
141
+ <?php _e( 'This plugin outputs a CSS file in an attempt to keep basic "Pin It" button styling intact.', 'pib' ); ?>
142
+ <?php _e( 'To override the CSS styles you may add your own CSS to the plugin\'s "Custom CSS" box or in your theme files.', 'pib' ); ?>
143
+ <?php _e( 'No !important tags are used in this plugin\'s CSS, but note that the embed code from Pinterest also renders some CSS (which may include !important tags).', 'pib' ); ?>
144
+ </p>
145
+
146
+ <h4><?php _e( 'Available CSS classes (Lite & Pro)', 'pib' ); ?></h4>
147
+
148
+ <ul class="ul-disc">
149
+ <li><code>div.pin-it-btn-wrapper</code> - <?php _e( 'Regular button container', 'pib' ); ?></li>
150
+ <li><code>div.pin-it-btn-wrapper a</code> - <?php _e( 'Regular button link tag', 'pib' ); ?></li>
151
+ <li><code>div.pin-it-btn-wrapper-shortcode</code> - <?php _e( 'Shortcode button container', 'pib' ); ?></li>
152
+ <li><code>div.pin-it-btn-wrapper-shortcode a</code> - <?php _e( 'Shortcode button link tag', 'pib' ); ?></li>
153
+ <li><code>div.pin-it-btn-wrapper-widget</code> - <?php _e( 'Widget button container', 'pib' ); ?></li>
154
+ <li><code>div.pin-it-btn-wrapper-widget a</code> - <?php _e( 'Widget button link tag', 'pib' ); ?></li>
155
+ </ul>
156
+
157
+ <p>
158
+ <?php _e( 'There is also a <code>span</code> element nested inside the "Pin It" button <code>a</code> tag which contains the count bubble.', 'pib' ); ?>
159
+ </p>
160
+
161
+ <h4><?php _e( 'Available CSS classes (Pro Only)', 'pib' ); ?></h4>
162
+
163
+ <ul class="ul-disc">
164
+ <li><code>a.pib-hover-btn-link</code> - <?php _e( 'Hover button link tag', 'pib' ); ?></li>
165
+ <li><code>div.pib-img-under-wrapper</code> - <?php _e( 'Below image button container', 'pib' ); ?></li>
166
+ <li><code>div.pib-img-under-wrapper a</code> - <?php _e( 'Below image button link tag', 'pib' ); ?></li>
167
+
168
+ <li><code>div.pib-sharebar</code> - <?php _e( 'Share bar container', 'pib' ); ?></li>
169
+ <li><code>li.pib-sharebar-pinterest</code> - <?php _e( 'Share bar: Pin It button container', 'pib' ); ?></li>
170
+ <li><code>li.pib-sharebar-facebook-share</code> - <?php _e( 'Share bar: Facebook Share button container', 'pib' ); ?></li>
171
+ <li><code>li.pib-sharebar-facebook</code> - <?php _e( 'Share bar: Facebook Like button container', 'pib' ); ?></li>
172
+ <li><code>li.pib-sharebar-twitter</code> - <?php _e( 'Share bar: Tweet button container', 'pib' ); ?></li>
173
+ <li><code>li.pib-sharebar-gplus-share</code> - <?php _e( 'Share bar: Google+ Share button container', 'pib' ); ?></li>
174
+ <li><code>li.pib-sharebar-gplus</code> - <?php _e( 'Share bar: Google +1 button container', 'pib' ); ?></li>
175
+ <li><code>li.pib-sharebar-linkedin</code> - <?php _e( 'Share bar: LinkedIn Share button container', 'pib' ); ?></li>
176
+ </ul>
177
+
178
+ <h4><?php _e( 'CSS Style Override Examples', 'pib' ); ?></h4>
179
+
180
+ <ul class="ul-disc">
181
+ <li><code>div.pin-it-btn-wrapper { padding-bottom: 50px; }</code> - <?php _e( 'Increase space under button', 'pib' ); ?></li>
182
+ <li><code>div.pin-it-btn-wrapper a { border: 1px solid red; }</code> - <?php _e( 'Add red border around button', 'pib' ); ?></li>
183
+ <li><code>div.pin-it-btn-wrapper-widget a { border: 1px solid red; }</code> - <?php _e( 'Add red border around widget button', 'pib' ); ?></li>
184
+ </ul>
185
+
186
+ <p>
187
+ <?php printf( __( 'Visit the <a href="%s" target="_blank">Knowledgebase</a> for additional help.', 'pib' ), 'http://pinterestplugin.com/support' ); ?>
188
+ </p>
189
+
190
+ </div><!-- #pib-settings-content -->
191
+
192
+ <?php // Always show sidebar on help page. Different for Lite & Pro. ?>
193
+
194
+ <div id="pib-settings-sidebar">
195
+ <?php if ( class_exists( 'Pinterest_Pin_It_Button_Pro' ) ): ?>
196
+ <?php include( 'admin-sidebar-pro.php' ); ?>
197
+ <?php else: ?>
198
+ <?php include( 'admin-sidebar.php' ); ?>
199
+ <?php endif; ?>
200
+ </div>
201
+ </div>
202
+
203
+ </div><!-- .wrap -->
views/admin-install-notice.php ADDED
@@ -0,0 +1,30 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Show notice after plugin install/activate in admin dashboard until user acknowledges.
5
+ *
6
+ * @package PIB
7
+ * @subpackage Views
8
+ * @author Phil Derksen <pderksen@gmail.com>, Nick Young <mycorpweb@gmail.com>
9
+ */
10
+
11
+ // Exit if accessed directly.
12
+ if ( ! defined( 'ABSPATH' ) )
13
+ exit;
14
+
15
+ ?>
16
+
17
+ <style>
18
+ #pib-install-notice .button-primary,
19
+ #pib-install-notice .button-secondary {
20
+ margin-left: 15px;
21
+ }
22
+ </style>
23
+
24
+ <div id="pib-install-notice" class="updated">
25
+ <p>
26
+ <?php echo $this->get_plugin_title() . __( ' is now installed.', 'pib' ); ?>
27
+ <a href="<?php echo add_query_arg( 'page', $this->plugin_slug, admin_url( 'admin.php' ) ); ?>" class="button-primary"><?php _e( 'Setup your Pin It button now', 'pib' ); ?></a>
28
+ <a href="<?php echo add_query_arg( 'pib-dismiss-install-nag', 1 ); ?>" class="button-secondary"><?php _e( 'Hide this', 'pib' ); ?></a>
29
+ </p>
30
+ </div>
views/admin-sidebar.php ADDED
@@ -0,0 +1,102 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Sidebar portion of the administration dashboard view (and subpages).
5
+ *
6
+ * @package PIB
7
+ * @subpackage Views
8
+ * @author Phil Derksen <pderksen@gmail.com>, Nick Young <mycorpweb@gmail.com>
9
+ */
10
+
11
+ // Exit if accessed directly.
12
+ if ( ! defined( 'ABSPATH' ) )
13
+ exit;
14
+ ?>
15
+
16
+ <div class="sidebar-container">
17
+ <h3 class="sidebar-title-large"><?php _e( 'Need More Options?', 'pib' ); ?></h3>
18
+
19
+ <div class="sidebar-content">
20
+ <ul>
21
+ <li><i class="fui-check"></i> <?php _e( 'Add "Pin It" buttons on image hover', 'pib' ); ?></li>
22
+ <li><i class="fui-check"></i> <?php _e( 'Add "Pin It" buttons under images', 'pib' ); ?></li>
23
+ <li><i class="fui-check"></i> <?php _e( '30 custom "Pin It" button designs', 'pib' ); ?></li>
24
+ <li><i class="fui-check"></i> <?php _e( 'Upload your own button designs', 'pib' ); ?></li>
25
+ <li><i class="fui-check"></i> <?php _e( 'Twitter, Facebook & G+ buttons', 'pib' ); ?></li>
26
+ <li><i class="fui-check"></i> <?php _e( 'Use with featured images', 'pib' ); ?></li>
27
+ <li><i class="fui-check"></i> <?php _e( 'Use with custom post types', 'pib' ); ?></li>
28
+
29
+ <?php if ( pib_is_woo_commerce_active() ): ?>
30
+ <li><i class="fui-check"></i> <?php _e( 'WooCommerce support', 'pib' ); ?></li>
31
+ <?php endif; ?>
32
+
33
+ <li><i class="fui-check"></i> <?php _e( 'Customer support & auto updates', 'pib' ); ?></li>
34
+ </ul>
35
+
36
+ <p class="last-blurb">
37
+ <?php _e( 'Get all of these and more with Pinterest "Pin It" Button Pro!', 'pib' ); ?>
38
+ </p>
39
+
40
+ <a href="<?php echo pib_ga_campaign_url( 'http://pinterestplugin.com/pin-it-button-pro/', 'pib_lite_2', 'sidebar_link', 'pro_upgrade' ); ?>"
41
+ class="btn btn-large btn-block btn-danger" target="_blank">
42
+ <?php _e( 'Upgrade to Pro Now', 'pib' ); ?></a>
43
+ <br/>
44
+ <p style="text-align: center;">
45
+ <?php _e( 'Enter discount code <strong>PRO10</strong> to get a <strong>10% discount</strong> until Oct 31!', 'pib' ); ?>
46
+ </p>
47
+ </div>
48
+ </div>
49
+
50
+ <?php if ( pib_is_woo_commerce_active() ): ?>
51
+
52
+ <div class="sidebar-container">
53
+ <h4 class="sidebar-title-medium"><?php _e( 'WooCommerce Rich Pins', 'pib' ); ?></h4>
54
+
55
+ <div class="sidebar-content">
56
+ <p>
57
+ <?php _e( 'Running a WooCommerce store and want to give your pins a boost? There\'s a plugin for that.', 'pib' ); ?>
58
+ </p>
59
+
60
+ <a href="<?php echo pib_ga_campaign_url( 'http://pinterestplugin.com/woocommerce-rich-pins/', 'pib_lite_2', 'sidebar_link', 'wc_rich_pins' ); ?>"
61
+ class="btn btn-small btn-block btn-inverse" target="_blank">
62
+ <?php _e( 'Check out Rich Pins for WooCommerce', 'pib' ); ?></a>
63
+ </div>
64
+ </div>
65
+
66
+ <?php endif; ?>
67
+
68
+ <div class="sidebar-container">
69
+ <div class="sidebar-content">
70
+ <p>
71
+ <?php _e( 'Help us get noticed (and boost our egos) with a rating and short review.', 'pib' ); ?>
72
+ </p>
73
+
74
+ <a href="http://wordpress.org/support/view/plugin-reviews/pinterest-pin-it-button" class="btn btn-small btn-block btn-inverse" target="_blank">
75
+ <?php _e( 'Rate this plugin on WordPress.org', 'pib' ); ?></a>
76
+ </div>
77
+ </div>
78
+
79
+ <div class="sidebar-container">
80
+ <div class="sidebar-content">
81
+ <ul>
82
+ <li>
83
+ <i class="fui-arrow-right"></i>
84
+ <a href="http://wordpress.org/support/plugin/pinterest-pin-it-button" target="_blank">
85
+ <?php _e( 'Community Support Forums', 'pib' ); ?></a>
86
+ </li>
87
+ <li>
88
+ <i class="fui-arrow-right"></i>
89
+ <a href="<?php echo pib_ga_campaign_url( 'http://pinterestplugin.com/support', 'pib_lite_2', 'sidebar_link', 'support' ); ?>" target="_blank">
90
+ <?php _e( 'Knowledgebase', 'pib' ); ?></a>
91
+ </li>
92
+ </ul>
93
+ </div>
94
+ </div>
95
+
96
+ <div class="sidebar-container">
97
+ <h4 class="sidebar-title-small"><?php _e( 'Recent News from PinterestPlugin.com', 'pib' ); ?></h4>
98
+
99
+ <div class="sidebar-content pib-rss-news">
100
+ <?php pib_rss_news(); ?>
101
+ </div>
102
+ </div>
views/admin.php ADDED
@@ -0,0 +1,70 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Represents the view for the administration dashboard.
5
+ *
6
+ * This includes the header, options, and other information that should provide
7
+ * The User Interface to the end user.
8
+ *
9
+ * @package PIB
10
+ * @subpackage Views
11
+ * @author Phil Derksen <pderksen@gmail.com>, Nick Young <mycorpweb@gmail.com>
12
+ */
13
+
14
+ // Exit if accessed directly.
15
+ if ( ! defined( 'ABSPATH' ) )
16
+ exit;
17
+
18
+ global $pib_options;
19
+ $active_tab = isset( $_GET[ 'tab' ] ) ? $_GET[ 'tab' ] : 'general';
20
+
21
+ // Additional div containers and CSS classes to keep fluid layout with right sidebar.
22
+ ?>
23
+
24
+ <div class="wrap">
25
+
26
+ <div id="pib-settings">
27
+ <div id="pib-settings-content">
28
+
29
+ <?php screen_icon( 'pinterest-32' ); ?>
30
+ <h2><?php echo esc_html( get_admin_page_title() ); ?></h2>
31
+
32
+ <h2 class="nav-tab-wrapper">
33
+ <a href="<?php echo add_query_arg( 'tab', 'general', remove_query_arg( 'settings-updated' )); ?>" class="nav-tab
34
+ <?php echo $active_tab == 'general' ? 'nav-tab-active' : ''; ?>"><?php _e( 'General', 'pib' ); ?></a>
35
+ <a href="<?php echo add_query_arg( 'tab', 'post_visibility', remove_query_arg( 'settings-updated' )); ?>" class="nav-tab
36
+ <?php echo $active_tab == 'post_visibility' ? 'nav-tab-active' : ''; ?>"><?php _e( 'Post Visibility', 'pib' ); ?></a>
37
+ <a href="<?php echo add_query_arg( 'tab', 'styles', remove_query_arg( 'settings-updated' )); ?>" class="nav-tab
38
+ <?php echo $active_tab == 'styles' ? 'nav-tab-active' : ''; ?>"><?php _e( 'Styles', 'pib' ); ?></a>
39
+ </h2>
40
+
41
+ <div id="tab_container">
42
+
43
+ <form method="post" action="options.php">
44
+ <?php
45
+ if ( $active_tab == 'general' ) {
46
+ settings_fields( 'pib_settings_general' );
47
+ do_settings_sections( 'pib_settings_general' );
48
+ } elseif ( $active_tab == 'post_visibility' ) {
49
+ settings_fields( 'pib_settings_post_visibility' );
50
+ do_settings_sections( 'pib_settings_post_visibility' );
51
+ } elseif ( $active_tab == 'styles' ) {
52
+ settings_fields( 'pib_settings_styles' );
53
+ do_settings_sections( 'pib_settings_styles' );
54
+ } else {
55
+ // Do nothing
56
+ }
57
+
58
+ submit_button();
59
+ ?>
60
+ </form>
61
+ </div><!-- #tab_container-->
62
+
63
+ </div><!-- #pib-settings-content -->
64
+
65
+ <div id="pib-settings-sidebar">
66
+ <?php include( 'admin-sidebar.php' ); ?>
67
+ </div>
68
+ </div>
69
+
70
+ </div><!-- .wrap -->
views/index.php ADDED
@@ -0,0 +1 @@
 
1
+ <?php // Silence is golden ?>
views/post-meta-display.php ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Post Meta Display
5
+ *
6
+ * @package PIB
7
+ * @subpackage Views
8
+ * @author Phil Derksen <pderksen@gmail.com>, Nick Young <mycorpweb@gmail.com>
9
+ */
10
+
11
+ // Exit if accessed directly.
12
+ if ( ! defined( 'ABSPATH' ) )
13
+ exit;
14
+
15
+ global $pib_options;
16
+
17
+ $button_type_display = ( $pib_options['button_type'] == 'user_selects_image' ) ? __( 'User selects image', 'pib' ) : __( 'Image pre-selected', 'pib' );
18
+
19
+ $pib_sharing_checked = get_post_meta( $post->ID, 'pib_sharing_disabled', 1 );
20
+ $pib_url_of_webpage = get_post_meta( $post->ID, 'pib_url_of_webpage', true);
21
+ $pib_url_of_img = get_post_meta( $post->ID, 'pib_url_of_img', true);
22
+ $pib_description = get_post_meta( $post->ID, 'pib_description', true);
23
+ ?>
24
+
25
+ <p>
26
+ <?php _e( 'Individual post or page-level button settings will only take affect if the "Pin It" button type set in the main settings is <strong>"image pre-selected"</strong>.', 'pib' ); ?>
27
+ </p>
28
+ <p>
29
+ <?php _e( 'Current button type:', 'pib' ) ?> <strong><?php echo $button_type_display; ?></strong>
30
+ </p>
31
+ <?php if ( $pib_options['button_type'] == 'user_selects_image' ): ?>
32
+ <p>
33
+ <strong style="color: red;"><?php _e( 'The below settings will not take affects unless the button type is changed. ', 'pib' ); ?></strong>
34
+ <?php echo sprintf( '<a href="%s">%s</a>', add_query_arg( 'page', PIB_PLUGIN_SLUG, admin_url( 'admin.php' ) ), __( 'Go to "Pin It" Button Settings', 'pib' ) ); ?>
35
+ </p>
36
+ <?php endif; ?>
37
+ <p>
38
+ <label for="pib_url_of_webpage"><?php _e( 'URL of the web page to be pinned', 'pib' ); ?>:</label><br />
39
+ <input type="text" class="widefat" name="pib_url_of_webpage" id="pib_url_of_webpage" value="<?php echo $pib_url_of_webpage; ?>" />
40
+ <span class="description"><?php _e( 'Defaults to current post/page URL if left blank.', 'pib' ); ?></span>
41
+ </p>
42
+ <p>
43
+ <label for="pib_url_of_img"><?php _e( 'URL of the image to be pinned', 'pib' ); ?>:</label><br />
44
+ <input type="text" class="widefat" name="pib_url_of_img" id="pib_url_of_img" value="<?php echo $pib_url_of_img; ?>" />
45
+ <span class="description"><?php _e( 'Defaults to first image in post if left blank.', 'pib' ); ?></span>
46
+ </p>
47
+ <p>
48
+ <label for="pib_description"><?php _e( 'Description of the pin', 'pib' ); ?>:</label><br />
49
+ <input type="text" class="widefat" name="pib_description" id="pib_description" value="<?php echo $pib_description; ?>" />
50
+ <span class="description"><?php _e( 'Defaults to post title if left blank.', 'pib' ); ?></span>
51
+ </p>
52
+ <p>
53
+ <input type="checkbox" name="pib_enable_post_sharing" id="pib_enable_post_sharing" <?php checked( empty( $pib_sharing_checked ) || ($pib_sharing_checked === false) ); ?> />
54
+ <label for="pib_enable_post_sharing"><?php _e( 'Show "Pin It" button on this post/page', 'pib' ); ?></label>
55
+ </p>
56
+ <p>
57
+ <span class="description"><?php _e( 'If checked displays the button for this post (if Individual Posts selected) or this page (if Individual Pages selected) in the main "Pin It" button settings.', 'pib' ); ?></span>
58
+ </p>
59
+ <p>
60
+ <span class="description"><?php _e( 'If unchecked the button will always be hidden for this post/page.', 'pib' ); ?></span>
61
+ </p>
62
+ <input type="hidden" name="pib_sharing_status_hidden" value="1" />
views/public.php ADDED
@@ -0,0 +1,190 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ /**
4
+ * Represents the view for the public-facing component of the plugin.
5
+ *
6
+ * @package PIB
7
+ * @subpackage Views
8
+ * @author Phil Derksen <pderksen@gmail.com>, Nick Young <mycorpweb@gmail.com>
9
+ */
10
+
11
+ // Exit if accessed directly.
12
+ if ( ! defined( 'ABSPATH' ) )
13
+ exit;
14
+
15
+ // Add Custom CSS.
16
+ function pib_add_custom_css() {
17
+ global $pib_options;
18
+
19
+ // Only add the custom CSS if it actually exists.
20
+ if ( ! empty( $pib_options['custom_css'] ) ) {
21
+ $custom_css = trim( $pib_options['custom_css'] );
22
+
23
+ echo "\n" .
24
+ '<style type="text/css">' . "\n" .
25
+ $custom_css . "\n" . // Render custom CSS.
26
+ '</style>' . "\n";
27
+ }
28
+ }
29
+ add_action( 'wp_head', 'pib_add_custom_css' );
30
+
31
+ // Function for rendering "Pin It" button base html.
32
+ // HTML comes from Pinterest Widget Builder 7/10/2013.
33
+ // http://business.pinterest.com/widget-builder/#do_pin_it_button
34
+ // Sample HTML from widget builder:
35
+ /*
36
+ <a href="//www.pinterest.com/pin/create/button/?url=http%3A%2F%2Fwww.flickr.com%2Fphotos%2Fkentbrew%2F6851755809%2F&media=http%3A%2F%2Ffarm8.staticflickr.com%2F7027%2F6851755809_df5b2051c9_z.jpg&description=Next%20stop%3A%20Pinterest" data-pin-do="buttonPin" data-pin-config="above">
37
+ <img src="//assets.pinterest.com/images/pidgets/pin_it_button.png" />
38
+ </a>
39
+ */
40
+ function pib_button_base( $button_type, $post_url, $image_url, $description, $count_layout ) {
41
+ global $pib_options;
42
+ global $post;
43
+ $postID = $post->ID;
44
+
45
+ // Use updated backup button image URL from Pinterest.
46
+ $btn_img_url = '//assets.pinterest.com/images/pidgets/pin_it_button.png';
47
+
48
+ // Add "Pin It" title attribute.
49
+ $inner_btn_html = '<img src="' . $btn_img_url . '" title="Pin It" />';
50
+
51
+ // Set data attribute for button style.
52
+ if ( $button_type == 'image_selected' )
53
+ $data_pin_do = 'buttonPin'; // image pre-selected
54
+ else
55
+ $data_pin_do = 'buttonBookmark'; // user selects image (default)
56
+
57
+ // Set data attribute for count bubble style.
58
+ if ( $count_layout == 'horizontal' )
59
+ $data_pin_config = 'beside';
60
+ elseif ( $count_layout == 'vertical' )
61
+ $data_pin_config = 'above';
62
+ else
63
+ $data_pin_config = 'none';
64
+
65
+ // Set post url to current post if still blank.
66
+ if ( empty( $post_url ) )
67
+ $post_url = get_permalink( $postID );
68
+
69
+ // Set image url to first image if still blank.
70
+ if ( empty( $image_url ) ) {
71
+ // Get url of img and compare width and height.
72
+ $output = preg_match_all( '/<img.+src=[\'"]([^\'"]+)[\'"].*>/i', $post->post_content, $matches );
73
+
74
+ // Make sure the was an image match and if not set the image url to be blank
75
+ if ( !( 0 == $output || false == $output ) )
76
+ $image_url = $matches [1] [0];
77
+ else
78
+ $image_url = '';
79
+ }
80
+
81
+ // Set description to post title if still blank.
82
+ if ( empty( $description ) )
83
+ $description = get_the_title( $postID );
84
+
85
+ // Link href always needs all the parameters in it for the count bubble to work.
86
+ // Pinterest points out to use protocol-agnostic URL for popup.
87
+ $link_href = '//www.pinterest.com/pin/create/button/' .
88
+ '?url=' . rawurlencode( $post_url ) .
89
+ '&media=' . rawurlencode( $image_url ) .
90
+ '&description=' . rawurlencode( $description );
91
+
92
+ // Full link html with data attributes.
93
+ // Add rel="nobox" to prevent lightbox popup.
94
+ $link_html = '<a href="' . $link_href . '" ' .
95
+ 'data-pin-do="' . $data_pin_do . '" ' .
96
+ 'data-pin-config="' . $data_pin_config . '" ' .
97
+ 'rel="nobox">' .
98
+ $inner_btn_html . '</a>';
99
+
100
+ return $link_html;
101
+ }
102
+
103
+ // Button HTML to render for pages, posts, and excerpts.
104
+ function pib_button_html( $image_url = '' ) {
105
+ global $pib_options;
106
+ global $post;
107
+ $postID = $post->ID;
108
+
109
+ // Return nothing if sharing disabled on current post.
110
+ if ( get_post_meta( $postID, 'pib_sharing_disabled', 1 ) )
111
+ return '';
112
+
113
+ // Set post url, image url and description from current post meta.
114
+ // It'll leave them blank if there isn't any meta.
115
+ $post_url = get_post_meta( $postID, 'pib_url_of_webpage', true );
116
+ $description = get_post_meta( $postID, 'pib_description', true );
117
+
118
+ if( get_post_meta( $postID, 'pib_url_of_img', true ) )
119
+ $image_url = get_post_meta( $postID, 'pib_url_of_img', true );
120
+
121
+ $count_layout = $pib_options['count_layout'];
122
+
123
+ $base_btn = pib_button_base( $pib_options['button_type'], $post_url, $image_url, $description, $count_layout );
124
+
125
+ // Don't wrap with div if using other sharing buttons or "remove div" is checked.
126
+ if ( ! empty( $pib_options['remove_div'] ) )
127
+ return $base_btn;
128
+ else
129
+ return '<div class="pin-it-btn-wrapper">' . $base_btn . '</div>'; // Surround with div tag
130
+ }
131
+
132
+ //Render button HTML on pages with regular content.
133
+ function pib_render_content( $content ) {
134
+ global $pib_options;
135
+ global $post;
136
+
137
+ if( ! is_main_query() )
138
+ return $content;
139
+
140
+ //Determine if button displayed on current page from main admin settings
141
+ if (
142
+ ( is_home() && ( ! empty( $pib_options['post_page_types']['display_home_page'] ) ) ) ||
143
+ ( is_front_page() && ( ! empty( $pib_options['post_page_types']['display_front_page'] ) ) ) ||
144
+ ( is_single() && ( ! empty( $pib_options['post_page_types']['display_posts'] ) ) ) ||
145
+ ( is_page() && ( ! empty( $pib_options['post_page_types']['display_pages'] ) ) && !is_front_page() ) ||
146
+
147
+ //archive pages besides categories (tag, author, date, search)
148
+ //http://codex.wordpress.org/Conditional_Tags
149
+ ( is_archive() && ( ! empty( $pib_options['post_page_types']['display_archives'] ) ) &&
150
+ ( is_tag() || is_author() || is_date() || is_search() || is_category() )
151
+ )
152
+ ) {
153
+ if ( ! empty( $pib_options['post_page_placement']['display_above_content'] ) ) {
154
+ $content = pib_button_html() . $content;
155
+ }
156
+ if ( ! empty( $pib_options['post_page_placement']['display_below_content'] ) ) {
157
+ $content .= pib_button_html();
158
+ }
159
+ }
160
+
161
+ return $content;
162
+ }
163
+ add_filter( 'the_content', 'pib_render_content' );
164
+
165
+ // Render button HTML on pages with excerpts if option checked.
166
+ function pib_render_content_excerpt( $content ) {
167
+ global $pib_options;
168
+ global $post;
169
+
170
+ if( ! is_main_query() )
171
+ return $content;
172
+
173
+ if ( ! empty( $pib_options['post_page_placement']['display_on_post_excerpts'] ) ) {
174
+ if (
175
+ ( is_home() && ( ! empty( $pib_options['post_page_types']['display_home_page'] ) ) ) ||
176
+ ( is_front_page() && ( ! empty( $pib_options['post_page_types']['display_front_page'] ) ) )
177
+ ) {
178
+ if ( ! empty( $pib_options['post_page_placement']['display_above_content'] ) ) {
179
+ $content = pib_button_html() . $content;
180
+ }
181
+ if ( ! empty( $pib_options['post_page_placement']['display_below_content'] ) ) {
182
+ $content .= pib_button_html();
183
+ }
184
+ }
185
+
186
+ }
187
+
188
+ return $content;
189
+ }
190
+ add_filter( 'the_excerpt', 'pib_render_content_excerpt' );