PluginProbe
Social Share Buttons / 1.5
Social Share Buttons v1.5
trunk 0.9 1.0 1.1 1.1.1 1.1.2 1.10 1.11 1.12 1.15 1.16 1.17 1.18 1.19 1.2 1.20 1.3 1.30 1.4 1.5 1.6 1.7 1.8 1.9
← All changes | admin/page_editor.php +2 -11 1.161.5 View file →
@@ -38,11 +38,10 @@
38 38 <?php if($number_of_collections > 0) : ?>
39 39 <div class='help-side collection_switcher'>
40 40 <h3>Your Social Groups</h3>
41 41 <?php //
42 + //if (Install::isPro()):
42 43
43 - echo '<div class="item heading"><span>' . __('name', 'mbsocial') . '</span><span>' . __('no buttons', 'mbsocial') . '</span><span>' . __('shortcode', 'mbsocial') . '</span></div>';
44 -
45 44 foreach($collection_ids as $id) {
46 45 $collection = new collection($id);
47 46 $genBlock = $collection->getBlock('generalBlock');
48 47 $name = $genBlock->getValue('name');
@@ -52,24 +51,17 @@
52 51
53 52 $name = ( strlen($name) > 0) ? $name : '#' . $id;
54 53 $active = ($id == $the_collection_id) ? 'active' : '';
55 54
56 -
57 -
58 55 if ( Install::isPRO() )
59 - {
60 - $link = '<a href="' . add_query_arg('social_id', $id) . '"><span>' . $name . '</span>';
61 - $linkend = '</a>';
62 - }
56 + $link = '<span><a href="' . add_query_arg('social_id', $id) . '">' . $name . '</a></span>';
63 57 else {
64 58 $link = '<span>' . $name . '</span>';
65 - $linkend = '';
66 59 }
67 60 echo '<div class="item ' . $active . '">';
68 61 echo $link;
69 62 echo '<span> [' . $networks_number . ' buttons] </span>';
70 63 echo '<span> [maxsocial id="' . $id . '"] </span>';
71 - echo $linkend;
72 64 echo '</div>';
73 65
74 66 }
75 67
@@ -100,9 +92,8 @@
100 92 </div>
101 93 <?php endif; ?>
102 94
103 95 <input type='hidden' name="collection_id" value="<?php echo $collection_id ?>" />
104 - <input type='hidden' name="form_post" value="true" />
105 96
106 97 <div class="form-actions ">
107 98 <button type="button" class="button-primary button-save mb-ajax-submit" data-action='save_collection'><?php _e('Save', 'mbsocial') ?></button>
108 99 <?php if ($collection_id > 0 && Install::isPro()): ?>