Link Library - Version 7.3.7

Version Description

  • Improved display of link creation page on mobile devices
Download this release

Release Info

Developer jackdewey
Plugin Icon 128x128 Link Library
Version 7.3.7
Comparing to
See all releases

Code changes from version 7.3.6 to 7.3.7

Files changed (4) hide show
  1. link-library-admin.css +12 -252
  2. link-library-admin.php +18 -13
  3. link-library.php +1 -1
  4. readme.txt +5 -2
link-library-admin.css CHANGED
@@ -108,258 +108,6 @@ hr {
108
  padding: 0;
109
  }
110
 
111
- @-webkit-keyframes "grow" {
112
- 0% {
113
- -webkit-transform: scale(0.3);
114
- -moz-transform: scale(0.3);
115
- -o-transform: scale(0.3);
116
- transform: scale(0.3);
117
- }
118
-
119
- 60% {
120
- -webkit-transform: scale(1.15);
121
- -moz-transform: scale(1.15);
122
- -o-transform: scale(1.15);
123
- transform: scale(1.15);
124
- }
125
-
126
- 100% {
127
- -webkit-transform: scale(1);
128
- -moz-transform: scale(1);
129
- -o-transform: scale(1);
130
- transform: scale(1);
131
- }
132
-
133
- }
134
-
135
- @-moz-keyframes grow {
136
- 0% {
137
- -moz-transform: scale(0.3);
138
- transform: scale(0.3);
139
- }
140
-
141
- 60% {
142
- -moz-transform: scale(1.15);
143
- transform: scale(1.15);
144
- }
145
-
146
- 100% {
147
- -moz-transform: scale(1);
148
- transform: scale(1);
149
- }
150
-
151
- }
152
-
153
- @-o-keyframes "grow" {
154
- 0% {
155
- -o-transform: scale(0.3);
156
- transform: scale(0.3);
157
- }
158
-
159
- 60% {
160
- -o-transform: scale(1.15);
161
- transform: scale(1.15);
162
- }
163
-
164
- 100% {
165
- -o-transform: scale(1);
166
- transform: scale(1);
167
- }
168
-
169
- }
170
-
171
- @keyframes "grow" {
172
- 0% {
173
- -webkit-transform: scale(0.3);
174
- -moz-transform: scale(0.3);
175
- -o-transform: scale(0.3);
176
- transform: scale(0.3);
177
- }
178
-
179
- 60% {
180
- -webkit-transform: scale(1.15);
181
- -moz-transform: scale(1.15);
182
- -o-transform: scale(1.15);
183
- transform: scale(1.15);
184
- }
185
-
186
- 100% {
187
- -webkit-transform: scale(1);
188
- -moz-transform: scale(1);
189
- -o-transform: scale(1);
190
- transform: scale(1);
191
- }
192
-
193
- }
194
-
195
- @-webkit-keyframes "candy" {
196
- 0% {
197
- -webkit-transform: scale(1);
198
- -moz-transform: scale(1);
199
- -o-transform: scale(1);
200
- transform: scale(1);
201
- }
202
-
203
- 20% {
204
- -webkit-transform: scale(1.15);
205
- -moz-transform: scale(1.15);
206
- -o-transform: scale(1.15);
207
- transform: scale(1.15);
208
- }
209
-
210
- 60% {
211
- -webkit-transform: scale(0.95);
212
- -moz-transform: scale(0.95);
213
- -o-transform: scale(0.95);
214
- transform: scale(0.95);
215
- }
216
-
217
- 100% {
218
- -webkit-transform: scale(1);
219
- -moz-transform: scale(1);
220
- -o-transform: scale(1);
221
- transform: scale(1);
222
- }
223
-
224
- }
225
-
226
- @-moz-keyframes candy {
227
- 0% {
228
- -moz-transform: scale(1);
229
- transform: scale(1);
230
- }
231
-
232
- 20% {
233
- -moz-transform: scale(1.15);
234
- transform: scale(1.15);
235
- }
236
-
237
- 60% {
238
- -moz-transform: scale(0.95);
239
- transform: scale(0.95);
240
- }
241
-
242
- 100% {
243
- -moz-transform: scale(1);
244
- transform: scale(1);
245
- }
246
-
247
- }
248
-
249
- @-o-keyframes "candy" {
250
- 0% {
251
- -o-transform: scale(1);
252
- transform: scale(1);
253
- }
254
-
255
- 20% {
256
- -o-transform: scale(1.15);
257
- transform: scale(1.15);
258
- }
259
-
260
- 60% {
261
- -o-transform: scale(0.95);
262
- transform: scale(0.95);
263
- }
264
-
265
- 100% {
266
- -o-transform: scale(1);
267
- transform: scale(1);
268
- }
269
-
270
- }
271
-
272
- @keyframes "candy" {
273
- 0% {
274
- -webkit-transform: scale(1);
275
- -moz-transform: scale(1);
276
- -o-transform: scale(1);
277
- transform: scale(1);
278
- }
279
-
280
- 20% {
281
- -webkit-transform: scale(1.15);
282
- -moz-transform: scale(1.15);
283
- -o-transform: scale(1.15);
284
- transform: scale(1.15);
285
- }
286
-
287
- 60% {
288
- -webkit-transform: scale(0.95);
289
- -moz-transform: scale(0.95);
290
- -o-transform: scale(0.95);
291
- transform: scale(0.95);
292
- }
293
-
294
- 100% {
295
- -webkit-transform: scale(1);
296
- -moz-transform: scale(1);
297
- -o-transform: scale(1);
298
- transform: scale(1);
299
- }
300
-
301
- }
302
-
303
- @-moz-keyframes flyer {
304
- 0% {
305
- -moz-transform: translate3d(0px, 0px, 0px);
306
- transform: translate3d(0px, 0px, 0px);
307
- }
308
-
309
- 100% {
310
- -moz-transform: translate3d(570px, -570px, 0px);
311
- transform: translate3d(570px, -570px, 0px);
312
- }
313
-
314
- }
315
-
316
- @-webkit-keyframes "flyer" {
317
- 0% {
318
- -webkit-transform: translate3d(0px, 0px, 0px);
319
- -moz-transform: translate3d(0px, 0px, 0px);
320
- -o-transform: translate3d(0px, 0px, 0px);
321
- transform: translate3d(0px, 0px, 0px);
322
- }
323
-
324
- 100% {
325
- -webkit-transform: translate3d(570px, -570px, 0px);
326
- -moz-transform: translate3d(570px, -570px, 0px);
327
- -o-transform: translate3d(570px, -570px, 0px);
328
- transform: translate3d(570px, -570px, 0px);
329
- }
330
-
331
- }
332
-
333
- @-o-keyframes "flyer" {
334
- 0% {
335
- -o-transform: translate3d(0px, 0px, 0px);
336
- transform: translate3d(0px, 0px, 0px);
337
- }
338
-
339
- 100% {
340
- -o-transform: translate3d(570px, -570px, 0px);
341
- transform: translate3d(570px, -570px, 0px);
342
- }
343
-
344
- }
345
-
346
- @keyframes "flyer" {
347
- 0% {
348
- -webkit-transform: translate3d(0px, 0px, 0px);
349
- -moz-transform: translate3d(0px, 0px, 0px);
350
- -o-transform: translate3d(0px, 0px, 0px);
351
- transform: translate3d(0px, 0px, 0px);
352
- }
353
-
354
- 100% {
355
- -webkit-transform: translate3d(570px, -570px, 0px);
356
- -moz-transform: translate3d(570px, -570px, 0px);
357
- -o-transform: translate3d(570px, -570px, 0px);
358
- transform: translate3d(570px, -570px, 0px);
359
- }
360
-
361
- }
362
-
363
  .nav-horizontal a {
364
  display: inline-block;
365
  }
