Version Description
Download this release
Release Info
Developer | jackdewey |
Plugin | Link Library |
Version | LinkLibrary_5.9.15.8 |
Comparing to | |
See all releases |
Code changes from version 6.0-Beta12 to LinkLibrary_5.9.15.8
- adminstyle.css +0 -23
- icons/link-icon.png +0 -0
- importtemplate.csv +2 -2
- js/ll_admin_edit.js +0 -34
- languages/link-library-fr_CA.mo +0 -0
- languages/link-library-fr_CA.po +0 -2943
- languages/link-library-nb_NO.mo +0 -0
- languages/link-library-nb_NO.po +0 -3250
- languages/link-library.mo +0 -0
- languages/link-library.pot +853 -1006
- link-library-admin.php +1238 -1610
- link-library-defaults.php +41 -57
- link-library-image-generator.php +13 -13
- link-library-update-60.php +0 -188
- link-library.php +181 -301
- linkpopup.php +250 -270
- readme.txt +14 -53
- render-link-library-addlink-sc.php +568 -553
- render-link-library-alpha-filter.php +14 -14
- render-link-library-cats-sc.php +482 -470
- render-link-library-sc.php +1048 -1548
- render-link-library-search-sc.php +1 -10
- render-link-library-tag-filter-sc.php +0 -145
- rss.genesis.php +467 -467
- rssfeed.php +80 -89
- rsspreview.php +52 -53
- stylesheettemplate.css +0 -21
- tracker.php +20 -9
- uninstall.php +28 -12
- usersubmission.php +115 -94
adminstyle.css
DELETED
@@ -1,23 +0,0 @@
|
|
1 |
-
.link_full_page_editor {
|
2 |
-
margin-bottom: 0 !important;
|
3 |
-
}
|
4 |
-
|
5 |
-
.post-type-link_library_links .wp-editor-tools {
|
6 |
-
padding-top: 0px !important;
|
7 |
-
}
|
8 |
-
|
9 |
-
#wp-content-editor-tools {
|
10 |
-
background-color: #fff;
|
11 |
-
}
|
12 |
-
|
13 |
-
.wp-list-table #link_library_rating {
|
14 |
-
width: 80px;
|
15 |
-
}
|
16 |
-
|
17 |
-
.wp-list-table #link_library_visits {
|
18 |
-
width: 60px;
|
19 |
-
}
|
20 |
-
|
21 |
-
#ll-usage table.widefat td {
|
22 |
-
padding: 2px 4px 2px 10px;
|
23 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
icons/link-icon.png
DELETED
Binary file
|
importtemplate.csv
CHANGED
@@ -1,2 +1,2 @@
|
|
1 |
-
"Name","Address","RSS","Description","Notes","Category","
|
2 |
-
"IGN","http://ign.com","","Video Game News",,"first,second","
|
1 |
+
"Name","Address","RSS","Description","Notes","Category","Visible","Secondary URL","Telephone","E-mail","Reciprocal link","Image Address","Large Description","No Follow","Rating","Link Target", "Updated Date - Empty for none"
|
2 |
+
"IGN","http://ign.com","","Video Game News",,"first,second","Y",,,"",,,"This is a long description of the link","N",10,"_blank","2017-02-15"
|
js/ll_admin_edit.js
DELETED
@@ -1,34 +0,0 @@
|
|
1 |
-
(function($) {
|
2 |
-
|
3 |
-
// we create a copy of the WP inline edit post function
|
4 |
-
var $wp_inline_edit = inlineEditPost.edit;
|
5 |
-
|
6 |
-
// and then we overwrite the function with our own code
|
7 |
-
inlineEditPost.edit = function( id ) {
|
8 |
-
|
9 |
-
// "call" the original WP edit function
|
10 |
-
// we don't want to leave WordPress hanging
|
11 |
-
$wp_inline_edit.apply( this, arguments );
|
12 |
-
|
13 |
-
// now we take care of our business
|
14 |
-
|
15 |
-
// get the post ID
|
16 |
-
var $post_id = 0;
|
17 |
-
if ( typeof( id ) == 'object' ) {
|
18 |
-
$post_id = parseInt( this.getId( id ) );
|
19 |
-
}
|
20 |
-
|
21 |
-
if ( $post_id > 0 ) {
|
22 |
-
// define the edit row
|
23 |
-
var $edit_row = $( '#edit-' + $post_id );
|
24 |
-
var $post_row = $( '#post-' + $post_id );
|
25 |
-
|
26 |
-
// get the data
|
27 |
-
var $link_url = $( '.column-link_library_url', $post_row ).text();
|
28 |
-
|
29 |
-
// populate the data
|
30 |
-
$( ':input[name="link_url"]', $edit_row ).val( $link_url );
|
31 |
-
}
|
32 |
-
};
|
33 |
-
|
34 |
-
})(jQuery);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
languages/link-library-fr_CA.mo
DELETED
Binary file
|
languages/link-library-fr_CA.po
DELETED
@@ -1,2943 +0,0 @@
|
|
1 |
-
msgid ""
|
2 |
-
msgstr ""
|
3 |
-
"Project-Id-Version: Link Library 5.9.15.1\n"
|
4 |
-
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2018-02-08 16:20+0100\n"
|
6 |
-
"PO-Revision-Date: \n"
|
7 |
-
"Last-Translator: Luc Capronnier <lcapronnier@yahoo.com>\n"
|
8 |
-
"Language-Team: Luc Capronnier <lcapronnier@yahoo.com>\n"
|
9 |
-
"MIME-Version: 1.0\n"
|
10 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
-
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"Language: French\n"
|
13 |
-
"X-Poedit-Bookmarks: 136,-1,-1,-1,-1,-1,-1,-1,-1,-1\n"
|
14 |
-
"X-Generator: Poedit 1.5.4\n"
|
15 |
-
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
-
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;esc_html;esc_html__;esc_html_e;esc_attr__;esc_attr_e\n"
|
17 |
-
"X-Poedit-Basepath: ..\n"
|
18 |
-
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
19 |
-
"X-Poedit-Language: French\n"
|
20 |
-
"X-Poedit-Country: FRANCE\n"
|
21 |
-
"X-Poedit-SearchPath-0: .\n"
|
22 |
-
|
23 |
-
# Plugin name; please avoid translating if possible
|
24 |
-
#: link-library-admin.php:99
|
25 |
-
msgid "Insert a Link Library shortcode"
|
26 |
-
msgstr "Insérer le code court de Link Library"
|
27 |
-
|
28 |
-
#: link-library-admin.php:102
|
29 |
-
msgid "Link List"
|
30 |
-
msgstr "Liste de liens"
|
31 |
-
|
32 |
-
#: link-library-admin.php:103
|
33 |
-
msgid "Link Category List"
|
34 |
-
msgstr "Liste de catégories de lien"
|
35 |
-
|
36 |
-
#: link-library-admin.php:104
|
37 |
-
msgid "Link Search"
|
38 |
-
msgstr "Recherche de lien"
|
39 |
-
|
40 |
-
#: link-library-admin.php:105
|
41 |
-
msgid "Add Link Form"
|
42 |
-
msgstr "Formulaire d’ajout de lien"
|
43 |
-
|
44 |
-
#: link-library-admin.php:109
|
45 |
-
msgid "Insert Shortcode"
|
46 |
-
msgstr "Insérer le code court"
|
47 |
-
|
48 |
-
#: link-library-admin.php:110
|
49 |
-
msgid "Cancel"
|
50 |
-
msgstr "Annuler"
|
51 |
-
|
52 |
-
#: link-library-admin.php:113
|
53 |
-
msgid "Render a list of links."
|
54 |
-
msgstr "Montrer une liste de liens."
|
55 |
-
|
56 |
-
#: link-library-admin.php:115
|
57 |
-
#: link-library-admin.php:170
|
58 |
-
#: link-library-admin.php:205
|
59 |
-
msgid "Library ID"
|
60 |
-
msgstr "ID de la librairie"
|
61 |
-
|
62 |
-
#: link-library-admin.php:126
|
63 |
-
#: link-library-admin.php:181
|
64 |
-
#: link-library-admin.php:216
|
65 |
-
#: link-library-admin.php:854
|
66 |
-
#: link-library-admin.php:2576
|
67 |
-
#: link-library-admin.php:2589
|
68 |
-
msgid "Library"
|
69 |
-
msgstr "Librairie"
|
70 |
-
|
71 |
-
#: link-library-admin.php:132
|
72 |
-
msgid "Single Link ID"
|
73 |
-
msgstr "ID d’un lien unique"
|
74 |
-
|
75 |
-
#: link-library-admin.php:135
|
76 |
-
msgid "Specify ID of single link to be displayed"
|
77 |
-
msgstr "Définir l’ID d’un lien unique à afficher"
|
78 |
-
|
79 |
-
#: link-library-admin.php:137
|
80 |
-
#: link-library-admin.php:187
|
81 |
-
#: link-library-admin.php:222
|
82 |
-
msgid "Category Override"
|
83 |
-
msgstr "Modifier la configuration des catégories"
|
84 |
-
|
85 |
-
#: link-library-admin.php:140
|
86 |
-
#: link-library-admin.php:190
|
87 |
-
#: link-library-admin.php:225
|
88 |
-
msgid "Single, or comma-separated list of categories IDs to be displayed in the link list"
|
89 |
-
msgstr "Une catégorie, ou une liste d’ID de catégories séparées par des virgules qu’il faut afficher dans la liste des liens"
|
90 |
-
|
91 |
-
#: link-library-admin.php:142
|
92 |
-
#: link-library-admin.php:192
|
93 |
-
#: link-library-admin.php:227
|
94 |
-
msgid "Excluded Category Override"
|
95 |
-
msgstr "Modifier les exclusions de catégories"
|
96 |
-
|
97 |
-
#: link-library-admin.php:145
|
98 |
-
#: link-library-admin.php:195
|
99 |
-
#: link-library-admin.php:230
|
100 |
-
msgid "Single, or comma-separated list of categories IDs to be excluded from the link list"
|
101 |
-
msgstr "Une catégorie, ou une liste d’ID de catégories séparées par des vrigules qu’il faut exclure de la liste des liens"
|
102 |
-
|
103 |
-
#: link-library-admin.php:147
|
104 |
-
#: link-library-admin.php:152
|
105 |
-
#: link-library-admin.php:157
|
106 |
-
#: link-library-admin.php:162
|
107 |
-
msgid "Notes Override"
|
108 |
-
msgstr "Modifier la configuration des notes"
|
109 |
-
|
110 |
-
#: link-library-admin.php:150
|
111 |
-
msgid "Set to 0 or 1 to display or not display link notes"
|
112 |
-
msgstr "Mettre 0 ou 1 pour affichier ou non les notes sur les liens"
|
113 |
-
|
114 |
-
#: link-library-admin.php:155
|
115 |
-
msgid "Set to 0 or 1 to display or not display link descriptions"
|
116 |
-
msgstr "Mettre 0 ou 1 pour afficher ou non les descriptions de liens"
|
117 |
-
|
118 |
-
#: link-library-admin.php:160
|
119 |
-
msgid "Set to 0 or 1 to display or not display rss information"
|
120 |
-
msgstr "Mettre 0 ou 1 pour afficher ou non les informations RSS"
|
121 |
-
|
122 |
-
#: link-library-admin.php:165
|
123 |
-
msgid "Set to 0 or 1 to display links in an unordered list or a table"
|
124 |
-
msgstr "Mettre 0 ou 1 pour affichier les liens soit en liste non triée, soit en tableau"
|
125 |
-
|
126 |
-
#: link-library-admin.php:168
|
127 |
-
msgid "Render a list of link categories."
|
128 |
-
msgstr "Montrer une liste de catégories de liens."
|
129 |
-
|
130 |
-
#: link-library-admin.php:198
|
131 |
-
msgid "Render a search box to search through links."
|
132 |
-
msgstr "Afficher une zone de recherche des liens."
|
133 |
-
|
134 |
-
#: link-library-admin.php:200
|
135 |
-
msgid "There are no options for this shortcode."
|
136 |
-
msgstr "Il n’y a pas d’options pour ce code court."
|
137 |
-
|
138 |
-
#: link-library-admin.php:203
|
139 |
-
msgid "Render a form for visitors to submit new links."
|
140 |
-
msgstr "Montrer un formulaire aux visiteurs pour proposer de nouveaux liens."
|
141 |
-
|
142 |
-
#: link-library-admin.php:265
|
143 |
-
msgid "Category Link"
|
144 |
-
msgstr "Lien des catégories"
|
145 |
-
|
146 |
-
#: link-library-admin.php:294
|
147 |
-
msgid "Extra Query String"
|
148 |
-
msgstr "Chaine supplémentaire de la requête"
|
149 |
-
|
150 |
-
#: link-library-admin.php:397
|
151 |
-
#: link-library-admin.php:752
|
152 |
-
msgid "Please create a folder called uploads under your Wordpress /wp-content/ directory with write permissions to use this functionality."
|
153 |
-
msgstr "Veuillez créer un répertoire nommé uploads dans le répertoire wp-content de votre installation WordPress avec les permissions d’écriture pour utiliser cette fonctionnalité."
|
154 |
-
|
155 |
-
#: link-library-admin.php:399
|
156 |
-
#: link-library-admin.php:754
|
157 |
-
msgid "Please make sure that the /wp-content/uploads/ directory has write permissions to use this functionality."
|
158 |
-
msgstr "Veuillez vous assurer que le répertoire /wp-content/uploads à des permissions d’écriture pour utiliser cette fonctionnalité."
|
159 |
-
|
160 |
-
#: link-library-admin.php:448
|
161 |
-
msgid "Link Library - Additional Link Parameters"
|
162 |
-
msgstr "Link Library - Paramètres Additionels"
|
163 |
-
|
164 |
-
#: link-library-admin.php:531
|
165 |
-
msgid "Link Library: Missing Thumbshots API Key"
|
166 |
-
msgstr "Link Library : Il manque le Thumbshots CID"
|
167 |
-
|
168 |
-
#: link-library-admin.php:531
|
169 |
-
msgid "One of your link libraries is configured to use Thumbshots for link thumbails, but you have not entered your Thumbshots.com API Key. Please visit Thumbshots.com to apply for a free or paid account and enter your API in the Link Library admin panel."
|
170 |
-
msgstr "Une de vos librairies est configurée pour utilisé les vignettes de Thumbshots, mais vous n’avez pas entré votre CID Thumbshots.com. Merci de visiter Thumbshots.com pour créer un compte gratuit ou payant puis saisissez la clé dans l’administration de Link Library."
|
171 |
-
|
172 |
-
# Plugin name; please avoid translating if possible
|
173 |
-
#: link-library-admin.php:531
|
174 |
-
msgid "Jump to Link Library admin"
|
175 |
-
msgstr "Aller à l’administration de Link Library"
|
176 |
-
|
177 |
-
# Plugin name; please avoid translating if possible
|
178 |
-
#: link-library-admin.php:536
|
179 |
-
msgid "Link Library: No Link Categories on your site"
|
180 |
-
msgstr "Link Library : Pas de catégories de liens dans votre site"
|
181 |
-
|
182 |
-
#: link-library-admin.php:536
|
183 |
-
msgid "There are currently no link categories defined in your WordPress site. Link Library will not work correctly without categories. Please create at least one before trying to use Link Library and make sure each link is assigned a category."
|
184 |
-
msgstr "Il n’y a pas de catégories de liens de définies dans votre site WordPress. Link Library ne fonctionnera pas correctement sans catégories. Merci de créer au moins une catégorie avant d’utiliser Link Library et faite en sorte que chaque lien soit associé à une catégorie."
|
185 |
-
|
186 |
-
#: link-library-admin.php:592
|
187 |
-
msgid "Links to moderate"
|
188 |
-
msgstr "Liens à modérer"
|
189 |
-
|
190 |
-
#: link-library-admin.php:640
|
191 |
-
#: link-library-admin.php:642
|
192 |
-
#: link-library-admin.php:645
|
193 |
-
#: link-library-admin.php:969
|
194 |
-
msgid "General Options"
|
195 |
-
msgstr "Configuration générale"
|
196 |
-
|
197 |
-
#: link-library-admin.php:647
|
198 |
-
msgid "Settings"
|
199 |
-
msgstr "Configuration"
|
200 |
-
|
201 |
-
# Plugin name; please avoid translating if possible
|
202 |
-
#: link-library-admin.php:647
|
203 |
-
#: link-library-admin.php:974
|
204 |
-
msgid "Library Settings"
|
205 |
-
msgstr "Configuration de la librairie"
|
206 |
-
|
207 |
-
#: link-library-admin.php:650
|
208 |
-
#: link-library-admin.php:652
|
209 |
-
#: link-library-admin.php:979
|
210 |
-
msgid "Moderate"
|
211 |
-
msgstr "Modération"
|
212 |
-
|
213 |
-
#: link-library-admin.php:655
|
214 |
-
#: link-library-admin.php:984
|
215 |
-
#: link-library-admin.php:2077
|
216 |
-
msgid "Stylesheet"
|
217 |
-
msgstr "Feuille de style"
|
218 |
-
|
219 |
-
#: link-library-admin.php:657
|
220 |
-
#: link-library-admin.php:689
|
221 |
-
msgid "Link checking tools"
|
222 |
-
msgstr "Outil de vérification des liens"
|
223 |
-
|
224 |
-
#: link-library-admin.php:659
|
225 |
-
#: link-library-admin.php:992
|
226 |
-
msgid "FAQ"
|
227 |
-
msgstr "FAQ"
|
228 |
-
|
229 |
-
#: link-library-admin.php:686
|
230 |
-
#: link-library-admin.php:690
|
231 |
-
msgid "Save"
|
232 |
-
msgstr "Enregistrer"
|
233 |
-
|
234 |
-
#: link-library-admin.php:687
|
235 |
-
msgid "Links awaiting moderation"
|
236 |
-
msgstr "Liens en attente de modération"
|
237 |
-
|
238 |
-
#: link-library-admin.php:688
|
239 |
-
#: link-library-admin.php:2079
|
240 |
-
msgid "Editor"
|
241 |
-
msgstr "Éditeur"
|
242 |
-
|
243 |
-
#: link-library-admin.php:794
|
244 |
-
msgid "Thumbnails successfully generated!"
|
245 |
-
msgstr "Vignettes générées avec succès !"
|
246 |
-
|
247 |
-
#: link-library-admin.php:796
|
248 |
-
msgid "Favicons successfully generated!"
|
249 |
-
msgstr "Icônes de favoris générées avec succès !"
|
250 |
-
|
251 |
-
#: link-library-admin.php:798
|
252 |
-
#: link-library-admin.php:5006
|
253 |
-
msgid "Thumbnail successfully generated for"
|
254 |
-
msgstr "Vignette générée avec succès pour"
|
255 |
-
|
256 |
-
#: link-library-admin.php:800
|
257 |
-
#: link-library-admin.php:5042
|
258 |
-
msgid "Favicon successfully generated for"
|
259 |
-
msgstr "Icône de favoris générée avec succès pour"
|
260 |
-
|
261 |
-
#: link-library-admin.php:831
|
262 |
-
msgid "General Settings Saved"
|
263 |
-
msgstr "Configuration générale enregistrée"
|
264 |
-
|
265 |
-
#: link-library-admin.php:834
|
266 |
-
msgid "Download exported links"
|
267 |
-
msgstr "Télécharger les liens exportés"
|
268 |
-
|
269 |
-
#: link-library-admin.php:836
|
270 |
-
#: link-library-admin.php:885
|
271 |
-
msgid "Link Library plugin directory needs to be writable to perform this action"
|
272 |
-
msgstr "Le répertoire doit avoir des permissions d’écriture complètes pour exécuter cette action"
|
273 |
-
|
274 |
-
#: link-library-admin.php:838
|
275 |
-
msgid "You must set the Google reCAPTCHA Site and Secret Keys to be able to set the captcha generator to Google reCAPTCHA."
|
276 |
-
msgstr "Vous devez saisir les clés de site et la clé secrète de Google reCAPTCHA avant de pouvoir utiliser le générateur de captcha."
|
277 |
-
|
278 |
-
#: link-library-admin.php:864
|
279 |
-
#: link-library-admin.php:2612
|
280 |
-
msgid "Library #"
|
281 |
-
msgstr "Librairie #"
|
282 |
-
|
283 |
-
#: link-library-admin.php:864
|
284 |
-
msgid "Updated"
|
285 |
-
msgstr "Mis à jour"
|
286 |
-
|
287 |
-
#: link-library-admin.php:868
|
288 |
-
msgid "Included Category ID"
|
289 |
-
msgstr "Identifiants des catégories inclus"
|
290 |
-
|
291 |
-
#: link-library-admin.php:868
|
292 |
-
#: link-library-admin.php:872
|
293 |
-
msgid "is invalid. Please check the ID in the Link Category editor."
|
294 |
-
msgstr "est invalide. Veuillez vérifier l’identifiant dans l’éditeur de catégories de liens."
|
295 |
-
|
296 |
-
#: link-library-admin.php:872
|
297 |
-
msgid "Excluded Category ID"
|
298 |
-
msgstr "Identifiant des catégorie exclues"
|
299 |
-
|
300 |
-
#: link-library-admin.php:876
|
301 |
-
msgid "Invalid column count for link on row. Compare against template."
|
302 |
-
msgstr "Nombre de colonnes invalides pour le lien de la ligne. Comparer avec le modèle."
|
303 |
-
|
304 |
-
#: link-library-admin.php:881
|
305 |
-
msgid "Library Settings Exported"
|
306 |
-
msgstr "Configuration de librairie exportée"
|
307 |
-
|
308 |
-
#: link-library-admin.php:881
|
309 |
-
msgid "Download here"
|
310 |
-
msgstr "Récupérer ici"
|
311 |
-
|
312 |
-
#: link-library-admin.php:889
|
313 |
-
msgid "Library Settings imported successfully"
|
314 |
-
msgstr "Configuration de librairie exportée avec succès"
|
315 |
-
|
316 |
-
#: link-library-admin.php:893
|
317 |
-
msgid "Library Settings Upload Failed"
|
318 |
-
msgstr "L’envoi de la configuration de librairie n’a pas fonctionné"
|
319 |
-
|
320 |
-
#: link-library-admin.php:897
|
321 |
-
msgid "link(s) imported"
|
322 |
-
msgstr "lien(s) importé(s)"
|
323 |
-
|
324 |
-
#: link-library-admin.php:897
|
325 |
-
msgid "link(s) updated"
|
326 |
-
msgstr "lien(s) mis à jour"
|
327 |
-
|
328 |
-
#: link-library-admin.php:901
|
329 |
-
msgid "Links are missing categories"
|
330 |
-
msgstr "Les liens n’ont pas de catégories"
|
331 |
-
|
332 |
-
#: link-library-admin.php:913
|
333 |
-
msgid "Link(s) Approved"
|
334 |
-
msgstr "Lien(s) approuvé(s)"
|
335 |
-
|
336 |
-
#: link-library-admin.php:915
|
337 |
-
msgid "Link(s) Deleted"
|
338 |
-
msgstr "Lien(s) supprimé(s)"
|
339 |
-
|
340 |
-
#: link-library-admin.php:926
|
341 |
-
msgid "Stylesheet updated"
|
342 |
-
msgstr "Feuille de style mise à jour"
|
343 |
-
|
344 |
-
#: link-library-admin.php:928
|
345 |
-
msgid "Stylesheet reset to original state"
|
346 |
-
msgstr "Feuille de style originale restaurée"
|
347 |
-
|
348 |
-
#: link-library-admin.php:935
|
349 |
-
msgid "Settings updated"
|
350 |
-
msgstr "Configuration mise à jour"
|
351 |
-
|
352 |
-
#: link-library-admin.php:989
|
353 |
-
msgid "Reciprocal Check"
|
354 |
-
msgstr "Vérification des liens réciproques"
|
355 |
-
|
356 |
-
#: link-library-admin.php:1147
|
357 |
-
msgid "General"
|
358 |
-
msgstr "Général"
|
359 |
-
|
360 |
-
#: link-library-admin.php:1148
|
361 |
-
msgid "Images"
|
362 |
-
msgstr "Images"
|
363 |
-
|
364 |
-
#: link-library-admin.php:1149
|
365 |
-
msgid "Bookmarklet"
|
366 |
-
msgstr "Bookmarklet"
|
367 |
-
|
368 |
-
#: link-library-admin.php:1150
|
369 |
-
msgid "Moderation"
|
370 |
-
msgstr "Modération"
|
371 |
-
|
372 |
-
#: link-library-admin.php:1151
|
373 |
-
msgid "Hide Donation"
|
374 |
-
msgstr "Cacher le lien de don"
|
375 |
-
|
376 |
-
#: link-library-admin.php:1158
|
377 |
-
msgid "Usage"
|
378 |
-
msgstr "Utilisation"
|
379 |
-
|
380 |
-
#: link-library-admin.php:1159
|
381 |
-
msgid "Common"
|
382 |
-
msgstr "Commun"
|
383 |
-
|
384 |
-
#: link-library-admin.php:1160
|
385 |
-
msgid "Categories"
|
386 |
-
msgstr "Catégories"
|
387 |
-
|
388 |
-
#: link-library-admin.php:1161
|
389 |
-
msgid "Links"
|
390 |
-
msgstr "Liens"
|
391 |
-
|
392 |
-
#: link-library-admin.php:1162
|
393 |
-
msgid "Advanced"
|
394 |
-
msgstr "Avancé"
|
395 |
-
|
396 |
-
#: link-library-admin.php:1163
|
397 |
-
msgid "Pop-Ups"
|
398 |
-
msgstr "Pop-ups"
|
399 |
-
|
400 |
-
#: link-library-admin.php:1164
|
401 |
-
msgid "RSS Display"
|
402 |
-
msgstr "Afficher le flux RSS"
|
403 |
-
|
404 |
-
#: link-library-admin.php:1165
|
405 |
-
msgid "Thumbnails"
|
406 |
-
msgstr "Vignettes"
|
407 |
-
|
408 |
-
#: link-library-admin.php:1166
|
409 |
-
msgid "RSS Feed"
|
410 |
-
msgstr "Titre du flux d’informations RSS"
|
411 |
-
|
412 |
-
#: link-library-admin.php:1167
|
413 |
-
#: link-library-admin.php:4078
|
414 |
-
#: link-library-admin.php:4087
|
415 |
-
msgid "Search"
|
416 |
-
msgstr "Rechercher"
|
417 |
-
|
418 |
-
#: link-library-admin.php:1168
|
419 |
-
msgid "User Submission"
|
420 |
-
msgstr "Liens soumis par les utilisateurs"
|
421 |
-
|
422 |
-
#: link-library-admin.php:1169
|
423 |
-
msgid "Import/Export"
|
424 |
-
msgstr "Importer/Exporter"
|
425 |
-
|
426 |
-
#: link-library-admin.php:1226
|
427 |
-
#: link-library-admin.php:1347
|
428 |
-
#: link-library-admin.php:1858
|
429 |
-
#: link-library-admin.php:1988
|
430 |
-
#: link-library-admin.php:2021
|
431 |
-
msgid "Not allowed"
|
432 |
-
msgstr "Non permis"
|
433 |
-
|
434 |
-
#: link-library-admin.php:1918
|
435 |
-
#: link-library-admin.php:1959
|
436 |
-
#: usersubmission.php:350
|
437 |
-
msgid "Message generated by"
|
438 |
-
msgstr "Message généré par"
|
439 |
-
|
440 |
-
#: link-library-admin.php:2069
|
441 |
-
#: link-library-admin.php:5094
|
442 |
-
msgid "Update channel"
|
443 |
-
msgstr "Canal de mise à jour"
|
444 |
-
|
445 |
-
#: link-library-admin.php:2071
|
446 |
-
#: link-library-admin.php:5096
|
447 |
-
msgid "Standard channel - Updates as they are released"
|
448 |
-
msgstr "Canal standard - Mise à jour à chaque version"
|
449 |
-
|
450 |
-
#: link-library-admin.php:2072
|
451 |
-
#: link-library-admin.php:5097
|
452 |
-
msgid "Monthly Channel - Updates once per month"
|
453 |
-
msgstr "Canal mensuel - Mise à jour une fois par mois"
|
454 |
-
|
455 |
-
#: link-library-admin.php:2077
|
456 |
-
#: link-library-admin.php:2078
|
457 |
-
msgid "The stylesheet is now defined and stored using the Link Library admin interface. This avoids problems with updates from one version to the next."
|
458 |
-
msgstr "La feuille de style est maintenant définie et sauvegardée à partir du panneau d’administration de Link Library. Ceci évite des problèmes lors des mises à jour."
|
459 |
-
|
460 |
-
#: link-library-admin.php:2083
|
461 |
-
msgid "Number of Libraries"
|
462 |
-
msgstr "Nombre de librairies"
|
463 |
-
|
464 |
-
#: link-library-admin.php:2131
|
465 |
-
msgid "Category selection method"
|
466 |
-
msgstr "Méthode de sélection des catégories"
|
467 |
-
|
468 |
-
#: link-library-admin.php:2133
|
469 |
-
msgid "Comma-separated ID list"
|
470 |
-
msgstr "Liste d’ID séparée par des virgules"
|
471 |
-
|
472 |
-
#: link-library-admin.php:2134
|
473 |
-
msgid "Multi-select List"
|
474 |
-
msgstr "Liste à sélection multiple"
|
475 |
-
|
476 |
-
#: link-library-admin.php:2138
|
477 |
-
#: link-library-admin.php:2139
|
478 |
-
msgid "Enter comma-separate list of pages on which the Link Library stylesheet and scripts should be loaded. Primarily used if you display Link Library using the API"
|
479 |
-
msgstr "Spécifier une liste de pages, séparées par des virgules, dans lesquelles les feuilles de styles et les scripts de Link Library doivent être chargés. Cette option est principalement utilisée si vous affichez Link Library en utilisant son API."
|
480 |
-
|
481 |
-
#: link-library-admin.php:2138
|
482 |
-
msgid "Additional pages to load styles and scripts"
|
483 |
-
msgstr "Pages additionelles pour afficher les styles et scripts"
|
484 |
-
|
485 |
-
#: link-library-admin.php:2144
|
486 |
-
msgid "Debug Mode"
|
487 |
-
msgstr "Mise au point"
|
488 |
-
|
489 |
-
#: link-library-admin.php:2151
|
490 |
-
#: link-library-admin.php:2152
|
491 |
-
#: link-library-admin.php:2157
|
492 |
-
#: link-library-admin.php:2158
|
493 |
-
msgid "This function is only possible when showing one category at a time and while the default category is not shown."
|
494 |
-
msgstr "Cette fonctionnalité est seulement possible lorsque l’option “N’afficher qu’une catégorie à la fois” est activée et que la catégorie par défaut n’est pas affichée."
|
495 |
-
|
496 |
-
#: link-library-admin.php:2151
|
497 |
-
msgid "Page Title Prefix"
|
498 |
-
msgstr "Préfixe pour le titre des pages"
|
499 |
-
|
500 |
-
#: link-library-admin.php:2157
|
501 |
-
msgid "Page Title Suffix"
|
502 |
-
msgstr "Suffixe pour le titre des pages"
|
503 |
-
|
504 |
-
#: link-library-admin.php:2163
|
505 |
-
#: link-library-admin.php:2164
|
506 |
-
msgid "Path for images files that are uploaded manually or generated through thumbnail generation service"
|
507 |
-
msgstr "Répertoire pour les images qui sont chargées manuellement ou bien qui sont générées par le service des vignettes thumbnail"
|
508 |
-
|
509 |
-
#: link-library-admin.php:2163
|
510 |
-
msgid "Link Image File Path"
|
511 |
-
msgstr "Répertoire des fichiers images liées"
|
512 |
-
|
513 |
-
#: link-library-admin.php:2166
|
514 |
-
msgid "Absolute"
|
515 |
-
msgstr "Absolu"
|
516 |
-
|
517 |
-
#: link-library-admin.php:2167
|
518 |
-
msgid "Relative"
|
519 |
-
msgstr "Relatif"
|
520 |
-
|
521 |
-
#: link-library-admin.php:2174
|
522 |
-
msgid "Thumbnail Generator"
|
523 |
-
msgstr "Générateur de vignettes"
|
524 |
-
|
525 |
-
#: link-library-admin.php:2185
|
526 |
-
#: link-library-admin.php:2186
|
527 |
-
msgid "API Key for Thumbshots.com thumbnail generation accounts"
|
528 |
-
msgstr "CID pour le service de vignette de Thumbshots.com "
|
529 |
-
|
530 |
-
#: link-library-admin.php:2185
|
531 |
-
msgid "Thumbshots API Key"
|
532 |
-
msgstr "CID de Thumbshots"
|
533 |
-
|
534 |
-
#: link-library-admin.php:2193
|
535 |
-
msgid "Robothumb Thumbnail size"
|
536 |
-
msgstr "Taille des vignettes"
|
537 |
-
|
538 |
-
#: link-library-admin.php:2209
|
539 |
-
msgid "Captcha generator"
|
540 |
-
msgstr "Générateur de captcha"
|
541 |
-
|
542 |
-
#: link-library-admin.php:2222
|
543 |
-
#: link-library-admin.php:2224
|
544 |
-
#: link-library-admin.php:2229
|
545 |
-
#: link-library-admin.php:2231
|
546 |
-
msgid "Sign up for the reCAPTCHA service before activating this feature to get your Site and Secret Keys"
|
547 |
-
msgstr "Enregistrer vous pour le service reCAPTCHA avant d’activé cette fonctionnalité afin d’obtenir vos clés de site et secrète"
|
548 |
-
|
549 |
-
#: link-library-admin.php:2222
|
550 |
-
msgid "Google reCAPTCHA Site Key"
|
551 |
-
msgstr "Clé de site de Google reCAPTCHA"
|
552 |
-
|
553 |
-
#: link-library-admin.php:2229
|
554 |
-
msgid "Google reCAPTCHA Secret Key"
|
555 |
-
msgstr "Clé secrète de Google reCAPTCHA"
|
556 |
-
|
557 |
-
#: link-library-admin.php:2239
|
558 |
-
msgid "Links Date Format"
|
559 |
-
msgstr "Format des dates pour les liens"
|
560 |
-
|
561 |
-
#: link-library-admin.php:2239
|
562 |
-
msgid "Help"
|
563 |
-
msgstr "Aide"
|
564 |
-
|
565 |
-
#: link-library-admin.php:2246
|
566 |
-
#: link-library-admin.php:2247
|
567 |
-
msgid "Enter list of additional link protocols, seperated by commas"
|
568 |
-
msgstr "Entrer une liste de protocoles supplémentaires, séparés par des virgules"
|
569 |
-
|
570 |
-
#: link-library-admin.php:2246
|
571 |
-
msgid "Additional protocols"
|
572 |
-
msgstr "Protocoles supplémentaires"
|
573 |
-
|
574 |
-
#: link-library-admin.php:2250
|
575 |
-
msgid "Time before clearing RSS display cache (in seconds)"
|
576 |
-
msgstr "Temps avant de purger le cache pour l’affichage du flux RSS (en secondes)"
|
577 |
-
|
578 |
-
#: link-library-admin.php:2257
|
579 |
-
msgid "Export All Links"
|
580 |
-
msgstr "Exporter tous les liens"
|
581 |
-
|
582 |
-
#: link-library-admin.php:2302
|
583 |
-
#: link-library-admin.php:2303
|
584 |
-
msgid "Custom full URL for expand icon. Uses default image if left empty."
|
585 |
-
msgstr "URL spécifique pour l’icône d’ouverture. Utilise l’image par défaut si laisser vide."
|
586 |
-
|
587 |
-
#: link-library-admin.php:2302
|
588 |
-
msgid "Expand Icon Image"
|
589 |
-
msgstr "Icon pour ouvrir"
|
590 |
-
|
591 |
-
#: link-library-admin.php:2309
|
592 |
-
#: link-library-admin.php:2310
|
593 |
-
msgid "Custom full URL for collapse icon. Uses default image if left empty."
|
594 |
-
msgstr "URL spécifique pour l’icône de fermeture. Utilise l’image par défaut si laisser vide."
|
595 |
-
|
596 |
-
#: link-library-admin.php:2309
|
597 |
-
msgid "Collapse Icon Image"
|
598 |
-
msgstr "Icon pour refermer"
|
599 |
-
|
600 |
-
#: link-library-admin.php:2324
|
601 |
-
msgid "Add new links to your site with this bookmarklet."
|
602 |
-
msgstr "Ajoutez de nouveaux liens à votre site en utilisant ce bookmarklet."
|
603 |
-
|
604 |
-
#: link-library-admin.php:2325
|
605 |
-
msgid "To use this feature, drag-and-drop the button below to your favorite / bookmark toolbar."
|
606 |
-
msgstr "Pour utiliser cette fonction, glissez le bouton ci-dessous vers la barre de favoris de votre navigateur."
|
607 |
-
|
608 |
-
#: link-library-admin.php:2326
|
609 |
-
msgid "Add to Links"
|
610 |
-
msgstr "Ajouter aux liens"
|
611 |
-
|
612 |
-
#: link-library-admin.php:2339
|
613 |
-
msgid "Approval and rejection e-mail functionality will only work correctly if the submitter e-mail field is displayed on the user link submission form"
|
614 |
-
msgstr "L’approbation ou le rejet par courriel ne fonctionnera correctement que si le champ e-mail est affiché dans le fomulaire de proposition"
|
615 |
-
|
616 |
-
#: link-library-admin.php:2343
|
617 |
-
msgid "Validate all submitted links with Akismet"
|
618 |
-
msgstr "Valider les liens proposés avec Akismet"
|
619 |
-
|
620 |
-
#: link-library-admin.php:2349
|
621 |
-
#: link-library-admin.php:2350
|
622 |
-
msgid "URL that user will be redirected to after submitting new link. When used, the short code [link-library-addlinkcustommsg] should be placed on the destination page."
|
623 |
-
msgstr "Adresse à laquelle l’usager sera redirigé après avoir soumis un nouveau lien. Lorsqu’utilisé, le code [link-library-addlinkcustommsg] devrait faire partie de la page de destination."
|
624 |
-
|
625 |
-
#: link-library-admin.php:2349
|
626 |
-
msgid "Link Acknowledgement URL"
|
627 |
-
msgstr "Adresse de la page de confirmation"
|
628 |
-
|
629 |
-
#: link-library-admin.php:2355
|
630 |
-
msgid "Title of e-mail sent to site admin when new links are submitted. Use %linkname% as a variable to be replaced by the actual link name"
|
631 |
-
msgstr "Titre du courriel qui sera envoyé à l’administrateur quand des nouveaux liens seront soumis. Utilisez %linkname% comme variable qui sera remplacée par le nom du lien"
|
632 |
-
|
633 |
-
#: link-library-admin.php:2355
|
634 |
-
msgid "Moderation Notification Title"
|
635 |
-
msgstr "Titre du courriel de modération"
|
636 |
-
|
637 |
-
#: link-library-admin.php:2361
|
638 |
-
msgid "Will send a confirmation e-mail to link submitter if they provided their contact information"
|
639 |
-
msgstr "Enverra un courriel de confirmation aux usagers ayant soumis des liens si ils ont fournis leur courriel"
|
640 |
-
|
641 |
-
#: link-library-admin.php:2361
|
642 |
-
msgid "E-mail submitter on link approval or rejection"
|
643 |
-
msgstr "Envoyer un courriel à l’utilisateur ayant soumis le lien lors de l’approbation ou du rejet"
|
644 |
-
|
645 |
-
#: link-library-admin.php:2368
|
646 |
-
msgid "Suppress Link Library message in e-mail footer"
|
647 |
-
msgstr "Supprimer le message sur Link Library dans le bas du courriel"
|
648 |
-
|
649 |
-
#: link-library-admin.php:2375
|
650 |
-
msgid "Only use first part of submitter name"
|
651 |
-
msgstr "N’utiliser que la première partie du nom de l’utilisateur ayant soumis le lien"
|
652 |
-
|
653 |
-
#: link-library-admin.php:2382
|
654 |
-
msgid "The name of the e-mail account that the approval e-mail will be sent from"
|
655 |
-
msgstr "Le nom de l’utilisateur qui apparaîtra sur les messages d’approbation"
|
656 |
-
|
657 |
-
#: link-library-admin.php:2382
|
658 |
-
msgid "Moderator Name"
|
659 |
-
msgstr "Nom du modérateur"
|
660 |
-
|
661 |
-
#: link-library-admin.php:2388
|
662 |
-
msgid "The e-mail address that the approval e-mail will be sent from"
|
663 |
-
msgstr "L’adresse de courriel de laquelle les messages d’approbation seront envoyés"
|
664 |
-
|
665 |
-
#: link-library-admin.php:2388
|
666 |
-
msgid "Moderator E-mail"
|
667 |
-
msgstr "Adresse de courriel du modérateur"
|
668 |
-
|
669 |
-
#: link-library-admin.php:2394
|
670 |
-
msgid "Title of approval e-mail. Use %linkname% as a variable to be replaced by the actual link name"
|
671 |
-
msgstr "Titre du courriel d’approbation. Utilisez %linkname% comme variable qui sera remplacé par le nom du lien"
|
672 |
-
|
673 |
-
#: link-library-admin.php:2394
|
674 |
-
msgid "Approval e-mail title"
|
675 |
-
msgstr "Titre du courriel d’approbation du lien"
|
676 |
-
|
677 |
-
#: link-library-admin.php:2400
|
678 |
-
msgid "Body of approval e-mail. Use %linkname% as a variable to be replaced by the actual link name, %submittername% for the submitter name and %linkurl% for the link address"
|
679 |
-
msgstr "Contenu du courriel d’approbation du lien. Utilisez %linkname% comme variable qui sera remplacée par le nom de lien, %submittername% pour le nom de la personne ayant soumise le lien et %linkurl% pour l’adresse du lien."
|
680 |
-
|
681 |
-
#: link-library-admin.php:2400
|
682 |
-
msgid "Approval e-mail body"
|
683 |
-
msgstr "Contenu du courriel d’approbation du lien"
|
684 |
-
|
685 |
-
#: link-library-admin.php:2406
|
686 |
-
msgid "Title of rejection e-mail. Use %linkname% as a variable to be replaced by the actual link name"
|
687 |
-
msgstr "Titre du courriel de rejet du lien. Utilisez %linkname% comme variable qui sera remplacée par le nom du lien"
|
688 |
-
|
689 |
-
#: link-library-admin.php:2406
|
690 |
-
msgid "Rejection e-mail title"
|
691 |
-
msgstr "Titre du courriel de rejet du lien"
|
692 |
-
|
693 |
-
#: link-library-admin.php:2412
|
694 |
-
msgid "Body of rejection e-mail. Use %linkname% as a variable to be replaced by the actual link name, %submittername% for the submitter name and %linkurl% for the link address"
|
695 |
-
msgstr "Contenu du courriel de rejet du lien. Utilisez %linkname% comme variable qui sera remplacée par le nom de lien, %submittername% pour le nom de la personne ayant soumise le lien et %linkurl% pour l’adresse du lien."
|
696 |
-
|
697 |
-
#: link-library-admin.php:2412
|
698 |
-
msgid "Rejection e-mail body"
|
699 |
-
msgstr "Contenu du courriel de rejet du lien"
|
700 |
-
|
701 |
-
#: link-library-admin.php:2425
|
702 |
-
msgid "The following option allows you to hide the Donate button and Support the Author section in the Link Library Admin pages. If you enjoy this plugin and use it regularly, please consider making a donation to the author before turning off these messages. This menu section will disappear along with the other elements."
|
703 |
-
msgstr "L’option suivante vous permet de masquer le bouton de don et la section sur l’autheur dans l’administration de Link Library. Si vous aimez cette extension et que vous l’utilisez régulièrement, merci de penser à faire un don à l’autheur avant de masquer ces messages."
|
704 |
-
|
705 |
-
#: link-library-admin.php:2428
|
706 |
-
msgid "Hide Donation and Support Links"
|
707 |
-
msgstr "Cacher les liens pour les dons et le support"
|
708 |
-
|
709 |
-
#: link-library-admin.php:2442
|
710 |
-
msgid "Save Settings"
|
711 |
-
msgstr "Enregistrer la configuration"
|
712 |
-
|
713 |
-
#: link-library-admin.php:2451
|
714 |
-
msgid "Update Settings"
|
715 |
-
msgstr "Mettre à jour la configuration"
|
716 |
-
|
717 |
-
#: link-library-admin.php:2462
|
718 |
-
#: link-library-admin.php:3138
|
719 |
-
#: link-library-admin.php:3441
|
720 |
-
#: link-library-admin.php:4271
|
721 |
-
#: usersubmission.php:295
|
722 |
-
#: usersubmission.php:385
|
723 |
-
msgid "Link Name"
|
724 |
-
msgstr "Nom du lien"
|
725 |
-
|
726 |
-
#: link-library-admin.php:2463
|
727 |
-
#: link-library-admin.php:4306
|
728 |
-
#: link-library-defaults.php:127
|
729 |
-
#: usersubmission.php:314
|
730 |
-
#: usersubmission.php:404
|
731 |
-
msgid "Link Category"
|
732 |
-
msgstr "Catégorie de liens"
|
733 |
-
|
734 |
-
#: link-library-admin.php:2464
|
735 |
-
msgid "Link URL"
|
736 |
-
msgstr "Adresse du lien"
|
737 |
-
|
738 |
-
#: link-library-admin.php:2465
|
739 |
-
#: link-library-admin.php:3138
|
740 |
-
#: link-library-admin.php:3489
|
741 |
-
#: link-library-admin.php:4385
|
742 |
-
#: link-library-defaults.php:128
|
743 |
-
#: usersubmission.php:303
|
744 |
-
#: usersubmission.php:393
|
745 |
-
msgid "Link Description"
|
746 |
-
msgstr "Description du lien"
|
747 |
-
|
748 |
-
#: link-library-admin.php:2514
|
749 |
-
msgid "No Links Found to Moderate"
|
750 |
-
msgstr "Aucun lien trouvé nécessitant une modération"
|
751 |
-
|
752 |
-
#: link-library-admin.php:2521
|
753 |
-
msgid "Check All"
|
754 |
-
msgstr "Cocher tous les choix"
|
755 |
-
|
756 |
-
#: link-library-admin.php:2522
|
757 |
-
msgid "Uncheck All"
|
758 |
-
msgstr "Tout décocher"
|
759 |
-
|
760 |
-
#: link-library-admin.php:2524
|
761 |
-
msgid "Approve Selected Items"
|
762 |
-
msgstr "Approuver les liens sélectionnés"
|
763 |
-
|
764 |
-
#: link-library-admin.php:2525
|
765 |
-
msgid "Delete Selected Items"
|
766 |
-
msgstr "Supprimer les liens sélectionnés"
|
767 |
-
|
768 |
-
#: link-library-admin.php:2548
|
769 |
-
msgid "If the stylesheet editor is empty after upgrading, reset to the default stylesheet using the button below or copy/paste your backup stylesheet into the editor."
|
770 |
-
msgstr "Si l’éditeur de feuille de style est vide après une mise à jour, appuyez sur le bouton ci-dessous pour importer la version originale de la feuille de style ou effectuez un copier/coller à partir de votre copie de sauvegarde de la feuille de style vers l’éditeur."
|
771 |
-
|
772 |
-
#: link-library-admin.php:2555
|
773 |
-
msgid "Submit"
|
774 |
-
msgstr "Soumettre"
|
775 |
-
|
776 |
-
#: link-library-admin.php:2555
|
777 |
-
msgid "Reset to default"
|
778 |
-
msgstr "Restauration des valeurs par défaut"
|
779 |
-
|
780 |
-
#: link-library-admin.php:2566
|
781 |
-
msgid "Select Current Library Settings"
|
782 |
-
msgstr "Sélectionnez la configuration de librairie courante"
|
783 |
-
|
784 |
-
#: link-library-admin.php:2581
|
785 |
-
msgid "Go"
|
786 |
-
msgstr "Sélectionner"
|
787 |
-
|
788 |
-
#: link-library-admin.php:2583
|
789 |
-
msgid "Copy from:"
|
790 |
-
msgstr "Copier de :"
|
791 |
-
|
792 |
-
#: link-library-admin.php:2597
|
793 |
-
msgid "Copy"
|
794 |
-
msgstr "Copier"
|
795 |
-
|
796 |
-
#: link-library-admin.php:2611
|
797 |
-
#: link-library-admin.php:2614
|
798 |
-
#: link-library-admin.php:2618
|
799 |
-
msgid "Link Library Supports the Creation of an unlimited number of configurations to display link lists on your site"
|
800 |
-
msgstr "Link Library supporte la création d’un nombre illimité de configurations pour afficher les liens sur votre site"
|
801 |
-
|
802 |
-
#: link-library-admin.php:2615
|
803 |
-
msgid "Library Name"
|
804 |
-
msgstr "Nom de la librairie"
|
805 |
-
|
806 |
-
#: link-library-admin.php:2617
|
807 |
-
msgid "Feature"
|
808 |
-
msgstr "Fonctionnalité"
|
809 |
-
|
810 |
-
#: link-library-admin.php:2619
|
811 |
-
msgid "Code to insert on a Wordpress page"
|
812 |
-
msgstr "Code à insérer dans une page WordPress"
|
813 |
-
|
814 |
-
#: link-library-admin.php:2626
|
815 |
-
msgid "Display basic link library"
|
816 |
-
msgstr "Afficher la liste de liens"
|
817 |
-
|
818 |
-
#: link-library-admin.php:2632
|
819 |
-
msgid "Display list of link categories"
|
820 |
-
msgstr "Afficher la liste des catégories de liens"
|
821 |
-
|
822 |
-
#: link-library-admin.php:2638
|
823 |
-
msgid "Display search box"
|
824 |
-
msgstr "Afficher le champ de recherche"
|
825 |
-
|
826 |
-
#: link-library-admin.php:2644
|
827 |
-
msgid "Display link submission form"
|
828 |
-
msgstr "Afficher le formulaire de soumission de liens"
|
829 |
-
|
830 |
-
#: link-library-admin.php:2651
|
831 |
-
#, php-format
|
832 |
-
msgid ""
|
833 |
-
"You are about to Delete Library #'%s'\n"
|
834 |
-
" 'Cancel' to stop, 'OK' to delete."
|
835 |
-
msgstr ""
|
836 |
-
"Vous être sur le point de supprimer la configuration de la librairie '%s'\n"
|
837 |
-
" 'Annuler' pour interrompre, 'OK' pour supprimer."
|
838 |
-
|
839 |
-
#: link-library-admin.php:2651
|
840 |
-
msgid "Delete Library"
|
841 |
-
msgstr "Supprimer la librairie"
|
842 |
-
|
843 |
-
#: link-library-admin.php:2652
|
844 |
-
#, php-format
|
845 |
-
msgid ""
|
846 |
-
"You are about to reset Library '%s'\n"
|
847 |
-
" 'Cancel' to stop, 'OK' to reset."
|
848 |
-
msgstr ""
|
849 |
-
"Vous êtes sur le point de réinitialiser la configuration de la librairie '%s'\n"
|
850 |
-
" 'Annuler' pour interrompre, 'OK' pour continuer."
|
851 |
-
|
852 |
-
#: link-library-admin.php:2652
|
853 |
-
msgid "Reset current Library"
|
854 |
-
msgstr "Réinitialiser la configuration de librairie courante"
|
855 |
-
|
856 |
-
#: link-library-admin.php:2653
|
857 |
-
#, php-format
|
858 |
-
msgid ""
|
859 |
-
"You are about to reset Library '%s' for a table layout\n"
|
860 |
-
" 'Cancel' to stop, 'OK' to reset."
|
861 |
-
msgstr ""
|
862 |
-
"Vous êtes sur le point de réinitialiser la configuration de la librairie '%s' pour une mise en page utilisant des tables\n"
|
863 |
-
" 'Annuler' pour interrompre, 'OK' pour continuer."
|
864 |
-
|
865 |
-
#: link-library-admin.php:2653
|
866 |
-
msgid "Reset current Library for table layout"
|
867 |
-
msgstr "Réinitialiser la configuration de librairie courante pour une mise en page en tableau"
|
868 |
-
|
869 |
-
#: link-library-admin.php:2672
|
870 |
-
msgid "Current Library Name"
|
871 |
-
msgstr "Nom de la librairie courante"
|
872 |
-
|
873 |
-
#: link-library-admin.php:2679
|
874 |
-
#: link-library-admin.php:2687
|
875 |
-
msgid "Leave Empty to see all categories"
|
876 |
-
msgstr "Laissez vide pour afficher toutes les catégories"
|
877 |
-
|
878 |
-
#: link-library-admin.php:2679
|
879 |
-
#: link-library-admin.php:2687
|
880 |
-
#: link-library-admin.php:2725
|
881 |
-
#: link-library-admin.php:2729
|
882 |
-
msgid "Enter list of comma-separated"
|
883 |
-
msgstr "Spécifier une liste de valeurs, séparées par des virgules"
|
884 |
-
|
885 |
-
#: link-library-admin.php:2679
|
886 |
-
#: link-library-admin.php:2687
|
887 |
-
msgid "numeric category IDs"
|
888 |
-
msgstr "identifiants de catégories numériques"
|
889 |
-
|
890 |
-
#: link-library-admin.php:2679
|
891 |
-
msgid "To find the IDs, go to the Link Categories admin page, place the mouse above a category name and look for its ID in the address shown in your browsers status bar. For example"
|
892 |
-
msgstr "Pour trouver les identifiants, aller sur la page de configuration des catégories de liens, placer votre souris au-dessus du nom de la catégorie et cherchez l’identifiant dans l’adresse qui est affichée dans la barre de status de votre navigateur. Par exemple"
|
893 |
-
|
894 |
-
#: link-library-admin.php:2681
|
895 |
-
msgid "Categories to be displayed (Empty=All)"
|
896 |
-
msgstr "Catégories à afficher (Vide=Toutes)"
|
897 |
-
|
898 |
-
#: link-library-admin.php:2683
|
899 |
-
msgid "Categories to be displayed"
|
900 |
-
msgstr "Catégories à afficher"
|
901 |
-
|
902 |
-
#: link-library-admin.php:2687
|
903 |
-
#: link-library-admin.php:2725
|
904 |
-
#: link-library-admin.php:2729
|
905 |
-
msgid "For example"
|
906 |
-
msgstr "Par exemple"
|
907 |
-
|
908 |
-
#: link-library-admin.php:2714
|
909 |
-
#: link-library-admin.php:2745
|
910 |
-
msgid "No link categories! Create some!"
|
911 |
-
msgstr "Pas de catégorie de lien ! Créer s’en une !"
|
912 |
-
|
913 |
-
#: link-library-admin.php:2716
|
914 |
-
msgid "Show all categories"
|
915 |
-
msgstr "Montrer toutes les catégories"
|
916 |
-
|
917 |
-
#: link-library-admin.php:2725
|
918 |
-
#: link-library-admin.php:2729
|
919 |
-
msgid "numeric category IDs that should not be shown"
|
920 |
-
msgstr "identifiants de catégories numériques à ne pas afficher"
|
921 |
-
|
922 |
-
#: link-library-admin.php:2726
|
923 |
-
msgid "Categories to be excluded"
|
924 |
-
msgstr "Catégories à exclure"
|
925 |
-
|
926 |
-
#: link-library-admin.php:2747
|
927 |
-
msgid "No Exclusions"
|
928 |
-
msgstr "Aucune exclusion"
|
929 |
-
|
930 |
-
#: link-library-admin.php:2756
|
931 |
-
#: link-library-admin.php:2759
|
932 |
-
msgid "Only show one category of links at a time"
|
933 |
-
msgstr "N’afficher qu’une catégorie de liens à la fois"
|
934 |
-
|
935 |
-
#: link-library-admin.php:2757
|
936 |
-
msgid "Only show one category at a time"
|
937 |
-
msgstr "N’afficher qu’une catégorie à la fois"
|
938 |
-
|
939 |
-
#: link-library-admin.php:2764
|
940 |
-
msgid "Select if AJAX should be used to only reload the list of links without reloading the whole page or HTML GET to reload entire page with a new link. The Permalinks option must be enabled for HTML GET + Permalink to work correctly."
|
941 |
-
msgstr "Sélectionner si la librairie AJAX est utilisée pour rafraîchir la liste sans recharger complètement la page ou si la méthode HTML GET doit recharger la page complète avec un nouveau lien. L’option des liens personnalisés doit être activée pour que l’option HTML GET + Permaliens fonctionne correctement."
|
942 |
-
|
943 |
-
#: link-library-admin.php:2764
|
944 |
-
msgid "Switching Method"
|
945 |
-
msgstr "Méthode pour les mises à jour de la page"
|
946 |
-
|
947 |
-
#: link-library-admin.php:2792
|
948 |
-
msgid "Default category to be shown when only showing one at a time (numeric ID)"
|
949 |
-
msgstr "Catégorie à afficher par défaut lorsqu’une seule catégorie est présente (identifiant numérique)"
|
950 |
-
|
951 |
-
#: link-library-admin.php:2797
|
952 |
-
msgid "Hide category on start in single cat AJAX mode"
|
953 |
-
msgstr "Cacher les catégories au démarrage dans le mode AJAX avec une seule catégorie"
|
954 |
-
|
955 |
-
#: link-library-admin.php:2804
|
956 |
-
#: link-library-admin.php:2807
|
957 |
-
msgid "File path is relative to Link Library plugin directory"
|
958 |
-
msgstr "Le chemin du fichier doit être relatif par rapport au répertoire du module Link Library"
|
959 |
-
|
960 |
-
#: link-library-admin.php:2805
|
961 |
-
msgid "Icon to display when performing AJAX queries"
|
962 |
-
msgstr "Icône à afficher lorsque des requêtes AJAX sont effectuées"
|
963 |
-
|
964 |
-
#: link-library-admin.php:2816
|
965 |
-
#: link-library-admin.php:2819
|
966 |
-
msgid "Only show a limited number of links and add page navigation links"
|
967 |
-
msgstr "Afficher seulement un nombre limité de liens et afficher une section de navigation des liens"
|
968 |
-
|
969 |
-
#: link-library-admin.php:2817
|
970 |
-
msgid "Paginate Results"
|
971 |
-
msgstr "Paginer les résultats"
|
972 |
-
|
973 |
-
#: link-library-admin.php:2824
|
974 |
-
#: link-library-admin.php:2827
|
975 |
-
msgid "Number of Links to be Displayed per Page in Pagination Mode"
|
976 |
-
msgstr "Nombre de liens devant être affichés en “Mode Pagination”"
|
977 |
-
|
978 |
-
#: link-library-admin.php:2825
|
979 |
-
msgid "Links per Page"
|
980 |
-
msgstr "Liens par page"
|
981 |
-
|
982 |
-
#: link-library-admin.php:2833
|
983 |
-
msgid "Pagination Position"
|
984 |
-
msgstr "Position de la pagination"
|
985 |
-
|
986 |
-
#: link-library-admin.php:2839
|
987 |
-
msgid "After Links"
|
988 |
-
msgstr "Après le lien"
|
989 |
-
|
990 |
-
#: link-library-admin.php:2842
|
991 |
-
#: link-library-admin.php:2872
|
992 |
-
msgid "Before Links"
|
993 |
-
msgstr "Avant le lien"
|
994 |
-
|
995 |
-
#: link-library-admin.php:2846
|
996 |
-
msgid "Hide Results if Empty"
|
997 |
-
msgstr "Masquer les résultats si vide"
|
998 |
-
|
999 |
-
#: link-library-admin.php:2856
|
1000 |
-
msgid "Enable Permalinks"
|
1001 |
-
msgstr "Activer les liens permanents"
|
1002 |
-
|
1003 |
-
#: link-library-admin.php:2864
|
1004 |
-
msgid "Permalinks Page"
|
1005 |
-
msgstr "Page des liens permanents"
|
1006 |
-
|
1007 |
-
#: link-library-admin.php:2871
|
1008 |
-
msgid "Display alphabetic cat filter"
|
1009 |
-
msgstr "Afficher le filtre des catégories par ordre alphabétique"
|
1010 |
-
|
1011 |
-
#: link-library-admin.php:2872
|
1012 |
-
msgid "Do not display"
|
1013 |
-
msgstr "Ne pas afficher"
|
1014 |
-
|
1015 |
-
#: link-library-admin.php:2872
|
1016 |
-
msgid "Before Categories"
|
1017 |
-
msgstr "Avant les catégories"
|
1018 |
-
|
1019 |
-
#: link-library-admin.php:2872
|
1020 |
-
msgid "Before Categories and Links"
|
1021 |
-
msgstr "Avant les catégories et les liens"
|
1022 |
-
|
1023 |
-
#: link-library-admin.php:2879
|
1024 |
-
msgid "Auto-select first alphabetic cat item"
|
1025 |
-
msgstr "Sélectionner automatiquement la première catégorie par ordre alphabétique"
|
1026 |
-
|
1027 |
-
#: link-library-admin.php:2883
|
1028 |
-
msgid "Display ALL box in alphabetic cat filter"
|
1029 |
-
msgstr "Afficher toutes les cases dans le filtre alphabétique des catégories"
|
1030 |
-
|
1031 |
-
#: link-library-admin.php:2885
|
1032 |
-
msgid "Cat filter label"
|
1033 |
-
msgstr "Texte pour le filtre sur les catégories"
|
1034 |
-
|
1035 |
-
#: link-library-admin.php:2889
|
1036 |
-
msgid "Only display links submitted by current user"
|
1037 |
-
msgstr "Affiche uniquement les liens soumis par l’utilisateur actuel"
|
1038 |
-
|
1039 |
-
#: link-library-admin.php:2934
|
1040 |
-
msgid "Results Order"
|
1041 |
-
msgstr "Ordre des résultats"
|
1042 |
-
|
1043 |
-
#: link-library-admin.php:2940
|
1044 |
-
#: link-library-admin.php:3097
|
1045 |
-
msgid "Order by Name"
|
1046 |
-
msgstr "Trier par nom"
|
1047 |
-
|
1048 |
-
#: link-library-admin.php:2943
|
1049 |
-
#: link-library-admin.php:3098
|
1050 |
-
msgid "Order by ID"
|
1051 |
-
msgstr "Trier par identifiant"
|
1052 |
-
|
1053 |
-
#: link-library-admin.php:2947
|
1054 |
-
msgid "Order of categories based on included category list"
|
1055 |
-
msgstr "Trier les catégories selon l’ordre des catégories incluses"
|
1056 |
-
|
1057 |
-
#: link-library-admin.php:2951
|
1058 |
-
msgid "Order by"
|
1059 |
-
msgstr "Trier par"
|
1060 |
-
|
1061 |
-
#: link-library-admin.php:2951
|
1062 |
-
#: link-library-admin.php:3099
|
1063 |
-
msgid "Wordpress Plugin"
|
1064 |
-
msgstr "Extension WordPress"
|
1065 |
-
|
1066 |
-
#: link-library-admin.php:2956
|
1067 |
-
msgid "Link Categories Display Format"
|
1068 |
-
msgstr "Format d’affichage des catégories de liens"
|
1069 |
-
|
1070 |
-
#: link-library-admin.php:2960
|
1071 |
-
#: link-library-admin.php:3181
|
1072 |
-
msgid "Table"
|
1073 |
-
msgstr "Table"
|
1074 |
-
|
1075 |
-
#: link-library-admin.php:2961
|
1076 |
-
#: link-library-admin.php:3182
|
1077 |
-
msgid "Unordered List"
|
1078 |
-
msgstr "Liste non-ordonnée"
|
1079 |
-
|
1080 |
-
#: link-library-admin.php:2962
|
1081 |
-
msgid "Drop-Down List"
|
1082 |
-
msgstr "Liste déroulante"
|
1083 |
-
|
1084 |
-
#: link-library-admin.php:2963
|
1085 |
-
msgid "Drop-Down List Direct Access"
|
1086 |
-
msgstr "Liste déroulante"
|
1087 |
-
|
1088 |
-
#: link-library-admin.php:2969
|
1089 |
-
msgid "Display link counts"
|
1090 |
-
msgstr "Afficher la quantité de liens"
|
1091 |
-
|
1092 |
-
#: link-library-admin.php:2975
|
1093 |
-
msgid "Display categories with search results"
|
1094 |
-
msgstr "Afficher les catégories avec les résultats de recherche"
|
1095 |
-
|
1096 |
-
#: link-library-admin.php:2980
|
1097 |
-
#: link-library-admin.php:2983
|
1098 |
-
msgid "This setting does not apply when selecting My Link Order for the order"
|
1099 |
-
msgstr "Cette option ne s’applique que lorsque l’on choisit \"Mon ordre des liens\" comme ordre de présentation"
|
1100 |
-
|
1101 |
-
#: link-library-admin.php:2981
|
1102 |
-
#: link-library-admin.php:3152
|
1103 |
-
msgid "Direction"
|
1104 |
-
msgstr "Direction"
|
1105 |
-
|
1106 |
-
#: link-library-admin.php:2985
|
1107 |
-
#: link-library-admin.php:3156
|
1108 |
-
msgid "Ascending"
|
1109 |
-
msgstr "Croissant"
|
1110 |
-
|
1111 |
-
#: link-library-admin.php:2986
|
1112 |
-
#: link-library-admin.php:3157
|
1113 |
-
msgid "Descending"
|
1114 |
-
msgstr "Décroissant"
|
1115 |
-
|
1116 |
-
#: link-library-admin.php:2990
|
1117 |
-
#: link-library-admin.php:2993
|
1118 |
-
#: link-library-admin.php:3106
|
1119 |
-
#: link-library-admin.php:3109
|
1120 |
-
msgid "Use [ and ] in the description to perform special actions using HTML such as inserting images instead of < and >"
|
1121 |
-
msgstr "Utilisez [ et ] dans la description pour écrire du code HTML, tel que du code pour afficher une image, au lien d’utiliser < et >"
|
1122 |
-
|
1123 |
-
#: link-library-admin.php:2991
|
1124 |
-
#: link-library-admin.php:3107
|
1125 |
-
msgid "Show Category Description"
|
1126 |
-
msgstr "Afficher la description des catégories"
|
1127 |
-
|
1128 |
-
#: link-library-admin.php:2995
|
1129 |
-
#: link-library-admin.php:3113
|
1130 |
-
msgid "Position"
|
1131 |
-
msgstr "Position"
|
1132 |
-
|
1133 |
-
#: link-library-admin.php:2997
|
1134 |
-
#: link-library-admin.php:3115
|
1135 |
-
msgid "Right"
|
1136 |
-
msgstr "Droite"
|
1137 |
-
|
1138 |
-
#: link-library-admin.php:2998
|
1139 |
-
#: link-library-admin.php:3116
|
1140 |
-
msgid "Left"
|
1141 |
-
msgstr "Gauche"
|
1142 |
-
|
1143 |
-
#: link-library-admin.php:3004
|
1144 |
-
msgid "Width of Categories Table in Percents"
|
1145 |
-
msgstr "Largeur de la table des catégories en pourcentage"
|
1146 |
-
|
1147 |
-
#: link-library-admin.php:3010
|
1148 |
-
#: link-library-admin.php:3013
|
1149 |
-
msgid "Determines the number of alternating div tags that will be placed before and after each link category"
|
1150 |
-
msgstr "Indique le nombre de balises div qui seront placées en alternance avant et après chaque catégorie de liens"
|
1151 |
-
|
1152 |
-
#: link-library-admin.php:3010
|
1153 |
-
#: link-library-admin.php:3013
|
1154 |
-
msgid "These div tags can be used to style of position link categories on the link page"
|
1155 |
-
msgstr "Ces balises div peuvent être utilisées pour positionner les catégories de lien sur la page"
|
1156 |
-
|
1157 |
-
#: link-library-admin.php:3011
|
1158 |
-
msgid "Number of alternating div classes"
|
1159 |
-
msgstr "Nombre de classes div en alternance"
|
1160 |
-
|
1161 |
-
#: link-library-admin.php:3026
|
1162 |
-
msgid "Number of columns in Categories Table"
|
1163 |
-
msgstr "Nombre de colonnes dans la table des catégories"
|
1164 |
-
|
1165 |
-
#: link-library-admin.php:3033
|
1166 |
-
msgid "First div class name"
|
1167 |
-
msgstr "Premier nom de classe de la div"
|
1168 |
-
|
1169 |
-
#: link-library-admin.php:3041
|
1170 |
-
msgid "Use Div Class or Heading tag around Category Names"
|
1171 |
-
msgstr "Utiliser une balise div ou une balise d’en-tête autour des noms de catégories"
|
1172 |
-
|
1173 |
-
#: link-library-admin.php:3045
|
1174 |
-
msgid "Div Class"
|
1175 |
-
msgstr "Premier nom de classe div"
|
1176 |
-
|
1177 |
-
#: link-library-admin.php:3046
|
1178 |
-
msgid "Heading Tag"
|
1179 |
-
msgstr "Balise d’en-tête"
|
1180 |
-
|
1181 |
-
#: link-library-admin.php:3051
|
1182 |
-
msgid "Second div class name"
|
1183 |
-
msgstr "Second nom de classe div"
|
1184 |
-
|
1185 |
-
#: link-library-admin.php:3058
|
1186 |
-
#: link-library-admin.php:3061
|
1187 |
-
msgid "Example div class name: linklistcatname, Example Heading Label: h3"
|
1188 |
-
msgstr "Exemples de noms de classes div : linklistcatname, Exemples de balises d’en-tête : h3"
|
1189 |
-
|
1190 |
-
#: link-library-admin.php:3059
|
1191 |
-
msgid "Div Class Name or Heading label"
|
1192 |
-
msgstr "Nom de classe div ou type de la balise de titre"
|
1193 |
-
|
1194 |
-
#: link-library-admin.php:3066
|
1195 |
-
msgid "Third div class name"
|
1196 |
-
msgstr "Troisième nom de classe div"
|
1197 |
-
|
1198 |
-
#: link-library-admin.php:3073
|
1199 |
-
#: link-library-admin.php:3076
|
1200 |
-
msgid "Set this address to a page running Link Library to place categories on a different page. Should always be used with the Show One Category at a Time and HTMLGET fetch method."
|
1201 |
-
msgstr "Configurer cette adresse vers une page utilisant Link Library pour placer la liste des catégories sur une autre page. Ce champ devrait toujours être utilisé en conjonction avec le mode n’affichez qu’une catégorie à la fois et la méthode HTML GET."
|
1202 |
-
|
1203 |
-
#: link-library-admin.php:3074
|
1204 |
-
msgid "Category Target Address"
|
1205 |
-
msgstr "Adresse cible pour les liens de catégories"
|
1206 |
-
|
1207 |
-
#: link-library-admin.php:3093
|
1208 |
-
msgid "Link Results Order"
|
1209 |
-
msgstr "Ordre des résultats"
|
1210 |
-
|
1211 |
-
#: link-library-admin.php:3099
|
1212 |
-
msgid "Order set by "
|
1213 |
-
msgstr "Trier par"
|
1214 |
-
|
1215 |
-
#: link-library-admin.php:3100
|
1216 |
-
msgid "Order randomly"
|
1217 |
-
msgstr "Trier au hazard"
|
1218 |
-
|
1219 |
-
#: link-library-admin.php:3101
|
1220 |
-
msgid "Order by updated date"
|
1221 |
-
msgstr "Trier par date de mise à jour"
|
1222 |
-
|
1223 |
-
#: link-library-admin.php:3102
|
1224 |
-
msgid "Order by number of link visits"
|
1225 |
-
msgstr "Trier par le nombre de visites du lien"
|
1226 |
-
|
1227 |
-
#: link-library-admin.php:3121
|
1228 |
-
msgid "List Featured Links ahead of Regular Links"
|
1229 |
-
msgstr "Afficher les liens vedettes avant les liens réguliers"
|
1230 |
-
|
1231 |
-
#: link-library-admin.php:3125
|
1232 |
-
msgid "Show Expand Link button and hide links"
|
1233 |
-
msgstr "Montrer le bouton 'Développer les liens' et cacher les liens"
|
1234 |
-
|
1235 |
-
#: link-library-admin.php:3130
|
1236 |
-
msgid "Combine all results without categories"
|
1237 |
-
msgstr "Combiner tous les résultats sans les catégories"
|
1238 |
-
|
1239 |
-
#: link-library-admin.php:3134
|
1240 |
-
msgid "Link Title Content"
|
1241 |
-
msgstr "Titre du lien sur le contenu"
|
1242 |
-
|
1243 |
-
#: link-library-admin.php:3151
|
1244 |
-
#: link-library-admin.php:3154
|
1245 |
-
msgid "Except for My Link Order mode"
|
1246 |
-
msgstr "Sauf pour le mode avec \"Mon ordre des lien\""
|
1247 |
-
|
1248 |
-
#: link-library-admin.php:3161
|
1249 |
-
#: link-library-admin.php:3164
|
1250 |
-
msgid "Leave empty to show all results"
|
1251 |
-
msgstr "Laissez vide pour afficher tous les résultats"
|
1252 |
-
|
1253 |
-
#: link-library-admin.php:3162
|
1254 |
-
msgid "Max number of links to display"
|
1255 |
-
msgstr "Nombre maximum de liens à afficher"
|
1256 |
-
|
1257 |
-
#: link-library-admin.php:3169
|
1258 |
-
#: link-library-admin.php:3172
|
1259 |
-
msgid "Sets default link target window, does not override specific targets set in links"
|
1260 |
-
msgstr "Configure la fenêtre cible pour les liens. Cette valeur n’est pas prioritaire par rapport aux cibles spécifiques des liens."
|
1261 |
-
|
1262 |
-
#: link-library-admin.php:3170
|
1263 |
-
msgid "Link Target"
|
1264 |
-
msgstr "Cible du lien"
|
1265 |
-
|
1266 |
-
#: link-library-admin.php:3177
|
1267 |
-
msgid "Link Display Format"
|
1268 |
-
msgstr "Format d’affichage des liens"
|
1269 |
-
|
1270 |
-
#: link-library-admin.php:3183
|
1271 |
-
msgid "No surrounding tags"
|
1272 |
-
msgstr "Pas de tags autour"
|
1273 |
-
|
1274 |
-
#: link-library-admin.php:3188
|
1275 |
-
#: link-library-admin.php:3191
|
1276 |
-
msgid "Allows extra query string to be added to all links in library"
|
1277 |
-
msgstr "Permet d’ajouter des paramètres supplémentaires sur tous les liens de la librairie"
|
1278 |
-
|
1279 |
-
#: link-library-admin.php:3189
|
1280 |
-
msgid "Additional link query string"
|
1281 |
-
msgstr "Chaine additionnelle pour le lien de recherche"
|
1282 |
-
|
1283 |
-
#: link-library-admin.php:3197
|
1284 |
-
msgid "Show Column Headers"
|
1285 |
-
msgstr "Afficher les en-têtes de colonnes"
|
1286 |
-
|
1287 |
-
#: link-library-admin.php:3204
|
1288 |
-
msgid "Link Column Header"
|
1289 |
-
msgstr "En-tête de colonne de lien"
|
1290 |
-
|
1291 |
-
#: link-library-admin.php:3212
|
1292 |
-
msgid "Description Column Header"
|
1293 |
-
msgstr "En-tête de colonne pour les descriptions"
|
1294 |
-
|
1295 |
-
#: link-library-admin.php:3219
|
1296 |
-
msgid "Notes Column Header"
|
1297 |
-
msgstr "En-tête de la colonne des notes"
|
1298 |
-
|
1299 |
-
#: link-library-admin.php:3227
|
1300 |
-
msgid "Hide Category Names"
|
1301 |
-
msgstr "Masquer les noms de catégories"
|
1302 |
-
|
1303 |
-
#: link-library-admin.php:3234
|
1304 |
-
msgid "Show Hidden Links"
|
1305 |
-
msgstr "Afficher les liens cachés"
|
1306 |
-
|
1307 |
-
#: link-library-admin.php:3241
|
1308 |
-
#: link-library-admin.php:3244
|
1309 |
-
msgid "Need to be active for Link Categories to work"
|
1310 |
-
msgstr "Doit être coché pour que les liens de catégories fonctionnent"
|
1311 |
-
|
1312 |
-
#: link-library-admin.php:3242
|
1313 |
-
msgid "Embed HTML anchors"
|
1314 |
-
msgstr "Inclusion d’ancrages HTML"
|
1315 |
-
|
1316 |
-
#: link-library-admin.php:3249
|
1317 |
-
msgid "Show Hidden Links to Admins/Editors"
|
1318 |
-
msgstr "Montrer les liens cachés aux Administrateurs/Editeurs"
|
1319 |
-
|
1320 |
-
#: link-library-admin.php:3266
|
1321 |
-
msgid "Arrange the items below via drag-and-drop to order the various Link Library elements."
|
1322 |
-
msgstr "Organiser les différents liens ci-dessous avec la souris (cliquer-déplacer-déposer)"
|
1323 |
-
|
1324 |
-
#: link-library-admin.php:3289
|
1325 |
-
#: link-library-admin.php:3411
|
1326 |
-
msgid "Image"
|
1327 |
-
msgstr "Image"
|
1328 |
-
|
1329 |
-
#: link-library-admin.php:3293
|
1330 |
-
msgid "Name"
|
1331 |
-
msgstr "Nom"
|
1332 |
-
|
1333 |
-
#: link-library-admin.php:3297
|
1334 |
-
msgid "Date"
|
1335 |
-
msgstr "Date"
|
1336 |
-
|
1337 |
-
#: link-library-admin.php:3301
|
1338 |
-
msgid "Desc"
|
1339 |
-
msgstr "Desc"
|
1340 |
-
|
1341 |
-
#: link-library-admin.php:3305
|
1342 |
-
msgid "Notes"
|
1343 |
-
msgstr "Notes"
|
1344 |
-
|
1345 |
-
#: link-library-admin.php:3309
|
1346 |
-
msgid "RSS"
|
1347 |
-
msgstr "RSS"
|
1348 |
-
|
1349 |
-
#: link-library-admin.php:3313
|
1350 |
-
#: link-library-admin.php:3588
|
1351 |
-
msgid "Link"
|
1352 |
-
msgstr "Lien"
|
1353 |
-
|
1354 |
-
#: link-library-admin.php:3317
|
1355 |
-
msgid "Phone"
|
1356 |
-
msgstr "Téléphone"
|
1357 |
-
|
1358 |
-
#: link-library-admin.php:3321
|
1359 |
-
#: link-library-admin.php:3618
|
1360 |
-
#: link-library-admin.php:4477
|
1361 |
-
#: link-library-admin.php:4820
|
1362 |
-
#: link-library-defaults.php:176
|
1363 |
-
#: render-link-library-addlink-sc.php:446
|
1364 |
-
msgid "E-mail"
|
1365 |
-
msgstr "Adresse électronique"
|
1366 |
-
|
1367 |
-
#: link-library-admin.php:3325
|
1368 |
-
msgid "Hits"
|
1369 |
-
msgstr "Accès"
|
1370 |
-
|
1371 |
-
#: link-library-admin.php:3329
|
1372 |
-
msgid "Rating"
|
1373 |
-
msgstr "Classement"
|
1374 |
-
|
1375 |
-
#: link-library-admin.php:3333
|
1376 |
-
msgid "Large Desc"
|
1377 |
-
msgstr "Grande Desc"
|
1378 |
-
|
1379 |
-
#: link-library-admin.php:3337
|
1380 |
-
#: link-library-admin.php:3715
|
1381 |
-
#: link-library-admin.php:4493
|
1382 |
-
#: link-library-defaults.php:188
|
1383 |
-
#: render-link-library-addlink-sc.php:464
|
1384 |
-
msgid "Submitter Name"
|
1385 |
-
msgstr "Nom de l’utilisateur ayant soumis le lien"
|
1386 |
-
|
1387 |
-
#: link-library-admin.php:3341
|
1388 |
-
msgid "Cat Desc"
|
1389 |
-
msgstr "Cat Desc"
|
1390 |
-
|
1391 |
-
#: link-library-admin.php:3353
|
1392 |
-
msgid "Display"
|
1393 |
-
msgstr "Afficher"
|
1394 |
-
|
1395 |
-
#: link-library-admin.php:3354
|
1396 |
-
msgid "Before"
|
1397 |
-
msgstr "Avant"
|
1398 |
-
|
1399 |
-
#: link-library-admin.php:3355
|
1400 |
-
msgid "After"
|
1401 |
-
msgstr "Après"
|
1402 |
-
|
1403 |
-
#: link-library-admin.php:3356
|
1404 |
-
msgid "Additional Details"
|
1405 |
-
msgstr "Détails additionnels"
|
1406 |
-
|
1407 |
-
#: link-library-admin.php:3357
|
1408 |
-
msgid "Link Source"
|
1409 |
-
msgstr "Source du lien"
|
1410 |
-
|
1411 |
-
#: link-library-admin.php:3360
|
1412 |
-
msgid "This column allows for the output of text/code before the first link in each category"
|
1413 |
-
msgstr "Cette colonne permet de spécifier le texte/code qui sera affiché avant le premier lien de chaque catégorie"
|
1414 |
-
|
1415 |
-
#: link-library-admin.php:3360
|
1416 |
-
msgid "Before first link"
|
1417 |
-
msgstr "Avant le premier lien"
|
1418 |
-
|
1419 |
-
#: link-library-admin.php:3362
|
1420 |
-
msgid "Output of text/code before the first link in each category"
|
1421 |
-
msgstr "Affichage du texte/code avant la première ligne de chaque catégorie"
|
1422 |
-
|
1423 |
-
#: link-library-admin.php:3368
|
1424 |
-
msgid "This column allows for the output of text/code before a number of links determined by the Display field"
|
1425 |
-
msgstr "Cette colonne permet de spécifier le texte/code qui sera affiché avant le nombre de liens spécifié sur la première ligne de cette table"
|
1426 |
-
|
1427 |
-
#: link-library-admin.php:3368
|
1428 |
-
msgid "Intermittent Before Link"
|
1429 |
-
msgstr "Balises intermittentes avant le lien"
|
1430 |
-
|
1431 |
-
#: link-library-admin.php:3369
|
1432 |
-
msgid "Frequency of additional output before and after complete link group"
|
1433 |
-
msgstr "Fréquence des affichages supplémentaires avant et après chaque groupe de liens"
|
1434 |
-
|
1435 |
-
#: link-library-admin.php:3372
|
1436 |
-
#: link-library-admin.php:3382
|
1437 |
-
msgid "Output before complete link group (link, notes, desc, etc...)"
|
1438 |
-
msgstr "Afficher avant le groupe de liens (lien, notes, description, etc...)"
|
1439 |
-
|
1440 |
-
#: link-library-admin.php:3380
|
1441 |
-
msgid "This column allows for the output of text/code before each link"
|
1442 |
-
msgstr "Cette colonne permet de spécifier le texte/code qui sera affiché avant chaque lien"
|
1443 |
-
|
1444 |
-
#: link-library-admin.php:3380
|
1445 |
-
msgid "Before Link"
|
1446 |
-
msgstr "Avant le lien"
|
1447 |
-
|
1448 |
-
#: link-library-admin.php:3411
|
1449 |
-
msgid "This column allows for the output of text/code before each link image"
|
1450 |
-
msgstr "Cette colonne permet de spécifier le texte/code qui sera affiché avant chaque image"
|
1451 |
-
|
1452 |
-
#: link-library-admin.php:3417
|
1453 |
-
msgid "Code/Text to be displayed before each link image"
|
1454 |
-
msgstr "Code/Texte à afficher avant chaque image"
|
1455 |
-
|
1456 |
-
#: link-library-admin.php:3420
|
1457 |
-
msgid "Code/Text to be displayed after each link image"
|
1458 |
-
msgstr "Code/Texte à afficher après chaque image"
|
1459 |
-
|
1460 |
-
#: link-library-admin.php:3423
|
1461 |
-
msgid "CSS Class to be assigned to link image"
|
1462 |
-
msgstr "Classe CSS qui sera assignée à l’image"
|
1463 |
-
|
1464 |
-
#: link-library-admin.php:3430
|
1465 |
-
#: link-library-admin.php:3461
|
1466 |
-
#: link-library-admin.php:3566
|
1467 |
-
#: link-library-admin.php:3607
|
1468 |
-
msgid "Primary"
|
1469 |
-
msgstr "Principal"
|
1470 |
-
|
1471 |
-
#: link-library-admin.php:3433
|
1472 |
-
#: link-library-admin.php:3462
|
1473 |
-
#: link-library-admin.php:3569
|
1474 |
-
#: link-library-admin.php:3610
|
1475 |
-
msgid "Secondary"
|
1476 |
-
msgstr "Secondaire"
|
1477 |
-
|
1478 |
-
#: link-library-admin.php:3441
|
1479 |
-
msgid "This column allows for the output of text/code before and after each link name"
|
1480 |
-
msgstr "Cette colonne permet de spécifier le texte/code qui sera affiché avant et après chaque nom"
|
1481 |
-
|
1482 |
-
#: link-library-admin.php:3447
|
1483 |
-
msgid "Code/Text to be displayed before each link"
|
1484 |
-
msgstr "Code/Texte à afficher avant chaque lien"
|
1485 |
-
|
1486 |
-
#: link-library-admin.php:3450
|
1487 |
-
msgid "Code/Text to be displayed after each link"
|
1488 |
-
msgstr "Code/Texte à afficher après chaque lien"
|
1489 |
-
|
1490 |
-
#: link-library-admin.php:3455
|
1491 |
-
msgid "No Tooltip"
|
1492 |
-
msgstr "Pas d’aide"
|
1493 |
-
|
1494 |
-
#: link-library-admin.php:3456
|
1495 |
-
msgid "Description"
|
1496 |
-
msgstr "Description"
|
1497 |
-
|
1498 |
-
#: link-library-admin.php:3470
|
1499 |
-
msgid "This column allows for the output of text/code before and after each link date stamp"
|
1500 |
-
msgstr "Cette colonne permet de spécifier le texte/code qui sera affiché avant et après chaque date"
|
1501 |
-
|
1502 |
-
#: link-library-admin.php:3470
|
1503 |
-
msgid "Link Date"
|
1504 |
-
msgstr "Date du lien"
|
1505 |
-
|
1506 |
-
#: link-library-admin.php:3471
|
1507 |
-
msgid "Check to display link date"
|
1508 |
-
msgstr "Cocher pour afficher la date du lien"
|
1509 |
-
|
1510 |
-
#: link-library-admin.php:3476
|
1511 |
-
msgid "Code/Text to be displayed before each date"
|
1512 |
-
msgstr "Code/Texte à afficher avant chaque date"
|
1513 |
-
|
1514 |
-
#: link-library-admin.php:3479
|
1515 |
-
msgid "Code/Text to be displayed after each date"
|
1516 |
-
msgstr "Code/Texte à afficher après chaque date"
|
1517 |
-
|
1518 |
-
#: link-library-admin.php:3489
|
1519 |
-
msgid "This column allows for the output of text/code before and after each link description"
|
1520 |
-
msgstr "Cette colonne permet de spécifier le texte/code qui sera affiché avant et après chaque description"
|
1521 |
-
|
1522 |
-
#: link-library-admin.php:3490
|
1523 |
-
msgid "Check to display link descriptions"
|
1524 |
-
msgstr "Cocher pour afficher la description du lien"
|
1525 |
-
|
1526 |
-
#: link-library-admin.php:3495
|
1527 |
-
msgid "Code/Text to be displayed before each description"
|
1528 |
-
msgstr "Code/Texte à afficher avant chaque description"
|
1529 |
-
|
1530 |
-
#: link-library-admin.php:3498
|
1531 |
-
msgid "Code/Text to be displayed after each description"
|
1532 |
-
msgstr "Code/Texte à afficher après chaque description"
|
1533 |
-
|
1534 |
-
#: link-library-admin.php:3508
|
1535 |
-
msgid "This column allows for the output of text/code before and after each link notes"
|
1536 |
-
msgstr "Cette colonne permet de spécifier le texte/code qui sera affiché avant et après chaque note"
|
1537 |
-
|
1538 |
-
#: link-library-admin.php:3508
|
1539 |
-
#: link-library-admin.php:4400
|
1540 |
-
#: link-library-defaults.php:129
|
1541 |
-
#: usersubmission.php:311
|
1542 |
-
#: usersubmission.php:401
|
1543 |
-
msgid "Link Notes"
|
1544 |
-
msgstr "Notes du lien"
|
1545 |
-
|
1546 |
-
#: link-library-admin.php:3509
|
1547 |
-
msgid "Check to display link notes"
|
1548 |
-
msgstr "Cocher pour afficher les notes du lien"
|
1549 |
-
|
1550 |
-
#: link-library-admin.php:3514
|
1551 |
-
msgid "Code/Text to be displayed before each note"
|
1552 |
-
msgstr "Code/Texte à afficher avant chaque note"
|
1553 |
-
|
1554 |
-
#: link-library-admin.php:3517
|
1555 |
-
msgid "Code/Text to be displayed after each note"
|
1556 |
-
msgstr "Code/Texte à afficher après chaque note"
|
1557 |
-
|
1558 |
-
#: link-library-admin.php:3527
|
1559 |
-
msgid "This column allows for the output of text/code before and after the RSS icons"
|
1560 |
-
msgstr "Cette colonne permet de spécifier le texte/code qui sera affiché avant et après les icônes RSS"
|
1561 |
-
|
1562 |
-
#: link-library-admin.php:3527
|
1563 |
-
msgid "RSS Icons"
|
1564 |
-
msgstr "Icône RSS"
|
1565 |
-
|
1566 |
-
#: link-library-admin.php:3529
|
1567 |
-
msgid "See below"
|
1568 |
-
msgstr "Voir ci-dessous"
|
1569 |
-
|
1570 |
-
#: link-library-admin.php:3531
|
1571 |
-
msgid "Code/Text to be displayed before RSS Icons"
|
1572 |
-
msgstr "Code/Texte à afficher avant les icônes RSS"
|
1573 |
-
|
1574 |
-
#: link-library-admin.php:3534
|
1575 |
-
msgid "Code/Text to be displayed after RSS Icons"
|
1576 |
-
msgstr "Code/Texte à afficher après les icônes RSS"
|
1577 |
-
|
1578 |
-
#: link-library-admin.php:3544
|
1579 |
-
msgid "This column allows for the output of text/code before and after the Web Link"
|
1580 |
-
msgstr "Cette colonne permet de spécifier le texte/code qui sera affiché avant et après les hyperliens"
|
1581 |
-
|
1582 |
-
#: link-library-admin.php:3544
|
1583 |
-
msgid "Web Link"
|
1584 |
-
msgstr "Lien du site"
|
1585 |
-
|
1586 |
-
#: link-library-admin.php:3547
|
1587 |
-
#: link-library-admin.php:3582
|
1588 |
-
#: link-library-admin.php:3623
|
1589 |
-
msgid "False"
|
1590 |
-
msgstr "Faux"
|
1591 |
-
|
1592 |
-
#: link-library-admin.php:3548
|
1593 |
-
msgid "Web Address"
|
1594 |
-
msgstr "Adresse du site"
|
1595 |
-
|
1596 |
-
#: link-library-admin.php:3549
|
1597 |
-
msgid "Web Address Only"
|
1598 |
-
msgstr "Seulement une adresse Web"
|
1599 |
-
|
1600 |
-
#: link-library-admin.php:3550
|
1601 |
-
#: link-library-admin.php:3591
|
1602 |
-
msgid "Label"
|
1603 |
-
msgstr "Identifiant"
|
1604 |
-
|
1605 |
-
#: link-library-admin.php:3553
|
1606 |
-
msgid "Code/Text to be displayed before Web Link"
|
1607 |
-
msgstr "Code/Texte à afficher avant l’hyperlien"
|
1608 |
-
|
1609 |
-
#: link-library-admin.php:3556
|
1610 |
-
msgid "Code/Text to be displayed after Web Link"
|
1611 |
-
msgstr "Code/Texte à afficher après l’hyperlien"
|
1612 |
-
|
1613 |
-
#: link-library-admin.php:3559
|
1614 |
-
msgid "Text Label that the web link will be assigned to."
|
1615 |
-
msgstr "Texte associé à l’hyperlien."
|
1616 |
-
|
1617 |
-
#: link-library-admin.php:3562
|
1618 |
-
#: link-library-admin.php:3603
|
1619 |
-
msgid "Select which link address will be displayed / used for link"
|
1620 |
-
msgstr "Sélectionner l’adresse qui doit être utilisée/affichée pour le lien"
|
1621 |
-
|
1622 |
-
#: link-library-admin.php:3577
|
1623 |
-
msgid "This column allows for the output of text/code before and after the Telephone Number"
|
1624 |
-
msgstr "Cette colonne permet de spécifier le texte/code qui sera affiché avant et après le numéro de téléphone"
|
1625 |
-
|
1626 |
-
#: link-library-admin.php:3577
|
1627 |
-
#: link-library-admin.php:4462
|
1628 |
-
#: link-library-admin.php:4814
|
1629 |
-
#: link-library-defaults.php:174
|
1630 |
-
#: render-link-library-addlink-sc.php:428
|
1631 |
-
msgid "Telephone"
|
1632 |
-
msgstr "Téléphone"
|
1633 |
-
|
1634 |
-
#: link-library-admin.php:3585
|
1635 |
-
#: link-library-admin.php:3626
|
1636 |
-
msgid "Plain Text"
|
1637 |
-
msgstr "Texte simple"
|
1638 |
-
|
1639 |
-
#: link-library-admin.php:3594
|
1640 |
-
msgid "Code/Text to be displayed before Telephone Number"
|
1641 |
-
msgstr "Code/Texte à afficher avant le numéro de téléphone"
|
1642 |
-
|
1643 |
-
#: link-library-admin.php:3597
|
1644 |
-
msgid "Code/Text to be displayed after Telephone Number"
|
1645 |
-
msgstr "Code/Texte à afficher après le numéro de téléphone"
|
1646 |
-
|
1647 |
-
#: link-library-admin.php:3600
|
1648 |
-
msgid "Text Label that the telephone will be assigned to."
|
1649 |
-
msgstr "Texte associé au numéro de téléphone."
|
1650 |
-
|
1651 |
-
#: link-library-admin.php:3618
|
1652 |
-
msgid "This column allows for the output of text/code before and after the E-mail"
|
1653 |
-
msgstr "Cette colonne permet de spécifier le texte/code qui sera affiché avant et après chaque email"
|
1654 |
-
|
1655 |
-
#: link-library-admin.php:3629
|
1656 |
-
msgid "MailTo Link"
|
1657 |
-
msgstr "Lien mailto"
|
1658 |
-
|
1659 |
-
#: link-library-admin.php:3632
|
1660 |
-
msgid "MailTo Link with Label"
|
1661 |
-
msgstr "Lien mailto avec libellé"
|
1662 |
-
|
1663 |
-
#: link-library-admin.php:3635
|
1664 |
-
msgid "Formatted Command"
|
1665 |
-
msgstr "Commande formattée"
|
1666 |
-
|
1667 |
-
#: link-library-admin.php:3638
|
1668 |
-
msgid "Formatted Command with Labels"
|
1669 |
-
msgstr "Commande formattée avec affichage textuel"
|
1670 |
-
|
1671 |
-
#: link-library-admin.php:3641
|
1672 |
-
msgid "Code/Text to be displayed before E-mail"
|
1673 |
-
msgstr "Code/Texte à afficher avant chaque courriel"
|
1674 |
-
|
1675 |
-
#: link-library-admin.php:3644
|
1676 |
-
msgid "Code/Text to be displayed after E-mail"
|
1677 |
-
msgstr "Code/Texte à afficher après le courriel"
|
1678 |
-
|
1679 |
-
#: link-library-admin.php:3647
|
1680 |
-
msgid "Text Label that the e-mail will be assigned to represent the e-mail link."
|
1681 |
-
msgstr "Titre texte qui sera utilisé pour le lien vers l’envoie de courriel."
|
1682 |
-
|
1683 |
-
#: link-library-admin.php:3650
|
1684 |
-
msgid "Command that the e-mail will be embedded in. In the case of a command, use the symbols #email and #company to indicate the position where these elements should be inserted."
|
1685 |
-
msgstr "Commande dans laquelle l’adresse électronique sera incluse. Dans le cas d’une commande, utilisez les symboles #email et #company pour indiquer l’emplacement de ces éléments."
|
1686 |
-
|
1687 |
-
#: link-library-admin.php:3658
|
1688 |
-
msgid "This column allows for the output of text/code before and after Link Hits"
|
1689 |
-
msgstr "Cette colonne permet de spécifier le texte/code qui sera affiché avant et après les statistiques du lien"
|
1690 |
-
|
1691 |
-
#: link-library-admin.php:3658
|
1692 |
-
msgid "Link Hits"
|
1693 |
-
msgstr "Statistiques du lien"
|
1694 |
-
|
1695 |
-
#: link-library-admin.php:3664
|
1696 |
-
msgid "Code/Text to be displayed before Link Hits"
|
1697 |
-
msgstr "Code/Texte à afficher avant les statistiques du lien"
|
1698 |
-
|
1699 |
-
#: link-library-admin.php:3667
|
1700 |
-
msgid "Code/Text to be displayed after Link Hits"
|
1701 |
-
msgstr "Code/Texte à afficher après les statistiques du lien"
|
1702 |
-
|
1703 |
-
#: link-library-admin.php:3677
|
1704 |
-
msgid "This column allows for the output of text/code before and after the Link Rating"
|
1705 |
-
msgstr "Cette colonne permet de spécifier le texte/code qui sera affiché avant et après le classement du lien"
|
1706 |
-
|
1707 |
-
#: link-library-admin.php:3677
|
1708 |
-
msgid "Link Rating"
|
1709 |
-
msgstr "Classement du lien"
|
1710 |
-
|
1711 |
-
#: link-library-admin.php:3683
|
1712 |
-
msgid "Code/Text to be displayed before Link Rating"
|
1713 |
-
msgstr "Code/Texte à afficher avant le classement du lien"
|
1714 |
-
|
1715 |
-
#: link-library-admin.php:3686
|
1716 |
-
msgid "Code/Text to be displayed after Link Rating"
|
1717 |
-
msgstr "Code/Texte à afficher après le classement du lien"
|
1718 |
-
|
1719 |
-
#: link-library-admin.php:3696
|
1720 |
-
#: link-library-admin.php:3715
|
1721 |
-
#: link-library-admin.php:3732
|
1722 |
-
msgid "This column allows for the output of text/code before and after the Link Large Description"
|
1723 |
-
msgstr "Cette colonne permet de spécifier le texte/code qui sera affiché avant et après chaque grande description"
|
1724 |
-
|
1725 |
-
#: link-library-admin.php:3696
|
1726 |
-
#: link-library-admin.php:4863
|
1727 |
-
#: usersubmission.php:307
|
1728 |
-
#: usersubmission.php:397
|
1729 |
-
msgid "Link Large Description"
|
1730 |
-
msgstr "Grande description du lien"
|
1731 |
-
|
1732 |
-
#: link-library-admin.php:3702
|
1733 |
-
#: link-library-admin.php:3719
|
1734 |
-
#: link-library-admin.php:3736
|
1735 |
-
msgid "Code/Text to be displayed before Link Large Description"
|
1736 |
-
msgstr "Code/Texte à afficher avant chaque grande description"
|
1737 |
-
|
1738 |
-
#: link-library-admin.php:3705
|
1739 |
-
#: link-library-admin.php:3722
|
1740 |
-
#: link-library-admin.php:3739
|
1741 |
-
msgid "Code/Text to be displayed after Link Large Description"
|
1742 |
-
msgstr "Code/Texte à afficher après chaque grande description"
|
1743 |
-
|
1744 |
-
#: link-library-admin.php:3732
|
1745 |
-
msgid "Category Description"
|
1746 |
-
msgstr "Description de la catégorie"
|
1747 |
-
|
1748 |
-
#: link-library-admin.php:3751
|
1749 |
-
msgid "This column allows for the output of text/code after each link"
|
1750 |
-
msgstr "Cette colonne permet de spécifier le texte/code qui sera affiché après chaque lien"
|
1751 |
-
|
1752 |
-
#: link-library-admin.php:3751
|
1753 |
-
msgid "After Link Block"
|
1754 |
-
msgstr "Après le lien complet"
|
1755 |
-
|
1756 |
-
#: link-library-admin.php:3754
|
1757 |
-
msgid "Output after complete link group (link, notes, desc, etc...)"
|
1758 |
-
msgstr "Afficher après le groupe de liens (lien, notes, description, etc...)"
|
1759 |
-
|
1760 |
-
#: link-library-admin.php:3761
|
1761 |
-
msgid "This column allows for the output of text/code after a number of links determined in the first column"
|
1762 |
-
msgstr "Cette colonne permet de spécifier le texte/code qui sera affiché après le nombre de liens spécifié sur la première ligne"
|
1763 |
-
|
1764 |
-
#: link-library-admin.php:3761
|
1765 |
-
msgid "Intermittent After Link"
|
1766 |
-
msgstr "Balises intermittentes après le lien"
|
1767 |
-
|
1768 |
-
#: link-library-admin.php:3771
|
1769 |
-
msgid "This column allows for the output of text/code after the last link in each category"
|
1770 |
-
msgstr "Cette colonne permet de spécifier le texte/code qui sera affiché après dernier lien dans chaque catégorie"
|
1771 |
-
|
1772 |
-
#: link-library-admin.php:3771
|
1773 |
-
msgid "After last link"
|
1774 |
-
msgstr "Après le dernier lien"
|
1775 |
-
|
1776 |
-
#: link-library-admin.php:3784
|
1777 |
-
msgid "Show Link Updated Flag"
|
1778 |
-
msgstr "Afficher l’indication de mise à jour des liens"
|
1779 |
-
|
1780 |
-
#: link-library-admin.php:3794
|
1781 |
-
msgid "Convert [] to <> in Link Description and Notes"
|
1782 |
-
msgstr "Convertir [] à <> dans les descriptions et notes de liens"
|
1783 |
-
|
1784 |
-
#: link-library-admin.php:3804
|
1785 |
-
msgid "Link Updated Flag Position"
|
1786 |
-
msgstr "Position du drapeau de mise à jour du lien"
|
1787 |
-
|
1788 |
-
#: link-library-admin.php:3819
|
1789 |
-
#: link-library-admin.php:3822
|
1790 |
-
msgid "Label to be displayed before new links"
|
1791 |
-
msgstr "Texte à afficher avant un nouveau lien"
|
1792 |
-
|
1793 |
-
#: link-library-admin.php:3820
|
1794 |
-
msgid "Updated link label"
|
1795 |
-
msgstr "Mise à jour du texte du lien"
|
1796 |
-
|
1797 |
-
#: link-library-admin.php:3828
|
1798 |
-
msgid "Add nofollow tag to outgoing links"
|
1799 |
-
msgstr "Ajouter une balise nofollow aux liens sortants"
|
1800 |
-
|
1801 |
-
#: link-library-admin.php:3835
|
1802 |
-
msgid "Show edit links when logged in as editor or administrator"
|
1803 |
-
msgstr "Afficher un lien d’édition lorsque l’utilisateur est un éditeur ou un administrateur"
|
1804 |
-
|
1805 |
-
#: link-library-admin.php:3843
|
1806 |
-
msgid "Show link name when no image is assigned"
|
1807 |
-
msgstr "Afficher le nom du lien quand il n’y a pas d’image assignée au lien"
|
1808 |
-
|
1809 |
-
#: link-library-admin.php:3850
|
1810 |
-
msgid "Do not output fields with no value"
|
1811 |
-
msgstr "Ne pas afficher les champs vides"
|
1812 |
-
|
1813 |
-
#: link-library-admin.php:3868
|
1814 |
-
msgid "Enable link Pop-Ups"
|
1815 |
-
msgstr "Activer les fenêtres pop-up pour les liens"
|
1816 |
-
|
1817 |
-
#: link-library-admin.php:3872
|
1818 |
-
msgid "Pop-Up Width"
|
1819 |
-
msgstr "Largeur de la fenêtre pop-up"
|
1820 |
-
|
1821 |
-
#: link-library-admin.php:3879
|
1822 |
-
msgid "Pop-Up Height"
|
1823 |
-
msgstr "Hauteur de la fenêtre pop-up"
|
1824 |
-
|
1825 |
-
#: link-library-admin.php:3888
|
1826 |
-
msgid "Dialog contents"
|
1827 |
-
msgstr "Contenu de la fenêtre"
|
1828 |
-
|
1829 |
-
#: link-library-admin.php:3906
|
1830 |
-
msgid "Show RSS Link using Text"
|
1831 |
-
msgstr "Afficher le lien RSS de façon textuelle"
|
1832 |
-
|
1833 |
-
#: link-library-admin.php:3914
|
1834 |
-
msgid "Show RSS Link using Standard Icon"
|
1835 |
-
msgstr "Afficher le lien RSS en utilisant l’icône standard"
|
1836 |
-
|
1837 |
-
#: link-library-admin.php:3926
|
1838 |
-
msgid "Show RSS Preview Link"
|
1839 |
-
msgstr "Afficher un lien vers l’aperçu du flux d’informations"
|
1840 |
-
|
1841 |
-
#: link-library-admin.php:3932
|
1842 |
-
msgid "Number of articles shown in RSS Preview"
|
1843 |
-
msgstr "Nombre d’articles présentés dans l’aperçu du flux d’informations RSS"
|
1844 |
-
|
1845 |
-
#: link-library-admin.php:3938
|
1846 |
-
msgid "Show RSS Feed Headers in Link Library output"
|
1847 |
-
msgstr "Afficher les en-têtes des flux d’informations RSS dans la page générée par Link Library"
|
1848 |
-
|
1849 |
-
#: link-library-admin.php:3946
|
1850 |
-
msgid "Show RSS Feed Content in Link Library output"
|
1851 |
-
msgstr "Afficher le contenu des flux d’informations RSS dans la page générée par Link Library"
|
1852 |
-
|
1853 |
-
#: link-library-admin.php:3952
|
1854 |
-
msgid "Number of RSS articles shown in Link Library Output"
|
1855 |
-
msgstr "Nombre d’articles RSS devant être affichés par Link Library"
|
1856 |
-
|
1857 |
-
#: link-library-admin.php:3957
|
1858 |
-
msgid "Max number of days since published"
|
1859 |
-
msgstr "Nombre maximum de jours depuis la publication"
|
1860 |
-
|
1861 |
-
#: link-library-admin.php:3961
|
1862 |
-
msgid "RSS Preview Width"
|
1863 |
-
msgstr "Largeur de l’aperçu du flux d’informations RSS"
|
1864 |
-
|
1865 |
-
#: link-library-admin.php:3964
|
1866 |
-
msgid "RSS Preview Height"
|
1867 |
-
msgstr "Hauteur de l’aperçu du flux d’informations RSS"
|
1868 |
-
|
1869 |
-
#: link-library-admin.php:3967
|
1870 |
-
msgid "Skip links with no RSS inline items"
|
1871 |
-
msgstr "Passer les liens sans flux RSS"
|
1872 |
-
|
1873 |
-
#: link-library-admin.php:3984
|
1874 |
-
msgid "Checking this option will get images from the Robothumb web site every time"
|
1875 |
-
msgstr "L’activation de cette option permet la récupération d’image du site internet Robothumb à chaque affichage de la page"
|
1876 |
-
|
1877 |
-
#: link-library-admin.php:3985
|
1878 |
-
msgid "Use thumbnail service for dynamic link images"
|
1879 |
-
msgstr "Utiliser le service thumbnail pour la génération dynamique de vignettes des liens"
|
1880 |
-
|
1881 |
-
#: link-library-admin.php:3987
|
1882 |
-
msgid "Checking this option will get images from the thumbshots web site every time"
|
1883 |
-
msgstr "L’activation de cette option permet la récupération d’image du site internet thumbshots.org à chaque affichage de la page"
|
1884 |
-
|
1885 |
-
#: link-library-admin.php:3995
|
1886 |
-
msgid "Give priority to images assigned to links if present"
|
1887 |
-
msgstr "Donner une priorité aux images liées aux liens si elles sont présentes"
|
1888 |
-
|
1889 |
-
#: link-library-admin.php:4003
|
1890 |
-
msgid "Generate Images / Favorite Icons"
|
1891 |
-
msgstr "Générer les images ou icônes de favoris"
|
1892 |
-
|
1893 |
-
#: link-library-admin.php:4005
|
1894 |
-
#: link-library-admin.php:4890
|
1895 |
-
msgid "This button is only available when a valid API key is entered under the Link Library General Settings."
|
1896 |
-
msgstr "Ce bouton est seulement disponible quand un CID valide est saisi dans les paramètres généraux de Link Library."
|
1897 |
-
|
1898 |
-
#: link-library-admin.php:4006
|
1899 |
-
msgid "Generate Thumbnails and Store locally"
|
1900 |
-
msgstr "Générer les vignettes et les conserver"
|
1901 |
-
|
1902 |
-
#: link-library-admin.php:4009
|
1903 |
-
msgid "Generate Favorite Icons and Store locally"
|
1904 |
-
msgstr "Générer les icônes de favoris et les conserver"
|
1905 |
-
|
1906 |
-
#: link-library-admin.php:4013
|
1907 |
-
msgid "Delete all local thumbnails and icons"
|
1908 |
-
msgstr "Supprimer toutes les mignatures et icônes locales"
|
1909 |
-
|
1910 |
-
#: link-library-admin.php:4014
|
1911 |
-
msgid "Delete all local thumbnails"
|
1912 |
-
msgstr "Supprimer toutes les miniatures locales"
|
1913 |
-
|
1914 |
-
#: link-library-admin.php:4015
|
1915 |
-
msgid "Delete all local icons"
|
1916 |
-
msgstr "Supprimer toutes les icônes locales"
|
1917 |
-
|
1918 |
-
#: link-library-admin.php:4031
|
1919 |
-
msgid "Publish RSS Feed"
|
1920 |
-
msgstr "Publier un flux d’informations RSS"
|
1921 |
-
|
1922 |
-
#: link-library-admin.php:4038
|
1923 |
-
msgid "Number of items in RSS feed"
|
1924 |
-
msgstr "Nombre d’éléments dans le flux d’informations RSS"
|
1925 |
-
|
1926 |
-
#: link-library-admin.php:4047
|
1927 |
-
msgid "RSS Feed Title"
|
1928 |
-
msgstr "Titre du flux d’informations RSS"
|
1929 |
-
|
1930 |
-
#: link-library-admin.php:4053
|
1931 |
-
msgid "RSS Feed Description"
|
1932 |
-
msgstr "Description du flux d’informations RSS"
|
1933 |
-
|
1934 |
-
#: link-library-admin.php:4059
|
1935 |
-
msgid "RSS Feed Web Address (default yoursite.com?link_library_rss_feed=1&settingset=1 )"
|
1936 |
-
msgstr "Adresse du fil de nouvelles RSS (défaut votresite.com ?link_library_rss_feed=1&settingset=1 )"
|
1937 |
-
|
1938 |
-
#: link-library-admin.php:4076
|
1939 |
-
msgid "Search Label"
|
1940 |
-
msgstr "Texte pour la recherche"
|
1941 |
-
|
1942 |
-
#: link-library-admin.php:4085
|
1943 |
-
msgid "Search Field Initial Text"
|
1944 |
-
msgstr "Texte initial dans le champ de recherche"
|
1945 |
-
|
1946 |
-
#: link-library-admin.php:4094
|
1947 |
-
msgid "Search No Results Text"
|
1948 |
-
msgstr "Message pour un résultat de recherche vide"
|
1949 |
-
|
1950 |
-
#: link-library-admin.php:4096
|
1951 |
-
#: link-library-defaults.php:226
|
1952 |
-
msgid "No links found matching your search criteria"
|
1953 |
-
msgstr "Aucun lien trouvé qui correspondent à vos critères de recherche"
|
1954 |
-
|
1955 |
-
#: link-library-admin.php:4103
|
1956 |
-
#: link-library-admin.php:4104
|
1957 |
-
msgid "Leave empty when links are to be displayed on same page as search box"
|
1958 |
-
msgstr "Laissez ce champ vide lorsque les liens sont affichés sur la même page que la boîte de recherche"
|
1959 |
-
|
1960 |
-
#: link-library-admin.php:4103
|
1961 |
-
msgid "Results Page Address"
|
1962 |
-
msgstr "Adresse de la page des résultats"
|
1963 |
-
|
1964 |
-
#: link-library-admin.php:4204
|
1965 |
-
msgid "Following this link shows a list of all links awaiting moderation"
|
1966 |
-
msgstr "Suivez ce lien pour afficher une liste des liens en attente de modération"
|
1967 |
-
|
1968 |
-
#: link-library-admin.php:4205
|
1969 |
-
msgid "View list of links awaiting moderation"
|
1970 |
-
msgstr "Visionner la liste des liens qui attendent d’être modérés"
|
1971 |
-
|
1972 |
-
#: link-library-admin.php:4209
|
1973 |
-
msgid "Show user links immediately"
|
1974 |
-
msgstr "Afficher immédiatement les liens soumis par les utilisateurs"
|
1975 |
-
|
1976 |
-
#: link-library-admin.php:4214
|
1977 |
-
msgid "E-mail admin on link submission"
|
1978 |
-
msgstr "Envoyer un e-mail à l’administrateur lors de la soumission"
|
1979 |
-
|
1980 |
-
#: link-library-admin.php:4220
|
1981 |
-
msgid "Validate links with Akismet"
|
1982 |
-
msgstr "Valider les liens avec Akismet"
|
1983 |
-
|
1984 |
-
#: link-library-admin.php:4224
|
1985 |
-
msgid "E-mail submitter"
|
1986 |
-
msgstr "Adresse e-mail de l’émetteur"
|
1987 |
-
|
1988 |
-
#: link-library-admin.php:4231
|
1989 |
-
msgid "Additional text for link submitter e-mail"
|
1990 |
-
msgstr "Text additionnel pour le lien de soumission du courriel"
|
1991 |
-
|
1992 |
-
#: link-library-admin.php:4238
|
1993 |
-
msgid "Require login to display form"
|
1994 |
-
msgstr "Nécessite une connexion pour afficher le formulaire"
|
1995 |
-
|
1996 |
-
#: link-library-admin.php:4243
|
1997 |
-
msgid "Allow link submission with empty link"
|
1998 |
-
msgstr "Accepter la soumission de liens sans adresse"
|
1999 |
-
|
2000 |
-
#: link-library-admin.php:4249
|
2001 |
-
#: link-library-admin.php:4250
|
2002 |
-
msgid "Determine if a captcha will be displayed on the user submission form. Select the captcha system (Easy Captcha or Google reCAPTCHA) to be used from General Options section"
|
2003 |
-
msgstr "Détermine si un captcha sera affiché dans le formulaire de soumission d’un lien. Choisir le type de captcha (Easy Captcha ou Google reCAPTCHA) à utiliser dans la section des options générales"
|
2004 |
-
|
2005 |
-
#: link-library-admin.php:4249
|
2006 |
-
msgid "Display captcha"
|
2007 |
-
msgstr "Afficher le captcha"
|
2008 |
-
|
2009 |
-
#: link-library-admin.php:4254
|
2010 |
-
msgid "This function will only store data when users are logged in to Wordpress"
|
2011 |
-
msgstr "Cette fonctionnalité ne peut être accessible qu’aux membres connectés à WordPress"
|
2012 |
-
|
2013 |
-
#: link-library-admin.php:4254
|
2014 |
-
msgid "Store login name on link submission"
|
2015 |
-
msgstr "Enregistrer le nom de l’utilisateur ayant soumis le lien"
|
2016 |
-
|
2017 |
-
#: link-library-admin.php:4260
|
2018 |
-
msgid "Add new link label"
|
2019 |
-
msgstr "Texte du champ d’ajout d’un nouveau lien"
|
2020 |
-
|
2021 |
-
#: link-library-admin.php:4262
|
2022 |
-
#: link-library-defaults.php:123
|
2023 |
-
#: render-link-library-addlink-sc.php:209
|
2024 |
-
msgid "Add new link"
|
2025 |
-
msgstr "Ajouter un nouveau lien"
|
2026 |
-
|
2027 |
-
#: link-library-admin.php:4269
|
2028 |
-
msgid "Link name label"
|
2029 |
-
msgstr "Texte pour le nom du lien"
|
2030 |
-
|
2031 |
-
#: link-library-admin.php:4279
|
2032 |
-
msgid "Link address label"
|
2033 |
-
msgstr "Texte pour l’adresse du lien"
|
2034 |
-
|
2035 |
-
#: link-library-admin.php:4281
|
2036 |
-
#: usersubmission.php:296
|
2037 |
-
#: usersubmission.php:386
|
2038 |
-
msgid "Link Address"
|
2039 |
-
msgstr "Adresse du lien"
|
2040 |
-
|
2041 |
-
#: link-library-admin.php:4288
|
2042 |
-
msgid "Link RSS label"
|
2043 |
-
msgstr "Texte du lien RSS"
|
2044 |
-
|
2045 |
-
#: link-library-admin.php:4290
|
2046 |
-
#: link-library-defaults.php:126
|
2047 |
-
#: render-link-library-addlink-sc.php:235
|
2048 |
-
#: usersubmission.php:299
|
2049 |
-
#: usersubmission.php:389
|
2050 |
-
msgid "Link RSS"
|
2051 |
-
msgstr "Flux RSS du lien"
|
2052 |
-
|
2053 |
-
#: link-library-admin.php:4297
|
2054 |
-
#: link-library-admin.php:4313
|
2055 |
-
#: link-library-admin.php:4392
|
2056 |
-
#: link-library-admin.php:4407
|
2057 |
-
#: link-library-admin.php:4438
|
2058 |
-
#: link-library-admin.php:4453
|
2059 |
-
#: link-library-admin.php:4469
|
2060 |
-
#: link-library-admin.php:4484
|
2061 |
-
#: link-library-admin.php:4500
|
2062 |
-
#: link-library-admin.php:4515
|
2063 |
-
#: link-library-admin.php:4531
|
2064 |
-
#: link-library-admin.php:4546
|
2065 |
-
#: link-library-admin.php:4562
|
2066 |
-
msgid "Hide"
|
2067 |
-
msgstr "Masquer"
|
2068 |
-
|
2069 |
-
#: link-library-admin.php:4298
|
2070 |
-
#: link-library-admin.php:4314
|
2071 |
-
#: link-library-admin.php:4393
|
2072 |
-
#: link-library-admin.php:4408
|
2073 |
-
#: link-library-admin.php:4439
|
2074 |
-
#: link-library-admin.php:4454
|
2075 |
-
#: link-library-admin.php:4470
|
2076 |
-
#: link-library-admin.php:4485
|
2077 |
-
#: link-library-admin.php:4501
|
2078 |
-
#: link-library-admin.php:4516
|
2079 |
-
#: link-library-admin.php:4532
|
2080 |
-
#: link-library-admin.php:4547
|
2081 |
-
#: link-library-admin.php:4563
|
2082 |
-
msgid "Show"
|
2083 |
-
msgstr "Afficher"
|
2084 |
-
|
2085 |
-
#: link-library-admin.php:4299
|
2086 |
-
#: link-library-admin.php:4394
|
2087 |
-
#: link-library-admin.php:4409
|
2088 |
-
#: link-library-admin.php:4440
|
2089 |
-
#: link-library-admin.php:4455
|
2090 |
-
#: link-library-admin.php:4471
|
2091 |
-
#: link-library-admin.php:4486
|
2092 |
-
#: link-library-admin.php:4502
|
2093 |
-
#: link-library-admin.php:4517
|
2094 |
-
#: link-library-admin.php:4533
|
2095 |
-
#: link-library-admin.php:4548
|
2096 |
-
msgid "Required"
|
2097 |
-
msgstr "Obligatoire"
|
2098 |
-
|
2099 |
-
#: link-library-admin.php:4304
|
2100 |
-
msgid "Link category label"
|
2101 |
-
msgstr "Texte pour la catégorie du lien"
|
2102 |
-
|
2103 |
-
#: link-library-admin.php:4318
|
2104 |
-
msgid "Comma-seperated list of categories to be displayed in category selection box (e.g. 1,5,4) instead of displaying the set of categories specified by the library."
|
2105 |
-
msgstr "Liste de catégories séparées par des virgules pour être affichées dans la liste de sélection de catégories (e.g. 1,5,4) au lieu de celles spécifiées par la configuration des catégories de la librairie."
|
2106 |
-
|
2107 |
-
#: link-library-admin.php:4318
|
2108 |
-
msgid "Link category override selection list"
|
2109 |
-
msgstr "Liste de catégories de remplacement"
|
2110 |
-
|
2111 |
-
#: link-library-admin.php:4319
|
2112 |
-
msgid "Comma-seperated list of categories to be displayed in category selection box (e.g. 1,5,4)"
|
2113 |
-
msgstr "Liste de catégories séparées par des virgules qui doivent être affichées dans la liste de sélection de catégories présentée aux usagers."
|
2114 |
-
|
2115 |
-
#: link-library-admin.php:4324
|
2116 |
-
msgid "Default category"
|
2117 |
-
msgstr "Catégorie par défaut"
|
2118 |
-
|
2119 |
-
#: link-library-admin.php:4359
|
2120 |
-
#: link-library-admin.php:4361
|
2121 |
-
#: link-library-defaults.php:154
|
2122 |
-
msgid "User-submitted category"
|
2123 |
-
msgstr "Catégorie soumise par l’utilisateur"
|
2124 |
-
|
2125 |
-
#: link-library-admin.php:4368
|
2126 |
-
msgid "No"
|
2127 |
-
msgstr "Non"
|
2128 |
-
|
2129 |
-
#: link-library-admin.php:4369
|
2130 |
-
msgid "Allow"
|
2131 |
-
msgstr "Permettre"
|
2132 |
-
|
2133 |
-
#: link-library-admin.php:4373
|
2134 |
-
msgid "User-submitted category prompt"
|
2135 |
-
msgstr "Texte pour la soumission de catégories par l’utilisateur"
|
2136 |
-
|
2137 |
-
#: link-library-admin.php:4375
|
2138 |
-
#: link-library-defaults.php:155
|
2139 |
-
#: render-link-library-addlink-sc.php:289
|
2140 |
-
msgid "User-submitted category (define below)"
|
2141 |
-
msgstr "Catégorie définie par l’usager (définir ci-dessous)"
|
2142 |
-
|
2143 |
-
#: link-library-admin.php:4383
|
2144 |
-
msgid "Link description label"
|
2145 |
-
msgstr "Texte pour la description du lien"
|
2146 |
-
|
2147 |
-
#: link-library-admin.php:4398
|
2148 |
-
msgid "Link notes label"
|
2149 |
-
msgstr "Texte pour les notes du lien"
|
2150 |
-
|
2151 |
-
#: link-library-admin.php:4414
|
2152 |
-
#: link-library-admin.php:4415
|
2153 |
-
msgid "Reciprocal link must be configured for this option to work correctly"
|
2154 |
-
msgstr "Les liens réciproques doivent être autorisés pour que cette option fonctionne correctement"
|
2155 |
-
|
2156 |
-
#: link-library-admin.php:4414
|
2157 |
-
msgid "Show immediately if reciprocal link valid"
|
2158 |
-
msgstr "Montre immédiatement si le lien réciproque est valide"
|
2159 |
-
|
2160 |
-
#: link-library-admin.php:4418
|
2161 |
-
msgid "Use Text Area for Notes"
|
2162 |
-
msgstr "Utiliser une zone de texte pour les notes"
|
2163 |
-
|
2164 |
-
#: link-library-admin.php:4423
|
2165 |
-
msgid "Only allow one reciprocal link per domain"
|
2166 |
-
msgstr "Autoriser seulement un lien reciproque par domaine"
|
2167 |
-
|
2168 |
-
#: link-library-admin.php:4429
|
2169 |
-
msgid "Reciprocal Link label"
|
2170 |
-
msgstr "Texte du lien réciproque"
|
2171 |
-
|
2172 |
-
#: link-library-admin.php:4431
|
2173 |
-
#: link-library-admin.php:4826
|
2174 |
-
#: link-library-defaults.php:170
|
2175 |
-
#: render-link-library-addlink-sc.php:392
|
2176 |
-
#: usersubmission.php:317
|
2177 |
-
#: usersubmission.php:407
|
2178 |
-
msgid "Reciprocal Link"
|
2179 |
-
msgstr "Lien réciproque"
|
2180 |
-
|
2181 |
-
#: link-library-admin.php:4444
|
2182 |
-
msgid "Secondary Address label"
|
2183 |
-
msgstr "Texte de l’adresse secondaire"
|
2184 |
-
|
2185 |
-
#: link-library-admin.php:4446
|
2186 |
-
#: link-library-defaults.php:172
|
2187 |
-
#: render-link-library-addlink-sc.php:410
|
2188 |
-
msgid "Secondary Address"
|
2189 |
-
msgstr "Adresse secondaire"
|
2190 |
-
|
2191 |
-
#: link-library-admin.php:4460
|
2192 |
-
msgid "Link Telephone label"
|
2193 |
-
msgstr "Texte du numéro de téléphone"
|
2194 |
-
|
2195 |
-
#: link-library-admin.php:4475
|
2196 |
-
msgid "Link E-mail label"
|
2197 |
-
msgstr "Texte pour l’adresse électronique"
|
2198 |
-
|
2199 |
-
#: link-library-admin.php:4491
|
2200 |
-
msgid "Link Submitter Name label"
|
2201 |
-
msgstr "Texte pour le nom d’utilisateur ayant soumis le lien"
|
2202 |
-
|
2203 |
-
#: link-library-admin.php:4506
|
2204 |
-
msgid "Link Submitter E-mail label"
|
2205 |
-
msgstr "Texte pour l’adresse électronique de l’utilisateur ayant soumis le lien"
|
2206 |
-
|
2207 |
-
#: link-library-admin.php:4508
|
2208 |
-
#: link-library-defaults.php:190
|
2209 |
-
#: render-link-library-addlink-sc.php:495
|
2210 |
-
msgid "Submitter E-mail"
|
2211 |
-
msgstr "E-mail de l’utilisateur ayant soumis le lien"
|
2212 |
-
|
2213 |
-
#: link-library-admin.php:4522
|
2214 |
-
msgid "Link Submitter Comment Label"
|
2215 |
-
msgstr "Texte pour les commentaires du lien"
|
2216 |
-
|
2217 |
-
#: link-library-admin.php:4524
|
2218 |
-
#: link-library-defaults.php:192
|
2219 |
-
#: render-link-library-addlink-sc.php:526
|
2220 |
-
msgid "Submitter Comment"
|
2221 |
-
msgstr "Commentaire de l’utilisateur soumettant le lien"
|
2222 |
-
|
2223 |
-
#: link-library-admin.php:4537
|
2224 |
-
msgid "Large Description Label"
|
2225 |
-
msgstr "Texte de la grande description du lien"
|
2226 |
-
|
2227 |
-
#: link-library-admin.php:4539
|
2228 |
-
#: link-library-defaults.php:205
|
2229 |
-
msgid "Large Description"
|
2230 |
-
msgstr "Grande description du lien"
|
2231 |
-
|
2232 |
-
#: link-library-admin.php:4553
|
2233 |
-
msgid "Custom Captcha Question"
|
2234 |
-
msgstr "Question de captcha personalisée"
|
2235 |
-
|
2236 |
-
#: link-library-admin.php:4555
|
2237 |
-
#: link-library-defaults.php:199
|
2238 |
-
#: render-link-library-addlink-sc.php:544
|
2239 |
-
msgid "Is boiling water hot or cold?"
|
2240 |
-
msgstr "Est-ce que l’eau bouillante est froide ou chaude ?"
|
2241 |
-
|
2242 |
-
#: link-library-admin.php:4567
|
2243 |
-
msgid "Custom Captcha Answer"
|
2244 |
-
msgstr "Réponse à la question du captcha"
|
2245 |
-
|
2246 |
-
#: link-library-admin.php:4569
|
2247 |
-
#: link-library-defaults.php:200
|
2248 |
-
msgid "hot"
|
2249 |
-
msgstr "chaude"
|
2250 |
-
|
2251 |
-
#: link-library-admin.php:4576
|
2252 |
-
msgid "Add Link button label"
|
2253 |
-
msgstr "Texte du bouton d’ajout de lien"
|
2254 |
-
|
2255 |
-
#: link-library-admin.php:4578
|
2256 |
-
#: link-library-defaults.php:130
|
2257 |
-
msgid "Add Link"
|
2258 |
-
msgstr "Ajouter un lien"
|
2259 |
-
|
2260 |
-
#: link-library-admin.php:4585
|
2261 |
-
msgid "New Link Message"
|
2262 |
-
msgstr "Message pour les nouveaux liens"
|
2263 |
-
|
2264 |
-
#: link-library-admin.php:4587
|
2265 |
-
msgid "New link submitted"
|
2266 |
-
msgstr "Nouveau lien soumis"
|
2267 |
-
|
2268 |
-
#: link-library-admin.php:4594
|
2269 |
-
msgid "New Link Moderation Label"
|
2270 |
-
msgstr "Message pour les liens devant être modérés"
|
2271 |
-
|
2272 |
-
#: link-library-admin.php:4596
|
2273 |
-
msgid "it will appear in the list once moderated. Thank you."
|
2274 |
-
msgstr "il apparaîtra dans la liste une fois modéré. Merci."
|
2275 |
-
|
2276 |
-
#: link-library-admin.php:4617
|
2277 |
-
msgid "Allows for links to be added in batch to the Wordpress links database. CSV file needs to follow template for column layout."
|
2278 |
-
msgstr "Permets d’ajouter des liens en masse dans la base de données de liens de WordPress. Le fichier CSV doit suivre le format établi dans l’exemple."
|
2279 |
-
|
2280 |
-
#: link-library-admin.php:4617
|
2281 |
-
msgid "CSV file to upload to import links"
|
2282 |
-
msgstr "Fichier CSV à téléverser pour importer des liens"
|
2283 |
-
|
2284 |
-
#: link-library-admin.php:4617
|
2285 |
-
msgid "file template"
|
2286 |
-
msgstr "example de fichier"
|
2287 |
-
|
2288 |
-
#: link-library-admin.php:4620
|
2289 |
-
msgid "Import Links from CSV"
|
2290 |
-
msgstr "Importer les liens depuis un CSV"
|
2291 |
-
|
2292 |
-
#: link-library-admin.php:4624
|
2293 |
-
msgid "First row contains column headers"
|
2294 |
-
msgstr "La première ligne contient les en-têtes"
|
2295 |
-
|
2296 |
-
#: link-library-admin.php:4628
|
2297 |
-
#: link-library-admin.php:4659
|
2298 |
-
msgid "Update items when URL is identical"
|
2299 |
-
msgstr "Mettre à jour les éléments quand les URLs sont identiques"
|
2300 |
-
|
2301 |
-
#: link-library-admin.php:4636
|
2302 |
-
msgid "Import links from site pages"
|
2303 |
-
msgstr "Importer les liens depuis les pages du site"
|
2304 |
-
|
2305 |
-
#: link-library-admin.php:4637
|
2306 |
-
msgid "All Pages and Posts"
|
2307 |
-
msgstr "Toutes les pages et les articles"
|
2308 |
-
|
2309 |
-
#: link-library-admin.php:4638
|
2310 |
-
msgid "All Pages, Posts and Custom Post Types"
|
2311 |
-
msgstr "Toutes les pages, articles et types d’article personalisés"
|
2312 |
-
|
2313 |
-
#: link-library-admin.php:4639
|
2314 |
-
msgid "Specific Page"
|
2315 |
-
msgstr "Page spécifique"
|
2316 |
-
|
2317 |
-
#: link-library-admin.php:4643
|
2318 |
-
msgid "Specific Post"
|
2319 |
-
msgstr "Article spécifique"
|
2320 |
-
|
2321 |
-
#: link-library-admin.php:4653
|
2322 |
-
msgid "Specific "
|
2323 |
-
msgstr "Spécifique"
|
2324 |
-
|
2325 |
-
#: link-library-admin.php:4689
|
2326 |
-
msgid "Import Links from Site"
|
2327 |
-
msgstr "Importer les liens depuis le site"
|
2328 |
-
|
2329 |
-
#: link-library-admin.php:4697
|
2330 |
-
msgid "Overwrites current library settings with contents of CSV file"
|
2331 |
-
msgstr "Écrase la configuration de librairie courante avec le contenu du fichier CSV"
|
2332 |
-
|
2333 |
-
#: link-library-admin.php:4697
|
2334 |
-
msgid "Library Settings CSV file to import"
|
2335 |
-
msgstr "Fichier CSV contenant une configuration de librairie à importer"
|
2336 |
-
|
2337 |
-
#: link-library-admin.php:4700
|
2338 |
-
msgid "Import Library Settings"
|
2339 |
-
msgstr "Importer une configuration de librairie"
|
2340 |
-
|
2341 |
-
#: link-library-admin.php:4704
|
2342 |
-
msgid "Generates CSV file with current library configuration for download"
|
2343 |
-
msgstr "Générer un fichier CSV contenant la configuration de la librairie courante afin de la télécharger"
|
2344 |
-
|
2345 |
-
#: link-library-admin.php:4704
|
2346 |
-
msgid "Export current library settings"
|
2347 |
-
msgstr "Exporter la configuration de la librairie courante"
|
2348 |
-
|
2349 |
-
#: link-library-admin.php:4706
|
2350 |
-
msgid "Export Library Settings"
|
2351 |
-
msgstr "Exporter la configuration de la librairie"
|
2352 |
-
|
2353 |
-
#: link-library-admin.php:4719
|
2354 |
-
msgid "Search string"
|
2355 |
-
msgstr "Chaîne de recherche"
|
2356 |
-
|
2357 |
-
#: link-library-admin.php:4725
|
2358 |
-
msgid "Delete links that return a 403 error"
|
2359 |
-
msgstr "Supprimer les liens qui retournent une erreur 403"
|
2360 |
-
|
2361 |
-
#: link-library-admin.php:4733
|
2362 |
-
msgid "Check Reciprocal Links"
|
2363 |
-
msgstr "Vérifier les liens réciproques"
|
2364 |
-
|
2365 |
-
#: link-library-admin.php:4739
|
2366 |
-
msgid "Check Broken Links"
|
2367 |
-
msgstr "Vérifier les liens"
|
2368 |
-
|
2369 |
-
#: link-library-admin.php:4744
|
2370 |
-
msgid "Check Duplicate Links"
|
2371 |
-
msgstr "Vérifier les liens en double"
|
2372 |
-
|
2373 |
-
#: link-library-admin.php:4784
|
2374 |
-
msgid "Featured Link"
|
2375 |
-
msgstr "Lien mis en avant"
|
2376 |
-
|
2377 |
-
#: link-library-admin.php:4790
|
2378 |
-
msgid "No Follow"
|
2379 |
-
msgstr "No Follow"
|
2380 |
-
|
2381 |
-
#: link-library-admin.php:4796
|
2382 |
-
msgid "Updated Date"
|
2383 |
-
msgstr "Date de mise à jour"
|
2384 |
-
|
2385 |
-
#: link-library-admin.php:4807
|
2386 |
-
msgid "Secondary Web Address"
|
2387 |
-
msgstr "Adresse internet secondaire"
|
2388 |
-
|
2389 |
-
#: link-library-admin.php:4810
|
2390 |
-
#: link-library-admin.php:4829
|
2391 |
-
msgid "Visit"
|
2392 |
-
msgstr "Visiter"
|
2393 |
-
|
2394 |
-
#: link-library-admin.php:4833
|
2395 |
-
msgid "Number of link views"
|
2396 |
-
msgstr "Nombre de visites du lien"
|
2397 |
-
|
2398 |
-
#: link-library-admin.php:4839
|
2399 |
-
msgid "Link Submitter"
|
2400 |
-
msgstr "Utilisateur ayant soumis le lien"
|
2401 |
-
|
2402 |
-
#: link-library-admin.php:4845
|
2403 |
-
#: usersubmission.php:333
|
2404 |
-
#: usersubmission.php:423
|
2405 |
-
msgid "Link Submitter Name"
|
2406 |
-
msgstr "Nom de l’utilisateur ayant soumis le lien"
|
2407 |
-
|
2408 |
-
#: link-library-admin.php:4851
|
2409 |
-
#: usersubmission.php:337
|
2410 |
-
#: usersubmission.php:427
|
2411 |
-
msgid "Link Submitter E-mail"
|
2412 |
-
msgstr "E-mail de l’utilisateur ayant soumis le lien"
|
2413 |
-
|
2414 |
-
#: link-library-admin.php:4857
|
2415 |
-
msgid "Link Additional Rel Tags"
|
2416 |
-
msgstr "Détails additionnels pour les tags Rel"
|
2417 |
-
|
2418 |
-
#: link-library-admin.php:4875
|
2419 |
-
msgid "Current Link Image"
|
2420 |
-
msgstr "Image assignée au lien"
|
2421 |
-
|
2422 |
-
#: link-library-admin.php:4881
|
2423 |
-
msgid "None Assigned"
|
2424 |
-
msgstr "Non disponible"
|
2425 |
-
|
2426 |
-
#: link-library-admin.php:4888
|
2427 |
-
#: link-library-admin.php:4898
|
2428 |
-
msgid "Automatic Image Generation"
|
2429 |
-
msgstr "Génération automatique des images"
|
2430 |
-
|
2431 |
-
#: link-library-admin.php:4892
|
2432 |
-
msgid "Generate Thumbnail and Store locally"
|
2433 |
-
msgstr "Générer la vignette Thumbnail et la conserver"
|
2434 |
-
|
2435 |
-
#: link-library-admin.php:4893
|
2436 |
-
msgid "Generate Favorite Icon and Store locally"
|
2437 |
-
msgstr "Générer l’icône de favori et la conserver"
|
2438 |
-
|
2439 |
-
#: link-library-admin.php:4899
|
2440 |
-
msgid "Only available once link is saved"
|
2441 |
-
msgstr "Seulement disponible lorsque le lien est sauvegardé"
|
2442 |
-
|
2443 |
-
#: link-library-admin.php:4904
|
2444 |
-
msgid "Manual Image Upload"
|
2445 |
-
msgstr "Téléchargement manuel de l’image"
|
2446 |
-
|
2447 |
-
#: link-library-admin.php:4906
|
2448 |
-
msgid "Launch Media Uploader"
|
2449 |
-
msgstr "Démarrer le gestionnaire de téléchargement des médias"
|
2450 |
-
|
2451 |
-
#: link-library-admin.php:4911
|
2452 |
-
msgid "Manual upload requires a wp-content\\uploads directory to be present with write permissions"
|
2453 |
-
msgstr "Le téléchargement manuel requiert la présence du répertoire wp-content\\uploads avec des permissions d’écriture"
|
2454 |
-
|
2455 |
-
#: link-library-admin.php:5012
|
2456 |
-
msgid "Cannot generate thumbnail when no name and no web address are specified."
|
2457 |
-
msgstr "Il n’est pas possible de générer de vignette puisque qu’aucun nom ou adresse web n’est spécifiée."
|
2458 |
-
|
2459 |
-
#: link-library-admin.php:5048
|
2460 |
-
msgid "Cannot generate favorite icon when no name and no web address are specified."
|
2461 |
-
msgstr "Il n’est pas possible de générer l’icône de favori puisque qu’aucun nom ou adresse web n’est spécifiée."
|
2462 |
-
|
2463 |
-
#: link-library-admin.php:5261
|
2464 |
-
msgid "Duplicate Link Checker Report"
|
2465 |
-
msgstr "Rapport du vérificateur de liens en double"
|
2466 |
-
|
2467 |
-
#: link-library-admin.php:5263
|
2468 |
-
msgid "Duplicate URLs"
|
2469 |
-
msgstr "URLs en double"
|
2470 |
-
|
2471 |
-
#: link-library-admin.php:5279
|
2472 |
-
msgid "Duplicate Names"
|
2473 |
-
msgstr "Nom en double"
|
2474 |
-
|
2475 |
-
#: link-library-admin.php:5322
|
2476 |
-
msgid "Reciprocal Link Checker Report"
|
2477 |
-
msgstr "Rapport du vérificateur de liens réciproques"
|
2478 |
-
|
2479 |
-
#: link-library-admin.php:5324
|
2480 |
-
msgid "Broken Link Checker Report"
|
2481 |
-
msgstr "Rapport du vérificateur de liens cassés"
|
2482 |
-
|
2483 |
-
#: link-library-admin.php:5340
|
2484 |
-
msgid "Not Found"
|
2485 |
-
msgstr "Pas trouvé"
|
2486 |
-
|
2487 |
-
#: link-library-admin.php:5342
|
2488 |
-
msgid "OK"
|
2489 |
-
msgstr "OK"
|
2490 |
-
|
2491 |
-
#: link-library-admin.php:5344
|
2492 |
-
msgid "Link valid"
|
2493 |
-
msgstr "Lien valide"
|
2494 |
-
|
2495 |
-
#: link-library-admin.php:5347
|
2496 |
-
msgid "Error 403: Link Deleted"
|
2497 |
-
msgstr "Erreur 403 : Lien supprimé"
|
2498 |
-
|
2499 |
-
#: link-library-admin.php:5349
|
2500 |
-
msgid "Error 403"
|
2501 |
-
msgstr "Erreur 403"
|
2502 |
-
|
2503 |
-
#: link-library-admin.php:5351
|
2504 |
-
msgid "Website Unreachable"
|
2505 |
-
msgstr "Site Web non joignable"
|
2506 |
-
|
2507 |
-
#: link-library-admin.php:5355
|
2508 |
-
msgid "There are no links with reciprocal links associated with them"
|
2509 |
-
msgstr "Il n’y a pas de liens avec des liens réciproques associés"
|
2510 |
-
|
2511 |
-
# Plugin name; please avoid translating if possible
|
2512 |
-
#: link-library-admin.php:5362
|
2513 |
-
msgid "Add Link Library Shortcode"
|
2514 |
-
msgstr "Ajouter le code court de Link Library"
|
2515 |
-
|
2516 |
-
#: link-library-defaults.php:124
|
2517 |
-
#: render-link-library-addlink-sc.php:217
|
2518 |
-
msgid "Link name"
|
2519 |
-
msgstr "Nom du lien"
|
2520 |
-
|
2521 |
-
#: link-library-defaults.php:125
|
2522 |
-
#: render-link-library-addlink-sc.php:223
|
2523 |
-
msgid "Link address"
|
2524 |
-
msgstr "Adresse du lien"
|
2525 |
-
|
2526 |
-
#: link-library-defaults.php:131
|
2527 |
-
msgid "New link submitted."
|
2528 |
-
msgstr "Nouveau lien soumis."
|
2529 |
-
|
2530 |
-
#: link-library-defaults.php:132
|
2531 |
-
msgid "It will appear in the list once moderated. Thank you."
|
2532 |
-
msgstr "Il apparaîtra dans la liste une fois modéré. Merci."
|
2533 |
-
|
2534 |
-
#: link-library-defaults.php:149
|
2535 |
-
msgid "Link Library-Generated RSS Feed"
|
2536 |
-
msgstr "Link Library-Flux d’informations généré"
|
2537 |
-
|
2538 |
-
#: link-library-defaults.php:150
|
2539 |
-
msgid "Description of Link Library-Generated Feed"
|
2540 |
-
msgstr "Description du flux d’informations généré par Link Library"
|
2541 |
-
|
2542 |
-
#: link-library-defaults.php:212
|
2543 |
-
#: linkpopup.php:64
|
2544 |
-
msgid "%link_image%<br />Click through to visit %link_name%."
|
2545 |
-
msgstr "%link_image%<br />Cliquer pour visiter %link_name%."
|
2546 |
-
|
2547 |
-
#: link-library-defaults.php:225
|
2548 |
-
msgid "Search..."
|
2549 |
-
msgstr "Rechercher..."
|
2550 |
-
|
2551 |
-
#: link-library-defaults.php:227
|
2552 |
-
msgid "Category Filter"
|
2553 |
-
msgstr "Filtre des catégories"
|
2554 |
-
|
2555 |
-
#: link-library-defaults.php:241
|
2556 |
-
msgid "New"
|
2557 |
-
msgstr "Nouveau"
|
2558 |
-
|
2559 |
-
#: link-library.php:417
|
2560 |
-
msgid "Link Library Generated Feed"
|
2561 |
-
msgstr "Flux d’informations généré par Link Library"
|
2562 |
-
|
2563 |
-
#: link-library.php:611
|
2564 |
-
msgid "Could not update link in the database"
|
2565 |
-
msgstr "Le lien n’a pas pu être mis à jour dans la base de données"
|
2566 |
-
|
2567 |
-
#: link-library.php:618
|
2568 |
-
msgid "Could not insert link into the database"
|
2569 |
-
msgstr "Le lien n’a pas pu être inséré dans la base de données"
|
2570 |
-
|
2571 |
-
#: link-library.php:640
|
2572 |
-
#: link-library.php:644
|
2573 |
-
msgid "Link Library no longer supports calling this function with individual arguments. Please use the admin panel to configure Link Library and the do_shortcode function to use Link Library output in your code."
|
2574 |
-
msgstr "Link Library ne supporte plus un appel à cette fonction avec des arguments. Merci d’utiliser le panneau d’administration pour paramétrer Link Library et la fonction do_shortcode pour utiliser le rendu de Link Library dans votre code."
|
2575 |
-
|
2576 |
-
#: render-link-library-addlink-sc.php:137
|
2577 |
-
msgid "Confirm code not given"
|
2578 |
-
msgstr "Le code de confirmation n’a pas été saisi"
|
2579 |
-
|
2580 |
-
#: render-link-library-addlink-sc.php:139
|
2581 |
-
msgid "Captcha code is wrong"
|
2582 |
-
msgstr "Le code du captcha est incorrect"
|
2583 |
-
|
2584 |
-
#: render-link-library-addlink-sc.php:141
|
2585 |
-
msgid "Captcha code is only valid for 5 minutes"
|
2586 |
-
msgstr "Le code du captcha n’est valide que durant 5 minutes"
|
2587 |
-
|
2588 |
-
#: render-link-library-addlink-sc.php:143
|
2589 |
-
msgid "No captcha cookie given. Make sure cookies are enabled"
|
2590 |
-
msgstr "Le cookie pour le code du captcha est absent. Veuillez vous assurer que les cookies sont activés."
|
2591 |
-
|
2592 |
-
#: render-link-library-addlink-sc.php:145
|
2593 |
-
msgid "Captcha answer was not provided."
|
2594 |
-
msgstr "La réponse à la question du captcha n’a pas été fournie."
|
2595 |
-
|
2596 |
-
#: render-link-library-addlink-sc.php:147
|
2597 |
-
msgid "Captcha answer is incorrect"
|
2598 |
-
msgstr "La réponse à la question du captcha est incorrecte"
|
2599 |
-
|
2600 |
-
#: render-link-library-addlink-sc.php:149
|
2601 |
-
msgid "User Category was not provided correctly. Link insertion failed."
|
2602 |
-
msgstr "La catégorie spécifiée par l’utilisateur n’a pas été correctement saisie. L’ajout du lien a échoué."
|
2603 |
-
|
2604 |
-
#: render-link-library-addlink-sc.php:157
|
2605 |
-
msgid "Error: Link does not have an address."
|
2606 |
-
msgstr "Erreur : Le lien n’a pas d’adresse spécifiée."
|
2607 |
-
|
2608 |
-
#: render-link-library-addlink-sc.php:159
|
2609 |
-
msgid "Error: Link already exists."
|
2610 |
-
msgstr "Erreur : Ce lien existe déjà."
|
2611 |
-
|
2612 |
-
#: render-link-library-addlink-sc.php:161
|
2613 |
-
#: render-link-library-addlink-sc.php:163
|
2614 |
-
#: render-link-library-addlink-sc.php:165
|
2615 |
-
#: render-link-library-addlink-sc.php:167
|
2616 |
-
#: render-link-library-addlink-sc.php:169
|
2617 |
-
#: render-link-library-addlink-sc.php:171
|
2618 |
-
#: render-link-library-addlink-sc.php:173
|
2619 |
-
#: render-link-library-addlink-sc.php:175
|
2620 |
-
#: render-link-library-addlink-sc.php:177
|
2621 |
-
#: render-link-library-addlink-sc.php:179
|
2622 |
-
#: render-link-library-addlink-sc.php:181
|
2623 |
-
msgid " is a required field"
|
2624 |
-
msgstr " est un champ obligatoire"
|
2625 |
-
|
2626 |
-
#: render-link-library-addlink-sc.php:183
|
2627 |
-
msgid "Link submission error"
|
2628 |
-
msgstr "Erreur lors de l’enregistrement du lien"
|
2629 |
-
|
2630 |
-
#: render-link-library-addlink-sc.php:185
|
2631 |
-
msgid "Link rejected. There is already a site with this reciprocal link."
|
2632 |
-
msgstr "Lien refusé. Il existe déjà un site avec ce lien réciproque."
|
2633 |
-
|
2634 |
-
#: render-link-library-addlink-sc.php:220
|
2635 |
-
#: render-link-library-addlink-sc.php:282
|
2636 |
-
#: render-link-library-addlink-sc.php:348
|
2637 |
-
#: render-link-library-addlink-sc.php:365
|
2638 |
-
#: render-link-library-addlink-sc.php:373
|
2639 |
-
#: render-link-library-addlink-sc.php:421
|
2640 |
-
#: render-link-library-addlink-sc.php:439
|
2641 |
-
#: render-link-library-addlink-sc.php:532
|
2642 |
-
#: render-link-library-addlink-sc.php:547
|
2643 |
-
msgid "Required field"
|
2644 |
-
msgstr "Champ obligatoire"
|
2645 |
-
|
2646 |
-
#: render-link-library-addlink-sc.php:228
|
2647 |
-
msgid "Required field, URL"
|
2648 |
-
msgstr "Champ obligatoire, URL"
|
2649 |
-
|
2650 |
-
#: render-link-library-addlink-sc.php:246
|
2651 |
-
#: render-link-library-addlink-sc.php:335
|
2652 |
-
#: render-link-library-addlink-sc.php:403
|
2653 |
-
msgid "Required field, 1-255 chars"
|
2654 |
-
msgstr "Champ obligatoire, 1 à 255 caractères"
|
2655 |
-
|
2656 |
-
#: render-link-library-addlink-sc.php:278
|
2657 |
-
msgid "Link category"
|
2658 |
-
msgstr "Catégorie du lien"
|
2659 |
-
|
2660 |
-
#: render-link-library-addlink-sc.php:285
|
2661 |
-
msgid "Select a category"
|
2662 |
-
msgstr "Choisir une catégorie"
|
2663 |
-
|
2664 |
-
#: render-link-library-addlink-sc.php:324
|
2665 |
-
msgid "Link description"
|
2666 |
-
msgstr "Description du lien"
|
2667 |
-
|
2668 |
-
#: render-link-library-addlink-sc.php:342
|
2669 |
-
msgid "Large description"
|
2670 |
-
msgstr "Grande Description du lien"
|
2671 |
-
|
2672 |
-
#: render-link-library-addlink-sc.php:356
|
2673 |
-
msgid "Link notes"
|
2674 |
-
msgstr "Notes du lien"
|
2675 |
-
|
2676 |
-
#: render-link-library-addlink-sc.php:457
|
2677 |
-
msgid "Required field, proper e-mail, 1-128 chars"
|
2678 |
-
msgstr "Champ obligatoire, adresse e-mail correcte, 1 à 128 caractères"
|
2679 |
-
|
2680 |
-
#: render-link-library-addlink-sc.php:488
|
2681 |
-
#: render-link-library-addlink-sc.php:519
|
2682 |
-
msgid "Required field, 1-128 chars"
|
2683 |
-
msgstr "Champ obligatoire, 1 à 128 caractères"
|
2684 |
-
|
2685 |
-
#: render-link-library-addlink-sc.php:553
|
2686 |
-
msgid "Add link"
|
2687 |
-
msgstr "Ajouter un lien"
|
2688 |
-
|
2689 |
-
#: render-link-library-addlink-sc.php:565
|
2690 |
-
msgid "Form submission failed!"
|
2691 |
-
msgstr "Erreur lors de l’envoi du formulaire !"
|
2692 |
-
|
2693 |
-
#: render-link-library-addlink-sc.php:566
|
2694 |
-
msgid "You have not answered all required fields"
|
2695 |
-
msgstr "Vous n’avez pas remplis tous les champs obligatoires"
|
2696 |
-
|
2697 |
-
#: render-link-library-addlink-sc.php:567
|
2698 |
-
msgid "You have not given a correct time"
|
2699 |
-
msgstr "Vous n’avez pas donné une heure correcte"
|
2700 |
-
|
2701 |
-
#: render-link-library-addlink-sc.php:568
|
2702 |
-
msgid "You have not given a correct e-mail address"
|
2703 |
-
msgstr "Vous n’avez pas donné une adresse e-mail correcte"
|
2704 |
-
|
2705 |
-
#: render-link-library-addlink-sc.php:569
|
2706 |
-
msgid "You have not given a correct phone number"
|
2707 |
-
msgstr "Vous n’avez pas donné un numéro de téléphone correct"
|
2708 |
-
|
2709 |
-
#: render-link-library-addlink-sc.php:570
|
2710 |
-
msgid "You have not given a correct answer to the security question"
|
2711 |
-
msgstr "Vous n’avez pas donné une réponse correcte à la question de sécurité"
|
2712 |
-
|
2713 |
-
#: render-link-library-addlink-sc.php:571
|
2714 |
-
msgid "You have not given a correct date"
|
2715 |
-
msgstr "Vous n’avez pas donné une date correcte"
|
2716 |
-
|
2717 |
-
#: render-link-library-addlink-sc.php:572
|
2718 |
-
msgid "The input value must be between "
|
2719 |
-
msgstr "La valeur doit être entre "
|
2720 |
-
|
2721 |
-
#: render-link-library-addlink-sc.php:573
|
2722 |
-
msgid "characters"
|
2723 |
-
msgstr "caractères"
|
2724 |
-
|
2725 |
-
#: render-link-library-addlink-sc.php:574
|
2726 |
-
msgid "The input value is longer than "
|
2727 |
-
msgstr "La valeur est plus longue que "
|
2728 |
-
|
2729 |
-
#: render-link-library-addlink-sc.php:575
|
2730 |
-
msgid "The input value is shorter than "
|
2731 |
-
msgstr "La valeur est plus petite que "
|
2732 |
-
|
2733 |
-
#: render-link-library-addlink-sc.php:576
|
2734 |
-
msgid "Input values could not be confirmed"
|
2735 |
-
msgstr "La valeur saisie ne peut pas être validée"
|
2736 |
-
|
2737 |
-
#: render-link-library-addlink-sc.php:577
|
2738 |
-
msgid "Incorrect domain value"
|
2739 |
-
msgstr "Valeur incorrect du domaine"
|
2740 |
-
|
2741 |
-
#: render-link-library-addlink-sc.php:578
|
2742 |
-
msgid "The input value is not a correct URL. Requires http://."
|
2743 |
-
msgstr "La valeur saisie n’est pas une URL correcte. Il faut mettre http://."
|
2744 |
-
|
2745 |
-
#: render-link-library-addlink-sc.php:579
|
2746 |
-
msgid "The input value is incorrect"
|
2747 |
-
msgstr "La valeur saisie est incorrecte"
|
2748 |
-
|
2749 |
-
#: render-link-library-addlink-sc.php:580
|
2750 |
-
msgid " and spaces "
|
2751 |
-
msgstr " et espaces "
|
2752 |
-
|
2753 |
-
#: render-link-library-addlink-sc.php:581
|
2754 |
-
msgid "The input value was not a correct number"
|
2755 |
-
msgstr "La valeur n’est pas un nombre correct"
|
2756 |
-
|
2757 |
-
#: render-link-library-addlink-sc.php:582
|
2758 |
-
msgid "Your social security number was incorrect"
|
2759 |
-
msgstr "Votre numéro de sécurité sociale n’est pas correct"
|
2760 |
-
|
2761 |
-
#: render-link-library-addlink-sc.php:583
|
2762 |
-
msgid "Incorrect UK VAT Number"
|
2763 |
-
msgstr "Le nombre UK VAT est incorrect"
|
2764 |
-
|
2765 |
-
#: render-link-library-addlink-sc.php:584
|
2766 |
-
msgid "The password is not strong enough"
|
2767 |
-
msgstr "Le mot de passe n’est pas assez fort"
|
2768 |
-
|
2769 |
-
#: render-link-library-addlink-sc.php:585
|
2770 |
-
msgid "You have to choose at least "
|
2771 |
-
msgstr "Vous devez choisir au moins "
|
2772 |
-
|
2773 |
-
#: render-link-library-addlink-sc.php:586
|
2774 |
-
msgid " answers"
|
2775 |
-
msgstr " réponses"
|
2776 |
-
|
2777 |
-
#: render-link-library-addlink-sc.php:587
|
2778 |
-
msgid "The input value can only contain alphanumeric characters "
|
2779 |
-
msgstr "La valeur ne peut contenir que des caractères alphanumériques "
|
2780 |
-
|
2781 |
-
#: render-link-library-addlink-sc.php:588
|
2782 |
-
msgid " and "
|
2783 |
-
msgstr " et "
|
2784 |
-
|
2785 |
-
#: render-link-library-addlink-sc.php:589
|
2786 |
-
#, php-format
|
2787 |
-
msgid "The file you are trying to upload is too large (max %s)"
|
2788 |
-
msgstr "Le fichier que vous essayez de téléverser est trop gros (max %s)"
|
2789 |
-
|
2790 |
-
#: render-link-library-addlink-sc.php:590
|
2791 |
-
#, php-format
|
2792 |
-
msgid "Only files of type %s is allowed"
|
2793 |
-
msgstr "Seulement les fichiers de type %s sont autorisés"
|
2794 |
-
|
2795 |
-
#: render-link-library-addlink-sc.php:591
|
2796 |
-
msgid "Please choose between "
|
2797 |
-
msgstr "Merci de choisir entre "
|
2798 |
-
|
2799 |
-
#: render-link-library-addlink-sc.php:592
|
2800 |
-
msgid "Please choose at least "
|
2801 |
-
msgstr "Merci de choisir au moins "
|
2802 |
-
|
2803 |
-
#: render-link-library-addlink-sc.php:593
|
2804 |
-
msgid "Please choose a maximum of "
|
2805 |
-
msgstr "Merci de choisir un maximum de "
|
2806 |
-
|
2807 |
-
#: render-link-library-addlink-sc.php:594
|
2808 |
-
msgid " item(s)"
|
2809 |
-
msgstr " élément(s)"
|
2810 |
-
|
2811 |
-
#: render-link-library-addlink-sc.php:595
|
2812 |
-
msgid "The credit card number is not correct"
|
2813 |
-
msgstr "Le numéro de carte de crédit est incorrect"
|
2814 |
-
|
2815 |
-
#: render-link-library-addlink-sc.php:596
|
2816 |
-
msgid "The CVV number was not correct"
|
2817 |
-
msgstr "Le nombre CVV n’est pas correct"
|
2818 |
-
|
2819 |
-
#: render-link-library-addlink-sc.php:597
|
2820 |
-
msgid "Incorrect image dimensions,"
|
2821 |
-
msgstr "Dimentions de l’image incorrectes,"
|
2822 |
-
|
2823 |
-
#: render-link-library-addlink-sc.php:598
|
2824 |
-
msgid "the image can not be taller than"
|
2825 |
-
msgstr "l’image ne peut pas être plus haute que"
|
2826 |
-
|
2827 |
-
#: render-link-library-addlink-sc.php:599
|
2828 |
-
msgid "the image can not be wider than"
|
2829 |
-
msgstr "l’image ne peut pas être plus large que"
|
2830 |
-
|
2831 |
-
#: render-link-library-addlink-sc.php:600
|
2832 |
-
msgid "the image was too small"
|
2833 |
-
msgstr "l’image est trop petite"
|
2834 |
-
|
2835 |
-
#: render-link-library-addlink-sc.php:601
|
2836 |
-
msgid "min"
|
2837 |
-
msgstr "min"
|
2838 |
-
|
2839 |
-
#: render-link-library-addlink-sc.php:602
|
2840 |
-
msgid "max"
|
2841 |
-
msgstr "max"
|
2842 |
-
|
2843 |
-
#: render-link-library-addlink-sc.php:603
|
2844 |
-
msgid "Image ratio is not accepted"
|
2845 |
-
msgstr "Le ratio pour l’image n’est pas accepté"
|
2846 |
-
|
2847 |
-
#: render-link-library-addlink-sc.php:630
|
2848 |
-
msgid "Enter code from above image"
|
2849 |
-
msgstr "Entrer le code de l’image ci-dessus"
|
2850 |
-
|
2851 |
-
#: render-link-library-cats-sc.php:404
|
2852 |
-
msgid "Go!"
|
2853 |
-
msgstr "Allez-y !"
|
2854 |
-
|
2855 |
-
#: render-link-library-cats-sc.php:433
|
2856 |
-
msgid "No categories found"
|
2857 |
-
msgstr "Aucune catégorie trouvée"
|
2858 |
-
|
2859 |
-
#: render-link-library-sc.php:50
|
2860 |
-
#: render-link-library-sc.php:61
|
2861 |
-
#: render-link-library-sc.php:65
|
2862 |
-
#: render-link-library-sc.php:78
|
2863 |
-
#: render-link-library-sc.php:84
|
2864 |
-
msgid "Previous"
|
2865 |
-
msgstr "Précédent"
|
2866 |
-
|
2867 |
-
#: render-link-library-sc.php:149
|
2868 |
-
#: render-link-library-sc.php:160
|
2869 |
-
#: render-link-library-sc.php:164
|
2870 |
-
#: render-link-library-sc.php:170
|
2871 |
-
#: render-link-library-sc.php:177
|
2872 |
-
msgid "Next"
|
2873 |
-
msgstr "Suivant"
|
2874 |
-
|
2875 |
-
#: render-link-library-sc.php:637
|
2876 |
-
msgid "Search Results for"
|
2877 |
-
msgstr "Résultats de la recherche pour"
|
2878 |
-
|
2879 |
-
#: render-link-library-sc.php:1065
|
2880 |
-
msgid "Last updated"
|
2881 |
-
msgstr "Dernière mise à jour"
|
2882 |
-
|
2883 |
-
#: render-link-library-sc.php:1211
|
2884 |
-
msgid "Edit"
|
2885 |
-
msgstr "Éditer"
|
2886 |
-
|
2887 |
-
#: render-link-library-sc.php:1295
|
2888 |
-
msgid "Preview of RSS feed for"
|
2889 |
-
msgstr "Aperçu du flux d’informations RSS de"
|
2890 |
-
|
2891 |
-
#: render-link-library-sc.php:1658
|
2892 |
-
msgid "No links found"
|
2893 |
-
msgstr "Aucun lien trouvé"
|
2894 |
-
|
2895 |
-
#: usersubmission.php:294
|
2896 |
-
msgid "A user submitted a new link to your Wordpress Link database."
|
2897 |
-
msgstr "Un utilisateur a soumis un nouveau lien pour votre site WordPress."
|
2898 |
-
|
2899 |
-
#: usersubmission.php:321
|
2900 |
-
#: usersubmission.php:411
|
2901 |
-
msgid "Link Secondary Address"
|
2902 |
-
msgstr "Adresse supplémentaire pour le lien"
|
2903 |
-
|
2904 |
-
#: usersubmission.php:325
|
2905 |
-
#: usersubmission.php:415
|
2906 |
-
msgid "Link Telephone"
|
2907 |
-
msgstr "Numéro de téléphone"
|
2908 |
-
|
2909 |
-
#: usersubmission.php:329
|
2910 |
-
#: usersubmission.php:419
|
2911 |
-
msgid "Link E-mail"
|
2912 |
-
msgstr "Adresse électronique"
|
2913 |
-
|
2914 |
-
#: usersubmission.php:341
|
2915 |
-
#: usersubmission.php:431
|
2916 |
-
msgid "Link Comment"
|
2917 |
-
msgstr "Commentaire sur le lien"
|
2918 |
-
|
2919 |
-
#: usersubmission.php:356
|
2920 |
-
msgid "New link added"
|
2921 |
-
msgstr "Nouveau lien soumis"
|
2922 |
-
|
2923 |
-
#: usersubmission.php:370
|
2924 |
-
msgid "Link Submission Confirmation"
|
2925 |
-
msgstr "Confirmation d’enregistrement du lien"
|
2926 |
-
|
2927 |
-
#: usersubmission.php:372
|
2928 |
-
msgid "Thank you for your link submission on "
|
2929 |
-
msgstr "Merci pour votre proposition de lien sur "
|
2930 |
-
|
2931 |
-
#: usersubmission.php:376
|
2932 |
-
msgid "Your link will appear once approved by the site administrator."
|
2933 |
-
msgstr "Votre lien apparaitra lorsqu’il sera approuvé par l’administrateur du site."
|
2934 |
-
|
2935 |
-
#: usersubmission.php:378
|
2936 |
-
msgid "Your link will immediately be added to the site."
|
2937 |
-
msgstr "Votre lien va être immédiatement publié sur le site."
|
2938 |
-
|
2939 |
-
#: wp_dropdown_posts.php:121
|
2940 |
-
#, php-format
|
2941 |
-
msgid "#%d (no title)"
|
2942 |
-
msgstr "#%d (pas de titre)"
|
2943 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
languages/link-library-nb_NO.mo
DELETED
Binary file
|
languages/link-library-nb_NO.po
DELETED
@@ -1,3250 +0,0 @@
|
|
1 |
-
msgid ""
|
2 |
-
msgstr ""
|
3 |
-
"Project-Id-Version: Link Library 5.9.13.13\n"
|
4 |
-
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2017-03-30 13:42-0500\n"
|
6 |
-
"PO-Revision-Date: \n"
|
7 |
-
"Last-Translator: \n"
|
8 |
-
"Language-Team: Luc Capronnier <lcapronnier@yahoo.com>\n"
|
9 |
-
"Language: nb\n"
|
10 |
-
"MIME-Version: 1.0\n"
|
11 |
-
"Content-Type: text/plain; charset=UTF-8\n"
|
12 |
-
"Content-Transfer-Encoding: 8bit\n"
|
13 |
-
"X-Poedit-Bookmarks: 136,-1,-1,-1,-1,-1,-1,-1,-1,-1\n"
|
14 |
-
"X-Generator: Poedit 1.6.9\n"
|
15 |
-
"X-Poedit-SourceCharset: UTF-8\n"
|
16 |
-
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;esc_html;esc_html__;esc_html_e;"
|
17 |
-
"esc_attr__;esc_attr_e\n"
|
18 |
-
"X-Poedit-Basepath: ..\n"
|
19 |
-
"Plural-Forms: nplurals=2; plural=n != 1;\n"
|
20 |
-
"X-Poedit-SearchPath-0: .\n"
|
21 |
-
|
22 |
-
# Plugin name; please avoid translating if possible
|
23 |
-
#: link-library-admin.php:109
|
24 |
-
msgid "Insert a Link Library shortcode"
|
25 |
-
msgstr "Sett inn en Link Library shortcode"
|
26 |
-
|
27 |
-
#: link-library-admin.php:112
|
28 |
-
msgid "Link List"
|
29 |
-
msgstr "Lenkeliste"
|
30 |
-
|
31 |
-
#: link-library-admin.php:113
|
32 |
-
msgid "Link Category List"
|
33 |
-
msgstr "Lenkekategorier"
|
34 |
-
|
35 |
-
#: link-library-admin.php:114
|
36 |
-
msgid "Link Search"
|
37 |
-
msgstr "Lenkesøk"
|
38 |
-
|
39 |
-
#: link-library-admin.php:115
|
40 |
-
msgid "Add Link Form"
|
41 |
-
msgstr "Legg til skjema for lenker"
|
42 |
-
|
43 |
-
#: link-library-admin.php:119
|
44 |
-
msgid "Insert Shortcode"
|
45 |
-
msgstr "Sett inn shortcode"
|
46 |
-
|
47 |
-
#: link-library-admin.php:120
|
48 |
-
msgid "Cancel"
|
49 |
-
msgstr "Avbryt"
|
50 |
-
|
51 |
-
#: link-library-admin.php:123
|
52 |
-
msgid "Render a list of links."
|
53 |
-
msgstr "Gjengi liste over lenker."
|
54 |
-
|
55 |
-
#: link-library-admin.php:125 link-library-admin.php:180
|
56 |
-
#: link-library-admin.php:215
|
57 |
-
msgid "Library ID"
|
58 |
-
msgstr "Bibliotek ID"
|
59 |
-
|
60 |
-
#: link-library-admin.php:136 link-library-admin.php:191
|
61 |
-
#: link-library-admin.php:226 link-library-admin.php:769
|
62 |
-
#: link-library-admin.php:2624 link-library-admin.php:2639
|
63 |
-
msgid "Library"
|
64 |
-
msgstr "Bibliotek"
|
65 |
-
|
66 |
-
#: link-library-admin.php:142
|
67 |
-
msgid "Single Link ID"
|
68 |
-
msgstr "Unik lenke-ID"
|
69 |
-
|
70 |
-
#: link-library-admin.php:145
|
71 |
-
msgid "Specify ID of single link to be displayed"
|
72 |
-
msgstr "Spesifiser unik lenke-ID for visning"
|
73 |
-
|
74 |
-
#: link-library-admin.php:147 link-library-admin.php:197
|
75 |
-
#: link-library-admin.php:232
|
76 |
-
msgid "Category Override"
|
77 |
-
msgstr "Endre konfigurasjon for kategorier"
|
78 |
-
|
79 |
-
#: link-library-admin.php:150 link-library-admin.php:200
|
80 |
-
#: link-library-admin.php:235
|
81 |
-
msgid ""
|
82 |
-
"Single, or comma-separated list of categories IDs to be displayed in the "
|
83 |
-
"link list"
|
84 |
-
msgstr ""
|
85 |
-
"Unik kategori-ID, eller flere kategorier separert med komma, som skal vises "
|
86 |
-
"i lenkelisten"
|
87 |
-
|
88 |
-
#: link-library-admin.php:152 link-library-admin.php:202
|
89 |
-
#: link-library-admin.php:237
|
90 |
-
msgid "Excluded Category Override"
|
91 |
-
msgstr "Unntatt fra konfigurasjonsendringer for kategorier"
|
92 |
-
|
93 |
-
#: link-library-admin.php:155 link-library-admin.php:205
|
94 |
-
#: link-library-admin.php:240
|
95 |
-
msgid ""
|
96 |
-
"Single, or comma-separated list of categories IDs to be excluded from the "
|
97 |
-
"link list"
|
98 |
-
msgstr ""
|
99 |
-
"En kategori-ID ( eller flere separert med komma ) som skal fjernes fra "
|
100 |
-
"visning av lenkeliste"
|
101 |
-
|
102 |
-
#: link-library-admin.php:157 link-library-admin.php:162
|
103 |
-
#: link-library-admin.php:167 link-library-admin.php:172
|
104 |
-
msgid "Notes Override"
|
105 |
-
msgstr "Notater for konfigurasjonsendringer"
|
106 |
-
|
107 |
-
#: link-library-admin.php:160
|
108 |
-
msgid "Set to 0 or 1 to display or not display link notes"
|
109 |
-
msgstr "Sett til 0 eller 1 for å vise eller ikke vise notater for lenkene"
|
110 |
-
|
111 |
-
#: link-library-admin.php:165
|
112 |
-
msgid "Set to 0 or 1 to display or not display link descriptions"
|
113 |
-
msgstr "Sett til 0 eller 1 for å vise eller ikke vise beskrivelser for lenkene"
|
114 |
-
|
115 |
-
#: link-library-admin.php:170
|
116 |
-
msgid "Set to 0 or 1 to display or not display rss information"
|
117 |
-
msgstr "Sett til 0 eller 1 for å vise eller ikke vise RSS-informasjon"
|
118 |
-
|
119 |
-
#: link-library-admin.php:175
|
120 |
-
msgid "Set to 0 or 1 to display links in an unordered list or a table"
|
121 |
-
msgstr ""
|
122 |
-
"Sett til 0 eller 1 for å vise eller lenker i en usortert liste eller tabell"
|
123 |
-
|
124 |
-
#: link-library-admin.php:178
|
125 |
-
msgid "Render a list of link categories."
|
126 |
-
msgstr "Opprett kategoriliste."
|
127 |
-
|
128 |
-
#: link-library-admin.php:208
|
129 |
-
msgid "Render a search box to search through links."
|
130 |
-
msgstr "Opprett en søkeboks for å søke gjennom lenker."
|
131 |
-
|
132 |
-
#: link-library-admin.php:210
|
133 |
-
msgid "There are no options for this shortcode."
|
134 |
-
msgstr "Ingen valg for shortcode."
|
135 |
-
|
136 |
-
#: link-library-admin.php:213
|
137 |
-
msgid "Render a form for visitors to submit new links."
|
138 |
-
msgstr "Opprett et skjema for besøkende der de kan sende inn egne lenker."
|
139 |
-
|
140 |
-
#: link-library-admin.php:273
|
141 |
-
msgid "Category Link"
|
142 |
-
msgstr "Kategorilenke"
|
143 |
-
|
144 |
-
#: link-library-admin.php:372 link-library-admin.php:644
|
145 |
-
msgid ""
|
146 |
-
"Please create a folder called uploads under your Wordpress /wp-content/ "
|
147 |
-
"directory with write permissions to use this functionality."
|
148 |
-
msgstr ""
|
149 |
-
"For å benytte denne funksjonaliteten må du opprette en mappe (med "
|
150 |
-
"skriverettigheter) som heter uploads under /wp-content/ i din Wordpress-"
|
151 |
-
"installasjon."
|
152 |
-
|
153 |
-
#: link-library-admin.php:374 link-library-admin.php:646
|
154 |
-
msgid ""
|
155 |
-
"Please make sure that the /wp-content/uploads/ directory has write "
|
156 |
-
"permissions to use this functionality."
|
157 |
-
msgstr ""
|
158 |
-
"Vennligst kontroller at /wp-content/uploads/ har skriverettigheter for å "
|
159 |
-
"benytte denne funksjonen."
|
160 |
-
|
161 |
-
#: link-library-admin.php:464
|
162 |
-
msgid "Basic Details"
|
163 |
-
msgstr "Detaljer"
|
164 |
-
|
165 |
-
#: link-library-admin.php:466 link-library-admin.php:3342
|
166 |
-
#: link-library-admin.php:3471 render-link-library-sc.php:986
|
167 |
-
msgid "Image"
|
168 |
-
msgstr "Bilde"
|
169 |
-
|
170 |
-
#: link-library-admin.php:471
|
171 |
-
msgid "Full-Page Content"
|
172 |
-
msgstr "Fullside-visning"
|
173 |
-
|
174 |
-
#: link-library-admin.php:474
|
175 |
-
msgid "Additional Parameters"
|
176 |
-
msgstr "Andre innstillinger"
|
177 |
-
|
178 |
-
#: link-library-admin.php:484
|
179 |
-
msgid "Link Library: Missing Thumbshots API Key"
|
180 |
-
msgstr "Link Library : Mangler Thumbshots API nøkkel"
|
181 |
-
|
182 |
-
#: link-library-admin.php:484
|
183 |
-
msgid ""
|
184 |
-
"One of your link libraries is configured to use Thumbshots for link "
|
185 |
-
"thumbails, but you have not entered your Thumbshots.com API Key. Please "
|
186 |
-
"visit Thumbshots.com to apply for a free or paid account and enter your API "
|
187 |
-
"in the Link Library admin panel."
|
188 |
-
msgstr ""
|
189 |
-
"En av dine lenkebibliotek er konfigurert for å bruke Thumbshots, men du har "
|
190 |
-
"ikke tastet inn din Thumbshots.com API-nøkkel. Vennligst besøk Thumbshots."
|
191 |
-
"com for å søke om en gratis eller betalt konto, og tast inn din API-kode i "
|
192 |
-
"kontrollpanelet for Link Library."
|
193 |
-
|
194 |
-
# Plugin name; please avoid translating if possible
|
195 |
-
#: link-library-admin.php:484
|
196 |
-
msgid "Jump to Link Library admin"
|
197 |
-
msgstr "Gå til Link Library admin-grensesnitt"
|
198 |
-
|
199 |
-
# Plugin name; please avoid translating if possible
|
200 |
-
#: link-library-admin.php:489
|
201 |
-
msgid "Link Library: No Link Categories on your site"
|
202 |
-
msgstr "Link Library : Ingen lenkekategorier på nettstedet ditt"
|
203 |
-
|
204 |
-
#: link-library-admin.php:489
|
205 |
-
msgid ""
|
206 |
-
"There are currently no link categories defined in your WordPress site. Link "
|
207 |
-
"Library will not work correctly without categories. Please create at least "
|
208 |
-
"one before trying to use Link Library and make sure each link is assigned a "
|
209 |
-
"category."
|
210 |
-
msgstr ""
|
211 |
-
"Det er ikke opprettet noen lenke-kategorier i din Wordpress-installasjon. "
|
212 |
-
"Link Library vil ikke fungere uten lenkekategorier. Vennligst opprett minst "
|
213 |
-
"en lenkekategori før du begynner å legge til og organisere lenker, og "
|
214 |
-
"forsikre deg om at hver lenke er knyttet til en kategori."
|
215 |
-
|
216 |
-
#: link-library-admin.php:544
|
217 |
-
msgid "Links to moderate"
|
218 |
-
msgstr "Lenke for moderering"
|
219 |
-
|
220 |
-
#: link-library-admin.php:562
|
221 |
-
msgid "Global Options"
|
222 |
-
msgstr "Globale innstillinger"
|
223 |
-
|
224 |
-
#: link-library-admin.php:564
|
225 |
-
msgid "Configurations"
|
226 |
-
msgstr "Konfigurasjoner"
|
227 |
-
|
228 |
-
#: link-library-admin.php:564
|
229 |
-
msgid "Library Configurations"
|
230 |
-
msgstr "Bibliotek-konfigurasjoner"
|
231 |
-
|
232 |
-
#: link-library-admin.php:567 link-library-admin.php:569
|
233 |
-
#: link-library-admin.php:890
|
234 |
-
msgid "Moderate"
|
235 |
-
msgstr "Moderere"
|
236 |
-
|
237 |
-
#: link-library-admin.php:572 link-library-admin.php:895
|
238 |
-
#: link-library-admin.php:2140
|
239 |
-
msgid "Stylesheet"
|
240 |
-
msgstr "Stilark"
|
241 |
-
|
242 |
-
#: link-library-admin.php:574 link-library-admin.php:604
|
243 |
-
msgid "Link checking tools"
|
244 |
-
msgstr "Verktøy for å kontrollere lenke"
|
245 |
-
|
246 |
-
#: link-library-admin.php:576 link-library-admin.php:903
|
247 |
-
msgid "FAQ"
|
248 |
-
msgstr "OSS"
|
249 |
-
|
250 |
-
#: link-library-admin.php:602
|
251 |
-
msgid "Links awaiting moderation"
|
252 |
-
msgstr "Lenker i kø for moderering"
|
253 |
-
|
254 |
-
#: link-library-admin.php:603 link-library-admin.php:2142
|
255 |
-
msgid "Editor"
|
256 |
-
msgstr "Redaktør"
|
257 |
-
|
258 |
-
#: link-library-admin.php:605
|
259 |
-
msgid "Save"
|
260 |
-
msgstr "Lagre"
|
261 |
-
|
262 |
-
#: link-library-admin.php:690
|
263 |
-
msgid "Thumbnails successfully generated!"
|
264 |
-
msgstr "Miniatyrbilder opprettet!"
|
265 |
-
|
266 |
-
#: link-library-admin.php:692
|
267 |
-
msgid "Favicons successfully generated!"
|
268 |
-
msgstr "Favicon opprettet !"
|
269 |
-
|
270 |
-
#: link-library-admin.php:694 link-library-admin.php:4871
|
271 |
-
msgid "Thumbnail successfully generated for"
|
272 |
-
msgstr "Miniatyrbilder opprettet for"
|
273 |
-
|
274 |
-
#: link-library-admin.php:696 link-library-admin.php:4907
|
275 |
-
msgid "Favicon successfully generated for"
|
276 |
-
msgstr "Favicon generert for"
|
277 |
-
|
278 |
-
#: link-library-admin.php:727
|
279 |
-
msgid "General Settings Saved"
|
280 |
-
msgstr "Innstillinger lagret"
|
281 |
-
|
282 |
-
#: link-library-admin.php:729 link-library-admin.php:795
|
283 |
-
msgid ""
|
284 |
-
"Link Library plugin directory needs to be writable to perform this action"
|
285 |
-
msgstr ""
|
286 |
-
"Link Library plugin-mappe må ha riktige skrivetillatelser for å fulle denne "
|
287 |
-
"operasjonen"
|
288 |
-
|
289 |
-
#: link-library-admin.php:731
|
290 |
-
msgid "row(s) found"
|
291 |
-
msgstr "rad(er) funnet"
|
292 |
-
|
293 |
-
#: link-library-admin.php:731 link-library-admin.php:807
|
294 |
-
msgid "link(s) imported"
|
295 |
-
msgstr "lenke(r) importert"
|
296 |
-
|
297 |
-
#: link-library-admin.php:731 link-library-admin.php:807
|
298 |
-
msgid "link(s) updated"
|
299 |
-
msgstr "lenke(r) oppdatert"
|
300 |
-
|
301 |
-
#: link-library-admin.php:779 link-library-admin.php:2662
|
302 |
-
msgid "Library #"
|
303 |
-
msgstr "Bibliotek #"
|
304 |
-
|
305 |
-
#: link-library-admin.php:779
|
306 |
-
msgid "Updated"
|
307 |
-
msgstr "Oppdatert"
|
308 |
-
|
309 |
-
#: link-library-admin.php:783
|
310 |
-
msgid "Included Category ID"
|
311 |
-
msgstr "Inkludert kategori ID"
|
312 |
-
|
313 |
-
#: link-library-admin.php:783 link-library-admin.php:787
|
314 |
-
msgid "is invalid. Please check the ID in the Link Category editor."
|
315 |
-
msgstr "er ikke gyldig. Vennligst sjekk ID under lenkekategorier."
|
316 |
-
|
317 |
-
#: link-library-admin.php:787
|
318 |
-
msgid "Excluded Category ID"
|
319 |
-
msgstr "Ekskluderte kategori ID"
|
320 |
-
|
321 |
-
#: link-library-admin.php:791
|
322 |
-
msgid "Invalid column count for link on row. Compare against template."
|
323 |
-
msgstr "Ugyldig kolonne-antall for lenker på rad. Sammenlikne med malen."
|
324 |
-
|
325 |
-
#: link-library-admin.php:799
|
326 |
-
msgid "Library Settings imported successfully"
|
327 |
-
msgstr "Bibliotek-innstillinger importert"
|
328 |
-
|
329 |
-
#: link-library-admin.php:803
|
330 |
-
msgid "Library Settings Upload Failed"
|
331 |
-
msgstr "Opplasting av innstillinger mislyktes"
|
332 |
-
|
333 |
-
#: link-library-admin.php:811
|
334 |
-
msgid "Links are missing categories"
|
335 |
-
msgstr "Lenker mangler kategorier"
|
336 |
-
|
337 |
-
#: link-library-admin.php:824
|
338 |
-
msgid "Link(s) Approved"
|
339 |
-
msgstr "Lenke(r) godkjent"
|
340 |
-
|
341 |
-
#: link-library-admin.php:826
|
342 |
-
msgid "Link(s) Deleted"
|
343 |
-
msgstr "Lenker(r) slettet"
|
344 |
-
|
345 |
-
#: link-library-admin.php:837
|
346 |
-
msgid "Stylesheet updated"
|
347 |
-
msgstr "Stilark oppdatert"
|
348 |
-
|
349 |
-
#: link-library-admin.php:839
|
350 |
-
msgid "Stylesheet reset to original state"
|
351 |
-
msgstr "Stilark satt tilbake til original"
|
352 |
-
|
353 |
-
#: link-library-admin.php:846
|
354 |
-
msgid "Settings updated"
|
355 |
-
msgstr "Innstillinger oppdatert"
|
356 |
-
|
357 |
-
#: link-library-admin.php:880
|
358 |
-
msgid "General Options"
|
359 |
-
msgstr "Generelle innstillinger"
|
360 |
-
|
361 |
-
# Plugin name; please avoid translating if possible
|
362 |
-
#: link-library-admin.php:885
|
363 |
-
msgid "Library Settings"
|
364 |
-
msgstr "Bibliotek innstillinger"
|
365 |
-
|
366 |
-
#: link-library-admin.php:900
|
367 |
-
msgid "Reciprocal Check"
|
368 |
-
msgstr "Sjekk gjensidige lenker"
|
369 |
-
|
370 |
-
#: link-library-admin.php:1058
|
371 |
-
msgid "General"
|
372 |
-
msgstr "Normale"
|
373 |
-
|
374 |
-
#: link-library-admin.php:1059
|
375 |
-
msgid "Single Item Layout"
|
376 |
-
msgstr "Layout for enkeltoppføringer"
|
377 |
-
|
378 |
-
#: link-library-admin.php:1060
|
379 |
-
msgid "Images"
|
380 |
-
msgstr "Bilder"
|
381 |
-
|
382 |
-
#: link-library-admin.php:1061
|
383 |
-
msgid "Bookmarklet"
|
384 |
-
msgstr "Bookmarklet"
|
385 |
-
|
386 |
-
#: link-library-admin.php:1062
|
387 |
-
msgid "Moderation"
|
388 |
-
msgstr "Moderering"
|
389 |
-
|
390 |
-
#: link-library-admin.php:1063
|
391 |
-
msgid "Hide Donation"
|
392 |
-
msgstr "Skjul donasjon"
|
393 |
-
|
394 |
-
#: link-library-admin.php:1064
|
395 |
-
msgid "Import/Export Links"
|
396 |
-
msgstr "Importer/Eksporter lenker"
|
397 |
-
|
398 |
-
#: link-library-admin.php:1071
|
399 |
-
msgid "Usage"
|
400 |
-
msgstr "Bruksområde"
|
401 |
-
|
402 |
-
#: link-library-admin.php:1072
|
403 |
-
msgid "Common"
|
404 |
-
msgstr "Vanlig"
|
405 |
-
|
406 |
-
#: link-library-admin.php:1073
|
407 |
-
msgid "Categories"
|
408 |
-
msgstr "Kategorier"
|
409 |
-
|
410 |
-
#: link-library-admin.php:1074
|
411 |
-
msgid "Links"
|
412 |
-
msgstr "Lenker"
|
413 |
-
|
414 |
-
#: link-library-admin.php:1075
|
415 |
-
msgid "Advanced"
|
416 |
-
msgstr "Avansert"
|
417 |
-
|
418 |
-
#: link-library-admin.php:1076
|
419 |
-
msgid "Pop-Ups"
|
420 |
-
msgstr "Sprett-opp vinduer"
|
421 |
-
|
422 |
-
#: link-library-admin.php:1077
|
423 |
-
msgid "RSS Display"
|
424 |
-
msgstr "RSS visning"
|
425 |
-
|
426 |
-
#: link-library-admin.php:1078
|
427 |
-
msgid "Thumbnails"
|
428 |
-
msgstr "Miniatyrbilder"
|
429 |
-
|
430 |
-
#: link-library-admin.php:1079
|
431 |
-
msgid "RSS Feed"
|
432 |
-
msgstr "RSS-strøm"
|
433 |
-
|
434 |
-
#: link-library-admin.php:1080 link-library-admin.php:4093
|
435 |
-
#: link-library-admin.php:4102
|
436 |
-
msgid "Search"
|
437 |
-
msgstr "Søk"
|
438 |
-
|
439 |
-
#: link-library-admin.php:1081
|
440 |
-
msgid "User Submission"
|
441 |
-
msgstr "Sendt inn av bruker"
|
442 |
-
|
443 |
-
#: link-library-admin.php:1082
|
444 |
-
msgid "Import/Export Settings"
|
445 |
-
msgstr "Importer/Eksporter innstillinger"
|
446 |
-
|
447 |
-
#: link-library-admin.php:1139 link-library-admin.php:1670
|
448 |
-
#: link-library-admin.php:1934 link-library-admin.php:2051
|
449 |
-
#: link-library-admin.php:2087
|
450 |
-
msgid "Not allowed"
|
451 |
-
msgstr "Ikke tillatt"
|
452 |
-
|
453 |
-
#: link-library-admin.php:1981 link-library-admin.php:2024
|
454 |
-
#: usersubmission.php:317
|
455 |
-
msgid "Message generated by"
|
456 |
-
msgstr "Beskjed generert av"
|
457 |
-
|
458 |
-
#: link-library-admin.php:2132 link-library-admin.php:5381
|
459 |
-
msgid "Update channel"
|
460 |
-
msgstr "Oppdater kanal"
|
461 |
-
|
462 |
-
#: link-library-admin.php:2134 link-library-admin.php:5383
|
463 |
-
msgid "Standard channel - Updates as they are released"
|
464 |
-
msgstr "Standardkanal - Last ned oppdateringer når de blir tilgjengelige"
|
465 |
-
|
466 |
-
#: link-library-admin.php:2135 link-library-admin.php:5384
|
467 |
-
msgid "Monthly Channel - Updates once per month"
|
468 |
-
msgstr "Hver måned - Oppdatere en gang per måned"
|
469 |
-
|
470 |
-
#: link-library-admin.php:2140 link-library-admin.php:2141
|
471 |
-
msgid ""
|
472 |
-
"The stylesheet is now defined and stored using the Link Library admin "
|
473 |
-
"interface. This avoids problems with updates from one version to the next."
|
474 |
-
msgstr ""
|
475 |
-
"Stilarket er nå definert og lagret gjennom Link Library's "
|
476 |
-
"administrasjonsgrensesnitt. Denne prosedyren hindrer problemer ved "
|
477 |
-
"oppdatering til nyere versjoner."
|
478 |
-
|
479 |
-
#: link-library-admin.php:2146
|
480 |
-
msgid "Number of Libraries"
|
481 |
-
msgstr "Antall bibliotek"
|
482 |
-
|
483 |
-
#: link-library-admin.php:2154
|
484 |
-
msgid "Category selection method"
|
485 |
-
msgstr "Metode for å velge kategorier"
|
486 |
-
|
487 |
-
#: link-library-admin.php:2156
|
488 |
-
msgid "Comma-separated ID list"
|
489 |
-
msgstr "Komma-separert ID-liste"
|
490 |
-
|
491 |
-
#: link-library-admin.php:2157
|
492 |
-
msgid "Multi-select List"
|
493 |
-
msgstr "Flervalgslister"
|
494 |
-
|
495 |
-
#: link-library-admin.php:2161 link-library-admin.php:2162
|
496 |
-
msgid ""
|
497 |
-
"Enter comma-separate list of pages on which the Link Library stylesheet and "
|
498 |
-
"scripts should be loaded. Primarily used if you display Link Library using "
|
499 |
-
"the API"
|
500 |
-
msgstr ""
|
501 |
-
"Tast inn en komma-separert liste med sider som skal laste Link Library "
|
502 |
-
"stilark og scripts. Bruker primært hvis du viser Link Library via API. "
|
503 |
-
|
504 |
-
#: link-library-admin.php:2161
|
505 |
-
msgid "Additional pages to load styles and scripts"
|
506 |
-
msgstr "Andre sider som skal laste stiler og script"
|
507 |
-
|
508 |
-
#: link-library-admin.php:2167
|
509 |
-
msgid "Debug Mode"
|
510 |
-
msgstr "Feilsøkingmodus"
|
511 |
-
|
512 |
-
#: link-library-admin.php:2172 link-library-admin.php:2173
|
513 |
-
#: link-library-admin.php:2178 link-library-admin.php:2179
|
514 |
-
msgid ""
|
515 |
-
"This function is only possible when showing one category at a time and while "
|
516 |
-
"the default category is not shown."
|
517 |
-
msgstr ""
|
518 |
-
"Denne funksjonen er kun mulig når man viser en kategori ad gangen, når "
|
519 |
-
"standardkategorien ikke vises."
|
520 |
-
|
521 |
-
#: link-library-admin.php:2172
|
522 |
-
msgid "Page Title Prefix"
|
523 |
-
msgstr "Prefiks sidetittel"
|
524 |
-
|
525 |
-
#: link-library-admin.php:2178
|
526 |
-
msgid "Page Title Suffix"
|
527 |
-
msgstr "Suffiks sidetittel"
|
528 |
-
|
529 |
-
#: link-library-admin.php:2184 link-library-admin.php:2185
|
530 |
-
msgid ""
|
531 |
-
"Path for images files that are uploaded manually or generated through "
|
532 |
-
"thumbnail generation service"
|
533 |
-
msgstr ""
|
534 |
-
"Sti ( lagring ) for bilder som lastes opp manuelt, eller genereres som "
|
535 |
-
"miniatyrbilder"
|
536 |
-
|
537 |
-
#: link-library-admin.php:2184
|
538 |
-
msgid "Link Image File Path"
|
539 |
-
msgstr "Sti (lagring) for lenke-bildevedlegg"
|
540 |
-
|
541 |
-
#: link-library-admin.php:2187
|
542 |
-
msgid "Absolute"
|
543 |
-
msgstr "Absolutt"
|
544 |
-
|
545 |
-
#: link-library-admin.php:2188
|
546 |
-
msgid "Relative"
|
547 |
-
msgstr "Relativ"
|
548 |
-
|
549 |
-
#: link-library-admin.php:2192
|
550 |
-
msgid "Thumbnail Generator"
|
551 |
-
msgstr "Minatyrbilde generator"
|
552 |
-
|
553 |
-
#: link-library-admin.php:2203 link-library-admin.php:2204
|
554 |
-
msgid "API Key for Thumbshots.com thumbnail generation accounts"
|
555 |
-
msgstr "API-nøkkel for Thumbshots.com miniatyrbilde-generator konto"
|
556 |
-
|
557 |
-
#: link-library-admin.php:2203
|
558 |
-
msgid "Thumbshots API Key"
|
559 |
-
msgstr "Thumbshots API-nøkkel"
|
560 |
-
|
561 |
-
#: link-library-admin.php:2211
|
562 |
-
msgid "Robothumb Thumbnail size"
|
563 |
-
msgstr "Robothumb miniatyrbilde-størrelse"
|
564 |
-
|
565 |
-
#: link-library-admin.php:2224
|
566 |
-
msgid "Links Date Format"
|
567 |
-
msgstr "Datoformat for lenke"
|
568 |
-
|
569 |
-
#: link-library-admin.php:2224
|
570 |
-
msgid "Help"
|
571 |
-
msgstr "Hjelp"
|
572 |
-
|
573 |
-
#: link-library-admin.php:2231 link-library-admin.php:2232
|
574 |
-
msgid "Enter list of additional link protocols, seperated by commas"
|
575 |
-
msgstr "Tast inn komma-separert liste av ekstra lenkeprotokoller"
|
576 |
-
|
577 |
-
#: link-library-admin.php:2231
|
578 |
-
msgid "Additional protocols"
|
579 |
-
msgstr "Flere protokoller"
|
580 |
-
|
581 |
-
#: link-library-admin.php:2235
|
582 |
-
msgid "Time before clearing RSS display cache (in seconds)"
|
583 |
-
msgstr "Tid før tømming av hurtigminne (i sekunder)"
|
584 |
-
|
585 |
-
#: link-library-admin.php:2291 link-library-admin.php:2292
|
586 |
-
msgid "Custom full URL for expand icon. Uses default image if left empty."
|
587 |
-
msgstr "Full URL for utvid-ikon. Bruker standardikon hvis ikke utfylt."
|
588 |
-
|
589 |
-
#: link-library-admin.php:2291
|
590 |
-
msgid "Expand Icon Image"
|
591 |
-
msgstr "Utvid ikon-bilde"
|
592 |
-
|
593 |
-
#: link-library-admin.php:2298 link-library-admin.php:2299
|
594 |
-
msgid "Custom full URL for collapse icon. Uses default image if left empty."
|
595 |
-
msgstr "Full URL for kollaps-ikon. Bruker standardikon hvis ikke utfylt."
|
596 |
-
|
597 |
-
#: link-library-admin.php:2298
|
598 |
-
msgid "Collapse Icon Image"
|
599 |
-
msgstr "Kollaps-ikon bilde"
|
600 |
-
|
601 |
-
#: link-library-admin.php:2313
|
602 |
-
msgid "Add new links to your site with this bookmarklet."
|
603 |
-
msgstr "Legg til nye lenker på ditt nettsted med dette bookmarklet-programmet."
|
604 |
-
|
605 |
-
#: link-library-admin.php:2314
|
606 |
-
msgid ""
|
607 |
-
"To use this feature, drag-and-drop the button below to your favorite / "
|
608 |
-
"bookmark toolbar."
|
609 |
-
msgstr ""
|
610 |
-
"For å bruke denne funksjonen, dra-og-slipp knappen til dine favoritter/"
|
611 |
-
"bokmerker."
|
612 |
-
|
613 |
-
#: link-library-admin.php:2315
|
614 |
-
msgid "Add to Links"
|
615 |
-
msgstr "Legg til lenker"
|
616 |
-
|
617 |
-
#: link-library-admin.php:2328
|
618 |
-
msgid ""
|
619 |
-
"Approval and rejection e-mail functionality will only work correctly if the "
|
620 |
-
"submitter e-mail field is displayed on the user link submission form"
|
621 |
-
msgstr ""
|
622 |
-
"Epost med funksjoner for godkjenning eller avvisning vil kun fungere dersom "
|
623 |
-
"avsenders epostadresse vises i innsendt skjema"
|
624 |
-
|
625 |
-
#: link-library-admin.php:2332 link-library-admin.php:2333
|
626 |
-
msgid ""
|
627 |
-
"URL that user will be redirected to after submitting new link. When used, "
|
628 |
-
"the short code [link-library-addlinkcustommsg] should be placed on the "
|
629 |
-
"destination page."
|
630 |
-
msgstr ""
|
631 |
-
"URL (side) som brukeren vil bli ledet til etter at skjemaet for å sende inn "
|
632 |
-
"ny link er sendt. Når dette valget benyttes må koden [link-library-"
|
633 |
-
"addlinkcustommsg] settes inn på siden som skal brukes."
|
634 |
-
|
635 |
-
#: link-library-admin.php:2332
|
636 |
-
msgid "Link Acknowledgement URL"
|
637 |
-
msgstr "Side (URL) for bekreftelse av lenke"
|
638 |
-
|
639 |
-
#: link-library-admin.php:2338
|
640 |
-
msgid ""
|
641 |
-
"Title of e-mail sent to site admin when new links are submitted. Use "
|
642 |
-
"%linkname% as a variable to be replaced by the actual link name"
|
643 |
-
msgstr ""
|
644 |
-
"Tittel ( emne ) i epost sendt til nettstedansvarlig når nye lenker blir "
|
645 |
-
"sendt inn fra skjemaet. Bruk %linkname% som variabel som erstatter det "
|
646 |
-
"faktiske lenke-navnet"
|
647 |
-
|
648 |
-
#: link-library-admin.php:2338
|
649 |
-
msgid "Moderation Notification Title"
|
650 |
-
msgstr "Tittel, varsel om moderasjon"
|
651 |
-
|
652 |
-
#: link-library-admin.php:2344
|
653 |
-
msgid ""
|
654 |
-
"Will send a confirmation e-mail to link submitter if they provided their "
|
655 |
-
"contact information"
|
656 |
-
msgstr ""
|
657 |
-
"Sender en bekreftelsesepost til avsender dersom kontaktinformasjon finnes"
|
658 |
-
|
659 |
-
#: link-library-admin.php:2344
|
660 |
-
msgid "E-mail submitter on link approval or rejection"
|
661 |
-
msgstr "Varsle avsender om godkjenning eller avvisning av foreslått lenke"
|
662 |
-
|
663 |
-
#: link-library-admin.php:2349
|
664 |
-
msgid "Suppress Link Library message in e-mail footer"
|
665 |
-
msgstr "Overstyr Link Library beskjed i bunnen av utsendte eposter"
|
666 |
-
|
667 |
-
#: link-library-admin.php:2354
|
668 |
-
msgid "Only use first part of submitter name"
|
669 |
-
msgstr "Bruk kun fornavn på bidragsytere (innsendte lenker)"
|
670 |
-
|
671 |
-
#: link-library-admin.php:2359
|
672 |
-
msgid ""
|
673 |
-
"The name of the e-mail account that the approval e-mail will be sent from"
|
674 |
-
msgstr "Navnet på epostkontoen som epost for godkjenning skal sendes fra"
|
675 |
-
|
676 |
-
#: link-library-admin.php:2359
|
677 |
-
msgid "Moderator Name"
|
678 |
-
msgstr "Navn moderator"
|
679 |
-
|
680 |
-
#: link-library-admin.php:2365
|
681 |
-
msgid "The e-mail address that the approval e-mail will be sent from"
|
682 |
-
msgstr "Avsender epostadresse for godkjenning"
|
683 |
-
|
684 |
-
#: link-library-admin.php:2365
|
685 |
-
msgid "Moderator E-mail"
|
686 |
-
msgstr "Moderators epostadresse"
|
687 |
-
|
688 |
-
#: link-library-admin.php:2371
|
689 |
-
msgid ""
|
690 |
-
"Title of approval e-mail. Use %linkname% as a variable to be replaced by the "
|
691 |
-
"actual link name"
|
692 |
-
msgstr ""
|
693 |
-
"Tittel epost for godkjenning. Bruk %linkname% som variabel for det faktiske "
|
694 |
-
"lenkenavnet"
|
695 |
-
|
696 |
-
#: link-library-admin.php:2371
|
697 |
-
msgid "Approval e-mail title"
|
698 |
-
msgstr "Epost for godkjenning - tittel"
|
699 |
-
|
700 |
-
#: link-library-admin.php:2377
|
701 |
-
msgid ""
|
702 |
-
"Body of approval e-mail. Use %linkname% as a variable to be replaced by the "
|
703 |
-
"actual link name, %submittername% for the submitter name and %linkurl% for "
|
704 |
-
"the link address"
|
705 |
-
msgstr ""
|
706 |
-
"Innhold i epost for godkjenning av lenke. Bruk %linkname% som variabel for "
|
707 |
-
"det faktiske lenkenavnet, %submittername% for innsenders navn og %linkurl% "
|
708 |
-
"for lenkeadresse"
|
709 |
-
|
710 |
-
#: link-library-admin.php:2377
|
711 |
-
msgid "Approval e-mail body"
|
712 |
-
msgstr "Innhold epost for godkjenning"
|
713 |
-
|
714 |
-
#: link-library-admin.php:2383
|
715 |
-
msgid ""
|
716 |
-
"Title of rejection e-mail. Use %linkname% as a variable to be replaced by "
|
717 |
-
"the actual link name"
|
718 |
-
msgstr ""
|
719 |
-
"Tittel - epost for avvisning av lenkeforslag. Bruk %linkname% som variabel "
|
720 |
-
"for det faktiske lenkenavnet"
|
721 |
-
|
722 |
-
#: link-library-admin.php:2383
|
723 |
-
msgid "Rejection e-mail title"
|
724 |
-
msgstr "Tittel - epost for avvisning av lenke"
|
725 |
-
|
726 |
-
#: link-library-admin.php:2389
|
727 |
-
msgid ""
|
728 |
-
"Body of rejection e-mail. Use %linkname% as a variable to be replaced by the "
|
729 |
-
"actual link name, %submittername% for the submitter name and %linkurl% for "
|
730 |
-
"the link address"
|
731 |
-
msgstr ""
|
732 |
-
"Innhold i epost for avvisning av lenke. Benytt %linkname% der du vil "
|
733 |
-
"plassere navnet på den avviste lenken, %submittername% for innsenders navn, "
|
734 |
-
"og %linkurl% for å sette inn lenkeadressen"
|
735 |
-
|
736 |
-
#: link-library-admin.php:2389
|
737 |
-
msgid "Rejection e-mail body"
|
738 |
-
msgstr "Innhold i epost for avvisning av lenke"
|
739 |
-
|
740 |
-
#: link-library-admin.php:2402
|
741 |
-
msgid ""
|
742 |
-
"The following option allows you to hide the Donate button and Support the "
|
743 |
-
"Author section in the Link Library Admin pages. If you enjoy this plugin and "
|
744 |
-
"use it regularly, please consider making a donation to the author before "
|
745 |
-
"turning off these messages. This menu section will disappear along with the "
|
746 |
-
"other elements."
|
747 |
-
msgstr ""
|
748 |
-
"Dette valget lar deg skjule donasjonsknapper og support for utviklerne i "
|
749 |
-
"Link Librarys kontrollpanel. Hvis du liker denne utvidelsen og har glede og "
|
750 |
-
"nytte av den, ber vi deg vurdere å donere en sum du velger selv til "
|
751 |
-
"utviklerne av Link Library før du slår av disse valgene. "
|
752 |
-
|
753 |
-
#: link-library-admin.php:2405
|
754 |
-
msgid "Hide Donation and Support Links"
|
755 |
-
msgstr "Skjul donasjon- og support-lenker"
|
756 |
-
|
757 |
-
#: link-library-admin.php:2420
|
758 |
-
msgid "Export all links to a CSV file"
|
759 |
-
msgstr "Eksportere alle lenker til CSV-fil / regneark"
|
760 |
-
|
761 |
-
#: link-library-admin.php:2422
|
762 |
-
msgid "Export All Links"
|
763 |
-
msgstr "Eksporter alle lenker"
|
764 |
-
|
765 |
-
#: link-library-admin.php:2429
|
766 |
-
msgid ""
|
767 |
-
"Allows for links to be added in batch to the Wordpress links database. CSV "
|
768 |
-
"file needs to follow template for column layout."
|
769 |
-
msgstr ""
|
770 |
-
"Tillat at lenkene samlet legges til lenke-databasen i Wordpress. CSV-fil må "
|
771 |
-
"være satt opp med kolonner."
|
772 |
-
|
773 |
-
#: link-library-admin.php:2429
|
774 |
-
msgid "CSV file to upload to import links"
|
775 |
-
msgstr "CSV-fil for opplasting og importering av lenker"
|
776 |
-
|
777 |
-
#: link-library-admin.php:2429
|
778 |
-
msgid "file template"
|
779 |
-
msgstr "fil-mal"
|
780 |
-
|
781 |
-
#: link-library-admin.php:2432
|
782 |
-
msgid "Import Links from CSV"
|
783 |
-
msgstr "Importer lenker fra CSV"
|
784 |
-
|
785 |
-
#: link-library-admin.php:2436
|
786 |
-
msgid "First row contains column headers"
|
787 |
-
msgstr "Første rad inneholder kolonneoverskrifter"
|
788 |
-
|
789 |
-
#: link-library-admin.php:2440 link-library-admin.php:2470
|
790 |
-
msgid "Update items when URL is identical"
|
791 |
-
msgstr "Oppdater objektet når URL er identisk"
|
792 |
-
|
793 |
-
#: link-library-admin.php:2448
|
794 |
-
msgid "Import links from site pages"
|
795 |
-
msgstr "Importer lenker fra sider på nettstedet"
|
796 |
-
|
797 |
-
#: link-library-admin.php:2449
|
798 |
-
msgid "All Pages and Posts"
|
799 |
-
msgstr "Alle sider og innlegg"
|
800 |
-
|
801 |
-
#: link-library-admin.php:2450
|
802 |
-
msgid "All Pages, Posts and Custom Post Types"
|
803 |
-
msgstr "Alle sider, innlegg og spesielle maler som er i bruk på nettstedet"
|
804 |
-
|
805 |
-
#: link-library-admin.php:2451
|
806 |
-
msgid "Specific Page"
|
807 |
-
msgstr "Spesifikk side"
|
808 |
-
|
809 |
-
#: link-library-admin.php:2455
|
810 |
-
msgid "Specific Post"
|
811 |
-
msgstr "Spesifikt innlegg"
|
812 |
-
|
813 |
-
#: link-library-admin.php:2465
|
814 |
-
msgid "Specific "
|
815 |
-
msgstr "Spesifikk "
|
816 |
-
|
817 |
-
#: link-library-admin.php:2484
|
818 |
-
msgid "Import Links from Site"
|
819 |
-
msgstr "Importere lenker fra nettsted"
|
820 |
-
|
821 |
-
#: link-library-admin.php:2494
|
822 |
-
msgid "Save Settings"
|
823 |
-
msgstr "Lagre innstillinger"
|
824 |
-
|
825 |
-
#: link-library-admin.php:2503
|
826 |
-
msgid "Update Settings"
|
827 |
-
msgstr "Oppdater innstillinger"
|
828 |
-
|
829 |
-
#: link-library-admin.php:2514 link-library-admin.php:3183
|
830 |
-
#: link-library-admin.php:3495 link-library-admin.php:4286
|
831 |
-
#: usersubmission.php:295 usersubmission.php:352
|
832 |
-
msgid "Link Name"
|
833 |
-
msgstr "Lenkenavn"
|
834 |
-
|
835 |
-
#: link-library-admin.php:2515 link-library-admin.php:4321
|
836 |
-
#: link-library-defaults.php:123 usersubmission.php:301 usersubmission.php:371
|
837 |
-
msgid "Link Category"
|
838 |
-
msgstr "Lenkekategori"
|
839 |
-
|
840 |
-
#: link-library-admin.php:2516
|
841 |
-
msgid "Link URL"
|
842 |
-
msgstr "Lenkekadresse"
|
843 |
-
|
844 |
-
#: link-library-admin.php:2517 link-library-admin.php:3183
|
845 |
-
#: link-library-admin.php:3540 link-library-admin.php:4400
|
846 |
-
#: link-library-defaults.php:124 usersubmission.php:298 usersubmission.php:360
|
847 |
-
msgid "Link Description"
|
848 |
-
msgstr "Lenkebeskrivelse"
|
849 |
-
|
850 |
-
#: link-library-admin.php:2560
|
851 |
-
msgid "No Links Found to Moderate"
|
852 |
-
msgstr "Ingen lenker å moderere"
|
853 |
-
|
854 |
-
#: link-library-admin.php:2567
|
855 |
-
msgid "Check All"
|
856 |
-
msgstr "Merk alle"
|
857 |
-
|
858 |
-
#: link-library-admin.php:2568
|
859 |
-
msgid "Uncheck All"
|
860 |
-
msgstr "Fjern alle"
|
861 |
-
|
862 |
-
#: link-library-admin.php:2570
|
863 |
-
msgid "Approve Selected Items"
|
864 |
-
msgstr "Godkjenn valgte objekter"
|
865 |
-
|
866 |
-
#: link-library-admin.php:2571
|
867 |
-
msgid "Delete Selected Items"
|
868 |
-
msgstr "Slett valgte objekter"
|
869 |
-
|
870 |
-
#: link-library-admin.php:2594
|
871 |
-
msgid ""
|
872 |
-
"If the stylesheet editor is empty after upgrading, reset to the default "
|
873 |
-
"stylesheet using the button below or copy/paste your backup stylesheet into "
|
874 |
-
"the editor."
|
875 |
-
msgstr ""
|
876 |
-
"Hvis stilark-editoren er tom etter oppgradering, gjenopprett til standard "
|
877 |
-
"stilark ved å bruke knappen under, eller klipp og lim fra lokal kopi av "
|
878 |
-
"stilark til editor."
|
879 |
-
|
880 |
-
#: link-library-admin.php:2601
|
881 |
-
msgid "Submit"
|
882 |
-
msgstr "Send"
|
883 |
-
|
884 |
-
#: link-library-admin.php:2601
|
885 |
-
msgid "Reset to default"
|
886 |
-
msgstr "Sett tilbake til standardinnstillinger"
|
887 |
-
|
888 |
-
#: link-library-admin.php:2612
|
889 |
-
msgid "Select Current Library Settings"
|
890 |
-
msgstr "Velg gjeldene bibliotek-innstillinger"
|
891 |
-
|
892 |
-
#: link-library-admin.php:2629
|
893 |
-
msgid "Go"
|
894 |
-
msgstr "Sett i gang"
|
895 |
-
|
896 |
-
#: link-library-admin.php:2631
|
897 |
-
msgid "Copy from:"
|
898 |
-
msgstr "Kopiere fra :"
|
899 |
-
|
900 |
-
#: link-library-admin.php:2647
|
901 |
-
msgid "Copy"
|
902 |
-
msgstr "Kopiere"
|
903 |
-
|
904 |
-
#: link-library-admin.php:2661 link-library-admin.php:2664
|
905 |
-
#: link-library-admin.php:2668
|
906 |
-
msgid ""
|
907 |
-
"Link Library Supports the Creation of an unlimited number of configurations "
|
908 |
-
"to display link lists on your site"
|
909 |
-
msgstr ""
|
910 |
-
"Link Library har ingen begrensninger i antall konfigurasjoner for visning av "
|
911 |
-
"lenker på nettsidene dine"
|
912 |
-
|
913 |
-
#: link-library-admin.php:2665
|
914 |
-
msgid "Library Name"
|
915 |
-
msgstr "Navn på bibliotek"
|
916 |
-
|
917 |
-
#: link-library-admin.php:2667
|
918 |
-
msgid "Feature"
|
919 |
-
msgstr "Funksjon"
|
920 |
-
|
921 |
-
#: link-library-admin.php:2669
|
922 |
-
msgid "Code to insert on a Wordpress page"
|
923 |
-
msgstr "Kode for å sette inn på Wordpress-side"
|
924 |
-
|
925 |
-
#: link-library-admin.php:2676
|
926 |
-
msgid "Display basic link library"
|
927 |
-
msgstr "Vis basisversjon av Link Library"
|
928 |
-
|
929 |
-
#: link-library-admin.php:2682
|
930 |
-
msgid "Display list of link categories"
|
931 |
-
msgstr "Vis liste over lenkekategorier"
|
932 |
-
|
933 |
-
#: link-library-admin.php:2688
|
934 |
-
msgid "Display search box"
|
935 |
-
msgstr "Vis søkefelt"
|
936 |
-
|
937 |
-
#: link-library-admin.php:2694
|
938 |
-
msgid "Display link submission form"
|
939 |
-
msgstr "Vis skjema for innsendelse av lenkeforslag"
|
940 |
-
|
941 |
-
#: link-library-admin.php:2701
|
942 |
-
#, php-format
|
943 |
-
msgid ""
|
944 |
-
"You are about to Delete Library #'%s'\n"
|
945 |
-
" 'Cancel' to stop, 'OK' to delete."
|
946 |
-
msgstr ""
|
947 |
-
"Du er i ferd med å slette bibliotek '%s'\\n 'Avbryt' for å beholde "
|
948 |
-
"biblioteket, 'OK' for å slette."
|
949 |
-
|
950 |
-
#: link-library-admin.php:2701
|
951 |
-
msgid "Delete Library"
|
952 |
-
msgstr "Slett bibliotek"
|
953 |
-
|
954 |
-
#: link-library-admin.php:2702
|
955 |
-
#, php-format
|
956 |
-
msgid ""
|
957 |
-
"You are about to reset Library '%s'\n"
|
958 |
-
" 'Cancel' to stop, 'OK' to reset."
|
959 |
-
msgstr ""
|
960 |
-
"Du er i ferd med å tilbakestille bibliotek '%s'\\n 'Avbryt' for å beholde, "
|
961 |
-
"'OK' for å slette."
|
962 |
-
|
963 |
-
#: link-library-admin.php:2702
|
964 |
-
msgid "Reset current Library"
|
965 |
-
msgstr "Tilbakestill gjeldene bibliotek"
|
966 |
-
|
967 |
-
#: link-library-admin.php:2703
|
968 |
-
#, php-format
|
969 |
-
msgid ""
|
970 |
-
"You are about to reset Library '%s' for a table layout\n"
|
971 |
-
" 'Cancel' to stop, 'OK' to reset."
|
972 |
-
msgstr ""
|
973 |
-
"Du er i ferd med å tilbakestille bibliotek '%s' til å bruke tabell-layout\n"
|
974 |
-
" 'Avbryt' for å beholde gjeldene oppsett, 'OK' for å fortsette."
|
975 |
-
|
976 |
-
#: link-library-admin.php:2703
|
977 |
-
msgid "Reset current Library for table layout"
|
978 |
-
msgstr "Tilbakestill gjeldene bibliotek til tabell-layout"
|
979 |
-
|
980 |
-
#: link-library-admin.php:2734
|
981 |
-
msgid "No link categories! Create some!"
|
982 |
-
msgstr "Ingen lenkekategorier! Lag noen!"
|
983 |
-
|
984 |
-
#: link-library-admin.php:2751
|
985 |
-
msgid "Current Library Name"
|
986 |
-
msgstr "Gjeldene biblioteknavn"
|
987 |
-
|
988 |
-
#: link-library-admin.php:2758 link-library-admin.php:2766
|
989 |
-
msgid "Leave Empty to see all categories"
|
990 |
-
msgstr "La stå tom for å se alle kategorier"
|
991 |
-
|
992 |
-
#: link-library-admin.php:2758 link-library-admin.php:2766
|
993 |
-
#: link-library-admin.php:2786 link-library-admin.php:2790
|
994 |
-
msgid "Enter list of comma-separated"
|
995 |
-
msgstr "Fyll inn komma-separert liste"
|
996 |
-
|
997 |
-
#: link-library-admin.php:2758 link-library-admin.php:2766
|
998 |
-
msgid "numeric category IDs"
|
999 |
-
msgstr "numerisk katagori ID"
|
1000 |
-
|
1001 |
-
#: link-library-admin.php:2758
|
1002 |
-
msgid ""
|
1003 |
-
"To find the IDs, go to the Link Categories admin page, place the mouse above "
|
1004 |
-
"a category name and look for its ID in the address shown in your browsers "
|
1005 |
-
"status bar. For example"
|
1006 |
-
msgstr ""
|
1007 |
-
"For å finne ID, gå til siden for lenkekategorier i kontrollpanelet og "
|
1008 |
-
"plasser muspekeren over kategorinavnet for å se ID i adressen som vises i "
|
1009 |
-
"statusfeltet. For eksempel"
|
1010 |
-
|
1011 |
-
#: link-library-admin.php:2760
|
1012 |
-
msgid "Categories to be displayed (Empty=All)"
|
1013 |
-
msgstr "Kategorier for visning (tom=vis alle)"
|
1014 |
-
|
1015 |
-
#: link-library-admin.php:2762
|
1016 |
-
msgid "Categories to be displayed"
|
1017 |
-
msgstr "Kategorier for visning"
|
1018 |
-
|
1019 |
-
#: link-library-admin.php:2766 link-library-admin.php:2786
|
1020 |
-
#: link-library-admin.php:2790
|
1021 |
-
msgid "For example"
|
1022 |
-
msgstr "For eksempel"
|
1023 |
-
|
1024 |
-
#: link-library-admin.php:2779
|
1025 |
-
msgid "Show all categories"
|
1026 |
-
msgstr "Vis alle kategorier"
|
1027 |
-
|
1028 |
-
#: link-library-admin.php:2786 link-library-admin.php:2790
|
1029 |
-
msgid "numeric category IDs that should not be shown"
|
1030 |
-
msgstr "numeriske kategori ID kan ikke vises"
|
1031 |
-
|
1032 |
-
#: link-library-admin.php:2787
|
1033 |
-
msgid "Categories to be excluded"
|
1034 |
-
msgstr "Kategorier som skal ekskluderes"
|
1035 |
-
|
1036 |
-
#: link-library-admin.php:2799
|
1037 |
-
msgid "No Exclusions"
|
1038 |
-
msgstr "Ingen ekskluderte"
|
1039 |
-
|
1040 |
-
#: link-library-admin.php:2806 link-library-admin.php:2809
|
1041 |
-
msgid "Only show one category of links at a time"
|
1042 |
-
msgstr "Vis kun en lenkekategori om gangen"
|
1043 |
-
|
1044 |
-
#: link-library-admin.php:2807
|
1045 |
-
msgid "Only show one category at a time"
|
1046 |
-
msgstr "Vis kun en kategori om gangen"
|
1047 |
-
|
1048 |
-
#: link-library-admin.php:2812
|
1049 |
-
msgid ""
|
1050 |
-
"Select if AJAX should be used to only reload the list of links without "
|
1051 |
-
"reloading the whole page or HTML GET to reload entire page with a new link. "
|
1052 |
-
"The Permalinks option must be enabled for HTML GET + Permalink to work "
|
1053 |
-
"correctly."
|
1054 |
-
msgstr ""
|
1055 |
-
"Velg dersom AJAX skal brukes kun til å oppdatere listen over lenker uten å "
|
1056 |
-
"laste hele siden på nytt, eller HTML GET for å laste hele siden på nytt med "
|
1057 |
-
"nye lenker. Permalenker må være aktivisert for at HTML GET + Permalenke skal "
|
1058 |
-
"fungere."
|
1059 |
-
|
1060 |
-
#: link-library-admin.php:2812
|
1061 |
-
msgid "Switching Method"
|
1062 |
-
msgstr "Bytter metode"
|
1063 |
-
|
1064 |
-
#: link-library-admin.php:2830
|
1065 |
-
msgid ""
|
1066 |
-
"Default category to be shown when only showing one at a time (numeric ID)"
|
1067 |
-
msgstr ""
|
1068 |
-
"Standard kategori for visning når det kun skal vises en om gangen (numerisk "
|
1069 |
-
"ID)"
|
1070 |
-
|
1071 |
-
#: link-library-admin.php:2835
|
1072 |
-
msgid "Hide category on start in single cat mode"
|
1073 |
-
msgstr "Skjul kategori ved oppstart i enkeltkategori-modus"
|
1074 |
-
|
1075 |
-
#: link-library-admin.php:2840 link-library-admin.php:2843
|
1076 |
-
msgid "File path is relative to Link Library plugin directory"
|
1077 |
-
msgstr "Stien til fila er relativ til Link Librarys plugin-mappe"
|
1078 |
-
|
1079 |
-
#: link-library-admin.php:2841
|
1080 |
-
msgid "Icon to display when performing AJAX queries"
|
1081 |
-
msgstr "Ikon som skal vises når AJAX kjører"
|
1082 |
-
|
1083 |
-
#: link-library-admin.php:2852 link-library-admin.php:2855
|
1084 |
-
msgid "Only show a limited number of links and add page navigation links"
|
1085 |
-
msgstr "Vis kun et begrenset antall lenker og legg til sidenavigasjon"
|
1086 |
-
|
1087 |
-
#: link-library-admin.php:2853
|
1088 |
-
msgid "Paginate Results"
|
1089 |
-
msgstr "Sidenumrering resultat"
|
1090 |
-
|
1091 |
-
#: link-library-admin.php:2858 link-library-admin.php:2861
|
1092 |
-
msgid "Number of Links to be Displayed per Page in Pagination Mode"
|
1093 |
-
msgstr "Antall lenker som skal vises per side i visning med sidenumrering"
|
1094 |
-
|
1095 |
-
#: link-library-admin.php:2859
|
1096 |
-
msgid "Links per Page"
|
1097 |
-
msgstr "Antall lenker per side"
|
1098 |
-
|
1099 |
-
#: link-library-admin.php:2867
|
1100 |
-
msgid "Pagination Position"
|
1101 |
-
msgstr "Plassering av sidenavigasjon"
|
1102 |
-
|
1103 |
-
#: link-library-admin.php:2871
|
1104 |
-
msgid "After Links"
|
1105 |
-
msgstr "Etter lenker"
|
1106 |
-
|
1107 |
-
#: link-library-admin.php:2872 link-library-admin.php:2926
|
1108 |
-
msgid "Before Links"
|
1109 |
-
msgstr "Før lenker"
|
1110 |
-
|
1111 |
-
#: link-library-admin.php:2876
|
1112 |
-
msgid "Hide Results if Empty"
|
1113 |
-
msgstr "Skjul resultat hvis ikke utfylt"
|
1114 |
-
|
1115 |
-
#: link-library-admin.php:2887
|
1116 |
-
msgid "Enable Permalinks"
|
1117 |
-
msgstr "Aktivisere permalenker"
|
1118 |
-
|
1119 |
-
#: link-library-admin.php:2893
|
1120 |
-
msgid "Permalinks Page"
|
1121 |
-
msgstr "Side for permalenker"
|
1122 |
-
|
1123 |
-
#: link-library-admin.php:2901
|
1124 |
-
msgid "Permalink Top Page Text"
|
1125 |
-
msgstr "Permelenke topptekst"
|
1126 |
-
|
1127 |
-
#: link-library-admin.php:2909
|
1128 |
-
msgid "Category links in permalinks mode"
|
1129 |
-
msgstr "Kategorilenker i permalenke-modus"
|
1130 |
-
|
1131 |
-
#: link-library-admin.php:2915
|
1132 |
-
msgid "Show breadcrumbs in permalinks mode"
|
1133 |
-
msgstr "Vi breadcrumbs i permelenke-modus"
|
1134 |
-
|
1135 |
-
#: link-library-admin.php:2925
|
1136 |
-
msgid "Display alphabetic cat filter"
|
1137 |
-
msgstr "Vis kategorier alfabetisk"
|
1138 |
-
|
1139 |
-
#: link-library-admin.php:2926
|
1140 |
-
msgid "Do not display"
|
1141 |
-
msgstr "Ikke vis"
|
1142 |
-
|
1143 |
-
#: link-library-admin.php:2926
|
1144 |
-
msgid "Before Categories"
|
1145 |
-
msgstr "Før kategorier"
|
1146 |
-
|
1147 |
-
#: link-library-admin.php:2926
|
1148 |
-
msgid "Before Categories and Links"
|
1149 |
-
msgstr "Før kategorier og lenker"
|
1150 |
-
|
1151 |
-
#: link-library-admin.php:2933
|
1152 |
-
msgid "Auto-select first alphabetic cat item"
|
1153 |
-
msgstr "Velg første katalog-objekt automatisk"
|
1154 |
-
|
1155 |
-
#: link-library-admin.php:2937
|
1156 |
-
msgid "Display ALL box in alphabetic cat filter"
|
1157 |
-
msgstr "Vis alle-boks i alfabetisk kategorifilter"
|
1158 |
-
|
1159 |
-
#: link-library-admin.php:2939
|
1160 |
-
msgid "Cat filter label"
|
1161 |
-
msgstr "Kategorifilter merkelapp"
|
1162 |
-
|
1163 |
-
#: link-library-admin.php:2943
|
1164 |
-
msgid "Only display links submitted by current user"
|
1165 |
-
msgstr "Vis kun lenker som er innsendt av gjeldene bruker"
|
1166 |
-
|
1167 |
-
#: link-library-admin.php:2988
|
1168 |
-
msgid "Results Order"
|
1169 |
-
msgstr "Rekkefølge resultat"
|
1170 |
-
|
1171 |
-
#: link-library-admin.php:2992 link-library-admin.php:3143
|
1172 |
-
msgid "Order by Name"
|
1173 |
-
msgstr "Sortere etter navn"
|
1174 |
-
|
1175 |
-
#: link-library-admin.php:2993 link-library-admin.php:3144
|
1176 |
-
msgid "Order by ID"
|
1177 |
-
msgstr "Sortere etter ID"
|
1178 |
-
|
1179 |
-
#: link-library-admin.php:2995
|
1180 |
-
msgid "Order of categories based on included category list"
|
1181 |
-
msgstr "Rekkefølge på kategorier basert på inkludert kategoriliste"
|
1182 |
-
|
1183 |
-
#: link-library-admin.php:2997
|
1184 |
-
msgid "Order by"
|
1185 |
-
msgstr "Sortere etter"
|
1186 |
-
|
1187 |
-
#: link-library-admin.php:2997 link-library-admin.php:3145
|
1188 |
-
msgid "Wordpress Plugin"
|
1189 |
-
msgstr "Utvidelse (plugin) WordPress"
|
1190 |
-
|
1191 |
-
#: link-library-admin.php:3002
|
1192 |
-
msgid "Link Categories Display Format"
|
1193 |
-
msgstr "Format lenkekategorier"
|
1194 |
-
|
1195 |
-
#: link-library-admin.php:3006 link-library-admin.php:3226
|
1196 |
-
msgid "Table"
|
1197 |
-
msgstr "Tabell"
|
1198 |
-
|
1199 |
-
#: link-library-admin.php:3007 link-library-admin.php:3227
|
1200 |
-
msgid "Unordered List"
|
1201 |
-
msgstr "Usortert liste"
|
1202 |
-
|
1203 |
-
#: link-library-admin.php:3008
|
1204 |
-
msgid "Drop-Down List"
|
1205 |
-
msgstr "Nedtrekksliste"
|
1206 |
-
|
1207 |
-
#: link-library-admin.php:3009
|
1208 |
-
msgid "Drop-Down List Direct Access"
|
1209 |
-
msgstr "Nedtrekksliste direkte aksess"
|
1210 |
-
|
1211 |
-
#: link-library-admin.php:3015
|
1212 |
-
msgid "Display link counts"
|
1213 |
-
msgstr "Vis lenkeantall"
|
1214 |
-
|
1215 |
-
#: link-library-admin.php:3021
|
1216 |
-
msgid "Display categories with search results"
|
1217 |
-
msgstr "Vis kategorier med søkeresultater"
|
1218 |
-
|
1219 |
-
#: link-library-admin.php:3026 link-library-admin.php:3029
|
1220 |
-
msgid "This setting does not apply when selecting My Link Order for the order"
|
1221 |
-
msgstr ""
|
1222 |
-
"Denne innstillingen vil være uvirksom når egendefinert lenkerekkefølge er "
|
1223 |
-
"valgt"
|
1224 |
-
|
1225 |
-
#: link-library-admin.php:3027 link-library-admin.php:3197
|
1226 |
-
msgid "Direction"
|
1227 |
-
msgstr "Retning"
|
1228 |
-
|
1229 |
-
#: link-library-admin.php:3031 link-library-admin.php:3201
|
1230 |
-
msgid "Ascending"
|
1231 |
-
msgstr "Stigende"
|
1232 |
-
|
1233 |
-
#: link-library-admin.php:3032 link-library-admin.php:3202
|
1234 |
-
msgid "Descending"
|
1235 |
-
msgstr "Synkende"
|
1236 |
-
|
1237 |
-
#: link-library-admin.php:3036 link-library-admin.php:3039
|
1238 |
-
#: link-library-admin.php:3151 link-library-admin.php:3154
|
1239 |
-
msgid ""
|
1240 |
-
"Use [ and ] in the description to perform special actions using HTML such as "
|
1241 |
-
"inserting images instead of < and >"
|
1242 |
-
msgstr ""
|
1243 |
-
"Bruk [ and ] i beskrivelsen for å utføre spesielle operasjoner ved hjelp av "
|
1244 |
-
"HTML, som for eksempel å sette inn et bilde i stedet for < and >"
|
1245 |
-
|
1246 |
-
#: link-library-admin.php:3037 link-library-admin.php:3152
|
1247 |
-
msgid "Show Category Description"
|
1248 |
-
msgstr "Vis kategoribeskrivelse"
|
1249 |
-
|
1250 |
-
#: link-library-admin.php:3041 link-library-admin.php:3156
|
1251 |
-
msgid "Position"
|
1252 |
-
msgstr "Posisjon"
|
1253 |
-
|
1254 |
-
#: link-library-admin.php:3043 link-library-admin.php:3158
|
1255 |
-
msgid "Right"
|
1256 |
-
msgstr "Høyre"
|
1257 |
-
|
1258 |
-
#: link-library-admin.php:3044 link-library-admin.php:3159
|
1259 |
-
msgid "Left"
|
1260 |
-
msgstr "Venstre"
|
1261 |
-
|
1262 |
-
#: link-library-admin.php:3050
|
1263 |
-
msgid "Width of Categories Table in Percents"
|
1264 |
-
msgstr "Bredde på kategoritabell i prosent"
|
1265 |
-
|
1266 |
-
#: link-library-admin.php:3056 link-library-admin.php:3059
|
1267 |
-
msgid ""
|
1268 |
-
"Determines the number of alternating div tags that will be placed before and "
|
1269 |
-
"after each link category"
|
1270 |
-
msgstr ""
|
1271 |
-
"Bestemmer antallet aternative div tagger som vil bli plassert foran og etter "
|
1272 |
-
"hver lenkekategori"
|
1273 |
-
|
1274 |
-
#: link-library-admin.php:3056 link-library-admin.php:3059
|
1275 |
-
msgid ""
|
1276 |
-
"These div tags can be used to style of position link categories on the link "
|
1277 |
-
"page"
|
1278 |
-
msgstr ""
|
1279 |
-
"Disse div-taggene kan brukes til å bestemme posisjonen for lenkekategoriene "
|
1280 |
-
"på siden"
|
1281 |
-
|
1282 |
-
#: link-library-admin.php:3057
|
1283 |
-
msgid "Number of alternating div classes"
|
1284 |
-
msgstr "Antall alternative div-tagger"
|
1285 |
-
|
1286 |
-
#: link-library-admin.php:3072
|
1287 |
-
msgid "Number of columns in Categories Table"
|
1288 |
-
msgstr "Antall kolonner i kategoritabellen"
|
1289 |
-
|
1290 |
-
#: link-library-admin.php:3079
|
1291 |
-
msgid "First div class name"
|
1292 |
-
msgstr "Første div klasse navn"
|
1293 |
-
|
1294 |
-
#: link-library-admin.php:3087
|
1295 |
-
msgid "Use Div Class or Heading tag around Category Names"
|
1296 |
-
msgstr "Bruk div-klasse eller overskrift-tag for navn på kategori"
|
1297 |
-
|
1298 |
-
#: link-library-admin.php:3091
|
1299 |
-
msgid "Div Class"
|
1300 |
-
msgstr "Div-klasse"
|
1301 |
-
|
1302 |
-
#: link-library-admin.php:3092
|
1303 |
-
msgid "Heading Tag"
|
1304 |
-
msgstr "Heading tag"
|
1305 |
-
|
1306 |
-
#: link-library-admin.php:3097
|
1307 |
-
msgid "Second div class name"
|
1308 |
-
msgstr "Andre div-klasse navn"
|
1309 |
-
|
1310 |
-
#: link-library-admin.php:3104 link-library-admin.php:3107
|
1311 |
-
msgid "Example div class name: linklistcatname, Example Heading Label: h3"
|
1312 |
-
msgstr "Eksempel div : lenkelistekategorinavn, Eksempel heading : h3"
|
1313 |
-
|
1314 |
-
#: link-library-admin.php:3105
|
1315 |
-
msgid "Div Class Name or Heading label"
|
1316 |
-
msgstr "Div-klasse navn eller merkelapp for overskrift"
|
1317 |
-
|
1318 |
-
#: link-library-admin.php:3112
|
1319 |
-
msgid "Third div class name"
|
1320 |
-
msgstr "Tredje div-klasse navn"
|
1321 |
-
|
1322 |
-
#: link-library-admin.php:3119 link-library-admin.php:3122
|
1323 |
-
msgid ""
|
1324 |
-
"Set this address to a page running Link Library to place categories on a "
|
1325 |
-
"different page. Should always be used with the Show One Category at a Time "
|
1326 |
-
"and HTMLGET fetch method."
|
1327 |
-
msgstr ""
|
1328 |
-
"Sett denne adressen til en side som kjører Link Library for å plassere "
|
1329 |
-
"kategorier på en annen side. Må brukes sammen med \"Vis bare en kategori om "
|
1330 |
-
"gangen\" og HTMLGET importering."
|
1331 |
-
|
1332 |
-
#: link-library-admin.php:3120
|
1333 |
-
msgid "Category Target Address"
|
1334 |
-
msgstr "Kategori måladresse"
|
1335 |
-
|
1336 |
-
#: link-library-admin.php:3139
|
1337 |
-
msgid "Link Results Order"
|
1338 |
-
msgstr "Sortering av lenkeresultater"
|
1339 |
-
|
1340 |
-
#: link-library-admin.php:3145
|
1341 |
-
msgid "Order set by "
|
1342 |
-
msgstr "Rekkefølge bestemt av "
|
1343 |
-
|
1344 |
-
#: link-library-admin.php:3146
|
1345 |
-
msgid "Order randomly"
|
1346 |
-
msgstr "Sorter tilfeldig"
|
1347 |
-
|
1348 |
-
#: link-library-admin.php:3147
|
1349 |
-
msgid "Order by updated date"
|
1350 |
-
msgstr "Sortere etter oppdateringsdato"
|
1351 |
-
|
1352 |
-
#: link-library-admin.php:3160
|
1353 |
-
msgid "After Category Name"
|
1354 |
-
msgstr "Etter kategorinavn"
|
1355 |
-
|
1356 |
-
#: link-library-admin.php:3161
|
1357 |
-
msgid "After Top-Level Category Name"
|
1358 |
-
msgstr "Etter toppnivå kategorinavn"
|
1359 |
-
|
1360 |
-
#: link-library-admin.php:3166
|
1361 |
-
msgid "List Featured Links ahead of Regular Links"
|
1362 |
-
msgstr "Plassere merkede/uthevede lenker foran vanlige lenker"
|
1363 |
-
|
1364 |
-
#: link-library-admin.php:3170
|
1365 |
-
msgid "Show Expand Link button and hide links"
|
1366 |
-
msgstr "Vis \"utvid\"-knapp og gjem lenker"
|
1367 |
-
|
1368 |
-
#: link-library-admin.php:3175
|
1369 |
-
msgid "Combine all results without categories"
|
1370 |
-
msgstr "Kombinere alle resultater uten kategorier"
|
1371 |
-
|
1372 |
-
#: link-library-admin.php:3179
|
1373 |
-
msgid "Link Title Content"
|
1374 |
-
msgstr "Lenketittel innhold"
|
1375 |
-
|
1376 |
-
#: link-library-admin.php:3196 link-library-admin.php:3199
|
1377 |
-
msgid "Except for My Link Order mode"
|
1378 |
-
msgstr "Med unntak av Mine Lenker sortering"
|
1379 |
-
|
1380 |
-
#: link-library-admin.php:3206 link-library-admin.php:3209
|
1381 |
-
msgid "Leave empty to show all results"
|
1382 |
-
msgstr "La stå tom for å vise alle resultater"
|
1383 |
-
|
1384 |
-
#: link-library-admin.php:3207
|
1385 |
-
msgid "Max number of links to display"
|
1386 |
-
msgstr "Maksimum antall lenker i visning"
|
1387 |
-
|
1388 |
-
#: link-library-admin.php:3214 link-library-admin.php:3217
|
1389 |
-
msgid ""
|
1390 |
-
"Sets default link target window, does not override specific targets set in "
|
1391 |
-
"links"
|
1392 |
-
msgstr ""
|
1393 |
-
"Angir standard lenkemål ( target ), overskriver ikke spesifikke lenkemål "
|
1394 |
-
"satt i den enkelte lenken"
|
1395 |
-
|
1396 |
-
#: link-library-admin.php:3215
|
1397 |
-
msgid "Link Target"
|
1398 |
-
msgstr "Lenkemål"
|
1399 |
-
|
1400 |
-
#: link-library-admin.php:3222
|
1401 |
-
msgid "Link Display Format"
|
1402 |
-
msgstr "Lenke visningsformat"
|
1403 |
-
|
1404 |
-
#: link-library-admin.php:3233
|
1405 |
-
msgid "Show Column Headers"
|
1406 |
-
msgstr "Vis kolonneoverskrifter"
|
1407 |
-
|
1408 |
-
#: link-library-admin.php:3240
|
1409 |
-
msgid "Column Headers Override"
|
1410 |
-
msgstr "Overstyr kolonneoverskrifter"
|
1411 |
-
|
1412 |
-
#: link-library-admin.php:3243
|
1413 |
-
msgid "Comma-separated list of column header labels"
|
1414 |
-
msgstr "Komma-separerte liste over kolonnenes overskrifter"
|
1415 |
-
|
1416 |
-
#: link-library-admin.php:3249
|
1417 |
-
msgid "Allow sorting through column headers"
|
1418 |
-
msgstr "Tillat sortering på kolonnenes overskrifter"
|
1419 |
-
|
1420 |
-
#: link-library-admin.php:3257
|
1421 |
-
msgid "Hide Category Names"
|
1422 |
-
msgstr "Skjul kategorinavn"
|
1423 |
-
|
1424 |
-
#: link-library-admin.php:3264
|
1425 |
-
msgid "Show Hidden Links"
|
1426 |
-
msgstr "Vis gjemte lenker"
|
1427 |
-
|
1428 |
-
#: link-library-admin.php:3272
|
1429 |
-
msgid "Hide links of children categories"
|
1430 |
-
msgstr "Skjul liste over underkategorier"
|
1431 |
-
|
1432 |
-
#: link-library-admin.php:3279
|
1433 |
-
msgid "Child category depth limit"
|
1434 |
-
msgstr "Underkategori dybdebegrensning"
|
1435 |
-
|
1436 |
-
#: link-library-admin.php:3287
|
1437 |
-
msgid "Hide children categories on top page"
|
1438 |
-
msgstr "Gjem underkategorier på toppside"
|
1439 |
-
|
1440 |
-
#: link-library-admin.php:3294 link-library-admin.php:3297
|
1441 |
-
msgid "Need to be active for Link Categories to work"
|
1442 |
-
msgstr "Må være aktiv for at lenkekategorier skal fungere"
|
1443 |
-
|
1444 |
-
#: link-library-admin.php:3295
|
1445 |
-
msgid "Embed HTML anchors"
|
1446 |
-
msgstr "Bygg inn HTML-ankere"
|
1447 |
-
|
1448 |
-
#: link-library-admin.php:3302
|
1449 |
-
msgid "Show Hidden Links to Admins/Editors"
|
1450 |
-
msgstr "Vis skjulte lenker for administator/redaktør"
|
1451 |
-
|
1452 |
-
#: link-library-admin.php:3319
|
1453 |
-
msgid ""
|
1454 |
-
"Arrange the items below via drag-and-drop to order the various Link Library "
|
1455 |
-
"elements."
|
1456 |
-
msgstr ""
|
1457 |
-
"Organisere objektene under med dra-og-slipp for å sortere Link Library-"
|
1458 |
-
"elementene."
|
1459 |
-
|
1460 |
-
#: link-library-admin.php:3346 render-link-library-sc.php:986
|
1461 |
-
msgid "Name"
|
1462 |
-
msgstr "Navn"
|
1463 |
-
|
1464 |
-
#: link-library-admin.php:3350 render-link-library-sc.php:987
|
1465 |
-
msgid "Date"
|
1466 |
-
msgstr "Dato"
|
1467 |
-
|
1468 |
-
#: link-library-admin.php:3354
|
1469 |
-
msgid "Desc"
|
1470 |
-
msgstr "Beskrivelse"
|
1471 |
-
|
1472 |
-
#: link-library-admin.php:3358 link-library-admin.php:4706
|
1473 |
-
#: render-link-library-sc.php:988
|
1474 |
-
msgid "Notes"
|
1475 |
-
msgstr "Notater"
|
1476 |
-
|
1477 |
-
#: link-library-admin.php:3362 render-link-library-sc.php:988
|
1478 |
-
msgid "RSS"
|
1479 |
-
msgstr "RSS"
|
1480 |
-
|
1481 |
-
#: link-library-admin.php:3366 link-library-admin.php:3591
|
1482 |
-
#: render-link-library-sc.php:989
|
1483 |
-
msgid "Web Link"
|
1484 |
-
msgstr "Weblenke"
|
1485 |
-
|
1486 |
-
#: link-library-admin.php:3370
|
1487 |
-
msgid "Phone"
|
1488 |
-
msgstr "Telefon"
|
1489 |
-
|
1490 |
-
#: link-library-admin.php:3374 link-library-admin.php:3648
|
1491 |
-
#: link-library-admin.php:4492 link-library-admin.php:5002
|
1492 |
-
#: link-library-defaults.php:172 render-link-library-addlink-sc.php:442
|
1493 |
-
#: render-link-library-sc.php:990
|
1494 |
-
msgid "E-mail"
|
1495 |
-
msgstr "Epost"
|
1496 |
-
|
1497 |
-
#: link-library-admin.php:3378 render-link-library-sc.php:990
|
1498 |
-
msgid "Hits"
|
1499 |
-
msgstr "Treff"
|
1500 |
-
|
1501 |
-
#: link-library-admin.php:3382 link-library-admin.php:4970
|
1502 |
-
#: render-link-library-sc.php:991
|
1503 |
-
msgid "Rating"
|
1504 |
-
msgstr "Rangering"
|
1505 |
-
|
1506 |
-
#: link-library-admin.php:3386
|
1507 |
-
msgid "Large Desc"
|
1508 |
-
msgstr "Full beskrivelse"
|
1509 |
-
|
1510 |
-
#: link-library-admin.php:3390 link-library-admin.php:3727
|
1511 |
-
#: link-library-admin.php:4508 link-library-admin.php:5027
|
1512 |
-
#: link-library-defaults.php:184 render-link-library-addlink-sc.php:460
|
1513 |
-
#: render-link-library-sc.php:992
|
1514 |
-
msgid "Submitter Name"
|
1515 |
-
msgstr "Innsenders navn"
|
1516 |
-
|
1517 |
-
#: link-library-admin.php:3394
|
1518 |
-
msgid "Cat Desc"
|
1519 |
-
msgstr "Kategoribeskrivelse"
|
1520 |
-
|
1521 |
-
#: link-library-admin.php:3398 render-link-library-sc.php:993
|
1522 |
-
msgid "Tags"
|
1523 |
-
msgstr "Tagger"
|
1524 |
-
|
1525 |
-
#: link-library-admin.php:3402 link-library-admin.php:5039
|
1526 |
-
#: link-library.php:894 render-link-library-sc.php:993
|
1527 |
-
msgid "Price"
|
1528 |
-
msgstr "Pris"
|
1529 |
-
|
1530 |
-
#: link-library-admin.php:3414
|
1531 |
-
msgid "Display"
|
1532 |
-
msgstr "Vis"
|
1533 |
-
|
1534 |
-
#: link-library-admin.php:3415
|
1535 |
-
msgid "Before"
|
1536 |
-
msgstr "Før"
|
1537 |
-
|
1538 |
-
#: link-library-admin.php:3416
|
1539 |
-
msgid "After"
|
1540 |
-
msgstr "Etter"
|
1541 |
-
|
1542 |
-
#: link-library-admin.php:3417
|
1543 |
-
msgid "Additional Details"
|
1544 |
-
msgstr "Ekstra informasjon"
|
1545 |
-
|
1546 |
-
#: link-library-admin.php:3418
|
1547 |
-
msgid "Link Source"
|
1548 |
-
msgstr "Lenkekilde"
|
1549 |
-
|
1550 |
-
#: link-library-admin.php:3421
|
1551 |
-
msgid ""
|
1552 |
-
"This column allows for the output of text/code before the first link in each "
|
1553 |
-
"category"
|
1554 |
-
msgstr ""
|
1555 |
-
"Denne kolonnen muliggjør visning av tekst/kode foran den første lenken i "
|
1556 |
-
"hver kategori"
|
1557 |
-
|
1558 |
-
#: link-library-admin.php:3421
|
1559 |
-
msgid "Before first link"
|
1560 |
-
msgstr "Foran første lenke"
|
1561 |
-
|
1562 |
-
#: link-library-admin.php:3423
|
1563 |
-
msgid "Output of text/code before the first link in each category"
|
1564 |
-
msgstr "Visning av tekst/kode foran den første lenken i hver kategori"
|
1565 |
-
|
1566 |
-
#: link-library-admin.php:3429
|
1567 |
-
msgid ""
|
1568 |
-
"This column allows for the output of text/code before a number of links "
|
1569 |
-
"determined by the Display field"
|
1570 |
-
msgstr ""
|
1571 |
-
"Denne kolonnen muliggjør visning av tekst/kode foran lenker i hver kategori "
|
1572 |
-
"avhenging av visningsfelt"
|
1573 |
-
|
1574 |
-
#: link-library-admin.php:3429
|
1575 |
-
msgid "Intermittent Before Link"
|
1576 |
-
msgstr ""
|
1577 |
-
|
1578 |
-
#: link-library-admin.php:3430
|
1579 |
-
msgid "Frequency of additional output before and after complete link group"
|
1580 |
-
msgstr "Frekvens for ekstra output foran og etter fullstendig lenkegruppe"
|
1581 |
-
|
1582 |
-
#: link-library-admin.php:3433 link-library-admin.php:3443
|
1583 |
-
msgid "Output before complete link group (link, notes, desc, etc...)"
|
1584 |
-
msgstr ""
|
1585 |
-
"Output foran fullstendig lenkegruppe (lenke, notater, beskrivelse, etc...)"
|
1586 |
-
|
1587 |
-
#: link-library-admin.php:3441
|
1588 |
-
msgid "This column allows for the output of text/code before each link"
|
1589 |
-
msgstr "Denne kolonnen muliggjør visning av tekst/kode foran hver lenke"
|
1590 |
-
|
1591 |
-
#: link-library-admin.php:3441
|
1592 |
-
msgid "Before Link"
|
1593 |
-
msgstr "Foran lenke"
|
1594 |
-
|
1595 |
-
#: link-library-admin.php:3471
|
1596 |
-
msgid "This column allows for the output of text/code before each link image"
|
1597 |
-
msgstr ""
|
1598 |
-
"Denne kolonnen muliggjør visning av tekst/kode foran hver bildevedlegget for "
|
1599 |
-
"hver lenke"
|
1600 |
-
|
1601 |
-
#: link-library-admin.php:3475
|
1602 |
-
msgid "Code/Text to be displayed before each link image"
|
1603 |
-
msgstr "Kode/tekst som skal vises foran bildevedlegg for lenke"
|
1604 |
-
|
1605 |
-
#: link-library-admin.php:3478
|
1606 |
-
msgid "Code/Text to be displayed after each link image"
|
1607 |
-
msgstr "Kode/tekst som skal vises etter bildevedlegg for lenke"
|
1608 |
-
|
1609 |
-
#: link-library-admin.php:3481
|
1610 |
-
msgid "CSS Class to be assigned to link image"
|
1611 |
-
msgstr "CSS-klasse for bildevedlegg for lenke"
|
1612 |
-
|
1613 |
-
#: link-library-admin.php:3486 link-library-admin.php:3513
|
1614 |
-
#: link-library-admin.php:3610 link-library-admin.php:3639
|
1615 |
-
msgid "Primary"
|
1616 |
-
msgstr "Primær"
|
1617 |
-
|
1618 |
-
#: link-library-admin.php:3487 link-library-admin.php:3514
|
1619 |
-
#: link-library-admin.php:3611 link-library-admin.php:3640
|
1620 |
-
msgid "Secondary"
|
1621 |
-
msgstr "Sekundær"
|
1622 |
-
|
1623 |
-
#: link-library-admin.php:3495
|
1624 |
-
msgid ""
|
1625 |
-
"This column allows for the output of text/code before and after each link "
|
1626 |
-
"name"
|
1627 |
-
msgstr ""
|
1628 |
-
"Denne kolonnen muliggjør visning av kode/tekst foran og etter hver lenkes "
|
1629 |
-
"navn"
|
1630 |
-
|
1631 |
-
#: link-library-admin.php:3499
|
1632 |
-
msgid "Code/Text to be displayed before each link"
|
1633 |
-
msgstr "Kode/tekst som skal vises foran hver lenke"
|
1634 |
-
|
1635 |
-
#: link-library-admin.php:3502
|
1636 |
-
msgid "Code/Text to be displayed after each link"
|
1637 |
-
msgstr "Kode/tekst som skal vises etter hver lenke"
|
1638 |
-
|
1639 |
-
#: link-library-admin.php:3507
|
1640 |
-
msgid "No Tooltip"
|
1641 |
-
msgstr "Ingen verktøytips"
|
1642 |
-
|
1643 |
-
#: link-library-admin.php:3508 link-library-admin.php:4702
|
1644 |
-
#: render-link-library-sc.php:987
|
1645 |
-
msgid "Description"
|
1646 |
-
msgstr "Beskrivelse"
|
1647 |
-
|
1648 |
-
#: link-library-admin.php:3515
|
1649 |
-
msgid "Dedicated page"
|
1650 |
-
msgstr "Dedikert side"
|
1651 |
-
|
1652 |
-
#: link-library-admin.php:3523
|
1653 |
-
msgid ""
|
1654 |
-
"This column allows for the output of text/code before and after each link "
|
1655 |
-
"date stamp"
|
1656 |
-
msgstr ""
|
1657 |
-
"Denne kolonnen muliggjør visning av kode/tekst foran og etter hver lenkes "
|
1658 |
-
"dato"
|
1659 |
-
|
1660 |
-
#: link-library-admin.php:3523
|
1661 |
-
msgid "Link Date"
|
1662 |
-
msgstr "Publiseringsdato lenke"
|
1663 |
-
|
1664 |
-
#: link-library-admin.php:3524
|
1665 |
-
msgid "Check to display link date"
|
1666 |
-
msgstr "Merk for å vise publiseringsdato for lenke"
|
1667 |
-
|
1668 |
-
#: link-library-admin.php:3527
|
1669 |
-
msgid "Code/Text to be displayed before each date"
|
1670 |
-
msgstr "Kode/tekst som skal vises foran publiseringsdato for lenke"
|
1671 |
-
|
1672 |
-
#: link-library-admin.php:3530
|
1673 |
-
msgid "Code/Text to be displayed after each date"
|
1674 |
-
msgstr "Kode/tekst som skal vises etter publiseringsdato for lenke"
|
1675 |
-
|
1676 |
-
#: link-library-admin.php:3540
|
1677 |
-
msgid ""
|
1678 |
-
"This column allows for the output of text/code before and after each link "
|
1679 |
-
"description"
|
1680 |
-
msgstr ""
|
1681 |
-
"Denne kolonnen muliggjør visning av kode/tekst foran og etter "
|
1682 |
-
"lenkebeskrivelsen"
|
1683 |
-
|
1684 |
-
#: link-library-admin.php:3541
|
1685 |
-
msgid "Check to display link descriptions"
|
1686 |
-
msgstr "Merk for å vise lenkebeskrivelser"
|
1687 |
-
|
1688 |
-
#: link-library-admin.php:3544
|
1689 |
-
msgid "Code/Text to be displayed before each description"
|
1690 |
-
msgstr "Kode/tekst som skal vises foran hver beskrivelse"
|
1691 |
-
|
1692 |
-
#: link-library-admin.php:3547
|
1693 |
-
msgid "Code/Text to be displayed after each description"
|
1694 |
-
msgstr "Kode/tekst som skal vises etter hver beskrivelse"
|
1695 |
-
|
1696 |
-
#: link-library-admin.php:3557
|
1697 |
-
msgid ""
|
1698 |
-
"This column allows for the output of text/code before and after each link "
|
1699 |
-
"notes"
|
1700 |
-
msgstr ""
|
1701 |
-
"Denne kolonnen muliggjør visning av kode/tekst foran og etter lenkenotater"
|
1702 |
-
|
1703 |
-
#: link-library-admin.php:3557 link-library-admin.php:4415
|
1704 |
-
#: link-library-defaults.php:125 usersubmission.php:300 usersubmission.php:368
|
1705 |
-
msgid "Link Notes"
|
1706 |
-
msgstr "Lenkenotater"
|
1707 |
-
|
1708 |
-
#: link-library-admin.php:3558
|
1709 |
-
msgid "Check to display link notes"
|
1710 |
-
msgstr "Merk for å vise lenkenotater"
|
1711 |
-
|
1712 |
-
#: link-library-admin.php:3561
|
1713 |
-
msgid "Code/Text to be displayed before each note"
|
1714 |
-
msgstr "Kode/tekst som skal vises foran hvert notat"
|
1715 |
-
|
1716 |
-
#: link-library-admin.php:3564
|
1717 |
-
msgid "Code/Text to be displayed after each note"
|
1718 |
-
msgstr "Kode/tekst som skal vises etter hvert notat"
|
1719 |
-
|
1720 |
-
#: link-library-admin.php:3574
|
1721 |
-
msgid ""
|
1722 |
-
"This column allows for the output of text/code before and after the RSS icons"
|
1723 |
-
msgstr ""
|
1724 |
-
"Denne kolonnen muliggjør visning av kode/tekst foran og etter RSS-ikoner"
|
1725 |
-
|
1726 |
-
#: link-library-admin.php:3574
|
1727 |
-
msgid "RSS Icons"
|
1728 |
-
msgstr "RSS-ikoner"
|
1729 |
-
|
1730 |
-
#: link-library-admin.php:3576
|
1731 |
-
msgid "See below"
|
1732 |
-
msgstr "Se under"
|
1733 |
-
|
1734 |
-
#: link-library-admin.php:3578
|
1735 |
-
msgid "Code/Text to be displayed before RSS Icons"
|
1736 |
-
msgstr "Kode/tekst som skal vises foran RSS-ikoner"
|
1737 |
-
|
1738 |
-
#: link-library-admin.php:3581
|
1739 |
-
msgid "Code/Text to be displayed after RSS Icons"
|
1740 |
-
msgstr "Kode/tekst som skal vises etter RSS-ikoner"
|
1741 |
-
|
1742 |
-
#: link-library-admin.php:3591
|
1743 |
-
msgid ""
|
1744 |
-
"This column allows for the output of text/code before and after the Web Link"
|
1745 |
-
msgstr "Denne kolonnen muliggjør visning av kode/tekst før og etter web-lenke"
|
1746 |
-
|
1747 |
-
#: link-library-admin.php:3594 link-library-admin.php:3622
|
1748 |
-
#: link-library-admin.php:3651
|
1749 |
-
msgid "False"
|
1750 |
-
msgstr "Ugyldig"
|
1751 |
-
|
1752 |
-
#: link-library-admin.php:3595 link-library-admin.php:4698
|
1753 |
-
msgid "Web Address"
|
1754 |
-
msgstr "Webadresse"
|
1755 |
-
|
1756 |
-
#: link-library-admin.php:3596 link-library-admin.php:3625
|
1757 |
-
msgid "Label"
|
1758 |
-
msgstr "Beskrivelse"
|
1759 |
-
|
1760 |
-
#: link-library-admin.php:3599
|
1761 |
-
msgid "Code/Text to be displayed before Web Link"
|
1762 |
-
msgstr "Kode/tekst som skal vises foran web-lenke"
|
1763 |
-
|
1764 |
-
#: link-library-admin.php:3602
|
1765 |
-
msgid "Code/Text to be displayed after Web Link"
|
1766 |
-
msgstr "Kode/tekst som skal vises etter web-lenke"
|
1767 |
-
|
1768 |
-
#: link-library-admin.php:3605
|
1769 |
-
msgid "Text Label that the web link will be assigned to."
|
1770 |
-
msgstr "Tekstbeskrivelse for web-lenken"
|
1771 |
-
|
1772 |
-
#: link-library-admin.php:3608 link-library-admin.php:3637
|
1773 |
-
msgid "Select which link address will be displayed / used for link"
|
1774 |
-
msgstr "Velg hvilken lenkeadresse som skal vises/brukes for lenke"
|
1775 |
-
|
1776 |
-
#: link-library-admin.php:3619
|
1777 |
-
msgid ""
|
1778 |
-
"This column allows for the output of text/code before and after the "
|
1779 |
-
"Telephone Number"
|
1780 |
-
msgstr ""
|
1781 |
-
"Denne kolonnen muliggjør visning av tekst/kode foran og etter telefonnummeret"
|
1782 |
-
|
1783 |
-
#: link-library-admin.php:3619 link-library-admin.php:4477
|
1784 |
-
#: link-library-admin.php:4996 link-library-defaults.php:170
|
1785 |
-
#: render-link-library-addlink-sc.php:424 render-link-library-sc.php:989
|
1786 |
-
msgid "Telephone"
|
1787 |
-
msgstr "Telefon"
|
1788 |
-
|
1789 |
-
#: link-library-admin.php:3623 link-library-admin.php:3652
|
1790 |
-
msgid "Plain Text"
|
1791 |
-
msgstr "Enkel tekst"
|
1792 |
-
|
1793 |
-
#: link-library-admin.php:3624
|
1794 |
-
msgid "Link"
|
1795 |
-
msgstr "Lenke"
|
1796 |
-
|
1797 |
-
#: link-library-admin.php:3628
|
1798 |
-
msgid "Code/Text to be displayed before Telephone Number"
|
1799 |
-
msgstr "Kode/tekst som skal vises foran telefonnummeret"
|
1800 |
-
|
1801 |
-
#: link-library-admin.php:3631
|
1802 |
-
msgid "Code/Text to be displayed after Telephone Number"
|
1803 |
-
msgstr "Kode/tekst som skal vises etter telefonnummeret"
|
1804 |
-
|
1805 |
-
#: link-library-admin.php:3634
|
1806 |
-
msgid "Text Label that the telephone will be assigned to."
|
1807 |
-
msgstr "Tekstbekrivelse for telefonnummer."
|
1808 |
-
|
1809 |
-
#: link-library-admin.php:3648
|
1810 |
-
msgid ""
|
1811 |
-
"This column allows for the output of text/code before and after the E-mail"
|
1812 |
-
msgstr ""
|
1813 |
-
"Denne kolonnen muliggjør visning av kode/tekst foran og etter epostadressen"
|
1814 |
-
|
1815 |
-
#: link-library-admin.php:3653
|
1816 |
-
msgid "MailTo Link"
|
1817 |
-
msgstr "mailto-lenke"
|
1818 |
-
|
1819 |
-
#: link-library-admin.php:3654
|
1820 |
-
msgid "MailTo Link with Label"
|
1821 |
-
msgstr "Mailto-lenke med notat"
|
1822 |
-
|
1823 |
-
#: link-library-admin.php:3655
|
1824 |
-
msgid "Formatted Command"
|
1825 |
-
msgstr ""
|
1826 |
-
|
1827 |
-
#: link-library-admin.php:3656
|
1828 |
-
msgid "Formatted Command with Labels"
|
1829 |
-
msgstr ""
|
1830 |
-
|
1831 |
-
#: link-library-admin.php:3659
|
1832 |
-
msgid "Code/Text to be displayed before E-mail"
|
1833 |
-
msgstr "Kode/tekst som skal vises foran epostadresse"
|
1834 |
-
|
1835 |
-
#: link-library-admin.php:3662
|
1836 |
-
msgid "Code/Text to be displayed after E-mail"
|
1837 |
-
msgstr "Kode/tekst som skal vises etter epostadresse"
|
1838 |
-
|
1839 |
-
#: link-library-admin.php:3665
|
1840 |
-
msgid ""
|
1841 |
-
"Text Label that the e-mail will be assigned to represent the e-mail link."
|
1842 |
-
msgstr ""
|
1843 |
-
|
1844 |
-
#: link-library-admin.php:3668
|
1845 |
-
msgid ""
|
1846 |
-
"Command that the e-mail will be embedded in. In the case of a command, use "
|
1847 |
-
"the symbols #email and #company to indicate the position where these "
|
1848 |
-
"elements should be inserted."
|
1849 |
-
msgstr ""
|
1850 |
-
|
1851 |
-
#: link-library-admin.php:3676
|
1852 |
-
msgid ""
|
1853 |
-
"This column allows for the output of text/code before and after Link Hits"
|
1854 |
-
msgstr ""
|
1855 |
-
"Denne kolonnen muliggjør visning av kode/tekst foran eller etter lenke-treff"
|
1856 |
-
|
1857 |
-
#: link-library-admin.php:3676
|
1858 |
-
msgid "Link Hits"
|
1859 |
-
msgstr "Lenketreff"
|
1860 |
-
|
1861 |
-
#: link-library-admin.php:3680
|
1862 |
-
msgid "Code/Text to be displayed before Link Hits"
|
1863 |
-
msgstr "Kode/tekst som skal vises foran Lenketreff"
|
1864 |
-
|
1865 |
-
#: link-library-admin.php:3683
|
1866 |
-
msgid "Code/Text to be displayed after Link Hits"
|
1867 |
-
msgstr "Kode/tekst som skal vises etter Lenketreff"
|
1868 |
-
|
1869 |
-
#: link-library-admin.php:3693
|
1870 |
-
msgid ""
|
1871 |
-
"This column allows for the output of text/code before and after the Link "
|
1872 |
-
"Rating"
|
1873 |
-
msgstr ""
|
1874 |
-
"Denne kolonnen muliggjør visning av kode/tekst foran eller bak Lenkevurdering"
|
1875 |
-
|
1876 |
-
#: link-library-admin.php:3693
|
1877 |
-
msgid "Link Rating"
|
1878 |
-
msgstr "Lenkevurdering"
|
1879 |
-
|
1880 |
-
#: link-library-admin.php:3697
|
1881 |
-
msgid "Code/Text to be displayed before Link Rating"
|
1882 |
-
msgstr "Kode/tekst som skal vises foran Lenkevurdering"
|
1883 |
-
|
1884 |
-
#: link-library-admin.php:3700
|
1885 |
-
msgid "Code/Text to be displayed after Link Rating"
|
1886 |
-
msgstr "Kode/tekst som skal vises etter Lenkevurdering"
|
1887 |
-
|
1888 |
-
#: link-library-admin.php:3710 link-library-admin.php:3727
|
1889 |
-
#: link-library-admin.php:3744
|
1890 |
-
msgid ""
|
1891 |
-
"This column allows for the output of text/code before and after the Link "
|
1892 |
-
"Large Description"
|
1893 |
-
msgstr ""
|
1894 |
-
"Denne kolonnen muliggjør visning av kode/tekst foran og etter Lenke Full "
|
1895 |
-
"Beskrivelse"
|
1896 |
-
|
1897 |
-
#: link-library-admin.php:3710 usersubmission.php:299 usersubmission.php:364
|
1898 |
-
msgid "Link Large Description"
|
1899 |
-
msgstr "Lenke Full Beskrivelse"
|
1900 |
-
|
1901 |
-
#: link-library-admin.php:3714 link-library-admin.php:3731
|
1902 |
-
#: link-library-admin.php:3748
|
1903 |
-
msgid "Code/Text to be displayed before Link Large Description"
|
1904 |
-
msgstr "Kode/tekst som skal vises foran Lenke Full Bekrivelse"
|
1905 |
-
|
1906 |
-
#: link-library-admin.php:3717 link-library-admin.php:3734
|
1907 |
-
#: link-library-admin.php:3751
|
1908 |
-
msgid "Code/Text to be displayed after Link Large Description"
|
1909 |
-
msgstr "Kode/tekst som skal vises etter Lenke Full Beskrivelse"
|
1910 |
-
|
1911 |
-
#: link-library-admin.php:3744 render-link-library-sc.php:992
|
1912 |
-
msgid "Category Description"
|
1913 |
-
msgstr "Kategori Beskrivelse"
|
1914 |
-
|
1915 |
-
#: link-library-admin.php:3761
|
1916 |
-
msgid "This column allows for the output of tags associated with the link"
|
1917 |
-
msgstr "Denne kolonnen muliggjør visning av tagger som er assosiert med lenken"
|
1918 |
-
|
1919 |
-
#: link-library-admin.php:3761
|
1920 |
-
msgid "Link Tags"
|
1921 |
-
msgstr "Lenketagger"
|
1922 |
-
|
1923 |
-
#: link-library-admin.php:3765
|
1924 |
-
msgid "Code/Text to be displayed before Link Tags"
|
1925 |
-
msgstr "Kode/tekst som skal vises foran Lenketagger"
|
1926 |
-
|
1927 |
-
#: link-library-admin.php:3768
|
1928 |
-
msgid "Code/Text to be displayed after Link Tags"
|
1929 |
-
msgstr "Kode/tekst som skal vises etter Lenketagger"
|
1930 |
-
|
1931 |
-
#: link-library-admin.php:3778
|
1932 |
-
msgid ""
|
1933 |
-
"This column allows for the output of the price field associated with the link"
|
1934 |
-
msgstr ""
|
1935 |
-
"Denne kolonnen muliggjør visning av pris dersom dette er satt for lenken"
|
1936 |
-
|
1937 |
-
#: link-library-admin.php:3778
|
1938 |
-
msgid "Link Price"
|
1939 |
-
msgstr "Lenke Pris"
|
1940 |
-
|
1941 |
-
#: link-library-admin.php:3782
|
1942 |
-
msgid "Code/Text to be displayed before Link Price"
|
1943 |
-
msgstr "Kode/tekst som skal vises foran Lenke Pris"
|
1944 |
-
|
1945 |
-
#: link-library-admin.php:3785
|
1946 |
-
msgid "Code/Text to be displayed after Link Price"
|
1947 |
-
msgstr "Kode/tekst som skal vises etter Lenke Pris"
|
1948 |
-
|
1949 |
-
#: link-library-admin.php:3789
|
1950 |
-
msgid "Currency symbol to be displayed next to price"
|
1951 |
-
msgstr "Valtuasymbol som skal vises ved siden av pris"
|
1952 |
-
|
1953 |
-
#: link-library-admin.php:3794
|
1954 |
-
msgid "Before Price"
|
1955 |
-
msgstr "Før pris"
|
1956 |
-
|
1957 |
-
#: link-library-admin.php:3795
|
1958 |
-
msgid "After Price"
|
1959 |
-
msgstr "Etter pris"
|
1960 |
-
|
1961 |
-
#: link-library-admin.php:3805
|
1962 |
-
msgid "This column allows for the output of text/code after each link"
|
1963 |
-
msgstr "Denne kolonnen muliggjør visning av kode/tekst etter hver lenke"
|
1964 |
-
|
1965 |
-
#: link-library-admin.php:3805
|
1966 |
-
msgid "After Link Block"
|
1967 |
-
msgstr "Etter lenke-blokk"
|
1968 |
-
|
1969 |
-
#: link-library-admin.php:3808
|
1970 |
-
msgid "Output after complete link group (link, notes, desc, etc...)"
|
1971 |
-
msgstr ""
|
1972 |
-
"Visning etter fullstendig lenkegruppe (lenke, notater, bekrivelse etc...)"
|
1973 |
-
|
1974 |
-
#: link-library-admin.php:3815
|
1975 |
-
msgid ""
|
1976 |
-
"This column allows for the output of text/code after a number of links "
|
1977 |
-
"determined in the first column"
|
1978 |
-
msgstr ""
|
1979 |
-
"Denne kolonnen muliggjør visning av kode/tekst etter et antall lenker "
|
1980 |
-
"bestemt i første kolonne"
|
1981 |
-
|
1982 |
-
#: link-library-admin.php:3815
|
1983 |
-
msgid "Intermittent After Link"
|
1984 |
-
msgstr "Sporadisk etter lenke"
|
1985 |
-
|
1986 |
-
#: link-library-admin.php:3825
|
1987 |
-
msgid ""
|
1988 |
-
"This column allows for the output of text/code after the last link in each "
|
1989 |
-
"category"
|
1990 |
-
msgstr ""
|
1991 |
-
"Denne kolonnen muliggjør visning av kode/tekst etter den siste lenken i hver "
|
1992 |
-
"kategori"
|
1993 |
-
|
1994 |
-
#: link-library-admin.php:3825
|
1995 |
-
msgid "After last link"
|
1996 |
-
msgstr "Etter siste lenke"
|
1997 |
-
|
1998 |
-
#: link-library-admin.php:3838
|
1999 |
-
msgid "Show Link Updated Flag"
|
2000 |
-
msgstr "Vis flagg for oppdatert-lenke"
|
2001 |
-
|
2002 |
-
#: link-library-admin.php:3846
|
2003 |
-
msgid "Convert [] to <> in Link Description and Notes"
|
2004 |
-
msgstr "Konvertere [] til <> i lenkebekrivelser og -notater"
|
2005 |
-
|
2006 |
-
#: link-library-admin.php:3854
|
2007 |
-
msgid "Add nofollow tag to outgoing links"
|
2008 |
-
msgstr "Legg til følgende tag i utgående lenker"
|
2009 |
-
|
2010 |
-
#: link-library-admin.php:3861
|
2011 |
-
msgid "Show edit links when logged in as editor or administrator"
|
2012 |
-
msgstr ""
|
2013 |
-
"Vis redigeringsknapp for lenker for innloggende administrator eller redaktør"
|
2014 |
-
|
2015 |
-
#: link-library-admin.php:3869
|
2016 |
-
msgid "Show link name when no image is assigned"
|
2017 |
-
msgstr "Vis lenkenavn når ikke illustrasjonsbilde er brukt"
|
2018 |
-
|
2019 |
-
#: link-library-admin.php:3876
|
2020 |
-
msgid "Do not output fields with no value"
|
2021 |
-
msgstr "Ikke vis felt som ikke er utfylt"
|
2022 |
-
|
2023 |
-
#: link-library-admin.php:3894
|
2024 |
-
msgid "Enable link Pop-Ups"
|
2025 |
-
msgstr "Aktivere lenke sprett-opp vindu"
|
2026 |
-
|
2027 |
-
#: link-library-admin.php:3898
|
2028 |
-
msgid "Pop-Up Width"
|
2029 |
-
msgstr "Sprett-opp vindu bredde"
|
2030 |
-
|
2031 |
-
#: link-library-admin.php:3905
|
2032 |
-
msgid "Pop-Up Height"
|
2033 |
-
msgstr "Sprett-opp vindu høyde"
|
2034 |
-
|
2035 |
-
#: link-library-admin.php:3914
|
2036 |
-
msgid "Dialog contents"
|
2037 |
-
msgstr "Dialog innhold"
|
2038 |
-
|
2039 |
-
#: link-library-admin.php:3932
|
2040 |
-
msgid "Show RSS Link using Text"
|
2041 |
-
msgstr "Vis RSS-lenke som tekst"
|
2042 |
-
|
2043 |
-
#: link-library-admin.php:3938
|
2044 |
-
msgid "Show RSS Link using Standard Icon"
|
2045 |
-
msgstr "Vis RSS-lenke med standard ikon"
|
2046 |
-
|
2047 |
-
#: link-library-admin.php:3948
|
2048 |
-
msgid "Show RSS Preview Link"
|
2049 |
-
msgstr "Vis knapp for RSS-forhåndsvisning"
|
2050 |
-
|
2051 |
-
#: link-library-admin.php:3954
|
2052 |
-
msgid "Number of articles shown in RSS Preview"
|
2053 |
-
msgstr "Antall artikler vist i RSS-forhåndsvisning"
|
2054 |
-
|
2055 |
-
#: link-library-admin.php:3960
|
2056 |
-
msgid "Show RSS Feed Headers in Link Library output"
|
2057 |
-
msgstr "Vis RSS-strøm overskrifter i Link Library visninger"
|
2058 |
-
|
2059 |
-
#: link-library-admin.php:3968
|
2060 |
-
msgid "Show RSS Feed Content in Link Library output"
|
2061 |
-
msgstr "Vis RSS-strøm innhold i Link Library visninger"
|
2062 |
-
|
2063 |
-
#: link-library-admin.php:3974
|
2064 |
-
msgid "Number of RSS articles shown in Link Library Output"
|
2065 |
-
msgstr "Antall RSS-artikler i Link Library visning"
|
2066 |
-
|
2067 |
-
#: link-library-admin.php:3979
|
2068 |
-
msgid "Max number of days since published"
|
2069 |
-
msgstr "Maks antall dager etter publisering"
|
2070 |
-
|
2071 |
-
#: link-library-admin.php:3983
|
2072 |
-
msgid "RSS Preview Width"
|
2073 |
-
msgstr "RSS forhåndsvisning bredde"
|
2074 |
-
|
2075 |
-
#: link-library-admin.php:3986
|
2076 |
-
msgid "RSS Preview Height"
|
2077 |
-
msgstr "RSS forhåndsvisning høyde"
|
2078 |
-
|
2079 |
-
#: link-library-admin.php:3988
|
2080 |
-
msgid "Skip links with no RSS inline items"
|
2081 |
-
msgstr ""
|
2082 |
-
|
2083 |
-
#: link-library-admin.php:4005
|
2084 |
-
msgid ""
|
2085 |
-
"Checking this option will get images from the Robothumb web site every time"
|
2086 |
-
msgstr ""
|
2087 |
-
|
2088 |
-
#: link-library-admin.php:4006
|
2089 |
-
msgid "Use thumbnail service for dynamic link images"
|
2090 |
-
msgstr ""
|
2091 |
-
|
2092 |
-
#: link-library-admin.php:4008
|
2093 |
-
msgid ""
|
2094 |
-
"Checking this option will get images from the thumbshots web site every time"
|
2095 |
-
msgstr ""
|
2096 |
-
|
2097 |
-
#: link-library-admin.php:4014
|
2098 |
-
msgid "Give priority to images assigned to links if present"
|
2099 |
-
msgstr ""
|
2100 |
-
|
2101 |
-
#: link-library-admin.php:4020
|
2102 |
-
msgid "Generate Images / Favorite Icons"
|
2103 |
-
msgstr "Generere bilder og ikoner"
|
2104 |
-
|
2105 |
-
#: link-library-admin.php:4022 link-library-admin.php:4764
|
2106 |
-
msgid ""
|
2107 |
-
"This button is only available when a valid API key is entered under the Link "
|
2108 |
-
"Library General Settings."
|
2109 |
-
msgstr ""
|
2110 |
-
|
2111 |
-
#: link-library-admin.php:4023
|
2112 |
-
msgid "Generate Thumbnails and Store locally"
|
2113 |
-
msgstr ""
|
2114 |
-
|
2115 |
-
#: link-library-admin.php:4026
|
2116 |
-
msgid "Generate Favorite Icons and Store locally"
|
2117 |
-
msgstr ""
|
2118 |
-
|
2119 |
-
#: link-library-admin.php:4030
|
2120 |
-
msgid "Delete all local thumbnails and icons"
|
2121 |
-
msgstr ""
|
2122 |
-
|
2123 |
-
#: link-library-admin.php:4031
|
2124 |
-
msgid "Delete all local thumbnails"
|
2125 |
-
msgstr ""
|
2126 |
-
|
2127 |
-
#: link-library-admin.php:4032
|
2128 |
-
msgid "Delete all local icons"
|
2129 |
-
msgstr ""
|
2130 |
-
|
2131 |
-
#: link-library-admin.php:4048
|
2132 |
-
msgid "Publish RSS Feed"
|
2133 |
-
msgstr ""
|
2134 |
-
|
2135 |
-
#: link-library-admin.php:4053
|
2136 |
-
msgid "Number of items in RSS feed"
|
2137 |
-
msgstr ""
|
2138 |
-
|
2139 |
-
#: link-library-admin.php:4062
|
2140 |
-
msgid "RSS Feed Title"
|
2141 |
-
msgstr "Tittel RSS-strøm"
|
2142 |
-
|
2143 |
-
#: link-library-admin.php:4068
|
2144 |
-
msgid "RSS Feed Description"
|
2145 |
-
msgstr "RSS-strøm beskrivelse"
|
2146 |
-
|
2147 |
-
#: link-library-admin.php:4074
|
2148 |
-
msgid ""
|
2149 |
-
"RSS Feed Web Address (default yoursite.com?"
|
2150 |
-
"link_library_rss_feed=1&settingset=1 )"
|
2151 |
-
msgstr ""
|
2152 |
-
|
2153 |
-
#: link-library-admin.php:4091
|
2154 |
-
msgid "Search Label"
|
2155 |
-
msgstr ""
|
2156 |
-
|
2157 |
-
#: link-library-admin.php:4100
|
2158 |
-
msgid "Search Field Initial Text"
|
2159 |
-
msgstr ""
|
2160 |
-
|
2161 |
-
#: link-library-admin.php:4109
|
2162 |
-
msgid "Search No Results Text"
|
2163 |
-
msgstr ""
|
2164 |
-
|
2165 |
-
#: link-library-admin.php:4111 link-library-defaults.php:222
|
2166 |
-
msgid "No links found matching your search criteria"
|
2167 |
-
msgstr "Ingen lenker funnet som passer til søket ditt"
|
2168 |
-
|
2169 |
-
#: link-library-admin.php:4118 link-library-admin.php:4119
|
2170 |
-
msgid "Leave empty when links are to be displayed on same page as search box"
|
2171 |
-
msgstr ""
|
2172 |
-
|
2173 |
-
#: link-library-admin.php:4118
|
2174 |
-
msgid "Results Page Address"
|
2175 |
-
msgstr "Side for visning av søkeresultater"
|
2176 |
-
|
2177 |
-
#: link-library-admin.php:4219
|
2178 |
-
msgid "Following this link shows a list of all links awaiting moderation"
|
2179 |
-
msgstr ""
|
2180 |
-
|
2181 |
-
#: link-library-admin.php:4220
|
2182 |
-
msgid "View list of links awaiting moderation"
|
2183 |
-
msgstr "Se liste over lenker som avventer moderasjon"
|
2184 |
-
|
2185 |
-
#: link-library-admin.php:4224
|
2186 |
-
msgid "Show user links immediately"
|
2187 |
-
msgstr "Vis innsendte lenker umiddelbart"
|
2188 |
-
|
2189 |
-
#: link-library-admin.php:4229
|
2190 |
-
msgid "E-mail admin on link submission"
|
2191 |
-
msgstr "Meld fra til admin på epost når nye lenker foreslås"
|
2192 |
-
|
2193 |
-
#: link-library-admin.php:4235
|
2194 |
-
msgid "Validate links with Akismet"
|
2195 |
-
msgstr "Valider med Akismet"
|
2196 |
-
|
2197 |
-
#: link-library-admin.php:4239
|
2198 |
-
msgid "E-mail submitter"
|
2199 |
-
msgstr ""
|
2200 |
-
|
2201 |
-
#: link-library-admin.php:4246
|
2202 |
-
msgid "Additional text for link submitter e-mail"
|
2203 |
-
msgstr ""
|
2204 |
-
|
2205 |
-
#: link-library-admin.php:4253
|
2206 |
-
msgid "Require login to display form"
|
2207 |
-
msgstr "Vis innsendingsskjema for nye lenker kun for innloggende brukere"
|
2208 |
-
|
2209 |
-
#: link-library-admin.php:4258
|
2210 |
-
msgid "Allow link submission with empty link"
|
2211 |
-
msgstr "Tillat innsending av skjema med tomt lenkefelt"
|
2212 |
-
|
2213 |
-
#: link-library-admin.php:4264
|
2214 |
-
msgid "Display captcha"
|
2215 |
-
msgstr "Vis Captcha"
|
2216 |
-
|
2217 |
-
#: link-library-admin.php:4269
|
2218 |
-
msgid ""
|
2219 |
-
"This function will only store data when users are logged in to Wordpress"
|
2220 |
-
msgstr "Denne funksjonen lagrer kun data når brukere er innlogget"
|
2221 |
-
|
2222 |
-
#: link-library-admin.php:4269
|
2223 |
-
msgid "Store login name on link submission"
|
2224 |
-
msgstr "Lagre innlogging ved innsending av lenke"
|
2225 |
-
|
2226 |
-
#: link-library-admin.php:4275
|
2227 |
-
msgid "Add new link label"
|
2228 |
-
msgstr ""
|
2229 |
-
|
2230 |
-
#: link-library-admin.php:4277 link-library-defaults.php:119
|
2231 |
-
#: render-link-library-addlink-sc.php:206
|
2232 |
-
msgid "Add new link"
|
2233 |
-
msgstr "Legg til ny lenke"
|
2234 |
-
|
2235 |
-
#: link-library-admin.php:4284
|
2236 |
-
msgid "Link name label"
|
2237 |
-
msgstr ""
|
2238 |
-
|
2239 |
-
#: link-library-admin.php:4294
|
2240 |
-
msgid "Link address label"
|
2241 |
-
msgstr ""
|
2242 |
-
|
2243 |
-
#: link-library-admin.php:4296 usersubmission.php:296 usersubmission.php:353
|
2244 |
-
msgid "Link Address"
|
2245 |
-
msgstr "Lenkeadresse"
|
2246 |
-
|
2247 |
-
#: link-library-admin.php:4303
|
2248 |
-
msgid "Link RSS label"
|
2249 |
-
msgstr ""
|
2250 |
-
|
2251 |
-
#: link-library-admin.php:4305 link-library-defaults.php:122
|
2252 |
-
#: render-link-library-addlink-sc.php:231 usersubmission.php:297
|
2253 |
-
#: usersubmission.php:356
|
2254 |
-
msgid "Link RSS"
|
2255 |
-
msgstr ""
|
2256 |
-
|
2257 |
-
#: link-library-admin.php:4312 link-library-admin.php:4328
|
2258 |
-
#: link-library-admin.php:4407 link-library-admin.php:4422
|
2259 |
-
#: link-library-admin.php:4453 link-library-admin.php:4468
|
2260 |
-
#: link-library-admin.php:4484 link-library-admin.php:4499
|
2261 |
-
#: link-library-admin.php:4515 link-library-admin.php:4530
|
2262 |
-
#: link-library-admin.php:4546 link-library-admin.php:4561
|
2263 |
-
#: link-library-admin.php:4577
|
2264 |
-
msgid "Hide"
|
2265 |
-
msgstr "Skjul"
|
2266 |
-
|
2267 |
-
#: link-library-admin.php:4313 link-library-admin.php:4329
|
2268 |
-
#: link-library-admin.php:4408 link-library-admin.php:4423
|
2269 |
-
#: link-library-admin.php:4454 link-library-admin.php:4469
|
2270 |
-
#: link-library-admin.php:4485 link-library-admin.php:4500
|
2271 |
-
#: link-library-admin.php:4516 link-library-admin.php:4531
|
2272 |
-
#: link-library-admin.php:4547 link-library-admin.php:4562
|
2273 |
-
#: link-library-admin.php:4578
|
2274 |
-
msgid "Show"
|
2275 |
-
msgstr "Vis"
|
2276 |
-
|
2277 |
-
#: link-library-admin.php:4314 link-library-admin.php:4409
|
2278 |
-
#: link-library-admin.php:4424 link-library-admin.php:4455
|
2279 |
-
#: link-library-admin.php:4470 link-library-admin.php:4486
|
2280 |
-
#: link-library-admin.php:4501 link-library-admin.php:4517
|
2281 |
-
#: link-library-admin.php:4532 link-library-admin.php:4548
|
2282 |
-
#: link-library-admin.php:4563
|
2283 |
-
msgid "Required"
|
2284 |
-
msgstr "Obligatorisk"
|
2285 |
-
|
2286 |
-
#: link-library-admin.php:4319
|
2287 |
-
msgid "Link category label"
|
2288 |
-
msgstr ""
|
2289 |
-
|
2290 |
-
#: link-library-admin.php:4333
|
2291 |
-
msgid ""
|
2292 |
-
"Comma-seperated list of categories to be displayed in category selection box "
|
2293 |
-
"(e.g. 1,5,4) instead of displaying the set of categories specified by the "
|
2294 |
-
"library."
|
2295 |
-
msgstr ""
|
2296 |
-
|
2297 |
-
#: link-library-admin.php:4333
|
2298 |
-
msgid "Link category override selection list"
|
2299 |
-
msgstr ""
|
2300 |
-
|
2301 |
-
#: link-library-admin.php:4334
|
2302 |
-
msgid ""
|
2303 |
-
"Comma-seperated list of categories to be displayed in category selection box "
|
2304 |
-
"(e.g. 1,5,4)"
|
2305 |
-
msgstr ""
|
2306 |
-
|
2307 |
-
#: link-library-admin.php:4339
|
2308 |
-
msgid "Default category"
|
2309 |
-
msgstr "Standard kategori"
|
2310 |
-
|
2311 |
-
#: link-library-admin.php:4374 link-library-admin.php:4376
|
2312 |
-
#: link-library-defaults.php:150
|
2313 |
-
msgid "User-submitted category"
|
2314 |
-
msgstr "Bruker-innsendt kategori"
|
2315 |
-
|
2316 |
-
#: link-library-admin.php:4383
|
2317 |
-
msgid "No"
|
2318 |
-
msgstr "Ingen"
|
2319 |
-
|
2320 |
-
#: link-library-admin.php:4384
|
2321 |
-
msgid "Allow"
|
2322 |
-
msgstr "Tillat"
|
2323 |
-
|
2324 |
-
#: link-library-admin.php:4388
|
2325 |
-
msgid "User-submitted category prompt"
|
2326 |
-
msgstr ""
|
2327 |
-
|
2328 |
-
#: link-library-admin.php:4390 link-library-defaults.php:151
|
2329 |
-
#: render-link-library-addlink-sc.php:285
|
2330 |
-
msgid "User-submitted category (define below)"
|
2331 |
-
msgstr "Bruker-innsendt kategori ( beskriv under )"
|
2332 |
-
|
2333 |
-
#: link-library-admin.php:4398
|
2334 |
-
msgid "Link description label"
|
2335 |
-
msgstr ""
|
2336 |
-
|
2337 |
-
#: link-library-admin.php:4413
|
2338 |
-
msgid "Link notes label"
|
2339 |
-
msgstr ""
|
2340 |
-
|
2341 |
-
#: link-library-admin.php:4429 link-library-admin.php:4430
|
2342 |
-
msgid "Reciprocal link must be configured for this option to work correctly"
|
2343 |
-
msgstr ""
|
2344 |
-
|
2345 |
-
#: link-library-admin.php:4429
|
2346 |
-
msgid "Show immediately if reciprocal link valid"
|
2347 |
-
msgstr ""
|
2348 |
-
|
2349 |
-
#: link-library-admin.php:4433
|
2350 |
-
msgid "Use Text Area for Notes"
|
2351 |
-
msgstr ""
|
2352 |
-
|
2353 |
-
#: link-library-admin.php:4438
|
2354 |
-
msgid "Only allow one reciprocal link per domain"
|
2355 |
-
msgstr ""
|
2356 |
-
|
2357 |
-
#: link-library-admin.php:4444
|
2358 |
-
msgid "Reciprocal Link label"
|
2359 |
-
msgstr ""
|
2360 |
-
|
2361 |
-
#: link-library-admin.php:4446 link-library-admin.php:5008
|
2362 |
-
#: link-library-defaults.php:166 render-link-library-addlink-sc.php:388
|
2363 |
-
#: usersubmission.php:302 usersubmission.php:374
|
2364 |
-
msgid "Reciprocal Link"
|
2365 |
-
msgstr ""
|
2366 |
-
|
2367 |
-
#: link-library-admin.php:4459
|
2368 |
-
msgid "Secondary Address label"
|
2369 |
-
msgstr ""
|
2370 |
-
|
2371 |
-
#: link-library-admin.php:4461 link-library-defaults.php:168
|
2372 |
-
#: render-link-library-addlink-sc.php:406
|
2373 |
-
msgid "Secondary Address"
|
2374 |
-
msgstr ""
|
2375 |
-
|
2376 |
-
#: link-library-admin.php:4475
|
2377 |
-
msgid "Link Telephone label"
|
2378 |
-
msgstr ""
|
2379 |
-
|
2380 |
-
#: link-library-admin.php:4490
|
2381 |
-
msgid "Link E-mail label"
|
2382 |
-
msgstr ""
|
2383 |
-
|
2384 |
-
#: link-library-admin.php:4506
|
2385 |
-
msgid "Link Submitter Name label"
|
2386 |
-
msgstr ""
|
2387 |
-
|
2388 |
-
#: link-library-admin.php:4521
|
2389 |
-
msgid "Link Submitter E-mail label"
|
2390 |
-
msgstr ""
|
2391 |
-
|
2392 |
-
#: link-library-admin.php:4523 link-library-admin.php:5033
|
2393 |
-
#: link-library-defaults.php:186 render-link-library-addlink-sc.php:491
|
2394 |
-
msgid "Submitter E-mail"
|
2395 |
-
msgstr "Innsenders epost"
|
2396 |
-
|
2397 |
-
#: link-library-admin.php:4537
|
2398 |
-
msgid "Link Submitter Comment Label"
|
2399 |
-
msgstr ""
|
2400 |
-
|
2401 |
-
#: link-library-admin.php:4539 link-library-defaults.php:188
|
2402 |
-
#: render-link-library-addlink-sc.php:522
|
2403 |
-
msgid "Submitter Comment"
|
2404 |
-
msgstr "Innsenders kommentarer"
|
2405 |
-
|
2406 |
-
#: link-library-admin.php:4552
|
2407 |
-
msgid "Large Description Label"
|
2408 |
-
msgstr ""
|
2409 |
-
|
2410 |
-
#: link-library-admin.php:4554 link-library-admin.php:4710
|
2411 |
-
#: link-library-defaults.php:201 render-link-library-sc.php:991
|
2412 |
-
msgid "Large Description"
|
2413 |
-
msgstr "Full beskrivelse"
|
2414 |
-
|
2415 |
-
#: link-library-admin.php:4568
|
2416 |
-
msgid "Custom Captcha Question"
|
2417 |
-
msgstr "Egendefinert Captcha spørsmål"
|
2418 |
-
|
2419 |
-
#: link-library-admin.php:4570 link-library-defaults.php:195
|
2420 |
-
#: render-link-library-addlink-sc.php:540
|
2421 |
-
msgid "Is boiling water hot or cold?"
|
2422 |
-
msgstr "Er kokende vann varmt eller kaldt?"
|
2423 |
-
|
2424 |
-
#: link-library-admin.php:4582
|
2425 |
-
msgid "Custom Captcha Answer"
|
2426 |
-
msgstr "Egendefinert Captcha svar"
|
2427 |
-
|
2428 |
-
#: link-library-admin.php:4584 link-library-defaults.php:196
|
2429 |
-
msgid "hot"
|
2430 |
-
msgstr "varmt"
|
2431 |
-
|
2432 |
-
#: link-library-admin.php:4591
|
2433 |
-
msgid "Add Link button label"
|
2434 |
-
msgstr "Navn på lenkeknapp"
|
2435 |
-
|
2436 |
-
#: link-library-admin.php:4593 link-library-defaults.php:126
|
2437 |
-
msgid "Add Link"
|
2438 |
-
msgstr "Legg til lenke"
|
2439 |
-
|
2440 |
-
#: link-library-admin.php:4600
|
2441 |
-
msgid "New Link Message"
|
2442 |
-
msgstr "Ny lenke - beskjed"
|
2443 |
-
|
2444 |
-
#: link-library-admin.php:4602
|
2445 |
-
msgid "New link submitted"
|
2446 |
-
msgstr "Ny lenke sendt"
|
2447 |
-
|
2448 |
-
#: link-library-admin.php:4609
|
2449 |
-
msgid "New Link Moderation Label"
|
2450 |
-
msgstr ""
|
2451 |
-
|
2452 |
-
#: link-library-admin.php:4611
|
2453 |
-
msgid "it will appear in the list once moderated. Thank you."
|
2454 |
-
msgstr ""
|
2455 |
-
"den vil bli lagt til på nettstedet så snart den er godkjent. Takk for ditt "
|
2456 |
-
"bidrag."
|
2457 |
-
|
2458 |
-
#: link-library-admin.php:4632
|
2459 |
-
msgid "Overwrites current library settings with contents of CSV file"
|
2460 |
-
msgstr "Overskrive gjeldene bibliotek-innstillinger med innholdet i CSV-fil"
|
2461 |
-
|
2462 |
-
#: link-library-admin.php:4632
|
2463 |
-
msgid "Library Settings CSV file to import"
|
2464 |
-
msgstr ""
|
2465 |
-
|
2466 |
-
#: link-library-admin.php:4635
|
2467 |
-
msgid "Import Library Settings"
|
2468 |
-
msgstr ""
|
2469 |
-
|
2470 |
-
#: link-library-admin.php:4639
|
2471 |
-
msgid "Generates CSV file with current library configuration for download"
|
2472 |
-
msgstr ""
|
2473 |
-
|
2474 |
-
#: link-library-admin.php:4639
|
2475 |
-
msgid "Export current library settings"
|
2476 |
-
msgstr ""
|
2477 |
-
|
2478 |
-
#: link-library-admin.php:4641
|
2479 |
-
msgid "Export Library Settings"
|
2480 |
-
msgstr ""
|
2481 |
-
|
2482 |
-
#: link-library-admin.php:4654
|
2483 |
-
msgid "Search string"
|
2484 |
-
msgstr "Søkestreng"
|
2485 |
-
|
2486 |
-
#: link-library-admin.php:4660
|
2487 |
-
msgid "Delete links that return a 403 error"
|
2488 |
-
msgstr "Fjern lenker som returnerer 403 error"
|
2489 |
-
|
2490 |
-
#: link-library-admin.php:4666
|
2491 |
-
msgid "Check Reciprocal Links"
|
2492 |
-
msgstr ""
|
2493 |
-
|
2494 |
-
#: link-library-admin.php:4672
|
2495 |
-
msgid "Check Broken Links"
|
2496 |
-
msgstr ""
|
2497 |
-
|
2498 |
-
#: link-library-admin.php:4677
|
2499 |
-
msgid "Check Duplicate Links"
|
2500 |
-
msgstr ""
|
2501 |
-
|
2502 |
-
#: link-library-admin.php:4722
|
2503 |
-
msgid "RSS Address"
|
2504 |
-
msgstr "RSS adresse"
|
2505 |
-
|
2506 |
-
#: link-library-admin.php:4726
|
2507 |
-
msgid "Target"
|
2508 |
-
msgstr ""
|
2509 |
-
|
2510 |
-
#: link-library-admin.php:4745
|
2511 |
-
msgid "Current Image"
|
2512 |
-
msgstr ""
|
2513 |
-
|
2514 |
-
#: link-library-admin.php:4751
|
2515 |
-
msgid "None Assigned"
|
2516 |
-
msgstr ""
|
2517 |
-
|
2518 |
-
#: link-library-admin.php:4757
|
2519 |
-
msgid "Image URL"
|
2520 |
-
msgstr "Bilde URL"
|
2521 |
-
|
2522 |
-
#: link-library-admin.php:4762 link-library-admin.php:4772
|
2523 |
-
msgid "Automatic Image Generation"
|
2524 |
-
msgstr ""
|
2525 |
-
|
2526 |
-
#: link-library-admin.php:4766
|
2527 |
-
msgid "Generate Thumbnail and Store locally"
|
2528 |
-
msgstr ""
|
2529 |
-
|
2530 |
-
#: link-library-admin.php:4767
|
2531 |
-
msgid "Generate Favorite Icon and Store locally"
|
2532 |
-
msgstr ""
|
2533 |
-
|
2534 |
-
#: link-library-admin.php:4773
|
2535 |
-
msgid "Only available once link is saved"
|
2536 |
-
msgstr ""
|
2537 |
-
|
2538 |
-
#: link-library-admin.php:4778
|
2539 |
-
msgid "Image Upload"
|
2540 |
-
msgstr ""
|
2541 |
-
|
2542 |
-
#: link-library-admin.php:4780
|
2543 |
-
msgid "Launch Media Uploader"
|
2544 |
-
msgstr ""
|
2545 |
-
|
2546 |
-
#: link-library-admin.php:4877
|
2547 |
-
msgid ""
|
2548 |
-
"Cannot generate thumbnail when no name and no web address are specified."
|
2549 |
-
msgstr ""
|
2550 |
-
|
2551 |
-
#: link-library-admin.php:4913
|
2552 |
-
msgid ""
|
2553 |
-
"Cannot generate favorite icon when no name and no web address are specified."
|
2554 |
-
msgstr ""
|
2555 |
-
|
2556 |
-
#: link-library-admin.php:4958
|
2557 |
-
msgid "Featured Item"
|
2558 |
-
msgstr ""
|
2559 |
-
|
2560 |
-
#: link-library-admin.php:4964
|
2561 |
-
msgid "No Follow"
|
2562 |
-
msgstr ""
|
2563 |
-
|
2564 |
-
#: link-library-admin.php:4980
|
2565 |
-
msgid "Updated Date"
|
2566 |
-
msgstr ""
|
2567 |
-
|
2568 |
-
#: link-library-admin.php:4989
|
2569 |
-
msgid "Secondary Web Address"
|
2570 |
-
msgstr "Sekundær webadresse"
|
2571 |
-
|
2572 |
-
#: link-library-admin.php:4992 link-library-admin.php:5011
|
2573 |
-
msgid "Visit"
|
2574 |
-
msgstr "Besøk"
|
2575 |
-
|
2576 |
-
#: link-library-admin.php:5015
|
2577 |
-
msgid "Number of views"
|
2578 |
-
msgstr "Antall visninger"
|
2579 |
-
|
2580 |
-
#: link-library-admin.php:5021
|
2581 |
-
msgid "Submitter"
|
2582 |
-
msgstr "Innsender"
|
2583 |
-
|
2584 |
-
#: link-library-admin.php:5561
|
2585 |
-
msgid "Duplicate Link Checker Report"
|
2586 |
-
msgstr ""
|
2587 |
-
|
2588 |
-
#: link-library-admin.php:5563
|
2589 |
-
msgid "Duplicate URLs"
|
2590 |
-
msgstr ""
|
2591 |
-
|
2592 |
-
#: link-library-admin.php:5579
|
2593 |
-
msgid "Duplicate Names"
|
2594 |
-
msgstr ""
|
2595 |
-
|
2596 |
-
#: link-library-admin.php:5622
|
2597 |
-
msgid "Reciprocal Link Checker Report"
|
2598 |
-
msgstr ""
|
2599 |
-
|
2600 |
-
#: link-library-admin.php:5624
|
2601 |
-
msgid "Broken Link Checker Report"
|
2602 |
-
msgstr ""
|
2603 |
-
|
2604 |
-
#: link-library-admin.php:5640
|
2605 |
-
msgid "Not Found"
|
2606 |
-
msgstr ""
|
2607 |
-
|
2608 |
-
#: link-library-admin.php:5642
|
2609 |
-
msgid "OK"
|
2610 |
-
msgstr "OK"
|
2611 |
-
|
2612 |
-
#: link-library-admin.php:5644
|
2613 |
-
msgid "Link valid"
|
2614 |
-
msgstr ""
|
2615 |
-
|
2616 |
-
#: link-library-admin.php:5647
|
2617 |
-
msgid "Error 403: Link Deleted"
|
2618 |
-
msgstr "Error 403: Lenke oppdaget"
|
2619 |
-
|
2620 |
-
#: link-library-admin.php:5649
|
2621 |
-
msgid "Error 403"
|
2622 |
-
msgstr "Error 403"
|
2623 |
-
|
2624 |
-
#: link-library-admin.php:5651
|
2625 |
-
msgid "Website Unreachable"
|
2626 |
-
msgstr ""
|
2627 |
-
|
2628 |
-
#: link-library-admin.php:5655
|
2629 |
-
msgid "There are no links with reciprocal links associated with them"
|
2630 |
-
msgstr ""
|
2631 |
-
|
2632 |
-
# Plugin name; please avoid translating if possible
|
2633 |
-
#: link-library-admin.php:5661
|
2634 |
-
msgid "Add Link Library Shortcode"
|
2635 |
-
msgstr "Sett inn Link Library shortcode"
|
2636 |
-
|
2637 |
-
#: link-library-defaults.php:120 render-link-library-addlink-sc.php:214
|
2638 |
-
msgid "Link name"
|
2639 |
-
msgstr "Lenke - Navn"
|
2640 |
-
|
2641 |
-
#: link-library-defaults.php:121 render-link-library-addlink-sc.php:220
|
2642 |
-
msgid "Link address"
|
2643 |
-
msgstr "Lenke - Adresse"
|
2644 |
-
|
2645 |
-
#: link-library-defaults.php:127
|
2646 |
-
msgid "New link submitted."
|
2647 |
-
msgstr "Ny lenke sendt inn"
|
2648 |
-
|
2649 |
-
#: link-library-defaults.php:128
|
2650 |
-
msgid "It will appear in the list once moderated. Thank you."
|
2651 |
-
msgstr ""
|
2652 |
-
"Dersom lenken godkjennes vil den legges til i biblioteket. Takk for ditt "
|
2653 |
-
"bidrag."
|
2654 |
-
|
2655 |
-
#: link-library-defaults.php:145
|
2656 |
-
msgid "Link Library-Generated RSS Feed"
|
2657 |
-
msgstr ""
|
2658 |
-
|
2659 |
-
#: link-library-defaults.php:146
|
2660 |
-
msgid "Description of Link Library-Generated Feed"
|
2661 |
-
msgstr ""
|
2662 |
-
|
2663 |
-
#: link-library-defaults.php:208 linkpopup.php:66
|
2664 |
-
msgid "%link_image%<br />Click through to visit %link_name%."
|
2665 |
-
msgstr "%link_image%<br />Klikk for å besøke %link_name%."
|
2666 |
-
|
2667 |
-
#: link-library-defaults.php:221
|
2668 |
-
msgid "Search..."
|
2669 |
-
msgstr "Søk..."
|
2670 |
-
|
2671 |
-
#: link-library-defaults.php:223
|
2672 |
-
msgid "Category Filter"
|
2673 |
-
msgstr "Kategori - Filter"
|
2674 |
-
|
2675 |
-
#: link-library.php:532
|
2676 |
-
msgid "Link Library Generated Feed"
|
2677 |
-
msgstr ""
|
2678 |
-
|
2679 |
-
#: link-library.php:720
|
2680 |
-
msgid "Could not update link in the database"
|
2681 |
-
msgstr ""
|
2682 |
-
|
2683 |
-
#: link-library.php:727
|
2684 |
-
msgid "Could not insert link into the database"
|
2685 |
-
msgstr ""
|
2686 |
-
|
2687 |
-
#: link-library.php:749 link-library.php:753
|
2688 |
-
msgid ""
|
2689 |
-
"Link Library no longer supports calling this function with individual "
|
2690 |
-
"arguments. Please use the admin panel to configure Link Library and the "
|
2691 |
-
"do_shortcode function to use Link Library output in your code."
|
2692 |
-
msgstr ""
|
2693 |
-
|
2694 |
-
#: link-library.php:892
|
2695 |
-
msgid "Tag"
|
2696 |
-
msgstr ""
|
2697 |
-
|
2698 |
-
#: render-link-library-addlink-sc.php:134
|
2699 |
-
msgid "Confirm code not given"
|
2700 |
-
msgstr "Bekreftelseskode ikke angitt"
|
2701 |
-
|
2702 |
-
#: render-link-library-addlink-sc.php:136
|
2703 |
-
msgid "Captcha code is wrong"
|
2704 |
-
msgstr "Feil Captcha-kode"
|
2705 |
-
|
2706 |
-
#: render-link-library-addlink-sc.php:138
|
2707 |
-
msgid "Captcha code is only valid for 5 minutes"
|
2708 |
-
msgstr "Captcha-koden er kun gyldig i fem minutter"
|
2709 |
-
|
2710 |
-
#: render-link-library-addlink-sc.php:140
|
2711 |
-
msgid "No captcha cookie given. Make sure cookies are enabled"
|
2712 |
-
msgstr ""
|
2713 |
-
|
2714 |
-
#: render-link-library-addlink-sc.php:142
|
2715 |
-
msgid "Captcha answer was not provided."
|
2716 |
-
msgstr "Captcha - svar ikke angitt"
|
2717 |
-
|
2718 |
-
#: render-link-library-addlink-sc.php:144
|
2719 |
-
msgid "Captcha answer is incorrect"
|
2720 |
-
msgstr "Captcha - svaret er ikke korrekt"
|
2721 |
-
|
2722 |
-
#: render-link-library-addlink-sc.php:146
|
2723 |
-
msgid "User Category was not provided correctly. Link insertion failed."
|
2724 |
-
msgstr ""
|
2725 |
-
|
2726 |
-
#: render-link-library-addlink-sc.php:154
|
2727 |
-
msgid "Error: Link does not have an address."
|
2728 |
-
msgstr "Feilmelding : Lenken har ingen adresse"
|
2729 |
-
|
2730 |
-
#: render-link-library-addlink-sc.php:156
|
2731 |
-
msgid "Error: Link already exists."
|
2732 |
-
msgstr "Feilmelding : Lenken eksisterer allerede"
|
2733 |
-
|
2734 |
-
#: render-link-library-addlink-sc.php:158
|
2735 |
-
#: render-link-library-addlink-sc.php:160
|
2736 |
-
#: render-link-library-addlink-sc.php:162
|
2737 |
-
#: render-link-library-addlink-sc.php:164
|
2738 |
-
#: render-link-library-addlink-sc.php:166
|
2739 |
-
#: render-link-library-addlink-sc.php:168
|
2740 |
-
#: render-link-library-addlink-sc.php:170
|
2741 |
-
#: render-link-library-addlink-sc.php:172
|
2742 |
-
#: render-link-library-addlink-sc.php:174
|
2743 |
-
#: render-link-library-addlink-sc.php:176
|
2744 |
-
#: render-link-library-addlink-sc.php:178
|
2745 |
-
msgid " is a required field"
|
2746 |
-
msgstr " er et obligatorisk felt"
|
2747 |
-
|
2748 |
-
#: render-link-library-addlink-sc.php:180
|
2749 |
-
msgid "Link submission error"
|
2750 |
-
msgstr "Feil ved innsending av lenke"
|
2751 |
-
|
2752 |
-
#: render-link-library-addlink-sc.php:182
|
2753 |
-
msgid "Link rejected. There is already a site with this reciprocal link."
|
2754 |
-
msgstr ""
|
2755 |
-
|
2756 |
-
#: render-link-library-addlink-sc.php:217
|
2757 |
-
#: render-link-library-addlink-sc.php:278
|
2758 |
-
#: render-link-library-addlink-sc.php:344
|
2759 |
-
#: render-link-library-addlink-sc.php:361
|
2760 |
-
#: render-link-library-addlink-sc.php:369
|
2761 |
-
#: render-link-library-addlink-sc.php:417
|
2762 |
-
#: render-link-library-addlink-sc.php:435
|
2763 |
-
#: render-link-library-addlink-sc.php:528
|
2764 |
-
#: render-link-library-addlink-sc.php:543
|
2765 |
-
msgid "Required field"
|
2766 |
-
msgstr "Obligatorisk felt"
|
2767 |
-
|
2768 |
-
#: render-link-library-addlink-sc.php:225
|
2769 |
-
msgid "Required field, URL"
|
2770 |
-
msgstr "Obligatorisk felt, URL"
|
2771 |
-
|
2772 |
-
#: render-link-library-addlink-sc.php:242
|
2773 |
-
#: render-link-library-addlink-sc.php:331
|
2774 |
-
#: render-link-library-addlink-sc.php:399
|
2775 |
-
msgid "Required field, 1-255 chars"
|
2776 |
-
msgstr "Obligatorisk felt, 1 - 255 tegn"
|
2777 |
-
|
2778 |
-
#: render-link-library-addlink-sc.php:274
|
2779 |
-
msgid "Link category"
|
2780 |
-
msgstr "Lenke - Kategori"
|
2781 |
-
|
2782 |
-
#: render-link-library-addlink-sc.php:281
|
2783 |
-
msgid "Select a category"
|
2784 |
-
msgstr "Velg en kategori"
|
2785 |
-
|
2786 |
-
#: render-link-library-addlink-sc.php:320
|
2787 |
-
msgid "Link description"
|
2788 |
-
msgstr "Lenke - Beskrivelse"
|
2789 |
-
|
2790 |
-
#: render-link-library-addlink-sc.php:338
|
2791 |
-
msgid "Large description"
|
2792 |
-
msgstr "Full beskrivelse"
|
2793 |
-
|
2794 |
-
#: render-link-library-addlink-sc.php:352
|
2795 |
-
msgid "Link notes"
|
2796 |
-
msgstr "Lenke - Notater"
|
2797 |
-
|
2798 |
-
#: render-link-library-addlink-sc.php:453
|
2799 |
-
msgid "Required field, proper e-mail, 1-128 chars"
|
2800 |
-
msgstr "Obligatorisk felt, gyldig epostadresse, 1 - 128 tegn"
|
2801 |
-
|
2802 |
-
#: render-link-library-addlink-sc.php:484
|
2803 |
-
#: render-link-library-addlink-sc.php:515
|
2804 |
-
msgid "Required field, 1-128 chars"
|
2805 |
-
msgstr "Obligatorisk felt, 1 - 128 tegn"
|
2806 |
-
|
2807 |
-
#: render-link-library-addlink-sc.php:549
|
2808 |
-
msgid "Add link"
|
2809 |
-
msgstr "Legg til lenke"
|
2810 |
-
|
2811 |
-
#: render-link-library-addlink-sc.php:561
|
2812 |
-
msgid "Form submission failed!"
|
2813 |
-
msgstr "Feil ved innsending av skjemaet!"
|
2814 |
-
|
2815 |
-
#: render-link-library-addlink-sc.php:562
|
2816 |
-
msgid "You have not answered all required fields"
|
2817 |
-
msgstr "Du har ikke fylt inn alle obligatoriske felt"
|
2818 |
-
|
2819 |
-
#: render-link-library-addlink-sc.php:563
|
2820 |
-
msgid "You have not given a correct time"
|
2821 |
-
msgstr "Du har ikke oppgitt riktig tidspunkt"
|
2822 |
-
|
2823 |
-
#: render-link-library-addlink-sc.php:564
|
2824 |
-
msgid "You have not given a correct e-mail address"
|
2825 |
-
msgstr "Du har ikke oppgitt en gyldig epostadresse"
|
2826 |
-
|
2827 |
-
#: render-link-library-addlink-sc.php:565
|
2828 |
-
msgid "You have not given a correct phone number"
|
2829 |
-
msgstr "Du har ikke oppgitt et gyldig telefonnummer"
|
2830 |
-
|
2831 |
-
#: render-link-library-addlink-sc.php:566
|
2832 |
-
msgid "You have not given a correct answer to the security question"
|
2833 |
-
msgstr "Du har ikke oppgitt riktig svar på sikkerhetsspørsmålet"
|
2834 |
-
|
2835 |
-
#: render-link-library-addlink-sc.php:567
|
2836 |
-
msgid "You have not given a correct date"
|
2837 |
-
msgstr "Du har ikke oppgitt riktig dato"
|
2838 |
-
|
2839 |
-
#: render-link-library-addlink-sc.php:568
|
2840 |
-
msgid "The input value must be between "
|
2841 |
-
msgstr "Verdien må være mellom"
|
2842 |
-
|
2843 |
-
#: render-link-library-addlink-sc.php:569
|
2844 |
-
msgid "characters"
|
2845 |
-
msgstr "tegn"
|
2846 |
-
|
2847 |
-
#: render-link-library-addlink-sc.php:570
|
2848 |
-
msgid "The input value is longer than "
|
2849 |
-
msgstr "Verdien overstiger "
|
2850 |
-
|
2851 |
-
#: render-link-library-addlink-sc.php:571
|
2852 |
-
msgid "The input value is shorter than "
|
2853 |
-
msgstr "Verdien er kortere enn"
|
2854 |
-
|
2855 |
-
#: render-link-library-addlink-sc.php:572
|
2856 |
-
msgid "Input values could not be confirmed"
|
2857 |
-
msgstr "Inntastede verdier kunne ikke bekreftes"
|
2858 |
-
|
2859 |
-
#: render-link-library-addlink-sc.php:573
|
2860 |
-
msgid "Incorrect domain value"
|
2861 |
-
msgstr "Ikke gyldig domene"
|
2862 |
-
|
2863 |
-
#: render-link-library-addlink-sc.php:574
|
2864 |
-
msgid "The input value is not a correct URL. Requires http://."
|
2865 |
-
msgstr "Ikke godkjent verdig. Krever http://."
|
2866 |
-
|
2867 |
-
#: render-link-library-addlink-sc.php:575
|
2868 |
-
msgid "The input value is incorrect"
|
2869 |
-
msgstr ""
|
2870 |
-
|
2871 |
-
#: render-link-library-addlink-sc.php:576
|
2872 |
-
msgid " and spaces "
|
2873 |
-
msgstr " og mellomrom "
|
2874 |
-
|
2875 |
-
#: render-link-library-addlink-sc.php:577
|
2876 |
-
msgid "The input value was not a correct number"
|
2877 |
-
msgstr "Inntasted verdi er ikke et gyldig nummer"
|
2878 |
-
|
2879 |
-
#: render-link-library-addlink-sc.php:578
|
2880 |
-
msgid "Your social security number was incorrect"
|
2881 |
-
msgstr ""
|
2882 |
-
|
2883 |
-
#: render-link-library-addlink-sc.php:579
|
2884 |
-
msgid "Incorrect UK VAT Number"
|
2885 |
-
msgstr ""
|
2886 |
-
|
2887 |
-
#: render-link-library-addlink-sc.php:580
|
2888 |
-
msgid "The password is not strong enough"
|
2889 |
-
msgstr "Passordet er ikke sterkt nok"
|
2890 |
-
|
2891 |
-
#: render-link-library-addlink-sc.php:581
|
2892 |
-
msgid "You have to choose at least "
|
2893 |
-
msgstr "Du må velge minst "
|
2894 |
-
|
2895 |
-
#: render-link-library-addlink-sc.php:582
|
2896 |
-
msgid " answers"
|
2897 |
-
msgstr " svar"
|
2898 |
-
|
2899 |
-
#: render-link-library-addlink-sc.php:583
|
2900 |
-
msgid "The input value can only contain alphanumeric characters "
|
2901 |
-
msgstr ""
|
2902 |
-
|
2903 |
-
#: render-link-library-addlink-sc.php:584
|
2904 |
-
msgid " and "
|
2905 |
-
msgstr " og "
|
2906 |
-
|
2907 |
-
#: render-link-library-addlink-sc.php:585
|
2908 |
-
#, php-format
|
2909 |
-
msgid "The file you are trying to upload is too large (max %s)"
|
2910 |
-
msgstr "Filen du forsøker å laste opp er for stor (max %s)"
|
2911 |
-
|
2912 |
-
#: render-link-library-addlink-sc.php:586
|
2913 |
-
#, php-format
|
2914 |
-
msgid "Only files of type %s is allowed"
|
2915 |
-
msgstr "Kun filer av typen %s tillates"
|
2916 |
-
|
2917 |
-
#: render-link-library-addlink-sc.php:587
|
2918 |
-
msgid "Please choose between "
|
2919 |
-
msgstr "Velg mellom "
|
2920 |
-
|
2921 |
-
#: render-link-library-addlink-sc.php:588
|
2922 |
-
msgid "Please choose at least "
|
2923 |
-
msgstr "Velg minst"
|
2924 |
-
|
2925 |
-
#: render-link-library-addlink-sc.php:589
|
2926 |
-
msgid "Please choose a maximum of "
|
2927 |
-
msgstr "Velg maksimalt "
|
2928 |
-
|
2929 |
-
#: render-link-library-addlink-sc.php:590
|
2930 |
-
msgid " item(s)"
|
2931 |
-
msgstr " element(er)"
|
2932 |
-
|
2933 |
-
#: render-link-library-addlink-sc.php:591
|
2934 |
-
msgid "The credit card number is not correct"
|
2935 |
-
msgstr ""
|
2936 |
-
|
2937 |
-
#: render-link-library-addlink-sc.php:592
|
2938 |
-
msgid "The CVV number was not correct"
|
2939 |
-
msgstr ""
|
2940 |
-
|
2941 |
-
#: render-link-library-addlink-sc.php:593
|
2942 |
-
msgid "Incorrect image dimensions,"
|
2943 |
-
msgstr ""
|
2944 |
-
|
2945 |
-
#: render-link-library-addlink-sc.php:594
|
2946 |
-
msgid "the image can not be taller than"
|
2947 |
-
msgstr "bildet kan ikke være høyere enn"
|
2948 |
-
|
2949 |
-
#: render-link-library-addlink-sc.php:595
|
2950 |
-
msgid "the image can not be wider than"
|
2951 |
-
msgstr "bildet kan ikke være bredere enn"
|
2952 |
-
|
2953 |
-
#: render-link-library-addlink-sc.php:596
|
2954 |
-
msgid "the image was too small"
|
2955 |
-
msgstr "bildet er for lite"
|
2956 |
-
|
2957 |
-
#: render-link-library-addlink-sc.php:597
|
2958 |
-
msgid "min"
|
2959 |
-
msgstr "min"
|
2960 |
-
|
2961 |
-
#: render-link-library-addlink-sc.php:598
|
2962 |
-
msgid "max"
|
2963 |
-
msgstr "maks"
|
2964 |
-
|
2965 |
-
#: render-link-library-addlink-sc.php:599
|
2966 |
-
msgid "Image ratio is not accepted"
|
2967 |
-
msgstr ""
|
2968 |
-
|
2969 |
-
#: render-link-library-addlink-sc.php:622
|
2970 |
-
msgid "Enter code from above image"
|
2971 |
-
msgstr "Sett inn koden fra bildet over"
|
2972 |
-
|
2973 |
-
#: render-link-library-cats-sc.php:409
|
2974 |
-
msgid "Go!"
|
2975 |
-
msgstr "Kjør!"
|
2976 |
-
|
2977 |
-
#: render-link-library-cats-sc.php:438
|
2978 |
-
msgid "No categories found"
|
2979 |
-
msgstr "Ingen kategorier funnet"
|
2980 |
-
|
2981 |
-
#: render-link-library-sc.php:115 render-link-library-sc.php:118
|
2982 |
-
#: render-link-library-sc.php:131 render-link-library-sc.php:137
|
2983 |
-
msgid "Previous"
|
2984 |
-
msgstr "Forrige"
|
2985 |
-
|
2986 |
-
#: render-link-library-sc.php:206 render-link-library-sc.php:209
|
2987 |
-
#: render-link-library-sc.php:215 render-link-library-sc.php:222
|
2988 |
-
msgid "Next"
|
2989 |
-
msgstr "Neste"
|
2990 |
-
|
2991 |
-
#: render-link-library-sc.php:572
|
2992 |
-
msgid "Search Results for"
|
2993 |
-
msgstr "Søkeresultater for"
|
2994 |
-
|
2995 |
-
#: render-link-library-sc.php:1080
|
2996 |
-
msgid "No links found"
|
2997 |
-
msgstr "Ingen lenker funnet"
|
2998 |
-
|
2999 |
-
#: render-link-library-sc.php:1248
|
3000 |
-
msgid "Last updated"
|
3001 |
-
msgstr "Sist oppdatert"
|
3002 |
-
|
3003 |
-
#: render-link-library-sc.php:1396
|
3004 |
-
msgid "Edit"
|
3005 |
-
msgstr "Redigere"
|
3006 |
-
|
3007 |
-
#: render-link-library-sc.php:1480
|
3008 |
-
msgid "Preview of RSS feed for"
|
3009 |
-
msgstr ""
|
3010 |
-
|
3011 |
-
#: render-link-library-sc.php:1784
|
3012 |
-
msgid "Free"
|
3013 |
-
msgstr "Gratis"
|
3014 |
-
|
3015 |
-
#: render-link-library-tag-filter-sc.php:87
|
3016 |
-
msgid "Apply filter"
|
3017 |
-
msgstr "Aktiver filter"
|
3018 |
-
|
3019 |
-
#: usersubmission.php:294
|
3020 |
-
msgid "A user submitted a new link to your Wordpress Link database."
|
3021 |
-
msgstr ""
|
3022 |
-
"En bruker har sendt inn en forslag på en ny lenke for din Wordpress database."
|
3023 |
-
|
3024 |
-
#: usersubmission.php:303 usersubmission.php:378
|
3025 |
-
msgid "Link Secondary Address"
|
3026 |
-
msgstr ""
|
3027 |
-
|
3028 |
-
#: usersubmission.php:304 usersubmission.php:382
|
3029 |
-
msgid "Link Telephone"
|
3030 |
-
msgstr ""
|
3031 |
-
|
3032 |
-
#: usersubmission.php:305 usersubmission.php:386
|
3033 |
-
msgid "Link E-mail"
|
3034 |
-
msgstr ""
|
3035 |
-
|
3036 |
-
#: usersubmission.php:306
|
3037 |
-
msgid "Link Submitter"
|
3038 |
-
msgstr ""
|
3039 |
-
|
3040 |
-
#: usersubmission.php:307 usersubmission.php:390
|
3041 |
-
msgid "Link Submitter Name"
|
3042 |
-
msgstr ""
|
3043 |
-
|
3044 |
-
#: usersubmission.php:308 usersubmission.php:394
|
3045 |
-
msgid "Link Submitter E-mail"
|
3046 |
-
msgstr ""
|
3047 |
-
|
3048 |
-
#: usersubmission.php:309 usersubmission.php:398
|
3049 |
-
msgid "Link Comment"
|
3050 |
-
msgstr ""
|
3051 |
-
|
3052 |
-
#: usersubmission.php:323
|
3053 |
-
msgid "New link added"
|
3054 |
-
msgstr ""
|
3055 |
-
|
3056 |
-
#: usersubmission.php:337
|
3057 |
-
msgid "Link Submission Confirmation"
|
3058 |
-
msgstr "Innsendt lenke bekreftet"
|
3059 |
-
|
3060 |
-
#: usersubmission.php:339
|
3061 |
-
msgid "Thank you for your link submission on "
|
3062 |
-
msgstr "Takk for ditt innsendte forslag"
|
3063 |
-
|
3064 |
-
#: usersubmission.php:343
|
3065 |
-
msgid "Your link will appear once approved by the site administrator."
|
3066 |
-
msgstr "Lenken må godkjennes av moderator før den publiseres på nettsiden."
|
3067 |
-
|
3068 |
-
#: usersubmission.php:345
|
3069 |
-
msgid "Your link will immediately be added to the site."
|
3070 |
-
msgstr "Din lenke vil umiddelbart bli lagt til på nettsiden."
|
3071 |
-
|
3072 |
-
#: wp_dropdown_posts.php:121
|
3073 |
-
#, php-format
|
3074 |
-
msgid "#%d (no title)"
|
3075 |
-
msgstr "#%d (ingen tittel)"
|
3076 |
-
|
3077 |
-
msgid "Filters"
|
3078 |
-
msgstr "Filter"
|
3079 |
-
|
3080 |
-
#~ msgid "Link Library - Additional Link Parameters"
|
3081 |
-
#~ msgstr "Link Library - Paramètres Additionels"
|
3082 |
-
|
3083 |
-
#~ msgid "Settings"
|
3084 |
-
#~ msgstr "Configuration"
|
3085 |
-
|
3086 |
-
#~ msgid "Reciprocal and Broken Link Checker"
|
3087 |
-
#~ msgstr "Vérificateur de liens et de liens réciproques"
|
3088 |
-
|
3089 |
-
#~ msgid "Reciprocal Link Checker"
|
3090 |
-
#~ msgstr "Vérificateur de liens réciproques"
|
3091 |
-
|
3092 |
-
#~ msgid "Download exported links"
|
3093 |
-
#~ msgstr "Télécharger les liens exportés"
|
3094 |
-
|
3095 |
-
#~ msgid "Library Settings Exported"
|
3096 |
-
#~ msgstr "Configuration de librairie exportée"
|
3097 |
-
|
3098 |
-
#~ msgid "Download here"
|
3099 |
-
#~ msgstr "Récupérer ici"
|
3100 |
-
|
3101 |
-
#~ msgid "Validate all submitted links with Akismet"
|
3102 |
-
#~ msgstr "Valider les liens proposés avec Akismet"
|
3103 |
-
|
3104 |
-
#~ msgid "Link Column Header"
|
3105 |
-
#~ msgstr "Entête de colonne de lien"
|
3106 |
-
|
3107 |
-
#~ msgid "Description Column Header"
|
3108 |
-
#~ msgstr "Entête de colonne pour les descriptions"
|
3109 |
-
|
3110 |
-
#~ msgid "Notes Column Header"
|
3111 |
-
#~ msgstr "Entête de la colonne des notes"
|
3112 |
-
|
3113 |
-
#~ msgid "Web Address Only"
|
3114 |
-
#~ msgstr "Seulement une adresse Web"
|
3115 |
-
|
3116 |
-
#~ msgid "Featured Link"
|
3117 |
-
#~ msgstr "Lien vedette"
|
3118 |
-
|
3119 |
-
#~ msgid ""
|
3120 |
-
#~ "Manual upload requires a wp-content\\uploads directory to be present with "
|
3121 |
-
#~ "write permissions"
|
3122 |
-
#~ msgstr ""
|
3123 |
-
#~ "Le téléchargement manuel requiert la présence du répertoire wp-content"
|
3124 |
-
#~ "\\uploads avec des permissions d'écriture"
|
3125 |
-
|
3126 |
-
#~ msgid "Participate in the Link Library User Survey"
|
3127 |
-
#~ msgstr "Particciper au sondage des utilisateurs de Link Library"
|
3128 |
-
|
3129 |
-
#~ msgid ""
|
3130 |
-
#~ "10 short questions to help shape future versions of Link Library and "
|
3131 |
-
#~ "inform decisions on migrating its content to Custom Post Types for data "
|
3132 |
-
#~ "storage. Important to users who use multiple link management plugins."
|
3133 |
-
#~ msgstr ""
|
3134 |
-
#~ "10 questions courtes pour aider à définir les futures versions de Link "
|
3135 |
-
#~ "Library et s'informer sur la décision de migrer son contenu vers des "
|
3136 |
-
#~ "types d'articles personels (Custom Post Types) pour le stockage des "
|
3137 |
-
#~ "données. C'est important pour les utilisateurs de plusieurs gestionnaires "
|
3138 |
-
#~ "de liens."
|
3139 |
-
|
3140 |
-
#~ msgid ""
|
3141 |
-
#~ "Read the results of the Link Library User Survey and learn how the plugin "
|
3142 |
-
#~ "will evolve"
|
3143 |
-
#~ msgstr ""
|
3144 |
-
#~ "Lire le résultat du sondage sur Link Library et découvrez comment "
|
3145 |
-
#~ "l'extension va évoluer"
|
3146 |
-
|
3147 |
-
#~ msgid "Reciprocal Checker"
|
3148 |
-
#~ msgstr "Vérificateur de liens réciproques"
|
3149 |
-
|
3150 |
-
#~ msgid "General Settings"
|
3151 |
-
#~ msgstr "Configuration générale"
|
3152 |
-
|
3153 |
-
#~ msgid "General Moderation Options"
|
3154 |
-
#~ msgstr "Configuration générale de modération"
|
3155 |
-
|
3156 |
-
#~ msgid "Library Selection and Usage Instructions"
|
3157 |
-
#~ msgstr "Sélection de librairie et instructions d'utilisation"
|
3158 |
-
|
3159 |
-
#~ msgid "Common Parameters"
|
3160 |
-
#~ msgstr "Paramètres communs"
|
3161 |
-
|
3162 |
-
#~ msgid "Link Categories Settings"
|
3163 |
-
#~ msgstr "Configurations des catégories de liens"
|
3164 |
-
|
3165 |
-
#~ msgid "Link Element Settings"
|
3166 |
-
#~ msgstr "Configuration des éléments des liens"
|
3167 |
-
|
3168 |
-
#~ msgid "Link Pop-Up"
|
3169 |
-
#~ msgstr "Activer les fenêtres Pop-up pour les liens"
|
3170 |
-
|
3171 |
-
#~ msgid "RSS Field Configuration"
|
3172 |
-
#~ msgstr "Configuration du champ RSS"
|
3173 |
-
|
3174 |
-
#~ msgid "RSS Generation"
|
3175 |
-
#~ msgstr "Génération de flux d'informations RSS"
|
3176 |
-
|
3177 |
-
#~ msgid "Search Form Configuration"
|
3178 |
-
#~ msgstr "Configuration du formulaire de recherche"
|
3179 |
-
|
3180 |
-
#~ msgid "Stylesheet Editor"
|
3181 |
-
#~ msgstr "Éditeur de Feuille de style"
|
3182 |
-
|
3183 |
-
#~ msgid "CID provided with paid Thumbshots.org accounts"
|
3184 |
-
#~ msgstr ""
|
3185 |
-
#~ "Le code CID peut être obtenu avec un abonnement payant sur Thumbshots.org"
|
3186 |
-
|
3187 |
-
# Plugin name; please avoid translating if possible
|
3188 |
-
#, fuzzy
|
3189 |
-
#~ msgid "Link Library - Reciprocal Checker"
|
3190 |
-
#~ msgstr "Link Library - Modération"
|
3191 |
-
|
3192 |
-
# Plugin name; please avoid translating if possible
|
3193 |
-
#~ msgid "Link Library - Stylesheet"
|
3194 |
-
#~ msgstr "Link Library - Feuille de Style"
|
3195 |
-
|
3196 |
-
#~ msgid "Link Library General Options"
|
3197 |
-
#~ msgstr "Options Générales de Link Library"
|
3198 |
-
|
3199 |
-
# Plugin name; please avoid translating if possible
|
3200 |
-
#, fuzzy
|
3201 |
-
#~ msgid "Link Library Settings"
|
3202 |
-
#~ msgstr "Link Library - Groupes de Configuration"
|
3203 |
-
|
3204 |
-
#, fuzzy
|
3205 |
-
#~ msgid "Link Library General Settings"
|
3206 |
-
#~ msgstr "Options Générales de Link Library"
|
3207 |
-
|
3208 |
-
#, fuzzy
|
3209 |
-
#~ msgid "Link Library Reciprocal Link Checker"
|
3210 |
-
#~ msgstr "Link Library - Paramètres Additionels"
|
3211 |
-
|
3212 |
-
# Plugin name; please avoid translating if possible
|
3213 |
-
#, fuzzy
|
3214 |
-
#~ msgid "Link Library Stylesheet Editor"
|
3215 |
-
#~ msgstr "Link Library - Feuille de Style"
|
3216 |
-
|
3217 |
-
#~ msgid "Change Current Style Set"
|
3218 |
-
#~ msgstr "Sélectionner le groupe de configuration courant"
|
3219 |
-
|
3220 |
-
#~ msgid "Current Settings Set Name"
|
3221 |
-
#~ msgstr "Nom du groupe de configuration courant"
|
3222 |
-
|
3223 |
-
#~ msgid "Delete Settings Set"
|
3224 |
-
#~ msgstr "Supprimer le groupe de configuration courant"
|
3225 |
-
|
3226 |
-
#~ msgid "Number of Style Sets"
|
3227 |
-
#~ msgstr "Nombre de groupes de configuration"
|
3228 |
-
|
3229 |
-
#~ msgid "Order set by"
|
3230 |
-
#~ msgstr "Trier par"
|
3231 |
-
|
3232 |
-
#~ msgid "RSS Cache Directory"
|
3233 |
-
#~ msgstr "Répertoire cache pour les flux d'informations"
|
3234 |
-
|
3235 |
-
#~ msgid "Set #"
|
3236 |
-
#~ msgstr "Groupe #"
|
3237 |
-
|
3238 |
-
#~ msgid "Set Name"
|
3239 |
-
#~ msgstr "Nom du groupe"
|
3240 |
-
|
3241 |
-
#~ msgid "Setting Set"
|
3242 |
-
#~ msgstr "Groupe de configuration"
|
3243 |
-
|
3244 |
-
#~ msgid ""
|
3245 |
-
#~ "Used for RSS Preview and RSS Inline Articles options below. Must have "
|
3246 |
-
#~ "write access to directory"
|
3247 |
-
#~ msgstr ""
|
3248 |
-
#~ "Utilisé par l'aperçu des flux d'informations RSS et la présentation "
|
3249 |
-
#~ "d'articles RSS dans la liste de lien ci-dessous. Le répertoire doit avoir "
|
3250 |
-
#~ "des permissions d'écriture"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
languages/link-library.mo
DELETED
Binary file
|
languages/link-library.pot
CHANGED
@@ -1,164 +1,185 @@
|
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
-
"Project-Id-Version:
|
4 |
-
"POT-Creation-Date:
|
5 |
-
"PO-Revision-Date:
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: en\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
-
"X-Generator: Poedit 1.
|
13 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
14 |
"X-Poedit-KeywordsList: __;_e\n"
|
15 |
-
"X-Poedit-Basepath: .\n"
|
16 |
"X-Poedit-SearchPath-0: .\n"
|
17 |
-
"X-Poedit-SearchPath-1: ..\n"
|
18 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
19 |
|
20 |
-
#:
|
21 |
msgid "Insert a Link Library shortcode"
|
22 |
msgstr ""
|
23 |
|
24 |
-
#:
|
25 |
msgid "Link List"
|
26 |
msgstr ""
|
27 |
|
28 |
-
#:
|
29 |
msgid "Link Category List"
|
30 |
msgstr ""
|
31 |
|
32 |
-
#:
|
33 |
msgid "Link Search"
|
34 |
msgstr ""
|
35 |
|
36 |
-
#:
|
37 |
msgid "Add Link Form"
|
38 |
msgstr ""
|
39 |
|
40 |
-
#:
|
41 |
msgid "Render a list of links."
|
42 |
msgstr ""
|
43 |
|
44 |
-
#:
|
45 |
-
#:
|
46 |
msgid "Library ID"
|
47 |
msgstr ""
|
48 |
|
49 |
-
#:
|
50 |
-
#:
|
51 |
-
#:
|
52 |
msgid "Library"
|
53 |
msgstr ""
|
54 |
|
55 |
-
#:
|
56 |
msgid "Single Link ID"
|
57 |
msgstr ""
|
58 |
|
59 |
-
#:
|
60 |
msgid "Specify ID of single link to be displayed"
|
61 |
msgstr ""
|
62 |
|
63 |
-
#:
|
64 |
-
#:
|
65 |
msgid "Category Override"
|
66 |
msgstr ""
|
67 |
|
68 |
-
#:
|
69 |
-
#:
|
70 |
msgid ""
|
71 |
"Single, or comma-separated list of categories IDs to be displayed in the "
|
72 |
"link list"
|
73 |
msgstr ""
|
74 |
|
75 |
-
#:
|
76 |
-
#:
|
77 |
msgid "Excluded Category Override"
|
78 |
msgstr ""
|
79 |
|
80 |
-
#:
|
81 |
-
#:
|
82 |
msgid ""
|
83 |
"Single, or comma-separated list of categories IDs to be excluded from the "
|
84 |
"link list"
|
85 |
msgstr ""
|
86 |
|
87 |
-
#:
|
88 |
-
#:
|
89 |
msgid "Notes Override"
|
90 |
msgstr ""
|
91 |
|
92 |
-
#:
|
93 |
msgid "Set to 0 or 1 to display or not display link notes"
|
94 |
msgstr ""
|
95 |
|
96 |
-
#:
|
97 |
msgid "Set to 0 or 1 to display or not display link descriptions"
|
98 |
msgstr ""
|
99 |
|
100 |
-
#:
|
101 |
msgid "Set to 0 or 1 to display or not display rss information"
|
102 |
msgstr ""
|
103 |
|
104 |
-
#:
|
105 |
msgid "Set to 0 or 1 to display links in an unordered list or a table"
|
106 |
msgstr ""
|
107 |
|
108 |
-
#:
|
109 |
msgid "Render a list of link categories."
|
110 |
msgstr ""
|
111 |
|
112 |
-
#:
|
113 |
msgid "Render a search box to search through links."
|
114 |
msgstr ""
|
115 |
|
116 |
-
#:
|
117 |
msgid "There are no options for this shortcode."
|
118 |
msgstr ""
|
119 |
|
120 |
-
#:
|
121 |
msgid "Render a form for visitors to submit new links."
|
122 |
msgstr ""
|
123 |
|
124 |
-
#:
|
125 |
msgid "Category Link"
|
126 |
msgstr ""
|
127 |
|
128 |
-
#:
|
129 |
-
msgid ""
|
130 |
-
"Please create a folder called uploads under your Wordpress /wp-content/ "
|
131 |
-
"directory with write permissions to use this functionality."
|
132 |
msgstr ""
|
133 |
|
134 |
-
#:
|
135 |
-
msgid ""
|
136 |
-
|
137 |
-
|
|
|
|
|
138 |
msgstr ""
|
139 |
|
140 |
-
#:
|
141 |
-
msgid "
|
142 |
msgstr ""
|
143 |
|
144 |
-
#:
|
145 |
-
|
146 |
-
msgid "Image"
|
147 |
msgstr ""
|
148 |
|
149 |
-
#:
|
150 |
-
msgid "
|
151 |
msgstr ""
|
152 |
|
153 |
-
#:
|
154 |
-
msgid "
|
155 |
msgstr ""
|
156 |
|
157 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
158 |
msgid "Link Library: Missing Thumbshots API Key"
|
159 |
msgstr ""
|
160 |
|
161 |
-
#:
|
162 |
msgid ""
|
163 |
"One of your link libraries is configured to use Thumbshots for link "
|
164 |
"thumbails, but you have not entered your Thumbshots.com API Key. Please "
|
@@ -166,15 +187,15 @@ msgid ""
|
|
166 |
"in the Link Library admin panel."
|
167 |
msgstr ""
|
168 |
|
169 |
-
#:
|
170 |
msgid "Jump to Link Library admin"
|
171 |
msgstr ""
|
172 |
|
173 |
-
#:
|
174 |
msgid "Link Library: No Link Categories on your site"
|
175 |
msgstr ""
|
176 |
|
177 |
-
#:
|
178 |
msgid ""
|
179 |
"There are currently no link categories defined in your WordPress site. Link "
|
180 |
"Library will not work correctly without categories. Please create at least "
|
@@ -182,498 +203,503 @@ msgid ""
|
|
182 |
"category."
|
183 |
msgstr ""
|
184 |
|
185 |
-
#:
|
186 |
msgid "Links to moderate"
|
187 |
msgstr ""
|
188 |
|
189 |
-
#:
|
190 |
-
|
|
|
191 |
msgstr ""
|
192 |
|
193 |
-
#:
|
194 |
-
msgid "
|
195 |
msgstr ""
|
196 |
|
197 |
-
#:
|
198 |
-
msgid "Library
|
199 |
msgstr ""
|
200 |
|
201 |
-
#:
|
202 |
-
#:
|
203 |
msgid "Moderate"
|
204 |
msgstr ""
|
205 |
|
206 |
-
#:
|
207 |
-
#:
|
208 |
msgid "Stylesheet"
|
209 |
msgstr ""
|
210 |
|
211 |
-
#:
|
212 |
-
msgid "Link
|
213 |
msgstr ""
|
214 |
|
215 |
-
#:
|
216 |
msgid "FAQ"
|
217 |
msgstr ""
|
218 |
|
219 |
-
#:
|
|
|
|
|
|
|
|
|
220 |
msgid "Links awaiting moderation"
|
221 |
msgstr ""
|
222 |
|
223 |
-
#:
|
224 |
msgid "Editor"
|
225 |
msgstr ""
|
226 |
|
227 |
-
#:
|
228 |
-
msgid "
|
229 |
msgstr ""
|
230 |
|
231 |
-
#:
|
232 |
msgid "Thumbnails successfully generated!"
|
233 |
msgstr ""
|
234 |
|
235 |
-
#:
|
236 |
msgid "Favicons successfully generated!"
|
237 |
msgstr ""
|
238 |
|
239 |
-
#:
|
240 |
msgid "Thumbnail successfully generated for"
|
241 |
msgstr ""
|
242 |
|
243 |
-
#:
|
244 |
msgid "Favicon successfully generated for"
|
245 |
msgstr ""
|
246 |
|
247 |
-
#:
|
248 |
msgid "General Settings Saved"
|
249 |
msgstr ""
|
250 |
|
251 |
-
#:
|
252 |
-
msgid ""
|
253 |
-
"Link Library plugin directory needs to be writable to perform this action"
|
254 |
-
msgstr ""
|
255 |
-
|
256 |
-
#: ../link-library-admin.php:731
|
257 |
-
msgid "row(s) found"
|
258 |
msgstr ""
|
259 |
|
260 |
-
#:
|
261 |
-
msgid "
|
262 |
-
|
263 |
-
|
264 |
-
#: ../link-library-admin.php:731 ../link-library-admin.php:807
|
265 |
-
msgid "link(s) updated"
|
266 |
msgstr ""
|
267 |
|
268 |
-
#:
|
269 |
msgid "Library #"
|
270 |
msgstr ""
|
271 |
|
272 |
-
#:
|
273 |
msgid "Updated"
|
274 |
msgstr ""
|
275 |
|
276 |
-
#:
|
277 |
msgid "Included Category ID"
|
278 |
msgstr ""
|
279 |
|
280 |
-
#:
|
281 |
msgid "is invalid. Please check the ID in the Link Category editor."
|
282 |
msgstr ""
|
283 |
|
284 |
-
#:
|
285 |
msgid "Excluded Category ID"
|
286 |
msgstr ""
|
287 |
|
288 |
-
#:
|
289 |
msgid "Invalid column count for link on row. Compare against template."
|
290 |
msgstr ""
|
291 |
|
292 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
293 |
msgid "Library Settings imported successfully"
|
294 |
msgstr ""
|
295 |
|
296 |
-
#:
|
297 |
msgid "Library Settings Upload Failed"
|
298 |
msgstr ""
|
299 |
|
300 |
-
#:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
301 |
msgid "Links are missing categories"
|
302 |
msgstr ""
|
303 |
|
304 |
-
#:
|
305 |
msgid "Link(s) Approved"
|
306 |
msgstr ""
|
307 |
|
308 |
-
#:
|
309 |
msgid "Link(s) Deleted"
|
310 |
msgstr ""
|
311 |
|
312 |
-
#:
|
313 |
msgid "Stylesheet updated"
|
314 |
msgstr ""
|
315 |
|
316 |
-
#:
|
317 |
msgid "Stylesheet reset to original state"
|
318 |
msgstr ""
|
319 |
|
320 |
-
#:
|
321 |
msgid "Settings updated"
|
322 |
msgstr ""
|
323 |
|
324 |
-
#:
|
325 |
-
msgid "General Options"
|
326 |
-
msgstr ""
|
327 |
-
|
328 |
-
#: ../link-library-admin.php:885
|
329 |
-
msgid "Library Settings"
|
330 |
-
msgstr ""
|
331 |
-
|
332 |
-
#: ../link-library-admin.php:900
|
333 |
msgid "Reciprocal Check"
|
334 |
msgstr ""
|
335 |
|
336 |
-
#:
|
337 |
msgid "General"
|
338 |
msgstr ""
|
339 |
|
340 |
-
#:
|
341 |
-
msgid "Single Item Layout"
|
342 |
-
msgstr ""
|
343 |
-
|
344 |
-
#: ../link-library-admin.php:1060
|
345 |
msgid "Images"
|
346 |
msgstr ""
|
347 |
|
348 |
-
#:
|
349 |
msgid "Bookmarklet"
|
350 |
msgstr ""
|
351 |
|
352 |
-
#:
|
353 |
msgid "Moderation"
|
354 |
msgstr ""
|
355 |
|
356 |
-
#:
|
357 |
msgid "Hide Donation"
|
358 |
msgstr ""
|
359 |
|
360 |
-
#:
|
361 |
-
msgid "Import/Export Links"
|
362 |
-
msgstr ""
|
363 |
-
|
364 |
-
#: ../link-library-admin.php:1071
|
365 |
msgid "Usage"
|
366 |
msgstr ""
|
367 |
|
368 |
-
#:
|
369 |
msgid "Common"
|
370 |
msgstr ""
|
371 |
|
372 |
-
#:
|
373 |
msgid "Categories"
|
374 |
msgstr ""
|
375 |
|
376 |
-
#:
|
377 |
msgid "Links"
|
378 |
msgstr ""
|
379 |
|
380 |
-
#:
|
381 |
msgid "Advanced"
|
382 |
msgstr ""
|
383 |
|
384 |
-
#:
|
385 |
msgid "Pop-Ups"
|
386 |
msgstr ""
|
387 |
|
388 |
-
#:
|
389 |
msgid "RSS Display"
|
390 |
msgstr ""
|
391 |
|
392 |
-
#:
|
393 |
msgid "Thumbnails"
|
394 |
msgstr ""
|
395 |
|
396 |
-
#:
|
397 |
msgid "RSS Feed"
|
398 |
msgstr ""
|
399 |
|
400 |
-
#:
|
401 |
-
#:
|
402 |
msgid "Search"
|
403 |
msgstr ""
|
404 |
|
405 |
-
#:
|
406 |
msgid "User Submission"
|
407 |
msgstr ""
|
408 |
|
409 |
-
#:
|
410 |
-
msgid "Import/Export
|
411 |
msgstr ""
|
412 |
|
413 |
-
#:
|
414 |
-
#:
|
415 |
-
#:
|
416 |
msgid "Not allowed"
|
417 |
msgstr ""
|
418 |
|
419 |
-
#:
|
420 |
-
#:
|
421 |
msgid "Message generated by"
|
422 |
msgstr ""
|
423 |
|
424 |
-
#:
|
425 |
msgid "Update channel"
|
426 |
msgstr ""
|
427 |
|
428 |
-
#:
|
429 |
msgid "Standard channel - Updates as they are released"
|
430 |
msgstr ""
|
431 |
|
432 |
-
#:
|
433 |
msgid "Monthly Channel - Updates once per month"
|
434 |
msgstr ""
|
435 |
|
436 |
-
#:
|
437 |
msgid ""
|
438 |
"The stylesheet is now defined and stored using the Link Library admin "
|
439 |
"interface. This avoids problems with updates from one version to the next."
|
440 |
msgstr ""
|
441 |
|
442 |
-
#:
|
443 |
msgid "Number of Libraries"
|
444 |
msgstr ""
|
445 |
|
446 |
-
#:
|
447 |
msgid "Category selection method"
|
448 |
msgstr ""
|
449 |
|
450 |
-
#:
|
451 |
msgid "Comma-separated ID list"
|
452 |
msgstr ""
|
453 |
|
454 |
-
#:
|
455 |
msgid "Multi-select List"
|
456 |
msgstr ""
|
457 |
|
458 |
-
#:
|
459 |
msgid ""
|
460 |
"Enter comma-separate list of pages on which the Link Library stylesheet and "
|
461 |
"scripts should be loaded. Primarily used if you display Link Library using "
|
462 |
"the API"
|
463 |
msgstr ""
|
464 |
|
465 |
-
#:
|
466 |
msgid "Additional pages to load styles and scripts"
|
467 |
msgstr ""
|
468 |
|
469 |
-
#:
|
470 |
msgid "Debug Mode"
|
471 |
msgstr ""
|
472 |
|
473 |
-
#:
|
474 |
-
#:
|
475 |
msgid ""
|
476 |
"This function is only possible when showing one category at a time and while "
|
477 |
"the default category is not shown."
|
478 |
msgstr ""
|
479 |
|
480 |
-
#:
|
481 |
msgid "Page Title Prefix"
|
482 |
msgstr ""
|
483 |
|
484 |
-
#:
|
485 |
msgid "Page Title Suffix"
|
486 |
msgstr ""
|
487 |
|
488 |
-
#:
|
489 |
msgid ""
|
490 |
"Path for images files that are uploaded manually or generated through "
|
491 |
"thumbnail generation service"
|
492 |
msgstr ""
|
493 |
|
494 |
-
#:
|
495 |
msgid "Link Image File Path"
|
496 |
msgstr ""
|
497 |
|
498 |
-
#:
|
499 |
msgid "Absolute"
|
500 |
msgstr ""
|
501 |
|
502 |
-
#:
|
503 |
msgid "Relative"
|
504 |
msgstr ""
|
505 |
|
506 |
-
#:
|
507 |
msgid "Thumbnail Generator"
|
508 |
msgstr ""
|
509 |
|
510 |
-
#:
|
511 |
msgid "API Key for Thumbshots.com thumbnail generation accounts"
|
512 |
msgstr ""
|
513 |
|
514 |
-
#:
|
515 |
msgid "Thumbshots API Key"
|
516 |
msgstr ""
|
517 |
|
518 |
-
#:
|
519 |
msgid "Robothumb Thumbnail size"
|
520 |
msgstr ""
|
521 |
|
522 |
-
#:
|
523 |
msgid "Links Date Format"
|
524 |
msgstr ""
|
525 |
|
526 |
-
#:
|
527 |
msgid "Help"
|
528 |
msgstr ""
|
529 |
|
530 |
-
#:
|
531 |
msgid "Enter list of additional link protocols, seperated by commas"
|
532 |
msgstr ""
|
533 |
|
534 |
-
#:
|
535 |
msgid "Additional protocols"
|
536 |
msgstr ""
|
537 |
|
538 |
-
#:
|
539 |
msgid "Time before clearing RSS display cache (in seconds)"
|
540 |
msgstr ""
|
541 |
|
542 |
-
#:
|
|
|
|
|
|
|
|
|
543 |
msgid "Custom full URL for expand icon. Uses default image if left empty."
|
544 |
msgstr ""
|
545 |
|
546 |
-
#:
|
547 |
msgid "Expand Icon Image"
|
548 |
msgstr ""
|
549 |
|
550 |
-
#:
|
551 |
msgid "Custom full URL for collapse icon. Uses default image if left empty."
|
552 |
msgstr ""
|
553 |
|
554 |
-
#:
|
555 |
msgid "Collapse Icon Image"
|
556 |
msgstr ""
|
557 |
|
558 |
-
#:
|
559 |
msgid "Add new links to your site with this bookmarklet."
|
560 |
msgstr ""
|
561 |
|
562 |
-
#:
|
563 |
msgid ""
|
564 |
"To use this feature, drag-and-drop the button below to your favorite / "
|
565 |
"bookmark toolbar."
|
566 |
msgstr ""
|
567 |
|
568 |
-
#:
|
569 |
msgid "Add to Links"
|
570 |
msgstr ""
|
571 |
|
572 |
-
#:
|
573 |
msgid ""
|
574 |
"Approval and rejection e-mail functionality will only work correctly if the "
|
575 |
"submitter e-mail field is displayed on the user link submission form"
|
576 |
msgstr ""
|
577 |
|
578 |
-
#:
|
|
|
|
|
|
|
|
|
579 |
msgid ""
|
580 |
"URL that user will be redirected to after submitting new link. When used, "
|
581 |
"the short code [link-library-addlinkcustommsg] should be placed on the "
|
582 |
"destination page."
|
583 |
msgstr ""
|
584 |
|
585 |
-
#:
|
586 |
msgid "Link Acknowledgement URL"
|
587 |
msgstr ""
|
588 |
|
589 |
-
#:
|
590 |
msgid ""
|
591 |
"Title of e-mail sent to site admin when new links are submitted. Use "
|
592 |
"%linkname% as a variable to be replaced by the actual link name"
|
593 |
msgstr ""
|
594 |
|
595 |
-
#:
|
596 |
msgid "Moderation Notification Title"
|
597 |
msgstr ""
|
598 |
|
599 |
-
#:
|
600 |
msgid ""
|
601 |
"Will send a confirmation e-mail to link submitter if they provided their "
|
602 |
"contact information"
|
603 |
msgstr ""
|
604 |
|
605 |
-
#:
|
606 |
msgid "E-mail submitter on link approval or rejection"
|
607 |
msgstr ""
|
608 |
|
609 |
-
#:
|
610 |
msgid "Suppress Link Library message in e-mail footer"
|
611 |
msgstr ""
|
612 |
|
613 |
-
#:
|
614 |
msgid "Only use first part of submitter name"
|
615 |
msgstr ""
|
616 |
|
617 |
-
#:
|
618 |
msgid ""
|
619 |
"The name of the e-mail account that the approval e-mail will be sent from"
|
620 |
msgstr ""
|
621 |
|
622 |
-
#:
|
623 |
msgid "Moderator Name"
|
624 |
msgstr ""
|
625 |
|
626 |
-
#:
|
627 |
msgid "The e-mail address that the approval e-mail will be sent from"
|
628 |
msgstr ""
|
629 |
|
630 |
-
#:
|
631 |
msgid "Moderator E-mail"
|
632 |
msgstr ""
|
633 |
|
634 |
-
#:
|
635 |
msgid ""
|
636 |
"Title of approval e-mail. Use %linkname% as a variable to be replaced by the "
|
637 |
"actual link name"
|
638 |
msgstr ""
|
639 |
|
640 |
-
#:
|
641 |
msgid "Approval e-mail title"
|
642 |
msgstr ""
|
643 |
|
644 |
-
#:
|
645 |
msgid ""
|
646 |
"Body of approval e-mail. Use %linkname% as a variable to be replaced by the "
|
647 |
"actual link name, %submittername% for the submitter name and %linkurl% for "
|
648 |
"the link address"
|
649 |
msgstr ""
|
650 |
|
651 |
-
#:
|
652 |
msgid "Approval e-mail body"
|
653 |
msgstr ""
|
654 |
|
655 |
-
#:
|
656 |
msgid ""
|
657 |
"Title of rejection e-mail. Use %linkname% as a variable to be replaced by "
|
658 |
"the actual link name"
|
659 |
msgstr ""
|
660 |
|
661 |
-
#:
|
662 |
msgid "Rejection e-mail title"
|
663 |
msgstr ""
|
664 |
|
665 |
-
#:
|
666 |
msgid ""
|
667 |
"Body of rejection e-mail. Use %linkname% as a variable to be replaced by the "
|
668 |
"actual link name, %submittername% for the submitter name and %linkurl% for "
|
669 |
"the link address"
|
670 |
msgstr ""
|
671 |
|
672 |
-
#:
|
673 |
msgid "Rejection e-mail body"
|
674 |
msgstr ""
|
675 |
|
676 |
-
#:
|
677 |
msgid ""
|
678 |
"The following option allows you to hide the Donate button and Support the "
|
679 |
"Author section in the Link Library Admin pages. If you enjoy this plugin and "
|
@@ -682,288 +708,224 @@ msgid ""
|
|
682 |
"other elements."
|
683 |
msgstr ""
|
684 |
|
685 |
-
#:
|
686 |
msgid "Hide Donation and Support Links"
|
687 |
msgstr ""
|
688 |
|
689 |
-
#:
|
690 |
-
msgid "Export all links to a CSV file"
|
691 |
-
msgstr ""
|
692 |
-
|
693 |
-
#: ../link-library-admin.php:2422
|
694 |
-
msgid "Export All Links"
|
695 |
-
msgstr ""
|
696 |
-
|
697 |
-
#: ../link-library-admin.php:2429
|
698 |
-
msgid ""
|
699 |
-
"Allows for links to be added in batch to the Wordpress links database. CSV "
|
700 |
-
"file needs to follow template for column layout."
|
701 |
-
msgstr ""
|
702 |
-
|
703 |
-
#: ../link-library-admin.php:2429
|
704 |
-
msgid "CSV file to upload to import links"
|
705 |
-
msgstr ""
|
706 |
-
|
707 |
-
#: ../link-library-admin.php:2429
|
708 |
-
msgid "file template"
|
709 |
-
msgstr ""
|
710 |
-
|
711 |
-
#: ../link-library-admin.php:2432
|
712 |
-
msgid "Import Links from CSV"
|
713 |
-
msgstr ""
|
714 |
-
|
715 |
-
#: ../link-library-admin.php:2436
|
716 |
-
msgid "First row contains column headers"
|
717 |
-
msgstr ""
|
718 |
-
|
719 |
-
#: ../link-library-admin.php:2440 ../link-library-admin.php:2470
|
720 |
-
msgid "Update items when URL is identical"
|
721 |
-
msgstr ""
|
722 |
-
|
723 |
-
#: ../link-library-admin.php:2448
|
724 |
-
msgid "Import links from site pages"
|
725 |
-
msgstr ""
|
726 |
-
|
727 |
-
#: ../link-library-admin.php:2449
|
728 |
-
msgid "All Pages and Posts"
|
729 |
-
msgstr ""
|
730 |
-
|
731 |
-
#: ../link-library-admin.php:2450
|
732 |
-
msgid "All Pages, Posts and Custom Post Types"
|
733 |
-
msgstr ""
|
734 |
-
|
735 |
-
#: ../link-library-admin.php:2451
|
736 |
-
msgid "Specific Page"
|
737 |
-
msgstr ""
|
738 |
-
|
739 |
-
#: ../link-library-admin.php:2455
|
740 |
-
msgid "Specific Post"
|
741 |
-
msgstr ""
|
742 |
-
|
743 |
-
#: ../link-library-admin.php:2465
|
744 |
-
msgid "Specific "
|
745 |
-
msgstr ""
|
746 |
-
|
747 |
-
#: ../link-library-admin.php:2484
|
748 |
-
msgid "Import Links from Site"
|
749 |
-
msgstr ""
|
750 |
-
|
751 |
-
#: ../link-library-admin.php:2494
|
752 |
msgid "Save Settings"
|
753 |
msgstr ""
|
754 |
|
755 |
-
#:
|
756 |
msgid "Update Settings"
|
757 |
msgstr ""
|
758 |
|
759 |
-
#:
|
760 |
-
#:
|
761 |
-
#:
|
762 |
msgid "Link Name"
|
763 |
msgstr ""
|
764 |
|
765 |
-
#:
|
766 |
-
#:
|
767 |
-
#: ../usersubmission.php:371
|
768 |
msgid "Link Category"
|
769 |
msgstr ""
|
770 |
|
771 |
-
#:
|
772 |
msgid "Link URL"
|
773 |
msgstr ""
|
774 |
|
775 |
-
#:
|
776 |
-
#:
|
777 |
-
#:
|
778 |
-
#: ../usersubmission.php:360
|
779 |
msgid "Link Description"
|
780 |
msgstr ""
|
781 |
|
782 |
-
#:
|
783 |
msgid "No Links Found to Moderate"
|
784 |
msgstr ""
|
785 |
|
786 |
-
#:
|
787 |
msgid "Check All"
|
788 |
msgstr ""
|
789 |
|
790 |
-
#:
|
791 |
msgid "Uncheck All"
|
792 |
msgstr ""
|
793 |
|
794 |
-
#:
|
795 |
msgid "Approve Selected Items"
|
796 |
msgstr ""
|
797 |
|
798 |
-
#:
|
799 |
msgid "Delete Selected Items"
|
800 |
msgstr ""
|
801 |
|
802 |
-
#:
|
803 |
msgid ""
|
804 |
"If the stylesheet editor is empty after upgrading, reset to the default "
|
805 |
"stylesheet using the button below or copy/paste your backup stylesheet into "
|
806 |
"the editor."
|
807 |
msgstr ""
|
808 |
|
809 |
-
#:
|
810 |
msgid "Submit"
|
811 |
msgstr ""
|
812 |
|
813 |
-
#:
|
814 |
msgid "Reset to default"
|
815 |
msgstr ""
|
816 |
|
817 |
-
#:
|
818 |
msgid "Select Current Library Settings"
|
819 |
msgstr ""
|
820 |
|
821 |
-
#:
|
822 |
msgid "Go"
|
823 |
msgstr ""
|
824 |
|
825 |
-
#:
|
826 |
msgid "Copy from:"
|
827 |
msgstr ""
|
828 |
|
829 |
-
#:
|
830 |
msgid "Copy"
|
831 |
msgstr ""
|
832 |
|
833 |
-
#:
|
834 |
-
#:
|
835 |
msgid ""
|
836 |
"Link Library Supports the Creation of an unlimited number of configurations "
|
837 |
"to display link lists on your site"
|
838 |
msgstr ""
|
839 |
|
840 |
-
#:
|
841 |
msgid "Library Name"
|
842 |
msgstr ""
|
843 |
|
844 |
-
#:
|
845 |
msgid "Feature"
|
846 |
msgstr ""
|
847 |
|
848 |
-
#:
|
849 |
msgid "Code to insert on a Wordpress page"
|
850 |
msgstr ""
|
851 |
|
852 |
-
#:
|
853 |
msgid "Display basic link library"
|
854 |
msgstr ""
|
855 |
|
856 |
-
#:
|
857 |
msgid "Display list of link categories"
|
858 |
msgstr ""
|
859 |
|
860 |
-
#:
|
861 |
msgid "Display search box"
|
862 |
msgstr ""
|
863 |
|
864 |
-
#:
|
865 |
msgid "Display link submission form"
|
866 |
msgstr ""
|
867 |
|
868 |
-
#:
|
869 |
#, php-format
|
870 |
msgid ""
|
871 |
"You are about to Delete Library #'%s'\n"
|
872 |
" 'Cancel' to stop, 'OK' to delete."
|
873 |
msgstr ""
|
874 |
|
875 |
-
#:
|
876 |
msgid "Delete Library"
|
877 |
msgstr ""
|
878 |
|
879 |
-
#:
|
880 |
#, php-format
|
881 |
msgid ""
|
882 |
"You are about to reset Library '%s'\n"
|
883 |
" 'Cancel' to stop, 'OK' to reset."
|
884 |
msgstr ""
|
885 |
|
886 |
-
#:
|
887 |
msgid "Reset current Library"
|
888 |
msgstr ""
|
889 |
|
890 |
-
#:
|
891 |
#, php-format
|
892 |
msgid ""
|
893 |
"You are about to reset Library '%s' for a table layout\n"
|
894 |
" 'Cancel' to stop, 'OK' to reset."
|
895 |
msgstr ""
|
896 |
|
897 |
-
#:
|
898 |
msgid "Reset current Library for table layout"
|
899 |
msgstr ""
|
900 |
|
901 |
-
#:
|
902 |
-
msgid "No link categories! Create some!"
|
903 |
-
msgstr ""
|
904 |
-
|
905 |
-
#: ../link-library-admin.php:2751
|
906 |
msgid "Current Library Name"
|
907 |
msgstr ""
|
908 |
|
909 |
-
#:
|
910 |
msgid "Leave Empty to see all categories"
|
911 |
msgstr ""
|
912 |
|
913 |
-
#:
|
914 |
-
#:
|
915 |
msgid "Enter list of comma-separated"
|
916 |
msgstr ""
|
917 |
|
918 |
-
#:
|
919 |
msgid "numeric category IDs"
|
920 |
msgstr ""
|
921 |
|
922 |
-
#:
|
923 |
msgid ""
|
924 |
"To find the IDs, go to the Link Categories admin page, place the mouse above "
|
925 |
"a category name and look for its ID in the address shown in your browsers "
|
926 |
"status bar. For example"
|
927 |
msgstr ""
|
928 |
|
929 |
-
#:
|
930 |
msgid "Categories to be displayed (Empty=All)"
|
931 |
msgstr ""
|
932 |
|
933 |
-
#:
|
934 |
msgid "Categories to be displayed"
|
935 |
msgstr ""
|
936 |
|
937 |
-
#:
|
938 |
-
#:
|
939 |
msgid "For example"
|
940 |
msgstr ""
|
941 |
|
942 |
-
#:
|
|
|
|
|
|
|
|
|
943 |
msgid "Show all categories"
|
944 |
msgstr ""
|
945 |
|
946 |
-
#:
|
947 |
msgid "numeric category IDs that should not be shown"
|
948 |
msgstr ""
|
949 |
|
950 |
-
#:
|
951 |
msgid "Categories to be excluded"
|
952 |
msgstr ""
|
953 |
|
954 |
-
#:
|
955 |
msgid "No Exclusions"
|
956 |
msgstr ""
|
957 |
|
958 |
-
#:
|
959 |
msgid "Only show one category of links at a time"
|
960 |
msgstr ""
|
961 |
|
962 |
-
#:
|
963 |
msgid "Only show one category at a time"
|
964 |
msgstr ""
|
965 |
|
966 |
-
#:
|
967 |
msgid ""
|
968 |
"Select if AJAX should be used to only reload the list of links without "
|
969 |
"reloading the whole page or HTML GET to reload entire page with a new link. "
|
@@ -971,1971 +933,1856 @@ msgid ""
|
|
971 |
"correctly."
|
972 |
msgstr ""
|
973 |
|
974 |
-
#:
|
975 |
msgid "Switching Method"
|
976 |
msgstr ""
|
977 |
|
978 |
-
#:
|
979 |
msgid ""
|
980 |
"Default category to be shown when only showing one at a time (numeric ID)"
|
981 |
msgstr ""
|
982 |
|
983 |
-
#:
|
984 |
-
msgid "Hide category on start in single cat mode"
|
985 |
msgstr ""
|
986 |
|
987 |
-
#:
|
988 |
msgid "File path is relative to Link Library plugin directory"
|
989 |
msgstr ""
|
990 |
|
991 |
-
#:
|
992 |
msgid "Icon to display when performing AJAX queries"
|
993 |
msgstr ""
|
994 |
|
995 |
-
#:
|
996 |
msgid "Only show a limited number of links and add page navigation links"
|
997 |
msgstr ""
|
998 |
|
999 |
-
#:
|
1000 |
msgid "Paginate Results"
|
1001 |
msgstr ""
|
1002 |
|
1003 |
-
#:
|
1004 |
msgid "Number of Links to be Displayed per Page in Pagination Mode"
|
1005 |
msgstr ""
|
1006 |
|
1007 |
-
#:
|
1008 |
msgid "Links per Page"
|
1009 |
msgstr ""
|
1010 |
|
1011 |
-
#:
|
1012 |
msgid "Pagination Position"
|
1013 |
msgstr ""
|
1014 |
|
1015 |
-
#:
|
1016 |
msgid "After Links"
|
1017 |
msgstr ""
|
1018 |
|
1019 |
-
#:
|
1020 |
msgid "Before Links"
|
1021 |
msgstr ""
|
1022 |
|
1023 |
-
#:
|
1024 |
msgid "Hide Results if Empty"
|
1025 |
msgstr ""
|
1026 |
|
1027 |
-
#:
|
1028 |
msgid "Enable Permalinks"
|
1029 |
msgstr ""
|
1030 |
|
1031 |
-
#:
|
1032 |
msgid "Permalinks Page"
|
1033 |
msgstr ""
|
1034 |
|
1035 |
-
#:
|
1036 |
-
msgid "Permalink Top Page Text"
|
1037 |
-
msgstr ""
|
1038 |
-
|
1039 |
-
#: ../link-library-admin.php:2909
|
1040 |
-
msgid "Category links in permalinks mode"
|
1041 |
-
msgstr ""
|
1042 |
-
|
1043 |
-
#: ../link-library-admin.php:2915
|
1044 |
-
msgid "Show breadcrumbs in permalinks mode"
|
1045 |
-
msgstr ""
|
1046 |
-
|
1047 |
-
#: ../link-library-admin.php:2925
|
1048 |
msgid "Display alphabetic cat filter"
|
1049 |
msgstr ""
|
1050 |
|
1051 |
-
#:
|
1052 |
msgid "Do not display"
|
1053 |
msgstr ""
|
1054 |
|
1055 |
-
#:
|
1056 |
msgid "Before Categories"
|
1057 |
msgstr ""
|
1058 |
|
1059 |
-
#:
|
1060 |
msgid "Before Categories and Links"
|
1061 |
msgstr ""
|
1062 |
|
1063 |
-
#:
|
1064 |
msgid "Auto-select first alphabetic cat item"
|
1065 |
msgstr ""
|
1066 |
|
1067 |
-
#:
|
1068 |
msgid "Display ALL box in alphabetic cat filter"
|
1069 |
msgstr ""
|
1070 |
|
1071 |
-
#:
|
1072 |
msgid "Cat filter label"
|
1073 |
msgstr ""
|
1074 |
|
1075 |
-
#:
|
1076 |
msgid "Only display links submitted by current user"
|
1077 |
msgstr ""
|
1078 |
|
1079 |
-
#:
|
1080 |
msgid "Results Order"
|
1081 |
msgstr ""
|
1082 |
|
1083 |
-
#:
|
1084 |
msgid "Order by Name"
|
1085 |
msgstr ""
|
1086 |
|
1087 |
-
#:
|
1088 |
msgid "Order by ID"
|
1089 |
msgstr ""
|
1090 |
|
1091 |
-
#:
|
1092 |
msgid "Order of categories based on included category list"
|
1093 |
msgstr ""
|
1094 |
|
1095 |
-
#:
|
1096 |
msgid "Order by"
|
1097 |
msgstr ""
|
1098 |
|
1099 |
-
#:
|
1100 |
msgid "Wordpress Plugin"
|
1101 |
msgstr ""
|
1102 |
|
1103 |
-
#:
|
1104 |
msgid "Link Categories Display Format"
|
1105 |
msgstr ""
|
1106 |
|
1107 |
-
#:
|
1108 |
msgid "Table"
|
1109 |
msgstr ""
|
1110 |
|
1111 |
-
#:
|
1112 |
msgid "Unordered List"
|
1113 |
msgstr ""
|
1114 |
|
1115 |
-
#:
|
1116 |
msgid "Drop-Down List"
|
1117 |
msgstr ""
|
1118 |
|
1119 |
-
#:
|
1120 |
msgid "Drop-Down List Direct Access"
|
1121 |
msgstr ""
|
1122 |
|
1123 |
-
#:
|
1124 |
msgid "Display link counts"
|
1125 |
msgstr ""
|
1126 |
|
1127 |
-
#:
|
1128 |
msgid "Display categories with search results"
|
1129 |
msgstr ""
|
1130 |
|
1131 |
-
#:
|
1132 |
msgid "This setting does not apply when selecting My Link Order for the order"
|
1133 |
msgstr ""
|
1134 |
|
1135 |
-
#:
|
1136 |
msgid "Direction"
|
1137 |
msgstr ""
|
1138 |
|
1139 |
-
#:
|
1140 |
msgid "Ascending"
|
1141 |
msgstr ""
|
1142 |
|
1143 |
-
#:
|
1144 |
msgid "Descending"
|
1145 |
msgstr ""
|
1146 |
|
1147 |
-
#:
|
1148 |
-
#:
|
1149 |
msgid ""
|
1150 |
"Use [ and ] in the description to perform special actions using HTML such as "
|
1151 |
"inserting images instead of < and >"
|
1152 |
msgstr ""
|
1153 |
|
1154 |
-
#:
|
1155 |
msgid "Show Category Description"
|
1156 |
msgstr ""
|
1157 |
|
1158 |
-
#:
|
1159 |
msgid "Position"
|
1160 |
msgstr ""
|
1161 |
|
1162 |
-
#:
|
1163 |
msgid "Right"
|
1164 |
msgstr ""
|
1165 |
|
1166 |
-
#:
|
1167 |
msgid "Left"
|
1168 |
msgstr ""
|
1169 |
|
1170 |
-
#:
|
1171 |
msgid "Width of Categories Table in Percents"
|
1172 |
msgstr ""
|
1173 |
|
1174 |
-
#:
|
1175 |
msgid ""
|
1176 |
"Determines the number of alternating div tags that will be placed before and "
|
1177 |
"after each link category"
|
1178 |
msgstr ""
|
1179 |
|
1180 |
-
#:
|
1181 |
msgid ""
|
1182 |
"These div tags can be used to style of position link categories on the link "
|
1183 |
"page"
|
1184 |
msgstr ""
|
1185 |
|
1186 |
-
#:
|
1187 |
msgid "Number of alternating div classes"
|
1188 |
msgstr ""
|
1189 |
|
1190 |
-
#:
|
1191 |
msgid "Number of columns in Categories Table"
|
1192 |
msgstr ""
|
1193 |
|
1194 |
-
#:
|
1195 |
msgid "First div class name"
|
1196 |
msgstr ""
|
1197 |
|
1198 |
-
#:
|
1199 |
msgid "Use Div Class or Heading tag around Category Names"
|
1200 |
msgstr ""
|
1201 |
|
1202 |
-
#:
|
1203 |
msgid "Div Class"
|
1204 |
msgstr ""
|
1205 |
|
1206 |
-
#:
|
1207 |
msgid "Heading Tag"
|
1208 |
msgstr ""
|
1209 |
|
1210 |
-
#:
|
1211 |
msgid "Second div class name"
|
1212 |
msgstr ""
|
1213 |
|
1214 |
-
#:
|
1215 |
msgid "Example div class name: linklistcatname, Example Heading Label: h3"
|
1216 |
msgstr ""
|
1217 |
|
1218 |
-
#:
|
1219 |
msgid "Div Class Name or Heading label"
|
1220 |
msgstr ""
|
1221 |
|
1222 |
-
#:
|
1223 |
msgid "Third div class name"
|
1224 |
msgstr ""
|
1225 |
|
1226 |
-
#:
|
1227 |
msgid ""
|
1228 |
"Set this address to a page running Link Library to place categories on a "
|
1229 |
"different page. Should always be used with the Show One Category at a Time "
|
1230 |
"and HTMLGET fetch method."
|
1231 |
msgstr ""
|
1232 |
|
1233 |
-
#:
|
1234 |
msgid "Category Target Address"
|
1235 |
msgstr ""
|
1236 |
|
1237 |
-
#:
|
1238 |
msgid "Link Results Order"
|
1239 |
msgstr ""
|
1240 |
|
1241 |
-
#:
|
1242 |
msgid "Order set by "
|
1243 |
msgstr ""
|
1244 |
|
1245 |
-
#:
|
1246 |
msgid "Order randomly"
|
1247 |
msgstr ""
|
1248 |
|
1249 |
-
#:
|
1250 |
msgid "Order by updated date"
|
1251 |
msgstr ""
|
1252 |
|
1253 |
-
#:
|
1254 |
-
msgid "After Category Name"
|
1255 |
-
msgstr ""
|
1256 |
-
|
1257 |
-
#: ../link-library-admin.php:3161
|
1258 |
-
msgid "After Top-Level Category Name"
|
1259 |
-
msgstr ""
|
1260 |
-
|
1261 |
-
#: ../link-library-admin.php:3166
|
1262 |
msgid "List Featured Links ahead of Regular Links"
|
1263 |
msgstr ""
|
1264 |
|
1265 |
-
#:
|
1266 |
msgid "Show Expand Link button and hide links"
|
1267 |
msgstr ""
|
1268 |
|
1269 |
-
#:
|
1270 |
msgid "Combine all results without categories"
|
1271 |
msgstr ""
|
1272 |
|
1273 |
-
#:
|
1274 |
msgid "Link Title Content"
|
1275 |
msgstr ""
|
1276 |
|
1277 |
-
#:
|
1278 |
msgid "Except for My Link Order mode"
|
1279 |
msgstr ""
|
1280 |
|
1281 |
-
#:
|
1282 |
msgid "Leave empty to show all results"
|
1283 |
msgstr ""
|
1284 |
|
1285 |
-
#:
|
1286 |
msgid "Max number of links to display"
|
1287 |
msgstr ""
|
1288 |
|
1289 |
-
#:
|
1290 |
msgid ""
|
1291 |
"Sets default link target window, does not override specific targets set in "
|
1292 |
"links"
|
1293 |
msgstr ""
|
1294 |
|
1295 |
-
#:
|
1296 |
msgid "Link Target"
|
1297 |
msgstr ""
|
1298 |
|
1299 |
-
#:
|
1300 |
msgid "Link Display Format"
|
1301 |
msgstr ""
|
1302 |
|
1303 |
-
#:
|
1304 |
msgid "Show Column Headers"
|
1305 |
msgstr ""
|
1306 |
|
1307 |
-
#:
|
1308 |
-
msgid "Column
|
1309 |
msgstr ""
|
1310 |
|
1311 |
-
#:
|
1312 |
-
msgid "
|
1313 |
msgstr ""
|
1314 |
|
1315 |
-
#:
|
1316 |
-
msgid "
|
1317 |
msgstr ""
|
1318 |
|
1319 |
-
#:
|
1320 |
msgid "Hide Category Names"
|
1321 |
msgstr ""
|
1322 |
|
1323 |
-
#:
|
1324 |
msgid "Show Hidden Links"
|
1325 |
msgstr ""
|
1326 |
|
1327 |
-
#:
|
1328 |
-
msgid "Hide links of children categories"
|
1329 |
-
msgstr ""
|
1330 |
-
|
1331 |
-
#: ../link-library-admin.php:3279
|
1332 |
-
msgid "Child category depth limit"
|
1333 |
-
msgstr ""
|
1334 |
-
|
1335 |
-
#: ../link-library-admin.php:3287
|
1336 |
-
msgid "Hide children categories on top page"
|
1337 |
-
msgstr ""
|
1338 |
-
|
1339 |
-
#: ../link-library-admin.php:3294 ../link-library-admin.php:3297
|
1340 |
msgid "Need to be active for Link Categories to work"
|
1341 |
msgstr ""
|
1342 |
|
1343 |
-
#:
|
1344 |
msgid "Embed HTML anchors"
|
1345 |
msgstr ""
|
1346 |
|
1347 |
-
#:
|
1348 |
msgid "Show Hidden Links to Admins/Editors"
|
1349 |
msgstr ""
|
1350 |
|
1351 |
-
#:
|
1352 |
msgid ""
|
1353 |
"Arrange the items below via drag-and-drop to order the various Link Library "
|
1354 |
"elements."
|
1355 |
msgstr ""
|
1356 |
|
1357 |
-
#:
|
|
|
|
|
|
|
|
|
1358 |
msgid "Name"
|
1359 |
msgstr ""
|
1360 |
|
1361 |
-
#:
|
1362 |
msgid "Date"
|
1363 |
msgstr ""
|
1364 |
|
1365 |
-
#:
|
1366 |
msgid "Desc"
|
1367 |
msgstr ""
|
1368 |
|
1369 |
-
#:
|
1370 |
-
#: ../render-link-library-sc.php:988
|
1371 |
msgid "Notes"
|
1372 |
msgstr ""
|
1373 |
|
1374 |
-
#:
|
1375 |
msgid "RSS"
|
1376 |
msgstr ""
|
1377 |
|
1378 |
-
#:
|
1379 |
-
|
1380 |
-
msgid "Web Link"
|
1381 |
msgstr ""
|
1382 |
|
1383 |
-
#:
|
1384 |
msgid "Phone"
|
1385 |
msgstr ""
|
1386 |
|
1387 |
-
#:
|
1388 |
-
#:
|
1389 |
-
#:
|
1390 |
-
#: ../render-link-library-sc.php:990
|
1391 |
msgid "E-mail"
|
1392 |
msgstr ""
|
1393 |
|
1394 |
-
#:
|
1395 |
msgid "Hits"
|
1396 |
msgstr ""
|
1397 |
|
1398 |
-
#:
|
1399 |
-
#: ../render-link-library-sc.php:991
|
1400 |
msgid "Rating"
|
1401 |
msgstr ""
|
1402 |
|
1403 |
-
#:
|
1404 |
msgid "Large Desc"
|
1405 |
msgstr ""
|
1406 |
|
1407 |
-
#:
|
1408 |
-
#:
|
1409 |
-
#:
|
1410 |
-
#: ../render-link-library-sc.php:992
|
1411 |
msgid "Submitter Name"
|
1412 |
msgstr ""
|
1413 |
|
1414 |
-
#:
|
1415 |
msgid "Cat Desc"
|
1416 |
msgstr ""
|
1417 |
|
1418 |
-
#:
|
1419 |
-
msgid "Tags"
|
1420 |
-
msgstr ""
|
1421 |
-
|
1422 |
-
#: ../link-library-admin.php:3402 ../link-library-admin.php:5039
|
1423 |
-
#: ../link-library.php:894 ../render-link-library-sc.php:993
|
1424 |
-
msgid "Price"
|
1425 |
-
msgstr ""
|
1426 |
-
|
1427 |
-
#: ../link-library-admin.php:3414
|
1428 |
msgid "Display"
|
1429 |
msgstr ""
|
1430 |
|
1431 |
-
#:
|
1432 |
msgid "Before"
|
1433 |
msgstr ""
|
1434 |
|
1435 |
-
#:
|
1436 |
msgid "After"
|
1437 |
msgstr ""
|
1438 |
|
1439 |
-
#:
|
1440 |
msgid "Additional Details"
|
1441 |
msgstr ""
|
1442 |
|
1443 |
-
#:
|
1444 |
msgid "Link Source"
|
1445 |
msgstr ""
|
1446 |
|
1447 |
-
#:
|
1448 |
msgid ""
|
1449 |
"This column allows for the output of text/code before the first link in each "
|
1450 |
"category"
|
1451 |
msgstr ""
|
1452 |
|
1453 |
-
#:
|
1454 |
msgid "Before first link"
|
1455 |
msgstr ""
|
1456 |
|
1457 |
-
#:
|
1458 |
msgid "Output of text/code before the first link in each category"
|
1459 |
msgstr ""
|
1460 |
|
1461 |
-
#:
|
1462 |
msgid ""
|
1463 |
"This column allows for the output of text/code before a number of links "
|
1464 |
"determined by the Display field"
|
1465 |
msgstr ""
|
1466 |
|
1467 |
-
#:
|
1468 |
msgid "Intermittent Before Link"
|
1469 |
msgstr ""
|
1470 |
|
1471 |
-
#:
|
1472 |
msgid "Frequency of additional output before and after complete link group"
|
1473 |
msgstr ""
|
1474 |
|
1475 |
-
#:
|
1476 |
msgid "Output before complete link group (link, notes, desc, etc...)"
|
1477 |
msgstr ""
|
1478 |
|
1479 |
-
#:
|
1480 |
msgid "This column allows for the output of text/code before each link"
|
1481 |
msgstr ""
|
1482 |
|
1483 |
-
#:
|
1484 |
msgid "Before Link"
|
1485 |
msgstr ""
|
1486 |
|
1487 |
-
#:
|
1488 |
msgid "This column allows for the output of text/code before each link image"
|
1489 |
msgstr ""
|
1490 |
|
1491 |
-
#:
|
1492 |
msgid "Code/Text to be displayed before each link image"
|
1493 |
msgstr ""
|
1494 |
|
1495 |
-
#:
|
1496 |
msgid "Code/Text to be displayed after each link image"
|
1497 |
msgstr ""
|
1498 |
|
1499 |
-
#:
|
1500 |
msgid "CSS Class to be assigned to link image"
|
1501 |
msgstr ""
|
1502 |
|
1503 |
-
#:
|
1504 |
-
#:
|
1505 |
msgid "Primary"
|
1506 |
msgstr ""
|
1507 |
|
1508 |
-
#:
|
1509 |
-
#:
|
1510 |
msgid "Secondary"
|
1511 |
msgstr ""
|
1512 |
|
1513 |
-
#:
|
1514 |
msgid ""
|
1515 |
"This column allows for the output of text/code before and after each link "
|
1516 |
"name"
|
1517 |
msgstr ""
|
1518 |
|
1519 |
-
#:
|
1520 |
msgid "Code/Text to be displayed before each link"
|
1521 |
msgstr ""
|
1522 |
|
1523 |
-
#:
|
1524 |
msgid "Code/Text to be displayed after each link"
|
1525 |
msgstr ""
|
1526 |
|
1527 |
-
#:
|
1528 |
msgid "No Tooltip"
|
1529 |
msgstr ""
|
1530 |
|
1531 |
-
#:
|
1532 |
-
#: ../render-link-library-sc.php:987
|
1533 |
msgid "Description"
|
1534 |
msgstr ""
|
1535 |
|
1536 |
-
#:
|
1537 |
-
msgid "Dedicated page"
|
1538 |
-
msgstr ""
|
1539 |
-
|
1540 |
-
#: ../link-library-admin.php:3523
|
1541 |
msgid ""
|
1542 |
"This column allows for the output of text/code before and after each link "
|
1543 |
"date stamp"
|
1544 |
msgstr ""
|
1545 |
|
1546 |
-
#:
|
1547 |
msgid "Link Date"
|
1548 |
msgstr ""
|
1549 |
|
1550 |
-
#:
|
1551 |
msgid "Check to display link date"
|
1552 |
msgstr ""
|
1553 |
|
1554 |
-
#:
|
1555 |
msgid "Code/Text to be displayed before each date"
|
1556 |
msgstr ""
|
1557 |
|
1558 |
-
#:
|
1559 |
msgid "Code/Text to be displayed after each date"
|
1560 |
msgstr ""
|
1561 |
|
1562 |
-
#:
|
1563 |
msgid ""
|
1564 |
"This column allows for the output of text/code before and after each link "
|
1565 |
"description"
|
1566 |
msgstr ""
|
1567 |
|
1568 |
-
#:
|
1569 |
msgid "Check to display link descriptions"
|
1570 |
msgstr ""
|
1571 |
|
1572 |
-
#:
|
1573 |
msgid "Code/Text to be displayed before each description"
|
1574 |
msgstr ""
|
1575 |
|
1576 |
-
#:
|
1577 |
msgid "Code/Text to be displayed after each description"
|
1578 |
msgstr ""
|
1579 |
|
1580 |
-
#:
|
1581 |
msgid ""
|
1582 |
"This column allows for the output of text/code before and after each link "
|
1583 |
"notes"
|
1584 |
msgstr ""
|
1585 |
|
1586 |
-
#:
|
1587 |
-
#:
|
1588 |
-
#: ../usersubmission.php:368
|
1589 |
msgid "Link Notes"
|
1590 |
msgstr ""
|
1591 |
|
1592 |
-
#:
|
1593 |
msgid "Check to display link notes"
|
1594 |
msgstr ""
|
1595 |
|
1596 |
-
#:
|
1597 |
msgid "Code/Text to be displayed before each note"
|
1598 |
msgstr ""
|
1599 |
|
1600 |
-
#:
|
1601 |
msgid "Code/Text to be displayed after each note"
|
1602 |
msgstr ""
|
1603 |
|
1604 |
-
#:
|
1605 |
msgid ""
|
1606 |
"This column allows for the output of text/code before and after the RSS icons"
|
1607 |
msgstr ""
|
1608 |
|
1609 |
-
#:
|
1610 |
msgid "RSS Icons"
|
1611 |
msgstr ""
|
1612 |
|
1613 |
-
#:
|
1614 |
msgid "See below"
|
1615 |
msgstr ""
|
1616 |
|
1617 |
-
#:
|
1618 |
msgid "Code/Text to be displayed before RSS Icons"
|
1619 |
msgstr ""
|
1620 |
|
1621 |
-
#:
|
1622 |
msgid "Code/Text to be displayed after RSS Icons"
|
1623 |
msgstr ""
|
1624 |
|
1625 |
-
#:
|
1626 |
msgid ""
|
1627 |
"This column allows for the output of text/code before and after the Web Link"
|
1628 |
msgstr ""
|
1629 |
|
1630 |
-
#:
|
1631 |
-
|
|
|
|
|
|
|
|
|
1632 |
msgid "False"
|
1633 |
msgstr ""
|
1634 |
|
1635 |
-
#:
|
1636 |
msgid "Web Address"
|
1637 |
msgstr ""
|
1638 |
|
1639 |
-
#:
|
|
|
|
|
|
|
|
|
1640 |
msgid "Label"
|
1641 |
msgstr ""
|
1642 |
|
1643 |
-
#:
|
1644 |
msgid "Code/Text to be displayed before Web Link"
|
1645 |
msgstr ""
|
1646 |
|
1647 |
-
#:
|
1648 |
msgid "Code/Text to be displayed after Web Link"
|
1649 |
msgstr ""
|
1650 |
|
1651 |
-
#:
|
1652 |
msgid "Text Label that the web link will be assigned to."
|
1653 |
msgstr ""
|
1654 |
|
1655 |
-
#:
|
1656 |
msgid "Select which link address will be displayed / used for link"
|
1657 |
msgstr ""
|
1658 |
|
1659 |
-
#:
|
1660 |
msgid ""
|
1661 |
"This column allows for the output of text/code before and after the "
|
1662 |
"Telephone Number"
|
1663 |
msgstr ""
|
1664 |
|
1665 |
-
#:
|
1666 |
-
#:
|
1667 |
-
#:
|
1668 |
msgid "Telephone"
|
1669 |
msgstr ""
|
1670 |
|
1671 |
-
#:
|
1672 |
msgid "Plain Text"
|
1673 |
msgstr ""
|
1674 |
|
1675 |
-
#:
|
1676 |
-
msgid "Link"
|
1677 |
-
msgstr ""
|
1678 |
-
|
1679 |
-
#: ../link-library-admin.php:3628
|
1680 |
msgid "Code/Text to be displayed before Telephone Number"
|
1681 |
msgstr ""
|
1682 |
|
1683 |
-
#:
|
1684 |
msgid "Code/Text to be displayed after Telephone Number"
|
1685 |
msgstr ""
|
1686 |
|
1687 |
-
#:
|
1688 |
msgid "Text Label that the telephone will be assigned to."
|
1689 |
msgstr ""
|
1690 |
|
1691 |
-
#:
|
1692 |
msgid ""
|
1693 |
"This column allows for the output of text/code before and after the E-mail"
|
1694 |
msgstr ""
|
1695 |
|
1696 |
-
#:
|
1697 |
msgid "MailTo Link"
|
1698 |
msgstr ""
|
1699 |
|
1700 |
-
#:
|
1701 |
msgid "MailTo Link with Label"
|
1702 |
msgstr ""
|
1703 |
|
1704 |
-
#:
|
1705 |
msgid "Formatted Command"
|
1706 |
msgstr ""
|
1707 |
|
1708 |
-
#:
|
1709 |
msgid "Formatted Command with Labels"
|
1710 |
msgstr ""
|
1711 |
|
1712 |
-
#:
|
1713 |
msgid "Code/Text to be displayed before E-mail"
|
1714 |
msgstr ""
|
1715 |
|
1716 |
-
#:
|
1717 |
msgid "Code/Text to be displayed after E-mail"
|
1718 |
msgstr ""
|
1719 |
|
1720 |
-
#:
|
1721 |
msgid ""
|
1722 |
"Text Label that the e-mail will be assigned to represent the e-mail link."
|
1723 |
msgstr ""
|
1724 |
|
1725 |
-
#:
|
1726 |
msgid ""
|
1727 |
"Command that the e-mail will be embedded in. In the case of a command, use "
|
1728 |
"the symbols #email and #company to indicate the position where these "
|
1729 |
"elements should be inserted."
|
1730 |
msgstr ""
|
1731 |
|
1732 |
-
#:
|
1733 |
msgid ""
|
1734 |
"This column allows for the output of text/code before and after Link Hits"
|
1735 |
msgstr ""
|
1736 |
|
1737 |
-
#:
|
1738 |
msgid "Link Hits"
|
1739 |
msgstr ""
|
1740 |
|
1741 |
-
#:
|
1742 |
msgid "Code/Text to be displayed before Link Hits"
|
1743 |
msgstr ""
|
1744 |
|
1745 |
-
#:
|
1746 |
msgid "Code/Text to be displayed after Link Hits"
|
1747 |
msgstr ""
|
1748 |
|
1749 |
-
#:
|
1750 |
msgid ""
|
1751 |
"This column allows for the output of text/code before and after the Link "
|
1752 |
"Rating"
|
1753 |
msgstr ""
|
1754 |
|
1755 |
-
#:
|
1756 |
msgid "Link Rating"
|
1757 |
msgstr ""
|
1758 |
|
1759 |
-
#:
|
1760 |
msgid "Code/Text to be displayed before Link Rating"
|
1761 |
msgstr ""
|
1762 |
|
1763 |
-
#:
|
1764 |
msgid "Code/Text to be displayed after Link Rating"
|
1765 |
msgstr ""
|
1766 |
|
1767 |
-
#:
|
1768 |
-
#:
|
1769 |
msgid ""
|
1770 |
"This column allows for the output of text/code before and after the Link "
|
1771 |
"Large Description"
|
1772 |
msgstr ""
|
1773 |
|
1774 |
-
#:
|
1775 |
-
#:
|
1776 |
msgid "Link Large Description"
|
1777 |
msgstr ""
|
1778 |
|
1779 |
-
#:
|
1780 |
-
#:
|
1781 |
msgid "Code/Text to be displayed before Link Large Description"
|
1782 |
msgstr ""
|
1783 |
|
1784 |
-
#:
|
1785 |
-
#:
|
1786 |
msgid "Code/Text to be displayed after Link Large Description"
|
1787 |
msgstr ""
|
1788 |
|
1789 |
-
#:
|
1790 |
msgid "Category Description"
|
1791 |
msgstr ""
|
1792 |
|
1793 |
-
#:
|
1794 |
-
msgid "This column allows for the output of tags associated with the link"
|
1795 |
-
msgstr ""
|
1796 |
-
|
1797 |
-
#: ../link-library-admin.php:3761
|
1798 |
-
msgid "Link Tags"
|
1799 |
-
msgstr ""
|
1800 |
-
|
1801 |
-
#: ../link-library-admin.php:3765
|
1802 |
-
msgid "Code/Text to be displayed before Link Tags"
|
1803 |
-
msgstr ""
|
1804 |
-
|
1805 |
-
#: ../link-library-admin.php:3768
|
1806 |
-
msgid "Code/Text to be displayed after Link Tags"
|
1807 |
-
msgstr ""
|
1808 |
-
|
1809 |
-
#: ../link-library-admin.php:3778
|
1810 |
-
msgid ""
|
1811 |
-
"This column allows for the output of the price field associated with the link"
|
1812 |
-
msgstr ""
|
1813 |
-
|
1814 |
-
#: ../link-library-admin.php:3778
|
1815 |
-
msgid "Link Price"
|
1816 |
-
msgstr ""
|
1817 |
-
|
1818 |
-
#: ../link-library-admin.php:3782
|
1819 |
-
msgid "Code/Text to be displayed before Link Price"
|
1820 |
-
msgstr ""
|
1821 |
-
|
1822 |
-
#: ../link-library-admin.php:3785
|
1823 |
-
msgid "Code/Text to be displayed after Link Price"
|
1824 |
-
msgstr ""
|
1825 |
-
|
1826 |
-
#: ../link-library-admin.php:3789
|
1827 |
-
msgid "Currency symbol to be displayed next to price"
|
1828 |
-
msgstr ""
|
1829 |
-
|
1830 |
-
#: ../link-library-admin.php:3794
|
1831 |
-
msgid "Before Price"
|
1832 |
-
msgstr ""
|
1833 |
-
|
1834 |
-
#: ../link-library-admin.php:3795
|
1835 |
-
msgid "After Price"
|
1836 |
-
msgstr ""
|
1837 |
-
|
1838 |
-
#: ../link-library-admin.php:3805
|
1839 |
msgid "This column allows for the output of text/code after each link"
|
1840 |
msgstr ""
|
1841 |
|
1842 |
-
#:
|
1843 |
msgid "After Link Block"
|
1844 |
msgstr ""
|
1845 |
|
1846 |
-
#:
|
1847 |
msgid "Output after complete link group (link, notes, desc, etc...)"
|
1848 |
msgstr ""
|
1849 |
|
1850 |
-
#:
|
1851 |
msgid ""
|
1852 |
"This column allows for the output of text/code after a number of links "
|
1853 |
"determined in the first column"
|
1854 |
msgstr ""
|
1855 |
|
1856 |
-
#:
|
1857 |
msgid "Intermittent After Link"
|
1858 |
msgstr ""
|
1859 |
|
1860 |
-
#:
|
1861 |
msgid ""
|
1862 |
"This column allows for the output of text/code after the last link in each "
|
1863 |
"category"
|
1864 |
msgstr ""
|
1865 |
|
1866 |
-
#:
|
1867 |
msgid "After last link"
|
1868 |
msgstr ""
|
1869 |
|
1870 |
-
#:
|
1871 |
msgid "Show Link Updated Flag"
|
1872 |
msgstr ""
|
1873 |
|
1874 |
-
#:
|
1875 |
msgid "Convert [] to <> in Link Description and Notes"
|
1876 |
msgstr ""
|
1877 |
|
1878 |
-
#:
|
1879 |
msgid "Add nofollow tag to outgoing links"
|
1880 |
msgstr ""
|
1881 |
|
1882 |
-
#:
|
1883 |
msgid "Show edit links when logged in as editor or administrator"
|
1884 |
msgstr ""
|
1885 |
|
1886 |
-
#:
|
1887 |
msgid "Show link name when no image is assigned"
|
1888 |
msgstr ""
|
1889 |
|
1890 |
-
#:
|
1891 |
msgid "Do not output fields with no value"
|
1892 |
msgstr ""
|
1893 |
|
1894 |
-
#:
|
1895 |
msgid "Enable link Pop-Ups"
|
1896 |
msgstr ""
|
1897 |
|
1898 |
-
#:
|
1899 |
msgid "Pop-Up Width"
|
1900 |
msgstr ""
|
1901 |
|
1902 |
-
#:
|
1903 |
msgid "Pop-Up Height"
|
1904 |
msgstr ""
|
1905 |
|
1906 |
-
#:
|
1907 |
msgid "Dialog contents"
|
1908 |
msgstr ""
|
1909 |
|
1910 |
-
#:
|
1911 |
msgid "Show RSS Link using Text"
|
1912 |
msgstr ""
|
1913 |
|
1914 |
-
#:
|
1915 |
msgid "Show RSS Link using Standard Icon"
|
1916 |
msgstr ""
|
1917 |
|
1918 |
-
#:
|
1919 |
msgid "Show RSS Preview Link"
|
1920 |
msgstr ""
|
1921 |
|
1922 |
-
#:
|
1923 |
msgid "Number of articles shown in RSS Preview"
|
1924 |
msgstr ""
|
1925 |
|
1926 |
-
#:
|
1927 |
msgid "Show RSS Feed Headers in Link Library output"
|
1928 |
msgstr ""
|
1929 |
|
1930 |
-
#:
|
1931 |
msgid "Show RSS Feed Content in Link Library output"
|
1932 |
msgstr ""
|
1933 |
|
1934 |
-
#:
|
1935 |
msgid "Number of RSS articles shown in Link Library Output"
|
1936 |
msgstr ""
|
1937 |
|
1938 |
-
#:
|
1939 |
msgid "Max number of days since published"
|
1940 |
msgstr ""
|
1941 |
|
1942 |
-
#:
|
1943 |
msgid "RSS Preview Width"
|
1944 |
msgstr ""
|
1945 |
|
1946 |
-
#:
|
1947 |
msgid "RSS Preview Height"
|
1948 |
msgstr ""
|
1949 |
|
1950 |
-
#:
|
1951 |
msgid "Skip links with no RSS inline items"
|
1952 |
msgstr ""
|
1953 |
|
1954 |
-
#:
|
1955 |
msgid ""
|
1956 |
"Checking this option will get images from the Robothumb web site every time"
|
1957 |
msgstr ""
|
1958 |
|
1959 |
-
#:
|
1960 |
msgid "Use thumbnail service for dynamic link images"
|
1961 |
msgstr ""
|
1962 |
|
1963 |
-
#:
|
1964 |
msgid ""
|
1965 |
"Checking this option will get images from the thumbshots web site every time"
|
1966 |
msgstr ""
|
1967 |
|
1968 |
-
#:
|
1969 |
msgid "Give priority to images assigned to links if present"
|
1970 |
msgstr ""
|
1971 |
|
1972 |
-
#:
|
1973 |
msgid "Generate Images / Favorite Icons"
|
1974 |
msgstr ""
|
1975 |
|
1976 |
-
#:
|
1977 |
msgid ""
|
1978 |
"This button is only available when a valid API key is entered under the Link "
|
1979 |
"Library General Settings."
|
1980 |
msgstr ""
|
1981 |
|
1982 |
-
#:
|
1983 |
msgid "Generate Thumbnails and Store locally"
|
1984 |
msgstr ""
|
1985 |
|
1986 |
-
#:
|
1987 |
msgid "Generate Favorite Icons and Store locally"
|
1988 |
msgstr ""
|
1989 |
|
1990 |
-
#:
|
1991 |
msgid "Delete all local thumbnails and icons"
|
1992 |
msgstr ""
|
1993 |
|
1994 |
-
#:
|
1995 |
msgid "Delete all local thumbnails"
|
1996 |
msgstr ""
|
1997 |
|
1998 |
-
#:
|
1999 |
msgid "Delete all local icons"
|
2000 |
msgstr ""
|
2001 |
|
2002 |
-
#:
|
2003 |
msgid "Publish RSS Feed"
|
2004 |
msgstr ""
|
2005 |
|
2006 |
-
#:
|
2007 |
msgid "Number of items in RSS feed"
|
2008 |
msgstr ""
|
2009 |
|
2010 |
-
#:
|
2011 |
msgid "RSS Feed Title"
|
2012 |
msgstr ""
|
2013 |
|
2014 |
-
#:
|
2015 |
msgid "RSS Feed Description"
|
2016 |
msgstr ""
|
2017 |
|
2018 |
-
#:
|
2019 |
msgid ""
|
2020 |
"RSS Feed Web Address (default yoursite.com?"
|
2021 |
"link_library_rss_feed=1&settingset=1 )"
|
2022 |
msgstr ""
|
2023 |
|
2024 |
-
#:
|
2025 |
msgid "Search Label"
|
2026 |
msgstr ""
|
2027 |
|
2028 |
-
#:
|
2029 |
msgid "Search Field Initial Text"
|
2030 |
msgstr ""
|
2031 |
|
2032 |
-
#:
|
2033 |
msgid "Search No Results Text"
|
2034 |
msgstr ""
|
2035 |
|
2036 |
-
#:
|
2037 |
msgid "No links found matching your search criteria"
|
2038 |
msgstr ""
|
2039 |
|
2040 |
-
#:
|
2041 |
msgid "Leave empty when links are to be displayed on same page as search box"
|
2042 |
msgstr ""
|
2043 |
|
2044 |
-
#:
|
2045 |
msgid "Results Page Address"
|
2046 |
msgstr ""
|
2047 |
|
2048 |
-
#:
|
2049 |
msgid "Following this link shows a list of all links awaiting moderation"
|
2050 |
msgstr ""
|
2051 |
|
2052 |
-
#:
|
2053 |
msgid "View list of links awaiting moderation"
|
2054 |
msgstr ""
|
2055 |
|
2056 |
-
#:
|
2057 |
msgid "Show user links immediately"
|
2058 |
msgstr ""
|
2059 |
|
2060 |
-
#:
|
2061 |
msgid "E-mail admin on link submission"
|
2062 |
msgstr ""
|
2063 |
|
2064 |
-
#:
|
2065 |
msgid "Validate links with Akismet"
|
2066 |
msgstr ""
|
2067 |
|
2068 |
-
#:
|
2069 |
msgid "E-mail submitter"
|
2070 |
msgstr ""
|
2071 |
|
2072 |
-
#:
|
2073 |
-
msgid "Additional text for link submitter e-mail"
|
2074 |
-
msgstr ""
|
2075 |
-
|
2076 |
-
#: ../link-library-admin.php:4253
|
2077 |
msgid "Require login to display form"
|
2078 |
msgstr ""
|
2079 |
|
2080 |
-
#:
|
2081 |
msgid "Allow link submission with empty link"
|
2082 |
msgstr ""
|
2083 |
|
2084 |
-
#:
|
2085 |
msgid "Display captcha"
|
2086 |
msgstr ""
|
2087 |
|
2088 |
-
#:
|
2089 |
msgid ""
|
2090 |
"This function will only store data when users are logged in to Wordpress"
|
2091 |
msgstr ""
|
2092 |
|
2093 |
-
#:
|
2094 |
msgid "Store login name on link submission"
|
2095 |
msgstr ""
|
2096 |
|
2097 |
-
#:
|
2098 |
msgid "Add new link label"
|
2099 |
msgstr ""
|
2100 |
|
2101 |
-
#:
|
2102 |
-
#:
|
2103 |
msgid "Add new link"
|
2104 |
msgstr ""
|
2105 |
|
2106 |
-
#:
|
2107 |
msgid "Link name label"
|
2108 |
msgstr ""
|
2109 |
|
2110 |
-
#:
|
2111 |
msgid "Link address label"
|
2112 |
msgstr ""
|
2113 |
|
2114 |
-
#:
|
2115 |
-
#: ../usersubmission.php:353
|
2116 |
msgid "Link Address"
|
2117 |
msgstr ""
|
2118 |
|
2119 |
-
#:
|
2120 |
msgid "Link RSS label"
|
2121 |
msgstr ""
|
2122 |
|
2123 |
-
#:
|
2124 |
-
#:
|
2125 |
-
#:
|
2126 |
msgid "Link RSS"
|
2127 |
msgstr ""
|
2128 |
|
2129 |
-
#:
|
2130 |
-
#:
|
2131 |
-
#:
|
2132 |
-
#:
|
2133 |
-
#:
|
2134 |
-
#:
|
2135 |
-
#:
|
2136 |
msgid "Hide"
|
2137 |
msgstr ""
|
2138 |
|
2139 |
-
#:
|
2140 |
-
#:
|
2141 |
-
#:
|
2142 |
-
#:
|
2143 |
-
#:
|
2144 |
-
#:
|
2145 |
-
#:
|
2146 |
msgid "Show"
|
2147 |
msgstr ""
|
2148 |
|
2149 |
-
#:
|
2150 |
-
#:
|
2151 |
-
#:
|
2152 |
-
#:
|
2153 |
-
#:
|
2154 |
-
#:
|
2155 |
msgid "Required"
|
2156 |
msgstr ""
|
2157 |
|
2158 |
-
#:
|
2159 |
msgid "Link category label"
|
2160 |
msgstr ""
|
2161 |
|
2162 |
-
#:
|
2163 |
msgid ""
|
2164 |
"Comma-seperated list of categories to be displayed in category selection box "
|
2165 |
"(e.g. 1,5,4) instead of displaying the set of categories specified by the "
|
2166 |
"library."
|
2167 |
msgstr ""
|
2168 |
|
2169 |
-
#:
|
2170 |
msgid "Link category override selection list"
|
2171 |
msgstr ""
|
2172 |
|
2173 |
-
#:
|
2174 |
msgid ""
|
2175 |
"Comma-seperated list of categories to be displayed in category selection box "
|
2176 |
"(e.g. 1,5,4)"
|
2177 |
msgstr ""
|
2178 |
|
2179 |
-
#:
|
2180 |
msgid "Default category"
|
2181 |
msgstr ""
|
2182 |
|
2183 |
-
#:
|
2184 |
-
#:
|
2185 |
msgid "User-submitted category"
|
2186 |
msgstr ""
|
2187 |
|
2188 |
-
#:
|
2189 |
msgid "No"
|
2190 |
msgstr ""
|
2191 |
|
2192 |
-
#:
|
2193 |
msgid "Allow"
|
2194 |
msgstr ""
|
2195 |
|
2196 |
-
#:
|
2197 |
msgid "User-submitted category prompt"
|
2198 |
msgstr ""
|
2199 |
|
2200 |
-
#:
|
2201 |
-
#:
|
2202 |
msgid "User-submitted category (define below)"
|
2203 |
msgstr ""
|
2204 |
|
2205 |
-
#:
|
2206 |
msgid "Link description label"
|
2207 |
msgstr ""
|
2208 |
|
2209 |
-
#:
|
2210 |
msgid "Link notes label"
|
2211 |
msgstr ""
|
2212 |
|
2213 |
-
#:
|
2214 |
msgid "Reciprocal link must be configured for this option to work correctly"
|
2215 |
msgstr ""
|
2216 |
|
2217 |
-
#:
|
2218 |
msgid "Show immediately if reciprocal link valid"
|
2219 |
msgstr ""
|
2220 |
|
2221 |
-
#:
|
2222 |
msgid "Use Text Area for Notes"
|
2223 |
msgstr ""
|
2224 |
|
2225 |
-
#:
|
2226 |
msgid "Only allow one reciprocal link per domain"
|
2227 |
msgstr ""
|
2228 |
|
2229 |
-
#:
|
2230 |
msgid "Reciprocal Link label"
|
2231 |
msgstr ""
|
2232 |
|
2233 |
-
#:
|
2234 |
-
#:
|
2235 |
-
#:
|
2236 |
msgid "Reciprocal Link"
|
2237 |
msgstr ""
|
2238 |
|
2239 |
-
#:
|
2240 |
msgid "Secondary Address label"
|
2241 |
msgstr ""
|
2242 |
|
2243 |
-
#:
|
2244 |
-
#:
|
2245 |
msgid "Secondary Address"
|
2246 |
msgstr ""
|
2247 |
|
2248 |
-
#:
|
2249 |
msgid "Link Telephone label"
|
2250 |
msgstr ""
|
2251 |
|
2252 |
-
#:
|
2253 |
msgid "Link E-mail label"
|
2254 |
msgstr ""
|
2255 |
|
2256 |
-
#:
|
2257 |
msgid "Link Submitter Name label"
|
2258 |
msgstr ""
|
2259 |
|
2260 |
-
#:
|
2261 |
msgid "Link Submitter E-mail label"
|
2262 |
msgstr ""
|
2263 |
|
2264 |
-
#:
|
2265 |
-
#:
|
2266 |
msgid "Submitter E-mail"
|
2267 |
msgstr ""
|
2268 |
|
2269 |
-
#:
|
2270 |
msgid "Link Submitter Comment Label"
|
2271 |
msgstr ""
|
2272 |
|
2273 |
-
#:
|
2274 |
-
#:
|
2275 |
msgid "Submitter Comment"
|
2276 |
msgstr ""
|
2277 |
|
2278 |
-
#:
|
2279 |
msgid "Large Description Label"
|
2280 |
msgstr ""
|
2281 |
|
2282 |
-
#:
|
2283 |
-
#: ../link-library-defaults.php:201 ../render-link-library-sc.php:991
|
2284 |
msgid "Large Description"
|
2285 |
msgstr ""
|
2286 |
|
2287 |
-
#:
|
2288 |
msgid "Custom Captcha Question"
|
2289 |
msgstr ""
|
2290 |
|
2291 |
-
#:
|
2292 |
-
#:
|
2293 |
msgid "Is boiling water hot or cold?"
|
2294 |
msgstr ""
|
2295 |
|
2296 |
-
#:
|
2297 |
msgid "Custom Captcha Answer"
|
2298 |
msgstr ""
|
2299 |
|
2300 |
-
#:
|
2301 |
msgid "hot"
|
2302 |
msgstr ""
|
2303 |
|
2304 |
-
#:
|
2305 |
msgid "Add Link button label"
|
2306 |
msgstr ""
|
2307 |
|
2308 |
-
#:
|
2309 |
msgid "Add Link"
|
2310 |
msgstr ""
|
2311 |
|
2312 |
-
#:
|
2313 |
msgid "New Link Message"
|
2314 |
msgstr ""
|
2315 |
|
2316 |
-
#:
|
2317 |
msgid "New link submitted"
|
2318 |
msgstr ""
|
2319 |
|
2320 |
-
#:
|
2321 |
msgid "New Link Moderation Label"
|
2322 |
msgstr ""
|
2323 |
|
2324 |
-
#:
|
2325 |
msgid "it will appear in the list once moderated. Thank you."
|
2326 |
msgstr ""
|
2327 |
|
2328 |
-
#:
|
2329 |
-
msgid "
|
2330 |
-
|
2331 |
-
|
2332 |
-
#: ../link-library-admin.php:4632
|
2333 |
-
msgid "Library Settings CSV file to import"
|
2334 |
msgstr ""
|
2335 |
|
2336 |
-
#:
|
2337 |
-
msgid "
|
2338 |
msgstr ""
|
2339 |
|
2340 |
-
#:
|
2341 |
-
msgid "
|
2342 |
msgstr ""
|
2343 |
|
2344 |
-
#:
|
2345 |
-
msgid "
|
2346 |
msgstr ""
|
2347 |
|
2348 |
-
#:
|
2349 |
-
msgid "
|
2350 |
msgstr ""
|
2351 |
|
2352 |
-
#:
|
2353 |
-
msgid "
|
2354 |
msgstr ""
|
2355 |
|
2356 |
-
#:
|
2357 |
-
msgid "
|
2358 |
msgstr ""
|
2359 |
|
2360 |
-
#:
|
2361 |
-
msgid "
|
2362 |
msgstr ""
|
2363 |
|
2364 |
-
#:
|
2365 |
-
msgid "
|
2366 |
msgstr ""
|
2367 |
|
2368 |
-
#:
|
2369 |
-
msgid "
|
2370 |
msgstr ""
|
2371 |
|
2372 |
-
#:
|
2373 |
-
msgid "
|
2374 |
msgstr ""
|
2375 |
|
2376 |
-
#:
|
2377 |
-
msgid "
|
2378 |
msgstr ""
|
2379 |
|
2380 |
-
#:
|
2381 |
-
msgid "
|
2382 |
msgstr ""
|
2383 |
|
2384 |
-
#:
|
2385 |
-
msgid "
|
2386 |
msgstr ""
|
2387 |
|
2388 |
-
#:
|
2389 |
-
msgid "
|
2390 |
msgstr ""
|
2391 |
|
2392 |
-
#:
|
2393 |
-
msgid "
|
2394 |
msgstr ""
|
2395 |
|
2396 |
-
#:
|
2397 |
-
msgid "
|
2398 |
msgstr ""
|
2399 |
|
2400 |
-
#:
|
2401 |
-
msgid "
|
2402 |
msgstr ""
|
2403 |
|
2404 |
-
#:
|
2405 |
-
msgid "
|
2406 |
msgstr ""
|
2407 |
|
2408 |
-
#:
|
2409 |
-
msgid "
|
2410 |
msgstr ""
|
2411 |
|
2412 |
-
#:
|
2413 |
-
msgid "
|
2414 |
msgstr ""
|
2415 |
|
2416 |
-
#:
|
2417 |
-
msgid ""
|
2418 |
-
"Cannot generate thumbnail when no name and no web address are specified."
|
2419 |
msgstr ""
|
2420 |
|
2421 |
-
#:
|
2422 |
-
msgid ""
|
2423 |
-
"Cannot generate favorite icon when no name and no web address are specified."
|
2424 |
msgstr ""
|
2425 |
|
2426 |
-
#:
|
2427 |
-
msgid "Featured
|
2428 |
msgstr ""
|
2429 |
|
2430 |
-
#:
|
2431 |
msgid "No Follow"
|
2432 |
msgstr ""
|
2433 |
|
2434 |
-
#:
|
2435 |
msgid "Updated Date"
|
2436 |
msgstr ""
|
2437 |
|
2438 |
-
#:
|
2439 |
msgid "Secondary Web Address"
|
2440 |
msgstr ""
|
2441 |
|
2442 |
-
#:
|
2443 |
msgid "Visit"
|
2444 |
msgstr ""
|
2445 |
|
2446 |
-
#:
|
2447 |
-
msgid "Number of views"
|
2448 |
msgstr ""
|
2449 |
|
2450 |
-
#:
|
2451 |
-
msgid "Submitter"
|
2452 |
msgstr ""
|
2453 |
|
2454 |
-
#:
|
2455 |
-
msgid "
|
2456 |
msgstr ""
|
2457 |
|
2458 |
-
#:
|
2459 |
-
msgid "
|
2460 |
msgstr ""
|
2461 |
|
2462 |
-
#:
|
2463 |
-
msgid "
|
2464 |
msgstr ""
|
2465 |
|
2466 |
-
#:
|
2467 |
-
msgid "
|
2468 |
msgstr ""
|
2469 |
|
2470 |
-
#:
|
2471 |
-
msgid "
|
2472 |
msgstr ""
|
2473 |
|
2474 |
-
#:
|
2475 |
-
msgid "
|
2476 |
msgstr ""
|
2477 |
|
2478 |
-
#:
|
2479 |
-
msgid "
|
2480 |
msgstr ""
|
2481 |
|
2482 |
-
#:
|
2483 |
-
msgid "
|
2484 |
msgstr ""
|
2485 |
|
2486 |
-
#:
|
2487 |
-
msgid "
|
2488 |
msgstr ""
|
2489 |
|
2490 |
-
#:
|
2491 |
-
msgid "
|
2492 |
msgstr ""
|
2493 |
|
2494 |
-
#:
|
2495 |
-
msgid "
|
|
|
|
|
2496 |
msgstr ""
|
2497 |
|
2498 |
-
#:
|
2499 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
2500 |
msgstr ""
|
2501 |
|
2502 |
-
#:
|
2503 |
msgid "Add Link Library Shortcode"
|
2504 |
msgstr ""
|
2505 |
|
2506 |
-
#:
|
2507 |
msgid "Link name"
|
2508 |
msgstr ""
|
2509 |
|
2510 |
-
#:
|
2511 |
msgid "Link address"
|
2512 |
msgstr ""
|
2513 |
|
2514 |
-
#:
|
2515 |
msgid "New link submitted."
|
2516 |
msgstr ""
|
2517 |
|
2518 |
-
#:
|
2519 |
msgid "It will appear in the list once moderated. Thank you."
|
2520 |
msgstr ""
|
2521 |
|
2522 |
-
#:
|
2523 |
msgid "Link Library-Generated RSS Feed"
|
2524 |
msgstr ""
|
2525 |
|
2526 |
-
#:
|
2527 |
msgid "Description of Link Library-Generated Feed"
|
2528 |
msgstr ""
|
2529 |
|
2530 |
-
#:
|
2531 |
msgid "%link_image%<br />Click through to visit %link_name%."
|
2532 |
msgstr ""
|
2533 |
|
2534 |
-
#:
|
2535 |
msgid "Search..."
|
2536 |
msgstr ""
|
2537 |
|
2538 |
-
#:
|
2539 |
msgid "Category Filter"
|
2540 |
msgstr ""
|
2541 |
|
2542 |
-
#:
|
2543 |
msgid "Link Library Generated Feed"
|
2544 |
msgstr ""
|
2545 |
|
2546 |
-
#:
|
2547 |
msgid "Could not update link in the database"
|
2548 |
msgstr ""
|
2549 |
|
2550 |
-
#:
|
2551 |
msgid "Could not insert link into the database"
|
2552 |
msgstr ""
|
2553 |
|
2554 |
-
#:
|
2555 |
msgid ""
|
2556 |
"Link Library no longer supports calling this function with individual "
|
2557 |
"arguments. Please use the admin panel to configure Link Library and the "
|
2558 |
"do_shortcode function to use Link Library output in your code."
|
2559 |
msgstr ""
|
2560 |
|
2561 |
-
#:
|
2562 |
-
msgid "Tag"
|
2563 |
-
msgstr ""
|
2564 |
-
|
2565 |
-
#: ../render-link-library-addlink-sc.php:134
|
2566 |
msgid "Confirm code not given"
|
2567 |
msgstr ""
|
2568 |
|
2569 |
-
#:
|
2570 |
msgid "Captcha code is wrong"
|
2571 |
msgstr ""
|
2572 |
|
2573 |
-
#:
|
2574 |
msgid "Captcha code is only valid for 5 minutes"
|
2575 |
msgstr ""
|
2576 |
|
2577 |
-
#:
|
2578 |
msgid "No captcha cookie given. Make sure cookies are enabled"
|
2579 |
msgstr ""
|
2580 |
|
2581 |
-
#:
|
2582 |
msgid "Captcha answer was not provided."
|
2583 |
msgstr ""
|
2584 |
|
2585 |
-
#:
|
2586 |
msgid "Captcha answer is incorrect"
|
2587 |
msgstr ""
|
2588 |
|
2589 |
-
#:
|
2590 |
msgid "User Category was not provided correctly. Link insertion failed."
|
2591 |
msgstr ""
|
2592 |
|
2593 |
-
#:
|
2594 |
msgid "Error: Link does not have an address."
|
2595 |
msgstr ""
|
2596 |
|
2597 |
-
#:
|
2598 |
msgid "Error: Link already exists."
|
2599 |
msgstr ""
|
2600 |
|
2601 |
-
#:
|
2602 |
-
#:
|
2603 |
-
#:
|
2604 |
-
#:
|
2605 |
-
#:
|
2606 |
-
#:
|
2607 |
-
#:
|
2608 |
-
#:
|
2609 |
-
#:
|
2610 |
-
#:
|
2611 |
-
#:
|
2612 |
msgid " is a required field"
|
2613 |
msgstr ""
|
2614 |
|
2615 |
-
#:
|
2616 |
msgid "Link submission error"
|
2617 |
msgstr ""
|
2618 |
|
2619 |
-
#:
|
2620 |
msgid "Link rejected. There is already a site with this reciprocal link."
|
2621 |
msgstr ""
|
2622 |
|
2623 |
-
#:
|
2624 |
-
#:
|
2625 |
-
#:
|
2626 |
-
#:
|
2627 |
-
#:
|
2628 |
-
#:
|
2629 |
-
#:
|
2630 |
-
#:
|
2631 |
-
#:
|
2632 |
msgid "Required field"
|
2633 |
msgstr ""
|
2634 |
|
2635 |
-
#:
|
2636 |
msgid "Required field, URL"
|
2637 |
msgstr ""
|
2638 |
|
2639 |
-
#:
|
2640 |
-
#:
|
2641 |
-
#:
|
2642 |
msgid "Required field, 1-255 chars"
|
2643 |
msgstr ""
|
2644 |
|
2645 |
-
#:
|
2646 |
msgid "Link category"
|
2647 |
msgstr ""
|
2648 |
|
2649 |
-
#:
|
2650 |
msgid "Select a category"
|
2651 |
msgstr ""
|
2652 |
|
2653 |
-
#:
|
2654 |
msgid "Link description"
|
2655 |
msgstr ""
|
2656 |
|
2657 |
-
#:
|
2658 |
msgid "Large description"
|
2659 |
msgstr ""
|
2660 |
|
2661 |
-
#:
|
2662 |
msgid "Link notes"
|
2663 |
msgstr ""
|
2664 |
|
2665 |
-
#:
|
2666 |
msgid "Required field, proper e-mail, 1-128 chars"
|
2667 |
msgstr ""
|
2668 |
|
2669 |
-
#:
|
2670 |
-
#:
|
2671 |
msgid "Required field, 1-128 chars"
|
2672 |
msgstr ""
|
2673 |
|
2674 |
-
#:
|
2675 |
msgid "Add link"
|
2676 |
msgstr ""
|
2677 |
|
2678 |
-
#:
|
2679 |
msgid "Form submission failed!"
|
2680 |
msgstr ""
|
2681 |
|
2682 |
-
#:
|
2683 |
msgid "You have not answered all required fields"
|
2684 |
msgstr ""
|
2685 |
|
2686 |
-
#:
|
2687 |
msgid "You have not given a correct time"
|
2688 |
msgstr ""
|
2689 |
|
2690 |
-
#:
|
2691 |
msgid "You have not given a correct e-mail address"
|
2692 |
msgstr ""
|
2693 |
|
2694 |
-
#:
|
2695 |
msgid "You have not given a correct phone number"
|
2696 |
msgstr ""
|
2697 |
|
2698 |
-
#:
|
2699 |
msgid "You have not given a correct answer to the security question"
|
2700 |
msgstr ""
|
2701 |
|
2702 |
-
#:
|
2703 |
msgid "You have not given a correct date"
|
2704 |
msgstr ""
|
2705 |
|
2706 |
-
#:
|
2707 |
msgid "The input value must be between "
|
2708 |
msgstr ""
|
2709 |
|
2710 |
-
#:
|
2711 |
msgid "characters"
|
2712 |
msgstr ""
|
2713 |
|
2714 |
-
#:
|
2715 |
msgid "The input value is longer than "
|
2716 |
msgstr ""
|
2717 |
|
2718 |
-
#:
|
2719 |
msgid "The input value is shorter than "
|
2720 |
msgstr ""
|
2721 |
|
2722 |
-
#:
|
2723 |
msgid "Input values could not be confirmed"
|
2724 |
msgstr ""
|
2725 |
|
2726 |
-
#:
|
2727 |
msgid "Incorrect domain value"
|
2728 |
msgstr ""
|
2729 |
|
2730 |
-
#:
|
2731 |
-
msgid "The input value is not a correct URL
|
2732 |
msgstr ""
|
2733 |
|
2734 |
-
#:
|
2735 |
msgid "The input value is incorrect"
|
2736 |
msgstr ""
|
2737 |
|
2738 |
-
#:
|
2739 |
msgid " and spaces "
|
2740 |
msgstr ""
|
2741 |
|
2742 |
-
#:
|
2743 |
msgid "The input value was not a correct number"
|
2744 |
msgstr ""
|
2745 |
|
2746 |
-
#:
|
2747 |
msgid "Your social security number was incorrect"
|
2748 |
msgstr ""
|
2749 |
|
2750 |
-
#:
|
2751 |
msgid "Incorrect UK VAT Number"
|
2752 |
msgstr ""
|
2753 |
|
2754 |
-
#:
|
2755 |
msgid "The password is not strong enough"
|
2756 |
msgstr ""
|
2757 |
|
2758 |
-
#:
|
2759 |
msgid "You have to choose at least "
|
2760 |
msgstr ""
|
2761 |
|
2762 |
-
#:
|
2763 |
msgid " answers"
|
2764 |
msgstr ""
|
2765 |
|
2766 |
-
#:
|
2767 |
msgid "The input value can only contain alphanumeric characters "
|
2768 |
msgstr ""
|
2769 |
|
2770 |
-
#:
|
2771 |
msgid " and "
|
2772 |
msgstr ""
|
2773 |
|
2774 |
-
#:
|
2775 |
#, php-format
|
2776 |
msgid "The file you are trying to upload is too large (max %s)"
|
2777 |
msgstr ""
|
2778 |
|
2779 |
-
#:
|
2780 |
#, php-format
|
2781 |
msgid "Only files of type %s is allowed"
|
2782 |
msgstr ""
|
2783 |
|
2784 |
-
#:
|
2785 |
msgid "Please choose between "
|
2786 |
msgstr ""
|
2787 |
|
2788 |
-
#:
|
2789 |
msgid "Please choose at least "
|
2790 |
msgstr ""
|
2791 |
|
2792 |
-
#:
|
2793 |
msgid "Please choose a maximum of "
|
2794 |
msgstr ""
|
2795 |
|
2796 |
-
#:
|
2797 |
msgid " item(s)"
|
2798 |
msgstr ""
|
2799 |
|
2800 |
-
#:
|
2801 |
msgid "The credit card number is not correct"
|
2802 |
msgstr ""
|
2803 |
|
2804 |
-
#:
|
2805 |
msgid "The CVV number was not correct"
|
2806 |
msgstr ""
|
2807 |
|
2808 |
-
#:
|
2809 |
msgid "Incorrect image dimensions,"
|
2810 |
msgstr ""
|
2811 |
|
2812 |
-
#:
|
2813 |
msgid "the image can not be taller than"
|
2814 |
msgstr ""
|
2815 |
|
2816 |
-
#:
|
2817 |
msgid "the image can not be wider than"
|
2818 |
msgstr ""
|
2819 |
|
2820 |
-
#:
|
2821 |
msgid "the image was too small"
|
2822 |
msgstr ""
|
2823 |
|
2824 |
-
#:
|
2825 |
msgid "min"
|
2826 |
msgstr ""
|
2827 |
|
2828 |
-
#:
|
2829 |
msgid "max"
|
2830 |
msgstr ""
|
2831 |
|
2832 |
-
#:
|
2833 |
msgid "Image ratio is not accepted"
|
2834 |
msgstr ""
|
2835 |
|
2836 |
-
#:
|
2837 |
msgid "Enter code from above image"
|
2838 |
msgstr ""
|
2839 |
|
2840 |
-
#:
|
2841 |
msgid "Go!"
|
2842 |
msgstr ""
|
2843 |
|
2844 |
-
#:
|
2845 |
msgid "No categories found"
|
2846 |
msgstr ""
|
2847 |
|
2848 |
-
#:
|
2849 |
-
#:
|
2850 |
msgid "Previous"
|
2851 |
msgstr ""
|
2852 |
|
2853 |
-
#:
|
2854 |
-
#:
|
2855 |
msgid "Next"
|
2856 |
msgstr ""
|
2857 |
|
2858 |
-
#:
|
2859 |
msgid "Search Results for"
|
2860 |
msgstr ""
|
2861 |
|
2862 |
-
#:
|
2863 |
-
msgid "No links found"
|
2864 |
-
msgstr ""
|
2865 |
-
|
2866 |
-
#: ../render-link-library-sc.php:1248
|
2867 |
msgid "Last updated"
|
2868 |
msgstr ""
|
2869 |
|
2870 |
-
#:
|
2871 |
msgid "Edit"
|
2872 |
msgstr ""
|
2873 |
|
2874 |
-
#:
|
2875 |
msgid "Preview of RSS feed for"
|
2876 |
msgstr ""
|
2877 |
|
2878 |
-
#:
|
2879 |
-
msgid "
|
2880 |
-
msgstr ""
|
2881 |
-
|
2882 |
-
#: ../render-link-library-tag-filter-sc.php:87
|
2883 |
-
msgid "Apply filter"
|
2884 |
msgstr ""
|
2885 |
|
2886 |
-
#:
|
2887 |
msgid "A user submitted a new link to your Wordpress Link database."
|
2888 |
msgstr ""
|
2889 |
|
2890 |
-
#:
|
2891 |
msgid "Link Secondary Address"
|
2892 |
msgstr ""
|
2893 |
|
2894 |
-
#:
|
2895 |
msgid "Link Telephone"
|
2896 |
msgstr ""
|
2897 |
|
2898 |
-
#:
|
2899 |
msgid "Link E-mail"
|
2900 |
msgstr ""
|
2901 |
|
2902 |
-
#:
|
2903 |
-
msgid "Link Submitter"
|
2904 |
-
msgstr ""
|
2905 |
-
|
2906 |
-
#: ../usersubmission.php:307 ../usersubmission.php:390
|
2907 |
-
msgid "Link Submitter Name"
|
2908 |
-
msgstr ""
|
2909 |
-
|
2910 |
-
#: ../usersubmission.php:308 ../usersubmission.php:394
|
2911 |
-
msgid "Link Submitter E-mail"
|
2912 |
-
msgstr ""
|
2913 |
-
|
2914 |
-
#: ../usersubmission.php:309 ../usersubmission.php:398
|
2915 |
msgid "Link Comment"
|
2916 |
msgstr ""
|
2917 |
|
2918 |
-
#:
|
2919 |
msgid "New link added"
|
2920 |
msgstr ""
|
2921 |
|
2922 |
-
#:
|
2923 |
msgid "Link Submission Confirmation"
|
2924 |
msgstr ""
|
2925 |
|
2926 |
-
#:
|
2927 |
msgid "Thank you for your link submission on "
|
2928 |
msgstr ""
|
2929 |
|
2930 |
-
#:
|
2931 |
msgid "Your link will appear once approved by the site administrator."
|
2932 |
msgstr ""
|
2933 |
|
2934 |
-
#:
|
2935 |
msgid "Your link will immediately be added to the site."
|
2936 |
msgstr ""
|
2937 |
|
2938 |
-
#:
|
2939 |
#, php-format
|
2940 |
msgid "#%d (no title)"
|
2941 |
msgstr ""
|
1 |
msgid ""
|
2 |
msgstr ""
|
3 |
+
"Project-Id-Version: \n"
|
4 |
+
"POT-Creation-Date: 2016-09-13 12:48-0400\n"
|
5 |
+
"PO-Revision-Date: 2016-09-13 12:48-0400\n"
|
6 |
"Last-Translator: \n"
|
7 |
"Language-Team: \n"
|
8 |
"Language: en\n"
|
9 |
"MIME-Version: 1.0\n"
|
10 |
"Content-Type: text/plain; charset=UTF-8\n"
|
11 |
"Content-Transfer-Encoding: 8bit\n"
|
12 |
+
"X-Generator: Poedit 1.8.9\n"
|
13 |
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
14 |
"X-Poedit-KeywordsList: __;_e\n"
|
|
|
15 |
"X-Poedit-SearchPath-0: .\n"
|
|
|
16 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
17 |
|
18 |
+
#: link-library-admin.php:97
|
19 |
msgid "Insert a Link Library shortcode"
|
20 |
msgstr ""
|
21 |
|
22 |
+
#: link-library-admin.php:100
|
23 |
msgid "Link List"
|
24 |
msgstr ""
|
25 |
|
26 |
+
#: link-library-admin.php:101
|
27 |
msgid "Link Category List"
|
28 |
msgstr ""
|
29 |
|
30 |
+
#: link-library-admin.php:102
|
31 |
msgid "Link Search"
|
32 |
msgstr ""
|
33 |
|
34 |
+
#: link-library-admin.php:103
|
35 |
msgid "Add Link Form"
|
36 |
msgstr ""
|
37 |
|
38 |
+
#: link-library-admin.php:111
|
39 |
msgid "Render a list of links."
|
40 |
msgstr ""
|
41 |
|
42 |
+
#: link-library-admin.php:113 link-library-admin.php:168
|
43 |
+
#: link-library-admin.php:203
|
44 |
msgid "Library ID"
|
45 |
msgstr ""
|
46 |
|
47 |
+
#: link-library-admin.php:124 link-library-admin.php:179
|
48 |
+
#: link-library-admin.php:214 link-library-admin.php:842
|
49 |
+
#: link-library-admin.php:2467 link-library-admin.php:2482
|
50 |
msgid "Library"
|
51 |
msgstr ""
|
52 |
|
53 |
+
#: link-library-admin.php:130
|
54 |
msgid "Single Link ID"
|
55 |
msgstr ""
|
56 |
|
57 |
+
#: link-library-admin.php:133
|
58 |
msgid "Specify ID of single link to be displayed"
|
59 |
msgstr ""
|
60 |
|
61 |
+
#: link-library-admin.php:135 link-library-admin.php:185
|
62 |
+
#: link-library-admin.php:220
|
63 |
msgid "Category Override"
|
64 |
msgstr ""
|
65 |
|
66 |
+
#: link-library-admin.php:138 link-library-admin.php:188
|
67 |
+
#: link-library-admin.php:223
|
68 |
msgid ""
|
69 |
"Single, or comma-separated list of categories IDs to be displayed in the "
|
70 |
"link list"
|
71 |
msgstr ""
|
72 |
|
73 |
+
#: link-library-admin.php:140 link-library-admin.php:190
|
74 |
+
#: link-library-admin.php:225
|
75 |
msgid "Excluded Category Override"
|
76 |
msgstr ""
|
77 |
|
78 |
+
#: link-library-admin.php:143 link-library-admin.php:193
|
79 |
+
#: link-library-admin.php:228
|
80 |
msgid ""
|
81 |
"Single, or comma-separated list of categories IDs to be excluded from the "
|
82 |
"link list"
|
83 |
msgstr ""
|
84 |
|
85 |
+
#: link-library-admin.php:145 link-library-admin.php:150
|
86 |
+
#: link-library-admin.php:155 link-library-admin.php:160
|
87 |
msgid "Notes Override"
|
88 |
msgstr ""
|
89 |
|
90 |
+
#: link-library-admin.php:148
|
91 |
msgid "Set to 0 or 1 to display or not display link notes"
|
92 |
msgstr ""
|
93 |
|
94 |
+
#: link-library-admin.php:153
|
95 |
msgid "Set to 0 or 1 to display or not display link descriptions"
|
96 |
msgstr ""
|
97 |
|
98 |
+
#: link-library-admin.php:158
|
99 |
msgid "Set to 0 or 1 to display or not display rss information"
|
100 |
msgstr ""
|
101 |
|
102 |
+
#: link-library-admin.php:163
|
103 |
msgid "Set to 0 or 1 to display links in an unordered list or a table"
|
104 |
msgstr ""
|
105 |
|
106 |
+
#: link-library-admin.php:166
|
107 |
msgid "Render a list of link categories."
|
108 |
msgstr ""
|
109 |
|
110 |
+
#: link-library-admin.php:196
|
111 |
msgid "Render a search box to search through links."
|
112 |
msgstr ""
|
113 |
|
114 |
+
#: link-library-admin.php:198
|
115 |
msgid "There are no options for this shortcode."
|
116 |
msgstr ""
|
117 |
|
118 |
+
#: link-library-admin.php:201
|
119 |
msgid "Render a form for visitors to submit new links."
|
120 |
msgstr ""
|
121 |
|
122 |
+
#: link-library-admin.php:261
|
123 |
msgid "Category Link"
|
124 |
msgstr ""
|
125 |
|
126 |
+
#: link-library-admin.php:365
|
127 |
+
msgid "Reciprocal Link Checker Report"
|
|
|
|
|
128 |
msgstr ""
|
129 |
|
130 |
+
#: link-library-admin.php:367
|
131 |
+
msgid "Broken Link Checker Report"
|
132 |
+
msgstr ""
|
133 |
+
|
134 |
+
#: link-library-admin.php:383
|
135 |
+
msgid "Not Found"
|
136 |
msgstr ""
|
137 |
|
138 |
+
#: link-library-admin.php:385
|
139 |
+
msgid "OK"
|
140 |
msgstr ""
|
141 |
|
142 |
+
#: link-library-admin.php:387
|
143 |
+
msgid "Link valid"
|
|
|
144 |
msgstr ""
|
145 |
|
146 |
+
#: link-library-admin.php:390
|
147 |
+
msgid "Error 403: Link Deleted"
|
148 |
msgstr ""
|
149 |
|
150 |
+
#: link-library-admin.php:392
|
151 |
+
msgid "Error 403"
|
152 |
msgstr ""
|
153 |
|
154 |
+
#: link-library-admin.php:394
|
155 |
+
msgid "Website Unreachable"
|
156 |
+
msgstr ""
|
157 |
+
|
158 |
+
#: link-library-admin.php:398
|
159 |
+
msgid "There are no links with reciprocal links associated with them"
|
160 |
+
msgstr ""
|
161 |
+
|
162 |
+
#: link-library-admin.php:421 link-library-admin.php:720
|
163 |
+
msgid ""
|
164 |
+
"Please create a folder called uploads under your Wordpress /wp-content/ "
|
165 |
+
"directory with write permissions to use this functionality."
|
166 |
+
msgstr ""
|
167 |
+
|
168 |
+
#: link-library-admin.php:423 link-library-admin.php:722
|
169 |
+
msgid ""
|
170 |
+
"Please make sure that the /wp-content/uploads/ directory has write "
|
171 |
+
"permissions to use this functionality."
|
172 |
+
msgstr ""
|
173 |
+
|
174 |
+
#: link-library-admin.php:472
|
175 |
+
msgid "Link Library - Additional Link Parameters"
|
176 |
+
msgstr ""
|
177 |
+
|
178 |
+
#: link-library-admin.php:550
|
179 |
msgid "Link Library: Missing Thumbshots API Key"
|
180 |
msgstr ""
|
181 |
|
182 |
+
#: link-library-admin.php:550
|
183 |
msgid ""
|
184 |
"One of your link libraries is configured to use Thumbshots for link "
|
185 |
"thumbails, but you have not entered your Thumbshots.com API Key. Please "
|
187 |
"in the Link Library admin panel."
|
188 |
msgstr ""
|
189 |
|
190 |
+
#: link-library-admin.php:550
|
191 |
msgid "Jump to Link Library admin"
|
192 |
msgstr ""
|
193 |
|
194 |
+
#: link-library-admin.php:555
|
195 |
msgid "Link Library: No Link Categories on your site"
|
196 |
msgstr ""
|
197 |
|
198 |
+
#: link-library-admin.php:555
|
199 |
msgid ""
|
200 |
"There are currently no link categories defined in your WordPress site. Link "
|
201 |
"Library will not work correctly without categories. Please create at least "
|
203 |
"category."
|
204 |
msgstr ""
|
205 |
|
206 |
+
#: link-library-admin.php:611
|
207 |
msgid "Links to moderate"
|
208 |
msgstr ""
|
209 |
|
210 |
+
#: link-library-admin.php:630 link-library-admin.php:632
|
211 |
+
#: link-library-admin.php:635 link-library-admin.php:954
|
212 |
+
msgid "General Options"
|
213 |
msgstr ""
|
214 |
|
215 |
+
#: link-library-admin.php:637
|
216 |
+
msgid "Settings"
|
217 |
msgstr ""
|
218 |
|
219 |
+
#: link-library-admin.php:637 link-library-admin.php:959
|
220 |
+
msgid "Library Settings"
|
221 |
msgstr ""
|
222 |
|
223 |
+
#: link-library-admin.php:640 link-library-admin.php:642
|
224 |
+
#: link-library-admin.php:964
|
225 |
msgid "Moderate"
|
226 |
msgstr ""
|
227 |
|
228 |
+
#: link-library-admin.php:645 link-library-admin.php:969
|
229 |
+
#: link-library-admin.php:2047
|
230 |
msgid "Stylesheet"
|
231 |
msgstr ""
|
232 |
|
233 |
+
#: link-library-admin.php:647
|
234 |
+
msgid "Reciprocal and Broken Link Checker"
|
235 |
msgstr ""
|
236 |
|
237 |
+
#: link-library-admin.php:649 link-library-admin.php:977
|
238 |
msgid "FAQ"
|
239 |
msgstr ""
|
240 |
|
241 |
+
#: link-library-admin.php:676 link-library-admin.php:680
|
242 |
+
msgid "Save"
|
243 |
+
msgstr ""
|
244 |
+
|
245 |
+
#: link-library-admin.php:677
|
246 |
msgid "Links awaiting moderation"
|
247 |
msgstr ""
|
248 |
|
249 |
+
#: link-library-admin.php:678 link-library-admin.php:2049
|
250 |
msgid "Editor"
|
251 |
msgstr ""
|
252 |
|
253 |
+
#: link-library-admin.php:679
|
254 |
+
msgid "Reciprocal Link Checker"
|
255 |
msgstr ""
|
256 |
|
257 |
+
#: link-library-admin.php:762
|
258 |
msgid "Thumbnails successfully generated!"
|
259 |
msgstr ""
|
260 |
|
261 |
+
#: link-library-admin.php:764
|
262 |
msgid "Favicons successfully generated!"
|
263 |
msgstr ""
|
264 |
|
265 |
+
#: link-library-admin.php:766 link-library-admin.php:4843
|
266 |
msgid "Thumbnail successfully generated for"
|
267 |
msgstr ""
|
268 |
|
269 |
+
#: link-library-admin.php:768 link-library-admin.php:4879
|
270 |
msgid "Favicon successfully generated for"
|
271 |
msgstr ""
|
272 |
|
273 |
+
#: link-library-admin.php:799
|
274 |
msgid "General Settings Saved"
|
275 |
msgstr ""
|
276 |
|
277 |
+
#: link-library-admin.php:802
|
278 |
+
msgid "Download exported links"
|
|
|
|
|
|
|
|
|
|
|
279 |
msgstr ""
|
280 |
|
281 |
+
#: link-library-admin.php:804 link-library-admin.php:873
|
282 |
+
msgid ""
|
283 |
+
"Link Library plugin directory needs to be writable to perform this action"
|
|
|
|
|
|
|
284 |
msgstr ""
|
285 |
|
286 |
+
#: link-library-admin.php:852 link-library-admin.php:2504
|
287 |
msgid "Library #"
|
288 |
msgstr ""
|
289 |
|
290 |
+
#: link-library-admin.php:852
|
291 |
msgid "Updated"
|
292 |
msgstr ""
|
293 |
|
294 |
+
#: link-library-admin.php:856
|
295 |
msgid "Included Category ID"
|
296 |
msgstr ""
|
297 |
|
298 |
+
#: link-library-admin.php:856 link-library-admin.php:860
|
299 |
msgid "is invalid. Please check the ID in the Link Category editor."
|
300 |
msgstr ""
|
301 |
|
302 |
+
#: link-library-admin.php:860
|
303 |
msgid "Excluded Category ID"
|
304 |
msgstr ""
|
305 |
|
306 |
+
#: link-library-admin.php:864
|
307 |
msgid "Invalid column count for link on row. Compare against template."
|
308 |
msgstr ""
|
309 |
|
310 |
+
#: link-library-admin.php:869
|
311 |
+
msgid "Library Settings Exported"
|
312 |
+
msgstr ""
|
313 |
+
|
314 |
+
#: link-library-admin.php:869
|
315 |
+
msgid "Download here"
|
316 |
+
msgstr ""
|
317 |
+
|
318 |
+
#: link-library-admin.php:877
|
319 |
msgid "Library Settings imported successfully"
|
320 |
msgstr ""
|
321 |
|
322 |
+
#: link-library-admin.php:881
|
323 |
msgid "Library Settings Upload Failed"
|
324 |
msgstr ""
|
325 |
|
326 |
+
#: link-library-admin.php:885
|
327 |
+
msgid "link(s) imported"
|
328 |
+
msgstr ""
|
329 |
+
|
330 |
+
#: link-library-admin.php:885
|
331 |
+
msgid "link(s) updated"
|
332 |
+
msgstr ""
|
333 |
+
|
334 |
+
#: link-library-admin.php:889
|
335 |
msgid "Links are missing categories"
|
336 |
msgstr ""
|
337 |
|
338 |
+
#: link-library-admin.php:902
|
339 |
msgid "Link(s) Approved"
|
340 |
msgstr ""
|
341 |
|
342 |
+
#: link-library-admin.php:904
|
343 |
msgid "Link(s) Deleted"
|
344 |
msgstr ""
|
345 |
|
346 |
+
#: link-library-admin.php:915
|
347 |
msgid "Stylesheet updated"
|
348 |
msgstr ""
|
349 |
|
350 |
+
#: link-library-admin.php:917
|
351 |
msgid "Stylesheet reset to original state"
|
352 |
msgstr ""
|
353 |
|
354 |
+
#: link-library-admin.php:924
|
355 |
msgid "Settings updated"
|
356 |
msgstr ""
|
357 |
|
358 |
+
#: link-library-admin.php:974
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
359 |
msgid "Reciprocal Check"
|
360 |
msgstr ""
|
361 |
|
362 |
+
#: link-library-admin.php:1132
|
363 |
msgid "General"
|
364 |
msgstr ""
|
365 |
|
366 |
+
#: link-library-admin.php:1133
|
|
|
|
|
|
|
|
|
367 |
msgid "Images"
|
368 |
msgstr ""
|
369 |
|
370 |
+
#: link-library-admin.php:1134
|
371 |
msgid "Bookmarklet"
|
372 |
msgstr ""
|
373 |
|
374 |
+
#: link-library-admin.php:1135
|
375 |
msgid "Moderation"
|
376 |
msgstr ""
|
377 |
|
378 |
+
#: link-library-admin.php:1136
|
379 |
msgid "Hide Donation"
|
380 |
msgstr ""
|
381 |
|
382 |
+
#: link-library-admin.php:1143
|
|
|
|
|
|
|
|
|
383 |
msgid "Usage"
|
384 |
msgstr ""
|
385 |
|
386 |
+
#: link-library-admin.php:1144
|
387 |
msgid "Common"
|
388 |
msgstr ""
|
389 |
|
390 |
+
#: link-library-admin.php:1145
|
391 |
msgid "Categories"
|
392 |
msgstr ""
|
393 |
|
394 |
+
#: link-library-admin.php:1146
|
395 |
msgid "Links"
|
396 |
msgstr ""
|
397 |
|
398 |
+
#: link-library-admin.php:1147
|
399 |
msgid "Advanced"
|
400 |
msgstr ""
|
401 |
|
402 |
+
#: link-library-admin.php:1148
|
403 |
msgid "Pop-Ups"
|
404 |
msgstr ""
|
405 |
|
406 |
+
#: link-library-admin.php:1149
|
407 |
msgid "RSS Display"
|
408 |
msgstr ""
|
409 |
|
410 |
+
#: link-library-admin.php:1150
|
411 |
msgid "Thumbnails"
|
412 |
msgstr ""
|
413 |
|
414 |
+
#: link-library-admin.php:1151
|
415 |
msgid "RSS Feed"
|
416 |
msgstr ""
|
417 |
|
418 |
+
#: link-library-admin.php:1152 link-library-admin.php:3936
|
419 |
+
#: link-library-admin.php:3945
|
420 |
msgid "Search"
|
421 |
msgstr ""
|
422 |
|
423 |
+
#: link-library-admin.php:1153
|
424 |
msgid "User Submission"
|
425 |
msgstr ""
|
426 |
|
427 |
+
#: link-library-admin.php:1154
|
428 |
+
msgid "Import/Export"
|
429 |
msgstr ""
|
430 |
|
431 |
+
#: link-library-admin.php:1211 link-library-admin.php:1321
|
432 |
+
#: link-library-admin.php:1830 link-library-admin.php:1960
|
433 |
+
#: link-library-admin.php:1993
|
434 |
msgid "Not allowed"
|
435 |
msgstr ""
|
436 |
|
437 |
+
#: link-library-admin.php:1890 link-library-admin.php:1931
|
438 |
+
#: usersubmission.php:350
|
439 |
msgid "Message generated by"
|
440 |
msgstr ""
|
441 |
|
442 |
+
#: link-library-admin.php:2039 link-library-admin.php:4931
|
443 |
msgid "Update channel"
|
444 |
msgstr ""
|
445 |
|
446 |
+
#: link-library-admin.php:2041 link-library-admin.php:4933
|
447 |
msgid "Standard channel - Updates as they are released"
|
448 |
msgstr ""
|
449 |
|
450 |
+
#: link-library-admin.php:2042 link-library-admin.php:4934
|
451 |
msgid "Monthly Channel - Updates once per month"
|
452 |
msgstr ""
|
453 |
|
454 |
+
#: link-library-admin.php:2047 link-library-admin.php:2048
|
455 |
msgid ""
|
456 |
"The stylesheet is now defined and stored using the Link Library admin "
|
457 |
"interface. This avoids problems with updates from one version to the next."
|
458 |
msgstr ""
|
459 |
|
460 |
+
#: link-library-admin.php:2053
|
461 |
msgid "Number of Libraries"
|
462 |
msgstr ""
|
463 |
|
464 |
+
#: link-library-admin.php:2061
|
465 |
msgid "Category selection method"
|
466 |
msgstr ""
|
467 |
|
468 |
+
#: link-library-admin.php:2063
|
469 |
msgid "Comma-separated ID list"
|
470 |
msgstr ""
|
471 |
|
472 |
+
#: link-library-admin.php:2064
|
473 |
msgid "Multi-select List"
|
474 |
msgstr ""
|
475 |
|
476 |
+
#: link-library-admin.php:2068 link-library-admin.php:2069
|
477 |
msgid ""
|
478 |
"Enter comma-separate list of pages on which the Link Library stylesheet and "
|
479 |
"scripts should be loaded. Primarily used if you display Link Library using "
|
480 |
"the API"
|
481 |
msgstr ""
|
482 |
|
483 |
+
#: link-library-admin.php:2068
|
484 |
msgid "Additional pages to load styles and scripts"
|
485 |
msgstr ""
|
486 |
|
487 |
+
#: link-library-admin.php:2074
|
488 |
msgid "Debug Mode"
|
489 |
msgstr ""
|
490 |
|
491 |
+
#: link-library-admin.php:2081 link-library-admin.php:2082
|
492 |
+
#: link-library-admin.php:2087 link-library-admin.php:2088
|
493 |
msgid ""
|
494 |
"This function is only possible when showing one category at a time and while "
|
495 |
"the default category is not shown."
|
496 |
msgstr ""
|
497 |
|
498 |
+
#: link-library-admin.php:2081
|
499 |
msgid "Page Title Prefix"
|
500 |
msgstr ""
|
501 |
|
502 |
+
#: link-library-admin.php:2087
|
503 |
msgid "Page Title Suffix"
|
504 |
msgstr ""
|
505 |
|
506 |
+
#: link-library-admin.php:2093 link-library-admin.php:2094
|
507 |
msgid ""
|
508 |
"Path for images files that are uploaded manually or generated through "
|
509 |
"thumbnail generation service"
|
510 |
msgstr ""
|
511 |
|
512 |
+
#: link-library-admin.php:2093
|
513 |
msgid "Link Image File Path"
|
514 |
msgstr ""
|
515 |
|
516 |
+
#: link-library-admin.php:2096
|
517 |
msgid "Absolute"
|
518 |
msgstr ""
|
519 |
|
520 |
+
#: link-library-admin.php:2097
|
521 |
msgid "Relative"
|
522 |
msgstr ""
|
523 |
|
524 |
+
#: link-library-admin.php:2101
|
525 |
msgid "Thumbnail Generator"
|
526 |
msgstr ""
|
527 |
|
528 |
+
#: link-library-admin.php:2112 link-library-admin.php:2113
|
529 |
msgid "API Key for Thumbshots.com thumbnail generation accounts"
|
530 |
msgstr ""
|
531 |
|
532 |
+
#: link-library-admin.php:2112
|
533 |
msgid "Thumbshots API Key"
|
534 |
msgstr ""
|
535 |
|
536 |
+
#: link-library-admin.php:2120
|
537 |
msgid "Robothumb Thumbnail size"
|
538 |
msgstr ""
|
539 |
|
540 |
+
#: link-library-admin.php:2133
|
541 |
msgid "Links Date Format"
|
542 |
msgstr ""
|
543 |
|
544 |
+
#: link-library-admin.php:2133
|
545 |
msgid "Help"
|
546 |
msgstr ""
|
547 |
|
548 |
+
#: link-library-admin.php:2140 link-library-admin.php:2141
|
549 |
msgid "Enter list of additional link protocols, seperated by commas"
|
550 |
msgstr ""
|
551 |
|
552 |
+
#: link-library-admin.php:2140
|
553 |
msgid "Additional protocols"
|
554 |
msgstr ""
|
555 |
|
556 |
+
#: link-library-admin.php:2144
|
557 |
msgid "Time before clearing RSS display cache (in seconds)"
|
558 |
msgstr ""
|
559 |
|
560 |
+
#: link-library-admin.php:2151
|
561 |
+
msgid "Export All Links"
|
562 |
+
msgstr ""
|
563 |
+
|
564 |
+
#: link-library-admin.php:2191 link-library-admin.php:2192
|
565 |
msgid "Custom full URL for expand icon. Uses default image if left empty."
|
566 |
msgstr ""
|
567 |
|
568 |
+
#: link-library-admin.php:2191
|
569 |
msgid "Expand Icon Image"
|
570 |
msgstr ""
|
571 |
|
572 |
+
#: link-library-admin.php:2198 link-library-admin.php:2199
|
573 |
msgid "Custom full URL for collapse icon. Uses default image if left empty."
|
574 |
msgstr ""
|
575 |
|
576 |
+
#: link-library-admin.php:2198
|
577 |
msgid "Collapse Icon Image"
|
578 |
msgstr ""
|
579 |
|
580 |
+
#: link-library-admin.php:2213
|
581 |
msgid "Add new links to your site with this bookmarklet."
|
582 |
msgstr ""
|
583 |
|
584 |
+
#: link-library-admin.php:2214
|
585 |
msgid ""
|
586 |
"To use this feature, drag-and-drop the button below to your favorite / "
|
587 |
"bookmark toolbar."
|
588 |
msgstr ""
|
589 |
|
590 |
+
#: link-library-admin.php:2215
|
591 |
msgid "Add to Links"
|
592 |
msgstr ""
|
593 |
|
594 |
+
#: link-library-admin.php:2228
|
595 |
msgid ""
|
596 |
"Approval and rejection e-mail functionality will only work correctly if the "
|
597 |
"submitter e-mail field is displayed on the user link submission form"
|
598 |
msgstr ""
|
599 |
|
600 |
+
#: link-library-admin.php:2232
|
601 |
+
msgid "Validate all submitted links with Akismet"
|
602 |
+
msgstr ""
|
603 |
+
|
604 |
+
#: link-library-admin.php:2238 link-library-admin.php:2239
|
605 |
msgid ""
|
606 |
"URL that user will be redirected to after submitting new link. When used, "
|
607 |
"the short code [link-library-addlinkcustommsg] should be placed on the "
|
608 |
"destination page."
|
609 |
msgstr ""
|
610 |
|
611 |
+
#: link-library-admin.php:2238
|
612 |
msgid "Link Acknowledgement URL"
|
613 |
msgstr ""
|
614 |
|
615 |
+
#: link-library-admin.php:2244
|
616 |
msgid ""
|
617 |
"Title of e-mail sent to site admin when new links are submitted. Use "
|
618 |
"%linkname% as a variable to be replaced by the actual link name"
|
619 |
msgstr ""
|
620 |
|
621 |
+
#: link-library-admin.php:2244
|
622 |
msgid "Moderation Notification Title"
|
623 |
msgstr ""
|
624 |
|
625 |
+
#: link-library-admin.php:2250
|
626 |
msgid ""
|
627 |
"Will send a confirmation e-mail to link submitter if they provided their "
|
628 |
"contact information"
|
629 |
msgstr ""
|
630 |
|
631 |
+
#: link-library-admin.php:2250
|
632 |
msgid "E-mail submitter on link approval or rejection"
|
633 |
msgstr ""
|
634 |
|
635 |
+
#: link-library-admin.php:2257
|
636 |
msgid "Suppress Link Library message in e-mail footer"
|
637 |
msgstr ""
|
638 |
|
639 |
+
#: link-library-admin.php:2264
|
640 |
msgid "Only use first part of submitter name"
|
641 |
msgstr ""
|
642 |
|
643 |
+
#: link-library-admin.php:2271
|
644 |
msgid ""
|
645 |
"The name of the e-mail account that the approval e-mail will be sent from"
|
646 |
msgstr ""
|
647 |
|
648 |
+
#: link-library-admin.php:2271
|
649 |
msgid "Moderator Name"
|
650 |
msgstr ""
|
651 |
|
652 |
+
#: link-library-admin.php:2277
|
653 |
msgid "The e-mail address that the approval e-mail will be sent from"
|
654 |
msgstr ""
|
655 |
|
656 |
+
#: link-library-admin.php:2277
|
657 |
msgid "Moderator E-mail"
|
658 |
msgstr ""
|
659 |
|
660 |
+
#: link-library-admin.php:2283
|
661 |
msgid ""
|
662 |
"Title of approval e-mail. Use %linkname% as a variable to be replaced by the "
|
663 |
"actual link name"
|
664 |
msgstr ""
|
665 |
|
666 |
+
#: link-library-admin.php:2283
|
667 |
msgid "Approval e-mail title"
|
668 |
msgstr ""
|
669 |
|
670 |
+
#: link-library-admin.php:2289
|
671 |
msgid ""
|
672 |
"Body of approval e-mail. Use %linkname% as a variable to be replaced by the "
|
673 |
"actual link name, %submittername% for the submitter name and %linkurl% for "
|
674 |
"the link address"
|
675 |
msgstr ""
|
676 |
|
677 |
+
#: link-library-admin.php:2289
|
678 |
msgid "Approval e-mail body"
|
679 |
msgstr ""
|
680 |
|
681 |
+
#: link-library-admin.php:2295
|
682 |
msgid ""
|
683 |
"Title of rejection e-mail. Use %linkname% as a variable to be replaced by "
|
684 |
"the actual link name"
|
685 |
msgstr ""
|
686 |
|
687 |
+
#: link-library-admin.php:2295
|
688 |
msgid "Rejection e-mail title"
|
689 |
msgstr ""
|
690 |
|
691 |
+
#: link-library-admin.php:2301
|
692 |
msgid ""
|
693 |
"Body of rejection e-mail. Use %linkname% as a variable to be replaced by the "
|
694 |
"actual link name, %submittername% for the submitter name and %linkurl% for "
|
695 |
"the link address"
|
696 |
msgstr ""
|
697 |
|
698 |
+
#: link-library-admin.php:2301
|
699 |
msgid "Rejection e-mail body"
|
700 |
msgstr ""
|
701 |
|
702 |
+
#: link-library-admin.php:2314
|
703 |
msgid ""
|
704 |
"The following option allows you to hide the Donate button and Support the "
|
705 |
"Author section in the Link Library Admin pages. If you enjoy this plugin and "
|
708 |
"other elements."
|
709 |
msgstr ""
|
710 |
|
711 |
+
#: link-library-admin.php:2317
|
712 |
msgid "Hide Donation and Support Links"
|
713 |
msgstr ""
|
714 |
|
715 |
+
#: link-library-admin.php:2331
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
716 |
msgid "Save Settings"
|
717 |
msgstr ""
|
718 |
|
719 |
+
#: link-library-admin.php:2340
|
720 |
msgid "Update Settings"
|
721 |
msgstr ""
|
722 |
|
723 |
+
#: link-library-admin.php:2351 link-library-admin.php:3029
|
724 |
+
#: link-library-admin.php:3323 link-library-admin.php:4121
|
725 |
+
#: usersubmission.php:295 usersubmission.php:377
|
726 |
msgid "Link Name"
|
727 |
msgstr ""
|
728 |
|
729 |
+
#: link-library-admin.php:2352 link-library-admin.php:4156
|
730 |
+
#: link-library-defaults.php:127 usersubmission.php:314 usersubmission.php:396
|
|
|
731 |
msgid "Link Category"
|
732 |
msgstr ""
|
733 |
|
734 |
+
#: link-library-admin.php:2353
|
735 |
msgid "Link URL"
|
736 |
msgstr ""
|
737 |
|
738 |
+
#: link-library-admin.php:2354 link-library-admin.php:3029
|
739 |
+
#: link-library-admin.php:3371 link-library-admin.php:4235
|
740 |
+
#: link-library-defaults.php:128 usersubmission.php:303 usersubmission.php:385
|
|
|
741 |
msgid "Link Description"
|
742 |
msgstr ""
|
743 |
|
744 |
+
#: link-library-admin.php:2403
|
745 |
msgid "No Links Found to Moderate"
|
746 |
msgstr ""
|
747 |
|
748 |
+
#: link-library-admin.php:2410
|
749 |
msgid "Check All"
|
750 |
msgstr ""
|
751 |
|
752 |
+
#: link-library-admin.php:2411
|
753 |
msgid "Uncheck All"
|
754 |
msgstr ""
|
755 |
|
756 |
+
#: link-library-admin.php:2413
|
757 |
msgid "Approve Selected Items"
|
758 |
msgstr ""
|
759 |
|
760 |
+
#: link-library-admin.php:2414
|
761 |
msgid "Delete Selected Items"
|
762 |
msgstr ""
|
763 |
|
764 |
+
#: link-library-admin.php:2437
|
765 |
msgid ""
|
766 |
"If the stylesheet editor is empty after upgrading, reset to the default "
|
767 |
"stylesheet using the button below or copy/paste your backup stylesheet into "
|
768 |
"the editor."
|
769 |
msgstr ""
|
770 |
|
771 |
+
#: link-library-admin.php:2444
|
772 |
msgid "Submit"
|
773 |
msgstr ""
|
774 |
|
775 |
+
#: link-library-admin.php:2444
|
776 |
msgid "Reset to default"
|
777 |
msgstr ""
|
778 |
|
779 |
+
#: link-library-admin.php:2455
|
780 |
msgid "Select Current Library Settings"
|
781 |
msgstr ""
|
782 |
|
783 |
+
#: link-library-admin.php:2472
|
784 |
msgid "Go"
|
785 |
msgstr ""
|
786 |
|
787 |
+
#: link-library-admin.php:2474
|
788 |
msgid "Copy from:"
|
789 |
msgstr ""
|
790 |
|
791 |
+
#: link-library-admin.php:2489
|
792 |
msgid "Copy"
|
793 |
msgstr ""
|
794 |
|
795 |
+
#: link-library-admin.php:2503 link-library-admin.php:2506
|
796 |
+
#: link-library-admin.php:2510
|
797 |
msgid ""
|
798 |
"Link Library Supports the Creation of an unlimited number of configurations "
|
799 |
"to display link lists on your site"
|
800 |
msgstr ""
|
801 |
|
802 |
+
#: link-library-admin.php:2507
|
803 |
msgid "Library Name"
|
804 |
msgstr ""
|
805 |
|
806 |
+
#: link-library-admin.php:2509
|
807 |
msgid "Feature"
|
808 |
msgstr ""
|
809 |
|
810 |
+
#: link-library-admin.php:2511
|
811 |
msgid "Code to insert on a Wordpress page"
|
812 |
msgstr ""
|
813 |
|
814 |
+
#: link-library-admin.php:2518
|
815 |
msgid "Display basic link library"
|
816 |
msgstr ""
|
817 |
|
818 |
+
#: link-library-admin.php:2524
|
819 |
msgid "Display list of link categories"
|
820 |
msgstr ""
|
821 |
|
822 |
+
#: link-library-admin.php:2530
|
823 |
msgid "Display search box"
|
824 |
msgstr ""
|
825 |
|
826 |
+
#: link-library-admin.php:2536
|
827 |
msgid "Display link submission form"
|
828 |
msgstr ""
|
829 |
|
830 |
+
#: link-library-admin.php:2543
|
831 |
#, php-format
|
832 |
msgid ""
|
833 |
"You are about to Delete Library #'%s'\n"
|
834 |
" 'Cancel' to stop, 'OK' to delete."
|
835 |
msgstr ""
|
836 |
|
837 |
+
#: link-library-admin.php:2543
|
838 |
msgid "Delete Library"
|
839 |
msgstr ""
|
840 |
|
841 |
+
#: link-library-admin.php:2544
|
842 |
#, php-format
|
843 |
msgid ""
|
844 |
"You are about to reset Library '%s'\n"
|
845 |
" 'Cancel' to stop, 'OK' to reset."
|
846 |
msgstr ""
|
847 |
|
848 |
+
#: link-library-admin.php:2544
|
849 |
msgid "Reset current Library"
|
850 |
msgstr ""
|
851 |
|
852 |
+
#: link-library-admin.php:2545
|
853 |
#, php-format
|
854 |
msgid ""
|
855 |
"You are about to reset Library '%s' for a table layout\n"
|
856 |
" 'Cancel' to stop, 'OK' to reset."
|
857 |
msgstr ""
|
858 |
|
859 |
+
#: link-library-admin.php:2545
|
860 |
msgid "Reset current Library for table layout"
|
861 |
msgstr ""
|
862 |
|
863 |
+
#: link-library-admin.php:2564
|
|
|
|
|
|
|
|
|
864 |
msgid "Current Library Name"
|
865 |
msgstr ""
|
866 |
|
867 |
+
#: link-library-admin.php:2571 link-library-admin.php:2579
|
868 |
msgid "Leave Empty to see all categories"
|
869 |
msgstr ""
|
870 |
|
871 |
+
#: link-library-admin.php:2571 link-library-admin.php:2579
|
872 |
+
#: link-library-admin.php:2617 link-library-admin.php:2621
|
873 |
msgid "Enter list of comma-separated"
|
874 |
msgstr ""
|
875 |
|
876 |
+
#: link-library-admin.php:2571 link-library-admin.php:2579
|
877 |
msgid "numeric category IDs"
|
878 |
msgstr ""
|
879 |
|
880 |
+
#: link-library-admin.php:2571
|
881 |
msgid ""
|
882 |
"To find the IDs, go to the Link Categories admin page, place the mouse above "
|
883 |
"a category name and look for its ID in the address shown in your browsers "
|
884 |
"status bar. For example"
|
885 |
msgstr ""
|
886 |
|
887 |
+
#: link-library-admin.php:2573
|
888 |
msgid "Categories to be displayed (Empty=All)"
|
889 |
msgstr ""
|
890 |
|
891 |
+
#: link-library-admin.php:2575
|
892 |
msgid "Categories to be displayed"
|
893 |
msgstr ""
|
894 |
|
895 |
+
#: link-library-admin.php:2579 link-library-admin.php:2617
|
896 |
+
#: link-library-admin.php:2621
|
897 |
msgid "For example"
|
898 |
msgstr ""
|
899 |
|
900 |
+
#: link-library-admin.php:2606 link-library-admin.php:2637
|
901 |
+
msgid "No link categories! Create some!"
|
902 |
+
msgstr ""
|
903 |
+
|
904 |
+
#: link-library-admin.php:2608
|
905 |
msgid "Show all categories"
|
906 |
msgstr ""
|
907 |
|
908 |
+
#: link-library-admin.php:2617 link-library-admin.php:2621
|
909 |
msgid "numeric category IDs that should not be shown"
|
910 |
msgstr ""
|
911 |
|
912 |
+
#: link-library-admin.php:2618
|
913 |
msgid "Categories to be excluded"
|
914 |
msgstr ""
|
915 |
|
916 |
+
#: link-library-admin.php:2639
|
917 |
msgid "No Exclusions"
|
918 |
msgstr ""
|
919 |
|
920 |
+
#: link-library-admin.php:2648 link-library-admin.php:2651
|
921 |
msgid "Only show one category of links at a time"
|
922 |
msgstr ""
|
923 |
|
924 |
+
#: link-library-admin.php:2649
|
925 |
msgid "Only show one category at a time"
|
926 |
msgstr ""
|
927 |
|
928 |
+
#: link-library-admin.php:2656
|
929 |
msgid ""
|
930 |
"Select if AJAX should be used to only reload the list of links without "
|
931 |
"reloading the whole page or HTML GET to reload entire page with a new link. "
|
933 |
"correctly."
|
934 |
msgstr ""
|
935 |
|
936 |
+
#: link-library-admin.php:2656
|
937 |
msgid "Switching Method"
|
938 |
msgstr ""
|
939 |
|
940 |
+
#: link-library-admin.php:2684
|
941 |
msgid ""
|
942 |
"Default category to be shown when only showing one at a time (numeric ID)"
|
943 |
msgstr ""
|
944 |
|
945 |
+
#: link-library-admin.php:2689
|
946 |
+
msgid "Hide category on start in single cat AJAX mode"
|
947 |
msgstr ""
|
948 |
|
949 |
+
#: link-library-admin.php:2696 link-library-admin.php:2699
|
950 |
msgid "File path is relative to Link Library plugin directory"
|
951 |
msgstr ""
|
952 |
|
953 |
+
#: link-library-admin.php:2697
|
954 |
msgid "Icon to display when performing AJAX queries"
|
955 |
msgstr ""
|
956 |
|
957 |
+
#: link-library-admin.php:2708 link-library-admin.php:2711
|
958 |
msgid "Only show a limited number of links and add page navigation links"
|
959 |
msgstr ""
|
960 |
|
961 |
+
#: link-library-admin.php:2709
|
962 |
msgid "Paginate Results"
|
963 |
msgstr ""
|
964 |
|
965 |
+
#: link-library-admin.php:2716 link-library-admin.php:2719
|
966 |
msgid "Number of Links to be Displayed per Page in Pagination Mode"
|
967 |
msgstr ""
|
968 |
|
969 |
+
#: link-library-admin.php:2717
|
970 |
msgid "Links per Page"
|
971 |
msgstr ""
|
972 |
|
973 |
+
#: link-library-admin.php:2725
|
974 |
msgid "Pagination Position"
|
975 |
msgstr ""
|
976 |
|
977 |
+
#: link-library-admin.php:2731
|
978 |
msgid "After Links"
|
979 |
msgstr ""
|
980 |
|
981 |
+
#: link-library-admin.php:2734 link-library-admin.php:2764
|
982 |
msgid "Before Links"
|
983 |
msgstr ""
|
984 |
|
985 |
+
#: link-library-admin.php:2738
|
986 |
msgid "Hide Results if Empty"
|
987 |
msgstr ""
|
988 |
|
989 |
+
#: link-library-admin.php:2748
|
990 |
msgid "Enable Permalinks"
|
991 |
msgstr ""
|
992 |
|
993 |
+
#: link-library-admin.php:2756
|
994 |
msgid "Permalinks Page"
|
995 |
msgstr ""
|
996 |
|
997 |
+
#: link-library-admin.php:2763
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
998 |
msgid "Display alphabetic cat filter"
|
999 |
msgstr ""
|
1000 |
|
1001 |
+
#: link-library-admin.php:2764
|
1002 |
msgid "Do not display"
|
1003 |
msgstr ""
|
1004 |
|
1005 |
+
#: link-library-admin.php:2764
|
1006 |
msgid "Before Categories"
|
1007 |
msgstr ""
|
1008 |
|
1009 |
+
#: link-library-admin.php:2764
|
1010 |
msgid "Before Categories and Links"
|
1011 |
msgstr ""
|
1012 |
|
1013 |
+
#: link-library-admin.php:2771
|
1014 |
msgid "Auto-select first alphabetic cat item"
|
1015 |
msgstr ""
|
1016 |
|
1017 |
+
#: link-library-admin.php:2775
|
1018 |
msgid "Display ALL box in alphabetic cat filter"
|
1019 |
msgstr ""
|
1020 |
|
1021 |
+
#: link-library-admin.php:2777
|
1022 |
msgid "Cat filter label"
|
1023 |
msgstr ""
|
1024 |
|
1025 |
+
#: link-library-admin.php:2781
|
1026 |
msgid "Only display links submitted by current user"
|
1027 |
msgstr ""
|
1028 |
|
1029 |
+
#: link-library-admin.php:2826
|
1030 |
msgid "Results Order"
|
1031 |
msgstr ""
|
1032 |
|
1033 |
+
#: link-library-admin.php:2832 link-library-admin.php:2989
|
1034 |
msgid "Order by Name"
|
1035 |
msgstr ""
|
1036 |
|
1037 |
+
#: link-library-admin.php:2835 link-library-admin.php:2990
|
1038 |
msgid "Order by ID"
|
1039 |
msgstr ""
|
1040 |
|
1041 |
+
#: link-library-admin.php:2839
|
1042 |
msgid "Order of categories based on included category list"
|
1043 |
msgstr ""
|
1044 |
|
1045 |
+
#: link-library-admin.php:2843
|
1046 |
msgid "Order by"
|
1047 |
msgstr ""
|
1048 |
|
1049 |
+
#: link-library-admin.php:2843 link-library-admin.php:2991
|
1050 |
msgid "Wordpress Plugin"
|
1051 |
msgstr ""
|
1052 |
|
1053 |
+
#: link-library-admin.php:2848
|
1054 |
msgid "Link Categories Display Format"
|
1055 |
msgstr ""
|
1056 |
|
1057 |
+
#: link-library-admin.php:2852 link-library-admin.php:3072
|
1058 |
msgid "Table"
|
1059 |
msgstr ""
|
1060 |
|
1061 |
+
#: link-library-admin.php:2853 link-library-admin.php:3073
|
1062 |
msgid "Unordered List"
|
1063 |
msgstr ""
|
1064 |
|
1065 |
+
#: link-library-admin.php:2854
|
1066 |
msgid "Drop-Down List"
|
1067 |
msgstr ""
|
1068 |
|
1069 |
+
#: link-library-admin.php:2855
|
1070 |
msgid "Drop-Down List Direct Access"
|
1071 |
msgstr ""
|
1072 |
|
1073 |
+
#: link-library-admin.php:2861
|
1074 |
msgid "Display link counts"
|
1075 |
msgstr ""
|
1076 |
|
1077 |
+
#: link-library-admin.php:2867
|
1078 |
msgid "Display categories with search results"
|
1079 |
msgstr ""
|
1080 |
|
1081 |
+
#: link-library-admin.php:2872 link-library-admin.php:2875
|
1082 |
msgid "This setting does not apply when selecting My Link Order for the order"
|
1083 |
msgstr ""
|
1084 |
|
1085 |
+
#: link-library-admin.php:2873 link-library-admin.php:3043
|
1086 |
msgid "Direction"
|
1087 |
msgstr ""
|
1088 |
|
1089 |
+
#: link-library-admin.php:2877 link-library-admin.php:3047
|
1090 |
msgid "Ascending"
|
1091 |
msgstr ""
|
1092 |
|
1093 |
+
#: link-library-admin.php:2878 link-library-admin.php:3048
|
1094 |
msgid "Descending"
|
1095 |
msgstr ""
|
1096 |
|
1097 |
+
#: link-library-admin.php:2882 link-library-admin.php:2885
|
1098 |
+
#: link-library-admin.php:2997 link-library-admin.php:3000
|
1099 |
msgid ""
|
1100 |
"Use [ and ] in the description to perform special actions using HTML such as "
|
1101 |
"inserting images instead of < and >"
|
1102 |
msgstr ""
|
1103 |
|
1104 |
+
#: link-library-admin.php:2883 link-library-admin.php:2998
|
1105 |
msgid "Show Category Description"
|
1106 |
msgstr ""
|
1107 |
|
1108 |
+
#: link-library-admin.php:2887 link-library-admin.php:3004
|
1109 |
msgid "Position"
|
1110 |
msgstr ""
|
1111 |
|
1112 |
+
#: link-library-admin.php:2889 link-library-admin.php:3006
|
1113 |
msgid "Right"
|
1114 |
msgstr ""
|
1115 |
|
1116 |
+
#: link-library-admin.php:2890 link-library-admin.php:3007
|
1117 |
msgid "Left"
|
1118 |
msgstr ""
|
1119 |
|
1120 |
+
#: link-library-admin.php:2896
|
1121 |
msgid "Width of Categories Table in Percents"
|
1122 |
msgstr ""
|
1123 |
|
1124 |
+
#: link-library-admin.php:2902 link-library-admin.php:2905
|
1125 |
msgid ""
|
1126 |
"Determines the number of alternating div tags that will be placed before and "
|
1127 |
"after each link category"
|
1128 |
msgstr ""
|
1129 |
|
1130 |
+
#: link-library-admin.php:2902 link-library-admin.php:2905
|
1131 |
msgid ""
|
1132 |
"These div tags can be used to style of position link categories on the link "
|
1133 |
"page"
|
1134 |
msgstr ""
|
1135 |
|
1136 |
+
#: link-library-admin.php:2903
|
1137 |
msgid "Number of alternating div classes"
|
1138 |
msgstr ""
|
1139 |
|
1140 |
+
#: link-library-admin.php:2918
|
1141 |
msgid "Number of columns in Categories Table"
|
1142 |
msgstr ""
|
1143 |
|
1144 |
+
#: link-library-admin.php:2925
|
1145 |
msgid "First div class name"
|
1146 |
msgstr ""
|
1147 |
|
1148 |
+
#: link-library-admin.php:2933
|
1149 |
msgid "Use Div Class or Heading tag around Category Names"
|
1150 |
msgstr ""
|
1151 |
|
1152 |
+
#: link-library-admin.php:2937
|
1153 |
msgid "Div Class"
|
1154 |
msgstr ""
|
1155 |
|
1156 |
+
#: link-library-admin.php:2938
|
1157 |
msgid "Heading Tag"
|
1158 |
msgstr ""
|
1159 |
|
1160 |
+
#: link-library-admin.php:2943
|
1161 |
msgid "Second div class name"
|
1162 |
msgstr ""
|
1163 |
|
1164 |
+
#: link-library-admin.php:2950 link-library-admin.php:2953
|
1165 |
msgid "Example div class name: linklistcatname, Example Heading Label: h3"
|
1166 |
msgstr ""
|
1167 |
|
1168 |
+
#: link-library-admin.php:2951
|
1169 |
msgid "Div Class Name or Heading label"
|
1170 |
msgstr ""
|
1171 |
|
1172 |
+
#: link-library-admin.php:2958
|
1173 |
msgid "Third div class name"
|
1174 |
msgstr ""
|
1175 |
|
1176 |
+
#: link-library-admin.php:2965 link-library-admin.php:2968
|
1177 |
msgid ""
|
1178 |
"Set this address to a page running Link Library to place categories on a "
|
1179 |
"different page. Should always be used with the Show One Category at a Time "
|
1180 |
"and HTMLGET fetch method."
|
1181 |
msgstr ""
|
1182 |
|
1183 |
+
#: link-library-admin.php:2966
|
1184 |
msgid "Category Target Address"
|
1185 |
msgstr ""
|
1186 |
|
1187 |
+
#: link-library-admin.php:2985
|
1188 |
msgid "Link Results Order"
|
1189 |
msgstr ""
|
1190 |
|
1191 |
+
#: link-library-admin.php:2991
|
1192 |
msgid "Order set by "
|
1193 |
msgstr ""
|
1194 |
|
1195 |
+
#: link-library-admin.php:2992
|
1196 |
msgid "Order randomly"
|
1197 |
msgstr ""
|
1198 |
|
1199 |
+
#: link-library-admin.php:2993
|
1200 |
msgid "Order by updated date"
|
1201 |
msgstr ""
|
1202 |
|
1203 |
+
#: link-library-admin.php:3012
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1204 |
msgid "List Featured Links ahead of Regular Links"
|
1205 |
msgstr ""
|
1206 |
|
1207 |
+
#: link-library-admin.php:3016
|
1208 |
msgid "Show Expand Link button and hide links"
|
1209 |
msgstr ""
|
1210 |
|
1211 |
+
#: link-library-admin.php:3021
|
1212 |
msgid "Combine all results without categories"
|
1213 |
msgstr ""
|
1214 |
|
1215 |
+
#: link-library-admin.php:3025
|
1216 |
msgid "Link Title Content"
|
1217 |
msgstr ""
|
1218 |
|
1219 |
+
#: link-library-admin.php:3042 link-library-admin.php:3045
|
1220 |
msgid "Except for My Link Order mode"
|
1221 |
msgstr ""
|
1222 |
|
1223 |
+
#: link-library-admin.php:3052 link-library-admin.php:3055
|
1224 |
msgid "Leave empty to show all results"
|
1225 |
msgstr ""
|
1226 |
|
1227 |
+
#: link-library-admin.php:3053
|
1228 |
msgid "Max number of links to display"
|
1229 |
msgstr ""
|
1230 |
|
1231 |
+
#: link-library-admin.php:3060 link-library-admin.php:3063
|
1232 |
msgid ""
|
1233 |
"Sets default link target window, does not override specific targets set in "
|
1234 |
"links"
|
1235 |
msgstr ""
|
1236 |
|
1237 |
+
#: link-library-admin.php:3061
|
1238 |
msgid "Link Target"
|
1239 |
msgstr ""
|
1240 |
|
1241 |
+
#: link-library-admin.php:3068
|
1242 |
msgid "Link Display Format"
|
1243 |
msgstr ""
|
1244 |
|
1245 |
+
#: link-library-admin.php:3079
|
1246 |
msgid "Show Column Headers"
|
1247 |
msgstr ""
|
1248 |
|
1249 |
+
#: link-library-admin.php:3086
|
1250 |
+
msgid "Link Column Header"
|
1251 |
msgstr ""
|
1252 |
|
1253 |
+
#: link-library-admin.php:3094
|
1254 |
+
msgid "Description Column Header"
|
1255 |
msgstr ""
|
1256 |
|
1257 |
+
#: link-library-admin.php:3101
|
1258 |
+
msgid "Notes Column Header"
|
1259 |
msgstr ""
|
1260 |
|
1261 |
+
#: link-library-admin.php:3109
|
1262 |
msgid "Hide Category Names"
|
1263 |
msgstr ""
|
1264 |
|
1265 |
+
#: link-library-admin.php:3116
|
1266 |
msgid "Show Hidden Links"
|
1267 |
msgstr ""
|
1268 |
|
1269 |
+
#: link-library-admin.php:3123 link-library-admin.php:3126
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1270 |
msgid "Need to be active for Link Categories to work"
|
1271 |
msgstr ""
|
1272 |
|
1273 |
+
#: link-library-admin.php:3124
|
1274 |
msgid "Embed HTML anchors"
|
1275 |
msgstr ""
|
1276 |
|
1277 |
+
#: link-library-admin.php:3131
|
1278 |
msgid "Show Hidden Links to Admins/Editors"
|
1279 |
msgstr ""
|
1280 |
|
1281 |
+
#: link-library-admin.php:3148
|
1282 |
msgid ""
|
1283 |
"Arrange the items below via drag-and-drop to order the various Link Library "
|
1284 |
"elements."
|
1285 |
msgstr ""
|
1286 |
|
1287 |
+
#: link-library-admin.php:3171 link-library-admin.php:3293
|
1288 |
+
msgid "Image"
|
1289 |
+
msgstr ""
|
1290 |
+
|
1291 |
+
#: link-library-admin.php:3175
|
1292 |
msgid "Name"
|
1293 |
msgstr ""
|
1294 |
|
1295 |
+
#: link-library-admin.php:3179
|
1296 |
msgid "Date"
|
1297 |
msgstr ""
|
1298 |
|
1299 |
+
#: link-library-admin.php:3183
|
1300 |
msgid "Desc"
|
1301 |
msgstr ""
|
1302 |
|
1303 |
+
#: link-library-admin.php:3187
|
|
|
1304 |
msgid "Notes"
|
1305 |
msgstr ""
|
1306 |
|
1307 |
+
#: link-library-admin.php:3191
|
1308 |
msgid "RSS"
|
1309 |
msgstr ""
|
1310 |
|
1311 |
+
#: link-library-admin.php:3195 link-library-admin.php:3470
|
1312 |
+
msgid "Link"
|
|
|
1313 |
msgstr ""
|
1314 |
|
1315 |
+
#: link-library-admin.php:3199
|
1316 |
msgid "Phone"
|
1317 |
msgstr ""
|
1318 |
|
1319 |
+
#: link-library-admin.php:3203 link-library-admin.php:3500
|
1320 |
+
#: link-library-admin.php:4327 link-library-admin.php:4663
|
1321 |
+
#: link-library-defaults.php:176 render-link-library-addlink-sc.php:443
|
|
|
1322 |
msgid "E-mail"
|
1323 |
msgstr ""
|
1324 |
|
1325 |
+
#: link-library-admin.php:3207
|
1326 |
msgid "Hits"
|
1327 |
msgstr ""
|
1328 |
|
1329 |
+
#: link-library-admin.php:3211
|
|
|
1330 |
msgid "Rating"
|
1331 |
msgstr ""
|
1332 |
|
1333 |
+
#: link-library-admin.php:3215
|
1334 |
msgid "Large Desc"
|
1335 |
msgstr ""
|
1336 |
|
1337 |
+
#: link-library-admin.php:3219 link-library-admin.php:3597
|
1338 |
+
#: link-library-admin.php:4343 link-library-defaults.php:188
|
1339 |
+
#: render-link-library-addlink-sc.php:461
|
|
|
1340 |
msgid "Submitter Name"
|
1341 |
msgstr ""
|
1342 |
|
1343 |
+
#: link-library-admin.php:3223
|
1344 |
msgid "Cat Desc"
|
1345 |
msgstr ""
|
1346 |
|
1347 |
+
#: link-library-admin.php:3235
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1348 |
msgid "Display"
|
1349 |
msgstr ""
|
1350 |
|
1351 |
+
#: link-library-admin.php:3236
|
1352 |
msgid "Before"
|
1353 |
msgstr ""
|
1354 |
|
1355 |
+
#: link-library-admin.php:3237
|
1356 |
msgid "After"
|
1357 |
msgstr ""
|
1358 |
|
1359 |
+
#: link-library-admin.php:3238
|
1360 |
msgid "Additional Details"
|
1361 |
msgstr ""
|
1362 |
|
1363 |
+
#: link-library-admin.php:3239
|
1364 |
msgid "Link Source"
|
1365 |
msgstr ""
|
1366 |
|
1367 |
+
#: link-library-admin.php:3242
|
1368 |
msgid ""
|
1369 |
"This column allows for the output of text/code before the first link in each "
|
1370 |
"category"
|
1371 |
msgstr ""
|
1372 |
|
1373 |
+
#: link-library-admin.php:3242
|
1374 |
msgid "Before first link"
|
1375 |
msgstr ""
|
1376 |
|
1377 |
+
#: link-library-admin.php:3244
|
1378 |
msgid "Output of text/code before the first link in each category"
|
1379 |
msgstr ""
|
1380 |
|
1381 |
+
#: link-library-admin.php:3250
|
1382 |
msgid ""
|
1383 |
"This column allows for the output of text/code before a number of links "
|
1384 |
"determined by the Display field"
|
1385 |
msgstr ""
|
1386 |
|
1387 |
+
#: link-library-admin.php:3250
|
1388 |
msgid "Intermittent Before Link"
|
1389 |
msgstr ""
|
1390 |
|
1391 |
+
#: link-library-admin.php:3251
|
1392 |
msgid "Frequency of additional output before and after complete link group"
|
1393 |
msgstr ""
|
1394 |
|
1395 |
+
#: link-library-admin.php:3254 link-library-admin.php:3264
|
1396 |
msgid "Output before complete link group (link, notes, desc, etc...)"
|
1397 |
msgstr ""
|
1398 |
|
1399 |
+
#: link-library-admin.php:3262
|
1400 |
msgid "This column allows for the output of text/code before each link"
|
1401 |
msgstr ""
|
1402 |
|
1403 |
+
#: link-library-admin.php:3262
|
1404 |
msgid "Before Link"
|
1405 |
msgstr ""
|
1406 |
|
1407 |
+
#: link-library-admin.php:3293
|
1408 |
msgid "This column allows for the output of text/code before each link image"
|
1409 |
msgstr ""
|
1410 |
|
1411 |
+
#: link-library-admin.php:3299
|
1412 |
msgid "Code/Text to be displayed before each link image"
|
1413 |
msgstr ""
|
1414 |
|
1415 |
+
#: link-library-admin.php:3302
|
1416 |
msgid "Code/Text to be displayed after each link image"
|
1417 |
msgstr ""
|
1418 |
|
1419 |
+
#: link-library-admin.php:3305
|
1420 |
msgid "CSS Class to be assigned to link image"
|
1421 |
msgstr ""
|
1422 |
|
1423 |
+
#: link-library-admin.php:3312 link-library-admin.php:3343
|
1424 |
+
#: link-library-admin.php:3448 link-library-admin.php:3489
|
1425 |
msgid "Primary"
|
1426 |
msgstr ""
|
1427 |
|
1428 |
+
#: link-library-admin.php:3315 link-library-admin.php:3344
|
1429 |
+
#: link-library-admin.php:3451 link-library-admin.php:3492
|
1430 |
msgid "Secondary"
|
1431 |
msgstr ""
|
1432 |
|
1433 |
+
#: link-library-admin.php:3323
|
1434 |
msgid ""
|
1435 |
"This column allows for the output of text/code before and after each link "
|
1436 |
"name"
|
1437 |
msgstr ""
|
1438 |
|
1439 |
+
#: link-library-admin.php:3329
|
1440 |
msgid "Code/Text to be displayed before each link"
|
1441 |
msgstr ""
|
1442 |
|
1443 |
+
#: link-library-admin.php:3332
|
1444 |
msgid "Code/Text to be displayed after each link"
|
1445 |
msgstr ""
|
1446 |
|
1447 |
+
#: link-library-admin.php:3337
|
1448 |
msgid "No Tooltip"
|
1449 |
msgstr ""
|
1450 |
|
1451 |
+
#: link-library-admin.php:3338
|
|
|
1452 |
msgid "Description"
|
1453 |
msgstr ""
|
1454 |
|
1455 |
+
#: link-library-admin.php:3352
|
|
|
|
|
|
|
|
|
1456 |
msgid ""
|
1457 |
"This column allows for the output of text/code before and after each link "
|
1458 |
"date stamp"
|
1459 |
msgstr ""
|
1460 |
|
1461 |
+
#: link-library-admin.php:3352
|
1462 |
msgid "Link Date"
|
1463 |
msgstr ""
|
1464 |
|
1465 |
+
#: link-library-admin.php:3353
|
1466 |
msgid "Check to display link date"
|
1467 |
msgstr ""
|
1468 |
|
1469 |
+
#: link-library-admin.php:3358
|
1470 |
msgid "Code/Text to be displayed before each date"
|
1471 |
msgstr ""
|
1472 |
|
1473 |
+
#: link-library-admin.php:3361
|
1474 |
msgid "Code/Text to be displayed after each date"
|
1475 |
msgstr ""
|
1476 |
|
1477 |
+
#: link-library-admin.php:3371
|
1478 |
msgid ""
|
1479 |
"This column allows for the output of text/code before and after each link "
|
1480 |
"description"
|
1481 |
msgstr ""
|
1482 |
|
1483 |
+
#: link-library-admin.php:3372
|
1484 |
msgid "Check to display link descriptions"
|
1485 |
msgstr ""
|
1486 |
|
1487 |
+
#: link-library-admin.php:3377
|
1488 |
msgid "Code/Text to be displayed before each description"
|
1489 |
msgstr ""
|
1490 |
|
1491 |
+
#: link-library-admin.php:3380
|
1492 |
msgid "Code/Text to be displayed after each description"
|
1493 |
msgstr ""
|
1494 |
|
1495 |
+
#: link-library-admin.php:3390
|
1496 |
msgid ""
|
1497 |
"This column allows for the output of text/code before and after each link "
|
1498 |
"notes"
|
1499 |
msgstr ""
|
1500 |
|
1501 |
+
#: link-library-admin.php:3390 link-library-admin.php:4250
|
1502 |
+
#: link-library-defaults.php:129 usersubmission.php:311 usersubmission.php:393
|
|
|
1503 |
msgid "Link Notes"
|
1504 |
msgstr ""
|
1505 |
|
1506 |
+
#: link-library-admin.php:3391
|
1507 |
msgid "Check to display link notes"
|
1508 |
msgstr ""
|
1509 |
|
1510 |
+
#: link-library-admin.php:3396
|
1511 |
msgid "Code/Text to be displayed before each note"
|
1512 |
msgstr ""
|
1513 |
|
1514 |
+
#: link-library-admin.php:3399
|
1515 |
msgid "Code/Text to be displayed after each note"
|
1516 |
msgstr ""
|
1517 |
|
1518 |
+
#: link-library-admin.php:3409
|
1519 |
msgid ""
|
1520 |
"This column allows for the output of text/code before and after the RSS icons"
|
1521 |
msgstr ""
|
1522 |
|
1523 |
+
#: link-library-admin.php:3409
|
1524 |
msgid "RSS Icons"
|
1525 |
msgstr ""
|
1526 |
|
1527 |
+
#: link-library-admin.php:3411
|
1528 |
msgid "See below"
|
1529 |
msgstr ""
|
1530 |
|
1531 |
+
#: link-library-admin.php:3413
|
1532 |
msgid "Code/Text to be displayed before RSS Icons"
|
1533 |
msgstr ""
|
1534 |
|
1535 |
+
#: link-library-admin.php:3416
|
1536 |
msgid "Code/Text to be displayed after RSS Icons"
|
1537 |
msgstr ""
|
1538 |
|
1539 |
+
#: link-library-admin.php:3426
|
1540 |
msgid ""
|
1541 |
"This column allows for the output of text/code before and after the Web Link"
|
1542 |
msgstr ""
|
1543 |
|
1544 |
+
#: link-library-admin.php:3426
|
1545 |
+
msgid "Web Link"
|
1546 |
+
msgstr ""
|
1547 |
+
|
1548 |
+
#: link-library-admin.php:3429 link-library-admin.php:3464
|
1549 |
+
#: link-library-admin.php:3505
|
1550 |
msgid "False"
|
1551 |
msgstr ""
|
1552 |
|
1553 |
+
#: link-library-admin.php:3430
|
1554 |
msgid "Web Address"
|
1555 |
msgstr ""
|
1556 |
|
1557 |
+
#: link-library-admin.php:3431
|
1558 |
+
msgid "Web Address Only"
|
1559 |
+
msgstr ""
|
1560 |
+
|
1561 |
+
#: link-library-admin.php:3432 link-library-admin.php:3473
|
1562 |
msgid "Label"
|
1563 |
msgstr ""
|
1564 |
|
1565 |
+
#: link-library-admin.php:3435
|
1566 |
msgid "Code/Text to be displayed before Web Link"
|
1567 |
msgstr ""
|
1568 |
|
1569 |
+
#: link-library-admin.php:3438
|
1570 |
msgid "Code/Text to be displayed after Web Link"
|
1571 |
msgstr ""
|
1572 |
|
1573 |
+
#: link-library-admin.php:3441
|
1574 |
msgid "Text Label that the web link will be assigned to."
|
1575 |
msgstr ""
|
1576 |
|
1577 |
+
#: link-library-admin.php:3444 link-library-admin.php:3485
|
1578 |
msgid "Select which link address will be displayed / used for link"
|
1579 |
msgstr ""
|
1580 |
|
1581 |
+
#: link-library-admin.php:3459
|
1582 |
msgid ""
|
1583 |
"This column allows for the output of text/code before and after the "
|
1584 |
"Telephone Number"
|
1585 |
msgstr ""
|
1586 |
|
1587 |
+
#: link-library-admin.php:3459 link-library-admin.php:4312
|
1588 |
+
#: link-library-admin.php:4657 link-library-defaults.php:174
|
1589 |
+
#: render-link-library-addlink-sc.php:425
|
1590 |
msgid "Telephone"
|
1591 |
msgstr ""
|
1592 |
|
1593 |
+
#: link-library-admin.php:3467 link-library-admin.php:3508
|
1594 |
msgid "Plain Text"
|
1595 |
msgstr ""
|
1596 |
|
1597 |
+
#: link-library-admin.php:3476
|
|
|
|
|
|
|
|
|
1598 |
msgid "Code/Text to be displayed before Telephone Number"
|
1599 |
msgstr ""
|
1600 |
|
1601 |
+
#: link-library-admin.php:3479
|
1602 |
msgid "Code/Text to be displayed after Telephone Number"
|
1603 |
msgstr ""
|
1604 |
|
1605 |
+
#: link-library-admin.php:3482
|
1606 |
msgid "Text Label that the telephone will be assigned to."
|
1607 |
msgstr ""
|
1608 |
|
1609 |
+
#: link-library-admin.php:3500
|
1610 |
msgid ""
|
1611 |
"This column allows for the output of text/code before and after the E-mail"
|
1612 |
msgstr ""
|
1613 |
|
1614 |
+
#: link-library-admin.php:3511
|
1615 |
msgid "MailTo Link"
|
1616 |
msgstr ""
|
1617 |
|
1618 |
+
#: link-library-admin.php:3514
|
1619 |
msgid "MailTo Link with Label"
|
1620 |
msgstr ""
|
1621 |
|
1622 |
+
#: link-library-admin.php:3517
|
1623 |
msgid "Formatted Command"
|
1624 |
msgstr ""
|
1625 |
|
1626 |
+
#: link-library-admin.php:3520
|
1627 |
msgid "Formatted Command with Labels"
|
1628 |
msgstr ""
|
1629 |
|
1630 |
+
#: link-library-admin.php:3523
|
1631 |
msgid "Code/Text to be displayed before E-mail"
|
1632 |
msgstr ""
|
1633 |
|
1634 |
+
#: link-library-admin.php:3526
|
1635 |
msgid "Code/Text to be displayed after E-mail"
|
1636 |
msgstr ""
|
1637 |
|
1638 |
+
#: link-library-admin.php:3529
|
1639 |
msgid ""
|
1640 |
"Text Label that the e-mail will be assigned to represent the e-mail link."
|
1641 |
msgstr ""
|
1642 |
|
1643 |
+
#: link-library-admin.php:3532
|
1644 |
msgid ""
|
1645 |
"Command that the e-mail will be embedded in. In the case of a command, use "
|
1646 |
"the symbols #email and #company to indicate the position where these "
|
1647 |
"elements should be inserted."
|
1648 |
msgstr ""
|
1649 |
|
1650 |
+
#: link-library-admin.php:3540
|
1651 |
msgid ""
|
1652 |
"This column allows for the output of text/code before and after Link Hits"
|
1653 |
msgstr ""
|
1654 |
|
1655 |
+
#: link-library-admin.php:3540
|
1656 |
msgid "Link Hits"
|
1657 |
msgstr ""
|
1658 |
|
1659 |
+
#: link-library-admin.php:3546
|
1660 |
msgid "Code/Text to be displayed before Link Hits"
|
1661 |
msgstr ""
|
1662 |
|
1663 |
+
#: link-library-admin.php:3549
|
1664 |
msgid "Code/Text to be displayed after Link Hits"
|
1665 |
msgstr ""
|
1666 |
|
1667 |
+
#: link-library-admin.php:3559
|
1668 |
msgid ""
|
1669 |
"This column allows for the output of text/code before and after the Link "
|
1670 |
"Rating"
|
1671 |
msgstr ""
|
1672 |
|
1673 |
+
#: link-library-admin.php:3559
|
1674 |
msgid "Link Rating"
|
1675 |
msgstr ""
|
1676 |
|
1677 |
+
#: link-library-admin.php:3565
|
1678 |
msgid "Code/Text to be displayed before Link Rating"
|
1679 |
msgstr ""
|
1680 |
|
1681 |
+
#: link-library-admin.php:3568
|
1682 |
msgid "Code/Text to be displayed after Link Rating"
|
1683 |
msgstr ""
|
1684 |
|
1685 |
+
#: link-library-admin.php:3578 link-library-admin.php:3597
|
1686 |
+
#: link-library-admin.php:3614
|
1687 |
msgid ""
|
1688 |
"This column allows for the output of text/code before and after the Link "
|
1689 |
"Large Description"
|
1690 |
msgstr ""
|
1691 |
|
1692 |
+
#: link-library-admin.php:3578 link-library-admin.php:4700
|
1693 |
+
#: usersubmission.php:307 usersubmission.php:389
|
1694 |
msgid "Link Large Description"
|
1695 |
msgstr ""
|
1696 |
|
1697 |
+
#: link-library-admin.php:3584 link-library-admin.php:3601
|
1698 |
+
#: link-library-admin.php:3618
|
1699 |
msgid "Code/Text to be displayed before Link Large Description"
|
1700 |
msgstr ""
|
1701 |
|
1702 |
+
#: link-library-admin.php:3587 link-library-admin.php:3604
|
1703 |
+
#: link-library-admin.php:3621
|
1704 |
msgid "Code/Text to be displayed after Link Large Description"
|
1705 |
msgstr ""
|
1706 |
|
1707 |
+
#: link-library-admin.php:3614
|
1708 |
msgid "Category Description"
|
1709 |
msgstr ""
|
1710 |
|
1711 |
+
#: link-library-admin.php:3633
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1712 |
msgid "This column allows for the output of text/code after each link"
|
1713 |
msgstr ""
|
1714 |
|
1715 |
+
#: link-library-admin.php:3633
|
1716 |
msgid "After Link Block"
|
1717 |
msgstr ""
|
1718 |
|
1719 |
+
#: link-library-admin.php:3636
|
1720 |
msgid "Output after complete link group (link, notes, desc, etc...)"
|
1721 |
msgstr ""
|
1722 |
|
1723 |
+
#: link-library-admin.php:3643
|
1724 |
msgid ""
|
1725 |
"This column allows for the output of text/code after a number of links "
|
1726 |
"determined in the first column"
|
1727 |
msgstr ""
|
1728 |
|
1729 |
+
#: link-library-admin.php:3643
|
1730 |
msgid "Intermittent After Link"
|
1731 |
msgstr ""
|
1732 |
|
1733 |
+
#: link-library-admin.php:3653
|
1734 |
msgid ""
|
1735 |
"This column allows for the output of text/code after the last link in each "
|
1736 |
"category"
|
1737 |
msgstr ""
|
1738 |
|
1739 |
+
#: link-library-admin.php:3653
|
1740 |
msgid "After last link"
|
1741 |
msgstr ""
|
1742 |
|
1743 |
+
#: link-library-admin.php:3666
|
1744 |
msgid "Show Link Updated Flag"
|
1745 |
msgstr ""
|
1746 |
|
1747 |
+
#: link-library-admin.php:3676
|
1748 |
msgid "Convert [] to <> in Link Description and Notes"
|
1749 |
msgstr ""
|
1750 |
|
1751 |
+
#: link-library-admin.php:3686
|
1752 |
msgid "Add nofollow tag to outgoing links"
|
1753 |
msgstr ""
|
1754 |
|
1755 |
+
#: link-library-admin.php:3693
|
1756 |
msgid "Show edit links when logged in as editor or administrator"
|
1757 |
msgstr ""
|
1758 |
|
1759 |
+
#: link-library-admin.php:3701
|
1760 |
msgid "Show link name when no image is assigned"
|
1761 |
msgstr ""
|
1762 |
|
1763 |
+
#: link-library-admin.php:3708
|
1764 |
msgid "Do not output fields with no value"
|
1765 |
msgstr ""
|
1766 |
|
1767 |
+
#: link-library-admin.php:3726
|
1768 |
msgid "Enable link Pop-Ups"
|
1769 |
msgstr ""
|
1770 |
|
1771 |
+
#: link-library-admin.php:3730
|
1772 |
msgid "Pop-Up Width"
|
1773 |
msgstr ""
|
1774 |
|
1775 |
+
#: link-library-admin.php:3737
|
1776 |
msgid "Pop-Up Height"
|
1777 |
msgstr ""
|
1778 |
|
1779 |
+
#: link-library-admin.php:3746
|
1780 |
msgid "Dialog contents"
|
1781 |
msgstr ""
|
1782 |
|
1783 |
+
#: link-library-admin.php:3764
|
1784 |
msgid "Show RSS Link using Text"
|
1785 |
msgstr ""
|
1786 |
|
1787 |
+
#: link-library-admin.php:3772
|
1788 |
msgid "Show RSS Link using Standard Icon"
|
1789 |
msgstr ""
|
1790 |
|
1791 |
+
#: link-library-admin.php:3784
|
1792 |
msgid "Show RSS Preview Link"
|
1793 |
msgstr ""
|
1794 |
|
1795 |
+
#: link-library-admin.php:3790
|
1796 |
msgid "Number of articles shown in RSS Preview"
|
1797 |
msgstr ""
|
1798 |
|
1799 |
+
#: link-library-admin.php:3796
|
1800 |
msgid "Show RSS Feed Headers in Link Library output"
|
1801 |
msgstr ""
|
1802 |
|
1803 |
+
#: link-library-admin.php:3804
|
1804 |
msgid "Show RSS Feed Content in Link Library output"
|
1805 |
msgstr ""
|
1806 |
|
1807 |
+
#: link-library-admin.php:3810
|
1808 |
msgid "Number of RSS articles shown in Link Library Output"
|
1809 |
msgstr ""
|
1810 |
|
1811 |
+
#: link-library-admin.php:3815
|
1812 |
msgid "Max number of days since published"
|
1813 |
msgstr ""
|
1814 |
|
1815 |
+
#: link-library-admin.php:3819
|
1816 |
msgid "RSS Preview Width"
|
1817 |
msgstr ""
|
1818 |
|
1819 |
+
#: link-library-admin.php:3822
|
1820 |
msgid "RSS Preview Height"
|
1821 |
msgstr ""
|
1822 |
|
1823 |
+
#: link-library-admin.php:3825
|
1824 |
msgid "Skip links with no RSS inline items"
|
1825 |
msgstr ""
|
1826 |
|
1827 |
+
#: link-library-admin.php:3842
|
1828 |
msgid ""
|
1829 |
"Checking this option will get images from the Robothumb web site every time"
|
1830 |
msgstr ""
|
1831 |
|
1832 |
+
#: link-library-admin.php:3843
|
1833 |
msgid "Use thumbnail service for dynamic link images"
|
1834 |
msgstr ""
|
1835 |
|
1836 |
+
#: link-library-admin.php:3845
|
1837 |
msgid ""
|
1838 |
"Checking this option will get images from the thumbshots web site every time"
|
1839 |
msgstr ""
|
1840 |
|
1841 |
+
#: link-library-admin.php:3853
|
1842 |
msgid "Give priority to images assigned to links if present"
|
1843 |
msgstr ""
|
1844 |
|
1845 |
+
#: link-library-admin.php:3861
|
1846 |
msgid "Generate Images / Favorite Icons"
|
1847 |
msgstr ""
|
1848 |
|
1849 |
+
#: link-library-admin.php:3863 link-library-admin.php:4727
|
1850 |
msgid ""
|
1851 |
"This button is only available when a valid API key is entered under the Link "
|
1852 |
"Library General Settings."
|
1853 |
msgstr ""
|
1854 |
|
1855 |
+
#: link-library-admin.php:3864
|
1856 |
msgid "Generate Thumbnails and Store locally"
|
1857 |
msgstr ""
|
1858 |
|
1859 |
+
#: link-library-admin.php:3867
|
1860 |
msgid "Generate Favorite Icons and Store locally"
|
1861 |
msgstr ""
|
1862 |
|
1863 |
+
#: link-library-admin.php:3871
|
1864 |
msgid "Delete all local thumbnails and icons"
|
1865 |
msgstr ""
|
1866 |
|
1867 |
+
#: link-library-admin.php:3872
|
1868 |
msgid "Delete all local thumbnails"
|
1869 |
msgstr ""
|
1870 |
|
1871 |
+
#: link-library-admin.php:3873
|
1872 |
msgid "Delete all local icons"
|
1873 |
msgstr ""
|
1874 |
|
1875 |
+
#: link-library-admin.php:3889
|
1876 |
msgid "Publish RSS Feed"
|
1877 |
msgstr ""
|
1878 |
|
1879 |
+
#: link-library-admin.php:3896
|
1880 |
msgid "Number of items in RSS feed"
|
1881 |
msgstr ""
|
1882 |
|
1883 |
+
#: link-library-admin.php:3905
|
1884 |
msgid "RSS Feed Title"
|
1885 |
msgstr ""
|
1886 |
|
1887 |
+
#: link-library-admin.php:3911
|
1888 |
msgid "RSS Feed Description"
|
1889 |
msgstr ""
|
1890 |
|
1891 |
+
#: link-library-admin.php:3917
|
1892 |
msgid ""
|
1893 |
"RSS Feed Web Address (default yoursite.com?"
|
1894 |
"link_library_rss_feed=1&settingset=1 )"
|
1895 |
msgstr ""
|
1896 |
|
1897 |
+
#: link-library-admin.php:3934
|
1898 |
msgid "Search Label"
|
1899 |
msgstr ""
|
1900 |
|
1901 |
+
#: link-library-admin.php:3943
|
1902 |
msgid "Search Field Initial Text"
|
1903 |
msgstr ""
|
1904 |
|
1905 |
+
#: link-library-admin.php:3952
|
1906 |
msgid "Search No Results Text"
|
1907 |
msgstr ""
|
1908 |
|
1909 |
+
#: link-library-admin.php:3954 link-library-defaults.php:226
|
1910 |
msgid "No links found matching your search criteria"
|
1911 |
msgstr ""
|
1912 |
|
1913 |
+
#: link-library-admin.php:3961 link-library-admin.php:3962
|
1914 |
msgid "Leave empty when links are to be displayed on same page as search box"
|
1915 |
msgstr ""
|
1916 |
|
1917 |
+
#: link-library-admin.php:3961
|
1918 |
msgid "Results Page Address"
|
1919 |
msgstr ""
|
1920 |
|
1921 |
+
#: link-library-admin.php:4062
|
1922 |
msgid "Following this link shows a list of all links awaiting moderation"
|
1923 |
msgstr ""
|
1924 |
|
1925 |
+
#: link-library-admin.php:4063
|
1926 |
msgid "View list of links awaiting moderation"
|
1927 |
msgstr ""
|
1928 |
|
1929 |
+
#: link-library-admin.php:4067
|
1930 |
msgid "Show user links immediately"
|
1931 |
msgstr ""
|
1932 |
|
1933 |
+
#: link-library-admin.php:4072
|
1934 |
msgid "E-mail admin on link submission"
|
1935 |
msgstr ""
|
1936 |
|
1937 |
+
#: link-library-admin.php:4078
|
1938 |
msgid "Validate links with Akismet"
|
1939 |
msgstr ""
|
1940 |
|
1941 |
+
#: link-library-admin.php:4082
|
1942 |
msgid "E-mail submitter"
|
1943 |
msgstr ""
|
1944 |
|
1945 |
+
#: link-library-admin.php:4088
|
|
|
|
|
|
|
|
|
1946 |
msgid "Require login to display form"
|
1947 |
msgstr ""
|
1948 |
|
1949 |
+
#: link-library-admin.php:4093
|
1950 |
msgid "Allow link submission with empty link"
|
1951 |
msgstr ""
|
1952 |
|
1953 |
+
#: link-library-admin.php:4099
|
1954 |
msgid "Display captcha"
|
1955 |
msgstr ""
|
1956 |
|
1957 |
+
#: link-library-admin.php:4104
|
1958 |
msgid ""
|
1959 |
"This function will only store data when users are logged in to Wordpress"
|
1960 |
msgstr ""
|
1961 |
|
1962 |
+
#: link-library-admin.php:4104
|
1963 |
msgid "Store login name on link submission"
|
1964 |
msgstr ""
|
1965 |
|
1966 |
+
#: link-library-admin.php:4110
|
1967 |
msgid "Add new link label"
|
1968 |
msgstr ""
|
1969 |
|
1970 |
+
#: link-library-admin.php:4112 link-library-defaults.php:123
|
1971 |
+
#: render-link-library-addlink-sc.php:206
|
1972 |
msgid "Add new link"
|
1973 |
msgstr ""
|
1974 |
|
1975 |
+
#: link-library-admin.php:4119
|
1976 |
msgid "Link name label"
|
1977 |
msgstr ""
|
1978 |
|
1979 |
+
#: link-library-admin.php:4129
|
1980 |
msgid "Link address label"
|
1981 |
msgstr ""
|
1982 |
|
1983 |
+
#: link-library-admin.php:4131 usersubmission.php:296 usersubmission.php:378
|
|
|
1984 |
msgid "Link Address"
|
1985 |
msgstr ""
|
1986 |
|
1987 |
+
#: link-library-admin.php:4138
|
1988 |
msgid "Link RSS label"
|
1989 |
msgstr ""
|
1990 |
|
1991 |
+
#: link-library-admin.php:4140 link-library-defaults.php:126
|
1992 |
+
#: render-link-library-addlink-sc.php:232 usersubmission.php:299
|
1993 |
+
#: usersubmission.php:381
|
1994 |
msgid "Link RSS"
|
1995 |
msgstr ""
|
1996 |
|
1997 |
+
#: link-library-admin.php:4147 link-library-admin.php:4163
|
1998 |
+
#: link-library-admin.php:4242 link-library-admin.php:4257
|
1999 |
+
#: link-library-admin.php:4288 link-library-admin.php:4303
|
2000 |
+
#: link-library-admin.php:4319 link-library-admin.php:4334
|
2001 |
+
#: link-library-admin.php:4350 link-library-admin.php:4365
|
2002 |
+
#: link-library-admin.php:4381 link-library-admin.php:4396
|
2003 |
+
#: link-library-admin.php:4412
|
2004 |
msgid "Hide"
|
2005 |
msgstr ""
|
2006 |
|
2007 |
+
#: link-library-admin.php:4148 link-library-admin.php:4164
|
2008 |
+
#: link-library-admin.php:4243 link-library-admin.php:4258
|
2009 |
+
#: link-library-admin.php:4289 link-library-admin.php:4304
|
2010 |
+
#: link-library-admin.php:4320 link-library-admin.php:4335
|
2011 |
+
#: link-library-admin.php:4351 link-library-admin.php:4366
|
2012 |
+
#: link-library-admin.php:4382 link-library-admin.php:4397
|
2013 |
+
#: link-library-admin.php:4413
|
2014 |
msgid "Show"
|
2015 |
msgstr ""
|
2016 |
|
2017 |
+
#: link-library-admin.php:4149 link-library-admin.php:4244
|
2018 |
+
#: link-library-admin.php:4259 link-library-admin.php:4290
|
2019 |
+
#: link-library-admin.php:4305 link-library-admin.php:4321
|
2020 |
+
#: link-library-admin.php:4336 link-library-admin.php:4352
|
2021 |
+
#: link-library-admin.php:4367 link-library-admin.php:4383
|
2022 |
+
#: link-library-admin.php:4398
|
2023 |
msgid "Required"
|
2024 |
msgstr ""
|
2025 |
|
2026 |
+
#: link-library-admin.php:4154
|
2027 |
msgid "Link category label"
|
2028 |
msgstr ""
|
2029 |
|
2030 |
+
#: link-library-admin.php:4168
|
2031 |
msgid ""
|
2032 |
"Comma-seperated list of categories to be displayed in category selection box "
|
2033 |
"(e.g. 1,5,4) instead of displaying the set of categories specified by the "
|
2034 |
"library."
|
2035 |
msgstr ""
|
2036 |
|
2037 |
+
#: link-library-admin.php:4168
|
2038 |
msgid "Link category override selection list"
|
2039 |
msgstr ""
|
2040 |
|
2041 |
+
#: link-library-admin.php:4169
|
2042 |
msgid ""
|
2043 |
"Comma-seperated list of categories to be displayed in category selection box "
|
2044 |
"(e.g. 1,5,4)"
|
2045 |
msgstr ""
|
2046 |
|
2047 |
+
#: link-library-admin.php:4174
|
2048 |
msgid "Default category"
|
2049 |
msgstr ""
|
2050 |
|
2051 |
+
#: link-library-admin.php:4209 link-library-admin.php:4211
|
2052 |
+
#: link-library-defaults.php:154
|
2053 |
msgid "User-submitted category"
|
2054 |
msgstr ""
|
2055 |
|
2056 |
+
#: link-library-admin.php:4218
|
2057 |
msgid "No"
|
2058 |
msgstr ""
|
2059 |
|
2060 |
+
#: link-library-admin.php:4219
|
2061 |
msgid "Allow"
|
2062 |
msgstr ""
|
2063 |
|
2064 |
+
#: link-library-admin.php:4223
|
2065 |
msgid "User-submitted category prompt"
|
2066 |
msgstr ""
|
2067 |
|
2068 |
+
#: link-library-admin.php:4225 link-library-defaults.php:155
|
2069 |
+
#: render-link-library-addlink-sc.php:286
|
2070 |
msgid "User-submitted category (define below)"
|
2071 |
msgstr ""
|
2072 |
|
2073 |
+
#: link-library-admin.php:4233
|
2074 |
msgid "Link description label"
|
2075 |
msgstr ""
|
2076 |
|
2077 |
+
#: link-library-admin.php:4248
|
2078 |
msgid "Link notes label"
|
2079 |
msgstr ""
|
2080 |
|
2081 |
+
#: link-library-admin.php:4264 link-library-admin.php:4265
|
2082 |
msgid "Reciprocal link must be configured for this option to work correctly"
|
2083 |
msgstr ""
|
2084 |
|
2085 |
+
#: link-library-admin.php:4264
|
2086 |
msgid "Show immediately if reciprocal link valid"
|
2087 |
msgstr ""
|
2088 |
|
2089 |
+
#: link-library-admin.php:4268
|
2090 |
msgid "Use Text Area for Notes"
|
2091 |
msgstr ""
|
2092 |
|
2093 |
+
#: link-library-admin.php:4273
|
2094 |
msgid "Only allow one reciprocal link per domain"
|
2095 |
msgstr ""
|
2096 |
|
2097 |
+
#: link-library-admin.php:4279
|
2098 |
msgid "Reciprocal Link label"
|
2099 |
msgstr ""
|
2100 |
|
2101 |
+
#: link-library-admin.php:4281 link-library-admin.php:4669
|
2102 |
+
#: link-library-defaults.php:170 render-link-library-addlink-sc.php:389
|
2103 |
+
#: usersubmission.php:317 usersubmission.php:399
|
2104 |
msgid "Reciprocal Link"
|
2105 |
msgstr ""
|
2106 |
|
2107 |
+
#: link-library-admin.php:4294
|
2108 |
msgid "Secondary Address label"
|
2109 |
msgstr ""
|
2110 |
|
2111 |
+
#: link-library-admin.php:4296 link-library-defaults.php:172
|
2112 |
+
#: render-link-library-addlink-sc.php:407
|
2113 |
msgid "Secondary Address"
|
2114 |
msgstr ""
|
2115 |
|
2116 |
+
#: link-library-admin.php:4310
|
2117 |
msgid "Link Telephone label"
|
2118 |
msgstr ""
|
2119 |
|
2120 |
+
#: link-library-admin.php:4325
|
2121 |
msgid "Link E-mail label"
|
2122 |
msgstr ""
|
2123 |
|
2124 |
+
#: link-library-admin.php:4341
|
2125 |
msgid "Link Submitter Name label"
|
2126 |
msgstr ""
|
2127 |
|
2128 |
+
#: link-library-admin.php:4356
|
2129 |
msgid "Link Submitter E-mail label"
|
2130 |
msgstr ""
|
2131 |
|
2132 |
+
#: link-library-admin.php:4358 link-library-defaults.php:190
|
2133 |
+
#: render-link-library-addlink-sc.php:492
|
2134 |
msgid "Submitter E-mail"
|
2135 |
msgstr ""
|
2136 |
|
2137 |
+
#: link-library-admin.php:4372
|
2138 |
msgid "Link Submitter Comment Label"
|
2139 |
msgstr ""
|
2140 |
|
2141 |
+
#: link-library-admin.php:4374 link-library-defaults.php:192
|
2142 |
+
#: render-link-library-addlink-sc.php:523
|
2143 |
msgid "Submitter Comment"
|
2144 |
msgstr ""
|
2145 |
|
2146 |
+
#: link-library-admin.php:4387
|
2147 |
msgid "Large Description Label"
|
2148 |
msgstr ""
|
2149 |
|
2150 |
+
#: link-library-admin.php:4389 link-library-defaults.php:205
|
|
|
2151 |
msgid "Large Description"
|
2152 |
msgstr ""
|
2153 |
|
2154 |
+
#: link-library-admin.php:4403
|
2155 |
msgid "Custom Captcha Question"
|
2156 |
msgstr ""
|
2157 |
|
2158 |
+
#: link-library-admin.php:4405 link-library-defaults.php:199
|
2159 |
+
#: render-link-library-addlink-sc.php:541
|
2160 |
msgid "Is boiling water hot or cold?"
|
2161 |
msgstr ""
|
2162 |
|
2163 |
+
#: link-library-admin.php:4417
|
2164 |
msgid "Custom Captcha Answer"
|
2165 |
msgstr ""
|
2166 |
|
2167 |
+
#: link-library-admin.php:4419 link-library-defaults.php:200
|
2168 |
msgid "hot"
|
2169 |
msgstr ""
|
2170 |
|
2171 |
+
#: link-library-admin.php:4426
|
2172 |
msgid "Add Link button label"
|
2173 |
msgstr ""
|
2174 |
|
2175 |
+
#: link-library-admin.php:4428 link-library-defaults.php:130
|
2176 |
msgid "Add Link"
|
2177 |
msgstr ""
|
2178 |
|
2179 |
+
#: link-library-admin.php:4435
|
2180 |
msgid "New Link Message"
|
2181 |
msgstr ""
|
2182 |
|
2183 |
+
#: link-library-admin.php:4437
|
2184 |
msgid "New link submitted"
|
2185 |
msgstr ""
|
2186 |
|
2187 |
+
#: link-library-admin.php:4444
|
2188 |
msgid "New Link Moderation Label"
|
2189 |
msgstr ""
|
2190 |
|
2191 |
+
#: link-library-admin.php:4446
|
2192 |
msgid "it will appear in the list once moderated. Thank you."
|
2193 |
msgstr ""
|
2194 |
|
2195 |
+
#: link-library-admin.php:4467
|
2196 |
+
msgid ""
|
2197 |
+
"Allows for links to be added in batch to the Wordpress links database. CSV "
|
2198 |
+
"file needs to follow template for column layout."
|
|
|
|
|
2199 |
msgstr ""
|
2200 |
|
2201 |
+
#: link-library-admin.php:4467
|
2202 |
+
msgid "CSV file to upload to import links"
|
2203 |
msgstr ""
|
2204 |
|
2205 |
+
#: link-library-admin.php:4467
|
2206 |
+
msgid "file template"
|
2207 |
msgstr ""
|
2208 |
|
2209 |
+
#: link-library-admin.php:4470
|
2210 |
+
msgid "Import Links from CSV"
|
2211 |
msgstr ""
|
2212 |
|
2213 |
+
#: link-library-admin.php:4474
|
2214 |
+
msgid "First row contains column headers"
|
2215 |
msgstr ""
|
2216 |
|
2217 |
+
#: link-library-admin.php:4478 link-library-admin.php:4508
|
2218 |
+
msgid "Update items when URL is identical"
|
2219 |
msgstr ""
|
2220 |
|
2221 |
+
#: link-library-admin.php:4486
|
2222 |
+
msgid "Import links from site pages"
|
2223 |
msgstr ""
|
2224 |
|
2225 |
+
#: link-library-admin.php:4487
|
2226 |
+
msgid "All Pages and Posts"
|
2227 |
msgstr ""
|
2228 |
|
2229 |
+
#: link-library-admin.php:4488
|
2230 |
+
msgid "All Pages, Posts and Custom Post Types"
|
2231 |
msgstr ""
|
2232 |
|
2233 |
+
#: link-library-admin.php:4489
|
2234 |
+
msgid "Specific Page"
|
2235 |
msgstr ""
|
2236 |
|
2237 |
+
#: link-library-admin.php:4493
|
2238 |
+
msgid "Specific Post"
|
2239 |
msgstr ""
|
2240 |
|
2241 |
+
#: link-library-admin.php:4503
|
2242 |
+
msgid "Specific "
|
2243 |
msgstr ""
|
2244 |
|
2245 |
+
#: link-library-admin.php:4538
|
2246 |
+
msgid "Import Links from Site"
|
2247 |
msgstr ""
|
2248 |
|
2249 |
+
#: link-library-admin.php:4546
|
2250 |
+
msgid "Overwrites current library settings with contents of CSV file"
|
2251 |
msgstr ""
|
2252 |
|
2253 |
+
#: link-library-admin.php:4546
|
2254 |
+
msgid "Library Settings CSV file to import"
|
2255 |
msgstr ""
|
2256 |
|
2257 |
+
#: link-library-admin.php:4549
|
2258 |
+
msgid "Import Library Settings"
|
2259 |
msgstr ""
|
2260 |
|
2261 |
+
#: link-library-admin.php:4553
|
2262 |
+
msgid "Generates CSV file with current library configuration for download"
|
2263 |
msgstr ""
|
2264 |
|
2265 |
+
#: link-library-admin.php:4553
|
2266 |
+
msgid "Export current library settings"
|
2267 |
msgstr ""
|
2268 |
|
2269 |
+
#: link-library-admin.php:4555
|
2270 |
+
msgid "Export Library Settings"
|
2271 |
msgstr ""
|
2272 |
|
2273 |
+
#: link-library-admin.php:4568
|
2274 |
+
msgid "Search string"
|
2275 |
msgstr ""
|
2276 |
|
2277 |
+
#: link-library-admin.php:4574
|
2278 |
+
msgid "Delete links that return a 403 error"
|
2279 |
msgstr ""
|
2280 |
|
2281 |
+
#: link-library-admin.php:4582
|
2282 |
+
msgid "Check Reciprocal Links"
|
|
|
2283 |
msgstr ""
|
2284 |
|
2285 |
+
#: link-library-admin.php:4587
|
2286 |
+
msgid "Check Broken Links"
|
|
|
2287 |
msgstr ""
|
2288 |
|
2289 |
+
#: link-library-admin.php:4627
|
2290 |
+
msgid "Featured Link"
|
2291 |
msgstr ""
|
2292 |
|
2293 |
+
#: link-library-admin.php:4633
|
2294 |
msgid "No Follow"
|
2295 |
msgstr ""
|
2296 |
|
2297 |
+
#: link-library-admin.php:4639
|
2298 |
msgid "Updated Date"
|
2299 |
msgstr ""
|
2300 |
|
2301 |
+
#: link-library-admin.php:4650
|
2302 |
msgid "Secondary Web Address"
|
2303 |
msgstr ""
|
2304 |
|
2305 |
+
#: link-library-admin.php:4653 link-library-admin.php:4672
|
2306 |
msgid "Visit"
|
2307 |
msgstr ""
|
2308 |
|
2309 |
+
#: link-library-admin.php:4676
|
2310 |
+
msgid "Number of link views"
|
2311 |
msgstr ""
|
2312 |
|
2313 |
+
#: link-library-admin.php:4682
|
2314 |
+
msgid "Link Submitter"
|
2315 |
msgstr ""
|
2316 |
|
2317 |
+
#: link-library-admin.php:4688 usersubmission.php:333 usersubmission.php:415
|
2318 |
+
msgid "Link Submitter Name"
|
2319 |
msgstr ""
|
2320 |
|
2321 |
+
#: link-library-admin.php:4694 usersubmission.php:337 usersubmission.php:419
|
2322 |
+
msgid "Link Submitter E-mail"
|
2323 |
msgstr ""
|
2324 |
|
2325 |
+
#: link-library-admin.php:4712
|
2326 |
+
msgid "Current Link Image"
|
2327 |
msgstr ""
|
2328 |
|
2329 |
+
#: link-library-admin.php:4718
|
2330 |
+
msgid "None Assigned"
|
2331 |
msgstr ""
|
2332 |
|
2333 |
+
#: link-library-admin.php:4725 link-library-admin.php:4735
|
2334 |
+
msgid "Automatic Image Generation"
|
2335 |
msgstr ""
|
2336 |
|
2337 |
+
#: link-library-admin.php:4729
|
2338 |
+
msgid "Generate Thumbnail and Store locally"
|
2339 |
msgstr ""
|
2340 |
|
2341 |
+
#: link-library-admin.php:4730
|
2342 |
+
msgid "Generate Favorite Icon and Store locally"
|
2343 |
msgstr ""
|
2344 |
|
2345 |
+
#: link-library-admin.php:4736
|
2346 |
+
msgid "Only available once link is saved"
|
2347 |
msgstr ""
|
2348 |
|
2349 |
+
#: link-library-admin.php:4741
|
2350 |
+
msgid "Manual Image Upload"
|
2351 |
msgstr ""
|
2352 |
|
2353 |
+
#: link-library-admin.php:4743
|
2354 |
+
msgid "Launch Media Uploader"
|
2355 |
msgstr ""
|
2356 |
|
2357 |
+
#: link-library-admin.php:4748
|
2358 |
+
msgid ""
|
2359 |
+
"Manual upload requires a wp-content\\uploads directory to be present with "
|
2360 |
+
"write permissions"
|
2361 |
msgstr ""
|
2362 |
|
2363 |
+
#: link-library-admin.php:4849
|
2364 |
+
msgid ""
|
2365 |
+
"Cannot generate thumbnail when no name and no web address are specified."
|
2366 |
+
msgstr ""
|
2367 |
+
|
2368 |
+
#: link-library-admin.php:4885
|
2369 |
+
msgid ""
|
2370 |
+
"Cannot generate favorite icon when no name and no web address are specified."
|
2371 |
msgstr ""
|
2372 |
|
2373 |
+
#: link-library-admin.php:5096
|
2374 |
msgid "Add Link Library Shortcode"
|
2375 |
msgstr ""
|
2376 |
|
2377 |
+
#: link-library-defaults.php:124 render-link-library-addlink-sc.php:214
|
2378 |
msgid "Link name"
|
2379 |
msgstr ""
|
2380 |
|
2381 |
+
#: link-library-defaults.php:125 render-link-library-addlink-sc.php:220
|
2382 |
msgid "Link address"
|
2383 |
msgstr ""
|
2384 |
|
2385 |
+
#: link-library-defaults.php:131
|
2386 |
msgid "New link submitted."
|
2387 |
msgstr ""
|
2388 |
|
2389 |
+
#: link-library-defaults.php:132
|
2390 |
msgid "It will appear in the list once moderated. Thank you."
|
2391 |
msgstr ""
|
2392 |
|
2393 |
+
#: link-library-defaults.php:149
|
2394 |
msgid "Link Library-Generated RSS Feed"
|
2395 |
msgstr ""
|
2396 |
|
2397 |
+
#: link-library-defaults.php:150
|
2398 |
msgid "Description of Link Library-Generated Feed"
|
2399 |
msgstr ""
|
2400 |
|
2401 |
+
#: link-library-defaults.php:212 linkpopup.php:64
|
2402 |
msgid "%link_image%<br />Click through to visit %link_name%."
|
2403 |
msgstr ""
|
2404 |
|
2405 |
+
#: link-library-defaults.php:225
|
2406 |
msgid "Search..."
|
2407 |
msgstr ""
|
2408 |
|
2409 |
+
#: link-library-defaults.php:227
|
2410 |
msgid "Category Filter"
|
2411 |
msgstr ""
|
2412 |
|
2413 |
+
#: link-library.php:416
|
2414 |
msgid "Link Library Generated Feed"
|
2415 |
msgstr ""
|
2416 |
|
2417 |
+
#: link-library.php:599
|
2418 |
msgid "Could not update link in the database"
|
2419 |
msgstr ""
|
2420 |
|
2421 |
+
#: link-library.php:606
|
2422 |
msgid "Could not insert link into the database"
|
2423 |
msgstr ""
|
2424 |
|
2425 |
+
#: link-library.php:628 link-library.php:632
|
2426 |
msgid ""
|
2427 |
"Link Library no longer supports calling this function with individual "
|
2428 |
"arguments. Please use the admin panel to configure Link Library and the "
|
2429 |
"do_shortcode function to use Link Library output in your code."
|
2430 |
msgstr ""
|
2431 |
|
2432 |
+
#: render-link-library-addlink-sc.php:134
|
|
|
|
|
|
|
|
|
2433 |
msgid "Confirm code not given"
|
2434 |
msgstr ""
|
2435 |
|
2436 |
+
#: render-link-library-addlink-sc.php:136
|
2437 |
msgid "Captcha code is wrong"
|
2438 |
msgstr ""
|
2439 |
|
2440 |
+
#: render-link-library-addlink-sc.php:138
|
2441 |
msgid "Captcha code is only valid for 5 minutes"
|
2442 |
msgstr ""
|
2443 |
|
2444 |
+
#: render-link-library-addlink-sc.php:140
|
2445 |
msgid "No captcha cookie given. Make sure cookies are enabled"
|
2446 |
msgstr ""
|
2447 |
|
2448 |
+
#: render-link-library-addlink-sc.php:142
|
2449 |
msgid "Captcha answer was not provided."
|
2450 |
msgstr ""
|
2451 |
|
2452 |
+
#: render-link-library-addlink-sc.php:144
|
2453 |
msgid "Captcha answer is incorrect"
|
2454 |
msgstr ""
|
2455 |
|
2456 |
+
#: render-link-library-addlink-sc.php:146
|
2457 |
msgid "User Category was not provided correctly. Link insertion failed."
|
2458 |
msgstr ""
|
2459 |
|
2460 |
+
#: render-link-library-addlink-sc.php:154
|
2461 |
msgid "Error: Link does not have an address."
|
2462 |
msgstr ""
|
2463 |
|
2464 |
+
#: render-link-library-addlink-sc.php:156
|
2465 |
msgid "Error: Link already exists."
|
2466 |
msgstr ""
|
2467 |
|
2468 |
+
#: render-link-library-addlink-sc.php:158
|
2469 |
+
#: render-link-library-addlink-sc.php:160
|
2470 |
+
#: render-link-library-addlink-sc.php:162
|
2471 |
+
#: render-link-library-addlink-sc.php:164
|
2472 |
+
#: render-link-library-addlink-sc.php:166
|
2473 |
+
#: render-link-library-addlink-sc.php:168
|
2474 |
+
#: render-link-library-addlink-sc.php:170
|
2475 |
+
#: render-link-library-addlink-sc.php:172
|
2476 |
+
#: render-link-library-addlink-sc.php:174
|
2477 |
+
#: render-link-library-addlink-sc.php:176
|
2478 |
+
#: render-link-library-addlink-sc.php:178
|
2479 |
msgid " is a required field"
|
2480 |
msgstr ""
|
2481 |
|
2482 |
+
#: render-link-library-addlink-sc.php:180
|
2483 |
msgid "Link submission error"
|
2484 |
msgstr ""
|
2485 |
|
2486 |
+
#: render-link-library-addlink-sc.php:182
|
2487 |
msgid "Link rejected. There is already a site with this reciprocal link."
|
2488 |
msgstr ""
|
2489 |
|
2490 |
+
#: render-link-library-addlink-sc.php:217
|
2491 |
+
#: render-link-library-addlink-sc.php:279
|
2492 |
+
#: render-link-library-addlink-sc.php:345
|
2493 |
+
#: render-link-library-addlink-sc.php:362
|
2494 |
+
#: render-link-library-addlink-sc.php:370
|
2495 |
+
#: render-link-library-addlink-sc.php:418
|
2496 |
+
#: render-link-library-addlink-sc.php:436
|
2497 |
+
#: render-link-library-addlink-sc.php:529
|
2498 |
+
#: render-link-library-addlink-sc.php:544
|
2499 |
msgid "Required field"
|
2500 |
msgstr ""
|
2501 |
|
2502 |
+
#: render-link-library-addlink-sc.php:225
|
2503 |
msgid "Required field, URL"
|
2504 |
msgstr ""
|
2505 |
|
2506 |
+
#: render-link-library-addlink-sc.php:243
|
2507 |
+
#: render-link-library-addlink-sc.php:332
|
2508 |
+
#: render-link-library-addlink-sc.php:400
|
2509 |
msgid "Required field, 1-255 chars"
|
2510 |
msgstr ""
|
2511 |
|
2512 |
+
#: render-link-library-addlink-sc.php:275
|
2513 |
msgid "Link category"
|
2514 |
msgstr ""
|
2515 |
|
2516 |
+
#: render-link-library-addlink-sc.php:282
|
2517 |
msgid "Select a category"
|
2518 |
msgstr ""
|
2519 |
|
2520 |
+
#: render-link-library-addlink-sc.php:321
|
2521 |
msgid "Link description"
|
2522 |
msgstr ""
|
2523 |
|
2524 |
+
#: render-link-library-addlink-sc.php:339
|
2525 |
msgid "Large description"
|
2526 |
msgstr ""
|
2527 |
|
2528 |
+
#: render-link-library-addlink-sc.php:353
|
2529 |
msgid "Link notes"
|
2530 |
msgstr ""
|
2531 |
|
2532 |
+
#: render-link-library-addlink-sc.php:454
|
2533 |
msgid "Required field, proper e-mail, 1-128 chars"
|
2534 |
msgstr ""
|
2535 |
|
2536 |
+
#: render-link-library-addlink-sc.php:485
|
2537 |
+
#: render-link-library-addlink-sc.php:516
|
2538 |
msgid "Required field, 1-128 chars"
|
2539 |
msgstr ""
|
2540 |
|
2541 |
+
#: render-link-library-addlink-sc.php:550
|
2542 |
msgid "Add link"
|
2543 |
msgstr ""
|
2544 |
|
2545 |
+
#: render-link-library-addlink-sc.php:562
|
2546 |
msgid "Form submission failed!"
|
2547 |
msgstr ""
|
2548 |
|
2549 |
+
#: render-link-library-addlink-sc.php:563
|
2550 |
msgid "You have not answered all required fields"
|
2551 |
msgstr ""
|
2552 |
|
2553 |
+
#: render-link-library-addlink-sc.php:564
|
2554 |
msgid "You have not given a correct time"
|
2555 |
msgstr ""
|
2556 |
|
2557 |
+
#: render-link-library-addlink-sc.php:565
|
2558 |
msgid "You have not given a correct e-mail address"
|
2559 |
msgstr ""
|
2560 |
|
2561 |
+
#: render-link-library-addlink-sc.php:566
|
2562 |
msgid "You have not given a correct phone number"
|
2563 |
msgstr ""
|
2564 |
|
2565 |
+
#: render-link-library-addlink-sc.php:567
|
2566 |
msgid "You have not given a correct answer to the security question"
|
2567 |
msgstr ""
|
2568 |
|
2569 |
+
#: render-link-library-addlink-sc.php:568
|
2570 |
msgid "You have not given a correct date"
|
2571 |
msgstr ""
|
2572 |
|
2573 |
+
#: render-link-library-addlink-sc.php:569
|
2574 |
msgid "The input value must be between "
|
2575 |
msgstr ""
|
2576 |
|
2577 |
+
#: render-link-library-addlink-sc.php:570
|
2578 |
msgid "characters"
|
2579 |
msgstr ""
|
2580 |
|
2581 |
+
#: render-link-library-addlink-sc.php:571
|
2582 |
msgid "The input value is longer than "
|
2583 |
msgstr ""
|
2584 |
|
2585 |
+
#: render-link-library-addlink-sc.php:572
|
2586 |
msgid "The input value is shorter than "
|
2587 |
msgstr ""
|
2588 |
|
2589 |
+
#: render-link-library-addlink-sc.php:573
|
2590 |
msgid "Input values could not be confirmed"
|
2591 |
msgstr ""
|
2592 |
|
2593 |
+
#: render-link-library-addlink-sc.php:574
|
2594 |
msgid "Incorrect domain value"
|
2595 |
msgstr ""
|
2596 |
|
2597 |
+
#: render-link-library-addlink-sc.php:575
|
2598 |
+
msgid "The input value is not a correct URL"
|
2599 |
msgstr ""
|
2600 |
|
2601 |
+
#: render-link-library-addlink-sc.php:576
|
2602 |
msgid "The input value is incorrect"
|
2603 |
msgstr ""
|
2604 |
|
2605 |
+
#: render-link-library-addlink-sc.php:577
|
2606 |
msgid " and spaces "
|
2607 |
msgstr ""
|
2608 |
|
2609 |
+
#: render-link-library-addlink-sc.php:578
|
2610 |
msgid "The input value was not a correct number"
|
2611 |
msgstr ""
|
2612 |
|
2613 |
+
#: render-link-library-addlink-sc.php:579
|
2614 |
msgid "Your social security number was incorrect"
|
2615 |
msgstr ""
|
2616 |
|
2617 |
+
#: render-link-library-addlink-sc.php:580
|
2618 |
msgid "Incorrect UK VAT Number"
|
2619 |
msgstr ""
|
2620 |
|
2621 |
+
#: render-link-library-addlink-sc.php:581
|
2622 |
msgid "The password is not strong enough"
|
2623 |
msgstr ""
|
2624 |
|
2625 |
+
#: render-link-library-addlink-sc.php:582
|
2626 |
msgid "You have to choose at least "
|
2627 |
msgstr ""
|
2628 |
|
2629 |
+
#: render-link-library-addlink-sc.php:583
|
2630 |
msgid " answers"
|
2631 |
msgstr ""
|
2632 |
|
2633 |
+
#: render-link-library-addlink-sc.php:584
|
2634 |
msgid "The input value can only contain alphanumeric characters "
|
2635 |
msgstr ""
|
2636 |
|
2637 |
+
#: render-link-library-addlink-sc.php:585
|
2638 |
msgid " and "
|
2639 |
msgstr ""
|
2640 |
|
2641 |
+
#: render-link-library-addlink-sc.php:586
|
2642 |
#, php-format
|
2643 |
msgid "The file you are trying to upload is too large (max %s)"
|
2644 |
msgstr ""
|
2645 |
|
2646 |
+
#: render-link-library-addlink-sc.php:587
|
2647 |
#, php-format
|
2648 |
msgid "Only files of type %s is allowed"
|
2649 |
msgstr ""
|
2650 |
|
2651 |
+
#: render-link-library-addlink-sc.php:588
|
2652 |
msgid "Please choose between "
|
2653 |
msgstr ""
|
2654 |
|
2655 |
+
#: render-link-library-addlink-sc.php:589
|
2656 |
msgid "Please choose at least "
|
2657 |
msgstr ""
|
2658 |
|
2659 |
+
#: render-link-library-addlink-sc.php:590
|
2660 |
msgid "Please choose a maximum of "
|
2661 |
msgstr ""
|
2662 |
|
2663 |
+
#: render-link-library-addlink-sc.php:591
|
2664 |
msgid " item(s)"
|
2665 |
msgstr ""
|
2666 |
|
2667 |
+
#: render-link-library-addlink-sc.php:592
|
2668 |
msgid "The credit card number is not correct"
|
2669 |
msgstr ""
|
2670 |
|
2671 |
+
#: render-link-library-addlink-sc.php:593
|
2672 |
msgid "The CVV number was not correct"
|
2673 |
msgstr ""
|
2674 |
|
2675 |
+
#: render-link-library-addlink-sc.php:594
|
2676 |
msgid "Incorrect image dimensions,"
|
2677 |
msgstr ""
|
2678 |
|
2679 |
+
#: render-link-library-addlink-sc.php:595
|
2680 |
msgid "the image can not be taller than"
|
2681 |
msgstr ""
|
2682 |
|
2683 |
+
#: render-link-library-addlink-sc.php:596
|
2684 |
msgid "the image can not be wider than"
|
2685 |
msgstr ""
|
2686 |
|
2687 |
+
#: render-link-library-addlink-sc.php:597
|
2688 |
msgid "the image was too small"
|
2689 |
msgstr ""
|
2690 |
|
2691 |
+
#: render-link-library-addlink-sc.php:598
|
2692 |
msgid "min"
|
2693 |
msgstr ""
|
2694 |
|
2695 |
+
#: render-link-library-addlink-sc.php:599
|
2696 |
msgid "max"
|
2697 |
msgstr ""
|
2698 |
|
2699 |
+
#: render-link-library-addlink-sc.php:600
|
2700 |
msgid "Image ratio is not accepted"
|
2701 |
msgstr ""
|
2702 |
|
2703 |
+
#: render-link-library-addlink-sc.php:623
|
2704 |
msgid "Enter code from above image"
|
2705 |
msgstr ""
|
2706 |
|
2707 |
+
#: render-link-library-cats-sc.php:402
|
2708 |
msgid "Go!"
|
2709 |
msgstr ""
|
2710 |
|
2711 |
+
#: render-link-library-cats-sc.php:431
|
2712 |
msgid "No categories found"
|
2713 |
msgstr ""
|
2714 |
|
2715 |
+
#: render-link-library-sc.php:58 render-link-library-sc.php:61
|
2716 |
+
#: render-link-library-sc.php:74 render-link-library-sc.php:80
|
2717 |
msgid "Previous"
|
2718 |
msgstr ""
|
2719 |
|
2720 |
+
#: render-link-library-sc.php:149 render-link-library-sc.php:152
|
2721 |
+
#: render-link-library-sc.php:158 render-link-library-sc.php:165
|
2722 |
msgid "Next"
|
2723 |
msgstr ""
|
2724 |
|
2725 |
+
#: render-link-library-sc.php:582
|
2726 |
msgid "Search Results for"
|
2727 |
msgstr ""
|
2728 |
|
2729 |
+
#: render-link-library-sc.php:963
|
|
|
|
|
|
|
|
|
2730 |
msgid "Last updated"
|
2731 |
msgstr ""
|
2732 |
|
2733 |
+
#: render-link-library-sc.php:1109
|
2734 |
msgid "Edit"
|
2735 |
msgstr ""
|
2736 |
|
2737 |
+
#: render-link-library-sc.php:1193
|
2738 |
msgid "Preview of RSS feed for"
|
2739 |
msgstr ""
|
2740 |
|
2741 |
+
#: render-link-library-sc.php:1564
|
2742 |
+
msgid "No links found"
|
|
|
|
|
|
|
|
|
2743 |
msgstr ""
|
2744 |
|
2745 |
+
#: usersubmission.php:294
|
2746 |
msgid "A user submitted a new link to your Wordpress Link database."
|
2747 |
msgstr ""
|
2748 |
|
2749 |
+
#: usersubmission.php:321 usersubmission.php:403
|
2750 |
msgid "Link Secondary Address"
|
2751 |
msgstr ""
|
2752 |
|
2753 |
+
#: usersubmission.php:325 usersubmission.php:407
|
2754 |
msgid "Link Telephone"
|
2755 |
msgstr ""
|
2756 |
|
2757 |
+
#: usersubmission.php:329 usersubmission.php:411
|
2758 |
msgid "Link E-mail"
|
2759 |
msgstr ""
|
2760 |
|
2761 |
+
#: usersubmission.php:341 usersubmission.php:423
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2762 |
msgid "Link Comment"
|
2763 |
msgstr ""
|
2764 |
|
2765 |
+
#: usersubmission.php:356
|
2766 |
msgid "New link added"
|
2767 |
msgstr ""
|
2768 |
|
2769 |
+
#: usersubmission.php:366
|
2770 |
msgid "Link Submission Confirmation"
|
2771 |
msgstr ""
|
2772 |
|
2773 |
+
#: usersubmission.php:368
|
2774 |
msgid "Thank you for your link submission on "
|
2775 |
msgstr ""
|
2776 |
|
2777 |
+
#: usersubmission.php:372
|
2778 |
msgid "Your link will appear once approved by the site administrator."
|
2779 |
msgstr ""
|
2780 |
|
2781 |
+
#: usersubmission.php:374
|
2782 |
msgid "Your link will immediately be added to the site."
|
2783 |
msgstr ""
|
2784 |
|
2785 |
+
#: wp_dropdown_posts.php:121
|
2786 |
#, php-format
|
2787 |
msgid "#%d (no title)"
|
2788 |
msgstr ""
|
link-library-admin.php
CHANGED
@@ -4,12 +4,13 @@ if ( !defined( 'ABSPATH' ) ) {
|
|
4 |
exit;
|
5 |
} // Exit if accessed directly
|
6 |
|
7 |
-
define( 'LINK_LIBRARY_ADMIN_PAGE_NAME', '
|
8 |
|
9 |
require_once( ABSPATH . '/wp-admin/includes/bookmark.php' );
|
10 |
require_once( ABSPATH . '/wp-admin/includes/taxonomy.php' );
|
11 |
|
12 |
$rss_settings = '';
|
|
|
13 |
$pagehookmoderate = '';
|
14 |
$pagehooksettingssets = '';
|
15 |
$pagehookstylesheet = '';
|
@@ -29,6 +30,11 @@ class link_library_plugin_admin {
|
|
29 |
add_action( 'network_admin_menu', array( $this, 'network_settings_menu' ) );
|
30 |
}
|
31 |
|
|
|
|
|
|
|
|
|
|
|
32 |
add_action( 'wp_dashboard_setup', array( $this, 'dashboard_widget' ) );
|
33 |
|
34 |
add_filter( 'plugin_row_meta', array( $this, 'set_plugin_row_meta' ), 1, 2 );
|
@@ -37,33 +43,32 @@ class link_library_plugin_admin {
|
|
37 |
|
38 |
add_action( 'admin_head', array( $this, 'admin_header' ) );
|
39 |
|
40 |
-
add_action( '
|
41 |
-
add_action( '
|
42 |
-
add_filter( 'manage_edit-link_library_links_columns', array( $this, 'll_add_columns' ) );
|
43 |
-
add_action( 'manage_posts_custom_column', array( $this, 'll_populate_columns' ) );
|
44 |
-
add_filter( 'manage_edit-link_library_links_sortable_columns', array( $this, 'll_column_sortable' ) );
|
45 |
-
add_filter( 'request', array( $this, 'll_column_ordering' ) );
|
46 |
-
add_action( 'pre_get_posts', array( $this, 'll_custom_post_order' ) );
|
47 |
-
add_action( 'quick_edit_custom_box', array( $this, 'll_display_custom_quickedit_link' ), 10, 2 );
|
48 |
-
|
49 |
-
add_action( 'link_library_category_edit_form_fields', array( $this, 'll_link_library_category_new_fields' ), 10, 2 );
|
50 |
-
add_action( 'link_library_category_add_form_fields', array( $this, 'll_link_library_category_new_fields' ), 10, 2 );
|
51 |
|
52 |
-
add_action( '
|
53 |
-
add_action( '
|
54 |
|
55 |
-
|
|
|
|
|
|
|
|
|
|
|
56 |
|
57 |
-
|
58 |
|
59 |
-
|
|
|
|
|
60 |
|
61 |
if ( $this->is_edit_page() ) {
|
|
|
62 |
add_action( 'media_buttons', 'link_library_render_editor_button', 20 );
|
63 |
add_action( 'admin_footer', array( $this, 'render_modal' ) );
|
64 |
}
|
65 |
-
|
66 |
-
add_action( 'link_library_reciprocal_check', 'link_library_reciprocal_link_checker', 10, 4 );
|
67 |
}
|
68 |
|
69 |
function is_edit_page( $new_edit = null ) {
|
@@ -78,21 +83,12 @@ class link_library_plugin_admin {
|
|
78 |
} elseif ( 'new' == $new_edit ) { //check for new post page
|
79 |
return in_array( $pagenow, array( 'post-new.php' ) );
|
80 |
} else { //check for either new or edit
|
81 |
-
|
82 |
-
return in_array( $pagenow, array( 'post.php', 'post-new.php' ) );
|
83 |
-
} else {
|
84 |
-
return false;
|
85 |
-
}
|
86 |
}
|
87 |
}
|
88 |
|
89 |
-
public function admin_scripts(
|
90 |
wp_enqueue_script( 'linklibrary-shortcodes-embed', plugins_url( "js/linklibrary-shortcode-embed.js", __FILE__ ), array( 'jquery' ), '', true );
|
91 |
-
wp_enqueue_style( 'linklibraryadminstyle', plugins_url( 'adminstyle.css', __FILE__ ) );
|
92 |
-
|
93 |
-
if ( 'edit.php' === $hook && isset( $_GET['post_type'] ) && 'link_library_links' === $_GET['post_type'] ) {
|
94 |
-
wp_enqueue_script( 'll_quick_edit', plugins_url('js/ll_admin_edit.js', __FILE__), false, null, true );
|
95 |
-
}
|
96 |
}
|
97 |
|
98 |
public function render_modal() {
|
@@ -119,7 +115,7 @@ class link_library_plugin_admin {
|
|
119 |
<label for="linklibrary_link-library_libraryid"><?php _e( 'Library ID', 'link-library' ); ?></label>
|
120 |
<br/>
|
121 |
<select class="linklibrary_settings select" id="linklibrary_settings" name="settings" data-slug="settings" data-shortcode="settings" />
|
122 |
-
<?php if (
|
123 |
$numberofsets = 1;
|
124 |
} else {
|
125 |
$numberofsets = $genoptions['numberstylesets'];
|
@@ -174,7 +170,7 @@ class link_library_plugin_admin {
|
|
174 |
<label for="linklibrary_link-library_libraryid"><?php _e( 'Library ID', 'link-library' ); ?></label>
|
175 |
<br/>
|
176 |
<select class="linklibrary_settings select" id="linklibrary_settings" name="settings" data-slug="settings" data-shortcode="settings" />
|
177 |
-
<?php if (
|
178 |
$numberofsets = 1;
|
179 |
} else {
|
180 |
$numberofsets = $genoptions['numberstylesets'];
|
@@ -209,7 +205,7 @@ class link_library_plugin_admin {
|
|
209 |
<label for="linklibrary_link-library_libraryid"><?php _e( 'Library ID', 'link-library' ); ?></label>
|
210 |
<br/>
|
211 |
<select class="linklibrary_settings select" id="linklibrary_settings" name="settings" data-slug="settings" data-shortcode="settings" />
|
212 |
-
<?php if (
|
213 |
$numberofsets = 1;
|
214 |
} else {
|
215 |
$numberofsets = $genoptions['numberstylesets'];
|
@@ -241,15 +237,15 @@ class link_library_plugin_admin {
|
|
241 |
<?php
|
242 |
}
|
243 |
|
244 |
-
function
|
245 |
|
246 |
$caturl = '';
|
247 |
$cat_extra_query_string = '';
|
248 |
|
249 |
if ( is_object( $tag ) ) {
|
250 |
$mode = "edit";
|
251 |
-
$caturl =
|
252 |
-
$cat_extra_query_string =
|
253 |
} else {
|
254 |
$mode = 'new';
|
255 |
}
|
@@ -315,18 +311,18 @@ class link_library_plugin_admin {
|
|
315 |
}
|
316 |
}
|
317 |
|
318 |
-
function
|
319 |
|
320 |
if ( !$term_id ) {
|
321 |
return;
|
322 |
}
|
323 |
|
324 |
if ( isset( $_POST['ll_category_url'] ) ) {
|
325 |
-
|
326 |
}
|
327 |
|
328 |
if ( isset( $_POST['cat_extra_query_string'] ) ) {
|
329 |
-
|
330 |
}
|
331 |
}
|
332 |
|
@@ -338,7 +334,7 @@ class link_library_plugin_admin {
|
|
338 |
}
|
339 |
}
|
340 |
|
341 |
-
if ( isset( $_GET['page'] ) && ( ( $_GET['page'] == 'link-library
|
342 |
wp_enqueue_style( 'LibraryLibraryAdminStyle', plugins_url( 'link-library-admin.css', __FILE__ ) );
|
343 |
}
|
344 |
}
|
@@ -354,7 +350,7 @@ class link_library_plugin_admin {
|
|
354 |
}
|
355 |
|
356 |
function db_prefix() {
|
357 |
-
global $wpdb;
|
358 |
if ( method_exists( $wpdb, "get_blog_prefix" ) ) {
|
359 |
return $wpdb->get_blog_prefix();
|
360 |
} else {
|
@@ -412,17 +408,17 @@ class link_library_plugin_admin {
|
|
412 |
|
413 |
if ( $status !== false ) {
|
414 |
if ( $filepathtype == 'absolute' || empty( $filepathtype ) ) {
|
415 |
-
$newimagedata = $uploads['baseurl'] . "/" . $filepath . "/" . $linkid . ".png";
|
416 |
} elseif ( $filepathtype == 'relative' ) {
|
417 |
$parsedaddress = parse_url( $uploads['baseurl'] );
|
418 |
-
$newimagedata = $parsedaddress['path'] . "/" . $filepath . "/" . $linkid . ".png";
|
419 |
}
|
420 |
|
421 |
if ( $mode == 'thumb' || $mode == 'favicon' ) {
|
422 |
-
|
423 |
}
|
424 |
|
425 |
-
return $newimagedata;
|
426 |
} else {
|
427 |
return "";
|
428 |
}
|
@@ -448,6 +444,9 @@ class link_library_plugin_admin {
|
|
448 |
exit();
|
449 |
}
|
450 |
|
|
|
|
|
|
|
451 |
//register the callback been used if options of page been submitted and needs to be processed
|
452 |
add_action( 'admin_post_save_link_library_general', array( $this, 'on_save_changes_general' ) );
|
453 |
add_action( 'admin_post_save_link_library_settingssets', array( $this, 'on_save_changes_settingssets' ) );
|
@@ -455,16 +454,23 @@ class link_library_plugin_admin {
|
|
455 |
add_action( 'admin_post_save_link_library_stylesheet', array( $this, 'on_save_changes_stylesheet' ) );
|
456 |
add_action( 'admin_post_save_link_library_reciprocal', array( $this, 'on_save_changes_reciprocal' ) );
|
457 |
|
458 |
-
|
|
|
|
|
|
|
459 |
|
460 |
-
|
461 |
-
|
462 |
-
}
|
463 |
|
464 |
$genoptions = get_option( 'LinkLibraryGeneral' );
|
465 |
$genoptions = wp_parse_args( $genoptions, ll_reset_gen_settings( 'return' ) );
|
466 |
extract( $genoptions );
|
467 |
|
|
|
|
|
|
|
|
|
|
|
468 |
if ( !empty( $genoptions ) ) {
|
469 |
if ( empty( $numberstylesets ) ) {
|
470 |
$numberofsets = 1;
|
@@ -483,36 +489,60 @@ class link_library_plugin_admin {
|
|
483 |
}
|
484 |
}
|
485 |
|
486 |
-
if ( $thumbshotsactive && empty( $
|
487 |
add_action( 'admin_notices', array( $this, 'll_thumbshots_warning' ) );
|
488 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
489 |
}
|
490 |
}
|
491 |
|
492 |
-
function
|
493 |
-
|
|
|
|
|
|
|
|
|
|
|
494 |
|
495 |
-
|
|
|
496 |
|
497 |
-
|
498 |
-
if ( isset( $
|
499 |
-
|
500 |
-
|
|
|
501 |
}
|
502 |
-
|
503 |
-
add_meta_box( 'linklibrary_meta_box', __( 'Additional Parameters', 'link-library' ), array( $this, 'll_link_edit_extra' ), 'link_library_links', 'normal', 'high' );
|
504 |
}
|
505 |
|
506 |
-
function
|
507 |
-
|
508 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
509 |
}
|
510 |
|
|
|
511 |
function ll_thumbshots_warning() {
|
512 |
echo "
|
513 |
<div id='ll-warning' class='updated fade'><p><strong>" . __( 'Link Library: Missing Thumbshots API Key', 'link-library' ) . "</strong></p> <p>" . __( 'One of your link libraries is configured to use Thumbshots for link thumbails, but you have not entered your Thumbshots.com API Key. Please visit Thumbshots.com to apply for a free or paid account and enter your API in the Link Library admin panel.', 'link-library' ) . " <a href='" . esc_url( add_query_arg( array( 'page' => 'link-library' ), admin_url( 'admin.php' ) ) ) . "'>" . __( 'Jump to Link Library admin', 'link-library' ) . "</a></p></div>";
|
514 |
}
|
515 |
|
|
|
|
|
|
|
|
|
|
|
516 |
function ll_missing_categories() {
|
517 |
echo "
|
518 |
<div id='ll-warning' class='updated fade'><p><strong>" . __( 'Link Library: No Link Categories on your site', 'link-library' ) . "</strong></p> <p>" . __( 'There are currently no link categories defined in your WordPress site. Link Library will not work correctly without categories. Please create at least one before trying to use Link Library and make sure each link is assigned a category.', 'link-library' ) . "</p></div>";
|
@@ -559,13 +589,16 @@ class link_library_plugin_admin {
|
|
559 |
}
|
560 |
|
561 |
function render_dashboard_widget() {
|
|
|
|
|
562 |
$linkmoderatecount = 0;
|
563 |
-
$pendinglinksargs = array( 'post_type' => 'link_library_links', 'post_status' => 'pending' );
|
564 |
-
$pending_links_query = new WP_Query( $pendinglinksargs );
|
565 |
|
566 |
-
|
567 |
-
|
568 |
-
|
|
|
|
|
|
|
569 |
|
570 |
echo '<strong>' . $linkmoderatecount . '</strong> ';
|
571 |
_e( 'Links to moderate', 'link-library' );
|
@@ -575,7 +608,7 @@ class link_library_plugin_admin {
|
|
575 |
//extend the admin menu
|
576 |
function on_admin_menu() {
|
577 |
//add our own option page, you can also add it to different sections or use your own one
|
578 |
-
global $pagehookmoderate, $pagehooksettingssets, $pagehookstylesheet, $pagehookreciprocal;
|
579 |
|
580 |
$genoptions = get_option( 'LinkLibraryGeneral' );
|
581 |
$genoptions = wp_parse_args( $genoptions, ll_reset_gen_settings( 'return' ) );
|
@@ -608,16 +641,22 @@ class link_library_plugin_admin {
|
|
608 |
|
609 |
$linkmoderatecount = 0;
|
610 |
|
611 |
-
$
|
612 |
-
|
613 |
-
|
614 |
-
|
615 |
-
|
616 |
-
$linkmoderatecount =
|
|
|
|
|
|
|
|
|
|
|
|
|
617 |
|
618 |
-
$pagehookgeneraloptions = add_submenu_page( LINK_LIBRARY_ADMIN_PAGE_NAME, 'Link Library - ' . __( '
|
619 |
|
620 |
-
$pagehooksettingssets = add_submenu_page( LINK_LIBRARY_ADMIN_PAGE_NAME, 'Link Library - ' . __( '
|
621 |
|
622 |
if ( $linkmoderatecount == 0 ) {
|
623 |
$pagehookmoderate = add_submenu_page( LINK_LIBRARY_ADMIN_PAGE_NAME, 'Link Library - ' . __( 'Moderate', 'link-library' ), __( 'Moderate', 'link-library' ), $admin_capability, 'link-library-moderate', array( $this, 'on_show_page' ) );
|
@@ -629,9 +668,10 @@ class link_library_plugin_admin {
|
|
629 |
|
630 |
$pagehookreciprocal = add_submenu_page( LINK_LIBRARY_ADMIN_PAGE_NAME, 'Link Library - ' . __( 'Link checking tools', 'link-library' ), __( 'Link checking tools', 'link-library' ), $admin_capability, 'link-library-reciprocal', array( $this, 'on_show_page' ) );
|
631 |
|
632 |
-
add_submenu_page( LINK_LIBRARY_ADMIN_PAGE_NAME,
|
633 |
|
634 |
//register callback gets call prior your own page gets rendered
|
|
|
635 |
add_action( 'load-' . $pagehooksettingssets, array( $this, 'on_load_page' ) );
|
636 |
add_action( 'load-' . $pagehookmoderate, array( $this, 'on_load_page' ) );
|
637 |
add_action( 'load-' . $pagehookstylesheet, array( $this, 'on_load_page' ) );
|
@@ -641,7 +681,7 @@ class link_library_plugin_admin {
|
|
641 |
//will be executed if wordpress core detects this page has to be rendered
|
642 |
function on_load_page() {
|
643 |
|
644 |
-
global $pagehookmoderate, $pagehooksettingssets, $pagehookstylesheet, $pagehookreciprocal;
|
645 |
|
646 |
//ensure, that the needed javascripts been loaded to allow drag/drop, expand/collapse and hide/show of boxes
|
647 |
wp_enqueue_script( 'tiptip', plugins_url( '/tiptip/jquery.tipTip.minified.js', __FILE__ ), "jQuery", "1.0rc3" );
|
@@ -655,6 +695,7 @@ class link_library_plugin_admin {
|
|
655 |
$genoptions = get_option( 'LinkLibraryGeneral' );
|
656 |
|
657 |
//add several metaboxes now, all metaboxes registered during load page can be switched off/on at "Screen Options" automatically, nothing special to do therefore
|
|
|
658 |
add_meta_box( 'linklibrary_moderation_meta_box', __( 'Links awaiting moderation', 'link-library' ), array( $this, 'moderate_meta_box' ), $pagehookmoderate, 'normal', 'high' );
|
659 |
add_meta_box( 'linklibrary_stylesheet_meta_box', __( 'Editor', 'link-library' ), array( $this, 'stylesheet_meta_box' ), $pagehookstylesheet, 'normal', 'high' );
|
660 |
add_meta_box( 'linklibrary_reciprocal_meta_box', __( 'Link checking tools', 'link-library' ), array( $this, 'reciprocal_meta_box' ), $pagehookreciprocal, 'normal', 'high' );
|
@@ -692,11 +733,12 @@ class link_library_plugin_admin {
|
|
692 |
|
693 |
// Retrieve general options
|
694 |
$genoptions = get_option( 'LinkLibraryGeneral' );
|
695 |
-
$genoptions = wp_parse_args( $genoptions, ll_reset_gen_settings( 'return' ) );
|
696 |
|
697 |
// If general options don't exist, create them
|
698 |
if ( $genoptions == false ) {
|
699 |
$genoptions = ll_reset_gen_settings( 'return_and_set' );
|
|
|
|
|
700 |
}
|
701 |
|
702 |
$settingsname = 'LinkLibraryPP' . $settings;
|
@@ -708,6 +750,8 @@ class link_library_plugin_admin {
|
|
708 |
}
|
709 |
|
710 |
if ( isset( $_GET['genthumbs'] ) || isset( $_GET['genfavicons'] ) || isset( $_GET['genthumbsingle'] ) || isset( $_GET['genfaviconsingle'] ) ) {
|
|
|
|
|
711 |
if ( isset( $_GET['genthumbs'] ) || isset( $_GET['genthumbsingle'] ) ) {
|
712 |
$filepath = "link-library-images";
|
713 |
} elseif ( isset( $_GET['genfavicons'] ) || isset( $_GET['genfaviconsingle'] ) ) {
|
@@ -731,35 +775,31 @@ class link_library_plugin_admin {
|
|
731 |
$genmode = 'favicon';
|
732 |
}
|
733 |
|
734 |
-
$
|
735 |
-
|
736 |
-
|
737 |
-
|
738 |
-
|
739 |
-
|
740 |
-
'terms' => $options['categorylist_cpt'],
|
741 |
-
'operator' => 'IN' )
|
742 |
-
);
|
743 |
-
} else if ( isset( $_GET['genthumbsingle'] ) || isset( $_GET['genfaviconsingle'] ) ) {
|
744 |
-
$link_query_args['p'] = intval( $_GET['linkid'] );
|
745 |
-
}
|
746 |
-
|
747 |
-
$the_link_query = new WP_Query( $link_query_args );
|
748 |
|
749 |
-
if ( $
|
750 |
-
$
|
751 |
-
|
752 |
|
753 |
-
|
754 |
-
|
|
|
755 |
|
756 |
-
|
757 |
-
$link_image = get_post_meta( get_the_ID(), 'link_image', true );
|
758 |
|
759 |
-
|
760 |
-
|
|
|
|
|
|
|
|
|
761 |
}
|
762 |
-
$linkname =
|
763 |
}
|
764 |
|
765 |
if ( isset( $_GET['genthumbs'] ) ) {
|
@@ -798,15 +838,16 @@ class link_library_plugin_admin {
|
|
798 |
}
|
799 |
|
800 |
// Check for current page to set some page=specific variables
|
801 |
-
if ( $_GET['page'] == 'link-library
|
802 |
if ( isset( $_GET['message'] ) && $_GET['message'] == '1' ) {
|
803 |
echo "<div id='message' class='updated fade'><p><strong>" . __( 'General Settings Saved', 'link-library' ) . ".</strong></p></div>";
|
|
|
|
|
|
|
804 |
} else if ( isset( $_GET['message'] ) && $_GET['message'] == '3' ) {
|
805 |
echo "<div id='message' class='updated fade'><p><strong>" . __( 'Link Library plugin directory needs to be writable to perform this action', 'link-library' ) . "</strong></p></div>";
|
806 |
} else if ( isset( $_GET['message'] ) && $_GET['message'] == '4' ) {
|
807 |
echo "<div id='message' class='updated fade'><p><strong>" . __( 'You must set the Google reCAPTCHA Site and Secret Keys to be able to set the captcha generator to Google reCAPTCHA.', 'link-library' ) . "</strong></p></div>";
|
808 |
-
} else if ( isset( $_GET['message'] ) && $_GET['message'] == '9' ) {
|
809 |
-
echo "<div id='message' class='updated fade'><p><strong>" . $_GET['importrowscount'] . " " . __( 'row(s) found', 'link-library' ) . ". " . ( isset( $_GET['successimportcount'] ) ? intval( $_GET['successimportcount'] ) : '0' ) . " " . __( 'link(s) imported', 'link-library' ) . ", " . ( isset( $_GET['successupdatecount'] ) ? intval( $_GET['successupdatecount'] ): '0' ) . " " . __( 'link(s) updated', 'link-library' ) . ".</strong></p></div>";
|
810 |
}
|
811 |
|
812 |
$formvalue = 'save_link_library_general';
|
@@ -847,6 +888,11 @@ class link_library_plugin_admin {
|
|
847 |
echo "<div id='message' class='updated fade'><p><strong>" . __( 'Invalid column count for link on row. Compare against template.', 'link-library' ) . "</strong></p></div>";
|
848 |
break;
|
849 |
|
|
|
|
|
|
|
|
|
|
|
850 |
case '6':
|
851 |
echo "<div id='message' class='updated fade'><p><strong>" . __( 'Link Library plugin directory needs to be writable to perform this action', 'link-library' ) . ".</strong></p></div>";
|
852 |
break;
|
@@ -866,7 +912,6 @@ class link_library_plugin_admin {
|
|
866 |
case '10':
|
867 |
echo "<div id='message' class='updated fade'><p><strong>" . __( 'Links are missing categories', 'link-library' ) . "</strong></p></div>";
|
868 |
break;
|
869 |
-
|
870 |
}
|
871 |
|
872 |
}
|
@@ -919,7 +964,7 @@ class link_library_plugin_admin {
|
|
919 |
$data['settings'] = $settings;
|
920 |
$data['options'] = isset( $options ) ? $options : '';
|
921 |
$data['genoptions'] = $genoptions;
|
922 |
-
global $pagehookmoderate, $pagehookstylesheet, $pagehooksettingssets, $pagehookreciprocal;
|
923 |
?>
|
924 |
<div class="ll-content">
|
925 |
<div class="ll-frame">
|
@@ -931,7 +976,7 @@ class link_library_plugin_admin {
|
|
931 |
<img src="<?php echo plugins_url( 'icons/folder-beige-internet-icon32.png', __FILE__ ); ?>" /><span>Link Library</span>
|
932 |
</li>
|
933 |
<li class="link-library-page">
|
934 |
-
<a href="<?php echo esc_url( add_query_arg( array( 'page' => 'link-library
|
935 |
echo 'class="current"';
|
936 |
} ?>><?php _e( 'General Options', 'link-library' ); ?></a>
|
937 |
</li>
|
@@ -956,14 +1001,13 @@ class link_library_plugin_admin {
|
|
956 |
} ?>><?php _e( 'Reciprocal Check', 'link-library' ); ?></a>
|
957 |
</li>
|
958 |
<li class="link-library-page">
|
959 |
-
<a href="http://ylefebvre.ca/wppluginsdoc/index.php?title=Link_Library"><?php _e( 'FAQ', 'link-library' ); ?></a>
|
960 |
</li>
|
961 |
<?php if ( isset( $genoptions['hidedonation'] ) && !$genoptions['hidedonation'] ) { ?>
|
962 |
<li class="link-library-page">
|
963 |
<a href="http://ylefebvre.ca/wordpress-plugins/link-library/"><img src="<?php echo plugins_url( '/icons/btn_donate_LG.gif', __FILE__ ); ?>" /></a>
|
964 |
</li>
|
965 |
<?php } ?>
|
966 |
-
|
967 |
</ul>
|
968 |
|
969 |
</nav>
|
@@ -1000,8 +1044,8 @@ class link_library_plugin_admin {
|
|
1000 |
|
1001 |
#sortable li {
|
1002 |
list-style: none;
|
1003 |
-
margin: 0
|
1004 |
-
padding:
|
1005 |
border: #CCCCCC solid 1px;
|
1006 |
color: #fff;
|
1007 |
display: inline;
|
@@ -1020,17 +1064,15 @@ class link_library_plugin_admin {
|
|
1020 |
<div id="post-body" class="has-sidebar">
|
1021 |
<div id="post-body-content" class="has-sidebar-content">
|
1022 |
<?php
|
1023 |
-
if ( $_GET['page'] == 'link-library
|
1024 |
$this->display_menu( 'general', $genoptions );
|
1025 |
$this->general_meta_box( $data );
|
1026 |
-
$this->general_singleitemlayout_meta_box( $data );
|
1027 |
$this->general_image_meta_box( $data );
|
1028 |
$this->general_meta_bookmarklet_box( $data );
|
1029 |
$this->general_moderation_meta_box( $data );
|
1030 |
if ( isset( $genoptions['hidedonation'] ) && !$genoptions['hidedonation'] ) {
|
1031 |
$this->general_hide_donation_meta_box( $data );
|
1032 |
}
|
1033 |
-
$this->general_importexport_meta_box( $data );
|
1034 |
|
1035 |
$this->general_save_meta_box();
|
1036 |
|
@@ -1075,7 +1117,9 @@ class link_library_plugin_admin {
|
|
1075 |
$('.if-js-closed').removeClass('if-js-closed').addClass('closed');
|
1076 |
// postboxes setup
|
1077 |
postboxes.add_postbox_toggles('<?php
|
1078 |
-
if ($_GET['page'] == 'link-library
|
|
|
|
|
1079 |
{echo $pagehooksettingssets;}
|
1080 |
elseif ($_GET['page'] == 'link-library-moderate')
|
1081 |
{echo $pagehookmoderate;}
|
@@ -1087,16 +1131,6 @@ class link_library_plugin_admin {
|
|
1087 |
});
|
1088 |
//]]>
|
1089 |
|
1090 |
-
Array.prototype.clean = function(deleteValue) {
|
1091 |
-
for (var i = 0; i < this.length; i++) {
|
1092 |
-
if (this[i] == deleteValue) {
|
1093 |
-
this.splice(i, 1);
|
1094 |
-
i--;
|
1095 |
-
}
|
1096 |
-
}
|
1097 |
-
return this;
|
1098 |
-
};
|
1099 |
-
|
1100 |
// Create the tooltips only on document load
|
1101 |
jQuery(document).ready(function () {
|
1102 |
jQuery('.lltooltip').each(function () {
|
@@ -1107,8 +1141,7 @@ class link_library_plugin_admin {
|
|
1107 |
jQuery("#sortable").sortable({
|
1108 |
opacity: 0.6, cursor: 'move', update: function () {
|
1109 |
var order = jQuery("#sortable").sortable('toArray');
|
1110 |
-
order.
|
1111 |
-
stringorder = order.join(',');
|
1112 |
document.getElementById('dragndroporder').value = stringorder;
|
1113 |
}
|
1114 |
});
|
@@ -1121,18 +1154,17 @@ class link_library_plugin_admin {
|
|
1121 |
}
|
1122 |
|
1123 |
function display_menu( $menu_name = 'settingsset', $genoptions = '' ) {
|
|
|
1124 |
if ( $menu_name == 'general' ) {
|
1125 |
$tabitems = array ( 'll-general' => __( 'General', 'link-library' ),
|
1126 |
-
'll-singleitem' => __( 'Single Item Layout', 'link-library' ),
|
1127 |
'll-images' => __( 'Images', 'link-library' ),
|
1128 |
'll-bookmarklet' => __( 'Bookmarklet', 'link-library' ),
|
1129 |
'll-moderation' => __( 'Moderation', 'link-library' ),
|
1130 |
'll-hidedonation' => __( 'Hide Donation', 'link-library' ),
|
1131 |
-
'll-importexport' => __( 'Import/Export Links', 'link-library' ),
|
1132 |
);
|
1133 |
|
1134 |
-
if ( isset( $genoptions['
|
1135 |
-
unset ( $tabitems['hidedonation'] );
|
1136 |
}
|
1137 |
} elseif ( $menu_name == 'settingsset' ) {
|
1138 |
$tabitems = array ( 'll-usage' => __( 'Usage', 'link-library' ),
|
@@ -1146,7 +1178,7 @@ class link_library_plugin_admin {
|
|
1146 |
'll-rssfeed' => __( 'RSS Feed', 'link-library' ),
|
1147 |
'll-searchfield' => __( 'Search', 'link-library' ),
|
1148 |
'll-userform' => __( 'User Submission', 'link-library' ),
|
1149 |
-
'll-importexport' => __( 'Import/Export
|
1150 |
);
|
1151 |
}
|
1152 |
|
@@ -1208,312 +1240,268 @@ class link_library_plugin_admin {
|
|
1208 |
//cross check the given referer
|
1209 |
check_admin_referer( 'link-library' );
|
1210 |
|
1211 |
-
$
|
1212 |
-
$row = 0;
|
1213 |
-
$successfulimport = 0;
|
1214 |
-
$successfulupdate = 0;
|
1215 |
-
|
1216 |
-
if ( isset( $_POST['ll60reupdate'] ) ) {
|
1217 |
-
global $wpdb;
|
1218 |
|
1219 |
-
|
1220 |
-
|
1221 |
-
|
1222 |
-
|
1223 |
-
|
1224 |
-
|
1225 |
-
|
1226 |
-
|
1227 |
-
|
1228 |
-
|
1229 |
-
|
|
|
1230 |
}
|
|
|
1231 |
|
1232 |
-
|
1233 |
-
|
1234 |
-
|
1235 |
-
|
1236 |
-
|
1237 |
-
|
1238 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1239 |
|
1240 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1241 |
|
1242 |
-
|
1243 |
-
|
1244 |
-
$import_columns = array();
|
1245 |
|
1246 |
-
|
1247 |
-
|
1248 |
-
|
1249 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1250 |
}
|
1251 |
|
1252 |
-
|
1253 |
-
|
1254 |
-
|
|
|
|
|
|
|
|
|
1255 |
}
|
1256 |
-
|
1257 |
-
$
|
1258 |
-
|
1259 |
-
|
1260 |
-
if ( ( isset( $import_columns['Category'] ) && !empty( $data[$import_columns['Category']] ) ) || ( isset( $import_columns['cat_name'] ) && !empty( $data[$import_columns['cat_name']] ) )) {
|
1261 |
-
$new_link_cats_array = array();
|
1262 |
-
if ( isset( $import_columns['Category'] ) ) {
|
1263 |
-
$new_link_cats_array = explode( ',', $data[$import_columns['Category']] );
|
1264 |
-
} elseif( isset( $import_columns['cat_name'] ) ) {
|
1265 |
-
$new_link_cats_array = explode( ',', $data[$import_columns['cat_name']] );
|
1266 |
-
}
|
1267 |
|
1268 |
-
|
1269 |
-
$cat_matched_term = get_term_by( 'name', $new_link_cat, 'link_library_category' );
|
1270 |
|
1271 |
-
|
1272 |
-
|
1273 |
-
|
1274 |
-
|
1275 |
-
|
1276 |
-
|
1277 |
-
|
1278 |
-
|
1279 |
-
|
1280 |
-
|
1281 |
-
|
1282 |
-
|
|
|
|
|
|
|
|
|
1283 |
|
1284 |
-
|
1285 |
-
|
1286 |
-
|
1287 |
-
|
1288 |
-
|
1289 |
-
|
1290 |
-
|
1291 |
-
|
1292 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1293 |
|
1294 |
-
|
1295 |
-
|
1296 |
-
|
1297 |
-
|
1298 |
-
'numberposts' => 1 );
|
1299 |
|
1300 |
-
|
|
|
|
|
1301 |
|
1302 |
-
|
1303 |
-
$existing_link_post_id = $posts_same_url_array[0]->ID;
|
1304 |
-
}
|
1305 |
-
}
|
1306 |
|
1307 |
-
|
1308 |
-
$post_status_import_value = '';
|
1309 |
|
1310 |
-
|
1311 |
-
|
1312 |
-
if ( isset( $import_columns[$visible_label] ) ) {
|
1313 |
-
$post_status_import_value = $data[$import_columns[$visible_label]];
|
1314 |
-
}
|
1315 |
-
}
|
1316 |
|
1317 |
-
|
1318 |
-
|
1319 |
-
} elseif ( 'N' == $post_status_import_value ) {
|
1320 |
-
$post_status = 'private';
|
1321 |
-
}
|
1322 |
|
1323 |
-
|
1324 |
-
$
|
1325 |
-
|
1326 |
-
|
1327 |
-
|
1328 |
-
$post_title = sanitize_text_field( $data[ $import_columns[$title_label] ] );
|
1329 |
-
}
|
1330 |
-
}
|
1331 |
-
}
|
1332 |
|
1333 |
-
|
1334 |
-
|
1335 |
-
|
1336 |
-
|
1337 |
-
|
1338 |
-
'post_status' => $post_status
|
1339 |
-
);
|
1340 |
|
1341 |
-
|
1342 |
-
|
1343 |
-
|
1344 |
-
$successfulupdate++;
|
1345 |
-
} else {
|
1346 |
-
$new_link_ID = wp_insert_post( $new_link_data );
|
1347 |
-
$successfulimport++;
|
1348 |
-
}
|
1349 |
|
1350 |
-
|
1351 |
|
1352 |
-
|
1353 |
-
$image_labels = array( 'Image Address', 'link_image' );
|
1354 |
-
foreach( $image_labels as $image_label ) {
|
1355 |
-
if ( isset( $import_columns[$image_label] ) ) {
|
1356 |
-
$link_image = esc_url( $data[$import_columns[$image_label]] );
|
1357 |
-
}
|
1358 |
-
}
|
1359 |
-
update_post_meta( $new_link_ID, 'link_image', $link_image );
|
1360 |
|
1361 |
-
|
1362 |
-
|
1363 |
-
|
1364 |
-
|
1365 |
-
|
1366 |
-
|
1367 |
-
|
1368 |
-
|
1369 |
-
|
1370 |
-
$link_description = '';
|
1371 |
-
$description_labels = array( 'Description', 'link_description' );
|
1372 |
-
foreach( $description_labels as $description_label ) {
|
1373 |
-
if ( isset( $import_columns[$description_label] ) ) {
|
1374 |
-
$link_description = sanitize_text_field( $data[$import_columns[$description_label]] );
|
1375 |
-
$link_description = str_replace( '(LinkLibrary:AwaitingModeration:RemoveTextToApprove)', '', $link_description );
|
1376 |
-
}
|
1377 |
-
}
|
1378 |
-
update_post_meta( $new_link_ID, 'link_description', $link_description );
|
1379 |
|
1380 |
-
|
1381 |
-
|
1382 |
-
|
1383 |
-
|
1384 |
-
|
|
|
|
|
1385 |
if ( $newrating < 0 ) {
|
1386 |
$newrating = 0;
|
1387 |
}
|
1388 |
-
$link_rating = $newrating;
|
1389 |
-
}
|
1390 |
-
}
|
1391 |
-
update_post_meta( $new_link_ID, 'link_rating', $link_rating );
|
1392 |
-
|
1393 |
-
$link_updated = current_time( 'timestamp' );
|
1394 |
-
$updated_labels = array( 'Updated Date - Empty for none', 'link_updated' );
|
1395 |
-
foreach( $updated_labels as $updated_label ) {
|
1396 |
-
if ( isset( $import_columns[$updated_label] ) ) {
|
1397 |
-
if ( !empty( $import_columns[$updated_label] ) ) {
|
1398 |
-
$link_updated = strtotime( $data[ $import_columns[$updated_label] ] );
|
1399 |
-
}
|
1400 |
-
}
|
1401 |
-
}
|
1402 |
-
update_post_meta( $new_link_ID, 'link_updated', $link_updated );
|
1403 |
|
1404 |
-
|
1405 |
-
$notes_labels = array( 'Notes', 'link_notes' );
|
1406 |
-
foreach( $notes_labels as $notes_label ) {
|
1407 |
-
if ( isset( $import_columns[$notes_label] ) ) {
|
1408 |
-
$link_notes = sanitize_text_field( $data[$import_columns[$notes_label]] );
|
1409 |
-
}
|
1410 |
-
}
|
1411 |
-
update_post_meta( $new_link_ID, 'link_notes', $link_notes );
|
1412 |
-
|
1413 |
-
$link_rss = '';
|
1414 |
-
$rss_labels = array( 'RSS', 'link_rss' );
|
1415 |
-
foreach( $rss_labels as $rss_label ) {
|
1416 |
-
if ( isset( $import_columns[$rss_label] ) ) {
|
1417 |
-
$link_rss = esc_url( $data[$import_columns[$rss_label]] );
|
1418 |
-
}
|
1419 |
-
}
|
1420 |
-
update_post_meta( $new_link_ID, 'link_rss', $link_rss );
|
1421 |
-
|
1422 |
-
$link_second_url = '';
|
1423 |
-
$second_url_labels = array( 'Secondary URL', 'link_second_url' );
|
1424 |
-
foreach( $second_url_labels as $second_url_label ) {
|
1425 |
-
if ( isset( $import_columns[$second_url_label] ) ) {
|
1426 |
-
$link_second_url = esc_url( $data[$import_columns[$second_url_label]] );
|
1427 |
-
}
|
1428 |
-
}
|
1429 |
-
update_post_meta( $new_link_ID, 'link_second_url', $link_second_url );
|
1430 |
|
1431 |
-
|
1432 |
-
|
1433 |
-
|
1434 |
-
if ( isset( $import_columns[$telephone_label] ) ) {
|
1435 |
-
$link_telephone = sanitize_text_field( $data[$import_columns[$telephone_label]] );
|
1436 |
-
}
|
1437 |
-
}
|
1438 |
-
update_post_meta( $new_link_ID, 'link_telephone', $link_telephone );
|
1439 |
|
1440 |
-
|
1441 |
-
$email_labels = array( 'E-mail', 'link_email' );
|
1442 |
-
foreach( $email_labels as $email_label ) {
|
1443 |
-
if ( isset( $import_columns[$email_label] ) ) {
|
1444 |
-
$link_email = sanitize_email( $data[$import_columns[$email_label]] );
|
1445 |
-
}
|
1446 |
-
}
|
1447 |
-
update_post_meta( $new_link_ID, 'link_email', $link_email );
|
1448 |
|
1449 |
-
|
1450 |
-
|
1451 |
-
}
|
1452 |
|
1453 |
-
|
1454 |
-
|
1455 |
-
|
1456 |
-
|
1457 |
-
|
1458 |
-
|
1459 |
-
|
1460 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1461 |
|
1462 |
-
|
1463 |
-
|
1464 |
-
|
1465 |
-
|
1466 |
-
$link_large_description = sanitize_text_field( $data[$import_columns[$large_description_label]] );
|
1467 |
-
}
|
1468 |
-
}
|
1469 |
-
update_post_meta( $new_link_ID, 'link_textfield', $link_large_description );
|
1470 |
|
1471 |
-
|
1472 |
-
|
1473 |
-
foreach( $no_follow_labels as $no_follow_labels ) {
|
1474 |
-
if ( isset( $import_columns[$no_follow_labels] ) ) {
|
1475 |
-
$link_no_follow = $data[$import_columns[$no_follow_labels]];
|
1476 |
-
}
|
1477 |
-
}
|
1478 |
|
1479 |
-
|
1480 |
-
|
1481 |
-
|
1482 |
-
update_post_meta( $new_link_ID, 'link_no_follow', false );
|
1483 |
-
}
|
1484 |
|
1485 |
-
|
1486 |
-
|
1487 |
-
|
1488 |
-
|
1489 |
-
|
|
|
|
|
|
|
1490 |
}
|
1491 |
-
}
|
1492 |
-
|
1493 |
-
if ( '1' == $link_featured || 'Y' == $link_featured ) {
|
1494 |
-
update_post_meta( $new_link_ID, 'link_featured', true );
|
1495 |
} else {
|
1496 |
-
|
1497 |
}
|
1498 |
}
|
1499 |
}
|
1500 |
}
|
1501 |
|
1502 |
-
$
|
|
|
|
|
1503 |
|
1504 |
-
$
|
1505 |
|
1506 |
wp_suspend_cache_addition( false );
|
1507 |
-
wp_defer_term_counting( false );
|
1508 |
-
wp_defer_comment_counting( false );
|
1509 |
} elseif ( isset( $_POST['siteimport'] ) ) {
|
1510 |
wp_suspend_cache_addition( true );
|
1511 |
-
wp_defer_term_counting( true );
|
1512 |
-
wp_defer_comment_counting( true );
|
1513 |
-
define( 'WP_IMPORTING', true );
|
1514 |
-
|
1515 |
set_time_limit( 600 );
|
1516 |
|
|
|
|
|
|
|
|
|
|
|
1517 |
$all_content = array();
|
1518 |
|
1519 |
$post_args = array();
|
@@ -1543,7 +1531,7 @@ class link_library_plugin_admin {
|
|
1543 |
|
1544 |
if ( 'allpagesposts' == $_POST['siteimportlinksscope']
|
1545 |
|| 'allpagespostscpt' == $_POST['siteimportlinksscope'] ) {
|
1546 |
-
|
1547 |
$post_args = array();
|
1548 |
|
1549 |
if ( 'allpagesposts' == $_POST['siteimportlinksscope'] ) {
|
@@ -1560,7 +1548,7 @@ class link_library_plugin_admin {
|
|
1560 |
}
|
1561 |
}
|
1562 |
}
|
1563 |
-
|
1564 |
foreach ( $post_types as $post_type ) {
|
1565 |
if ( 'specific' . $post_type == $_POST['siteimportlinksscope'] ) {
|
1566 |
$post_args = array();
|
@@ -1575,273 +1563,67 @@ class link_library_plugin_admin {
|
|
1575 |
}
|
1576 |
|
1577 |
foreach ( $all_content as $content_item ) {
|
1578 |
-
$row++;
|
1579 |
$dom = new DOMDocument;
|
1580 |
$dom->loadHTML( $content_item );
|
1581 |
foreach ( $dom->getElementsByTagName( 'a' ) as $node ) {
|
1582 |
$incomingcatdata = $_POST['siteimportcat'];
|
1583 |
|
1584 |
if ( isset( $_POST['siteimportupdatesameurl'] ) ) {
|
1585 |
-
$
|
1586 |
-
|
1587 |
-
'meta_value' => esc_url( $node->getAttribute( "href" ) ),
|
1588 |
-
'numberposts' => 1 );
|
1589 |
-
|
1590 |
-
$posts_same_url_array = get_posts( $find_post_args );
|
1591 |
-
|
1592 |
-
if ( !empty( $posts_same_url_array ) ) {
|
1593 |
-
$existing_link_post_id = $posts_same_url_array[0]->ID;
|
1594 |
-
}
|
1595 |
-
}
|
1596 |
|
1597 |
-
|
1598 |
-
'post_type' => 'link_library_links',
|
1599 |
-
'post_content' => '',
|
1600 |
-
'post_title' => esc_html( $node->nodeValue ),
|
1601 |
-
'tax_input' => array( 'link_library_category' => $incomingcatdata ),
|
1602 |
-
'post_status' => 'publish'
|
1603 |
-
);
|
1604 |
-
|
1605 |
-
if ( !empty( $existing_link_post_id ) ) {
|
1606 |
-
$new_link_data['ID'] = $existing_link_post_id;
|
1607 |
-
$new_link_ID = wp_insert_post( $new_link_data );
|
1608 |
-
$successfulupdate++;
|
1609 |
-
} else {
|
1610 |
-
$new_link_ID = wp_insert_post( $new_link_data );
|
1611 |
-
$successfulimport++;
|
1612 |
-
}
|
1613 |
|
1614 |
-
|
1615 |
-
update_post_meta( $new_link_ID, 'link_image', '' );
|
1616 |
-
update_post_meta( $new_link_ID, 'link_target', '' );
|
1617 |
-
update_post_meta( $new_link_ID, 'link_description', '' );
|
1618 |
-
update_post_meta( $new_link_ID, 'link_rating', 0 );
|
1619 |
|
1620 |
-
|
1621 |
-
|
1622 |
-
|
1623 |
-
|
1624 |
-
|
1625 |
-
|
1626 |
-
update_post_meta( $new_link_ID, 'link_email', '' );
|
1627 |
|
1628 |
-
|
1629 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1630 |
}
|
1631 |
-
|
1632 |
-
update_post_meta( $new_link_ID, 'link_reciprocal', '' );
|
1633 |
-
update_post_meta( $new_link_ID, 'link_textfield', '' );
|
1634 |
-
update_post_meta( $new_link_ID, 'link_no_follow', false );
|
1635 |
-
update_post_meta( $new_link_ID, 'link_featured', false );
|
1636 |
-
|
1637 |
-
update_post_meta( $new_link_ID, 'legacy_link_id', $newlinkid );
|
1638 |
}
|
1639 |
}
|
1640 |
-
$
|
1641 |
|
1642 |
wp_suspend_cache_addition( false );
|
1643 |
-
|
1644 |
-
wp_defer_comment_counting( false );
|
1645 |
-
} elseif ( isset( $_POST['exportalllinks'] ) ) {
|
1646 |
$upload_dir = wp_upload_dir();
|
1647 |
-
|
1648 |
if ( is_writable( $upload_dir['path'] ) ) {
|
1649 |
-
$myFile = $upload_dir['path'] . "/
|
1650 |
$fh = fopen( $myFile, 'w' ) or die( "can't open file" );
|
1651 |
|
1652 |
-
$
|
1653 |
-
|
1654 |
-
$links_to_export = new WP_Query( $links_query_args );
|
1655 |
-
|
1656 |
-
if ( $links_to_export->have_posts() ) {
|
1657 |
-
$link_items = array();
|
1658 |
-
while ( $links_to_export->have_posts() ) {
|
1659 |
-
$link_object = array();
|
1660 |
-
$links_to_export->the_post();
|
1661 |
|
1662 |
-
|
1663 |
-
$link_categories = wp_get_post_terms( get_the_ID(), 'link_library_category' );
|
1664 |
-
if ( $link_categories ) {
|
1665 |
-
$countcats = 0;
|
1666 |
-
foreach ( $link_categories as $link_category ) {
|
1667 |
-
if ( $countcats >= 1 ) {
|
1668 |
-
$link_cats .= ', ';
|
1669 |
-
}
|
1670 |
-
$link_cats .= $link_category->name;
|
1671 |
-
$countcats++;
|
1672 |
-
}
|
1673 |
-
}
|
1674 |
|
1675 |
-
|
1676 |
-
|
1677 |
-
$link_object['RSS'] = get_post_meta( get_the_ID(), 'link_rss', true );
|
1678 |
-
$link_object['Description'] = get_post_meta( get_the_ID(), 'link_description', true );
|
1679 |
-
$link_object['Notes'] = get_post_meta( get_the_ID(), 'link_notes', true );
|
1680 |
-
$link_object['Category'] = $link_cats;
|
1681 |
-
$link_object['Status'] = get_post_status();
|
1682 |
-
$link_object['Secondary URL'] = get_post_meta( get_the_ID(), 'link_second_url', true );
|
1683 |
-
$link_object['Telephone'] = get_post_meta( get_the_ID(), 'link_telephone', true );
|
1684 |
-
$link_object['E-mail'] = get_post_meta( get_the_ID(), 'link_email', true );
|
1685 |
-
$link_object['Reciprocal Link'] = get_post_meta( get_the_ID(), 'link_reciprocal', true );
|
1686 |
-
$link_object['Image Address'] = get_post_meta( get_the_ID(), 'link_image', true );
|
1687 |
-
$link_object['Large Description'] = get_post_meta( get_the_ID(), 'link_textfield', true );
|
1688 |
-
$link_object['No Follow'] = get_post_meta( get_the_ID(), 'link_no_follow', true );
|
1689 |
-
$link_object['Rating'] = get_post_meta( get_the_ID(), 'link_rating', true );
|
1690 |
-
$link_object['Link Target'] = get_post_meta( get_the_ID(), 'link_target', true );
|
1691 |
-
$link_object['Updated Date - Empty for none'] = date( 'Y-m-d', intval( get_post_meta( get_the_ID(), 'link_updated', true ) ) );
|
1692 |
-
$link_object['Link Featured'] = get_post_meta( get_the_ID(), 'link_featured', true );
|
1693 |
-
$link_items[] = $link_object;
|
1694 |
-
}
|
1695 |
}
|
1696 |
|
1697 |
-
|
1698 |
-
|
1699 |
|
1700 |
-
|
1701 |
-
$headerrow[] = '"' . $key . '"';
|
1702 |
-
}
|
1703 |
|
1704 |
-
|
1705 |
-
|
|
|
1706 |
|
1707 |
-
|
1708 |
-
|
1709 |
-
foreach ( $link_item as $key => $value ) {
|
1710 |
-
$datarow[] = '"' . $value . '"';
|
1711 |
-
}
|
1712 |
-
$data = join( ',', $datarow ) . "\n";
|
1713 |
-
fwrite( $fh, $data );
|
1714 |
-
}
|
1715 |
-
|
1716 |
-
fclose( $fh );
|
1717 |
-
|
1718 |
-
if ( file_exists( $myFile ) ) {
|
1719 |
-
header( 'Content-Description: File Transfer' );
|
1720 |
-
header( 'Content-Type: application/octet-stream' );
|
1721 |
-
header( 'Content-Disposition: attachment; filename=' . basename( $myFile ) );
|
1722 |
-
header( 'Expires: 0' );
|
1723 |
-
header( 'Cache-Control: must-revalidate' );
|
1724 |
-
header( 'Pragma: public' );
|
1725 |
-
header( 'Content-Length: ' . filesize( $myFile ) );
|
1726 |
-
readfile( $myFile );
|
1727 |
-
exit;
|
1728 |
-
}
|
1729 |
-
}
|
1730 |
-
} else {
|
1731 |
-
$message = '3';
|
1732 |
-
}
|
1733 |
-
} else {
|
1734 |
-
$genoptions = get_option( 'LinkLibraryGeneral' );
|
1735 |
-
|
1736 |
-
foreach (
|
1737 |
-
array(
|
1738 |
-
'numberstylesets', 'includescriptcss', 'pagetitleprefix', 'pagetitlesuffix', 'schemaversion', 'thumbshotscid', 'approvalemailtitle',
|
1739 |
-
'moderatorname', 'moderatoremail', 'rejectedemailtitle', 'approvalemailbody', 'rejectedemailbody', 'moderationnotificationtitle',
|
1740 |
-
'linksubmissionthankyouurl', 'recipcheckaddress', 'imagefilepath', 'catselectmethod', 'expandiconpath', 'collapseiconpath', 'updatechannel',
|
1741 |
-
'extraprotocols', 'thumbnailsize', 'thumbnailgenerator', 'rsscachedelay', 'single_link_layout', 'rolelevel', 'editlevel'
|
1742 |
-
) as $option_name
|
1743 |
-
) {
|
1744 |
-
if ( isset( $_POST[$option_name] ) ) {
|
1745 |
-
$genoptions[$option_name] = $_POST[$option_name];
|
1746 |
-
}
|
1747 |
-
}
|
1748 |
-
|
1749 |
-
if ( isset( $_POST['captchagenerator'] ) && 'recaptcha' == $_POST['captchagenerator'] ) {
|
1750 |
-
if ( empty( $_POST['recaptchasitekey'] ) || empty( $_POST['recaptchasecretkey'] ) ) {
|
1751 |
-
$genoptions['captchagenerator'] = 'easycaptcha';
|
1752 |
-
$message = 4;
|
1753 |
-
} else {
|
1754 |
-
$genoptions['captchagenerator'] = 'recaptcha';
|
1755 |
-
$genoptions['recaptchasitekey'] = sanitize_text_field( $_POST['recaptchasitekey'] );
|
1756 |
-
$genoptions['recaptchasecretkey'] = sanitize_text_field( $_POST['recaptchasecretkey'] );
|
1757 |
-
}
|
1758 |
-
} elseif ( isset( $_POST['captchagenerator'] ) && 'easycaptcha' == $_POST['captchagenerator'] ) {
|
1759 |
-
$genoptions['captchagenerator'] = 'easycaptcha';
|
1760 |
-
$genoptions['recaptchasitekey'] = '';
|
1761 |
-
$genoptions['recaptchasecretkey'] = '';
|
1762 |
-
}
|
1763 |
-
|
1764 |
-
foreach ( array( 'debugmode', 'emaillinksubmitter', 'suppressemailfooter', 'usefirstpartsubmittername', 'hidedonation' ) as $option_name ) {
|
1765 |
-
if ( isset( $_POST[$option_name] ) ) {
|
1766 |
-
$genoptions[$option_name] = true;
|
1767 |
-
} else {
|
1768 |
-
if ( $option_name != 'hidedonation' ) {
|
1769 |
-
$genoptions[$option_name] = false;
|
1770 |
-
}
|
1771 |
-
}
|
1772 |
-
}
|
1773 |
-
|
1774 |
-
update_option( 'LinkLibraryGeneral', $genoptions );
|
1775 |
-
|
1776 |
-
update_option( 'links_updated_date_format', $_POST['links_updated_date_format'] );
|
1777 |
-
}
|
1778 |
-
|
1779 |
-
//lets redirect the post request into get request (you may add additional params at the url, if you need to show save results
|
1780 |
-
$redirecturl = remove_query_arg( array( 'message', 'importrowscount', 'successimportcount' ), $_POST['_wp_http_referer'] );
|
1781 |
-
|
1782 |
-
if ( !empty( $message ) ) {
|
1783 |
-
$redirecturl = add_query_arg( 'message', $message, $redirecturl );
|
1784 |
-
}
|
1785 |
-
|
1786 |
-
if ( isset( $_POST['currenttab'] ) ) {
|
1787 |
-
$redirecturl = add_query_arg( 'currenttab', $_POST['currenttab'], $redirecturl );
|
1788 |
-
}
|
1789 |
-
|
1790 |
-
if ( isset( $row ) && $row != 0 ) {
|
1791 |
-
$redirecturl = add_query_arg( 'importrowscount', $row, $redirecturl );
|
1792 |
-
}
|
1793 |
-
|
1794 |
-
if ( isset( $successfulimport ) && $successfulimport != 0 ) {
|
1795 |
-
$redirecturl = add_query_arg( 'successimportcount', $successfulimport, $redirecturl );
|
1796 |
-
}
|
1797 |
-
|
1798 |
-
if ( isset( $successfulupdate ) && $successfulupdate != 0 ) {
|
1799 |
-
$redirecturl = add_query_arg( 'successupdatecount', $successfulupdate, $redirecturl );
|
1800 |
-
}
|
1801 |
-
|
1802 |
-
wp_redirect( $redirecturl );
|
1803 |
-
exit;
|
1804 |
-
}
|
1805 |
-
|
1806 |
-
function ll_post_exists( $id ) {
|
1807 |
-
return is_string( get_post_status( $id ) );
|
1808 |
-
}
|
1809 |
-
|
1810 |
-
//executed if the post arrives initiated by pressing the submit button of form
|
1811 |
-
function on_save_changes_settingssets() {
|
1812 |
-
//user permission check
|
1813 |
-
if ( !current_user_can( 'manage_options' ) ) {
|
1814 |
-
wp_die( __( 'Not allowed', 'link-library' ) );
|
1815 |
-
}
|
1816 |
-
//cross check the given referer
|
1817 |
-
check_admin_referer( 'link-library' );
|
1818 |
-
|
1819 |
-
if ( isset( $_POST['exportsettings'] ) ) {
|
1820 |
-
$upload_dir = wp_upload_dir();
|
1821 |
-
if ( is_writable( $upload_dir['path'] ) ) {
|
1822 |
-
$myFile = $upload_dir['path'] . "/SettingSet" . $_POST['settingsetid'] . "Export.csv";
|
1823 |
-
$fh = fopen( $myFile, 'w' ) or die( "can't open file" );
|
1824 |
-
|
1825 |
-
$sourcesettingsname = 'LinkLibraryPP' . $_POST['settingsetid'];
|
1826 |
-
$sourceoptions = get_option( $sourcesettingsname );
|
1827 |
-
|
1828 |
-
$headerrow = array();
|
1829 |
-
|
1830 |
-
foreach ( $sourceoptions as $key => $option ) {
|
1831 |
-
$headerrow[] = '"' . $key . '"';
|
1832 |
-
}
|
1833 |
-
|
1834 |
-
$headerdata = join( ',', $headerrow ) . "\n";
|
1835 |
-
fwrite( $fh, $headerdata );
|
1836 |
-
|
1837 |
-
$datarow = array();
|
1838 |
-
|
1839 |
-
foreach ( $sourceoptions as $key => $option ) {
|
1840 |
-
$datarow[] = '"' . $option . '"';
|
1841 |
-
}
|
1842 |
-
|
1843 |
-
$data = join( ',', $datarow ) . "\n";
|
1844 |
-
fwrite( $fh, $data );
|
1845 |
|
1846 |
fclose( $fh );
|
1847 |
|
@@ -1860,6 +1642,8 @@ class link_library_plugin_admin {
|
|
1860 |
$messages[] = '6';
|
1861 |
}
|
1862 |
} elseif ( isset( $_POST['importsettings'] ) ) {
|
|
|
|
|
1863 |
if ( $_FILES['settingsfile']['tmp_name'] != "" ) {
|
1864 |
$handle = fopen( $_FILES['settingsfile']['tmp_name'], "r" );
|
1865 |
|
@@ -1905,9 +1689,9 @@ class link_library_plugin_admin {
|
|
1905 |
array(
|
1906 |
'order', 'table_width', 'num_columns', 'position',
|
1907 |
'beforecatlist1', 'beforecatlist2', 'beforecatlist3', 'catnameoutput', 'linkaddfrequency',
|
1908 |
-
'
|
1909 |
'catlistdescpos', 'rsspreviewwidth', 'rsspreviewheight', 'numberofrssitems',
|
1910 |
-
'displayweblink', 'sourceweblink', 'showtelephone', 'sourcetelephone', 'showemail', 'sourceimage', 'sourcename', 'popup_width', 'popup_height', 'rssfeedinlinedayspublished', 'tooltipname', '
|
1911 |
)
|
1912 |
as $option_name
|
1913 |
) {
|
@@ -1916,7 +1700,7 @@ class link_library_plugin_admin {
|
|
1916 |
}
|
1917 |
}
|
1918 |
|
1919 |
-
foreach ( array( '
|
1920 |
if ( isset( $_POST[$option_name] ) ) {
|
1921 |
if ( $genoptions['catselectmethod'] == 'commalist' || empty( $genoptions['catselectmethod'] ) ) {
|
1922 |
$options[$option_name] = str_replace( "\"", "'", strtolower( $_POST[$option_name] ) );
|
@@ -1930,7 +1714,7 @@ class link_library_plugin_admin {
|
|
1930 |
|
1931 |
foreach (
|
1932 |
array(
|
1933 |
-
'
|
1934 |
'direction', 'linkdirection', 'linkorder', 'addnewlinkmsg', 'linknamelabel', 'linkaddrlabel', 'linkrsslabel',
|
1935 |
'linkcatlabel', 'linkdesclabel', 'linknoteslabel', 'addlinkbtnlabel', 'newlinkmsg', 'moderatemsg', 'imagepos',
|
1936 |
'imageclass', 'rssfeedtitle', 'rssfeeddescription', 'showonecatmode', 'linkcustomcatlabel', 'linkcustomcatlistentry',
|
@@ -1946,8 +1730,7 @@ class link_library_plugin_admin {
|
|
1946 |
'showaddlinkreciprocal', 'showaddlinksecondurl', 'showaddlinktelephone', 'showaddlinkemail', 'showcustomcaptcha', 'showlinksubmittername',
|
1947 |
'showaddlinksubmitteremail', 'showlinksubmittercomment', 'showuserlargedescription', 'cat_letter_filter', 'beforefirstlink', 'afterlastlink',
|
1948 |
'searchfieldtext', 'catfilterlabel', 'searchnoresultstext', 'addlinkdefaultcat', 'beforesubmittername', 'aftersubmittername',
|
1949 |
-
'beforecatdesc', 'aftercatdesc', '
|
1950 |
-
'toppagetext', 'updatedlabel', 'weblinktarget'
|
1951 |
) as $option_name
|
1952 |
) {
|
1953 |
if ( isset( $_POST[$option_name] ) ) {
|
@@ -1965,9 +1748,7 @@ class link_library_plugin_admin {
|
|
1965 |
'showlargedescription', 'addlinknoaddress', 'featuredfirst', 'usetextareaforusersubmitnotes', 'showcatonsearchresults', 'shownameifnoimage',
|
1966 |
'enable_link_popup', 'nocatonstartup', 'showlinksonclick', 'showinvisibleadmin', 'combineresults', 'showifreciprocalvalid',
|
1967 |
'cat_letter_filter_autoselect', 'cat_letter_filter_showalloption', 'emailsubmitter', 'addlinkakismet', 'rssfeedinlineskipempty',
|
1968 |
-
'current_user_links', 'showsubmittername', 'onereciprocaldomain', 'nooutputempty', 'showcatdesc', '
|
1969 |
-
'hidechildcattop', 'catlinkspermalinksmode', 'showbreadcrumbspermalinks', 'showlinktags', 'showlinkprice', 'show0asfree',
|
1970 |
-
'allowcolumnsorting', 'showsearchreset'
|
1971 |
)
|
1972 |
as $option_name
|
1973 |
) {
|
@@ -1999,14 +1780,24 @@ class link_library_plugin_admin {
|
|
1999 |
update_option( $settingsname, $options );
|
2000 |
$messages[] = "1";
|
2001 |
|
2002 |
-
|
2003 |
-
|
|
|
|
|
2004 |
|
2005 |
foreach ( $categoryids as $categoryid ) {
|
2006 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2007 |
|
2008 |
-
$
|
2009 |
-
|
|
|
2010 |
|
2011 |
if ( !$catnames ) {
|
2012 |
$messages[] = '2';
|
@@ -2014,14 +1805,22 @@ class link_library_plugin_admin {
|
|
2014 |
}
|
2015 |
}
|
2016 |
|
2017 |
-
if (
|
2018 |
-
$categoryids = explode( ',', $options['
|
2019 |
|
2020 |
foreach ( $categoryids as $categoryid ) {
|
2021 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2022 |
|
2023 |
-
$
|
2024 |
-
|
|
|
2025 |
|
2026 |
if ( !$catnames ) {
|
2027 |
$messages[] = '3';
|
@@ -2034,31 +1833,37 @@ class link_library_plugin_admin {
|
|
2034 |
|
2035 |
//lets redirect the post request into get request (you may add additional params at the url, if you need to show save results
|
2036 |
$messagelist = implode( ",", $messages );
|
2037 |
-
|
2038 |
-
$
|
2039 |
-
|
2040 |
-
|
2041 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2042 |
}
|
2043 |
|
2044 |
-
if (
|
2045 |
-
$redirecturl =
|
2046 |
}
|
2047 |
|
2048 |
-
if (
|
2049 |
-
$redirecturl =
|
2050 |
}
|
2051 |
|
2052 |
-
if (
|
2053 |
-
$redirecturl =
|
2054 |
}
|
2055 |
|
2056 |
-
if (
|
2057 |
-
$redirecturl =
|
2058 |
}
|
2059 |
|
2060 |
wp_redirect( $redirecturl );
|
2061 |
-
exit;
|
2062 |
}
|
2063 |
|
2064 |
//executed if the post arrives initiated by pressing the submit button of form
|
@@ -2075,37 +1880,50 @@ class link_library_plugin_admin {
|
|
2075 |
$genoptions = get_option( 'LinkLibraryGeneral' );
|
2076 |
|
2077 |
if ( isset( $_POST['approvelinks'] ) && ( isset( $_POST['links'] ) && count( $_POST['links'] ) > 0 ) ) {
|
|
|
|
|
2078 |
$section = 'moderate';
|
2079 |
|
2080 |
foreach ( $_POST['links'] as $approved_link ) {
|
2081 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
2082 |
|
2083 |
-
if (
|
2084 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2085 |
}
|
2086 |
|
2087 |
-
$
|
2088 |
-
$submitter_name = get_post_meta( $approved_link, 'link_submitter_name', true );
|
2089 |
-
$link_url = get_post_meta( $approved_link, 'link_url', true );
|
2090 |
|
2091 |
-
if ( $genoptions['emaillinksubmitter'] == true &&
|
2092 |
if ( $genoptions['usefirstpartsubmittername'] == true ) {
|
2093 |
-
$spacepos = strpos( $
|
2094 |
if ( $spacepos !== false ) {
|
2095 |
-
$
|
2096 |
}
|
2097 |
}
|
2098 |
|
2099 |
-
$emailtitle = str_replace( '%linkname%',
|
2100 |
$emailbody = nl2br( $genoptions['approvalemailbody'] );
|
2101 |
-
$emailbody = str_replace( '%submittername%', stripslashes( $
|
2102 |
-
$emailbody = str_replace( '%linkname%',
|
2103 |
-
$emailbody = str_replace( '%linkurl%', $link_url, $emailbody );
|
2104 |
|
2105 |
$headers = "MIME-Version: 1.0\r\n";
|
2106 |
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
|
2107 |
|
2108 |
-
if (
|
2109 |
$headers .= "From: \"" . $genoptions['moderatorname'] . "\" <" . $genoptions['moderatoremail'] . ">\n";
|
2110 |
}
|
2111 |
|
@@ -2115,68 +1933,68 @@ class link_library_plugin_admin {
|
|
2115 |
$message .= "<br /><br />" . __( 'Message generated by', 'link-library' ) . " <a href='http://ylefebvre.ca/wordpress-plugins/link-library/'>Link Library</a> for Wordpress";
|
2116 |
}
|
2117 |
|
2118 |
-
wp_mail( $
|
2119 |
|
2120 |
-
do_action( 'link_library_approval_email', $
|
2121 |
}
|
2122 |
}
|
2123 |
|
2124 |
$message = '1';
|
2125 |
} elseif ( isset( $_POST['deletelinks'] ) && ( isset( $_POST['links'] ) && count( $_POST['links'] ) > 0 ) ) {
|
|
|
|
|
2126 |
$section = 'moderate';
|
2127 |
|
2128 |
foreach ( $_POST['links'] as $approved_link ) {
|
2129 |
-
$
|
|
|
|
|
2130 |
|
2131 |
-
$
|
2132 |
-
$submitter_name = get_post_meta( $approved_link, 'link_submitter_name', true );
|
2133 |
-
$link_url = get_post_meta( $approved_link, 'link_url', true );
|
2134 |
|
2135 |
-
|
2136 |
-
if ( $genoptions['usefirstpartsubmittername'] == true ) {
|
2137 |
-
$spacepos = strpos( $submitter_name, ' ' );
|
2138 |
-
if ( $spacepos !== false ) {
|
2139 |
-
$submitter_name = substr( $submitter_name, 0, $spacepos );
|
2140 |
-
}
|
2141 |
-
}
|
2142 |
|
2143 |
-
|
|
|
2144 |
$emailbody = nl2br( $genoptions['rejectedemailbody'] );
|
2145 |
-
$emailbody = str_replace( '%submittername%', stripslashes( $
|
2146 |
-
$emailbody = str_replace( '%linkname%',
|
2147 |
-
$emailbody = str_replace( '%linkurl%', $link_url, $emailbody );
|
2148 |
|
2149 |
$headers = "MIME-Version: 1.0\r\n";
|
2150 |
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
|
2151 |
|
2152 |
-
if (
|
2153 |
$headers .= "From: \"" . $genoptions['moderatorname'] . "\" <" . $genoptions['moderatoremail'] . ">\n";
|
2154 |
}
|
2155 |
|
2156 |
$message = $emailbody;
|
|
|
|
|
|
|
|
|
2157 |
|
2158 |
-
|
2159 |
-
|
2160 |
-
wp_mail( $submitter_email, $emailtitle, $message, $headers );
|
2161 |
|
2162 |
-
do_action( 'link_library_rejection_email', $
|
2163 |
}
|
2164 |
|
2165 |
-
|
2166 |
}
|
2167 |
|
2168 |
$message = '2';
|
2169 |
}
|
2170 |
|
2171 |
-
$
|
2172 |
|
2173 |
-
if (
|
2174 |
-
$redirecturl =
|
|
|
|
|
2175 |
}
|
2176 |
|
2177 |
//lets redirect the post request into get request (you may add additional params at the url, if you need to show save results
|
2178 |
wp_redirect( $redirecturl );
|
2179 |
-
exit;
|
2180 |
}
|
2181 |
|
2182 |
function on_save_changes_stylesheet() {
|
@@ -2209,10 +2027,7 @@ class link_library_plugin_admin {
|
|
2209 |
}
|
2210 |
|
2211 |
//lets redirect the post request into get request (you may add additional params at the url, if you need to show save results
|
2212 |
-
|
2213 |
-
$redirect_url = add_query_arg( 'message', $message, $redirect_url );
|
2214 |
-
wp_redirect( $redirect_url );
|
2215 |
-
exit;
|
2216 |
}
|
2217 |
|
2218 |
function on_save_changes_reciprocal() {
|
@@ -2242,11 +2057,14 @@ class link_library_plugin_admin {
|
|
2242 |
$message = 4;
|
2243 |
}
|
2244 |
|
|
|
|
|
|
|
|
|
|
|
|
|
2245 |
//lets redirect the post request into get request (you may add additional params at the url, if you need to show save results
|
2246 |
-
|
2247 |
-
$redirect_url = add_query_arg( 'message', $message, $redirect_url );
|
2248 |
-
wp_redirect( $redirect_url );
|
2249 |
-
exit;
|
2250 |
}
|
2251 |
|
2252 |
function general_meta_box( $data ) {
|
@@ -2261,10 +2079,6 @@ class link_library_plugin_admin {
|
|
2261 |
<td>
|
2262 |
<input type='hidden' value='<?php echo $genoptions['schemaversion']; ?>' name='schemaversion' id='schemaversion' />
|
2263 |
<table>
|
2264 |
-
<tr>
|
2265 |
-
<td><?php _e( 'Link Library 6.0 Beta', 'link-library' ); ?></td>
|
2266 |
-
<td><input type="submit" id="ll60reupdate" name="ll60reupdate" value="<?php _e( 'Re-import links', 'link-library' ); ?>" /></td>
|
2267 |
-
</tr>
|
2268 |
<?php if ( !is_multisite() ) { ?>
|
2269 |
<tr>
|
2270 |
<td><?php _e( 'Update channel', 'link-library' ); ?></td>
|
@@ -2283,7 +2097,7 @@ class link_library_plugin_admin {
|
|
2283 |
<tr>
|
2284 |
<td><?php _e( 'Number of Libraries', 'link-library' ); ?></td>
|
2285 |
<td>
|
2286 |
-
<input type="text" id="numberstylesets" name="numberstylesets" size="5" value="<?php if (
|
2287 |
echo '1';
|
2288 |
}
|
2289 |
echo $genoptions['numberstylesets']; ?>" /></td>
|
@@ -2336,7 +2150,9 @@ class link_library_plugin_admin {
|
|
2336 |
<tr>
|
2337 |
<td><?php _e( 'Debug Mode', 'link-library' ); ?></td>
|
2338 |
<td>
|
2339 |
-
<input type="checkbox" id="debugmode" name="debugmode" <?php
|
|
|
|
|
2340 |
</tr>
|
2341 |
<tr>
|
2342 |
<td class="lltooltip" title="<?php _e( 'This function is only possible when showing one category at a time and while the default category is not shown.', 'link-library' ); ?>"><?php _e( 'Page Title Prefix', 'link-library' ); ?></td>
|
@@ -2442,6 +2258,12 @@ class link_library_plugin_admin {
|
|
2442 |
<td>
|
2443 |
<input type="text" id="rsscachedelay" name="rsscachedelay" size="5" value="<?php echo intval( $genoptions['rsscachedelay'] ); ?>" /></td>
|
2444 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
2445 |
</table>
|
2446 |
</td>
|
2447 |
<?php if ( isset( $genoptions['hidedonation'] ) && !$genoptions['hidedonation'] ) { ?>
|
@@ -2478,21 +2300,6 @@ class link_library_plugin_admin {
|
|
2478 |
<?php
|
2479 |
}
|
2480 |
|
2481 |
-
function general_singleitemlayout_meta_box( $data ) {
|
2482 |
-
$genoptions = $data['genoptions'];
|
2483 |
-
?>
|
2484 |
-
<div style='padding-top:15px' id="ll-singleitem" class="content-section">
|
2485 |
-
<?php
|
2486 |
-
$editorsettings = array( 'media_buttons' => false,
|
2487 |
-
'textarea_rows' => 15,
|
2488 |
-
'textarea_name' => 'single_link_layout',
|
2489 |
-
'wpautop' => false );
|
2490 |
-
|
2491 |
-
wp_editor( isset( $genoptions['single_link_layout'] ) ? stripslashes( $genoptions['single_link_layout'] ) : '', 'single_link_layout', $editorsettings ); ?>
|
2492 |
-
</div>
|
2493 |
-
<?php
|
2494 |
-
}
|
2495 |
-
|
2496 |
function general_image_meta_box( $data ) {
|
2497 |
$genoptions = $data['genoptions'];
|
2498 |
?>
|
@@ -2518,7 +2325,7 @@ class link_library_plugin_admin {
|
|
2518 |
}
|
2519 |
|
2520 |
function general_meta_bookmarklet_box( $data ) {
|
2521 |
-
$bookmarkletcode = 'javascript:void(linkmanpopup=window.open(\'' . get_bloginfo( 'wpurl' ) . '/wp-admin/
|
2522 |
?>
|
2523 |
<div style='padding-top:15px' id="ll-bookmarklet" class="content-section">
|
2524 |
<p><?php _e( 'Add new links to your site with this bookmarklet.', 'link-library' ); ?></p>
|
@@ -2539,6 +2346,12 @@ class link_library_plugin_admin {
|
|
2539 |
<strong><?php _e( 'Approval and rejection e-mail functionality will only work correctly if the submitter e-mail field is displayed on the user link submission form', 'link-library' ); ?></strong>
|
2540 |
</td>
|
2541 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
2542 |
<tr>
|
2543 |
<td class='lltooltip' title='<?php _e( 'URL that user will be redirected to after submitting new link. When used, the short code [link-library-addlinkcustommsg] should be placed on the destination page.', 'link-library' ); ?>.' style='width:250px'><?php _e( 'Link Acknowledgement URL', 'link-library' ); ?></td>
|
2544 |
<td class='lltooltip' style='width:75px;padding-right:20px' title='<?php _e( 'URL that user will be redirected to after submitting new link. When used, the short code [link-library-addlinkcustommsg] should be placed on the destination page.', 'link-library' ); ?>.'>
|
@@ -2554,17 +2367,23 @@ class link_library_plugin_admin {
|
|
2554 |
<tr>
|
2555 |
<td class='lltooltip' title='<?php _e( 'Will send a confirmation e-mail to link submitter if they provided their contact information', 'link-library' ); ?>.' style='width:250px'><?php _e( 'E-mail submitter on link approval or rejection', 'link-library' ); ?></td>
|
2556 |
<td style='width:75px;padding-right:20px'>
|
2557 |
-
<input type="checkbox" id="emaillinksubmitter" name="emaillinksubmitter" <?php
|
|
|
|
|
2558 |
</tr>
|
2559 |
<tr>
|
2560 |
<td class='lltooltip' style='width:250px'><?php _e( 'Suppress Link Library message in e-mail footer', 'link-library' ); ?></td>
|
2561 |
<td style='width:75px;padding-right:20px'>
|
2562 |
-
<input type="checkbox" id="suppressemailfooter" name="suppressemailfooter" <?php
|
|
|
|
|
2563 |
</tr>
|
2564 |
<tr>
|
2565 |
<td style='width:250px'><?php _e( 'Only use first part of submitter name', 'link-library' ); ?></td>
|
2566 |
<td style='width:75px;padding-right:20px'>
|
2567 |
-
<input type="checkbox" id="usefirstpartsubmittername" name="usefirstpartsubmittername" <?php
|
|
|
|
|
2568 |
</tr>
|
2569 |
<tr>
|
2570 |
<td class='lltooltip' title='<?php _e( 'The name of the e-mail account that the approval e-mail will be sent from', 'link-library' ); ?>'><?php _e( 'Moderator Name', 'link-library' ); ?></td>
|
@@ -2608,93 +2427,20 @@ class link_library_plugin_admin {
|
|
2608 |
}
|
2609 |
|
2610 |
function general_hide_donation_meta_box() {
|
2611 |
-
|
2612 |
-
|
2613 |
<p><?php _e( 'The following option allows you to hide the Donate button and Support the Author section in the Link Library Admin pages. If you enjoy this plugin and use it regularly, please consider making a donation to the author before turning off these messages. This menu section will disappear along with the other elements.', 'link-library' ); ?></p>
|
2614 |
<table>
|
2615 |
<tr>
|
2616 |
<td class='lltooltip'><?php _e( 'Hide Donation and Support Links', 'link-library' ); ?></td>
|
2617 |
<td>
|
2618 |
-
<input type="checkbox" id="hidedonation" name="hidedonation" <?php
|
|
|
|
|
2619 |
</tr>
|
2620 |
</table>
|
2621 |
-
</div>
|
2622 |
-
<?php
|
2623 |
-
}
|
2624 |
-
|
2625 |
-
function general_importexport_meta_box() {
|
2626 |
-
require_once plugin_dir_path( __FILE__ ) . 'wp_dropdown_posts.php';
|
2627 |
-
?>
|
2628 |
-
<div style='padding-top:15px' id="ll-importexport" class="content-section">
|
2629 |
-
<table>
|
2630 |
-
<tr>
|
2631 |
-
<td><?php _e( 'Export all links to a CSV file', 'link-library' ); ?></td>
|
2632 |
-
<td>
|
2633 |
-
<input type="submit" id="exportalllinks" name="exportalllinks" value="<?php _e( 'Export All Links', 'link-library' ); ?>" />
|
2634 |
-
</td>
|
2635 |
-
</tr>
|
2636 |
-
</table>
|
2637 |
-
<hr />
|
2638 |
-
<table>
|
2639 |
-
<tr>
|
2640 |
-
<td class='lltooltip' title='<?php _e( 'Allows for links to be added in batch to the Wordpress links database. CSV file needs to follow template for column layout.', 'link-library' ); ?>' style='width: 330px'><?php _e( 'CSV file to upload to import links', 'link-library' ); ?> (<a href="<?php echo plugins_url( 'importtemplate.csv', __FILE__ ); ?>"><?php _e( 'file template', 'link-library' ); ?></a>)
|
2641 |
-
</td>
|
2642 |
-
<td><input size="80" name="linksfile" type="file" /></td>
|
2643 |
-
<td><input type="submit" name="importlinks" value="<?php _e( 'Import Links from CSV', 'link-library' ); ?>" />
|
2644 |
-
</td>
|
2645 |
-
</tr>
|
2646 |
-
<tr>
|
2647 |
-
<td><?php _e( 'Update items when URL is identical', 'link-library' ); ?></td>
|
2648 |
-
<td><input type="checkbox" id="updatesameurl" name="updatesameurl" checked="checked" /></td>
|
2649 |
-
</tr>
|
2650 |
-
</table>
|
2651 |
-
<hr />
|
2652 |
-
|
2653 |
-
<table>
|
2654 |
-
<tr>
|
2655 |
-
<td style='width: 230px'><?php _e( 'Import links from site pages', 'link-library' ); ?></td>
|
2656 |
-
<td style='width: 350px'><input type="radio" name="siteimportlinksscope" value="allpagesposts" checked> <?php _e( 'All Pages and Posts', 'link-library' ); ?><br />
|
2657 |
-
<input type="radio" name="siteimportlinksscope" value="allpagespostscpt"> <?php _e( 'All Pages, Posts and Custom Post Types', 'link-library' ); ?><br />
|
2658 |
-
<input type="radio" name="siteimportlinksscope" value="specificpage"> <?php _e( 'Specific Page', 'link-library' ); ?>
|
2659 |
-
<?php wp_dropdown_pages(); ?><br />
|
2660 |
-
<?php $post_count = wp_count_posts();
|
2661 |
-
if ( $post_count->publish < 200 ) { ?>
|
2662 |
-
<input type="radio" name="siteimportlinksscope" value="specificpost"> <?php _e( 'Specific Post', 'link-library' ); ?>
|
2663 |
-
<?php wp_dropdown_posts(); ?><br />
|
2664 |
-
<?php }
|
2665 |
-
$site_post_types = get_post_types( array( '_builtin' => false ) );
|
2666 |
-
if ( !empty( $site_post_types ) ) {
|
2667 |
-
foreach( $site_post_types as $site_post_type ) {
|
2668 |
-
$any_posts = get_posts( array( 'post_type' => $site_post_type ) );
|
2669 |
-
if ( !empty( $any_posts ) && count( $any_posts ) < 200 ) {
|
2670 |
-
if ( !empty( $any_posts ) ) {
|
2671 |
-
$post_type_data = get_post_type_object( $site_post_type ); ?>
|
2672 |
-
|
2673 |
-
<input type="radio" name="siteimportlinksscope" value="specific<?php echo $site_post_type; ?>"> <?php _e( 'Specific ' . $post_type_data->labels->singular_name, 'link-library' ); ?>
|
2674 |
-
<?php wp_dropdown_posts( array( 'post_type' => $site_post_type, 'select_name' => $site_post_type . '_id' ) ); ?><br /><br />
|
2675 |
-
<?php } }
|
2676 |
-
}
|
2677 |
-
}
|
2678 |
-
?>
|
2679 |
-
<input type="checkbox" id="siteimportupdatesameurl" name="siteimportupdatesameurl" checked="checked" /> <?php _e( 'Update items when URL is identical', 'link-library' ); ?><br />
|
2680 |
-
|
2681 |
-
<?php
|
2682 |
-
|
2683 |
-
$linkcats = get_terms( 'link_library_category', array( 'hide_empty' => false ) );
|
2684 |
-
|
2685 |
-
if ( $linkcats ) { ?>
|
2686 |
-
Category for new links <select name="siteimportcat" id="siteimportcat">
|
2687 |
-
<?php foreach ( $linkcats as $linkcat ) { ?>
|
2688 |
-
<option value="<?php echo $linkcat->term_id; ?>"><?php echo $linkcat->name; ?></option>
|
2689 |
-
<?php } ?>
|
2690 |
-
</select>
|
2691 |
-
<?php } ?>
|
2692 |
-
</td>
|
2693 |
-
<td><input type="submit" name="siteimport" value="<?php _e( 'Import Links from Site', 'link-library' ); ?>" /></td>
|
2694 |
-
</tr>
|
2695 |
-
</table>
|
2696 |
</div>
|
2697 |
-
|
2698 |
}
|
2699 |
|
2700 |
function general_save_meta_box() {
|
@@ -2725,41 +2471,48 @@ class link_library_plugin_admin {
|
|
2725 |
<th style='width: 300px'><?php _e( 'Link URL', 'link-library' ); ?></th>
|
2726 |
<th><?php _e( 'Link Description', 'link-library' ); ?></th>
|
2727 |
</tr>
|
2728 |
-
<?php
|
2729 |
-
|
2730 |
-
|
2731 |
-
$
|
2732 |
-
|
2733 |
-
|
2734 |
-
|
2735 |
-
|
2736 |
-
|
2737 |
-
|
2738 |
-
|
2739 |
-
|
2740 |
-
|
2741 |
-
|
2742 |
-
|
2743 |
-
|
2744 |
-
|
2745 |
-
|
2746 |
-
|
2747 |
-
|
2748 |
-
|
2749 |
-
|
2750 |
-
|
2751 |
-
|
2752 |
-
|
|
|
|
|
|
|
2753 |
|
|
|
|
|
|
|
|
|
2754 |
?>
|
2755 |
<tr style='background: #FFF'>
|
2756 |
-
<td><input type="checkbox" name="links[]" value="<?php echo
|
2757 |
-
<td><?php echo "<a title='Edit Link: " .
|
2758 |
-
<td><?php echo $
|
2759 |
-
<td><?php echo "<a href='" . $link_url . "'>" . $link_url . "</a>"; ?></td>
|
2760 |
-
<td><?php echo $
|
2761 |
</tr>
|
2762 |
-
|
2763 |
}
|
2764 |
} else {
|
2765 |
?>
|
@@ -2819,7 +2572,7 @@ class link_library_plugin_admin {
|
|
2819 |
<div>
|
2820 |
<?php _e( 'Select Current Library Settings', 'link-library' ); ?> :
|
2821 |
<SELECT id="settingsetlist" name="settingsetlist" style='width: 300px'>
|
2822 |
-
<?php if (
|
2823 |
$numberofsets = 1;
|
2824 |
} else {
|
2825 |
$numberofsets = $genoptions['numberstylesets'];
|
@@ -2840,7 +2593,7 @@ class link_library_plugin_admin {
|
|
2840 |
<?php $tempoptionname = "LinkLibraryPP" . $counter;
|
2841 |
$tempoptions = get_option( $tempoptionname );
|
2842 |
if ( $counter != $settings ):?>
|
2843 |
-
<option value="<?php echo $counter ?>" <?php
|
2844 |
echo " (" . stripslashes( $tempoptions['settingssetname'] ) . ")";
|
2845 |
} ?></option>
|
2846 |
<?php endif;
|
@@ -2872,7 +2625,6 @@ class link_library_plugin_admin {
|
|
2872 |
<th class="lltooltip" title='<?php _e( 'Link Library Supports the Creation of an unlimited number of configurations to display link lists on your site', 'link-library' ); ?>'>
|
2873 |
<?php _e( 'Code to insert on a Wordpress page', 'link-library' ); ?>
|
2874 |
</th>
|
2875 |
-
<th>Optional Parameters</th>
|
2876 |
</tr>
|
2877 |
</thead>
|
2878 |
<tr>
|
@@ -2880,77 +2632,24 @@ class link_library_plugin_admin {
|
|
2880 |
<td style='background: #FFF'><?php echo stripslashes( $options['settingssetname'] ); ?></a></td>
|
2881 |
<td style='background: #FFF'><?php _e( 'Display basic link library', 'link-library' ); ?></td>
|
2882 |
<td style='background: #FFF'><?php echo "[link-library settings=" . $settings . "]"; ?></td>
|
2883 |
-
<td style='background: #FFF'><table style="padding-left:16px;">
|
2884 |
-
<tr>
|
2885 |
-
<td><strong>Parameter</strong></td><td><strong>Description</strong></td>
|
2886 |
-
</tr>
|
2887 |
-
<tr>
|
2888 |
-
<td>[link-library settings="<?php echo $settings; ?>" categorylistoverride="28"]</td>
|
2889 |
-
<td>Overrides the list of categories to be displayed in the link list, comma-separated list of category IDs</td>
|
2890 |
-
</tr>
|
2891 |
-
<tr>
|
2892 |
-
<td>[link-library settings="<?php echo $settings; ?>" excludecategoryoverride="28"]</td>
|
2893 |
-
<td>Overrides the list of categories to be excluded in the link list, comma-separated list of category IDs</td>
|
2894 |
-
</tr>
|
2895 |
-
<tr>
|
2896 |
-
<td>[link-library settings="<?php echo $settings; ?>" notesoverride=0]</td>
|
2897 |
-
<td>Set to 0 or 1 to display or not display link notes</td>
|
2898 |
-
</tr>
|
2899 |
-
<tr>
|
2900 |
-
<td>[link-library settings="<?php echo $settings; ?>" descoverride=0]</td>
|
2901 |
-
<td>Set to 0 or 1 to display or not display link descriptions</td>
|
2902 |
-
</tr>
|
2903 |
-
<tr>
|
2904 |
-
<td>[link-library settings="<?php echo $settings; ?>" rssoverride=0]</td>
|
2905 |
-
<td>Set to 0 or 1 to display or not display rss information</td>
|
2906 |
-
</tr>
|
2907 |
-
<tr>
|
2908 |
-
<td>[link-library settings="<?php echo $settings; ?>" tableoverride=0]</td>
|
2909 |
-
<td>Set to 0 or 1 to display links in an unordered list or a table</td>
|
2910 |
-
</tr>
|
2911 |
-
</table></td>
|
2912 |
</tr>
|
2913 |
<tr>
|
2914 |
<td style='background: #FFF'></td>
|
2915 |
<td style='background: #FFF'></td>
|
2916 |
<td style='background: #FFF'><?php _e( 'Display list of link categories', 'link-library' ); ?></td>
|
2917 |
<td style='background: #FFF'><?php echo "[link-library-cats settings=" . $settings . "]"; ?></td>
|
2918 |
-
<td style='background: #FFF'>
|
2919 |
-
<table style="padding-left:16px;">
|
2920 |
-
<tr>
|
2921 |
-
<td><strong>Parameter</strong></td><td><strong>Description</strong></td>
|
2922 |
-
</tr>
|
2923 |
-
<tr>
|
2924 |
-
<td>[link-library-cats settings="<?php echo $settings; ?>" categorylistoverride="28"]</td>
|
2925 |
-
<td>Overrides the list of categories to be displayed in the category list, comma-separated list of category IDs</td>
|
2926 |
-
</tr>
|
2927 |
-
<tr>
|
2928 |
-
<td>[link-library-cats settings="<?php echo $settings; ?>" excludecategoryoverride="28"]</td>
|
2929 |
-
<td>Overrides the list of categories to be excluded in the category list, comma-separated list of category IDs</td>
|
2930 |
-
</tr>
|
2931 |
-
</table>
|
2932 |
-
</td>
|
2933 |
</tr>
|
2934 |
<tr>
|
2935 |
<td style='background: #FFF'></td>
|
2936 |
<td style='background: #FFF'></td>
|
2937 |
<td style='background: #FFF'><?php _e( 'Display search box', 'link-library' ); ?></td>
|
2938 |
<td style='background: #FFF'><?php echo "[link-library-search settings=" . $settings . "]"; ?></td>
|
2939 |
-
<td style='background: #FFF'></td>
|
2940 |
</tr>
|
2941 |
<tr>
|
2942 |
<td style='background: #FFF'></td>
|
2943 |
<td style='background: #FFF'></td>
|
2944 |
<td style='background: #FFF'><?php _e( 'Display link submission form', 'link-library' ); ?></td>
|
2945 |
<td style='background: #FFF'><?php echo "[link-library-addlink settings=" . $settings . "]"; ?></td>
|
2946 |
-
<td style='background: #FFF'></td>
|
2947 |
-
</tr>
|
2948 |
-
<tr>
|
2949 |
-
<td style='background: #FFF'></td>
|
2950 |
-
<td style='background: #FFF'></td>
|
2951 |
-
<td style='background: #FFF'><?php _e( 'Display count of links in a library', 'link-library' ); ?></td>
|
2952 |
-
<td style='background: #FFF'><?php echo "[link-library-count settings=" . $settings . "]"; ?></td>
|
2953 |
-
<td style='background: #FFF'></td>
|
2954 |
</tr>
|
2955 |
</table>
|
2956 |
<table>
|
@@ -2966,38 +2665,6 @@ class link_library_plugin_admin {
|
|
2966 |
<?php
|
2967 |
}
|
2968 |
|
2969 |
-
function render_category_list( $categories, $select_name, $depth, $selected_items, $order ) {
|
2970 |
-
|
2971 |
-
$output = '';
|
2972 |
-
if ( !empty( $categories ) ) {
|
2973 |
-
if ( 0 == $depth ) {
|
2974 |
-
$output .= '<select style="width:100%" id="' . $select_name . '" name="' . $select_name . '[]" multiple ';
|
2975 |
-
if ( 1 == count( $selected_items ) && empty( $selected_items[0] ) ) {
|
2976 |
-
$output .= 'disabled';
|
2977 |
-
}
|
2978 |
-
$output .= '>';
|
2979 |
-
}
|
2980 |
-
|
2981 |
-
foreach ( $categories as $category ) {
|
2982 |
-
$output .= '<option value="' . $category->term_id . '" ' . selected( in_array( $category->term_id, $selected_items ), true, false ) . ' >' . str_repeat( ' ', 4 * $depth ) . $category->name . '</option>';
|
2983 |
-
$child_categories = get_terms( 'link_library_category', array( 'orderby' => 'name', 'parent' => $category->term_id, 'order' => $order, 'hide_empty' => false ) );
|
2984 |
-
|
2985 |
-
if ( !empty( $child_categories ) ) {
|
2986 |
-
$output .= $this->render_category_list( $child_categories, $select_name, $depth + 1, $selected_items, $order );
|
2987 |
-
}
|
2988 |
-
}
|
2989 |
-
|
2990 |
-
if ( 0 == $depth ) {
|
2991 |
-
$output .= '</select>';
|
2992 |
-
}
|
2993 |
-
|
2994 |
-
} else {
|
2995 |
-
$output .= _e( 'No link categories! Create some!', 'link-library' );
|
2996 |
-
}
|
2997 |
-
|
2998 |
-
return $output;
|
2999 |
-
}
|
3000 |
-
|
3001 |
function settingssets_common_meta_box( $data ) {
|
3002 |
$options = $data['options'];
|
3003 |
$settings = $data['settings'];
|
@@ -3025,18 +2692,38 @@ class link_library_plugin_admin {
|
|
3025 |
</td>
|
3026 |
<?php if ( $genoptions['catselectmethod'] == 'commalist' || empty( $genoptions['catselectmethod'] ) ) { ?>
|
3027 |
<td class="lltooltip" title="<?php _e( 'Leave Empty to see all categories', 'link-library' ); ?><br /><br /><?php _e( 'Enter list of comma-separated', 'link-library' ); ?><br /><?php _e( 'numeric category IDs', 'link-library' ); ?><br /><br /><?php _e( 'For example', 'link-library' ); ?>: 2,4,56">
|
3028 |
-
<input type="text" id="
|
3029 |
</td>
|
3030 |
<?php
|
3031 |
} else {
|
3032 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3033 |
|
3034 |
-
$categorylistarray = explode( ',', $options['
|
3035 |
?>
|
3036 |
<td>
|
3037 |
-
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3038 |
<?php _e( 'Show all categories', 'link-library' ); ?>
|
3039 |
-
<input type="checkbox" id="nospecificcats" name="nospecificcats" <?php
|
|
|
|
|
3040 |
|
3041 |
</td>
|
3042 |
<?php } ?>
|
@@ -3047,16 +2734,27 @@ class link_library_plugin_admin {
|
|
3047 |
</td>
|
3048 |
<?php if ( $genoptions['catselectmethod'] == 'commalist' || empty( $genoptions['catselectmethod'] ) ) { ?>
|
3049 |
<td class="lltooltip" title="<?php _e( 'Enter list of comma-separated', 'link-library' ); ?><br /><?php _e( 'numeric category IDs that should not be shown', 'link-library' ); ?><br /><br /><?php _e( 'For example', 'link-library' ); ?>: 5,34,43">
|
3050 |
-
<input type="text" id="
|
3051 |
</td>
|
3052 |
<?php
|
3053 |
} else {
|
3054 |
-
$excludecategorylistarray = explode( ',', $options['
|
3055 |
?>
|
3056 |
<td>
|
3057 |
-
<?php
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3058 |
<?php _e( 'No Exclusions', 'link-library' ); ?>
|
3059 |
-
<input type="checkbox" id="noexclusions" name="noexclusions" <?php
|
|
|
|
|
3060 |
|
3061 |
</td>
|
3062 |
<?php } ?>
|
@@ -3066,20 +2764,32 @@ class link_library_plugin_admin {
|
|
3066 |
<?php _e( 'Only show one category at a time', 'link-library' ); ?>
|
3067 |
</td>
|
3068 |
<td class="lltooltip" title="<?php _e( 'Only show one category of links at a time', 'link-library' ); ?>">
|
3069 |
-
<input type="checkbox" id="showonecatonly" name="showonecatonly" <?php
|
|
|
|
|
3070 |
</td>
|
3071 |
<td style='width: 200px' class="lltooltip" title="<?php _e( 'Select if AJAX should be used to only reload the list of links without reloading the whole page or HTML GET to reload entire page with a new link. The Permalinks option must be enabled for HTML GET + Permalink to work correctly.', 'link-library' ); ?>"><?php _e( 'Switching Method', 'link-library' ); ?></td>
|
3072 |
<td>
|
3073 |
<select name="showonecatmode" id="showonecatmode" style="width:200px;">
|
3074 |
-
<option value="AJAX"<?php
|
|
|
|
|
3075 |
</option>
|
3076 |
-
<option value="HTMLGET"<?php
|
|
|
|
|
3077 |
</option>
|
3078 |
-
<option value="HTMLGETSLUG"<?php
|
|
|
|
|
3079 |
</option>
|
3080 |
-
<option value="HTMLGETCATNAME"<?php
|
|
|
|
|
3081 |
</option>
|
3082 |
-
<option value="HTMLGETPERM"<?php
|
|
|
|
|
3083 |
</option>
|
3084 |
</select>
|
3085 |
</td>
|
@@ -3089,18 +2799,20 @@ class link_library_plugin_admin {
|
|
3089 |
<?php _e( 'Default category to be shown when only showing one at a time (numeric ID)', 'link-library' ); ?>
|
3090 |
</td>
|
3091 |
<td>
|
3092 |
-
<input type="text" id="
|
3093 |
</td>
|
3094 |
-
<td><?php _e( 'Hide category on start in single cat mode', 'link-library' ); ?></td>
|
3095 |
<td>
|
3096 |
-
<input type="checkbox" id="nocatonstartup" name="nocatonstartup" <?php
|
|
|
|
|
3097 |
</tr>
|
3098 |
<tr>
|
3099 |
<td class="lltooltip" title="<?php _e( 'File path is relative to Link Library plugin directory', 'link-library' ); ?>">
|
3100 |
<?php _e( 'Icon to display when performing AJAX queries', 'link-library' ); ?>
|
3101 |
</td>
|
3102 |
<td class="lltooltip" title="<?php _e( 'File path is relative to Link Library plugin directory', 'link-library' ); ?>">
|
3103 |
-
<input type="text" id="loadingicon" name="loadingicon" size="40" value="<?php if (
|
3104 |
echo '/icons/Ajax-loader.gif';
|
3105 |
} else {
|
3106 |
echo strval( $options['loadingicon'] );
|
@@ -3112,7 +2824,9 @@ class link_library_plugin_admin {
|
|
3112 |
<?php _e( 'Paginate Results', 'link-library' ); ?>
|
3113 |
</td>
|
3114 |
<td class="lltooltip" title='<?php _e( 'Only show a limited number of links and add page navigation links', 'link-library' ); ?>'>
|
3115 |
-
<input type="checkbox" id="pagination" name="pagination" <?php
|
|
|
|
|
3116 |
</td>
|
3117 |
<td class="lltooltip" title="<?php _e( 'Number of Links to be Displayed per Page in Pagination Mode', 'link-library' ); ?>">
|
3118 |
<?php _e( 'Links per Page', 'link-library' ); ?>
|
@@ -3127,26 +2841,31 @@ class link_library_plugin_admin {
|
|
3127 |
</td>
|
3128 |
<td>
|
3129 |
<select name="paginationposition" id="paginationposition" style="width:200px;">
|
3130 |
-
<option value="AFTER"<?php
|
3131 |
-
|
|
|
|
|
|
|
|
|
3132 |
</select>
|
3133 |
</td>
|
3134 |
<td>
|
3135 |
<?php _e( 'Hide Results if Empty', 'link-library' ); ?>
|
3136 |
</td>
|
3137 |
<td>
|
3138 |
-
<input type="checkbox" id="hide_if_empty" name="hide_if_empty" <?php
|
|
|
|
|
3139 |
</td>
|
3140 |
</tr>
|
3141 |
-
<tr>
|
3142 |
-
<td colspan="4"><hr /></td>
|
3143 |
-
</tr>
|
3144 |
<tr>
|
3145 |
<td>
|
3146 |
<?php _e( 'Enable Permalinks', 'link-library' ); ?>
|
3147 |
</td>
|
3148 |
<td>
|
3149 |
-
<input type="checkbox" id="enablerewrite" name="enablerewrite" <?php
|
|
|
|
|
3150 |
</td>
|
3151 |
<td>
|
3152 |
<?php _e( 'Permalinks Page', 'link-library' ); ?>
|
@@ -3155,31 +2874,6 @@ class link_library_plugin_admin {
|
|
3155 |
<input type="text" id="rewritepage" name="rewritepage" size="40" value="<?php echo $options['rewritepage']; ?>" />
|
3156 |
</td>
|
3157 |
</tr>
|
3158 |
-
<tr>
|
3159 |
-
<td>
|
3160 |
-
<?php _e( 'Permalink Top Page Text', 'link-library' ); ?>
|
3161 |
-
</td>
|
3162 |
-
<td colspan="3" rows="8" cols="50">
|
3163 |
-
<textarea name="toppagetext" style="width:90%"><?php echo $options['toppagetext']; ?></textarea>
|
3164 |
-
</td>
|
3165 |
-
</tr>
|
3166 |
-
<tr>
|
3167 |
-
<td>
|
3168 |
-
<?php _e( 'Category links in permalinks mode', 'link-library' ); ?>
|
3169 |
-
</td>
|
3170 |
-
<td>
|
3171 |
-
<input type="checkbox" id="catlinkspermalinksmode" name="catlinkspermalinksmode" <?php checked( $options['catlinkspermalinksmode'] ); ?>/>
|
3172 |
-
</td>
|
3173 |
-
<td>
|
3174 |
-
<?php _e( 'Show breadcrumbs in permalinks mode', 'link-library' ); ?>
|
3175 |
-
</td>
|
3176 |
-
<td>
|
3177 |
-
<input type="checkbox" id="showbreadcrumbspermalinks" name="showbreadcrumbspermalinks" <?php checked( $options['showbreadcrumbspermalinks'] ); ?>/>
|
3178 |
-
</td>
|
3179 |
-
</tr>
|
3180 |
-
<tr>
|
3181 |
-
<td colspan="4"><hr /></td>
|
3182 |
-
</tr>
|
3183 |
<tr>
|
3184 |
<td><?php _e( 'Display alphabetic cat filter', 'link-library' ); ?></td>
|
3185 |
<td><?php $letterfilteroptions = array( 'no' => __( 'Do not display', 'link-library' ), 'beforecats' => __( 'Before Categories', 'link-library' ), 'beforelinks' => __( 'Before Links', 'link-library' ), 'beforecatsandlinks' => __( 'Before Categories and Links', 'link-library' ) ); ?>
|
@@ -3210,11 +2904,11 @@ class link_library_plugin_admin {
|
|
3210 |
jQuery(document).ready(function () {
|
3211 |
jQuery('#nospecificcats').click(function () {
|
3212 |
if (jQuery("#nospecificcats").is(":checked")) {
|
3213 |
-
jQuery('#
|
3214 |
-
jQuery("#
|
3215 |
}
|
3216 |
else {
|
3217 |
-
jQuery('#
|
3218 |
}
|
3219 |
});
|
3220 |
});
|
@@ -3222,11 +2916,11 @@ class link_library_plugin_admin {
|
|
3222 |
jQuery(document).ready(function () {
|
3223 |
jQuery('#noexclusions').click(function () {
|
3224 |
if (jQuery("#noexclusions").is(":checked")) {
|
3225 |
-
jQuery('#
|
3226 |
-
jQuery("#
|
3227 |
}
|
3228 |
else {
|
3229 |
-
jQuery('#
|
3230 |
}
|
3231 |
});
|
3232 |
});
|
@@ -3248,12 +2942,20 @@ class link_library_plugin_admin {
|
|
3248 |
</td>
|
3249 |
<td>
|
3250 |
<select name="order" id="order" style="width:200px;">
|
3251 |
-
<option value="name"<?php
|
3252 |
-
|
|
|
|
|
|
|
|
|
3253 |
<?php if ( $genoptions['catselectmethod'] == 'commalist' || empty( $genoptions['catselectmethod'] ) ) { ?>
|
3254 |
-
<option value="catlist"<?php
|
|
|
|
|
3255 |
<?php } ?>
|
3256 |
-
<option value="order"<?php
|
|
|
|
|
3257 |
</select>
|
3258 |
</td>
|
3259 |
<td style='width:100px'></td>
|
@@ -3412,13 +3114,13 @@ class link_library_plugin_admin {
|
|
3412 |
<?php _e( 'Show Category Description', 'link-library' ); ?>
|
3413 |
</td>
|
3414 |
<td class="lltooltip" title="<?php _e( 'Use [ and ] in the description to perform special actions using HTML such as inserting images instead of < and >', 'link-library' ); ?>">
|
3415 |
-
<input type="checkbox" id="showcategorydesclinks" name="showcategorydesclinks" <?php
|
|
|
|
|
3416 |
<span style='margin-left: 17px'><?php _e( 'Position', 'link-library' ); ?>:</span>
|
3417 |
<select name="catdescpos" id="catdescpos" style="width:100px;">
|
3418 |
<option value="right"<?php selected( $options['catdescpos'] == 'right' ); ?>><?php _e( 'Right', 'link-library' ); ?></option>
|
3419 |
<option value="left"<?php selected( $options['catdescpos'] == 'left' ); ?>><?php _e( 'Left', 'link-library' ); ?></option>
|
3420 |
-
<option value="aftercatname"<?php selected( $options['catdescpos'] == 'aftercatname' ); ?>><?php _e( 'After Category Name', 'link-library' ); ?></option>
|
3421 |
-
<option value="aftertoplevelcatname"<?php selected( $options['catdescpos'] == 'aftertoplevelcatname' ); ?>><?php _e( 'After Top-Level Category Name', 'link-library' ); ?></option>
|
3422 |
</select>
|
3423 |
</td>
|
3424 |
</tr>
|
@@ -3484,7 +3186,7 @@ class link_library_plugin_admin {
|
|
3484 |
<td>
|
3485 |
<select name="displayastable" id="displayastable" style="width:200px;">
|
3486 |
<option value="true"<?php selected( $options['displayastable'], 'true' ); ?>><?php _e( 'Table', 'link-library' ); ?></option>
|
3487 |
-
<option value="false"<?php selected(
|
3488 |
<option value="nosurroundingtags"<?php selected( $options['displayastable'], 'nosurroundingtags' ); ?>><?php _e( 'No surrounding tags', 'link-library' ); ?></option>
|
3489 |
</select>
|
3490 |
</td>
|
@@ -3504,21 +3206,27 @@ class link_library_plugin_admin {
|
|
3504 |
<td>
|
3505 |
<input type="checkbox" id="showcolumnheaders" name="showcolumnheaders" <?php checked( $options['showcolumnheaders'] ); ?>/>
|
3506 |
</td>
|
|
|
3507 |
<td>
|
3508 |
-
|
3509 |
-
<?php _e( 'Column Headers Override', 'link-library' ); ?>
|
3510 |
</td>
|
3511 |
<td>
|
3512 |
-
<input
|
3513 |
-
</td>
|
3514 |
</td>
|
3515 |
</tr>
|
3516 |
<tr>
|
3517 |
<td>
|
3518 |
-
<?php _e( '
|
3519 |
</td>
|
3520 |
<td>
|
3521 |
-
<input type="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3522 |
</td>
|
3523 |
</tr>
|
3524 |
<tr>
|
@@ -3537,31 +3245,8 @@ class link_library_plugin_admin {
|
|
3537 |
</td>
|
3538 |
</tr>
|
3539 |
<tr>
|
3540 |
-
<td>
|
3541 |
-
<?php _e( '
|
3542 |
-
</td>
|
3543 |
-
<td>
|
3544 |
-
<input type="checkbox" id="hidechildcatlinks" name="hidechildcatlinks" <?php checked( $options['hidechildcatlinks'] ); ?>/>
|
3545 |
-
</td>
|
3546 |
-
<td></td>
|
3547 |
-
<td>
|
3548 |
-
<?php _e( 'Child category depth limit', 'link-library' ); ?>
|
3549 |
-
</td>
|
3550 |
-
<td>
|
3551 |
-
<input type="text" id="childcatdepthlimit" name="childcatdepthlimit" size="2" value="<?php echo $options['childcatdepthlimit']; ?>" />
|
3552 |
-
</td>
|
3553 |
-
</tr>
|
3554 |
-
<tr>
|
3555 |
-
<td>
|
3556 |
-
<?php _e( 'Hide children categories on top page', 'link-library' ); ?>
|
3557 |
-
</td>
|
3558 |
-
<td>
|
3559 |
-
<input type="checkbox" id="hidechildcattop" name="hidechildcattop" <?php checked( $options['hidechildcattop'] ); ?>/>
|
3560 |
-
</td>
|
3561 |
-
</tr>
|
3562 |
-
<tr>
|
3563 |
-
<td class="lltooltip" title='<?php _e( 'Need to be active for Link Categories to work', 'link-library' ); ?>'>
|
3564 |
-
<?php _e( 'Embed HTML anchors', 'link-library' ); ?>
|
3565 |
</td>
|
3566 |
<td class="lltooltip" title='<?php _e( 'Need to be active for Link Categories to work', 'link-library' ); ?>'>
|
3567 |
<input type="checkbox" id="catanchor" name="catanchor" <?php checked( $options['catanchor'] ); ?>/>
|
@@ -3588,20 +3273,19 @@ class link_library_plugin_admin {
|
|
3588 |
<?php _e( 'Arrange the items below via drag-and-drop to order the various Link Library elements.', 'link-library' ); ?>
|
3589 |
<br /><br />
|
3590 |
<ul id="sortable">
|
3591 |
-
<?php if (
|
3592 |
-
$dragndroporder = '1,2,3,4,5,6,7,8,9,10,11,12,13,14
|
3593 |
} else {
|
3594 |
$dragndroporder = $options['dragndroporder'];
|
3595 |
}
|
3596 |
-
|
3597 |
$dragndroparray = explode( ',', $dragndroporder );
|
3598 |
|
3599 |
-
|
|
|
|
|
3600 |
|
3601 |
-
|
3602 |
-
|
3603 |
-
$dragndroparray[] = $new_entry;
|
3604 |
-
}
|
3605 |
}
|
3606 |
|
3607 |
if ( $dragndroparray ) {
|
@@ -3633,7 +3317,7 @@ class link_library_plugin_admin {
|
|
3633 |
<?php break;
|
3634 |
case 7:
|
3635 |
?>
|
3636 |
-
<li id="7" style='background-color: #5ccccc'><?php _e( '
|
3637 |
<?php break;
|
3638 |
case 8:
|
3639 |
?>
|
@@ -3663,14 +3347,6 @@ class link_library_plugin_admin {
|
|
3663 |
?>
|
3664 |
<li id="14" style='background-color: #33eeff'><?php _e( 'Cat Desc', 'link-library' ); ?></li>
|
3665 |
<?php break;
|
3666 |
-
case 15:
|
3667 |
-
?>
|
3668 |
-
<li id="15" style='background-color: #c4d1ee'><?php _e( 'Tags', 'link-library' ); ?></li>
|
3669 |
-
<?php break;
|
3670 |
-
case 16:
|
3671 |
-
?>
|
3672 |
-
<li id="16" style='background-color: #238e00'><?php _e( 'Price', 'link-library' ); ?></li>
|
3673 |
-
<?php break;
|
3674 |
}
|
3675 |
}
|
3676 |
}
|
@@ -3717,19 +3393,20 @@ class link_library_plugin_admin {
|
|
3717 |
<td style='background: #FFF'></td>
|
3718 |
<td style='background: #FFF'></td>
|
3719 |
</tr>
|
3720 |
-
<?php if (
|
3721 |
-
$dragndroporder = '1,2,3,4,5,6,7,8,9,10,11,12,13,14
|
3722 |
} else {
|
3723 |
$dragndroporder = $options['dragndroporder'];
|
3724 |
}
|
|
|
3725 |
$dragndroparray = explode( ',', $dragndroporder );
|
3726 |
|
3727 |
-
|
|
|
|
|
3728 |
|
3729 |
-
|
3730 |
-
|
3731 |
-
$dragndroparray[] = $new_entry;
|
3732 |
-
}
|
3733 |
}
|
3734 |
|
3735 |
if ( $dragndroparray ) {
|
@@ -3740,7 +3417,9 @@ class link_library_plugin_admin {
|
|
3740 |
<tr>
|
3741 |
<td style='background-color: #1240ab; color: #fff' class="lltooltip" title='<?php _e( 'This column allows for the output of text/code before each link image', 'link-library' ); ?>'><?php _e( 'Image', 'link-library' ); ?></td>
|
3742 |
<td style='text-align:center;background: #FFF'>
|
3743 |
-
<input type="checkbox" id="show_images" name="show_images" <?php
|
|
|
|
|
3744 |
</td>
|
3745 |
<td style='background: #FFF' class="lltooltip" title='<?php _e( 'Code/Text to be displayed before each link image', 'link-library' ); ?>'>
|
3746 |
<input type="text" id="beforeimage" name="beforeimage" size="22" value="<?php echo stripslashes( $options['beforeimage'] ); ?>" />
|
@@ -3753,8 +3432,12 @@ class link_library_plugin_admin {
|
|
3753 |
</td>
|
3754 |
<td style='background: #FFF'>
|
3755 |
<select name="sourceimage" id="sourceimage" style="width:200px;">
|
3756 |
-
<option value="primary"<?php
|
3757 |
-
|
|
|
|
|
|
|
|
|
3758 |
</select>
|
3759 |
</td>
|
3760 |
</tr>
|
@@ -3764,7 +3447,9 @@ class link_library_plugin_admin {
|
|
3764 |
<tr>
|
3765 |
<td style='background-color: #4671d5; color: #fff' class="lltooltip" title='<?php _e( 'This column allows for the output of text/code before and after each link name', 'link-library' ); ?>'><?php _e( 'Link Name', 'link-library' ); ?></td>
|
3766 |
<td style='text-align:center;background: #FFF'>
|
3767 |
-
<input type="checkbox" id="showname" name="showname" <?php
|
|
|
|
|
3768 |
</td>
|
3769 |
<td style='background: #FFF' class="lltooltip" title='<?php _e( 'Code/Text to be displayed before each link', 'link-library' ); ?>'>
|
3770 |
<input type="text" id="beforelink" name="beforelink" size="22" value="<?php echo stripslashes( $options['beforelink'] ); ?>" />
|
@@ -3780,9 +3465,8 @@ class link_library_plugin_admin {
|
|
3780 |
</td>
|
3781 |
<td style='background: #FFF'>
|
3782 |
<select name="sourcename" id="sourcename" style="width:200px;">
|
3783 |
-
<option value="primary"<?php selected( $options['sourcename']
|
3784 |
-
<option value="secondary"<?php selected( $options['sourcename']
|
3785 |
-
<option value="permalink"<?php selected( $options['sourcename'] == "permalink" ); ?>><?php _e( 'Dedicated page', 'link-library' ); ?></option>
|
3786 |
</select>
|
3787 |
</td>
|
3788 |
</tr>
|
@@ -3792,7 +3476,9 @@ class link_library_plugin_admin {
|
|
3792 |
<tr>
|
3793 |
<td style='background-color: #39e639; color:#fff' class="lltooltip" title='<?php _e( 'This column allows for the output of text/code before and after each link date stamp', 'link-library' ); ?>'><?php _e( 'Link Date', 'link-library' ); ?></td>
|
3794 |
<td style='background: #FFF;text-align:center' class="lltooltip" title='<?php _e( 'Check to display link date', 'link-library' ); ?>'>
|
3795 |
-
<input type="checkbox" id="showdate" name="showdate" <?php
|
|
|
|
|
3796 |
</td>
|
3797 |
<td style='background: #FFF' class="lltooltip" title='<?php _e( 'Code/Text to be displayed before each date', 'link-library' ); ?>'>
|
3798 |
<input type="text" id="beforedate" name="beforedate" size="22" value="<?php echo stripslashes( $options['beforedate'] ); ?>" />
|
@@ -3809,7 +3495,9 @@ class link_library_plugin_admin {
|
|
3809 |
<tr>
|
3810 |
<td style='background-color: #009999;color:#fff' class="lltooltip" title='<?php _e( 'This column allows for the output of text/code before and after each link description', 'link-library' ); ?>'><?php _e( 'Link Description', 'link-library' ); ?></td>
|
3811 |
<td style='background: #FFF;text-align: center' class="lltooltip" title='<?php _e( 'Check to display link descriptions', 'link-library' ); ?>'>
|
3812 |
-
<input type="checkbox" id="showdescription" name="showdescription" <?php
|
|
|
|
|
3813 |
</td>
|
3814 |
<td style='background: #FFF' class="lltooltip" title='<?php _e( 'Code/Text to be displayed before each description', 'link-library' ); ?>'>
|
3815 |
<input type="text" id="beforedesc" name="beforedesc" size="22" value="<?php echo stripslashes( $options['beforedesc'] ); ?>" />
|
@@ -3826,7 +3514,9 @@ class link_library_plugin_admin {
|
|
3826 |
<tr>
|
3827 |
<td style='background-color: #00cc00;color:#fff' class="lltooltip" title='<?php _e( 'This column allows for the output of text/code before and after each link notes', 'link-library' ); ?>'><?php _e( 'Link Notes', 'link-library' ); ?></td>
|
3828 |
<td style='background: #FFF;text-align: center' class="lltooltip" title='<?php _e( 'Check to display link notes', 'link-library' ); ?>'>
|
3829 |
-
<input type="checkbox" id="shownotes" name="shownotes" <?php
|
|
|
|
|
3830 |
</td>
|
3831 |
<td style='background: #FFF' class="lltooltip" title='<?php _e( 'Code/Text to be displayed before each note', 'link-library' ); ?>'>
|
3832 |
<input type="text" id="beforenote" name="beforenote" size="22" value="<?php echo stripslashes( $options['beforenote'] ); ?>" />
|
@@ -3863,6 +3553,7 @@ class link_library_plugin_admin {
|
|
3863 |
<select name="displayweblink" id="displayweblink" style="width:80px;">
|
3864 |
<option value="false"<?php selected( $options['displayweblink'] == "false" ); ?>><?php _e( 'False', 'link-library' ); ?></option>
|
3865 |
<option value="address"<?php selected( $options['displayweblink'] == "address" ); ?>><?php _e( 'Web Address', 'link-library' ); ?></option>
|
|
|
3866 |
<option value="label"<?php selected( $options['displayweblink'] == "label" ); ?>><?php _e( 'Label', 'link-library' ); ?></option>
|
3867 |
</select>
|
3868 |
</td>
|
@@ -3872,14 +3563,17 @@ class link_library_plugin_admin {
|
|
3872 |
<td style='background: #FFF' class="lltooltip" title='<?php _e( 'Code/Text to be displayed after Web Link', 'link-library' ); ?>'>
|
3873 |
<input type="text" id="afterweblink" name="afterweblink" size="22" value="<?php echo stripslashes( $options['afterweblink'] ); ?>" />
|
3874 |
</td>
|
3875 |
-
<td style='background: #FFF'>
|
3876 |
-
<input
|
3877 |
-
<input class="lltooltip" title='<?php _e( 'Target that will be assigned to web links.', 'link-library' ); ?>' type="text" id="weblinktarget" name="weblinktarget" size="9" value="<?php echo stripslashes( $options['weblinktarget'] ); ?>" />
|
3878 |
</td>
|
3879 |
<td style='background: #FFF' class="lltooltip" title='<?php _e( 'Select which link address will be displayed / used for link', 'link-library' ); ?>'>
|
3880 |
<select name="sourceweblink" id="sourceweblink" style="width:200px;">
|
3881 |
-
<option value="primary"<?php
|
3882 |
-
|
|
|
|
|
|
|
|
|
3883 |
</select>
|
3884 |
</td>
|
3885 |
</tr>
|
@@ -3890,10 +3584,18 @@ class link_library_plugin_admin {
|
|
3890 |
<td style='background-color: #6c8cd5;color:#fff' class="lltooltip" title='<?php _e( 'This column allows for the output of text/code before and after the Telephone Number', 'link-library' ); ?>'><?php _e( 'Telephone', 'link-library' ); ?></td>
|
3891 |
<td style='text-align:center;background: #FFF'>
|
3892 |
<select name="showtelephone" id="showtelephone" style="width:80px;">
|
3893 |
-
<option value="false"<?php
|
3894 |
-
|
3895 |
-
|
3896 |
-
<option value="
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3897 |
</select>
|
3898 |
</td>
|
3899 |
<td style='background: #FFF' class="lltooltip" title='<?php _e( 'Code/Text to be displayed before Telephone Number', 'link-library' ); ?>'>
|
@@ -3907,8 +3609,12 @@ class link_library_plugin_admin {
|
|
3907 |
</td>
|
3908 |
<td style='background: #FFF' class="lltooltip" title='<?php _e( 'Select which link address will be displayed / used for link', 'link-library' ); ?>'>
|
3909 |
<select name="sourcetelephone" id="sourcetelephone" style="width:200px;">
|
3910 |
-
<option value="primary"<?php
|
3911 |
-
|
|
|
|
|
|
|
|
|
3912 |
</select>
|
3913 |
</td>
|
3914 |
</tr>
|
@@ -3919,12 +3625,24 @@ class link_library_plugin_admin {
|
|
3919 |
<td style='background-color: #67e667;color:#fff' class="lltooltip" title='<?php _e( 'This column allows for the output of text/code before and after the E-mail', 'link-library' ); ?>'><?php _e( 'E-mail', 'link-library' ); ?></td>
|
3920 |
<td style='text-align:center;background: #FFF'>
|
3921 |
<select name="showemail" id="showemail" style="width:80px;">
|
3922 |
-
<option value="false"<?php
|
3923 |
-
|
3924 |
-
|
3925 |
-
<option value="
|
3926 |
-
|
3927 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3928 |
</select>
|
3929 |
</td>
|
3930 |
<td style='background: #FFF' class="lltooltip" title='<?php _e( 'Code/Text to be displayed before E-mail', 'link-library' ); ?>'>
|
@@ -3946,7 +3664,9 @@ class link_library_plugin_admin {
|
|
3946 |
<tr>
|
3947 |
<td style='background-color: #33cccc;color:#fff' class="lltooltip" title='<?php _e( 'This column allows for the output of text/code before and after Link Hits', 'link-library' ); ?>'><?php _e( 'Link Hits', 'link-library' ); ?></td>
|
3948 |
<td style='text-align:center;background: #FFF'>
|
3949 |
-
<input type="checkbox" id="showlinkhits" name="showlinkhits" <?php
|
|
|
|
|
3950 |
</td>
|
3951 |
<td style='background: #FFF' class="lltooltip" title='<?php _e( 'Code/Text to be displayed before Link Hits', 'link-library' ); ?>'>
|
3952 |
<input type="text" id="beforelinkhits" name="beforelinkhits" size="22" value="<?php echo stripslashes( $options['beforelinkhits'] ); ?>" />
|
@@ -3963,7 +3683,9 @@ class link_library_plugin_admin {
|
|
3963 |
<tr>
|
3964 |
<td style='background-color: #33cc00;color:#fff' class="lltooltip" title='<?php _e( 'This column allows for the output of text/code before and after the Link Rating', 'link-library' ); ?>'><?php _e( 'Link Rating', 'link-library' ); ?></td>
|
3965 |
<td style='text-align:center;background: #FFF'>
|
3966 |
-
<input type="checkbox" id="showrating" name="showrating" <?php
|
|
|
|
|
3967 |
</td>
|
3968 |
<td style='background: #FFF' class="lltooltip" title='<?php _e( 'Code/Text to be displayed before Link Rating', 'link-library' ); ?>'>
|
3969 |
<input type="text" id="beforelinkrating" name="beforelinkrating" size="22" value="<?php echo stripslashes( $options['beforelinkrating'] ); ?>" />
|
@@ -3980,7 +3702,9 @@ class link_library_plugin_admin {
|
|
3980 |
<tr>
|
3981 |
<td style='background-color: #33ccff;color:#fff' class="lltooltip" title='<?php _e( 'This column allows for the output of text/code before and after the Link Large Description', 'link-library' ); ?>'><?php _e( 'Link Large Description', 'link-library' ); ?></td>
|
3982 |
<td style='text-align:center;background: #FFF'>
|
3983 |
-
<input type="checkbox" id="showlargedescription" name="showlargedescription" <?php
|
|
|
|
|
3984 |
</td>
|
3985 |
<td style='background: #FFF' class="lltooltip" title='<?php _e( 'Code/Text to be displayed before Link Large Description', 'link-library' ); ?>'>
|
3986 |
<input type="text" id="beforelargedescription" name="beforelargedescription" size="22" value="<?php echo stripslashes( $options['beforelargedescription'] ); ?>" />
|
@@ -4026,48 +3750,6 @@ class link_library_plugin_admin {
|
|
4026 |
<td style='background: #FFF'></td>
|
4027 |
</tr>
|
4028 |
<?php break;
|
4029 |
-
case 15: /* -------------------------------- Link Tags -------------------------------------------*/
|
4030 |
-
?>
|
4031 |
-
<tr>
|
4032 |
-
<td style='background-color: #c4d1ee;color:#fff' class="lltooltip" title='<?php _e( 'This column allows for the output of tags associated with the link', 'link-library' ); ?>'><?php _e( 'Link Tags', 'link-library' ); ?></td>
|
4033 |
-
<td style='text-align:center;background: #FFF'>
|
4034 |
-
<input type="checkbox" id="showlinktags" name="showlinktags" <?php checked( $options['showlinktags'] ); ?>/>
|
4035 |
-
</td>
|
4036 |
-
<td style='background: #FFF' class="lltooltip" title='<?php _e( 'Code/Text to be displayed before Link Tags', 'link-library' ); ?>'>
|
4037 |
-
<input type="text" id="beforelinktags" name="beforelinktags" size="22" value="<?php echo stripslashes( $options['beforelinktags'] ); ?>" />
|
4038 |
-
</td>
|
4039 |
-
<td style='background: #FFF' class="lltooltip" title='<?php _e( 'Code/Text to be displayed after Link Tags', 'link-library' ); ?>'>
|
4040 |
-
<input type="text" id="afterlinktags" name="afterlinktags" size="22" value="<?php echo stripslashes( $options['afterlinktags'] ); ?>" />
|
4041 |
-
</td>
|
4042 |
-
<td style='background: #FFF'></td>
|
4043 |
-
<td style='background: #FFF'></td>
|
4044 |
-
</tr>
|
4045 |
-
<?php break;
|
4046 |
-
case 16: /* -------------------------------- Link Price -------------------------------------------*/
|
4047 |
-
?>
|
4048 |
-
<tr>
|
4049 |
-
<td style='background-color: #238e00;color:#fff' class="lltooltip" title='<?php _e( 'This column allows for the output of the price field associated with the link', 'link-library' ); ?>'><?php _e( 'Link Price', 'link-library' ); ?></td>
|
4050 |
-
<td style='text-align:center;background: #FFF'>
|
4051 |
-
<input type="checkbox" id="showlinkprice" name="showlinkprice" <?php checked( $options['showlinkprice'] ); ?>/>
|
4052 |
-
</td>
|
4053 |
-
<td style='background: #FFF' class="lltooltip" title='<?php _e( 'Code/Text to be displayed before Link Price', 'link-library' ); ?>'>
|
4054 |
-
<input type="text" id="beforelinkprice" name="beforelinkprice" size="22" value="<?php echo stripslashes( $options['beforelinkprice'] ); ?>" />
|
4055 |
-
</td>
|
4056 |
-
<td style='background: #FFF' class="lltooltip" title='<?php _e( 'Code/Text to be displayed after Link Price', 'link-library' ); ?>'>
|
4057 |
-
<input type="text" id="afterlinkprice" name="afterlinkprice" size="22" value="<?php echo stripslashes( $options['afterlinkprice'] ); ?>" />
|
4058 |
-
</td>
|
4059 |
-
<td style='background: #FFF'>
|
4060 |
-
<input type="text" id="linkcurrency" name="linkcurrency" size="3" value="<?php echo stripslashes( $options['linkcurrency'] ); ?>" class="lltooltip" title='<?php _e( 'Currency symbol to be displayed next to price', 'link-library' ); ?>' />
|
4061 |
-
Show 0.00 as free <input type="checkbox" id="show0asfree" name="show0asfree" <?php checked( $options['show0asfree'] ); ?>/>
|
4062 |
-
</td>
|
4063 |
-
<td style='background: #FFF'>
|
4064 |
-
<select name="linkcurrencyplacement" id="linkcurrencyplacement" style="width:200px;">
|
4065 |
-
<option value="before"<?php selected( $options['linkcurrencyplacement'] == 'before' ); ?>><?php _e( 'Before Price', 'link-library' ); ?></option>
|
4066 |
-
<option value="after"<?php selected( $options['linkcurrencyplacement'] == 'after' ); ?>><?php _e( 'After Price', 'link-library' ); ?></option>
|
4067 |
-
</select>
|
4068 |
-
</td>
|
4069 |
-
</tr>
|
4070 |
-
<?php break;
|
4071 |
}
|
4072 |
}
|
4073 |
}
|
@@ -4109,7 +3791,9 @@ class link_library_plugin_admin {
|
|
4109 |
<?php _e( 'Show Link Updated Flag', 'link-library' ); ?>
|
4110 |
</td>
|
4111 |
<td style='width:75px;padding:0px 20px 0px 20px'>
|
4112 |
-
<input type="checkbox" id="showupdated" name="showupdated" <?php
|
|
|
|
|
4113 |
</td>
|
4114 |
<td style='width:20px'>
|
4115 |
</td>
|
@@ -4117,7 +3801,9 @@ class link_library_plugin_admin {
|
|
4117 |
<?php _e( 'Convert [] to <> in Link Description and Notes', 'link-library' ); ?>
|
4118 |
</td>
|
4119 |
<td style='width:75px;padding:0px 20px 0px 20px'>
|
4120 |
-
<input type="checkbox" id="use_html_tags" name="use_html_tags" <?php
|
|
|
|
|
4121 |
</td>
|
4122 |
</tr>
|
4123 |
<tr>
|
@@ -4127,11 +3813,11 @@ class link_library_plugin_admin {
|
|
4127 |
<td style='width:75px;padding:0px 20px 0px 20px'>
|
4128 |
<select id="showupdatedpos" name="showupdatedpos">
|
4129 |
<?php
|
4130 |
-
|
4131 |
|
4132 |
-
|
4133 |
-
|
4134 |
-
|
4135 |
?>
|
4136 |
</select>
|
4137 |
</td>
|
@@ -4192,14 +3878,14 @@ class link_library_plugin_admin {
|
|
4192 |
</td>
|
4193 |
<td><?php _e( 'Pop-Up Width', 'link-library' ); ?></td>
|
4194 |
<td>
|
4195 |
-
<input type="text" id="popup_width" name="popup_width" size="4" value="<?php if ( !isset( $options['popup_width'] ) ||
|
4196 |
echo '300';
|
4197 |
} else {
|
4198 |
echo strval( $options['popup_width'] );
|
4199 |
} ?>" /></td>
|
4200 |
<td><?php _e( 'Pop-Up Height', 'link-library' ); ?></td>
|
4201 |
<td>
|
4202 |
-
<input type="text" id="popup_height" name="popup_height" size="4" value="<?php if ( !isset( $options['popup_height'] ) ||
|
4203 |
echo '400';
|
4204 |
} else {
|
4205 |
echo strval( $options['popup_height'] );
|
@@ -4227,13 +3913,17 @@ class link_library_plugin_admin {
|
|
4227 |
<?php _e( 'Show RSS Link using Text', 'link-library' ); ?>
|
4228 |
</td>
|
4229 |
<td style='width:75px;padding-right:20px'>
|
4230 |
-
<input type="checkbox" id="show_rss" name="show_rss" <?php
|
|
|
|
|
4231 |
</td>
|
4232 |
<td>
|
4233 |
<?php _e( 'Show RSS Link using Standard Icon', 'link-library' ); ?>
|
4234 |
</td>
|
4235 |
<td style='width:75px;padding-right:20px'>
|
4236 |
-
<input type="checkbox" id="show_rss_icon" name="show_rss_icon" <?php
|
|
|
|
|
4237 |
</td>
|
4238 |
<td></td>
|
4239 |
<td style='width:75px;padding-right:20px'></td>
|
@@ -4277,9 +3967,10 @@ class link_library_plugin_admin {
|
|
4277 |
<tr>
|
4278 |
<td><?php _e( 'RSS Preview Width', 'link-library' ); ?></td>
|
4279 |
<td>
|
4280 |
-
<input type="text" id="rsspreviewwidth" name="rsspreviewwidth" size="5" value="<?php echo strval( $options['rsspreviewwidth'] ); ?>" /></td
|
4281 |
<td><?php _e( 'RSS Preview Height', 'link-library' ); ?></td>
|
4282 |
-
<td
|
|
|
4283 |
<td><?php _e( 'Skip links with no RSS inline items', 'link-library' ); ?></td>
|
4284 |
<td><input type="checkbox" id="rssfeedinlineskipempty" name="rssfeedinlineskipempty" <?php checked( $options['rssfeedinlineskipempty'] ); ?>/></td>
|
4285 |
</tr>
|
@@ -4301,7 +3992,9 @@ class link_library_plugin_admin {
|
|
4301 |
<?php _e( 'Use thumbnail service for dynamic link images', 'link-library' ); ?>
|
4302 |
</td>
|
4303 |
<td class='lltooltip' title='<?php _e( 'Checking this option will get images from the thumbshots web site every time', 'link-library' ); ?>.' style='width:75px;padding-right:20px'>
|
4304 |
-
<input type="checkbox" id="usethumbshotsforimages" name="usethumbshotsforimages" <?php
|
|
|
|
|
4305 |
</td>
|
4306 |
</tr>
|
4307 |
<tr>
|
@@ -4309,7 +4002,9 @@ class link_library_plugin_admin {
|
|
4309 |
<?php _e( 'Give priority to images assigned to links if present', 'link-library' ); ?>
|
4310 |
</td>
|
4311 |
<td>
|
4312 |
-
<input type="checkbox" id="uselocalimagesoverthumbshots" name="uselocalimagesoverthumbshots" <?php
|
|
|
|
|
4313 |
</tr>
|
4314 |
<tr>
|
4315 |
<td><?php _e( 'Generate Images / Favorite Icons', 'link-library' ); ?></td>
|
@@ -4347,7 +4042,7 @@ class link_library_plugin_admin {
|
|
4347 |
</td>
|
4348 |
<td><?php _e( 'Number of items in RSS feed', 'link-library' ); ?></td>
|
4349 |
<td style='width:75px;padding-right:20px'>
|
4350 |
-
<input type="text" id="numberofrssitems" name="numberofrssitems" size="3" value="<?php if (
|
4351 |
echo '10';
|
4352 |
} else {
|
4353 |
echo strval( $options['numberofrssitems'] );
|
@@ -4643,16 +4338,29 @@ class link_library_plugin_admin {
|
|
4643 |
<td>
|
4644 |
<?php
|
4645 |
|
4646 |
-
|
4647 |
-
$
|
4648 |
-
$
|
4649 |
-
$
|
4650 |
-
$
|
4651 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4652 |
|
4653 |
if ( $linkcats ) { ?>
|
4654 |
<select name="addlinkdefaultcat" id="addlinkdefaultcat" value="<?php echo $options['addlinkdefaultcat']; ?>">
|
4655 |
-
|
4656 |
<?php foreach ( $linkcats as $linkcat ) { ?>
|
4657 |
<option value="<?php echo $linkcat->term_id; ?>" <?php selected( $linkcat->term_id, $options['addlinkdefaultcat'] ); ?>><?php echo $linkcat->name; ?></option>
|
4658 |
<?php } ?>
|
@@ -4913,9 +4621,89 @@ class link_library_plugin_admin {
|
|
4913 |
function settingssets_importexport_meta_box( $data ) {
|
4914 |
$options = $data['options'];
|
4915 |
$settings = $data['settings'];
|
|
|
4916 |
?>
|
4917 |
|
4918 |
<div style='padding-top:15px' id="ll-importexport" class="content-section">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4919 |
<input type='hidden' value='<?php echo $settings; ?>' name='settingsetid' id='settingsetid' />
|
4920 |
<table>
|
4921 |
<tr>
|
@@ -4949,7 +4737,9 @@ class link_library_plugin_admin {
|
|
4949 |
<tr>
|
4950 |
<td><?php _e( 'Delete links that return a 403 error', 'link-library' ); ?></td>
|
4951 |
<td>
|
4952 |
-
<input type="checkbox" id="recipcheckdelete403" name="recipcheckdelete403" <?php
|
|
|
|
|
4953 |
</tr>
|
4954 |
<tr>
|
4955 |
<td>
|
@@ -4974,35 +4764,116 @@ class link_library_plugin_admin {
|
|
4974 |
|
4975 |
|
4976 |
/************************************************ Render Custom Meta Box in Link Editor *******************************************/
|
|
|
|
|
4977 |
|
4978 |
-
|
4979 |
-
$link_url = get_post_meta( $link->ID, 'link_url', true );
|
4980 |
|
4981 |
-
if (
|
4982 |
-
$
|
4983 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4984 |
|
4985 |
-
|
4986 |
-
|
4987 |
-
|
4988 |
-
|
4989 |
-
|
|
|
|
|
4990 |
?>
|
4991 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4992 |
<tr>
|
4993 |
-
<td style=
|
4994 |
-
<td
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4995 |
</tr>
|
4996 |
<tr>
|
4997 |
-
<td style=
|
4998 |
-
<td
|
|
|
|
|
|
|
4999 |
</tr>
|
5000 |
<tr>
|
5001 |
-
<td><?php _e( '
|
5002 |
-
<td
|
|
|
|
|
5003 |
</tr>
|
5004 |
<tr>
|
5005 |
-
<td><?php _e( '
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5006 |
<td>
|
5007 |
<?php
|
5008 |
$editorsettings = array( 'media_buttons' => false,
|
@@ -5010,49 +4881,22 @@ class link_library_plugin_admin {
|
|
5010 |
'textarea_name' => 'link_textfield',
|
5011 |
'wpautop' => false );
|
5012 |
|
5013 |
-
wp_editor( isset( $link_textfield ) ? stripslashes( $link_textfield ) : '', 'link_textfield', $editorsettings ); ?>
|
5014 |
</td>
|
5015 |
</tr>
|
5016 |
<tr>
|
5017 |
-
<td><?php _e( '
|
5018 |
-
<td><input type="text" style="width:100%" id="link_rss" type="link_rss" name="link_rss" value="<?php echo $link_rss; ?>"></td>
|
5019 |
-
</tr>
|
5020 |
-
<tr>
|
5021 |
-
<td><?php _e( 'Target', 'link-library' ); ?></td>
|
5022 |
-
<td><?php
|
5023 |
-
$target_array = array( '' => '_none (same window or tab)', '_blank' => '_blank (new window or tab)', '_top' => '_top (current window or tab, with no frames)' );
|
5024 |
-
echo '<select name="link_target" id="link_target">';
|
5025 |
-
foreach ( $target_array as $target_value => $target_item ) {
|
5026 |
-
echo '<option value="' . $target_value . '" ' . selected( $target_value, $link_target ) . '>' . $target_item . '</option>';
|
5027 |
-
}
|
5028 |
-
echo '</select>';
|
5029 |
-
?></td>
|
5030 |
-
</tr>
|
5031 |
-
</table>
|
5032 |
-
<?php }
|
5033 |
-
|
5034 |
-
function ll_link_image_info( $link ) {
|
5035 |
-
$genoptions = get_option( 'LinkLibraryGeneral' );
|
5036 |
-
$link_image = get_post_meta( $link->ID, 'link_image', true );
|
5037 |
-
?>
|
5038 |
-
<table>
|
5039 |
-
<tr>
|
5040 |
-
<td><?php _e( 'Current Image', 'link-library' ); ?></td>
|
5041 |
<td>
|
5042 |
<div id='current_link_image'>
|
5043 |
-
<?php if ( isset( $link_image ) &&
|
5044 |
-
<img id="actual_link_image" src="<?php echo $link_image ?>" />
|
5045 |
<?php else: ?>
|
5046 |
<span id="noimage"><?php _e( 'None Assigned', 'link-library' ); ?></span>
|
5047 |
<?php endif; ?>
|
5048 |
</div>
|
5049 |
</td>
|
5050 |
</tr>
|
5051 |
-
|
5052 |
-
<td><?php _e( 'Image URL', 'link-library' ); ?></td>
|
5053 |
-
<td><input type="text" style="width:100%" id="link_image" type="link_image" name="link_image" value="<?php echo $link_image; ?>"></td>
|
5054 |
-
</tr>
|
5055 |
-
<?php if ( isset( $link->ID ) && !empty( $link->ID ) ): ?>
|
5056 |
<tr>
|
5057 |
<td><?php _e( 'Automatic Image Generation', 'link-library' ); ?></td>
|
5058 |
<td title="<?php if ( $genoptions['thumbnailgenerator'] == 'thumbshots' && empty( $genoptions['thumbshotscid'] ) ) {
|
@@ -5070,13 +4914,20 @@ class link_library_plugin_admin {
|
|
5070 |
<?php endif; ?>
|
5071 |
<?php if ( function_exists( 'wp_enqueue_media' ) ) { ?>
|
5072 |
<tr>
|
5073 |
-
<td><?php _e( 'Image Upload', 'link-library' ); ?></td>
|
5074 |
<td>
|
5075 |
<input type="button" class="upload_image_button" value="<?php _e( 'Launch Media Uploader', 'link-library' ); ?>">
|
5076 |
</td>
|
5077 |
</tr>
|
5078 |
-
|
|
|
|
|
|
|
|
|
5079 |
<?php } ?>
|
|
|
|
|
|
|
5080 |
|
5081 |
<script type="text/javascript">
|
5082 |
jQuery(document).ready(function () {
|
@@ -5118,6 +4969,7 @@ class link_library_plugin_admin {
|
|
5118 |
file_frame.open();
|
5119 |
});
|
5120 |
|
|
|
5121 |
jQuery("#ll_updated_manual").click(function () {
|
5122 |
if (jQuery('#ll_updated_manual').is(':checked')) {
|
5123 |
jQuery('#ll_link_updated').attr('disabled', false);
|
@@ -5137,11 +4989,12 @@ class link_library_plugin_admin {
|
|
5137 |
.attr("encoding", "multipart/form-data")
|
5138 |
.attr( "accept-charset", "UTF-8" )
|
5139 |
;
|
|
|
5140 |
jQuery('#genthumbs').click(function () {
|
5141 |
-
var linkname = jQuery('#
|
5142 |
var linkurl = jQuery('#link_url').val();
|
5143 |
|
5144 |
-
if (
|
5145 |
jQuery('#current_link_image').fadeOut('fast');
|
5146 |
|
5147 |
jQuery.ajax({
|
@@ -5156,7 +5009,7 @@ class link_library_plugin_admin {
|
|
5156 |
cid : '<?php echo $genoptions['thumbshotscid']; ?>',
|
5157 |
filepath : 'link-library-images',
|
5158 |
filepathtype: 'absolute',
|
5159 |
-
linkid : <?php if( isset( $link->
|
5160 |
},
|
5161 |
success: function (data) {
|
5162 |
if (data != '') {
|
@@ -5174,7 +5027,7 @@ class link_library_plugin_admin {
|
|
5174 |
});
|
5175 |
|
5176 |
jQuery('#genfavicons').click(function () {
|
5177 |
-
var linkname = jQuery('#
|
5178 |
var linkurl = jQuery('#link_url').val();
|
5179 |
|
5180 |
if (linkname != '' && linkurl != '') {
|
@@ -5190,7 +5043,7 @@ class link_library_plugin_admin {
|
|
5190 |
mode : 'favicononly',
|
5191 |
filepath : 'link-library-favicons',
|
5192 |
filepathtype: 'absolute',
|
5193 |
-
linkid : <?php if( isset( $link->
|
5194 |
|
5195 |
|
5196 |
},
|
@@ -5211,348 +5064,10 @@ class link_library_plugin_admin {
|
|
5211 |
|
5212 |
});
|
5213 |
</script>
|
5214 |
-
<?php }
|
5215 |
-
|
5216 |
-
function ll_link_edit_extra( $link ) {
|
5217 |
-
$link_featured = get_post_meta( $link->ID, 'link_featured', true );
|
5218 |
-
$link_no_follow = get_post_meta( $link->ID, 'link_no_follow', true );
|
5219 |
-
$link_rating = get_post_meta( $link->ID, 'link_rating', true );
|
5220 |
-
$link_second_url = get_post_meta( $link->ID, 'link_second_url', true );
|
5221 |
-
$link_telephone = get_post_meta( $link->ID, 'link_telephone', true );
|
5222 |
-
$link_email = get_post_meta( $link->ID, 'link_email', true );
|
5223 |
-
$link_submitter = get_post_meta( $link->ID, 'link_submitter', true );
|
5224 |
-
$link_submitter_name = get_post_meta( $link->ID, 'link_submitter_name', true );
|
5225 |
-
$link_submitter_email = get_post_meta( $link->ID, 'link_submitter_email', true );
|
5226 |
-
$link_price = get_post_meta( $link->ID, 'link_price', true );
|
5227 |
-
$link_reciprocal = get_post_meta( $link->ID, 'link_reciprocal', true );
|
5228 |
-
$link_rel = get_post_meta( $link->ID, 'link_rel', true );
|
5229 |
-
|
5230 |
-
$link_updated = get_post_meta( $link->ID, 'link_updated', true );
|
5231 |
-
|
5232 |
-
$link_updated_manual = get_post_meta( $link->ID, 'link_updated_manual', true );
|
5233 |
-
|
5234 |
-
if ( empty( $link_updated ) ) {
|
5235 |
-
$link_updated = current_time( 'mysql' );
|
5236 |
-
} else {
|
5237 |
-
$link_updated = date( "Y-m-d H:i", $link_updated );
|
5238 |
-
}
|
5239 |
-
|
5240 |
-
$link_visits = get_post_meta( $link->ID, 'link_visits', true );
|
5241 |
-
|
5242 |
-
if ( empty( $link_visits ) ) {
|
5243 |
-
$link_visits = 0;
|
5244 |
-
}
|
5245 |
-
?>
|
5246 |
-
|
5247 |
-
<input type="hidden" name="form_submitted" value="true">
|
5248 |
-
<table>
|
5249 |
-
<tr>
|
5250 |
-
<td style='width: 200px'><?php _e( 'Featured Item', 'link-library' ); ?></td>
|
5251 |
-
<td>
|
5252 |
-
<input type="checkbox" id="link_featured" name="link_featured" <?php checked( $link_featured ); ?>/>
|
5253 |
-
</td>
|
5254 |
-
</tr>
|
5255 |
-
<tr>
|
5256 |
-
<td style='width: 200px'><?php _e( 'No Follow', 'link-library' ); ?></td>
|
5257 |
-
<td>
|
5258 |
-
<input type="checkbox" id="link_no_follow" name="link_no_follow" <?php checked( $link_no_follow ); ?>/>
|
5259 |
-
</td>
|
5260 |
-
</tr>
|
5261 |
-
<tr>
|
5262 |
-
<td style='width: 200px'><?php _e( 'Rating', 'link-library' ); ?></td>
|
5263 |
-
<td>
|
5264 |
-
<select name="link_rating" id="link_rating">
|
5265 |
-
<?php for( $counter = 0; $counter <= 10; $counter++ ) {
|
5266 |
-
echo '<option value="' . $counter . '" ' . selected( $counter, $link_rating, false ). '>' . $counter . '</option>';
|
5267 |
-
} ?>
|
5268 |
-
</select>
|
5269 |
-
</td>
|
5270 |
-
</tr>
|
5271 |
-
<tr>
|
5272 |
-
<td style='width: 200px'><?php _e( 'Updated Date', 'link-library' ); ?></td>
|
5273 |
-
<td><span style="float:left;padding-top:6px">Set Manually
|
5274 |
-
<input type="checkbox" id="link_updated_manual" name="link_updated_manual" <?php checked( $link_updated_manual ); ?>/></span>
|
5275 |
-
<input type="text" <?php if ( !$link_updated_manual || empty( $link_updated_manual ) ) {
|
5276 |
-
echo 'disabled="disabled"';
|
5277 |
-
} ?> id="link_updated" name="link_updated" size="50%" value="<?php echo $link_updated; ?>" />
|
5278 |
-
</td>
|
5279 |
-
</tr>
|
5280 |
-
<tr>
|
5281 |
-
<td style='width: 200px'><?php _e( 'Secondary Web Address', 'link-library' ); ?></td>
|
5282 |
-
<td>
|
5283 |
-
<input type="text" id="link_second_url" name="link_second_url" style="width:100%" value="<?php echo $link_second_url; ?>" /> <?php if ( !empty( $link_second_url ) ) {
|
5284 |
-
echo " <a href=" . esc_html( $link_second_url ) . ">" . __( 'Visit', 'link-library' ) . "</a>";
|
5285 |
-
} ?></td>
|
5286 |
-
</tr>
|
5287 |
-
<tr>
|
5288 |
-
<td><?php _e( 'Telephone', 'link-library' ); ?></td>
|
5289 |
-
<td>
|
5290 |
-
<input type="text" id="link_telephone" name="link_telephone" style="width:100%" value="<?php echo $link_telephone; ?>" />
|
5291 |
-
</td>
|
5292 |
-
</tr>
|
5293 |
-
<tr>
|
5294 |
-
<td><?php _e( 'E-mail', 'link-library' ); ?></td>
|
5295 |
-
<td>
|
5296 |
-
<input type="text" id="link_email" name="link_email" style="width:100%" value="<?php echo $link_email; ?>" />
|
5297 |
-
</td>
|
5298 |
-
</tr>
|
5299 |
-
<tr>
|
5300 |
-
<td><?php _e( 'Reciprocal Link', 'link-library' ); ?></td>
|
5301 |
-
<td>
|
5302 |
-
<input type="text" id="link_reciprocal" name="link_reciprocal" style="width:100%" value="<?php echo $link_reciprocal; ?>" /> <?php if ( !empty( $link_reciprocal ) ) {
|
5303 |
-
echo " <a href=" . esc_url( stripslashes( $link_reciprocal ) ) . ">" . __( 'Visit', 'link-library' ) . "</a>";
|
5304 |
-
} ?></td>
|
5305 |
-
</tr>
|
5306 |
-
<tr>
|
5307 |
-
<td><?php _e( 'Number of views', 'link-library' ); ?></td>
|
5308 |
-
<td>
|
5309 |
-
<input type="text" id="link_visits" name="link_visits" style="width:100%" value="<?php echo $link_visits; ?>" />
|
5310 |
-
</td>
|
5311 |
-
</tr>
|
5312 |
-
<tr>
|
5313 |
-
<td><?php _e( 'Submitter', 'link-library' ); ?></td>
|
5314 |
-
<td>
|
5315 |
-
<input type="text" id="link_submitter" name="link_submitter" style="width:100%" value="<?php echo $link_submitter; ?>" />
|
5316 |
-
</td>
|
5317 |
-
</tr>
|
5318 |
-
<tr>
|
5319 |
-
<td><?php _e( 'Submitter Name', 'link-library' ); ?></td>
|
5320 |
-
<td>
|
5321 |
-
<input type="text" id="link_submitter_name" name="link_submitter_name" style="width:100%" value="<?php echo $link_submitter_name; ?>" />
|
5322 |
-
</td>
|
5323 |
-
</tr>
|
5324 |
-
<tr>
|
5325 |
-
<td><?php _e( 'Submitter E-mail', 'link-library' ); ?></td>
|
5326 |
-
<td>
|
5327 |
-
<input type="text" id="link_submitter_email" name="link_submitter_email" style="width:100%" value="<?php echo $link_submitter_email; ?>" />
|
5328 |
-
</td>
|
5329 |
-
</tr>
|
5330 |
-
<tr>
|
5331 |
-
<td><?php _e( 'Rel Tags', 'link-library' ); ?></td>
|
5332 |
-
<td>
|
5333 |
-
<input type="text" id="link_rel" name="link_rel" size="80" value="<?php echo $link_rel; ?>" />
|
5334 |
-
</td>
|
5335 |
-
</tr>
|
5336 |
-
<tr>
|
5337 |
-
<td><?php _e( 'Price', 'link-library' ); ?></td>
|
5338 |
-
<td>
|
5339 |
-
<input type="text" id="link_price" name="link_price" size="10" value="<?php echo $link_price; ?>" />
|
5340 |
-
</td>
|
5341 |
-
</tr>
|
5342 |
-
</table>
|
5343 |
-
|
5344 |
-
<script type="text/javascript">
|
5345 |
-
jQuery( document ).ready(function() {
|
5346 |
-
jQuery("#link_updated_manual").click(function () {
|
5347 |
-
if (jQuery('#link_updated_manual').is(':checked')) {
|
5348 |
-
jQuery('#link_updated').attr('disabled', false);
|
5349 |
-
} else {
|
5350 |
-
jQuery('#link_updated').attr('disabled', true);
|
5351 |
-
}
|
5352 |
-
});
|
5353 |
-
});
|
5354 |
-
</script>
|
5355 |
|
5356 |
<?php
|
5357 |
}
|
5358 |
|
5359 |
-
function ll_save_link_fields( $link_id, $link ) {
|
5360 |
-
// Check post type for book reviews
|
5361 |
-
|
5362 |
-
if ( $link->post_type == 'link_library_links' && isset( $_POST['action'] ) && 'editpost' == $_POST['action'] ) {
|
5363 |
-
|
5364 |
-
$array_urls_nonce = array( 'link_url' );
|
5365 |
-
foreach ( $array_urls_nonce as $array_url_nonce ) {
|
5366 |
-
if ( isset( $_POST[$array_url_nonce] ) && !empty( $_POST[$array_url_nonce] ) ) {
|
5367 |
-
if ( !isset( $_POST['link_edit_nonce'] ) || wp_verify_nonce( $_POST['link_edit_nonce'], plugin_basename( __FILE__ ) ) ) {
|
5368 |
-
update_post_meta( $link_id, $array_url_nonce, esc_url( $_POST[$array_url_nonce] ) );
|
5369 |
-
}
|
5370 |
-
}
|
5371 |
-
}
|
5372 |
-
|
5373 |
-
$array_urls = array( 'link_rss', 'link_second_url', 'link_reciprocal', 'link_image' );
|
5374 |
-
foreach ( $array_urls as $array_url ) {
|
5375 |
-
if ( isset( $_POST[$array_url] ) ) {
|
5376 |
-
update_post_meta( $link_id, $array_url, esc_url( $_POST[$array_url] ) );
|
5377 |
-
}
|
5378 |
-
}
|
5379 |
-
|
5380 |
-
$array_escape_items = array( 'link_description', 'link_notes', 'link_telephone', 'link_reciprocal', 'link_submitter', 'link_submitter_name', 'link_rel' );
|
5381 |
-
foreach ( $array_escape_items as $array_escape_item ) {
|
5382 |
-
if ( isset( $_POST[$array_escape_item] ) ) {
|
5383 |
-
update_post_meta( $link_id, $array_escape_item, sanitize_text_field( $_POST[$array_escape_item] ) );
|
5384 |
-
}
|
5385 |
-
}
|
5386 |
-
|
5387 |
-
if ( isset( $_POST['link_updated'] ) && !empty( $_POST['link_updated'] ) ) {
|
5388 |
-
update_post_meta( $link_id, 'link_updated', strtotime( $_POST['link_updated'] ) );
|
5389 |
-
} else {
|
5390 |
-
update_post_meta( $link_id, 'link_updated', current_time( 'timestamp' ) );
|
5391 |
-
}
|
5392 |
-
|
5393 |
-
$array_kses_items = array( 'link_textfield' );
|
5394 |
-
foreach ( $array_kses_items as $array_kses_item ) {
|
5395 |
-
if ( isset( $_POST[$array_kses_item] ) ) {
|
5396 |
-
update_post_meta( $link_id, $array_kses_item, wp_kses_post( $_POST[$array_kses_item] ) );
|
5397 |
-
}
|
5398 |
-
}
|
5399 |
-
|
5400 |
-
$array_email_items = array( 'link_email', 'link_submitter_email' );
|
5401 |
-
foreach ( $array_email_items as $array_email_item ) {
|
5402 |
-
if ( isset( $_POST[$array_email_item] ) ) {
|
5403 |
-
update_post_meta( $link_id, $array_email_item, sanitize_email( $_POST[$array_email_item] ) );
|
5404 |
-
}
|
5405 |
-
}
|
5406 |
-
|
5407 |
-
$array_price_items = array( 'link_price' );
|
5408 |
-
foreach ( $array_price_items as $array_price_item ) {
|
5409 |
-
if ( isset( $_POST[$array_price_item] ) ) {
|
5410 |
-
update_post_meta( $link_id, $array_price_item, floatval( $_POST[$array_price_item] ) );
|
5411 |
-
}
|
5412 |
-
}
|
5413 |
-
|
5414 |
-
$array_num_items = array( 'link_rating', 'link_visits' );
|
5415 |
-
foreach ( $array_num_items as $array_num_item ) {
|
5416 |
-
if ( isset( $_POST[$array_num_item] ) ) {
|
5417 |
-
update_post_meta( $link_id, $array_num_item, intval( $_POST[$array_num_item] ) );
|
5418 |
-
}
|
5419 |
-
}
|
5420 |
-
|
5421 |
-
$array_direct_items = array( 'link_target' );
|
5422 |
-
foreach ( $array_direct_items as $array_direct_item ) {
|
5423 |
-
if ( isset( $_POST[$array_direct_item] ) ) {
|
5424 |
-
update_post_meta( $link_id, $array_direct_item, $_POST[$array_direct_item] );
|
5425 |
-
}
|
5426 |
-
}
|
5427 |
-
|
5428 |
-
$array_boolean_items = array( 'link_featured', 'link_no_follow', 'link_updated_manual' );
|
5429 |
-
foreach ( $array_boolean_items as $array_boolean_item ) {
|
5430 |
-
if ( isset( $_POST[$array_boolean_item] ) ) {
|
5431 |
-
update_post_meta( $link_id, $array_boolean_item, true );
|
5432 |
-
} else {
|
5433 |
-
update_post_meta( $link_id, $array_boolean_item, false );
|
5434 |
-
}
|
5435 |
-
}
|
5436 |
-
|
5437 |
-
if ( isset( $_POST['link_featured'] ) ) {
|
5438 |
-
update_post_meta( $link_id, 'link_featured', 1 );
|
5439 |
-
} else {
|
5440 |
-
update_post_meta( $link_id, 'link_featured', 0 );
|
5441 |
-
}
|
5442 |
-
|
5443 |
-
$newrating = intval( $_POST['link_rating'] );
|
5444 |
-
if ( $newrating < 0 ) {
|
5445 |
-
$newrating = 0;
|
5446 |
-
} elseif ( $newrating > 10 ) {
|
5447 |
-
$newrating = 10;
|
5448 |
-
}
|
5449 |
-
}
|
5450 |
-
}
|
5451 |
-
|
5452 |
-
function ll_add_columns( $columns ) {
|
5453 |
-
$columns['link_library_url'] = 'URL';
|
5454 |
-
$columns['link_library_categories'] = 'Categories';
|
5455 |
-
$columns['link_library_rating'] = 'Rating';
|
5456 |
-
$columns['link_library_visits'] = 'Hits';
|
5457 |
-
unset( $columns['comments'] );
|
5458 |
-
unset( $columns['date'] );
|
5459 |
-
return $columns;
|
5460 |
-
}
|
5461 |
-
|
5462 |
-
function ll_populate_columns( $column ) {
|
5463 |
-
if ( 'link_library_url' == $column ) {
|
5464 |
-
$link_url = esc_url( get_post_meta( get_the_ID(), 'link_url', true ) );
|
5465 |
-
echo '<a href="' . $link_url . '">' . $link_url . '</a>';
|
5466 |
-
} elseif ( 'link_library_categories' == $column ) {
|
5467 |
-
$link_categories = wp_get_post_terms( get_the_ID(), 'link_library_category' );
|
5468 |
-
if ( $link_categories ) {
|
5469 |
-
$countcats = 0;
|
5470 |
-
foreach ( $link_categories as $link_category ) {
|
5471 |
-
if ( $countcats >= 1 ) {
|
5472 |
-
echo ', ';
|
5473 |
-
}
|
5474 |
-
echo $link_category->name;
|
5475 |
-
$countcats++;
|
5476 |
-
}
|
5477 |
-
} else {
|
5478 |
-
echo 'None Assigned';
|
5479 |
-
}
|
5480 |
-
} elseif ( 'link_library_rating' == $column ) {
|
5481 |
-
$link_rating = esc_html( get_post_meta( get_the_ID(), 'link_rating', true ) );
|
5482 |
-
echo $link_rating;
|
5483 |
-
} elseif ( 'link_library_visits' == $column ) {
|
5484 |
-
$link_visits = esc_html( get_post_meta( get_the_ID(), 'link_visits', true ) );
|
5485 |
-
echo $link_visits;
|
5486 |
-
}
|
5487 |
-
}
|
5488 |
-
|
5489 |
-
function ll_column_sortable( $columns ) {
|
5490 |
-
$columns['link_library_url'] = 'link_library_url';
|
5491 |
-
$columns['link_library_rating'] = 'link_library_rating';
|
5492 |
-
|
5493 |
-
return $columns;
|
5494 |
-
}
|
5495 |
-
|
5496 |
-
function ll_column_ordering( $vars ) {
|
5497 |
-
if ( !is_admin() ) {
|
5498 |
-
return $vars;
|
5499 |
-
}
|
5500 |
-
|
5501 |
-
if ( isset( $vars['orderby'] ) && 'link_library_url' == $vars['orderby'] ) {
|
5502 |
-
$vars = array_merge( $vars, array(
|
5503 |
-
'meta_key' => 'link_url',
|
5504 |
-
'orderby' => 'meta_value' ) );
|
5505 |
-
} elseif ( isset( $vars['orderby'] ) && 'link_library_rating' == $vars['orderby'] ) {
|
5506 |
-
$vars = array_merge( $vars, array(
|
5507 |
-
'meta_key' => 'link_rating',
|
5508 |
-
'orderby' => 'meta_value_num' ) );
|
5509 |
-
}
|
5510 |
-
|
5511 |
-
return $vars;
|
5512 |
-
}
|
5513 |
-
|
5514 |
-
function ll_custom_post_order( $query ) {
|
5515 |
-
/* The current post type. */
|
5516 |
-
$post_type = $query->get('post_type');
|
5517 |
-
/* Check post types. */
|
5518 |
-
if ( $post_type == 'link_library_links' ) {
|
5519 |
-
/* Post Column: e.g. title */
|
5520 |
-
if ( $query->get('orderby') == '' ) {
|
5521 |
-
$query->set('orderby', 'title');
|
5522 |
-
}
|
5523 |
-
/* Post Order: ASC / DESC */
|
5524 |
-
if ( $query->get('order') == '' ) {
|
5525 |
-
$query->set( 'order', 'ASC' );
|
5526 |
-
}
|
5527 |
-
}
|
5528 |
-
}
|
5529 |
-
|
5530 |
-
function ll_display_custom_quickedit_link( $column_name, $post_type ) {
|
5531 |
-
static $printNonce = TRUE;
|
5532 |
-
if ( $printNonce ) {
|
5533 |
-
$printNonce = FALSE;
|
5534 |
-
wp_nonce_field( plugin_basename( __FILE__ ), 'link_edit_nonce' );
|
5535 |
-
}
|
5536 |
-
|
5537 |
-
?>
|
5538 |
-
<fieldset class="inline-edit-col-right inline-edit-link">
|
5539 |
-
<div class="inline-edit-col column-<?php echo $column_name; ?>">
|
5540 |
-
<label class="inline-edit-group">
|
5541 |
-
<?php
|
5542 |
-
switch ( $column_name ) {
|
5543 |
-
case 'link_library_url':
|
5544 |
-
?><span class="title">URL</span><input type="text" name="link_url" id="link_url" /><?php
|
5545 |
-
break;
|
5546 |
-
}
|
5547 |
-
?>
|
5548 |
-
</label>
|
5549 |
-
</div>
|
5550 |
-
</fieldset>
|
5551 |
-
<?php
|
5552 |
-
}
|
5553 |
-
|
5554 |
-
|
5555 |
-
|
5556 |
function network_settings_menu() {
|
5557 |
add_submenu_page( 'settings.php', 'Link Library Network Config', 'Link Library Network Config', 'manage_options', 'link_library_network_admin_page', array( $this, 'link_library_network_admin_page' ) );
|
5558 |
}
|
@@ -5602,72 +5117,189 @@ class link_library_plugin_admin {
|
|
5602 |
|
5603 |
<?php }
|
5604 |
|
5605 |
-
|
5606 |
-
function
|
5607 |
-
|
5608 |
-
|
5609 |
-
|
5610 |
-
|
5611 |
-
|
5612 |
-
|
5613 |
-
|
5614 |
-
|
5615 |
-
|
5616 |
-
|
5617 |
-
|
5618 |
-
|
5619 |
-
|
5620 |
-
|
5621 |
-
|
5622 |
-
'
|
5623 |
-
)
|
5624 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5625 |
}
|
5626 |
}
|
5627 |
|
5628 |
-
|
5629 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5630 |
|
5631 |
-
|
5632 |
-
|
5633 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5634 |
}
|
5635 |
}
|
5636 |
|
5637 |
function link_library_duplicate_link_checker( $ll_admin_class ) {
|
5638 |
-
global $wpdb;
|
5639 |
echo "<strong>" . __( 'Duplicate Link Checker Report', 'link-library' ) . "</strong><br /><br />";
|
5640 |
|
5641 |
echo "<strong>" . __( 'Duplicate URLs', 'link-library' ) . "</strong><br /><br />";
|
5642 |
-
$linkquery = "SELECT
|
5643 |
-
$linkquery .= "(SELECT trim( TRAILING '/' FROM
|
5644 |
-
$linkquery .= "FROM
|
5645 |
-
$linkquery .= "ON
|
5646 |
-
$linkquery .= "WHERE p.ID = pm.post_id and p.post_type = 'link_library_links' and pm.meta_key = 'link_url' ";
|
5647 |
|
5648 |
$links = $wpdb->get_results( $linkquery );
|
5649 |
|
5650 |
if ( $links ) {
|
5651 |
foreach ( $links as $link ) {
|
5652 |
-
echo $link->
|
5653 |
}
|
5654 |
} else {
|
5655 |
echo 'No duplicate URL links found';
|
5656 |
}
|
5657 |
|
5658 |
echo "<br /><br /><strong>" . __( 'Duplicate Names', 'link-library' ) . "</strong><br /><br />";
|
5659 |
-
|
5660 |
-
$linkquery
|
5661 |
-
$linkquery .= "
|
5662 |
-
$linkquery .= "
|
5663 |
-
$linkquery .= "ON p.post_title = dup.trim_post_title ";
|
5664 |
-
$linkquery .= "WHERE p.post_type = 'link_library_links' ";
|
5665 |
|
5666 |
$links = $wpdb->get_results( $linkquery );
|
5667 |
|
5668 |
if ( $links ) {
|
5669 |
foreach ( $links as $link ) {
|
5670 |
-
echo $link->
|
5671 |
}
|
5672 |
} else {
|
5673 |
echo 'No duplicate name links found';
|
@@ -5678,49 +5310,44 @@ class link_library_plugin_admin {
|
|
5678 |
}
|
5679 |
|
5680 |
function link_library_reciprocal_link_checker( $ll_admin_class, $RecipCheckAddress = '', $recipcheckdelete403 = false, $check_type = 'reciprocal' ) {
|
|
|
5681 |
set_time_limit( 0 );
|
5682 |
|
5683 |
if ( ! empty( $RecipCheckAddress ) || ( empty( $RecipCheckAddress ) && 'reciprocal' != $check_type ) ) {
|
5684 |
-
$
|
5685 |
-
|
5686 |
-
|
5687 |
-
|
5688 |
-
|
5689 |
-
|
5690 |
-
|
5691 |
-
);
|
5692 |
-
|
5693 |
|
5694 |
if ( 'reciprocal' == $check_type ) {
|
5695 |
-
$
|
5696 |
-
|
5697 |
} elseif ( 'broken' == $check_type ) {
|
5698 |
-
$
|
5699 |
}
|
5700 |
|
5701 |
-
$
|
5702 |
|
|
|
5703 |
if ( 'reciprocal' == $check_type ) {
|
5704 |
echo "<strong>" . __( 'Reciprocal Link Checker Report', 'link-library' ) . "</strong><br /><br />";
|
5705 |
} elseif ( 'broken' == $check_type ) {
|
5706 |
echo "<strong>" . __( 'Broken Link Checker Report', 'link-library' ) . "</strong><br /><br />";
|
5707 |
}
|
5708 |
|
5709 |
-
if ( $
|
5710 |
-
|
5711 |
-
$the_link_query->the_post();
|
5712 |
-
|
5713 |
global $my_link_library_plugin;
|
5714 |
-
$link_url = get_post_meta( get_the_ID(), 'link_url', true );
|
5715 |
|
5716 |
if ( 'reciprocal' == $check_type ) {
|
5717 |
-
$
|
5718 |
-
$reciprocal_result = $my_link_library_plugin->CheckReciprocalLink( $RecipCheckAddress, $link_reciprocal );
|
5719 |
} elseif ( 'broken' == $check_type ) {
|
5720 |
-
$reciprocal_result = $my_link_library_plugin->CheckReciprocalLink( $RecipCheckAddress, $link_url );
|
5721 |
}
|
5722 |
|
5723 |
-
echo '<a href="' . $link_url . '">' .
|
5724 |
|
5725 |
if ( 'reciprocal' == $check_type && $reciprocal_result == 'exists_notfound' ) {
|
5726 |
echo '<span style="color: #FF0000">' . __( 'Not Found', 'link-library' ) . '</span><br />';
|
@@ -5729,7 +5356,7 @@ function link_library_reciprocal_link_checker( $ll_admin_class, $RecipCheckAddre
|
|
5729 |
} elseif ( 'broken' == $check_type && strpos( $reciprocal_result, 'exists' ) !== false ) {
|
5730 |
echo '<span style="color: #00FF00">' . __( 'Link valid', 'link-library' ) . '</span><br />';
|
5731 |
} elseif ( $reciprocal_result == 'error_403' && $recipcheckdelete403 == true ) {
|
5732 |
-
|
5733 |
echo '<span style="color: #FF0000">' . __( 'Error 403: Link Deleted', 'link-library' ) . '</span><br />';
|
5734 |
} elseif ( $reciprocal_result == 'error_403' && $recipcheckdelete403 == false ) {
|
5735 |
echo '<span style="color: #FF0000">' . __( 'Error 403', 'link-library' ) . '</span><br />';
|
@@ -5741,6 +5368,7 @@ function link_library_reciprocal_link_checker( $ll_admin_class, $RecipCheckAddre
|
|
5741 |
echo __( 'There are no links with reciprocal links associated with them', 'link-library' ) . ".<br />";
|
5742 |
}
|
5743 |
}
|
|
|
5744 |
}
|
5745 |
|
5746 |
function link_library_render_editor_button() {
|
4 |
exit;
|
5 |
} // Exit if accessed directly
|
6 |
|
7 |
+
define( 'LINK_LIBRARY_ADMIN_PAGE_NAME', 'link-library' );
|
8 |
|
9 |
require_once( ABSPATH . '/wp-admin/includes/bookmark.php' );
|
10 |
require_once( ABSPATH . '/wp-admin/includes/taxonomy.php' );
|
11 |
|
12 |
$rss_settings = '';
|
13 |
+
$pagehooktop = '';
|
14 |
$pagehookmoderate = '';
|
15 |
$pagehooksettingssets = '';
|
16 |
$pagehookstylesheet = '';
|
30 |
add_action( 'network_admin_menu', array( $this, 'network_settings_menu' ) );
|
31 |
}
|
32 |
|
33 |
+
// Capture and process user submissions for custom fields in Link Edition page
|
34 |
+
add_action( 'add_link', array( $this, 'add_link_field' ) );
|
35 |
+
add_action( 'edit_link', array( $this, 'add_link_field' ) );
|
36 |
+
add_action( 'delete_link', array( $this, 'delete_link_field' ) );
|
37 |
+
|
38 |
add_action( 'wp_dashboard_setup', array( $this, 'dashboard_widget' ) );
|
39 |
|
40 |
add_filter( 'plugin_row_meta', array( $this, 'set_plugin_row_meta' ), 1, 2 );
|
43 |
|
44 |
add_action( 'admin_head', array( $this, 'admin_header' ) );
|
45 |
|
46 |
+
add_action( 'link_category_edit_form_fields', array( $this, 'll_link_category_new_fields' ), 10, 2 );
|
47 |
+
add_action( 'link_category_add_form_fields', array( $this, 'll_link_category_new_fields' ), 10, 2 );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
|
49 |
+
add_action( 'edited_link_category', array( $this, 'll_save_link_category_new_fields' ), 10, 2 );
|
50 |
+
add_action( 'created_link_category', array( $this, 'll_save_link_category_new_fields' ), 10, 2 );
|
51 |
|
52 |
+
global $wpdb;
|
53 |
+
$linkcatquery = "SELECT distinct ";
|
54 |
+
$linkcatquery .= "t.name, t.term_id ";
|
55 |
+
$linkcatquery .= "FROM " . $this->db_prefix() . "terms t LEFT JOIN " . $this->db_prefix() . "term_taxonomy tt ON (t.term_id = tt.term_id)";
|
56 |
+
$linkcatquery .= " LEFT JOIN " . $this->db_prefix() . "term_relationships tr ON (tt.term_taxonomy_id = tr.term_taxonomy_id) ";
|
57 |
+
$linkcatquery .= "WHERE tt.taxonomy = 'link_category'";
|
58 |
|
59 |
+
$catnames = $wpdb->get_results( $linkcatquery );
|
60 |
|
61 |
+
if ( empty( $catnames ) ) {
|
62 |
+
add_action( 'admin_notices', array( $this, 'll_missing_categories' ) );
|
63 |
+
}
|
64 |
|
65 |
if ( $this->is_edit_page() ) {
|
66 |
+
add_action( 'admin_enqueue_scripts', array( $this, 'admin_scripts' ), 99 );
|
67 |
add_action( 'media_buttons', 'link_library_render_editor_button', 20 );
|
68 |
add_action( 'admin_footer', array( $this, 'render_modal' ) );
|
69 |
}
|
70 |
+
|
71 |
+
add_action( 'link_library_reciprocal_check', 'link_library_reciprocal_link_checker', 10, 4 );
|
72 |
}
|
73 |
|
74 |
function is_edit_page( $new_edit = null ) {
|
83 |
} elseif ( 'new' == $new_edit ) { //check for new post page
|
84 |
return in_array( $pagenow, array( 'post-new.php' ) );
|
85 |
} else { //check for either new or edit
|
86 |
+
return in_array( $pagenow, array( 'post.php', 'post-new.php' ) );
|
|
|
|
|
|
|
|
|
87 |
}
|
88 |
}
|
89 |
|
90 |
+
public function admin_scripts() {
|
91 |
wp_enqueue_script( 'linklibrary-shortcodes-embed', plugins_url( "js/linklibrary-shortcode-embed.js", __FILE__ ), array( 'jquery' ), '', true );
|
|
|
|
|
|
|
|
|
|
|
92 |
}
|
93 |
|
94 |
public function render_modal() {
|
115 |
<label for="linklibrary_link-library_libraryid"><?php _e( 'Library ID', 'link-library' ); ?></label>
|
116 |
<br/>
|
117 |
<select class="linklibrary_settings select" id="linklibrary_settings" name="settings" data-slug="settings" data-shortcode="settings" />
|
118 |
+
<?php if ( $genoptions['numberstylesets'] == '' ) {
|
119 |
$numberofsets = 1;
|
120 |
} else {
|
121 |
$numberofsets = $genoptions['numberstylesets'];
|
170 |
<label for="linklibrary_link-library_libraryid"><?php _e( 'Library ID', 'link-library' ); ?></label>
|
171 |
<br/>
|
172 |
<select class="linklibrary_settings select" id="linklibrary_settings" name="settings" data-slug="settings" data-shortcode="settings" />
|
173 |
+
<?php if ( $genoptions['numberstylesets'] == '' ) {
|
174 |
$numberofsets = 1;
|
175 |
} else {
|
176 |
$numberofsets = $genoptions['numberstylesets'];
|
205 |
<label for="linklibrary_link-library_libraryid"><?php _e( 'Library ID', 'link-library' ); ?></label>
|
206 |
<br/>
|
207 |
<select class="linklibrary_settings select" id="linklibrary_settings" name="settings" data-slug="settings" data-shortcode="settings" />
|
208 |
+
<?php if ( $genoptions['numberstylesets'] == '' ) {
|
209 |
$numberofsets = 1;
|
210 |
} else {
|
211 |
$numberofsets = $genoptions['numberstylesets'];
|
237 |
<?php
|
238 |
}
|
239 |
|
240 |
+
function ll_link_category_new_fields( $tag ) {
|
241 |
|
242 |
$caturl = '';
|
243 |
$cat_extra_query_string = '';
|
244 |
|
245 |
if ( is_object( $tag ) ) {
|
246 |
$mode = "edit";
|
247 |
+
$caturl = get_metadata( 'linkcategory', $tag->term_id, 'linkcaturl', true );
|
248 |
+
$cat_extra_query_string = get_metadata( 'linkcategory', $tag->term_id, 'linkextraquerystring', true );
|
249 |
} else {
|
250 |
$mode = 'new';
|
251 |
}
|
311 |
}
|
312 |
}
|
313 |
|
314 |
+
function ll_save_link_category_new_fields( $term_id, $tt_id ) {
|
315 |
|
316 |
if ( !$term_id ) {
|
317 |
return;
|
318 |
}
|
319 |
|
320 |
if ( isset( $_POST['ll_category_url'] ) ) {
|
321 |
+
update_metadata( 'linkcategory', $term_id, 'linkcaturl', $_POST['ll_category_url'] );
|
322 |
}
|
323 |
|
324 |
if ( isset( $_POST['cat_extra_query_string'] ) ) {
|
325 |
+
update_metadata( 'linkcategory', $term_id, 'linkextraquerystring', $_POST['cat_extra_query_string'] );
|
326 |
}
|
327 |
}
|
328 |
|
334 |
}
|
335 |
}
|
336 |
|
337 |
+
if ( isset( $_GET['page'] ) && ( ( $_GET['page'] == 'link-library' ) || $_GET['page'] == 'link-library-settingssets' || $_GET['page'] == 'link-library-moderate' || $_GET['page'] == 'link-library-stylesheet' || $_GET['page'] == 'link-library-reciprocal' ) ) {
|
338 |
wp_enqueue_style( 'LibraryLibraryAdminStyle', plugins_url( 'link-library-admin.css', __FILE__ ) );
|
339 |
}
|
340 |
}
|
350 |
}
|
351 |
|
352 |
function db_prefix() {
|
353 |
+
global $wpdb;
|
354 |
if ( method_exists( $wpdb, "get_blog_prefix" ) ) {
|
355 |
return $wpdb->get_blog_prefix();
|
356 |
} else {
|
408 |
|
409 |
if ( $status !== false ) {
|
410 |
if ( $filepathtype == 'absolute' || empty( $filepathtype ) ) {
|
411 |
+
$newimagedata = array( "link_id" => $linkid, "link_image" => $uploads['baseurl'] . "/" . $filepath . "/" . $linkid . ".png" );
|
412 |
} elseif ( $filepathtype == 'relative' ) {
|
413 |
$parsedaddress = parse_url( $uploads['baseurl'] );
|
414 |
+
$newimagedata = array( "link_id" => $linkid, "link_image" => $parsedaddress['path'] . "/" . $filepath . "/" . $linkid . ".png" );
|
415 |
}
|
416 |
|
417 |
if ( $mode == 'thumb' || $mode == 'favicon' ) {
|
418 |
+
wp_update_link( $newimagedata );
|
419 |
}
|
420 |
|
421 |
+
return $newimagedata['link_image'];
|
422 |
} else {
|
423 |
return "";
|
424 |
}
|
444 |
exit();
|
445 |
}
|
446 |
|
447 |
+
// Add addition section to Link Edition page
|
448 |
+
add_meta_box( 'linklibrary_meta_box', __( 'Link Library - Additional Link Parameters', 'link-library' ), array( $this, 'll_link_edit_extra' ), 'link', 'normal', 'high' );
|
449 |
+
|
450 |
//register the callback been used if options of page been submitted and needs to be processed
|
451 |
add_action( 'admin_post_save_link_library_general', array( $this, 'on_save_changes_general' ) );
|
452 |
add_action( 'admin_post_save_link_library_settingssets', array( $this, 'on_save_changes_settingssets' ) );
|
454 |
add_action( 'admin_post_save_link_library_stylesheet', array( $this, 'on_save_changes_stylesheet' ) );
|
455 |
add_action( 'admin_post_save_link_library_reciprocal', array( $this, 'on_save_changes_reciprocal' ) );
|
456 |
|
457 |
+
// Under development, trying to display extra columns in link list page
|
458 |
+
add_filter( 'manage_link-manager_columns', array( $this, 'll_linkmanager_addcolumn' ) );
|
459 |
+
add_action( 'manage_link_custom_column', array( $this, 'll_linkmanager_populatecolumn' ), 10, 2 );
|
460 |
+
add_filter( 'get_bookmarks', array( $this, 'll_bookmarks_filter' ) );
|
461 |
|
462 |
+
//add_filter( 'attachment_fields_to_edit', array( $this, 'add_custom_media_fields' ), null, 2 );
|
463 |
+
//add_filter( 'attachment_fields_to_save', array( $this, 'save_custom_media_fields' ), null, 2 );
|
|
|
464 |
|
465 |
$genoptions = get_option( 'LinkLibraryGeneral' );
|
466 |
$genoptions = wp_parse_args( $genoptions, ll_reset_gen_settings( 'return' ) );
|
467 |
extract( $genoptions );
|
468 |
|
469 |
+
if ( floatval( $genoptions['schemaversion'] ) < '5.1' ) {
|
470 |
+
global $my_link_library_plugin;
|
471 |
+
$my_link_library_plugin->ll_install();
|
472 |
+
}
|
473 |
+
|
474 |
if ( !empty( $genoptions ) ) {
|
475 |
if ( empty( $numberstylesets ) ) {
|
476 |
$numberofsets = 1;
|
489 |
}
|
490 |
}
|
491 |
|
492 |
+
if ( $thumbshotsactive && empty( $thumbshotscid ) && $genoptions['thumbnailgenerator'] == 'thumbshots' ) {
|
493 |
add_action( 'admin_notices', array( $this, 'll_thumbshots_warning' ) );
|
494 |
}
|
495 |
+
|
496 |
+
if ( ( !isset( $genoptions['ll_60_beta_12'] ) || !$genoptions['ll_60_beta_12'] ) && !isset( $_GET['dismiss_ll_60_beta_12'] ) ) {
|
497 |
+
add_action( 'admin_notices', array( $this, 'll_60_beta_12' ) );
|
498 |
+
} elseif ( ( !isset( $genoptions['ll_60_beta_12'] ) || !$genoptions['ll_60_beta_12'] ) && isset( $_GET['dismiss_ll_60_beta_12'] ) ) {
|
499 |
+
$genoptions['ll_60_beta_12'] = true;
|
500 |
+
update_option( 'LinkLibraryGeneral', $genoptions );
|
501 |
+
}
|
502 |
}
|
503 |
}
|
504 |
|
505 |
+
function add_custom_media_fields( $form_fields, $post ) {
|
506 |
+
|
507 |
+
$form_fields['link_library_add_link'] = array(
|
508 |
+
'label' => 'Create Link for New Media',
|
509 |
+
'input' => 'html',
|
510 |
+
'html' => "<input type='checkbox' name='createlink' id='createlink' />"
|
511 |
+
);
|
512 |
|
513 |
+
return $form_fields;
|
514 |
+
}
|
515 |
|
516 |
+
function ll_bookmarks_filter( $bookmarks ) {
|
517 |
+
if ( isset( $_GET['linksperpage'] ) && isset( $_GET['linkspage'] ) ) {
|
518 |
+
return array_slice( $bookmarks, ( $_GET['linkspage'] - 1 ) * $_GET['linksperpage'], $_GET['linksperpage'] );
|
519 |
+
} else {
|
520 |
+
return $bookmarks;
|
521 |
}
|
|
|
|
|
522 |
}
|
523 |
|
524 |
+
function save_custom_media_fields( $post, $attachment ) {
|
525 |
+
|
526 |
+
if ( $_POST['createlink'] == true ) {
|
527 |
+
print_r( $post );
|
528 |
+
print_r( $attachment );
|
529 |
+
die();
|
530 |
+
}
|
531 |
+
|
532 |
+
return $post;
|
533 |
}
|
534 |
|
535 |
+
|
536 |
function ll_thumbshots_warning() {
|
537 |
echo "
|
538 |
<div id='ll-warning' class='updated fade'><p><strong>" . __( 'Link Library: Missing Thumbshots API Key', 'link-library' ) . "</strong></p> <p>" . __( 'One of your link libraries is configured to use Thumbshots for link thumbails, but you have not entered your Thumbshots.com API Key. Please visit Thumbshots.com to apply for a free or paid account and enter your API in the Link Library admin panel.', 'link-library' ) . " <a href='" . esc_url( add_query_arg( array( 'page' => 'link-library' ), admin_url( 'admin.php' ) ) ) . "'>" . __( 'Jump to Link Library admin', 'link-library' ) . "</a></p></div>";
|
539 |
}
|
540 |
|
541 |
+
function ll_60_beta_12() {
|
542 |
+
echo "
|
543 |
+
<div id='ll-warning' class='updated fade'><p><strong>" . __( 'Link Library 6.0 Release Date Set / Beta 12 Available', 'link-library' ) . "</strong></p> <p>" . __( 'After many months of beta testing, version 6.0 will be released on May 17th 2018. If you have not tried the beta yet, there is still a month to try it out. If you want to be sure update is solid, version 6.1 will be released once support questions are back to a normal level.', 'link-library' ) . "<br /><br /><a target='_blank' href='http://ylefebvre.ca/link-library-6-0-public-beta-1/'>" . __( 'Read more about the new version and download beta here', 'link-library' ) . "</a> <a class='button' href='" . esc_url( add_query_arg( array( 'page' => 'link-library', 'dismiss_ll_60_beta_12' => 1 ), admin_url( 'admin.php' ) ) ) . "'>Dismiss this message</a></p></div>";
|
544 |
+
}
|
545 |
+
|
546 |
function ll_missing_categories() {
|
547 |
echo "
|
548 |
<div id='ll-warning' class='updated fade'><p><strong>" . __( 'Link Library: No Link Categories on your site', 'link-library' ) . "</strong></p> <p>" . __( 'There are currently no link categories defined in your WordPress site. Link Library will not work correctly without categories. Please create at least one before trying to use Link Library and make sure each link is assigned a category.', 'link-library' ) . "</p></div>";
|
589 |
}
|
590 |
|
591 |
function render_dashboard_widget() {
|
592 |
+
global $wpdb;
|
593 |
+
|
594 |
$linkmoderatecount = 0;
|
|
|
|
|
595 |
|
596 |
+
$linkmoderatequery = "SELECT count(*) ";
|
597 |
+
$linkmoderatequery .= "FROM " . $this->db_prefix() . "links l ";
|
598 |
+
$linkmoderatequery .= "WHERE l.link_description like '%LinkLibrary:AwaitingModeration:RemoveTextToApprove%' ";
|
599 |
+
$linkmoderatequery .= " ORDER by link_name ASC";
|
600 |
+
|
601 |
+
$linkmoderatecount = $wpdb->get_var( $linkmoderatequery );
|
602 |
|
603 |
echo '<strong>' . $linkmoderatecount . '</strong> ';
|
604 |
_e( 'Links to moderate', 'link-library' );
|
608 |
//extend the admin menu
|
609 |
function on_admin_menu() {
|
610 |
//add our own option page, you can also add it to different sections or use your own one
|
611 |
+
global $wpdb, $pagehooktop, $pagehookmoderate, $pagehooksettingssets, $pagehookstylesheet, $pagehookreciprocal;
|
612 |
|
613 |
$genoptions = get_option( 'LinkLibraryGeneral' );
|
614 |
$genoptions = wp_parse_args( $genoptions, ll_reset_gen_settings( 'return' ) );
|
641 |
|
642 |
$linkmoderatecount = 0;
|
643 |
|
644 |
+
$linkmoderatequery = "SELECT count(*) ";
|
645 |
+
$linkmoderatequery .= "FROM " . $this->db_prefix() . "links l ";
|
646 |
+
$linkmoderatequery .= "WHERE l.link_description like '%LinkLibrary:AwaitingModeration:RemoveTextToApprove%' ";
|
647 |
+
$linkmoderatequery .= " ORDER by link_name ASC";
|
648 |
+
|
649 |
+
$linkmoderatecount = $wpdb->get_var( $linkmoderatequery );
|
650 |
+
|
651 |
+
if ( $linkmoderatecount == 0 ) {
|
652 |
+
$pagehooktop = add_menu_page( 'Link Library - ' . __( 'General Options', 'link-library' ), 'Link Library', $admin_capability, LINK_LIBRARY_ADMIN_PAGE_NAME, array( $this, 'on_show_page' ), plugins_url( 'icons/folder-beige-internet-icon.png', __FILE__ ) );
|
653 |
+
} else {
|
654 |
+
$pagehooktop = add_menu_page( 'Link Library - ' . __( 'General Options', 'link-library' ), 'Link Library ' . '<span class="update-plugins count-' . $linkmoderatecount . '"><span class="plugin-count">' . number_format_i18n( $linkmoderatecount ) . '</span></span>', $admin_capability, LINK_LIBRARY_ADMIN_PAGE_NAME, array( $this, 'on_show_page' ), plugins_url( 'icons/folder-beige-internet-icon.png', __FILE__ ) );
|
655 |
+
}
|
656 |
|
657 |
+
$pagehookgeneraloptions = add_submenu_page( LINK_LIBRARY_ADMIN_PAGE_NAME, 'Link Library - ' . __( 'General Options', 'link-library' ), __( 'General Options', 'link-library' ), $admin_capability, LINK_LIBRARY_ADMIN_PAGE_NAME, array( $this, 'on_show_page' ) );
|
658 |
|
659 |
+
$pagehooksettingssets = add_submenu_page( LINK_LIBRARY_ADMIN_PAGE_NAME, 'Link Library - ' . __( 'Settings', 'link-library' ), __( 'Library Settings', 'link-library' ), $admin_capability, 'link-library-settingssets', array( $this, 'on_show_page' ) );
|
660 |
|
661 |
if ( $linkmoderatecount == 0 ) {
|
662 |
$pagehookmoderate = add_submenu_page( LINK_LIBRARY_ADMIN_PAGE_NAME, 'Link Library - ' . __( 'Moderate', 'link-library' ), __( 'Moderate', 'link-library' ), $admin_capability, 'link-library-moderate', array( $this, 'on_show_page' ) );
|
668 |
|
669 |
$pagehookreciprocal = add_submenu_page( LINK_LIBRARY_ADMIN_PAGE_NAME, 'Link Library - ' . __( 'Link checking tools', 'link-library' ), __( 'Link checking tools', 'link-library' ), $admin_capability, 'link-library-reciprocal', array( $this, 'on_show_page' ) );
|
670 |
|
671 |
+
$faqhook = add_submenu_page( LINK_LIBRARY_ADMIN_PAGE_NAME, __( 'FAQ', 'link-library' ), __( 'FAQ', 'link-library' ), $admin_capability, 'link-library-faq', 'callback' );
|
672 |
|
673 |
//register callback gets call prior your own page gets rendered
|
674 |
+
add_action( 'load-' . $pagehooktop, array( $this, 'on_load_page' ) );
|
675 |
add_action( 'load-' . $pagehooksettingssets, array( $this, 'on_load_page' ) );
|
676 |
add_action( 'load-' . $pagehookmoderate, array( $this, 'on_load_page' ) );
|
677 |
add_action( 'load-' . $pagehookstylesheet, array( $this, 'on_load_page' ) );
|
681 |
//will be executed if wordpress core detects this page has to be rendered
|
682 |
function on_load_page() {
|
683 |
|
684 |
+
global $pagehooktop, $pagehookmoderate, $pagehooksettingssets, $pagehookstylesheet, $pagehookreciprocal;
|
685 |
|
686 |
//ensure, that the needed javascripts been loaded to allow drag/drop, expand/collapse and hide/show of boxes
|
687 |
wp_enqueue_script( 'tiptip', plugins_url( '/tiptip/jquery.tipTip.minified.js', __FILE__ ), "jQuery", "1.0rc3" );
|
695 |
$genoptions = get_option( 'LinkLibraryGeneral' );
|
696 |
|
697 |
//add several metaboxes now, all metaboxes registered during load page can be switched off/on at "Screen Options" automatically, nothing special to do therefore
|
698 |
+
add_meta_box( 'linklibrary_general_save_meta_box', __( 'Save', 'link-library' ), array( $this, 'general_save_meta_box' ), $pagehooktop, 'normal', 'high' );
|
699 |
add_meta_box( 'linklibrary_moderation_meta_box', __( 'Links awaiting moderation', 'link-library' ), array( $this, 'moderate_meta_box' ), $pagehookmoderate, 'normal', 'high' );
|
700 |
add_meta_box( 'linklibrary_stylesheet_meta_box', __( 'Editor', 'link-library' ), array( $this, 'stylesheet_meta_box' ), $pagehookstylesheet, 'normal', 'high' );
|
701 |
add_meta_box( 'linklibrary_reciprocal_meta_box', __( 'Link checking tools', 'link-library' ), array( $this, 'reciprocal_meta_box' ), $pagehookreciprocal, 'normal', 'high' );
|
733 |
|
734 |
// Retrieve general options
|
735 |
$genoptions = get_option( 'LinkLibraryGeneral' );
|
|
|
736 |
|
737 |
// If general options don't exist, create them
|
738 |
if ( $genoptions == false ) {
|
739 |
$genoptions = ll_reset_gen_settings( 'return_and_set' );
|
740 |
+
} else {
|
741 |
+
$genoptions = wp_parse_args( $genoptions, ll_reset_gen_settings( 'return' ) );
|
742 |
}
|
743 |
|
744 |
$settingsname = 'LinkLibraryPP' . $settings;
|
750 |
}
|
751 |
|
752 |
if ( isset( $_GET['genthumbs'] ) || isset( $_GET['genfavicons'] ) || isset( $_GET['genthumbsingle'] ) || isset( $_GET['genfaviconsingle'] ) ) {
|
753 |
+
global $wpdb;
|
754 |
+
|
755 |
if ( isset( $_GET['genthumbs'] ) || isset( $_GET['genthumbsingle'] ) ) {
|
756 |
$filepath = "link-library-images";
|
757 |
} elseif ( isset( $_GET['genfavicons'] ) || isset( $_GET['genfaviconsingle'] ) ) {
|
775 |
$genmode = 'favicon';
|
776 |
}
|
777 |
|
778 |
+
$linkquery = "SELECT distinct * ";
|
779 |
+
$linkquery .= "FROM " . $this->db_prefix() . "terms t ";
|
780 |
+
$linkquery .= "LEFT JOIN " . $this->db_prefix() . "term_taxonomy tt ON (t.term_id = tt.term_id) ";
|
781 |
+
$linkquery .= "LEFT JOIN " . $this->db_prefix() . "term_relationships tr ON (tt.term_taxonomy_id = tr.term_taxonomy_id) ";
|
782 |
+
$linkquery .= "LEFT JOIN " . $this->db_prefix() . "links l ON (tr.object_id = l.link_id) ";
|
783 |
+
$linkquery .= "WHERE tt.taxonomy = 'link_category' ";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
784 |
|
785 |
+
if ( $options['categorylist'] != "" && !isset( $_GET['genthumbsingle'] ) && !isset( $_GET['genfaviconsingle'] ) ) {
|
786 |
+
$linkquery .= " AND t.term_id in (" . $options['categorylist'] . ")";
|
787 |
+
}
|
788 |
|
789 |
+
if ( isset( $_GET['genthumbsingle'] ) || isset( $_GET['genfaviconsingle'] ) ) {
|
790 |
+
$linkquery .= " AND l.link_id = " . intval( $_GET['linkid'] );
|
791 |
+
}
|
792 |
|
793 |
+
$linkitems = $wpdb->get_results( $linkquery );
|
|
|
794 |
|
795 |
+
if ( $linkitems ) {
|
796 |
+
$filescreated = 0;
|
797 |
+
$totallinks = count( $linkitems );
|
798 |
+
foreach ( $linkitems as $linkitem ) {
|
799 |
+
if ( !$options['uselocalimagesoverthumbshots'] || ( $options['uselocalimagesoverthumbshots'] && empty( $linkitem->link_image ) ) ) {
|
800 |
+
$this->ll_get_link_image( $linkitem->link_url, $linkitem->link_name, $genmode, $linkitem->link_id, $genoptions['thumbshotscid'], $filepath, $genoptions['imagefilepath'], $genoptions['thumbnailsize'], $genoptions['thumbnailgenerator'] );
|
801 |
}
|
802 |
+
$linkname = $linkitem->link_name;
|
803 |
}
|
804 |
|
805 |
if ( isset( $_GET['genthumbs'] ) ) {
|
838 |
}
|
839 |
|
840 |
// Check for current page to set some page=specific variables
|
841 |
+
if ( $_GET['page'] == 'link-library' ) {
|
842 |
if ( isset( $_GET['message'] ) && $_GET['message'] == '1' ) {
|
843 |
echo "<div id='message' class='updated fade'><p><strong>" . __( 'General Settings Saved', 'link-library' ) . ".</strong></p></div>";
|
844 |
+
} else if ( isset( $_GET['message'] ) && $_GET['message'] == '2' ) {
|
845 |
+
$linksexportdir = wp_upload_dir();
|
846 |
+
echo "<div id='message' class='updated fade'><p><strong><a href='" . $linksexportdir['url'] . '/LinksExport.csv' . "'>" . __( 'Download exported links', 'link-library' ) . "</a></strong></p></div>";
|
847 |
} else if ( isset( $_GET['message'] ) && $_GET['message'] == '3' ) {
|
848 |
echo "<div id='message' class='updated fade'><p><strong>" . __( 'Link Library plugin directory needs to be writable to perform this action', 'link-library' ) . "</strong></p></div>";
|
849 |
} else if ( isset( $_GET['message'] ) && $_GET['message'] == '4' ) {
|
850 |
echo "<div id='message' class='updated fade'><p><strong>" . __( 'You must set the Google reCAPTCHA Site and Secret Keys to be able to set the captcha generator to Google reCAPTCHA.', 'link-library' ) . "</strong></p></div>";
|
|
|
|
|
851 |
}
|
852 |
|
853 |
$formvalue = 'save_link_library_general';
|
888 |
echo "<div id='message' class='updated fade'><p><strong>" . __( 'Invalid column count for link on row. Compare against template.', 'link-library' ) . "</strong></p></div>";
|
889 |
break;
|
890 |
|
891 |
+
case '5':
|
892 |
+
$upload_dir = wp_upload_dir();
|
893 |
+
echo "<div id='message' class='updated fade'><p><strong>" . __( 'Library Settings Exported', 'link-library' ) . ". <a href='" . $upload_dir['url'] . '/SettingSet' . $settings . 'Export.csv' . "'>" . __( 'Download here', 'link-library' ) . "</a>.</strong></p></div>";
|
894 |
+
break;
|
895 |
+
|
896 |
case '6':
|
897 |
echo "<div id='message' class='updated fade'><p><strong>" . __( 'Link Library plugin directory needs to be writable to perform this action', 'link-library' ) . ".</strong></p></div>";
|
898 |
break;
|
912 |
case '10':
|
913 |
echo "<div id='message' class='updated fade'><p><strong>" . __( 'Links are missing categories', 'link-library' ) . "</strong></p></div>";
|
914 |
break;
|
|
|
915 |
}
|
916 |
|
917 |
}
|
964 |
$data['settings'] = $settings;
|
965 |
$data['options'] = isset( $options ) ? $options : '';
|
966 |
$data['genoptions'] = $genoptions;
|
967 |
+
global $pagehooktop, $pagehookmoderate, $pagehookstylesheet, $pagehooksettingssets, $pagehookreciprocal;
|
968 |
?>
|
969 |
<div class="ll-content">
|
970 |
<div class="ll-frame">
|
976 |
<img src="<?php echo plugins_url( 'icons/folder-beige-internet-icon32.png', __FILE__ ); ?>" /><span>Link Library</span>
|
977 |
</li>
|
978 |
<li class="link-library-page">
|
979 |
+
<a href="<?php echo esc_url( add_query_arg( array( 'page' => 'link-library' ), admin_url( 'admin.php' ) ) ); ?>" <?php if ( isset( $_GET['page'] ) && $_GET['page'] == 'link-library' ) {
|
980 |
echo 'class="current"';
|
981 |
} ?>><?php _e( 'General Options', 'link-library' ); ?></a>
|
982 |
</li>
|
1001 |
} ?>><?php _e( 'Reciprocal Check', 'link-library' ); ?></a>
|
1002 |
</li>
|
1003 |
<li class="link-library-page">
|
1004 |
+
<a href="http://ylefebvre.ca/wppluginsdoc/index.php?title=Link_Library" target="_newWindow"><?php _e( 'FAQ', 'link-library' ); ?></a>
|
1005 |
</li>
|
1006 |
<?php if ( isset( $genoptions['hidedonation'] ) && !$genoptions['hidedonation'] ) { ?>
|
1007 |
<li class="link-library-page">
|
1008 |
<a href="http://ylefebvre.ca/wordpress-plugins/link-library/"><img src="<?php echo plugins_url( '/icons/btn_donate_LG.gif', __FILE__ ); ?>" /></a>
|
1009 |
</li>
|
1010 |
<?php } ?>
|
|
|
1011 |
</ul>
|
1012 |
|
1013 |
</nav>
|
1044 |
|
1045 |
#sortable li {
|
1046 |
list-style: none;
|
1047 |
+
margin: 0 4px 4px 4px;
|
1048 |
+
padding: 10px 10px 10px 10px;
|
1049 |
border: #CCCCCC solid 1px;
|
1050 |
color: #fff;
|
1051 |
display: inline;
|
1064 |
<div id="post-body" class="has-sidebar">
|
1065 |
<div id="post-body-content" class="has-sidebar-content">
|
1066 |
<?php
|
1067 |
+
if ( $_GET['page'] == 'link-library' ) {
|
1068 |
$this->display_menu( 'general', $genoptions );
|
1069 |
$this->general_meta_box( $data );
|
|
|
1070 |
$this->general_image_meta_box( $data );
|
1071 |
$this->general_meta_bookmarklet_box( $data );
|
1072 |
$this->general_moderation_meta_box( $data );
|
1073 |
if ( isset( $genoptions['hidedonation'] ) && !$genoptions['hidedonation'] ) {
|
1074 |
$this->general_hide_donation_meta_box( $data );
|
1075 |
}
|
|
|
1076 |
|
1077 |
$this->general_save_meta_box();
|
1078 |
|
1117 |
$('.if-js-closed').removeClass('if-js-closed').addClass('closed');
|
1118 |
// postboxes setup
|
1119 |
postboxes.add_postbox_toggles('<?php
|
1120 |
+
if ($_GET['page'] == 'link-library')
|
1121 |
+
{echo $pagehooktop;}
|
1122 |
+
elseif ($_GET['page'] == 'link-library-settingssets')
|
1123 |
{echo $pagehooksettingssets;}
|
1124 |
elseif ($_GET['page'] == 'link-library-moderate')
|
1125 |
{echo $pagehookmoderate;}
|
1131 |
});
|
1132 |
//]]>
|
1133 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1134 |
// Create the tooltips only on document load
|
1135 |
jQuery(document).ready(function () {
|
1136 |
jQuery('.lltooltip').each(function () {
|
1141 |
jQuery("#sortable").sortable({
|
1142 |
opacity: 0.6, cursor: 'move', update: function () {
|
1143 |
var order = jQuery("#sortable").sortable('toArray');
|
1144 |
+
stringorder = order.join(',')
|
|
|
1145 |
document.getElementById('dragndroporder').value = stringorder;
|
1146 |
}
|
1147 |
});
|
1154 |
}
|
1155 |
|
1156 |
function display_menu( $menu_name = 'settingsset', $genoptions = '' ) {
|
1157 |
+
|
1158 |
if ( $menu_name == 'general' ) {
|
1159 |
$tabitems = array ( 'll-general' => __( 'General', 'link-library' ),
|
|
|
1160 |
'll-images' => __( 'Images', 'link-library' ),
|
1161 |
'll-bookmarklet' => __( 'Bookmarklet', 'link-library' ),
|
1162 |
'll-moderation' => __( 'Moderation', 'link-library' ),
|
1163 |
'll-hidedonation' => __( 'Hide Donation', 'link-library' ),
|
|
|
1164 |
);
|
1165 |
|
1166 |
+
if ( isset( $genoptions['hidedonation'] ) && $genoptions['hidedonation'] ) {
|
1167 |
+
unset ( $tabitems['ll-hidedonation'] );
|
1168 |
}
|
1169 |
} elseif ( $menu_name == 'settingsset' ) {
|
1170 |
$tabitems = array ( 'll-usage' => __( 'Usage', 'link-library' ),
|
1178 |
'll-rssfeed' => __( 'RSS Feed', 'link-library' ),
|
1179 |
'll-searchfield' => __( 'Search', 'link-library' ),
|
1180 |
'll-userform' => __( 'User Submission', 'link-library' ),
|
1181 |
+
'll-importexport' => __( 'Import/Export', 'link-library' ),
|
1182 |
);
|
1183 |
}
|
1184 |
|
1240 |
//cross check the given referer
|
1241 |
check_admin_referer( 'link-library' );
|
1242 |
|
1243 |
+
$genoptions = get_option( 'LinkLibraryGeneral' );
|
|
|
|
|
|
|
|
|
|
|
|
|
1244 |
|
1245 |
+
$message = 1;
|
1246 |
+
|
1247 |
+
foreach (
|
1248 |
+
array(
|
1249 |
+
'numberstylesets', 'includescriptcss', 'pagetitleprefix', 'pagetitlesuffix', 'schemaversion', 'thumbshotscid', 'approvalemailtitle',
|
1250 |
+
'moderatorname', 'moderatoremail', 'rejectedemailtitle', 'approvalemailbody', 'rejectedemailbody', 'moderationnotificationtitle',
|
1251 |
+
'linksubmissionthankyouurl', 'recipcheckaddress', 'imagefilepath', 'catselectmethod', 'expandiconpath', 'collapseiconpath', 'updatechannel',
|
1252 |
+
'extraprotocols', 'thumbnailsize', 'thumbnailgenerator', 'rsscachedelay', 'rolelevel', 'editlevel'
|
1253 |
+
) as $option_name
|
1254 |
+
) {
|
1255 |
+
if ( isset( $_POST[$option_name] ) ) {
|
1256 |
+
$genoptions[$option_name] = $_POST[$option_name];
|
1257 |
}
|
1258 |
+
}
|
1259 |
|
1260 |
+
if ( isset( $_POST['captchagenerator'] ) && 'recaptcha' == $_POST['captchagenerator'] ) {
|
1261 |
+
if ( empty( $_POST['recaptchasitekey'] ) || empty( $_POST['recaptchasecretkey'] ) ) {
|
1262 |
+
$genoptions['captchagenerator'] = 'easycaptcha';
|
1263 |
+
$message = 4;
|
1264 |
+
} else {
|
1265 |
+
$genoptions['captchagenerator'] = 'recaptcha';
|
1266 |
+
$genoptions['recaptchasitekey'] = sanitize_text_field( $_POST['recaptchasitekey'] );
|
1267 |
+
$genoptions['recaptchasecretkey'] = sanitize_text_field( $_POST['recaptchasecretkey'] );
|
1268 |
+
}
|
1269 |
+
} elseif ( isset( $_POST['captchagenerator'] ) && 'easycaptcha' == $_POST['captchagenerator'] ) {
|
1270 |
+
$genoptions['captchagenerator'] = 'easycaptcha';
|
1271 |
+
$genoptions['recaptchasitekey'] = '';
|
1272 |
+
$genoptions['recaptchasecretkey'] = '';
|
1273 |
+
}
|
1274 |
|
1275 |
+
foreach ( array( 'debugmode', 'emaillinksubmitter', 'suppressemailfooter', 'usefirstpartsubmittername', 'hidedonation', 'addlinkakismet' ) as $option_name ) {
|
1276 |
+
if ( isset( $_POST[$option_name] ) ) {
|
1277 |
+
$genoptions[$option_name] = true;
|
1278 |
+
} else {
|
1279 |
+
if ( $option_name != 'hidedonation' ) {
|
1280 |
+
$genoptions[$option_name] = false;
|
1281 |
+
}
|
1282 |
+
}
|
1283 |
+
}
|
1284 |
|
1285 |
+
update_option( 'LinkLibraryGeneral', $genoptions );
|
1286 |
+
update_option( 'links_updated_date_format', $_POST['links_updated_date_format'] );
|
|
|
1287 |
|
1288 |
+
if ( isset( $_POST['exportalllinks'] ) ) {
|
1289 |
+
$upload_dir = wp_upload_dir();
|
1290 |
+
|
1291 |
+
if ( is_writable( $upload_dir['path'] ) ) {
|
1292 |
+
$myFile = $upload_dir['path'] . "/LinksExport.csv";
|
1293 |
+
$fh = fopen( $myFile, 'w' ) or die( "can't open file" );
|
1294 |
+
|
1295 |
+
global $wpdb;
|
1296 |
+
|
1297 |
+
$linkquery = "SELECT distinct l.link_name, l.link_url, l.link_rss, l.link_description, l.link_notes, ";
|
1298 |
+
$linkquery .= "GROUP_CONCAT( t.name ) as cat_name, l.link_visible, le.link_second_url, le.link_telephone, le.link_email, le.link_reciprocal, ";
|
1299 |
+
$linkquery .= "l.link_image, le.link_textfield, le.link_no_follow, l.link_rating, l.link_target, l.link_updated ";
|
1300 |
+
$linkquery .= "FROM " . $this->db_prefix() . "terms t ";
|
1301 |
+
$linkquery .= "LEFT JOIN " . $this->db_prefix() . "term_taxonomy tt ON (t.term_id = tt.term_id) ";
|
1302 |
+
$linkquery .= "LEFT JOIN " . $this->db_prefix() . "term_relationships tr ON (tt.term_taxonomy_id = tr.term_taxonomy_id) ";
|
1303 |
+
$linkquery .= "LEFT JOIN " . $this->db_prefix() . "links l ON (tr.object_id = l.link_id) ";
|
1304 |
+
$linkquery .= "LEFT JOIN " . $this->db_prefix() . "links_extrainfo le ON (l.link_id = le.link_id) ";
|
1305 |
+
$linkquery .= "WHERE tt.taxonomy = 'link_category' ";
|
1306 |
+
$linkquery .= "GROUP BY l.link_name, l.link_url ";
|
1307 |
+
|
1308 |
+
$linkitems = $wpdb->get_results( $linkquery, ARRAY_A );
|
1309 |
+
|
1310 |
+
|
1311 |
+
|
1312 |
+
if ( $linkitems ) {
|
1313 |
+
$headerrow = array();
|
1314 |
+
|
1315 |
+
foreach ( $linkitems[0] as $key => $option ) {
|
1316 |
+
$headerrow[] = '"' . $key . '"';
|
1317 |
}
|
1318 |
|
1319 |
+
$headerdata = join( ',', $headerrow ) . "\n";
|
1320 |
+
fwrite( $fh, $headerdata );
|
1321 |
+
|
1322 |
+
foreach ( $linkitems as $linkitem ) {
|
1323 |
+
$datarow = array();
|
1324 |
+
foreach ( $linkitem as $key => $value ) {
|
1325 |
+
$datarow[] = '"' . $value . '"';
|
1326 |
}
|
1327 |
+
$data = join( ',', $datarow ) . "\n";
|
1328 |
+
fwrite( $fh, $data );
|
1329 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1330 |
|
1331 |
+
fclose( $fh );
|
|
|
1332 |
|
1333 |
+
if (file_exists($myFile)) {
|
1334 |
+
header('Content-Description: File Transfer');
|
1335 |
+
header('Content-Type: application/octet-stream');
|
1336 |
+
header('Content-Disposition: attachment; filename='.basename($myFile));
|
1337 |
+
header('Expires: 0');
|
1338 |
+
header('Cache-Control: must-revalidate');
|
1339 |
+
header('Pragma: public');
|
1340 |
+
header('Content-Length: ' . filesize($myFile));
|
1341 |
+
readfile($myFile);
|
1342 |
+
exit;
|
1343 |
+
}
|
1344 |
+
}
|
1345 |
+
} else {
|
1346 |
+
$message = "3";
|
1347 |
+
}
|
1348 |
+
}
|
1349 |
|
1350 |
+
$redirecturl = add_query_arg( array( 'currenttab' => $_POST['currenttab'], 'page' => 'link-library' ), admin_url() );
|
1351 |
+
if ( !empty( $message ) ) {
|
1352 |
+
$redirecturl = add_query_arg( array( 'message' => $message ), $redirecturl );
|
1353 |
+
}
|
1354 |
+
|
1355 |
+
wp_redirect( $redirecturl );
|
1356 |
+
}
|
1357 |
+
|
1358 |
+
//executed if the post arrives initiated by pressing the submit button of form
|
1359 |
+
function on_save_changes_settingssets() {
|
1360 |
+
//user permission check
|
1361 |
+
if ( !current_user_can( 'manage_options' ) ) {
|
1362 |
+
wp_die( __( 'Not allowed', 'link-library' ) );
|
1363 |
+
}
|
1364 |
+
//cross check the given referer
|
1365 |
+
check_admin_referer( 'link-library' );
|
1366 |
|
1367 |
+
$messages = array();
|
1368 |
+
$row = 0;
|
1369 |
+
$successfulimport = 0;
|
1370 |
+
$successfulupdate = 0;
|
|
|
1371 |
|
1372 |
+
if ( isset( $_POST['importlinks'] ) ) {
|
1373 |
+
wp_suspend_cache_addition( true );
|
1374 |
+
set_time_limit( 600 );
|
1375 |
|
1376 |
+
global $wpdb;
|
|
|
|
|
|
|
1377 |
|
1378 |
+
$handle = fopen( $_FILES['linksfile']['tmp_name'], "r" );
|
|
|
1379 |
|
1380 |
+
if ( $handle ) {
|
1381 |
+
$skiprow = 1;
|
|
|
|
|
|
|
|
|
1382 |
|
1383 |
+
while ( ( $data = fgetcsv( $handle, 5000, "," ) ) !== false ) {
|
1384 |
+
$row += 1;
|
|
|
|
|
|
|
1385 |
|
1386 |
+
if ( $skiprow == 1 && isset( $_POST['firstrowheaders'] ) && $row >= 2 ) {
|
1387 |
+
$skiprow = 0;
|
1388 |
+
} elseif ( !isset( $_POST['firstrowheaders'] ) ) {
|
1389 |
+
$skiprow = 0;
|
1390 |
+
}
|
|
|
|
|
|
|
|
|
1391 |
|
1392 |
+
if ( !$skiprow ) {
|
1393 |
+
if ( count( $data ) == 17 ) {
|
1394 |
+
if ( !empty( $data[5] ) ) {
|
1395 |
+
$incomingcatdata = explode( ',', $data[5] );
|
1396 |
+
$newlinkcat = array();
|
|
|
|
|
1397 |
|
1398 |
+
foreach ( $incomingcatdata as $incomingcat ) {
|
1399 |
+
$existingcatquery = "SELECT t.term_id FROM " . $this->db_prefix() . "terms t, " . $this->db_prefix() . "term_taxonomy tt ";
|
1400 |
+
$existingcatquery .= "WHERE t.name = '%s' AND t.term_id = tt.term_id AND tt.taxonomy = 'link_category'";
|
|
|
|
|
|
|
|
|
|
|
1401 |
|
1402 |
+
$existingcatqueryprepped = $wpdb->prepare( $existingcatquery, esc_html( $incomingcat ) );
|
1403 |
|
1404 |
+
$existingcat = $wpdb->get_var( $existingcatqueryprepped );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1405 |
|
1406 |
+
if ( !$existingcat ) {
|
1407 |
+
$newlinkcatdata = array( "cat_name" => $incomingcat, "category_description" => "", "category_nicename" => esc_sql( $data[5] ) );
|
1408 |
+
$newlinkcat = wp_insert_category( $newlinkcatdata );
|
1409 |
+
|
1410 |
+
$newcatarray = array( "term_id" => $newlinkcat );
|
1411 |
+
|
1412 |
+
$newcattype = array( "taxonomy" => 'link_category' );
|
1413 |
+
|
1414 |
+
$wpdb->update( $this->db_prefix() . 'term_taxonomy', $newcattype, $newcatarray );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1415 |
|
1416 |
+
$newlinkcat[] = $newlinkcat;
|
1417 |
+
} else {
|
1418 |
+
$newlinkcat[] = $existingcat;
|
1419 |
+
}
|
1420 |
+
}
|
1421 |
+
|
1422 |
+
$newrating = intval( $data[14] );
|
1423 |
if ( $newrating < 0 ) {
|
1424 |
$newrating = 0;
|
1425 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1426 |
|
1427 |
+
$newlinkid = '';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1428 |
|
1429 |
+
if ( isset( $_POST['updatesameurl'] ) ) {
|
1430 |
+
$existing_link_query = "SELECT l.link_id FROM " . $this->db_prefix() . "links l ";
|
1431 |
+
$existing_link_query .= "WHERE l.link_url = '%s'";
|
|
|
|
|
|
|
|
|
|
|
1432 |
|
1433 |
+
$existing_link_query_prepped = $wpdb->prepare( $existing_link_query, esc_url( $data[1] ) );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1434 |
|
1435 |
+
$newlinkid = $wpdb->get_var( $existing_link_query_prepped );
|
1436 |
+
}
|
|
|
1437 |
|
1438 |
+
$newlink = array(
|
1439 |
+
"link_name" => esc_html( stripslashes( $data[0] ) ),
|
1440 |
+
"link_url" => esc_url( stripslashes( $data[1] ) ),
|
1441 |
+
"link_rss" => esc_html( stripslashes( $data[2] ) ),
|
1442 |
+
"link_description" => esc_html( stripslashes( $data[3] ) ),
|
1443 |
+
"link_notes" => esc_html( stripslashes( $data[4] ) ),
|
1444 |
+
"link_category" => $newlinkcat,
|
1445 |
+
"link_visible" => $data[6],
|
1446 |
+
"link_image" => $data[11],
|
1447 |
+
"link_rating" => $newrating,
|
1448 |
+
"link_target" => $data[15]
|
1449 |
+
);
|
1450 |
+
|
1451 |
+
if ( empty( $newlinkid ) ) {
|
1452 |
+
$newlinkid = wp_insert_link( $newlink );
|
1453 |
+
$successfulimport += 1;
|
1454 |
+
} elseif ( !empty( $newlinkid ) ) {
|
1455 |
+
unset ( $newlink['link_url'] );
|
1456 |
+
$newlink['link_id'] = $newlinkid;
|
1457 |
+
wp_update_link( $newlink );
|
1458 |
+
$successfulupdate += 1;
|
1459 |
+
}
|
1460 |
|
1461 |
+
if ( $newlinkid != 0 ) {
|
1462 |
+
if ( !empty( $data[16] ) ) {
|
1463 |
+
$wpdb->update( $this->db_prefix() . 'links', array( 'link_updated' => $data[16] ), array( 'link_id' => $newlinkid ) );
|
1464 |
+
}
|
|
|
|
|
|
|
|
|
1465 |
|
1466 |
+
$extradatatable = $this->db_prefix() . 'links_extrainfo';
|
1467 |
+
$nofollowvalue = ( $data[13] == 'Y' ? true : false );
|
|
|
|
|
|
|
|
|
|
|
1468 |
|
1469 |
+
$existingextrainfo = "SELECT link_id FROM " . $extradatatable . " ";
|
1470 |
+
$existingextrainfo .= "WHERE link_id = '" . $newlinkid . "'";
|
1471 |
+
$existingextrainfoid = $wpdb->get_var( $existingextrainfo );
|
|
|
|
|
1472 |
|
1473 |
+
if ( !empty( $existingextrainfoid ) ) {
|
1474 |
+
$wpdb->update( $extradatatable, array( 'link_second_url' => $data[7], 'link_telephone' => $data[8], 'link_email' => $data[9], 'link_reciprocal' => $data[10], 'link_textfield' => $data[12], 'link_no_follow' => $nofollowvalue ), array( 'link_id' => $newlinkid ) );
|
1475 |
+
} elseif ( empty( $existingextrainfoid ) ) {
|
1476 |
+
$wpdb->insert( $extradatatable, array( 'link_second_url' => $data[7], 'link_telephone' => $data[8], 'link_email' => $data[9], 'link_reciprocal' => $data[10], 'link_textfield' => $data[12], 'link_no_follow' => $nofollowvalue, 'link_id' => $newlinkid ) );
|
1477 |
+
}
|
1478 |
+
}
|
1479 |
+
} else {
|
1480 |
+
$messages[] = '10';
|
1481 |
}
|
|
|
|
|
|
|
|
|
1482 |
} else {
|
1483 |
+
$messages[] = '4';
|
1484 |
}
|
1485 |
}
|
1486 |
}
|
1487 |
}
|
1488 |
|
1489 |
+
if ( isset( $_POST['firstrowheaders'] ) ) {
|
1490 |
+
$row -= 1;
|
1491 |
+
}
|
1492 |
|
1493 |
+
$messages[] = '9';
|
1494 |
|
1495 |
wp_suspend_cache_addition( false );
|
|
|
|
|
1496 |
} elseif ( isset( $_POST['siteimport'] ) ) {
|
1497 |
wp_suspend_cache_addition( true );
|
|
|
|
|
|
|
|
|
1498 |
set_time_limit( 600 );
|
1499 |
|
1500 |
+
global $wpdb;
|
1501 |
+
|
1502 |
+
$successfulimport = 0;
|
1503 |
+
$successfulupdate = 0;
|
1504 |
+
|
1505 |
$all_content = array();
|
1506 |
|
1507 |
$post_args = array();
|
1531 |
|
1532 |
if ( 'allpagesposts' == $_POST['siteimportlinksscope']
|
1533 |
|| 'allpagespostscpt' == $_POST['siteimportlinksscope'] ) {
|
1534 |
+
|
1535 |
$post_args = array();
|
1536 |
|
1537 |
if ( 'allpagesposts' == $_POST['siteimportlinksscope'] ) {
|
1548 |
}
|
1549 |
}
|
1550 |
}
|
1551 |
+
|
1552 |
foreach ( $post_types as $post_type ) {
|
1553 |
if ( 'specific' . $post_type == $_POST['siteimportlinksscope'] ) {
|
1554 |
$post_args = array();
|
1563 |
}
|
1564 |
|
1565 |
foreach ( $all_content as $content_item ) {
|
|
|
1566 |
$dom = new DOMDocument;
|
1567 |
$dom->loadHTML( $content_item );
|
1568 |
foreach ( $dom->getElementsByTagName( 'a' ) as $node ) {
|
1569 |
$incomingcatdata = $_POST['siteimportcat'];
|
1570 |
|
1571 |
if ( isset( $_POST['siteimportupdatesameurl'] ) ) {
|
1572 |
+
$existing_link_query = "SELECT l.link_id FROM " . $this->db_prefix() . "links l ";
|
1573 |
+
$existing_link_query .= "WHERE l.link_url = '%s'";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1574 |
|
1575 |
+
$existing_link_query_prepped = $wpdb->prepare( $existing_link_query, esc_url( $node->getAttribute("href") ) );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1576 |
|
1577 |
+
$newlinkid = $wpdb->get_var( $existing_link_query_prepped );
|
|
|
|
|
|
|
|
|
1578 |
|
1579 |
+
$newlink = array(
|
1580 |
+
"link_name" => esc_html( $node->nodeValue ),
|
1581 |
+
"link_url" => esc_url( $node->getAttribute("href") ),
|
1582 |
+
"link_category" => $incomingcatdata,
|
1583 |
+
"link_visible" => 'Y',
|
1584 |
+
);
|
|
|
1585 |
|
1586 |
+
if ( empty( $newlinkid ) ) {
|
1587 |
+
wp_insert_link( $newlink );
|
1588 |
+
$successfulimport += 1;
|
1589 |
+
} elseif ( !empty( $newlinkid ) ) {
|
1590 |
+
unset ( $newlink['link_url'] );
|
1591 |
+
$newlink['link_id'] = $newlinkid;
|
1592 |
+
wp_update_link( $newlink );
|
1593 |
+
$successfulupdate += 1;
|
1594 |
+
}
|
1595 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1596 |
}
|
1597 |
}
|
1598 |
+
$messages[] = '9';
|
1599 |
|
1600 |
wp_suspend_cache_addition( false );
|
1601 |
+
} elseif ( isset( $_POST['exportsettings'] ) ) {
|
|
|
|
|
1602 |
$upload_dir = wp_upload_dir();
|
|
|
1603 |
if ( is_writable( $upload_dir['path'] ) ) {
|
1604 |
+
$myFile = $upload_dir['path'] . "/SettingSet" . $_POST['settingsetid'] . "Export.csv";
|
1605 |
$fh = fopen( $myFile, 'w' ) or die( "can't open file" );
|
1606 |
|
1607 |
+
$sourcesettingsname = 'LinkLibraryPP' . $_POST['settingsetid'];
|
1608 |
+
$sourceoptions = get_option( $sourcesettingsname );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1609 |
|
1610 |
+
$headerrow = array();
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1611 |
|
1612 |
+
foreach ( $sourceoptions as $key => $option ) {
|
1613 |
+
$headerrow[] = '"' . $key . '"';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1614 |
}
|
1615 |
|
1616 |
+
$headerdata = join( ',', $headerrow ) . "\n";
|
1617 |
+
fwrite( $fh, $headerdata );
|
1618 |
|
1619 |
+
$datarow = array();
|
|
|
|
|
1620 |
|
1621 |
+
foreach ( $sourceoptions as $key => $option ) {
|
1622 |
+
$datarow[] = '"' . $option . '"';
|
1623 |
+
}
|
1624 |
|
1625 |
+
$data = join( ',', $datarow ) . "\n";
|
1626 |
+
fwrite( $fh, $data );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1627 |
|
1628 |
fclose( $fh );
|
1629 |
|
1642 |
$messages[] = '6';
|
1643 |
}
|
1644 |
} elseif ( isset( $_POST['importsettings'] ) ) {
|
1645 |
+
global $wpdb;
|
1646 |
+
|
1647 |
if ( $_FILES['settingsfile']['tmp_name'] != "" ) {
|
1648 |
$handle = fopen( $_FILES['settingsfile']['tmp_name'], "r" );
|
1649 |
|
1689 |
array(
|
1690 |
'order', 'table_width', 'num_columns', 'position',
|
1691 |
'beforecatlist1', 'beforecatlist2', 'beforecatlist3', 'catnameoutput', 'linkaddfrequency',
|
1692 |
+
'defaultsinglecat', 'rsspreviewcount', 'rssfeedinlinecount', 'linksperpage', 'catdescpos',
|
1693 |
'catlistdescpos', 'rsspreviewwidth', 'rsspreviewheight', 'numberofrssitems',
|
1694 |
+
'displayweblink', 'sourceweblink', 'showtelephone', 'sourcetelephone', 'showemail', 'sourceimage', 'sourcename', 'popup_width', 'popup_height', 'rssfeedinlinedayspublished', 'tooltipname', 'showupdatedpos'
|
1695 |
)
|
1696 |
as $option_name
|
1697 |
) {
|
1700 |
}
|
1701 |
}
|
1702 |
|
1703 |
+
foreach ( array( 'categorylist', 'excludecategorylist' ) as $option_name ) {
|
1704 |
if ( isset( $_POST[$option_name] ) ) {
|
1705 |
if ( $genoptions['catselectmethod'] == 'commalist' || empty( $genoptions['catselectmethod'] ) ) {
|
1706 |
$options[$option_name] = str_replace( "\"", "'", strtolower( $_POST[$option_name] ) );
|
1714 |
|
1715 |
foreach (
|
1716 |
array(
|
1717 |
+
'linkheader', 'descheader', 'notesheader', 'linktarget', 'settingssetname', 'loadingicon',
|
1718 |
'direction', 'linkdirection', 'linkorder', 'addnewlinkmsg', 'linknamelabel', 'linkaddrlabel', 'linkrsslabel',
|
1719 |
'linkcatlabel', 'linkdesclabel', 'linknoteslabel', 'addlinkbtnlabel', 'newlinkmsg', 'moderatemsg', 'imagepos',
|
1720 |
'imageclass', 'rssfeedtitle', 'rssfeeddescription', 'showonecatmode', 'linkcustomcatlabel', 'linkcustomcatlistentry',
|
1730 |
'showaddlinkreciprocal', 'showaddlinksecondurl', 'showaddlinktelephone', 'showaddlinkemail', 'showcustomcaptcha', 'showlinksubmittername',
|
1731 |
'showaddlinksubmitteremail', 'showlinksubmittercomment', 'showuserlargedescription', 'cat_letter_filter', 'beforefirstlink', 'afterlastlink',
|
1732 |
'searchfieldtext', 'catfilterlabel', 'searchnoresultstext', 'addlinkdefaultcat', 'beforesubmittername', 'aftersubmittername',
|
1733 |
+
'beforecatdesc', 'aftercatdesc', 'emailextracontent', 'displayastable', 'extraquerystring', 'updatedlabel'
|
|
|
1734 |
) as $option_name
|
1735 |
) {
|
1736 |
if ( isset( $_POST[$option_name] ) ) {
|
1748 |
'showlargedescription', 'addlinknoaddress', 'featuredfirst', 'usetextareaforusersubmitnotes', 'showcatonsearchresults', 'shownameifnoimage',
|
1749 |
'enable_link_popup', 'nocatonstartup', 'showlinksonclick', 'showinvisibleadmin', 'combineresults', 'showifreciprocalvalid',
|
1750 |
'cat_letter_filter_autoselect', 'cat_letter_filter_showalloption', 'emailsubmitter', 'addlinkakismet', 'rssfeedinlineskipempty',
|
1751 |
+
'current_user_links', 'showsubmittername', 'onereciprocaldomain', 'nooutputempty', 'showcatdesc', 'showsearchreset'
|
|
|
|
|
1752 |
)
|
1753 |
as $option_name
|
1754 |
) {
|
1780 |
update_option( $settingsname, $options );
|
1781 |
$messages[] = "1";
|
1782 |
|
1783 |
+
global $wpdb;
|
1784 |
+
|
1785 |
+
if ( $options['categorylist'] != '' ) {
|
1786 |
+
$categoryids = explode( ',', $options['categorylist'] );
|
1787 |
|
1788 |
foreach ( $categoryids as $categoryid ) {
|
1789 |
+
$linkcatquery = "SELECT distinct t.name, t.term_id, t.slug as category_nicename, tt.description as category_description ";
|
1790 |
+
$linkcatquery .= "FROM " . $this->db_prefix() . "terms t, " . $this->db_prefix() . "term_taxonomy tt ";
|
1791 |
+
|
1792 |
+
if ( isset( $_POST['hide_if_empty'] ) ) {
|
1793 |
+
$linkcatquery .= ", " . $this->db_prefix() . "term_relationships tr, " . $this->db_prefix() . "links l ";
|
1794 |
+
}
|
1795 |
+
|
1796 |
+
$linkcatquery .= "WHERE t.term_id = tt.term_id AND tt.taxonomy = 'link_category'";
|
1797 |
|
1798 |
+
$linkcatquery .= " AND t.term_id = " . $categoryid;
|
1799 |
+
|
1800 |
+
$catnames = $wpdb->get_results( $linkcatquery );
|
1801 |
|
1802 |
if ( !$catnames ) {
|
1803 |
$messages[] = '2';
|
1805 |
}
|
1806 |
}
|
1807 |
|
1808 |
+
if ( $options['excludecategorylist'] != '' ) {
|
1809 |
+
$categoryids = explode( ',', $options['excludecategorylist'] );
|
1810 |
|
1811 |
foreach ( $categoryids as $categoryid ) {
|
1812 |
+
$linkcatquery = "SELECT distinct t.name, t.term_id, t.slug as category_nicename, tt.description as category_description ";
|
1813 |
+
$linkcatquery .= "FROM " . $this->db_prefix() . "terms t, " . $this->db_prefix() . "term_taxonomy tt ";
|
1814 |
+
|
1815 |
+
if ( isset( $_POST['hide_if_empty'] ) ) {
|
1816 |
+
$linkcatquery .= ", " . $this->db_prefix() . "term_relationships tr, " . $this->db_prefix() . "links l ";
|
1817 |
+
}
|
1818 |
+
|
1819 |
+
$linkcatquery .= "WHERE t.term_id = tt.term_id AND tt.taxonomy = 'link_category'";
|
1820 |
|
1821 |
+
$linkcatquery .= " AND t.term_id = " . $categoryid;
|
1822 |
+
|
1823 |
+
$catnames = $wpdb->get_results( $linkcatquery );
|
1824 |
|
1825 |
if ( !$catnames ) {
|
1826 |
$messages[] = '3';
|
1833 |
|
1834 |
//lets redirect the post request into get request (you may add additional params at the url, if you need to show save results
|
1835 |
$messagelist = implode( ",", $messages );
|
1836 |
+
$cleanredirecturl = $this->remove_querystring_var( $_POST['_wp_http_referer'], 'messages' );
|
1837 |
+
$cleanredirecturl = $this->remove_querystring_var( $cleanredirecturl, 'currenttab' );
|
1838 |
+
$cleanredirecturl = $this->remove_querystring_var( $cleanredirecturl, 'importrowscount' );
|
1839 |
+
$cleanredirecturl = $this->remove_querystring_var( $cleanredirecturl, 'successimportcount' );
|
1840 |
+
$cleanredirecturl = $this->remove_querystring_var( $cleanredirecturl, 'settingscopy' );
|
1841 |
+
$cleanredirecturl = $this->remove_querystring_var( $cleanredirecturl, 'reset' );
|
1842 |
+
$cleanredirecturl = $this->remove_querystring_var( $cleanredirecturl, 'resettable' );
|
1843 |
+
$cleanredirecturl = $this->remove_querystring_var( $cleanredirecturl, 'source' );
|
1844 |
+
$redirecturl = $cleanredirecturl;
|
1845 |
+
|
1846 |
+
if ( !empty( $messages ) ) {
|
1847 |
+
$redirecturl = $cleanredirecturl . "&messages=" . $messagelist;
|
1848 |
}
|
1849 |
|
1850 |
+
if ( $row != 0 ) {
|
1851 |
+
$redirecturl .= "&importrowscount=" . $row;
|
1852 |
}
|
1853 |
|
1854 |
+
if ( $successfulimport != 0 ) {
|
1855 |
+
$redirecturl .= "&successimportcount=" . $successfulimport;
|
1856 |
}
|
1857 |
|
1858 |
+
if ( $successfulupdate != 0 ) {
|
1859 |
+
$redirecturl .= "&successupdatecount=" . $successfulupdate;
|
1860 |
}
|
1861 |
|
1862 |
+
if ( isset( $_POST['currenttab'] ) ) {
|
1863 |
+
$redirecturl .= "¤ttab=" . $_POST['currenttab'];
|
1864 |
}
|
1865 |
|
1866 |
wp_redirect( $redirecturl );
|
|
|
1867 |
}
|
1868 |
|
1869 |
//executed if the post arrives initiated by pressing the submit button of form
|
1880 |
$genoptions = get_option( 'LinkLibraryGeneral' );
|
1881 |
|
1882 |
if ( isset( $_POST['approvelinks'] ) && ( isset( $_POST['links'] ) && count( $_POST['links'] ) > 0 ) ) {
|
1883 |
+
global $wpdb;
|
1884 |
+
|
1885 |
$section = 'moderate';
|
1886 |
|
1887 |
foreach ( $_POST['links'] as $approved_link ) {
|
1888 |
+
$linkdescquery = "SELECT link_description, link_name, link_url ";
|
1889 |
+
$linkdescquery .= "FROM " . $this->db_prefix() . "links l ";
|
1890 |
+
$linkdescquery .= "WHERE link_id = " . $approved_link;
|
1891 |
+
|
1892 |
+
$linkdata = $wpdb->get_row( $linkdescquery, ARRAY_A );
|
1893 |
+
|
1894 |
+
$modpos = strpos( $linkdata['link_description'], "LinkLibrary:AwaitingModeration:RemoveTextToApprove" );
|
1895 |
|
1896 |
+
if ( $modpos ) {
|
1897 |
+
$startpos = $modpos + 51;
|
1898 |
+
$newlinkdesc = substr( $linkdata['link_description'], $startpos );
|
1899 |
+
|
1900 |
+
$id = array( "id" => $linkdescquery );
|
1901 |
+
$newdesc = array( "link_description", $newlinkdesc );
|
1902 |
+
|
1903 |
+
$tablename = $this->db_prefix() . "links";
|
1904 |
+
$wpdb->update( $tablename, array( 'link_description' => $newlinkdesc, 'link_visible' => 'Y' ), array( 'link_id' => $approved_link ) );
|
1905 |
}
|
1906 |
|
1907 |
+
$linkextradata = $wpdb->get_row( "select * from " . $this->db_prefix() . "links_extrainfo where link_id = " . $approved_link, ARRAY_A );
|
|
|
|
|
1908 |
|
1909 |
+
if ( $genoptions['emaillinksubmitter'] == true && $linkextradata['link_submitter_email'] != '' ) {
|
1910 |
if ( $genoptions['usefirstpartsubmittername'] == true ) {
|
1911 |
+
$spacepos = strpos( $linkextradata['link_submitter_name'], " " );
|
1912 |
if ( $spacepos !== false ) {
|
1913 |
+
$linkextradata['link_submitter_name'] = substr( $linkextradata['link_submitter_name'], 0, $spacepos );
|
1914 |
}
|
1915 |
}
|
1916 |
|
1917 |
+
$emailtitle = str_replace( '%linkname%', $linkdata['link_name'], $genoptions['approvalemailtitle'] );
|
1918 |
$emailbody = nl2br( $genoptions['approvalemailbody'] );
|
1919 |
+
$emailbody = str_replace( '%submittername%', stripslashes( $linkextradata['link_submitter_name'] ), stripslashes( $emailbody ) );
|
1920 |
+
$emailbody = str_replace( '%linkname%', $linkdata['link_name'], $emailbody );
|
1921 |
+
$emailbody = str_replace( '%linkurl%', $linkdata['link_url'], $emailbody );
|
1922 |
|
1923 |
$headers = "MIME-Version: 1.0\r\n";
|
1924 |
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
|
1925 |
|
1926 |
+
if ( $genoptions['moderatorname'] != '' && $genoptions['moderatoremail'] != '' ) {
|
1927 |
$headers .= "From: \"" . $genoptions['moderatorname'] . "\" <" . $genoptions['moderatoremail'] . ">\n";
|
1928 |
}
|
1929 |
|
1933 |
$message .= "<br /><br />" . __( 'Message generated by', 'link-library' ) . " <a href='http://ylefebvre.ca/wordpress-plugins/link-library/'>Link Library</a> for Wordpress";
|
1934 |
}
|
1935 |
|
1936 |
+
wp_mail( $linkextradata['link_submitter_email'], $emailtitle, $message, $headers );
|
1937 |
|
1938 |
+
do_action( 'link_library_approval_email', $linkdata, $linkextradata );
|
1939 |
}
|
1940 |
}
|
1941 |
|
1942 |
$message = '1';
|
1943 |
} elseif ( isset( $_POST['deletelinks'] ) && ( isset( $_POST['links'] ) && count( $_POST['links'] ) > 0 ) ) {
|
1944 |
+
global $wpdb;
|
1945 |
+
|
1946 |
$section = 'moderate';
|
1947 |
|
1948 |
foreach ( $_POST['links'] as $approved_link ) {
|
1949 |
+
$linkdescquery = "SELECT link_description, link_name, link_url ";
|
1950 |
+
$linkdescquery .= "FROM " . $this->db_prefix() . "links l ";
|
1951 |
+
$linkdescquery .= "WHERE link_id = " . $approved_link;
|
1952 |
|
1953 |
+
$linkdata = $wpdb->get_row( $linkdescquery, ARRAY_A );
|
|
|
|
|
1954 |
|
1955 |
+
$linkextradata = $wpdb->get_row( "select * from " . $this->db_prefix() . "links_extrainfo where link_id = " . $approved_link, ARRAY_A );
|
|
|
|
|
|
|
|
|
|
|
|
|
1956 |
|
1957 |
+
if ( $genoptions['emaillinksubmitter'] == true && $linkextradata['link_submitter_email'] != '' ) {
|
1958 |
+
$emailtitle = str_replace( '%linkname%', $linkdata['link_name'], $genoptions['rejectedemailtitle'] );
|
1959 |
$emailbody = nl2br( $genoptions['rejectedemailbody'] );
|
1960 |
+
$emailbody = str_replace( '%submittername%', stripslashes( $linkextradata['link_submitter_name'] ), stripslashes( $emailbody ) );
|
1961 |
+
$emailbody = str_replace( '%linkname%', $linkdata['link_name'], $emailbody );
|
1962 |
+
$emailbody = str_replace( '%linkurl%', $linkdata['link_url'], $emailbody );
|
1963 |
|
1964 |
$headers = "MIME-Version: 1.0\r\n";
|
1965 |
$headers .= "Content-type: text/html; charset=iso-8859-1\r\n";
|
1966 |
|
1967 |
+
if ( $genoptions['moderatorname'] != '' && $genoptions['moderatoremail'] != '' ) {
|
1968 |
$headers .= "From: \"" . $genoptions['moderatorname'] . "\" <" . $genoptions['moderatoremail'] . ">\n";
|
1969 |
}
|
1970 |
|
1971 |
$message = $emailbody;
|
1972 |
+
|
1973 |
+
if ( !$genoptions['suppressemailfooter'] ) {
|
1974 |
+
$message .= "<br /><br />" . __( 'Message generated by', 'link-library' ) . " <a href='http://ylefebvre.ca/wordpress-plugins/link-library/'>Link Library</a> for Wordpress";
|
1975 |
+
}
|
1976 |
|
1977 |
+
wp_mail( $linkextradata['link_submitter_email'], $emailtitle, $message, $headers );
|
|
|
|
|
1978 |
|
1979 |
+
do_action( 'link_library_rejection_email', $linkdata, $linkextradata );
|
1980 |
}
|
1981 |
|
1982 |
+
$wpdb->query( "DELETE FROM " . $this->db_prefix() . "links WHERE link_id = " . $approved_link );
|
1983 |
}
|
1984 |
|
1985 |
$message = '2';
|
1986 |
}
|
1987 |
|
1988 |
+
$cleanredirecturl = $this->remove_querystring_var( $_POST['_wp_http_referer'], 'message' );
|
1989 |
|
1990 |
+
if ( $message != '' ) {
|
1991 |
+
$redirecturl = $cleanredirecturl . "&message=" . $message;
|
1992 |
+
} else {
|
1993 |
+
$redirecturl = $cleanredirecturl;
|
1994 |
}
|
1995 |
|
1996 |
//lets redirect the post request into get request (you may add additional params at the url, if you need to show save results
|
1997 |
wp_redirect( $redirecturl );
|
|
|
1998 |
}
|
1999 |
|
2000 |
function on_save_changes_stylesheet() {
|
2027 |
}
|
2028 |
|
2029 |
//lets redirect the post request into get request (you may add additional params at the url, if you need to show save results
|
2030 |
+
wp_redirect( $this->remove_querystring_var( $_POST['_wp_http_referer'], 'message' ) . "&message=" . $message );
|
|
|
|
|
|
|
2031 |
}
|
2032 |
|
2033 |
function on_save_changes_reciprocal() {
|
2057 |
$message = 4;
|
2058 |
}
|
2059 |
|
2060 |
+
if ( $message != - 1 ) {
|
2061 |
+
$messageend = "&message=" . $message;
|
2062 |
+
} else {
|
2063 |
+
$messageend = '';
|
2064 |
+
}
|
2065 |
+
|
2066 |
//lets redirect the post request into get request (you may add additional params at the url, if you need to show save results
|
2067 |
+
wp_redirect( $this->remove_querystring_var( $_POST['_wp_http_referer'], 'message' ) . $messageend );
|
|
|
|
|
|
|
2068 |
}
|
2069 |
|
2070 |
function general_meta_box( $data ) {
|
2079 |
<td>
|
2080 |
<input type='hidden' value='<?php echo $genoptions['schemaversion']; ?>' name='schemaversion' id='schemaversion' />
|
2081 |
<table>
|
|
|
|
|
|
|
|
|
2082 |
<?php if ( !is_multisite() ) { ?>
|
2083 |
<tr>
|
2084 |
<td><?php _e( 'Update channel', 'link-library' ); ?></td>
|
2097 |
<tr>
|
2098 |
<td><?php _e( 'Number of Libraries', 'link-library' ); ?></td>
|
2099 |
<td>
|
2100 |
+
<input type="text" id="numberstylesets" name="numberstylesets" size="5" value="<?php if ( $genoptions['numberstylesets'] == '' ) {
|
2101 |
echo '1';
|
2102 |
}
|
2103 |
echo $genoptions['numberstylesets']; ?>" /></td>
|
2150 |
<tr>
|
2151 |
<td><?php _e( 'Debug Mode', 'link-library' ); ?></td>
|
2152 |
<td>
|
2153 |
+
<input type="checkbox" id="debugmode" name="debugmode" <?php if ( $genoptions['debugmode'] ) {
|
2154 |
+
echo ' checked="checked" ';
|
2155 |
+
} ?>/></td>
|
2156 |
</tr>
|
2157 |
<tr>
|
2158 |
<td class="lltooltip" title="<?php _e( 'This function is only possible when showing one category at a time and while the default category is not shown.', 'link-library' ); ?>"><?php _e( 'Page Title Prefix', 'link-library' ); ?></td>
|
2258 |
<td>
|
2259 |
<input type="text" id="rsscachedelay" name="rsscachedelay" size="5" value="<?php echo intval( $genoptions['rsscachedelay'] ); ?>" /></td>
|
2260 |
</tr>
|
2261 |
+
|
2262 |
+
<tr>
|
2263 |
+
<td>
|
2264 |
+
<input type="submit" id="exportalllinks" name="exportalllinks" value="<?php _e( 'Export All Links', 'link-library' ); ?>" />
|
2265 |
+
</td>
|
2266 |
+
</tr>
|
2267 |
</table>
|
2268 |
</td>
|
2269 |
<?php if ( isset( $genoptions['hidedonation'] ) && !$genoptions['hidedonation'] ) { ?>
|
2300 |
<?php
|
2301 |
}
|
2302 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2303 |
function general_image_meta_box( $data ) {
|
2304 |
$genoptions = $data['genoptions'];
|
2305 |
?>
|
2325 |
}
|
2326 |
|
2327 |
function general_meta_bookmarklet_box( $data ) {
|
2328 |
+
$bookmarkletcode = 'javascript:void(linkmanpopup=window.open(\'' . get_bloginfo( 'wpurl' ) . '/wp-admin/link-add.php?action=popup&linkurl=\'+escape(location.href)+\'&name=\'+(document.title),\'LinkManager\',\'scrollbars=yes,width=900px,height=600px,left=15,top=15,status=yes,resizable=yes\'));linkmanpopup.focus();window.focus();linkmanpopup.focus();';
|
2329 |
?>
|
2330 |
<div style='padding-top:15px' id="ll-bookmarklet" class="content-section">
|
2331 |
<p><?php _e( 'Add new links to your site with this bookmarklet.', 'link-library' ); ?></p>
|
2346 |
<strong><?php _e( 'Approval and rejection e-mail functionality will only work correctly if the submitter e-mail field is displayed on the user link submission form', 'link-library' ); ?></strong>
|
2347 |
</td>
|
2348 |
</tr>
|
2349 |
+
<tr>
|
2350 |
+
<td class='lltooltip' style='width:250px'><?php _e( 'Validate all submitted links with Akismet', 'link-library' ); ?></td>
|
2351 |
+
<td class='lltooltip' style='width:75px;padding-right:20px'>
|
2352 |
+
<input type="checkbox" id="addlinkakismet" name="addlinkakismet" <?php checked( $genoptions['addlinkakismet'] ); ?> />
|
2353 |
+
</td>
|
2354 |
+
</tr>
|
2355 |
<tr>
|
2356 |
<td class='lltooltip' title='<?php _e( 'URL that user will be redirected to after submitting new link. When used, the short code [link-library-addlinkcustommsg] should be placed on the destination page.', 'link-library' ); ?>.' style='width:250px'><?php _e( 'Link Acknowledgement URL', 'link-library' ); ?></td>
|
2357 |
<td class='lltooltip' style='width:75px;padding-right:20px' title='<?php _e( 'URL that user will be redirected to after submitting new link. When used, the short code [link-library-addlinkcustommsg] should be placed on the destination page.', 'link-library' ); ?>.'>
|
2367 |
<tr>
|
2368 |
<td class='lltooltip' title='<?php _e( 'Will send a confirmation e-mail to link submitter if they provided their contact information', 'link-library' ); ?>.' style='width:250px'><?php _e( 'E-mail submitter on link approval or rejection', 'link-library' ); ?></td>
|
2369 |
<td style='width:75px;padding-right:20px'>
|
2370 |
+
<input type="checkbox" id="emaillinksubmitter" name="emaillinksubmitter" <?php if ( $genoptions['emaillinksubmitter'] ) {
|
2371 |
+
echo ' checked="checked" ';
|
2372 |
+
} ?>/></td>
|
2373 |
</tr>
|
2374 |
<tr>
|
2375 |
<td class='lltooltip' style='width:250px'><?php _e( 'Suppress Link Library message in e-mail footer', 'link-library' ); ?></td>
|
2376 |
<td style='width:75px;padding-right:20px'>
|
2377 |
+
<input type="checkbox" id="suppressemailfooter" name="suppressemailfooter" <?php if ( $genoptions['suppressemailfooter'] ) {
|
2378 |
+
echo ' checked="checked" ';
|
2379 |
+
} ?>/></td>
|
2380 |
</tr>
|
2381 |
<tr>
|
2382 |
<td style='width:250px'><?php _e( 'Only use first part of submitter name', 'link-library' ); ?></td>
|
2383 |
<td style='width:75px;padding-right:20px'>
|
2384 |
+
<input type="checkbox" id="usefirstpartsubmittername" name="usefirstpartsubmittername" <?php if ( $genoptions['usefirstpartsubmittername'] ) {
|
2385 |
+
echo ' checked="checked" ';
|
2386 |
+
} ?>/></td>
|
2387 |
</tr>
|
2388 |
<tr>
|
2389 |
<td class='lltooltip' title='<?php _e( 'The name of the e-mail account that the approval e-mail will be sent from', 'link-library' ); ?>'><?php _e( 'Moderator Name', 'link-library' ); ?></td>
|
2427 |
}
|
2428 |
|
2429 |
function general_hide_donation_meta_box() {
|
2430 |
+
?>
|
2431 |
+
<div style='padding-top:15px' id="ll-hidedonation" class="content-section">
|
2432 |
<p><?php _e( 'The following option allows you to hide the Donate button and Support the Author section in the Link Library Admin pages. If you enjoy this plugin and use it regularly, please consider making a donation to the author before turning off these messages. This menu section will disappear along with the other elements.', 'link-library' ); ?></p>
|
2433 |
<table>
|
2434 |
<tr>
|
2435 |
<td class='lltooltip'><?php _e( 'Hide Donation and Support Links', 'link-library' ); ?></td>
|
2436 |
<td>
|
2437 |
+
<input type="checkbox" id="hidedonation" name="hidedonation" <?php if ( isset( $genoptions['hidedonation'] ) && $genoptions['hidedonation'] ) {
|
2438 |
+
echo ' checked="checked" ';
|
2439 |
+
} ?>/></td>
|
2440 |
</tr>
|
2441 |
</table>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2442 |
</div>
|
2443 |
+
<?php
|
2444 |
}
|
2445 |
|
2446 |
function general_save_meta_box() {
|
2471 |
<th style='width: 300px'><?php _e( 'Link URL', 'link-library' ); ?></th>
|
2472 |
<th><?php _e( 'Link Description', 'link-library' ); ?></th>
|
2473 |
</tr>
|
2474 |
+
<?php global $wpdb;
|
2475 |
+
|
2476 |
+
$linkquery = "SELECT distinct *, l.link_id as true_link_id ";
|
2477 |
+
$linkquery .= "FROM " . $this->db_prefix() . "links_extrainfo le ";
|
2478 |
+
$linkquery .= "LEFT JOIN " . $this->db_prefix() . "links l ON (le.link_id = l.link_id) ";
|
2479 |
+
$linkquery .= "LEFT JOIN " . $this->db_prefix() . "term_relationships tr ON (l.link_id = tr.object_id) ";
|
2480 |
+
$linkquery .= "LEFT JOIN " . $this->db_prefix() . "term_taxonomy tt ON (tt.term_taxonomy_id = tr.term_taxonomy_id) ";
|
2481 |
+
$linkquery .= "LEFT JOIN " . $this->db_prefix() . "terms t ON (t.term_id = tt.term_id) ";
|
2482 |
+
$linkquery .= "WHERE l.link_description like '%LinkLibrary:AwaitingModeration:RemoveTextToApprove%' ";
|
2483 |
+
$linkquery .= "AND tt.taxonomy = 'link_category' ";
|
2484 |
+
$linkquery .= " ORDER by link_name ASC";
|
2485 |
+
|
2486 |
+
if ( $genoptions['debugmode'] ) {
|
2487 |
+
echo '<!-- ' . $linkquery . ' -->' . "\n";
|
2488 |
+
}
|
2489 |
+
|
2490 |
+
$linkitems = $wpdb->get_results( $linkquery );
|
2491 |
+
|
2492 |
+
if ( $genoptions['debugmode'] ) {
|
2493 |
+
echo '<!-- ';
|
2494 |
+
print_r( $linkitems );
|
2495 |
+
echo ' -->';
|
2496 |
+
}
|
2497 |
+
|
2498 |
+
if ( $linkitems ) {
|
2499 |
+
foreach ( $linkitems as $linkitem ) {
|
2500 |
+
|
2501 |
+
$modpos = strpos( $linkitem->link_description, "LinkLibrary:AwaitingModeration:RemoveTextToApprove" );
|
2502 |
|
2503 |
+
if ( $modpos ) {
|
2504 |
+
$startpos = $modpos + 51;
|
2505 |
+
$newlinkdesc = substr( $linkitem->link_description, $startpos );
|
2506 |
+
}
|
2507 |
?>
|
2508 |
<tr style='background: #FFF'>
|
2509 |
+
<td><input type="checkbox" name="links[]" value="<?php echo $linkitem->true_link_id; ?>" /></td>
|
2510 |
+
<td><?php echo "<a title='Edit Link: " . $linkitem->link_name . "' href='" . esc_url( add_query_arg( array( 'action' => 'edit', 'link_id' => $linkitem->true_link_id ), admin_url( 'link.php' ) ) ) . "'>" . $linkitem->link_name . "</a>"; ?></td>
|
2511 |
+
<td><?php echo $linkitem->name; ?></td>
|
2512 |
+
<td><?php echo "<a href='" . $linkitem->link_url . "'>" . $linkitem->link_url . "</a>"; ?></td>
|
2513 |
+
<td><?php echo $newlinkdesc; ?></td>
|
2514 |
</tr>
|
2515 |
+
<?php
|
2516 |
}
|
2517 |
} else {
|
2518 |
?>
|
2572 |
<div>
|
2573 |
<?php _e( 'Select Current Library Settings', 'link-library' ); ?> :
|
2574 |
<SELECT id="settingsetlist" name="settingsetlist" style='width: 300px'>
|
2575 |
+
<?php if ( $genoptions['numberstylesets'] == '' ) {
|
2576 |
$numberofsets = 1;
|
2577 |
} else {
|
2578 |
$numberofsets = $genoptions['numberstylesets'];
|
2593 |
<?php $tempoptionname = "LinkLibraryPP" . $counter;
|
2594 |
$tempoptions = get_option( $tempoptionname );
|
2595 |
if ( $counter != $settings ):?>
|
2596 |
+
<option value="<?php echo $counter ?>" <?php echo( $settings == $counter ); ?>><?php _e( 'Library', 'link-library' ); ?> <?php echo $counter ?><?php if ( $tempoptions != "" ) {
|
2597 |
echo " (" . stripslashes( $tempoptions['settingssetname'] ) . ")";
|
2598 |
} ?></option>
|
2599 |
<?php endif;
|
2625 |
<th class="lltooltip" title='<?php _e( 'Link Library Supports the Creation of an unlimited number of configurations to display link lists on your site', 'link-library' ); ?>'>
|
2626 |
<?php _e( 'Code to insert on a Wordpress page', 'link-library' ); ?>
|
2627 |
</th>
|
|
|
2628 |
</tr>
|
2629 |
</thead>
|
2630 |
<tr>
|
2632 |
<td style='background: #FFF'><?php echo stripslashes( $options['settingssetname'] ); ?></a></td>
|
2633 |
<td style='background: #FFF'><?php _e( 'Display basic link library', 'link-library' ); ?></td>
|
2634 |
<td style='background: #FFF'><?php echo "[link-library settings=" . $settings . "]"; ?></td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2635 |
</tr>
|
2636 |
<tr>
|
2637 |
<td style='background: #FFF'></td>
|
2638 |
<td style='background: #FFF'></td>
|
2639 |
<td style='background: #FFF'><?php _e( 'Display list of link categories', 'link-library' ); ?></td>
|
2640 |
<td style='background: #FFF'><?php echo "[link-library-cats settings=" . $settings . "]"; ?></td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2641 |
</tr>
|
2642 |
<tr>
|
2643 |
<td style='background: #FFF'></td>
|
2644 |
<td style='background: #FFF'></td>
|
2645 |
<td style='background: #FFF'><?php _e( 'Display search box', 'link-library' ); ?></td>
|
2646 |
<td style='background: #FFF'><?php echo "[link-library-search settings=" . $settings . "]"; ?></td>
|
|
|
2647 |
</tr>
|
2648 |
<tr>
|
2649 |
<td style='background: #FFF'></td>
|
2650 |
<td style='background: #FFF'></td>
|
2651 |
<td style='background: #FFF'><?php _e( 'Display link submission form', 'link-library' ); ?></td>
|
2652 |
<td style='background: #FFF'><?php echo "[link-library-addlink settings=" . $settings . "]"; ?></td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2653 |
</tr>
|
2654 |
</table>
|
2655 |
<table>
|
2665 |
<?php
|
2666 |
}
|
2667 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2668 |
function settingssets_common_meta_box( $data ) {
|
2669 |
$options = $data['options'];
|
2670 |
$settings = $data['settings'];
|
2692 |
</td>
|
2693 |
<?php if ( $genoptions['catselectmethod'] == 'commalist' || empty( $genoptions['catselectmethod'] ) ) { ?>
|
2694 |
<td class="lltooltip" title="<?php _e( 'Leave Empty to see all categories', 'link-library' ); ?><br /><br /><?php _e( 'Enter list of comma-separated', 'link-library' ); ?><br /><?php _e( 'numeric category IDs', 'link-library' ); ?><br /><br /><?php _e( 'For example', 'link-library' ); ?>: 2,4,56">
|
2695 |
+
<input type="text" id="categorylist" name="categorylist" size="40" value="<?php echo $options['categorylist']; ?>" />
|
2696 |
</td>
|
2697 |
<?php
|
2698 |
} else {
|
2699 |
+
global $wpdb;
|
2700 |
+
$linkcatquery = "SELECT distinct ";
|
2701 |
+
$linkcatquery .= "t.name, t.term_id ";
|
2702 |
+
$linkcatquery .= "FROM " . $this->db_prefix() . "terms t LEFT JOIN " . $this->db_prefix() . "term_taxonomy tt ON (t.term_id = tt.term_id)";
|
2703 |
+
$linkcatquery .= " LEFT JOIN " . $this->db_prefix() . "term_relationships tr ON (tt.term_taxonomy_id = tr.term_taxonomy_id) ";
|
2704 |
+
$linkcatquery .= "WHERE tt.taxonomy = 'link_category'";
|
2705 |
+
|
2706 |
+
$linkcatquery .= " ORDER by t.name " . $options['direction'];
|
2707 |
+
|
2708 |
+
$catnames = $wpdb->get_results( $linkcatquery );
|
2709 |
|
2710 |
+
$categorylistarray = explode( ',', $options['categorylist'] );
|
2711 |
?>
|
2712 |
<td>
|
2713 |
+
<?php if ( !empty( $catnames ) ) { ?>
|
2714 |
+
<select style="width:100%" id="categorylist" name="categorylist[]" multiple <?php disabled( empty( $options['categorylist'] ), true, true ); ?>>
|
2715 |
+
<?php foreach ( $catnames as $catname ) { ?>
|
2716 |
+
<option value="<?php echo $catname->term_id; ?>" <?php selected( in_array( $catname->term_id, $categorylistarray ), true, true ); ?> ><?php echo $catname->name; ?></option>
|
2717 |
+
|
2718 |
+
<?php } ?>
|
2719 |
+
</select>
|
2720 |
+
<?php } else { ?>
|
2721 |
+
<?php _e( 'No link categories! Create some!', 'link-library' ); ?>
|
2722 |
+
<?php } ?>
|
2723 |
<?php _e( 'Show all categories', 'link-library' ); ?>
|
2724 |
+
<input type="checkbox" id="nospecificcats" name="nospecificcats" <?php if ( empty( $options['categorylist'] ) ) {
|
2725 |
+
echo ' checked="checked" ';
|
2726 |
+
} ?>/>
|
2727 |
|
2728 |
</td>
|
2729 |
<?php } ?>
|
2734 |
</td>
|
2735 |
<?php if ( $genoptions['catselectmethod'] == 'commalist' || empty( $genoptions['catselectmethod'] ) ) { ?>
|
2736 |
<td class="lltooltip" title="<?php _e( 'Enter list of comma-separated', 'link-library' ); ?><br /><?php _e( 'numeric category IDs that should not be shown', 'link-library' ); ?><br /><br /><?php _e( 'For example', 'link-library' ); ?>: 5,34,43">
|
2737 |
+
<input type="text" id="excludecategorylist" name="excludecategorylist" size="40" value="<?php echo $options['excludecategorylist']; ?>" />
|
2738 |
</td>
|
2739 |
<?php
|
2740 |
} else {
|
2741 |
+
$excludecategorylistarray = explode( ',', $options['excludecategorylist'] );
|
2742 |
?>
|
2743 |
<td>
|
2744 |
+
<?php if ( !empty( $catnames ) ) { ?>
|
2745 |
+
<select style="width:100%" id="excludecategorylist" name="excludecategorylist[]" multiple <?php disabled( empty( $options['excludecategorylist'] ), true, true ); ?>>
|
2746 |
+
<?php foreach ( $catnames as $catname ) { ?>
|
2747 |
+
<option value="<?php echo $catname->term_id; ?>" <?php selected( in_array( $catname->term_id, $excludecategorylistarray ), true, true ); ?> ><?php echo $catname->name; ?></option>
|
2748 |
+
|
2749 |
+
<?php } ?>
|
2750 |
+
</select>
|
2751 |
+
<?php } else { ?>
|
2752 |
+
<?php _e( 'No link categories! Create some!', 'link-library' ); ?>
|
2753 |
+
<?php } ?>
|
2754 |
<?php _e( 'No Exclusions', 'link-library' ); ?>
|
2755 |
+
<input type="checkbox" id="noexclusions" name="noexclusions" <?php if ( empty( $options['excludecategorylist'] ) ) {
|
2756 |
+
echo ' checked="checked" ';
|
2757 |
+
} ?>/>
|
2758 |
|
2759 |
</td>
|
2760 |
<?php } ?>
|
2764 |
<?php _e( 'Only show one category at a time', 'link-library' ); ?>
|
2765 |
</td>
|
2766 |
<td class="lltooltip" title="<?php _e( 'Only show one category of links at a time', 'link-library' ); ?>">
|
2767 |
+
<input type="checkbox" id="showonecatonly" name="showonecatonly" <?php if ( $options['showonecatonly'] ) {
|
2768 |
+
echo ' checked="checked" ';
|
2769 |
+
} ?>/>
|
2770 |
</td>
|
2771 |
<td style='width: 200px' class="lltooltip" title="<?php _e( 'Select if AJAX should be used to only reload the list of links without reloading the whole page or HTML GET to reload entire page with a new link. The Permalinks option must be enabled for HTML GET + Permalink to work correctly.', 'link-library' ); ?>"><?php _e( 'Switching Method', 'link-library' ); ?></td>
|
2772 |
<td>
|
2773 |
<select name="showonecatmode" id="showonecatmode" style="width:200px;">
|
2774 |
+
<option value="AJAX"<?php if ( $options['showonecatmode'] == 'AJAX' || $options['showonecatmode'] == '' ) {
|
2775 |
+
echo ' selected="selected"';
|
2776 |
+
} ?>>AJAX
|
2777 |
</option>
|
2778 |
+
<option value="HTMLGET"<?php if ( $options['showonecatmode'] == 'HTMLGET' ) {
|
2779 |
+
echo ' selected="selected"';
|
2780 |
+
} ?>>HTML GET
|
2781 |
</option>
|
2782 |
+
<option value="HTMLGETSLUG"<?php if ( $options['showonecatmode'] == 'HTMLGETSLUG' ) {
|
2783 |
+
echo ' selected="selected"';
|
2784 |
+
} ?>>HTML GET Using Slugs
|
2785 |
</option>
|
2786 |
+
<option value="HTMLGETCATNAME"<?php if ( $options['showonecatmode'] == 'HTMLGETCATNAME' ) {
|
2787 |
+
echo ' selected="selected"';
|
2788 |
+
} ?>>HTML GET Using Category Name
|
2789 |
</option>
|
2790 |
+
<option value="HTMLGETPERM"<?php if ( $options['showonecatmode'] == 'HTMLGETPERM' ) {
|
2791 |
+
echo ' selected="selected"';
|
2792 |
+
} ?>>HTML GET + Permalink
|
2793 |
</option>
|
2794 |
</select>
|
2795 |
</td>
|
2799 |
<?php _e( 'Default category to be shown when only showing one at a time (numeric ID)', 'link-library' ); ?>
|
2800 |
</td>
|
2801 |
<td>
|
2802 |
+
<input type="text" id="defaultsinglecat" name="defaultsinglecat" size="4" value="<?php echo $options['defaultsinglecat']; ?>" />
|
2803 |
</td>
|
2804 |
+
<td><?php _e( 'Hide category on start in single cat AJAX mode', 'link-library' ); ?></td>
|
2805 |
<td>
|
2806 |
+
<input type="checkbox" id="nocatonstartup" name="nocatonstartup" <?php if ( $options['nocatonstartup'] ) {
|
2807 |
+
echo ' checked="checked" ';
|
2808 |
+
} ?>/></td>
|
2809 |
</tr>
|
2810 |
<tr>
|
2811 |
<td class="lltooltip" title="<?php _e( 'File path is relative to Link Library plugin directory', 'link-library' ); ?>">
|
2812 |
<?php _e( 'Icon to display when performing AJAX queries', 'link-library' ); ?>
|
2813 |
</td>
|
2814 |
<td class="lltooltip" title="<?php _e( 'File path is relative to Link Library plugin directory', 'link-library' ); ?>">
|
2815 |
+
<input type="text" id="loadingicon" name="loadingicon" size="40" value="<?php if ( $options['loadingicon'] == '' ) {
|
2816 |
echo '/icons/Ajax-loader.gif';
|
2817 |
} else {
|
2818 |
echo strval( $options['loadingicon'] );
|
2824 |
<?php _e( 'Paginate Results', 'link-library' ); ?>
|
2825 |
</td>
|
2826 |
<td class="lltooltip" title='<?php _e( 'Only show a limited number of links and add page navigation links', 'link-library' ); ?>'>
|
2827 |
+
<input type="checkbox" id="pagination" name="pagination" <?php if ( $options['pagination'] ) {
|
2828 |
+
echo ' checked="checked" ';
|
2829 |
+
} ?>/>
|
2830 |
</td>
|
2831 |
<td class="lltooltip" title="<?php _e( 'Number of Links to be Displayed per Page in Pagination Mode', 'link-library' ); ?>">
|
2832 |
<?php _e( 'Links per Page', 'link-library' ); ?>
|
2841 |
</td>
|
2842 |
<td>
|
2843 |
<select name="paginationposition" id="paginationposition" style="width:200px;">
|
2844 |
+
<option value="AFTER"<?php if ( $options['paginationposition'] == 'AFTER' || $options['paginationposition'] == '' ) {
|
2845 |
+
echo ' selected="selected"';
|
2846 |
+
} ?>><?php _e( 'After Links', 'link-library' ); ?></option>
|
2847 |
+
<option value="BEFORE"<?php if ( $options['paginationposition'] == 'BEFORE' ) {
|
2848 |
+
echo ' selected="selected"';
|
2849 |
+
} ?>><?php _e( 'Before Links', 'link-library' ); ?></option>
|
2850 |
</select>
|
2851 |
</td>
|
2852 |
<td>
|
2853 |
<?php _e( 'Hide Results if Empty', 'link-library' ); ?>
|
2854 |
</td>
|
2855 |
<td>
|
2856 |
+
<input type="checkbox" id="hide_if_empty" name="hide_if_empty" <?php if ( $options['hide_if_empty'] ) {
|
2857 |
+
echo ' checked="checked" ';
|
2858 |
+
} ?>/>
|
2859 |
</td>
|
2860 |
</tr>
|
|
|
|
|
|
|
2861 |
<tr>
|
2862 |
<td>
|
2863 |
<?php _e( 'Enable Permalinks', 'link-library' ); ?>
|
2864 |
</td>
|
2865 |
<td>
|
2866 |
+
<input type="checkbox" id="enablerewrite" name="enablerewrite" <?php if ( $options['enablerewrite'] ) {
|
2867 |
+
echo ' checked="checked" ';
|
2868 |
+
} ?>/>
|
2869 |
</td>
|
2870 |
<td>
|
2871 |
<?php _e( 'Permalinks Page', 'link-library' ); ?>
|
2874 |
<input type="text" id="rewritepage" name="rewritepage" size="40" value="<?php echo $options['rewritepage']; ?>" />
|
2875 |
</td>
|
2876 |
</tr>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2877 |
<tr>
|
2878 |
<td><?php _e( 'Display alphabetic cat filter', 'link-library' ); ?></td>
|
2879 |
<td><?php $letterfilteroptions = array( 'no' => __( 'Do not display', 'link-library' ), 'beforecats' => __( 'Before Categories', 'link-library' ), 'beforelinks' => __( 'Before Links', 'link-library' ), 'beforecatsandlinks' => __( 'Before Categories and Links', 'link-library' ) ); ?>
|
2904 |
jQuery(document).ready(function () {
|
2905 |
jQuery('#nospecificcats').click(function () {
|
2906 |
if (jQuery("#nospecificcats").is(":checked")) {
|
2907 |
+
jQuery('#categorylist').prop('disabled', 'disabled');
|
2908 |
+
jQuery("#categorylist").val([]);
|
2909 |
}
|
2910 |
else {
|
2911 |
+
jQuery('#categorylist').prop('disabled', false);
|
2912 |
}
|
2913 |
});
|
2914 |
});
|
2916 |
jQuery(document).ready(function () {
|
2917 |
jQuery('#noexclusions').click(function () {
|
2918 |
if (jQuery("#noexclusions").is(":checked")) {
|
2919 |
+
jQuery('#excludecategorylist').prop('disabled', 'disabled');
|
2920 |
+
jQuery("#excludecategorylist").val([]);
|
2921 |
}
|
2922 |
else {
|
2923 |
+
jQuery('#excludecategorylist').prop('disabled', false);
|
2924 |
}
|
2925 |
});
|
2926 |
});
|
2942 |
</td>
|
2943 |
<td>
|
2944 |
<select name="order" id="order" style="width:200px;">
|
2945 |
+
<option value="name"<?php if ( $options['order'] == 'name' ) {
|
2946 |
+
echo ' selected="selected"';
|
2947 |
+
} ?>><?php _e( 'Order by Name', 'link-library' ); ?></option>
|
2948 |
+
<option value="id"<?php if ( $options['order'] == 'id' ) {
|
2949 |
+
echo ' selected="selected"';
|
2950 |
+
} ?>><?php _e( 'Order by ID', 'link-library' ); ?></option>
|
2951 |
<?php if ( $genoptions['catselectmethod'] == 'commalist' || empty( $genoptions['catselectmethod'] ) ) { ?>
|
2952 |
+
<option value="catlist"<?php if ( $options['order'] == 'catlist' ) {
|
2953 |
+
echo ' selected="selected"';
|
2954 |
+
} ?>><?php _e( 'Order of categories based on included category list', 'link-library' ); ?></option>
|
2955 |
<?php } ?>
|
2956 |
+
<option value="order"<?php if ( $options['order'] == 'order' ) {
|
2957 |
+
echo ' selected="selected"';
|
2958 |
+
} ?>><?php _e( 'Order by', 'link-library' ); ?> 'My Link Order' <?php _e( 'Wordpress Plugin', 'link-library' ); ?></option>
|
2959 |
</select>
|
2960 |
</td>
|
2961 |
<td style='width:100px'></td>
|
3114 |
<?php _e( 'Show Category Description', 'link-library' ); ?>
|
3115 |
</td>
|
3116 |
<td class="lltooltip" title="<?php _e( 'Use [ and ] in the description to perform special actions using HTML such as inserting images instead of < and >', 'link-library' ); ?>">
|
3117 |
+
<input type="checkbox" id="showcategorydesclinks" name="showcategorydesclinks" <?php if ( $options['showcategorydesclinks'] ) {
|
3118 |
+
echo ' checked="checked" ';
|
3119 |
+
} ?>/>
|
3120 |
<span style='margin-left: 17px'><?php _e( 'Position', 'link-library' ); ?>:</span>
|
3121 |
<select name="catdescpos" id="catdescpos" style="width:100px;">
|
3122 |
<option value="right"<?php selected( $options['catdescpos'] == 'right' ); ?>><?php _e( 'Right', 'link-library' ); ?></option>
|
3123 |
<option value="left"<?php selected( $options['catdescpos'] == 'left' ); ?>><?php _e( 'Left', 'link-library' ); ?></option>
|
|
|
|
|
3124 |
</select>
|
3125 |
</td>
|
3126 |
</tr>
|
3186 |
<td>
|
3187 |
<select name="displayastable" id="displayastable" style="width:200px;">
|
3188 |
<option value="true"<?php selected( $options['displayastable'], 'true' ); ?>><?php _e( 'Table', 'link-library' ); ?></option>
|
3189 |
+
<option value="false"<?php selected( $options['displayastable'], 'false' ); ?>><?php _e( 'Unordered List', 'link-library' ); ?></option>
|
3190 |
<option value="nosurroundingtags"<?php selected( $options['displayastable'], 'nosurroundingtags' ); ?>><?php _e( 'No surrounding tags', 'link-library' ); ?></option>
|
3191 |
</select>
|
3192 |
</td>
|
3206 |
<td>
|
3207 |
<input type="checkbox" id="showcolumnheaders" name="showcolumnheaders" <?php checked( $options['showcolumnheaders'] ); ?>/>
|
3208 |
</td>
|
3209 |
+
<td></td>
|
3210 |
<td>
|
3211 |
+
<?php _e( 'Link Column Header', 'link-library' ); ?>
|
|
|
3212 |
</td>
|
3213 |
<td>
|
3214 |
+
<input type="text" id="linkheader" name="linkheader" size="40" value="<?php echo $options['linkheader']; ?>" />
|
|
|
3215 |
</td>
|
3216 |
</tr>
|
3217 |
<tr>
|
3218 |
<td>
|
3219 |
+
<?php _e( 'Description Column Header', 'link-library' ); ?>
|
3220 |
</td>
|
3221 |
<td>
|
3222 |
+
<input type="text" id="descheader" name="descheader" size="40" value="<?php echo $options['descheader']; ?>" />
|
3223 |
+
</td>
|
3224 |
+
<td></td>
|
3225 |
+
<td>
|
3226 |
+
<?php _e( 'Notes Column Header', 'link-library' ); ?>
|
3227 |
+
</td>
|
3228 |
+
<td>
|
3229 |
+
<input type="text" id="notesheader" name="notesheader" size="40" value="<?php echo $options['notesheader']; ?>" />
|
3230 |
</td>
|
3231 |
</tr>
|
3232 |
<tr>
|
3245 |
</td>
|
3246 |
</tr>
|
3247 |
<tr>
|
3248 |
+
<td class="lltooltip" title='<?php _e( 'Need to be active for Link Categories to work', 'link-library' ); ?>'>
|
3249 |
+
<?php _e( 'Embed HTML anchors', 'link-library' ); ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3250 |
</td>
|
3251 |
<td class="lltooltip" title='<?php _e( 'Need to be active for Link Categories to work', 'link-library' ); ?>'>
|
3252 |
<input type="checkbox" id="catanchor" name="catanchor" <?php checked( $options['catanchor'] ); ?>/>
|
3273 |
<?php _e( 'Arrange the items below via drag-and-drop to order the various Link Library elements.', 'link-library' ); ?>
|
3274 |
<br /><br />
|
3275 |
<ul id="sortable">
|
3276 |
+
<?php if ( $options['dragndroporder'] == '' ) {
|
3277 |
+
$dragndroporder = '1,2,3,4,5,6,7,8,9,10,11,12,13,14';
|
3278 |
} else {
|
3279 |
$dragndroporder = $options['dragndroporder'];
|
3280 |
}
|
|
|
3281 |
$dragndroparray = explode( ',', $dragndroporder );
|
3282 |
|
3283 |
+
if ( !in_array( '13', $dragndroparray ) ) {
|
3284 |
+
$dragndroparray[] = '13';
|
3285 |
+
}
|
3286 |
|
3287 |
+
if ( !in_array( '14', $dragndroparray ) ) {
|
3288 |
+
$dragndroparray[] = '14';
|
|
|
|
|
3289 |
}
|
3290 |
|
3291 |
if ( $dragndroparray ) {
|
3317 |
<?php break;
|
3318 |
case 7:
|
3319 |
?>
|
3320 |
+
<li id="7" style='background-color: #5ccccc'><?php _e( 'Link', 'link-library' ); ?></li>
|
3321 |
<?php break;
|
3322 |
case 8:
|
3323 |
?>
|
3347 |
?>
|
3348 |
<li id="14" style='background-color: #33eeff'><?php _e( 'Cat Desc', 'link-library' ); ?></li>
|
3349 |
<?php break;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3350 |
}
|
3351 |
}
|
3352 |
}
|
3393 |
<td style='background: #FFF'></td>
|
3394 |
<td style='background: #FFF'></td>
|
3395 |
</tr>
|
3396 |
+
<?php if ( $options['dragndroporder'] == '' ) {
|
3397 |
+
$dragndroporder = '1,2,3,4,5,6,7,8,9,10,11,12,13,14';
|
3398 |
} else {
|
3399 |
$dragndroporder = $options['dragndroporder'];
|
3400 |
}
|
3401 |
+
|
3402 |
$dragndroparray = explode( ',', $dragndroporder );
|
3403 |
|
3404 |
+
if ( !in_array( '13', $dragndroparray ) ) {
|
3405 |
+
$dragndroparray[] = '13';
|
3406 |
+
}
|
3407 |
|
3408 |
+
if ( !in_array( '14', $dragndroparray ) ) {
|
3409 |
+
$dragndroparray[] = '14';
|
|
|
|
|
3410 |
}
|
3411 |
|
3412 |
if ( $dragndroparray ) {
|
3417 |
<tr>
|
3418 |
<td style='background-color: #1240ab; color: #fff' class="lltooltip" title='<?php _e( 'This column allows for the output of text/code before each link image', 'link-library' ); ?>'><?php _e( 'Image', 'link-library' ); ?></td>
|
3419 |
<td style='text-align:center;background: #FFF'>
|
3420 |
+
<input type="checkbox" id="show_images" name="show_images" <?php if ( $options['show_images'] ) {
|
3421 |
+
echo ' checked="checked" ';
|
3422 |
+
} ?>/>
|
3423 |
</td>
|
3424 |
<td style='background: #FFF' class="lltooltip" title='<?php _e( 'Code/Text to be displayed before each link image', 'link-library' ); ?>'>
|
3425 |
<input type="text" id="beforeimage" name="beforeimage" size="22" value="<?php echo stripslashes( $options['beforeimage'] ); ?>" />
|
3432 |
</td>
|
3433 |
<td style='background: #FFF'>
|
3434 |
<select name="sourceimage" id="sourceimage" style="width:200px;">
|
3435 |
+
<option value="primary"<?php if ( $options['sourceimage'] == "primary" ) {
|
3436 |
+
echo ' selected="selected"';
|
3437 |
+
} ?>><?php _e( 'Primary', 'link-library' ); ?></option>
|
3438 |
+
<option value="secondary"<?php if ( $options['sourceimage'] == "secondary" ) {
|
3439 |
+
echo ' selected="selected"';
|
3440 |
+
} ?>><?php _e( 'Secondary', 'link-library' ); ?></option>
|
3441 |
</select>
|
3442 |
</td>
|
3443 |
</tr>
|
3447 |
<tr>
|
3448 |
<td style='background-color: #4671d5; color: #fff' class="lltooltip" title='<?php _e( 'This column allows for the output of text/code before and after each link name', 'link-library' ); ?>'><?php _e( 'Link Name', 'link-library' ); ?></td>
|
3449 |
<td style='text-align:center;background: #FFF'>
|
3450 |
+
<input type="checkbox" id="showname" name="showname" <?php if ( $options['showname'] == true ) {
|
3451 |
+
echo ' checked="checked" ';
|
3452 |
+
} ?>/>
|
3453 |
</td>
|
3454 |
<td style='background: #FFF' class="lltooltip" title='<?php _e( 'Code/Text to be displayed before each link', 'link-library' ); ?>'>
|
3455 |
<input type="text" id="beforelink" name="beforelink" size="22" value="<?php echo stripslashes( $options['beforelink'] ); ?>" />
|
3465 |
</td>
|
3466 |
<td style='background: #FFF'>
|
3467 |
<select name="sourcename" id="sourcename" style="width:200px;">
|
3468 |
+
<option value="primary"<?php selected( $options['sourcename'], 'primary' ); ?>><?php _e( 'Primary', 'link-library' ); ?></option>
|
3469 |
+
<option value="secondary"<?php selected( $options['sourcename'], 'secondary' ); ?>><?php _e( 'Secondary', 'link-library' ); ?></option>
|
|
|
3470 |
</select>
|
3471 |
</td>
|
3472 |
</tr>
|
3476 |
<tr>
|
3477 |
<td style='background-color: #39e639; color:#fff' class="lltooltip" title='<?php _e( 'This column allows for the output of text/code before and after each link date stamp', 'link-library' ); ?>'><?php _e( 'Link Date', 'link-library' ); ?></td>
|
3478 |
<td style='background: #FFF;text-align:center' class="lltooltip" title='<?php _e( 'Check to display link date', 'link-library' ); ?>'>
|
3479 |
+
<input type="checkbox" id="showdate" name="showdate" <?php if ( $options['showdate'] ) {
|
3480 |
+
echo ' checked="checked" ';
|
3481 |
+
} ?>/>
|
3482 |
</td>
|
3483 |
<td style='background: #FFF' class="lltooltip" title='<?php _e( 'Code/Text to be displayed before each date', 'link-library' ); ?>'>
|
3484 |
<input type="text" id="beforedate" name="beforedate" size="22" value="<?php echo stripslashes( $options['beforedate'] ); ?>" />
|
3495 |
<tr>
|
3496 |
<td style='background-color: #009999;color:#fff' class="lltooltip" title='<?php _e( 'This column allows for the output of text/code before and after each link description', 'link-library' ); ?>'><?php _e( 'Link Description', 'link-library' ); ?></td>
|
3497 |
<td style='background: #FFF;text-align: center' class="lltooltip" title='<?php _e( 'Check to display link descriptions', 'link-library' ); ?>'>
|
3498 |
+
<input type="checkbox" id="showdescription" name="showdescription" <?php if ( $options['showdescription'] ) {
|
3499 |
+
echo ' checked="checked" ';
|
3500 |
+
} ?>/>
|
3501 |
</td>
|
3502 |
<td style='background: #FFF' class="lltooltip" title='<?php _e( 'Code/Text to be displayed before each description', 'link-library' ); ?>'>
|
3503 |
<input type="text" id="beforedesc" name="beforedesc" size="22" value="<?php echo stripslashes( $options['beforedesc'] ); ?>" />
|
3514 |
<tr>
|
3515 |
<td style='background-color: #00cc00;color:#fff' class="lltooltip" title='<?php _e( 'This column allows for the output of text/code before and after each link notes', 'link-library' ); ?>'><?php _e( 'Link Notes', 'link-library' ); ?></td>
|
3516 |
<td style='background: #FFF;text-align: center' class="lltooltip" title='<?php _e( 'Check to display link notes', 'link-library' ); ?>'>
|
3517 |
+
<input type="checkbox" id="shownotes" name="shownotes" <?php if ( $options['shownotes'] ) {
|
3518 |
+
echo ' checked="checked" ';
|
3519 |
+
} ?>/>
|
3520 |
</td>
|
3521 |
<td style='background: #FFF' class="lltooltip" title='<?php _e( 'Code/Text to be displayed before each note', 'link-library' ); ?>'>
|
3522 |
<input type="text" id="beforenote" name="beforenote" size="22" value="<?php echo stripslashes( $options['beforenote'] ); ?>" />
|
3553 |
<select name="displayweblink" id="displayweblink" style="width:80px;">
|
3554 |
<option value="false"<?php selected( $options['displayweblink'] == "false" ); ?>><?php _e( 'False', 'link-library' ); ?></option>
|
3555 |
<option value="address"<?php selected( $options['displayweblink'] == "address" ); ?>><?php _e( 'Web Address', 'link-library' ); ?></option>
|
3556 |
+
<option value="addressonly"<?php selected( $options['displayweblink'] == "addressonly" ); ?>><?php _e( 'Web Address Only', 'link-library' ); ?></option>
|
3557 |
<option value="label"<?php selected( $options['displayweblink'] == "label" ); ?>><?php _e( 'Label', 'link-library' ); ?></option>
|
3558 |
</select>
|
3559 |
</td>
|
3563 |
<td style='background: #FFF' class="lltooltip" title='<?php _e( 'Code/Text to be displayed after Web Link', 'link-library' ); ?>'>
|
3564 |
<input type="text" id="afterweblink" name="afterweblink" size="22" value="<?php echo stripslashes( $options['afterweblink'] ); ?>" />
|
3565 |
</td>
|
3566 |
+
<td style='background: #FFF' class="lltooltip" title='<?php _e( 'Text Label that the web link will be assigned to.', 'link-library' ); ?>'>
|
3567 |
+
<input type="text" id="weblinklabel" name="weblinklabel" size="22" value="<?php echo stripslashes( $options['weblinklabel'] ); ?>" />
|
|
|
3568 |
</td>
|
3569 |
<td style='background: #FFF' class="lltooltip" title='<?php _e( 'Select which link address will be displayed / used for link', 'link-library' ); ?>'>
|
3570 |
<select name="sourceweblink" id="sourceweblink" style="width:200px;">
|
3571 |
+
<option value="primary"<?php if ( $options['sourceweblink'] == "primary" ) {
|
3572 |
+
echo ' selected="selected"';
|
3573 |
+
} ?>><?php _e( 'Primary', 'link-library' ); ?></option>
|
3574 |
+
<option value="secondary"<?php if ( $options['sourceweblink'] == "secondary" ) {
|
3575 |
+
echo ' selected="selected"';
|
3576 |
+
} ?>><?php _e( 'Secondary', 'link-library' ); ?></option>
|
3577 |
</select>
|
3578 |
</td>
|
3579 |
</tr>
|
3584 |
<td style='background-color: #6c8cd5;color:#fff' class="lltooltip" title='<?php _e( 'This column allows for the output of text/code before and after the Telephone Number', 'link-library' ); ?>'><?php _e( 'Telephone', 'link-library' ); ?></td>
|
3585 |
<td style='text-align:center;background: #FFF'>
|
3586 |
<select name="showtelephone" id="showtelephone" style="width:80px;">
|
3587 |
+
<option value="false"<?php if ( $options['showtelephone'] == "false" ) {
|
3588 |
+
echo ' selected="selected"';
|
3589 |
+
} ?>><?php _e( 'False', 'link-library' ); ?></option>
|
3590 |
+
<option value="plain"<?php if ( $options['showtelephone'] == "plain" ) {
|
3591 |
+
echo ' selected="selected"';
|
3592 |
+
} ?>><?php _e( 'Plain Text', 'link-library' ); ?></option>
|
3593 |
+
<option value="link"<?php if ( $options['showtelephone'] == "link" ) {
|
3594 |
+
echo ' selected="selected"';
|
3595 |
+
} ?>><?php _e( 'Link', 'link-library' ); ?></option>
|
3596 |
+
<option value="label"<?php if ( $options['showtelephone'] == "label" ) {
|
3597 |
+
echo ' selected="selected"';
|
3598 |
+
} ?>><?php _e( 'Label', 'link-library' ); ?></option>
|
3599 |
</select>
|
3600 |
</td>
|
3601 |
<td style='background: #FFF' class="lltooltip" title='<?php _e( 'Code/Text to be displayed before Telephone Number', 'link-library' ); ?>'>
|
3609 |
</td>
|
3610 |
<td style='background: #FFF' class="lltooltip" title='<?php _e( 'Select which link address will be displayed / used for link', 'link-library' ); ?>'>
|
3611 |
<select name="sourcetelephone" id="sourcetelephone" style="width:200px;">
|
3612 |
+
<option value="primary"<?php if ( $options['sourcetelephone'] == "primary" ) {
|
3613 |
+
echo ' selected="selected"';
|
3614 |
+
} ?>><?php _e( 'Primary', 'link-library' ); ?></option>
|
3615 |
+
<option value="secondary"<?php if ( $options['sourcetelephone'] == "secondary" ) {
|
3616 |
+
echo ' selected="selected"';
|
3617 |
+
} ?>><?php _e( 'Secondary', 'link-library' ); ?></option>
|
3618 |
</select>
|
3619 |
</td>
|
3620 |
</tr>
|
3625 |
<td style='background-color: #67e667;color:#fff' class="lltooltip" title='<?php _e( 'This column allows for the output of text/code before and after the E-mail', 'link-library' ); ?>'><?php _e( 'E-mail', 'link-library' ); ?></td>
|
3626 |
<td style='text-align:center;background: #FFF'>
|
3627 |
<select name="showemail" id="showemail" style="width:80px;">
|
3628 |
+
<option value="false"<?php if ( $options['showemail'] == "false" ) {
|
3629 |
+
echo ' selected="selected"';
|
3630 |
+
} ?>><?php _e( 'False', 'link-library' ); ?></option>
|
3631 |
+
<option value="plain"<?php if ( $options['showemail'] == "plain" ) {
|
3632 |
+
echo ' selected="selected"';
|
3633 |
+
} ?>><?php _e( 'Plain Text', 'link-library' ); ?></option>
|
3634 |
+
<option value="mailto"<?php if ( $options['showemail'] == "mailto" ) {
|
3635 |
+
echo ' selected="selected"';
|
3636 |
+
} ?>><?php _e( 'MailTo Link', 'link-library' ); ?></option>
|
3637 |
+
<option value="mailtolabel"<?php if ( $options['showemail'] == "mailtolabel" ) {
|
3638 |
+
echo ' selected="selected"';
|
3639 |
+
} ?>><?php _e( 'MailTo Link with Label', 'link-library' ); ?></option>
|
3640 |
+
<option value="command"<?php if ( $options['showemail'] == "command" ) {
|
3641 |
+
echo ' selected="selected"';
|
3642 |
+
} ?>><?php _e( 'Formatted Command', 'link-library' ); ?></option>
|
3643 |
+
<option value="commandlabel"<?php if ( $options['showemail'] == "commandlabel" ) {
|
3644 |
+
echo ' selected="selected"';
|
3645 |
+
} ?>><?php _e( 'Formatted Command with Labels', 'link-library' ); ?></option>
|
3646 |
</select>
|
3647 |
</td>
|
3648 |
<td style='background: #FFF' class="lltooltip" title='<?php _e( 'Code/Text to be displayed before E-mail', 'link-library' ); ?>'>
|
3664 |
<tr>
|
3665 |
<td style='background-color: #33cccc;color:#fff' class="lltooltip" title='<?php _e( 'This column allows for the output of text/code before and after Link Hits', 'link-library' ); ?>'><?php _e( 'Link Hits', 'link-library' ); ?></td>
|
3666 |
<td style='text-align:center;background: #FFF'>
|
3667 |
+
<input type="checkbox" id="showlinkhits" name="showlinkhits" <?php if ( $options['showlinkhits'] ) {
|
3668 |
+
echo ' checked="checked" ';
|
3669 |
+
} ?>/>
|
3670 |
</td>
|
3671 |
<td style='background: #FFF' class="lltooltip" title='<?php _e( 'Code/Text to be displayed before Link Hits', 'link-library' ); ?>'>
|
3672 |
<input type="text" id="beforelinkhits" name="beforelinkhits" size="22" value="<?php echo stripslashes( $options['beforelinkhits'] ); ?>" />
|
3683 |
<tr>
|
3684 |
<td style='background-color: #33cc00;color:#fff' class="lltooltip" title='<?php _e( 'This column allows for the output of text/code before and after the Link Rating', 'link-library' ); ?>'><?php _e( 'Link Rating', 'link-library' ); ?></td>
|
3685 |
<td style='text-align:center;background: #FFF'>
|
3686 |
+
<input type="checkbox" id="showrating" name="showrating" <?php if ( $options['showrating'] ) {
|
3687 |
+
echo ' checked="checked" ';
|
3688 |
+
} ?>/>
|
3689 |
</td>
|
3690 |
<td style='background: #FFF' class="lltooltip" title='<?php _e( 'Code/Text to be displayed before Link Rating', 'link-library' ); ?>'>
|
3691 |
<input type="text" id="beforelinkrating" name="beforelinkrating" size="22" value="<?php echo stripslashes( $options['beforelinkrating'] ); ?>" />
|
3702 |
<tr>
|
3703 |
<td style='background-color: #33ccff;color:#fff' class="lltooltip" title='<?php _e( 'This column allows for the output of text/code before and after the Link Large Description', 'link-library' ); ?>'><?php _e( 'Link Large Description', 'link-library' ); ?></td>
|
3704 |
<td style='text-align:center;background: #FFF'>
|
3705 |
+
<input type="checkbox" id="showlargedescription" name="showlargedescription" <?php if ( $options['showlargedescription'] ) {
|
3706 |
+
echo ' checked="checked" ';
|
3707 |
+
} ?>/>
|
3708 |
</td>
|
3709 |
<td style='background: #FFF' class="lltooltip" title='<?php _e( 'Code/Text to be displayed before Link Large Description', 'link-library' ); ?>'>
|
3710 |
<input type="text" id="beforelargedescription" name="beforelargedescription" size="22" value="<?php echo stripslashes( $options['beforelargedescription'] ); ?>" />
|
3750 |
<td style='background: #FFF'></td>
|
3751 |
</tr>
|
3752 |
<?php break;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
3753 |
}
|
3754 |
}
|
3755 |
}
|
3791 |
<?php _e( 'Show Link Updated Flag', 'link-library' ); ?>
|
3792 |
</td>
|
3793 |
<td style='width:75px;padding:0px 20px 0px 20px'>
|
3794 |
+
<input type="checkbox" id="showupdated" name="showupdated" <?php if ( $options['showupdated'] ) {
|
3795 |
+
echo ' checked="checked" ';
|
3796 |
+
} ?>/>
|
3797 |
</td>
|
3798 |
<td style='width:20px'>
|
3799 |
</td>
|
3801 |
<?php _e( 'Convert [] to <> in Link Description and Notes', 'link-library' ); ?>
|
3802 |
</td>
|
3803 |
<td style='width:75px;padding:0px 20px 0px 20px'>
|
3804 |
+
<input type="checkbox" id="use_html_tags" name="use_html_tags" <?php if ( $options['use_html_tags'] ) {
|
3805 |
+
echo ' checked="checked" ';
|
3806 |
+
} ?>/>
|
3807 |
</td>
|
3808 |
</tr>
|
3809 |
<tr>
|
3813 |
<td style='width:75px;padding:0px 20px 0px 20px'>
|
3814 |
<select id="showupdatedpos" name="showupdatedpos">
|
3815 |
<?php
|
3816 |
+
$show_updated_pos_options = array( 'before' => 'Before Link Fields', 'after' => 'After Link Fields' );
|
3817 |
|
3818 |
+
foreach( $show_updated_pos_options as $show_updated_pos_option_key => $show_updated_pos_option ) { ?>
|
3819 |
+
<option value="<?php echo $show_updated_pos_option_key; ?>" <?php selected( $options['showupdatedpos'], $show_updated_pos_option_key ); ?>><?php echo $show_updated_pos_option; ?></option>
|
3820 |
+
<?php }
|
3821 |
?>
|
3822 |
</select>
|
3823 |
</td>
|
3878 |
</td>
|
3879 |
<td><?php _e( 'Pop-Up Width', 'link-library' ); ?></td>
|
3880 |
<td>
|
3881 |
+
<input type="text" id="popup_width" name="popup_width" size="4" value="<?php if ( !isset( $options['popup_width'] ) || $options['popup_width'] == '' ) {
|
3882 |
echo '300';
|
3883 |
} else {
|
3884 |
echo strval( $options['popup_width'] );
|
3885 |
} ?>" /></td>
|
3886 |
<td><?php _e( 'Pop-Up Height', 'link-library' ); ?></td>
|
3887 |
<td>
|
3888 |
+
<input type="text" id="popup_height" name="popup_height" size="4" value="<?php if ( !isset( $options['popup_height'] ) || $options['popup_height'] == '' ) {
|
3889 |
echo '400';
|
3890 |
} else {
|
3891 |
echo strval( $options['popup_height'] );
|
3913 |
<?php _e( 'Show RSS Link using Text', 'link-library' ); ?>
|
3914 |
</td>
|
3915 |
<td style='width:75px;padding-right:20px'>
|
3916 |
+
<input type="checkbox" id="show_rss" name="show_rss" <?php if ( $options['show_rss'] ) {
|
3917 |
+
echo ' checked="checked" ';
|
3918 |
+
} ?>/>
|
3919 |
</td>
|
3920 |
<td>
|
3921 |
<?php _e( 'Show RSS Link using Standard Icon', 'link-library' ); ?>
|
3922 |
</td>
|
3923 |
<td style='width:75px;padding-right:20px'>
|
3924 |
+
<input type="checkbox" id="show_rss_icon" name="show_rss_icon" <?php if ( $options['show_rss_icon'] ) {
|
3925 |
+
echo ' checked="checked" ';
|
3926 |
+
} ?>/>
|
3927 |
</td>
|
3928 |
<td></td>
|
3929 |
<td style='width:75px;padding-right:20px'></td>
|
3967 |
<tr>
|
3968 |
<td><?php _e( 'RSS Preview Width', 'link-library' ); ?></td>
|
3969 |
<td>
|
3970 |
+
<input type="text" id="rsspreviewwidth" name="rsspreviewwidth" size="5" value="<?php echo strval( $options['rsspreviewwidth'] ); ?>" /></td>
|
3971 |
<td><?php _e( 'RSS Preview Height', 'link-library' ); ?></td>
|
3972 |
+
<td>
|
3973 |
+
<input type="text" id="rsspreviewheight" name="rsspreviewheight" size="5" value="<?php echo strval( $options['rsspreviewheight'] ); ?>" /></td>
|
3974 |
<td><?php _e( 'Skip links with no RSS inline items', 'link-library' ); ?></td>
|
3975 |
<td><input type="checkbox" id="rssfeedinlineskipempty" name="rssfeedinlineskipempty" <?php checked( $options['rssfeedinlineskipempty'] ); ?>/></td>
|
3976 |
</tr>
|
3992 |
<?php _e( 'Use thumbnail service for dynamic link images', 'link-library' ); ?>
|
3993 |
</td>
|
3994 |
<td class='lltooltip' title='<?php _e( 'Checking this option will get images from the thumbshots web site every time', 'link-library' ); ?>.' style='width:75px;padding-right:20px'>
|
3995 |
+
<input type="checkbox" id="usethumbshotsforimages" name="usethumbshotsforimages" <?php if ( $options['usethumbshotsforimages'] ) {
|
3996 |
+
echo ' checked="checked" ';
|
3997 |
+
} ?>/>
|
3998 |
</td>
|
3999 |
</tr>
|
4000 |
<tr>
|
4002 |
<?php _e( 'Give priority to images assigned to links if present', 'link-library' ); ?>
|
4003 |
</td>
|
4004 |
<td>
|
4005 |
+
<input type="checkbox" id="uselocalimagesoverthumbshots" name="uselocalimagesoverthumbshots" <?php if ( $options['uselocalimagesoverthumbshots'] ) {
|
4006 |
+
echo ' checked="checked" ';
|
4007 |
+
} ?>/></td>
|
4008 |
</tr>
|
4009 |
<tr>
|
4010 |
<td><?php _e( 'Generate Images / Favorite Icons', 'link-library' ); ?></td>
|
4042 |
</td>
|
4043 |
<td><?php _e( 'Number of items in RSS feed', 'link-library' ); ?></td>
|
4044 |
<td style='width:75px;padding-right:20px'>
|
4045 |
+
<input type="text" id="numberofrssitems" name="numberofrssitems" size="3" value="<?php if ( $options['numberofrssitems'] == '' ) {
|
4046 |
echo '10';
|
4047 |
} else {
|
4048 |
echo strval( $options['numberofrssitems'] );
|
4338 |
<td>
|
4339 |
<?php
|
4340 |
|
4341 |
+
global $wpdb;
|
4342 |
+
$linkcatquery = 'SELECT distinct t.name, t.term_id, t.slug as category_nicename, tt.description as category_description ';
|
4343 |
+
$linkcatquery .= 'FROM ' . $this->db_prefix() . 'terms t ';
|
4344 |
+
$linkcatquery .= 'LEFT JOIN ' . $this->db_prefix() . 'term_taxonomy tt ON (t.term_id = tt.term_id) ';
|
4345 |
+
$linkcatquery .= 'LEFT JOIN ' . $this->db_prefix() . 'term_relationships tr ON (tt.term_taxonomy_id = tr.term_taxonomy_id) ';
|
4346 |
+
|
4347 |
+
$linkcatquery .= 'WHERE tt.taxonomy = "link_category" ';
|
4348 |
+
|
4349 |
+
if ( !empty( $categorylist ) ) {
|
4350 |
+
$linkcatquery .= ' AND t.term_id in (' . $categorylist. ')';
|
4351 |
+
}
|
4352 |
+
|
4353 |
+
if ( !empty( $excludecategorylist ) ) {
|
4354 |
+
$linkcatquery .= ' AND t.term_id not in (' . $excludecategorylist . ')';
|
4355 |
+
}
|
4356 |
+
|
4357 |
+
$linkcatquery .= ' ORDER by t.name ASC';
|
4358 |
+
|
4359 |
+
$linkcats = $wpdb->get_results( $linkcatquery );
|
4360 |
|
4361 |
if ( $linkcats ) { ?>
|
4362 |
<select name="addlinkdefaultcat" id="addlinkdefaultcat" value="<?php echo $options['addlinkdefaultcat']; ?>">
|
4363 |
+
<option value="nodefaultcat">No default category</option>
|
4364 |
<?php foreach ( $linkcats as $linkcat ) { ?>
|
4365 |
<option value="<?php echo $linkcat->term_id; ?>" <?php selected( $linkcat->term_id, $options['addlinkdefaultcat'] ); ?>><?php echo $linkcat->name; ?></option>
|
4366 |
<?php } ?>
|
4621 |
function settingssets_importexport_meta_box( $data ) {
|
4622 |
$options = $data['options'];
|
4623 |
$settings = $data['settings'];
|
4624 |
+
require_once plugin_dir_path( __FILE__ ) . 'wp_dropdown_posts.php';
|
4625 |
?>
|
4626 |
|
4627 |
<div style='padding-top:15px' id="ll-importexport" class="content-section">
|
4628 |
+
<table>
|
4629 |
+
<tr>
|
4630 |
+
<td class='lltooltip' title='<?php _e( 'Allows for links to be added in batch to the Wordpress links database. CSV file needs to follow template for column layout.', 'link-library' ); ?>' style='width: 330px'><?php _e( 'CSV file to upload to import links', 'link-library' ); ?> (<a href="<?php echo plugins_url( 'importtemplate.csv', __FILE__ ); ?>"><?php _e( 'file template', 'link-library' ); ?></a>)
|
4631 |
+
</td>
|
4632 |
+
<td><input size="80" name="linksfile" type="file" /></td>
|
4633 |
+
<td><input type="submit" name="importlinks" value="<?php _e( 'Import Links from CSV', 'link-library' ); ?>" />
|
4634 |
+
</td>
|
4635 |
+
</tr>
|
4636 |
+
<tr>
|
4637 |
+
<td><?php _e( 'First row contains column headers', 'link-library' ); ?></td>
|
4638 |
+
<td><input type="checkbox" id="firstrowheaders" name="firstrowheaders" checked="checked" /></td>
|
4639 |
+
</tr>
|
4640 |
+
<tr>
|
4641 |
+
<td><?php _e( 'Update items when URL is identical', 'link-library' ); ?></td>
|
4642 |
+
<td><input type="checkbox" id="updatesameurl" name="updatesameurl" checked="checked" /></td>
|
4643 |
+
</tr>
|
4644 |
+
</table>
|
4645 |
+
<hr style='color: #CCC; ' />
|
4646 |
+
|
4647 |
+
<table>
|
4648 |
+
<tr>
|
4649 |
+
<td style='width: 230px'><?php _e( 'Import links from site pages', 'link-library' ); ?></td>
|
4650 |
+
<td style='width: 350px'><input type="radio" name="siteimportlinksscope" value="allpagesposts" checked> <?php _e( 'All Pages and Posts', 'link-library' ); ?><br />
|
4651 |
+
<input type="radio" name="siteimportlinksscope" value="allpagespostscpt"> <?php _e( 'All Pages, Posts and Custom Post Types', 'link-library' ); ?><br />
|
4652 |
+
<input type="radio" name="siteimportlinksscope" value="specificpage"> <?php _e( 'Specific Page', 'link-library' ); ?>
|
4653 |
+
<?php wp_dropdown_pages(); ?><br />
|
4654 |
+
<?php $post_count = wp_count_posts();
|
4655 |
+
if ( $post_count->publish < 200 ) { ?>
|
4656 |
+
<input type="radio" name="siteimportlinksscope" value="specificpost"> <?php _e( 'Specific Post', 'link-library' );
|
4657 |
+
wp_dropdown_posts(); ?><br />
|
4658 |
+
<?php }
|
4659 |
+
$site_post_types = get_post_types( array( '_builtin' => false ) );
|
4660 |
+
if ( !empty( $site_post_types ) ) {
|
4661 |
+
foreach( $site_post_types as $site_post_type ) {
|
4662 |
+
$any_posts = get_posts( array( 'post_type' => $site_post_type ) );
|
4663 |
+
if ( !empty( $any_posts ) && count( $any_posts ) < 200 ) {
|
4664 |
+
$post_type_data = get_post_type_object( $site_post_type ); ?>
|
4665 |
+
|
4666 |
+
<input type="radio" name="siteimportlinksscope" value="specific<?php echo $site_post_type; ?>"> <?php _e( 'Specific ' . $post_type_data->labels->singular_name, 'link-library' ); ?>
|
4667 |
+
<?php wp_dropdown_posts( array( 'post_type' => $site_post_type, 'select_name' => $site_post_type . '_id' ) ); ?><br /><br />
|
4668 |
+
<?php }
|
4669 |
+
}
|
4670 |
+
}
|
4671 |
+
?>
|
4672 |
+
<input type="checkbox" id="siteimportupdatesameurl" name="siteimportupdatesameurl" checked="checked" /> <?php _e( 'Update items when URL is identical', 'link-library' ); ?><br />
|
4673 |
+
|
4674 |
+
<?php global $wpdb;
|
4675 |
+
$linkcatquery = 'SELECT distinct t.name, t.term_id, t.slug as category_nicename, tt.description as category_description ';
|
4676 |
+
$linkcatquery .= 'FROM ' . $this->db_prefix() . 'terms t ';
|
4677 |
+
$linkcatquery .= 'LEFT JOIN ' . $this->db_prefix() . 'term_taxonomy tt ON (t.term_id = tt.term_id) ';
|
4678 |
+
$linkcatquery .= 'LEFT JOIN ' . $this->db_prefix() . 'term_relationships tr ON (tt.term_taxonomy_id = tr.term_taxonomy_id) ';
|
4679 |
+
|
4680 |
+
$linkcatquery .= 'WHERE tt.taxonomy = "link_category" ';
|
4681 |
+
|
4682 |
+
if ( !empty( $categorylist ) ) {
|
4683 |
+
$linkcatquery .= ' AND t.term_id in (' . $categorylist. ')';
|
4684 |
+
}
|
4685 |
+
|
4686 |
+
if ( !empty( $excludecategorylist ) ) {
|
4687 |
+
$linkcatquery .= ' AND t.term_id not in (' . $excludecategorylist . ')';
|
4688 |
+
}
|
4689 |
+
|
4690 |
+
$linkcatquery .= ' ORDER by t.name ASC';
|
4691 |
+
|
4692 |
+
$linkcats = $wpdb->get_results( $linkcatquery );
|
4693 |
+
|
4694 |
+
if ( $linkcats ) { ?>
|
4695 |
+
Category for new links <select name="siteimportcat" id="siteimportcat">
|
4696 |
+
<?php foreach ( $linkcats as $linkcat ) { ?>
|
4697 |
+
<option value="<?php echo $linkcat->term_id; ?>"><?php echo $linkcat->name; ?></option>
|
4698 |
+
<?php } ?>
|
4699 |
+
</select>
|
4700 |
+
<?php } ?>
|
4701 |
+
</td>
|
4702 |
+
<td><input type="submit" name="siteimport" value="<?php _e( 'Import Links from Site', 'link-library' ); ?>" /></td>
|
4703 |
+
</tr>
|
4704 |
+
</table>
|
4705 |
+
|
4706 |
+
<hr style='color: #CCC; ' />
|
4707 |
<input type='hidden' value='<?php echo $settings; ?>' name='settingsetid' id='settingsetid' />
|
4708 |
<table>
|
4709 |
<tr>
|
4737 |
<tr>
|
4738 |
<td><?php _e( 'Delete links that return a 403 error', 'link-library' ); ?></td>
|
4739 |
<td>
|
4740 |
+
<input type="checkbox" id="recipcheckdelete403" name="recipcheckdelete403" <?php if ( $genoptions['recipcheckdelete403'] ) {
|
4741 |
+
echo ' checked="checked" ';
|
4742 |
+
} ?>/></td>
|
4743 |
</tr>
|
4744 |
<tr>
|
4745 |
<td>
|
4764 |
|
4765 |
|
4766 |
/************************************************ Render Custom Meta Box in Link Editor *******************************************/
|
4767 |
+
function ll_link_edit_extra( $link ) {
|
4768 |
+
global $wpdb;
|
4769 |
|
4770 |
+
$genoptions = get_option( 'LinkLibraryGeneral' );
|
|
|
4771 |
|
4772 |
+
if ( isset( $link->link_id ) && $link->link_id != '' ) {
|
4773 |
+
$link_updated_query = "select link_updated from " . $this->db_prefix() . "links where link_id = " . $link->link_id;
|
4774 |
+
$link_updated = $wpdb->get_var( $link_updated_query );
|
4775 |
+
|
4776 |
+
$linkextradataquery = "select * from " . $this->db_prefix() . "links_extrainfo where link_id = " . $link->link_id;
|
4777 |
+
$extradata = $wpdb->get_row( $linkextradataquery, ARRAY_A );
|
4778 |
+
|
4779 |
+
$extradata['link_second_url'] = stripslashes( $extradata['link_second_url'] );
|
4780 |
+
|
4781 |
+
if ( !isset( $extradata['link_visits'] ) || empty( $extradata['link_visits'] ) ) {
|
4782 |
+
$extradata['link_visits'] = 0;
|
4783 |
+
}
|
4784 |
|
4785 |
+
$originallinkdata = "select * from " . $this->db_prefix() . "links where link_id = " . $link->link_id;
|
4786 |
+
$originaldata = $wpdb->get_row( $originallinkdata, ARRAY_A );
|
4787 |
+
} else {
|
4788 |
+
$link_updated = current_time( 'mysql' );
|
4789 |
+
$extradata = array();
|
4790 |
+
$originaldata = array();
|
4791 |
+
}
|
4792 |
?>
|
4793 |
+
|
4794 |
+
<input type="hidden" name="form_submitted" value="true">
|
4795 |
+
<table>
|
4796 |
+
<tr>
|
4797 |
+
<td style='width: 200px'><?php _e( 'Featured Link', 'link-library' ); ?></td>
|
4798 |
+
<td>
|
4799 |
+
<input type="checkbox" id="link_featured" name="link_featured" <?php ( isset( $extradata['link_featured'] ) ? checked( $extradata['link_featured'] ) : '' ); ?>/>
|
4800 |
+
</td>
|
4801 |
+
</tr>
|
4802 |
+
<tr>
|
4803 |
+
<td style='width: 200px'><?php _e( 'No Follow', 'link-library' ); ?></td>
|
4804 |
+
<td>
|
4805 |
+
<input type="checkbox" id="link_no_follow" name="link_no_follow" <?php ( isset( $extradata['link_no_follow'] ) ? checked( $extradata['link_no_follow'] ) : '' ); ?>/>
|
4806 |
+
</td>
|
4807 |
+
</tr>
|
4808 |
<tr>
|
4809 |
+
<td style='width: 200px'><?php _e( 'Updated Date', 'link-library' ); ?></td>
|
4810 |
+
<td>Set Manually
|
4811 |
+
<input type="checkbox" id="ll_updated_manual" name="ll_updated_manual" <?php if ( isset( $extradata['link_manual_updated'] ) && $extradata['link_manual_updated'] == 'Y' ) {
|
4812 |
+
echo ' checked="checked" ';
|
4813 |
+
} ?>/>
|
4814 |
+
<input type="text" <?php if ( !isset( $extradata['link_manual_updated'] ) || ( isset( $extradata['link_manual_updated'] ) && ( $extradata['link_manual_updated'] == 'N' || $extradata['link_manual_updated'] == '' ) ) ) {
|
4815 |
+
echo 'disabled="disabled"';
|
4816 |
+
} ?> id="ll_link_updated" name="ll_link_updated" size="80" value="<?php echo $link_updated; ?>" />
|
4817 |
+
</td>
|
4818 |
</tr>
|
4819 |
<tr>
|
4820 |
+
<td style='width: 200px'><?php _e( 'Secondary Web Address', 'link-library' ); ?></td>
|
4821 |
+
<td>
|
4822 |
+
<input type="text" id="ll_secondwebaddr" name="ll_secondwebaddr" size="80" value="<?php echo( isset( $extradata['link_second_url'] ) ? $extradata['link_second_url'] : '' ); ?>" /> <?php if ( isset( $extradata['link_second_url'] ) && $extradata['link_second_url'] != "" ) {
|
4823 |
+
echo " <a href=" . esc_html( $extradata['link_second_url'] ) . ">" . __( 'Visit', 'link-library' ) . "</a>";
|
4824 |
+
} ?></td>
|
4825 |
</tr>
|
4826 |
<tr>
|
4827 |
+
<td><?php _e( 'Telephone', 'link-library' ); ?></td>
|
4828 |
+
<td>
|
4829 |
+
<input type="text" id="ll_telephone" name="ll_telephone" size="80" value="<?php echo( isset( $extradata['link_telephone'] ) ? esc_attr( stripslashes( $extradata['link_telephone'] ) ) : '' ); ?>" />
|
4830 |
+
</td>
|
4831 |
</tr>
|
4832 |
<tr>
|
4833 |
+
<td><?php _e( 'E-mail', 'link-library' ); ?></td>
|
4834 |
+
<td>
|
4835 |
+
<input type="text" id="ll_email" name="ll_email" size="80" value="<?php echo( isset( $extradata['link_email'] ) ? esc_attr( stripslashes( $extradata['link_email'] ) ) : '' ); ?>" />
|
4836 |
+
</td>
|
4837 |
+
</tr>
|
4838 |
+
<tr>
|
4839 |
+
<td><?php _e( 'Reciprocal Link', 'link-library' ); ?></td>
|
4840 |
+
<td>
|
4841 |
+
<input type="text" id="ll_reciprocal" name="ll_reciprocal" size="80" value="<?php echo( isset( $extradata['link_reciprocal'] ) ? $extradata['link_reciprocal'] : '' ); ?>" /> <?php if ( isset( $extradata['link_reciprocal'] ) && $extradata['link_reciprocal'] != "" ) {
|
4842 |
+
echo " <a href=" . esc_url( stripslashes( $extradata['link_reciprocal'] ) ) . ">" . __( 'Visit', 'link-library' ) . "</a>";
|
4843 |
+
} ?></td>
|
4844 |
+
</tr>
|
4845 |
+
<tr>
|
4846 |
+
<td><?php _e( 'Number of link views', 'link-library' ); ?></td>
|
4847 |
+
<td>
|
4848 |
+
<input disabled type="text" id="ll_hits" name="ll_hits" size="80" value="<?php echo( isset( $extradata['link_visits'] ) ? esc_attr( $extradata['link_visits'] ) : '' ); ?>" />
|
4849 |
+
</td>
|
4850 |
+
</tr>
|
4851 |
+
<tr>
|
4852 |
+
<td><?php _e( 'Link Submitter', 'link-library' ); ?></td>
|
4853 |
+
<td>
|
4854 |
+
<input type="text" id="ll_submitter" name="ll_submitter" size="80" value="<?php echo( isset( $extradata['link_submitter'] ) ? esc_attr( stripslashes( $extradata['link_submitter'] ) ) : '' ); ?>" />
|
4855 |
+
</td>
|
4856 |
+
</tr>
|
4857 |
+
<tr>
|
4858 |
+
<td><?php _e( 'Link Submitter Name', 'link-library' ); ?></td>
|
4859 |
+
<td>
|
4860 |
+
<input type="text" id="link_submitter_name" name="link_submitter_name" size="80" value="<?php echo( isset( $extradata['link_submitter_name'] ) ? esc_attr( stripslashes( $extradata['link_submitter_name'] ) ) : '' ); ?>" />
|
4861 |
+
</td>
|
4862 |
+
</tr>
|
4863 |
+
<tr>
|
4864 |
+
<td><?php _e( 'Link Submitter E-mail', 'link-library' ); ?></td>
|
4865 |
+
<td>
|
4866 |
+
<input type="text" id="link_submitter_email" name="link_submitter_email" size="80" value="<?php echo( isset( $extradata['link_submitter_email'] ) ? esc_attr( stripslashes( $extradata['link_submitter_email'] ) ) : '' ); ?>" />
|
4867 |
+
</td>
|
4868 |
+
</tr>
|
4869 |
+
<tr>
|
4870 |
+
<td><?php _e( 'Link Additional Rel Tags', 'link-library' ); ?></td>
|
4871 |
+
<td>
|
4872 |
+
<input type="text" id="link_addl_rel" name="link_addl_rel" size="80" value="<?php echo( isset( $extradata['link_addl_rel'] ) ? esc_attr( stripslashes( $extradata['link_addl_rel'] ) ) : '' ); ?>" />
|
4873 |
+
</td>
|
4874 |
+
</tr>
|
4875 |
+
<tr>
|
4876 |
+
<td><?php _e( 'Link Large Description', 'link-library' ); ?></td>
|
4877 |
<td>
|
4878 |
<?php
|
4879 |
$editorsettings = array( 'media_buttons' => false,
|
4881 |
'textarea_name' => 'link_textfield',
|
4882 |
'wpautop' => false );
|
4883 |
|
4884 |
+
wp_editor( isset( $extradata['link_textfield'] ) ? stripslashes( $extradata['link_textfield'] ) : '', 'link_textfield', $editorsettings ); ?>
|
4885 |
</td>
|
4886 |
</tr>
|
4887 |
<tr>
|
4888 |
+
<td><?php _e( 'Current Link Image', 'link-library' ); ?></td>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
4889 |
<td>
|
4890 |
<div id='current_link_image'>
|
4891 |
+
<?php if ( isset( $originaldata['link_image'] ) && $originaldata['link_image'] != '' ): ?>
|
4892 |
+
<img id="actual_link_image" src="<?php echo $originaldata['link_image'] ?>" />
|
4893 |
<?php else: ?>
|
4894 |
<span id="noimage"><?php _e( 'None Assigned', 'link-library' ); ?></span>
|
4895 |
<?php endif; ?>
|
4896 |
</div>
|
4897 |
</td>
|
4898 |
</tr>
|
4899 |
+
<?php if ( isset( $link->link_id ) && $link->link_id != '' ): ?>
|
|
|
|
|
|
|
|
|
4900 |
<tr>
|
4901 |
<td><?php _e( 'Automatic Image Generation', 'link-library' ); ?></td>
|
4902 |
<td title="<?php if ( $genoptions['thumbnailgenerator'] == 'thumbshots' && empty( $genoptions['thumbshotscid'] ) ) {
|
4914 |
<?php endif; ?>
|
4915 |
<?php if ( function_exists( 'wp_enqueue_media' ) ) { ?>
|
4916 |
<tr>
|
4917 |
+
<td><?php _e( 'Manual Image Upload', 'link-library' ); ?></td>
|
4918 |
<td>
|
4919 |
<input type="button" class="upload_image_button" value="<?php _e( 'Launch Media Uploader', 'link-library' ); ?>">
|
4920 |
</td>
|
4921 |
</tr>
|
4922 |
+
<tr>
|
4923 |
+
<td colspan='2'>
|
4924 |
+
<p><?php _e( 'Manual upload requires a wp-content\uploads directory to be present with write permissions', 'link-library' ); ?>.</p>
|
4925 |
+
</td>
|
4926 |
+
</tr>
|
4927 |
<?php } ?>
|
4928 |
+
</table>
|
4929 |
+
|
4930 |
+
<?php $genoptions = get_option( 'LinkLibraryGeneral' ); ?>
|
4931 |
|
4932 |
<script type="text/javascript">
|
4933 |
jQuery(document).ready(function () {
|
4969 |
file_frame.open();
|
4970 |
});
|
4971 |
|
4972 |
+
|
4973 |
jQuery("#ll_updated_manual").click(function () {
|
4974 |
if (jQuery('#ll_updated_manual').is(':checked')) {
|
4975 |
jQuery('#ll_link_updated').attr('disabled', false);
|
4989 |
.attr("encoding", "multipart/form-data")
|
4990 |
.attr( "accept-charset", "UTF-8" )
|
4991 |
;
|
4992 |
+
|
4993 |
jQuery('#genthumbs').click(function () {
|
4994 |
+
var linkname = jQuery('#link_name').val();
|
4995 |
var linkurl = jQuery('#link_url').val();
|
4996 |
|
4997 |
+
if (linkname != '' && linkurl != '') {
|
4998 |
jQuery('#current_link_image').fadeOut('fast');
|
4999 |
|
5000 |
jQuery.ajax({
|
5009 |
cid : '<?php echo $genoptions['thumbshotscid']; ?>',
|
5010 |
filepath : 'link-library-images',
|
5011 |
filepathtype: 'absolute',
|
5012 |
+
linkid : <?php if( isset( $link->link_id ) ) { echo $link->link_id; } else { echo "''"; } ?>
|
5013 |
},
|
5014 |
success: function (data) {
|
5015 |
if (data != '') {
|
5027 |
});
|
5028 |
|
5029 |
jQuery('#genfavicons').click(function () {
|
5030 |
+
var linkname = jQuery('#link_name').val();
|
5031 |
var linkurl = jQuery('#link_url').val();
|
5032 |
|
5033 |
if (linkname != '' && linkurl != '') {
|
5043 |
mode : 'favicononly',
|
5044 |
filepath : 'link-library-favicons',
|
5045 |
filepathtype: 'absolute',
|
5046 |
+
linkid : <?php if( isset( $link->link_id ) ) { echo $link->link_id; } else { echo "''"; }?>
|
5047 |
|
5048 |
|
5049 |
},
|
5064 |
|
5065 |
});
|
5066 |
</script>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5067 |
|
5068 |
<?php
|
5069 |
}
|
5070 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5071 |
function network_settings_menu() {
|
5072 |
add_submenu_page( 'settings.php', 'Link Library Network Config', 'Link Library Network Config', 'manage_options', 'link_library_network_admin_page', array( $this, 'link_library_network_admin_page' ) );
|
5073 |
}
|
5117 |
|
5118 |
<?php }
|
5119 |
|
5120 |
+
/******************************* Store extra field data when link is saved *******************************************/
|
5121 |
+
function add_link_field( $link_id ) {
|
5122 |
+
|
5123 |
+
if ( isset( $_POST['form_submitted'] ) && $_POST['form_submitted'] ) {
|
5124 |
+
global $wpdb;
|
5125 |
+
|
5126 |
+
$uploads = wp_upload_dir();
|
5127 |
+
|
5128 |
+
$genoptions = get_option( 'LinkLibraryGeneral' );
|
5129 |
+
|
5130 |
+
if ( array_key_exists( 'linkimageupload', $_FILES ) ) {
|
5131 |
+
if ( !file_exists( $uploads['basedir'] . '/link-library-images' ) ) {
|
5132 |
+
mkdir( $uploads['basedir'] . '/link-library-images' );
|
5133 |
+
}
|
5134 |
+
$target_path = $uploads['basedir'] . "/link-library-images/" . $link_id . ".png";
|
5135 |
+
|
5136 |
+
if ( $genoptions['imagefilepath'] == 'absolute' || empty( $genoptions['imagefilepath'] ) ) {
|
5137 |
+
$file_path = $uploads['baseurl'] . "/link-library-images/" . $link_id . ".png";
|
5138 |
+
} elseif ( $genoptions['imagefilepath'] == 'relative' ) {
|
5139 |
+
$parseaddress = parse_url( $uploads['baseurl'] );
|
5140 |
+
$file_path = $parseaddress['path'] . "/link-library-images/" . $link_id . ".png";
|
5141 |
+
}
|
5142 |
+
|
5143 |
+
if ( move_uploaded_file( $_FILES['linkimageupload']['tmp_name'], $target_path ) ) {
|
5144 |
+
$withimage = true;
|
5145 |
+
} else {
|
5146 |
+
$withimage = false;
|
5147 |
+
}
|
5148 |
+
} else {
|
5149 |
+
$withimage = false;
|
5150 |
+
}
|
5151 |
+
|
5152 |
+
$tablename = $this->db_prefix() . "links";
|
5153 |
+
|
5154 |
+
if ( isset( $_POST['ll_link_updated'] ) ) {
|
5155 |
+
$link_updated = $_POST['ll_link_updated'];
|
5156 |
+
} elseif ( !isset( $_POST['ll_link_updated'] ) ) {
|
5157 |
+
$link_updated = current_time( 'mysql' );
|
5158 |
+
}
|
5159 |
+
|
5160 |
+
if ( $withimage == true ) {
|
5161 |
+
$wpdb->update( $tablename, array( 'link_updated' => $link_updated, 'link_image' => $file_path ), array( 'link_id' => $link_id ) );
|
5162 |
+
} else {
|
5163 |
+
$wpdb->update( $tablename, array( 'link_updated' => $link_updated ), array( 'link_id' => $link_id ) );
|
5164 |
+
}
|
5165 |
+
|
5166 |
+
$extradatatable = $this->db_prefix() . "links_extrainfo";
|
5167 |
+
|
5168 |
+
$linkextradataquery = "select * from " . $this->db_prefix() . "links_extrainfo where link_id = " . $link_id;
|
5169 |
+
$extradata = $wpdb->get_row( $linkextradataquery, ARRAY_A );
|
5170 |
+
|
5171 |
+
$current_user = wp_get_current_user();
|
5172 |
+
|
5173 |
+
$username = $current_user->user_login;
|
5174 |
+
|
5175 |
+
$updatearray = array();
|
5176 |
+
|
5177 |
+
if ( isset( $_POST['ll_updated_manual'] ) ) {
|
5178 |
+
$updatearray['link_manual_updated'] = 'Y';
|
5179 |
+
} else {
|
5180 |
+
$updatearray['link_manual_updated'] = 'N';
|
5181 |
+
}
|
5182 |
+
|
5183 |
+
if ( isset( $_POST['ll_secondwebaddr'] ) ) {
|
5184 |
+
$updatearray['link_second_url'] = $_POST['ll_secondwebaddr'];
|
5185 |
+
}
|
5186 |
+
|
5187 |
+
if ( isset( $_POST['ll_telephone'] ) ) {
|
5188 |
+
$updatearray['link_telephone'] = $_POST['ll_telephone'];
|
5189 |
+
}
|
5190 |
+
|
5191 |
+
if ( isset( $_POST['ll_email'] ) ) {
|
5192 |
+
$updatearray['link_email'] = $_POST['ll_email'];
|
5193 |
+
}
|
5194 |
+
|
5195 |
+
if ( isset( $_POST['ll_reciprocal'] ) ) {
|
5196 |
+
$updatearray['link_reciprocal'] = $_POST['ll_reciprocal'];
|
5197 |
+
}
|
5198 |
+
|
5199 |
+
if ( isset( $_POST['link_textfield'] ) ) {
|
5200 |
+
$updatearray['link_textfield'] = $_POST['link_textfield'];
|
5201 |
+
}
|
5202 |
+
|
5203 |
+
if ( isset( $_POST['ll_submitter'] ) ) {
|
5204 |
+
$updatearray['link_submitter'] = $_POST['ll_submitter'];
|
5205 |
+
}
|
5206 |
+
|
5207 |
+
if ( isset( $_POST['link_submitter_name'] ) ) {
|
5208 |
+
$updatearray['link_submitter_name'] = $_POST['link_submitter_name'];
|
5209 |
+
}
|
5210 |
+
|
5211 |
+
if ( isset( $_POST['link_submitter_email'] ) ) {
|
5212 |
+
$updatearray['link_submitter_email'] = $_POST['link_submitter_email'];
|
5213 |
+
}
|
5214 |
+
|
5215 |
+
if ( isset( $_POST['link_addl_rel'] ) ) {
|
5216 |
+
$updatearray['link_addl_rel'] = $_POST['link_addl_rel'];
|
5217 |
+
}
|
5218 |
+
|
5219 |
+
if ( isset( $_POST['link_no_follow'] ) && $_POST['link_no_follow'] == 'on' ) {
|
5220 |
+
$updatearray['link_no_follow'] = true;
|
5221 |
+
} else {
|
5222 |
+
$updatearray['link_no_follow'] = false;
|
5223 |
+
}
|
5224 |
+
|
5225 |
+
if ( isset( $_POST['link_featured'] ) && $_POST['link_featured'] == 'on' ) {
|
5226 |
+
$updatearray['link_featured'] = true;
|
5227 |
+
} else {
|
5228 |
+
$updatearray['link_featured'] = false;
|
5229 |
+
}
|
5230 |
+
|
5231 |
+
if ( $extradata ) {
|
5232 |
+
$wpdb->update( $extradatatable, $updatearray, array( 'link_id' => $link_id ) );
|
5233 |
+
} else {
|
5234 |
+
$updatearray['link_id'] = $link_id;
|
5235 |
+
$updatearray['link_submitter'] = $username;
|
5236 |
+
$wpdb->insert( $extradatatable, $updatearray );
|
5237 |
+
}
|
5238 |
}
|
5239 |
}
|
5240 |
|
5241 |
+
/************************************************ Delete extra field data when link is deleted ***********************************/
|
5242 |
+
function delete_link_field( $link_id ) {
|
5243 |
+
global $wpdb;
|
5244 |
+
|
5245 |
+
$deletequery = "delete from " . $this->db_prefix() . "links_extrainfo where link_id = " . $link_id;
|
5246 |
+
$wpdb->get_results( $deletequery );
|
5247 |
+
}
|
5248 |
+
|
5249 |
+
/***************************************** Add column to link list view ****************************************/
|
5250 |
+
function ll_linkmanager_addcolumn( $columns ) {
|
5251 |
+
$columns['hits'] = 'Hits';
|
5252 |
|
5253 |
+
return $columns;
|
5254 |
+
}
|
5255 |
+
|
5256 |
+
function ll_linkmanager_populatecolumn( $arg1, $arg2 ) {
|
5257 |
+
global $wpdb;
|
5258 |
+
|
5259 |
+
switch ( $arg1 ) {
|
5260 |
+
case 'hits':
|
5261 |
+
$linkextradataquery = "select * from " . $this->db_prefix() . "links_extrainfo where link_id = " . $arg2;
|
5262 |
+
$extradata = $wpdb->get_row( $linkextradataquery, ARRAY_A );
|
5263 |
+
$hits = $extradata['link_visits'];
|
5264 |
+
if ( $hits == '' ) {
|
5265 |
+
$hits = 0;
|
5266 |
+
}
|
5267 |
+
echo $hits;
|
5268 |
+
break;
|
5269 |
}
|
5270 |
}
|
5271 |
|
5272 |
function link_library_duplicate_link_checker( $ll_admin_class ) {
|
5273 |
+
global $wpdb;
|
5274 |
echo "<strong>" . __( 'Duplicate Link Checker Report', 'link-library' ) . "</strong><br /><br />";
|
5275 |
|
5276 |
echo "<strong>" . __( 'Duplicate URLs', 'link-library' ) . "</strong><br /><br />";
|
5277 |
+
$linkquery = "SELECT wp_links.link_id, wp_links.link_name, wp_links.link_url FROM " . $ll_admin_class->db_prefix() . "links INNER JOIN";
|
5278 |
+
$linkquery .= "(SELECT trim( TRAILING '/' FROM link_url ) as trim_link_url ";
|
5279 |
+
$linkquery .= "FROM wp_links GROUP BY link_url HAVING count(link_id) > 1) dup ";
|
5280 |
+
$linkquery .= "ON wp_links.link_url = dup.trim_link_url";
|
|
|
5281 |
|
5282 |
$links = $wpdb->get_results( $linkquery );
|
5283 |
|
5284 |
if ( $links ) {
|
5285 |
foreach ( $links as $link ) {
|
5286 |
+
echo $link->link_id . ' - ' . $link->link_name . ': ' . $link->link_url;
|
5287 |
}
|
5288 |
} else {
|
5289 |
echo 'No duplicate URL links found';
|
5290 |
}
|
5291 |
|
5292 |
echo "<br /><br /><strong>" . __( 'Duplicate Names', 'link-library' ) . "</strong><br /><br />";
|
5293 |
+
$linkquery = "SELECT wp_links.link_id, wp_links.link_name, wp_links.link_url FROM " . $ll_admin_class->db_prefix() . "links INNER JOIN";
|
5294 |
+
$linkquery .= "(SELECT trim( TRAILING '/' FROM link_url ) as trim_link_url ";
|
5295 |
+
$linkquery .= "FROM wp_links GROUP BY link_name HAVING count(link_name) > 1) dup ";
|
5296 |
+
$linkquery .= "ON wp_links.link_url = dup.trim_link_url";
|
|
|
|
|
5297 |
|
5298 |
$links = $wpdb->get_results( $linkquery );
|
5299 |
|
5300 |
if ( $links ) {
|
5301 |
foreach ( $links as $link ) {
|
5302 |
+
echo $link->link_id . ' - ' . $link->link_name . ': ' . $link->link_url;
|
5303 |
}
|
5304 |
} else {
|
5305 |
echo 'No duplicate name links found';
|
5310 |
}
|
5311 |
|
5312 |
function link_library_reciprocal_link_checker( $ll_admin_class, $RecipCheckAddress = '', $recipcheckdelete403 = false, $check_type = 'reciprocal' ) {
|
5313 |
+
global $wpdb;
|
5314 |
set_time_limit( 0 );
|
5315 |
|
5316 |
if ( ! empty( $RecipCheckAddress ) || ( empty( $RecipCheckAddress ) && 'reciprocal' != $check_type ) ) {
|
5317 |
+
$linkquery = "SELECT distinct *, l.link_id as proper_link_id, UNIX_TIMESTAMP(l.link_updated) as link_date ";
|
5318 |
+
$linkquery .= "FROM " . $ll_admin_class->db_prefix() . "terms t ";
|
5319 |
+
$linkquery .= "LEFT JOIN " . $ll_admin_class->db_prefix() . "term_taxonomy tt ON (t.term_id = tt.term_id) ";
|
5320 |
+
$linkquery .= "LEFT JOIN " . $ll_admin_class->db_prefix() . "term_relationships tr ON (tt.term_taxonomy_id = tr.term_taxonomy_id) ";
|
5321 |
+
$linkquery .= "LEFT JOIN " . $ll_admin_class->db_prefix() . "links l ON (tr.object_id = l.link_id) ";
|
5322 |
+
$linkquery .= "LEFT JOIN " . $ll_admin_class->db_prefix() . "links_extrainfo le ON (l.link_id = le.link_id) ";
|
5323 |
+
$linkquery .= "WHERE tt.taxonomy = 'link_category' ";
|
|
|
|
|
5324 |
|
5325 |
if ( 'reciprocal' == $check_type ) {
|
5326 |
+
$linkquery .= "AND le.link_reciprocal <> '' ";
|
|
|
5327 |
} elseif ( 'broken' == $check_type ) {
|
5328 |
+
$linkquery .= "AND l.link_url <> '' ";
|
5329 |
}
|
5330 |
|
5331 |
+
$linkquery .= "order by l.link_name ASC";
|
5332 |
|
5333 |
+
$links = $wpdb->get_results( $linkquery );
|
5334 |
if ( 'reciprocal' == $check_type ) {
|
5335 |
echo "<strong>" . __( 'Reciprocal Link Checker Report', 'link-library' ) . "</strong><br /><br />";
|
5336 |
} elseif ( 'broken' == $check_type ) {
|
5337 |
echo "<strong>" . __( 'Broken Link Checker Report', 'link-library' ) . "</strong><br /><br />";
|
5338 |
}
|
5339 |
|
5340 |
+
if ( $links ) {
|
5341 |
+
foreach ( $links as $link ) {
|
|
|
|
|
5342 |
global $my_link_library_plugin;
|
|
|
5343 |
|
5344 |
if ( 'reciprocal' == $check_type ) {
|
5345 |
+
$reciprocal_result = $my_link_library_plugin->CheckReciprocalLink( $RecipCheckAddress, $link->link_reciprocal );
|
|
|
5346 |
} elseif ( 'broken' == $check_type ) {
|
5347 |
+
$reciprocal_result = $my_link_library_plugin->CheckReciprocalLink( $RecipCheckAddress, $link->link_url );
|
5348 |
}
|
5349 |
|
5350 |
+
echo '<a href="' . $link->link_url . '">' . $link->link_name . '</a>: ';
|
5351 |
|
5352 |
if ( 'reciprocal' == $check_type && $reciprocal_result == 'exists_notfound' ) {
|
5353 |
echo '<span style="color: #FF0000">' . __( 'Not Found', 'link-library' ) . '</span><br />';
|
5356 |
} elseif ( 'broken' == $check_type && strpos( $reciprocal_result, 'exists' ) !== false ) {
|
5357 |
echo '<span style="color: #00FF00">' . __( 'Link valid', 'link-library' ) . '</span><br />';
|
5358 |
} elseif ( $reciprocal_result == 'error_403' && $recipcheckdelete403 == true ) {
|
5359 |
+
wp_delete_link( $link->link_id );
|
5360 |
echo '<span style="color: #FF0000">' . __( 'Error 403: Link Deleted', 'link-library' ) . '</span><br />';
|
5361 |
} elseif ( $reciprocal_result == 'error_403' && $recipcheckdelete403 == false ) {
|
5362 |
echo '<span style="color: #FF0000">' . __( 'Error 403', 'link-library' ) . '</span><br />';
|
5368 |
echo __( 'There are no links with reciprocal links associated with them', 'link-library' ) . ".<br />";
|
5369 |
}
|
5370 |
}
|
5371 |
+
|
5372 |
}
|
5373 |
|
5374 |
function link_library_render_editor_button() {
|
link-library-defaults.php
CHANGED
@@ -20,6 +20,9 @@ function ll_reset_options( $settings = 1, $layout = 'list', $setoptions = 'retur
|
|
20 |
$options['beforelink'] = '';
|
21 |
$options['afterlink'] = '';
|
22 |
$options['showcolumnheaders'] = false;
|
|
|
|
|
|
|
23 |
$options['beforerss'] = '';
|
24 |
$options['afterrss'] = '';
|
25 |
$options['beforedate'] = '';
|
@@ -34,7 +37,6 @@ function ll_reset_options( $settings = 1, $layout = 'list', $setoptions = 'retur
|
|
34 |
$options['afteremail'] = '';
|
35 |
$options['beforelinkhits'] = '';
|
36 |
$options['afterlinkhits'] = '';
|
37 |
-
$options['columnheaderoverride'] = '';
|
38 |
} elseif ( $layout == "table" ) {
|
39 |
$options['num_columns'] = 3;
|
40 |
$options['showdescription'] = true;
|
@@ -49,6 +51,9 @@ function ll_reset_options( $settings = 1, $layout = 'list', $setoptions = 'retur
|
|
49 |
$options['beforelink'] = '<td>';
|
50 |
$options['afterlink'] = '</td>';
|
51 |
$options['showcolumnheaders'] = true;
|
|
|
|
|
|
|
52 |
$options['beforerss'] = '<td>';
|
53 |
$options['afterrss'] = '</td>';
|
54 |
$options['beforedate'] = '<td>';
|
@@ -63,7 +68,6 @@ function ll_reset_options( $settings = 1, $layout = 'list', $setoptions = 'retur
|
|
63 |
$options['afteremail'] = '</td>';
|
64 |
$options['beforelinkhits'] = '<td>';
|
65 |
$options['afterlinkhits'] = '</td>';
|
66 |
-
$options['columnheaderoverride'] = 'Application,Description,Similar to';
|
67 |
}
|
68 |
|
69 |
$options['order'] = 'name';
|
@@ -71,8 +75,8 @@ function ll_reset_options( $settings = 1, $layout = 'list', $setoptions = 'retur
|
|
71 |
$options['table_width'] = 100;
|
72 |
$options['catanchor'] = true;
|
73 |
$options['flatlist'] = 'table';
|
74 |
-
$options['
|
75 |
-
$options['
|
76 |
$options['showrating'] = false;
|
77 |
$options['showupdated'] = false;
|
78 |
$options['show_images'] = false;
|
@@ -96,7 +100,7 @@ function ll_reset_options( $settings = 1, $layout = 'list', $setoptions = 'retur
|
|
96 |
$options['showadmineditlinks'] = true;
|
97 |
$options['showonecatonly'] = false;
|
98 |
$options['loadingicon'] = '/icons/Ajax-loader.gif';
|
99 |
-
$options['
|
100 |
$options['rsspreview'] = false;
|
101 |
$options['rsspreviewcount'] = 3;
|
102 |
$options['rssfeedinline'] = false;
|
@@ -150,7 +154,7 @@ function ll_reset_options( $settings = 1, $layout = 'list', $setoptions = 'retur
|
|
150 |
$options['linkcustomcatlabel'] = __( 'User-submitted category', 'link-library' );
|
151 |
$options['linkcustomcatlistentry'] = __( 'User-submitted category (define below)', 'link-library' );
|
152 |
$options['searchlabel'] = 'Search';
|
153 |
-
$options['dragndroporder'] = '1,2,3,4,5,6,7,8,9,10,11,12,13,14
|
154 |
$options['showname'] = true;
|
155 |
$options['cattargetaddress'] = '';
|
156 |
$options['displayweblink'] = 'false';
|
@@ -233,29 +237,10 @@ function ll_reset_options( $settings = 1, $layout = 'list', $setoptions = 'retur
|
|
233 |
$options['beforecatdesc'] = '';
|
234 |
$options['aftercatdesc'] = '';
|
235 |
$options['emailextracontent'] = '';
|
236 |
-
$options['showparentcatname'] = false;
|
237 |
-
$options['showparentcatdesc'] = false;
|
238 |
-
$options['hidechildcatlinks'] = false;
|
239 |
-
$options['childcatdepthlimit'] = 0;
|
240 |
-
$options['hidechildcattop'] = false;
|
241 |
-
$options['catlinkspermalinksmode'] = false;
|
242 |
-
$options['toppagetext'] = '';
|
243 |
-
$options['showbreadcrumbspermalinks'] = false;
|
244 |
-
$options['showlinktags'] = false;
|
245 |
-
$options['beforelinktags'] = '';
|
246 |
-
$options['afterlinktags'] = '';
|
247 |
-
$options['showlinkprice'] = false;
|
248 |
-
$options['beforelinkprice'] = '';
|
249 |
-
$options['afterlinkprice'] = '';
|
250 |
-
$options['linkcurrency'] = '$';
|
251 |
-
$options['linkcurrencyplacement'] = 'before';
|
252 |
-
$options['show0asfree'] = true;
|
253 |
-
$options['allowcolumnsorting'] = false;
|
254 |
$options['extraquerystring'] = '';
|
255 |
$options['updatedlabel'] = __( 'New', 'link-library' );
|
256 |
$options['showupdatedpos'] = 'before';
|
257 |
$options['showsearchreset'] = false;
|
258 |
-
$options['weblinktarget'] = '';
|
259 |
|
260 |
if ( 'return_and_set' == $setoptions ) {
|
261 |
$settingsname = 'LinkLibraryPP' . $settings;
|
@@ -267,38 +252,37 @@ function ll_reset_options( $settings = 1, $layout = 'list', $setoptions = 'retur
|
|
267 |
|
268 |
// Function used to set general initial settings or reset them on user request
|
269 |
function ll_reset_gen_settings( $setoptions = 'return' ) {
|
270 |
-
$genoptions['numberstylesets']
|
271 |
-
$genoptions['includescriptcss']
|
272 |
-
$genoptions['debugmode']
|
273 |
-
$genoptions['schemaversion']
|
274 |
-
$genoptions['pagetitleprefix']
|
275 |
-
$genoptions['pagetitlesuffix']
|
276 |
-
$genoptions['thumbshotscid']
|
277 |
-
$genoptions['emaillinksubmitter']
|
278 |
-
$genoptions['suppressemailfooter']
|
279 |
-
$genoptions['moderatorname']
|
280 |
-
$genoptions['moderatoremail']
|
281 |
-
$genoptions['approvalemailtitle']
|
282 |
-
$genoptions['approvalemailbody']
|
283 |
-
$genoptions['rejectedemailtitle']
|
284 |
-
$genoptions['rejectedemailbody']
|
285 |
-
$genoptions['moderationnotificationtitle']
|
286 |
-
$genoptions['linksubmissionthankyouurl']
|
287 |
-
$genoptions['usefirstpartsubmittername']
|
288 |
-
$genoptions['recipcheckaddress']
|
289 |
-
$genoptions['recipcheckdelete403']
|
290 |
-
$genoptions['imagefilepath']
|
291 |
-
$genoptions['catselectmethod']
|
292 |
-
$genoptions['hidedonation']
|
293 |
-
$genoptions['updatechannel']
|
294 |
-
$genoptions['extraprotocols']
|
295 |
-
$genoptions['fullstylesheet']
|
296 |
-
$genoptions['thumbnailsize']
|
297 |
-
$genoptions['thumbnailgenerator']
|
298 |
-
$genoptions['survey2015']
|
299 |
-
$genoptions['addlinkakismet']
|
300 |
-
$genoptions['rsscachedelay']
|
301 |
-
$genoptions['single_link_layout'] = '[link_content]';
|
302 |
$genoptions['captchagenerator'] = 'easycaptcha';
|
303 |
$genoptions['recaptchasitekey'] = '';
|
304 |
$genoptions['recaptchasecretkey'] = '';
|
20 |
$options['beforelink'] = '';
|
21 |
$options['afterlink'] = '';
|
22 |
$options['showcolumnheaders'] = false;
|
23 |
+
$options['linkheader'] = '';
|
24 |
+
$options['descheader'] = '';
|
25 |
+
$options['notesheader'] = '';
|
26 |
$options['beforerss'] = '';
|
27 |
$options['afterrss'] = '';
|
28 |
$options['beforedate'] = '';
|
37 |
$options['afteremail'] = '';
|
38 |
$options['beforelinkhits'] = '';
|
39 |
$options['afterlinkhits'] = '';
|
|
|
40 |
} elseif ( $layout == "table" ) {
|
41 |
$options['num_columns'] = 3;
|
42 |
$options['showdescription'] = true;
|
51 |
$options['beforelink'] = '<td>';
|
52 |
$options['afterlink'] = '</td>';
|
53 |
$options['showcolumnheaders'] = true;
|
54 |
+
$options['linkheader'] = 'Application';
|
55 |
+
$options['descheader'] = 'Description';
|
56 |
+
$options['notesheader'] = 'Similar to';
|
57 |
$options['beforerss'] = '<td>';
|
58 |
$options['afterrss'] = '</td>';
|
59 |
$options['beforedate'] = '<td>';
|
68 |
$options['afteremail'] = '</td>';
|
69 |
$options['beforelinkhits'] = '<td>';
|
70 |
$options['afterlinkhits'] = '</td>';
|
|
|
71 |
}
|
72 |
|
73 |
$options['order'] = 'name';
|
75 |
$options['table_width'] = 100;
|
76 |
$options['catanchor'] = true;
|
77 |
$options['flatlist'] = 'table';
|
78 |
+
$options['categorylist'] = null;
|
79 |
+
$options['excludecategorylist'] = null;
|
80 |
$options['showrating'] = false;
|
81 |
$options['showupdated'] = false;
|
82 |
$options['show_images'] = false;
|
100 |
$options['showadmineditlinks'] = true;
|
101 |
$options['showonecatonly'] = false;
|
102 |
$options['loadingicon'] = '/icons/Ajax-loader.gif';
|
103 |
+
$options['defaultsinglecat'] = '';
|
104 |
$options['rsspreview'] = false;
|
105 |
$options['rsspreviewcount'] = 3;
|
106 |
$options['rssfeedinline'] = false;
|
154 |
$options['linkcustomcatlabel'] = __( 'User-submitted category', 'link-library' );
|
155 |
$options['linkcustomcatlistentry'] = __( 'User-submitted category (define below)', 'link-library' );
|
156 |
$options['searchlabel'] = 'Search';
|
157 |
+
$options['dragndroporder'] = '1,2,3,4,5,6,7,8,9,10,11,12,13,14';
|
158 |
$options['showname'] = true;
|
159 |
$options['cattargetaddress'] = '';
|
160 |
$options['displayweblink'] = 'false';
|
237 |
$options['beforecatdesc'] = '';
|
238 |
$options['aftercatdesc'] = '';
|
239 |
$options['emailextracontent'] = '';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
240 |
$options['extraquerystring'] = '';
|
241 |
$options['updatedlabel'] = __( 'New', 'link-library' );
|
242 |
$options['showupdatedpos'] = 'before';
|
243 |
$options['showsearchreset'] = false;
|
|
|
244 |
|
245 |
if ( 'return_and_set' == $setoptions ) {
|
246 |
$settingsname = 'LinkLibraryPP' . $settings;
|
252 |
|
253 |
// Function used to set general initial settings or reset them on user request
|
254 |
function ll_reset_gen_settings( $setoptions = 'return' ) {
|
255 |
+
$genoptions['numberstylesets'] = 1;
|
256 |
+
$genoptions['includescriptcss'] = '';
|
257 |
+
$genoptions['debugmode'] = false;
|
258 |
+
$genoptions['schemaversion'] = '5.0';
|
259 |
+
$genoptions['pagetitleprefix'] = '';
|
260 |
+
$genoptions['pagetitlesuffix'] = '';
|
261 |
+
$genoptions['thumbshotscid'] = '';
|
262 |
+
$genoptions['emaillinksubmitter'] = false;
|
263 |
+
$genoptions['suppressemailfooter'] = false;
|
264 |
+
$genoptions['moderatorname'] = '';
|
265 |
+
$genoptions['moderatoremail'] = '';
|
266 |
+
$genoptions['approvalemailtitle'] = '';
|
267 |
+
$genoptions['approvalemailbody'] = '';
|
268 |
+
$genoptions['rejectedemailtitle'] = '';
|
269 |
+
$genoptions['rejectedemailbody'] = '';
|
270 |
+
$genoptions['moderationnotificationtitle'] = '';
|
271 |
+
$genoptions['linksubmissionthankyouurl'] = '';
|
272 |
+
$genoptions['usefirstpartsubmittername'] = '';
|
273 |
+
$genoptions['recipcheckaddress'] = get_bloginfo( 'wpurl' );
|
274 |
+
$genoptions['recipcheckdelete403'] = false;
|
275 |
+
$genoptions['imagefilepath'] = 'absolute';
|
276 |
+
$genoptions['catselectmethod'] = 'multiselectlist';
|
277 |
+
$genoptions['hidedonation'] = false;
|
278 |
+
$genoptions['updatechannel'] = 'standard';
|
279 |
+
$genoptions['extraprotocols'] = '';
|
280 |
+
$genoptions['fullstylesheet'] = '';
|
281 |
+
$genoptions['thumbnailsize'] = '120x90';
|
282 |
+
$genoptions['thumbnailgenerator'] = 'robothumb';
|
283 |
+
$genoptions['survey2015'] = false;
|
284 |
+
$genoptions['addlinkakismet'] = false;
|
285 |
+
$genoptions['rsscachedelay'] = 43200;
|
|
|
286 |
$genoptions['captchagenerator'] = 'easycaptcha';
|
287 |
$genoptions['recaptchasitekey'] = '';
|
288 |
$genoptions['recaptchasecretkey'] = '';
|
link-library-image-generator.php
CHANGED
@@ -6,20 +6,20 @@ require_once plugin_dir_path( __FILE__ ) . 'link-library-defaults.php';
|
|
6 |
|
7 |
function link_library_ajax_image_generator ( $my_link_library_plugin_admin ) {
|
8 |
|
9 |
-
|
10 |
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
|
23 |
-
|
24 |
-
|
25 |
}
|
6 |
|
7 |
function link_library_ajax_image_generator ( $my_link_library_plugin_admin ) {
|
8 |
|
9 |
+
check_ajax_referer( 'link_library_generate_image' );
|
10 |
|
11 |
+
$generaloptions = get_option( 'LinkLibraryGeneral' );
|
12 |
+
$generaloptions = wp_parse_args( $generaloptions, ll_reset_gen_settings( 'return' ) );
|
13 |
+
extract( $generaloptions );
|
14 |
|
15 |
+
$name = $_POST['name'];
|
16 |
+
$url = $_POST['url'];
|
17 |
+
$mode = $_POST['mode'];
|
18 |
+
$cid = $_POST['cid'];
|
19 |
+
$filepath = $_POST['filepath'];
|
20 |
+
$filepathtype = $_POST['filepathtype'];
|
21 |
+
$linkid = intval($_POST['linkid']);
|
22 |
|
23 |
+
echo $my_link_library_plugin_admin->ll_get_link_image($url, $name, $mode, $linkid, $cid, $filepath, $filepathtype, $generaloptions['thumbnailsize'], $generaloptions['thumbnailgenerator'] );
|
24 |
+
exit;
|
25 |
}
|
link-library-update-60.php
DELETED
@@ -1,188 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
|
3 |
-
function link_library_60_update( $plugin_class ) {
|
4 |
-
global $wpdb;
|
5 |
-
|
6 |
-
$link_query = 'select count(*) from ' . $plugin_class->db_prefix() . 'links';
|
7 |
-
$link_count = $wpdb->get_var( $link_query );
|
8 |
-
|
9 |
-
if ( $link_count > 0 ) {
|
10 |
-
$all_link_cats_query = 'SELECT t.name, t.term_id, tt.description ';
|
11 |
-
$all_link_cats_query .= 'FROM ' . $plugin_class->db_prefix() . 'terms t ';
|
12 |
-
$all_link_cats_query .= 'LEFT JOIN ' . $plugin_class->db_prefix() . 'term_taxonomy tt ON (t.term_id = tt.term_id) ';
|
13 |
-
$all_link_cats_query .= 'LEFT JOIN ' . $plugin_class->db_prefix() . 'term_relationships tr ON (tt.term_taxonomy_id = tr.term_taxonomy_id) ';
|
14 |
-
$all_link_cats_query .= 'WHERE tt.taxonomy = "link_category" ';
|
15 |
-
|
16 |
-
$all_link_cats = $wpdb->get_results( $all_link_cats_query );
|
17 |
-
|
18 |
-
foreach ( $all_link_cats as $link_cat ) {
|
19 |
-
$cat_string = $link_cat->name;
|
20 |
-
|
21 |
-
$cat_matched_term = get_term_by( 'name', $cat_string, 'link_library_category' );
|
22 |
-
|
23 |
-
if ( false === $cat_matched_term ) {
|
24 |
-
$new_cat_term_data = wp_insert_term( $cat_string, 'link_library_category', array( 'description' => $link_cat->description ) );
|
25 |
-
if ( is_wp_error( $new_cat_term_data ) ) {
|
26 |
-
print_r( 'Failed creating category ' . $cat_string );
|
27 |
-
} else {
|
28 |
-
$linkcaturl = get_metadata( 'linkcategory', $link_cat->term_id, 'linkcaturl', true );
|
29 |
-
|
30 |
-
if ( !empty( $linkcaturl ) ) {
|
31 |
-
update_term_meta( $new_cat_term_data['term_id'], 'linkcaturl', $linkcaturl );
|
32 |
-
}
|
33 |
-
}
|
34 |
-
}
|
35 |
-
}
|
36 |
-
|
37 |
-
$links_import_query = 'SELECT distinct *, l.link_id as import_link_id ';
|
38 |
-
$links_import_query .= 'FROM ' . $plugin_class->db_prefix() . 'links l ';
|
39 |
-
$links_import_query .= 'LEFT JOIN ' . $plugin_class->db_prefix() . 'links_extrainfo le ON (l.link_id = le.link_id) ';
|
40 |
-
|
41 |
-
$links_to_import = $wpdb->get_results( $links_import_query );
|
42 |
-
|
43 |
-
foreach ( $links_to_import as $link_to_import ) {
|
44 |
-
$link_cats_query = 'SELECT t.name ';
|
45 |
-
$link_cats_query .= 'FROM ' . $plugin_class->db_prefix() . 'terms t ';
|
46 |
-
$link_cats_query .= 'LEFT JOIN ' . $plugin_class->db_prefix() . 'term_taxonomy tt ON (t.term_id = tt.term_id) ';
|
47 |
-
$link_cats_query .= 'LEFT JOIN ' . $plugin_class->db_prefix() . 'term_relationships tr ON (tt.term_taxonomy_id = tr.term_taxonomy_id) ';
|
48 |
-
$link_cats_query .= 'WHERE tt.taxonomy = "link_category" ';
|
49 |
-
$link_cats_query .= 'AND tr.object_id = ' . $link_to_import->import_link_id . ' ';
|
50 |
-
|
51 |
-
$link_cats = $wpdb->get_results( $link_cats_query );
|
52 |
-
|
53 |
-
$matched_link_cats = array();
|
54 |
-
|
55 |
-
foreach ( $link_cats as $link_cat ) {
|
56 |
-
$cat_string = $link_cat->name;
|
57 |
-
|
58 |
-
$cat_matched_term = get_term_by( 'name', $cat_string, 'link_library_category' );
|
59 |
-
|
60 |
-
if ( false !== $cat_matched_term ) {
|
61 |
-
$matched_link_cats[] = $cat_matched_term->term_id;
|
62 |
-
}
|
63 |
-
}
|
64 |
-
|
65 |
-
$new_link_data = array(
|
66 |
-
'post_type' => 'link_library_links',
|
67 |
-
'post_content' => '',
|
68 |
-
'post_title' => $link_to_import->link_name,
|
69 |
-
'tax_input' => array( 'link_library_category' => $matched_link_cats ),
|
70 |
-
'post_author' => $link_to_import->link_owner,
|
71 |
-
);
|
72 |
-
|
73 |
-
if ( 'N' == $link_to_import->link_visible ) {
|
74 |
-
if ( false !== strpos( $link_to_import->link_description, '(LinkLibrary:AwaitingModeration:RemoveTextToApprove)' ) ) {
|
75 |
-
$new_link_data['post_status'] = 'pending';
|
76 |
-
$link_to_import->link_description = str_replace( '(LinkLibrary:AwaitingModeration:RemoveTextToApprove)', '', $link_to_import->link_description );
|
77 |
-
} else {
|
78 |
-
$new_link_data['post_status'] = 'private';
|
79 |
-
}
|
80 |
-
} elseif ( 'Y' == $link_to_import->link_visible ) {
|
81 |
-
$new_link_data['post_status'] = 'publish';
|
82 |
-
}
|
83 |
-
|
84 |
-
$new_link_ID = wp_insert_post( $new_link_data );
|
85 |
-
|
86 |
-
if ( !empty( $new_link_ID ) ) {
|
87 |
-
update_post_meta( $new_link_ID, 'legacy_link_id', $link_to_import->import_link_id );
|
88 |
-
update_post_meta( $new_link_ID, 'link_url', $link_to_import->link_url );
|
89 |
-
update_post_meta( $new_link_ID, 'link_image', $link_to_import->link_image );
|
90 |
-
update_post_meta( $new_link_ID, 'link_target', $link_to_import->link_target );
|
91 |
-
update_post_meta( $new_link_ID, 'link_description', $link_to_import->link_description );
|
92 |
-
update_post_meta( $new_link_ID, 'link_rating', $link_to_import->link_rating );
|
93 |
-
|
94 |
-
if ( '0000-00-00 00:00:00' == $link_to_import->link_updated ) {
|
95 |
-
update_post_meta( $new_link_ID, 'link_updated', current_time( 'timestamp' ) );
|
96 |
-
} else {
|
97 |
-
update_post_meta( $new_link_ID, 'link_updated', strtotime( $link_to_import->link_updated ) );
|
98 |
-
}
|
99 |
-
|
100 |
-
update_post_meta( $new_link_ID, 'link_notes', $link_to_import->link_notes );
|
101 |
-
update_post_meta( $new_link_ID, 'link_rss', $link_to_import->link_rss );
|
102 |
-
update_post_meta( $new_link_ID, 'link_second_url', $link_to_import->link_second_url );
|
103 |
-
update_post_meta( $new_link_ID, 'link_telephone', $link_to_import->link_telephone );
|
104 |
-
update_post_meta( $new_link_ID, 'link_email', $link_to_import->link_email );
|
105 |
-
|
106 |
-
if ( empty( $link_to_import->link_visits ) ) {
|
107 |
-
update_post_meta( $new_link_ID, 'link_visits', 0 );
|
108 |
-
} else {
|
109 |
-
update_post_meta( $new_link_ID, 'link_visits', $link_to_import->link_visits );
|
110 |
-
}
|
111 |
-
|
112 |
-
update_post_meta( $new_link_ID, 'link_reciprocal', $link_to_import->link_reciprocal );
|
113 |
-
update_post_meta( $new_link_ID, 'link_submitter', $link_to_import->link_submitter );
|
114 |
-
update_post_meta( $new_link_ID, 'link_submitter_name', $link_to_import->link_submitter_name );
|
115 |
-
update_post_meta( $new_link_ID, 'link_submitter_email', $link_to_import->link_submitter_email );
|
116 |
-
update_post_meta( $new_link_ID, 'link_textfield', $link_to_import->link_textfield );
|
117 |
-
update_post_meta( $new_link_ID, 'link_rel', $link_to_import->link_addl_rel );
|
118 |
-
|
119 |
-
if ( '1' == $link_to_import->link_no_follow ) {
|
120 |
-
update_post_meta( $new_link_ID, 'link_no_follow', true );
|
121 |
-
} else {
|
122 |
-
update_post_meta( $new_link_ID, 'link_no_follow', false );
|
123 |
-
}
|
124 |
-
|
125 |
-
if ( '1' == $link_to_import->link_featured ) {
|
126 |
-
update_post_meta( $new_link_ID, 'link_featured', 1 );
|
127 |
-
} else {
|
128 |
-
update_post_meta( $new_link_ID, 'link_featured', 0 );
|
129 |
-
}
|
130 |
-
|
131 |
-
if ( 'Y' == $link_to_import->link_manual_updated ) {
|
132 |
-
update_post_meta( $new_link_ID, 'link_updated_manual', true );
|
133 |
-
} elseif ( 'N' == $link_to_import->link_manual_updated ) {
|
134 |
-
update_post_meta( $new_link_ID, 'link_updated_manual', false );
|
135 |
-
}
|
136 |
-
}
|
137 |
-
}
|
138 |
-
}
|
139 |
-
|
140 |
-
$genoptions = get_option( 'LinkLibraryGeneral' );
|
141 |
-
if ( !empty( $genoptions ) ) {
|
142 |
-
for ( $i = 1; $i <= $genoptions['numberstylesets']; $i++ ) {
|
143 |
-
$settingsname = 'LinkLibraryPP' . $i;
|
144 |
-
$options = get_option( $settingsname );
|
145 |
-
|
146 |
-
if ( !empty( $options ) ) {
|
147 |
-
$lists_of_cats = array( 'categorylist', 'excludecategorylist', 'defaultsinglecat' );
|
148 |
-
|
149 |
-
foreach ( $lists_of_cats as $list_of_cats ) {
|
150 |
-
if ( !empty( $options[$list_of_cats] ) ) {
|
151 |
-
$category_list_array = explode( ',', $options[$list_of_cats] );
|
152 |
-
$new_category_list_array = array();
|
153 |
-
|
154 |
-
foreach ( $category_list_array as $category_list_item ) {
|
155 |
-
$original_term = get_term( $category_list_item, 'link_category' );
|
156 |
-
$corresponding_term = get_term_by( 'name', $original_term->name, 'link_library_category' );
|
157 |
-
$new_category_list_array[] = $corresponding_term->term_id;
|
158 |
-
}
|
159 |
-
|
160 |
-
$new_category_list = implode( ',', $new_category_list_array );
|
161 |
-
$options[$list_of_cats . '_cpt'] = $new_category_list;
|
162 |
-
} else {
|
163 |
-
$options[$list_of_cats . '_cpt'] = '';
|
164 |
-
}
|
165 |
-
}
|
166 |
-
|
167 |
-
$newcolumnoptions = array();
|
168 |
-
if ( isset( $options['linkheader'] ) ) {
|
169 |
-
$newcolumnoptions[] = $options['linkheader'];
|
170 |
-
}
|
171 |
-
|
172 |
-
if ( isset( $options['descheader'] ) ) {
|
173 |
-
$newcolumnoptions[] = $options['descheader'];
|
174 |
-
}
|
175 |
-
|
176 |
-
if ( isset( $options['notesheader'] ) ) {
|
177 |
-
$newcolumnoptions[] = $options['notesheader'];
|
178 |
-
}
|
179 |
-
|
180 |
-
$options['columnheaderoverride'] = implode( ',', $newcolumnoptions );
|
181 |
-
|
182 |
-
update_option( $settingsname, $options );
|
183 |
-
}
|
184 |
-
}
|
185 |
-
}
|
186 |
-
|
187 |
-
update_option( 'LinkLibrary60Update', true );
|
188 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
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 |
Author: Yannick Lefebvre
|
8 |
Author URI: http://ylefebvre.ca/
|
9 |
Text Domain: link-library
|
@@ -40,7 +40,6 @@ I, Yannick Lefebvre, can be contacted via e-mail at ylefebvre@gmail.com
|
|
40 |
require_once(ABSPATH . '/wp-admin/includes/bookmark.php');
|
41 |
require_once plugin_dir_path( __FILE__ ) . 'link-library-defaults.php';
|
42 |
require_once plugin_dir_path( __FILE__ ) . 'rssfeed.php';
|
43 |
-
//require_once plugin_dir_path( __FILE__ ) . 'blocks/link-library-main.php';
|
44 |
|
45 |
global $my_link_library_plugin;
|
46 |
global $my_link_library_plugin_admin;
|
@@ -59,87 +58,6 @@ function link_library_tweak_plugins_http_filter( $response, $r, $url ) {
|
|
59 |
return $response;
|
60 |
}
|
61 |
|
62 |
-
function link_library_get_terms_filter_only_publish( $terms, $taxonomies, $args ) {
|
63 |
-
global $wpdb;
|
64 |
-
global $hide_if_empty_filter;
|
65 |
-
|
66 |
-
$taxonomy = $taxonomies[0];
|
67 |
-
if ( ! is_array( $terms ) && count( $terms ) < 1 ) {
|
68 |
-
return $terms;
|
69 |
-
}
|
70 |
-
|
71 |
-
$filtered_terms = array();
|
72 |
-
|
73 |
-
foreach ( $terms as $term ) {
|
74 |
-
$result = $wpdb->get_var( "SELECT COUNT(*) FROM $wpdb->posts p JOIN $wpdb->term_relationships rl ON p.ID = rl.object_id WHERE rl.term_taxonomy_id = $term->term_id AND p.post_status = 'publish' LIMIT 1" );
|
75 |
-
|
76 |
-
if ( intval( $result ) > 0 || ( !$hide_if_empty_filter && 0 == intval( $result ) ) ) {
|
77 |
-
$filtered_terms[] = $term;
|
78 |
-
}
|
79 |
-
}
|
80 |
-
return $filtered_terms;
|
81 |
-
}
|
82 |
-
|
83 |
-
function link_library_get_terms_filter_publish_pending( $terms, $taxonomies, $args ) {
|
84 |
-
global $wpdb;
|
85 |
-
global $hide_if_empty_filter;
|
86 |
-
|
87 |
-
$taxonomy = $taxonomies[0];
|
88 |
-
if ( ! is_array( $terms ) && count( $terms ) < 1 ) {
|
89 |
-
return $terms;
|
90 |
-
}
|
91 |
-
|
92 |
-
$filtered_terms = array();
|
93 |
-
|
94 |
-
foreach ( $terms as $term ) {
|
95 |
-
$result = $wpdb->get_var( "SELECT COUNT(*) FROM $wpdb->posts p JOIN $wpdb->term_relationships rl ON p.ID = rl.object_id WHERE rl.term_taxonomy_id = $term->term_id AND ( p.post_status = 'publish' or p.post_status = 'pending' ) LIMIT 1" );
|
96 |
-
if ( intval( $result ) > 0 || ( !$hide_if_empty_filter && 0 == intval( $result ) ) ) {
|
97 |
-
$filtered_terms[] = $term;
|
98 |
-
}
|
99 |
-
}
|
100 |
-
return $filtered_terms;
|
101 |
-
}
|
102 |
-
|
103 |
-
function link_library_get_terms_filter_publish_draft( $terms, $taxonomies, $args ) {
|
104 |
-
global $wpdb;
|
105 |
-
global $hide_if_empty_filter;
|
106 |
-
|
107 |
-
$taxonomy = $taxonomies[0];
|
108 |
-
if ( ! is_array( $terms ) && count( $terms ) < 1 ) {
|
109 |
-
return $terms;
|
110 |
-
}
|
111 |
-
|
112 |
-
$filtered_terms = array();
|
113 |
-
|
114 |
-
foreach ( $terms as $term ) {
|
115 |
-
$result = $wpdb->get_var( "SELECT COUNT(*) FROM $wpdb->posts p JOIN $wpdb->term_relationships rl ON p.ID = rl.object_id WHERE rl.term_taxonomy_id = $term->term_id AND ( p.post_status = 'publish' or p.post_status = 'draft' ) LIMIT 1" );
|
116 |
-
if ( intval( $result ) > 0 || ( !$hide_if_empty_filter && 0 == intval( $result ) ) ) {
|
117 |
-
$filtered_terms[] = $term;
|
118 |
-
}
|
119 |
-
}
|
120 |
-
return $filtered_terms;
|
121 |
-
}
|
122 |
-
|
123 |
-
function link_library_get_terms_filter_publish_draft_pending( $terms, $taxonomies, $args ) {
|
124 |
-
global $wpdb;
|
125 |
-
global $hide_if_empty_filter;
|
126 |
-
|
127 |
-
$taxonomy = $taxonomies[0];
|
128 |
-
if ( ! is_array( $terms ) && count( $terms ) < 1 ) {
|
129 |
-
return $terms;
|
130 |
-
}
|
131 |
-
|
132 |
-
$filtered_terms = array();
|
133 |
-
|
134 |
-
foreach ( $terms as $term ) {
|
135 |
-
$result = $wpdb->get_var( "SELECT COUNT(*) FROM $wpdb->posts p JOIN $wpdb->term_relationships rl ON p.ID = rl.object_id WHERE rl.term_taxonomy_id = $term->term_id AND ( p.post_status = 'publish' or p.post_status = 'draft' or p.post_status = 'pending' ) LIMIT 1" );
|
136 |
-
if ( intval( $result ) > 0 || ( !$hide_if_empty_filter && 0 == intval( $result ) ) ) {
|
137 |
-
$filtered_terms[] = $term;
|
138 |
-
}
|
139 |
-
}
|
140 |
-
return $filtered_terms;
|
141 |
-
}
|
142 |
-
|
143 |
function link_library_strposX( $haystack, $needle, $number ) {
|
144 |
if( $number == '1' ){
|
145 |
return strpos($haystack, $needle);
|
@@ -188,13 +106,12 @@ class link_library_plugin {
|
|
188 |
//constructor of class, PHP4 compatible construction for backward compatibility
|
189 |
function __construct() {
|
190 |
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
add_action( 'init', array( $this, 'll_init' ) );
|
196 |
-
|
197 |
$newoptions = get_option( 'LinkLibraryPP1', '' );
|
|
|
198 |
|
199 |
if ( empty( $newoptions ) ) {
|
200 |
global $my_link_library_plugin_admin;
|
@@ -205,7 +122,10 @@ class link_library_plugin {
|
|
205 |
}
|
206 |
|
207 |
ll_reset_options( 1, 'list', 'return_and_set' );
|
208 |
-
|
|
|
|
|
|
|
209 |
}
|
210 |
|
211 |
// Add short codes
|
@@ -219,7 +139,6 @@ class link_library_plugin {
|
|
219 |
add_shortcode( 'link-library-addlinkcustommsg', array( $this, 'link_library_addlink_func' ) );
|
220 |
add_shortcode( 'addlinkcustommsg-link-library', array( $this, 'link_library_addlink_func' ) );
|
221 |
add_shortcode( 'link-library-count', array( $this, 'link_library_count_func' ) );
|
222 |
-
add_shortcode( 'link-library-filters', array( $this, 'link_library_filters' ) );
|
223 |
|
224 |
// Function to determine if Link Library is used on a page before printing headers
|
225 |
// the_posts gets triggered before wp_head
|
@@ -230,12 +149,13 @@ class link_library_plugin {
|
|
230 |
|
231 |
add_filter( 'wp_title', array( $this, 'll_title_creator' ) );
|
232 |
|
|
|
|
|
233 |
// Re-write rules filters to allow for custom permalinks
|
234 |
add_filter( 'rewrite_rules_array', array( $this, 'll_insertMyRewriteRules' ) );
|
235 |
add_filter( 'query_vars', array( $this, 'll_insertMyRewriteQueryVars' ) );
|
236 |
|
237 |
add_action( 'template_redirect', array( $this, 'll_template_redirect' ) );
|
238 |
-
add_filter( 'template_include', array( $this, 'll_template_include' ) );
|
239 |
add_action( 'wp_ajax_link_library_tracker', array( $this, 'link_library_ajax_tracker' ) );
|
240 |
add_action( 'wp_ajax_nopriv_link_library_tracker', array( $this, 'link_library_ajax_tracker' ) );
|
241 |
add_action( 'wp_ajax_link_library_ajax_update', array( $this, 'link_library_func') );
|
@@ -254,7 +174,9 @@ class link_library_plugin {
|
|
254 |
|
255 |
add_filter( 'wp_feed_cache_transient_lifetime' , array( $this, 'feed_cache_filter_handler' ) );
|
256 |
|
257 |
-
|
|
|
|
|
258 |
}
|
259 |
|
260 |
function feed_cache_filter_handler( $seconds ) {
|
@@ -264,84 +186,8 @@ class link_library_plugin {
|
|
264 |
return $genoptions['rsscachedelay'];
|
265 |
}
|
266 |
|
267 |
-
function
|
268 |
-
register_post_type( 'link_library_links',
|
269 |
-
array(
|
270 |
-
'labels' => array(
|
271 |
-
'name' => 'Link Library',
|
272 |
-
'singular_name' => 'Link',
|
273 |
-
'add_new' => 'Add New',
|
274 |
-
'add_new_item' => 'Add New Link',
|
275 |
-
'edit' => 'Edit',
|
276 |
-
'edit_item' => 'Edit Link',
|
277 |
-
'new_item' => 'New Link',
|
278 |
-
'view' => 'View',
|
279 |
-
'view_item' => 'View Link',
|
280 |
-
'search_items' => 'Search Links',
|
281 |
-
'not_found' => 'No Links found',
|
282 |
-
'not_found_in_trash' =>
|
283 |
-
'No Links found in Trash',
|
284 |
-
'parent' => 'Parent Link',
|
285 |
-
'all_items' => 'All Links'
|
286 |
-
),
|
287 |
-
'public' => true,
|
288 |
-
'menu_position' => 10,
|
289 |
-
'supports' =>
|
290 |
-
array( 'title', 'editor', 'comments' ),
|
291 |
-
'taxonomies' => array( 'link_library_category' ),
|
292 |
-
'menu_icon' =>
|
293 |
-
plugins_url( 'icons/link-icon.png', __FILE__ ),
|
294 |
-
'has_archive' => true,
|
295 |
-
'rewrite' => array( 'slug' => 'links/%link_library_category%' )
|
296 |
-
)
|
297 |
-
);
|
298 |
-
|
299 |
-
register_taxonomy(
|
300 |
-
'link_library_category',
|
301 |
-
'link_library_links',
|
302 |
-
array(
|
303 |
-
'labels' => array(
|
304 |
-
'name' => 'Categories',
|
305 |
-
'add_new_item' => 'Add New Link Library Category',
|
306 |
-
'new_item_name' => 'New Link Library Category'
|
307 |
-
),
|
308 |
-
'show_ui' => true,
|
309 |
-
'show_tagcloud' => false,
|
310 |
-
'hierarchical' => true
|
311 |
-
)
|
312 |
-
);
|
313 |
-
|
314 |
-
register_taxonomy(
|
315 |
-
'link_library_tags',
|
316 |
-
'link_library_links',
|
317 |
-
array(
|
318 |
-
'hierarchical' => false,
|
319 |
-
'labels' => array( 'name' => 'Tags',
|
320 |
-
'add_new_item' => 'Add New Link Library Tag',
|
321 |
-
'new_item_name' => 'New Link Library Tag' ),
|
322 |
-
'show_ui' => true,
|
323 |
-
'rewrite' => false,
|
324 |
-
)
|
325 |
-
);
|
326 |
-
|
327 |
add_feed( 'linklibraryfeed', 'link_library_generate_rss_feed' );
|
328 |
-
|
329 |
-
$link_library_60_update = get_option( 'LinkLibrary60Update' );
|
330 |
-
$genoptions = get_option( 'LinkLibraryGeneral' );
|
331 |
-
if ( false == $link_library_60_update && !empty( $genoptions ) ) {
|
332 |
-
require plugin_dir_path( __FILE__ ) . 'link-library-update-60.php';
|
333 |
-
link_library_60_update( $this );
|
334 |
-
}
|
335 |
-
}
|
336 |
-
|
337 |
-
function permalink_structure( $post_link, $post, $leavename, $sample ) {
|
338 |
-
if ( !empty( $post_link ) && false !== strpos( $post_link, '%link_library_category%' ) ) {
|
339 |
-
$link_cat_type_term = get_the_terms( $post->ID, 'link_library_category' );
|
340 |
-
if ( !empty( $link_cat_type_term ) ) {
|
341 |
-
$post_link = str_replace( '%link_library_category%', array_pop( $link_cat_type_term )->slug, $post_link );
|
342 |
-
}
|
343 |
-
}
|
344 |
-
return $post_link;
|
345 |
}
|
346 |
|
347 |
/************************** Link Library Installation Function **************************/
|
@@ -381,24 +227,67 @@ class link_library_plugin {
|
|
381 |
function create_table_and_settings() {
|
382 |
global $wpdb;
|
383 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
384 |
$genoptions = get_option( 'LinkLibraryGeneral' );
|
385 |
|
386 |
if ( !empty( $genoptions ) ) {
|
|
|
387 |
if ( empty( $genoptions['schemaversion'] ) || floatval( $genoptions['schemaversion'] ) < 3.5 ) {
|
388 |
$genoptions['schemaversion'] = '3.5';
|
389 |
update_option( 'LinkLibraryGeneral', $genoptions );
|
390 |
} elseif ( floatval( $genoptions['schemaversion'] ) < '4.6' ) {
|
391 |
$genoptions['schemaversion'] = '4.6';
|
|
|
|
|
392 |
update_option( 'LinkLibraryGeneral', $genoptions );
|
393 |
} elseif ( floatval( $genoptions['schemaversion'] ) < '4.7' ) {
|
394 |
$genoptions['schemaversion'] = '4.7';
|
|
|
|
|
395 |
update_option( 'LinkLibraryGeneral', $genoptions );
|
396 |
} elseif ( floatval( $genoptions['schemaversion'] ) < '4.9' ) {
|
397 |
$genoptions['schemaversion'] = '4.9';
|
|
|
|
|
398 |
update_option( 'LinkLibraryGeneral', $genoptions );
|
399 |
}
|
400 |
|
401 |
-
|
402 |
$settingsname = 'LinkLibraryPP' . $i;
|
403 |
$options = get_option( $settingsname );
|
404 |
|
@@ -449,11 +338,9 @@ class link_library_plugin {
|
|
449 |
|
450 |
update_option( $settingsname, $options );
|
451 |
}
|
452 |
-
} else {
|
453 |
-
update_option( 'LinkLibrary60Update', true );
|
454 |
}
|
455 |
|
456 |
-
$genoptions['schemaversion'] = '5.
|
457 |
update_option( 'LinkLibraryGeneral', $genoptions );
|
458 |
}
|
459 |
|
@@ -576,7 +463,8 @@ class link_library_plugin {
|
|
576 |
}
|
577 |
|
578 |
/************************************* Function to add to rewrite rules for permalink support **********************************/
|
579 |
-
function ll_insertMyRewriteRules(
|
|
|
580 |
$newrules = array();
|
581 |
|
582 |
$genoptions = get_option('LinkLibraryGeneral');
|
@@ -587,11 +475,12 @@ class link_library_plugin {
|
|
587 |
$options = get_option( $settingsname );
|
588 |
|
589 |
if ( $options['enablerewrite'] && !empty( $options['rewritepage'] ) ) {
|
590 |
-
|
591 |
-
|
592 |
-
|
593 |
-
|
594 |
-
|
|
|
595 |
}
|
596 |
|
597 |
if ( $options['publishrssfeed'] ) {
|
@@ -604,7 +493,7 @@ class link_library_plugin {
|
|
604 |
}
|
605 |
}
|
606 |
}
|
607 |
-
|
608 |
return $newrules + $rules;
|
609 |
}
|
610 |
|
@@ -640,7 +529,7 @@ class link_library_plugin {
|
|
640 |
return 'error_403';
|
641 |
}
|
642 |
} elseif ( $response['response']['code'] == '200' ) {
|
643 |
-
|
644 |
return 'exists_notfound';
|
645 |
} elseif ( strpos( $response['body'], $RecipCheckAddress ) === false ) {
|
646 |
return 'exists_notfound';
|
@@ -652,6 +541,99 @@ class link_library_plugin {
|
|
652 |
return 'unreachable';
|
653 |
}
|
654 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
655 |
/* Output for users trying to directly call Link Library function, as was possible in pre-1.0 versions */
|
656 |
|
657 |
function LinkLibraryCategories() {
|
@@ -790,35 +772,11 @@ class link_library_plugin {
|
|
790 |
require_once plugin_dir_path( __FILE__ ) . 'render-link-library-sc.php';
|
791 |
return RenderLinkLibrary( $this, $genoptions, $options, $settings, true );
|
792 |
}
|
793 |
-
|
794 |
-
/********************************************** Function to Process [link-library-filters] shortcode ***************************************/
|
795 |
-
|
796 |
-
function link_library_filters( $atts ) {
|
797 |
-
extract( shortcode_atts( array(
|
798 |
-
'includetagsids' => '',
|
799 |
-
'excludetagsids' => '',
|
800 |
-
'showtagfilters' => true,
|
801 |
-
'taglabel' => __( 'Tag', 'link-library' ),
|
802 |
-
'showpricefilters' => true,
|
803 |
-
'pricelabel' => __( 'Price', 'link-library' ),
|
804 |
-
'settings' => ''
|
805 |
-
), $atts ) );
|
806 |
-
|
807 |
-
if ( empty( $settings ) ) {
|
808 |
-
$settings = 1;
|
809 |
-
}
|
810 |
-
|
811 |
-
$settingsname = 'LinkLibraryPP' . $settings;
|
812 |
-
$options = get_option( $settingsname );
|
813 |
-
$genoptions = get_option( 'LinkLibraryGeneral' );
|
814 |
-
|
815 |
-
require_once plugin_dir_path( __FILE__ ) . 'render-link-library-tag-filter-sc.php';
|
816 |
-
return RenderLinkLibraryFilterBox( $this, $genoptions, $options, $settings, $includetagsids, $excludetagsids, $showtagfilters, $taglabel, $showpricefilters, $pricelabel );
|
817 |
-
}
|
818 |
|
819 |
/********************************************** Function to Process [link-library] shortcode *********************************************/
|
820 |
|
821 |
-
function link_library_func( $atts
|
|
|
822 |
if ( isset( $_POST['ajaxupdate'] ) ) {
|
823 |
check_ajax_referer( 'link_library_ajax_refresh' );
|
824 |
}
|
@@ -869,11 +827,11 @@ class link_library_plugin {
|
|
869 |
}
|
870 |
|
871 |
if ( !empty( $categorylistoverride ) ) {
|
872 |
-
$options['
|
873 |
}
|
874 |
|
875 |
if ( !empty( $excludecategoryoverride ) ) {
|
876 |
-
$options['
|
877 |
}
|
878 |
|
879 |
if ( !empty( $singlelinkid ) ) {
|
@@ -881,11 +839,11 @@ class link_library_plugin {
|
|
881 |
}
|
882 |
|
883 |
if ( $showonecatonlyoverride == 'false' || $showonecatonlyoverride == 'true' ) {
|
884 |
-
|
885 |
-
|
886 |
-
|
887 |
-
|
888 |
-
|
889 |
}
|
890 |
|
891 |
if ( !empty( $tableoverride ) ) {
|
@@ -906,7 +864,7 @@ class link_library_plugin {
|
|
906 |
|
907 |
$genoptions = get_option( 'LinkLibraryGeneral' );
|
908 |
|
909 |
-
if ( floatval( $genoptions['schemaversion'] ) < '5.
|
910 |
$this->ll_install();
|
911 |
$genoptions = get_option( 'LinkLibraryGeneral' );
|
912 |
|
@@ -948,18 +906,18 @@ class link_library_plugin {
|
|
948 |
if ( empty( $posts ) ) {
|
949 |
return $posts;
|
950 |
}
|
951 |
-
|
952 |
global $llstylesheet;
|
953 |
$load_jquery = false;
|
954 |
$load_thickbox = false;
|
955 |
$load_recaptcha = false;
|
956 |
-
|
957 |
if ( $llstylesheet ) {
|
958 |
$load_style = true;
|
959 |
} else {
|
960 |
$load_style = false;
|
961 |
}
|
962 |
-
|
963 |
$genoptions = get_option( 'LinkLibraryGeneral' );
|
964 |
$genoptions = wp_parse_args( $genoptions, ll_reset_gen_settings( 'return' ) );
|
965 |
|
@@ -980,9 +938,9 @@ class link_library_plugin {
|
|
980 |
if ( !$linklibrarypos ) {
|
981 |
if ( stripos( $post->post_content, 'link-library-cats' ) || stripos( $post->post_content, 'link-library-addlink' ) ) {
|
982 |
$load_style = true;
|
983 |
-
|
984 |
-
|
985 |
-
|
986 |
}
|
987 |
}
|
988 |
}
|
@@ -1049,7 +1007,7 @@ class link_library_plugin {
|
|
1049 |
}
|
1050 |
}
|
1051 |
|
1052 |
-
if ( $load_style ) {
|
1053 |
$llstylesheet = true;
|
1054 |
} else {
|
1055 |
$llstylesheet = false;
|
@@ -1090,84 +1048,6 @@ class link_library_plugin {
|
|
1090 |
}
|
1091 |
}
|
1092 |
|
1093 |
-
function ll_template_include( $template_path ) {
|
1094 |
-
if ( get_post_type() == 'link_library_links' && is_single() ) {
|
1095 |
-
// checks if the file exists in the theme first,
|
1096 |
-
// otherwise serve the file from the plugin
|
1097 |
-
if ( $theme_file = locate_template( array ( 'single-link_library_links.php' ) ) ) {
|
1098 |
-
$template_path = $theme_file;
|
1099 |
-
} else {
|
1100 |
-
add_filter( 'the_content', array( $this, 'll_display_single_link' ), 20 );
|
1101 |
-
}
|
1102 |
-
}
|
1103 |
-
return $template_path;
|
1104 |
-
}
|
1105 |
-
|
1106 |
-
function ll_get_string_between($string, $start, $end){
|
1107 |
-
$string = ' ' . $string;
|
1108 |
-
$ini = strpos($string, $start);
|
1109 |
-
if ($ini == 0) return '';
|
1110 |
-
$ini += strlen($start);
|
1111 |
-
$len = strpos($string, $end, $ini) - $ini;
|
1112 |
-
return substr($string, $ini, $len);
|
1113 |
-
}
|
1114 |
-
|
1115 |
-
function ll_replace_all_between( $beginning, $end, $string, $replace ) {
|
1116 |
-
$beginningPos = strpos($string, $beginning);
|
1117 |
-
$endPos = strpos($string, $end);
|
1118 |
-
if ($beginningPos === false || $endPos === false) {
|
1119 |
-
return $string;
|
1120 |
-
}
|
1121 |
-
|
1122 |
-
$textToDelete = substr($string, $beginningPos, ($endPos + strlen($end)) - $beginningPos);
|
1123 |
-
|
1124 |
-
return str_replace($textToDelete, $replace, $string);
|
1125 |
-
}
|
1126 |
-
|
1127 |
-
function ll_display_single_link( $content ) {
|
1128 |
-
|
1129 |
-
$genoptions = get_option( 'LinkLibraryGeneral' );
|
1130 |
-
$genoptions = wp_parse_args( $genoptions, ll_reset_gen_settings( 'return' ) );
|
1131 |
-
|
1132 |
-
$content = htmlspecialchars_decode( stripslashes( $genoptions['single_link_layout'] ) );
|
1133 |
-
|
1134 |
-
$item_id = get_the_ID();
|
1135 |
-
if ( !empty( $item_id ) ) {
|
1136 |
-
$link = get_post( get_the_ID() );
|
1137 |
-
if ( !empty( $link ) ) {
|
1138 |
-
$link_url = esc_url( get_post_meta( get_the_ID(), 'link_url', true ) );
|
1139 |
-
$link_description = esc_html( get_post_meta( get_the_ID(), 'link_description', true ) );
|
1140 |
-
$link_large_description = get_post_meta( get_the_ID(), 'link_textfield', true );
|
1141 |
-
$link_image = esc_url( get_post_meta( get_the_ID(), 'link_image', true ) );
|
1142 |
-
$link_price = number_format( floatval( get_post_meta( get_the_ID(), 'link_price', true ) ), 2 );
|
1143 |
-
$link_price_currency = $this->ll_get_string_between( $content, '[currency]', '[/currency]' );
|
1144 |
-
$link_price_currency_or_free = $this->ll_get_string_between( $content, '[currency_or_free]', '[/currency_or_free]' );
|
1145 |
-
|
1146 |
-
$content = str_replace( '[link_title]', $link->post_title, $content );
|
1147 |
-
$content = str_replace( '[link_content]', $link->post_content, $content );
|
1148 |
-
$content = str_replace( '[link_description]', $link_description, $content );
|
1149 |
-
$content = str_replace( '[link_large_description]', $link_large_description, $content );
|
1150 |
-
$content = str_replace( '[link_image]', $link_image, $content );
|
1151 |
-
|
1152 |
-
$content = str_replace( '[link_price]', $link_price, $content );
|
1153 |
-
$content = $this->ll_replace_all_between( '[currency]', '[/currency]', $content, $link_price_currency );
|
1154 |
-
|
1155 |
-
if ( floatval( $link_price ) > 0.0 ) {
|
1156 |
-
$content = str_replace( '[link_price_or_free]', $link_price, $content );
|
1157 |
-
$content = $this->ll_replace_all_between( '[currency_or_free]', '[/currency_or_free]', $content, $link_price_currency_or_free );
|
1158 |
-
} else {
|
1159 |
-
$content = str_replace( '[link_price_or_free]', __( 'Free', 'link-library' ), $content );
|
1160 |
-
$content = $this->ll_replace_all_between( '[currency_or_free]', '[/currency_or_free]', $content, '' );
|
1161 |
-
}
|
1162 |
-
|
1163 |
-
$content = str_replace( '[link_address]', $link_url, $content );
|
1164 |
-
$content = str_replace( '[link]', '<a href="' . $link_url . '">' . $link->post_title . '</a>', $content );
|
1165 |
-
}
|
1166 |
-
}
|
1167 |
-
|
1168 |
-
return $content;
|
1169 |
-
}
|
1170 |
-
|
1171 |
function link_library_ajax_tracker() {
|
1172 |
require_once plugin_dir_path( __FILE__ ) . 'tracker.php';
|
1173 |
link_library_process_ajax_tracker( $this );
|
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: 5.9.15.7
|
7 |
Author: Yannick Lefebvre
|
8 |
Author URI: http://ylefebvre.ca/
|
9 |
Text Domain: link-library
|
40 |
require_once(ABSPATH . '/wp-admin/includes/bookmark.php');
|
41 |
require_once plugin_dir_path( __FILE__ ) . 'link-library-defaults.php';
|
42 |
require_once plugin_dir_path( __FILE__ ) . 'rssfeed.php';
|
|
|
43 |
|
44 |
global $my_link_library_plugin;
|
45 |
global $my_link_library_plugin_admin;
|
58 |
return $response;
|
59 |
}
|
60 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
61 |
function link_library_strposX( $haystack, $needle, $number ) {
|
62 |
if( $number == '1' ){
|
63 |
return strpos($haystack, $needle);
|
106 |
//constructor of class, PHP4 compatible construction for backward compatibility
|
107 |
function __construct() {
|
108 |
|
109 |
+
// Functions to be called when plugin is activated and deactivated
|
110 |
+
register_activation_hook( __FILE__, array( $this, 'll_install' ) );
|
111 |
+
register_deactivation_hook( __FILE__, array( $this, 'll_uninstall' ) );
|
112 |
+
|
|
|
|
|
113 |
$newoptions = get_option( 'LinkLibraryPP1', '' );
|
114 |
+
$genoptions = get_option( 'LinkLibraryGeneral', '' );
|
115 |
|
116 |
if ( empty( $newoptions ) ) {
|
117 |
global $my_link_library_plugin_admin;
|
122 |
}
|
123 |
|
124 |
ll_reset_options( 1, 'list', 'return_and_set' );
|
125 |
+
|
126 |
+
if ( empty( $genoptions ) ) {
|
127 |
+
ll_reset_gen_settings( 'return_and_set' );
|
128 |
+
}
|
129 |
}
|
130 |
|
131 |
// Add short codes
|
139 |
add_shortcode( 'link-library-addlinkcustommsg', array( $this, 'link_library_addlink_func' ) );
|
140 |
add_shortcode( 'addlinkcustommsg-link-library', array( $this, 'link_library_addlink_func' ) );
|
141 |
add_shortcode( 'link-library-count', array( $this, 'link_library_count_func' ) );
|
|
|
142 |
|
143 |
// Function to determine if Link Library is used on a page before printing headers
|
144 |
// the_posts gets triggered before wp_head
|
149 |
|
150 |
add_filter( 'wp_title', array( $this, 'll_title_creator' ) );
|
151 |
|
152 |
+
add_action( 'init', array( $this, 'links_rss' ) );
|
153 |
+
|
154 |
// Re-write rules filters to allow for custom permalinks
|
155 |
add_filter( 'rewrite_rules_array', array( $this, 'll_insertMyRewriteRules' ) );
|
156 |
add_filter( 'query_vars', array( $this, 'll_insertMyRewriteQueryVars' ) );
|
157 |
|
158 |
add_action( 'template_redirect', array( $this, 'll_template_redirect' ) );
|
|
|
159 |
add_action( 'wp_ajax_link_library_tracker', array( $this, 'link_library_ajax_tracker' ) );
|
160 |
add_action( 'wp_ajax_nopriv_link_library_tracker', array( $this, 'link_library_ajax_tracker' ) );
|
161 |
add_action( 'wp_ajax_link_library_ajax_update', array( $this, 'link_library_func') );
|
174 |
|
175 |
add_filter( 'wp_feed_cache_transient_lifetime' , array( $this, 'feed_cache_filter_handler' ) );
|
176 |
|
177 |
+
global $wpdb;
|
178 |
+
|
179 |
+
$wpdb->linkcategorymeta = $wpdb->get_blog_prefix() . 'linkcategorymeta';
|
180 |
}
|
181 |
|
182 |
function feed_cache_filter_handler( $seconds ) {
|
186 |
return $genoptions['rsscachedelay'];
|
187 |
}
|
188 |
|
189 |
+
function links_rss() {
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
190 |
add_feed( 'linklibraryfeed', 'link_library_generate_rss_feed' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
191 |
}
|
192 |
|
193 |
/************************** Link Library Installation Function **************************/
|
227 |
function create_table_and_settings() {
|
228 |
global $wpdb;
|
229 |
|
230 |
+
$wpdb->links_extrainfo = $this->db_prefix() . 'links_extrainfo';
|
231 |
+
|
232 |
+
$creationquery = "CREATE TABLE " . $wpdb->links_extrainfo . " (
|
233 |
+
link_id bigint(20) NOT NULL DEFAULT '0',
|
234 |
+
link_second_url varchar(255) CHARACTER SET utf8 DEFAULT NULL,
|
235 |
+
link_telephone varchar(128) CHARACTER SET utf8 DEFAULT NULL,
|
236 |
+
link_email varchar(128) CHARACTER SET utf8 DEFAULT NULL,
|
237 |
+
link_visits bigint(20) DEFAULT '0',
|
238 |
+
link_reciprocal varchar(255) DEFAULT NULL,
|
239 |
+
link_submitter varchar(255) DEFAULT NULL,
|
240 |
+
link_submitter_name VARCHAR(128) CHARACTER SET utf8 NULL,
|
241 |
+
link_submitter_email VARCHAR(128) NULL,
|
242 |
+
link_textfield TEXT CHARACTER SET utf8 NULL,
|
243 |
+
link_no_follow VARCHAR(1) NULL,
|
244 |
+
link_featured VARCHAR(1) NULL,
|
245 |
+
link_manual_updated VARCHAR(1) NULL,
|
246 |
+
link_addl_rel VARCHAR(256) NULL,
|
247 |
+
PRIMARY KEY (link_id)
|
248 |
+
)";
|
249 |
+
|
250 |
+
require_once( ABSPATH . 'wp-admin/includes/upgrade.php' );
|
251 |
+
dbDelta( $creationquery );
|
252 |
+
|
253 |
+
$wpdb->linkcategorymeta = $this->db_prefix() . 'linkcategorymeta';
|
254 |
+
|
255 |
+
$meta_creation_query =
|
256 |
+
'CREATE TABLE ' . $wpdb->linkcategorymeta . ' (
|
257 |
+
meta_id bigint(20) unsigned NOT NULL AUTO_INCREMENT,
|
258 |
+
linkcategory_id bigint(20) unsigned NOT NULL DEFAULT "0",
|
259 |
+
meta_key varchar(255) DEFAULT NULL,
|
260 |
+
meta_value longtext,
|
261 |
+
PRIMARY KEY (meta_id)
|
262 |
+
);';
|
263 |
+
|
264 |
+
dbDelta ( $meta_creation_query );
|
265 |
+
|
266 |
$genoptions = get_option( 'LinkLibraryGeneral' );
|
267 |
|
268 |
if ( !empty( $genoptions ) ) {
|
269 |
+
|
270 |
if ( empty( $genoptions['schemaversion'] ) || floatval( $genoptions['schemaversion'] ) < 3.5 ) {
|
271 |
$genoptions['schemaversion'] = '3.5';
|
272 |
update_option( 'LinkLibraryGeneral', $genoptions );
|
273 |
} elseif ( floatval( $genoptions['schemaversion'] ) < '4.6' ) {
|
274 |
$genoptions['schemaversion'] = '4.6';
|
275 |
+
$wpdb->get_results( 'ALTER TABLE ' . $this->db_prefix() . 'links_extrainfo ADD link_submitter_name VARCHAR( 128 ) NULL, ADD link_submitter_email VARCHAR( 128 ) NULL , ADD link_textfield TEXT NULL ;' );
|
276 |
+
|
277 |
update_option( 'LinkLibraryGeneral', $genoptions );
|
278 |
} elseif ( floatval( $genoptions['schemaversion'] ) < '4.7' ) {
|
279 |
$genoptions['schemaversion'] = '4.7';
|
280 |
+
$wpdb->get_results( 'ALTER TABLE ' . $this->db_prefix() . 'links_extrainfo ADD link_no_follow VARCHAR( 1 ) NULL;' );
|
281 |
+
|
282 |
update_option( 'LinkLibraryGeneral', $genoptions );
|
283 |
} elseif ( floatval( $genoptions['schemaversion'] ) < '4.9' ) {
|
284 |
$genoptions['schemaversion'] = '4.9';
|
285 |
+
$wpdb->get_results( 'ALTER TABLE ' . $this->db_prefix() . 'links_extrainfo ADD link_featured VARCHAR( 1 ) NULL;' );
|
286 |
+
|
287 |
update_option( 'LinkLibraryGeneral', $genoptions );
|
288 |
}
|
289 |
|
290 |
+
for ( $i = 1; $i <= $genoptions['numberstylesets']; $i++ ) {
|
291 |
$settingsname = 'LinkLibraryPP' . $i;
|
292 |
$options = get_option( $settingsname );
|
293 |
|
338 |
|
339 |
update_option( $settingsname, $options );
|
340 |
}
|
|
|
|
|
341 |
}
|
342 |
|
343 |
+
$genoptions['schemaversion'] = '5.1';
|
344 |
update_option( 'LinkLibraryGeneral', $genoptions );
|
345 |
}
|
346 |
|
463 |
}
|
464 |
|
465 |
/************************************* Function to add to rewrite rules for permalink support **********************************/
|
466 |
+
function ll_insertMyRewriteRules($rules)
|
467 |
+
{
|
468 |
$newrules = array();
|
469 |
|
470 |
$genoptions = get_option('LinkLibraryGeneral');
|
475 |
$options = get_option( $settingsname );
|
476 |
|
477 |
if ( $options['enablerewrite'] && !empty( $options['rewritepage'] ) ) {
|
478 |
+
if ( is_multisite() ) {
|
479 |
+
$newrules['(' . $options['rewritepage'] . ')/(.+?)$'] = 'index.php?pagename=$matches[2]&cat_name=$matches[3]';
|
480 |
+
} else {
|
481 |
+
$newrules['(' . $options['rewritepage'] . ')/(.+?)$'] = 'index.php?pagename=$matches[1]&cat_name=$matches[2]';
|
482 |
+
}
|
483 |
+
|
484 |
}
|
485 |
|
486 |
if ( $options['publishrssfeed'] ) {
|
493 |
}
|
494 |
}
|
495 |
}
|
496 |
+
|
497 |
return $newrules + $rules;
|
498 |
}
|
499 |
|
529 |
return 'error_403';
|
530 |
}
|
531 |
} elseif ( $response['response']['code'] == '200' ) {
|
532 |
+
if ( empty( $RecipCheckAddress ) ) {
|
533 |
return 'exists_notfound';
|
534 |
} elseif ( strpos( $response['body'], $RecipCheckAddress ) === false ) {
|
535 |
return 'exists_notfound';
|
541 |
return 'unreachable';
|
542 |
}
|
543 |
|
544 |
+
function link_library_insert_link( $linkdata, $wp_error = false, $addlinknoaddress = false) {
|
545 |
+
global $wpdb;
|
546 |
+
|
547 |
+
$defaults = array( 'link_id' => 0, 'link_name' => '', 'link_url' => '', 'link_rating' => 0 );
|
548 |
+
|
549 |
+
$linkdata = wp_parse_args( $linkdata, $defaults );
|
550 |
+
$linkdata = sanitize_bookmark( $linkdata, 'db' );
|
551 |
+
|
552 |
+
extract( stripslashes_deep( $linkdata ), EXTR_SKIP );
|
553 |
+
|
554 |
+
$update = false;
|
555 |
+
|
556 |
+
if ( !empty( $link_id ) )
|
557 |
+
$update = true;
|
558 |
+
|
559 |
+
if ( isset( $link_name ) && trim( $link_name ) == '' ) {
|
560 |
+
if ( isset( $link_url ) && trim( $link_url ) != '' ) {
|
561 |
+
$link_name = $link_url;
|
562 |
+
} else {
|
563 |
+
return 0;
|
564 |
+
}
|
565 |
+
}
|
566 |
+
|
567 |
+
if ($addlinknoaddress == false)
|
568 |
+
{
|
569 |
+
if ( trim( $link_url ) == '' )
|
570 |
+
return 0;
|
571 |
+
}
|
572 |
+
|
573 |
+
if ( empty( $link_rating ) )
|
574 |
+
$link_rating = 0;
|
575 |
+
|
576 |
+
if ( empty( $link_image ) )
|
577 |
+
$link_image = '';
|
578 |
+
|
579 |
+
if ( empty( $link_target ) )
|
580 |
+
$link_target = '';
|
581 |
+
|
582 |
+
if ( empty( $link_visible ) )
|
583 |
+
$link_visible = 'Y';
|
584 |
+
|
585 |
+
if ( empty( $link_owner ) )
|
586 |
+
$link_owner = get_current_user_id();
|
587 |
+
|
588 |
+
if ( empty( $link_notes ) )
|
589 |
+
$link_notes = '';
|
590 |
+
|
591 |
+
if ( empty( $link_description ) )
|
592 |
+
$link_description = '';
|
593 |
+
|
594 |
+
if ( empty( $link_rss ) )
|
595 |
+
$link_rss = '';
|
596 |
+
|
597 |
+
if ( empty( $link_rel ) )
|
598 |
+
$link_rel = '';
|
599 |
+
|
600 |
+
if ( empty( $link_updated ) )
|
601 |
+
$link_updated = '';
|
602 |
+
|
603 |
+
// Make sure we set a valid category
|
604 |
+
if ( ! isset( $link_category ) || 0 == count( $link_category ) || !is_array( $link_category ) ) {
|
605 |
+
$link_category = array( get_option( 'default_link_category' ) );
|
606 |
+
}
|
607 |
+
|
608 |
+
if ( $update ) {
|
609 |
+
if ( false === $wpdb->update( $wpdb->links, compact('link_url', 'link_name', 'link_image', 'link_target', 'link_description', 'link_visible', 'link_rating', 'link_rel', 'link_notes', 'link_rss', 'link_updated' ), compact('link_id') ) ) {
|
610 |
+
if ( $wp_error )
|
611 |
+
return new WP_Error( 'db_update_error', __( 'Could not update link in the database', 'link-library' ), $wpdb->last_error );
|
612 |
+
else
|
613 |
+
return 0;
|
614 |
+
}
|
615 |
+
} else {
|
616 |
+
if ( false === $wpdb->insert( $wpdb->links, compact('link_url', 'link_name', 'link_image', 'link_target', 'link_description', 'link_visible', 'link_owner', 'link_rating', 'link_rel', 'link_notes', 'link_rss', 'link_updated' ) ) ) {
|
617 |
+
if ( $wp_error )
|
618 |
+
return new WP_Error( 'db_insert_error', __( 'Could not insert link into the database', 'link-library' ), $wpdb->last_error );
|
619 |
+
else
|
620 |
+
return 0;
|
621 |
+
}
|
622 |
+
$link_id = (int) $wpdb->insert_id;
|
623 |
+
}
|
624 |
+
|
625 |
+
wp_set_link_cats( $link_id, $link_category );
|
626 |
+
|
627 |
+
if ( $update )
|
628 |
+
do_action( 'edit_link', $link_id );
|
629 |
+
else
|
630 |
+
do_action( 'add_link', $link_id );
|
631 |
+
|
632 |
+
clean_bookmark_cache( $link_id );
|
633 |
+
|
634 |
+
return $link_id;
|
635 |
+
}
|
636 |
+
|
637 |
/* Output for users trying to directly call Link Library function, as was possible in pre-1.0 versions */
|
638 |
|
639 |
function LinkLibraryCategories() {
|
772 |
require_once plugin_dir_path( __FILE__ ) . 'render-link-library-sc.php';
|
773 |
return RenderLinkLibrary( $this, $genoptions, $options, $settings, true );
|
774 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
775 |
|
776 |
/********************************************** Function to Process [link-library] shortcode *********************************************/
|
777 |
|
778 |
+
function link_library_func( $atts ) {
|
779 |
+
|
780 |
if ( isset( $_POST['ajaxupdate'] ) ) {
|
781 |
check_ajax_referer( 'link_library_ajax_refresh' );
|
782 |
}
|
827 |
}
|
828 |
|
829 |
if ( !empty( $categorylistoverride ) ) {
|
830 |
+
$options['categorylist'] = $categorylistoverride;
|
831 |
}
|
832 |
|
833 |
if ( !empty( $excludecategoryoverride ) ) {
|
834 |
+
$options['excludecategorylist'] = $excludecategoryoverride;
|
835 |
}
|
836 |
|
837 |
if ( !empty( $singlelinkid ) ) {
|
839 |
}
|
840 |
|
841 |
if ( $showonecatonlyoverride == 'false' || $showonecatonlyoverride == 'true' ) {
|
842 |
+
if ( $showonecatonlyoverride == 'false' ) {
|
843 |
+
$options['showonecatonly'] = false;
|
844 |
+
} elseif ( $showonecatonlyoverride == 'true' ) {
|
845 |
+
$options['showonecatonly'] = true;
|
846 |
+
}
|
847 |
}
|
848 |
|
849 |
if ( !empty( $tableoverride ) ) {
|
864 |
|
865 |
$genoptions = get_option( 'LinkLibraryGeneral' );
|
866 |
|
867 |
+
if ( floatval( $genoptions['schemaversion'] ) < '5.1' ) {
|
868 |
$this->ll_install();
|
869 |
$genoptions = get_option( 'LinkLibraryGeneral' );
|
870 |
|
906 |
if ( empty( $posts ) ) {
|
907 |
return $posts;
|
908 |
}
|
909 |
+
|
910 |
global $llstylesheet;
|
911 |
$load_jquery = false;
|
912 |
$load_thickbox = false;
|
913 |
$load_recaptcha = false;
|
914 |
+
|
915 |
if ( $llstylesheet ) {
|
916 |
$load_style = true;
|
917 |
} else {
|
918 |
$load_style = false;
|
919 |
}
|
920 |
+
|
921 |
$genoptions = get_option( 'LinkLibraryGeneral' );
|
922 |
$genoptions = wp_parse_args( $genoptions, ll_reset_gen_settings( 'return' ) );
|
923 |
|
938 |
if ( !$linklibrarypos ) {
|
939 |
if ( stripos( $post->post_content, 'link-library-cats' ) || stripos( $post->post_content, 'link-library-addlink' ) ) {
|
940 |
$load_style = true;
|
941 |
+
if ( 'recaptcha' == $genoptions['captchagenerator'] ) {
|
942 |
+
$load_recaptcha = true;
|
943 |
+
}
|
944 |
}
|
945 |
}
|
946 |
}
|
1007 |
}
|
1008 |
}
|
1009 |
|
1010 |
+
if ( $load_style ) {
|
1011 |
$llstylesheet = true;
|
1012 |
} else {
|
1013 |
$llstylesheet = false;
|
1048 |
}
|
1049 |
}
|
1050 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1051 |
function link_library_ajax_tracker() {
|
1052 |
require_once plugin_dir_path( __FILE__ ) . 'tracker.php';
|
1053 |
link_library_process_ajax_tracker( $this );
|
linkpopup.php
CHANGED
@@ -1,275 +1,255 @@
|
|
1 |
<?php
|
2 |
|
3 |
function link_library_popup_content( $my_link_library_plugin ) {
|
4 |
-
|
5 |
-
|
6 |
-
|
7 |
-
|
8 |
-
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
$popup_text = str_replace( '%
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
$xpath = $my_link_library_plugin->relativePath( dirname( __FILE__ ), ABSPATH );
|
255 |
-
|
256 |
-
$track_code = "<script type='text/javascript'>\n";
|
257 |
-
$track_code .= "jQuery(document).ready(function()\n";
|
258 |
-
$track_code .= "{\n";
|
259 |
-
$track_code .= "jQuery('a.track_this_link').click(function() {\n";
|
260 |
-
$track_code .= "linkid = this.id;\n";
|
261 |
-
$track_code .= "linkid = linkid.substring(5);";
|
262 |
-
$track_code .= "path = '" . $xpath . "';";
|
263 |
-
$track_code .= "jQuery.post('" . WP_PLUGIN_URL . "/link-library/tracker.php', {id:linkid, xpath:path});\n";
|
264 |
-
$track_code .= "return true;\n";
|
265 |
-
$track_code .= "});\n";
|
266 |
-
$track_code .= "});\n";
|
267 |
-
$track_code .= "</script>";
|
268 |
-
|
269 |
-
echo $track_code;
|
270 |
-
}
|
271 |
-
|
272 |
-
|
273 |
-
exit;
|
274 |
}
|
275 |
|
1 |
<?php
|
2 |
|
3 |
function link_library_popup_content( $my_link_library_plugin ) {
|
4 |
+
if ( isset( $_GET['linkid'] ) && isset( $_GET['settings']) ) {
|
5 |
+
$link_id = intval( $_GET['linkid'] );
|
6 |
+
$settings_id = intval( $_GET['settings'] );
|
7 |
+
} else {
|
8 |
+
wp_die();
|
9 |
+
}
|
10 |
+
|
11 |
+
$linkquery = "SELECT distinct *, l.link_id as proper_link_id, UNIX_TIMESTAMP(l.link_updated) as link_date, ";
|
12 |
+
$linkquery .= "IF (DATE_ADD(l.link_updated, INTERVAL 120 MINUTE) >= NOW(), 1,0) as recently_updated ";
|
13 |
+
$linkquery .= "FROM " . $my_link_library_plugin->db_prefix() . "terms t ";
|
14 |
+
$linkquery .= "LEFT JOIN " . $my_link_library_plugin->db_prefix() . "term_taxonomy tt ON (t.term_id = tt.term_id) ";
|
15 |
+
$linkquery .= "LEFT JOIN " . $my_link_library_plugin->db_prefix() . "term_relationships tr ON (tt.term_taxonomy_id = tr.term_taxonomy_id) ";
|
16 |
+
$linkquery .= "LEFT JOIN " . $my_link_library_plugin->db_prefix() . "links l ON (tr.object_id = l.link_id) ";
|
17 |
+
$linkquery .= "LEFT JOIN " . $my_link_library_plugin->db_prefix() . "links_extrainfo le ON (l.link_id = le.link_id) ";
|
18 |
+
$linkquery .= "WHERE tt.taxonomy = 'link_category' ";
|
19 |
+
|
20 |
+
$linkquery .= "AND l.link_id = " . $link_id;
|
21 |
+
|
22 |
+
global $wpdb;
|
23 |
+
|
24 |
+
$linkitem = $wpdb->get_row($linkquery, ARRAY_A);
|
25 |
+
|
26 |
+
$the_link = '#';
|
27 |
+
if ( !empty( $linkitem['link_url'] ) )
|
28 |
+
$the_link = esc_html($linkitem['link_url']);
|
29 |
+
|
30 |
+
$the_second_link = '#';
|
31 |
+
if (!empty($linkitem['link_second_url']) )
|
32 |
+
$the_second_link = esc_html($linkitem['link_second_url']);
|
33 |
+
|
34 |
+
$cleanname = esc_html($linkitem['link_name'], ENT_QUOTES);
|
35 |
+
|
36 |
+
$name = $cleanname;
|
37 |
+
|
38 |
+
$alt = ' alt="' . $cleanname . '"';
|
39 |
+
|
40 |
+
$title = esc_html($linkitem['link_description'], ENT_QUOTES);
|
41 |
+
|
42 |
+
if ('' != $title)
|
43 |
+
$title = ' title="' . $title . '"';
|
44 |
+
|
45 |
+
$options = get_option( 'LinkLibraryPP' . $settings_id );
|
46 |
+
|
47 |
+
$rel = $linkitem['link_rel'];
|
48 |
+
if ('' != $rel and !$options['nofollow'] and !$linkitem['link_no_follow'])
|
49 |
+
$rel = ' rel="' . $rel . '"';
|
50 |
+
else if ('' != $rel and ($options['nofollow'] or $linkitem['link_no_follow']))
|
51 |
+
$rel = ' rel="' . $rel . ' nofollow"';
|
52 |
+
else if ('' == $rel and ($options['nofollow'] or $linkitem['link_no_follow']))
|
53 |
+
$rel = ' rel="nofollow"';
|
54 |
+
|
55 |
+
$target = $linkitem['link_target'];
|
56 |
+
if ( !empty( $target ) ) {
|
57 |
+
$target = ' target="' . $target . '"';
|
58 |
+
} else {
|
59 |
+
$target = $options['linktarget'];
|
60 |
+
if ( !empty( $target ) )
|
61 |
+
$target = ' target="' . $target . '"';
|
62 |
+
}
|
63 |
+
|
64 |
+
$popup_text = ( !empty( $options['link_popup_text'] ) ? stripslashes($options['link_popup_text']) : __( '%link_image%<br />Click through to visit %link_name%.', 'link-library') );
|
65 |
+
|
66 |
+
if ( ( strpos( $popup_text, '%link_image%' ) !== false ) && !empty( $linkitem['link_image'] ) ) {
|
67 |
+
$imageoutput = '<a href="';
|
68 |
+
|
69 |
+
if ($options['sourceimage'] == 'primary' || $options['sourceimage'] == '')
|
70 |
+
$imageoutput .= $the_link;
|
71 |
+
elseif ($options['sourceimage'] == 'secondary')
|
72 |
+
$imageoutput .= $the_second_link;
|
73 |
+
|
74 |
+
$imageoutput .= '" id="link-' . $linkitem['proper_link_id'] . '" class="track_this_link ' . ( $linkitem['link_featured'] ? 'featured' : '' ). '" ' . $rel . $title . $target. '>';
|
75 |
+
|
76 |
+
if ($options['usethumbshotsforimages'])
|
77 |
+
{
|
78 |
+
if ($options['thumbshotscid'] == '')
|
79 |
+
$imageoutput .= '<img src="http://open.thumbshots.org/image.aspx?url=' . $the_link . '"';
|
80 |
+
elseif ($options['thumbshotscid'] != '')
|
81 |
+
$imageoutput .= '<img src="http://images.thumbshots.com/image.aspx?cid=' . $options['thumbshotscid'] .
|
82 |
+
'&v=1&w=120&h=90&url=' . $the_link . '"';
|
83 |
+
}
|
84 |
+
elseif ( strpos($linkitem['link_image'], 'http') !== false )
|
85 |
+
$imageoutput .= '<img src="' . $linkitem['link_image'] . '"';
|
86 |
+
else // If it's a relative path
|
87 |
+
$imageoutput .= '<img src="' . get_option('siteurl') . $linkitem['link_image'] . '"';
|
88 |
+
|
89 |
+
$imageoutput .= $alt . $title;
|
90 |
+
|
91 |
+
if ($options['imageclass'] != '')
|
92 |
+
$imageoutput .= ' class="' . $options['imageclass'] . '" ';
|
93 |
+
|
94 |
+
$imageoutput .= "/>";
|
95 |
+
|
96 |
+
$imageoutput .= '</a>';
|
97 |
+
|
98 |
+
$popup_text = str_replace( '%link_image%', $imageoutput, $popup_text );
|
99 |
+
} elseif ( ( strpos( $popup_text, '%link_image%' ) !== false ) && empty( $linkitem['link_image'] ) ) {
|
100 |
+
$popup_text = str_replace( '%link_image%', '', $popup_text );
|
101 |
+
}
|
102 |
+
|
103 |
+
|
104 |
+
if ( ( strpos( $popup_text, '%link_name%' ) !== false ) && !empty( $name ) ) {
|
105 |
+
if ( ( $options['sourcename'] == 'primary' && $the_link != '#') || ($options['sourcename'] == 'secondary' && $the_second_link != '#')) {
|
106 |
+
$nameoutput = '<a href="';
|
107 |
+
|
108 |
+
if ( isset( $options['sourcename'] ) && ( $options['sourcename'] == 'primary' || $options['sourcename'] == '' ) ) {
|
109 |
+
$nameoutput .= $the_link;
|
110 |
+
}
|
111 |
+
elseif ( isset( $options['sourcename'] ) && $options['sourcename'] == 'secondary' )
|
112 |
+
$nameoutput .= $the_second_link;
|
113 |
+
|
114 |
+
$nameoutput .= '" id="link-' . $linkitem['proper_link_id'] . '" class="' . ( ( isset( $enablelinkpopup ) && $enablelinkpopup ) ? 'thickbox' : 'track_this_link' ) . ( $linkitem['link_featured'] ? ' featured' : '' ). '" ' . $rel . $title . $target. '>';
|
115 |
+
}
|
116 |
+
|
117 |
+
$nameoutput .= $name;
|
118 |
+
|
119 |
+
if (($options['sourcename'] == 'primary' && $the_link != '#') || ($options['sourcename'] == 'secondary' && $the_second_link != '#'))
|
120 |
+
$nameoutput .= '</a>';
|
121 |
+
|
122 |
+
$popup_text = str_replace( '%link_name%', $nameoutput, $popup_text );
|
123 |
+
} elseif ( ( strpos( $popup_text, '%link_name%' ) !== false ) && empty( $name ) ) {
|
124 |
+
$popup_text = str_replace( '%link_name%', '', $popup_text );
|
125 |
+
}
|
126 |
+
|
127 |
+
if ( ( strpos( $popup_text, '%link_url%' ) !== false ) && !empty( $linkitem['link_url'] ) ) {
|
128 |
+
$popup_text = str_replace( '%link_url%', $linkitem['link_url'], $popup_text );
|
129 |
+
} elseif ( ( strpos( $popup_text, '%link_cat_name%' ) !== false ) && empty( $linkitem['name'] ) ) {
|
130 |
+
$popup_text = str_replace( '%link_url%', '', $popup_text );
|
131 |
+
}
|
132 |
+
|
133 |
+
if ( ( strpos( $popup_text, '%link_cat_name%' ) !== false ) && !empty( $linkitem['name'] ) ) { $popup_text = str_replace( '%link_cat_name%', $linkitem['name'], $popup_text );
|
134 |
+
} elseif ( ( strpos( $popup_text, '%link_cat_name%' ) !== false ) && empty( $linkitem['name'] ) ) {
|
135 |
+
$popup_text = str_replace( '%link_cat_name%', '', $popup_text );
|
136 |
+
}
|
137 |
+
|
138 |
+
if ( ( strpos( $popup_text, '%link_cat_desc%' ) !== false ) && !empty( $linkitem['description'] ) ) {
|
139 |
+
$cleandesc = str_replace('[', '<', $linkitem['description']);
|
140 |
+
$cleandesc = str_replace(']', '>', $cleandesc);
|
141 |
+
|
142 |
+
$popup_text = str_replace( '%link_cat_desc%', $cleandesc, $popup_text );
|
143 |
+
} elseif ( ( strpos( $popup_text, '%link_cat_desc%' ) !== false ) && empty( $linkitem['description'] ) ) {
|
144 |
+
$popup_text = str_replace( '%link_cat_desc%', '', $popup_text );
|
145 |
+
}
|
146 |
+
|
147 |
+
if ( ( strpos ( $popup_text, '%link_desc%' ) !== false ) && !empty( $linkitem['link_description'] ) ) {
|
148 |
+
$linkdesc = $linkitem['link_description'];
|
149 |
+
$linkdesc = str_replace('[', '<', $linkdesc);
|
150 |
+
$linkdesc = str_replace(']', '>', $linkdesc);
|
151 |
+
|
152 |
+
$popup_text = str_replace( '%link_desc%', $linkdesc, $popup_text );
|
153 |
+
} elseif ( ( strpos( $popup_text, '%link_desc%' ) !== false ) && empty( $linkitem['link_description'] ) ) {
|
154 |
+
$popup_text = str_replace( '%link_desc%', '', $popup_text );
|
155 |
+
}
|
156 |
+
|
157 |
+
if ( ( strpos ( $popup_text, '%link_large_desc%' ) !== false ) && !empty( $linkitem['link_textfield'] ) ) {
|
158 |
+
$linklargedesc = stripslashes( $linkitem['link_textfield'] );
|
159 |
+
$linklargedesc = str_replace('[', '<', $linklargedesc);
|
160 |
+
$linklargedesc = str_replace(']', '>', $linklargedesc);
|
161 |
+
|
162 |
+
$popup_text = str_replace( '%link_large_desc%', $linklargedesc, $popup_text );
|
163 |
+
} elseif ( ( strpos( $popup_text, '%link_large_desc%' ) !== false ) && empty( $linkitem['link_textfield'] ) ) {
|
164 |
+
$popup_text = str_replace( '%link_large_desc%', '', $popup_text );
|
165 |
+
}
|
166 |
+
|
167 |
+
if ( ( strpos ( $popup_text, '%link_telephone%' ) !== false ) && !empty( $linkitem['link_telephone'] ) ) {
|
168 |
+
$linktelephone = stripslashes( $linkitem['link_telephone'] );
|
169 |
+
|
170 |
+
$popup_text = str_replace( '%link_telephone%', $linktelephone, $popup_text );
|
171 |
+
} elseif ( ( strpos( $popup_text, '%link_telephone%' ) !== false ) && empty( $linkitem['link_telephone'] ) ) {
|
172 |
+
$popup_text = str_replace( '%link_telephone%', '', $popup_text );
|
173 |
+
}
|
174 |
+
|
175 |
+
if ( ( strpos ( $popup_text, '%link_email%' ) !== false ) && !empty( $linkitem['link_email'] ) ) {
|
176 |
+
$linkemail = stripslashes( $linkitem['link_email'] );
|
177 |
+
|
178 |
+
$popup_text = str_replace( '%link_email%', $linkemail, $popup_text );
|
179 |
+
} elseif ( ( strpos( $popup_text, '%link_email%' ) !== false ) && empty( $linkitem['link_email'] ) ) {
|
180 |
+
$popup_text = str_replace( '%link_email%', '', $popup_text );
|
181 |
+
}
|
182 |
+
|
183 |
+
if ( ( strpos ( $popup_text, '%link_email_link%' ) !== false ) && !empty( $linkitem['link_email'] ) ) {
|
184 |
+
$linkemail = stripslashes( $linkitem['link_email'] );
|
185 |
+
if ( strpos ( $linkemail, '@') !== false ) {
|
186 |
+
$linkemail = 'mailto:' . $linkemail;
|
187 |
+
}
|
188 |
+
|
189 |
+
$popup_text = str_replace( '%link_email_link%', $linkemail, $popup_text );
|
190 |
+
} elseif ( ( strpos( $popup_text, '%link_email_link%' ) !== false ) && empty( $linkitem['link_email'] ) ) {
|
191 |
+
$popup_text = str_replace( '%link_email_link%', '', $popup_text );
|
192 |
+
}
|
193 |
+
|
194 |
+
if ( ( strpos ( $popup_text, '%link_alt_web%' ) !== false ) && !empty( $linkitem['link_second_url'] ) ) {
|
195 |
+
$linkalturl = stripslashes( esc_html( $linkitem['link_second_url'] ) );
|
196 |
+
|
197 |
+
$popup_text = str_replace( '%link_alt_web%', $linkalturl, $popup_text );
|
198 |
+
} elseif ( ( strpos( $popup_text, '%link_alt_web%' ) !== false ) && empty( $linkitem['link_second_url'] ) ) {
|
199 |
+
$popup_text = str_replace( '%link_alt_web%', '', $popup_text );
|
200 |
+
}
|
201 |
+
|
202 |
+
if ( ( strpos ( $popup_text, '%link_num_views%' ) !== false ) && !empty( $linkitem['link_visits'] ) ) {
|
203 |
+
$linkvisits = stripslashes( $linkitem['link_visits'] );
|
204 |
+
|
205 |
+
$popup_text = str_replace( '%link_num_views%', $linkvisits, $popup_text );
|
206 |
+
} elseif ( ( strpos( $popup_text, '%link_num_views%' ) !== false ) && empty( $linkitem['link_visits'] ) ) {
|
207 |
+
$popup_text = str_replace( '%link_num_views%', '', $popup_text );
|
208 |
+
}
|
209 |
+
|
210 |
+
if ( ( strpos ( $popup_text, '%link_submitter_name%' ) !== false ) && !empty( $linkitem['link_submitter_name'] ) ) {
|
211 |
+
$linksubmitter = stripslashes( $linkitem['link_submitter_name'] );
|
212 |
+
|
213 |
+
$popup_text = str_replace( '%link_submitter_name%', $linksubmitter, $popup_text );
|
214 |
+
} elseif ( ( strpos( $popup_text, '%link_submitter_name%' ) !== false ) && empty( $linkitem['link_submitter_name'] ) ) {
|
215 |
+
$popup_text = str_replace( '%link_submitter_name%', '', $popup_text );
|
216 |
+
}
|
217 |
+
|
218 |
+
if ( ( strpos ( $popup_text, '%link_rating%' ) !== false ) && !empty( $linkitem['link_rating'] ) ) {
|
219 |
+
$linksubmitter = stripslashes( $linkitem['link_rating'] );
|
220 |
+
|
221 |
+
$popup_text = str_replace( '%link_rating%', $linksubmitter, $popup_text );
|
222 |
+
} elseif ( ( strpos( $popup_text, '%link_rating%' ) !== false ) && empty( $linkitem['link_rating'] ) ) {
|
223 |
+
$popup_text = str_replace( '%link_rating%', '', $popup_text );
|
224 |
+
}
|
225 |
+
|
226 |
+
if ( ( strpos ( $popup_text, '%link_rss%' ) !== false ) && !empty( $linkitem['link_rss'] ) ) {
|
227 |
+
$linksubmitter = stripslashes( $linkitem['link_rss'] );
|
228 |
+
|
229 |
+
$popup_text = str_replace( '%link_rss%', $linksubmitter, $popup_text );
|
230 |
+
} elseif ( ( strpos( $popup_text, '%link_rss%' ) !== false ) && empty( $linkitem['link_rss'] ) ) {
|
231 |
+
$popup_text = str_replace( '%link_rss%', '', $popup_text );
|
232 |
+
}
|
233 |
+
|
234 |
+
$postshortcode_popup_text = apply_filters( 'the_content', $popup_text );
|
235 |
+
echo '<div class="linkpopup">' . $postshortcode_popup_text . '</div>';
|
236 |
+
|
237 |
+
$xpath = $my_link_library_plugin->relativePath( dirname( __FILE__ ), ABSPATH );
|
238 |
+
|
239 |
+
$track_code = "<script type='text/javascript'>\n";
|
240 |
+
$track_code .= "jQuery(document).ready(function()\n";
|
241 |
+
$track_code .= "{\n";
|
242 |
+
$track_code .= "jQuery('a.track_this_link').click(function() {\n";
|
243 |
+
$track_code .= "linkid = this.id;\n";
|
244 |
+
$track_code .= "linkid = linkid.substring(5);";
|
245 |
+
$track_code .= "path = '" . $xpath . "';";
|
246 |
+
$track_code .= "jQuery.post('" . WP_PLUGIN_URL . "/link-library/tracker.php', {id:linkid, xpath:path});\n";
|
247 |
+
$track_code .= "return true;\n";
|
248 |
+
$track_code .= "});\n";
|
249 |
+
$track_code .= "});\n";
|
250 |
+
$track_code .= "</script>";
|
251 |
+
|
252 |
+
echo $track_code;
|
253 |
+
exit;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
254 |
}
|
255 |
|
readme.txt
CHANGED
@@ -2,8 +2,8 @@
|
|
2 |
Contributors: jackdewey
|
3 |
Donate link: http://ylefebvre.ca/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:
|
6 |
-
Tested up to: 4.9.
|
7 |
Stable tag: stable
|
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.
|
@@ -59,57 +59,18 @@ Further configuration is available under the Link Library Settings panel.
|
|
59 |
|
60 |
== Changelog ==
|
61 |
|
62 |
-
=
|
63 |
-
*
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
*
|
74 |
-
* Fix to show child categories in Common tab of Library Configurations
|
75 |
-
|
76 |
-
= 6.0 Beta 8 =
|
77 |
-
* Updated bookmarket to work with new link custom post types (need to re-create bookmarklet from General Options to work)
|
78 |
-
* Fixed problem selecting categories in Common tab of library configuration
|
79 |
-
* Fix for shortcode category overrides not working (categorylistoverride, excludecategoryoverride)
|
80 |
-
|
81 |
-
= 6.0 Beta 7 =
|
82 |
-
* Resolved undefined variable warning linkeditoruser
|
83 |
-
* Fix importer and exporter field order to accept imports from version 5.9 and be more flexible towards changes
|
84 |
-
* Saving library configuration for library other than #1 now go back to the current library edited
|
85 |
-
|
86 |
-
= 6.0 Beta 6 =
|
87 |
-
* Added new option field under Web Link item in Advanced table to specify target
|
88 |
-
* Fixed warning in user submission form
|
89 |
-
* Updated Norsk translation
|
90 |
-
* Fixed default value of single item template
|
91 |
-
* Fixed PHP warnings if link fields are left empty
|
92 |
-
|
93 |
-
= 6.0 Beta 5 =
|
94 |
-
* Fixed issue with Robothumb link appearing after each category instead of only once after all links
|
95 |
-
* Fixed issue with links being displayed as featured even if they had not been set as such
|
96 |
-
* Fixed issue with front-end Edit links not sending administrators to the right place
|
97 |
-
* Fixed issue with drag-and-drop of elements in advanced section sometimes creating duplicates
|
98 |
-
* Fixed issue with category names not displaying if Link Library configured to display with headings instead of divs
|
99 |
-
|
100 |
-
= 6.0 Beta 4 =
|
101 |
-
* Corrected warnings when activating plugin on a site that had never had old version of Link Library
|
102 |
-
* Added button under General Options to re-import links from 5.9.x to 6.0
|
103 |
-
* Removed code in plugin initialization referring to inexistent table
|
104 |
-
|
105 |
-
= 6.0 Beta 3 =
|
106 |
-
* Incorporated changes from 5.9.15.3
|
107 |
-
|
108 |
-
= 6.0 Beta 2 =
|
109 |
-
* Fixed compatibility issue with versions of PHP older than 5.5
|
110 |
-
|
111 |
-
= 6.0 Beta 1 =
|
112 |
-
* Complete re-work of Link Library to use Custom Post Types instead of the WordPress legacy link tables
|
113 |
|
114 |
= 5.9.15.4 =
|
115 |
* Small change to link exporter to make it compatible with Link Library for those preferring to export and re-import links than upgrading links in place
|
2 |
Contributors: jackdewey
|
3 |
Donate link: http://ylefebvre.ca/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: 3.0
|
6 |
+
Tested up to: 4.9.1
|
7 |
Stable tag: stable
|
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.
|
59 |
|
60 |
== Changelog ==
|
61 |
|
62 |
+
= 5.9.15.8 =
|
63 |
+
* Fixed link exported so that links with multiple categories do not become duplicates
|
64 |
+
* Final version of Link Library 5.9, before 6.0 release
|
65 |
+
|
66 |
+
= 5.9.15.7 =
|
67 |
+
* Added class around RSS inline feed items date to be able to hide it
|
68 |
+
|
69 |
+
= 5.9.15.6 =
|
70 |
+
* Fix dismissal of message introduced in previous update
|
71 |
+
|
72 |
+
= 5.9.15.5 =
|
73 |
+
* Added admin message for 6.0 release target date and latest beta
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
74 |
|
75 |
= 5.9.15.4 =
|
76 |
* Small change to link exporter to make it compatible with Link Library for those preferring to export and re-import links than upgrading links in place
|
render-link-library-addlink-sc.php
CHANGED
@@ -14,596 +14,611 @@ require_once plugin_dir_path( __FILE__ ) . 'link-library-defaults.php';
|
|
14 |
* @param $libraryoptions Selected library settings array
|
15 |
* @param $settings Settings ID
|
16 |
* @param $code Shortcode used in text that called this function
|
|
|
17 |
* @return List of categories output for browser
|
18 |
*/
|
19 |
|
20 |
function RenderLinkLibraryAddLinkForm( $LLPluginClass, $generaloptions, $libraryoptions, $settings, $code ) {
|
21 |
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
$output .= wp_nonce_field( 'LL_ADDLINK_FORM', '_wpnonce', true, false );
|
192 |
-
$output .= '<input type="hidden" name="thankyouurl" value="' . $linksubmissionthankyouurl . '" />';
|
193 |
-
$output .= '<input type="hidden" name="link_library_user_link_submission" value="1" />';
|
194 |
-
|
195 |
-
global $wp_query;
|
196 |
-
$thePostID = $wp_query->post->ID;
|
197 |
-
$output .= '<input type="hidden" name="pageid" value="' . $thePostID . '" />';
|
198 |
-
$output .= '<input type="hidden" name="settingsid" value="' . $settings . '" />';
|
199 |
-
|
200 |
-
$xpath = $LLPluginClass->relativePath( dirname( __FILE__ ), ABSPATH );
|
201 |
-
$output .= '<input type="hidden" name="xpath" value="' . esc_attr( $xpath ) . '" />';
|
202 |
-
unset( $xpath );
|
203 |
-
|
204 |
-
$output .= "<div class='lladdlink'>\n";
|
205 |
-
|
206 |
-
if ( empty( $addnewlinkmsg ) ) {
|
207 |
-
$addnewlinkmsg = __( 'Add new link', 'link-library' );
|
208 |
-
}
|
209 |
-
|
210 |
-
$output .= '<div id="lladdlinktitle">' . $addnewlinkmsg . "</div>\n";
|
211 |
-
|
212 |
-
$output .= "<table>\n";
|
213 |
-
|
214 |
-
if ( empty( $linknamelabel ) ) {
|
215 |
-
$linknamelabel = __( 'Link name', 'link-library' );
|
216 |
-
}
|
217 |
-
|
218 |
-
$output .= '<tr><th>' . $linknamelabel . '</th><td><input data-validation="required length" data-validation-length="max255" data-validation-error-msg-required="' . __( 'Required field', 'link-library' ) . '" type="text" name="link_name" id="link_name" value="' . ( isset( $_GET['addlinkname'] ) ? esc_html( stripslashes( $_GET['addlinkname'] ), '1' ) : '') . "\" /></td></tr>\n";
|
219 |
-
|
220 |
-
if ( empty( $linkaddrlabel ) ) {
|
221 |
-
$linkaddrlabel = __( 'Link address', 'link-library' );
|
222 |
-
}
|
223 |
-
|
224 |
-
$output .= '<tr><th>' . $linkaddrlabel . '</th><td><input ';
|
225 |
-
if ( !$addlinknoaddress ) {
|
226 |
-
$output .= 'data-validation="required url length" data-validation-length="max255" data-validation-error-msg-required="' . __( 'Required field, URL', 'link-library' ) . '" ';
|
227 |
-
}
|
228 |
-
$output .= 'type="text" name="link_url" id="link_url" value="' . ( isset( $_GET['addlinkurl'] ) ? esc_html( stripslashes( $_GET['addlinkurl'] ), '1') : 'http://' ) . "\" /></td></tr>\n";
|
229 |
-
|
230 |
-
if ( 'show' == $showaddlinkrss || 'required' == $showaddlinkrss) {
|
231 |
-
if ( empty( $linkrsslabel ) ) {
|
232 |
-
$linkrsslabel = __( 'Link RSS', 'link-library' );
|
233 |
-
}
|
234 |
-
|
235 |
-
$output .= '<tr><th>' . $linkrsslabel . '</th><td><input ';
|
236 |
-
|
237 |
-
if ( 'required' == $showaddlinkrss ) {
|
238 |
-
$requiredtext = ' required';
|
239 |
-
} else {
|
240 |
-
$requiredtext = '';
|
241 |
-
}
|
242 |
-
|
243 |
-
$output .= 'data-validation="length' . $requiredtext . '" data-validation-length="max255" data-validation-error-msg-required="' . __( 'Required field, 1-255 chars', 'link-library' ) . '" ';
|
244 |
-
|
245 |
-
$output .= ' type="text" name="link_rss" id="link_rss" value="' . ( isset( $_GET['addlinkrss'] ) ? esc_html( stripslashes( $_GET['addlinkrss'] ), '1') : '' ) . "\" /></td></tr>\n";
|
246 |
-
}
|
247 |
-
|
248 |
-
$include_links_array = explode( ',', $categorylist_cpt );
|
249 |
-
$excluded_links_array = explode( ',', $excludecategorylist_cpt );
|
250 |
-
$link_categories_query_args = array( 'hide_empty' => false );
|
251 |
-
$link_categories_query_args['include'] = $include_links_array;
|
252 |
-
$link_categories_query_args['exclude'] = $excluded_links_array;
|
253 |
-
$linkcats = get_terms( 'link_library_category', $link_categories_query_args );
|
254 |
-
|
255 |
-
if ( $debugmode ) {
|
256 |
-
$output .= "\n<!-- Category query for add link form:" . print_r($linkcatquery, TRUE) . "-->\n\n";
|
257 |
-
$output .= "\n<!-- Results of Category query for add link form:" . print_r($linkcats, TRUE) . "-->\n";
|
258 |
-
}
|
259 |
-
|
260 |
-
if ( $linkcats ) {
|
261 |
-
if ( 'show' == $libraryoptions['showaddlinkcat'] || 'required' == $libraryoptions['showaddlinkcat'] ) {
|
262 |
-
if ( empty( $linkcatlabel ) ) {
|
263 |
-
$linkcatlabel = __( 'Link category', 'link-library' );
|
264 |
-
}
|
265 |
-
|
266 |
-
$output .= '<tr><th>' . $linkcatlabel . '</th><td>';
|
267 |
-
$output .= '<SELECT data-validation="required" data-validation-error-msg-required="' . __( 'Required field', 'link-library' ) . '" name="link_category" id="link_category">';
|
268 |
-
|
269 |
-
if ( 'nodefaultcat' == $addlinkdefaultcat ) {
|
270 |
-
$output .= '<option value="">' . __( 'Select a category', 'link-category' ) . '</option>';
|
271 |
-
}
|
272 |
-
|
273 |
-
if ( empty( $linkcustomcatlistentry ) ) {
|
274 |
-
$linkcustomcatlistentry = __( 'User-submitted category (define below)', 'link-library' );
|
275 |
-
}
|
276 |
-
|
277 |
-
foreach ( $linkcats as $linkcat ) {
|
278 |
-
$output .= '<OPTION VALUE="' . $linkcat->term_id . '" ';
|
279 |
-
if ( isset( $_GET['addlinkcat'] ) && $_GET['addlinkcat'] == $linkcat->term_id ) {
|
280 |
-
$output .= "selected";
|
281 |
-
} elseif ( 'nodefaultcat' != $addlinkdefaultcat && $linkcat->term_id == intval( $addlinkdefaultcat ) ) {
|
282 |
-
$output .= "selected";
|
283 |
-
}
|
284 |
-
$output .= '>' . $linkcat->name;
|
285 |
-
}
|
286 |
-
|
287 |
-
if ( 'show' == $addlinkcustomcat ) {
|
288 |
-
$output .= '<OPTION VALUE="new">' . stripslashes( $linkcustomcatlistentry ) . "\n";
|
289 |
-
}
|
290 |
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
if ( 'nodefaultcat' == $addlinkdefaultcat ) {
|
295 |
-
$output .= $linkcats[0]->term_id;
|
296 |
-
} else {
|
297 |
-
$output .= intval( $addlinkdefaultcat );
|
298 |
-
}
|
299 |
-
$output .= '">';
|
300 |
-
}
|
301 |
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
if ( 'show' == $showaddlinkdesc || 'required' == $showaddlinkdesc ) {
|
308 |
-
if ( empty( $linkdesclabel ) ) {
|
309 |
-
$linkdesclabel = __( 'Link description', 'link-library' );
|
310 |
-
}
|
311 |
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
$requiredtext = ' required';
|
316 |
-
} else {
|
317 |
-
$requiredtext = '';
|
318 |
-
}
|
319 |
-
|
320 |
-
$output .= 'data-validation="length' . $requiredtext . '" data-validation-length="max255" data-validation-error-msg-required="' . __( 'Required field, 1-255 chars', 'link-library' ) . '" ';
|
321 |
-
|
322 |
-
$output .= ' type="text" name="link_description" id="link_description" value="' . ( isset( $_GET['addlinkdesc'] ) ? esc_html( stripslashes( $_GET['addlinkdesc'] ), '1' ) : '' ) . "\" /></td></tr>\n";
|
323 |
-
}
|
324 |
-
|
325 |
-
if ( 'show' == $showuserlargedescription || 'required' == $showuserlargedescription ) {
|
326 |
-
if ( empty( $linklargedesclabel ) ) {
|
327 |
-
$linklargedesclabel = __( 'Large description', 'link-library' );
|
328 |
-
}
|
329 |
|
330 |
-
|
331 |
-
|
332 |
-
if ( 'required' == $showuserlargedescription ) {
|
333 |
-
$output .= 'data-validation="required" data-validation-error-msg-required="' . __( 'Required field', 'link-library' ) . '" ';
|
334 |
-
}
|
335 |
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
if ( 'show' == $showaddlinknotes || 'required' == $showaddlinknotes) {
|
340 |
-
if ( empty( $linknoteslabel ) ) {
|
341 |
-
$linknoteslabel = __( 'Link notes', 'link-library' );
|
342 |
-
}
|
343 |
|
344 |
-
|
345 |
-
|
346 |
-
if ( !$usetextareaforusersubmitnotes || empty( $usetextareaforusersubmitnotes ) ) {
|
347 |
-
$output .= '<input ';
|
348 |
-
|
349 |
-
if ( 'required' == $showaddlinknotes ) {
|
350 |
-
$output .= 'data-validation="required" data-validation-error-msg-required="' . __( 'Required field', 'link-library' ) . '" ';
|
351 |
-
}
|
352 |
|
353 |
-
|
354 |
-
} elseif ( $usetextareaforusersubmitnotes ) {
|
355 |
-
$output .= '<textarea ';
|
356 |
-
|
357 |
-
if ( 'required' == $showaddlinknotes ) {
|
358 |
-
$output .= 'data-validation="required" data-validation-error-msg-required="' . __( 'Required field', 'link-library' ) . '" ';
|
359 |
-
}
|
360 |
-
|
361 |
-
$output .= 'name="link_notes" id="link_notes">';
|
362 |
-
}
|
363 |
|
364 |
-
|
|
|
|
|
365 |
|
366 |
-
|
367 |
-
$output .= '" />';
|
368 |
-
} elseif ( $usetextareaforusersubmitnotes ) {
|
369 |
-
$output .= '</textarea>';
|
370 |
-
}
|
371 |
-
|
372 |
-
$output .= "</td></tr>\n";
|
373 |
-
}
|
374 |
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
}
|
379 |
|
380 |
-
|
|
|
|
|
|
|
381 |
|
382 |
-
|
383 |
-
$requiredtext = ' required';
|
384 |
-
} else {
|
385 |
-
$requiredtext = '';
|
386 |
-
}
|
387 |
|
388 |
-
|
|
|
|
|
|
|
389 |
|
390 |
-
|
391 |
-
}
|
392 |
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
|
|
397 |
|
398 |
-
|
399 |
|
400 |
-
|
401 |
-
|
402 |
-
} else {
|
403 |
-
$requiredtext = '';
|
404 |
-
}
|
405 |
|
406 |
-
|
|
|
|
|
|
|
407 |
|
408 |
-
|
409 |
-
}
|
410 |
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
}
|
415 |
|
416 |
-
|
|
|
|
|
417 |
|
418 |
-
|
419 |
-
$requiredtext = ' required';
|
420 |
-
} else {
|
421 |
-
$requiredtext = '';
|
422 |
-
}
|
423 |
|
424 |
-
|
425 |
|
426 |
-
|
427 |
-
|
|
|
|
|
428 |
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
|
|
433 |
|
434 |
-
|
|
|
435 |
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
$requiredtext = '';
|
440 |
-
}
|
441 |
|
442 |
-
|
|
|
|
|
443 |
|
444 |
-
|
445 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
446 |
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
}
|
451 |
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
|
|
|
|
|
|
459 |
|
460 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
461 |
|
462 |
-
|
463 |
-
$output .= ' style="display:none"';
|
464 |
-
}
|
465 |
-
$output .= '><th>' . $linksubmitternamelabel . '</th><td><input ';
|
466 |
-
|
467 |
-
if ( 'required' == $showaddlinkrss ) {
|
468 |
-
$requiredtext = ' required';
|
469 |
-
} else {
|
470 |
-
$requiredtext = '';
|
471 |
-
}
|
472 |
-
|
473 |
-
$output .= 'data-validation="length' . $requiredtext . '" data-validation-length="max128" data-validation-error-msg-required="' . __( 'Required field, 1-128 chars', 'link-library' ) . '" ';
|
474 |
-
|
475 |
-
$output .= 'type="text" name="ll_submittername" id="ll_submittername" value="' . $name_field_value . "\" /></td></tr>\n";
|
476 |
-
}
|
477 |
-
|
478 |
-
if ( 'show' == $showaddlinksubmitteremail || 'required' == $showaddlinksubmitteremail || is_user_logged_in()) {
|
479 |
-
if ( empty( $linksubmitteremaillabel ) ) {
|
480 |
-
$linksubmitteremaillabel = __( 'Submitter E-mail', 'link-library' );
|
481 |
-
}
|
482 |
-
|
483 |
-
$email_field_value = '';
|
484 |
-
if ( isset( $_GET['ll_submitteremail'] ) ) {
|
485 |
-
$email_field_value = esc_html( stripslashes( $_GET['ll_submitteremail'] ) );
|
486 |
-
} elseif ( is_user_logged_in() ) {
|
487 |
-
$user_data = wp_get_current_user();
|
488 |
-
$email_field_value = $user_data->user_email;
|
489 |
-
}
|
490 |
-
|
491 |
-
$output .= '<tr';
|
492 |
-
|
493 |
-
if ( 'show' != $showaddlinksubmitteremail && 'required' != $showaddlinksubmitteremail ) {
|
494 |
-
$output .= ' style="display:none"';
|
495 |
-
}
|
496 |
-
$output .= '><th>' . $linksubmitteremaillabel . '</th><td><input ';
|
497 |
-
|
498 |
-
if ( 'required' == $showaddlinkrss ) {
|
499 |
-
$requiredtext = ' required';
|
500 |
-
} else {
|
501 |
-
$requiredtext = '';
|
502 |
-
}
|
503 |
-
|
504 |
-
$output .= 'data-validation="email length' . $requiredtext . '" data-validation-length="max128" data-validation-error-msg-required="' . __( 'Required field, 1-128 chars', 'link-library' ) . '" ';
|
505 |
-
|
506 |
-
$output .= 'type="text" name="ll_submitteremail" id="ll_submitteremail" value="' . $email_field_value . "\" /></td></tr>\n";
|
507 |
-
}
|
508 |
-
|
509 |
-
if ( 'show' == $showlinksubmittercomment || 'required' == $showlinksubmittercomment) {
|
510 |
-
if ( empty( $linksubmittercommentlabel ) ) {
|
511 |
-
$linksubmittercommentlabel = __( 'Submitter Comment', 'link-library' );
|
512 |
-
}
|
513 |
-
|
514 |
-
$output .= '<tr><th style="vertical-align: top;">' . $linksubmittercommentlabel . '</th><td><textarea ';
|
515 |
-
|
516 |
-
if ( 'required' == $showlinksubmittercomment ) {
|
517 |
-
$output .= 'data-validation="required" data-validation-error-msg-required="' . __( 'Required field', 'link-library' ) . '" ';
|
518 |
-
}
|
519 |
-
|
520 |
-
$output .= 'name="ll_submittercomment" id="ll_submittercomment" cols="38">' . ( isset( $_GET['addlinksubmitcomment'] ) ? esc_html( stripslashes( $_GET['addlinksubmitcomment']), '1' ) : '' ) . "</textarea></td></tr>\n";
|
521 |
-
}
|
522 |
-
|
523 |
-
if ( $showcaptcha && !is_user_logged_in() ) {
|
524 |
-
$output .= apply_filters( 'link_library_generate_captcha', '' );
|
525 |
-
}
|
526 |
-
|
527 |
-
if ( 'show' == $showcustomcaptcha && !is_user_logged_in() ) {
|
528 |
-
if ( empty( $customcaptchaquestion ) ) {
|
529 |
-
$customcaptchaquestion = __( 'Is boiling water hot or cold?', 'link-library' );
|
530 |
-
}
|
531 |
-
|
532 |
-
$output .= '<tr><th style="vertical-align: top;">' . $customcaptchaquestion . '</th><td><input data-validation="required" data-validation-error-msg-required="' . __( 'Required field', 'link-library' ) . ' type="text" name="ll_customcaptchaanswer" id="ll_customcaptchaanswer" value="' . (isset( $_GET['ll_customcaptchaanswer'] ) ? esc_html( stripslashes( $_GET['ll_customcaptchaanswer'] ), '1' ) : '' ) . "\" /></td></tr>\n";
|
533 |
-
}
|
534 |
-
|
535 |
-
$output .= "</table>\n";
|
536 |
-
|
537 |
-
if ( empty( $addlinkbtnlabel ) ) {
|
538 |
-
$addlinkbtnlabel = __( 'Add link', 'link-library' );
|
539 |
-
}
|
540 |
-
|
541 |
-
$output .= '<span style="border:0;" class="LLUserLinkSubmit"><input type="submit" name="submit" value="' . $addlinkbtnlabel . '" /></span>';
|
542 |
-
|
543 |
-
$output .= "</div>\n";
|
544 |
-
$output .= "</form>\n\n";
|
545 |
-
|
546 |
-
$output .= "<script type='text/javascript'>\n";
|
547 |
-
$output .= "\tjQuery( document ).ready( function() {\n";
|
548 |
-
|
549 |
-
$output .= "\tvar LinkLibraryValidationLanguage = {\n";
|
550 |
-
$output .= "\t\terrorTitle: '" . addslashes( __( 'Form submission failed!', 'link-library' ) ) . "',\n";
|
551 |
-
$output .= "\t\trequiredFields: '" . addslashes( __( 'You have not answered all required fields', 'link-library' ) ) . "',\n";
|
552 |
-
$output .= "\t\tbadTime: '" . addslashes( __( 'You have not given a correct time', 'link-library' ) ) . "',\n";
|
553 |
-
$output .= "\t\tbadEmail: '" . addslashes( __( 'You have not given a correct e-mail address', 'link-library' ) ) . "',\n";
|
554 |
-
$output .= "\t\tbadTelephone: '" . addslashes( __( 'You have not given a correct phone number', 'link-library' ) ) . "',\n";
|
555 |
-
$output .= "\t\tbadSecurityAnswer: '" . addslashes( __( 'You have not given a correct answer to the security question', 'link-library' ) ) . "',\n";
|
556 |
-
$output .= "\t\tbadDate: '" . addslashes( __( 'You have not given a correct date', 'link-library' ) ) . "',\n";
|
557 |
-
$output .= "\t\tlengthBadStart: '" . addslashes( __( 'The input value must be between ', 'link-library' ) ) . "',\n";
|
558 |
-
$output .= "\t\tlengthBadEnd: '" . addslashes( __( 'characters', 'link-library' ) ) . "',\n";
|
559 |
-
$output .= "\t\tlengthTooLongStart: '" . addslashes( __( 'The input value is longer than ', 'link-library' ) ) . "',\n";
|
560 |
-
$output .= "\t\tlengthTooShortStart: '" . addslashes( __( 'The input value is shorter than ', 'link-library' ) ). "',\n";
|
561 |
-
$output .= "\t\tnotConfirmed: '" . addslashes( __( 'Input values could not be confirmed', 'link-library' ) ). "',\n";
|
562 |
-
$output .= "\t\tbadDomain: '" . addslashes( __( 'Incorrect domain value', 'link-library' ) ) . "',\n";
|
563 |
-
$output .= "\t\tbadUrl: '" . addslashes( __( 'The input value is not a correct URL. Requires http://.', 'link-library' ) ) . "',\n";
|
564 |
-
$output .= "\t\tbadCustomVal: '" . addslashes( __( 'The input value is incorrect', 'link-library' ) ) . "',\n";
|
565 |
-
$output .= "\t\tandSpaces: '" . addslashes( __( ' and spaces ', 'link-library' ) ) . "',\n";
|
566 |
-
$output .= "\t\tbadInt: '" . addslashes( __( 'The input value was not a correct number', 'link-library' ) ) . "',\n";
|
567 |
-
$output .= "\t\tbadSecurityNumber: '" . addslashes( __( 'Your social security number was incorrect', 'link-library' ) ) . "',\n";
|
568 |
-
$output .= "\t\tbadUKVatAnswer: '" . addslashes( __( 'Incorrect UK VAT Number', 'link-library' ) ) . "',\n";
|
569 |
-
$output .= "\t\tbadStrength: '" . addslashes( __( 'The password is not strong enough', 'link-library' ) ) . "',\n";
|
570 |
-
$output .= "\t\tbadNumberOfSelectedOptionsStart: '" . addslashes( __( 'You have to choose at least ', 'link-library' ) ) . "',\n";
|
571 |
-
$output .= "\t\tbadNumberOfSelectedOptionsEnd: '" . addslashes( __( ' answers', 'link-library' ) ) . "',\n";
|
572 |
-
$output .= "\t\tbadAlphaNumeric: '" . addslashes( __( 'The input value can only contain alphanumeric characters ', 'link-library' ) ) . "',\n";
|
573 |
-
$output .= "\t\tbadAlphaNumericExtra: '" . addslashes( __( ' and ', 'link-library' ) ) . "',\n";
|
574 |
-
$output .= "\t\twrongFileSize: '" . addslashes( __( 'The file you are trying to upload is too large (max %s)', 'link-library' ) ) . "',\n";
|
575 |
-
$output .= "\t\twrongFileType: '" . addslashes( __( 'Only files of type %s is allowed', 'link-library' ) ) . "',\n";
|
576 |
-
$output .= "\t\tgroupCheckedRangeStart: '" . addslashes( __( 'Please choose between ', 'link-library' ) ) . "',\n";
|
577 |
-
$output .= "\t\tgroupCheckedTooFewStart: '" . addslashes( __( 'Please choose at least ', 'link-library' ) ) . "',\n";
|
578 |
-
$output .= "\t\tgroupCheckedTooManyStart: '" . addslashes( __( 'Please choose a maximum of ', 'link-library' ) ) . "',\n";
|
579 |
-
$output .= "\t\tgroupCheckedEnd: '" . addslashes( __( ' item(s)', 'link-library' ) ) . "',\n";
|
580 |
-
$output .= "\t\tbadCreditCard: '" . addslashes( __( 'The credit card number is not correct', 'link-library' ) ) . "',\n";
|
581 |
-
$output .= "\t\tbadCVV: '" . addslashes( __( 'The CVV number was not correct', 'link-library' ) ) . "',\n";
|
582 |
-
$output .= "\t\twrongFileDim : '" . addslashes( __( 'Incorrect image dimensions,', 'link-library' ) ) . "',\n";
|
583 |
-
$output .= "\t\timageTooTall : '" . addslashes( __( 'the image can not be taller than', 'link-library' ) ) . "',\n";
|
584 |
-
$output .= "\t\timageTooWide : '" . addslashes( __( 'the image can not be wider than', 'link-library' ) ) . "',\n";
|
585 |
-
$output .= "\t\timageTooSmall : '" . addslashes( __( 'the image was too small', 'link-library' ) ) . "',\n";
|
586 |
-
$output .= "\t\tmin : '" . addslashes( __( 'min', 'link-library' ) ) . "',\n";
|
587 |
-
$output .= "\t\tmax : '" . addslashes( __( 'max', 'link-library' ) ) . "',\n";
|
588 |
-
$output .= "\t\timageRatioNotAccepted : '" . addslashes( __( 'Image ratio is not accepted', 'link-library' ) ) . "'\n";
|
589 |
-
$output .= "\t};\n";
|
590 |
-
|
591 |
-
$output .= "\t\tjQuery.validate({\n";
|
592 |
-
$output .= "\t\t\tmodules : 'location, date, security, file',\n";
|
593 |
-
$output .= "\t\t\tlanguage : LinkLibraryValidationLanguage,\n";
|
594 |
-
$output .= "\t\t});\n";
|
595 |
-
$output .= "\t\tjQuery('#link_category').change(function() {\n";
|
596 |
-
$output .= "\t\t\tif ( jQuery('#link_category').val() == 'new' ) {\n";
|
597 |
-
$output .= "\t\t\t\tjQuery('.customcatrow').show();\n";
|
598 |
-
$output .= "\t\t\t} else {\n";
|
599 |
-
$output .= "\t\t\t\tjQuery('.customcatrow').hide();\n";
|
600 |
-
$output .= "\t\t\t};\n";
|
601 |
-
$output .= "\t\t});\n";
|
602 |
-
$output .= "\t});\n";
|
603 |
-
$output .= "</script>\n";
|
604 |
-
}
|
605 |
-
|
606 |
-
return $output;
|
607 |
}
|
608 |
|
609 |
function link_library_generate_captcha() {
|
@@ -617,7 +632,7 @@ function link_library_generate_captcha() {
|
|
617 |
$captcha = '<tr><td></td><td><div class="g-recaptcha" data-sitekey="' . $generaloptions['recaptchasitekey'] . '"></div></td></tr>';
|
618 |
}
|
619 |
|
620 |
-
|
621 |
}
|
622 |
|
623 |
add_filter( 'link_library_generate_captcha', 'link_library_generate_captcha' );
|
14 |
* @param $libraryoptions Selected library settings array
|
15 |
* @param $settings Settings ID
|
16 |
* @param $code Shortcode used in text that called this function
|
17 |
+
*
|
18 |
* @return List of categories output for browser
|
19 |
*/
|
20 |
|
21 |
function RenderLinkLibraryAddLinkForm( $LLPluginClass, $generaloptions, $libraryoptions, $settings, $code ) {
|
22 |
|
23 |
+
wp_enqueue_script( 'form-validator' );
|
24 |
+
global $wpdb;
|
25 |
+
$output = '';
|
26 |
+
|
27 |
+
$generaloptions = wp_parse_args( $generaloptions, ll_reset_gen_settings( 'return' ) );
|
28 |
+
extract( $generaloptions );
|
29 |
+
|
30 |
+
$libraryoptions = wp_parse_args( $libraryoptions, ll_reset_options( 1, 'list', 'return' ) );
|
31 |
+
extract( $libraryoptions );
|
32 |
+
|
33 |
+
if ( $libraryoptions['showaddlinkrss'] === false ) {
|
34 |
+
$libraryoptions['showaddlinkrss'] = 'hide';
|
35 |
+
} elseif ( $libraryoptions['showaddlinkrss'] === true ) {
|
36 |
+
$libraryoptions['showaddlinkrss'] = 'show';
|
37 |
+
}
|
38 |
+
|
39 |
+
if ( $libraryoptions['showaddlinkdesc'] === false ) {
|
40 |
+
$libraryoptions['showaddlinkdesc'] = 'hide';
|
41 |
+
} elseif ( $libraryoptions['showaddlinkdesc'] === true ) {
|
42 |
+
$libraryoptions['showaddlinkdesc'] = 'show';
|
43 |
+
}
|
44 |
+
|
45 |
+
if ( $libraryoptions['showaddlinkcat'] === false ) {
|
46 |
+
$libraryoptions['showaddlinkcat'] = 'hide';
|
47 |
+
} elseif ( $libraryoptions['showaddlinkcat'] === true ) {
|
48 |
+
$libraryoptions['showaddlinkcat'] = 'show';
|
49 |
+
}
|
50 |
+
|
51 |
+
if ( $libraryoptions['showaddlinknotes'] === false ) {
|
52 |
+
$libraryoptions['showaddlinknotes'] = 'hide';
|
53 |
+
} elseif ( $libraryoptions['showaddlinknotes'] === true ) {
|
54 |
+
$libraryoptions['showaddlinknotes'] = 'show';
|
55 |
+
}
|
56 |
+
|
57 |
+
if ( $libraryoptions['addlinkcustomcat'] === false ) {
|
58 |
+
$libraryoptions['addlinkcustomcat'] = 'hide';
|
59 |
+
} elseif ( $libraryoptions['addlinkcustomcat'] === true ) {
|
60 |
+
$libraryoptions['addlinkcustomcat'] = 'show';
|
61 |
+
}
|
62 |
+
|
63 |
+
if ( $libraryoptions['showaddlinkreciprocal'] === false ) {
|
64 |
+
$libraryoptions['showaddlinkreciprocal'] = 'hide';
|
65 |
+
} elseif ( $libraryoptions['showaddlinkreciprocal'] === true ) {
|
66 |
+
$libraryoptions['showaddlinkreciprocal'] = 'show';
|
67 |
+
}
|
68 |
+
|
69 |
+
if ( $libraryoptions['showaddlinksecondurl'] === false ) {
|
70 |
+
$libraryoptions['showaddlinksecondurl'] = 'hide';
|
71 |
+
} elseif ( $libraryoptions['showaddlinksecondurl'] === true ) {
|
72 |
+
$libraryoptions['showaddlinksecondurl'] = 'show';
|
73 |
+
}
|
74 |
+
|
75 |
+
if ( $libraryoptions['showaddlinktelephone'] === false ) {
|
76 |
+
$libraryoptions['showaddlinktelephone'] = 'hide';
|
77 |
+
} elseif ( $libraryoptions['showaddlinktelephone'] === true ) {
|
78 |
+
$libraryoptions['showaddlinktelephone'] = 'show';
|
79 |
+
}
|
80 |
+
|
81 |
+
if ( $libraryoptions['showaddlinkemail'] === false ) {
|
82 |
+
$libraryoptions['showaddlinkemail'] = 'hide';
|
83 |
+
} elseif ( $libraryoptions['showaddlinkemail'] === true ) {
|
84 |
+
$libraryoptions['showaddlinkemail'] = 'show';
|
85 |
+
}
|
86 |
+
|
87 |
+
if ( $libraryoptions['showlinksubmittername'] === false ) {
|
88 |
+
$libraryoptions['showlinksubmittername'] = 'hide';
|
89 |
+
} elseif ( $libraryoptions['showlinksubmittername'] === true ) {
|
90 |
+
$libraryoptions['showlinksubmittername'] = 'show';
|
91 |
+
}
|
92 |
+
|
93 |
+
if ( $libraryoptions['showaddlinksubmitteremail'] === false ) {
|
94 |
+
$libraryoptions['showaddlinksubmitteremail'] = 'hide';
|
95 |
+
} elseif ( $libraryoptions['showaddlinksubmitteremail'] === true ) {
|
96 |
+
$libraryoptions['showaddlinksubmitteremail'] = 'show';
|
97 |
+
}
|
98 |
+
|
99 |
+
if ( $libraryoptions['showlinksubmittercomment'] === false ) {
|
100 |
+
$libraryoptions['showlinksubmittercomment'] = 'hide';
|
101 |
+
} elseif ( $libraryoptions['showlinksubmittercomment'] === true ) {
|
102 |
+
$libraryoptions['showlinksubmittercomment'] = 'show';
|
103 |
+
}
|
104 |
+
|
105 |
+
if ( $libraryoptions['showcustomcaptcha'] === false ) {
|
106 |
+
$libraryoptions['showcustomcaptcha'] = 'hide';
|
107 |
+
} elseif ( $libraryoptions['showcustomcaptcha'] === true ) {
|
108 |
+
$libraryoptions['showcustomcaptcha'] = 'show';
|
109 |
+
}
|
110 |
+
|
111 |
+
if ( $libraryoptions['showuserlargedescription'] === false ) {
|
112 |
+
$libraryoptions['showuserlargedescription'] = 'hide';
|
113 |
+
} elseif ( $libraryoptions['showuserlargedescription'] === true ) {
|
114 |
+
$libraryoptions['showuserlargedescription'] = 'show';
|
115 |
+
}
|
116 |
+
|
117 |
+
/* This case will only happen if the user entered bad data in the admin page or if someone is trying to inject bad data in SQL query */
|
118 |
+
if ( ! empty( $categorylist ) ) {
|
119 |
+
$categorylistarray = explode( ',', $categorylist );
|
120 |
+
|
121 |
+
if ( true === array_filter( $categorylistarray, 'is_int' ) ) {
|
122 |
+
return 'List of requested categories is invalid. Please go back to Link Library admin panel to correct.';
|
123 |
+
}
|
124 |
+
}
|
125 |
+
|
126 |
+
if ( ! empty( $excludecategorylist ) ) {
|
127 |
+
$excludecategorylistarray = explode( ',', $excludecategorylist );
|
128 |
+
|
129 |
+
if ( true === array_filter( $excludecategorylistarray, 'is_int' ) ) {
|
130 |
+
return 'List of requested excluded categories is invalid. Please go back to Link Library admin panel to correct.';
|
131 |
+
}
|
132 |
+
}
|
133 |
+
|
134 |
+
if ( 'link-library-addlink' == $code || 'addlink-link-library' == $code || 'link-library-addlinkcustommsg' == $code || 'addlinkcustommsg-link-library' == $code ) {
|
135 |
+
if ( isset( $_GET['addlinkmessage'] ) ) {
|
136 |
+
if ( 1 == $_GET['addlinkmessage'] ) {
|
137 |
+
$output .= '<div class="llmessage">' . __( 'Confirm code not given', 'link-library' ) . '.</div>';
|
138 |
+
} elseif ( 2 == $_GET['addlinkmessage'] ) {
|
139 |
+
$output .= '<div class="llmessage">' . __( 'Captcha code is wrong', 'link-library' ) . '.</div>';
|
140 |
+
} elseif ( 3 == $_GET['addlinkmessage'] ) {
|
141 |
+
$output .= '<div class="llmessage">' . __( 'Captcha code is only valid for 5 minutes', 'link-library' ) . '.</div>';
|
142 |
+
} elseif ( 4 == $_GET['addlinkmessage'] ) {
|
143 |
+
$output .= '<div class="llmessage">' . __( 'No captcha cookie given. Make sure cookies are enabled', 'link-library' ) . '.</div>';
|
144 |
+
} elseif ( 5 == $_GET['addlinkmessage'] ) {
|
145 |
+
$output .= '<div class="llmessage">' . __( 'Captcha answer was not provided.', 'link-library' ) . '</div>';
|
146 |
+
} elseif ( 6 == $_GET['addlinkmessage'] ) {
|
147 |
+
$output .= '<div class="llmessage">' . __( 'Captcha answer is incorrect', 'link-library' ) . '.</div>';
|
148 |
+
} elseif ( 7 == $_GET['addlinkmessage'] ) {
|
149 |
+
$output .= '<div class="llmessage">' . __( 'User Category was not provided correctly. Link insertion failed.', 'link-library' ) . '</div>';
|
150 |
+
} elseif ( 8 == $_GET['addlinkmessage'] ) {
|
151 |
+
$output .= '<div class="llmessage">' . $newlinkmsg;
|
152 |
+
if ( ! $showuserlinks ) {
|
153 |
+
$output .= ' ' . $moderatemsg;
|
154 |
+
}
|
155 |
+
$output .= '</div>';
|
156 |
+
} elseif ( 9 == $_GET['addlinkmessage'] ) {
|
157 |
+
$output .= '<div class="llmessage">' . __( 'Error: Link does not have an address.', 'link-library' ) . '</div>';
|
158 |
+
} elseif ( 10 == $_GET['addlinkmessage'] ) {
|
159 |
+
$output .= '<div class="llmessage">' . __( 'Error: Link already exists.', 'link-library' ) . '</div>';
|
160 |
+
} elseif ( 11 == $_GET['addlinkmessage'] ) {
|
161 |
+
$output .= '<div class="llmessage">' . $libraryoptions['linkrsslabel'] . __( ' is a required field', 'link-library' ) . '</div>';
|
162 |
+
} elseif ( 12 == $_GET['addlinkmessage'] ) {
|
163 |
+
$output .= '<div class="llmessage">' . $libraryoptions['linkdesclabel'] . __( ' is a required field', 'link-library' ) . '</div>';
|
164 |
+
} elseif ( 13 == $_GET['addlinkmessage'] ) {
|
165 |
+
$output .= '<div class="llmessage">' . $libraryoptions['linknoteslabel'] . __( ' is a required field', 'link-library' ) . '</div>';
|
166 |
+
} elseif ( 14 == $_GET['addlinkmessage'] ) {
|
167 |
+
$output .= '<div class="llmessage">' . $libraryoptions['linkreciprocallabel'] . __( ' is a required field', 'link-library' ) . '</div>';
|
168 |
+
} elseif ( 15 == $_GET['addlinkmessage'] ) {
|
169 |
+
$output .= '<div class="llmessage">' . $libraryoptions['linksecondurllabel'] . __( ' is a required field', 'link-library' ) . '</div>';
|
170 |
+
} elseif ( 16 == $_GET['addlinkmessage'] ) {
|
171 |
+
$output .= '<div class="llmessage">' . $libraryoptions['linktelephonelabel'] . __( ' is a required field', 'link-library' ) . '</div>';
|
172 |
+
} elseif ( 17 == $_GET['addlinkmessage'] ) {
|
173 |
+
$output .= '<div class="llmessage">' . $libraryoptions['linkemaillabel'] . __( ' is a required field', 'link-library' ) . '</div>';
|
174 |
+
} elseif ( 18 == $_GET['addlinkmessage'] ) {
|
175 |
+
$output .= '<div class="llmessage">' . $libraryoptions['linksubmitternamelabel'] . __( ' is a required field', 'link-library' ) . '</div>';
|
176 |
+
} elseif ( 19 == $_GET['addlinkmessage'] ) {
|
177 |
+
$output .= '<div class="llmessage">' . $libraryoptions['linksubmitteremaillabel'] . __( ' is a required field', 'link-library' ) . '</div>';
|
178 |
+
} elseif ( 20 == $_GET['addlinkmessage'] ) {
|
179 |
+
$output .= '<div class="llmessage">' . $libraryoptions['linksubmittercommentlabel'] . __( ' is a required field', 'link-library' ) . '</div>';
|
180 |
+
} elseif ( 21 == $_GET['addlinkmessage'] ) {
|
181 |
+
$output .= '<div class="llmessage">' . $libraryoptions['linklargedesclabel'] . __( ' is a required field', 'link-library' ) . '</div>';
|
182 |
+
} elseif ( 22 == $_GET['addlinkmessage'] ) {
|
183 |
+
$output .= '<div class="llmessage">' . __( 'Link submission error', 'link-library' ) . '</div>';
|
184 |
+
} elseif ( 23 == $_GET['addlinkmessage'] ) {
|
185 |
+
$output .= '<div class="llmessage">' . __( 'Link rejected. There is already a site with this reciprocal link.', 'link-library' ) . '</div>';
|
186 |
+
}
|
187 |
+
}
|
188 |
+
}
|
189 |
+
|
190 |
+
if ( ( 'link-library-addlink' == $code || 'addlink-link-library' == $code ) && ( ( $addlinkreqlogin && current_user_can( 'read' ) ) || ! $addlinkreqlogin ) ) {
|
191 |
+
$output .= '<form method="post" id="lladdlink" action="">';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
192 |
|
193 |
+
$output .= wp_nonce_field( 'LL_ADDLINK_FORM', '_wpnonce', true, false );
|
194 |
+
$output .= '<input type="hidden" name="thankyouurl" value="' . $linksubmissionthankyouurl . '" />';
|
195 |
+
$output .= '<input type="hidden" name="link_library_user_link_submission" value="1" />';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
196 |
|
197 |
+
global $wp_query;
|
198 |
+
$thePostID = $wp_query->post->ID;
|
199 |
+
$output .= '<input type="hidden" name="pageid" value="' . $thePostID . '" />';
|
200 |
+
$output .= '<input type="hidden" name="settingsid" value="' . $settings . '" />';
|
|
|
|
|
|
|
|
|
|
|
201 |
|
202 |
+
$xpath = $LLPluginClass->relativePath( dirname( __FILE__ ), ABSPATH );
|
203 |
+
$output .= '<input type="hidden" name="xpath" value="' . esc_attr( $xpath ) . '" />';
|
204 |
+
unset( $xpath );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
205 |
|
206 |
+
$output .= "<div class='lladdlink'>\n";
|
|
|
|
|
|
|
|
|
207 |
|
208 |
+
if ( empty( $addnewlinkmsg ) ) {
|
209 |
+
$addnewlinkmsg = __( 'Add new link', 'link-library' );
|
210 |
+
}
|
|
|
|
|
|
|
|
|
211 |
|
212 |
+
$output .= '<div id="lladdlinktitle">' . $addnewlinkmsg . "</div>\n";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
213 |
|
214 |
+
$output .= "<table>\n";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
215 |
|
216 |
+
if ( empty( $linknamelabel ) ) {
|
217 |
+
$linknamelabel = __( 'Link name', 'link-library' );
|
218 |
+
}
|
219 |
|
220 |
+
$output .= '<tr><th>' . $linknamelabel . '</th><td><input data-validation="required length" data-validation-length="max255" data-validation-error-msg-required="' . __( 'Required field', 'link-library' ) . '" type="text" name="link_name" id="link_name" value="' . ( isset( $_GET['addlinkname'] ) ? esc_html( stripslashes( $_GET['addlinkname'] ), '1' ) : '' ) . "\" /></td></tr>\n";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
221 |
|
222 |
+
if ( empty( $linkaddrlabel ) ) {
|
223 |
+
$linkaddrlabel = __( 'Link address', 'link-library' );
|
224 |
+
}
|
|
|
225 |
|
226 |
+
$output .= '<tr><th>' . $linkaddrlabel . '</th><td><input ';
|
227 |
+
if ( ! $addlinknoaddress ) {
|
228 |
+
$output .= 'data-validation="required url length" data-validation-length="max255" data-validation-error-msg-required="' . __( 'Required field, URL', 'link-library' ) . '" ';
|
229 |
+
}
|
230 |
|
231 |
+
$output .= 'type="text" name="link_url" id="link_url" value="' . ( isset( $_GET['addlinkurl'] ) ? esc_html( stripslashes( $_GET['addlinkurl'] ), '1' ) : 'http://' ) . "\" /></td></tr>\n";
|
|
|
|
|
|
|
|
|
232 |
|
233 |
+
if ( 'show' == $showaddlinkrss || 'required' == $showaddlinkrss ) {
|
234 |
+
if ( empty( $linkrsslabel ) ) {
|
235 |
+
$linkrsslabel = __( 'Link RSS', 'link-library' );
|
236 |
+
}
|
237 |
|
238 |
+
$output .= '<tr><th>' . $linkrsslabel . '</th><td><input ';
|
|
|
239 |
|
240 |
+
if ( 'required' == $showaddlinkrss ) {
|
241 |
+
$requiredtext = ' required';
|
242 |
+
} else {
|
243 |
+
$requiredtext = '';
|
244 |
+
}
|
245 |
|
246 |
+
$output .= 'data-validation="length' . $requiredtext . '" data-validation-length="max255" data-validation-error-msg-required="' . __( 'Required field, 1-255 chars', 'link-library' ) . '" ';
|
247 |
|
248 |
+
$output .= ' type="text" name="link_rss" id="link_rss" value="' . ( isset( $_GET['addlinkrss'] ) ? esc_html( stripslashes( $_GET['addlinkrss'] ), '1' ) : '' ) . "\" /></td></tr>\n";
|
249 |
+
}
|
|
|
|
|
|
|
250 |
|
251 |
+
$linkcatquery = 'SELECT distinct t.name, t.term_id, t.slug as category_nicename, tt.description as category_description ';
|
252 |
+
$linkcatquery .= 'FROM ' . $LLPluginClass->db_prefix() . 'terms t ';
|
253 |
+
$linkcatquery .= 'LEFT JOIN ' . $LLPluginClass->db_prefix() . 'term_taxonomy tt ON (t.term_id = tt.term_id) ';
|
254 |
+
$linkcatquery .= 'LEFT JOIN ' . $LLPluginClass->db_prefix() . 'term_relationships tr ON (tt.term_taxonomy_id = tr.term_taxonomy_id) ';
|
255 |
|
256 |
+
$linkcatquery .= 'WHERE tt.taxonomy = "link_category" ';
|
|
|
257 |
|
258 |
+
if ( ! empty( $categorylist ) ) {
|
259 |
+
$linkcatquery .= ' AND t.term_id in (' . $categorylist . ')';
|
260 |
+
}
|
|
|
261 |
|
262 |
+
if ( ! empty( $excludecategorylist ) ) {
|
263 |
+
$linkcatquery .= ' AND t.term_id not in (' . $excludecategorylist . ')';
|
264 |
+
}
|
265 |
|
266 |
+
$linkcatquery .= ' ORDER by t.name ASC';
|
|
|
|
|
|
|
|
|
267 |
|
268 |
+
$linkcats = $wpdb->get_results( $linkcatquery );
|
269 |
|
270 |
+
if ( $debugmode ) {
|
271 |
+
$output .= "\n<!-- Category query for add link form:" . print_r( $linkcatquery, true ) . "-->\n\n";
|
272 |
+
$output .= "\n<!-- Results of Category query for add link form:" . print_r( $linkcats, true ) . "-->\n";
|
273 |
+
}
|
274 |
|
275 |
+
if ( $linkcats ) {
|
276 |
+
if ( 'show' == $showaddlinkcat || 'required' == $showaddlinkcat ) {
|
277 |
+
if ( empty( $linkcatlabel ) ) {
|
278 |
+
$linkcatlabel = __( 'Link category', 'link-library' );
|
279 |
+
}
|
280 |
|
281 |
+
$output .= '<tr><th>' . $linkcatlabel . '</th><td>';
|
282 |
+
$output .= '<SELECT data-validation="required" data-validation-error-msg-required="' . __( 'Required field', 'link-library' ) . '" name="link_category" id="link_category">';
|
283 |
|
284 |
+
if ( 'nodefaultcat' == $addlinkdefaultcat ) {
|
285 |
+
$output .= '<option value="">' . __( 'Select a category', 'link-category' ) . '</option>';
|
286 |
+
}
|
|
|
|
|
287 |
|
288 |
+
if ( empty( $linkcustomcatlistentry ) ) {
|
289 |
+
$linkcustomcatlistentry = __( 'User-submitted category (define below)', 'link-library' );
|
290 |
+
}
|
291 |
|
292 |
+
foreach ( $linkcats as $linkcat ) {
|
293 |
+
$output .= '<OPTION VALUE="' . $linkcat->term_id . '" ';
|
294 |
+
if ( isset( $_GET['addlinkcat'] ) && $_GET['addlinkcat'] == $linkcat->term_id ) {
|
295 |
+
$output .= "selected";
|
296 |
+
} elseif ( 'nodefaultcat' != $addlinkdefaultcat && $linkcat->term_id == intval( $addlinkdefaultcat ) ) {
|
297 |
+
$output .= "selected";
|
298 |
+
}
|
299 |
+
$output .= '>' . $linkcat->name;
|
300 |
+
}
|
301 |
|
302 |
+
if ( 'show' == $addlinkcustomcat ) {
|
303 |
+
$output .= '<OPTION VALUE="new">' . stripslashes( $linkcustomcatlistentry ) . "\n";
|
304 |
+
}
|
|
|
305 |
|
306 |
+
$output .= "</SELECT></td></tr>\n";
|
307 |
+
} else {
|
308 |
+
$output .= '<input type="hidden" name="link_category" id="link_category" value="';
|
309 |
+
if ( 'nodefaultcat' == $addlinkdefaultcat ) {
|
310 |
+
$output .= $linkcats[0]->term_id;
|
311 |
+
} else {
|
312 |
+
$output .= intval( $addlinkdefaultcat );
|
313 |
+
}
|
314 |
+
$output .= '">';
|
315 |
+
}
|
316 |
|
317 |
+
if ( 'show' == $addlinkcustomcat ) {
|
318 |
+
$output .= '<tr class="customcatrow" style="display:none"><th>' . $linkcustomcatlabel . '</th><td><input type="text" name="link_user_category" id="link_user_category" value="' . ( isset( $_GET['addlinkusercat'] ) ? esc_html( stripslashes( $_GET['addlinkusercat'] ), '1' ) : '' ) . "\" /></td></tr>\n";
|
319 |
+
}
|
320 |
+
}
|
321 |
+
|
322 |
+
if ( 'show' == $showaddlinkdesc || 'required' == $showaddlinkdesc ) {
|
323 |
+
if ( empty( $linkdesclabel ) ) {
|
324 |
+
$linkdesclabel = __( 'Link description', 'link-library' );
|
325 |
+
}
|
326 |
+
|
327 |
+
$output .= '<tr><th>' . $linkdesclabel . '</th><td><input ';
|
328 |
+
|
329 |
+
if ( 'required' == $showaddlinkrss ) {
|
330 |
+
$requiredtext = ' required';
|
331 |
+
} else {
|
332 |
+
$requiredtext = '';
|
333 |
+
}
|
334 |
+
|
335 |
+
$output .= 'data-validation="length' . $requiredtext . '" data-validation-length="max255" data-validation-error-msg-required="' . __( 'Required field, 1-255 chars', 'link-library' ) . '" ';
|
336 |
+
|
337 |
+
$output .= ' type="text" name="link_description" id="link_description" value="' . ( isset( $_GET['addlinkdesc'] ) ? esc_html( stripslashes( $_GET['addlinkdesc'] ), '1' ) : '' ) . "\" /></td></tr>\n";
|
338 |
+
}
|
339 |
+
|
340 |
+
if ( 'show' == $showuserlargedescription || 'required' == $showuserlargedescription ) {
|
341 |
+
if ( empty( $linklargedesclabel ) ) {
|
342 |
+
$linklargedesclabel = __( 'Large description', 'link-library' );
|
343 |
+
}
|
344 |
+
|
345 |
+
$output .= '<tr><th style="vertical-align: top">' . $linklargedesclabel . '</th><td><textarea ';
|
346 |
+
|
347 |
+
if ( 'required' == $showuserlargedescription ) {
|
348 |
+
$output .= 'data-validation="required" data-validation-error-msg-required="' . __( 'Required field', 'link-library' ) . '" ';
|
349 |
+
}
|
350 |
+
|
351 |
+
$output .= ' name="link_textfield" id="link_textfield" cols="66">' . ( isset( $_GET['addlinktextfield'] ) ? esc_html( stripslashes( $_GET['addlinktextfield'] ), '1' ) : '' ) . "</textarea></td></tr>\n";
|
352 |
+
}
|
353 |
+
|
354 |
+
if ( 'show' == $showaddlinknotes || 'required' == $showaddlinknotes ) {
|
355 |
+
if ( empty( $linknoteslabel ) ) {
|
356 |
+
$linknoteslabel = __( 'Link notes', 'link-library' );
|
357 |
+
}
|
358 |
+
|
359 |
+
$output .= '<tr><th>' . $linknoteslabel . '</th><td>';
|
360 |
+
|
361 |
+
if ( ! $usetextareaforusersubmitnotes || empty( $usetextareaforusersubmitnotes ) ) {
|
362 |
+
$output .= '<input ';
|
363 |
+
|
364 |
+
if ( 'required' == $showaddlinknotes ) {
|
365 |
+
$output .= 'data-validation="required" data-validation-error-msg-required="' . __( 'Required field', 'link-library' ) . '" ';
|
366 |
+
}
|
367 |
+
|
368 |
+
$output .= 'type="text" name="link_notes" id="link_notes" value="';
|
369 |
+
} elseif ( $usetextareaforusersubmitnotes ) {
|
370 |
+
$output .= '<textarea ';
|
371 |
+
|
372 |
+
if ( 'required' == $showaddlinknotes ) {
|
373 |
+
$output .= 'data-validation="required" data-validation-error-msg-required="' . __( 'Required field', 'link-library' ) . '" ';
|
374 |
+
}
|
375 |
+
|
376 |
+
$output .= 'name="link_notes" id="link_notes">';
|
377 |
+
}
|
378 |
+
|
379 |
+
$output .= ( isset( $_GET['addlinknotes'] ) ? esc_html( stripslashes( $_GET['addlinknotes'] ), '1' ) : '' );
|
380 |
+
|
381 |
+
if ( ! $usetextareaforusersubmitnotes || empty( $usetextareaforusersubmitnotes ) ) {
|
382 |
+
$output .= '" />';
|
383 |
+
} elseif ( $usetextareaforusersubmitnotes ) {
|
384 |
+
$output .= '</textarea>';
|
385 |
+
}
|
386 |
+
|
387 |
+
$output .= "</td></tr>\n";
|
388 |
+
}
|
389 |
+
|
390 |
+
if ( 'show' == $showaddlinkreciprocal || 'required' == $showaddlinkreciprocal ) {
|
391 |
+
if ( empty( $linkreciprocallabel ) ) {
|
392 |
+
$linkreciprocallabel = __( 'Reciprocal Link', 'link-library' );
|
393 |
+
}
|
394 |
+
|
395 |
+
$output .= '<tr><th>' . $linkreciprocallabel . '</th><td><input ';
|
396 |
+
|
397 |
+
if ( 'required' == $showaddlinkrss ) {
|
398 |
+
$requiredtext = ' required';
|
399 |
+
} else {
|
400 |
+
$requiredtext = '';
|
401 |
+
}
|
402 |
+
|
403 |
+
$output .= 'data-validation="url length' . $requiredtext . '" data-validation-length="max255" data-validation-error-msg-required="' . __( 'Required field, 1-255 chars', 'link-library' ) . '" ';
|
404 |
+
|
405 |
+
$output .= 'type="text" name="ll_reciprocal" id="ll_reciprocal" value="' . ( isset( $_GET['addlinkreciprocal'] ) ? esc_html( stripslashes( $_GET['addlinkreciprocal'] ), '1' ) : 'http://' ) . "\" /></td></tr>\n";
|
406 |
+
}
|
407 |
+
|
408 |
+
if ( 'show' == $showaddlinksecondurl || 'required' == $showaddlinksecondurl ) {
|
409 |
+
if ( empty( $linksecondurllabel ) ) {
|
410 |
+
$linksecondurllabel = __( 'Secondary Address', 'link-library' );
|
411 |
+
}
|
412 |
+
|
413 |
+
$output .= '<tr><th>' . $linksecondurllabel . '</th><td><input ';
|
414 |
+
|
415 |
+
if ( 'required' == $showaddlinkrss ) {
|
416 |
+
$requiredtext = ' required';
|
417 |
+
} else {
|
418 |
+
$requiredtext = '';
|
419 |
+
}
|
420 |
+
|
421 |
+
$output .= 'data-validation="length' . $requiredtext . '" data-validation-length="max255" data-validation-error-msg-required="' . __( 'Required field', 'link-library' ) . '" ';
|
422 |
+
|
423 |
+
$output .= 'type="text" name="ll_secondwebaddr" id="ll_secondwebaddr" value="' . ( isset( $_GET['addlinksecondurl'] ) ? esc_html( stripslashes( $_GET['addlinksecondurl'] ), '1' ) : 'http://' ) . "\" /></td></tr>\n";
|
424 |
+
}
|
425 |
+
|
426 |
+
if ( 'show' == $showaddlinktelephone || 'required' == $showaddlinktelephone ) {
|
427 |
+
if ( empty( $linktelephonelabel ) ) {
|
428 |
+
$linktelephonelabel = __( 'Telephone', 'link-library' );
|
429 |
+
}
|
430 |
+
|
431 |
+
$output .= '<tr><th>' . $linktelephonelabel . '</th><td><input ';
|
432 |
+
|
433 |
+
if ( 'required' == $showaddlinkrss ) {
|
434 |
+
$requiredtext = ' required';
|
435 |
+
} else {
|
436 |
+
$requiredtext = '';
|
437 |
+
}
|
438 |
+
|
439 |
+
$output .= 'data-validation="length' . $requiredtext . '" data-validation-length="max128" data-validation-error-msg-required="' . __( 'Required field', 'link-library' ) . '" ';
|
440 |
+
|
441 |
+
$output .= 'type="text" name="ll_telephone" id="ll_telephone" value="' . ( isset( $_GET['addlinktelephone'] ) ? esc_html( stripslashes( $_GET['addlinktelephone'] ), '1' ) : '' ) . "\" /></td></tr>\n";
|
442 |
+
}
|
443 |
+
|
444 |
+
if ( 'show' == $showaddlinkemail || 'required' == $showaddlinkemail ) {
|
445 |
+
if ( empty( $linkemaillabel ) ) {
|
446 |
+
$linkemaillabel = __( 'E-mail', 'link-library' );
|
447 |
+
}
|
448 |
+
|
449 |
+
$output .= '<tr><th>' . $linkemaillabel . '</th><td><input ';
|
450 |
+
|
451 |
+
if ( 'required' == $showaddlinkrss ) {
|
452 |
+
$requiredtext = ' required';
|
453 |
+
} else {
|
454 |
+
$requiredtext = '';
|
455 |
+
}
|
456 |
+
|
457 |
+
$output .= 'data-validation="email length' . $requiredtext . '" data-validation-length="max128" data-validation-error-msg-required="' . __( 'Required field, proper e-mail, 1-128 chars', 'link-library' ) . '" ';
|
458 |
+
|
459 |
+
$output .= 'type="text" name="ll_email" id="ll_email" value="' . ( isset( $_GET['addlinkemail'] ) ? esc_html( stripslashes( $_GET['addlinkemail'] ), '1' ) : '' ) . "\" /></td></tr>\n";
|
460 |
+
}
|
461 |
+
|
462 |
+
if ( 'show' == $showlinksubmittername || 'required' == $showlinksubmittername || is_user_logged_in() ) {
|
463 |
+
if ( empty( $linksubmitternamelabel ) ) {
|
464 |
+
$linksubmitternamelabel = __( 'Submitter Name', 'link-library' );
|
465 |
+
}
|
466 |
+
|
467 |
+
$name_field_value = '';
|
468 |
+
if ( isset( $_GET['ll_submittername'] ) ) {
|
469 |
+
$name_field_value = esc_html( stripslashes( $_GET['ll_submittername'] ) );
|
470 |
+
} elseif ( is_user_logged_in() ) {
|
471 |
+
$user_data = wp_get_current_user();
|
472 |
+
$name_field_value = $user_data->display_name;
|
473 |
+
}
|
474 |
+
|
475 |
+
$output .= '<tr';
|
476 |
+
|
477 |
+
if ( 'show' != $showlinksubmittername && 'required' != $showlinksubmittername ) {
|
478 |
+
$output .= ' style="display:none"';
|
479 |
+
}
|
480 |
+
$output .= '><th>' . $linksubmitternamelabel . '</th><td><input ';
|
481 |
+
|
482 |
+
if ( 'required' == $showaddlinkrss ) {
|
483 |
+
$requiredtext = ' required';
|
484 |
+
} else {
|
485 |
+
$requiredtext = '';
|
486 |
+
}
|
487 |
+
|
488 |
+
$output .= 'data-validation="length' . $requiredtext . '" data-validation-length="max128" data-validation-error-msg-required="' . __( 'Required field, 1-128 chars', 'link-library' ) . '" ';
|
489 |
+
|
490 |
+
$output .= 'type="text" name="ll_submittername" id="ll_submittername" value="' . $name_field_value . "\" /></td></tr>\n";
|
491 |
+
}
|
492 |
+
|
493 |
+
if ( 'show' == $showaddlinksubmitteremail || 'required' == $showaddlinksubmitteremail || is_user_logged_in() ) {
|
494 |
+
if ( empty( $linksubmitteremaillabel ) ) {
|
495 |
+
$linksubmitteremaillabel = __( 'Submitter E-mail', 'link-library' );
|
496 |
+
}
|
497 |
+
|
498 |
+
$email_field_value = '';
|
499 |
+
if ( isset( $_GET['ll_submitteremail'] ) ) {
|
500 |
+
$email_field_value = esc_html( stripslashes( $_GET['ll_submitteremail'] ) );
|
501 |
+
} elseif ( is_user_logged_in() ) {
|
502 |
+
$user_data = wp_get_current_user();
|
503 |
+
$email_field_value = $user_data->user_email;
|
504 |
+
}
|
505 |
+
|
506 |
+
$output .= '<tr';
|
507 |
+
|
508 |
+
if ( 'show' != $showaddlinksubmitteremail && 'required' != $showaddlinksubmitteremail ) {
|
509 |
+
$output .= ' style="display:none"';
|
510 |
+
}
|
511 |
+
$output .= '><th>' . $linksubmitteremaillabel . '</th><td><input ';
|
512 |
+
|
513 |
+
if ( 'required' == $showaddlinkrss ) {
|
514 |
+
$requiredtext = ' required';
|
515 |
+
} else {
|
516 |
+
$requiredtext = '';
|
517 |
+
}
|
518 |
+
|
519 |
+
$output .= 'data-validation="email length' . $requiredtext . '" data-validation-length="max128" data-validation-error-msg-required="' . __( 'Required field, 1-128 chars', 'link-library' ) . '" ';
|
520 |
+
|
521 |
+
$output .= 'type="text" name="ll_submitteremail" id="ll_submitteremail" value="' . $email_field_value . "\" /></td></tr>\n";
|
522 |
+
}
|
523 |
+
|
524 |
+
if ( 'show' == $showlinksubmittercomment || 'required' == $showlinksubmittercomment ) {
|
525 |
+
if ( empty( $linksubmittercommentlabel ) ) {
|
526 |
+
$linksubmittercommentlabel = __( 'Submitter Comment', 'link-library' );
|
527 |
+
}
|
528 |
+
|
529 |
+
$output .= '<tr><th style="vertical-align: top;">' . $linksubmittercommentlabel . '</th><td><textarea ';
|
530 |
+
|
531 |
+
if ( 'required' == $showlinksubmittercomment ) {
|
532 |
+
$output .= 'data-validation="required" data-validation-error-msg-required="' . __( 'Required field', 'link-library' ) . '" ';
|
533 |
+
}
|
534 |
+
|
535 |
+
$output .= 'name="ll_submittercomment" id="ll_submittercomment" cols="38">' . ( isset( $_GET['addlinksubmitcomment'] ) ? esc_html( stripslashes( $_GET['addlinksubmitcomment'] ), '1' ) : '' ) . "</textarea></td></tr>\n";
|
536 |
+
}
|
537 |
+
|
538 |
+
if ( $showcaptcha && !is_user_logged_in() ) {
|
539 |
+
$output .= apply_filters( 'link_library_generate_captcha', '' );
|
540 |
+
}
|
541 |
+
|
542 |
+
if ( 'show' == $showcustomcaptcha && !is_user_logged_in() ) {
|
543 |
+
if ( empty( $customcaptchaquestion ) ) {
|
544 |
+
$customcaptchaquestion = __( 'Is boiling water hot or cold?', 'link-library' );
|
545 |
+
}
|
546 |
+
|
547 |
+
$output .= '<tr><th style="vertical-align: top;">' . $customcaptchaquestion . '</th><td><input data-validation="required" data-validation-error-msg-required="' . __( 'Required field', 'link-library' ) . ' type="text" name="ll_customcaptchaanswer" id="ll_customcaptchaanswer" value="' . ( isset( $_GET['ll_customcaptchaanswer'] ) ? esc_html( stripslashes( $_GET['ll_customcaptchaanswer'] ), '1' ) : '' ) . "\" /></td></tr>\n";
|
548 |
+
}
|
549 |
+
|
550 |
+
$output .= "</table>\n";
|
551 |
+
|
552 |
+
if ( empty( $addlinkbtnlabel ) ) {
|
553 |
+
$addlinkbtnlabel = __( 'Add link', 'link-library' );
|
554 |
+
}
|
555 |
+
|
556 |
+
$output .= '<span style="border:0;" class="LLUserLinkSubmit"><input type="submit" name="submit" value="' . $addlinkbtnlabel . '" /></span>';
|
557 |
+
|
558 |
+
$output .= "</div>\n";
|
559 |
+
$output .= "</form>\n\n";
|
560 |
+
|
561 |
+
$output .= "<script type='text/javascript'>\n";
|
562 |
+
$output .= "\tjQuery( document ).ready( function() {\n";
|
563 |
+
|
564 |
+
$output .= "\tvar LinkLibraryValidationLanguage = {\n";
|
565 |
+
$output .= "\t\terrorTitle: '" . addslashes( __( 'Form submission failed!', 'link-library' ) ) . "',\n";
|
566 |
+
$output .= "\t\trequiredFields: '" . addslashes( __( 'You have not answered all required fields', 'link-library' ) ) . "',\n";
|
567 |
+
$output .= "\t\tbadTime: '" . addslashes( __( 'You have not given a correct time', 'link-library' ) ) . "',\n";
|
568 |
+
$output .= "\t\tbadEmail: '" . addslashes( __( 'You have not given a correct e-mail address', 'link-library' ) ) . "',\n";
|
569 |
+
$output .= "\t\tbadTelephone: '" . addslashes( __( 'You have not given a correct phone number', 'link-library' ) ) . "',\n";
|
570 |
+
$output .= "\t\tbadSecurityAnswer: '" . addslashes( __( 'You have not given a correct answer to the security question', 'link-library' ) ) . "',\n";
|
571 |
+
$output .= "\t\tbadDate: '" . addslashes( __( 'You have not given a correct date', 'link-library' ) ) . "',\n";
|
572 |
+
$output .= "\t\tlengthBadStart: '" . addslashes( __( 'The input value must be between ', 'link-library' ) ) . "',\n";
|
573 |
+
$output .= "\t\tlengthBadEnd: '" . addslashes( __( 'characters', 'link-library' ) ) . "',\n";
|
574 |
+
$output .= "\t\tlengthTooLongStart: '" . addslashes( __( 'The input value is longer than ', 'link-library' ) ) . "',\n";
|
575 |
+
$output .= "\t\tlengthTooShortStart: '" . addslashes( __( 'The input value is shorter than ', 'link-library' ) ) . "',\n";
|
576 |
+
$output .= "\t\tnotConfirmed: '" . addslashes( __( 'Input values could not be confirmed', 'link-library' ) ) . "',\n";
|
577 |
+
$output .= "\t\tbadDomain: '" . addslashes( __( 'Incorrect domain value', 'link-library' ) ) . "',\n";
|
578 |
+
$output .= "\t\tbadUrl: '" . addslashes( __( 'The input value is not a correct URL. Requires http://.', 'link-library' ) ) . "',\n";
|
579 |
+
$output .= "\t\tbadCustomVal: '" . addslashes( __( 'The input value is incorrect', 'link-library' ) ) . "',\n";
|
580 |
+
$output .= "\t\tandSpaces: '" . addslashes( __( ' and spaces ', 'link-library' ) ) . "',\n";
|
581 |
+
$output .= "\t\tbadInt: '" . addslashes( __( 'The input value was not a correct number', 'link-library' ) ) . "',\n";
|
582 |
+
$output .= "\t\tbadSecurityNumber: '" . addslashes( __( 'Your social security number was incorrect', 'link-library' ) ) . "',\n";
|
583 |
+
$output .= "\t\tbadUKVatAnswer: '" . addslashes( __( 'Incorrect UK VAT Number', 'link-library' ) ) . "',\n";
|
584 |
+
$output .= "\t\tbadStrength: '" . addslashes( __( 'The password is not strong enough', 'link-library' ) ) . "',\n";
|
585 |
+
$output .= "\t\tbadNumberOfSelectedOptionsStart: '" . addslashes( __( 'You have to choose at least ', 'link-library' ) ) . "',\n";
|
586 |
+
$output .= "\t\tbadNumberOfSelectedOptionsEnd: '" . addslashes( __( ' answers', 'link-library' ) ) . "',\n";
|
587 |
+
$output .= "\t\tbadAlphaNumeric: '" . addslashes( __( 'The input value can only contain alphanumeric characters ', 'link-library' ) ) . "',\n";
|
588 |
+
$output .= "\t\tbadAlphaNumericExtra: '" . addslashes( __( ' and ', 'link-library' ) ) . "',\n";
|
589 |
+
$output .= "\t\twrongFileSize: '" . addslashes( __( 'The file you are trying to upload is too large (max %s)', 'link-library' ) ) . "',\n";
|
590 |
+
$output .= "\t\twrongFileType: '" . addslashes( __( 'Only files of type %s is allowed', 'link-library' ) ) . "',\n";
|
591 |
+
$output .= "\t\tgroupCheckedRangeStart: '" . addslashes( __( 'Please choose between ', 'link-library' ) ) . "',\n";
|
592 |
+
$output .= "\t\tgroupCheckedTooFewStart: '" . addslashes( __( 'Please choose at least ', 'link-library' ) ) . "',\n";
|
593 |
+
$output .= "\t\tgroupCheckedTooManyStart: '" . addslashes( __( 'Please choose a maximum of ', 'link-library' ) ) . "',\n";
|
594 |
+
$output .= "\t\tgroupCheckedEnd: '" . addslashes( __( ' item(s)', 'link-library' ) ) . "',\n";
|
595 |
+
$output .= "\t\tbadCreditCard: '" . addslashes( __( 'The credit card number is not correct', 'link-library' ) ) . "',\n";
|
596 |
+
$output .= "\t\tbadCVV: '" . addslashes( __( 'The CVV number was not correct', 'link-library' ) ) . "',\n";
|
597 |
+
$output .= "\t\twrongFileDim : '" . addslashes( __( 'Incorrect image dimensions,', 'link-library' ) ) . "',\n";
|
598 |
+
$output .= "\t\timageTooTall : '" . addslashes( __( 'the image can not be taller than', 'link-library' ) ) . "',\n";
|
599 |
+
$output .= "\t\timageTooWide : '" . addslashes( __( 'the image can not be wider than', 'link-library' ) ) . "',\n";
|
600 |
+
$output .= "\t\timageTooSmall : '" . addslashes( __( 'the image was too small', 'link-library' ) ) . "',\n";
|
601 |
+
$output .= "\t\tmin : '" . addslashes( __( 'min', 'link-library' ) ) . "',\n";
|
602 |
+
$output .= "\t\tmax : '" . addslashes( __( 'max', 'link-library' ) ) . "',\n";
|
603 |
+
$output .= "\t\timageRatioNotAccepted : '" . addslashes( __( 'Image ratio is not accepted', 'link-library' ) ) . "'\n";
|
604 |
+
$output .= "\t};\n";
|
605 |
+
|
606 |
+
$output .= "\t\tjQuery.validate({\n";
|
607 |
+
$output .= "\t\t\tmodules : 'location, date, security, file',\n";
|
608 |
+
$output .= "\t\t\tlanguage : LinkLibraryValidationLanguage,\n";
|
609 |
+
$output .= "\t\t});\n";
|
610 |
+
$output .= "\t\tjQuery('#link_category').change(function() {\n";
|
611 |
+
$output .= "\t\t\tif ( jQuery('#link_category').val() == 'new' ) {\n";
|
612 |
+
$output .= "\t\t\t\tjQuery('.customcatrow').show();\n";
|
613 |
+
$output .= "\t\t\t} else {\n";
|
614 |
+
$output .= "\t\t\t\tjQuery('.customcatrow').hide();\n";
|
615 |
+
$output .= "\t\t\t};\n";
|
616 |
+
$output .= "\t\t});\n";
|
617 |
+
$output .= "\t});\n";
|
618 |
+
$output .= "</script>\n";
|
619 |
+
}
|
620 |
|
621 |
+
return $output;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
622 |
}
|
623 |
|
624 |
function link_library_generate_captcha() {
|
632 |
$captcha = '<tr><td></td><td><div class="g-recaptcha" data-sitekey="' . $generaloptions['recaptchasitekey'] . '"></div></td></tr>';
|
633 |
}
|
634 |
|
635 |
+
return $captcha;
|
636 |
}
|
637 |
|
638 |
add_filter( 'link_library_generate_captcha', 'link_library_generate_captcha' );
|
render-link-library-alpha-filter.php
CHANGED
@@ -5,7 +5,7 @@ require_once plugin_dir_path( __FILE__ ) . 'link-library-defaults.php';
|
|
5 |
|
6 |
function RenderLinkLibraryAlphaFilter( $LLPluginClass, $generaloptions, $libraryoptions, $settings, $searchmode ) {
|
7 |
|
8 |
-
global $wpdb;
|
9 |
|
10 |
$generaloptions = wp_parse_args( $generaloptions, ll_reset_gen_settings( 'return' ) );
|
11 |
extract( $generaloptions );
|
@@ -18,30 +18,30 @@ function RenderLinkLibraryAlphaFilter( $LLPluginClass, $generaloptions, $library
|
|
18 |
$linkcatquery .= 'distinct substring(t.name, 1, 1) as catletter ';
|
19 |
$linkcatquery .= 'FROM ' . $LLPluginClass->db_prefix() . 'terms t LEFT JOIN ' . $LLPluginClass->db_prefix(). 'term_taxonomy tt ON (t.term_id = tt.term_id)';
|
20 |
$linkcatquery .= ' LEFT JOIN ' . $LLPluginClass->db_prefix() . 'term_relationships tr ON (tt.term_taxonomy_id = tr.term_taxonomy_id) ';
|
21 |
-
$linkcatquery .= ' LEFT JOIN ' . $LLPluginClass->db_prefix() . '
|
22 |
-
|
23 |
-
if ( $showinvisible ) {
|
24 |
-
$linkcatquery .= '
|
25 |
}
|
26 |
|
27 |
-
if (
|
28 |
-
$linkcatquery .= '
|
29 |
}
|
30 |
|
31 |
-
$linkcatquery .= ' )
|
32 |
|
33 |
-
$linkcatquery .= 'WHERE tt.taxonomy = "
|
34 |
|
35 |
-
if ( !empty( $
|
36 |
-
$linkcatquery .= ' AND t.term_id in ( ' . $
|
37 |
}
|
38 |
|
39 |
-
if ( !empty( $
|
40 |
-
$linkcatquery .= ' AND t.term_id not in ( ' . $
|
41 |
}
|
42 |
|
43 |
if ( $hide_if_empty ) {
|
44 |
-
$linkcatquery .= ' AND
|
45 |
}
|
46 |
|
47 |
$linkcatquery .= ' ORDER by catletter ASC';
|
5 |
|
6 |
function RenderLinkLibraryAlphaFilter( $LLPluginClass, $generaloptions, $libraryoptions, $settings, $searchmode ) {
|
7 |
|
8 |
+
global $wpdb;
|
9 |
|
10 |
$generaloptions = wp_parse_args( $generaloptions, ll_reset_gen_settings( 'return' ) );
|
11 |
extract( $generaloptions );
|
18 |
$linkcatquery .= 'distinct substring(t.name, 1, 1) as catletter ';
|
19 |
$linkcatquery .= 'FROM ' . $LLPluginClass->db_prefix() . 'terms t LEFT JOIN ' . $LLPluginClass->db_prefix(). 'term_taxonomy tt ON (t.term_id = tt.term_id)';
|
20 |
$linkcatquery .= ' LEFT JOIN ' . $LLPluginClass->db_prefix() . 'term_relationships tr ON (tt.term_taxonomy_id = tr.term_taxonomy_id) ';
|
21 |
+
$linkcatquery .= ' LEFT JOIN ' . $LLPluginClass->db_prefix() . 'links l on (tr.object_id = l.link_id';
|
22 |
+
|
23 |
+
if ( false == $showinvisible ) {
|
24 |
+
$linkcatquery .= ' AND l.link_visible != "N" ';
|
25 |
}
|
26 |
|
27 |
+
if ( !$showuserlinks ) {
|
28 |
+
$linkcatquery .= ' AND l.link_description not like \'%LinkLibrary:AwaitingModeration:RemoveTextToApprove%\' ';
|
29 |
}
|
30 |
|
31 |
+
$linkcatquery .= ' ) ';
|
32 |
|
33 |
+
$linkcatquery .= 'WHERE tt.taxonomy = "link_category"';
|
34 |
|
35 |
+
if ( !empty( $categorylist ) ) {
|
36 |
+
$linkcatquery .= ' AND t.term_id in ( ' . $categorylist . ' )';
|
37 |
}
|
38 |
|
39 |
+
if ( !empty( $excludecategorylist ) ) {
|
40 |
+
$linkcatquery .= ' AND t.term_id not in ( ' . $excludecategorylist . ' )';
|
41 |
}
|
42 |
|
43 |
if ( $hide_if_empty ) {
|
44 |
+
$linkcatquery .= ' AND l.link_name != "" ';
|
45 |
}
|
46 |
|
47 |
$linkcatquery .= ' ORDER by catletter ASC';
|
render-link-library-cats-sc.php
CHANGED
@@ -16,305 +16,315 @@ require_once plugin_dir_path( __FILE__ ) . 'link-library-defaults.php';
|
|
16 |
|
17 |
function RenderLinkLibraryCategories( $LLPluginClass, $generaloptions, $libraryoptions, $settings ) {
|
18 |
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
-
|
183 |
-
|
184 |
-
|
185 |
-
|
186 |
-
|
187 |
-
|
188 |
-
|
189 |
-
|
190 |
-
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
-
|
287 |
-
|
288 |
-
|
289 |
-
|
290 |
-
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
318 |
$cattext .= $cattargetaddress . '&catname=';
|
319 |
} elseif ( !empty( $cattargetaddress ) && strpos( $cattargetaddress, '?' ) == false ) {
|
320 |
$cattext .= $cattargetaddress . '?catname=';
|
@@ -322,175 +332,177 @@ function RenderLinkLibraryCategories( $LLPluginClass, $generaloptions, $libraryo
|
|
322 |
$cattext .= '?catname=';
|
323 |
} */
|
324 |
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
-
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
|
392 |
-
|
393 |
-
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
-
|
415 |
-
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
-
|
427 |
-
|
428 |
-
|
429 |
-
|
430 |
-
|
431 |
-
|
432 |
-
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
-
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
|
467 |
-
|
468 |
-
|
469 |
-
|
470 |
-
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
-
|
475 |
-
|
476 |
-
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
-
|
485 |
-
|
486 |
-
|
487 |
-
|
488 |
-
|
489 |
-
|
490 |
-
|
491 |
-
|
492 |
-
|
493 |
-
|
494 |
-
|
495 |
-
|
|
|
|
|
496 |
}
|
16 |
|
17 |
function RenderLinkLibraryCategories( $LLPluginClass, $generaloptions, $libraryoptions, $settings ) {
|
18 |
|
19 |
+
global $wpdb;
|
20 |
+
|
21 |
+
$generaloptions = wp_parse_args( $generaloptions, ll_reset_gen_settings( 'return' ) );
|
22 |
+
extract( $generaloptions );
|
23 |
+
|
24 |
+
$libraryoptions = wp_parse_args( $libraryoptions, ll_reset_options( 1, 'list', 'return' ) );
|
25 |
+
extract( $libraryoptions );
|
26 |
+
|
27 |
+
/* This case will only happen if the user entered bad data in the admin page or if someone is trying to inject bad data in SQL query */
|
28 |
+
if ( !empty( $categorylist ) ) {
|
29 |
+
$categorylistarray = explode( ',', $categorylist );
|
30 |
+
|
31 |
+
if ( true === array_filter( $categorylistarray, 'is_int' ) ) {
|
32 |
+
return 'List of requested categories is invalid. Please go back to Link Library admin panel to correct.';
|
33 |
+
}
|
34 |
+
}
|
35 |
+
|
36 |
+
if ( !empty( $excludecategorylist ) ) {
|
37 |
+
$excludecategorylistarray = explode( ',', $excludecategorylist );
|
38 |
+
|
39 |
+
if ( true === array_filter( $excludecategorylistarray, 'is_int' ) ) {
|
40 |
+
return 'List of requested excluded categories is invalid. Please go back to Link Library admin panel to correct.';
|
41 |
+
}
|
42 |
+
}
|
43 |
+
|
44 |
+
$output = '';
|
45 |
+
|
46 |
+
$categoryid = '';
|
47 |
+
|
48 |
+
if ( isset($_GET['cat_id'] ) ) {
|
49 |
+
$categoryid = intval( $_GET['cat_id'] );
|
50 |
+
} elseif ( isset( $_GET['catname'] ) ) {
|
51 |
+
$categoryterm = get_term_by( 'name', urldecode( $_GET['catname'] ), 'link_category' );
|
52 |
+
$categoryid = $categoryterm->term_id;
|
53 |
+
} elseif ( $showonecatonly ) {
|
54 |
+
$categoryid = $defaultsinglecat;
|
55 |
+
}
|
56 |
+
|
57 |
+
if ( !isset( $_GET['searchll'] ) || true == $showcatonsearchresults ) {
|
58 |
+
$countcat = 0;
|
59 |
+
|
60 |
+
$order = strtolower( $order );
|
61 |
+
|
62 |
+
$output .= "<!-- Link Library Categories Output -->\n\n";
|
63 |
+
|
64 |
+
if ( $showonecatonly && ( 'AJAX' == $showonecatmode || empty( $showonecatmode ) ) ) {
|
65 |
+
$nonce = wp_create_nonce( 'link_library_ajax_refresh' );
|
66 |
+
|
67 |
+
$output .= "<SCRIPT LANGUAGE=\"JavaScript\">\n";
|
68 |
+
$output .= "var ajaxobject;\n";
|
69 |
+
$output .= "if(typeof showLinkCat" . $settings . " !== 'function'){\n";
|
70 |
+
$output .= "window.showLinkCat" . $settings . " = function ( _incomingID, _settingsID, _pagenumber ) {\n";
|
71 |
+
$output .= "if (typeof(ajaxobject) != \"undefined\") { ajaxobject.abort(); }\n";
|
72 |
+
|
73 |
+
$output .= "\tjQuery('#contentLoading" . $settings . "').toggle();" .
|
74 |
+
"jQuery.ajax( {" .
|
75 |
+
" type: 'POST', " .
|
76 |
+
" url: '" . admin_url( 'admin-ajax.php' ) . "', " .
|
77 |
+
" data: { action: 'link_library_ajax_update', " .
|
78 |
+
" _ajax_nonce: '" . $nonce . "', " .
|
79 |
+
" id : _incomingID, " .
|
80 |
+
" settings : _settingsID, " .
|
81 |
+
" ajaxupdate : true, " .
|
82 |
+
" linkresultpage: _pagenumber }, " .
|
83 |
+
" success: function( data ){ " .
|
84 |
+
" jQuery('#linklist" . $settings. "').html( data ); " .
|
85 |
+
" jQuery('#contentLoading" . $settings . "').toggle();\n" .
|
86 |
+
" } } ); ";
|
87 |
+
$output .= "}\n";
|
88 |
+
$output .= "}\n";
|
89 |
+
|
90 |
+
$output .= "</SCRIPT>\n\n";
|
91 |
+
}
|
92 |
+
|
93 |
+
// Handle link category sorting
|
94 |
+
$direction = 'ASC';
|
95 |
+
if ( '_' == substr( $order, 0, 1 ) ) {
|
96 |
+
$direction = 'DESC';
|
97 |
+
$order = substr( $order, 1 );
|
98 |
+
}
|
99 |
+
|
100 |
+
$currentcatletter = '';
|
101 |
+
|
102 |
+
if ( $cat_letter_filter != 'no' ) {
|
103 |
+
require_once plugin_dir_path( __FILE__ ) . 'render-link-library-alpha-filter.php';
|
104 |
+
$result = RenderLinkLibraryAlphaFilter( $LLPluginClass, $generaloptions, $libraryoptions, $settings, 'normal' );
|
105 |
+
|
106 |
+
$currentcatletter = $result['currentcatletter'];
|
107 |
+
|
108 |
+
if ( 'beforecats' == $cat_letter_filter || 'beforecatsandlinks' == $cat_letter_filter ) {
|
109 |
+
$output .= $result['output'];
|
110 |
+
}
|
111 |
+
}
|
112 |
+
|
113 |
+
$searchterms = '';
|
114 |
+
|
115 |
+
if ( isset($_GET['searchll'] ) && !empty( $_GET['searchll'] ) && empty( $singlelinkid ) ) {
|
116 |
+
$searchterms = array();
|
117 |
+
$searchstring = $_GET['searchll'];
|
118 |
+
|
119 |
+
$offset = 0;
|
120 |
+
while ( false !== strpos( $searchstring, '"', $offset ) ) {
|
121 |
+
if ( 0 == $offset ) {
|
122 |
+
$offset = strpos( $searchstring, '"' );
|
123 |
+
} else {
|
124 |
+
$endpos = strpos( $searchstring, '"', $offset + 1 );
|
125 |
+
$searchterms[] = substr( $searchstring, $offset + 1, $endpos - $offset - 2 );
|
126 |
+
$strlength = ( $endpos + 1 ) - ( $offset + 1 );
|
127 |
+
$searchstring = substr_replace( $searchstring, '', $offset - 1, $endpos + 2 - ( $offset ) );
|
128 |
+
$offset = 0;
|
129 |
+
}
|
130 |
+
}
|
131 |
+
|
132 |
+
if ( ! empty( $searchstring ) ) {
|
133 |
+
$searchterms = array_merge( $searchterms, explode( " ", $searchstring ) );
|
134 |
+
}
|
135 |
+
|
136 |
+
if ( !empty( $searchterms ) ) {
|
137 |
+
$mode = 'search';
|
138 |
+
}
|
139 |
+
}
|
140 |
+
|
141 |
+
$linkcatquery = 'SELECT count(l.link_name) as linkcount, ';
|
142 |
+
$linkcatquery .= 't.name, t.term_id, t.slug as category_nicename, tt.description as category_description ';
|
143 |
+
$linkcatquery .= 'FROM ' . $LLPluginClass->db_prefix() . 'terms t LEFT JOIN ' . $LLPluginClass->db_prefix(). 'term_taxonomy tt ON (t.term_id = tt.term_id)';
|
144 |
+
$linkcatquery .= ' LEFT JOIN ' . $LLPluginClass->db_prefix() . 'term_relationships tr ON (tt.term_taxonomy_id = tr.term_taxonomy_id) ';
|
145 |
+
$linkcatquery .= ' LEFT JOIN ' . $LLPluginClass->db_prefix() . 'links l on (tr.object_id = l.link_id';
|
146 |
+
|
147 |
+
if ( false == $showinvisible ) {
|
148 |
+
$linkcatquery .= ' AND l.link_visible != "N" ';
|
149 |
+
}
|
150 |
+
|
151 |
+
if ( !$showuserlinks ) {
|
152 |
+
$linkcatquery .= ' AND l.link_description not like \'%LinkLibrary:AwaitingModeration:RemoveTextToApprove%\' ';
|
153 |
+
}
|
154 |
+
|
155 |
+
if ( !empty( $searchterms ) ) {
|
156 |
+
$termnb = 1;
|
157 |
+
|
158 |
+
foreach( $searchterms as $searchterm ) {
|
159 |
+
if ( !empty( $searchterm ) ) {
|
160 |
+
$searchterm = str_replace( '--', '', $searchterm );
|
161 |
+
$searchterm = str_replace( ';', '', $searchterm );
|
162 |
+
$searchterm = esc_html( stripslashes( $searchterm ) );
|
163 |
+
if ( true == $searchterm ) {
|
164 |
+
if ( 1 == $termnb ) {
|
165 |
+
$linkcatquery .= ' AND (link_name like "%' . $searchterm . '%" ';
|
166 |
+
$termnb++;
|
167 |
+
} else {
|
168 |
+
$linkcatquery .= ' OR link_name like "%' . $searchterm . '%" ';
|
169 |
+
}
|
170 |
+
|
171 |
+
if ( false == $hidecategorynames ) {
|
172 |
+
$linkcatquery .= ' OR name like "%' . $searchterm . '%" ';
|
173 |
+
}
|
174 |
+
|
175 |
+
if ( $shownotes ) {
|
176 |
+
$linkcatquery .= ' OR link_notes like "%' . $searchterm . '%" ';
|
177 |
+
}
|
178 |
+
|
179 |
+
if ( $showdescription ) {
|
180 |
+
$linkcatquery .= ' OR link_description like "%' . $searchterm . '%" ';
|
181 |
+
}
|
182 |
+
|
183 |
+
if ( $showlargedescription ) {
|
184 |
+
$linkcatquery .= ' OR link_textfield like "%' . $searchterm . '%" ';
|
185 |
+
}
|
186 |
+
}
|
187 |
+
}
|
188 |
+
}
|
189 |
+
|
190 |
+
$linkcatquery .= ')';
|
191 |
+
}
|
192 |
+
|
193 |
+
$linkcatquery .= ' ) ';
|
194 |
+
|
195 |
+
$linkcatquery .= 'WHERE tt.taxonomy = "link_category"';
|
196 |
+
|
197 |
+
if ( !empty( $currentcatletter ) ) {
|
198 |
+
$linkcatquery .= ' AND substring(t.name, 1, 1) = "' . $currentcatletter . '"';
|
199 |
+
}
|
200 |
+
|
201 |
+
if ( !empty( $categorylist ) ) {
|
202 |
+
$linkcatquery .= ' AND t.term_id in ( ' . $categorylist . ' )';
|
203 |
+
}
|
204 |
+
|
205 |
+
if ( !empty( $excludecategorylist ) ) {
|
206 |
+
$linkcatquery .= ' AND t.term_id not in ( ' . $excludecategorylist . ' )';
|
207 |
+
}
|
208 |
+
|
209 |
+
if ( $hide_if_empty ) {
|
210 |
+
$linkcatquery .= ' AND l.link_name != "" ';
|
211 |
+
}
|
212 |
+
|
213 |
+
$linkcatquery .= ' GROUP BY t.name ';
|
214 |
+
|
215 |
+
$validdirections = array( 'ASC', 'DESC' );
|
216 |
+
|
217 |
+
if ( 'name' == $order ) {
|
218 |
+
$linkcatquery .= ' ORDER by t.name ' . ( in_array( $direction, $validdirections ) ? $direction : 'ASC' );
|
219 |
+
} elseif ( 'id' == $order ) {
|
220 |
+
$linkcatquery .= ' ORDER by t.term_id ' . ( in_array( $direction, $validdirections ) ? $direction : 'ASC' );
|
221 |
+
} elseif ( 'order' == $order ) {
|
222 |
+
$linkcatquery .= ' ORDER by t.term_order ' . ( in_array( $direction, $validdirections ) ? $direction : 'ASC' );
|
223 |
+
} elseif ( 'catlist' == $order ) {
|
224 |
+
$linkcatquery .= ' ORDER by FIELD(t.term_id, ' . $categorylist . ' ) ';
|
225 |
+
}
|
226 |
+
|
227 |
+
$catnames = $wpdb->get_results( $linkcatquery );
|
228 |
+
|
229 |
+
if ( $debugmode ) {
|
230 |
+
$output .= "\n<!-- Category Query: " . print_r( $linkcatquery, TRUE ) . "-->\n\n";
|
231 |
+
$output .= "\n<!-- Category Results: " . print_r( $catnames, TRUE ) . "-->\n\n";
|
232 |
+
}
|
233 |
+
|
234 |
+
// Display each category
|
235 |
+
|
236 |
+
if ( $catnames ) {
|
237 |
+
|
238 |
+
$output .= '<div id="linktable" class="linktable">';
|
239 |
+
|
240 |
+
if ( 'table' == $flatlist ) {
|
241 |
+
$output .= "<table width=\"" . $table_width . "%\">\n";
|
242 |
+
} elseif ( 'unordered' == $flatlist ) {
|
243 |
+
$output .= "<ul class='menu'>\n";
|
244 |
+
} elseif ( 'dropdown' == $flatlist || 'dropdowndirect' == $flatlist ) {
|
245 |
+
$output .= "<form name='catselect'><select ";
|
246 |
+
if ( 'dropdowndirect' == $flatlist ) {
|
247 |
+
$output .= "onchange='showcategory()' ";
|
248 |
+
}
|
249 |
+
$output .= "name='catdropdown' class='catdropdown'>";
|
250 |
+
}
|
251 |
+
|
252 |
+
$linkcount = 0;
|
253 |
+
|
254 |
+
foreach ( (array) $catnames as $catname ) {
|
255 |
+
|
256 |
+
$catfront = '';
|
257 |
+
$cattext = '';
|
258 |
+
$catitem = '';
|
259 |
+
|
260 |
+
// Display the category name
|
261 |
+
$countcat += 1;
|
262 |
+
if ( $num_columns > 0 && 'table' == $flatlist && ( ( 1 == $countcat % $num_columns ) || ( 1 == $num_columns ) ) ) {
|
263 |
+
$output .= "<tr>\n";
|
264 |
+
}
|
265 |
+
|
266 |
+
if ( 'table' == $flatlist ) {
|
267 |
+
$catfront = "\t<td>";
|
268 |
+
} elseif ( 'unordered' == $flatlist ) {
|
269 |
+
$catfront = "\t<li>";
|
270 |
+
} elseif ( ( 'dropdown' == $flatlist || 'dropdowndirect' == $flatlist ) && $catname->linkcount > 0 ) {
|
271 |
+
$catfront = "\t<option ";
|
272 |
+
if ( !empty( $categoryid ) && $categoryid == $catname->term_id ) {
|
273 |
+
$catfront .= 'selected="selected" ';
|
274 |
+
}
|
275 |
+
$catfront .= 'value="';
|
276 |
+
}
|
277 |
+
|
278 |
+
if ( $catname->linkcount > 0 ) {
|
279 |
+
if ( $showonecatonly ) {
|
280 |
+
if ( 'AJAX' == $showonecatmode || empty( $showonecatmode ) ) {
|
281 |
+
if ( 'dropdown' != $flatlist && 'dropdowndirect' != $flatlist ) {
|
282 |
+
$cattext = "<a href='#' onClick=\"showLinkCat" . $settings . "('" . $catname->term_id. "', '" . $settings . "', 1);return false;\" >";
|
283 |
+
} elseif ( 'dropdown' == $flatlist || 'dropdowndirect' == $flatlist ) {
|
284 |
+
$cattext = $catname->term_id;
|
285 |
+
}
|
286 |
+
} elseif ( 'HTMLGET' == $showonecatmode ) {
|
287 |
+
if ( 'dropdown' != $flatlist && 'dropdowndirect' != $flatlist ) {
|
288 |
+
$cattext = "<a href='";
|
289 |
+
}
|
290 |
+
|
291 |
+
if ( !empty( $cattargetaddress ) && strpos( $cattargetaddress, '?' ) != false ) {
|
292 |
+
$cattext .= $cattargetaddress . '&cat_id=';
|
293 |
+
} elseif ( !empty( $cattargetaddress ) && strpos( $cattargetaddress, '?' ) == false ) {
|
294 |
+
$cattext .= $cattargetaddress . '?cat_id=';
|
295 |
+
} elseif ( empty( $cattargetaddress ) ) {
|
296 |
+
$cattext .= '?cat_id=';
|
297 |
+
}
|
298 |
+
|
299 |
+
$cattext .= $catname->term_id;
|
300 |
+
|
301 |
+
if ( 'dropdown' != $flatlist && 'dropdowndirect' != $flatlist ) {
|
302 |
+
$cattext .= "'>";
|
303 |
+
}
|
304 |
+
} elseif ( 'HTMLGETSLUG' == $showonecatmode ) {
|
305 |
+
if ( 'dropdown' != $flatlist && 'dropdowndirect' != $flatlist ) {
|
306 |
+
$cattext = "<a href='";
|
307 |
+
}
|
308 |
+
|
309 |
+
if ( !empty( $cattargetaddress ) && strpos( $cattargetaddress, '?' ) != false ) {
|
310 |
+
$cattext .= $cattargetaddress . '&cat=';
|
311 |
+
} elseif ( !empty( $cattargetaddress ) && strpos( $cattargetaddress, '?' ) == false ) {
|
312 |
+
$cattext .= $cattargetaddress . '?cat=';
|
313 |
+
} elseif ( empty( $cattargetaddress ) ) {
|
314 |
+
$cattext .= '?cat=';
|
315 |
+
}
|
316 |
+
|
317 |
+
$cattext .= $catname->category_nicename;
|
318 |
+
|
319 |
+
if ( 'dropdown' != $flatlist && 'dropdowndirect' != $flatlist ) {
|
320 |
+
$cattext .= "'>";
|
321 |
+
}
|
322 |
+
} elseif ( 'HTMLGETCATNAME' == $showonecatmode ) {
|
323 |
+
if ( 'dropdown' != $flatlist && 'dropdowndirect' != $flatlist ) {
|
324 |
+
$cattext = "<a href='";
|
325 |
+
}
|
326 |
+
|
327 |
+
/* if ( !empty( $cattargetaddress ) && strpos( $cattargetaddress, '?' ) != false ) {
|
328 |
$cattext .= $cattargetaddress . '&catname=';
|
329 |
} elseif ( !empty( $cattargetaddress ) && strpos( $cattargetaddress, '?' ) == false ) {
|
330 |
$cattext .= $cattargetaddress . '?catname=';
|
332 |
$cattext .= '?catname=';
|
333 |
} */
|
334 |
|
335 |
+
if ( !empty( $_GET ) ) {
|
336 |
+
$get_array = $_GET;
|
337 |
+
} else {
|
338 |
+
$get_array = array();
|
339 |
+
}
|
340 |
+
|
341 |
+
$get_array['catname'] = urlencode( $catname->name );
|
342 |
+
$get_query = add_query_arg( $get_array, $cattargetaddress );
|
343 |
+
|
344 |
+
$cattext .= $get_query;
|
345 |
+
|
346 |
+
if ( 'dropdown' != $flatlist && 'dropdowndirect' != $flatlist ) {
|
347 |
+
$cattext .= "'>";
|
348 |
+
}
|
349 |
+
} elseif ( 'HTMLGETPERM' == $showonecatmode ) {
|
350 |
+
if ( 'dropdown' != $flatlist && 'dropdowndirect' != $flatlist ) {
|
351 |
+
$cattext = "<a href='";
|
352 |
+
}
|
353 |
+
|
354 |
+
$cattext .= '/' . $rewritepage . '/' . $catname->category_nicename;
|
355 |
+
|
356 |
+
if ( 'dropdown' != $flatlist && 'dropdowndirect' != $flatlist ) {
|
357 |
+
$cattext .= "'>";
|
358 |
+
}
|
359 |
+
}
|
360 |
+
} else if ( $catanchor ) {
|
361 |
+
if ( !$pagination ) {
|
362 |
+
if ( 'dropdown' != $flatlist && 'dropdowndirect' != $flatlist ) {
|
363 |
+
$cattext = '<a href="';
|
364 |
+
}
|
365 |
+
|
366 |
+
$cattext .= '#' . $catname->category_nicename;
|
367 |
+
|
368 |
+
if ( 'dropdown' != $flatlist && 'dropdowndirect' != $flatlist ) {
|
369 |
+
$cattext .= '">';
|
370 |
+
}
|
371 |
+
} elseif ( $pagination ) {
|
372 |
+
if ( 0 == $linksperpage || empty( $linksperpage ) ) {
|
373 |
+
$linksperpage = 5;
|
374 |
+
}
|
375 |
+
|
376 |
+
$pageposition = ( $linkcount + 1 ) / $linksperpage;
|
377 |
+
$ceilpageposition = ceil( $pageposition );
|
378 |
+
if ( 0 == $ceilpageposition && !isset( $_GET['linkresultpage'] ) ) {
|
379 |
+
if ( 'dropdown' != $flatlist && 'dropdowndirect' != $flatlist ) {
|
380 |
+
$cattext = '<a href="';
|
381 |
+
}
|
382 |
+
|
383 |
+
$cattext .= get_permalink() . '#' . $catname->category_nicename;
|
384 |
+
|
385 |
+
if ( 'dropdown' != $flatlist && 'dropdowndirect' != $flatlist ) {
|
386 |
+
$cattext .= '">';
|
387 |
+
}
|
388 |
+
} else {
|
389 |
+
if ( 'dropdown' != $flatlist && 'dropdowndirect' != $flatlist ) {
|
390 |
+
$cattext = '<a href="';
|
391 |
+
}
|
392 |
+
|
393 |
+
$cattext .= '?linkresultpage=' . ( $ceilpageposition == 0 ? 1 : $ceilpageposition ) . '#' . $catname->category_nicename;
|
394 |
+
|
395 |
+
if ( 'dropdown' != $flatlist && 'dropdowndirect' != $flatlist ) {
|
396 |
+
$cattext .= '">';
|
397 |
+
}
|
398 |
+
}
|
399 |
+
|
400 |
+
$linkcount = $linkcount + $catname->linkcount;
|
401 |
+
}
|
402 |
+
} else {
|
403 |
+
$cattext = '';
|
404 |
+
}
|
405 |
+
|
406 |
+
if ( 'dropdown' == $flatlist || 'dropdowndirect' == $flatlist ) {
|
407 |
+
$cattext .= '">';
|
408 |
+
}
|
409 |
+
} else {
|
410 |
+
$cattext .= '<span class="emptycat">';
|
411 |
+
}
|
412 |
+
|
413 |
+
if ( 'right' == $catlistdescpos || empty( $catlistdescpos ) ) {
|
414 |
+
$catitem .= '<div class="linkcatname">' . $catname->name;
|
415 |
+
if ($showcatlinkcount) {
|
416 |
+
$catitem .= '<span class="linkcatcount"> (' . $catname->linkcount . ')</span>';
|
417 |
+
}
|
418 |
+
$catitem .= '</div>';
|
419 |
+
}
|
420 |
+
|
421 |
+
if ( $showcategorydescheaders ) {
|
422 |
+
$catname->category_description = esc_html( $catname->category_description );
|
423 |
+
$catname->category_description = str_replace( '[', '<', $catname->category_description );
|
424 |
+
$catname->category_description = str_replace( ']', '>', $catname->category_description );
|
425 |
+
$catname->category_description = str_replace( """, '"', $catname->category_description );
|
426 |
+
$catitem .= '<span class="linkcatdesc">' . $catname->category_description . '</span>';
|
427 |
+
}
|
428 |
+
|
429 |
+
if ( 'left' == $catlistdescpos ) {
|
430 |
+
$catitem .= '<div class="linkcatname">' . $catname->name;
|
431 |
+
if ( $showcatlinkcount ) {
|
432 |
+
$catitem .= '<span class="linkcatcount"> (' . $catname->linkcount . ')</span>';
|
433 |
+
}
|
434 |
+
$catitem .= '</div>';
|
435 |
+
}
|
436 |
+
|
437 |
+
if ( $catname->linkcount > 0 ) {
|
438 |
+
if ( ( $catanchor || $showonecatonly ) && 'dropdown' != $flatlist && 'dropdowndirect' != $flatlist ) {
|
439 |
+
$catitem .= '</a>';
|
440 |
+
}
|
441 |
+
} else {
|
442 |
+
$catitem .= '</span>';
|
443 |
+
}
|
444 |
+
|
445 |
+
$output .= ( $catfront . $cattext . $catitem );
|
446 |
+
|
447 |
+
if ( 'table' == $flatlist ) {
|
448 |
+
$catterminator = "</td>\n";
|
449 |
+
} elseif ( 'unordered' == $flatlist ) {
|
450 |
+
$catterminator = "</li>\n";
|
451 |
+
} elseif ( 'dropdown' == $flatlist || 'dropdowndirect' == $flatlist ) {
|
452 |
+
$catterminator = "</option>\n";
|
453 |
+
}
|
454 |
+
|
455 |
+
$output .= ( $catterminator );
|
456 |
+
|
457 |
+
if ( $num_columns > 0 && 'table' == $flatlist and ( 0 == $countcat % $num_columns ) ) {
|
458 |
+
$output .= "</tr>\n";
|
459 |
+
}
|
460 |
+
}
|
461 |
+
|
462 |
+
if ( $num_columns > 0 && 'table' == $flatlist and ( 3 == $countcat % $num_columns ) ) {
|
463 |
+
$output .= "</tr>\n";
|
464 |
+
}
|
465 |
+
|
466 |
+
if ( 'table' == $flatlist && $catnames ) {
|
467 |
+
$output .= "</table>\n";
|
468 |
+
} elseif ( 'unordered' == $flatlist && $catnames ) {
|
469 |
+
$output .= "</ul>\n";
|
470 |
+
} elseif ( ( 'dropdown' == $flatlist || 'dropdowndirect' == $flatlist ) && $catnames ) {
|
471 |
+
$output .= "</select>\n";
|
472 |
+
if ( 'dropdown' == $flatlist ) {
|
473 |
+
$output .= "<button type='button' onclick='showcategory()'>" . __('Go!', 'link-library') . "</button>";
|
474 |
+
}
|
475 |
+
$output .= '</form>';
|
476 |
+
}
|
477 |
+
|
478 |
+
$output .= "</div>\n";
|
479 |
+
|
480 |
+
if ( $showonecatonly && ( 'AJAX' == $showonecatmode || empty( $showonecatmode ) ) ) {
|
481 |
+
if ( empty( $loadingicon ) ) {
|
482 |
+
$loadingicon = '/icons/Ajax-loader.gif';
|
483 |
+
}
|
484 |
+
|
485 |
+
$output .= "<div class='contentLoading' id='contentLoading" . $settings . "' style='display: none;'><img src='" . plugins_url( $loadingicon, __FILE__ ) . "' alt='Loading data, please wait...'></div>\n";
|
486 |
+
}
|
487 |
+
|
488 |
+
if ( 'dropdown' == $flatlist || 'dropdowndirect' == $flatlist ) {
|
489 |
+
$output .= "<SCRIPT TYPE='text/javascript'>\n";
|
490 |
+
$output .= "\tfunction showcategory(){\n";
|
491 |
+
|
492 |
+
if ( $showonecatonly && ( 'AJAX' == $showonecatmode || empty( $showonecatmode ) ) ) {
|
493 |
+
$output .= 'catidvar = document.catselect.catdropdown.options[document.catselect.catdropdown.selectedIndex].value;';
|
494 |
+
$output .= "showLinkCat" . $settings . "(catidvar, '" . $settings . "', 1);return false; }";
|
495 |
+
} else {
|
496 |
+
$output .= "\t\tlocation=\n";
|
497 |
+
$output .= "document.catselect.catdropdown.options[document.catselect.catdropdown.selectedIndex].value }\n";
|
498 |
+
}
|
499 |
+
$output .= "</SCRIPT>\n";
|
500 |
+
}
|
501 |
+
} else {
|
502 |
+
$output .= '<div>' . __('No categories found', 'link-library') . '.</div>';
|
503 |
+
}
|
504 |
+
|
505 |
+
$output .= "\n<!-- End of Link Library Categories Output -->\n\n";
|
506 |
+
}
|
507 |
+
return $output;
|
508 |
}
|
render-link-library-sc.php
CHANGED
@@ -24,62 +24,6 @@ function link_library_highlight_phrase( $str, $phrase, $tag_open = '<strong>', $
|
|
24 |
return $str;
|
25 |
}
|
26 |
|
27 |
-
function link_library_get_category_path( $slug ) {
|
28 |
-
|
29 |
-
$cat_path = '';
|
30 |
-
|
31 |
-
$term = get_term_by( 'slug', $slug, 'link_library_category' );
|
32 |
-
|
33 |
-
if ( !empty( $term ) && $term->parent != 0 ) {
|
34 |
-
$parent_term = get_term_by( 'id', $term->parent, 'link_library_category' );
|
35 |
-
if ( !empty( $parent_term ) ) {
|
36 |
-
$cat_path .= link_library_get_category_path( $parent_term->slug );
|
37 |
-
}
|
38 |
-
}
|
39 |
-
|
40 |
-
$cat_path .= '/' . $slug;
|
41 |
-
return $cat_path;
|
42 |
-
}
|
43 |
-
|
44 |
-
function link_library_get_breadcrumb_path( $slug, $rewritepage, $level = 0 ) {
|
45 |
-
$cat_path = '';
|
46 |
-
|
47 |
-
$term = get_term_by( 'slug', $slug, 'link_library_category' );
|
48 |
-
|
49 |
-
if ( !empty( $term ) ) {
|
50 |
-
$parent_term = get_term_by( 'id', $term->parent, 'link_library_category' );
|
51 |
-
if ( !empty( $parent_term ) ) {
|
52 |
-
$cat_path .= link_library_get_breadcrumb_path( $parent_term->slug, $rewritepage, $level + 1 ) . ' - ';
|
53 |
-
}
|
54 |
-
}
|
55 |
-
|
56 |
-
$new_link = home_url() . '/' . $rewritepage . link_library_get_category_path( $slug );
|
57 |
-
if ( isset( $_GET['link_tags'] ) && !empty( $_GET['link_tags'] ) ) {
|
58 |
-
$new_link = add_query_arg( 'link_tags', $_GET['link_tags'], $new_link );
|
59 |
-
}
|
60 |
-
|
61 |
-
if ( isset( $_GET['link_price'] ) && !empty( $_GET['link_price'] ) ) {
|
62 |
-
$new_link = add_query_arg( 'link_price', $_GET['link_price'], $new_link );
|
63 |
-
}
|
64 |
-
|
65 |
-
$cat_path .= '<a href="' . $new_link . '">' . $term->name . '</a>';
|
66 |
-
|
67 |
-
if ( $level == 0 ) {
|
68 |
-
$new_top_link = home_url() . '/' . $rewritepage;
|
69 |
-
|
70 |
-
if ( isset( $_GET['link_tags'] ) && !empty( $_GET['link_tags'] ) ) {
|
71 |
-
$new_top_link = add_query_arg( 'link_tags', $_GET['link_tags'], $new_top_link );
|
72 |
-
}
|
73 |
-
if ( isset( $_GET['link_price'] ) && !empty( $_GET['link_price'] ) ) {
|
74 |
-
$new_top_link = add_query_arg( 'link_price', $_GET['link_price'], $new_top_link );
|
75 |
-
}
|
76 |
-
|
77 |
-
$cat_path = '<a href="' . $new_top_link . '">Home</a> - ' . $cat_path;
|
78 |
-
}
|
79 |
-
|
80 |
-
return $cat_path;
|
81 |
-
}
|
82 |
-
|
83 |
function link_library_display_pagination( $previouspagenumber, $nextpagenumber, $numberofpages, $pagenumber,
|
84 |
$showonecatonly, $showonecatmode, $AJAXcatid, $settings, $pageID, $currentcatletter ) {
|
85 |
|
@@ -96,7 +40,7 @@ function link_library_display_pagination( $previouspagenumber, $nextpagenumber,
|
|
96 |
}
|
97 |
|
98 |
if ( 1 < $numberofpages ) {
|
99 |
-
$paginationoutput = '<div class="pageselector"
|
100 |
|
101 |
if ( 1 != $pagenumber ) {
|
102 |
$paginationoutput .= '<span class="previousnextactive">';
|
@@ -105,17 +49,16 @@ function link_library_display_pagination( $previouspagenumber, $nextpagenumber,
|
|
105 |
if ( 'AJAX' == $showonecatmode ) {
|
106 |
$paginationoutput .= "<a href=\"#\" onClick=\"showLinkCat" . $settings . "('', '" . $settings . "', " . $previouspagenumber . ");return false;\" >" . __('Previous', 'link-library') . '</a>';
|
107 |
} else {
|
108 |
-
|
109 |
-
$argumentarray = array( 'linkresultpage' => $previouspagenumber );
|
110 |
|
111 |
-
if ( !
|
112 |
$argumentarray['catletter'] = $currentcatletter;
|
113 |
}
|
114 |
|
115 |
$argumentarray = array_merge( $argumentarray, $incomingget );
|
116 |
$targetaddress = esc_url( add_query_arg( $argumentarray ) );
|
117 |
|
118 |
-
$paginationoutput .= '<a href="' . $targetaddress . '">' . __(
|
119 |
}
|
120 |
} elseif ( $showonecatonly ) {
|
121 |
if ( 'AJAX' == $showonecatmode || empty( $showonecatmode ) ) {
|
@@ -153,9 +96,9 @@ function link_library_display_pagination( $previouspagenumber, $nextpagenumber,
|
|
153 |
if ( 'AJAX' == $showonecatmode ) {
|
154 |
$paginationoutput .= "<a href=\"#\" onClick=\"showLinkCat" . $settings . "('', '" . $settings . "', " . $counter . ");return false;\" >" . $counter . '</a>';
|
155 |
} else {
|
156 |
-
$argumentarray = array( 'linkresultpage' => $counter );
|
157 |
|
158 |
-
if ( !
|
159 |
$argumentarray['catletter'] = $currentcatletter;
|
160 |
}
|
161 |
|
@@ -205,16 +148,16 @@ function link_library_display_pagination( $previouspagenumber, $nextpagenumber,
|
|
205 |
if ( 'AJAX' == $showonecatmode ) {
|
206 |
$paginationoutput .= "<a href=\"#\" onClick=\"showLinkCat" . $settings . "('', '" . $settings . "', " . $nextpagenumber . ");return false;\" >" . __('Next', 'link-library') . '</a>';
|
207 |
} else {
|
208 |
-
$argumentarray = array( 'page_id' => $pageID, 'linkresultpage' => $nextpagenumber );
|
209 |
|
210 |
-
if ( !
|
211 |
$argumentarray['catletter'] = $currentcatletter;
|
212 |
}
|
213 |
|
214 |
$argumentarray = array_merge( $argumentarray, $incomingget );
|
215 |
$targetaddress = esc_url( add_query_arg( $argumentarray ) );
|
216 |
|
217 |
-
$paginationoutput .= '<a href="' . $targetaddress . '">' . __(
|
218 |
}
|
219 |
} elseif ( $showonecatonly ) {
|
220 |
if ( 'AJAX' == $showonecatmode || empty( $showonecatmode ) ) {
|
@@ -234,7 +177,7 @@ function link_library_display_pagination( $previouspagenumber, $nextpagenumber,
|
|
234 |
$paginationoutput .= '<span class="previousnextinactive">' . __('Next', 'link-library') . '</span>';
|
235 |
}
|
236 |
|
237 |
-
$paginationoutput .= '</div
|
238 |
}
|
239 |
|
240 |
if ( 'AJAX' == $showonecatmode ) {
|
@@ -247,19 +190,19 @@ function link_library_display_pagination( $previouspagenumber, $nextpagenumber,
|
|
247 |
$paginationoutput .= "if (typeof(ajaxobject) != \"undefined\") { ajaxobject.abort(); }\n";
|
248 |
|
249 |
$paginationoutput .= "\tjQuery('#contentLoading" . $settings . "').toggle();" .
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
$paginationoutput .= "}\n";
|
264 |
$paginationoutput .= "}\n";
|
265 |
|
@@ -280,11 +223,11 @@ function link_library_display_pagination( $previouspagenumber, $nextpagenumber,
|
|
280 |
* @return List of categories output for browser
|
281 |
*/
|
282 |
|
283 |
-
function RenderLinkLibrary( $LLPluginClass, $generaloptions, $libraryoptions, $settings, $onlycount = 'false'
|
284 |
|
|
|
285 |
$showonecatonly = '';
|
286 |
$showonecatmode = '';
|
287 |
-
$AJAXcatid = '';
|
288 |
|
289 |
$generaloptions = wp_parse_args( $generaloptions, ll_reset_gen_settings( 'return' ) );
|
290 |
extract( $generaloptions );
|
@@ -292,47 +235,17 @@ function RenderLinkLibrary( $LLPluginClass, $generaloptions, $libraryoptions, $s
|
|
292 |
$libraryoptions = wp_parse_args( $libraryoptions, ll_reset_options( 1, 'list', 'return' ) );
|
293 |
extract( $libraryoptions );
|
294 |
|
295 |
-
global $wp_query;
|
296 |
-
|
297 |
-
if ( $level == 0 && ( ( isset( $_GET['cat_name'] ) && !empty( $_GET['cat_name'] ) ) || ( isset( $wp_query->query_vars['cat_name'] ) && !empty( $wp_query->query_vars['cat_name'] ) ) ) ) {
|
298 |
-
if ( !empty( $_GET['cat_name'] ) ) {
|
299 |
-
$category_entry = get_term_by( 'slug', $_GET['cat_name'], 'link_library_category', OBJECT );
|
300 |
-
} elseif ( !empty( $wp_query->query_vars['cat_name'] ) ) {
|
301 |
-
$last_slash_pos = strripos( $wp_query->query_vars['cat_name'], '/' );
|
302 |
-
if ( $last_slash_pos != 0 ) {
|
303 |
-
$cat_string = substr( $wp_query->query_vars['cat_name'], $last_slash_pos );
|
304 |
-
} else {
|
305 |
-
$cat_string = $wp_query->query_vars['cat_name'];
|
306 |
-
}
|
307 |
-
|
308 |
-
$category_entry = get_term_by( 'slug', $cat_string, 'link_library_category', OBJECT );
|
309 |
-
}
|
310 |
-
|
311 |
-
if ( !empty( $category_entry ) ) {
|
312 |
-
$AJAXcatid = $category_entry->term_id;
|
313 |
-
$parent_cat_id = $AJAXcatid;
|
314 |
-
}
|
315 |
-
}
|
316 |
-
|
317 |
-
if ( 0 == $parent_cat_id && $hidechildcatlinks ) {
|
318 |
-
$hide_children_cat_links = $hidechildcatlinks;
|
319 |
-
}
|
320 |
-
|
321 |
-
if ( 0 == $parent_cat_id && $hidechildcattop ) {
|
322 |
-
$display_children = false;
|
323 |
-
}
|
324 |
-
|
325 |
/* This case will only happen if the user entered bad data in the admin page or if someone is trying to inject bad data in SQL query */
|
326 |
-
if ( !empty( $
|
327 |
-
$categorylistarray = explode( ',', $
|
328 |
|
329 |
if ( true === array_filter( $categorylistarray, 'is_int' ) ) {
|
330 |
return 'List of requested categories is invalid. Please go back to Link Library admin panel to correct.';
|
331 |
}
|
332 |
}
|
333 |
|
334 |
-
if ( !empty( $
|
335 |
-
$excludecategorylistarray = explode( ',', $
|
336 |
|
337 |
if ( true === array_filter( $excludecategorylistarray, 'is_int' ) ) {
|
338 |
return 'List of requested excluded categories is invalid. Please go back to Link Library admin panel to correct.';
|
@@ -343,41 +256,23 @@ function RenderLinkLibrary( $LLPluginClass, $generaloptions, $libraryoptions, $s
|
|
343 |
|
344 |
$linkeditoruser = current_user_can( 'manage_links' );
|
345 |
|
346 |
-
|
347 |
-
$output = "\n<!-- Beginning of Link Library Output -->\n\n";
|
348 |
-
} else {
|
349 |
-
$output = '';
|
350 |
-
}
|
351 |
|
352 |
$currentcategory = 1;
|
353 |
-
$pagenumber = 1;
|
354 |
-
$currentcatletter = '';
|
355 |
-
$number_of_pages = 1;
|
356 |
$categoryname = '';
|
357 |
$mode = 'normal';
|
358 |
|
359 |
-
$AJAXnocatset = false;
|
360 |
if ( $showonecatonly && 'AJAX' == $showonecatmode && isset( $AJAXcatid ) && empty( $AJAXcatid ) ) {
|
361 |
$AJAXnocatset = true;
|
362 |
-
}
|
363 |
-
|
364 |
-
$GETnocatset = false;
|
365 |
-
if ( $showonecatonly && ( 'HTMLGET' == $showonecatmode || 'HTMLGETSLUG' == $showonecatmode || 'HTMLGETCATNAME' == $showonecatmode ) ) {
|
366 |
-
if ( 'HTMLGET' == $showonecatmode && ( !isset( $_GET['cat_id'] ) || ( isset( $_GET['cat_id'] ) && empty( $_GET['cat_id'] ) ) ) ) {
|
367 |
-
$GETnocatset = true;
|
368 |
-
} elseif ( 'HTMLGETSLUG' == $showonecatmode && ( !isset( $_GET['cat'] ) || ( isset( $_GET['cat'] ) && empty( $_GET['cat'] ) ) ) ) {
|
369 |
-
$GETnocatset = true;
|
370 |
-
} elseif ( 'HTMLGETCATNAME' == $showonecatmode && ( !isset( $_GET['catname'] ) || ( isset( $_GET['catname'] ) && empty( $_GET['catname'] ) ) ) ) {
|
371 |
-
$GETnocatset = true;
|
372 |
-
}
|
373 |
-
|
374 |
}
|
375 |
|
376 |
if ( $showonecatonly && 'AJAX' == $showonecatmode && isset( $AJAXcatid ) && !empty( $AJAXcatid ) && ( !isset( $_GET['searchll'] ) || empty( $_GET['searchll'] ) ) ) {
|
377 |
-
$
|
378 |
} elseif ($showonecatonly && 'HTMLGET' == $showonecatmode && isset( $_GET['cat_id'] ) && ( !isset( $_GET['searchll'] ) || ( isset( $_GET['searchll'] ) && empty( $_GET['searchll'] ) ) ) ) {
|
379 |
-
$
|
380 |
-
$AJAXcatid = $
|
381 |
} elseif ($showonecatonly && 'HTMLGETSLUG' == $showonecatmode && isset( $_GET['cat'] ) && ( !isset( $_GET['searchll'] ) || ( isset( $_GET['searchll'] ) && empty( $_GET['searchll'] ) ) ) ) {
|
382 |
$categorysluglist = $_GET['cat'];
|
383 |
} elseif ($showonecatonly && 'HTMLGETCATNAME' == $showonecatmode && isset( $_GET['catname'] ) && ( !isset( $_GET['searchll'] ) || ( isset( $_GET['searchll'] ) && empty( $_GET['searchll'] ) ) ) ) {
|
@@ -385,257 +280,349 @@ function RenderLinkLibrary( $LLPluginClass, $generaloptions, $libraryoptions, $s
|
|
385 |
}elseif ( $showonecatonly && 'HTMLGETPERM' == $showonecatmode && empty( $_GET['searchll'] ) ) {
|
386 |
global $wp_query;
|
387 |
|
388 |
-
|
|
|
|
|
|
|
389 |
$AJAXcatid = $categoryname;
|
390 |
-
$categorysluglist = '';
|
391 |
if ( isset( $_GET['cat'] ) ) {
|
392 |
$categorysluglist = $_GET['cat'];
|
|
|
|
|
393 |
}
|
394 |
-
} elseif ( $showonecatonly && ( !isset( $AJAXcatid ) || empty( $AJAXcatid ) ) && !empty( $
|
395 |
-
$
|
396 |
-
$AJAXcatid = $
|
397 |
} elseif ( $showonecatonly && ( !isset( $AJAXcatid ) || empty( $AJAXcatid ) ) && isset( $_GET['cat_id'] ) && !empty( $_GET['cat_id'] ) && ( !isset( $_GET['searchll'] ) || ( isset( $_GET['searchll'] ) && empty( $_GET['searchll'] ) ) ) ) {
|
398 |
-
$
|
399 |
-
$AJAXcatid = $
|
400 |
$defaultsinglecat = $AJAXcatid;
|
401 |
-
} elseif ( $showonecatonly && ( !isset( $AJAXcatid ) || empty( $AJAXcatid ) ) && empty( $
|
402 |
-
|
403 |
-
$
|
|
|
|
|
|
|
|
|
|
|
404 |
|
405 |
if ( $hide_if_empty ) {
|
406 |
-
$
|
407 |
-
} else {
|
408 |
-
$show_one_cat_query_args['hide_empty'] = false;
|
409 |
}
|
410 |
|
411 |
-
if (
|
412 |
-
|
413 |
-
} elseif ( $showuserlinks && !$showinvisible && !$showinvisibleadmin ) {
|
414 |
-
add_filter( 'get_terms', 'link_library_get_terms_filter_publish_pending', 10, 3 );
|
415 |
-
} elseif ( !$showuserlinks && ( $showinvisible || ( $showinvisibleadmin && $linkeditoruser ) ) ) {
|
416 |
-
add_filter( 'get_terms', 'link_library_get_terms_filter_publish_draft', 10, 3 );
|
417 |
-
} elseif ( $showuserlinks && ( $showinvisible || ( $showinvisibleadmin && $linkeditoruser ) ) ) {
|
418 |
-
add_filter( 'get_terms', 'link_library_get_terms_filter_publish_draft_pending', 10, 3 );
|
419 |
}
|
420 |
|
421 |
-
if ( !empty( $
|
422 |
-
$
|
423 |
}
|
424 |
|
425 |
-
if (
|
426 |
-
$
|
427 |
}
|
428 |
|
429 |
-
if (
|
430 |
-
$
|
431 |
-
|
432 |
|
433 |
-
|
434 |
-
$show_one_cat_query_args['slug'] = $categoryname;
|
435 |
}
|
436 |
|
437 |
-
|
438 |
-
$show_one_cat_query_args['name'] = explode( ',', urldecode( $categorynamelist ) );
|
439 |
-
}
|
440 |
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
|
|
|
|
|
|
|
|
|
|
448 |
|
449 |
-
|
|
|
450 |
|
451 |
-
|
452 |
-
|
453 |
-
|
454 |
-
remove_filter( 'get_terms', 'link_library_get_terms_filter_publish_draft' );
|
455 |
-
remove_filter( 'get_terms', 'link_library_get_terms_filter_publish_draft_pending' );
|
456 |
|
457 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
458 |
|
459 |
-
$
|
460 |
|
461 |
if ( $debugmode ) {
|
462 |
-
$output .= "\n<!-- AJAX Default Category Query: " . print_r( $
|
463 |
-
$output .= "\n<!-- AJAX Default Category Results: " . print_r( $
|
464 |
}
|
465 |
|
466 |
-
if ( $
|
467 |
-
$
|
468 |
-
$AJAXcatid = $
|
469 |
}
|
470 |
}
|
471 |
|
472 |
$searchterms = '';
|
473 |
|
474 |
if ( isset($_GET['searchll'] ) && !empty( $_GET['searchll'] ) && empty( $singlelinkid ) ) {
|
475 |
-
$searchstring = $_GET['searchll'];
|
476 |
-
$searchstringcopy = $searchstring;
|
477 |
$searchterms = array();
|
|
|
478 |
|
479 |
$offset = 0;
|
480 |
-
while ( false !== strpos( $
|
481 |
if ( 0 == $offset ) {
|
482 |
-
$offset = strpos( $
|
483 |
} else {
|
484 |
-
$endpos = strpos( $
|
485 |
-
$searchterms[] = substr( $
|
486 |
$strlength = ( $endpos + 1 ) - ( $offset + 1 );
|
487 |
-
$
|
488 |
$offset = 0;
|
489 |
}
|
490 |
}
|
491 |
|
492 |
-
if ( ! empty( $
|
493 |
-
$searchterms = array_merge( $searchterms, explode( " ", $
|
494 |
}
|
495 |
-
|
496 |
-
if ( !empty( $
|
497 |
$mode = 'search';
|
498 |
-
$showlinksonclick = false;
|
499 |
}
|
500 |
}
|
501 |
|
502 |
-
$
|
503 |
-
|
504 |
-
if ( isset( $link_count ) && !empty( (array) $link_count ) && ( $link_count->publish > 0 || ( $showinvisible && $link_count->private > 0 ) || ( $showuserlinks && $link_count->pending ) ) ) {
|
505 |
-
$currentcatletter = '';
|
506 |
|
507 |
-
|
508 |
-
|
509 |
-
|
510 |
|
511 |
-
|
512 |
|
513 |
-
|
514 |
-
|
515 |
-
}
|
516 |
}
|
|
|
517 |
|
518 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
519 |
|
520 |
-
|
521 |
-
|
522 |
-
|
523 |
-
$link_categories_query_args['hide_empty'] = false;
|
524 |
-
}
|
525 |
|
526 |
-
|
527 |
-
|
528 |
-
|
529 |
-
add_filter( 'get_terms', 'link_library_get_terms_filter_publish_pending', 10, 3 );
|
530 |
-
} elseif ( !$showuserlinks && ( $showinvisible || ( $showinvisibleadmin && $linkeditoruser ) ) ) {
|
531 |
-
add_filter( 'get_terms', 'link_library_get_terms_filter_publish_draft', 10, 3 );
|
532 |
-
} elseif ( $showuserlinks && ( $showinvisible || ( $showinvisibleadmin && $linkeditoruser ) ) ) {
|
533 |
-
add_filter( 'get_terms', 'link_library_get_terms_filter_publish_draft_pending', 10, 3 );
|
534 |
-
}
|
535 |
|
536 |
-
|
537 |
-
|
538 |
-
|
|
|
|
|
|
|
|
|
539 |
|
540 |
-
|
541 |
-
|
542 |
-
|
543 |
|
544 |
-
|
545 |
-
|
546 |
-
|
547 |
|
548 |
-
|
549 |
-
|
550 |
-
|
551 |
|
552 |
-
|
553 |
-
|
554 |
-
|
555 |
|
556 |
-
|
557 |
-
|
558 |
-
|
559 |
-
} elseif ( 'id' == $order ) {
|
560 |
-
$link_categories_query_args['orderby'] = 'id';
|
561 |
-
$link_categories_query_args['order'] = in_array( $direction, $validdirections ) ? $direction : 'ASC';
|
562 |
-
}
|
563 |
|
564 |
-
|
565 |
-
|
566 |
-
|
567 |
-
|
568 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
569 |
|
570 |
-
|
571 |
-
|
572 |
-
|
573 |
-
|
574 |
-
|
575 |
-
|
576 |
-
|
577 |
-
|
578 |
-
if ( $
|
579 |
-
$
|
580 |
-
|
|
|
|
|
|
|
581 |
}
|
582 |
}
|
583 |
}
|
584 |
}
|
585 |
|
586 |
-
|
587 |
-
|
588 |
-
|
589 |
-
|
590 |
-
|
591 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
592 |
}
|
593 |
|
594 |
-
|
595 |
-
|
596 |
-
$linksperpage = 5;
|
597 |
-
}
|
598 |
|
599 |
-
|
600 |
-
|
601 |
-
|
602 |
-
}
|
603 |
|
604 |
-
|
605 |
-
|
606 |
-
|
607 |
-
|
608 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
609 |
|
610 |
-
|
611 |
-
$preroundpages = $number_of_links / $linksperpage;
|
612 |
-
$number_of_pages = ceil( $preroundpages * 1 ) / 1;
|
613 |
-
}
|
614 |
|
615 |
-
|
616 |
|
617 |
-
|
618 |
-
|
619 |
-
|
620 |
-
|
621 |
-
|
622 |
-
|
623 |
-
|
624 |
-
$pagenumber =
|
625 |
-
|
|
|
626 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
627 |
}
|
628 |
|
629 |
-
if ( $
|
630 |
-
|
|
|
|
|
|
|
631 |
}
|
632 |
|
633 |
-
if ( $
|
634 |
-
$
|
635 |
-
$
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
636 |
|
637 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
638 |
|
|
|
|
|
|
|
|
|
639 |
if ( empty( $AJAXcatid ) && !empty( $categorysluglist ) ) {
|
640 |
$AJAXcatid = $categorysluglist;
|
641 |
}
|
@@ -643,1443 +630,967 @@ function RenderLinkLibrary( $LLPluginClass, $generaloptions, $libraryoptions, $s
|
|
643 |
$AJAXcatid = $categorynamelist;
|
644 |
}
|
645 |
|
646 |
-
$output .= link_library_display_pagination( $previouspagenumber, $nextpagenumber, $
|
647 |
}
|
648 |
|
649 |
-
if (
|
650 |
-
$output .= '<div class="resulttitle">' . __('Search Results for', 'link-library') . ' "' . esc_html( stripslashes( $_GET['searchll'] ) ) . '"</div
|
651 |
}
|
652 |
|
653 |
-
|
654 |
-
$output .= '<div class="toppagetext">' . nl2br( $toppagetext ) . '</div>';
|
655 |
-
}
|
656 |
|
657 |
$xpath = $LLPluginClass->relativePath( dirname( __FILE__ ), ABSPATH );
|
658 |
|
659 |
-
$linkcount = 1;
|
660 |
|
661 |
-
|
662 |
-
foreach ( $link_categories as $link_category ) {
|
663 |
-
if ( $enablerewrite && $showbreadcrumbspermalinks && $parent_cat_id != 0 && $level == 0) {
|
664 |
-
$breadcrumb = '<div class="breadcrumb">' . link_library_get_breadcrumb_path( $link_category->slug, $rewritepage ) . '</div>';
|
665 |
-
$output .= $breadcrumb;
|
666 |
-
}
|
667 |
|
668 |
-
|
669 |
-
if ( $linkcount + $link_category->count - 1 < $startingitem || $linkcount > $startingitem + $linksperpage - 1 ) {
|
670 |
-
$linkcount = $linkcount + $link_category->count;
|
671 |
-
continue;
|
672 |
-
}
|
673 |
-
}
|
674 |
|
675 |
-
|
|
|
|
|
|
|
|
|
|
|
676 |
break;
|
677 |
}
|
678 |
|
679 |
-
|
680 |
-
|
681 |
-
|
682 |
-
|
683 |
-
|
684 |
-
|
685 |
-
|
686 |
-
|
687 |
-
'include_children' => false
|
688 |
-
|
689 |
-
);
|
690 |
-
if ( sizeof( $link_query_args['tax_query'] > 1 ) ) {
|
691 |
-
$link_query_args['tax_query']['relation'] = 'AND';
|
692 |
}
|
693 |
-
}
|
694 |
|
695 |
-
|
696 |
-
|
|
|
697 |
|
698 |
-
|
699 |
-
|
700 |
-
$
|
701 |
}
|
702 |
-
|
703 |
-
|
704 |
-
|
705 |
-
'terms' => $tag_array,
|
706 |
-
);
|
707 |
-
if ( sizeof( $link_query_args['tax_query'] > 1 ) ) {
|
708 |
-
$link_query_args['tax_query']['relation'] = 'AND';
|
709 |
}
|
710 |
-
}
|
711 |
|
712 |
-
|
713 |
-
|
|
|
714 |
}
|
715 |
|
716 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
717 |
|
718 |
-
|
719 |
-
|
720 |
-
|
721 |
|
722 |
-
|
723 |
-
|
724 |
-
|
725 |
|
726 |
-
|
727 |
-
|
728 |
-
|
|
|
|
|
729 |
|
730 |
-
|
731 |
-
$
|
732 |
-
|
733 |
-
} elseif ( isset( $_GET['linkprice'] ) && in_array( $_GET['linkprice'], array( 'ASC', 'DESC' ) ) ) {
|
734 |
-
$linkorder = 'price';
|
735 |
-
$linkdirection = $_GET['linkprice'];
|
736 |
-
}
|
737 |
|
738 |
-
|
739 |
-
|
740 |
-
|
741 |
-
|
742 |
-
|
743 |
-
$link_query_args['order'] = in_array( $linkdirection, $validdirections ) ? $linkdirection : 'ASC';
|
744 |
-
} elseif ( 'date' == $linkorder ) {
|
745 |
-
$link_query_args['orderby'] = 'meta_value_num';
|
746 |
-
$link_query_args['meta_key'] = 'link_updated';
|
747 |
-
$link_query_args['order'] = in_array( $linkdirection, $validdirections ) ? $linkdirection : 'ASC';
|
748 |
-
} elseif ( 'price' == $linkorder ) {
|
749 |
-
$link_query_args['orderby'] = 'meta_value_num';
|
750 |
-
$link_query_args['meta_key'] = 'link_price';
|
751 |
-
$link_query_args['order'] = in_array( $linkdirection, $validdirections ) ? $linkdirection : 'ASC';
|
752 |
-
} elseif ( 'random' == $linkorder ) {
|
753 |
-
$link_query_args['orderby'] = 'rand';
|
754 |
-
} elseif ( 'hits' == $linkorder ) {
|
755 |
-
$link_query_args['orderby'] = 'meta_value_num';
|
756 |
-
$link_query_args['meta_key'] = 'link_visits';
|
757 |
-
$link_query_args['order'] = in_array( $linkdirection, $validdirections ) ? $linkdirection : 'ASC';
|
758 |
-
}
|
759 |
|
760 |
-
|
761 |
-
|
762 |
-
|
763 |
-
|
764 |
-
|
765 |
-
|
766 |
-
$link_query_args['orderby'] = 'link_featured link_updated';
|
767 |
-
}
|
768 |
|
769 |
-
|
770 |
-
}
|
771 |
|
772 |
-
|
773 |
-
|
774 |
-
|
775 |
-
|
776 |
-
$link_query_args['meta_query'][] =
|
777 |
-
array(
|
778 |
-
'key' => 'link_submitter',
|
779 |
-
'value' => $name_field_value,
|
780 |
-
'compare' => '=',
|
781 |
-
);
|
782 |
-
if ( sizeof( $link_query_args['meta_query'] > 1 ) ) {
|
783 |
-
$link_query_args['meta_query']['relation'] = 'AND';
|
784 |
-
}
|
785 |
-
}
|
786 |
|
787 |
-
|
788 |
-
|
789 |
-
array(
|
790 |
-
'key' => 'link_price',
|
791 |
-
'value' => floatval( 0.0 ),
|
792 |
-
'compare' => '=',
|
793 |
-
);
|
794 |
-
if ( count( $link_query_args['meta_query'] > 1 ) ) {
|
795 |
-
$link_query_args['meta_query']['relation'] = 'AND';
|
796 |
-
}
|
797 |
-
}
|
798 |
|
799 |
-
|
800 |
-
|
801 |
-
|
|
|
|
|
|
|
|
|
802 |
|
803 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
804 |
|
805 |
-
|
806 |
-
|
807 |
-
|
808 |
-
$output .= "\n<!-- Link Query Execution Time: " . ( microtime( true ) - $linkquerystarttime ) . "-->\n\n";
|
809 |
-
}
|
810 |
|
811 |
-
|
812 |
-
|
813 |
-
}
|
814 |
|
815 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
816 |
|
817 |
-
|
818 |
-
|
819 |
-
|
820 |
-
}
|
821 |
|
822 |
-
|
823 |
-
|
824 |
-
|
825 |
-
|
826 |
-
|
827 |
-
return $the_link_query->found_posts;
|
828 |
-
} elseif ( ( $the_link_query->found_posts || !$hide_if_empty || $cat_has_children ) && !$onlycount ) {
|
829 |
-
if ( $the_link_query->have_posts() || !$hide_if_empty || $cat_has_children ) {
|
830 |
-
if ( ! $combineresults ) {
|
831 |
-
$currentcategoryid = $link_category->term_id;
|
832 |
-
$output .= '<div class="LinkLibraryCat LinkLibraryCat' . $currentcategoryid . ( $level == 0 ? '' : ' childlevel'). ' level' . $level .'"><!-- Div Category -->';
|
833 |
-
|
834 |
-
$catlink = '';
|
835 |
-
$cattext = '';
|
836 |
-
$catenddiv = '';
|
837 |
|
838 |
-
|
839 |
-
$output .= '<div class="' . $beforecatlist1 . '">';
|
840 |
-
} else if ( $catlistwrappers == 2 && !empty( $beforecatlist2 ) && !empty( $beforecatlist1 ) ) {
|
841 |
-
$remainder = $currentcategory % $catlistwrappers;
|
842 |
-
switch ( $remainder ) {
|
843 |
|
844 |
-
|
845 |
-
$output .= '<div class="' . $beforecatlist2 . '">';
|
846 |
-
break;
|
847 |
|
848 |
-
|
849 |
-
|
850 |
-
|
|
|
851 |
}
|
852 |
-
} else if ( 3 == $catlistwrappers && !empty( $beforecatlist3 ) && !empty( $beforecatlist2 ) && !empty( $beforecatlist1 )) {
|
853 |
-
$remainder = $currentcategory % $catlistwrappers;
|
854 |
-
switch ( $remainder ) {
|
855 |
|
856 |
-
|
857 |
-
$output .= '<div class="' . $beforecatlist3 . '">';
|
858 |
-
break;
|
859 |
|
860 |
-
|
861 |
-
|
862 |
-
break;
|
863 |
|
864 |
-
|
865 |
-
|
866 |
-
|
|
|
|
|
867 |
}
|
868 |
}
|
869 |
|
870 |
-
|
871 |
-
if ( !$hidecategorynames || empty( $hidecategorynames ) ) {
|
872 |
-
$caturl = get_term_meta( $link_category->term_id, 'linkcaturl', true );
|
873 |
|
874 |
-
|
875 |
-
|
876 |
-
|
877 |
-
$cattext = '';
|
878 |
-
}
|
879 |
|
880 |
-
|
881 |
-
|
882 |
-
foreach ( $searchterms as $searchterm ) {
|
883 |
-
$link_category->name = link_library_highlight_phrase( $link_category->name, $searchterm, '<span class="highlight_word">', '</span>' );
|
884 |
-
}
|
885 |
-
}
|
886 |
|
887 |
-
$catlink
|
|
|
|
|
|
|
|
|
|
|
|
|
888 |
|
889 |
-
|
890 |
-
|
891 |
-
|
|
|
|
|
|
|
|
|
892 |
|
893 |
-
|
894 |
-
|
|
|
895 |
|
896 |
-
|
897 |
-
|
898 |
-
var_dump( 'Generating cat link' );
|
899 |
-
}
|
900 |
-
$catlink .= $link_category->name;
|
901 |
-
if ( !empty( $caturl ) ) {
|
902 |
-
$catlink .= '</a>';
|
903 |
-
}
|
904 |
-
}
|
905 |
|
906 |
-
|
907 |
-
|
908 |
-
|
909 |
-
|
910 |
-
|
911 |
-
|
912 |
-
|
913 |
|
914 |
-
|
915 |
-
|
916 |
-
|
917 |
|
918 |
-
|
919 |
-
|
|
|
|
|
|
|
920 |
|
921 |
-
|
922 |
-
}
|
923 |
-
$catlink .= $link_category->name;
|
924 |
-
if ( !empty( $caturl ) ) {
|
925 |
-
$catlink .= '</a>';
|
926 |
-
}
|
927 |
-
}
|
928 |
|
929 |
-
|
930 |
-
$catlink .= '<span class="expandlinks" id="LinksInCat' . $link_category->term_id . '">';
|
931 |
-
$catlink .= '<img class="arrow-down" src="';
|
932 |
|
933 |
-
|
934 |
-
|
935 |
-
|
936 |
-
|
937 |
-
|
938 |
|
939 |
-
|
940 |
-
|
|
|
941 |
|
942 |
-
|
943 |
-
|
944 |
-
} else {
|
945 |
-
$catlink .= plugins_url( 'icons/collapse-32.png', __FILE__ );
|
946 |
-
}
|
947 |
|
948 |
-
|
949 |
-
|
950 |
-
|
|
|
|
|
|
|
951 |
|
952 |
-
|
953 |
-
} else if ( $divorheader ) {
|
954 |
-
if ( 'search' == $mode ) {
|
955 |
-
foreach ( $searchterms as $searchterm ) {
|
956 |
-
$link_category->name = link_library_highlight_phrase( $link_category->name, $searchterm, '<span class="highlight_word">', '</span>' );
|
957 |
-
}
|
958 |
-
}
|
959 |
|
960 |
-
|
|
|
|
|
|
|
961 |
|
962 |
-
|
963 |
-
|
964 |
-
|
|
|
965 |
|
966 |
-
|
967 |
-
|
|
|
968 |
|
969 |
-
|
970 |
-
|
971 |
-
|
972 |
|
973 |
-
|
974 |
-
|
975 |
-
|
976 |
|
977 |
-
|
978 |
-
|
979 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
980 |
|
981 |
-
|
982 |
-
}
|
983 |
-
$catlink .= $link_category->name;
|
984 |
-
if ( !empty( $caturl ) || ( $catlinkspermalinksmode && !empty( $rewritepage ) ) ) {
|
985 |
-
$catlink .= '</a>';
|
986 |
-
}
|
987 |
-
}
|
988 |
|
989 |
-
|
990 |
-
|
991 |
-
|
992 |
-
|
993 |
-
$catlink .= $linkitem['description'];
|
994 |
-
$catlink .= '</span>';
|
995 |
-
}
|
996 |
|
997 |
-
|
998 |
-
if ( !empty( $caturl ) ) {
|
999 |
-
$catlink .= '<a href="' . link_library_add_http( $caturl ) . '" ';
|
1000 |
|
1001 |
-
|
1002 |
-
|
1003 |
|
1004 |
-
|
1005 |
-
|
1006 |
-
|
1007 |
-
if ( !empty( $caturl ) ) {
|
1008 |
-
$catlink .= '</a>';
|
1009 |
-
}
|
1010 |
-
}
|
1011 |
-
|
1012 |
-
if ( $showlinksonclick && $the_link_query->found_posts > 0 ) {
|
1013 |
-
$catlink .= '<span class="expandlinks" id="LinksInCat' . $link_category->term_id . '">';
|
1014 |
-
$catlink .= '<img class="arrow-down" src="';
|
1015 |
-
|
1016 |
-
if ( !empty( $expandiconpath ) ) {
|
1017 |
-
$catlink .= $expandiconpath;
|
1018 |
-
} else {
|
1019 |
-
$catlink .= plugins_url( 'icons/expand-32.png', __FILE__ );
|
1020 |
-
}
|
1021 |
-
|
1022 |
-
$catlink .= '" />';
|
1023 |
-
|
1024 |
-
$catlink .= '<img class="arrow-up" src="';
|
1025 |
-
|
1026 |
-
if ( !empty( $expandiconpath ) ) {
|
1027 |
-
$catlink .= $expandiconpath;
|
1028 |
-
} else {
|
1029 |
-
$catlink .= plugins_url( 'icons/collapse-32.png', __FILE__ );
|
1030 |
-
}
|
1031 |
|
1032 |
-
|
1033 |
-
|
1034 |
-
|
1035 |
|
1036 |
-
|
1037 |
-
}
|
1038 |
|
1039 |
-
|
1040 |
-
|
1041 |
-
|
1042 |
-
|
1043 |
-
|
1044 |
-
}
|
1045 |
-
|
1046 |
-
$output .= $cattext . $catlink . $catenddiv;
|
1047 |
-
|
1048 |
-
// YL: Add option to control this
|
1049 |
-
// if ( 0 != $parent_cat_id ) {
|
1050 |
-
if ( $showcategorydesclinks && ( 'aftercatname' == $catdescpos || ( 'aftertoplevelcatname' == $catdescpos && $level == 0 ) ) ) {
|
1051 |
-
$output .= '<div class="parentcatdesc">' . nl2br( $link_category->description ) . '</div>';
|
1052 |
-
}
|
1053 |
-
// }
|
1054 |
-
|
1055 |
-
if ( $showlinksonclick ) {
|
1056 |
-
$output .= '<div class="LinksInCat' . $currentcategoryid . ' LinksInCat"><!-- Div show links on click -->';
|
1057 |
}
|
1058 |
}
|
1059 |
|
1060 |
-
if (
|
1061 |
-
|
1062 |
}
|
|
|
|
|
1063 |
|
1064 |
-
|
1065 |
-
|
1066 |
-
|
1067 |
-
|
1068 |
-
$catstartlist .= '<div class="linklisttableheaders"><tr>';
|
1069 |
-
|
1070 |
-
$columnheaderarray = explode( ',', $columnheaderoverride );
|
1071 |
-
foreach( $columnheaderarray as $columnheader ) {
|
1072 |
-
if ( !empty( $columnheader ) ) {
|
1073 |
-
$catstartlist .= '<th><div class="linklistcolumnheader">' . $columnheader . '</div></th>';
|
1074 |
-
}
|
1075 |
-
}
|
1076 |
-
|
1077 |
-
$catstartlist .= "</tr></div>\n";
|
1078 |
-
} elseif ( $allowcolumnsorting ) {
|
1079 |
-
$sorting_labels = array( 2 => 'linkname', 16 => 'linkprice' );
|
1080 |
-
$settings_sort_label = array( 2 => 'name' );
|
1081 |
-
$activation_variables = array( 1 => 'show_images', 2 => 'showname', 3 => 'showdate', 4 => 'showdescription',
|
1082 |
-
5 => 'shownotes', 6 => 'show_rss', 7 => 'displayweblink', 8 => 'showtelephone',
|
1083 |
-
9 => 'showemail', 10 => 'showlinkhits', 11 => 'showrating', 12 => 'showlargedescription',
|
1084 |
-
13 => 'showsubmittername', 14 => 'showcatdesc', 15 => 'showlinktags', 16 => 'showlinkprice' );
|
1085 |
-
|
1086 |
-
$default_labels = array( 1 => __( 'Image', 'link-library' ), 2 => __( 'Name', 'link-library' ),
|
1087 |
-
3 => __( 'Date', 'link-library' ), 4 => __( 'Description', 'link-library'),
|
1088 |
-
5 => __( 'Notes', 'link-library'), 6 => __( 'RSS', 'link-library' ),
|
1089 |
-
7 => __( 'Web Link', 'link-library' ), 8 => __( 'Telephone', 'link-library'),
|
1090 |
-
9 => __( 'E-mail', 'link-library' ), 10 => __( 'Hits', 'link-library' ),
|
1091 |
-
11 => __( 'Rating', 'link-library' ), 12 => __( 'Large Description', 'link-library' ),
|
1092 |
-
13 => __( 'Submitter Name', 'link-library' ), 14 => __( 'Category Description', 'link-library' ),
|
1093 |
-
15 => __( 'Tags', 'link-library' ), 16 => __( 'Price', 'link-library') );
|
1094 |
-
|
1095 |
-
if ( empty( $dragndroporder ) ) {
|
1096 |
-
$dragndroporder = '1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16';
|
1097 |
-
}
|
1098 |
-
|
1099 |
-
$dragndroparray = explode( ',', $dragndroporder );
|
1100 |
-
|
1101 |
-
$new_entries = array( '13', '14', '15', '16' );
|
1102 |
|
1103 |
-
|
1104 |
-
|
1105 |
-
$dragndroparray[] = $new_entry;
|
1106 |
-
}
|
1107 |
-
}
|
1108 |
|
1109 |
-
|
1110 |
-
|
|
|
|
|
|
|
1111 |
|
1112 |
-
|
|
|
|
|
1113 |
|
1114 |
-
|
1115 |
-
$can_sort = false;
|
1116 |
-
$sort_label = '';
|
1117 |
-
$column_label = '';
|
1118 |
-
$show_column_header = false;
|
1119 |
|
1120 |
-
|
1121 |
-
|
1122 |
-
|
1123 |
|
1124 |
-
|
1125 |
-
|
1126 |
-
|
1127 |
-
|
1128 |
|
1129 |
-
|
1130 |
-
|
1131 |
-
|
1132 |
-
|
1133 |
-
|
|
|
1134 |
|
1135 |
-
|
1136 |
-
|
1137 |
-
|
1138 |
-
|
|
|
|
|
|
|
1139 |
|
1140 |
-
|
1141 |
-
|
1142 |
-
|
1143 |
-
|
1144 |
-
if ( ( isset( $_GET[$sorting_labels[$display_item]] ) && 'ASC' == $_GET[$sorting_labels[$display_item]] ) ||
|
1145 |
-
( isset( $settings_sort_label[$display_item] ) && $linkorder = $settings_sort_label[$display_item] && $linkdirection == 'ASC' ) ) {
|
1146 |
-
$sort_direction = 'DESC';
|
1147 |
-
}
|
1148 |
-
$sort_url = add_query_arg( $sorting_labels[$display_item], $sort_direction, '' );
|
1149 |
-
if ( isset( $_GET['link_tags'] ) && !empty( $_GET['link_tags'] ) ) {
|
1150 |
-
$sort_url = add_query_arg( 'link_tags', $_GET['link_tags'], $sort_url );
|
1151 |
-
}
|
1152 |
|
1153 |
-
|
1154 |
-
$sort_url = add_query_arg( 'link_price', $_GET['link_price'], $sort_url );
|
1155 |
-
}
|
1156 |
|
1157 |
-
|
1158 |
-
|
|
|
|
|
|
|
1159 |
|
1160 |
-
|
1161 |
-
|
1162 |
-
|
1163 |
-
|
1164 |
-
|
1165 |
-
|
1166 |
-
|
1167 |
|
1168 |
-
|
1169 |
-
|
1170 |
-
|
1171 |
-
|
1172 |
-
|
1173 |
-
|
1174 |
-
|
1175 |
-
|
1176 |
-
|
1177 |
-
|
|
|
|
|
|
|
|
|
|
|
1178 |
|
1179 |
-
|
1180 |
-
|
1181 |
-
} elseif ( !$hide_children_cat_links ) {
|
1182 |
-
if ( $the_link_query->found_posts > 0 ) {
|
1183 |
-
$output .= $catstartlist;
|
1184 |
-
}
|
1185 |
|
1186 |
-
|
1187 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1188 |
|
1189 |
-
|
1190 |
-
|
1191 |
-
|
1192 |
-
|
1193 |
-
|
1194 |
-
}
|
1195 |
|
1196 |
-
|
1197 |
-
|
1198 |
-
|
1199 |
-
|
|
|
1200 |
|
1201 |
-
|
1202 |
-
|
1203 |
-
|
1204 |
-
$linkitem['link_url'] = '';
|
1205 |
-
}
|
1206 |
|
1207 |
-
|
1208 |
|
1209 |
-
|
1210 |
-
|
1211 |
-
|
1212 |
-
|
1213 |
-
|
|
|
|
|
|
|
|
|
1214 |
|
1215 |
-
|
1216 |
-
|
1217 |
-
|
1218 |
-
$linkitem['link_notes'] = '';
|
1219 |
-
}
|
1220 |
|
1221 |
-
|
1222 |
-
$linkitem['link_second_url'] = esc_url( $link_meta['link_second_url'][0] );
|
1223 |
-
} else {
|
1224 |
-
$linkitem['link_second_url'] = '';
|
1225 |
-
}
|
1226 |
|
1227 |
-
|
1228 |
-
|
1229 |
-
|
1230 |
-
$linkitem['link_no_follow'] = '';
|
1231 |
-
}
|
1232 |
|
1233 |
-
|
1234 |
-
|
1235 |
-
|
1236 |
-
$linkitem['link_textfield'] = '';
|
1237 |
-
}
|
1238 |
|
1239 |
-
|
1240 |
-
|
1241 |
-
|
1242 |
-
$linkitem['link_target'] = '';
|
1243 |
-
}
|
1244 |
|
1245 |
-
|
1246 |
-
|
1247 |
-
} else {
|
1248 |
-
$linkitem['link_image'] = '';
|
1249 |
-
}
|
1250 |
|
1251 |
-
if (
|
1252 |
-
$
|
1253 |
-
} else {
|
1254 |
-
$linkitem['link_featured'] = '';
|
1255 |
-
}
|
1256 |
|
1257 |
-
|
1258 |
-
|
1259 |
-
|
1260 |
-
|
1261 |
-
}
|
1262 |
|
1263 |
-
|
1264 |
-
$linkitem['link_telephone'] = esc_html( $link_meta['link_telephone'][0] );
|
1265 |
-
} else {
|
1266 |
-
$linkitem['link_telephone'] = '';
|
1267 |
-
}
|
1268 |
|
1269 |
-
|
1270 |
-
|
1271 |
-
|
1272 |
-
|
1273 |
-
|
|
|
|
|
|
|
|
|
1274 |
|
1275 |
-
|
1276 |
-
$linkitem['link_reciprocal'] = esc_url( $link_meta['link_reciprocal'][0] );
|
1277 |
-
} else {
|
1278 |
-
$linkitem['link_reciprocal'] = '';
|
1279 |
-
}
|
1280 |
|
1281 |
-
|
1282 |
-
|
1283 |
-
|
1284 |
-
|
1285 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1286 |
|
1287 |
-
|
1288 |
-
$linkitem['link_submitter'] = esc_html( $link_meta['link_submitter'][0] );
|
1289 |
-
} else {
|
1290 |
-
$linkitem['link_submitter'] = '';
|
1291 |
-
}
|
1292 |
|
1293 |
-
|
1294 |
-
$linkitem['link_submitter_name'] = esc_html( $link_meta['link_submitter_name'][0] );
|
1295 |
-
} else {
|
1296 |
-
$linkitem['link_submitter_name'] = '';
|
1297 |
-
}
|
1298 |
|
1299 |
-
|
1300 |
-
|
1301 |
-
|
1302 |
-
$linkitem['link_submitter_email'] = '';
|
1303 |
-
}
|
1304 |
|
1305 |
-
|
1306 |
|
1307 |
-
|
1308 |
-
|
1309 |
-
} else {
|
1310 |
-
$linkitem['link_visits'] = '';
|
1311 |
-
}
|
1312 |
|
1313 |
-
|
1314 |
-
|
1315 |
-
|
1316 |
-
$linkitem['link_rating'] = '';
|
1317 |
-
}
|
1318 |
|
1319 |
-
|
1320 |
-
$updated_time->setTimestamp( $link_meta['link_updated'][0] );
|
1321 |
-
$current_time = new DateTime();
|
1322 |
-
$date_diff = $current_time->diff( $updated_time, true);
|
1323 |
|
1324 |
-
|
1325 |
-
$linkitem['recently_updated'] = true;
|
1326 |
-
} else {
|
1327 |
-
$linkitem['recently_updated'] = false;
|
1328 |
-
}
|
1329 |
|
1330 |
-
|
|
|
|
|
1331 |
|
1332 |
-
|
1333 |
-
$linkstarttime = microtime ( true );
|
1334 |
}
|
1335 |
|
1336 |
-
|
1337 |
-
|
1338 |
-
|
1339 |
-
include_once( ABSPATH . WPINC . '/feed.php' );
|
1340 |
-
|
1341 |
if ( true == $debugmode ) {
|
1342 |
-
$
|
1343 |
}
|
1344 |
|
1345 |
-
$
|
1346 |
-
if ( !is_wp_error( $rss ) ) {
|
1347 |
-
$maxitems = $rss->get_item_quantity( $rssfeedinlinecount );
|
1348 |
|
1349 |
-
|
|
|
1350 |
|
1351 |
-
if (
|
1352 |
-
|
1353 |
-
$
|
1354 |
-
|
1355 |
-
|
1356 |
-
}
|
1357 |
}
|
|
|
|
|
|
|
1358 |
|
1359 |
-
|
1360 |
-
|
1361 |
-
}
|
1362 |
}
|
|
|
|
|
1363 |
}
|
1364 |
|
1365 |
-
|
1366 |
-
|
|
|
|
|
1367 |
}
|
1368 |
-
}
|
1369 |
|
1370 |
-
|
1371 |
-
|
1372 |
-
|
|
|
1373 |
}
|
1374 |
-
}
|
1375 |
|
1376 |
-
|
1377 |
-
|
1378 |
-
|
1379 |
|
1380 |
-
|
1381 |
|
1382 |
-
|
1383 |
-
|
|
|
1384 |
}
|
1385 |
|
1386 |
-
|
1387 |
-
if ( !empty( $linkitem['link_url'] ) ) {
|
1388 |
-
$the_link = esc_html( $linkitem['link_url'] );
|
1389 |
-
}
|
1390 |
|
1391 |
-
|
1392 |
-
parse_str( $extraquerystring, $expanded_query_string );
|
1393 |
-
if ( !empty( $expanded_query_string ) ) {
|
1394 |
-
$the_link = add_query_arg( $expanded_query_string, $the_link );
|
1395 |
-
}
|
1396 |
-
}
|
1397 |
|
1398 |
-
$
|
1399 |
-
|
1400 |
-
|
1401 |
-
if ( !empty( $cat_expanded_query_string ) ) {
|
1402 |
-
$the_link = add_query_arg( $cat_expanded_query_string, $the_link );
|
1403 |
}
|
1404 |
-
}
|
1405 |
|
1406 |
-
|
1407 |
-
if ( !empty( $linkitem['link_second_url'] ) ) {
|
1408 |
-
$the_second_link = esc_html( stripslashes( $linkitem['link_second_url'] ) );
|
1409 |
-
}
|
1410 |
|
1411 |
-
|
1412 |
-
if ( !empty( $linkitem['link_permalink'] ) ) {
|
1413 |
-
$the_permalink = $linkitem['link_permalink'];
|
1414 |
-
}
|
1415 |
|
1416 |
-
|
1417 |
-
|
1418 |
-
|
1419 |
-
$linkitem['link_rel'] = ' rel="' . $linkitem['link_rel'] . '"';
|
1420 |
}
|
1421 |
|
1422 |
-
|
1423 |
-
$descnotes = $linkitem['link_notes'];
|
1424 |
-
$descnotes = str_replace( '[', '<', $descnotes );
|
1425 |
-
$descnotes = str_replace( ']', '>', $descnotes );
|
1426 |
-
$desc = $linkitem['link_description'];
|
1427 |
-
$desc = str_replace("[", "<", $desc);
|
1428 |
-
$desc = str_replace("]", ">", $desc);
|
1429 |
-
$textfield = stripslashes( $linkitem['link_textfield'] );
|
1430 |
-
$textfield = str_replace( '[', '<', $textfield );
|
1431 |
-
$textfield = str_replace( ']', '>', $textfield );
|
1432 |
-
} else {
|
1433 |
-
$descnotes = esc_html( $linkitem['link_notes'], ENT_QUOTES );
|
1434 |
-
$desc = esc_html($linkitem['link_description'], ENT_QUOTES);
|
1435 |
-
$textfield = stripslashes( $linkitem['link_textfield'] );
|
1436 |
-
}
|
1437 |
|
1438 |
-
|
1439 |
-
$cleanname = esc_html( $linkitem['link_name'], ENT_QUOTES );
|
1440 |
|
1441 |
-
if (
|
1442 |
-
|
1443 |
-
$
|
1444 |
-
$desc = link_library_highlight_phrase( $desc, $searchterm, '<span class="highlight_word">', '</span>' );
|
1445 |
-
$name = link_library_highlight_phrase( $linkitem['link_name'], $searchterm, '<span class="highlight_word">', '</span>' );
|
1446 |
-
$textfield = link_library_highlight_phrase( $textfield, $searchterm, '<span class="highlight_word">', '</span>' );
|
1447 |
}
|
1448 |
-
} else {
|
1449 |
-
$name = $cleanname;
|
1450 |
-
}
|
1451 |
|
1452 |
-
|
1453 |
-
$title = $cleanname;
|
1454 |
-
} elseif ( 'linkdesc' == $linktitlecontent ) {
|
1455 |
-
$title = $cleandesc;
|
1456 |
-
}
|
1457 |
|
1458 |
-
|
1459 |
-
|
1460 |
-
$cleandate = date_i18n( $date_format_string, intval( $linkitem['link_updated'] ) );
|
1461 |
-
if ( substr( $cleandate, 0, 2 ) != '00' ) {
|
1462 |
-
$title .= ' ('.__('Last updated', 'link-library') . ' ' . date_i18n(get_option('links_updated_date_format'), intval( $linkitem['link_updated'] ) ) .')';
|
1463 |
}
|
1464 |
}
|
1465 |
|
1466 |
-
|
1467 |
-
$title = ' title="' . $title . '"';
|
1468 |
-
}
|
1469 |
|
1470 |
-
|
1471 |
|
1472 |
-
$
|
1473 |
-
|
1474 |
-
|
1475 |
-
} else {
|
1476 |
-
$target = $linktarget;
|
1477 |
-
if ( !empty( $target ) ) {
|
1478 |
-
$target = ' target="' . $target . '"';
|
1479 |
}
|
1480 |
-
}
|
1481 |
-
|
1482 |
-
if ( empty( $dragndroporder ) ) {
|
1483 |
-
$dragndroporder = '1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16';
|
1484 |
-
}
|
1485 |
|
1486 |
-
|
1487 |
|
1488 |
-
|
1489 |
-
|
1490 |
-
foreach ( $new_entries as $new_entry ) {
|
1491 |
-
if ( !in_array( $new_entry, $dragndroparray ) ) {
|
1492 |
-
$dragndroparray[] = $new_entry;
|
1493 |
}
|
1494 |
}
|
1495 |
|
1496 |
-
|
1497 |
-
foreach ( $dragndroparray as $arrayelements ) {
|
1498 |
-
switch ( $arrayelements ) {
|
1499 |
-
|
1500 |
-
case 1: //------------------ Image Output --------------------
|
1501 |
-
$imageoutput = '';
|
1502 |
-
|
1503 |
-
if ( ( $show_images && !$shownameifnoimage && ( !$nooutputempty || ( $nooutputempty && !empty( $linkitem['link_image'] ) ) ) ) || ( $show_images && $shownameifnoimage && !empty( $linkitem['link_image'] ) && ( !$nooutputempty || ( $nooutputempty && !empty( $linkitem['link_image'] ) ) ) || $usethumbshotsforimages ) ) {
|
1504 |
-
$imageoutput .= stripslashes( $beforeimage );
|
1505 |
-
|
1506 |
-
if ( !empty( $linkitem['link_image'] ) || $usethumbshotsforimages ) {
|
1507 |
-
if ( true == $debugmode ) {
|
1508 |
-
$starttimeimage = microtime ( true );
|
1509 |
-
}
|
1510 |
-
|
1511 |
-
$imageoutput .= '<a href="';
|
1512 |
-
|
1513 |
-
if ( !$enable_link_popup ) {
|
1514 |
-
if ( 'primary' == $sourceimage || empty( $sourceimage ) ) {
|
1515 |
-
$imageoutput .= $the_link;
|
1516 |
-
} elseif ( 'secondary' == $sourceimage ) {
|
1517 |
-
$imageoutput .= $the_second_link;
|
1518 |
-
}
|
1519 |
-
} else {
|
1520 |
-
$imageoutput .= admin_url( 'admin-ajax.php' . '?action=link_library_popup_content&linkid=' . $linkitem['proper_link_id'] . '&settings=' . $settings . '&height=' . ( empty( $popup_height ) ? 300 : $popup_height ) . '&width=' . ( empty( $popup_width ) ? 400 : $popup_width ) . '&xpath=' . $xpath );
|
1521 |
-
}
|
1522 |
-
|
1523 |
-
$imageoutput .= '" id="link-' . $linkitem['proper_link_id'] . '" class="' . ( $enable_link_popup ? 'thickbox' : 'track_this_link' ) . ' ' . ( $linkitem['link_featured'] ? 'featured' : '' ). '" ' . $linkitem['link_rel'] . $title . $target. '>';
|
1524 |
-
|
1525 |
-
if ( $usethumbshotsforimages && ( !$uselocalimagesoverthumbshots || empty( $uselocalimagesoverthumbshots ) || ( $uselocalimagesoverthumbshots && empty( $linkitem['link_image'] ) ) ) ) {
|
1526 |
-
if ( $thumbnailgenerator == 'robothumb' ) {
|
1527 |
-
$imageoutput .= '<img src="http://www.robothumb.com/src/?url=' . $the_link . '&size=' . $generaloptions['thumbnailsize'] . '"';
|
1528 |
-
} elseif ( $thumbnailgenerator == 'thumbshots' ) {
|
1529 |
-
if ( !empty( $thumbshotscid ) ) {
|
1530 |
-
$imageoutput .= '<img src="http://images.thumbshots.com/image.aspx?cid=' . rawurlencode( $thumbshotscid ) . '&v=1&w=120&url=' . $the_link . '"';
|
1531 |
-
}
|
1532 |
-
}
|
1533 |
-
} else if ( !$usethumbshotsforimages || ( $usethumbshotsforimages && $uselocalimagesoverthumbshots && !empty( $linkitem['link_image'] ) ) ) {
|
1534 |
-
if ( strpos( $linkitem['link_image'], 'http' ) !== false ) {
|
1535 |
-
$imageoutput .= '<img src="' . $linkitem['link_image'] . '"';
|
1536 |
-
} else {
|
1537 |
-
// If it's a relative path
|
1538 |
-
$imageoutput .= '<img src="' . get_option( 'siteurl' ) . $linkitem['link_image'] . '"';
|
1539 |
-
}
|
1540 |
-
}
|
1541 |
-
|
1542 |
-
if ( !$usethumbshotsforimages || ($usethumbshotsforimages && !empty( $thumbshotscid ) ) || ( $usethumbshotsforimages && $uselocalimagesoverthumbshots && !empty( $linkitem['link_image'] ) ) ) {
|
1543 |
-
|
1544 |
-
$imageoutput .= $alt . $title;
|
1545 |
-
|
1546 |
-
if ( !empty( $imageclass ) ) {
|
1547 |
-
$imageoutput .= ' class="' . $imageclass . '" ';
|
1548 |
-
}
|
1549 |
-
|
1550 |
-
$imageoutput .= '/>';
|
1551 |
-
|
1552 |
-
$imageoutput .= '</a>';
|
1553 |
-
}
|
1554 |
-
|
1555 |
-
if ( true == $debugmode ) {
|
1556 |
-
$output .= '<!-- Time to render image section of link id ' . $linkitem['proper_link_id'] . ': ' . ( microtime( true ) - $starttimeimage ) . " --> \n";
|
1557 |
-
}
|
1558 |
-
|
1559 |
-
}
|
1560 |
-
|
1561 |
-
$imageoutput .= stripslashes( $afterimage );
|
1562 |
-
|
1563 |
-
if ( ( !empty( $imageoutput ) || ( $usethumbshotsforimages && !empty( $thumbshotscid ) ) ) && $show_images ) {
|
1564 |
-
$output .= $imageoutput;
|
1565 |
-
}
|
1566 |
-
|
1567 |
-
break;
|
1568 |
-
}
|
1569 |
-
|
1570 |
-
case 2: //------------------ Name Output --------------------
|
1571 |
-
if ( ( $showname && 2 == $arrayelements && ( !$nooutputempty || ( $nooutputempty && !empty( $name ) ) ) ) ||
|
1572 |
-
( $show_images && $shownameifnoimage && empty( $linkitem['link_image'] ) && !$usethumbshotsforimages && 1 == $arrayelements && ( !$nooutputempty || ( $nooutputempty && !empty( $name ) ) ) ) ) {
|
1573 |
-
if ( true == $debugmode ) {
|
1574 |
-
$starttimename = microtime ( true );
|
1575 |
-
}
|
1576 |
-
|
1577 |
-
$output .= stripslashes( $beforelink );
|
1578 |
-
|
1579 |
-
if ( ( 'primary' == $sourcename && $the_link != '#') || ( 'secondary' == $sourcename && $the_second_link != '#' ) || ( 'permalink' == $sourcename && $the_permalink != '#' ) ) {
|
1580 |
-
$output .= '<a href="';
|
1581 |
-
|
1582 |
-
if ( !$enable_link_popup ) {
|
1583 |
-
if ( 'primary' == $sourcename || empty( $sourcename ) ) {
|
1584 |
-
$output .= $the_link;
|
1585 |
-
} elseif ( 'secondary' == $sourcename ) {
|
1586 |
-
$output .= $the_second_link;
|
1587 |
-
} elseif ( 'permalink' == $sourcename ) {
|
1588 |
-
$output .= $the_permalink;
|
1589 |
-
}
|
1590 |
-
} else {
|
1591 |
-
$output .= admin_url( 'admin-ajax.php' . '?action=link_library_popup_content&linkid=' . $linkitem['proper_link_id'] . '&settings=' . $settings . '&height=' . ( empty( $popup_height ) ? 300 : $popup_height ) . '&width=' . ( empty( $popup_width ) ? 400 : $popup_width ) . '&xpath=' . $xpath );
|
1592 |
-
}
|
1593 |
-
|
1594 |
-
if ( 'description' == $tooltipname && !empty( $desc ) ) {
|
1595 |
-
$title = ' title="' . $desc . '"';
|
1596 |
-
}
|
1597 |
-
|
1598 |
-
$output .= '" id="link-' . $linkitem['proper_link_id'] . '" class="' . ( $enable_link_popup ? 'thickbox' : 'track_this_link' ) . ' ' . ( $linkitem['link_featured'] ? ' featured' : '' ). '" ' . $linkitem['link_rel'] . $title . $target. '>';
|
1599 |
-
}
|
1600 |
-
|
1601 |
-
$output .= $name;
|
1602 |
-
|
1603 |
-
if ( ( 'primary' == $sourcename && $the_link != '#') || ( 'secondary' == $sourcename && $the_second_link != '#' ) ) {
|
1604 |
-
$output .= '</a>';
|
1605 |
-
}
|
1606 |
-
|
1607 |
-
if ( $showadmineditlinks && $linkeditoruser ) {
|
1608 |
-
$output .= $between . '<span class="editlink"><a href="' . esc_url( add_query_arg( array(
|
1609 |
-
'action' => 'edit', 'post' => $linkitem['proper_link_id'] ),
|
1610 |
-
admin_url( 'post.php' ) ) ) . '">(' . __('Edit', 'link-library') . ')</a></span>';
|
1611 |
-
}
|
1612 |
-
|
1613 |
-
if ( $showupdated && $linkitem['recently_updated'] && 'after' == $showupdatedpos ) {
|
1614 |
-
$output .= '<span class="recently_updated">' . $updatedlabel . '</span>';
|
1615 |
-
}
|
1616 |
-
|
1617 |
-
$output .= stripslashes( $afterlink );
|
1618 |
-
|
1619 |
-
if ( true == $debugmode ) {
|
1620 |
-
$output .= "\n<!-- Time to render name section of link id " . $linkitem['proper_link_id'] . ': ' . ( microtime( true ) - $starttimename ) . " --> \n";
|
1621 |
-
}
|
1622 |
-
}
|
1623 |
-
|
1624 |
-
break;
|
1625 |
-
|
1626 |
-
case 3: //------------------ Date Output --------------------
|
1627 |
-
|
1628 |
-
if ( $showdate && ( !$nooutputempty || ( $nooutputempty && !empty( $linkitem['link_updated'] ) ) ) ) {
|
1629 |
-
if ( true == $debugmode ) {
|
1630 |
-
$starttimedate = microtime ( true );
|
1631 |
-
}
|
1632 |
-
|
1633 |
-
$formatteddate = date_i18n( get_option( 'links_updated_date_format' ), intval( $linkitem['link_updated'] ) );
|
1634 |
-
|
1635 |
-
$output .= $between . stripslashes( $beforedate ) . $formatteddate . stripslashes( $afterdate );
|
1636 |
-
|
1637 |
-
if ( true == $debugmode ) {
|
1638 |
-
$output .= "\n<!-- Time to render date section of link id " . $linkitem['proper_link_id'] . ': ' . ( microtime( true ) - $starttimedate ) . " --> \n";
|
1639 |
-
}
|
1640 |
-
}
|
1641 |
-
|
1642 |
-
break;
|
1643 |
-
|
1644 |
-
case 4: //------------------ Description Output --------------------
|
1645 |
-
|
1646 |
-
if ( $showdescription && ( !$nooutputempty || ( $nooutputempty && !empty( $desc ) ) ) ) {
|
1647 |
-
if ( true == $debugmode ) {
|
1648 |
-
$starttimedesc = microtime ( true );
|
1649 |
-
}
|
1650 |
-
|
1651 |
-
$output .= $between . stripslashes( $beforedesc ) . $desc . stripslashes( $afterdesc );
|
1652 |
-
|
1653 |
-
if ( true == $debugmode ) {
|
1654 |
-
$output .= "\n<!-- Time to render description section of link id " . $linkitem['proper_link_id'] . ': ' . ( microtime( true ) - $starttimedesc ) . " --> \n";
|
1655 |
-
}
|
1656 |
-
}
|
1657 |
-
|
1658 |
-
break;
|
1659 |
-
|
1660 |
-
case 5: //------------------ Notes Output --------------------
|
1661 |
-
|
1662 |
-
if ( $shownotes && ( !$nooutputempty || ( $nooutputempty && !empty( $descnotes ) ) ) ) {
|
1663 |
-
if ( true == $debugmode ) {
|
1664 |
-
$starttimenotes = microtime ( true );
|
1665 |
-
}
|
1666 |
-
|
1667 |
-
$output .= $between . stripslashes( $beforenote ) . $descnotes . stripslashes( $afternote );
|
1668 |
-
|
1669 |
-
if ( true == $debugmode ) {
|
1670 |
-
$output .= "\n<!-- Time to render notes section of link id " . $linkitem['proper_link_id'] . ': ' . ( microtime( true ) - $starttimenotes ) . " --> \n";
|
1671 |
-
}
|
1672 |
-
}
|
1673 |
-
|
1674 |
-
break;
|
1675 |
-
|
1676 |
-
case 6: //------------------ RSS Icons Output --------------------
|
1677 |
-
|
1678 |
-
if ( ( $show_rss || $show_rss_icon || $rsspreview ) && ( !$nooutputempty || ( $nooutputempty && !empty( $linkitem['link_rss'] ) ) ) ) {
|
1679 |
-
if ( true == $debugmode ) {
|
1680 |
-
$starttimerssicon = microtime ( true );
|
1681 |
-
}
|
1682 |
-
|
1683 |
-
$output .= stripslashes( $beforerss ) . '<div class="rsselements">';
|
1684 |
-
|
1685 |
-
if ( $show_rss && !empty( $linkitem['link_rss'] ) ) {
|
1686 |
-
$output .= $between . '<a class="rss" href="' . $linkitem['link_rss'] . '">RSS</a>';
|
1687 |
-
}
|
1688 |
|
1689 |
-
|
1690 |
-
$output .= $between . '<a class="rssicon" href="' . $linkitem['link_rss'] . '"><img src="' . plugins_url( 'icons/feed-icon-14x14.png', __FILE__ ) . '" /></a>';
|
1691 |
-
}
|
1692 |
|
1693 |
-
|
1694 |
-
|
1695 |
-
|
|
|
1696 |
|
1697 |
-
|
1698 |
|
1699 |
-
|
1700 |
-
|
1701 |
-
|
1702 |
-
}
|
1703 |
-
|
1704 |
-
if ( $rssfeedinline && $linkitem['link_rss'] ) {
|
1705 |
-
if ( $rss_items ) {
|
1706 |
-
$output .= '<div id="ll_rss_results">';
|
1707 |
-
$date_format_string = get_option( 'date_format' );
|
1708 |
|
1709 |
-
|
1710 |
-
|
1711 |
-
|
1712 |
|
1713 |
-
|
1714 |
-
|
|
|
1715 |
|
1716 |
-
|
1717 |
-
$output .= '<div class="rsscontent">' . $item->get_description() . '</div><!-- RSS Content -->';
|
1718 |
-
}
|
1719 |
|
1720 |
-
|
1721 |
-
|
1722 |
-
|
|
|
1723 |
|
1724 |
-
|
1725 |
-
|
1726 |
-
|
1727 |
-
|
1728 |
-
case 7: //------------------ Web Link Output --------------------
|
1729 |
-
|
1730 |
-
if ( 'false' != $displayweblink &&
|
1731 |
-
( !$nooutputempty ||
|
1732 |
-
( $nooutputempty && !empty( $the_link ) && 'label' != $displayweblink && '#' != $the_link && 'primary' == $sourceweblink ) ||
|
1733 |
-
( $nooutputempty && !empty( $the_second_link ) && 'label' != $displayweblink && '#' != $the_second_link && 'secondary' == $sourceweblink ) ||
|
1734 |
-
( $nooutputempty && !empty( $weblinklabel ) && 'label' == $displayweblink && !empty( $the_link ) && '#' != $the_link && 'primary' == $sourceweblink ) ||
|
1735 |
-
( $nooutputempty && !empty( $weblinklabel ) && 'label' == $displayweblink && !empty( $the_second_link ) && '#' != $the_second_link && 'secondary' == $sourceweblink )
|
1736 |
-
) ) {
|
1737 |
-
if ( true == $debugmode ) {
|
1738 |
-
$starttimerweblink = microtime ( true );
|
1739 |
-
}
|
1740 |
-
|
1741 |
-
if ( 'addressonly' == $displayweblink ) {
|
1742 |
-
$output .= $between . stripslashes( $beforeweblink );
|
1743 |
-
$output .= $the_link;
|
1744 |
-
$output .= stripslashes( $afterweblink );
|
1745 |
-
} else {
|
1746 |
-
$output .= $between . stripslashes( $beforeweblink ) . '<a href="';
|
1747 |
-
|
1748 |
-
if ( 'primary' == $sourceweblink || empty( $sourceweblink ) ) {
|
1749 |
-
$output .= $the_link;
|
1750 |
-
} elseif ( 'secondary' == $sourceweblink ) {
|
1751 |
-
$output .= $the_second_link;
|
1752 |
-
}
|
1753 |
-
|
1754 |
-
if ( !empty( $target ) && !empty( $weblinktarget ) ) {
|
1755 |
-
$new_target_string = '="' . $weblinktarget . ' ';
|
1756 |
-
$weblinktarget = str_replace( '="', $new_target_string, $target );
|
1757 |
-
} elseif ( empty( $target ) && !empty( $weblinktarget ) ) {
|
1758 |
-
$weblinktarget = ' target="' . $weblinktarget . '"';
|
1759 |
-
}
|
1760 |
-
|
1761 |
-
$output .= '" id="link-' . $linkitem['proper_link_id'] . '" class="track_this_link" ' . $weblinktarget . '>';
|
1762 |
-
|
1763 |
-
if ( 'address' == $displayweblink ) {
|
1764 |
-
if ( ( 'primary' == $sourceweblink || empty( $sourceweblink ) ) && !empty( $the_link ) ) {
|
1765 |
-
$output .= $the_link;
|
1766 |
-
} elseif ( 'secondary' == $sourceweblink && !empty( $the_second_link ) ) {
|
1767 |
-
$output .= $the_second_link;
|
1768 |
-
}
|
1769 |
-
} elseif ( 'label' == $displayweblink && !empty( $weblinklabel ) ) {
|
1770 |
-
$output .= stripslashes( $weblinklabel );
|
1771 |
-
}
|
1772 |
-
|
1773 |
-
$output .= '</a>' . stripslashes( $afterweblink );
|
1774 |
-
}
|
1775 |
-
|
1776 |
-
if ( true == $debugmode ) {
|
1777 |
-
$output .= "\n<!-- Time to render web link section of link id " . $linkitem['proper_link_id'] . ': ' . ( microtime( true ) - $starttimerweblink ) . " --> \n";
|
1778 |
-
}
|
1779 |
-
}
|
1780 |
|
1781 |
-
|
1782 |
-
|
|
|
1783 |
|
1784 |
-
|
1785 |
-
|
1786 |
-
( $nooutputempty && !empty( $linkitem['link_telephone'] ) && ( 'link' == $showtelephone || 'plain' == $showtelephone ) ) ||
|
1787 |
-
( $nooutputempty && !empty( $telephonelabel ) && 'label' == $showtelephone )
|
1788 |
-
)
|
1789 |
-
) {
|
1790 |
-
if ( true == $debugmode ) {
|
1791 |
-
$starttimertelephone = microtime ( true );
|
1792 |
-
}
|
1793 |
|
1794 |
-
|
|
|
|
|
1795 |
|
1796 |
-
|
1797 |
-
|
|
|
1798 |
|
1799 |
-
|
1800 |
-
|
1801 |
-
|
1802 |
-
|
1803 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1804 |
|
1805 |
-
|
1806 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1807 |
|
1808 |
-
|
1809 |
-
$output .= $linkitem['link_telephone'];
|
1810 |
-
} elseif ( 'label' == $showtelephone ) {
|
1811 |
-
$output .= $telephonelabel;
|
1812 |
-
}
|
1813 |
|
1814 |
-
|
1815 |
-
|
1816 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
1817 |
|
1818 |
-
|
|
|
1819 |
|
1820 |
-
|
1821 |
-
|
1822 |
-
|
1823 |
-
|
1824 |
-
break;
|
1825 |
-
case 9: //------------------ E-mail Output --------------------
|
1826 |
-
|
1827 |
-
if ( 'false' != $showemail && ( !$nooutputempty || ( $nooutputempty && !empty( $linkitem['link_email'] ) ) ) ) {
|
1828 |
-
if ( true == $debugmode ) {
|
1829 |
-
$starttimeremail = microtime ( true );
|
1830 |
-
}
|
1831 |
-
|
1832 |
-
$output .= $between . stripslashes( $beforeemail );
|
1833 |
-
|
1834 |
-
if ( 'plain' != $showemail ) {
|
1835 |
-
$output .= '<a href="';
|
1836 |
-
|
1837 |
-
if ( 'mailto' == $showemail || 'mailtolabel' == $showemail ) {
|
1838 |
-
if ( false === strpos( $linkitem['link_email'], '@' ) ) {
|
1839 |
-
$output .= esc_url( $linkitem['link_email'] );
|
1840 |
-
} else {
|
1841 |
-
$output .= 'mailto:' . $linkitem['link_email'];
|
1842 |
-
}
|
1843 |
-
} elseif ( 'command' == $showemail || 'commandlabel' == $showemail ) {
|
1844 |
-
$newcommand = str_replace( '#email', $linkitem['link_email'], $emailcommand );
|
1845 |
-
$cleanlinkname = str_replace( ' ', '%20', $linkitem['link_name'] );
|
1846 |
-
$newcommand = str_replace( '#company', $cleanlinkname, $newcommand );
|
1847 |
-
$output .= $newcommand;
|
1848 |
-
}
|
1849 |
-
|
1850 |
-
$output .= '">';
|
1851 |
-
}
|
1852 |
-
|
1853 |
-
if ( 'plain' == $showemail || 'mailto' == $showemail || 'command' == $showemail ) {
|
1854 |
-
$output .= $linkitem['link_email'];
|
1855 |
-
} elseif ( 'mailtolabel' == $showemail || 'commandlabel' == $showemail ) {
|
1856 |
-
$output .= $emaillabel;
|
1857 |
-
}
|
1858 |
-
|
1859 |
-
if ( 'plain' != $showemail ) {
|
1860 |
-
$output .= '</a>';
|
1861 |
-
}
|
1862 |
-
|
1863 |
-
$output .= stripslashes( $afteremail );
|
1864 |
-
|
1865 |
-
if ( true == $debugmode ) {
|
1866 |
-
$output .= "\n<!-- Time to render e-mail section of link id " . $linkitem['proper_link_id'] . ': ' . ( microtime( true ) - $starttimeremail ) . " --> \n";
|
1867 |
-
}
|
1868 |
-
}
|
1869 |
|
1870 |
-
|
1871 |
-
|
1872 |
|
1873 |
-
|
1874 |
-
|
1875 |
-
|
1876 |
-
|
|
|
|
|
|
|
|
|
|
|
1877 |
|
1878 |
-
|
1879 |
-
$output .= $linkitem['link_visits'];
|
1880 |
-
$output .= stripslashes( $afterlinkhits );
|
1881 |
|
1882 |
-
|
1883 |
-
|
1884 |
-
}
|
1885 |
-
}
|
1886 |
|
1887 |
-
|
|
|
|
|
|
|
|
|
1888 |
|
1889 |
-
|
|
|
1890 |
|
1891 |
-
|
1892 |
-
|
1893 |
-
|
1894 |
-
|
|
|
1895 |
|
1896 |
-
|
1897 |
-
|
1898 |
-
|
1899 |
|
1900 |
-
|
1901 |
-
$output .= "\n<!-- Time to render link rating section of link id " . $linkitem['proper_link_id'] . ': ' . ( microtime( true ) - $starttimerrating ) . " --> \n";
|
1902 |
-
}
|
1903 |
-
}
|
1904 |
|
1905 |
-
|
|
|
|
|
|
|
|
|
|
|
1906 |
|
1907 |
-
|
|
|
|
|
|
|
1908 |
|
1909 |
-
|
1910 |
-
if ( true == $debugmode ) {
|
1911 |
-
$starttimerlargedesc = microtime ( true );
|
1912 |
-
}
|
1913 |
|
1914 |
-
|
1915 |
-
|
1916 |
-
$output .= stripslashes( $afterlargedescription );
|
1917 |
|
1918 |
-
|
1919 |
-
|
1920 |
-
|
1921 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1922 |
|
1923 |
-
|
|
|
1924 |
|
1925 |
-
|
|
|
|
|
|
|
|
|
1926 |
|
1927 |
-
|
1928 |
-
|
1929 |
-
|
1930 |
-
}
|
1931 |
|
1932 |
-
|
1933 |
-
$output .= $linkitem['link_submitter_name'];
|
1934 |
-
$output .= stripslashes( $aftersubmittername );
|
1935 |
|
1936 |
-
|
1937 |
-
|
1938 |
-
|
1939 |
-
|
1940 |
|
1941 |
-
|
|
|
1942 |
|
1943 |
-
|
|
|
|
|
|
|
1944 |
|
1945 |
-
|
1946 |
-
|
1947 |
-
|
1948 |
-
} else {
|
1949 |
-
$linkitem['category_description'] = '';
|
1950 |
-
}
|
1951 |
|
1952 |
-
|
|
|
|
|
|
|
1953 |
|
1954 |
-
|
1955 |
-
$starttimedesc = microtime ( true );
|
1956 |
-
}
|
1957 |
|
1958 |
-
|
1959 |
|
1960 |
-
|
1961 |
-
|
1962 |
-
|
1963 |
-
|
1964 |
|
1965 |
-
|
|
|
|
|
1966 |
|
1967 |
-
|
|
|
|
|
|
|
1968 |
|
1969 |
-
|
1970 |
|
1971 |
-
|
1972 |
|
1973 |
-
|
1974 |
-
|
1975 |
-
|
|
|
1976 |
|
1977 |
-
|
|
|
|
|
1978 |
|
1979 |
-
|
1980 |
-
|
1981 |
-
|
1982 |
-
|
1983 |
-
$output .= implode( ',', $link_tags_array );
|
1984 |
-
$output .= stripslashes( $afterlinktags );
|
1985 |
|
1986 |
-
|
1987 |
-
$output .= "\n<!-- Time to render category description section of link id " . $linkitem['proper_link_id'] . ': ' . ( microtime( true ) - $starttimedesc ) . " --> \n";
|
1988 |
-
}
|
1989 |
-
}
|
1990 |
|
1991 |
-
|
1992 |
-
case 16: //------------------ Link Price Output --------------------
|
1993 |
-
|
1994 |
-
if ( $showlinkprice && ( !$nooutputempty || ( $nooutputempty && !empty( $linkitem['link_price'] ) ) ) ) {
|
1995 |
-
if ( true == $debugmode ) {
|
1996 |
-
$starttimersubmittername = microtime ( true );
|
1997 |
-
}
|
1998 |
-
|
1999 |
-
$output .= $between . stripslashes( $beforelinkprice );
|
2000 |
-
if ( 'before' == $linkcurrencyplacement && !empty( $linkcurrency ) && $linkitem['link_price'] > 0 ) {
|
2001 |
-
$output .= $linkcurrency;
|
2002 |
-
}
|
2003 |
-
|
2004 |
-
$value = number_format((float)$linkitem['link_price'], 2, '.', '');
|
2005 |
-
if ( $value == 0 ) {
|
2006 |
-
$value = __( 'Free', 'link-library' );
|
2007 |
-
}
|
2008 |
-
$output .= $value;
|
2009 |
-
|
2010 |
-
if ( 'after' == $linkcurrencyplacement && !empty( $linkcurrency ) && $linkitem['link_price'] > 0 ) {
|
2011 |
-
$output .= $linkcurrency;
|
2012 |
-
}
|
2013 |
-
$output .= stripslashes( $afterlinkprice );
|
2014 |
-
|
2015 |
-
if ( true == $debugmode ) {
|
2016 |
-
$output .= "\n<!-- Time to render link large description section of link id " . $linkitem['proper_link_id'] . ': ' . ( microtime( true ) - $starttimersubmittername ) . " --> \n";
|
2017 |
-
}
|
2018 |
-
}
|
2019 |
|
2020 |
-
|
2021 |
-
|
|
|
2022 |
}
|
2023 |
-
}
|
2024 |
|
2025 |
-
|
|
|
|
|
2026 |
|
2027 |
-
|
2028 |
-
|
2029 |
-
$output .= stripslashes( $addafterlink );
|
2030 |
}
|
2031 |
}
|
2032 |
|
2033 |
-
|
2034 |
-
$output .= '<!-- Time to render link id ' . $linkitem['proper_link_id'] . ': ' . ( microtime( true ) - $linkstarttime ) . " --> \n";
|
2035 |
-
}
|
2036 |
|
2037 |
-
|
2038 |
|
2039 |
-
|
|
|
2040 |
|
2041 |
-
|
2042 |
-
|
2043 |
-
|
2044 |
-
|
2045 |
-
} elseif ( ( is_bool( $displayastable ) && ! $displayastable ) || 'false' == $displayastable ) {
|
2046 |
-
$output .= "\t</ul>\n";
|
2047 |
-
}
|
2048 |
-
}
|
2049 |
-
}
|
2050 |
|
2051 |
-
|
2052 |
-
$output .= '</div><!-- Div cat list wrappers -->';
|
2053 |
-
}
|
2054 |
|
2055 |
-
|
2056 |
-
|
2057 |
-
|
|
|
2058 |
|
2059 |
-
|
2060 |
-
$output .= '</div><!-- Div Show Links on click -->';
|
2061 |
}
|
|
|
|
|
2062 |
|
2063 |
-
|
|
|
|
|
2064 |
|
2065 |
-
|
2066 |
-
$output .= RenderLinkLibrary( $LLPluginClass, $generaloptions, $libraryoptions, $settings, $onlycount, $link_category->term_id, $level + 1, $display_children, $hidechildcatlinks );
|
2067 |
-
}
|
2068 |
|
2069 |
-
|
2070 |
-
|
2071 |
-
|
2072 |
-
$output .= "</div><!-- Div End Category -->\n";
|
2073 |
-
}
|
2074 |
}
|
2075 |
}
|
2076 |
}
|
2077 |
-
} else {
|
2078 |
-
$output .= __( 'All of your links must be assigned at least to one category to be displayed', 'link-library');
|
2079 |
|
2080 |
-
if (
|
2081 |
-
$output .= $
|
2082 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2083 |
}
|
2084 |
|
2085 |
if ( $usethumbshotsforimages ) {
|
@@ -2089,19 +1600,23 @@ function RenderLinkLibrary( $LLPluginClass, $generaloptions, $libraryoptions, $s
|
|
2089 |
$output .= '<div class="llthumbshotsnotice"><a href="http://www.thumbshots.com" target="_blank" title="Thumbnails Screenshots by Thumbshots">Thumbnail Screenshots by Thumbshots</a></div>';
|
2090 |
}
|
2091 |
}
|
2092 |
-
} else {
|
2093 |
-
$output .= __( 'No links found', 'link-library' );
|
2094 |
-
}
|
2095 |
|
2096 |
-
|
2097 |
-
|
2098 |
-
|
2099 |
-
$pageID = get_queried_object_id();
|
2100 |
|
2101 |
-
|
2102 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2103 |
|
2104 |
-
if ( $level == 0 ) {
|
2105 |
$xpath = $LLPluginClass->relativePath( dirname( __FILE__ ), ABSPATH );
|
2106 |
$nonce = wp_create_nonce( 'll_tracker' );
|
2107 |
|
@@ -2111,55 +1626,40 @@ function RenderLinkLibrary( $LLPluginClass, $generaloptions, $libraryoptions, $s
|
|
2111 |
$output .= "jQuery('.arrow-up').hide();\n";
|
2112 |
$output .= "jQuery('#linklist" . $settings . " a.track_this_link').click(function() {\n";
|
2113 |
$output .= "linkid = this.id;\n";
|
2114 |
-
$output .= "linkid = linkid.substring(5)
|
2115 |
-
$output .= "path = '" . $xpath . "'
|
2116 |
$output .= "jQuery.ajax( {" .
|
2117 |
-
|
2118 |
-
|
2119 |
-
|
2120 |
-
|
2121 |
-
|
2122 |
-
|
2123 |
$output .= "return true;\n";
|
2124 |
$output .= "});\n";
|
2125 |
$output .= "jQuery('#linklist" . $settings . " .expandlinks').click(function() {\n";
|
2126 |
$output .= "target = '.' + jQuery(this).attr('id');\n";
|
2127 |
-
$output .= "
|
2128 |
-
$output .= "jQuery(
|
2129 |
-
$output .= "jQuery(this).children('img').attr('src', '";
|
2130 |
-
|
2131 |
-
if ( !empty( $expandiconpath ) ) {
|
2132 |
-
$output .= $expandiconpath;
|
2133 |
-
} else {
|
2134 |
-
$output .= plugins_url( 'icons/expand-32.png', __FILE__ );
|
2135 |
-
}
|
2136 |
-
|
2137 |
-
$output .= "');\n";
|
2138 |
-
$output .= "} else {\n";
|
2139 |
-
$output .= "jQuery(target).slideDown();\n";
|
2140 |
-
$output .= "jQuery(this).children('img').attr('src', '";
|
2141 |
-
|
2142 |
-
if ( !empty( $collapseiconpath ) ) {
|
2143 |
-
$output .= $collapseiconpath;
|
2144 |
-
} else {
|
2145 |
-
$output .= plugins_url( 'icons/collapse-32.png', __FILE__ );
|
2146 |
-
}
|
2147 |
-
|
2148 |
-
$output .= "');\n";
|
2149 |
-
$output .= "}\n";
|
2150 |
$output .= "});\n";
|
2151 |
$output .= "});\n";
|
2152 |
$output .= "</script>";
|
2153 |
unset( $xpath );
|
2154 |
-
|
2155 |
-
|
2156 |
-
$currentcategory = $currentcategory + 1;
|
2157 |
|
2158 |
-
|
2159 |
-
$output .= '</div><!-- Div Linklist -->';
|
2160 |
|
2161 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2162 |
}
|
2163 |
|
|
|
|
|
2164 |
return do_shortcode( $output );
|
2165 |
}
|
24 |
return $str;
|
25 |
}
|
26 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
function link_library_display_pagination( $previouspagenumber, $nextpagenumber, $numberofpages, $pagenumber,
|
28 |
$showonecatonly, $showonecatmode, $AJAXcatid, $settings, $pageID, $currentcatletter ) {
|
29 |
|
40 |
}
|
41 |
|
42 |
if ( 1 < $numberofpages ) {
|
43 |
+
$paginationoutput = '<div class="pageselector">';
|
44 |
|
45 |
if ( 1 != $pagenumber ) {
|
46 |
$paginationoutput .= '<span class="previousnextactive">';
|
49 |
if ( 'AJAX' == $showonecatmode ) {
|
50 |
$paginationoutput .= "<a href=\"#\" onClick=\"showLinkCat" . $settings . "('', '" . $settings . "', " . $previouspagenumber . ");return false;\" >" . __('Previous', 'link-library') . '</a>';
|
51 |
} else {
|
52 |
+
$argumentarray = array ( 'linkresultpage' => $previouspagenumber );
|
|
|
53 |
|
54 |
+
if ( !empty( $currentcatletter ) ) {
|
55 |
$argumentarray['catletter'] = $currentcatletter;
|
56 |
}
|
57 |
|
58 |
$argumentarray = array_merge( $argumentarray, $incomingget );
|
59 |
$targetaddress = esc_url( add_query_arg( $argumentarray ) );
|
60 |
|
61 |
+
$paginationoutput .= '<a href="' . $targetaddress . '">' . __('Previous', 'link-library') . '</a>';
|
62 |
}
|
63 |
} elseif ( $showonecatonly ) {
|
64 |
if ( 'AJAX' == $showonecatmode || empty( $showonecatmode ) ) {
|
96 |
if ( 'AJAX' == $showonecatmode ) {
|
97 |
$paginationoutput .= "<a href=\"#\" onClick=\"showLinkCat" . $settings . "('', '" . $settings . "', " . $counter . ");return false;\" >" . $counter . '</a>';
|
98 |
} else {
|
99 |
+
$argumentarray = array ( 'linkresultpage' => $counter );
|
100 |
|
101 |
+
if ( !empty( $currentcatletter ) ) {
|
102 |
$argumentarray['catletter'] = $currentcatletter;
|
103 |
}
|
104 |
|
148 |
if ( 'AJAX' == $showonecatmode ) {
|
149 |
$paginationoutput .= "<a href=\"#\" onClick=\"showLinkCat" . $settings . "('', '" . $settings . "', " . $nextpagenumber . ");return false;\" >" . __('Next', 'link-library') . '</a>';
|
150 |
} else {
|
151 |
+
$argumentarray = array ( 'page_id' => $pageID, 'linkresultpage' => $nextpagenumber );
|
152 |
|
153 |
+
if ( !empty( $currentcatletter ) ) {
|
154 |
$argumentarray['catletter'] = $currentcatletter;
|
155 |
}
|
156 |
|
157 |
$argumentarray = array_merge( $argumentarray, $incomingget );
|
158 |
$targetaddress = esc_url( add_query_arg( $argumentarray ) );
|
159 |
|
160 |
+
$paginationoutput .= '<a href="' . $targetaddress . '">' . __('Next', 'link-library') . '</a>';
|
161 |
}
|
162 |
} elseif ( $showonecatonly ) {
|
163 |
if ( 'AJAX' == $showonecatmode || empty( $showonecatmode ) ) {
|
177 |
$paginationoutput .= '<span class="previousnextinactive">' . __('Next', 'link-library') . '</span>';
|
178 |
}
|
179 |
|
180 |
+
$paginationoutput .= '</div>';
|
181 |
}
|
182 |
|
183 |
if ( 'AJAX' == $showonecatmode ) {
|
190 |
$paginationoutput .= "if (typeof(ajaxobject) != \"undefined\") { ajaxobject.abort(); }\n";
|
191 |
|
192 |
$paginationoutput .= "\tjQuery('#contentLoading" . $settings . "').toggle();" .
|
193 |
+
"jQuery.ajax( {" .
|
194 |
+
" type: 'POST', " .
|
195 |
+
" url: '" . admin_url( 'admin-ajax.php' ) . "', " .
|
196 |
+
" data: { action: 'link_library_ajax_update', " .
|
197 |
+
" _ajax_nonce: '" . $nonce . "', " .
|
198 |
+
" id : _incomingID, " .
|
199 |
+
" settings : _settingsID, " .
|
200 |
+
" ajaxupdate : true, " .
|
201 |
+
" linkresultpage: _pagenumber }, " .
|
202 |
+
" success: function( data ){ " .
|
203 |
+
" jQuery('#linklist" . $settings. "').html( data ); " .
|
204 |
+
" jQuery('#contentLoading" . $settings . "').toggle();\n" .
|
205 |
+
" } } ); ";
|
206 |
$paginationoutput .= "}\n";
|
207 |
$paginationoutput .= "}\n";
|
208 |
|
223 |
* @return List of categories output for browser
|
224 |
*/
|
225 |
|
226 |
+
function RenderLinkLibrary( $LLPluginClass, $generaloptions, $libraryoptions, $settings, $onlycount = 'false' ) {
|
227 |
|
228 |
+
global $wpdb;
|
229 |
$showonecatonly = '';
|
230 |
$showonecatmode = '';
|
|
|
231 |
|
232 |
$generaloptions = wp_parse_args( $generaloptions, ll_reset_gen_settings( 'return' ) );
|
233 |
extract( $generaloptions );
|
235 |
$libraryoptions = wp_parse_args( $libraryoptions, ll_reset_options( 1, 'list', 'return' ) );
|
236 |
extract( $libraryoptions );
|
237 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
238 |
/* This case will only happen if the user entered bad data in the admin page or if someone is trying to inject bad data in SQL query */
|
239 |
+
if ( !empty( $categorylist ) ) {
|
240 |
+
$categorylistarray = explode( ',', $categorylist );
|
241 |
|
242 |
if ( true === array_filter( $categorylistarray, 'is_int' ) ) {
|
243 |
return 'List of requested categories is invalid. Please go back to Link Library admin panel to correct.';
|
244 |
}
|
245 |
}
|
246 |
|
247 |
+
if ( !empty( $excludecategorylist ) ) {
|
248 |
+
$excludecategorylistarray = explode( ',', $excludecategorylist );
|
249 |
|
250 |
if ( true === array_filter( $excludecategorylistarray, 'is_int' ) ) {
|
251 |
return 'List of requested excluded categories is invalid. Please go back to Link Library admin panel to correct.';
|
256 |
|
257 |
$linkeditoruser = current_user_can( 'manage_links' );
|
258 |
|
259 |
+
$output = "\n<!-- Beginning of Link Library Output -->\n\n";
|
|
|
|
|
|
|
|
|
260 |
|
261 |
$currentcategory = 1;
|
|
|
|
|
|
|
262 |
$categoryname = '';
|
263 |
$mode = 'normal';
|
264 |
|
|
|
265 |
if ( $showonecatonly && 'AJAX' == $showonecatmode && isset( $AJAXcatid ) && empty( $AJAXcatid ) ) {
|
266 |
$AJAXnocatset = true;
|
267 |
+
} else {
|
268 |
+
$AJAXnocatset = false;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
269 |
}
|
270 |
|
271 |
if ( $showonecatonly && 'AJAX' == $showonecatmode && isset( $AJAXcatid ) && !empty( $AJAXcatid ) && ( !isset( $_GET['searchll'] ) || empty( $_GET['searchll'] ) ) ) {
|
272 |
+
$categorylist = $AJAXcatid;
|
273 |
} elseif ($showonecatonly && 'HTMLGET' == $showonecatmode && isset( $_GET['cat_id'] ) && ( !isset( $_GET['searchll'] ) || ( isset( $_GET['searchll'] ) && empty( $_GET['searchll'] ) ) ) ) {
|
274 |
+
$categorylist = intval( $_GET['cat_id'] );
|
275 |
+
$AJAXcatid = $categorylist;
|
276 |
} elseif ($showonecatonly && 'HTMLGETSLUG' == $showonecatmode && isset( $_GET['cat'] ) && ( !isset( $_GET['searchll'] ) || ( isset( $_GET['searchll'] ) && empty( $_GET['searchll'] ) ) ) ) {
|
277 |
$categorysluglist = $_GET['cat'];
|
278 |
} elseif ($showonecatonly && 'HTMLGETCATNAME' == $showonecatmode && isset( $_GET['catname'] ) && ( !isset( $_GET['searchll'] ) || ( isset( $_GET['searchll'] ) && empty( $_GET['searchll'] ) ) ) ) {
|
280 |
}elseif ( $showonecatonly && 'HTMLGETPERM' == $showonecatmode && empty( $_GET['searchll'] ) ) {
|
281 |
global $wp_query;
|
282 |
|
283 |
+
if ( isset( $wp_query->query_vars['cat_name'] ) ) {
|
284 |
+
$categoryname = $wp_query->query_vars['cat_name'];
|
285 |
+
}
|
286 |
+
|
287 |
$AJAXcatid = $categoryname;
|
|
|
288 |
if ( isset( $_GET['cat'] ) ) {
|
289 |
$categorysluglist = $_GET['cat'];
|
290 |
+
} else {
|
291 |
+
$categorysluglist = '';
|
292 |
}
|
293 |
+
} elseif ( $showonecatonly && ( !isset( $AJAXcatid ) || empty( $AJAXcatid ) ) && !empty( $defaultsinglecat ) && ( !isset( $_GET['searchll'] ) || ( isset( $_GET['searchll'] ) && empty( $_GET['searchll'] ) ) ) ) {
|
294 |
+
$categorylist = $defaultsinglecat;
|
295 |
+
$AJAXcatid = $categorylist;
|
296 |
} elseif ( $showonecatonly && ( !isset( $AJAXcatid ) || empty( $AJAXcatid ) ) && isset( $_GET['cat_id'] ) && !empty( $_GET['cat_id'] ) && ( !isset( $_GET['searchll'] ) || ( isset( $_GET['searchll'] ) && empty( $_GET['searchll'] ) ) ) ) {
|
297 |
+
$categorylist = intval( $_GET['cat_id'] );
|
298 |
+
$AJAXcatid = $categorylist;
|
299 |
$defaultsinglecat = $AJAXcatid;
|
300 |
+
} elseif ( $showonecatonly && ( !isset( $AJAXcatid ) || empty( $AJAXcatid ) ) && empty( $defaultsinglecat ) && empty( $_GET['searchll'] ) ) {
|
301 |
+
$catquery = 'SELECT distinct t.name, t.term_id ';
|
302 |
+
$catquery .= 'FROM ' . $LLPluginClass->db_prefix() . 'terms t ';
|
303 |
+
$catquery .= 'LEFT JOIN ' . $LLPluginClass->db_prefix() . 'term_taxonomy tt ON (t.term_id = tt.term_id) ';
|
304 |
+
$catquery .= 'LEFT JOIN ' . $LLPluginClass->db_prefix() . 'term_relationships tr ON (tt.term_taxonomy_id = tr.term_taxonomy_id) ';
|
305 |
+
$catquery .= 'LEFT JOIN ' . $LLPluginClass->db_prefix() . 'links l ON (tr.object_id = l.link_id) ';
|
306 |
+
$catquery .= 'LEFT JOIN ' . $LLPluginClass->db_prefix() . 'links_extrainfo le ON (l.link_id = le.link_id) ';
|
307 |
+
$catquery .= 'WHERE tt.taxonomy = "link_category" ';
|
308 |
|
309 |
if ( $hide_if_empty ) {
|
310 |
+
$catquery .= 'AND l.link_id is not NULL AND l.link_description not like "%LinkLibrary:AwaitingModeration:RemoveTextToApprove%" ';
|
|
|
|
|
311 |
}
|
312 |
|
313 |
+
if ( !empty( $categorylist ) ) {
|
314 |
+
$catquery .= ' AND t.term_id in (' . $categorylist. ')';
|
|
|
|
|
|
|
|
|
|
|
|
|
315 |
}
|
316 |
|
317 |
+
if ( !empty( $excludecategorylist ) ) {
|
318 |
+
$catquery .= ' AND t.term_id not in (' . $excludecategorylist . ')';
|
319 |
}
|
320 |
|
321 |
+
if ( false == $showinvisible && ( false == $showinvisibleadmin || ( true == $showinvisibleadmin && ! $linkeditoruser ) ) ) {
|
322 |
+
$catquery .= ' AND l.link_visible != "N"';
|
323 |
}
|
324 |
|
325 |
+
if ( true == $current_user_links && is_user_logged_in() ) {
|
326 |
+
$user_data = wp_get_current_user();
|
327 |
+
$name_field_value = $user_data->display_name;
|
328 |
|
329 |
+
$catquery .= 'AND le.link_submitter = "' . $name_field_value . '" ';
|
|
|
330 |
}
|
331 |
|
332 |
+
$mode = 'normal';
|
|
|
|
|
333 |
|
334 |
+
$catquery .= ' ORDER by ';
|
335 |
+
|
336 |
+
if ( !$combineresults ) {
|
337 |
+
if ( 'name' == $order ) {
|
338 |
+
$catquery .= ' name ' . ( in_array( $direction, $validdirections ) ? $direction : 'ASC' );
|
339 |
+
} elseif ( 'id' == $order ) {
|
340 |
+
$catquery .= ' t.term_id ' . ( in_array( $direction, $validdirections ) ? $direction : 'ASC' );
|
341 |
+
} elseif ( 'order' == $order ) {
|
342 |
+
$catquery .= ' t.term_order ' . ( in_array( $direction, $validdirections ) ? $direction : 'ASC' );
|
343 |
+
} elseif ( 'catlist' == $order ) {
|
344 |
+
$catquery .= ' FIELD(t.term_id,' . $categorylist . ') ';
|
345 |
+
}
|
346 |
|
347 |
+
$catquery .= ', ';
|
348 |
+
}
|
349 |
|
350 |
+
if ( true == $featuredfirst ) {
|
351 |
+
$catquery .= ' le.link_featured DESC, ';
|
352 |
+
}
|
|
|
|
|
353 |
|
354 |
+
if ( 'name' == $linkorder || 'random' == $linkorder || 'hits' == $linkorder ) {
|
355 |
+
$catquery .= 'link_name ' . ( in_array( $linkdirection, $validdirections ) ? $direction : 'ASC' );
|
356 |
+
} elseif ( 'id' == $linkorder ) {
|
357 |
+
$catquery .= 'link_id ' . ( in_array( $linkdirection, $validdirections ) ? $direction : 'ASC' );
|
358 |
+
} elseif ( 'order' == $linkorder ) {
|
359 |
+
$catquery .= 'link_order ' . ( in_array( $linkdirection, $validdirections ) ? $direction : 'ASC' );
|
360 |
+
} elseif ( 'date' == $linkorder ) {
|
361 |
+
$catquery .= 'link_updated ' . ( in_array( $linkdirection, $validdirections ) ? $direction : 'ASC' );
|
362 |
+
}
|
363 |
|
364 |
+
$catitems = $wpdb->get_results( $catquery );
|
365 |
|
366 |
if ( $debugmode ) {
|
367 |
+
$output .= "\n<!-- AJAX Default Category Query: " . print_r( $catquery, TRUE ) . "-->\n\n";
|
368 |
+
$output .= "\n<!-- AJAX Default Category Results: " . print_r( $catitems, TRUE ) . "-->\n\n";
|
369 |
}
|
370 |
|
371 |
+
if ( $catitems ) {
|
372 |
+
$categorylist = $catitems[0]->term_id;
|
373 |
+
$AJAXcatid = $categorylist;
|
374 |
}
|
375 |
}
|
376 |
|
377 |
$searchterms = '';
|
378 |
|
379 |
if ( isset($_GET['searchll'] ) && !empty( $_GET['searchll'] ) && empty( $singlelinkid ) ) {
|
|
|
|
|
380 |
$searchterms = array();
|
381 |
+
$searchstring = $_GET['searchll'];
|
382 |
|
383 |
$offset = 0;
|
384 |
+
while ( false !== strpos( $searchstring, '"', $offset ) ) {
|
385 |
if ( 0 == $offset ) {
|
386 |
+
$offset = strpos( $searchstring, '"' );
|
387 |
} else {
|
388 |
+
$endpos = strpos( $searchstring, '"', $offset + 1 );
|
389 |
+
$searchterms[] = substr( $searchstring, $offset + 1, $endpos - $offset - 2 );
|
390 |
$strlength = ( $endpos + 1 ) - ( $offset + 1 );
|
391 |
+
$searchstring = substr_replace( $searchstring, '', $offset - 1, $endpos + 2 - ( $offset ) );
|
392 |
$offset = 0;
|
393 |
}
|
394 |
}
|
395 |
|
396 |
+
if ( ! empty( $searchstring ) ) {
|
397 |
+
$searchterms = array_merge( $searchterms, explode( " ", $searchstring ) );
|
398 |
}
|
399 |
+
|
400 |
+
if ( !empty( $searchterms ) ) {
|
401 |
$mode = 'search';
|
|
|
402 |
}
|
403 |
}
|
404 |
|
405 |
+
$currentcatletter = '';
|
|
|
|
|
|
|
406 |
|
407 |
+
if ( $cat_letter_filter != 'no' ) {
|
408 |
+
require_once plugin_dir_path( __FILE__ ) . 'render-link-library-alpha-filter.php';
|
409 |
+
$result = RenderLinkLibraryAlphaFilter( $LLPluginClass, $generaloptions, $libraryoptions, $settings, $mode );
|
410 |
|
411 |
+
$currentcatletter = $result['currentcatletter'];
|
412 |
|
413 |
+
if ( 'beforelinks' == $cat_letter_filter || 'beforecatsandlinks' == $cat_letter_filter ) {
|
414 |
+
$output .= $result['output'];
|
|
|
415 |
}
|
416 |
+
}
|
417 |
|
418 |
+
$linkquery = 'SELECT distinct *, l.link_id as proper_link_id, UNIX_TIMESTAMP(l.link_updated) as link_date, ';
|
419 |
+
$linkquery .= 'IF (DATE_ADD(l.link_updated, INTERVAL 7 DAY) >= NOW(), 1,0) as recently_updated ';
|
420 |
+
$linkquery .= 'FROM ' . $LLPluginClass->db_prefix() . 'terms t ';
|
421 |
+
$linkquery .= 'LEFT JOIN ' . $LLPluginClass->db_prefix() . 'term_taxonomy tt ON (t.term_id = tt.term_id) ';
|
422 |
+
$linkquery .= 'LEFT JOIN ' . $LLPluginClass->db_prefix() . 'term_relationships tr ON (tt.term_taxonomy_id = tr.term_taxonomy_id) ';
|
423 |
+
$linkquery .= 'LEFT JOIN ' . $LLPluginClass->db_prefix() . 'links l ON (tr.object_id = l.link_id) ';
|
424 |
+
$linkquery .= 'LEFT JOIN ' . $LLPluginClass->db_prefix() . 'links_extrainfo le ON (l.link_id = le.link_id) ';
|
425 |
+
$linkquery .= 'WHERE tt.taxonomy = "link_category" ';
|
426 |
+
|
427 |
+
if ( $hide_if_empty ) {
|
428 |
+
$linkquery .= 'AND l.link_id is not NULL AND l.link_description not like "%LinkLibrary:AwaitingModeration:RemoveTextToApprove%" ';
|
429 |
+
}
|
430 |
|
431 |
+
if ( !empty( $currentcatletter ) && $cat_letter_filter != 'no' ) {
|
432 |
+
$linkquery .= ' AND substring(t.name, 1, 1) = "' . $currentcatletter . '" ';
|
433 |
+
}
|
|
|
|
|
434 |
|
435 |
+
if ( ( !empty( $categorylist ) || isset( $_GET['cat_id'] ) ) && empty( $singlelinkid ) ) {
|
436 |
+
$linkquery .= ' AND t.term_id in (' . $categorylist. ')';
|
437 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
438 |
|
439 |
+
if ( ( !empty( $categorysluglist ) || isset( $_GET['cat'] ) ) && empty( $singlelinkid ) ) {
|
440 |
+
$linkquery .= ' AND t.slug in ("' . $categorysluglist. '")';
|
441 |
+
}
|
442 |
+
|
443 |
+
if ( ( !empty( $categorynamelist ) || isset( $_GET['catname'] ) ) && empty( $singlelinkid ) ) {
|
444 |
+
$linkquery .= ' AND t.name in ("' . urldecode( $categorynamelist ). '")';
|
445 |
+
}
|
446 |
|
447 |
+
if ( isset( $categoryname ) && !empty( $categoryname ) && 'HTMLGETPERM' == $showonecatmode && empty( $singlelinkid ) ) {
|
448 |
+
$linkquery .= ' AND t.slug = "' . $categoryname. '"';
|
449 |
+
}
|
450 |
|
451 |
+
if ( !empty( $excludecategorylist ) && empty( $singlelinkid ) ) {
|
452 |
+
$linkquery .= ' AND t.term_id not in (' . $excludecategorylist . ')';
|
453 |
+
}
|
454 |
|
455 |
+
if ( !empty( $singlelinkid ) && intval( $singlelinkid ) ) {
|
456 |
+
$linkquery .= ' AND l.link_id = ' . $singlelinkid . ' ';
|
457 |
+
}
|
458 |
|
459 |
+
if ( false == $showinvisible && ( false == $showinvisibleadmin || ( true == $showinvisibleadmin && ! $linkeditoruser ) ) ) {
|
460 |
+
$linkquery .= ' AND l.link_visible != "N" ';
|
461 |
+
}
|
462 |
|
463 |
+
if ( true == $current_user_links && is_user_logged_in() ) {
|
464 |
+
$user_data = wp_get_current_user();
|
465 |
+
$name_field_value = $user_data->display_name;
|
|
|
|
|
|
|
|
|
466 |
|
467 |
+
$linkquery .= 'AND le.link_submitter = "' . $name_field_value . '" ';
|
468 |
+
}
|
469 |
+
|
470 |
+
if ( !empty( $searchterms ) ) {
|
471 |
+
$mode = 'search';
|
472 |
+
$termnb = 1;
|
473 |
+
|
474 |
+
foreach( $searchterms as $searchterm ) {
|
475 |
+
if ( !empty( $searchterm ) ) {
|
476 |
+
$searchterm = str_replace( '--', '', $searchterm );
|
477 |
+
$searchterm = str_replace( ';', '', $searchterm );
|
478 |
+
$searchterm = esc_html( stripslashes( $searchterm ) );
|
479 |
+
if ( true == $searchterm ) {
|
480 |
+
if ( 1 == $termnb ) {
|
481 |
+
$linkquery .= ' AND (link_name like "%' . $searchterm . '%" ';
|
482 |
+
$termnb++;
|
483 |
+
} else {
|
484 |
+
$linkquery .= ' OR link_name like "%' . $searchterm . '%" ';
|
485 |
+
}
|
486 |
|
487 |
+
if ( false == $hidecategorynames ) {
|
488 |
+
$linkquery .= ' OR name like "%' . $searchterm . '%" ';
|
489 |
+
}
|
490 |
+
|
491 |
+
if ( $shownotes ) {
|
492 |
+
$linkquery .= ' OR link_notes like "%' . $searchterm . '%" ';
|
493 |
+
}
|
494 |
+
|
495 |
+
if ( $showdescription ) {
|
496 |
+
$linkquery .= ' OR link_description like "%' . $searchterm . '%" ';
|
497 |
+
}
|
498 |
+
|
499 |
+
if ( $showlargedescription ) {
|
500 |
+
$linkquery .= ' OR link_textfield like "%' . $searchterm . '%" ';
|
501 |
}
|
502 |
}
|
503 |
}
|
504 |
}
|
505 |
|
506 |
+
$linkquery .= ')';
|
507 |
+
}
|
508 |
+
|
509 |
+
$linkquery .= ' ORDER by ';
|
510 |
+
|
511 |
+
if ( !$combineresults ) {
|
512 |
+
if ( 'name' == $order ) {
|
513 |
+
$linkquery .= ' name ' . ( in_array( $direction, $validdirections ) ? $direction : 'ASC' );
|
514 |
+
} elseif ( 'id' == $order ) {
|
515 |
+
$linkquery .= ' t.term_id ' . ( in_array( $direction, $validdirections ) ? $direction : 'ASC' );
|
516 |
+
} elseif ( 'order' == $order ) {
|
517 |
+
$linkquery .= ' t.term_order ' . ( in_array( $direction, $validdirections ) ? $direction : 'ASC' );
|
518 |
+
} elseif ( 'catlist' == $order ) {
|
519 |
+
$linkquery .= ' FIELD(t.term_id,' . $categorylist . ') ';
|
520 |
}
|
521 |
|
522 |
+
$linkquery .= ', ';
|
523 |
+
}
|
|
|
|
|
524 |
|
525 |
+
if ( $featuredfirst ) {
|
526 |
+
$linkquery .= ' link_featured DESC, ';
|
527 |
+
}
|
|
|
528 |
|
529 |
+
if ( 'name' == $linkorder || 'random' == $linkorder ) {
|
530 |
+
$linkquery .= 'l.link_name ' . ( in_array( $linkdirection, $validdirections ) ? $linkdirection : 'ASC' );
|
531 |
+
} elseif ( 'id' == $linkorder ) {
|
532 |
+
$linkquery .= 'l.link_id ' . ( in_array( $linkdirection, $validdirections ) ? $linkdirection : 'ASC' );
|
533 |
+
} elseif ( 'order' == $linkorder ) {
|
534 |
+
$linkquery .= 'l.link_order '. ( in_array( $linkdirection, $validdirections ) ? $linkdirection : 'ASC' );
|
535 |
+
} elseif ( 'date' == $linkorder ) {
|
536 |
+
$linkquery .= 'l.link_updated '. ( in_array( $linkdirection, $validdirections ) ? $linkdirection : 'ASC' );
|
537 |
+
} elseif ( 'hits' == $linkorder ) {
|
538 |
+
$linkquery .= ' le.link_visits ' . ( in_array( $direction, $validdirections ) ? $linkdirection : 'ASC' ) . ' , l.link_name ASC ';
|
539 |
+
}
|
540 |
|
541 |
+
if ( $pagination && 'search' != $mode && !$onlycount ) {
|
|
|
|
|
|
|
542 |
|
543 |
+
$linkitemsforcount = $wpdb->get_results( $linkquery );
|
544 |
|
545 |
+
$numberoflinks = count( $linkitemsforcount );
|
546 |
+
|
547 |
+
$quantity = $linksperpage + 1;
|
548 |
+
|
549 |
+
if ( isset( $_POST['linkresultpage'] ) || isset( $_GET['linkresultpage'] ) ) {
|
550 |
+
|
551 |
+
if ( isset( $_POST['linkresultpage'] ) ) {
|
552 |
+
$pagenumber = $_POST['linkresultpage'];
|
553 |
+
} elseif ( isset( $_GET['linkresultpage'] ) ) {
|
554 |
+
$pagenumber = $_GET['linkresultpage'];
|
555 |
}
|
556 |
+
|
557 |
+
$startingitem = ($pagenumber - 1) * $linksperpage;
|
558 |
+
$linkquery .= ' LIMIT ' . $startingitem . ', ' . $quantity;
|
559 |
+
} else {
|
560 |
+
$pagenumber = 1;
|
561 |
+
$linkquery .= ' LIMIT 0, ' . $quantity;
|
562 |
+
}
|
563 |
+
}
|
564 |
+
|
565 |
+
if ( !empty( $singlelinkid ) && intval( $singlelinkid ) ) {
|
566 |
+
$linkquery .= ' LIMIT 0, 1';
|
567 |
+
}
|
568 |
+
|
569 |
+
if ( true == $debugmode ) {
|
570 |
+
$linkquerystarttime = microtime ( true );
|
571 |
+
}
|
572 |
+
|
573 |
+
$linkitems = $wpdb->get_results( $linkquery, ARRAY_A );
|
574 |
+
|
575 |
+
if ( $debugmode ) {
|
576 |
+
$output .= "\n<!-- Link Query: " . print_r( $linkquery, TRUE ) . "-->\n\n";
|
577 |
+
$output .= "\n<!-- Link Results: " . print_r( $linkitems, TRUE ) . "-->\n\n";
|
578 |
+
$output .= "\n<!-- Link Query Execution Time: " . ( microtime( true ) - $linkquerystarttime ) . "-->\n\n";
|
579 |
+
}
|
580 |
+
|
581 |
+
if ( $pagination ) {
|
582 |
+
if ($linksperpage == 0 || empty( $linksperpage ) ) {
|
583 |
+
$linksperpage = 5;
|
584 |
}
|
585 |
|
586 |
+
if ( count( $linkitems ) > $linksperpage ) {
|
587 |
+
array_pop( $linkitems );
|
588 |
+
$nextpage = true;
|
589 |
+
} else {
|
590 |
+
$nextpage = false;
|
591 |
}
|
592 |
|
593 |
+
if( isset( $numberoflinks ) ) {
|
594 |
+
$preroundpages = $numberoflinks / $linksperpage;
|
595 |
+
$numberofpages = ceil( $preroundpages * 1 ) / 1;
|
596 |
+
}
|
597 |
+
}
|
598 |
+
|
599 |
+
if ( 'random' == $linkorder ) {
|
600 |
+
shuffle($linkitems);
|
601 |
+
}
|
602 |
+
|
603 |
+
if ( !empty( $maxlinks ) ) {
|
604 |
+
if ( is_numeric( $maxlinks ) ) {
|
605 |
+
array_splice( $linkitems, $maxlinks );
|
606 |
+
}
|
607 |
+
}
|
608 |
|
609 |
+
if ( $debugmode ) {
|
610 |
+
echo '<!-- showonecatmode: ' . $showonecatonly . ', AJAXnocatset: ' . $AJAXnocatset . ', nocatonstartup: ' . $nocatonstartup . '-->';
|
611 |
+
}
|
612 |
+
|
613 |
+
// Display links
|
614 |
+
if ( ( $linkitems && $showonecatonly && $AJAXnocatset && $nocatonstartup && !isset( $_GET['cat_id'] ) && !isset( $_GET['searchll'] ) ) || ( empty( $linkitems ) && $nocatonstartup && empty( $_GET['searchll'] ) ) ) {
|
615 |
+
$output .= "<div id='linklist" . $settings . "' class='linklist'>\n";
|
616 |
+
$output .= '</div>';
|
617 |
+
} elseif ( $linkitems && $onlycount ) {
|
618 |
+
return count( $linkitems );
|
619 |
+
} elseif ( $linkitems && !$onlycount ) {
|
620 |
+
$output .= "<div id='linklist" . $settings . "' class='linklist'>\n";
|
621 |
|
622 |
+
if ( $pagination && $mode != "search" && 'BEFORE' == $paginationposition ) {
|
623 |
+
$previouspagenumber = $pagenumber - 1;
|
624 |
+
$nextpagenumber = $pagenumber + 1;
|
625 |
+
$pageID = get_the_ID();
|
626 |
if ( empty( $AJAXcatid ) && !empty( $categorysluglist ) ) {
|
627 |
$AJAXcatid = $categorysluglist;
|
628 |
}
|
630 |
$AJAXcatid = $categorynamelist;
|
631 |
}
|
632 |
|
633 |
+
$output .= link_library_display_pagination( $previouspagenumber, $nextpagenumber, $numberofpages, $pagenumber, $showonecatonly, $showonecatmode, $AJAXcatid, $settings, $pageID, $currentcatletter );
|
634 |
}
|
635 |
|
636 |
+
if ( 'search' == $mode ) {
|
637 |
+
$output .= '<div class="resulttitle">' . __('Search Results for', 'link-library') . ' "' . esc_html( stripslashes( $_GET['searchll'] ) ) . '"</div>';
|
638 |
}
|
639 |
|
640 |
+
$currentcategoryid = -1;
|
|
|
|
|
641 |
|
642 |
$xpath = $LLPluginClass->relativePath( dirname( __FILE__ ), ABSPATH );
|
643 |
|
|
|
644 |
|
645 |
+
$linkcount = 0;
|
|
|
|
|
|
|
|
|
|
|
646 |
|
647 |
+
foreach ( $linkitems as $linkitem ) {
|
|
|
|
|
|
|
|
|
|
|
648 |
|
649 |
+
if ( true == $debugmode ) {
|
650 |
+
$linkstarttime = microtime ( true );
|
651 |
+
}
|
652 |
+
|
653 |
+
if ( $currentcategoryid != $linkitem['term_id'] ) {
|
654 |
+
if ( -1 != $currentcategoryid && $showonecatonly && empty( $_GET['searchll'] ) && ! $combineresults ) {
|
655 |
break;
|
656 |
}
|
657 |
|
658 |
+
if ( -1 != $currentcategoryid && ! $combineresults) {
|
659 |
+
// Close the last category
|
660 |
+
if ( ( is_bool( $displayastable ) && $displayastable ) || 'true' == $displayastable ) {
|
661 |
+
$output .= "\t</table>\n";
|
662 |
+
} elseif ( ( is_bool( $displayastable ) && ! $displayastable ) || 'false' == $displayastable ) {
|
663 |
+
$output .= "\t</ul>\n";
|
664 |
+
} elseif ( 'nosurroundingtags' == $displayastable ) {
|
665 |
+
$output .= '';
|
|
|
|
|
|
|
|
|
|
|
666 |
}
|
|
|
667 |
|
668 |
+
if ( !empty( $catlistwrappers ) ) {
|
669 |
+
$output .= '</div>';
|
670 |
+
}
|
671 |
|
672 |
+
if ( !empty( $afterlastlink ) ) {
|
673 |
+
$output .= '<!-- here 2 -->';
|
674 |
+
$output .= stripslashes( $afterlastlink );
|
675 |
}
|
676 |
+
|
677 |
+
if ( $showlinksonclick ) {
|
678 |
+
$output .= '</div>';
|
|
|
|
|
|
|
|
|
679 |
}
|
|
|
680 |
|
681 |
+
$output .= '</div>';
|
682 |
+
|
683 |
+
$currentcategory = $currentcategory + 1;
|
684 |
}
|
685 |
|
686 |
+
if ( ! $combineresults ) {
|
687 |
+
$currentcategoryid = $linkitem['term_id'];
|
688 |
+
$output .= '<div class="LinkLibraryCat LinkLibraryCat' . $currentcategoryid . '">';
|
689 |
+
$linkcount = 0;
|
690 |
+
$catlink = '';
|
691 |
+
$cattext = '';
|
692 |
+
$catenddiv = '';
|
693 |
+
|
694 |
+
if ( 1 == $catlistwrappers ) {
|
695 |
+
$output .= '<div class="' . $beforecatlist1 . '">';
|
696 |
+
} else if ( $catlistwrappers == 2 ) {
|
697 |
+
$remainder = $currentcategory % $catlistwrappers;
|
698 |
+
switch ( $remainder ) {
|
699 |
+
|
700 |
+
case 0:
|
701 |
+
$output .= '<div class="' . $beforecatlist2 . '">';
|
702 |
+
break;
|
703 |
+
|
704 |
+
case 1:
|
705 |
+
$output .= '<div class="' . $beforecatlist1 . '">';
|
706 |
+
break;
|
707 |
+
}
|
708 |
+
} else if ( 3 == $catlistwrappers ) {
|
709 |
+
$remainder = $currentcategory % $catlistwrappers;
|
710 |
+
switch ( $remainder ) {
|
711 |
|
712 |
+
case 0:
|
713 |
+
$output .= '<div class="' . $beforecatlist3 . '">';
|
714 |
+
break;
|
715 |
|
716 |
+
case 2:
|
717 |
+
$output .= '<div class="' . $beforecatlist2 . '">';
|
718 |
+
break;
|
719 |
|
720 |
+
case 1:
|
721 |
+
$output .= '<div class="' . $beforecatlist1 . '">';
|
722 |
+
break;
|
723 |
+
}
|
724 |
+
}
|
725 |
|
726 |
+
// Display the category name
|
727 |
+
if ( !$hidecategorynames || empty( $hidecategorynames ) ) {
|
728 |
+
$caturl = get_metadata( 'linkcategory', $linkitem['term_id'], 'linkcaturl', true );
|
|
|
|
|
|
|
|
|
729 |
|
730 |
+
if ( $catanchor ) {
|
731 |
+
$cattext = '<div id="' . $linkitem['slug'] . '">';
|
732 |
+
} else {
|
733 |
+
$cattext = '';
|
734 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
735 |
|
736 |
+
if ( !$divorheader ) {
|
737 |
+
if ( 'search' == $mode ) {
|
738 |
+
foreach ( $searchterms as $searchterm ) {
|
739 |
+
$linkitem['name'] = link_library_highlight_phrase( $linkitem['name'], $searchterm, '<span class="highlight_word">', '</span>' );
|
740 |
+
}
|
741 |
+
}
|
|
|
|
|
742 |
|
743 |
+
$catlink = '<div class="' . $catnameoutput . '">';
|
|
|
744 |
|
745 |
+
if ( 'right' == $catdescpos || empty( $catdescpos ) ) {
|
746 |
+
if ( !empty( $caturl ) ) {
|
747 |
+
$catlink .= '<a href="' . link_library_add_http( $caturl ) . '" ';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
748 |
|
749 |
+
if ( !empty( $linktarget ) )
|
750 |
+
$catlink .= ' target="' . $linktarget . '"';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
751 |
|
752 |
+
$catlink .= '>';
|
753 |
+
}
|
754 |
+
$catlink .= $linkitem['name'];
|
755 |
+
if ( !empty( $caturl ) ) {
|
756 |
+
$catlink .= '</a>';
|
757 |
+
}
|
758 |
+
}
|
759 |
|
760 |
+
if ( $showcategorydesclinks ) {
|
761 |
+
$catlink .= '<span class="linklistcatnamedesc">';
|
762 |
+
$linkitem['description'] = str_replace( '[', '<', $linkitem['description'] );
|
763 |
+
$linkitem['description'] = str_replace( ']', '>', $linkitem['description'] );
|
764 |
+
$catlink .= $linkitem['description'];
|
765 |
+
$catlink .= '</span>';
|
766 |
+
}
|
767 |
|
768 |
+
if ( 'left' == $catdescpos ) {
|
769 |
+
if ( !empty( $caturl ) ) {
|
770 |
+
$catlink .= '<a href="' . link_library_add_http( $caturl ) . '" ';
|
|
|
|
|
771 |
|
772 |
+
if ( !empty( $linktarget ) )
|
773 |
+
$catlink .= ' target="' . $linktarget . '"';
|
|
|
774 |
|
775 |
+
$catlink .= '>';
|
776 |
+
}
|
777 |
+
$catlink .= $linkitem['name'];
|
778 |
+
if ( !empty( $caturl ) ) {
|
779 |
+
$catlink .= '</a>';
|
780 |
+
}
|
781 |
+
}
|
782 |
|
783 |
+
if ( $showlinksonclick ) {
|
784 |
+
$catlink .= '<span class="expandlinks" id="LinksInCat' . $linkitem['term_id'] . '">';
|
785 |
+
$catlink .= '<img class="arrow-down" src="';
|
|
|
786 |
|
787 |
+
if ( !empty( $expandiconpath ) ) {
|
788 |
+
$catlink .= $expandiconpath;
|
789 |
+
} else {
|
790 |
+
$catlink .= plugins_url( 'icons/expand-32.png', __FILE__ );
|
791 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
792 |
|
793 |
+
$catlink .= '" />';
|
|
|
|
|
|
|
|
|
794 |
|
795 |
+
$catlink .= '<img class="arrow-up" src="';
|
|
|
|
|
796 |
|
797 |
+
if ( !empty( $expandiconpath ) ) {
|
798 |
+
$catlink .= $expandiconpath;
|
799 |
+
} else {
|
800 |
+
$catlink .= plugins_url( 'icons/collapse-32.png', __FILE__ );
|
801 |
}
|
|
|
|
|
|
|
802 |
|
803 |
+
$catlink .= '" />';
|
|
|
|
|
804 |
|
805 |
+
$catlink .= '</span>';
|
806 |
+
}
|
|
|
807 |
|
808 |
+
$catlink .= '</div>';
|
809 |
+
} else if ( $divorheader ) {
|
810 |
+
if ( 'search' == $mode ) {
|
811 |
+
foreach ( $searchterms as $searchterm ) {
|
812 |
+
$linkitem['name'] = link_library_highlight_phrase( $linkitem['name'], $searchterm, '<span class="highlight_word">', '</span>' );
|
813 |
}
|
814 |
}
|
815 |
|
816 |
+
$catlink = '<'. $catnameoutput . '>';
|
|
|
|
|
817 |
|
818 |
+
if ( 'right' == $catdescpos || empty( $catdescpos ) ) {
|
819 |
+
if ( !empty( $caturl ) ) {
|
820 |
+
$catlink .= '<a href="' . link_library_add_http( $caturl ). '" ';
|
|
|
|
|
821 |
|
822 |
+
if ( !empty( $linktarget ) )
|
823 |
+
$catlink .= ' target="' . $linktarget . '"';
|
|
|
|
|
|
|
|
|
824 |
|
825 |
+
$catlink .= '>';
|
826 |
+
}
|
827 |
+
$catlink .= $linkitem['name'];
|
828 |
+
if ( !empty( $caturl ) ) {
|
829 |
+
$catlink .= '</a>';
|
830 |
+
}
|
831 |
+
}
|
832 |
|
833 |
+
if ( $showcategorydesclinks ) {
|
834 |
+
$catlink .= '<span class="linklistcatnamedesc">';
|
835 |
+
$linkitem['description'] = str_replace( '[', '<', $linkitem['description'] );
|
836 |
+
$linkitem['description'] = str_replace(']', '>', $linkitem['description'] );
|
837 |
+
$catlink .= $linkitem['description'];
|
838 |
+
$catlink .= '</span>';
|
839 |
+
}
|
840 |
|
841 |
+
if ( 'left' == $catdescpos ) {
|
842 |
+
if ( !empty( $caturl ) ) {
|
843 |
+
$catlink .= '<a href="' . link_library_add_http( $caturl ) . '" ';
|
844 |
|
845 |
+
if ( !empty( $linktarget ) )
|
846 |
+
$catlink .= ' target="' . $linktarget . '"';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
847 |
|
848 |
+
$catlink .= '>';
|
849 |
+
}
|
850 |
+
$catlink .= $linkitem['name'];
|
851 |
+
if ( !empty( $caturl ) ) {
|
852 |
+
$catlink .= '</a>';
|
853 |
+
}
|
854 |
+
}
|
855 |
|
856 |
+
if ( $showlinksonclick ) {
|
857 |
+
$catlink .= '<span class="expandlinks" id="LinksInCat' . $linkitem['term_id'] . '">';
|
858 |
+
$catlink .= '<img class="arrow-down" src="';
|
859 |
|
860 |
+
if ( !empty( $expandiconpath ) ) {
|
861 |
+
$catlink .= $expandiconpath;
|
862 |
+
} else {
|
863 |
+
$catlink .= plugins_url( 'icons/expand-32.png', __FILE__ );
|
864 |
+
}
|
865 |
|
866 |
+
$catlink .= '" />';
|
|
|
|
|
|
|
|
|
|
|
|
|
867 |
|
868 |
+
$catlink .= '<img class="arrow-up" src="';
|
|
|
|
|
869 |
|
870 |
+
if ( !empty( $expandiconpath ) ) {
|
871 |
+
$catlink .= $expandiconpath;
|
872 |
+
} else {
|
873 |
+
$catlink .= plugins_url( 'icons/collapse-32.png', __FILE__ );
|
874 |
+
}
|
875 |
|
876 |
+
$catlink .= '" />';
|
877 |
+
$catlink .= '</span>';
|
878 |
+
}
|
879 |
|
880 |
+
$catlink .= '</' . $catnameoutput . '>';
|
881 |
+
}
|
|
|
|
|
|
|
882 |
|
883 |
+
if ($catanchor) {
|
884 |
+
$catenddiv = '</div>';
|
885 |
+
} else {
|
886 |
+
$catenddiv = '';
|
887 |
+
}
|
888 |
+
}
|
889 |
|
890 |
+
$output .= $cattext . $catlink . $catenddiv;
|
|
|
|
|
|
|
|
|
|
|
|
|
891 |
|
892 |
+
if ( $showlinksonclick ) {
|
893 |
+
$output .= '<div class="LinksInCat' . $currentcategoryid . ' LinksInCat">';
|
894 |
+
}
|
895 |
+
}
|
896 |
|
897 |
+
if ( ( ( is_bool( $displayastable ) && $displayastable ) || 'true' == $displayastable ) && ( ! $combineresults || ( $combineresults && $linkcount == 0 ) ) ) {
|
898 |
+
$catstartlist = "\n\t<table class='linklisttable'>\n";
|
899 |
+
if ( $showcolumnheaders ) {
|
900 |
+
$catstartlist .= '<div class="linklisttableheaders"><tr>';
|
901 |
|
902 |
+
if ( !empty( $linkheader ) ) {
|
903 |
+
$catstartlist .= '<th><div class="linklistcolumnheader">' . $linkheader . '</div></th>';
|
904 |
+
}
|
905 |
|
906 |
+
if ( !empty( $descheader ) ) {
|
907 |
+
$catstartlist .= '<th><div class="linklistcolumnheader">' . $descheader . '</div></th>';
|
908 |
+
}
|
909 |
|
910 |
+
if ( !empty( $notesheader ) ) {
|
911 |
+
$catstartlist .= '<th><div class="linklistcolumnheader">' . $notesheader . '</div></th>';
|
912 |
+
}
|
913 |
|
914 |
+
$catstartlist .= "</tr></div>\n";
|
915 |
+
} else {
|
916 |
+
$catstartlist .= '';
|
917 |
+
}
|
918 |
+
} elseif ( ( ( is_bool( $displayastable ) && ! $displayastable ) || 'false' == $displayastable ) && ( ! $combineresults || ( $combineresults && $linkcount == 0 ) ) ) {
|
919 |
+
$catstartlist = "\n\t<ul>\n";
|
920 |
+
} elseif ( 'nosurroundingtags' == $displayastable ) {
|
921 |
+
$catstartlist = '';
|
922 |
+
} else {
|
923 |
+
$catstartlist = '';
|
924 |
+
}
|
925 |
|
926 |
+
$output .= $catstartlist;
|
|
|
|
|
|
|
|
|
|
|
|
|
927 |
|
928 |
+
if ( !empty( $beforefirstlink ) ) {
|
929 |
+
$output .= stripslashes( $beforefirstlink );
|
930 |
+
}
|
931 |
+
}
|
|
|
|
|
|
|
932 |
|
933 |
+
$between = "\n";
|
|
|
|
|
934 |
|
935 |
+
if ( $rssfeedinline ) {
|
936 |
+
include_once( ABSPATH . WPINC . '/feed.php' );
|
937 |
|
938 |
+
if ( true == $debugmode ) {
|
939 |
+
$starttimerssfeed = microtime ( true );
|
940 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
941 |
|
942 |
+
$rss = fetch_feed( $linkitem['link_rss'] );
|
943 |
+
if ( !is_wp_error( $rss ) ) {
|
944 |
+
$maxitems = $rss->get_item_quantity( $rssfeedinlinecount );
|
945 |
|
946 |
+
$rss_items = $rss->get_items( 0, $maxitems );
|
|
|
947 |
|
948 |
+
if ( $rss_items && !empty( $rssfeedinlinedayspublished ) && $rssfeedinlinedayspublished != 0 ) {
|
949 |
+
foreach ( $rss_items as $index => $item ) {
|
950 |
+
$diff_published = current_time( 'timestamp' ) - strtotime( $item->get_date( 'j F o' ) );
|
951 |
+
if ( $diff_published > 60 * 60 * 24 * intval( $rssfeedinlinedayspublished ) ) {
|
952 |
+
unset( $rss_items[$index] );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
953 |
}
|
954 |
}
|
955 |
|
956 |
+
if ( empty( $rss_items ) && $rssfeedinlineskipempty ) {
|
957 |
+
continue;
|
958 |
}
|
959 |
+
}
|
960 |
+
}
|
961 |
|
962 |
+
if ( true == $debugmode ) {
|
963 |
+
$output .= "\n<!-- Time to render RSS Feed section of link id " . $linkitem['proper_link_id'] . ': ' . ( microtime( true ) - $starttimerssfeed ) . " --> \n";
|
964 |
+
}
|
965 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
966 |
|
967 |
+
if ( $showuserlinks || strpos( $linkitem['link_description'], 'LinkLibrary:AwaitingModeration:RemoveTextToApprove' ) == false ) {
|
968 |
+
$linkcount = $linkcount + 1;
|
|
|
|
|
|
|
969 |
|
970 |
+
if ( $linkaddfrequency > 0 ) {
|
971 |
+
if ( ( $linkcount - 1 ) % $linkaddfrequency == 0 ) {
|
972 |
+
$output .= stripslashes( $addbeforelink );
|
973 |
+
}
|
974 |
+
}
|
975 |
|
976 |
+
if ( !isset( $linkitem['recently_updated'] ) ) {
|
977 |
+
$linkitem['recently_updated'] = false;
|
978 |
+
}
|
979 |
|
980 |
+
$output .= stripslashes( $beforeitem );
|
|
|
|
|
|
|
|
|
981 |
|
982 |
+
if ( $showupdated && $linkitem['recently_updated'] && 'before' == $showupdatedpos ) {
|
983 |
+
$output .= '<span class="recently_updated">' . $updatedlabel . '</span>';
|
984 |
+
}
|
985 |
|
986 |
+
$the_link = '#';
|
987 |
+
if ( !empty( $linkitem['link_url'] ) ) {
|
988 |
+
$the_link = esc_html( $linkitem['link_url'] );
|
989 |
+
}
|
990 |
|
991 |
+
if ( !empty( $extraquerystring ) ) {
|
992 |
+
parse_str( $extraquerystring, $expanded_query_string );
|
993 |
+
if ( !empty( $expanded_query_string ) ) {
|
994 |
+
$the_link = add_query_arg( $expanded_query_string, $the_link );
|
995 |
+
}
|
996 |
+
}
|
997 |
|
998 |
+
$cat_extra_query_string = get_metadata( 'linkcategory', $linkitem['term_id'], 'linkextraquerystring', true );
|
999 |
+
if ( !empty( $cat_extra_query_string ) ) {
|
1000 |
+
parse_str( $cat_extra_query_string, $cat_expanded_query_string );
|
1001 |
+
if ( !empty( $cat_expanded_query_string ) ) {
|
1002 |
+
$the_link = add_query_arg( $cat_expanded_query_string, $the_link );
|
1003 |
+
}
|
1004 |
+
}
|
1005 |
|
1006 |
+
$the_second_link = '#';
|
1007 |
+
if ( !empty( $linkitem['link_second_url'] ) ) {
|
1008 |
+
$the_second_link = esc_html( stripslashes( $linkitem['link_second_url'] ) );
|
1009 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1010 |
|
1011 |
+
$rel = $linkitem['link_rel'];
|
|
|
|
|
1012 |
|
1013 |
+
if ( !empty( $linkitem['link_addl_rel'] ) && !empty( $rel ) ) {
|
1014 |
+
$rel .= ' ' . $linkitem['link_addl_rel'];
|
1015 |
+
} elseif ( !empty( $linkitem['link_addl_rel'] ) && empty( $rel ) ) {
|
1016 |
+
$rel = $linkitem['link_addl_rel'];
|
1017 |
+
}
|
1018 |
|
1019 |
+
if ( !empty( $rel ) && !$nofollow && !$linkitem['link_no_follow'] ) {
|
1020 |
+
$rel = ' rel="' . $rel . '"';
|
1021 |
+
} elseif ( !empty( $rel ) && ( $nofollow || $linkitem['link_no_follow'] ) ) {
|
1022 |
+
$rel = ' rel="' . $rel . ' nofollow"';
|
1023 |
+
} elseif ( empty( $rel ) && ( $nofollow || $linkitem['link_no_follow'] ) ) {
|
1024 |
+
$rel = ' rel="nofollow"';
|
1025 |
+
}
|
1026 |
|
1027 |
+
if ( $use_html_tags ) {
|
1028 |
+
$descnotes = $linkitem['link_notes'];
|
1029 |
+
$descnotes = str_replace( '[', '<', $descnotes );
|
1030 |
+
$descnotes = str_replace( ']', '>', $descnotes );
|
1031 |
+
$desc = $linkitem['link_description'];
|
1032 |
+
$desc = str_replace("[", "<", $desc);
|
1033 |
+
$desc = str_replace("]", ">", $desc);
|
1034 |
+
$textfield = stripslashes( $linkitem['link_textfield'] );
|
1035 |
+
$textfield = str_replace( '[', '<', $textfield );
|
1036 |
+
$textfield = str_replace( ']', '>', $textfield );
|
1037 |
+
} else {
|
1038 |
+
$descnotes = esc_html( $linkitem['link_notes'], ENT_QUOTES );
|
1039 |
+
$desc = esc_html($linkitem['link_description'], ENT_QUOTES);
|
1040 |
+
$textfield = stripslashes( $linkitem['link_textfield'] );
|
1041 |
+
}
|
1042 |
|
1043 |
+
$cleandesc = $desc;
|
1044 |
+
$cleanname = esc_html( $linkitem['link_name'], ENT_QUOTES );
|
|
|
|
|
|
|
|
|
1045 |
|
1046 |
+
if ( 'search' == $mode ) {
|
1047 |
+
foreach ( $searchterms as $searchterm ) {
|
1048 |
+
$descnotes = link_library_highlight_phrase( $descnotes, $searchterm, '<span class="highlight_word">', '</span>' );
|
1049 |
+
$desc = link_library_highlight_phrase( $desc, $searchterm, '<span class="highlight_word">', '</span>' );
|
1050 |
+
$name = link_library_highlight_phrase( $linkitem['link_name'], $searchterm, '<span class="highlight_word">', '</span>' );
|
1051 |
+
$textfield = link_library_highlight_phrase( $textfield, $searchterm, '<span class="highlight_word">', '</span>' );
|
1052 |
+
}
|
1053 |
+
} else {
|
1054 |
+
$name = $cleanname;
|
1055 |
+
}
|
1056 |
|
1057 |
+
if ( 'linkname' == $linktitlecontent ) {
|
1058 |
+
$title = $cleanname;
|
1059 |
+
} elseif ( 'linkdesc' == $linktitlecontent ) {
|
1060 |
+
$title = $cleandesc;
|
1061 |
+
}
|
|
|
1062 |
|
1063 |
+
if ( $showupdated ) {
|
1064 |
+
if ( substr( $linkitem['link_updated'], 0, 2 ) != '00' ) {
|
1065 |
+
$title .= ' ('.__('Last updated', 'link-library') . ' ' . date_i18n(get_option('links_updated_date_format'), strtotime( $linkitem['link_updated'] ) ) .')';
|
1066 |
+
}
|
1067 |
+
}
|
1068 |
|
1069 |
+
if ( !empty( $title ) ) {
|
1070 |
+
$title = ' title="' . $title . '"';
|
1071 |
+
}
|
|
|
|
|
1072 |
|
1073 |
+
$alt = ' alt="' . $cleanname . '"';
|
1074 |
|
1075 |
+
$target = $linkitem['link_target'];
|
1076 |
+
if ( !empty( $target ) ) {
|
1077 |
+
$target = ' target="' . $target . '"';
|
1078 |
+
} else {
|
1079 |
+
$target = $linktarget;
|
1080 |
+
if ( !empty( $target ) ) {
|
1081 |
+
$target = ' target="' . $target . '"';
|
1082 |
+
}
|
1083 |
+
}
|
1084 |
|
1085 |
+
if ( empty( $dragndroporder ) ) {
|
1086 |
+
$dragndroporder = '1,2,3,4,5,6,7,8,9,10,11,12,13,14';
|
1087 |
+
}
|
|
|
|
|
1088 |
|
1089 |
+
$dragndroparray = explode( ',', $dragndroporder );
|
|
|
|
|
|
|
|
|
1090 |
|
1091 |
+
if ( !in_array( '13', $dragndroparray ) ) {
|
1092 |
+
$dragndroparray[] = '13';
|
1093 |
+
}
|
|
|
|
|
1094 |
|
1095 |
+
if ( !in_array( '14', $dragndroparray ) ) {
|
1096 |
+
$dragndroparray[] = '14';
|
1097 |
+
}
|
|
|
|
|
1098 |
|
1099 |
+
if ( $dragndroparray ) {
|
1100 |
+
foreach ( $dragndroparray as $arrayelements ) {
|
1101 |
+
switch ( $arrayelements ) {
|
|
|
|
|
1102 |
|
1103 |
+
case 1: //------------------ Image Output --------------------
|
1104 |
+
$imageoutput = '';
|
|
|
|
|
|
|
1105 |
|
1106 |
+
if ( ( $show_images && !$shownameifnoimage && ( !$nooutputempty || ( $nooutputempty && !empty( $linkitem['link_image'] ) ) ) ) || ( $show_images && $shownameifnoimage && !empty( $linkitem['link_image'] ) && ( !$nooutputempty || ( $nooutputempty && !empty( $linkitem['link_image'] ) ) ) || $usethumbshotsforimages ) ) {
|
1107 |
+
$imageoutput .= stripslashes( $beforeimage );
|
|
|
|
|
|
|
1108 |
|
1109 |
+
if ( !empty( $linkitem['link_image'] ) || $usethumbshotsforimages ) {
|
1110 |
+
if ( true == $debugmode ) {
|
1111 |
+
$starttimeimage = microtime ( true );
|
1112 |
+
}
|
|
|
1113 |
|
1114 |
+
$imageoutput .= '<a href="';
|
|
|
|
|
|
|
|
|
1115 |
|
1116 |
+
if ( !$enable_link_popup ) {
|
1117 |
+
if ( 'primary' == $sourceimage || empty( $sourceimage ) ) {
|
1118 |
+
$imageoutput .= $the_link;
|
1119 |
+
} elseif ( 'secondary' == $sourceimage ) {
|
1120 |
+
$imageoutput .= $the_second_link;
|
1121 |
+
}
|
1122 |
+
} else {
|
1123 |
+
$imageoutput .= admin_url( 'admin-ajax.php' . '?action=link_library_popup_content&linkid=' . $linkitem['proper_link_id'] . '&settings=' . $settings . '&height=' . ( empty( $popup_height ) ? 300 : $popup_height ) . '&width=' . ( empty( $popup_width ) ? 400 : $popup_width ) . '&xpath=' . $xpath );
|
1124 |
+
}
|
1125 |
|
1126 |
+
$imageoutput .= '" id="link-' . $linkitem['proper_link_id'] . '" class="' . ( $enable_link_popup ? 'thickbox' : 'track_this_link' ) . ' ' . ( $linkitem['link_featured'] ? 'featured' : '' ). '" ' . $rel . $title . $target. '>';
|
|
|
|
|
|
|
|
|
1127 |
|
1128 |
+
if ( $usethumbshotsforimages && ( !$uselocalimagesoverthumbshots || empty( $uselocalimagesoverthumbshots ) || ( $uselocalimagesoverthumbshots && empty( $linkitem['link_image'] ) ) ) ) {
|
1129 |
+
if ( $thumbnailgenerator == 'robothumb' ) {
|
1130 |
+
$imageoutput .= '<img src="http://www.robothumb.com/src/?url=' . $the_link . '&size=' . $generaloptions['thumbnailsize'] . '"';
|
1131 |
+
} elseif ( $thumbnailgenerator == 'thumbshots' ) {
|
1132 |
+
if ( !empty( $thumbshotscid ) ) {
|
1133 |
+
$imageoutput .= '<img src="http://images.thumbshots.com/image.aspx?cid=' . rawurlencode( $thumbshotscid ) . '&v=1&w=120&url=' . $the_link . '"';
|
1134 |
+
}
|
1135 |
+
}
|
1136 |
+
} else if ( !$usethumbshotsforimages || ( $usethumbshotsforimages && $uselocalimagesoverthumbshots && !empty( $linkitem['link_image'] ) ) ) {
|
1137 |
+
if ( strpos( $linkitem['link_image'], 'http' ) !== false ) {
|
1138 |
+
$imageoutput .= '<img src="' . $linkitem['link_image'] . '"';
|
1139 |
+
} else {
|
1140 |
+
// If it's a relative path
|
1141 |
+
$imageoutput .= '<img src="' . get_option( 'siteurl' ) . $linkitem['link_image'] . '"';
|
1142 |
+
}
|
1143 |
+
}
|
1144 |
|
1145 |
+
if ( !$usethumbshotsforimages || ($usethumbshotsforimages && !empty( $thumbshotscid ) ) || ( $usethumbshotsforimages && $uselocalimagesoverthumbshots && !empty( $linkitem['link_image'] ) ) ) {
|
|
|
|
|
|
|
|
|
1146 |
|
1147 |
+
$imageoutput .= $alt . $title;
|
|
|
|
|
|
|
|
|
1148 |
|
1149 |
+
if ( !empty( $imageclass ) ) {
|
1150 |
+
$imageoutput .= ' class="' . $imageclass . '" ';
|
1151 |
+
}
|
|
|
|
|
1152 |
|
1153 |
+
$imageoutput .= '/>';
|
1154 |
|
1155 |
+
$imageoutput .= '</a>';
|
1156 |
+
}
|
|
|
|
|
|
|
1157 |
|
1158 |
+
if ( true == $debugmode ) {
|
1159 |
+
$output .= '<!-- Time to render image section of link id ' . $linkitem['proper_link_id'] . ': ' . ( microtime( true ) - $starttimeimage ) . " --> \n";
|
1160 |
+
}
|
|
|
|
|
1161 |
|
1162 |
+
}
|
|
|
|
|
|
|
1163 |
|
1164 |
+
$imageoutput .= stripslashes( $afterimage );
|
|
|
|
|
|
|
|
|
1165 |
|
1166 |
+
if ( ( !empty( $imageoutput ) || ( $usethumbshotsforimages && !empty( $thumbshotscid ) ) ) && $show_images ) {
|
1167 |
+
$output .= $imageoutput;
|
1168 |
+
}
|
1169 |
|
1170 |
+
break;
|
|
|
1171 |
}
|
1172 |
|
1173 |
+
case 2: //------------------ Name Output --------------------
|
1174 |
+
if ( ( $showname && 2 == $arrayelements && ( !$nooutputempty || ( $nooutputempty && !empty( $name ) ) ) ) ||
|
1175 |
+
( $show_images && $shownameifnoimage && empty( $linkitem['link_image'] ) && !$usethumbshotsforimages && 1 == $arrayelements && ( !$nooutputempty || ( $nooutputempty && !empty( $name ) ) ) ) ) {
|
|
|
|
|
1176 |
if ( true == $debugmode ) {
|
1177 |
+
$starttimename = microtime ( true );
|
1178 |
}
|
1179 |
|
1180 |
+
$output .= stripslashes( $beforelink );
|
|
|
|
|
1181 |
|
1182 |
+
if ( ( 'primary' == $sourcename && $the_link != '#') || ( 'secondary' == $sourcename && $the_second_link != '#' ) ) {
|
1183 |
+
$output .= '<a href="';
|
1184 |
|
1185 |
+
if ( !$enable_link_popup ) {
|
1186 |
+
if ( 'primary' == $sourcename || empty( $sourcename ) ) {
|
1187 |
+
$output .= $the_link;
|
1188 |
+
} elseif ( 'secondary' == $sourcename ) {
|
1189 |
+
$output .= $the_second_link;
|
|
|
1190 |
}
|
1191 |
+
} else {
|
1192 |
+
$output .= admin_url( 'admin-ajax.php' . '?action=link_library_popup_content&linkid=' . $linkitem['proper_link_id'] . '&settings=' . $settings . '&height=' . ( empty( $popup_height ) ? 300 : $popup_height ) . '&width=' . ( empty( $popup_width ) ? 400 : $popup_width ) . '&xpath=' . $xpath );
|
1193 |
+
}
|
1194 |
|
1195 |
+
if ( 'description' == $tooltipname && !empty( $desc ) ) {
|
1196 |
+
$title = ' title="' . $desc . '"';
|
|
|
1197 |
}
|
1198 |
+
|
1199 |
+
$output .= '" id="link-' . $linkitem['proper_link_id'] . '" class="' . ( $enable_link_popup ? 'thickbox' : 'track_this_link' ) . ' ' . ( $linkitem['link_featured'] ? ' featured' : '' ). '" ' . $rel . $title . $target. '>';
|
1200 |
}
|
1201 |
|
1202 |
+
$output .= $name;
|
1203 |
+
|
1204 |
+
if ( ( 'primary' == $sourcename && $the_link != '#') || ( 'secondary' == $sourcename && $the_second_link != '#' ) ) {
|
1205 |
+
$output .= '</a>';
|
1206 |
}
|
|
|
1207 |
|
1208 |
+
if ( $showadmineditlinks && $linkeditoruser ) {
|
1209 |
+
$output .= $between . '<span class="editlink"><a href="' . esc_url( add_query_arg( array(
|
1210 |
+
'action' => 'edit', 'link_id' => $linkitem['proper_link_id'] ),
|
1211 |
+
admin_url( 'link.php' ) ) ) . '">(' . __('Edit', 'link-library') . ')</a></span>';
|
1212 |
}
|
|
|
1213 |
|
1214 |
+
if ( $showupdated && $linkitem['recently_updated'] ) {
|
1215 |
+
$output .= get_option( 'links_recently_updated_append' );
|
1216 |
+
}
|
1217 |
|
1218 |
+
$output .= stripslashes( $afterlink );
|
1219 |
|
1220 |
+
if ( true == $debugmode ) {
|
1221 |
+
$output .= "\n<!-- Time to render name section of link id " . $linkitem['proper_link_id'] . ': ' . ( microtime( true ) - $starttimename ) . " --> \n";
|
1222 |
+
}
|
1223 |
}
|
1224 |
|
1225 |
+
break;
|
|
|
|
|
|
|
1226 |
|
1227 |
+
case 3: //------------------ Date Output --------------------
|
|
|
|
|
|
|
|
|
|
|
1228 |
|
1229 |
+
if ( $showdate && ( !$nooutputempty || ( $nooutputempty && !empty( $linkitem['link_date'] ) ) ) ) {
|
1230 |
+
if ( true == $debugmode ) {
|
1231 |
+
$starttimedate = microtime ( true );
|
|
|
|
|
1232 |
}
|
|
|
1233 |
|
1234 |
+
$formatteddate = date_i18n( get_option( 'links_updated_date_format' ), $linkitem['link_date'] );
|
|
|
|
|
|
|
1235 |
|
1236 |
+
$output .= $between . stripslashes( $beforedate ) . $formatteddate . stripslashes( $afterdate );
|
|
|
|
|
|
|
1237 |
|
1238 |
+
if ( true == $debugmode ) {
|
1239 |
+
$output .= "\n<!-- Time to render date section of link id " . $linkitem['proper_link_id'] . ': ' . ( microtime( true ) - $starttimedate ) . " --> \n";
|
1240 |
+
}
|
|
|
1241 |
}
|
1242 |
|
1243 |
+
break;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1244 |
|
1245 |
+
case 4: //------------------ Description Output --------------------
|
|
|
1246 |
|
1247 |
+
if ( $showdescription && ( !$nooutputempty || ( $nooutputempty && !empty( $desc ) ) ) ) {
|
1248 |
+
if ( true == $debugmode ) {
|
1249 |
+
$starttimedesc = microtime ( true );
|
|
|
|
|
|
|
1250 |
}
|
|
|
|
|
|
|
1251 |
|
1252 |
+
$output .= $between . stripslashes( $beforedesc ) . $desc . stripslashes( $afterdesc );
|
|
|
|
|
|
|
|
|
1253 |
|
1254 |
+
if ( true == $debugmode ) {
|
1255 |
+
$output .= "\n<!-- Time to render description section of link id " . $linkitem['proper_link_id'] . ': ' . ( microtime( true ) - $starttimedesc ) . " --> \n";
|
|
|
|
|
|
|
1256 |
}
|
1257 |
}
|
1258 |
|
1259 |
+
break;
|
|
|
|
|
1260 |
|
1261 |
+
case 5: //------------------ Notes Output --------------------
|
1262 |
|
1263 |
+
if ( $shownotes && ( !$nooutputempty || ( $nooutputempty && !empty( $descnotes ) ) ) ) {
|
1264 |
+
if ( true == $debugmode ) {
|
1265 |
+
$starttimenotes = microtime ( true );
|
|
|
|
|
|
|
|
|
1266 |
}
|
|
|
|
|
|
|
|
|
|
|
1267 |
|
1268 |
+
$output .= $between . stripslashes( $beforenote ) . $descnotes . stripslashes( $afternote );
|
1269 |
|
1270 |
+
if ( true == $debugmode ) {
|
1271 |
+
$output .= "\n<!-- Time to render notes section of link id " . $linkitem['proper_link_id'] . ': ' . ( microtime( true ) - $starttimenotes ) . " --> \n";
|
|
|
|
|
|
|
1272 |
}
|
1273 |
}
|
1274 |
|
1275 |
+
break;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1276 |
|
1277 |
+
case 6: //------------------ RSS Icons Output --------------------
|
|
|
|
|
1278 |
|
1279 |
+
if ( ( $show_rss || $show_rss_icon || $rsspreview ) && ( !$nooutputempty || ( $nooutputempty && !empty( $linkitem['link_rss'] ) ) ) ) {
|
1280 |
+
if ( true == $debugmode ) {
|
1281 |
+
$starttimerssicon = microtime ( true );
|
1282 |
+
}
|
1283 |
|
1284 |
+
$output .= stripslashes( $beforerss ) . '<div class="rsselements">';
|
1285 |
|
1286 |
+
if ( $show_rss && !empty( $linkitem['link_rss'] ) ) {
|
1287 |
+
$output .= $between . '<a class="rss" href="' . $linkitem['link_rss'] . '">RSS</a>';
|
1288 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
1289 |
|
1290 |
+
if ( $show_rss_icon && !empty( $linkitem['link_rss'] ) ) {
|
1291 |
+
$output .= $between . '<a class="rssicon" href="' . $linkitem['link_rss'] . '"><img src="' . plugins_url( 'icons/feed-icon-14x14.png', __FILE__ ) . '" /></a>';
|
1292 |
+
}
|
1293 |
|
1294 |
+
if ( $rsspreview && !empty( $linkitem['link_rss'] ) ) {
|
1295 |
+
$output .= $between . '<a href="' . home_url() . '/?link_library_rss_preview=1&keepThis=true&linkid=' . $linkitem['proper_link_id'] . '&previewcount=' . $rsspreviewcount . 'height=' . ( empty( $rsspreviewwidth ) ? 900 : $rsspreviewwidth ) . '&width=' . ( empty( $rsspreviewheight ) ? 700 : $rsspreviewheight ) . '&xpath=' . urlencode( $xpath ) . '" title="' . __('Preview of RSS feed for', 'link-library') . ' ' . $cleanname . '" class="thickbox"><img src="' . plugins_url( 'icons/preview-16x16.png', __FILE__ ) . '" /></a>';
|
1296 |
+
}
|
1297 |
|
1298 |
+
$output .= '</div>' . stripslashes( $afterrss );
|
|
|
|
|
1299 |
|
1300 |
+
if ( true == $debugmode ) {
|
1301 |
+
$output .= "\n<!-- Time to render RSS Icon section of link id " . $linkitem['proper_link_id'] . ': ' . ( microtime( true ) - $starttimerssicon ) . " --> \n";
|
1302 |
+
}
|
1303 |
+
}
|
1304 |
|
1305 |
+
if ( $rssfeedinline && $linkitem['link_rss'] ) {
|
1306 |
+
if ( $rss_items ) {
|
1307 |
+
$output .= '<div id="ll_rss_results">';
|
1308 |
+
$date_format_string = get_option( 'date_format' );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1309 |
|
1310 |
+
foreach ( $rss_items as $item ) {
|
1311 |
+
$output .= '<div class="chunk" style="padding:0 5px 5px;">';
|
1312 |
+
$item_timestamp = strtotime( $item->get_date( 'j F Y | g:i a' ) );
|
1313 |
|
1314 |
+
$formatted_date = date_i18n( $date_format_string, $item_timestamp );
|
1315 |
+
$output .= '<div class="rsstitle"><a target="feedwindow" href="' . $item->get_permalink() . '">' . $item->get_title() . '</a><span class="rsstimestamp"> - ' . $formatted_date . '</span></div>';
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1316 |
|
1317 |
+
if ( $rssfeedinlinecontent ) {
|
1318 |
+
$output .= '<div class="rsscontent">' . $item->get_description() . '</div>';
|
1319 |
+
}
|
1320 |
|
1321 |
+
$output .= '</div>';
|
1322 |
+
$output .= '<br />';
|
1323 |
+
}
|
1324 |
|
1325 |
+
$output .= '</div>';
|
1326 |
+
}
|
1327 |
+
}
|
1328 |
+
break;
|
1329 |
+
case 7: //------------------ Web Link Output --------------------
|
1330 |
+
|
1331 |
+
if ( 'false' != $displayweblink &&
|
1332 |
+
( !$nooutputempty ||
|
1333 |
+
( $nooutputempty && !empty( $the_link ) && 'label' != $displayweblink && '#' != $the_link && 'primary' == $sourceweblink ) ||
|
1334 |
+
( $nooutputempty && !empty( $the_second_link ) && 'label' != $displayweblink && '#' != $the_second_link && 'secondary' == $sourceweblink ) ||
|
1335 |
+
( $nooutputempty && !empty( $weblinklabel ) && 'label' == $displayweblink && !empty( $the_link ) && '#' != $the_link && 'primary' == $sourceweblink ) ||
|
1336 |
+
( $nooutputempty && !empty( $weblinklabel ) && 'label' == $displayweblink && !empty( $the_second_link ) && '#' != $the_second_link && 'secondary' == $sourceweblink )
|
1337 |
+
) ) {
|
1338 |
+
if ( true == $debugmode ) {
|
1339 |
+
$starttimerweblink = microtime ( true );
|
1340 |
+
}
|
1341 |
|
1342 |
+
if ( 'addressonly' == $displayweblink ) {
|
1343 |
+
$output .= $between . stripslashes( $beforeweblink );
|
1344 |
+
$output .= $the_link;
|
1345 |
+
$output .= stripslashes( $afterweblink );
|
1346 |
+
} else {
|
1347 |
+
$output .= $between . stripslashes( $beforeweblink ) . '<a href="';
|
1348 |
+
|
1349 |
+
if ( 'primary' == $sourceweblink || empty( $sourceweblink ) ) {
|
1350 |
+
$output .= $the_link;
|
1351 |
+
} elseif ( 'secondary' == $sourceweblink ) {
|
1352 |
+
$output .= $the_second_link;
|
1353 |
+
}
|
1354 |
|
1355 |
+
$output .= '" id="link-' . $linkitem['proper_link_id'] . '" class="track_this_link" ' . $target . '>';
|
|
|
|
|
|
|
|
|
1356 |
|
1357 |
+
if ( 'address' == $displayweblink ) {
|
1358 |
+
if ( ( 'primary' == $sourceweblink || empty( $sourceweblink ) ) && ! empty( $the_link ) ) {
|
1359 |
+
$output .= $the_link;
|
1360 |
+
} elseif ( 'secondary' == $sourceweblink && ! empty( $the_second_link ) ) {
|
1361 |
+
$output .= $the_second_link;
|
1362 |
+
}
|
1363 |
+
} elseif ( 'label' == $displayweblink && ! empty( $weblinklabel ) ) {
|
1364 |
+
$output .= $weblinklabel;
|
1365 |
+
}
|
1366 |
|
1367 |
+
$output .= '</a>' . stripslashes( $afterweblink );
|
1368 |
+
}
|
1369 |
|
1370 |
+
if ( true == $debugmode ) {
|
1371 |
+
$output .= "\n<!-- Time to render web link section of link id " . $linkitem['proper_link_id'] . ': ' . ( microtime( true ) - $starttimerweblink ) . " --> \n";
|
1372 |
+
}
|
1373 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1374 |
|
1375 |
+
break;
|
1376 |
+
case 8: //------------------ Telephone Output --------------------
|
1377 |
|
1378 |
+
if ( 'false' != $showtelephone &&
|
1379 |
+
( !$nooutputempty ||
|
1380 |
+
( $nooutputempty && !empty( $linkitem['link_telephone'] ) && ( 'link' == $showtelephone || 'plain' == $showtelephone ) ) ||
|
1381 |
+
( $nooutputempty && !empty( $telephonelabel ) && 'label' == $showtelephone )
|
1382 |
+
)
|
1383 |
+
) {
|
1384 |
+
if ( true == $debugmode ) {
|
1385 |
+
$starttimertelephone = microtime ( true );
|
1386 |
+
}
|
1387 |
|
1388 |
+
$output .= $between . stripslashes( $beforetelephone );
|
|
|
|
|
1389 |
|
1390 |
+
if ( 'plain' != $showtelephone ) {
|
1391 |
+
$output .= '<a href="';
|
|
|
|
|
1392 |
|
1393 |
+
if ( ( 'primary' == $sourcetelephone || empty( $sourcetelephone ) ) && !empty( $the_link ) ) {
|
1394 |
+
$output .= $the_link;
|
1395 |
+
} elseif ( 'secondary' == $sourcetelephone && !empty( $the_second_link ) ) {
|
1396 |
+
$output .= $the_second_link;
|
1397 |
+
}
|
1398 |
|
1399 |
+
$output .= '" id="link-' . $linkitem['proper_link_id'] . '" class="track_this_link" >';
|
1400 |
+
}
|
1401 |
|
1402 |
+
if ( 'link' == $showtelephone || 'plain' == $showtelephone ) {
|
1403 |
+
$output .= $linkitem['link_telephone'];
|
1404 |
+
} elseif ( 'label' == $showtelephone ) {
|
1405 |
+
$output .= $telephonelabel;
|
1406 |
+
}
|
1407 |
|
1408 |
+
if ( 'plain' != $showtelephone ) {
|
1409 |
+
$output .= '</a>';
|
1410 |
+
}
|
1411 |
|
1412 |
+
$output .= stripslashes( $aftertelephone );
|
|
|
|
|
|
|
1413 |
|
1414 |
+
if ( true == $debugmode ) {
|
1415 |
+
$output .= "\n<!-- Time to render telephone section of link id " . $linkitem['proper_link_id'] . ': ' . ( microtime( true ) - $starttimertelephone ) . " --> \n";
|
1416 |
+
}
|
1417 |
+
}
|
1418 |
+
break;
|
1419 |
+
case 9: //------------------ E-mail Output --------------------
|
1420 |
|
1421 |
+
if ( 'false' != $showemail && ( !$nooutputempty || ( $nooutputempty && !empty( $linkitem['link_email'] ) ) ) ) {
|
1422 |
+
if ( true == $debugmode ) {
|
1423 |
+
$starttimeremail = microtime ( true );
|
1424 |
+
}
|
1425 |
|
1426 |
+
$output .= $between . stripslashes( $beforeemail );
|
|
|
|
|
|
|
1427 |
|
1428 |
+
if ( 'plain' != $showemail ) {
|
1429 |
+
$output .= '<a href="';
|
|
|
1430 |
|
1431 |
+
if ( 'mailto' == $showemail || 'mailtolabel' == $showemail ) {
|
1432 |
+
if ( false === strpos( $linkitem['link_email'], '@' ) ) {
|
1433 |
+
$output .= esc_url( $linkitem['link_email'] );
|
1434 |
+
} else {
|
1435 |
+
$output .= 'mailto:' . $linkitem['link_email'];
|
1436 |
+
}
|
1437 |
+
} elseif ( 'command' == $showemail || 'commandlabel' == $showemail ) {
|
1438 |
+
$newcommand = str_replace( '#email', $linkitem['link_email'], $emailcommand );
|
1439 |
+
$cleanlinkname = str_replace( ' ', '%20', $linkitem['link_name'] );
|
1440 |
+
$newcommand = str_replace( '#company', $cleanlinkname, $newcommand );
|
1441 |
+
$output .= $newcommand;
|
1442 |
+
}
|
1443 |
|
1444 |
+
$output .= '">';
|
1445 |
+
}
|
1446 |
|
1447 |
+
if ( 'plain' == $showemail || 'mailto' == $showemail || 'command' == $showemail ) {
|
1448 |
+
$output .= $linkitem['link_email'];
|
1449 |
+
} elseif ( 'mailtolabel' == $showemail || 'commandlabel' == $showemail ) {
|
1450 |
+
$output .= $emaillabel;
|
1451 |
+
}
|
1452 |
|
1453 |
+
if ( 'plain' != $showemail ) {
|
1454 |
+
$output .= '</a>';
|
1455 |
+
}
|
|
|
1456 |
|
1457 |
+
$output .= stripslashes( $afteremail );
|
|
|
|
|
1458 |
|
1459 |
+
if ( true == $debugmode ) {
|
1460 |
+
$output .= "\n<!-- Time to render e-mail section of link id " . $linkitem['proper_link_id'] . ': ' . ( microtime( true ) - $starttimeremail ) . " --> \n";
|
1461 |
+
}
|
1462 |
+
}
|
1463 |
|
1464 |
+
break;
|
1465 |
+
case 10: //------------------ Link Hits Output --------------------
|
1466 |
|
1467 |
+
if ( $showlinkhits && ( !$nooutputempty || ( $nooutputempty && !empty( $linkitem['link_visits'] ) ) ) ) {
|
1468 |
+
if ( true == $debugmode ) {
|
1469 |
+
$starttimerhits = microtime ( true );
|
1470 |
+
}
|
1471 |
|
1472 |
+
$output .= $between . stripslashes( $beforelinkhits );
|
1473 |
+
$output .= $linkitem['link_visits'];
|
1474 |
+
$output .= stripslashes( $afterlinkhits );
|
|
|
|
|
|
|
1475 |
|
1476 |
+
if ( true == $debugmode ) {
|
1477 |
+
$output .= "\n<!-- Time to render link hits section of link id " . $linkitem['proper_link_id'] . ': ' . ( microtime( true ) - $starttimerhits ) . " --> \n";
|
1478 |
+
}
|
1479 |
+
}
|
1480 |
|
1481 |
+
break;
|
|
|
|
|
1482 |
|
1483 |
+
case 11: //------------------ Link Rating Output --------------------
|
1484 |
|
1485 |
+
if ( $showrating && ( !$nooutputempty || ( $nooutputempty && !empty( $linkitem['link_rating'] ) ) ) ) {
|
1486 |
+
if ( true == $debugmode ) {
|
1487 |
+
$starttimerrating = microtime ( true );
|
1488 |
+
}
|
1489 |
|
1490 |
+
$output .= $between . stripslashes( $beforelinkrating );
|
1491 |
+
$output .= $linkitem['link_rating'];
|
1492 |
+
$output .= stripslashes( $afterlinkrating );
|
1493 |
|
1494 |
+
if ( true == $debugmode ) {
|
1495 |
+
$output .= "\n<!-- Time to render link rating section of link id " . $linkitem['proper_link_id'] . ': ' . ( microtime( true ) - $starttimerrating ) . " --> \n";
|
1496 |
+
}
|
1497 |
+
}
|
1498 |
|
1499 |
+
break;
|
1500 |
|
1501 |
+
case 12: //------------------ Link Large Description Output --------------------
|
1502 |
|
1503 |
+
if ( $showlargedescription && ( !$nooutputempty || ( $nooutputempty && !empty( $textfield ) ) ) ) {
|
1504 |
+
if ( true == $debugmode ) {
|
1505 |
+
$starttimerlargedesc = microtime ( true );
|
1506 |
+
}
|
1507 |
|
1508 |
+
$output .= $between . stripslashes( $beforelargedescription );
|
1509 |
+
$output .= $textfield;
|
1510 |
+
$output .= stripslashes( $afterlargedescription );
|
1511 |
|
1512 |
+
if ( true == $debugmode ) {
|
1513 |
+
$output .= "\n<!-- Time to render link large description section of link id " . $linkitem['proper_link_id'] . ': ' . ( microtime( true ) - $starttimerlargedesc ) . " --> \n";
|
1514 |
+
}
|
1515 |
+
}
|
|
|
|
|
1516 |
|
1517 |
+
break;
|
|
|
|
|
|
|
1518 |
|
1519 |
+
case 13: //------------------ Link Large Description Output --------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1520 |
|
1521 |
+
if ( $showsubmittername && ( !$nooutputempty || ( $nooutputempty && !empty( $linkitem['link_submitter_name'] ) ) ) ) {
|
1522 |
+
if ( true == $debugmode ) {
|
1523 |
+
$starttimersubmittername = microtime ( true );
|
1524 |
}
|
|
|
1525 |
|
1526 |
+
$output .= $between . stripslashes( $beforesubmittername );
|
1527 |
+
$output .= $linkitem['link_submitter_name'];
|
1528 |
+
$output .= stripslashes( $aftersubmittername );
|
1529 |
|
1530 |
+
if ( true == $debugmode ) {
|
1531 |
+
$output .= "\n<!-- Time to render link large description section of link id " . $linkitem['proper_link_id'] . ': ' . ( microtime( true ) - $starttimersubmittername ) . " --> \n";
|
|
|
1532 |
}
|
1533 |
}
|
1534 |
|
1535 |
+
break;
|
|
|
|
|
1536 |
|
1537 |
+
case 14: //------------------ Category Description Output --------------------
|
1538 |
|
1539 |
+
$linkitem['description'] = str_replace( '[', '<', $linkitem['description'] );
|
1540 |
+
$linkitem['description'] = str_replace( ']', '>', $linkitem['description'] );
|
1541 |
|
1542 |
+
if ( $showcatdesc && ( !$nooutputempty || ( $nooutputempty && !empty( $linkitem['description'] ) ) ) ) {
|
1543 |
+
if ( true == $debugmode ) {
|
1544 |
+
$starttimedesc = microtime ( true );
|
1545 |
+
}
|
|
|
|
|
|
|
|
|
|
|
1546 |
|
1547 |
+
$output .= $between . stripslashes( $beforecatdesc ) . $linkitem['description'] . stripslashes( $aftercatdesc );
|
|
|
|
|
1548 |
|
1549 |
+
if ( true == $debugmode ) {
|
1550 |
+
$output .= "\n<!-- Time to render description section of link id " . $linkitem['proper_link_id'] . ': ' . ( microtime( true ) - $starttimedesc ) . " --> \n";
|
1551 |
+
}
|
1552 |
+
}
|
1553 |
|
1554 |
+
break;
|
|
|
1555 |
}
|
1556 |
+
}
|
1557 |
+
}
|
1558 |
|
1559 |
+
if ( $showupdated && $linkitem['recently_updated'] && 'after' == $showupdatedpos ) {
|
1560 |
+
$output .= '<span class="recently_updated">' . $updatedlabel . '</span>';
|
1561 |
+
}
|
1562 |
|
1563 |
+
$output .= stripslashes( $afteritem ) . "\n";
|
|
|
|
|
1564 |
|
1565 |
+
if ( $linkaddfrequency > 0 ) {
|
1566 |
+
if ( 0 == $linkcount % $linkaddfrequency ) {
|
1567 |
+
$output .= stripslashes( $addafterlink );
|
|
|
|
|
1568 |
}
|
1569 |
}
|
1570 |
}
|
|
|
|
|
1571 |
|
1572 |
+
if ( true == $debugmode ) {
|
1573 |
+
$output .= '<!-- Time to render link id ' . $linkitem['proper_link_id'] . ': ' . ( microtime( true ) - $linkstarttime ) . " --> \n";
|
1574 |
}
|
1575 |
+
|
1576 |
+
} // end while
|
1577 |
+
|
1578 |
+
// Close the last category
|
1579 |
+
if ( ( is_bool( $displayastable ) && $displayastable ) || 'true' == $displayastable ) {
|
1580 |
+
$output .= "\t</table>\n";
|
1581 |
+
} elseif ( ( is_bool( $displayastable ) && ! $displayastable ) || 'false' == $displayastable ) {
|
1582 |
+
$output .= "\t</ul>\n";
|
1583 |
+
} elseif ( 'nosurroundingtags' == $displayastable ) {
|
1584 |
+
$output .= '';
|
1585 |
+
}
|
1586 |
+
|
1587 |
+
if ( !empty( $catlistwrappers ) && ! $combineresults ) {
|
1588 |
+
$output .= '</div>';
|
1589 |
+
}
|
1590 |
+
|
1591 |
+
if ( !empty( $afterlastlink ) ) {
|
1592 |
+
$output .= '<!-- here -->';
|
1593 |
+
$output .= stripslashes( $afterlastlink );
|
1594 |
}
|
1595 |
|
1596 |
if ( $usethumbshotsforimages ) {
|
1600 |
$output .= '<div class="llthumbshotsnotice"><a href="http://www.thumbshots.com" target="_blank" title="Thumbnails Screenshots by Thumbshots">Thumbnail Screenshots by Thumbshots</a></div>';
|
1601 |
}
|
1602 |
}
|
|
|
|
|
|
|
1603 |
|
1604 |
+
if ( $showlinksonclick ) {
|
1605 |
+
$output .= '</div>';
|
1606 |
+
}
|
|
|
1607 |
|
1608 |
+
if ( ! $combineresults ) {
|
1609 |
+
$output .= '</div>';
|
1610 |
+
}
|
1611 |
+
|
1612 |
+
if ( $pagination && 'search' != $mode && ( 'AFTER' == $paginationposition || empty( $pagination ) ) ) {
|
1613 |
+
$previouspagenumber = $pagenumber - 1;
|
1614 |
+
$nextpagenumber = $pagenumber + 1;
|
1615 |
+
$pageID = get_the_ID();
|
1616 |
+
|
1617 |
+
$output .= link_library_display_pagination( $previouspagenumber, $nextpagenumber, $numberofpages, $pagenumber, $showonecatonly, $showonecatmode, $AJAXcatid, $settings, $pageID, $currentcatletter );
|
1618 |
+
}
|
1619 |
|
|
|
1620 |
$xpath = $LLPluginClass->relativePath( dirname( __FILE__ ), ABSPATH );
|
1621 |
$nonce = wp_create_nonce( 'll_tracker' );
|
1622 |
|
1626 |
$output .= "jQuery('.arrow-up').hide();\n";
|
1627 |
$output .= "jQuery('#linklist" . $settings . " a.track_this_link').click(function() {\n";
|
1628 |
$output .= "linkid = this.id;\n";
|
1629 |
+
$output .= "linkid = linkid.substring(5);";
|
1630 |
+
$output .= "path = '" . $xpath . "';";
|
1631 |
$output .= "jQuery.ajax( {" .
|
1632 |
+
" type: 'POST'," .
|
1633 |
+
" url: '" . admin_url( 'admin-ajax.php' ) . "', " .
|
1634 |
+
" data: { action: 'link_library_tracker', " .
|
1635 |
+
" _ajax_nonce: '" . $nonce . "', " .
|
1636 |
+
" id:linkid, xpath:path } " .
|
1637 |
+
" });\n";
|
1638 |
$output .= "return true;\n";
|
1639 |
$output .= "});\n";
|
1640 |
$output .= "jQuery('#linklist" . $settings . " .expandlinks').click(function() {\n";
|
1641 |
$output .= "target = '.' + jQuery(this).attr('id');\n";
|
1642 |
+
$output .= "jQuery(target).slideToggle();\n";
|
1643 |
+
$output .= "jQuery(this).find('.arrow-up, .arrow-down').toggle();\n";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1644 |
$output .= "});\n";
|
1645 |
$output .= "});\n";
|
1646 |
$output .= "</script>";
|
1647 |
unset( $xpath );
|
1648 |
+
$currentcategory = $currentcategory + 1;
|
|
|
|
|
1649 |
|
1650 |
+
$output .= "</div>\n";
|
|
|
1651 |
|
1652 |
+
} else if ( isset( $_GET['searchll'] ) ) {
|
1653 |
+
$output .= "<div id='linklist" . $settings . "' class='linklist'>\n";
|
1654 |
+
$output .= $searchnoresultstext . "\n";
|
1655 |
+
$output .= "</div>";
|
1656 |
+
} else {
|
1657 |
+
$output .= "<div id='linklist" . $settings . "' class='linklist'>\n";
|
1658 |
+
$output .= __('No links found', 'link-library') . ".\n";
|
1659 |
+
$output .= "</div>";
|
1660 |
}
|
1661 |
|
1662 |
+
$output .= "\n<!-- End of Link Library Output -->\n\n";
|
1663 |
+
|
1664 |
return do_shortcode( $output );
|
1665 |
}
|
render-link-library-search-sc.php
CHANGED
@@ -19,7 +19,7 @@ function RenderLinkLibrarySearchForm( $libraryoptions ) {
|
|
19 |
$libraryoptions = wp_parse_args( $libraryoptions, ll_reset_options( 1, 'list', 'return' ) );
|
20 |
extract( $libraryoptions );
|
21 |
|
22 |
-
$output = '<form method="
|
23 |
|
24 |
if ( !empty( $searchresultsaddress ) ) {
|
25 |
$output .= ' action="' . $searchresultsaddress . '"';
|
@@ -34,21 +34,12 @@ function RenderLinkLibrarySearchForm( $libraryoptions ) {
|
|
34 |
} elseif ( isset( $_GET['p'] ) && !empty( $_GET['p'] ) ) {
|
35 |
$output .= '<input type="hidden" name="p" value="' . $_GET['p'] . '" />';
|
36 |
}
|
37 |
-
|
38 |
-
if ( isset( $_GET['link_price'] ) && !empty( $_GET['link_price'] ) ) {
|
39 |
-
$output .= '<input type="hidden" name="link_price" value="' . $_GET['link_price'] . '" />';
|
40 |
-
}
|
41 |
-
|
42 |
-
if ( isset( $_GET['link_tags'] ) && !empty( $_GET['link_tags'] ) ) {
|
43 |
-
$output .= '<input type="hidden" name="link_tags" value="' . $_GET['link_tags'] . '" />';
|
44 |
-
}
|
45 |
|
46 |
$output .= "<input type='submit' id='searchbutton' value='" . $searchlabel . "' />";
|
47 |
|
48 |
if ( $showsearchreset ) {
|
49 |
$output .= "<input type='submit' id='resetbutton' value='" . __( 'Reset search', 'link-library' ) . "' />";
|
50 |
}
|
51 |
-
|
52 |
$output .= "</div>\n";
|
53 |
$output .= "</form>\n\n";
|
54 |
|
19 |
$libraryoptions = wp_parse_args( $libraryoptions, ll_reset_options( 1, 'list', 'return' ) );
|
20 |
extract( $libraryoptions );
|
21 |
|
22 |
+
$output = '<form method="GET" id="llsearch"';
|
23 |
|
24 |
if ( !empty( $searchresultsaddress ) ) {
|
25 |
$output .= ' action="' . $searchresultsaddress . '"';
|
34 |
} elseif ( isset( $_GET['p'] ) && !empty( $_GET['p'] ) ) {
|
35 |
$output .= '<input type="hidden" name="p" value="' . $_GET['p'] . '" />';
|
36 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
|
38 |
$output .= "<input type='submit' id='searchbutton' value='" . $searchlabel . "' />";
|
39 |
|
40 |
if ( $showsearchreset ) {
|
41 |
$output .= "<input type='submit' id='resetbutton' value='" . __( 'Reset search', 'link-library' ) . "' />";
|
42 |
}
|
|
|
43 |
$output .= "</div>\n";
|
44 |
$output .= "</form>\n\n";
|
45 |
|
render-link-library-tag-filter-sc.php
DELETED
@@ -1,145 +0,0 @@
|
|
1 |
-
<?php
|
2 |
-
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
|
3 |
-
|
4 |
-
require_once plugin_dir_path( __FILE__ ) . 'link-library-defaults.php';
|
5 |
-
|
6 |
-
function RenderLinkLibraryFilterBox( $LLPluginClass, $generaloptions, $libraryoptions, $settings, $include_tags, $exclude_tags, $show_tag_filters, $tag_label, $show_price_filters, $price_label ) {
|
7 |
-
|
8 |
-
$generaloptions = wp_parse_args( $generaloptions, ll_reset_gen_settings( 'return' ) );
|
9 |
-
extract( $generaloptions );
|
10 |
-
|
11 |
-
$libraryoptions = wp_parse_args( $libraryoptions, ll_reset_options( 1, 'list', 'return' ) );
|
12 |
-
extract( $libraryoptions );
|
13 |
-
|
14 |
-
$output = '<div class="linklibrary-filters">';
|
15 |
-
$output .= '<fieldset>';
|
16 |
-
$output .= '<legend>' . __( 'Filters', 'link-library' ) . '</legend>';
|
17 |
-
|
18 |
-
if ( isset( $_GET['link_price'] ) && !empty( $_GET['link_price'] ) ) {
|
19 |
-
$prev_link_price = $_GET['link_price'];
|
20 |
-
} else {
|
21 |
-
$prev_link_price = '';
|
22 |
-
}
|
23 |
-
|
24 |
-
if ( isset( $_GET['searchll'] ) && !empty( $_GET['searchll'] ) ) {
|
25 |
-
$searchstring = $_GET['searchll'];
|
26 |
-
} else {
|
27 |
-
$searchstring = '';
|
28 |
-
}
|
29 |
-
|
30 |
-
if ( $show_tag_filters ) {
|
31 |
-
|
32 |
-
$output .= '<div class="tag-filters">';
|
33 |
-
$output .= '<div class="tag-filters-title">' . $tag_label . '</div>';
|
34 |
-
$link_terms = get_terms( array( 'taxonomy' => 'link_library_tags', 'include' => $include_tags, 'exclude' => $exclude_tags ) );
|
35 |
-
|
36 |
-
if ( isset( $_GET['link_tags'] ) && !empty( $_GET['link_tags'] ) ) {
|
37 |
-
$prev_link_tags = $_GET['link_tags'];
|
38 |
-
} else {
|
39 |
-
$prev_link_tags = '';
|
40 |
-
}
|
41 |
-
|
42 |
-
$prev_link_tags_array = explode( '.', $prev_link_tags );
|
43 |
-
|
44 |
-
$output .= '<div class="tag-filters-choices">';
|
45 |
-
|
46 |
-
foreach ( $link_terms as $link_term ) {
|
47 |
-
$output .= '<input type="checkbox" name="link_tag_list[]" class="link_tag_list" ' . checked( in_array( $link_term->slug, $prev_link_tags_array ), true, false ) . ' value="' . $link_term->slug . '"/> ' . $link_term->name . '<br/>';
|
48 |
-
}
|
49 |
-
|
50 |
-
$output .= '</div>';
|
51 |
-
|
52 |
-
$output .= '<input type="hidden" name="link_tags" class="link_tags" value="' . $prev_link_tags . '">';
|
53 |
-
|
54 |
-
$output .= '<script type="text/javascript">';
|
55 |
-
|
56 |
-
$output .= "function isInArray(days, day) {\n";
|
57 |
-
$output .= "\treturn days.indexOf(day.toLowerCase()) > -1;\n";
|
58 |
-
$output .= "}\n";
|
59 |
-
|
60 |
-
$output .= "jQuery('.link_tag_list').click( function() {\n";
|
61 |
-
$output .= "\tcurrent_link_tags = jQuery('.link_tags').val();\n";
|
62 |
-
$output .= "\tif (typeof current_link_tags == 'undefined') current_link_tags = '';\n";
|
63 |
-
$output .= "\tif ( current_link_tags ) { current_link_tags_array = current_link_tags.split('.'); } else { current_link_tags_array = new Array(); }\n";
|
64 |
-
$output .= "\tif ( jQuery(this).is(':checked') && !isInArray( current_link_tags_array, jQuery(this).val() ) ) {\n";
|
65 |
-
$output .= "\t\tcurrent_link_tags_array.push( jQuery(this).val() );\n";
|
66 |
-
$output .= "\t} else if ( jQuery(this).prop('checked', false) && isInArray( current_link_tags_array, jQuery(this).val() ) ) {\n";
|
67 |
-
$output .= "\t\tcurrent_link_tags_array.splice( current_link_tags_array.indexOf(jQuery(this).val()));\n";
|
68 |
-
$output .= "\t}\n";
|
69 |
-
$output .= "\tvar link_tags_string = current_link_tags_array.join('.');\n";
|
70 |
-
$output .= "\twindow.location.href = '//' + location.host + location.pathname + '?' + 'link_tags=' + link_tags_string";
|
71 |
-
|
72 |
-
if ( $show_price_filters ) {
|
73 |
-
$output .= " + '&'";
|
74 |
-
|
75 |
-
if ( 'free' == $prev_link_price ) {
|
76 |
-
$output .= " + 'link_price=free'";
|
77 |
-
} else {
|
78 |
-
$output .= " + 'link_price='";
|
79 |
-
}
|
80 |
-
}
|
81 |
-
|
82 |
-
if ( !empty( $searchstring ) ) {
|
83 |
-
$output .= " + '&searchll=" . $searchstring . "'";
|
84 |
-
}
|
85 |
-
|
86 |
-
$output .= "});\n";
|
87 |
-
|
88 |
-
$output .= '</script>';
|
89 |
-
|
90 |
-
$output .= '</div>';
|
91 |
-
}
|
92 |
-
|
93 |
-
if ( $show_price_filters ) {
|
94 |
-
$output .= '<div class="tag-filters">';
|
95 |
-
$output .= '<div class="tag-filters-title">' . $price_label . '</div>';
|
96 |
-
|
97 |
-
$output .= '<div class="price-filters-choices">';
|
98 |
-
$output .= '<input type="checkbox" name="link_price" class="link_price" ' . checked( $prev_link_price, 'free', false ) . ' value="free"/> ' . __( 'Free', 'link-library' ) . '<br/>';
|
99 |
-
$output .= '</div>';
|
100 |
-
|
101 |
-
$output .= '<script type="text/javascript">';
|
102 |
-
|
103 |
-
$output .= "jQuery('.link_price').click( function() {\n";
|
104 |
-
|
105 |
-
if ( $show_tag_filters ) {
|
106 |
-
$output .= "\tcurrent_link_tags = jQuery('.link_tags').val();\n";
|
107 |
-
$output .= "\tif (typeof current_link_tags == 'undefined') current_link_tags = '';\n";
|
108 |
-
}
|
109 |
-
|
110 |
-
$output .= "\twindow.location.href = '//' + location.host + location.pathname + '?'";
|
111 |
-
|
112 |
-
if ( $show_tag_filters ) {
|
113 |
-
$output .= " + 'link_tags=' + current_link_tags";
|
114 |
-
$output .= " + '&'";
|
115 |
-
}
|
116 |
-
|
117 |
-
if ( 'free' == $prev_link_price ) {
|
118 |
-
$output .= " + 'link_price='";
|
119 |
-
} else {
|
120 |
-
$output .= " + 'link_price=free'";
|
121 |
-
}
|
122 |
-
|
123 |
-
if ( !empty( $searchstring ) ) {
|
124 |
-
$output .= " + '&searchll='" . $searchstring . "'";
|
125 |
-
}
|
126 |
-
|
127 |
-
$output .= ";\n";
|
128 |
-
|
129 |
-
$output .= "});\n";
|
130 |
-
|
131 |
-
$output .= '</script>';
|
132 |
-
|
133 |
-
$output .= '</div>';
|
134 |
-
|
135 |
-
$output .= '</div>';
|
136 |
-
}
|
137 |
-
|
138 |
-
//$output .= '<input type="submit" value="' . __( 'Apply filter', 'link-library' ) . '" />';
|
139 |
-
|
140 |
-
$output .= '</fieldset>';
|
141 |
-
|
142 |
-
$output .= '</div>';
|
143 |
-
|
144 |
-
return $output;
|
145 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
rss.genesis.php
CHANGED
@@ -13,46 +13,46 @@
|
|
13 |
:...> Date: 02/24/2006
|
14 |
:...> Latest Version: http://rssgenesis.sourceforge.net/
|
15 |
:...> License: LGPL (GNU Lesser General PublicLicense)
|
16 |
-
|
17 |
\\ ================================================== */
|
18 |
|
19 |
// This is the rssGenesis class. PHP4 syntax. PHP4 and PHP5 compatible. //
|
20 |
class rssGenesis {
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
|
57 |
// Holds RSS Version
|
58 |
var $rssformat = "RSS20";
|
@@ -72,113 +72,113 @@
|
|
72 |
$this->rss_item = "\t\t<item>\r\n\t\t\t<title>{item_Title}</title>\r\n\t\t\t<link>{item_Link}</link>\r\n\t\t\t<description>{item_Description}</description>\r\n\t\t\t</item>\r\n\r\n";
|
73 |
}
|
74 |
}
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
$category = ($category == null) ? "" : $category;
|
94 |
$generator = ( !isset( $generator ) || $generator == null) ? "" : $generator;
|
95 |
-
|
96 |
$timetolive = ($timetolive == null) ? "" : $timetolive;
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
|
105 |
-
|
106 |
-
|
107 |
-
|
108 |
-
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
|
129 |
-
|
130 |
-
|
131 |
-
|
132 |
-
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
|
140 |
-
|
141 |
-
|
142 |
-
|
143 |
-
|
144 |
-
|
145 |
-
|
146 |
-
|
147 |
-
|
148 |
-
|
149 |
-
|
150 |
-
|
151 |
-
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
|
156 |
-
|
157 |
-
|
158 |
-
|
159 |
-
|
160 |
-
|
161 |
-
|
162 |
-
|
163 |
-
|
164 |
-
|
165 |
-
|
166 |
-
|
167 |
-
|
168 |
-
|
169 |
-
|
170 |
-
|
171 |
-
|
172 |
-
|
173 |
-
|
174 |
-
|
175 |
-
|
176 |
-
|
177 |
-
|
178 |
-
|
179 |
-
|
180 |
-
|
181 |
-
|
182 |
|
183 |
if ($this->rssformat == "RSS20") {
|
184 |
// Category parser // Optional data
|
@@ -188,241 +188,241 @@
|
|
188 |
|
189 |
endif;
|
190 |
}
|
191 |
-
|
192 |
-
|
193 |
-
|
194 |
-
|
195 |
-
|
196 |
-
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
201 |
-
|
202 |
-
|
203 |
-
|
204 |
-
|
205 |
-
|
206 |
-
|
207 |
-
|
208 |
-
|
209 |
-
|
210 |
-
|
211 |
-
|
212 |
-
|
213 |
-
|
214 |
-
|
215 |
-
|
216 |
-
|
217 |
-
|
218 |
-
|
219 |
-
|
220 |
-
|
221 |
-
|
222 |
-
|
223 |
-
|
224 |
-
|
225 |
-
|
226 |
-
|
227 |
-
|
228 |
-
|
229 |
-
|
230 |
-
|
231 |
-
|
232 |
-
|
233 |
-
|
234 |
-
|
235 |
-
|
236 |
-
|
237 |
-
|
238 |
-
|
239 |
-
|
240 |
-
|
241 |
-
|
242 |
-
|
243 |
-
|
244 |
-
|
245 |
-
|
246 |
-
|
247 |
-
|
248 |
-
|
249 |
-
|
250 |
-
|
251 |
-
|
252 |
-
|
253 |
-
|
254 |
-
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
|
273 |
-
|
274 |
-
|
275 |
-
|
276 |
-
|
277 |
-
|
278 |
-
|
279 |
-
|
280 |
-
|
281 |
-
|
282 |
-
|
283 |
-
|
284 |
-
|
285 |
-
|
286 |
|
287 |
if ($this->rssformat == "RSS20") {
|
288 |
// Inserts channel category // Replaces {channel_Category}
|
289 |
$this->channel_data = str_replace ("{channel_Category}", $category, $this->channel_data);
|
290 |
}
|
291 |
-
|
292 |
-
|
293 |
-
|
294 |
-
|
295 |
-
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
-
|
300 |
-
|
301 |
-
|
302 |
-
|
303 |
-
|
304 |
-
|
305 |
-
|
306 |
-
|
307 |
-
|
308 |
-
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
322 |
-
|
323 |
-
|
324 |
-
|
325 |
-
|
326 |
-
|
327 |
-
|
328 |
-
|
329 |
-
|
330 |
-
|
331 |
-
|
332 |
-
|
333 |
-
|
334 |
-
|
335 |
-
|
336 |
-
|
337 |
-
|
338 |
-
|
339 |
-
|
340 |
-
|
341 |
-
|
342 |
-
|
343 |
|
344 |
if ($this->rssformat == "RSS20") {
|
345 |
$this->image_data = str_replace ("\r\n\t\t\t<width>{image_Width}</width>\r\n\t\t\t<height>{image_Height}</height>", "", $this->image_data);
|
346 |
}
|
347 |
-
|
348 |
-
|
349 |
-
|
350 |
-
|
351 |
-
|
352 |
-
|
353 |
-
|
354 |
-
|
355 |
-
|
356 |
-
|
357 |
-
|
358 |
-
|
359 |
-
|
360 |
-
|
361 |
-
|
362 |
-
|
363 |
-
|
364 |
-
|
365 |
-
|
366 |
-
|
367 |
-
|
368 |
-
|
369 |
-
|
370 |
-
|
371 |
-
|
372 |
-
|
373 |
-
|
374 |
-
|
375 |
-
|
376 |
-
|
377 |
-
|
378 |
-
|
379 |
-
|
380 |
-
|
381 |
-
|
382 |
-
|
383 |
-
|
384 |
-
|
385 |
-
|
386 |
-
|
387 |
$pubdate = ($pubdate == null) ? "" : $pubdate;
|
388 |
$category = ($category == null) ? "" : $category;
|
389 |
-
|
390 |
|
391 |
//Formats pubdate
|
392 |
$mysqltimestamp = $pubdate;
|
393 |
$pubdate = gmdate('D, d M Y H:i:s \G\M\T', strtotime($mysqltimestamp));
|
394 |
-
|
395 |
-
|
396 |
-
|
397 |
-
|
398 |
-
|
399 |
-
|
400 |
-
|
401 |
-
|
402 |
-
|
403 |
-
|
404 |
-
|
405 |
-
|
406 |
-
|
407 |
-
|
408 |
-
|
409 |
-
|
410 |
-
|
411 |
-
|
412 |
-
|
413 |
-
|
414 |
|
415 |
// Description parser // Convertes quotes and strips backslashes!
|
416 |
-
|
417 |
-
|
418 |
-
|
419 |
-
|
420 |
-
|
421 |
-
|
422 |
-
|
423 |
-
|
424 |
-
|
425 |
-
|
426 |
|
427 |
//Inserts publication date if feed is RSS20
|
428 |
if ($this->rssformat == "RSS20") {
|
@@ -430,114 +430,114 @@
|
|
430 |
|
431 |
$temp = str_replace ("{item_category}", $category, $temp);
|
432 |
}
|
433 |
-
|
434 |
-
|
435 |
-
|
436 |
-
|
437 |
-
|
438 |
-
|
439 |
-
|
440 |
-
|
441 |
-
|
442 |
-
|
443 |
-
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
-
|
448 |
-
|
449 |
-
|
450 |
-
|
451 |
-
|
452 |
-
|
453 |
-
|
454 |
-
|
455 |
-
|
456 |
-
|
457 |
-
|
458 |
-
|
459 |
-
|
460 |
-
|
461 |
-
|
462 |
-
|
463 |
-
|
464 |
-
|
465 |
-
|
466 |
-
|
467 |
-
|
468 |
-
|
469 |
-
|
470 |
-
|
471 |
-
|
472 |
-
|
473 |
-
|
474 |
-
|
475 |
-
|
476 |
-
|
477 |
-
|
478 |
-
|
479 |
-
|
480 |
-
|
481 |
-
|
482 |
-
|
483 |
-
|
484 |
-
|
485 |
-
|
486 |
-
|
487 |
-
|
488 |
-
|
489 |
-
|
490 |
-
|
491 |
-
|
492 |
-
|
493 |
-
|
494 |
-
|
495 |
-
|
496 |
-
|
497 |
-
|
498 |
-
|
499 |
-
|
500 |
-
|
501 |
-
|
502 |
-
|
503 |
-
|
504 |
-
|
505 |
-
|
506 |
-
|
507 |
-
|
508 |
-
|
509 |
-
|
510 |
-
|
511 |
-
|
512 |
-
|
513 |
-
|
514 |
-
|
515 |
-
|
516 |
-
|
517 |
-
|
518 |
-
|
519 |
-
|
520 |
-
|
521 |
-
|
522 |
-
|
523 |
-
|
524 |
-
|
525 |
-
|
526 |
-
|
527 |
-
|
528 |
-
|
529 |
-
|
530 |
-
|
531 |
-
|
532 |
-
|
533 |
-
|
534 |
-
|
535 |
-
|
536 |
-
|
537 |
-
|
538 |
-
|
539 |
-
|
540 |
-
|
541 |
|
542 |
function getFeed() {
|
543 |
|
@@ -546,5 +546,5 @@
|
|
546 |
|
547 |
return $this->rss_feed;
|
548 |
}
|
549 |
-
|
550 |
}
|
13 |
:...> Date: 02/24/2006
|
14 |
:...> Latest Version: http://rssgenesis.sourceforge.net/
|
15 |
:...> License: LGPL (GNU Lesser General PublicLicense)
|
16 |
+
|
17 |
\\ ================================================== */
|
18 |
|
19 |
// This is the rssGenesis class. PHP4 syntax. PHP4 and PHP5 compatible. //
|
20 |
class rssGenesis {
|
21 |
+
|
22 |
+
// Class Variables Declaration //
|
23 |
+
|
24 |
+
// Static header to RSS 0.91 feeds //
|
25 |
+
var $rss_header = "<?xml version=\"1.0\"?>\r\n<rss version=\"2.0\">\r\n";
|
26 |
+
|
27 |
+
// Template to channel sections //
|
28 |
+
var $rss_channel = "\t<channel>\r\n\t\t<title>{channel_Title}</title>\r\n\t\t<link>{channel_Link}</link>\r\n\t\t<description>{channel_Description}</description>\r\n\t\t<language>{channel_Language}</language>\r\n\t\t<copyright>{channel_Copyright}</copyright>\r\n\t\t<managingEditor>{channel_ManagingEditor}</managingEditor>\r\n\t\t<webMaster>{channel_WebMaster}</webMaster>\r\n\t\t<rating>{channel_Rating}</rating>\r\n\t\t<pubDate>{channel_PubDate}</pubDate>\r\n\t\t<lastBuildDate>{channel_LastBuildDate}</lastBuildDate>\r\n\t\t<category>{channel_Category}</category>\r\n\t\t<generator>RSS Genesis 1.1</generator>\r\n\t\t<docs>{channel_Docs}</docs>\r\n\t\t<skipDays>{channel_SkipDays}</skipDays>\r\n\t\t<skipHours>{channel_SkipHours}</skipHours>\r\n\r\n";
|
29 |
+
|
30 |
+
// Template to image sections //
|
31 |
+
var $rss_image = "\t\t<image>\r\n\t\t\t<title>{image_Title}</title>\r\n\t\t\t<url>{image_Source}</url>\r\n\t\t\t<link>{image_Link}</link>\r\n\t\t\t<width>{image_Width}</width>\r\n\t\t\t<height>{image_Height}</height>\r\n\t\t\t<description>{image_Description}</description>\r\n\t\t</image>\r\n\r\n";
|
32 |
+
|
33 |
+
// Template to item sections //
|
34 |
+
var $rss_item = "\t\t<item>\r\n\t\t\t<title>{item_Title}</title>\r\n\t\t\t<link>{item_Link}</link>\r\n\t\t\t<description>{item_Description}</description>\r\n\t\t\t<pubDate>{item_PubDate}</pubDate>\r\n\t\t\t<category>{item_category}</category>\r\n\t\t</item>\r\n\r\n";
|
35 |
+
|
36 |
+
// Template to input sections //
|
37 |
+
var $rss_input = "\t\t<textinput>\r\n\t\t\t<title>{input_Title}</title>\r\n\t\t\t<description>{input_Description}</description>\r\n\t\t\t<name>{input_Name}</name>\r\n\t\t\t<link>{input_Link}</link>\r\n\t\t\t</textinput>\r\n\r\n";
|
38 |
+
|
39 |
+
// Static footer to RSS 0.91 feeds //
|
40 |
+
var $rss_footer = "\t</channel>\r\n</rss>";
|
41 |
+
|
42 |
+
// Holds all RSS contents //
|
43 |
+
var $rss_feed = null;
|
44 |
+
|
45 |
+
// Holds channel data //
|
46 |
+
var $channel_data = null;
|
47 |
+
|
48 |
+
// Holds image data //
|
49 |
+
var $image_data = null;
|
50 |
+
|
51 |
+
// Holds all item data //
|
52 |
+
var $item_data = Array();
|
53 |
+
|
54 |
+
// Holds input data //
|
55 |
+
var $input_data = null;
|
56 |
|
57 |
// Holds RSS Version
|
58 |
var $rssformat = "RSS20";
|
72 |
$this->rss_item = "\t\t<item>\r\n\t\t\t<title>{item_Title}</title>\r\n\t\t\t<link>{item_Link}</link>\r\n\t\t\t<description>{item_Description}</description>\r\n\t\t\t</item>\r\n\r\n";
|
73 |
}
|
74 |
}
|
75 |
+
|
76 |
+
// Creates channel data handler //
|
77 |
+
function setChannel ($title = "", $link = "", $description = "", $language = "", $copyright = "", $managingEditor = "", $webMaster = "", $rating = "", $pubDate = "", $lastBuildDate = "", $category = "", $docs = "", $timetolive = "", $skipDays = "", $skipHours = "") {
|
78 |
+
|
79 |
+
// Copies the original template to channel sections //
|
80 |
+
$this->channel_data = $this->rss_channel;
|
81 |
+
|
82 |
+
// Null values become empty values // Start
|
83 |
+
$title = ($title == null) ? "" : $title;
|
84 |
+
$link = ($link == null) ? "" : $link;
|
85 |
+
$description = ($description == null) ? "" : $description;
|
86 |
+
$language = ($language == null) ? "" : $language;
|
87 |
+
$copyright = ($copyright == null) ? "" : $copyright;
|
88 |
+
$managingEditor = ($managingEditor == null) ? "" : $managingEditor;
|
89 |
+
$webMaster = ($webMaster == null) ? "" : $webMaster;
|
90 |
+
$rating = ($rating == null) ? "" : $rating;
|
91 |
+
$pubDate = ($pubDate == null) ? "" : $pubDate;
|
92 |
+
$lastBuildDate = ($lastBuildDate == null) ? "" : $lastBuildDate;
|
93 |
$category = ($category == null) ? "" : $category;
|
94 |
$generator = ( !isset( $generator ) || $generator == null) ? "" : $generator;
|
95 |
+
$docs = ($docs == null) ? "" : $docs;
|
96 |
$timetolive = ($timetolive == null) ? "" : $timetolive;
|
97 |
+
$skipDays = ($skipDays == null) ? "" : $skipDays;
|
98 |
+
$skipHours = ($skipHours == null) ? "" : $skipHours;
|
99 |
+
// Null values become empty values // End
|
100 |
+
|
101 |
+
// Title parser // Convertes quotes and strips backslashes!
|
102 |
+
$title = stripslashes (htmlspecialchars (trim ($title), ENT_QUOTES));
|
103 |
+
|
104 |
+
// Title parser // Empty titles not allowed
|
105 |
+
$title = (empty ($title)) ? "RSS Feed - RSS Genesis 1.1" : $title;
|
106 |
+
|
107 |
+
// Link parser // Checks absolutes URIs
|
108 |
+
if (!preg_match ("(^(ht|f)tp(s)?://)", $link)) :
|
109 |
+
|
110 |
+
$link = "http://rssgenesis.sourceforge.net/";
|
111 |
+
|
112 |
+
endif;
|
113 |
+
|
114 |
+
// Description parser // Convertes quotes and strips backslashes!
|
115 |
+
$description = stripslashes (htmlspecialchars (trim ($description), ENT_QUOTES));
|
116 |
+
|
117 |
+
// Description parser // Empty descriptions not allowed
|
118 |
+
$description = (empty ($description)) ? "A basic and simple RSS Feed!" : $description;
|
119 |
+
|
120 |
+
// Language parser // Only [-A-Za-z]
|
121 |
+
if ((preg_match ("([^-A-Za-z])", $language)) or (empty ($language))) :
|
122 |
+
|
123 |
+
$language = "en-us";
|
124 |
+
|
125 |
+
endif;
|
126 |
+
|
127 |
+
// Copyright parser // Optional data
|
128 |
+
if (empty ($copyright)) :
|
129 |
+
|
130 |
+
$this->channel_data = str_replace ("\r\n\t\t<copyright>{channel_Copyright}</copyright>", "", $this->channel_data);
|
131 |
+
|
132 |
+
endif;
|
133 |
+
|
134 |
+
// Managing Editor parser // Optional data
|
135 |
+
if (empty ($managingEditor)) :
|
136 |
+
|
137 |
+
$this->channel_data = str_replace ("\r\n\t\t<managingEditor>{channel_ManagingEditor}</managingEditor>", "", $this->channel_data);
|
138 |
+
|
139 |
+
endif;
|
140 |
+
|
141 |
+
// WebMaster parser // Optional data
|
142 |
+
if (empty ($webMaster)) :
|
143 |
+
|
144 |
+
$this->channel_data = str_replace ("\r\n\t\t<webMaster>{channel_WebMaster}</webMaster>", "", $this->channel_data);
|
145 |
+
|
146 |
+
endif;
|
147 |
+
|
148 |
+
// Rating parser // Optional data
|
149 |
+
if (empty ($rating)) :
|
150 |
+
|
151 |
+
$this->channel_data = str_replace ("\r\n\t\t<rating>{channel_Rating}</rating>", "", $this->channel_data);
|
152 |
+
|
153 |
+
endif;
|
154 |
+
|
155 |
+
// PubDate parser // If is set to auto, autogenerates it
|
156 |
+
if ($pubDate == "auto") :
|
157 |
+
|
158 |
+
$pubDate = date ("r");
|
159 |
+
|
160 |
+
endif;
|
161 |
+
|
162 |
+
// PubDate parser // Optional data
|
163 |
+
if (empty ($pubDate)) :
|
164 |
+
|
165 |
+
$this->channel_data = str_replace ("\r\n\t\t<pubDate>{channel_PubDate}</pubDate>", "", $this->channel_data);
|
166 |
+
|
167 |
+
endif;
|
168 |
+
|
169 |
+
// Last Build Date parser // If is set to auto, autogenerates it
|
170 |
+
if ($lastBuildDate == "auto") :
|
171 |
+
|
172 |
+
$lastBuildDate = date ("r");
|
173 |
+
|
174 |
+
endif;
|
175 |
+
|
176 |
+
// Last Build Date parser // Optional data
|
177 |
+
if (empty ($lastBuildDate)) :
|
178 |
+
|
179 |
+
$this->channel_data = str_replace ("\r\n\t\t<lastBuildDate>{channel_LastBuildDate}</lastBuildDate>", "", $this->channel_data);
|
180 |
+
|
181 |
+
endif;
|
182 |
|
183 |
if ($this->rssformat == "RSS20") {
|
184 |
// Category parser // Optional data
|
188 |
|
189 |
endif;
|
190 |
}
|
191 |
+
|
192 |
+
// Docs parser // Checks absolutes URIs
|
193 |
+
if (!preg_match ("(^(ht|f)tp://)", $docs)) :
|
194 |
+
|
195 |
+
$docs = "http://rssgenesis.sourceforge.net/links/";
|
196 |
+
|
197 |
+
endif;
|
198 |
+
|
199 |
+
// Skip Days parser // Generate data
|
200 |
+
if (!empty ($skipDays)) :
|
201 |
+
|
202 |
+
// Starts the complete Skip Days storage variable //
|
203 |
+
$skipDaysComplete = "\r\n";
|
204 |
+
|
205 |
+
// Explodes the string to get all skipped days //
|
206 |
+
$skipDays = explode ("|", $skipDays);
|
207 |
+
|
208 |
+
// For each element given //
|
209 |
+
foreach ($skipDays as $days) :
|
210 |
+
|
211 |
+
// Inserts data to skipped day //
|
212 |
+
$skipDaysComplete .= " <day>$days</day>\r\n";
|
213 |
+
|
214 |
+
endforeach;
|
215 |
+
|
216 |
+
// Overwrites the given Skip Days variable //
|
217 |
+
$skipDays = $skipDaysComplete .= " ";
|
218 |
+
|
219 |
+
endif;
|
220 |
+
|
221 |
+
// Skip Days parser // Optional data
|
222 |
+
if (empty ($skipDays)) :
|
223 |
+
|
224 |
+
$this->channel_data = str_replace ("\r\n\t\t<skipDays>{channel_SkipDays}</skipDays>", "", $this->channel_data);
|
225 |
+
|
226 |
+
endif;
|
227 |
+
|
228 |
+
// Skip Hours parser // Generate data
|
229 |
+
if (!empty ($skipHours)) :
|
230 |
+
|
231 |
+
// Starts the complete Skip Hours storage variable //
|
232 |
+
$skipHoursComplete = "\r\n";
|
233 |
+
|
234 |
+
// Explodes the string to get all skipped hours //
|
235 |
+
$skipHours = explode ("|", $skipHours);
|
236 |
+
|
237 |
+
// For each element given //
|
238 |
+
foreach ($skipHours as $hours) :
|
239 |
+
|
240 |
+
// Inserts data to skipped hour //
|
241 |
+
$skipHoursComplete .= " <hour>$hours</hour>\r\n";
|
242 |
+
|
243 |
+
endforeach;
|
244 |
+
|
245 |
+
// Overwrites the given Skip Hours variable //
|
246 |
+
$skipHours = $skipHoursComplete .= " ";
|
247 |
+
|
248 |
+
endif;
|
249 |
+
|
250 |
+
// Skip Hours parser // Optional data
|
251 |
+
if (empty ($skipHours)) :
|
252 |
+
|
253 |
+
$this->channel_data = str_replace ("\r\n\t\t<skipHours>{channel_SkipHours}</skipHours>", "", $this->channel_data);
|
254 |
+
|
255 |
+
endif;
|
256 |
+
|
257 |
+
// Inserts channel title // Replaces {channel_Title}
|
258 |
+
$this->channel_data = str_replace ("{channel_Title}", $title, $this->channel_data);
|
259 |
+
|
260 |
+
// Inserts channel link // Replaces {channel_Link}
|
261 |
+
$this->channel_data = str_replace ("{channel_Link}", $link, $this->channel_data);
|
262 |
+
|
263 |
+
// Inserts channel language // Replaces {channel_Language}
|
264 |
+
$this->channel_data = str_replace ("{channel_Language}", $language, $this->channel_data);
|
265 |
+
|
266 |
+
// Inserts channel description // Replaces {channel_Description}
|
267 |
+
$this->channel_data = str_replace ("{channel_Description}", $description, $this->channel_data);
|
268 |
+
|
269 |
+
// Inserts channel copyright // Replaces {channel_Copyright}
|
270 |
+
$this->channel_data = str_replace ("{channel_Copyright}", $copyright, $this->channel_data);
|
271 |
+
|
272 |
+
// Inserts channel managingEditor // Replaces {channel_ManagingEditor}
|
273 |
+
$this->channel_data = str_replace ("{channel_ManagingEditor}", $managingEditor, $this->channel_data);
|
274 |
+
|
275 |
+
// Inserts channel webMaster // Replaces {channel_WebMaster}
|
276 |
+
$this->channel_data = str_replace ("{channel_WebMaster}", $webMaster, $this->channel_data);
|
277 |
+
|
278 |
+
// Inserts channel rating // Replaces {channel_Rating}
|
279 |
+
$this->channel_data = str_replace ("{channel_Rating}", $rating, $this->channel_data);
|
280 |
+
|
281 |
+
// Inserts channel pubDate // Replaces {channel_PubDate}
|
282 |
+
$this->channel_data = str_replace ("{channel_PubDate}", $pubDate, $this->channel_data);
|
283 |
+
|
284 |
+
// Inserts channel lastBuildDate // Replaces {channel_LastBuildDate}
|
285 |
+
$this->channel_data = str_replace ("{channel_LastBuildDate}", $lastBuildDate, $this->channel_data);
|
286 |
|
287 |
if ($this->rssformat == "RSS20") {
|
288 |
// Inserts channel category // Replaces {channel_Category}
|
289 |
$this->channel_data = str_replace ("{channel_Category}", $category, $this->channel_data);
|
290 |
}
|
291 |
+
|
292 |
+
// Inserts channel docs // Replaces {channel_Docs}
|
293 |
+
$this->channel_data = str_replace ("{channel_Docs}", $docs, $this->channel_data);
|
294 |
+
|
295 |
+
// Inserts channel skipDays // Replaces {channel_SkipDays}
|
296 |
+
$this->channel_data = str_replace ("{channel_SkipDays}", $skipDays, $this->channel_data);
|
297 |
+
|
298 |
+
// Inserts channel skipHours // Replaces {channel_SkipHours}
|
299 |
+
$this->channel_data = str_replace ("{channel_SkipHours}", $skipHours, $this->channel_data);
|
300 |
+
|
301 |
+
}
|
302 |
+
|
303 |
+
// Creates image data handler //
|
304 |
+
function setImage ($title = "", $src = "", $link = "", $width = "", $height = "", $description = "") {
|
305 |
+
|
306 |
+
// Null values become empty values // Start
|
307 |
+
$title = ($title == null) ? "" : $title;
|
308 |
+
$src = ($src == null) ? "" : $src;
|
309 |
+
$link = ($link == null) ? "" : $link;
|
310 |
+
$width = ($width == null) ? "" : $width;
|
311 |
+
$height = ($height == null) ? "" : $height;
|
312 |
+
$description = ($description == null) ? "" : $description;
|
313 |
+
// Null values become empty values // End
|
314 |
+
|
315 |
+
// Title parser // Convertes quotes and strips backslashes!
|
316 |
+
$title = stripslashes (htmlspecialchars (trim ($title), ENT_QUOTES));
|
317 |
+
|
318 |
+
// Title parser // Empty titles not allowed
|
319 |
+
$title = (empty ($title)) ? "RSS Genesis 1.1" : $title;
|
320 |
+
|
321 |
+
// Source parser // Checks absolutes URIs
|
322 |
+
if (!preg_match ("(^(ht|f)tp://)", $src)) :
|
323 |
+
|
324 |
+
$src = "http://rssgenesis.sourceforge.net/Assets/rss.genesis.image.png";
|
325 |
+
|
326 |
+
endif;
|
327 |
+
|
328 |
+
// Link parser // Checks absolutes URIs
|
329 |
+
if (!preg_match ("(^(ht|f)tp://)", $link)) :
|
330 |
+
|
331 |
+
$link = "http://rssgenesis.sourceforge.net/";
|
332 |
+
|
333 |
+
endif;
|
334 |
+
|
335 |
+
// Image dimensions parser // Sets dimensions if auto generation is needed
|
336 |
+
if (($width == "auto") and ($height == "auto")) :
|
337 |
+
|
338 |
+
$dimensions = @getimagesize ($src);
|
339 |
+
|
340 |
+
$width = $dimensions[0];
|
341 |
+
|
342 |
+
$height = $dimensions[1];
|
343 |
|
344 |
if ($this->rssformat == "RSS20") {
|
345 |
$this->image_data = str_replace ("\r\n\t\t\t<width>{image_Width}</width>\r\n\t\t\t<height>{image_Height}</height>", "", $this->image_data);
|
346 |
}
|
347 |
+
|
348 |
+
endif;
|
349 |
+
|
350 |
+
// Image dimensions parser // Checks integer values
|
351 |
+
$width = (is_int ($width)) ? $width : "";
|
352 |
+
$height = (is_int ($height)) ? $height : "";
|
353 |
+
|
354 |
+
// Description parser // Convertes quotes and strips backslashes!
|
355 |
+
$description = stripslashes (htmlspecialchars (trim ($description), ENT_QUOTES));
|
356 |
+
|
357 |
+
// Description parser // Empty descriptions not allowed
|
358 |
+
$description = (empty ($description)) ? "Powered by: RSS Genesis!" : $description;
|
359 |
+
|
360 |
+
// Inserts image title // Replaces {image_Title}
|
361 |
+
$this->image_data = str_replace ("{image_Title}", $title, $this->rss_image);
|
362 |
+
|
363 |
+
// Inserts image source // Replaces {image_Source}
|
364 |
+
$this->image_data = str_replace ("{image_Source}", $src, $this->image_data);
|
365 |
+
|
366 |
+
// Inserts image link // Replaces {image_Link}
|
367 |
+
$this->image_data = str_replace ("{image_Link}", $link, $this->image_data);
|
368 |
+
|
369 |
+
// Inserts image width // Replaces {image_Width}
|
370 |
+
$this->image_data = str_replace ("{image_Width}", "$width", $this->image_data);
|
371 |
+
|
372 |
+
// Inserts image height // Replaces {image_Height}
|
373 |
+
$this->image_data = str_replace ("{image_Height}", "$height", $this->image_data);
|
374 |
+
|
375 |
+
// Inserts image description // Replaces {image_Description}
|
376 |
+
$this->image_data = str_replace ("{image_Description}", $description, $this->image_data);
|
377 |
+
|
378 |
+
}
|
379 |
+
|
380 |
+
// Creates item data handler //
|
381 |
+
function addItem ($title, $link, $description, $pubdate = "", $category) {
|
382 |
+
|
383 |
+
// Null values become empty values // Start
|
384 |
+
$title = ($title == null) ? "" : $title;
|
385 |
+
$link = ($link == null) ? "" : $link;
|
386 |
+
$description = ($description == null) ? "" : $description;
|
387 |
$pubdate = ($pubdate == null) ? "" : $pubdate;
|
388 |
$category = ($category == null) ? "" : $category;
|
389 |
+
// Null values become empty values // End
|
390 |
|
391 |
//Formats pubdate
|
392 |
$mysqltimestamp = $pubdate;
|
393 |
$pubdate = gmdate('D, d M Y H:i:s \G\M\T', strtotime($mysqltimestamp));
|
394 |
+
|
395 |
+
// Title parser // Convertes quotes and strips backslashes!
|
396 |
+
$title = stripslashes (htmlspecialchars (trim ($title), ENT_QUOTES));
|
397 |
+
|
398 |
+
// Title parser // Empty titles not allowed
|
399 |
+
if (empty ($title)) :
|
400 |
+
|
401 |
+
die ("<font face=\"verdana\" size=\"2\">Error code: <strong>001</strong> - Item's element title is mandatory! - <a href=\"http://rssgenesis.sourceforge.net/index.html#ec001\" target=\"_blank\">Documentation</a></font>");
|
402 |
+
|
403 |
+
endif;
|
404 |
+
|
405 |
+
// Link parser // Checks absolutes URIs
|
406 |
+
if (!preg_match ("(^(ht|f)tp(s)?://)", $link)) :
|
407 |
+
|
408 |
+
die ("<font face=\"verdana\" size=\"2\">Error code: <strong>002</strong> - Item's element link is mandatory! - <a href=\"http://rssgenesis.sourceforge.net/index.html#ec002\" target=\"_blank\">Documentation</a></font>");
|
409 |
+
|
410 |
+
endif;
|
411 |
+
|
412 |
+
// Description parser // Convertes quotes and strips backslashes!
|
413 |
+
$description = stripslashes (htmlspecialchars (trim ($description), ENT_QUOTES));
|
414 |
|
415 |
// Description parser // Convertes quotes and strips backslashes!
|
416 |
+
$category = stripslashes (htmlspecialchars (trim ($category), ENT_QUOTES));
|
417 |
+
|
418 |
+
// Inserts item title // Replaces {item_Title}
|
419 |
+
$temp = str_replace ("{item_Title}", $title, $this->rss_item);
|
420 |
+
|
421 |
+
// Inserts item link // Replaces {item_Link}
|
422 |
+
$temp = str_replace ("{item_Link}", $link, $temp);
|
423 |
+
|
424 |
+
// Inserts item description // Replaces {item_Description}
|
425 |
+
$temp = str_replace ("{item_Description}", $description, $temp);
|
426 |
|
427 |
//Inserts publication date if feed is RSS20
|
428 |
if ($this->rssformat == "RSS20") {
|
430 |
|
431 |
$temp = str_replace ("{item_category}", $category, $temp);
|
432 |
}
|
433 |
+
|
434 |
+
// Stores the new added item
|
435 |
+
$this->item_data[] = $temp;
|
436 |
+
|
437 |
+
// Unsets temporary variable
|
438 |
+
unset ($temp);
|
439 |
+
|
440 |
+
}
|
441 |
+
|
442 |
+
// Creates input data handler //
|
443 |
+
function setInput ($title = "", $description = "", $name = "", $link = "") {
|
444 |
+
|
445 |
+
// Null values become empty values // Start
|
446 |
+
$title = ($title == null) ? "" : $title;
|
447 |
+
$description = ($description == null) ? "" : $description;
|
448 |
+
$name = ($name == null) ? "" : $name;
|
449 |
+
$link = ($link == null) ? "" : $link;
|
450 |
+
// Null values become empty values // End
|
451 |
+
|
452 |
+
// Title parser // Convertes quotes and strips backslashes!
|
453 |
+
$title = stripslashes (htmlspecialchars (trim ($title), ENT_QUOTES));
|
454 |
+
|
455 |
+
// Title parser // Empty titles not allowed
|
456 |
+
$title = (empty ($title)) ? "Go!" : $title;
|
457 |
+
|
458 |
+
// Description parser // Convertes quotes and strips backslashes!
|
459 |
+
$description = stripslashes (htmlspecialchars (trim ($description), ENT_QUOTES));
|
460 |
+
|
461 |
+
// Description parser // Empty descriptions not allowed
|
462 |
+
$description = (empty ($description)) ? "Search:" : $description;
|
463 |
+
|
464 |
+
// Name parser // Convertes quotes and strips backslashes!
|
465 |
+
$name = stripslashes (htmlspecialchars (trim ($name), ENT_QUOTES));
|
466 |
+
|
467 |
+
// Name parser // Empty names not allowed
|
468 |
+
$name = (empty ($name)) ? "q" : $name;
|
469 |
+
|
470 |
+
// Link parser // Checks absolutes URIs
|
471 |
+
if (!preg_match ("(^(ht|f)tp://)", $link)) :
|
472 |
+
|
473 |
+
$link = "http://www.google.com/search";
|
474 |
+
|
475 |
+
endif;
|
476 |
+
|
477 |
+
// Inserts input title // Replaces {input_Title}
|
478 |
+
$this->input_data = str_replace ("{input_Title}", $title, $this->rss_input);
|
479 |
+
|
480 |
+
// Inserts input description // Replaces {input_Description}
|
481 |
+
$this->input_data = str_replace ("{input_Description}", $description, $this->input_data);
|
482 |
+
|
483 |
+
// Inserts input name // Replaces {input_Name}
|
484 |
+
$this->input_data = str_replace ("{input_Name}", $name, $this->input_data);
|
485 |
+
|
486 |
+
// Inserts input link // Replaces {input_Link}
|
487 |
+
$this->input_data = str_replace ("{input_Link}", $link, $this->input_data);
|
488 |
+
|
489 |
+
}
|
490 |
+
|
491 |
+
// Creates function to organize the data on feed //
|
492 |
+
function organizeData() {
|
493 |
+
|
494 |
+
// Concentrates all stored data in one variable to feed the new RSS feed //
|
495 |
+
$this->rss_feed .= $this->rss_header;
|
496 |
+
$this->rss_feed .= $this->channel_data;
|
497 |
+
$this->rss_feed .= $this->image_data;
|
498 |
+
$this->rss_feed .= $this->input_data;
|
499 |
+
|
500 |
+
// Storing all itens //
|
501 |
+
foreach ($this->item_data as $item) :
|
502 |
+
|
503 |
+
$this->rss_feed .= $item;
|
504 |
+
|
505 |
+
endforeach;
|
506 |
+
|
507 |
+
// Storage continuation //
|
508 |
+
$this->rss_feed .= $this->rss_footer;
|
509 |
+
|
510 |
+
}
|
511 |
+
|
512 |
+
// Creates function to generate the RSS Feed //
|
513 |
+
function createFile ($name = "my.rss") {
|
514 |
+
|
515 |
+
// Calls the function to organize data before the file creation //
|
516 |
+
$this->organizeData();
|
517 |
+
|
518 |
+
// Creates the new file //
|
519 |
+
$file = @fopen ($name, "w");
|
520 |
+
|
521 |
+
// Checks if creation was successful //
|
522 |
+
if (!$file) :
|
523 |
+
|
524 |
+
die ("<font face=\"verdana\" size=\"2\">Critical Error: <strong>Unable to create: $name</strong></font>");
|
525 |
+
|
526 |
+
endif;
|
527 |
+
|
528 |
+
// Inserts contents //
|
529 |
+
fwrite ($file, $this->rss_feed);
|
530 |
+
|
531 |
+
// Ends file creation //
|
532 |
+
fclose ($file);
|
533 |
+
|
534 |
+
// XML RSS header //
|
535 |
+
header ("Content-type: application/rss+xml");
|
536 |
+
|
537 |
+
// Display RSS file //
|
538 |
+
echo file_get_contents ($name);
|
539 |
+
|
540 |
+
}
|
541 |
|
542 |
function getFeed() {
|
543 |
|
546 |
|
547 |
return $this->rss_feed;
|
548 |
}
|
549 |
+
|
550 |
}
|
rssfeed.php
CHANGED
@@ -6,95 +6,86 @@ global $my_link_library_plugin;
|
|
6 |
|
7 |
function link_library_generate_rss_feed () {
|
8 |
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
|
20 |
-
|
21 |
-
|
22 |
-
|
23 |
-
|
24 |
-
|
25 |
-
|
26 |
-
|
27 |
-
|
28 |
-
|
29 |
-
|
30 |
-
|
31 |
-
|
32 |
-
|
33 |
-
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
39 |
-
|
40 |
-
|
41 |
-
|
42 |
-
|
43 |
-
|
44 |
-
|
45 |
-
|
46 |
-
|
47 |
-
|
48 |
-
|
49 |
-
|
50 |
-
|
51 |
-
|
52 |
-
|
53 |
-
|
54 |
-
|
55 |
-
|
56 |
-
|
57 |
-
|
58 |
-
|
59 |
-
|
60 |
-
|
61 |
-
|
62 |
-
|
63 |
-
|
64 |
-
|
65 |
-
|
66 |
-
|
67 |
-
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
|
72 |
-
|
73 |
-
|
74 |
-
|
75 |
-
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
get_the_title(), // Title
|
88 |
-
$link_url, // Link
|
89 |
-
$link_description, // Description
|
90 |
-
$human_date, //Publication Date
|
91 |
-
$cat_names // Category
|
92 |
-
);
|
93 |
-
}
|
94 |
-
}
|
95 |
-
}
|
96 |
|
97 |
header( 'Content-Type: '. feed_content_type('rss') . '; charset=' . get_option('blog_charset') );
|
98 |
-
|
99 |
-
|
100 |
}
|
6 |
|
7 |
function link_library_generate_rss_feed () {
|
8 |
|
9 |
+
require_once plugin_dir_path( __FILE__ ) . 'rss.genesis.php';
|
10 |
+
|
11 |
+
global $wpdb;
|
12 |
+
|
13 |
+
if ( isset( $_GET['settingsset'] ) && !empty( $_GET['settingsset'] ) ) {
|
14 |
+
$settingsetid = intval( $_GET['settingsset'] );
|
15 |
+
} else {
|
16 |
+
$settingsetid = 1;
|
17 |
+
}
|
18 |
+
|
19 |
+
$settingsname = 'LinkLibraryPP' . $settingsetid;
|
20 |
+
$options = get_option($settingsname);
|
21 |
+
|
22 |
+
$rss = new rssGenesis();
|
23 |
+
|
24 |
+
$feedtitle = ($options['rssfeedtitle'] == "" ? "Link Library Generated Feed" : $options['rssfeedtitle']);
|
25 |
+
$feeddescription = ($options['rssfeeddescription'] == "" ? "Link Library Generated Feed Description" : $options['rssfeeddescription']);
|
26 |
+
|
27 |
+
// CHANNEL
|
28 |
+
$rss->setChannel (
|
29 |
+
$feedtitle, // Title
|
30 |
+
home_url () . '/feed/linklibraryfeed?settingsset=' . $settingsetid, // Link
|
31 |
+
$feeddescription, // Description
|
32 |
+
null, // Language
|
33 |
+
null, // Copyright
|
34 |
+
null, // Managing Editor
|
35 |
+
null, // WebMaster
|
36 |
+
null, // Rating
|
37 |
+
"auto", // PubDate
|
38 |
+
"auto", // Last Build Date
|
39 |
+
"Link Library Links", // Category
|
40 |
+
null, // Docs
|
41 |
+
null, // Time to Live
|
42 |
+
null, // Skip Days
|
43 |
+
null // Skip Hours
|
44 |
+
);
|
45 |
+
|
46 |
+
$linkquery = "SELECT distinct *, UNIX_TIMESTAMP(l.link_updated) as link_date ";
|
47 |
+
$linkquery .= "FROM " . $wpdb->prefix . "terms t ";
|
48 |
+
$linkquery .= "LEFT JOIN " . $wpdb->prefix . "term_taxonomy tt ON (t.term_id = tt.term_id) ";
|
49 |
+
$linkquery .= "LEFT JOIN " . $wpdb->prefix . "term_relationships tr ON (tt.term_taxonomy_id = tr.term_taxonomy_id) ";
|
50 |
+
$linkquery .= "LEFT JOIN " . $wpdb->prefix . "links l ON (tr.object_id = l.link_id) ";
|
51 |
+
$linkquery .= "WHERE tt.taxonomy = 'link_category' ";
|
52 |
+
|
53 |
+
if ($options['hide_if_empty'])
|
54 |
+
$linkquery .= "AND l.link_id is not NULL AND l.link_description not like '%LinkLibrary:AwaitingModeration:RemoveTextToApprove%' ";
|
55 |
+
|
56 |
+
if ($options['categorylist'] != "")
|
57 |
+
$linkquery .= " AND t.term_id in (" . $options['categorylist']. ")";
|
58 |
+
|
59 |
+
if ($options['excludecategorylist'] != "")
|
60 |
+
$linkquery .= " AND t.term_id not in (" . $options['excludecategorylist'] . ")";
|
61 |
+
|
62 |
+
if ($options['showinvisible'] == false)
|
63 |
+
$linkquery .= " AND l.link_visible != 'N'";
|
64 |
+
|
65 |
+
$linkquery .= " ORDER by link_date DESC";
|
66 |
+
|
67 |
+
$linkquery .= " LIMIT 0, " . $options['numberofrssitems'];
|
68 |
+
|
69 |
+
$linkitems = $wpdb->get_results($linkquery);
|
70 |
+
|
71 |
+
if ($linkitems)
|
72 |
+
{
|
73 |
+
foreach ($linkitems as $linkitem)
|
74 |
+
{
|
75 |
+
if ($linkitem->link_url != '')
|
76 |
+
// ITEM
|
77 |
+
$rss->addItem (
|
78 |
+
$linkitem->link_name, // Title
|
79 |
+
$linkitem->link_url, // Link
|
80 |
+
$linkitem->link_description, // Description
|
81 |
+
$linkitem->link_updated, //Publication Date
|
82 |
+
$linkitem->name // Category
|
83 |
+
);
|
84 |
+
|
85 |
+
}
|
86 |
+
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
87 |
|
88 |
header( 'Content-Type: '. feed_content_type('rss') . '; charset=' . get_option('blog_charset') );
|
89 |
+
print( $rss->getFeed() );
|
90 |
+
exit;
|
91 |
}
|
rsspreview.php
CHANGED
@@ -1,67 +1,66 @@
|
|
1 |
<?php
|
2 |
|
3 |
function link_library_generate_rss_preview( $my_link_library_plugin ) {
|
4 |
-
$linkid = intval( $_GET['linkid'] );
|
5 |
-
$itemcount = intval( $_GET['previewcount'] );
|
6 |
|
7 |
-
$link = get_bookmark( $linkid );
|
|
|
8 |
|
9 |
-
|
10 |
|
11 |
-
|
|
|
|
|
|
|
|
|
12 |
|
13 |
-
//
|
14 |
-
$
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
|
19 |
-
|
20 |
-
|
|
|
21 |
|
22 |
-
|
23 |
-
?>
|
24 |
-
|
25 |
|
26 |
-
|
27 |
-
<
|
28 |
-
|
|
|
|
|
29 |
|
30 |
-
|
31 |
-
<meta http-equiv="content-type" content="text/html; charset=UTF-8; ?>" />
|
32 |
-
<meta http-equiv="imagetoolbar" content="false" />
|
33 |
|
34 |
-
|
35 |
-
|
36 |
-
|
37 |
-
|
38 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
|
40 |
-
|
41 |
-
|
42 |
-
<body>
|
43 |
-
<div id="ll_rss_preview_results">
|
44 |
-
<?php if ( $rss_items ) { ?>
|
45 |
-
<?php foreach($rss_items as $item): ?>
|
46 |
-
<div class="ll_rss_preview_title" style="padding:0 5px 5px;">
|
47 |
-
<h1><a target="feedwindow" href="<?php echo $item->get_permalink(); ?>"><?php echo $item->get_title(); ?></a><div class='ll_rss_preview_date'><?php echo $item->get_date('j F Y | g:i a'); ?></div></h1>
|
48 |
-
<div class='ll_rss_preview_content'><?php echo $item->get_description(); ?></div>
|
49 |
-
</div>
|
50 |
-
<br />
|
51 |
-
<?php
|
52 |
-
endforeach;
|
53 |
-
?>
|
54 |
-
<br />
|
55 |
-
<div>
|
56 |
-
<a class="ll_rss_preview_button" target="feedwindow" href="<?php echo $link->link_rss; ?>"><span>More News from this Feed</span></a> <a class="ll_rss_preview_button" target="sitewindow" href="<?php echo $link->link_url; ?>"><span>See Full Web Site</span></a>
|
57 |
-
</div>
|
58 |
-
<br />
|
59 |
-
<br />
|
60 |
-
<?php } ?>
|
61 |
-
</div>
|
62 |
-
</body>
|
63 |
-
</html>
|
64 |
-
|
65 |
-
<?php
|
66 |
-
exit;
|
67 |
}
|
1 |
<?php
|
2 |
|
3 |
function link_library_generate_rss_preview( $my_link_library_plugin ) {
|
4 |
+
$linkid = intval( $_GET['linkid'] );
|
5 |
+
$itemcount = intval( $_GET['previewcount'] );
|
6 |
|
7 |
+
$link = get_bookmark( $linkid );
|
8 |
+
$genoptions = get_option('LinkLibraryGeneral');
|
9 |
|
10 |
+
include_once( ABSPATH . WPINC . '/feed.php' );
|
11 |
|
12 |
+
// Get a SimplePie feed object from the specified feed source.
|
13 |
+
$rss = fetch_feed( $link->link_rss );
|
14 |
+
if ( !is_wp_error( $rss ) ) { // Checks that the object is created correctly
|
15 |
+
// Figure out how many total items there are, but limit it to 5.
|
16 |
+
$maxitems = $rss->get_item_quantity( $itemcount );
|
17 |
|
18 |
+
// Build an array of all the items, starting with element 0 (first element).
|
19 |
+
$rss_items = $rss->get_items( 0, $maxitems );
|
20 |
+
}
|
21 |
+
?>
|
22 |
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
|
23 |
|
24 |
+
<html xmlns="http://www.w3.org/1999/xhtml">
|
25 |
+
<head>
|
26 |
+
<title><?php echo ( empty( $_GET['feed'] ) ) ? 'RSS_PHP' : 'RSS_PHP: ' . $link_data->post_title; ?></title>
|
27 |
|
28 |
+
<!-- META HTTP-EQUIV -->
|
29 |
+
<meta http-equiv="content-type" content="text/html; charset=UTF-8; ?>" />
|
30 |
+
<meta http-equiv="imagetoolbar" content="false" />
|
31 |
|
32 |
+
<?php if ( isset( $genoptions['stylesheet'] ) && !empty( $genoptions['stylesheet'] ) ) { ?>
|
33 |
+
<style id='LinkLibraryStyle' type='text/css'>
|
34 |
+
<?php echo stripslashes( $genoptions['fullstylesheet'] ); ?>
|
35 |
+
</style>
|
36 |
+
<?php } ?>
|
37 |
|
38 |
+
</head>
|
|
|
|
|
39 |
|
40 |
+
<body>
|
41 |
+
<div id="ll_rss_preview_results">
|
42 |
+
<?php if ( $rss_items ) { ?>
|
43 |
+
<?php foreach( $rss_items as $item ) { ?>
|
44 |
+
<div class="ll_rss_preview_title" style="padding:0 5px 5px;">
|
45 |
+
<h1>
|
46 |
+
<a target="feedwindow" href="<?php echo $item->get_permalink(); ?>"><?php echo $item->get_title(); ?></a>
|
47 |
+
<div class='ll_rss_preview_date'><?php echo $item->get_date( 'j F Y | g:i a' ); ?></div>
|
48 |
+
</h1>
|
49 |
+
<div class='ll_rss_preview_content'><?php echo $item->get_description(); ?></div>
|
50 |
+
</div>
|
51 |
+
<br />
|
52 |
+
<?php } ?>
|
53 |
+
<br />
|
54 |
+
<div>
|
55 |
+
<a class="ll_rss_preview_button" target="feedwindow" href="<?php echo $link->link_rss; ?>"><span>More News from this Feed</span></a> <a class="ll_rss_preview_button" target="sitewindow" href="<?php echo $link->link_url; ?>"><span>See Full Web Site</span></a>
|
56 |
+
</div>
|
57 |
+
<br />
|
58 |
+
<br />
|
59 |
+
<?php } ?>
|
60 |
+
</div>
|
61 |
+
</body>
|
62 |
+
</html>
|
63 |
|
64 |
+
<?php
|
65 |
+
exit;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
66 |
}
|
stylesheettemplate.css
CHANGED
@@ -203,26 +203,5 @@ text-decoration: none;text-align: left;text-indent: 0px;max-width:500px;}
|
|
203 |
color: #ccc;
|
204 |
}
|
205 |
|
206 |
-
.level1 {
|
207 |
-
margin-left: 20px;
|
208 |
-
}
|
209 |
-
|
210 |
-
.level2 {
|
211 |
-
margin-left: 40px;
|
212 |
-
}
|
213 |
-
|
214 |
-
.level3 {
|
215 |
-
margin-left: 60px;
|
216 |
-
}
|
217 |
-
|
218 |
-
.level4 {
|
219 |
-
margin-left: 80px;
|
220 |
-
}
|
221 |
|
222 |
-
.level5 {
|
223 |
-
margin-left: 100px;
|
224 |
-
}
|
225 |
|
226 |
-
.level6 {
|
227 |
-
margin-left: 120px;
|
228 |
-
}
|
203 |
color: #ccc;
|
204 |
}
|
205 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
206 |
|
|
|
|
|
|
|
207 |
|
|
|
|
|
|
tracker.php
CHANGED
@@ -1,19 +1,30 @@
|
|
1 |
<?php
|
2 |
|
3 |
function link_library_process_ajax_tracker( $my_link_library_plugin ) {
|
4 |
-
|
5 |
|
6 |
-
|
|
|
7 |
|
8 |
-
|
9 |
-
if ( !empty( $link_data ) ) {
|
10 |
-
$link_visits = intval( get_post_meta( $link_id, 'link_visits', true ) );
|
11 |
-
$updated_visits = $link_visits + 1;
|
12 |
|
13 |
-
|
14 |
-
|
|
|
15 |
|
16 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
17 |
}
|
18 |
|
19 |
?>
|
1 |
<?php
|
2 |
|
3 |
function link_library_process_ajax_tracker( $my_link_library_plugin ) {
|
4 |
+
check_ajax_referer( 'll_tracker' );
|
5 |
|
6 |
+
$link_id = intval($_POST['id']);
|
7 |
+
echo "Received ID is: " . $link_id;
|
8 |
|
9 |
+
global $wpdb;
|
|
|
|
|
|
|
10 |
|
11 |
+
$extradatatable = $wpdb->prefix . "links_extrainfo";
|
12 |
+
$linkextradataquery = "select * from " . $wpdb->prefix . "links_extrainfo where link_id = " . $link_id;
|
13 |
+
$extradata = $wpdb->get_row($linkextradataquery, ARRAY_A);
|
14 |
|
15 |
+
if ($extradata)
|
16 |
+
{
|
17 |
+
$newcount = $extradata['link_visits'] + 1;
|
18 |
+
$wpdb->update( $extradatatable, array( 'link_visits' => $newcount ), array( 'link_id' => $link_id ));
|
19 |
+
echo "Updated row";
|
20 |
+
}
|
21 |
+
else
|
22 |
+
{
|
23 |
+
$wpdb->insert( $extradatatable, array( 'link_id' => $link_id, 'link_visits' => 1 ));
|
24 |
+
echo "Inserted new row";
|
25 |
+
}
|
26 |
+
|
27 |
+
exit;
|
28 |
}
|
29 |
|
30 |
?>
|
uninstall.php
CHANGED
@@ -2,18 +2,34 @@
|
|
2 |
// Check that code was called from WordPress with
|
3 |
// uninstallation constant declared
|
4 |
if ( !defined( 'WP_UNINSTALL_PLUGIN' ) )
|
5 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
|
7 |
// Check if options exist and delete them if present
|
8 |
if ( get_option( 'LinkLibraryGeneral' ) != false ) {
|
9 |
-
|
10 |
-
|
11 |
-
|
12 |
-
|
13 |
-
|
14 |
-
|
15 |
-
|
16 |
-
|
17 |
-
|
18 |
-
|
19 |
-
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
// Check that code was called from WordPress with
|
3 |
// uninstallation constant declared
|
4 |
if ( !defined( 'WP_UNINSTALL_PLUGIN' ) )
|
5 |
+
exit;
|
6 |
+
|
7 |
+
function db_prefix() {
|
8 |
+
global $wpdb;
|
9 |
+
if (method_exists($wpdb, "get_blog_prefix"))
|
10 |
+
return $wpdb->get_blog_prefix();
|
11 |
+
else
|
12 |
+
return $wpdb->prefix;
|
13 |
+
}
|
14 |
|
15 |
// Check if options exist and delete them if present
|
16 |
if ( get_option( 'LinkLibraryGeneral' ) != false ) {
|
17 |
+
|
18 |
+
$genoptions = get_option( 'LinkLibraryGeneral' );
|
19 |
+
|
20 |
+
for ($i = 1; $i <= $genoptions['numberstylesets']; $i++) {
|
21 |
+
$settingsname = 'LinkLibraryPP' . $i;
|
22 |
+
|
23 |
+
delete_option( $settingsname );
|
24 |
+
}
|
25 |
+
|
26 |
+
delete_option( 'LinkLibraryGeneral' );
|
27 |
+
}
|
28 |
+
|
29 |
+
global $wpdb;
|
30 |
+
|
31 |
+
$wpdb->links_extrainfo = db_prefix().'links_extrainfo';
|
32 |
+
|
33 |
+
$deletionquery = 'DROP TABLE IF EXISTS ' . $wpdb->links_extrainfo;
|
34 |
+
|
35 |
+
$wpdb->get_results( $deletionquery );
|
usersubmission.php
CHANGED
@@ -3,12 +3,12 @@
|
|
3 |
function link_library_process_user_submission( $my_link_library_plugin ) {
|
4 |
check_admin_referer( 'LL_ADDLINK_FORM' );
|
5 |
|
6 |
-
global $wpdb; // Kept with CPT update
|
7 |
-
|
8 |
require_once( ABSPATH . '/wp-admin/includes/taxonomy.php' );
|
9 |
|
10 |
load_plugin_textdomain( 'link-library', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
|
11 |
|
|
|
|
|
12 |
$settings = ( isset( $_POST['settingsid'] ) ? $_POST['settingsid'] : 1 );
|
13 |
$settingsname = 'LinkLibraryPP' . $settings;
|
14 |
$options = get_option( $settingsname );
|
@@ -75,7 +75,7 @@ function link_library_process_user_submission( $my_link_library_plugin ) {
|
|
75 |
}
|
76 |
|
77 |
if ( $captureddata['link_name'] != '' && $requiredcheck ) {
|
78 |
-
if ( $options['addlinkakismet'] && ll_akismet_is_available() ) {
|
79 |
$c = array();
|
80 |
|
81 |
if ( !empty( $captureddata['ll_submittername'] ) ) {
|
@@ -121,7 +121,7 @@ function link_library_process_user_submission( $my_link_library_plugin ) {
|
|
121 |
} else {
|
122 |
$valid = true;
|
123 |
};
|
124 |
-
} elseif ( $options['addlinkakismet'] && !ll_akismet_is_available() ) {
|
125 |
echo 'Akismet has been selected but is not available';
|
126 |
die();
|
127 |
}
|
@@ -153,18 +153,9 @@ function link_library_process_user_submission( $my_link_library_plugin ) {
|
|
153 |
$parsed_new_reciprocal = parse_url( esc_url( $captureddata['ll_reciprocal'] ) );
|
154 |
$reciprocal_domain = $parsed_new_reciprocal['host'];
|
155 |
|
156 |
-
$
|
157 |
-
|
158 |
-
|
159 |
-
while ( $reciprocal_query->have_posts() ) {
|
160 |
-
$reciprocal_query->the_post();
|
161 |
-
$the_answer = get_post_meta( $reciprocal_query->ID, 'link_reciprocal' , true );
|
162 |
-
$the_answer = trim( $the_answer );
|
163 |
-
array_push( $reciprocal_links, $the_answer );
|
164 |
-
}
|
165 |
-
}
|
166 |
-
$reciprocal_links = array_unique( $reciprocal_links );
|
167 |
-
$reciprocal_links = sort( $reciprocal_links );
|
168 |
|
169 |
foreach( $reciprocal_links as $recip_link ) {
|
170 |
$parse_data = parse_url( $recip_link->link_reciprocal );
|
@@ -177,35 +168,38 @@ function link_library_process_user_submission( $my_link_library_plugin ) {
|
|
177 |
}
|
178 |
|
179 |
if ( $valid ) {
|
180 |
-
$existinglinkquery = "SELECT * from " . $my_link_library_plugin->db_prefix() . "
|
181 |
-
if ( ( $options['addlinknoaddress'] == false ) || ( $options['addlinknoaddress'] == true && $captureddata['link_url'] != "" ) ) {
|
182 |
-
$existinglinkquery .= '( ';
|
183 |
-
}
|
184 |
-
|
185 |
-
$existinglinkquery .= "p.post_title = '" . $captureddata['link_name'] . "' ";
|
186 |
|
187 |
if ( ( $options['addlinknoaddress'] == false ) || ( $options['addlinknoaddress'] == true && $captureddata['link_url'] != "" ) ) {
|
188 |
-
$existinglinkquery .= " or
|
189 |
}
|
190 |
|
191 |
$existinglink = $wpdb->get_var( $existinglinkquery );
|
192 |
|
193 |
-
if (
|
194 |
if ( $captureddata['link_category'] == 'new' && $captureddata['link_user_category'] != '' ) {
|
195 |
-
|
196 |
-
$
|
197 |
-
|
198 |
-
|
199 |
-
|
200 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
201 |
$newlinkcat = array( $newlinkcat );
|
202 |
} else {
|
203 |
-
$newlinkcat = array( $existingcat
|
204 |
}
|
205 |
|
206 |
$message = 8;
|
207 |
$validcat = true;
|
208 |
-
} elseif ( $captureddata['link_category'] == 'new' &&
|
209 |
$message = 7;
|
210 |
$validcat = false;
|
211 |
} else {
|
@@ -217,22 +211,25 @@ function link_library_process_user_submission( $my_link_library_plugin ) {
|
|
217 |
}
|
218 |
|
219 |
if ( $validcat == true ) {
|
220 |
-
$newlinkdesc = $captureddata['link_description'];
|
221 |
if ( $options['showuserlinks'] == false ) {
|
222 |
if ( $options['showifreciprocalvalid'] ) {
|
223 |
$reciprocal_return = $my_link_library_plugin->CheckReciprocalLink( $genoptions['recipcheckaddress'], $captureddata['ll_reciprocal'] );
|
224 |
|
225 |
if ( $reciprocal_return == 'exists_found' ) {
|
226 |
-
$
|
|
|
227 |
unset ( $message );
|
228 |
} else {
|
229 |
-
$
|
|
|
230 |
}
|
231 |
} else {
|
232 |
-
$
|
|
|
233 |
}
|
234 |
} else {
|
235 |
-
$
|
|
|
236 |
unset ( $message );
|
237 |
}
|
238 |
|
@@ -245,42 +242,34 @@ function link_library_process_user_submission( $my_link_library_plugin ) {
|
|
245 |
}
|
246 |
}
|
247 |
|
248 |
-
$
|
249 |
-
'
|
250 |
-
'
|
251 |
-
|
252 |
-
|
253 |
-
'
|
|
|
|
|
|
|
|
|
254 |
);
|
255 |
-
|
256 |
-
|
257 |
-
|
258 |
-
|
259 |
-
|
260 |
-
|
261 |
-
|
262 |
-
|
263 |
-
|
264 |
-
|
265 |
-
|
266 |
-
|
267 |
-
|
268 |
-
|
269 |
-
|
270 |
-
|
271 |
-
|
272 |
-
update_post_meta( $new_link_ID, 'link_rating', 0 );
|
273 |
-
|
274 |
-
update_post_meta( $new_link_ID, 'link_reciprocal', $captureddata['ll_reciprocal'] );
|
275 |
-
update_post_meta( $new_link_ID, 'link_submitter', ( isset( $username ) ? $username : null ) );
|
276 |
-
update_post_meta( $new_link_ID, 'link_submitter_name', $captureddata['ll_submittername'] );
|
277 |
-
update_post_meta( $new_link_ID, 'link_submitter_email', $captureddata['ll_submitteremail'] );
|
278 |
-
update_post_meta( $new_link_ID, 'link_textfield', $captureddata['link_textfield'] );
|
279 |
-
|
280 |
-
update_post_meta( $new_link_ID, 'link_no_follow', false );
|
281 |
-
update_post_meta( $new_link_ID, 'link_featured', 0 );
|
282 |
-
update_post_meta( $new_link_ID, 'link_updated_manual', false );
|
283 |
-
}
|
284 |
|
285 |
if ( $options['emailnewlink'] ) {
|
286 |
if ( $genoptions['moderatoremail'] != '' ) {
|
@@ -293,11 +282,10 @@ function link_library_process_user_submission( $my_link_library_plugin ) {
|
|
293 |
|
294 |
if ( $captureddata['link_category'] == 'new' && $captureddata['link_user_category'] != '' ) {
|
295 |
$link_category_name = $captureddata['link_user_category'];
|
296 |
-
}
|
297 |
-
$
|
298 |
-
|
299 |
-
|
300 |
-
}
|
301 |
}
|
302 |
|
303 |
$headers = "MIME-Version: 1.0\r\n";
|
@@ -306,29 +294,62 @@ function link_library_process_user_submission( $my_link_library_plugin ) {
|
|
306 |
$emailmessage = __( 'A user submitted a new link to your Wordpress Link database.', 'link-library' ) . "<br /><br />";
|
307 |
$emailmessage .= __( 'Link Name', 'link-library' ) . ": " . esc_html( stripslashes( $captureddata['link_name'] ) ) . "<br />";
|
308 |
$emailmessage .= __( 'Link Address', 'link-library' ) . ": <a href='" . esc_html( stripslashes( $captureddata['link_url'] ) ) . "'>" . esc_html( stripslashes( $captureddata['link_url'] ) ) . "</a><br />";
|
309 |
-
|
310 |
-
|
311 |
-
|
312 |
-
|
313 |
-
|
314 |
-
|
315 |
-
|
316 |
-
|
317 |
-
|
318 |
-
|
319 |
-
|
320 |
-
|
321 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
322 |
|
323 |
if ( $options['showuserlinks'] == false ) {
|
324 |
-
$emailmessage .= '<a href="' . esc_url( add_query_arg(
|
325 |
} elseif ( $options['showuserlinks'] == true ) {
|
326 |
-
$emailmessage .= '<a href="' .
|
327 |
}
|
328 |
|
329 |
$emailmessage .= "<br /><br />" . __( 'Message generated by', 'link-library' ) . " <a href='http://ylefebvre.ca/wordpress-plugins/link-library/'>Link Library</a> for Wordpress";
|
330 |
|
331 |
-
if ( ( ! isset( $emailtitle ) || $emailtitle
|
332 |
$emailtitle = stripslashes( $genoptions['moderationnotificationtitle'] );
|
333 |
$emailtitle = str_replace( '%linkname%', esc_html( stripslashes( $captureddata['link_name'] ) ), $emailtitle );
|
334 |
} else {
|
@@ -433,7 +454,7 @@ function link_library_process_user_submission( $my_link_library_plugin ) {
|
|
433 |
|
434 |
$redirectaddress = esc_url_raw( add_query_arg( 'addlinkmessage', $message, $redirectaddress ) );
|
435 |
|
436 |
-
if ( $valid == false && ( $options['showcaptcha'] == true || $options['showcustomcaptcha'] == 'show'
|
437 |
if ( isset( $_POST['link_name'] ) && $_POST['link_name'] != '' ) {
|
438 |
$redirectaddress = add_query_arg( 'addlinkname', rawurlencode( $captureddata['link_name'] ), $redirectaddress );
|
439 |
}
|
3 |
function link_library_process_user_submission( $my_link_library_plugin ) {
|
4 |
check_admin_referer( 'LL_ADDLINK_FORM' );
|
5 |
|
|
|
|
|
6 |
require_once( ABSPATH . '/wp-admin/includes/taxonomy.php' );
|
7 |
|
8 |
load_plugin_textdomain( 'link-library', false, dirname( plugin_basename( __FILE__ ) ) . '/languages' );
|
9 |
|
10 |
+
global $wpdb;
|
11 |
+
|
12 |
$settings = ( isset( $_POST['settingsid'] ) ? $_POST['settingsid'] : 1 );
|
13 |
$settingsname = 'LinkLibraryPP' . $settings;
|
14 |
$options = get_option( $settingsname );
|
75 |
}
|
76 |
|
77 |
if ( $captureddata['link_name'] != '' && $requiredcheck ) {
|
78 |
+
if ( ( $options['addlinkakismet'] || $genoptions['addlinkakismet'] ) && ll_akismet_is_available() ) {
|
79 |
$c = array();
|
80 |
|
81 |
if ( !empty( $captureddata['ll_submittername'] ) ) {
|
121 |
} else {
|
122 |
$valid = true;
|
123 |
};
|
124 |
+
} elseif ( ( $options['addlinkakismet'] || $genoptions['addlinkakismet'] ) && !ll_akismet_is_available() ) {
|
125 |
echo 'Akismet has been selected but is not available';
|
126 |
die();
|
127 |
}
|
153 |
$parsed_new_reciprocal = parse_url( esc_url( $captureddata['ll_reciprocal'] ) );
|
154 |
$reciprocal_domain = $parsed_new_reciprocal['host'];
|
155 |
|
156 |
+
$reciprocal_query = "SELECT link_reciprocal from " . $my_link_library_plugin->db_prefix() . "links_extrainfo le ";
|
157 |
+
|
158 |
+
$reciprocal_links = $wpdb->get_results( $reciprocal_query );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
159 |
|
160 |
foreach( $reciprocal_links as $recip_link ) {
|
161 |
$parse_data = parse_url( $recip_link->link_reciprocal );
|
168 |
}
|
169 |
|
170 |
if ( $valid ) {
|
171 |
+
$existinglinkquery = "SELECT * from " . $my_link_library_plugin->db_prefix() . "links l where l.link_name = '" . $captureddata['link_name'] . "' ";
|
|
|
|
|
|
|
|
|
|
|
172 |
|
173 |
if ( ( $options['addlinknoaddress'] == false ) || ( $options['addlinknoaddress'] == true && $captureddata['link_url'] != "" ) ) {
|
174 |
+
$existinglinkquery .= " or l.link_url = 'http://" . $captureddata['link_url'] . "'";
|
175 |
}
|
176 |
|
177 |
$existinglink = $wpdb->get_var( $existinglinkquery );
|
178 |
|
179 |
+
if ( $existinglink == "" && ( ( $options['addlinknoaddress'] == false && $captureddata['link_url'] != "" ) || $options['addlinknoaddress'] == true ) ) {
|
180 |
if ( $captureddata['link_category'] == 'new' && $captureddata['link_user_category'] != '' ) {
|
181 |
+
$existingcatquery = "SELECT t.term_id FROM " . $my_link_library_plugin->db_prefix() . "terms t, " . $my_link_library_plugin->db_prefix() . "term_taxonomy tt ";
|
182 |
+
$existingcatquery .= "WHERE t.name = '" . $captureddata['link_user_category'] . "' AND t.term_id = tt.term_id AND tt.taxonomy = 'link_category'";
|
183 |
+
$existingcat = $wpdb->get_var( $existingcatquery );
|
184 |
+
|
185 |
+
if ( ! $existingcat ) {
|
186 |
+
$newlinkcatdata = array(
|
187 |
+
"cat_name" => $captureddata['link_user_category'],
|
188 |
+
"category_description" => "",
|
189 |
+
"category_nicename" => sanitize_text_field( $captureddata['link_user_category'] )
|
190 |
+
);
|
191 |
+
$newlinkcat = wp_insert_category( $newlinkcatdata );
|
192 |
+
$newcatarray = array( "term_id" => $newlinkcat );
|
193 |
+
$newcattype = array( "taxonomy" => 'link_category' );
|
194 |
+
$wpdb->update( $my_link_library_plugin->db_prefix() . 'term_taxonomy', $newcattype, $newcatarray );
|
195 |
$newlinkcat = array( $newlinkcat );
|
196 |
} else {
|
197 |
+
$newlinkcat = array( $existingcat );
|
198 |
}
|
199 |
|
200 |
$message = 8;
|
201 |
$validcat = true;
|
202 |
+
} elseif ( $captureddata['link_category'] == 'new' && $captureddata['link_user_category'] == '' ) {
|
203 |
$message = 7;
|
204 |
$validcat = false;
|
205 |
} else {
|
211 |
}
|
212 |
|
213 |
if ( $validcat == true ) {
|
|
|
214 |
if ( $options['showuserlinks'] == false ) {
|
215 |
if ( $options['showifreciprocalvalid'] ) {
|
216 |
$reciprocal_return = $my_link_library_plugin->CheckReciprocalLink( $genoptions['recipcheckaddress'], $captureddata['ll_reciprocal'] );
|
217 |
|
218 |
if ( $reciprocal_return == 'exists_found' ) {
|
219 |
+
$newlinkdesc = $captureddata['link_description'];
|
220 |
+
$newlinkvisibility = 'Y';
|
221 |
unset ( $message );
|
222 |
} else {
|
223 |
+
$newlinkdesc = '(LinkLibrary:AwaitingModeration:RemoveTextToApprove)' . $captureddata['link_description'];
|
224 |
+
$newlinkvisibility = 'N';
|
225 |
}
|
226 |
} else {
|
227 |
+
$newlinkdesc = '(LinkLibrary:AwaitingModeration:RemoveTextToApprove)' . $captureddata['link_description'];
|
228 |
+
$newlinkvisibility = 'N';
|
229 |
}
|
230 |
} else {
|
231 |
+
$newlinkdesc = $captureddata['link_description'];
|
232 |
+
$newlinkvisibility = 'Y';
|
233 |
unset ( $message );
|
234 |
}
|
235 |
|
242 |
}
|
243 |
}
|
244 |
|
245 |
+
$newlink = array(
|
246 |
+
"link_name" => esc_html( stripslashes( $captureddata['link_name'] ) ),
|
247 |
+
"link_url" => esc_url( stripslashes( $captureddata['link_url'] ) ),
|
248 |
+
"link_rss" => esc_html( stripslashes( $captureddata['link_rss'] ) ),
|
249 |
+
"link_description" => esc_html( stripslashes( $newlinkdesc ) ),
|
250 |
+
"link_notes" => esc_html( stripslashes( $captureddata['link_notes'] ) ),
|
251 |
+
"link_category" => $newlinkcat,
|
252 |
+
"link_visible" => $newlinkvisibility,
|
253 |
+
'link_target' => $options['linktarget'],
|
254 |
+
'link_updated' => current_time( 'mysql' )
|
255 |
);
|
256 |
+
$newlinkid = $my_link_library_plugin->link_library_insert_link( $newlink, false, $options['addlinknoaddress'] );
|
257 |
+
|
258 |
+
$extradatatable = $my_link_library_plugin->db_prefix() . "links_extrainfo";
|
259 |
+
$wpdb->insert( $extradatatable, array(
|
260 |
+
'link_id' => $newlinkid,
|
261 |
+
'link_second_url' => $captureddata['ll_secondwebaddr'],
|
262 |
+
'link_telephone' => $captureddata['ll_telephone'],
|
263 |
+
'link_email' => $captureddata['ll_email'],
|
264 |
+
'link_reciprocal' => $captureddata['ll_reciprocal'],
|
265 |
+
'link_submitter' => ( isset( $username ) ? $username : null ),
|
266 |
+
'link_submitter_name' => $captureddata['ll_submittername'],
|
267 |
+
'link_submitter_email' => $captureddata['ll_submitteremail'],
|
268 |
+
'link_textfield' => $captureddata['link_textfield'],
|
269 |
+
'link_no_follow' => '',
|
270 |
+
'link_featured' => '',
|
271 |
+
'link_manual_updated' => ''
|
272 |
+
) );
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
273 |
|
274 |
if ( $options['emailnewlink'] ) {
|
275 |
if ( $genoptions['moderatoremail'] != '' ) {
|
282 |
|
283 |
if ( $captureddata['link_category'] == 'new' && $captureddata['link_user_category'] != '' ) {
|
284 |
$link_category_name = $captureddata['link_user_category'];
|
285 |
+
} else if ( !empty( $captureddata['link_category'] ) ) {
|
286 |
+
$find_cat_name_query = "SELECT t.name FROM " . $my_link_library_plugin->db_prefix() . "terms t, " . $my_link_library_plugin->db_prefix() . "term_taxonomy tt ";
|
287 |
+
$find_cat_name_query .= "WHERE t.term_id = '" . $captureddata['link_category'] . "' AND t.term_id = tt.term_id AND tt.taxonomy = 'link_category'";
|
288 |
+
$link_category_name = $wpdb->get_var( $find_cat_name_query );
|
|
|
289 |
}
|
290 |
|
291 |
$headers = "MIME-Version: 1.0\r\n";
|
294 |
$emailmessage = __( 'A user submitted a new link to your Wordpress Link database.', 'link-library' ) . "<br /><br />";
|
295 |
$emailmessage .= __( 'Link Name', 'link-library' ) . ": " . esc_html( stripslashes( $captureddata['link_name'] ) ) . "<br />";
|
296 |
$emailmessage .= __( 'Link Address', 'link-library' ) . ": <a href='" . esc_html( stripslashes( $captureddata['link_url'] ) ) . "'>" . esc_html( stripslashes( $captureddata['link_url'] ) ) . "</a><br />";
|
297 |
+
|
298 |
+
if ( 'show' == $options['showaddlinkrss'] || 'required' == $options['showaddlinkrss'] ) {
|
299 |
+
$emailmessage .= __( 'Link RSS', 'link-library' ) . ": " . esc_html( stripslashes( $captureddata['link_rss'] ) ) . "<br />";
|
300 |
+
}
|
301 |
+
|
302 |
+
if ( 'show' == $options['showaddlinkdesc'] || 'required' == $options['showaddlinkdesc'] ) {
|
303 |
+
$emailmessage .= __( 'Link Description', 'link-library' ) . ": " . esc_html( stripslashes( $captureddata['link_description'] ) ) . "<br />";
|
304 |
+
}
|
305 |
+
|
306 |
+
if ( 'show' == $options['showuserlargedescription'] || 'required' == $options['showuserlargedescription'] ) {
|
307 |
+
$emailmessage .= __( 'Link Large Description', 'link-library' ) . ": " . esc_html( stripslashes( $captureddata['link_textfield'] ) ) . "<br />";
|
308 |
+
}
|
309 |
+
|
310 |
+
if ( 'show' == $options['showaddlinknotes'] || 'required' == $options['showaddlinknotes'] ) {
|
311 |
+
$emailmessage .= __( 'Link Notes', 'link-library' ) . ": " . esc_html( stripslashes( $captureddata['link_notes'] ) ) . "<br />";
|
312 |
+
}
|
313 |
+
|
314 |
+
$emailmessage .= __( 'Link Category', 'link-library' ) . ": " . $link_category_name . " ( " . $captureddata['link_category'] . " )<br /><br />";
|
315 |
+
|
316 |
+
if ( 'show' == $options['showaddlinkreciprocal'] || 'required' == $options['showaddlinkreciprocal'] ) {
|
317 |
+
$emailmessage .= __( 'Reciprocal Link', 'link-library' ) . ": " . $captureddata['ll_reciprocal'] . "<br /><br />";
|
318 |
+
}
|
319 |
+
|
320 |
+
if ( 'show' == $options['showaddlinksecondurl'] || 'required' == $options['showaddlinksecondurl'] ) {
|
321 |
+
$emailmessage .= __( 'Link Secondary Address', 'link-library' ) . ": " . $captureddata['ll_secondwebaddr'] . "<br /><br />";
|
322 |
+
}
|
323 |
+
|
324 |
+
if ( 'show' == $options['showaddlinktelephone'] || 'required' == $options['showaddlinktelephone'] ) {
|
325 |
+
$emailmessage .= __( 'Link Telephone', 'link-library' ) . ": " . $captureddata['ll_telephone'] . "<br /><br />";
|
326 |
+
}
|
327 |
+
|
328 |
+
if ( 'show' == $options['showaddlinkemail'] || 'required' == $options['showaddlinkemail'] ) {
|
329 |
+
$emailmessage .= __( 'Link E-mail', 'link-library' ) . ": " . $captureddata['ll_email'] . "<br /><br />";
|
330 |
+
}
|
331 |
+
|
332 |
+
if ( 'show' == $options['showlinksubmittername'] || 'required' == $options['showlinksubmittername'] ) {
|
333 |
+
$emailmessage .= __( 'Link Submitter Name', 'link-library' ) . ": " . $captureddata['ll_submittername'] . "<br /><br />";
|
334 |
+
}
|
335 |
+
|
336 |
+
if ( 'show' == $options['showaddlinksubmitteremail'] || 'required' == $options['showaddlinksubmitteremail'] ) {
|
337 |
+
$emailmessage .= __( 'Link Submitter E-mail', 'link-library' ) . ": " . $captureddata['ll_submitteremail'] . "<br /><br />";
|
338 |
+
}
|
339 |
+
|
340 |
+
if ( 'show' == $options['showlinksubmittercomment'] || 'required' == $options['showlinksubmittercomment'] ) {
|
341 |
+
$emailmessage .= __( 'Link Comment', 'link-library' ) . ": " . $captureddata['ll_submittercomment'] . "<br /><br />";
|
342 |
+
}
|
343 |
|
344 |
if ( $options['showuserlinks'] == false ) {
|
345 |
+
$emailmessage .= '<a href="' . esc_url( add_query_arg( 's', 'LinkLibrary%3AAwaitingModeration%3ARemoveTextToApprove', admin_url( 'link-manager.php' ) ) ) . '">Moderate new links</a>';
|
346 |
} elseif ( $options['showuserlinks'] == true ) {
|
347 |
+
$emailmessage .= '<a href="' . admin_url( 'link-manager.php' ) . '">View links</a>';
|
348 |
}
|
349 |
|
350 |
$emailmessage .= "<br /><br />" . __( 'Message generated by', 'link-library' ) . " <a href='http://ylefebvre.ca/wordpress-plugins/link-library/'>Link Library</a> for Wordpress";
|
351 |
|
352 |
+
if ( ( ! isset( $emailtitle ) || empty( $emailtitle ) ) && !empty( $genoptions['moderationnotificationtitle'] ) ) {
|
353 |
$emailtitle = stripslashes( $genoptions['moderationnotificationtitle'] );
|
354 |
$emailtitle = str_replace( '%linkname%', esc_html( stripslashes( $captureddata['link_name'] ) ), $emailtitle );
|
355 |
} else {
|
454 |
|
455 |
$redirectaddress = esc_url_raw( add_query_arg( 'addlinkmessage', $message, $redirectaddress ) );
|
456 |
|
457 |
+
if ( $valid == false && ( $options['showcaptcha'] == true || $options['showcustomcaptcha'] == 'show' || $options['onereciprocaldomain'] ) ) {
|
458 |
if ( isset( $_POST['link_name'] ) && $_POST['link_name'] != '' ) {
|
459 |
$redirectaddress = add_query_arg( 'addlinkname', rawurlencode( $captureddata['link_name'] ), $redirectaddress );
|
460 |
}
|