Version Description
- Fixes for [link-library-cats] shortcode for sites with hierarchical categories
Download this release
Release Info
Developer | jackdewey |
Plugin | Link Library |
Version | 7.3.20 |
Comparing to | |
See all releases |
Code changes from version 7.3.19 to 7.3.20
- languages/link-library-fr_FR.mo +0 -0
- languages/link-library-fr_FR.po +16 -21
- link-library.php +1 -1
- readme.txt +4 -1
- render-link-library-cats-sc.php +22 -5
languages/link-library-fr_FR.mo
CHANGED
Binary file
|
languages/link-library-fr_FR.po
CHANGED
@@ -326,7 +326,7 @@ msgstr ""
|
|
326 |
|
327 |
#: link-library-admin.php:1086
|
328 |
msgid "Global Options successfully imported."
|
329 |
-
msgstr "Configuration générale importée avec succès"
|
330 |
|
331 |
#: link-library-admin.php:1088
|
332 |
msgid "Failed to import Global Options"
|
@@ -706,7 +706,7 @@ msgstr ""
|
|
706 |
"Spécifier une liste de pages, séparées par des virgules, dans lesquelles les "
|
707 |
"feuilles de styles et les scripts de Link Library doivent être chargés. "
|
708 |
"Cette option est principalement utilisée si vous affichez Link Library en "
|
709 |
-
"utilisant son API
|
710 |
|
711 |
#: link-library-admin.php:3392
|
712 |
msgid "Additional pages to load styles and scripts"
|
@@ -764,7 +764,7 @@ msgstr "Générateur de vignettes"
|
|
764 |
|
765 |
#: link-library-admin.php:3446 link-library-admin.php:3447
|
766 |
msgid "API Key for Thumbshots.com thumbnail generation accounts"
|
767 |
-
msgstr "CID pour le service de vignette de Thumbshots.com
|
768 |
|
769 |
#: link-library-admin.php:3446
|
770 |
msgid "Thumbshots API Key"
|
@@ -1057,7 +1057,7 @@ msgstr ""
|
|
1057 |
"Contenu du courriel d’approbation du lien. Utilisez %linkname% comme "
|
1058 |
"variable qui sera remplacée par le nom de lien, %submittername% pour le nom "
|
1059 |
"de la personne ayant soumise le lien et %linkurl% pour l’adresse du "
|
1060 |
-
"lien
|
1061 |
|
1062 |
#: link-library-admin.php:4069
|
1063 |
msgid "Approval e-mail body"
|
@@ -1083,7 +1083,7 @@ msgid ""
|
|
1083 |
msgstr ""
|
1084 |
"Contenu du courriel de rejet du lien. Utilisez %linkname% comme variable qui "
|
1085 |
"sera remplacée par le nom de lien, %submittername% pour le nom de la "
|
1086 |
-
"personne ayant soumise le lien et %linkurl% pour l’adresse du lien
|
1087 |
|
1088 |
#: link-library-admin.php:4081
|
1089 |
msgid "Rejection e-mail body"
|
@@ -1193,7 +1193,7 @@ msgstr "Article spécifique"
|
|
1193 |
|
1194 |
#: link-library-admin.php:4179
|
1195 |
msgid "Specific "
|
1196 |
-
msgstr "Spécifique"
|
1197 |
|
1198 |
#: link-library-admin.php:4200
|
1199 |
msgid "Import Links from Site"
|
@@ -1343,10 +1343,8 @@ msgid "Display link submission form"
|
|
1343 |
msgstr "Afficher le formulaire de soumission de liens"
|
1344 |
|
1345 |
#: link-library-admin.php:4534
|
1346 |
-
#, fuzzy
|
1347 |
-
#| msgid "Display basic link library"
|
1348 |
msgid "Display count of links in a library"
|
1349 |
-
msgstr "
|
1350 |
|
1351 |
#: link-library-admin.php:4542
|
1352 |
#, php-format
|
@@ -1377,13 +1375,10 @@ msgstr "Réinitialiser la configuration de librairie courante"
|
|
1377 |
|
1378 |
#: link-library-admin.php:4561
|
1379 |
msgid "Layout"
|
1380 |
-
msgstr ""
|
1381 |
|
1382 |
#: link-library-admin.php:4563
|
1383 |
-
#,
|
1384 |
-
#| msgid ""
|
1385 |
-
#| "You are about to reset Library '%s'\n"
|
1386 |
-
#| " 'Cancel' to stop, 'OK' to reset."
|
1387 |
msgid ""
|
1388 |
"You are about to change the layout of Library '%s' and reset all its "
|
1389 |
"options\n"
|
@@ -1395,7 +1390,7 @@ msgstr ""
|
|
1395 |
|
1396 |
#: link-library-admin.php:4563
|
1397 |
msgid "Apply Layout"
|
1398 |
-
msgstr ""
|
1399 |
|
1400 |
#: link-library-admin.php:4597 render-link-library-addlink-sc.php:64
|
1401 |
msgid "No link categories! Create some!"
|
@@ -1423,6 +1418,8 @@ msgstr "identifiants de catégories numériques"
|
|
1423 |
#: link-library-admin.php:4621 link-library-admin.php:4665
|
1424 |
msgid "To find the IDs, go to the Link Categories admin page. For example"
|
1425 |
msgstr ""
|
|
|
|
|
1426 |
|
1427 |
#: link-library-admin.php:4623
|
1428 |
msgid "Categories to be displayed (Empty=All)"
|
@@ -1557,7 +1554,7 @@ msgstr "Paginer les résultats"
|
|
1557 |
|
1558 |
#: link-library-admin.php:4761 link-library-admin.php:4764
|
1559 |
msgid "Number of Links to be Displayed per Page in Pagination Mode"
|
1560 |
-
msgstr "Nombre de liens devant être affichés en
|
1561 |
|
1562 |
#: link-library-admin.php:4762
|
1563 |
msgid "Links per Page"
|
@@ -1957,7 +1954,7 @@ msgid ""
|
|
1957 |
"links"
|
1958 |
msgstr ""
|
1959 |
"Configure la fenêtre cible pour les liens. Cette valeur n’est pas "
|
1960 |
-
"prioritaire par rapport aux cibles spécifiques des liens
|
1961 |
|
1962 |
#: link-library-admin.php:5249
|
1963 |
msgid "Link Target"
|
@@ -3682,10 +3679,8 @@ msgid "There are no links to check"
|
|
3682 |
msgstr "Il n'y a pas de liens à vérifier"
|
3683 |
|
3684 |
#: link-library-admin.php:8696
|
3685 |
-
#, fuzzy
|
3686 |
-
#| msgid "There are no links with reciprocal links associated with them"
|
3687 |
msgid "There are no links with RSS feeds associated with them or no errors"
|
3688 |
-
msgstr "Il n
|
3689 |
|
3690 |
#: link-library-admin.php:8699
|
3691 |
msgid "End of report"
|
@@ -3831,7 +3826,7 @@ msgstr "Le code du captcha n’est valide que durant 5 minutes"
|
|
3831 |
msgid "No captcha cookie given. Make sure cookies are enabled"
|
3832 |
msgstr ""
|
3833 |
"Le cookie pour le code du captcha est absent. Veuillez vous assurer que les "
|
3834 |
-
"cookies sont activés
|
3835 |
|
3836 |
#: render-link-library-addlink-sc.php:201
|
3837 |
msgid "Captcha answer was not provided."
|
326 |
|
327 |
#: link-library-admin.php:1086
|
328 |
msgid "Global Options successfully imported."
|
329 |
+
msgstr "Configuration générale importée avec succès."
|
330 |
|
331 |
#: link-library-admin.php:1088
|
332 |
msgid "Failed to import Global Options"
|
706 |
"Spécifier une liste de pages, séparées par des virgules, dans lesquelles les "
|
707 |
"feuilles de styles et les scripts de Link Library doivent être chargés. "
|
708 |
"Cette option est principalement utilisée si vous affichez Link Library en "
|
709 |
+
"utilisant son API"
|
710 |
|
711 |
#: link-library-admin.php:3392
|
712 |
msgid "Additional pages to load styles and scripts"
|
764 |
|
765 |
#: link-library-admin.php:3446 link-library-admin.php:3447
|
766 |
msgid "API Key for Thumbshots.com thumbnail generation accounts"
|
767 |
+
msgstr "CID pour le service de vignette de Thumbshots.com"
|
768 |
|
769 |
#: link-library-admin.php:3446
|
770 |
msgid "Thumbshots API Key"
|
1057 |
"Contenu du courriel d’approbation du lien. Utilisez %linkname% comme "
|
1058 |
"variable qui sera remplacée par le nom de lien, %submittername% pour le nom "
|
1059 |
"de la personne ayant soumise le lien et %linkurl% pour l’adresse du "
|
1060 |
+
"lien"
|
1061 |
|
1062 |
#: link-library-admin.php:4069
|
1063 |
msgid "Approval e-mail body"
|
1083 |
msgstr ""
|
1084 |
"Contenu du courriel de rejet du lien. Utilisez %linkname% comme variable qui "
|
1085 |
"sera remplacée par le nom de lien, %submittername% pour le nom de la "
|
1086 |
+
"personne ayant soumise le lien et %linkurl% pour l’adresse du lien"
|
1087 |
|
1088 |
#: link-library-admin.php:4081
|
1089 |
msgid "Rejection e-mail body"
|
1193 |
|
1194 |
#: link-library-admin.php:4179
|
1195 |
msgid "Specific "
|
1196 |
+
msgstr "Spécifique "
|
1197 |
|
1198 |
#: link-library-admin.php:4200
|
1199 |
msgid "Import Links from Site"
|
1343 |
msgstr "Afficher le formulaire de soumission de liens"
|
1344 |
|
1345 |
#: link-library-admin.php:4534
|
|
|
|
|
1346 |
msgid "Display count of links in a library"
|
1347 |
+
msgstr "Affiche le nombre de liens dans une librairie"
|
1348 |
|
1349 |
#: link-library-admin.php:4542
|
1350 |
#, php-format
|
1375 |
|
1376 |
#: link-library-admin.php:4561
|
1377 |
msgid "Layout"
|
1378 |
+
msgstr "Mise en page"
|
1379 |
|
1380 |
#: link-library-admin.php:4563
|
1381 |
+
#, php-format
|
|
|
|
|
|
|
1382 |
msgid ""
|
1383 |
"You are about to change the layout of Library '%s' and reset all its "
|
1384 |
"options\n"
|
1390 |
|
1391 |
#: link-library-admin.php:4563
|
1392 |
msgid "Apply Layout"
|
1393 |
+
msgstr "Appliquer la mise en page"
|
1394 |
|
1395 |
#: link-library-admin.php:4597 render-link-library-addlink-sc.php:64
|
1396 |
msgid "No link categories! Create some!"
|
1418 |
#: link-library-admin.php:4621 link-library-admin.php:4665
|
1419 |
msgid "To find the IDs, go to the Link Categories admin page. For example"
|
1420 |
msgstr ""
|
1421 |
+
"Pour trouver les IDs, aller sur la page de destion des Catégories des Liens. "
|
1422 |
+
"Par exemple"
|
1423 |
|
1424 |
#: link-library-admin.php:4623
|
1425 |
msgid "Categories to be displayed (Empty=All)"
|
1554 |
|
1555 |
#: link-library-admin.php:4761 link-library-admin.php:4764
|
1556 |
msgid "Number of Links to be Displayed per Page in Pagination Mode"
|
1557 |
+
msgstr "Nombre de liens devant être affichés en Mode Pagination"
|
1558 |
|
1559 |
#: link-library-admin.php:4762
|
1560 |
msgid "Links per Page"
|
1954 |
"links"
|
1955 |
msgstr ""
|
1956 |
"Configure la fenêtre cible pour les liens. Cette valeur n’est pas "
|
1957 |
+
"prioritaire par rapport aux cibles spécifiques des liens"
|
1958 |
|
1959 |
#: link-library-admin.php:5249
|
1960 |
msgid "Link Target"
|
3679 |
msgstr "Il n'y a pas de liens à vérifier"
|
3680 |
|
3681 |
#: link-library-admin.php:8696
|
|
|
|
|
3682 |
msgid "There are no links with RSS feeds associated with them or no errors"
|
3683 |
+
msgstr "Il n'y a pas de liens avec des flux RSS associés ou sans erreurs"
|
3684 |
|
3685 |
#: link-library-admin.php:8699
|
3686 |
msgid "End of report"
|
3826 |
msgid "No captcha cookie given. Make sure cookies are enabled"
|
3827 |
msgstr ""
|
3828 |
"Le cookie pour le code du captcha est absent. Veuillez vous assurer que les "
|
3829 |
+
"cookies sont activés"
|
3830 |
|
3831 |
#: render-link-library-addlink-sc.php:201
|
3832 |
msgid "Captcha answer was not provided."
|
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.
|
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.20
|
7 |
Author: Yannick Lefebvre
|
8 |
Author URI: http://ylefebvre.github.io/
|
9 |
Text Domain: link-library
|
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,9 @@ Further configuration is available under the Link Library Settings panel.
|
|
50 |
|
51 |
== Changelog ==
|
52 |
|
|
|
|
|
|
|
53 |
= 7.3.19 =
|
54 |
* Fixed additional french translations
|
55 |
* Changed colors of Submit and Reset buttons in stylesheet editor
|
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.20
|
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.20 =
|
54 |
+
* Fixes for [link-library-cats] shortcode for sites with hierarchical categories
|
55 |
+
|
56 |
= 7.3.19 =
|
57 |
* Fixed additional french translations
|
58 |
* Changed colors of Submit and Reset buttons in stylesheet editor
|
render-link-library-cats-sc.php
CHANGED
@@ -14,7 +14,7 @@ require_once plugin_dir_path( __FILE__ ) . 'link-library-defaults.php';
|
|
14 |
* @return List of categories output for browser
|
15 |
*/
|
16 |
|
17 |
-
function RenderLinkLibraryCategories( $LLPluginClass, $generaloptions, $libraryoptions, $settings, $targetlibrary, $parent_cat_id
|
18 |
$generaloptions = wp_parse_args( $generaloptions, ll_reset_gen_settings( 'return' ) );
|
19 |
extract( $generaloptions );
|
20 |
|
@@ -129,12 +129,28 @@ function RenderLinkLibraryCategories( $LLPluginClass, $generaloptions, $libraryo
|
|
129 |
add_filter( 'get_terms', 'link_library_get_terms_filter_publish_draft_pending', 10, 3 );
|
130 |
}
|
131 |
|
132 |
-
|
133 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
134 |
}
|
135 |
|
136 |
-
if ( !empty( $excludecategorylist_cpt ) && empty( $singlelinkid )
|
137 |
$link_categories_query_args['exclude'] = explode( ',', $excludecategorylist_cpt );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
138 |
}
|
139 |
|
140 |
/* if ( isset( $categoryname ) && !empty( $categoryname ) && 'HTMLGETPERM' == $showonecatmode && empty( $singlelinkid ) && $level == 0 ) {
|
@@ -175,7 +191,7 @@ function RenderLinkLibraryCategories( $LLPluginClass, $generaloptions, $libraryo
|
|
175 |
}
|
176 |
}
|
177 |
|
178 |
-
if ( 'catlist' == $order ) {
|
179 |
$temp_link_categories = $link_categories;
|
180 |
$link_categories = array();
|
181 |
foreach ( $link_categories_query_args['include'] as $sort_link_category_id ) {
|
@@ -190,6 +206,7 @@ function RenderLinkLibraryCategories( $LLPluginClass, $generaloptions, $libraryo
|
|
190 |
|
191 |
if ( $debugmode ) {
|
192 |
$output .= "\n<!-- Category taxonomy: " . print_r( $generaloptions['cattaxonomy'], TRUE ) . " -->\n\n";
|
|
|
193 |
$output .= "\n<!-- Category Query: " . print_r( $link_categories_query_args, TRUE ) . " -->\n\n";
|
194 |
$output .= "\n<!-- Category Results: " . print_r( $link_categories, TRUE ) . " -->\n\n";
|
195 |
}
|
14 |
* @return List of categories output for browser
|
15 |
*/
|
16 |
|
17 |
+
function RenderLinkLibraryCategories( $LLPluginClass, $generaloptions, $libraryoptions, $settings, $targetlibrary, $parent_cat_id, $level = 0 ) {
|
18 |
$generaloptions = wp_parse_args( $generaloptions, ll_reset_gen_settings( 'return' ) );
|
19 |
extract( $generaloptions );
|
20 |
|
129 |
add_filter( 'get_terms', 'link_library_get_terms_filter_publish_draft_pending', 10, 3 );
|
130 |
}
|
131 |
|
132 |
+
// Could build an array of parents that gets passed down each level and then cycle through to remove all parents
|
133 |
+
|
134 |
+
if ( !empty( $categorylist_cpt ) && empty( $singlelinkid ) ) {
|
135 |
+
$link_categories_query_args['include'] = explode( ',', $categorylist_cpt );
|
136 |
+
|
137 |
+
if ( $level != 0 ) {
|
138 |
+
$pos = array_search( $parent_cat_id, $link_categories_query_args['include'] );
|
139 |
+
if ($pos !== false) {
|
140 |
+
unset( $link_categories_query_args['include'][$pos] );
|
141 |
+
}
|
142 |
+
}
|
143 |
}
|
144 |
|
145 |
+
if ( !empty( $excludecategorylist_cpt ) && empty( $singlelinkid ) ) {
|
146 |
$link_categories_query_args['exclude'] = explode( ',', $excludecategorylist_cpt );
|
147 |
+
|
148 |
+
if ( $level != 0 ) {
|
149 |
+
$pos = array_search( $parent_cat_id, $link_categories_query_args['exclude'] );
|
150 |
+
if ($pos !== false) {
|
151 |
+
unset( $link_categories_query_args['exclude'][$pos] );
|
152 |
+
}
|
153 |
+
}
|
154 |
}
|
155 |
|
156 |
/* if ( isset( $categoryname ) && !empty( $categoryname ) && 'HTMLGETPERM' == $showonecatmode && empty( $singlelinkid ) && $level == 0 ) {
|
191 |
}
|
192 |
}
|
193 |
|
194 |
+
if ( 'catlist' == $order && $level == 0 ) {
|
195 |
$temp_link_categories = $link_categories;
|
196 |
$link_categories = array();
|
197 |
foreach ( $link_categories_query_args['include'] as $sort_link_category_id ) {
|
206 |
|
207 |
if ( $debugmode ) {
|
208 |
$output .= "\n<!-- Category taxonomy: " . print_r( $generaloptions['cattaxonomy'], TRUE ) . " -->\n\n";
|
209 |
+
$output .= "\n<!-- Parent Cat ID: " . print_r( $parent_cat_id, TRUE ) . " -->\n\n";
|
210 |
$output .= "\n<!-- Category Query: " . print_r( $link_categories_query_args, TRUE ) . " -->\n\n";
|
211 |
$output .= "\n<!-- Category Results: " . print_r( $link_categories, TRUE ) . " -->\n\n";
|
212 |
}
|