@@ -2378,4 +2126,16 @@ input[type="text"].module-search + label:after {
2378
  .CodeMirror {
2379
  border: 1px solid #ddd !important;
2380
  margin-bottom: 16px;
 
 
 
 
 
 
 
 
 
 
 
 
2381
  }
108
  padding: 0;
109
  }
110
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
111
  .nav-horizontal a {
112
  display: inline-block;
113
  }
2126
  .CodeMirror {
2127
  border: 1px solid #ddd !important;
2128
  margin-bottom: 16px;
2129
+ }
2130
+
2131
+ .mobile #link_url, .mobile #link_description, .mobile #link_notes, .mobile #link_rss, .mobile #link_image, .mobile #link_second_url, .mobile #link_telephone, .mobile #link_email, .mobile #link_reciprocal, .mobile #link_visits, .mobile #link_submitter, .mobile #link_submitter_name, .mobile #link_submitter_email, .mobile #link_submitter_comment, .mobile #link_rel, .mobile #link_updated {
2132
+ width: auto !important;
2133
+ }
2134
+
2135
+ .mobile #genthumbs, .mobile #genfavicons {
2136
+ white-space: normal;
2137
+ }
2138
+
2139
+ .mobile #link_updated {
2140
+ max-width: 200px;
2141
  }
