Version Description
- Fixed additional french translations
- Changed colors of Submit and Reset buttons in stylesheet editor
- Added new option under search tab configuration to suppress output if no results are found
Download this release
Release Info
Developer | jackdewey |
Plugin | Link Library |
Version | 7.3.19 |
Comparing to | |
See all releases |
Code changes from version 7.3.18 to 7.3.19
- adminstyle.css +6 -1
- languages/link-library-fr_FR.mo +0 -0
- languages/link-library-fr_FR.po +27 -55
- link-library-admin.php +10 -2
- link-library-defaults.php +1 -0
- readme.txt +6 -1
- render-link-library-sc.php +6 -2
adminstyle.css
CHANGED
@@ -41,4 +41,9 @@
|
|
41 |
font-size: 14px !important;
|
42 |
padding: 8px !important;
|
43 |
border: solid 1px red !important;
|
44 |
-
}
|
|
|
|
|
|
|
|
|
|
41 |
font-size: 14px !important;
|
42 |
padding: 8px !important;
|
43 |
border: solid 1px red !important;
|
44 |
+
}
|
45 |
+
|
46 |
+
.resetstyle {
|
47 |
+
background-color: #D22B2B !important;
|
48 |
+
color: #FFF;
|
49 |
+
}
|
languages/link-library-fr_FR.mo
CHANGED
Binary file
|
languages/link-library-fr_FR.po
CHANGED
@@ -1649,10 +1649,8 @@ msgid "Order by ID"
|
|
1649 |
msgstr "Trier par identifiant"
|
1650 |
|
1651 |
#: link-library-admin.php:4921
|
1652 |
-
#, fuzzy
|
1653 |
-
#| msgid "Order by Name"
|
1654 |
msgid "Order by Category Slug"
|
1655 |
-
msgstr "Trier par
|
1656 |
|
1657 |
#: link-library-admin.php:4923
|
1658 |
msgid "Order of categories based on included category list"
|
@@ -1676,7 +1674,7 @@ msgstr "Liste déroulante"
|
|
1676 |
|
1677 |
#: link-library-admin.php:4936
|
1678 |
msgid "Drop-Down List Direct Access"
|
1679 |
-
msgstr "Liste déroulante"
|
1680 |
|
1681 |
#: link-library-admin.php:4937
|
1682 |
msgid "Visibility Toggles"
|
@@ -1699,20 +1697,16 @@ msgid "Display link counts"
|
|
1699 |
msgstr "Afficher la quantité de liens"
|
1700 |
|
1701 |
#: link-library-admin.php:4958
|
1702 |
-
#, fuzzy
|
1703 |
-
#| msgid "Order of categories based on included category list"
|
1704 |
msgid "Hide empty categories from category list"
|
1705 |
-
msgstr "
|
1706 |
|
1707 |
#: link-library-admin.php:4965
|
1708 |
msgid "Display categories with search results"
|
1709 |
msgstr "Afficher les catégories avec les résultats de recherche"
|
1710 |
|
1711 |
#: link-library-admin.php:4969
|
1712 |
-
#, fuzzy
|
1713 |
-
#| msgid "Display categories with search results"
|
1714 |
msgid "Use categories to filter search results"
|
1715 |
-
msgstr "
|
1716 |
|
1717 |
#: link-library-admin.php:4975 link-library-admin.php:5162
|
1718 |
msgid "Direction"
|
@@ -1753,7 +1747,7 @@ msgstr "Gauche"
|
|
1753 |
|
1754 |
#: link-library-admin.php:4998 link-library-admin.php:5343
|
1755 |
msgid "Child category depth limit"
|
1756 |
-
msgstr ""
|
1757 |
|
1758 |
#: link-library-admin.php:5006
|
1759 |
msgid "Width of Categories Table in Percents"
|
@@ -1847,20 +1841,16 @@ msgid "Order by updated date"
|
|
1847 |
msgstr "Trier par date de mise à jour"
|
1848 |
|
1849 |
#: link-library-admin.php:5104
|
1850 |
-
#, fuzzy
|
1851 |
-
#| msgid "Order by updated date"
|
1852 |
msgid "Order by publication date"
|
1853 |
-
msgstr "Trier par date de
|
1854 |
|
1855 |
#: link-library-admin.php:5105
|
1856 |
msgid "Order by number of link visits"
|
1857 |
msgstr "Trier par le nombre de visites du lien"
|
1858 |
|
1859 |
#: link-library-admin.php:5106
|
1860 |
-
#, fuzzy
|
1861 |
-
#| msgid "Order by number of link visits"
|
1862 |
msgid "Order by number of user votes"
|
1863 |
-
msgstr "Trier par le nombre de
|
1864 |
|
1865 |
#: link-library-admin.php:5107
|
1866 |
msgid "Order specified using Simple Custom Post Order plugin"
|
@@ -2164,7 +2154,7 @@ msgstr "Source du lien"
|
|
2164 |
|
2165 |
#: link-library-admin.php:5565
|
2166 |
msgid "Suppress all output if empty"
|
2167 |
-
msgstr ""
|
2168 |
|
2169 |
#: link-library-admin.php:5568
|
2170 |
msgid ""
|
@@ -2243,16 +2233,12 @@ msgid "Secondary"
|
|
2243 |
msgstr "Secondaire"
|
2244 |
|
2245 |
#: link-library-admin.php:5636 link-library-admin.php:5666
|
2246 |
-
#, fuzzy
|
2247 |
-
#| msgid "Duplicate Names"
|
2248 |
msgid "Dedicated page"
|
2249 |
-
msgstr "
|
2250 |
|
2251 |
#: link-library-admin.php:5637
|
2252 |
-
#, fuzzy
|
2253 |
-
#| msgid "Image"
|
2254 |
msgid "Image only"
|
2255 |
-
msgstr "Image"
|
2256 |
|
2257 |
#: link-library-admin.php:5646
|
2258 |
msgid ""
|
@@ -2280,10 +2266,8 @@ msgid "Description"
|
|
2280 |
msgstr "Description"
|
2281 |
|
2282 |
#: link-library-admin.php:5667
|
2283 |
-
#, fuzzy
|
2284 |
-
#| msgid "Link name"
|
2285 |
msgid "Link name only"
|
2286 |
-
msgstr "Nom du lien"
|
2287 |
|
2288 |
#: link-library-admin.php:5676
|
2289 |
msgid ""
|
@@ -3603,10 +3587,8 @@ msgid "Visit"
|
|
3603 |
msgstr "Visiter"
|
3604 |
|
3605 |
#: link-library-admin.php:7904 render-link-library-addlink-sc.php:1141
|
3606 |
-
#, fuzzy
|
3607 |
-
#| msgid "Select a category"
|
3608 |
msgid "Select an option"
|
3609 |
-
msgstr "Choisir une
|
3610 |
|
3611 |
#: link-library-admin.php:7933
|
3612 |
msgid "Number of views"
|
@@ -3650,24 +3632,26 @@ msgstr "Rapport du vérificateur de liens en double"
|
|
3650 |
|
3651 |
#: link-library-admin.php:8657
|
3652 |
msgid "Redirected to a different address"
|
3653 |
-
msgstr ""
|
3654 |
|
3655 |
#: link-library-admin.php:8659
|
3656 |
msgid "Redirection to a different protocol"
|
3657 |
-
msgstr ""
|
3658 |
|
3659 |
#: link-library-admin.php:8661
|
3660 |
msgid "Redirected to a sub-domain on same server"
|
3661 |
-
msgstr ""
|
3662 |
|
3663 |
#: link-library-admin.php:8663
|
3664 |
msgid "Redirected to a different subfolder on same server"
|
3665 |
-
msgstr ""
|
3666 |
|
3667 |
#: link-library-admin.php:8665
|
3668 |
msgid ""
|
3669 |
"Redirected to a different subfolder on same server with bad configuration"
|
3670 |
msgstr ""
|
|
|
|
|
3671 |
|
3672 |
#: link-library-admin.php:8667
|
3673 |
msgid "Not Found"
|
@@ -3705,7 +3689,7 @@ msgstr "Il n’y a pas de liens avec des liens réciproques associés"
|
|
3705 |
|
3706 |
#: link-library-admin.php:8699
|
3707 |
msgid "End of report"
|
3708 |
-
msgstr ""
|
3709 |
|
3710 |
# Plugin name; please avoid translating if possible
|
3711 |
#: link-library-admin.php:8709
|
@@ -3785,16 +3769,14 @@ msgid "Link Image (jpg, jpeg, png)"
|
|
3785 |
msgstr "Image du lien (jpg, jpeg, png)"
|
3786 |
|
3787 |
#: link-library.php:376
|
3788 |
-
#, fuzzy
|
3789 |
-
#| msgid "Library"
|
3790 |
msgid "Link Library"
|
3791 |
-
msgstr "
|
3792 |
|
3793 |
#: link-library.php:467
|
3794 |
#, php-format
|
3795 |
msgctxt "Link Library"
|
3796 |
msgid "Link Library %%PENDING_COUNT%%"
|
3797 |
-
msgstr ""
|
3798 |
|
3799 |
#: link-library.php:999
|
3800 |
msgid "Link Library Generated Feed"
|
@@ -4152,23 +4134,19 @@ msgstr "Entrer le code de l’image ci-dessus"
|
|
4152 |
|
4153 |
#: render-link-library-alpha-filter.php:109
|
4154 |
msgid "ALL"
|
4155 |
-
msgstr ""
|
4156 |
|
4157 |
#: render-link-library-cats-sc.php:622
|
4158 |
msgid "Go!"
|
4159 |
msgstr "Allez-y !"
|
4160 |
|
4161 |
#: render-link-library-cats-sc.php:628
|
4162 |
-
#, fuzzy
|
4163 |
-
#| msgid "Hide"
|
4164 |
msgid "Hide all"
|
4165 |
-
msgstr "
|
4166 |
|
4167 |
#: render-link-library-cats-sc.php:629
|
4168 |
-
#, fuzzy
|
4169 |
-
#| msgid "Show all categories"
|
4170 |
msgid "Show all"
|
4171 |
-
msgstr "
|
4172 |
|
4173 |
#: render-link-library-cats-sc.php:667
|
4174 |
msgid "No categories found"
|
@@ -4207,10 +4185,8 @@ msgid "Preview of RSS feed for"
|
|
4207 |
msgstr "Aperçu du flux d’informations RSS de"
|
4208 |
|
4209 |
#: render-link-library-sc.php:2140
|
4210 |
-
#, fuzzy
|
4211 |
-
#| msgid "Publish RSS Feed"
|
4212 |
msgid "Invalid RSS feed"
|
4213 |
-
msgstr "
|
4214 |
|
4215 |
#: render-link-library-sc.php:2850 render-rss-library-sc.php:373
|
4216 |
msgid ""
|
@@ -4228,16 +4204,12 @@ msgid "Thumbnail Screenshots by Thumbshots"
|
|
4228 |
msgstr "Captures d'écrans générées par Thumbshots"
|
4229 |
|
4230 |
#: render-link-library-sc.php:2866
|
4231 |
-
#, fuzzy
|
4232 |
-
#| msgid "Thumbnail Screenshots by Thumbshots"
|
4233 |
msgid "Thumbnail Screenshots by Shrink the Web"
|
4234 |
-
msgstr "Captures d'écrans générées par
|
4235 |
|
4236 |
#: render-link-library-sc.php:2868
|
4237 |
-
#, fuzzy
|
4238 |
-
#| msgid "Thumbnail Screenshots by Thumbshots"
|
4239 |
msgid "Thumbnail Screenshots by Page Peeker"
|
4240 |
-
msgstr "Captures d'écrans générées par
|
4241 |
|
4242 |
#: render-link-library-search-sc.php:57
|
4243 |
msgid "Reset search"
|
1649 |
msgstr "Trier par identifiant"
|
1650 |
|
1651 |
#: link-library-admin.php:4921
|
|
|
|
|
1652 |
msgid "Order by Category Slug"
|
1653 |
+
msgstr "Trier par Slugs de catégories"
|
1654 |
|
1655 |
#: link-library-admin.php:4923
|
1656 |
msgid "Order of categories based on included category list"
|
1674 |
|
1675 |
#: link-library-admin.php:4936
|
1676 |
msgid "Drop-Down List Direct Access"
|
1677 |
+
msgstr "Liste déroulante avec accès direct"
|
1678 |
|
1679 |
#: link-library-admin.php:4937
|
1680 |
msgid "Visibility Toggles"
|
1697 |
msgstr "Afficher la quantité de liens"
|
1698 |
|
1699 |
#: link-library-admin.php:4958
|
|
|
|
|
1700 |
msgid "Hide empty categories from category list"
|
1701 |
+
msgstr "Ne pas afficher les catégories vides dans la liste de catégories"
|
1702 |
|
1703 |
#: link-library-admin.php:4965
|
1704 |
msgid "Display categories with search results"
|
1705 |
msgstr "Afficher les catégories avec les résultats de recherche"
|
1706 |
|
1707 |
#: link-library-admin.php:4969
|
|
|
|
|
1708 |
msgid "Use categories to filter search results"
|
1709 |
+
msgstr "Utiliser les catégories pour filtrer les résultats de recherche"
|
1710 |
|
1711 |
#: link-library-admin.php:4975 link-library-admin.php:5162
|
1712 |
msgid "Direction"
|
1747 |
|
1748 |
#: link-library-admin.php:4998 link-library-admin.php:5343
|
1749 |
msgid "Child category depth limit"
|
1750 |
+
msgstr "Limite de profondeur de sous-catégories"
|
1751 |
|
1752 |
#: link-library-admin.php:5006
|
1753 |
msgid "Width of Categories Table in Percents"
|
1841 |
msgstr "Trier par date de mise à jour"
|
1842 |
|
1843 |
#: link-library-admin.php:5104
|
|
|
|
|
1844 |
msgid "Order by publication date"
|
1845 |
+
msgstr "Trier par date de publication"
|
1846 |
|
1847 |
#: link-library-admin.php:5105
|
1848 |
msgid "Order by number of link visits"
|
1849 |
msgstr "Trier par le nombre de visites du lien"
|
1850 |
|
1851 |
#: link-library-admin.php:5106
|
|
|
|
|
1852 |
msgid "Order by number of user votes"
|
1853 |
+
msgstr "Trier par le nombre de votes des usagers"
|
1854 |
|
1855 |
#: link-library-admin.php:5107
|
1856 |
msgid "Order specified using Simple Custom Post Order plugin"
|
2154 |
|
2155 |
#: link-library-admin.php:5565
|
2156 |
msgid "Suppress all output if empty"
|
2157 |
+
msgstr "Supprimer l'affichage si vide"
|
2158 |
|
2159 |
#: link-library-admin.php:5568
|
2160 |
msgid ""
|
2233 |
msgstr "Secondaire"
|
2234 |
|
2235 |
#: link-library-admin.php:5636 link-library-admin.php:5666
|
|
|
|
|
2236 |
msgid "Dedicated page"
|
2237 |
+
msgstr "Page dédiée"
|
2238 |
|
2239 |
#: link-library-admin.php:5637
|
|
|
|
|
2240 |
msgid "Image only"
|
2241 |
+
msgstr "Image seulement"
|
2242 |
|
2243 |
#: link-library-admin.php:5646
|
2244 |
msgid ""
|
2266 |
msgstr "Description"
|
2267 |
|
2268 |
#: link-library-admin.php:5667
|
|
|
|
|
2269 |
msgid "Link name only"
|
2270 |
+
msgstr "Nom du lien seulement"
|
2271 |
|
2272 |
#: link-library-admin.php:5676
|
2273 |
msgid ""
|
3587 |
msgstr "Visiter"
|
3588 |
|
3589 |
#: link-library-admin.php:7904 render-link-library-addlink-sc.php:1141
|
|
|
|
|
3590 |
msgid "Select an option"
|
3591 |
+
msgstr "Choisir une option"
|
3592 |
|
3593 |
#: link-library-admin.php:7933
|
3594 |
msgid "Number of views"
|
3632 |
|
3633 |
#: link-library-admin.php:8657
|
3634 |
msgid "Redirected to a different address"
|
3635 |
+
msgstr "Redirigé à une adresse différente"
|
3636 |
|
3637 |
#: link-library-admin.php:8659
|
3638 |
msgid "Redirection to a different protocol"
|
3639 |
+
msgstr "Redirigé vers un protocol différent"
|
3640 |
|
3641 |
#: link-library-admin.php:8661
|
3642 |
msgid "Redirected to a sub-domain on same server"
|
3643 |
+
msgstr "Redirigé vers un sous-domaine sur le même serveur"
|
3644 |
|
3645 |
#: link-library-admin.php:8663
|
3646 |
msgid "Redirected to a different subfolder on same server"
|
3647 |
+
msgstr "Redirigé vers un sous-répertoire sur le même serveur"
|
3648 |
|
3649 |
#: link-library-admin.php:8665
|
3650 |
msgid ""
|
3651 |
"Redirected to a different subfolder on same server with bad configuration"
|
3652 |
msgstr ""
|
3653 |
+
"Redirigé vers un différent sous-répertoire sur le même serveur avec une "
|
3654 |
+
"mauvaise configuration"
|
3655 |
|
3656 |
#: link-library-admin.php:8667
|
3657 |
msgid "Not Found"
|
3689 |
|
3690 |
#: link-library-admin.php:8699
|
3691 |
msgid "End of report"
|
3692 |
+
msgstr "Fin du rapport"
|
3693 |
|
3694 |
# Plugin name; please avoid translating if possible
|
3695 |
#: link-library-admin.php:8709
|
3769 |
msgstr "Image du lien (jpg, jpeg, png)"
|
3770 |
|
3771 |
#: link-library.php:376
|
|
|
|
|
3772 |
msgid "Link Library"
|
3773 |
+
msgstr "Link Library"
|
3774 |
|
3775 |
#: link-library.php:467
|
3776 |
#, php-format
|
3777 |
msgctxt "Link Library"
|
3778 |
msgid "Link Library %%PENDING_COUNT%%"
|
3779 |
+
msgstr "Link Library %%PENDING_COUNT%%"
|
3780 |
|
3781 |
#: link-library.php:999
|
3782 |
msgid "Link Library Generated Feed"
|
4134 |
|
4135 |
#: render-link-library-alpha-filter.php:109
|
4136 |
msgid "ALL"
|
4137 |
+
msgstr "TOUS"
|
4138 |
|
4139 |
#: render-link-library-cats-sc.php:622
|
4140 |
msgid "Go!"
|
4141 |
msgstr "Allez-y !"
|
4142 |
|
4143 |
#: render-link-library-cats-sc.php:628
|
|
|
|
|
4144 |
msgid "Hide all"
|
4145 |
+
msgstr "Cacher tous"
|
4146 |
|
4147 |
#: render-link-library-cats-sc.php:629
|
|
|
|
|
4148 |
msgid "Show all"
|
4149 |
+
msgstr "Afficher tous"
|
4150 |
|
4151 |
#: render-link-library-cats-sc.php:667
|
4152 |
msgid "No categories found"
|
4185 |
msgstr "Aperçu du flux d’informations RSS de"
|
4186 |
|
4187 |
#: render-link-library-sc.php:2140
|
|
|
|
|
4188 |
msgid "Invalid RSS feed"
|
4189 |
+
msgstr "Flux RSS invalide"
|
4190 |
|
4191 |
#: render-link-library-sc.php:2850 render-rss-library-sc.php:373
|
4192 |
msgid ""
|
4204 |
msgstr "Captures d'écrans générées par Thumbshots"
|
4205 |
|
4206 |
#: render-link-library-sc.php:2866
|
|
|
|
|
4207 |
msgid "Thumbnail Screenshots by Shrink the Web"
|
4208 |
+
msgstr "Captures d'écrans générées par Shrink The Web"
|
4209 |
|
4210 |
#: render-link-library-sc.php:2868
|
|
|
|
|
4211 |
msgid "Thumbnail Screenshots by Page Peeker"
|
4212 |
+
msgstr "Captures d'écrans générées par Page Peeker"
|
4213 |
|
4214 |
#: render-link-library-search-sc.php:57
|
4215 |
msgid "Reset search"
|
link-library-admin.php
CHANGED
@@ -2907,7 +2907,7 @@ wp_editor( $post->post_content, 'content', $editor_config );
|
|
2907 |
'suppress_custom_text_1_if_empty', 'suppress_custom_text_2_if_empty', 'suppress_custom_text_3_if_empty',
|
2908 |
'suppress_custom_text_4_if_empty', 'suppress_custom_text_5_if_empty', 'suppress_custom_list_1_if_empty', 'suppress_custom_list_2_if_empty',
|
2909 |
'suppress_custom_list_3_if_empty', 'suppress_custom_list_4_if_empty', 'suppress_custom_list_5_if_empty', 'catnamelink', 'hideemptycats',
|
2910 |
-
'rsslibrarypagination', 'showupdatedonly', 'searchfromallcats'
|
2911 |
)
|
2912 |
as $option_name
|
2913 |
) {
|
@@ -4358,7 +4358,7 @@ function general_custom_fields_meta_box( $data ) {
|
|
4358 |
|
4359 |
<textarea name='fullstylesheet' id='fancy-textarea' style='font-family:Courier' rows="30" cols="100"><?php echo stripslashes( $genoptions['fullstylesheet'] ); ?></textarea>
|
4360 |
<div>
|
4361 |
-
<input type="submit" name="submitstyle" value="<?php _e( 'Submit', 'link-library' ); ?>" /><span style='padding-left: 650px'><input type="submit" name="resetstyle" value="<?php _e( 'Reset to default', 'link-library' ); ?>" /></span>
|
4362 |
</div>
|
4363 |
|
4364 |
<script>
|
@@ -6572,6 +6572,14 @@ function general_custom_fields_meta_box( $data ) {
|
|
6572 |
<input type="checkbox" id="searchfromallcats" name="searchfromallcats" <?php checked( $options['searchfromallcats'] ); ?>/>
|
6573 |
</td>
|
6574 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6575 |
</table>
|
6576 |
</div>
|
6577 |
<?php
|
2907 |
'suppress_custom_text_1_if_empty', 'suppress_custom_text_2_if_empty', 'suppress_custom_text_3_if_empty',
|
2908 |
'suppress_custom_text_4_if_empty', 'suppress_custom_text_5_if_empty', 'suppress_custom_list_1_if_empty', 'suppress_custom_list_2_if_empty',
|
2909 |
'suppress_custom_list_3_if_empty', 'suppress_custom_list_4_if_empty', 'suppress_custom_list_5_if_empty', 'catnamelink', 'hideemptycats',
|
2910 |
+
'rsslibrarypagination', 'showupdatedonly', 'searchfromallcats', 'suppressonemptysearch'
|
2911 |
)
|
2912 |
as $option_name
|
2913 |
) {
|
4358 |
|
4359 |
<textarea name='fullstylesheet' id='fancy-textarea' style='font-family:Courier' rows="30" cols="100"><?php echo stripslashes( $genoptions['fullstylesheet'] ); ?></textarea>
|
4360 |
<div>
|
4361 |
+
<input type="submit" class="button button-primary submitstyle" name="submitstyle" value="<?php _e( 'Submit', 'link-library' ); ?>" /><span style='padding-left: 650px'><input type="submit" class="button button-primary resetstyle" name="resetstyle" value="<?php _e( 'Reset to default', 'link-library' ); ?>" /></span>
|
4362 |
</div>
|
4363 |
|
4364 |
<script>
|
6572 |
<input type="checkbox" id="searchfromallcats" name="searchfromallcats" <?php checked( $options['searchfromallcats'] ); ?>/>
|
6573 |
</td>
|
6574 |
</tr>
|
6575 |
+
<tr>
|
6576 |
+
<td>
|
6577 |
+
<?php _e( 'Suppress all output if search results are empty', 'link-library' ); ?>
|
6578 |
+
</td>
|
6579 |
+
<td style='width:75px;padding-right:20px'>
|
6580 |
+
<input type="checkbox" id="suppressonemptysearch" name="suppressonemptysearch" <?php checked( $options['suppressonemptysearch'] ); ?>/>
|
6581 |
+
</td>
|
6582 |
+
</tr>
|
6583 |
</table>
|
6584 |
</div>
|
6585 |
<?php
|
link-library-defaults.php
CHANGED
@@ -454,6 +454,7 @@ function ll_reset_options( $settings = 1, $layout = 'list', $setoptions = 'retur
|
|
454 |
$options['showupdatedonly'] = false;
|
455 |
$options['updateddays'] = 7;
|
456 |
$options['searchfromallcats'] = false;
|
|
|
457 |
|
458 |
if ( 'return_and_set' == $setoptions ) {
|
459 |
$settingsname = 'LinkLibraryPP' . $settings;
|
454 |
$options['showupdatedonly'] = false;
|
455 |
$options['updateddays'] = 7;
|
456 |
$options['searchfromallcats'] = false;
|
457 |
+
$options['suppressonemptysearch'] = false;
|
458 |
|
459 |
if ( 'return_and_set' == $setoptions ) {
|
460 |
$settingsname = 'LinkLibraryPP' . $settings;
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ 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.1
|
7 |
-
Stable tag: 7.3.
|
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,11 @@ Further configuration is available under the Link Library Settings panel.
|
|
50 |
|
51 |
== Changelog ==
|
52 |
|
|
|
|
|
|
|
|
|
|
|
53 |
= 7.3.18 =
|
54 |
* Fixed issue introduced in 7.3.16
|
55 |
|
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.1
|
7 |
+
Stable tag: 7.3.19
|
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.19 =
|
54 |
+
* Fixed additional french translations
|
55 |
+
* Changed colors of Submit and Reset buttons in stylesheet editor
|
56 |
+
* Added new option under search tab configuration to suppress output if no results are found
|
57 |
+
|
58 |
= 7.3.18 =
|
59 |
* Fixed issue introduced in 7.3.16
|
60 |
|
render-link-library-sc.php
CHANGED
@@ -786,7 +786,7 @@ function RenderLinkLibrary( $LLPluginClass, $generaloptions, $libraryoptions, $s
|
|
786 |
$output .= link_library_display_pagination( $previouspagenumber, $nextpagenumber, $number_of_pages, $pagenumber, $showonecatonly, $showonecatmode, $AJAXcatid, $settings, $pageID, $currentcatletter );
|
787 |
}
|
788 |
|
789 |
-
if ( $level == 0 && 'search' == $mode ) {
|
790 |
$output .= '<div class="resulttitle">' . __('Search Results for', 'link-library') . ' "' . esc_html( stripslashes( $searchstring ) ) . '"</div><!-- Div search results title -->';
|
791 |
}
|
792 |
|
@@ -1055,6 +1055,10 @@ function RenderLinkLibrary( $LLPluginClass, $generaloptions, $libraryoptions, $s
|
|
1055 |
|
1056 |
// Display links
|
1057 |
if ( ( $the_link_query->found_posts && $showonecatonly && ( ( 'AJAX' == $showonecatmode && $AJAXnocatset ) || ( 'AJAX' != $showonecatmode && $GETnocatset ) ) && $nocatonstartup && empty( $searchstring ) ) || ( 0 == $the_link_query->found_posts && $nocatonstartup && empty( $searchstring ) ) ) {
|
|
|
|
|
|
|
|
|
1058 |
$output .= "<div id='linklist" . $settings . "' class='linklist'>\n";
|
1059 |
$output .= '</div><!-- Div empty list -->';
|
1060 |
} elseif ( ( $the_link_query->found_posts || !$hide_if_empty || $cat_has_children ) ) {
|
@@ -2853,7 +2857,7 @@ function RenderLinkLibrary( $LLPluginClass, $generaloptions, $libraryoptions, $s
|
|
2853 |
$output .= '<span class="nolinksfoundallcats">' . __( 'No links found', 'link-library' ) . '</span>';
|
2854 |
}
|
2855 |
|
2856 |
-
if ( !empty( $searchstring ) && $linkcount == 1 && $level == 0 ) {
|
2857 |
$output .= '<span class="nolinksfoundallcats">' . stripslashes( $searchnoresultstext ) . "</span>\n";
|
2858 |
}
|
2859 |
|
786 |
$output .= link_library_display_pagination( $previouspagenumber, $nextpagenumber, $number_of_pages, $pagenumber, $showonecatonly, $showonecatmode, $AJAXcatid, $settings, $pageID, $currentcatletter );
|
787 |
}
|
788 |
|
789 |
+
if ( $level == 0 && 'search' == $mode && !$suppressonemptysearch ) {
|
790 |
$output .= '<div class="resulttitle">' . __('Search Results for', 'link-library') . ' "' . esc_html( stripslashes( $searchstring ) ) . '"</div><!-- Div search results title -->';
|
791 |
}
|
792 |
|
1055 |
|
1056 |
// Display links
|
1057 |
if ( ( $the_link_query->found_posts && $showonecatonly && ( ( 'AJAX' == $showonecatmode && $AJAXnocatset ) || ( 'AJAX' != $showonecatmode && $GETnocatset ) ) && $nocatonstartup && empty( $searchstring ) ) || ( 0 == $the_link_query->found_posts && $nocatonstartup && empty( $searchstring ) ) ) {
|
1058 |
+
if ( $level == 0 && 'search' == $mode && !$suppressonemptysearch ) {
|
1059 |
+
$output .= '<div class="resulttitle">' . __( 'Search Results for', 'link-library' ) . ' "' . esc_html( stripslashes( $searchstring ) ) . '"</div><!-- Div search results title -->';
|
1060 |
+
}
|
1061 |
+
|
1062 |
$output .= "<div id='linklist" . $settings . "' class='linklist'>\n";
|
1063 |
$output .= '</div><!-- Div empty list -->';
|
1064 |
} elseif ( ( $the_link_query->found_posts || !$hide_if_empty || $cat_has_children ) ) {
|
2857 |
$output .= '<span class="nolinksfoundallcats">' . __( 'No links found', 'link-library' ) . '</span>';
|
2858 |
}
|
2859 |
|
2860 |
+
if ( !empty( $searchstring ) && $linkcount == 1 && $level == 0 && !$suppressonemptysearch ) {
|
2861 |
$output .= '<span class="nolinksfoundallcats">' . stripslashes( $searchnoresultstext ) . "</span>\n";
|
2862 |
}
|
2863 |
|