link-library-admin.php CHANGED
@@ -411,6 +411,10 @@ class link_library_plugin_admin {
411
  }
412
  }
413
 
 
 
 
 
414
  if ( isset( $_GET['page'] ) && ( ( $_GET['page'] == 'link-library-general-options' ) || $_GET['page'] == 'link-library-settingssets' || $_GET['page'] == 'link-library-moderate' || $_GET['page'] == 'link-library-stylesheet' || $_GET['page'] == 'link-library-reciprocal' ) ) {
415
  wp_enqueue_style( 'LibraryLibraryAdminStyle', plugins_url( 'link-library-admin.css', __FILE__ ) );
416
  }
@@ -7432,24 +7436,25 @@ function general_custom_fields_meta_box( $data ) {
7432
  </tr>
7433
  <tr>
7434
  <td style="width:20%"><?php _e( 'Description', 'link-library' ); ?></td>
7435
- <td><input type="text" style="width:100%" id="link_description" type="link_description" name="link_description" value="<?php echo $link_description; ?>" tabindex="2"></td>
7436
  </tr>
7437
  <tr>
7438
  <td><?php _e( 'Notes', 'link-library' ); ?></td>
7439
  <td><textarea style="width:100%" name="link_notes" id="link_notes" rows="5"><?php echo $link_notes; ?></textarea></td>
7440
  </tr>
7441
  <tr>
7442
- <td><?php _e( 'Large Description', 'link-library' ); ?></td>
7443
- <td>
7444
- <?php
7445
- $editorsettings = array( 'media_buttons' => false,
7446
- 'textarea_rows' => 5,
7447
- 'textarea_name' => 'link_textfield',
7448
- 'wpautop' => false );
7449
-
7450
- wp_editor( isset( $link_textfield ) ? stripslashes( $link_textfield ) : '', 'link_textfield', $editorsettings ); ?>
7451
- </td>
7452
  </tr>
 
 
 
 
 
 
 
 
 
 
7453
  <tr>
7454
  <td><?php _e( 'RSS Address', 'link-library' ); ?></td>
7455
  <td><input type="text" style="width:100%" id="link_rss" type="link_rss" name="link_rss" value="<?php echo $link_rss; ?>"></td>
@@ -7457,7 +7462,7 @@ function general_custom_fields_meta_box( $data ) {
7457
  <tr>
7458
  <td><?php _e( 'Target', 'link-library' ); ?></td>
7459
  <td><?php
7460
- $target_array = array( '_blank' => '_blank (new window or tab)', '' => '_none (same window or tab)', '_top' => '_top (current window or tab, with no frames)' );
7461
  echo '<select name="link_target" id="link_target">';
7462
  echo '<option value="' . $defaultlinktarget . '" ' . selected( $defaultlinktarget, $link_target ) . '>' . $target_array[$defaultlinktarget] . '</option>';
7463
  unset( $target_array[$defaultlinktarget] );
@@ -7883,7 +7888,7 @@ function general_custom_fields_meta_box( $data ) {
7883
  <tr>
7884
  <td><?php _e( 'Rel Tags', 'link-library' ); ?></td>
7885
  <td>
7886
- <input type="text" id="link_rel" name="link_rel" size="80" value="<?php echo $link_rel; ?>" />
7887
  </td>
7888
  </tr>
7889
  <tr>
411
  }
412
  }
413
 
414
+ if ( $pagenow == 'post-new.php' && $_GET['post_type'] == 'link_library_links' ) {
415
+ wp_enqueue_style( 'LibraryLibraryAdminStyle', plugins_url( 'link-library-admin.css', __FILE__ ) );
416
+ }
417
+
418
  if ( isset( $_GET['page'] ) && ( ( $_GET['page'] == 'link-library-general-options' ) || $_GET['page'] == 'link-library-settingssets' || $_GET['page'] == 'link-library-moderate' || $_GET['page'] == 'link-library-stylesheet' || $_GET['page'] == 'link-library-reciprocal' ) ) {
419
  wp_enqueue_style( 'LibraryLibraryAdminStyle', plugins_url( 'link-library-admin.css', __FILE__ ) );
420
  }
7436
  </tr>
7437
  <tr>
7438
  <td style="width:20%"><?php _e( 'Description', 'link-library' ); ?></td>
7439
+ <td><input type="text" id="link_description" type="link_description" name="link_description" value="<?php echo $link_description; ?>" tabindex="2"></td>
7440
  </tr>
7441
  <tr>
7442
  <td><?php _e( 'Notes', 'link-library' ); ?></td>
7443
  <td><textarea style="width:100%" name="link_notes" id="link_notes" rows="5"><?php echo $link_notes; ?></textarea></td>
7444
  </tr>
7445
  <tr>
7446
+ <td colspan="2"><?php _e( 'Large Description', 'link-library' ); ?></td>
 
 
 
 
 
 
 
 
 
7447
  </tr>
7448
+ </table>
7449
+ <?php
7450
+ $editorsettings = array( 'media_buttons' => false,
7451
+ 'textarea_rows' => 5,
7452
+ 'textarea_name' => 'link_textfield',
7453
+ 'wpautop' => false );
7454
+
7455
+ wp_editor( isset( $link_textfield ) ? stripslashes( $link_textfield ) : '', 'link_textfield', $editorsettings ); ?>
7456
+
7457
+ <table style="width:100%">
7458
  <tr>
7459
  <td><?php _e( 'RSS Address', 'link-library' ); ?></td>
7460
  <td><input type="text" style="width:100%" id="link_rss" type="link_rss" name="link_rss" value="<?php echo $link_rss; ?>"></td>
7462
  <tr>
7463
  <td><?php _e( 'Target', 'link-library' ); ?></td>
7464
  <td><?php
7465
+ $target_array = array( '_blank' => '_blank (new window or tab)', '' => '_none (same window or tab)', '_top' => '_top (current window or tab)' );
7466
  echo '<select name="link_target" id="link_target">';
7467
  echo '<option value="' . $defaultlinktarget . '" ' . selected( $defaultlinktarget, $link_target ) . '>' . $target_array[$defaultlinktarget] . '</option>';
7468
  unset( $target_array[$defaultlinktarget] );
7888
  <tr>
7889
  <td><?php _e( 'Rel Tags', 'link-library' ); ?></td>
7890
  <td>
7891
+ <input type="text" style="width: 100%" id="link_rel" name="link_rel" value="<?php echo $link_rel; ?>" />
7892
  </td>
7893
  </tr>
7894
  <tr>
link-library.php CHANGED
@@ -3,7 +3,7 @@
3
  Plugin Name: Link Library
4
  Plugin URI: http://wordpress.org/extend/plugins/link-library/
5
  Description: Display links on pages with a variety of options
6
- Version: 7.3.6
7
  Author: Yannick Lefebvre
8
  Author URI: http://ylefebvre.github.io/
9
  Text Domain: link-library
3
  Plugin Name: Link Library
4
  Plugin URI: http://wordpress.org/extend/plugins/link-library/
5
  Description: Display links on pages with a variety of options
6
+ Version: 7.3.7
7
  Author: Yannick Lefebvre
8
  Author URI: http://ylefebvre.github.io/
9
  Text Domain: link-library
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: jackdewey
3
  Donate link: https://ylefebvre.github.io/wordpress-plugins/link-library/
4
  Tags: link, list, directory, page, library, AJAX, RSS, feeds, inline, search, paging, add, submit, import, batch, pop-up
5
  Requires at least: 4.4
6
- Tested up to: 5.9
7
- Stable tag: 7.3.6
8
 
9
  The purpose of this plugin is to add the ability to output a list of link categories and a complete list of links with notes and descriptions.
10
 
@@ -50,6 +50,9 @@ Further configuration is available under the Link Library Settings panel.
50
 
51
  == Changelog ==
52
 
 
 
 
53
  = 7.3.6 =
54
  * Fix for item sorting with publication date
55
 
3
  Donate link: https://ylefebvre.github.io/wordpress-plugins/link-library/
4
  Tags: link, list, directory, page, library, AJAX, RSS, feeds, inline, search, paging, add, submit, import, batch, pop-up
5
  Requires at least: 4.4
6
+ Tested up to: 6.0
7
+ Stable tag: 7.3.7
8
 
9
  The purpose of this plugin is to add the ability to output a list of link categories and a complete list of links with notes and descriptions.
10
 
50
 
51
  == Changelog ==
52
 
53
+ = 7.3.7 =
54
+ * Improved display of link creation page on mobile devices
55
+
56
  = 7.3.6 =
57
  * Fix for item sorting with publication date
58