Version Description
- Added: Better thumbnail support
- Added: Limited support for InnoDB
- Modified: Cleaner Settings page interface
=
Download this release
Release Info
Developer | Ajay |
Plugin | Contextual Related Posts |
Version | 1.7 |
Comparing to | |
See all releases |
Code changes from version 1.6.5 to 1.7
- admin-styles.css +36 -5
- admin.inc.php +182 -204
- contextual-related-posts.php +56 -46
- languages/crp-da_DK.mo +0 -0
- languages/crp-da_DK.po +175 -107
- languages/crp-de_DE.mo +0 -0
- languages/crp-de_DE.po +188 -112
- languages/crp-en_US.mo +0 -0
- languages/crp-en_US.po +128 -98
- languages/crp-en_US.pot +128 -98
- languages/crp-es_ES.mo +0 -0
- languages/crp-es_ES.po +188 -112
- languages/crp-it_IT.mo +0 -0
- languages/crp-it_IT.po +185 -112
- languages/crp-nl_NL.mo +0 -0
- languages/crp-nl_NL.po +189 -112
- languages/crp-ru_RU.mo +0 -0
- languages/crp-ru_RU.po +188 -112
- readme.txt +80 -31
- screenshot-1.png +0 -0
- screenshot-2.png +0 -0
- tabber/example-ajax-0.html +1 -0
- tabber/example-ajax-1.html +1 -0
- tabber/example-ajax-2.html +1 -0
- tabber/example-ajax.html +86 -0
- tabber/example-cookies.html +129 -0
- tabber/example.css +109 -0
- tabber/example.html +50 -0
- tabber/example2.html +153 -0
- tabber/tabber-minimized.js +40 -0
- tabber/tabber.css +109 -0
- tabber/tabber.js +523 -0
- update-info.txt +0 -2
admin-styles.css
CHANGED
@@ -1,18 +1,38 @@
|
|
1 |
-
#
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
{
|
3 |
-
width:570px;
|
4 |
overflow:hidden;
|
5 |
display:block;
|
6 |
-
float:left;
|
7 |
margin:0;
|
8 |
-
padding:
|
9 |
}
|
10 |
|
11 |
#side
|
12 |
{
|
13 |
width:300px;
|
14 |
min-height:440px;
|
15 |
-
margin-left:610px;
|
|
|
16 |
padding:10px;
|
17 |
}
|
18 |
|
@@ -67,3 +87,14 @@
|
|
67 |
padding:10px;
|
68 |
text-align: center;
|
69 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
#page-wrap {
|
2 |
+
background: white;
|
3 |
+
min-width: 600px;
|
4 |
+
max-width: 100%;
|
5 |
+
margin: 10px auto;
|
6 |
+
}
|
7 |
+
|
8 |
+
#page-wrap #inside {
|
9 |
+
margin: 10px 10px 0px 10px;
|
10 |
+
padding-top: 10px;
|
11 |
+
padding-bottom: 10px;
|
12 |
+
}
|
13 |
+
#header {
|
14 |
+
background: #fff;
|
15 |
+
text-align: left;
|
16 |
+
}
|
17 |
+
#header h2, h3 {
|
18 |
+
color: #000;
|
19 |
+
}
|
20 |
+
|
21 |
+
#options-div, #crp_options
|
22 |
{
|
23 |
+
/* width:570px; */
|
24 |
overflow:hidden;
|
25 |
display:block;
|
|
|
26 |
margin:0;
|
27 |
+
padding:0;
|
28 |
}
|
29 |
|
30 |
#side
|
31 |
{
|
32 |
width:300px;
|
33 |
min-height:440px;
|
34 |
+
/* margin-left:610px; */
|
35 |
+
float:right;
|
36 |
padding:10px;
|
37 |
}
|
38 |
|
87 |
padding:10px;
|
88 |
text-align: center;
|
89 |
}
|
90 |
+
|
91 |
+
.form-table
|
92 |
+
{
|
93 |
+
width:100%;
|
94 |
+
}
|
95 |
+
|
96 |
+
.form-table th
|
97 |
+
{
|
98 |
+
font-weight:normal;
|
99 |
+
}
|
100 |
+
|
admin.inc.php
CHANGED
@@ -31,6 +31,7 @@ function crp_options() {
|
|
31 |
$crp_settings[thumb_default] = $_POST['thumb_default'];
|
32 |
$crp_settings[thumb_height] = intval($_POST['thumb_height']);
|
33 |
$crp_settings[thumb_width] = intval($_POST['thumb_width']);
|
|
|
34 |
$crp_settings[scan_images] = (($_POST['scan_images']) ? true : false);
|
35 |
$crp_settings[show_excerpt] = (($_POST['show_excerpt']) ? true : false);
|
36 |
$crp_settings[excerpt_length] = intval($_POST['excerpt_length']);
|
@@ -77,214 +78,189 @@ function crp_options() {
|
|
77 |
?>
|
78 |
|
79 |
<div class="wrap">
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
86 |
-
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
|
92 |
-
|
93 |
-
|
94 |
-
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
-->
|
103 |
-
<div class="myCustomFloaterContent">
|
104 |
-
you should never be seeing this
|
105 |
</div>
|
106 |
-
</
|
107 |
-
|
108 |
-
<
|
109 |
-
|
110 |
-
|
111 |
-
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
|
118 |
-
|
119 |
-
|
120 |
-
|
121 |
-
|
122 |
-
|
123 |
-
<label>
|
124 |
-
<input type="checkbox" name="add_to_feed" id="add_to_feed" <?php if ($crp_settings[add_to_feed]) echo 'checked="checked"' ?> />
|
125 |
-
<?php _e('Add related posts to feed',CRP_LOCAL_NAME); ?>
|
126 |
-
</label>
|
127 |
-
</p>
|
128 |
-
<p>
|
129 |
-
<label>
|
130 |
-
<input type="checkbox" name="match_content" id="match_content" <?php if ($crp_settings[match_content]) echo 'checked="checked"' ?> />
|
131 |
-
<?php _e('Find related posts based on content as well as title. If unchecked, only posts titles are used. (I recommend using a caching plugin if you enable this)',CRP_LOCAL_NAME); ?>
|
132 |
-
</label>
|
133 |
-
</p>
|
134 |
-
<p>
|
135 |
-
<label>
|
136 |
-
<input type="checkbox" name="exclude_pages" id="exclude_pages" <?php if ($crp_settings[exclude_pages]) echo 'checked="checked"' ?> />
|
137 |
-
<?php _e('Exclude Pages in Related Posts',CRP_LOCAL_NAME); ?>
|
138 |
-
</label>
|
139 |
-
</p>
|
140 |
-
<p>
|
141 |
-
<label>
|
142 |
-
<input type="checkbox" name="show_credit" id="show_credit" <?php if ($crp_settings[show_credit]) echo 'checked="checked"' ?> />
|
143 |
-
<?php _e('Append link to this plugin as item. Optional, but would be nice to give me some link love',CRP_LOCAL_NAME); ?>
|
144 |
-
</label>
|
145 |
-
</p>
|
146 |
-
<h4>
|
147 |
-
<?php _e('Output Options:',CRP_LOCAL_NAME); ?>
|
148 |
-
</h4>
|
149 |
-
<p>
|
150 |
-
<label>
|
151 |
-
<?php _e('Title of related posts: ',CRP_LOCAL_NAME); ?>
|
152 |
-
<input type="textbox" name="title" id="title" value="<?php echo attribute_escape(stripslashes($crp_settings[title])); ?>">
|
153 |
-
</label>
|
154 |
-
</p>
|
155 |
-
<p><?php _e('When there are no posts, what should be shown?',CRP_LOCAL_NAME); ?><br />
|
156 |
-
<label>
|
157 |
-
<input type="radio" name="blank_output" value="blank" id="blank_output_0" <?php if ($crp_settings['blank_output']) echo 'checked="checked"' ?> />
|
158 |
-
<?php _e('Blank Output',CRP_LOCAL_NAME); ?></label>
|
159 |
-
<br />
|
160 |
-
<label>
|
161 |
-
<input type="radio" name="blank_output" value="noposts" id="blank_output_1" <?php if (!$crp_settings['blank_output']) echo 'checked="checked"' ?> />
|
162 |
-
<?php _e('Display "No Related Posts"',CRP_LOCAL_NAME); ?></label>
|
163 |
-
<br />
|
164 |
-
</p>
|
165 |
-
<p>
|
166 |
-
<label>
|
167 |
-
<input type="checkbox" name="show_excerpt" id="show_excerpt" <?php if ($crp_settings[show_excerpt]) echo 'checked="checked"' ?> />
|
168 |
-
<strong><?php _e('Show post excerpt in list?',CRP_LOCAL_NAME); ?></strong>
|
169 |
-
</label>
|
170 |
-
</p>
|
171 |
-
<p>
|
172 |
-
<label>
|
173 |
-
<?php _e('Length of excerpt (in words): ',CRP_LOCAL_NAME); ?>
|
174 |
-
<input type="textbox" name="excerpt_length" id="excerpt_length" value="<?php echo stripslashes($crp_settings[excerpt_length]); ?>">
|
175 |
-
</label>
|
176 |
-
</p>
|
177 |
-
<h4><?php _e('Customize the output:',CRP_LOCAL_NAME); ?></h4>
|
178 |
-
<p>
|
179 |
-
<label>
|
180 |
-
<?php _e('HTML to display before the list of posts: ',CRP_LOCAL_NAME); ?>
|
181 |
-
<input type="textbox" name="before_list" id="before_list" value="<?php echo attribute_escape(stripslashes($crp_settings[before_list])); ?>">
|
182 |
-
</label>
|
183 |
-
</p>
|
184 |
-
<p>
|
185 |
-
<label>
|
186 |
-
<?php _e('HTML to display before each list item: ',CRP_LOCAL_NAME); ?>
|
187 |
-
<input type="textbox" name="before_list_item" id="before_list_item" value="<?php echo attribute_escape(stripslashes($crp_settings[before_list_item])); ?>">
|
188 |
-
</label>
|
189 |
-
</p>
|
190 |
-
<p>
|
191 |
-
<label>
|
192 |
-
<?php _e('HTML to display after each list item: ',CRP_LOCAL_NAME); ?>
|
193 |
-
<input type="textbox" name="after_list_item" id="after_list_item" value="<?php echo attribute_escape(stripslashes($crp_settings[after_list_item])); ?>">
|
194 |
-
</label>
|
195 |
-
</p>
|
196 |
-
<p>
|
197 |
-
<label>
|
198 |
-
<?php _e('HTML to display after the list of posts: ',CRP_LOCAL_NAME); ?>
|
199 |
-
<input type="textbox" name="after_list" id="after_list" value="<?php echo attribute_escape(stripslashes($crp_settings[after_list])); ?>">
|
200 |
-
</label>
|
201 |
-
</p>
|
202 |
-
<h4><?php _e('Post thumbnail options:',CRP_LOCAL_NAME); ?></h4>
|
203 |
-
<p>
|
204 |
-
<label>
|
205 |
-
<input type="radio" name="post_thumb_op" value="inline" id="post_thumb_op_0" <?php if ($crp_settings['post_thumb_op']=='inline') echo 'checked="checked"' ?> />
|
206 |
-
<?php _e('Display thumbnails inline with posts',CRP_LOCAL_NAME); ?></label>
|
207 |
-
<br />
|
208 |
-
<label>
|
209 |
-
<input type="radio" name="post_thumb_op" value="thumbs_only" id="post_thumb_op_1" <?php if ($crp_settings['post_thumb_op']=='thumbs_only') echo 'checked="checked"' ?> />
|
210 |
-
<?php _e('Display only thumbnails, no text',CRP_LOCAL_NAME); ?></label>
|
211 |
-
<br />
|
212 |
-
<label>
|
213 |
-
<input type="radio" name="post_thumb_op" value="text_only" id="post_thumb_op_2" <?php if ($crp_settings['post_thumb_op']=='text_only') echo 'checked="checked"' ?> />
|
214 |
-
<?php _e('Do not display thumbnails, only text.',CRP_LOCAL_NAME); ?></label>
|
215 |
-
<br />
|
216 |
-
</p>
|
217 |
-
<p>
|
218 |
-
<label>
|
219 |
-
<?php _e('Post thumbnail meta field (the meta should point contain the image source): ',CRP_LOCAL_NAME); ?>
|
220 |
-
<input type="textbox" name="thumb_meta" id="thumb_meta" value="<?php echo attribute_escape(stripslashes($crp_settings[thumb_meta])); ?>">
|
221 |
-
</label>
|
222 |
-
</p>
|
223 |
-
<p>
|
224 |
-
<label>
|
225 |
-
<input type="checkbox" name="scan_images" id="scan_images" <?php if ($crp_settings[scan_images]) echo 'checked="checked"' ?> />
|
226 |
-
<?php _e('If the postmeta is not set, then should the plugin extract the first image from the post. This can slow down the loading of your post if the first image in the related posts is large in file-size',CRP_LOCAL_NAME); ?>
|
227 |
-
</label>
|
228 |
-
</p>
|
229 |
-
<p><strong><?php _e('Thumbnail dimensions:',CRP_LOCAL_NAME); ?></strong><br />
|
230 |
-
<label>
|
231 |
-
<?php _e('Max width: ',CRP_LOCAL_NAME); ?>
|
232 |
-
<input type="textbox" name="thumb_width" id="thumb_width" value="<?php echo attribute_escape(stripslashes($crp_settings[thumb_width])); ?>" style="width:30px">px
|
233 |
-
</label>
|
234 |
-
<br />
|
235 |
-
<label>
|
236 |
-
<?php _e('Max height: ',CRP_LOCAL_NAME); ?>
|
237 |
-
<input type="textbox" name="thumb_height" id="thumb_height" value="<?php echo attribute_escape(stripslashes($crp_settings[thumb_height])); ?>" style="width:30px">px
|
238 |
-
</label>
|
239 |
-
</p>
|
240 |
-
<p><?php _e('The plugin will first check if the post contains a thumbnail. If it doesn\'t then it will check the meta field. If this is not available, then it will show the default image as specified below:',CRP_LOCAL_NAME); ?>
|
241 |
-
<input type="textbox" name="thumb_default" id="thumb_default" value="<?php echo attribute_escape(stripslashes($crp_settings[thumb_default])); ?>" style="width:500px">
|
242 |
-
</p>
|
243 |
-
<p>
|
244 |
-
<input type="submit" name="crp_save" id="crp_save" value="Save Options" style="border:#0C0 1px solid" />
|
245 |
-
<input name="crp_default" type="submit" id="crp_default" value="Default Options" style="border:#F00 1px solid" onclick="if (!confirm('<?php _e('Do you want to set options to Default?',CRP_LOCAL_NAME); ?>')) return false;" />
|
246 |
-
<input name="crp_recreate" type="submit" id="crp_recreate" value="Recreate index" style="border:#00c 1px solid" onclick="if (!confirm('<?php _e('Are you sure you want to recreate the index?',CRP_LOCAL_NAME); ?>')) return false;" />
|
247 |
-
</p>
|
248 |
-
</fieldset>
|
249 |
-
</form>
|
250 |
-
</div>
|
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 |
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
285 |
</div>
|
286 |
-
</div>
|
287 |
-
|
288 |
</div>
|
289 |
<?php
|
290 |
|
@@ -319,6 +295,7 @@ function crp_adminhead() {
|
|
319 |
?>
|
320 |
<link rel="stylesheet" type="text/css" href="<?php echo $crp_url ?>/wick/wick.css" />
|
321 |
<link rel="stylesheet" type="text/css" href="<?php echo $crp_url ?>/admin-styles.css" />
|
|
|
322 |
<script type="text/javascript" language="JavaScript">
|
323 |
function checkForm() {
|
324 |
answer = true;
|
@@ -329,6 +306,7 @@ return answer;
|
|
329 |
</script>
|
330 |
<script type="text/javascript" src="<?php echo $crp_url ?>/wick/sample_data.js.php"></script>
|
331 |
<script type="text/javascript" src="<?php echo $crp_url ?>/wick/wick.js"></script>
|
|
|
332 |
<?php }
|
333 |
|
334 |
?>
|
31 |
$crp_settings[thumb_default] = $_POST['thumb_default'];
|
32 |
$crp_settings[thumb_height] = intval($_POST['thumb_height']);
|
33 |
$crp_settings[thumb_width] = intval($_POST['thumb_width']);
|
34 |
+
$crp_settings[thumb_default_show] = (($_POST['thumb_default_show']) ? true : false);
|
35 |
$crp_settings[scan_images] = (($_POST['scan_images']) ? true : false);
|
36 |
$crp_settings[show_excerpt] = (($_POST['show_excerpt']) ? true : false);
|
37 |
$crp_settings[excerpt_length] = intval($_POST['excerpt_length']);
|
78 |
?>
|
79 |
|
80 |
<div class="wrap">
|
81 |
+
<div id="page-wrap">
|
82 |
+
<div id="inside">
|
83 |
+
<div id="header">
|
84 |
+
<h2>Contextual Related Posts</h2>
|
85 |
+
</div>
|
86 |
+
<div id="side">
|
87 |
+
<div class="side-widget">
|
88 |
+
<span class="title"><?php _e('Support the development',CRP_LOCAL_NAME) ?></span>
|
89 |
+
<div id="donate-form">
|
90 |
+
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
|
91 |
+
<input type="hidden" name="cmd" value="_xclick">
|
92 |
+
<input type="hidden" name="business" value="KGVN7LJLLZCMY">
|
93 |
+
<input type="hidden" name="lc" value="IN">
|
94 |
+
<input type="hidden" name="item_name" value="Donation for Contextual Related Posts">
|
95 |
+
<input type="hidden" name="item_number" value="crp">
|
96 |
+
<strong><?php _e('Enter amount in USD: ',CRP_LOCAL_NAME) ?></strong> <input name="amount" value="10.00" size="6" type="text"><br />
|
97 |
+
<input type="hidden" name="currency_code" value="USD">
|
98 |
+
<input type="hidden" name="button_subtype" value="services">
|
99 |
+
<input type="hidden" name="bn" value="PP-BuyNowBF:btn_donate_LG.gif:NonHosted">
|
100 |
+
<input type="image" src="https://www.paypal.com/en_US/i/btn/btn_donate_LG.gif" border="0" name="submit" alt="<?php _e('Send your donation to the author of',CRP_LOCAL_NAME) ?> Contextual Related Posts?">
|
101 |
+
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
|
102 |
+
</form>
|
|
|
|
|
|
|
103 |
</div>
|
104 |
+
</div>
|
105 |
+
<div class="side-widget">
|
106 |
+
<span class="title"><?php _e('Quick links') ?></span>
|
107 |
+
<ul>
|
108 |
+
<li><a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/"><?php _e('Contextual Related Posts ');_e('plugin page',CRP_LOCAL_NAME) ?></a></li>
|
109 |
+
<li><a href="http://ajaydsouza.com/wordpress/plugins/"><?php _e('Other plugins',CRP_LOCAL_NAME) ?></a></li>
|
110 |
+
<li><a href="http://ajaydsouza.com/"><?php _e('Ajay\'s blog',CRP_LOCAL_NAME) ?></a></li>
|
111 |
+
<li><a href="http://ajaydsouza.com/support/"><?php _e('Support',CRP_LOCAL_NAME) ?></a></li>
|
112 |
+
<li><a href="http://twitter.com/ajaydsouza"><?php _e('Follow @ajaydsouza on Twitter',CRP_LOCAL_NAME) ?></a></li>
|
113 |
+
</ul>
|
114 |
+
</div>
|
115 |
+
<div class="side-widget">
|
116 |
+
<span class="title"><?php _e('Recent developments',CRP_LOCAL_NAME) ?></span>
|
117 |
+
<?php require_once(ABSPATH . WPINC . '/rss.php'); wp_widget_rss_output('http://ajaydsouza.com/archives/category/wordpress/plugins/feed/', array('items' => 5, 'show_author' => 0, 'show_date' => 1));
|
118 |
+
?>
|
119 |
+
</div>
|
120 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
121 |
|
122 |
+
<div id="options-div">
|
123 |
+
<form method="post" id="crp_options" name="crp_options" onsubmit="return checkForm()">
|
124 |
+
<fieldset class="options">
|
125 |
+
<div class="tabber">
|
126 |
+
<div class="tabbertab">
|
127 |
+
<h3>
|
128 |
+
<?php _e('General options',CRP_LOCAL_NAME); ?>
|
129 |
+
</h3>
|
130 |
+
<table class="form-table">
|
131 |
+
<tr style="vertical-align: top;"><th scope="row"><label for="limit"><?php _e('Number of related posts to display: ',CRP_LOCAL_NAME); ?></label></th>
|
132 |
+
<td><input type="textbox" name="limit" id="limit" value="<?php echo attribute_escape(stripslashes($crp_settings[limit])); ?>"></td>
|
133 |
+
</tr>
|
134 |
+
<tr style="vertical-align: top;"><th scope="row"><label for="exclude_cat_slugs"><?php _e('Exclude Categories: ',CRP_LOCAL_NAME); ?></label></th>
|
135 |
+
<td>
|
136 |
+
<div style="position:relative;text-align:left">
|
137 |
+
<table id="MYCUSTOMFLOATER" class="myCustomFloater" style="position:absolute;top:50px;left:0;background-color:#cecece;display:none;visibility:hidden">
|
138 |
+
<tr><td><!--
|
139 |
+
please see: http://chrisholland.blogspot.com/2004/09/geekstuff-css-display-inline-block.html
|
140 |
+
to explain why i'm using a table here.
|
141 |
+
You could replace the table/tr/td with a DIV, but you'd have to specify it's width and height
|
142 |
+
-->
|
143 |
+
<div class="myCustomFloaterContent">
|
144 |
+
you should never be seeing this
|
145 |
+
</div>
|
146 |
+
</td></tr>
|
147 |
+
</table>
|
148 |
+
<textarea class="wickEnabled:MYCUSTOMFLOATER" cols="50" rows="3" wrap="virtual" name="exclude_cat_slugs"><?php echo (stripslashes($crp_settings[exclude_cat_slugs])); ?></textarea>
|
149 |
+
</div>
|
150 |
+
</td>
|
151 |
+
</tr>
|
152 |
+
<tr style="vertical-align: top;"><th scope="row"><label for="add_to_content"><?php _e('Add related posts to the post content on single posts',CRP_LOCAL_NAME); ?></label></th>
|
153 |
+
<td><input type="checkbox" name="add_to_content" id="add_to_content" <?php if ($crp_settings[add_to_content]) echo 'checked="checked"' ?> /> <br /><?php _e('If you choose to disable this, please add <code><?php if(function_exists(\'echo_ald_crp\')) echo_ald_crp(); ?></code> to your template file where you want it displayed',CRP_LOCAL_NAME); ?></td>
|
154 |
+
</tr>
|
155 |
+
<tr style="vertical-align: top;"><th scope="row"><label for="add_to_page"><?php _e('Add related posts to pages',CRP_LOCAL_NAME); ?></label></th>
|
156 |
+
<td><input type="checkbox" name="add_to_page" id="add_to_page" <?php if ($crp_settings[add_to_page]) echo 'checked="checked"' ?> /> <br /><?php _e('If you choose to disable this, please add <code><?php if(function_exists(\'echo_ald_crp\')) echo_ald_crp(); ?></code> to your template file where you want it displayed',CRP_LOCAL_NAME); ?></td>
|
157 |
+
</tr>
|
158 |
+
<tr style="vertical-align: top;"><th scope="row"><label for="add_to_feed"><?php _e('Add related posts to feed',CRP_LOCAL_NAME); ?></label></th>
|
159 |
+
<td><input type="checkbox" name="add_to_feed" id="add_to_feed" <?php if ($crp_settings[add_to_feed]) echo 'checked="checked"' ?> /></td>
|
160 |
+
</tr>
|
161 |
+
<tr style="vertical-align: top;"><th scope="row"><label for="match_content"><?php _e('Find related posts based on content as well as title',CRP_LOCAL_NAME); ?></label></th>
|
162 |
+
<td><input type="checkbox" name="match_content" id="match_content" <?php if ($crp_settings[match_content]) echo 'checked="checked"' ?> /> <br /><?php _e('If unchecked, only posts titles are used. (I recommend using a caching plugin if you enable this)',CRP_LOCAL_NAME); ?></td>
|
163 |
+
</tr>
|
164 |
+
<tr style="vertical-align: top;"><th scope="row"><label for="exclude_pages"><?php _e('Exclude Pages in Related Posts',CRP_LOCAL_NAME); ?></label></th>
|
165 |
+
<td><input type="checkbox" name="exclude_pages" id="exclude_pages" <?php if ($crp_settings[exclude_pages]) echo 'checked="checked"' ?> /></td>
|
166 |
+
</tr>
|
167 |
+
<tr style="vertical-align: top;"><th scope="row"><label for="show_credit"><?php _e('Add a link to the plugin page as a final item in the list',CRP_LOCAL_NAME); ?></label></th>
|
168 |
+
<td><input type="checkbox" name="show_credit" id="show_credit" <?php if ($crp_settings[show_credit]) echo 'checked="checked"' ?> /> <?php _e(' <em>Optional</em>',CRP_LOCAL_NAME); ?></td>
|
169 |
+
</tr>
|
170 |
+
|
171 |
+
</table>
|
172 |
+
|
173 |
+
</div>
|
174 |
+
<div class="tabbertab">
|
175 |
+
<h3>
|
176 |
+
<?php _e('Output Options',CRP_LOCAL_NAME); ?>
|
177 |
+
</h3>
|
178 |
+
<table class="form-table">
|
179 |
+
<tr style="vertical-align: top;"><th scope="row"><label for="title"><?php _e('Title of related posts: ',CRP_LOCAL_NAME); ?></label></th>
|
180 |
+
<td><input type="textbox" name="title" id="title" value="<?php echo attribute_escape(stripslashes($crp_settings[title])); ?>" style="width:250px" /></td>
|
181 |
+
</tr>
|
182 |
+
<tr style="vertical-align: top;"><th scope="row"><label for="blank_output"><?php _e('When there are no posts, what should be shown?',CRP_LOCAL_NAME); ?></label></th>
|
183 |
+
<td>
|
184 |
+
<label>
|
185 |
+
<input type="radio" name="blank_output" value="blank" id="blank_output_0" <?php if ($crp_settings['blank_output']) echo 'checked="checked"' ?> />
|
186 |
+
<?php _e('Blank Output',CRP_LOCAL_NAME); ?></label>
|
187 |
+
<br />
|
188 |
+
<label>
|
189 |
+
<input type="radio" name="blank_output" value="noposts" id="blank_output_1" <?php if (!$crp_settings['blank_output']) echo 'checked="checked"' ?> />
|
190 |
+
<?php _e('Display "No Related Posts"',CRP_LOCAL_NAME); ?>
|
191 |
+
</label>
|
192 |
+
</td>
|
193 |
+
</tr>
|
194 |
+
<tr style="vertical-align: top;"><th scope="row"><label for="show_excerpt"><?php _e('Show post excerpt in list?',CRP_LOCAL_NAME); ?></label></th>
|
195 |
+
<td><input type="checkbox" name="show_excerpt" id="show_excerpt" <?php if ($crp_settings[show_excerpt]) echo 'checked="checked"' ?> /></td>
|
196 |
+
</tr>
|
197 |
+
<tr style="vertical-align: top;"><th scope="row"><label for="excerpt_length"><?php _e('Length of excerpt (in words): ',CRP_LOCAL_NAME); ?></label></th>
|
198 |
+
<td><input type="textbox" name="excerpt_length" id="excerpt_length" value="<?php echo stripslashes($crp_settings[excerpt_length]); ?>" /></td>
|
199 |
+
</tr>
|
200 |
+
<tr style="vertical-align: top; background: #eee"><th scope="row" colspan="2"><?php _e('Customize the output:',CRP_LOCAL_NAME); ?></th>
|
201 |
+
</tr>
|
202 |
+
<tr style="vertical-align: top;"><th scope="row"><label for="before_list"><?php _e('HTML to display before the list of posts: ',CRP_LOCAL_NAME); ?></label></th>
|
203 |
+
<td><input type="textbox" name="before_list" id="before_list" value="<?php echo attribute_escape(stripslashes($crp_settings[before_list])); ?>" style="width:250px" /></td>
|
204 |
+
</tr>
|
205 |
+
<tr style="vertical-align: top;"><th scope="row"><label for="before_list_item"><?php _e('HTML to display before each list item: ',CRP_LOCAL_NAME); ?></label></th>
|
206 |
+
<td><input type="textbox" name="before_list_item" id="before_list_item" value="<?php echo attribute_escape(stripslashes($crp_settings[before_list_item])); ?>" style="width:250px" /></td>
|
207 |
+
</tr>
|
208 |
+
<tr style="vertical-align: top;"><th scope="row"><label for="after_list_item"><?php _e('HTML to display after each list item: ',CRP_LOCAL_NAME); ?></label></th>
|
209 |
+
<td><input type="textbox" name="after_list_item" id="after_list_item" value="<?php echo attribute_escape(stripslashes($crp_settings[after_list_item])); ?>" style="width:250px" /></td>
|
210 |
+
</tr>
|
211 |
+
<tr style="vertical-align: top;"><th scope="row"><label for="after_list"><?php _e('HTML to display after the list of posts: ',CRP_LOCAL_NAME); ?></label></th>
|
212 |
+
<td><input type="textbox" name="after_list" id="after_list" value="<?php echo attribute_escape(stripslashes($crp_settings[after_list])); ?>" style="width:250px" /></td>
|
213 |
+
</tr>
|
214 |
+
<tr style="vertical-align: top; background: #eee"><th scope="row" colspan="2"><?php _e('Post thumbnail options:',CRP_LOCAL_NAME); ?></th>
|
215 |
+
</tr>
|
216 |
+
<tr style="vertical-align: top;"><th scope="row"><label for="post_thumb_op"><?php _e('Location of post thumbnail:',CRP_LOCAL_NAME); ?></label></th>
|
217 |
+
<td>
|
218 |
+
<label>
|
219 |
+
<input type="radio" name="post_thumb_op" value="inline" id="post_thumb_op_0" <?php if ($crp_settings['post_thumb_op']=='inline') echo 'checked="checked"' ?> />
|
220 |
+
<?php _e('Display thumbnails inline with posts',CRP_LOCAL_NAME); ?></label>
|
221 |
+
<br />
|
222 |
+
<label>
|
223 |
+
<input type="radio" name="post_thumb_op" value="thumbs_only" id="post_thumb_op_1" <?php if ($crp_settings['post_thumb_op']=='thumbs_only') echo 'checked="checked"' ?> />
|
224 |
+
<?php _e('Display only thumbnails, no text',CRP_LOCAL_NAME); ?></label>
|
225 |
+
<br />
|
226 |
+
<label>
|
227 |
+
<input type="radio" name="post_thumb_op" value="text_only" id="post_thumb_op_2" <?php if ($crp_settings['post_thumb_op']=='text_only') echo 'checked="checked"' ?> />
|
228 |
+
<?php _e('Do not display thumbnails, only text.',CRP_LOCAL_NAME); ?></label>
|
229 |
+
</td>
|
230 |
+
</tr>
|
231 |
+
<tr style="vertical-align: top;"><th scope="row"><label for="thumb_width"><?php _e('Maximum width of the thumbnail: ',CRP_LOCAL_NAME); ?></label></th>
|
232 |
+
<td><input type="textbox" name="thumb_width" id="thumb_width" value="<?php echo attribute_escape(stripslashes($crp_settings[thumb_width])); ?>" style="width:30px" />px</td>
|
233 |
+
</tr>
|
234 |
+
<tr style="vertical-align: top;"><th scope="row"><label for="thumb_height"><?php _e('Maximum height of the thumbnail: ',CRP_LOCAL_NAME); ?></label></th>
|
235 |
+
<td><input type="textbox" name="thumb_height" id="thumb_height" value="<?php echo attribute_escape(stripslashes($crp_settings[thumb_height])); ?>" style="width:30px" />px</td>
|
236 |
+
</tr>
|
237 |
+
<tr style="vertical-align: top;"><th scope="row"><label for="thumb_meta"><?php _e('Post thumbnail meta field name: ',CRP_LOCAL_NAME); ?></label></th>
|
238 |
+
<td><input type="textbox" name="thumb_meta" id="thumb_meta" value="<?php echo attribute_escape(stripslashes($crp_settings[thumb_meta])); ?>"> <br /><?php _e('The value of this field should contain the image source and is set in the <em>Add New Post</em> screen',CRP_LOCAL_NAME); ?></td>
|
239 |
+
</tr>
|
240 |
+
<tr style="vertical-align: top;"><th scope="row"><label for="scan_images"><?php _e('If the postmeta is not set, then should the plugin extract the first image from the post?',CRP_LOCAL_NAME); ?></label></th>
|
241 |
+
<td><input type="checkbox" name="scan_images" id="scan_images" <?php if ($crp_settings[scan_images]) echo 'checked="checked"' ?> /> <br /><?php _e('This can slow down the loading of your page if the first image in the related posts is large in file-size',CRP_LOCAL_NAME); ?></td>
|
242 |
+
</tr>
|
243 |
+
<tr style="vertical-align: top;"><th scope="row"><label for="thumb_default_show"><?php _e('Use default thumbnail? ',CRP_LOCAL_NAME); ?></label></th>
|
244 |
+
<td><input type="checkbox" name="thumb_default_show" id="thumb_default_show" <?php if ($crp_settings[thumb_default_show]) echo 'checked="checked"' ?> /> <br /><?php _e('If checked, when no thumbnail is found, show a default one from the URL below. If not checked and no thumbnail is found, no image will be shown.',crp_LOCAL_NAME); ?></td>
|
245 |
+
</tr>
|
246 |
+
<tr style="vertical-align: top;"><th scope="row"><label for="thumb_default"><?php _e('Default thumbnail: ',CRP_LOCAL_NAME); ?></label></th>
|
247 |
+
<td><input type="textbox" name="thumb_default" id="thumb_default" value="<?php echo attribute_escape(stripslashes($crp_settings[thumb_default])); ?>" style="width:500px"> <br /><?php _e('The plugin will first check if the post contains a thumbnail. If it doesn\'t then it will check the meta field. If this is not available, then it will show the default image as specified above',CRP_LOCAL_NAME); ?></td>
|
248 |
+
</tr>
|
249 |
+
</table>
|
250 |
</div>
|
251 |
+
</div>
|
252 |
+
<p>
|
253 |
+
<input type="submit" name="crp_save" id="crp_save" value="Save Options" style="border:#0C0 1px solid" />
|
254 |
+
<input name="crp_default" type="submit" id="crp_default" value="Default Options" style="border:#F00 1px solid" onclick="if (!confirm('<?php _e('Do you want to set options to Default?',CRP_LOCAL_NAME); ?>')) return false;" />
|
255 |
+
<input name="crp_recreate" type="submit" id="crp_recreate" value="Recreate index" style="border:#00c 1px solid" onclick="if (!confirm('<?php _e('Are you sure you want to recreate the index?',CRP_LOCAL_NAME); ?>')) return false;" />
|
256 |
+
</p>
|
257 |
+
</fieldset>
|
258 |
+
</form>
|
259 |
+
</div>
|
260 |
+
|
261 |
+
</div>
|
262 |
+
<div style="clear: both;"></div>
|
263 |
</div>
|
|
|
|
|
264 |
</div>
|
265 |
<?php
|
266 |
|
295 |
?>
|
296 |
<link rel="stylesheet" type="text/css" href="<?php echo $crp_url ?>/wick/wick.css" />
|
297 |
<link rel="stylesheet" type="text/css" href="<?php echo $crp_url ?>/admin-styles.css" />
|
298 |
+
<link rel="stylesheet" type="text/css" href="<?php echo $crp_url ?>/tabber/tabber.css" />
|
299 |
<script type="text/javascript" language="JavaScript">
|
300 |
function checkForm() {
|
301 |
answer = true;
|
306 |
</script>
|
307 |
<script type="text/javascript" src="<?php echo $crp_url ?>/wick/sample_data.js.php"></script>
|
308 |
<script type="text/javascript" src="<?php echo $crp_url ?>/wick/wick.js"></script>
|
309 |
+
<script type="text/javascript" src="<?php echo $crp_url ?>/tabber/tabber.js"></script>
|
310 |
<?php }
|
311 |
|
312 |
?>
|
contextual-related-posts.php
CHANGED
@@ -1,9 +1,9 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Contextual Related Posts
|
4 |
-
Version: 1.
|
5 |
Plugin URI: http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/
|
6 |
-
Description:
|
7 |
Author: Ajay D'Souza
|
8 |
Author URI: http://ajaydsouza.com/
|
9 |
*/
|
@@ -92,27 +92,18 @@ function ald_crp() {
|
|
92 |
|
93 |
if (!$p_in_c) {
|
94 |
$output .= $crp_settings['before_list_item'];
|
95 |
-
|
96 |
-
|
97 |
-
|
98 |
-
|
99 |
-
|
100 |
-
|
101 |
-
|
102 |
-
preg_match_all( '|<img.*?src=[\'"](.*?)[\'"].*?>|i', get_post($search->ID)->post_content, $matches );
|
103 |
-
// any image there?
|
104 |
-
if( isset( $matches ) && $matches[1][0] ) {
|
105 |
-
$postimage = $matches[1][0]; // we need the first one only!
|
106 |
-
}
|
107 |
-
}
|
108 |
-
if (!$postimage) $postimage = $crp_settings[thumb_default];
|
109 |
-
$output .= '<img src="'.$postimage.'" alt="'.$title.'" title="'.$title.'" width="'.$crp_settings[thumb_width].'" height="'.$crp_settings[thumb_height].'" border="0" class="crp_thumb" />';
|
110 |
-
}
|
111 |
-
$output .= '</a> ';
|
112 |
}
|
113 |
-
if (
|
114 |
-
$output .= '<
|
115 |
}
|
|
|
116 |
if ($crp_settings['show_excerpt']) {
|
117 |
$output .= '<span class="crp_excerpt"> '.crp_excerpt($search->ID,$crp_settings['excerpt_length']).'</span>';
|
118 |
}
|
@@ -162,6 +153,13 @@ function echo_ald_crp() {
|
|
162 |
echo $output;
|
163 |
}
|
164 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
165 |
// Default Options
|
166 |
function crp_default_options() {
|
167 |
global $crp_url;
|
@@ -189,6 +187,7 @@ function crp_default_options() {
|
|
189 |
'thumb_width' => '50', // Width of thumbnails
|
190 |
'thumb_meta' => 'post-image', // Meta field that is used to store the location of default thumbnail image
|
191 |
'thumb_default' => $thumb_default, // Default thumbnail image
|
|
|
192 |
'scan_images' => false, // Scan post for images
|
193 |
'show_excerpt' => false, // Show description in list item
|
194 |
'excerpt_length' => '10', // Length of characters
|
@@ -223,8 +222,12 @@ function ald_crp_activate() {
|
|
223 |
global $wpdb;
|
224 |
|
225 |
$wpdb->hide_errors();
|
226 |
-
|
227 |
-
|
|
|
|
|
|
|
|
|
228 |
$wpdb->query('ALTER TABLE '.$wpdb->posts.' ADD FULLTEXT crp_related_title (post_title);');
|
229 |
$wpdb->query('ALTER TABLE '.$wpdb->posts.' ADD FULLTEXT crp_related_content (post_content);');
|
230 |
$wpdb->show_errors();
|
@@ -233,6 +236,35 @@ if (function_exists('register_activation_hook')) {
|
|
233 |
register_activation_hook(__FILE__,'ald_crp_activate');
|
234 |
}
|
235 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
236 |
function crp_excerpt($id,$excerpt_length){
|
237 |
$content = get_post($id)->post_content;
|
238 |
$out = strip_tags($content);
|
@@ -266,7 +298,7 @@ function crp_plugin_actions( $links, $file ) {
|
|
266 |
// create link
|
267 |
if ($file == $plugin) {
|
268 |
$links[] = '<a href="' . admin_url( 'options-general.php?page=crp_options' ) . '">' . __('Settings', CRP_LOCAL_NAME ) . '</a>';
|
269 |
-
$links[] = '<a href="http://ajaydsouza.
|
270 |
$links[] = '<a href="http://ajaydsouza.com/donate/">' . __('Donate', CRP_LOCAL_NAME ) . '</a>';
|
271 |
}
|
272 |
return $links;
|
@@ -276,28 +308,6 @@ if ( version_compare( $wp_version, '2.8alpha', '>' ) )
|
|
276 |
add_filter( 'plugin_row_meta', 'crp_plugin_actions', 10, 2 ); // only 2.8 and higher
|
277 |
else add_filter( 'plugin_action_links', 'crp_plugin_actions', 10, 2 );
|
278 |
|
279 |
-
// Display message about plugin update option
|
280 |
-
function crp_check_version($file, $plugin_data) {
|
281 |
-
global $wp_version;
|
282 |
-
static $this_plugin;
|
283 |
-
$wp_version = str_replace(".","",$wp_version);
|
284 |
-
if (!$this_plugin) $this_plugin = plugin_basename(__FILE__);
|
285 |
-
if ($file == $this_plugin){
|
286 |
-
$current = $wp_version < 28 ? get_option('update_plugins') : get_transient('update_plugins');
|
287 |
-
if (!isset($current->response[$file])) return false;
|
288 |
-
|
289 |
-
$columns = $wp_version < 28 ? 5 : 3;
|
290 |
-
$url = 'http://svn.wp-plugins.org/contextual-related-posts/trunk/update-info.txt';
|
291 |
-
$update = wp_remote_fopen($url);
|
292 |
-
if ($update != "") {
|
293 |
-
echo '<tr class="plugin-update-tr"><td colspan="'.$columns.'" class="plugin-update"><div class="update-message">';
|
294 |
-
echo $update;
|
295 |
-
echo '</div></td></tr>';
|
296 |
-
}
|
297 |
-
}
|
298 |
-
}
|
299 |
-
add_action('after_plugin_row', 'crp_check_version', 10, 2);
|
300 |
-
|
301 |
|
302 |
} // End admin.inc
|
303 |
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Contextual Related Posts
|
4 |
+
Version: 1.7
|
5 |
Plugin URI: http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/
|
6 |
+
Description: Displaying a set of related posts on your website or in your feed. Increase reader retention and reduce bounce rates
|
7 |
Author: Ajay D'Souza
|
8 |
Author URI: http://ajaydsouza.com/
|
9 |
*/
|
92 |
|
93 |
if (!$p_in_c) {
|
94 |
$output .= $crp_settings['before_list_item'];
|
95 |
+
|
96 |
+
$output .= '<a href="'.get_permalink($search->ID).'" rel="bookmark" class="crp_link">'; // Add beginning of link
|
97 |
+
if ($crp_settings['post_thumb_op']=='after') {
|
98 |
+
$output .= '<span class="crp_title"> '.$title.'</span>'; // Add title if post thumbnail is to be displayed after
|
99 |
+
}
|
100 |
+
if ($crp_settings['post_thumb_op']=='inline' || $crp_settings['post_thumb_op']=='after' || $crp_settings['post_thumb_op']=='thumbs_only') {
|
101 |
+
$output .= crp_get_the_post_thumbnail($search->ID);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
102 |
}
|
103 |
+
if ($crp_settings['post_thumb_op']=='inline' || $crp_settings['post_thumb_op']=='text_only') {
|
104 |
+
$output .= '<span class="crp_title"> '.$title.'</span>'; // Add title when required by settings
|
105 |
}
|
106 |
+
$output .= '</a>'; // Close the link
|
107 |
if ($crp_settings['show_excerpt']) {
|
108 |
$output .= '<span class="crp_excerpt"> '.crp_excerpt($search->ID,$crp_settings['excerpt_length']).'</span>';
|
109 |
}
|
153 |
echo $output;
|
154 |
}
|
155 |
|
156 |
+
if (!function_exists('related_posts')) {
|
157 |
+
function related_posts() {
|
158 |
+
$output = ald_crp();
|
159 |
+
echo $output;
|
160 |
+
}
|
161 |
+
}
|
162 |
+
|
163 |
// Default Options
|
164 |
function crp_default_options() {
|
165 |
global $crp_url;
|
187 |
'thumb_width' => '50', // Width of thumbnails
|
188 |
'thumb_meta' => 'post-image', // Meta field that is used to store the location of default thumbnail image
|
189 |
'thumb_default' => $thumb_default, // Default thumbnail image
|
190 |
+
'thumb_default_show' => true, // Show default thumb if none found (if false, don't show thumb at all)
|
191 |
'scan_images' => false, // Scan post for images
|
192 |
'show_excerpt' => false, // Show description in list item
|
193 |
'excerpt_length' => '10', // Length of characters
|
222 |
global $wpdb;
|
223 |
|
224 |
$wpdb->hide_errors();
|
225 |
+
if($wpdb->db_version()>=5.6)
|
226 |
+
{ $wpdb->query('ALTER TABLE '.$wpdb->posts.' ENGINE = InnoDB;'); }
|
227 |
+
else
|
228 |
+
{ $wpdb->query('ALTER TABLE '.$wpdb->posts.' ENGINE = MYISAM;'); }
|
229 |
+
|
230 |
+
$wpdb->query('ALTER TABLE '.$wpdb->posts.' ADD FULLTEXT crp_related (post_title, post_content);');
|
231 |
$wpdb->query('ALTER TABLE '.$wpdb->posts.' ADD FULLTEXT crp_related_title (post_title);');
|
232 |
$wpdb->query('ALTER TABLE '.$wpdb->posts.' ADD FULLTEXT crp_related_content (post_content);');
|
233 |
$wpdb->show_errors();
|
236 |
register_activation_hook(__FILE__,'ald_crp_activate');
|
237 |
}
|
238 |
|
239 |
+
// Function to get the post thumbnail
|
240 |
+
function crp_get_the_post_thumbnail($postid) {
|
241 |
+
|
242 |
+
$result = get_post($postid);
|
243 |
+
$crp_settings = crp_read_options();
|
244 |
+
$output = '';
|
245 |
+
|
246 |
+
if (function_exists('has_post_thumbnail') && has_post_thumbnail($result->ID)) {
|
247 |
+
$output .= get_the_post_thumbnail($result->ID, array($crp_settings[thumb_width],$crp_settings[thumb_height]), array('title' => $title,'alt' => $title, 'class' => 'crp_thumb', 'border' => '0'));
|
248 |
+
} else {
|
249 |
+
$postimage = get_post_meta($result->ID, $crp_settings[thumb_meta], true); // Check
|
250 |
+
if (!$postimage && $crp_settings['scan_images']) {
|
251 |
+
preg_match_all( '|<img.*?src=[\'"](.*?)[\'"].*?>|i', $result->post_content, $matches );
|
252 |
+
// any image there?
|
253 |
+
if (isset($matches) && $matches[1][0]) {
|
254 |
+
$postimage = $matches[1][0]; // we need the first one only!
|
255 |
+
}
|
256 |
+
}
|
257 |
+
if (!$postimage) $postimage = get_post_meta($result->ID, '_video_thumbnail', true); // If no other thumbnail set, try to get the custom video thumbnail set by the Video Thumbnails plugin
|
258 |
+
if ($crp_settings['thumb_default_show'] && !$postimage) $postimage = $crp_settings[thumb_default]; // If no thumb found and settings permit, use default thumb
|
259 |
+
if ($postimage) {
|
260 |
+
$output .= '<img src="'.$postimage.'" alt="'.$title.'" title="'.$title.'" style="max-width:'.$crp_settings[thumb_width].'px;max-height:'.$crp_settings[thumb_height].'px;" border="0" class="crp_thumb" />';
|
261 |
+
}
|
262 |
+
}
|
263 |
+
|
264 |
+
return $output;
|
265 |
+
}
|
266 |
+
|
267 |
+
// Function to create an excerpt for the post
|
268 |
function crp_excerpt($id,$excerpt_length){
|
269 |
$content = get_post($id)->post_content;
|
270 |
$out = strip_tags($content);
|
298 |
// create link
|
299 |
if ($file == $plugin) {
|
300 |
$links[] = '<a href="' . admin_url( 'options-general.php?page=crp_options' ) . '">' . __('Settings', CRP_LOCAL_NAME ) . '</a>';
|
301 |
+
$links[] = '<a href="http://ajaydsouza.com/support/">' . __('Support', CRP_LOCAL_NAME ) . '</a>';
|
302 |
$links[] = '<a href="http://ajaydsouza.com/donate/">' . __('Donate', CRP_LOCAL_NAME ) . '</a>';
|
303 |
}
|
304 |
return $links;
|
308 |
add_filter( 'plugin_row_meta', 'crp_plugin_actions', 10, 2 ); // only 2.8 and higher
|
309 |
else add_filter( 'plugin_action_links', 'crp_plugin_actions', 10, 2 );
|
310 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
311 |
|
312 |
} // End admin.inc
|
313 |
|
languages/crp-da_DK.mo
CHANGED
Binary file
|
languages/crp-da_DK.po
CHANGED
@@ -2,7 +2,7 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Contextual Related Posts 1.5.1\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
|
8 |
"Language-Team: Team Blogos <wordpress@blogos.dk>\n"
|
@@ -17,228 +17,296 @@ msgstr ""
|
|
17 |
"X-Poedit-Basepath: ../\n"
|
18 |
"X-Poedit-SearchPath-0: .\n"
|
19 |
|
20 |
-
#: admin.inc.php:
|
21 |
msgid "Options saved successfully."
|
22 |
msgstr "Indstillingerne blev gemt."
|
23 |
|
24 |
-
#: admin.inc.php:
|
25 |
msgid "Options set to Default."
|
26 |
msgstr "Indstillingerne sat til standardværdier."
|
27 |
|
28 |
-
#: admin.inc.php:
|
29 |
msgid "Index recreated"
|
30 |
msgstr "Indeks blev gendannet"
|
31 |
|
32 |
-
#: admin.inc.php:
|
33 |
-
|
34 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
|
36 |
-
#: admin.inc.php:
|
|
|
|
|
|
|
|
|
37 |
msgid "Number of related posts to display: "
|
38 |
msgstr "Antal Lignende indlæg, der skal vises: "
|
39 |
|
40 |
-
#: admin.inc.php:
|
41 |
msgid "Exclude Categories: "
|
42 |
msgstr "Udelad kategorier: "
|
43 |
|
44 |
-
#: admin.inc.php:
|
45 |
-
msgid "Add related posts to the post content on single posts
|
46 |
-
msgstr "
|
47 |
|
48 |
-
#: admin.inc.php:
|
49 |
-
|
|
|
|
|
50 |
msgstr "Tilføj Lignende indlæg til statiske sider. <br />Hvis du vælger at deaktivere dette, skal du tilføje <code><?php if(function_exists('echo_ald_crp')) echo_ald_crp(); ?></code> til din skabelonfil, hvor du ønsker de lignende indlæg vist"
|
51 |
|
52 |
-
#: admin.inc.php:
|
|
|
|
|
|
|
|
|
|
|
53 |
msgid "Add related posts to feed"
|
54 |
msgstr "Tilføj Lignende indlæg til feeds"
|
55 |
|
56 |
-
#: admin.inc.php:
|
57 |
-
msgid "Find related posts based on content as well as title
|
|
|
|
|
|
|
|
|
|
|
58 |
msgstr "Find Lignende indlæg ud fra såvel indhold som titel. Hvis umarkeret, bruges kun indlæggenes titler (jeg anbefaler et cache-plugin, hvis du aktiverer dette)"
|
59 |
|
60 |
-
#: admin.inc.php:
|
61 |
msgid "Exclude Pages in Related Posts"
|
62 |
msgstr "Udelad sider i Lignende indlæg"
|
63 |
|
64 |
-
#: admin.inc.php:
|
65 |
-
msgid "
|
66 |
msgstr ""
|
67 |
|
68 |
-
#: admin.inc.php:
|
69 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
70 |
msgstr "Indstillinger for output:"
|
71 |
|
72 |
-
#: admin.inc.php:
|
73 |
msgid "Title of related posts: "
|
74 |
msgstr "Titel på Lignende indlæg: "
|
75 |
|
76 |
-
#: admin.inc.php:
|
77 |
msgid "When there are no posts, what should be shown?"
|
78 |
msgstr "Hvad skal der vises, hvis der ingen indlæg er?"
|
79 |
|
80 |
-
#: admin.inc.php:
|
81 |
msgid "Blank Output"
|
82 |
msgstr "Intet"
|
83 |
|
84 |
-
#: admin.inc.php:
|
85 |
msgid "Display \"No Related Posts\""
|
86 |
msgstr "Vis \"Ingen lignende indlæg\""
|
87 |
|
88 |
-
#: admin.inc.php:
|
89 |
msgid "Show post excerpt in list?"
|
90 |
msgstr ""
|
91 |
|
92 |
-
#: admin.inc.php:
|
93 |
msgid "Length of excerpt (in words): "
|
94 |
msgstr ""
|
95 |
|
96 |
-
#: admin.inc.php:
|
97 |
msgid "Customize the output:"
|
98 |
msgstr "Tilpas outputtet:"
|
99 |
|
100 |
-
#: admin.inc.php:
|
101 |
msgid "HTML to display before the list of posts: "
|
102 |
msgstr "HTML, der skal vises før listen med indlæg: "
|
103 |
|
104 |
-
#: admin.inc.php:
|
105 |
msgid "HTML to display before each list item: "
|
106 |
msgstr "HTML, der skal vises før hvert punkt på listen: "
|
107 |
|
108 |
-
#: admin.inc.php:
|
109 |
msgid "HTML to display after each list item: "
|
110 |
msgstr "HTML, der skal vises efter hvert punkt på listen: "
|
111 |
|
112 |
-
#: admin.inc.php:
|
113 |
msgid "HTML to display after the list of posts: "
|
114 |
msgstr "HTML, der skal vises efter listen med indlæg: "
|
115 |
|
116 |
-
#: admin.inc.php:
|
117 |
msgid "Post thumbnail options:"
|
118 |
msgstr "Indstillinger for indlægsminiaturer:"
|
119 |
|
120 |
-
#: admin.inc.php:
|
|
|
|
|
|
|
|
|
121 |
msgid "Display thumbnails inline with posts"
|
122 |
msgstr "Vis miniaturer inline med indlæg"
|
123 |
|
124 |
-
#: admin.inc.php:
|
125 |
msgid "Display only thumbnails, no text"
|
126 |
msgstr "Vis kun miniaturer, ingen tekst"
|
127 |
|
128 |
-
#: admin.inc.php:
|
129 |
msgid "Do not display thumbnails, only text."
|
130 |
msgstr "Vis ikke miniaturer, kun tekst."
|
131 |
|
132 |
-
#: admin.inc.php:219
|
133 |
-
msgid "Post thumbnail meta field (the meta should point contain the image source): "
|
134 |
-
msgstr "Metafelt for indlægsminiaturer (metafeltet skal indeholde URL'en til billedet): "
|
135 |
-
|
136 |
-
#: admin.inc.php:226
|
137 |
-
msgid "If the postmeta is not set, then should the plugin extract the first image from the post. This can slow down the loading of your post if the first image in the related posts is large in file-size"
|
138 |
-
msgstr ""
|
139 |
-
|
140 |
-
#: admin.inc.php:229
|
141 |
-
msgid "Thumbnail dimensions:"
|
142 |
-
msgstr "Miniaturedimensioner:"
|
143 |
-
|
144 |
#: admin.inc.php:231
|
145 |
-
msgid "
|
146 |
-
msgstr "
|
147 |
-
|
148 |
-
#: admin.inc.php:236
|
149 |
-
msgid "Max height: "
|
150 |
-
msgstr "Max højde: "
|
151 |
-
|
152 |
-
#: admin.inc.php:240
|
153 |
-
msgid "The plugin will first check if the post contains a thumbnail. If it doesn't then it will check the meta field. If this is not available, then it will show the default image as specified below:"
|
154 |
-
msgstr "Pluginnet tjekker først, om indlægget indeholder en miniature. Hvis indlægget ikke gør det, tjekker pluginnet metafeltet. Hvis dette ikke findes, vil det vise standardbilledet specificeret nedenfor:"
|
155 |
-
|
156 |
-
#: admin.inc.php:245
|
157 |
-
msgid "Do you want to set options to Default?"
|
158 |
-
msgstr "Ønsker du at sætte indstillingerne til standardværdierne?"
|
159 |
-
|
160 |
-
#: admin.inc.php:246
|
161 |
-
msgid "Are you sure you want to recreate the index?"
|
162 |
-
msgstr "Er du sikker på, du ønsker at gendanne indekset?"
|
163 |
|
164 |
-
#: admin.inc.php:
|
165 |
-
msgid "
|
166 |
msgstr ""
|
167 |
|
168 |
-
#: admin.inc.php:
|
169 |
#, fuzzy
|
170 |
-
msgid "
|
171 |
-
msgstr "
|
172 |
|
173 |
-
#: admin.inc.php:
|
174 |
-
msgid "
|
175 |
msgstr ""
|
176 |
|
177 |
-
#: admin.inc.php:
|
178 |
-
msgid "
|
179 |
msgstr ""
|
180 |
|
181 |
-
#: admin.inc.php:
|
182 |
-
msgid "
|
183 |
msgstr ""
|
184 |
|
185 |
-
#: admin.inc.php:
|
186 |
-
|
187 |
-
|
188 |
-
msgstr "Support"
|
189 |
|
190 |
-
#: admin.inc.php:
|
191 |
-
msgid "
|
192 |
msgstr ""
|
193 |
|
194 |
-
#: admin.inc.php:
|
195 |
-
msgid "
|
196 |
msgstr ""
|
197 |
|
198 |
-
#: admin.inc.php:
|
199 |
#, fuzzy
|
200 |
-
msgid "
|
201 |
-
msgstr "
|
202 |
|
203 |
-
#: admin.inc.php:
|
204 |
-
msgid "
|
205 |
-
msgstr ""
|
206 |
|
207 |
-
#: admin.inc.php:
|
208 |
-
msgid "
|
209 |
-
msgstr ""
|
210 |
|
211 |
-
#: admin.inc.php:
|
212 |
#, fuzzy
|
213 |
msgid "Contextual Related Posts"
|
214 |
msgstr "Related Posts (Lignende indlæg)"
|
215 |
|
216 |
-
#: admin.inc.php:
|
217 |
msgid "Related Posts"
|
218 |
msgstr "Related Posts (Lignende indlæg)"
|
219 |
|
220 |
-
#: contextual-related-posts.php:
|
221 |
msgid "Powered by"
|
222 |
msgstr ""
|
223 |
|
224 |
-
#: contextual-related-posts.php:
|
225 |
-
#: contextual-related-posts.php:
|
226 |
msgid "No related posts found"
|
227 |
msgstr "Ingen lignende indlæg fundet"
|
228 |
|
229 |
-
#: contextual-related-posts.php:
|
230 |
msgid "<h3>Related Posts:</h3>"
|
231 |
msgstr "<h3>Lignende indlæg:</h3>"
|
232 |
|
233 |
-
#: contextual-related-posts.php:
|
234 |
msgid "Settings"
|
235 |
msgstr "Opsætning"
|
236 |
|
237 |
-
#: contextual-related-posts.php:
|
238 |
-
msgid "Support"
|
239 |
-
msgstr "Support"
|
240 |
-
|
241 |
-
#: contextual-related-posts.php:270
|
242 |
msgid "Donate"
|
243 |
msgstr "Donation"
|
244 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Contextual Related Posts 1.5.1\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2012-03-22 23:38-0000\n"
|
6 |
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
|
8 |
"Language-Team: Team Blogos <wordpress@blogos.dk>\n"
|
17 |
"X-Poedit-Basepath: ../\n"
|
18 |
"X-Poedit-SearchPath-0: .\n"
|
19 |
|
20 |
+
#: admin.inc.php:51
|
21 |
msgid "Options saved successfully."
|
22 |
msgstr "Indstillingerne blev gemt."
|
23 |
|
24 |
+
#: admin.inc.php:60
|
25 |
msgid "Options set to Default."
|
26 |
msgstr "Indstillingerne sat til standardværdier."
|
27 |
|
28 |
+
#: admin.inc.php:75
|
29 |
msgid "Index recreated"
|
30 |
msgstr "Indeks blev gendannet"
|
31 |
|
32 |
+
#: admin.inc.php:88
|
33 |
+
#, fuzzy
|
34 |
+
msgid "Support the development"
|
35 |
+
msgstr "Støt udviklingen"
|
36 |
+
|
37 |
+
#: admin.inc.php:96
|
38 |
+
msgid "Enter amount in USD: "
|
39 |
+
msgstr ""
|
40 |
+
|
41 |
+
#: admin.inc.php:100
|
42 |
+
msgid "Send your donation to the author of"
|
43 |
+
msgstr ""
|
44 |
+
|
45 |
+
#: admin.inc.php:106
|
46 |
+
msgid "Quick links"
|
47 |
+
msgstr ""
|
48 |
+
|
49 |
+
#: admin.inc.php:108
|
50 |
+
#, fuzzy
|
51 |
+
msgid "Contextual Related Posts "
|
52 |
+
msgstr "Related Posts (Lignende indlæg)"
|
53 |
+
|
54 |
+
#: admin.inc.php:108
|
55 |
+
msgid "plugin page"
|
56 |
+
msgstr ""
|
57 |
+
|
58 |
+
#: admin.inc.php:109
|
59 |
+
msgid "Other plugins"
|
60 |
+
msgstr ""
|
61 |
+
|
62 |
+
#: admin.inc.php:110
|
63 |
+
msgid "Ajay's blog"
|
64 |
+
msgstr ""
|
65 |
+
|
66 |
+
#: admin.inc.php:111
|
67 |
+
#: contextual-related-posts.php:301
|
68 |
+
msgid "Support"
|
69 |
+
msgstr "Support"
|
70 |
+
|
71 |
+
#: admin.inc.php:112
|
72 |
+
msgid "Follow @ajaydsouza on Twitter"
|
73 |
+
msgstr ""
|
74 |
+
|
75 |
+
#: admin.inc.php:116
|
76 |
+
msgid "Recent developments"
|
77 |
+
msgstr ""
|
78 |
|
79 |
+
#: admin.inc.php:128
|
80 |
+
msgid "General options"
|
81 |
+
msgstr ""
|
82 |
+
|
83 |
+
#: admin.inc.php:131
|
84 |
msgid "Number of related posts to display: "
|
85 |
msgstr "Antal Lignende indlæg, der skal vises: "
|
86 |
|
87 |
+
#: admin.inc.php:134
|
88 |
msgid "Exclude Categories: "
|
89 |
msgstr "Udelad kategorier: "
|
90 |
|
91 |
+
#: admin.inc.php:152
|
92 |
+
msgid "Add related posts to the post content on single posts"
|
93 |
+
msgstr ""
|
94 |
|
95 |
+
#: admin.inc.php:153
|
96 |
+
#: admin.inc.php:156
|
97 |
+
#, fuzzy
|
98 |
+
msgid "If you choose to disable this, please add <code><?php if(function_exists('echo_ald_crp')) echo_ald_crp(); ?></code> to your template file where you want it displayed"
|
99 |
msgstr "Tilføj Lignende indlæg til statiske sider. <br />Hvis du vælger at deaktivere dette, skal du tilføje <code><?php if(function_exists('echo_ald_crp')) echo_ald_crp(); ?></code> til din skabelonfil, hvor du ønsker de lignende indlæg vist"
|
100 |
|
101 |
+
#: admin.inc.php:155
|
102 |
+
#, fuzzy
|
103 |
+
msgid "Add related posts to pages"
|
104 |
+
msgstr "Tilføj Lignende indlæg til feeds"
|
105 |
+
|
106 |
+
#: admin.inc.php:158
|
107 |
msgid "Add related posts to feed"
|
108 |
msgstr "Tilføj Lignende indlæg til feeds"
|
109 |
|
110 |
+
#: admin.inc.php:161
|
111 |
+
msgid "Find related posts based on content as well as title"
|
112 |
+
msgstr ""
|
113 |
+
|
114 |
+
#: admin.inc.php:162
|
115 |
+
#, fuzzy
|
116 |
+
msgid "If unchecked, only posts titles are used. (I recommend using a caching plugin if you enable this)"
|
117 |
msgstr "Find Lignende indlæg ud fra såvel indhold som titel. Hvis umarkeret, bruges kun indlæggenes titler (jeg anbefaler et cache-plugin, hvis du aktiverer dette)"
|
118 |
|
119 |
+
#: admin.inc.php:164
|
120 |
msgid "Exclude Pages in Related Posts"
|
121 |
msgstr "Udelad sider i Lignende indlæg"
|
122 |
|
123 |
+
#: admin.inc.php:167
|
124 |
+
msgid "Add a link to the plugin page as a final item in the list"
|
125 |
msgstr ""
|
126 |
|
127 |
+
#: admin.inc.php:168
|
128 |
+
msgid " <em>Optional</em>"
|
129 |
+
msgstr ""
|
130 |
+
|
131 |
+
#: admin.inc.php:176
|
132 |
+
#, fuzzy
|
133 |
+
msgid "Output Options"
|
134 |
msgstr "Indstillinger for output:"
|
135 |
|
136 |
+
#: admin.inc.php:179
|
137 |
msgid "Title of related posts: "
|
138 |
msgstr "Titel på Lignende indlæg: "
|
139 |
|
140 |
+
#: admin.inc.php:182
|
141 |
msgid "When there are no posts, what should be shown?"
|
142 |
msgstr "Hvad skal der vises, hvis der ingen indlæg er?"
|
143 |
|
144 |
+
#: admin.inc.php:186
|
145 |
msgid "Blank Output"
|
146 |
msgstr "Intet"
|
147 |
|
148 |
+
#: admin.inc.php:190
|
149 |
msgid "Display \"No Related Posts\""
|
150 |
msgstr "Vis \"Ingen lignende indlæg\""
|
151 |
|
152 |
+
#: admin.inc.php:194
|
153 |
msgid "Show post excerpt in list?"
|
154 |
msgstr ""
|
155 |
|
156 |
+
#: admin.inc.php:197
|
157 |
msgid "Length of excerpt (in words): "
|
158 |
msgstr ""
|
159 |
|
160 |
+
#: admin.inc.php:200
|
161 |
msgid "Customize the output:"
|
162 |
msgstr "Tilpas outputtet:"
|
163 |
|
164 |
+
#: admin.inc.php:202
|
165 |
msgid "HTML to display before the list of posts: "
|
166 |
msgstr "HTML, der skal vises før listen med indlæg: "
|
167 |
|
168 |
+
#: admin.inc.php:205
|
169 |
msgid "HTML to display before each list item: "
|
170 |
msgstr "HTML, der skal vises før hvert punkt på listen: "
|
171 |
|
172 |
+
#: admin.inc.php:208
|
173 |
msgid "HTML to display after each list item: "
|
174 |
msgstr "HTML, der skal vises efter hvert punkt på listen: "
|
175 |
|
176 |
+
#: admin.inc.php:211
|
177 |
msgid "HTML to display after the list of posts: "
|
178 |
msgstr "HTML, der skal vises efter listen med indlæg: "
|
179 |
|
180 |
+
#: admin.inc.php:214
|
181 |
msgid "Post thumbnail options:"
|
182 |
msgstr "Indstillinger for indlægsminiaturer:"
|
183 |
|
184 |
+
#: admin.inc.php:216
|
185 |
+
msgid "Location of post thumbnail:"
|
186 |
+
msgstr ""
|
187 |
+
|
188 |
+
#: admin.inc.php:220
|
189 |
msgid "Display thumbnails inline with posts"
|
190 |
msgstr "Vis miniaturer inline med indlæg"
|
191 |
|
192 |
+
#: admin.inc.php:224
|
193 |
msgid "Display only thumbnails, no text"
|
194 |
msgstr "Vis kun miniaturer, ingen tekst"
|
195 |
|
196 |
+
#: admin.inc.php:228
|
197 |
msgid "Do not display thumbnails, only text."
|
198 |
msgstr "Vis ikke miniaturer, kun tekst."
|
199 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
200 |
#: admin.inc.php:231
|
201 |
+
msgid "Maximum width of the thumbnail: "
|
202 |
+
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
203 |
|
204 |
+
#: admin.inc.php:234
|
205 |
+
msgid "Maximum height of the thumbnail: "
|
206 |
msgstr ""
|
207 |
|
208 |
+
#: admin.inc.php:237
|
209 |
#, fuzzy
|
210 |
+
msgid "Post thumbnail meta field name: "
|
211 |
+
msgstr "Indstillinger for indlægsminiaturer:"
|
212 |
|
213 |
+
#: admin.inc.php:238
|
214 |
+
msgid "The value of this field should contain the image source and is set in the <em>Add New Post</em> screen"
|
215 |
msgstr ""
|
216 |
|
217 |
+
#: admin.inc.php:240
|
218 |
+
msgid "If the postmeta is not set, then should the plugin extract the first image from the post?"
|
219 |
msgstr ""
|
220 |
|
221 |
+
#: admin.inc.php:241
|
222 |
+
msgid "This can slow down the loading of your page if the first image in the related posts is large in file-size"
|
223 |
msgstr ""
|
224 |
|
225 |
+
#: admin.inc.php:243
|
226 |
+
msgid "Use default thumbnail? "
|
227 |
+
msgstr ""
|
|
|
228 |
|
229 |
+
#: admin.inc.php:244
|
230 |
+
msgid "If checked, when no thumbnail is found, show a default one from the URL below. If not checked and no thumbnail is found, no image will be shown."
|
231 |
msgstr ""
|
232 |
|
233 |
+
#: admin.inc.php:246
|
234 |
+
msgid "Default thumbnail: "
|
235 |
msgstr ""
|
236 |
|
237 |
+
#: admin.inc.php:247
|
238 |
#, fuzzy
|
239 |
+
msgid "The plugin will first check if the post contains a thumbnail. If it doesn't then it will check the meta field. If this is not available, then it will show the default image as specified above"
|
240 |
+
msgstr "Pluginnet tjekker først, om indlægget indeholder en miniature. Hvis indlægget ikke gør det, tjekker pluginnet metafeltet. Hvis dette ikke findes, vil det vise standardbilledet specificeret nedenfor:"
|
241 |
|
242 |
+
#: admin.inc.php:254
|
243 |
+
msgid "Do you want to set options to Default?"
|
244 |
+
msgstr "Ønsker du at sætte indstillingerne til standardværdierne?"
|
245 |
|
246 |
+
#: admin.inc.php:255
|
247 |
+
msgid "Are you sure you want to recreate the index?"
|
248 |
+
msgstr "Er du sikker på, du ønsker at gendanne indekset?"
|
249 |
|
250 |
+
#: admin.inc.php:285
|
251 |
#, fuzzy
|
252 |
msgid "Contextual Related Posts"
|
253 |
msgstr "Related Posts (Lignende indlæg)"
|
254 |
|
255 |
+
#: admin.inc.php:285
|
256 |
msgid "Related Posts"
|
257 |
msgstr "Related Posts (Lignende indlæg)"
|
258 |
|
259 |
+
#: contextual-related-posts.php:117
|
260 |
msgid "Powered by"
|
261 |
msgstr ""
|
262 |
|
263 |
+
#: contextual-related-posts.php:122
|
264 |
+
#: contextual-related-posts.php:126
|
265 |
msgid "No related posts found"
|
266 |
msgstr "Ingen lignende indlæg fundet"
|
267 |
|
268 |
+
#: contextual-related-posts.php:166
|
269 |
msgid "<h3>Related Posts:</h3>"
|
270 |
msgstr "<h3>Lignende indlæg:</h3>"
|
271 |
|
272 |
+
#: contextual-related-posts.php:300
|
273 |
msgid "Settings"
|
274 |
msgstr "Opsætning"
|
275 |
|
276 |
+
#: contextual-related-posts.php:302
|
|
|
|
|
|
|
|
|
277 |
msgid "Donate"
|
278 |
msgstr "Donation"
|
279 |
|
280 |
+
#~ msgid "Options:"
|
281 |
+
#~ msgstr "Indstillinger:"
|
282 |
+
|
283 |
+
#~ msgid ""
|
284 |
+
#~ "Add related posts to the post content on single posts. <br />If you "
|
285 |
+
#~ "choose to disable this, please add <code><?php if(function_exists"
|
286 |
+
#~ "('echo_ald_crp')) echo_ald_crp(); ?></code> to your template file "
|
287 |
+
#~ "where you want it displayed"
|
288 |
+
#~ msgstr ""
|
289 |
+
#~ "Tilføj Lignende indlæg til indlæggenes indhold i enkelt-indlæg. <br /"
|
290 |
+
#~ ">Hvis du vælger at deaktivere dette, skal du tilføje <code><?php if"
|
291 |
+
#~ "(function_exists('echo_ald_crp')) echo_ald_crp(); ?></code> til din "
|
292 |
+
#~ "skabelonfil, hvor du ønsker de lignende indlæg vist"
|
293 |
+
|
294 |
+
#~ msgid ""
|
295 |
+
#~ "Post thumbnail meta field (the meta should point contain the image "
|
296 |
+
#~ "source): "
|
297 |
+
#~ msgstr ""
|
298 |
+
#~ "Metafelt for indlægsminiaturer (metafeltet skal indeholde URL'en til "
|
299 |
+
#~ "billedet): "
|
300 |
+
|
301 |
+
#~ msgid "Thumbnail dimensions:"
|
302 |
+
#~ msgstr "Miniaturedimensioner:"
|
303 |
+
|
304 |
+
#~ msgid "Max width: "
|
305 |
+
#~ msgstr "Max bredde: "
|
306 |
+
|
307 |
+
#~ msgid "Max height: "
|
308 |
+
#~ msgstr "Max højde: "
|
309 |
+
|
310 |
+
#, fuzzy
|
311 |
+
#~ msgid "Support forum"
|
312 |
+
#~ msgstr "Support"
|
languages/crp-de_DE.mo
CHANGED
Binary file
|
languages/crp-de_DE.po
CHANGED
@@ -2,7 +2,7 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Contextual Related Posts\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
|
8 |
"Language-Team: <me@ajaydsouza.com>\n"
|
@@ -14,224 +14,300 @@ msgstr ""
|
|
14 |
"X-Poedit-Basepath: ../\n"
|
15 |
"X-Poedit-SearchPath-0: .\n"
|
16 |
|
17 |
-
#: admin.inc.php:
|
18 |
msgid "Options saved successfully."
|
19 |
msgstr "Optionen gespeichert."
|
20 |
|
21 |
-
#: admin.inc.php:
|
22 |
msgid "Options set to Default."
|
23 |
msgstr "Optionen auf die Voreinstellungen zurückgesetzt."
|
24 |
|
25 |
-
#: admin.inc.php:
|
26 |
msgid "Index recreated"
|
27 |
msgstr "Index aufgefrischt"
|
28 |
|
29 |
-
#: admin.inc.php:
|
30 |
-
msgid "
|
31 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
|
33 |
-
#: admin.inc.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
34 |
msgid "Number of related posts to display: "
|
35 |
msgstr "Maximale Anzahl der angezeigten ähnlichen Beiträge: "
|
36 |
|
37 |
-
#: admin.inc.php:
|
38 |
msgid "Exclude Categories: "
|
39 |
msgstr "Kategorien ausschließen: "
|
40 |
|
41 |
-
#: admin.inc.php:
|
42 |
-
msgid "Add related posts to the post content on single posts
|
43 |
-
msgstr "
|
44 |
|
45 |
-
#: admin.inc.php:
|
46 |
-
|
|
|
|
|
47 |
msgstr "Ähnliche Beiträge auch in statischen Seiten auflisten.<br />Wenn Sie das deaktivieren wollen, fügen Sie <code><?php if(function_exists('echo_ald_crp')) echo_ald_crp(); ?></code> in das Template ein, in dem die ähnlichen Beiträge aufgeliistet werden sollen"
|
48 |
|
49 |
-
#: admin.inc.php:
|
|
|
|
|
|
|
|
|
|
|
50 |
msgid "Add related posts to feed"
|
51 |
msgstr "Ähnliche Beiträge auch in die Feeds aufnehmen"
|
52 |
|
53 |
-
#: admin.inc.php:
|
54 |
-
msgid "Find related posts based on content as well as title
|
|
|
|
|
|
|
|
|
|
|
55 |
msgstr "Ähnliche Beiträge sowohl im Beitragstitel als auch im Beitragsinhalt suchen. Bei Deaktivierung wird nur in den Beittragstiteln gesucht. (Im Falle der Aktivierung wird empfohlen, ein Cache-Plugin einzusetzen)"
|
56 |
|
57 |
-
#: admin.inc.php:
|
58 |
msgid "Exclude Pages in Related Posts"
|
59 |
msgstr "Statische Seiten in ähnlichen Beiträgen ausschließen"
|
60 |
|
61 |
-
#: admin.inc.php:
|
62 |
-
msgid "
|
63 |
-
msgstr "
|
|
|
|
|
|
|
|
|
64 |
|
65 |
-
#: admin.inc.php:
|
66 |
-
|
|
|
67 |
msgstr "Ausgabeotionen:"
|
68 |
|
69 |
-
#: admin.inc.php:
|
70 |
msgid "Title of related posts: "
|
71 |
msgstr "Überschrift über der Liste der ähnlichen Beiträge: "
|
72 |
|
73 |
-
#: admin.inc.php:
|
74 |
msgid "When there are no posts, what should be shown?"
|
75 |
msgstr "Wenn keine ähnlichen Beiträge gefunden werden, was soll dann angezeigt werden?"
|
76 |
|
77 |
-
#: admin.inc.php:
|
78 |
msgid "Blank Output"
|
79 |
msgstr "Nichts"
|
80 |
|
81 |
-
#: admin.inc.php:
|
82 |
msgid "Display \"No Related Posts\""
|
83 |
msgstr "\"Keine ähnlichen Beiträge\" anzeigen"
|
84 |
|
85 |
-
#: admin.inc.php:
|
86 |
msgid "Show post excerpt in list?"
|
87 |
msgstr "Auszug des Beitrags in der Liste anzeigen?"
|
88 |
|
89 |
-
#: admin.inc.php:
|
90 |
msgid "Length of excerpt (in words): "
|
91 |
msgstr "Länge des Auszugs (in Worten): "
|
92 |
|
93 |
-
#: admin.inc.php:
|
94 |
msgid "Customize the output:"
|
95 |
msgstr "Die Ausgabe anpassen:"
|
96 |
|
97 |
-
#: admin.inc.php:
|
98 |
msgid "HTML to display before the list of posts: "
|
99 |
msgstr "HTML vor der Beitragsliste: "
|
100 |
|
101 |
-
#: admin.inc.php:
|
102 |
msgid "HTML to display before each list item: "
|
103 |
msgstr "HTML vor jedem Listenelement: "
|
104 |
|
105 |
-
#: admin.inc.php:
|
106 |
msgid "HTML to display after each list item: "
|
107 |
msgstr "HTML nach jedem Listenelement: "
|
108 |
|
109 |
-
#: admin.inc.php:
|
110 |
msgid "HTML to display after the list of posts: "
|
111 |
msgstr "HTML nach der Beitragsliste: "
|
112 |
|
113 |
-
#: admin.inc.php:
|
114 |
msgid "Post thumbnail options:"
|
115 |
msgstr "Optionen für die Beitrags-Thumbnails:"
|
116 |
|
117 |
-
#: admin.inc.php:
|
|
|
|
|
|
|
|
|
118 |
msgid "Display thumbnails inline with posts"
|
119 |
msgstr "Thumbnails und Beitragstitel anzeigen"
|
120 |
|
121 |
-
#: admin.inc.php:
|
122 |
msgid "Display only thumbnails, no text"
|
123 |
msgstr "Nur Thumbnails, keine Beitragstitel anzeigen"
|
124 |
|
125 |
-
#: admin.inc.php:
|
126 |
msgid "Do not display thumbnails, only text."
|
127 |
msgstr "Keine Thumbnails, nur Beitragstitel anzeigen"
|
128 |
|
129 |
-
#: admin.inc.php:
|
130 |
-
msgid "
|
131 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
132 |
|
133 |
-
#: admin.inc.php:
|
134 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
135 |
msgstr "Wenn 'Postmeta' nicht gesetzt ist, dann soll das Plugin das erste Bild aus dem jeweiligen Beitrag verwenden. Das kann allerdings das Laden des Beitrags verlangsamen, wenn die Bilddateien der ähnlichen Beiträge groß sind!"
|
136 |
|
137 |
-
#: admin.inc.php:
|
138 |
-
|
139 |
-
|
|
|
140 |
|
141 |
-
#: admin.inc.php:
|
142 |
-
msgid "
|
143 |
-
msgstr "
|
144 |
|
145 |
-
#: admin.inc.php:
|
146 |
-
msgid "
|
147 |
-
msgstr "
|
148 |
|
149 |
-
#: admin.inc.php:
|
150 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
151 |
msgstr "Das Plugin prüft zunächst, ob der Beitrag einen Thumbnail enthält. Wenn nicht, wird das Meta-Feld überprüft. Wenn auch dieses nicht vorhanden ist, wird das unten spezifizierte Default-Thumbnail angezeigt:"
|
152 |
|
153 |
-
#: admin.inc.php:
|
154 |
msgid "Do you want to set options to Default?"
|
155 |
msgstr "Wollen Sie die Optionen auf die Voreinstellungen zurücksetzen?"
|
156 |
|
157 |
-
#: admin.inc.php:
|
158 |
msgid "Are you sure you want to recreate the index?"
|
159 |
msgstr "Sind Sie sicher, einen neuen Index zu erzeugen?"
|
160 |
|
161 |
-
#: admin.inc.php:
|
162 |
-
msgid "Quick links"
|
163 |
-
msgstr "Links"
|
164 |
-
|
165 |
-
#: admin.inc.php:256
|
166 |
-
msgid "Contextual Related Posts "
|
167 |
-
msgstr "Contextual Related Posts "
|
168 |
-
|
169 |
-
#: admin.inc.php:256
|
170 |
-
msgid "plugin page"
|
171 |
-
msgstr "Plugin-Seite"
|
172 |
-
|
173 |
-
#: admin.inc.php:257
|
174 |
-
msgid "Other plugins"
|
175 |
-
msgstr "Weitere Plugins"
|
176 |
-
|
177 |
-
#: admin.inc.php:258
|
178 |
-
msgid "Ajay's blog"
|
179 |
-
msgstr "Ajay's Blog"
|
180 |
-
|
181 |
-
#: admin.inc.php:259
|
182 |
-
msgid "Support forum"
|
183 |
-
msgstr "Support Forum"
|
184 |
-
|
185 |
-
#: admin.inc.php:260
|
186 |
-
msgid "Follow @ajaydsouza on Twitter"
|
187 |
-
msgstr "@ajaydsouza auf Twitter folgen"
|
188 |
-
|
189 |
-
#: admin.inc.php:264
|
190 |
-
msgid "Recent developments"
|
191 |
-
msgstr "Neueste Entwicklungen"
|
192 |
-
|
193 |
-
#: admin.inc.php:269
|
194 |
-
msgid "Support the development"
|
195 |
-
msgstr "Unterstützen Sie die Entwicklung"
|
196 |
-
|
197 |
-
#: admin.inc.php:277
|
198 |
-
msgid "Enter amount in USD: "
|
199 |
-
msgstr "Den Betrag in USD eingeben: "
|
200 |
-
|
201 |
-
#: admin.inc.php:281
|
202 |
-
msgid "Send your donation to the author of"
|
203 |
-
msgstr "Schicken Sie eine Spende an den Autor von"
|
204 |
-
|
205 |
-
#: admin.inc.php:309
|
206 |
msgid "Contextual Related Posts"
|
207 |
msgstr "Contextual Related Posts"
|
208 |
|
209 |
-
#: admin.inc.php:
|
210 |
msgid "Related Posts"
|
211 |
msgstr "Related Posts"
|
212 |
|
213 |
-
#: contextual-related-posts.php:
|
214 |
msgid "Powered by"
|
215 |
msgstr "Powered by"
|
216 |
|
217 |
-
#: contextual-related-posts.php:
|
218 |
-
#: contextual-related-posts.php:
|
219 |
msgid "No related posts found"
|
220 |
msgstr "Keine ähnlichen Beiträge gefunden"
|
221 |
|
222 |
-
#: contextual-related-posts.php:
|
223 |
msgid "<h3>Related Posts:</h3>"
|
224 |
msgstr "<h3>Ähnliche Beiträge:</h3>"
|
225 |
|
226 |
-
#: contextual-related-posts.php:
|
227 |
msgid "Settings"
|
228 |
msgstr "Einstellungen"
|
229 |
|
230 |
-
#: contextual-related-posts.php:
|
231 |
-
msgid "Support"
|
232 |
-
msgstr "Support"
|
233 |
-
|
234 |
-
#: contextual-related-posts.php:270
|
235 |
msgid "Donate"
|
236 |
msgstr "Spenden"
|
237 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Contextual Related Posts\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2012-03-22 23:38-0000\n"
|
6 |
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
|
8 |
"Language-Team: <me@ajaydsouza.com>\n"
|
14 |
"X-Poedit-Basepath: ../\n"
|
15 |
"X-Poedit-SearchPath-0: .\n"
|
16 |
|
17 |
+
#: admin.inc.php:51
|
18 |
msgid "Options saved successfully."
|
19 |
msgstr "Optionen gespeichert."
|
20 |
|
21 |
+
#: admin.inc.php:60
|
22 |
msgid "Options set to Default."
|
23 |
msgstr "Optionen auf die Voreinstellungen zurückgesetzt."
|
24 |
|
25 |
+
#: admin.inc.php:75
|
26 |
msgid "Index recreated"
|
27 |
msgstr "Index aufgefrischt"
|
28 |
|
29 |
+
#: admin.inc.php:88
|
30 |
+
msgid "Support the development"
|
31 |
+
msgstr "Unterstützen Sie die Entwicklung"
|
32 |
+
|
33 |
+
#: admin.inc.php:96
|
34 |
+
msgid "Enter amount in USD: "
|
35 |
+
msgstr "Den Betrag in USD eingeben: "
|
36 |
+
|
37 |
+
#: admin.inc.php:100
|
38 |
+
msgid "Send your donation to the author of"
|
39 |
+
msgstr "Schicken Sie eine Spende an den Autor von"
|
40 |
+
|
41 |
+
#: admin.inc.php:106
|
42 |
+
msgid "Quick links"
|
43 |
+
msgstr "Links"
|
44 |
+
|
45 |
+
#: admin.inc.php:108
|
46 |
+
msgid "Contextual Related Posts "
|
47 |
+
msgstr "Contextual Related Posts "
|
48 |
+
|
49 |
+
#: admin.inc.php:108
|
50 |
+
msgid "plugin page"
|
51 |
+
msgstr "Plugin-Seite"
|
52 |
+
|
53 |
+
#: admin.inc.php:109
|
54 |
+
msgid "Other plugins"
|
55 |
+
msgstr "Weitere Plugins"
|
56 |
+
|
57 |
+
#: admin.inc.php:110
|
58 |
+
msgid "Ajay's blog"
|
59 |
+
msgstr "Ajay's Blog"
|
60 |
+
|
61 |
+
#: admin.inc.php:111
|
62 |
+
#: contextual-related-posts.php:301
|
63 |
+
msgid "Support"
|
64 |
+
msgstr "Support"
|
65 |
+
|
66 |
+
#: admin.inc.php:112
|
67 |
+
msgid "Follow @ajaydsouza on Twitter"
|
68 |
+
msgstr "@ajaydsouza auf Twitter folgen"
|
69 |
|
70 |
+
#: admin.inc.php:116
|
71 |
+
msgid "Recent developments"
|
72 |
+
msgstr "Neueste Entwicklungen"
|
73 |
+
|
74 |
+
#: admin.inc.php:128
|
75 |
+
msgid "General options"
|
76 |
+
msgstr ""
|
77 |
+
|
78 |
+
#: admin.inc.php:131
|
79 |
msgid "Number of related posts to display: "
|
80 |
msgstr "Maximale Anzahl der angezeigten ähnlichen Beiträge: "
|
81 |
|
82 |
+
#: admin.inc.php:134
|
83 |
msgid "Exclude Categories: "
|
84 |
msgstr "Kategorien ausschließen: "
|
85 |
|
86 |
+
#: admin.inc.php:152
|
87 |
+
msgid "Add related posts to the post content on single posts"
|
88 |
+
msgstr ""
|
89 |
|
90 |
+
#: admin.inc.php:153
|
91 |
+
#: admin.inc.php:156
|
92 |
+
#, fuzzy
|
93 |
+
msgid "If you choose to disable this, please add <code><?php if(function_exists('echo_ald_crp')) echo_ald_crp(); ?></code> to your template file where you want it displayed"
|
94 |
msgstr "Ähnliche Beiträge auch in statischen Seiten auflisten.<br />Wenn Sie das deaktivieren wollen, fügen Sie <code><?php if(function_exists('echo_ald_crp')) echo_ald_crp(); ?></code> in das Template ein, in dem die ähnlichen Beiträge aufgeliistet werden sollen"
|
95 |
|
96 |
+
#: admin.inc.php:155
|
97 |
+
#, fuzzy
|
98 |
+
msgid "Add related posts to pages"
|
99 |
+
msgstr "Ähnliche Beiträge auch in die Feeds aufnehmen"
|
100 |
+
|
101 |
+
#: admin.inc.php:158
|
102 |
msgid "Add related posts to feed"
|
103 |
msgstr "Ähnliche Beiträge auch in die Feeds aufnehmen"
|
104 |
|
105 |
+
#: admin.inc.php:161
|
106 |
+
msgid "Find related posts based on content as well as title"
|
107 |
+
msgstr ""
|
108 |
+
|
109 |
+
#: admin.inc.php:162
|
110 |
+
#, fuzzy
|
111 |
+
msgid "If unchecked, only posts titles are used. (I recommend using a caching plugin if you enable this)"
|
112 |
msgstr "Ähnliche Beiträge sowohl im Beitragstitel als auch im Beitragsinhalt suchen. Bei Deaktivierung wird nur in den Beittragstiteln gesucht. (Im Falle der Aktivierung wird empfohlen, ein Cache-Plugin einzusetzen)"
|
113 |
|
114 |
+
#: admin.inc.php:164
|
115 |
msgid "Exclude Pages in Related Posts"
|
116 |
msgstr "Statische Seiten in ähnlichen Beiträgen ausschließen"
|
117 |
|
118 |
+
#: admin.inc.php:167
|
119 |
+
msgid "Add a link to the plugin page as a final item in the list"
|
120 |
+
msgstr ""
|
121 |
+
|
122 |
+
#: admin.inc.php:168
|
123 |
+
msgid " <em>Optional</em>"
|
124 |
+
msgstr ""
|
125 |
|
126 |
+
#: admin.inc.php:176
|
127 |
+
#, fuzzy
|
128 |
+
msgid "Output Options"
|
129 |
msgstr "Ausgabeotionen:"
|
130 |
|
131 |
+
#: admin.inc.php:179
|
132 |
msgid "Title of related posts: "
|
133 |
msgstr "Überschrift über der Liste der ähnlichen Beiträge: "
|
134 |
|
135 |
+
#: admin.inc.php:182
|
136 |
msgid "When there are no posts, what should be shown?"
|
137 |
msgstr "Wenn keine ähnlichen Beiträge gefunden werden, was soll dann angezeigt werden?"
|
138 |
|
139 |
+
#: admin.inc.php:186
|
140 |
msgid "Blank Output"
|
141 |
msgstr "Nichts"
|
142 |
|
143 |
+
#: admin.inc.php:190
|
144 |
msgid "Display \"No Related Posts\""
|
145 |
msgstr "\"Keine ähnlichen Beiträge\" anzeigen"
|
146 |
|
147 |
+
#: admin.inc.php:194
|
148 |
msgid "Show post excerpt in list?"
|
149 |
msgstr "Auszug des Beitrags in der Liste anzeigen?"
|
150 |
|
151 |
+
#: admin.inc.php:197
|
152 |
msgid "Length of excerpt (in words): "
|
153 |
msgstr "Länge des Auszugs (in Worten): "
|
154 |
|
155 |
+
#: admin.inc.php:200
|
156 |
msgid "Customize the output:"
|
157 |
msgstr "Die Ausgabe anpassen:"
|
158 |
|
159 |
+
#: admin.inc.php:202
|
160 |
msgid "HTML to display before the list of posts: "
|
161 |
msgstr "HTML vor der Beitragsliste: "
|
162 |
|
163 |
+
#: admin.inc.php:205
|
164 |
msgid "HTML to display before each list item: "
|
165 |
msgstr "HTML vor jedem Listenelement: "
|
166 |
|
167 |
+
#: admin.inc.php:208
|
168 |
msgid "HTML to display after each list item: "
|
169 |
msgstr "HTML nach jedem Listenelement: "
|
170 |
|
171 |
+
#: admin.inc.php:211
|
172 |
msgid "HTML to display after the list of posts: "
|
173 |
msgstr "HTML nach der Beitragsliste: "
|
174 |
|
175 |
+
#: admin.inc.php:214
|
176 |
msgid "Post thumbnail options:"
|
177 |
msgstr "Optionen für die Beitrags-Thumbnails:"
|
178 |
|
179 |
+
#: admin.inc.php:216
|
180 |
+
msgid "Location of post thumbnail:"
|
181 |
+
msgstr ""
|
182 |
+
|
183 |
+
#: admin.inc.php:220
|
184 |
msgid "Display thumbnails inline with posts"
|
185 |
msgstr "Thumbnails und Beitragstitel anzeigen"
|
186 |
|
187 |
+
#: admin.inc.php:224
|
188 |
msgid "Display only thumbnails, no text"
|
189 |
msgstr "Nur Thumbnails, keine Beitragstitel anzeigen"
|
190 |
|
191 |
+
#: admin.inc.php:228
|
192 |
msgid "Do not display thumbnails, only text."
|
193 |
msgstr "Keine Thumbnails, nur Beitragstitel anzeigen"
|
194 |
|
195 |
+
#: admin.inc.php:231
|
196 |
+
msgid "Maximum width of the thumbnail: "
|
197 |
+
msgstr ""
|
198 |
+
|
199 |
+
#: admin.inc.php:234
|
200 |
+
msgid "Maximum height of the thumbnail: "
|
201 |
+
msgstr ""
|
202 |
+
|
203 |
+
#: admin.inc.php:237
|
204 |
+
#, fuzzy
|
205 |
+
msgid "Post thumbnail meta field name: "
|
206 |
+
msgstr "Optionen für die Beitrags-Thumbnails:"
|
207 |
|
208 |
+
#: admin.inc.php:238
|
209 |
+
msgid "The value of this field should contain the image source and is set in the <em>Add New Post</em> screen"
|
210 |
+
msgstr ""
|
211 |
+
|
212 |
+
#: admin.inc.php:240
|
213 |
+
#, fuzzy
|
214 |
+
msgid "If the postmeta is not set, then should the plugin extract the first image from the post?"
|
215 |
msgstr "Wenn 'Postmeta' nicht gesetzt ist, dann soll das Plugin das erste Bild aus dem jeweiligen Beitrag verwenden. Das kann allerdings das Laden des Beitrags verlangsamen, wenn die Bilddateien der ähnlichen Beiträge groß sind!"
|
216 |
|
217 |
+
#: admin.inc.php:241
|
218 |
+
#, fuzzy
|
219 |
+
msgid "This can slow down the loading of your page if the first image in the related posts is large in file-size"
|
220 |
+
msgstr "Wenn 'Postmeta' nicht gesetzt ist, dann soll das Plugin das erste Bild aus dem jeweiligen Beitrag verwenden. Das kann allerdings das Laden des Beitrags verlangsamen, wenn die Bilddateien der ähnlichen Beiträge groß sind!"
|
221 |
|
222 |
+
#: admin.inc.php:243
|
223 |
+
msgid "Use default thumbnail? "
|
224 |
+
msgstr ""
|
225 |
|
226 |
+
#: admin.inc.php:244
|
227 |
+
msgid "If checked, when no thumbnail is found, show a default one from the URL below. If not checked and no thumbnail is found, no image will be shown."
|
228 |
+
msgstr ""
|
229 |
|
230 |
+
#: admin.inc.php:246
|
231 |
+
msgid "Default thumbnail: "
|
232 |
+
msgstr ""
|
233 |
+
|
234 |
+
#: admin.inc.php:247
|
235 |
+
#, fuzzy
|
236 |
+
msgid "The plugin will first check if the post contains a thumbnail. If it doesn't then it will check the meta field. If this is not available, then it will show the default image as specified above"
|
237 |
msgstr "Das Plugin prüft zunächst, ob der Beitrag einen Thumbnail enthält. Wenn nicht, wird das Meta-Feld überprüft. Wenn auch dieses nicht vorhanden ist, wird das unten spezifizierte Default-Thumbnail angezeigt:"
|
238 |
|
239 |
+
#: admin.inc.php:254
|
240 |
msgid "Do you want to set options to Default?"
|
241 |
msgstr "Wollen Sie die Optionen auf die Voreinstellungen zurücksetzen?"
|
242 |
|
243 |
+
#: admin.inc.php:255
|
244 |
msgid "Are you sure you want to recreate the index?"
|
245 |
msgstr "Sind Sie sicher, einen neuen Index zu erzeugen?"
|
246 |
|
247 |
+
#: admin.inc.php:285
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
248 |
msgid "Contextual Related Posts"
|
249 |
msgstr "Contextual Related Posts"
|
250 |
|
251 |
+
#: admin.inc.php:285
|
252 |
msgid "Related Posts"
|
253 |
msgstr "Related Posts"
|
254 |
|
255 |
+
#: contextual-related-posts.php:117
|
256 |
msgid "Powered by"
|
257 |
msgstr "Powered by"
|
258 |
|
259 |
+
#: contextual-related-posts.php:122
|
260 |
+
#: contextual-related-posts.php:126
|
261 |
msgid "No related posts found"
|
262 |
msgstr "Keine ähnlichen Beiträge gefunden"
|
263 |
|
264 |
+
#: contextual-related-posts.php:166
|
265 |
msgid "<h3>Related Posts:</h3>"
|
266 |
msgstr "<h3>Ähnliche Beiträge:</h3>"
|
267 |
|
268 |
+
#: contextual-related-posts.php:300
|
269 |
msgid "Settings"
|
270 |
msgstr "Einstellungen"
|
271 |
|
272 |
+
#: contextual-related-posts.php:302
|
|
|
|
|
|
|
|
|
273 |
msgid "Donate"
|
274 |
msgstr "Spenden"
|
275 |
|
276 |
+
#~ msgid "Options:"
|
277 |
+
#~ msgstr "Optionen:"
|
278 |
+
|
279 |
+
#~ msgid ""
|
280 |
+
#~ "Add related posts to the post content on single posts. <br />If you "
|
281 |
+
#~ "choose to disable this, please add <code><?php if(function_exists"
|
282 |
+
#~ "('echo_ald_crp')) echo_ald_crp(); ?></code> to your template file "
|
283 |
+
#~ "where you want it displayed"
|
284 |
+
#~ msgstr ""
|
285 |
+
#~ "Ähnliche Beiträge am Ende jedes Einzelbeitrags auflisten.<br />Wenn Sie "
|
286 |
+
#~ "das deaktivieren wollen, fügen Sie <code><?php if(function_exists"
|
287 |
+
#~ "('echo_ald_crp')) echo_ald_crp(); ?></code> in das Template ein, in "
|
288 |
+
#~ "dem die ähnlichen Beiträge aufgeliistet werden sollen"
|
289 |
+
|
290 |
+
#~ msgid ""
|
291 |
+
#~ "Append link to this plugin as item. Optional, but would be nice to give "
|
292 |
+
#~ "me some link love"
|
293 |
+
#~ msgstr ""
|
294 |
+
#~ "Einen Link auf dieses Plugin an die Beitragsliste anhängen. Optional, "
|
295 |
+
#~ "aber es wäre nett, wenn Sie diesen Punkt aktivieren würden."
|
296 |
+
|
297 |
+
#~ msgid ""
|
298 |
+
#~ "Post thumbnail meta field (the meta should point contain the image "
|
299 |
+
#~ "source): "
|
300 |
+
#~ msgstr ""
|
301 |
+
#~ "Meta-Feld des Beitrags-Thumbnails (der Wert sollte auf das Bild zeigen): "
|
302 |
+
|
303 |
+
#~ msgid "Thumbnail dimensions:"
|
304 |
+
#~ msgstr "Größe der Thumbnails:"
|
305 |
+
|
306 |
+
#~ msgid "Max width: "
|
307 |
+
#~ msgstr "Maximale Breite: "
|
308 |
+
|
309 |
+
#~ msgid "Max height: "
|
310 |
+
#~ msgstr "Maximale Höhe: "
|
311 |
+
|
312 |
+
#~ msgid "Support forum"
|
313 |
+
#~ msgstr "Support Forum"
|
languages/crp-en_US.mo
CHANGED
Binary file
|
languages/crp-en_US.po
CHANGED
@@ -2,7 +2,7 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Contextual Related Posts\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
|
8 |
"Language-Team: <me@ajaydsouza.com>\n"
|
@@ -14,224 +14,254 @@ msgstr ""
|
|
14 |
"X-Poedit-Basepath: ../\n"
|
15 |
"X-Poedit-SearchPath-0: .\n"
|
16 |
|
17 |
-
#: admin.inc.php:
|
18 |
msgid "Options saved successfully."
|
19 |
msgstr ""
|
20 |
|
21 |
-
#: admin.inc.php:
|
22 |
msgid "Options set to Default."
|
23 |
msgstr ""
|
24 |
|
25 |
-
#: admin.inc.php:
|
26 |
msgid "Index recreated"
|
27 |
msgstr ""
|
28 |
|
29 |
-
#: admin.inc.php:
|
30 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
msgstr ""
|
32 |
|
33 |
-
#: admin.inc.php:
|
34 |
msgid "Number of related posts to display: "
|
35 |
msgstr ""
|
36 |
|
37 |
-
#: admin.inc.php:
|
38 |
msgid "Exclude Categories: "
|
39 |
msgstr ""
|
40 |
|
41 |
-
#: admin.inc.php:
|
42 |
-
msgid "Add related posts to the post content on single posts
|
|
|
|
|
|
|
|
|
|
|
43 |
msgstr ""
|
44 |
|
45 |
-
#: admin.inc.php:
|
46 |
-
msgid "Add related posts to pages
|
47 |
msgstr ""
|
48 |
|
49 |
-
#: admin.inc.php:
|
50 |
msgid "Add related posts to feed"
|
51 |
msgstr ""
|
52 |
|
53 |
-
#: admin.inc.php:
|
54 |
-
msgid "Find related posts based on content as well as title
|
|
|
|
|
|
|
|
|
55 |
msgstr ""
|
56 |
|
57 |
-
#: admin.inc.php:
|
58 |
msgid "Exclude Pages in Related Posts"
|
59 |
msgstr ""
|
60 |
|
61 |
-
#: admin.inc.php:
|
62 |
-
msgid "
|
63 |
msgstr ""
|
64 |
|
65 |
-
#: admin.inc.php:
|
66 |
-
msgid "
|
|
|
|
|
|
|
|
|
67 |
msgstr ""
|
68 |
|
69 |
-
#: admin.inc.php:
|
70 |
msgid "Title of related posts: "
|
71 |
msgstr ""
|
72 |
|
73 |
-
#: admin.inc.php:
|
74 |
msgid "When there are no posts, what should be shown?"
|
75 |
msgstr ""
|
76 |
|
77 |
-
#: admin.inc.php:
|
78 |
msgid "Blank Output"
|
79 |
msgstr ""
|
80 |
|
81 |
-
#: admin.inc.php:
|
82 |
msgid "Display \"No Related Posts\""
|
83 |
msgstr ""
|
84 |
|
85 |
-
#: admin.inc.php:
|
86 |
msgid "Show post excerpt in list?"
|
87 |
msgstr ""
|
88 |
|
89 |
-
#: admin.inc.php:
|
90 |
msgid "Length of excerpt (in words): "
|
91 |
msgstr ""
|
92 |
|
93 |
-
#: admin.inc.php:
|
94 |
msgid "Customize the output:"
|
95 |
msgstr ""
|
96 |
|
97 |
-
#: admin.inc.php:
|
98 |
msgid "HTML to display before the list of posts: "
|
99 |
msgstr ""
|
100 |
|
101 |
-
#: admin.inc.php:
|
102 |
msgid "HTML to display before each list item: "
|
103 |
msgstr ""
|
104 |
|
105 |
-
#: admin.inc.php:
|
106 |
msgid "HTML to display after each list item: "
|
107 |
msgstr ""
|
108 |
|
109 |
-
#: admin.inc.php:
|
110 |
msgid "HTML to display after the list of posts: "
|
111 |
msgstr ""
|
112 |
|
113 |
-
#: admin.inc.php:
|
114 |
msgid "Post thumbnail options:"
|
115 |
msgstr ""
|
116 |
|
117 |
-
#: admin.inc.php:
|
|
|
|
|
|
|
|
|
118 |
msgid "Display thumbnails inline with posts"
|
119 |
msgstr ""
|
120 |
|
121 |
-
#: admin.inc.php:
|
122 |
msgid "Display only thumbnails, no text"
|
123 |
msgstr ""
|
124 |
|
125 |
-
#: admin.inc.php:
|
126 |
msgid "Do not display thumbnails, only text."
|
127 |
msgstr ""
|
128 |
|
129 |
-
#: admin.inc.php:219
|
130 |
-
msgid "Post thumbnail meta field (the meta should point contain the image source): "
|
131 |
-
msgstr ""
|
132 |
-
|
133 |
-
#: admin.inc.php:226
|
134 |
-
msgid "If the postmeta is not set, then should the plugin extract the first image from the post. This can slow down the loading of your post if the first image in the related posts is large in file-size"
|
135 |
-
msgstr ""
|
136 |
-
|
137 |
-
#: admin.inc.php:229
|
138 |
-
msgid "Thumbnail dimensions:"
|
139 |
-
msgstr ""
|
140 |
-
|
141 |
#: admin.inc.php:231
|
142 |
-
msgid "
|
143 |
-
msgstr ""
|
144 |
-
|
145 |
-
#: admin.inc.php:236
|
146 |
-
msgid "Max height: "
|
147 |
-
msgstr ""
|
148 |
-
|
149 |
-
#: admin.inc.php:240
|
150 |
-
msgid "The plugin will first check if the post contains a thumbnail. If it doesn't then it will check the meta field. If this is not available, then it will show the default image as specified below:"
|
151 |
-
msgstr ""
|
152 |
-
|
153 |
-
#: admin.inc.php:245
|
154 |
-
msgid "Do you want to set options to Default?"
|
155 |
-
msgstr ""
|
156 |
-
|
157 |
-
#: admin.inc.php:246
|
158 |
-
msgid "Are you sure you want to recreate the index?"
|
159 |
msgstr ""
|
160 |
|
161 |
-
#: admin.inc.php:
|
162 |
-
msgid "
|
163 |
msgstr ""
|
164 |
|
165 |
-
#: admin.inc.php:
|
166 |
-
msgid "
|
167 |
msgstr ""
|
168 |
|
169 |
-
#: admin.inc.php:
|
170 |
-
msgid "
|
171 |
msgstr ""
|
172 |
|
173 |
-
#: admin.inc.php:
|
174 |
-
msgid "
|
175 |
msgstr ""
|
176 |
|
177 |
-
#: admin.inc.php:
|
178 |
-
msgid "
|
179 |
msgstr ""
|
180 |
|
181 |
-
#: admin.inc.php:
|
182 |
-
msgid "
|
183 |
msgstr ""
|
184 |
|
185 |
-
#: admin.inc.php:
|
186 |
-
msgid "
|
187 |
msgstr ""
|
188 |
|
189 |
-
#: admin.inc.php:
|
190 |
-
msgid "
|
191 |
msgstr ""
|
192 |
|
193 |
-
#: admin.inc.php:
|
194 |
-
msgid "
|
195 |
msgstr ""
|
196 |
|
197 |
-
#: admin.inc.php:
|
198 |
-
msgid "
|
199 |
msgstr ""
|
200 |
|
201 |
-
#: admin.inc.php:
|
202 |
-
msgid "
|
203 |
msgstr ""
|
204 |
|
205 |
-
#: admin.inc.php:
|
206 |
msgid "Contextual Related Posts"
|
207 |
msgstr ""
|
208 |
|
209 |
-
#: admin.inc.php:
|
210 |
msgid "Related Posts"
|
211 |
msgstr ""
|
212 |
|
213 |
-
#: contextual-related-posts.php:
|
214 |
msgid "Powered by"
|
215 |
msgstr ""
|
216 |
|
217 |
-
#: contextual-related-posts.php:
|
218 |
-
#: contextual-related-posts.php:
|
219 |
msgid "No related posts found"
|
220 |
msgstr ""
|
221 |
|
222 |
-
#: contextual-related-posts.php:
|
223 |
msgid "<h3>Related Posts:</h3>"
|
224 |
msgstr ""
|
225 |
|
226 |
-
#: contextual-related-posts.php:
|
227 |
msgid "Settings"
|
228 |
msgstr ""
|
229 |
|
230 |
-
#: contextual-related-posts.php:
|
231 |
-
msgid "Support"
|
232 |
-
msgstr ""
|
233 |
-
|
234 |
-
#: contextual-related-posts.php:270
|
235 |
msgid "Donate"
|
236 |
msgstr ""
|
237 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Contextual Related Posts\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2012-03-22 23:37-0000\n"
|
6 |
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
|
8 |
"Language-Team: <me@ajaydsouza.com>\n"
|
14 |
"X-Poedit-Basepath: ../\n"
|
15 |
"X-Poedit-SearchPath-0: .\n"
|
16 |
|
17 |
+
#: admin.inc.php:51
|
18 |
msgid "Options saved successfully."
|
19 |
msgstr ""
|
20 |
|
21 |
+
#: admin.inc.php:60
|
22 |
msgid "Options set to Default."
|
23 |
msgstr ""
|
24 |
|
25 |
+
#: admin.inc.php:75
|
26 |
msgid "Index recreated"
|
27 |
msgstr ""
|
28 |
|
29 |
+
#: admin.inc.php:88
|
30 |
+
msgid "Support the development"
|
31 |
+
msgstr ""
|
32 |
+
|
33 |
+
#: admin.inc.php:96
|
34 |
+
msgid "Enter amount in USD: "
|
35 |
+
msgstr ""
|
36 |
+
|
37 |
+
#: admin.inc.php:100
|
38 |
+
msgid "Send your donation to the author of"
|
39 |
+
msgstr ""
|
40 |
+
|
41 |
+
#: admin.inc.php:106
|
42 |
+
msgid "Quick links"
|
43 |
+
msgstr ""
|
44 |
+
|
45 |
+
#: admin.inc.php:108
|
46 |
+
msgid "Contextual Related Posts "
|
47 |
+
msgstr ""
|
48 |
+
|
49 |
+
#: admin.inc.php:108
|
50 |
+
msgid "plugin page"
|
51 |
+
msgstr ""
|
52 |
+
|
53 |
+
#: admin.inc.php:109
|
54 |
+
msgid "Other plugins"
|
55 |
+
msgstr ""
|
56 |
+
|
57 |
+
#: admin.inc.php:110
|
58 |
+
msgid "Ajay's blog"
|
59 |
+
msgstr ""
|
60 |
+
|
61 |
+
#: admin.inc.php:111
|
62 |
+
#: contextual-related-posts.php:301
|
63 |
+
msgid "Support"
|
64 |
+
msgstr ""
|
65 |
+
|
66 |
+
#: admin.inc.php:112
|
67 |
+
msgid "Follow @ajaydsouza on Twitter"
|
68 |
+
msgstr ""
|
69 |
+
|
70 |
+
#: admin.inc.php:116
|
71 |
+
msgid "Recent developments"
|
72 |
+
msgstr ""
|
73 |
+
|
74 |
+
#: admin.inc.php:128
|
75 |
+
msgid "General options"
|
76 |
msgstr ""
|
77 |
|
78 |
+
#: admin.inc.php:131
|
79 |
msgid "Number of related posts to display: "
|
80 |
msgstr ""
|
81 |
|
82 |
+
#: admin.inc.php:134
|
83 |
msgid "Exclude Categories: "
|
84 |
msgstr ""
|
85 |
|
86 |
+
#: admin.inc.php:152
|
87 |
+
msgid "Add related posts to the post content on single posts"
|
88 |
+
msgstr ""
|
89 |
+
|
90 |
+
#: admin.inc.php:153
|
91 |
+
#: admin.inc.php:156
|
92 |
+
msgid "If you choose to disable this, please add <code><?php if(function_exists('echo_ald_crp')) echo_ald_crp(); ?></code> to your template file where you want it displayed"
|
93 |
msgstr ""
|
94 |
|
95 |
+
#: admin.inc.php:155
|
96 |
+
msgid "Add related posts to pages"
|
97 |
msgstr ""
|
98 |
|
99 |
+
#: admin.inc.php:158
|
100 |
msgid "Add related posts to feed"
|
101 |
msgstr ""
|
102 |
|
103 |
+
#: admin.inc.php:161
|
104 |
+
msgid "Find related posts based on content as well as title"
|
105 |
+
msgstr ""
|
106 |
+
|
107 |
+
#: admin.inc.php:162
|
108 |
+
msgid "If unchecked, only posts titles are used. (I recommend using a caching plugin if you enable this)"
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: admin.inc.php:164
|
112 |
msgid "Exclude Pages in Related Posts"
|
113 |
msgstr ""
|
114 |
|
115 |
+
#: admin.inc.php:167
|
116 |
+
msgid "Add a link to the plugin page as a final item in the list"
|
117 |
msgstr ""
|
118 |
|
119 |
+
#: admin.inc.php:168
|
120 |
+
msgid " <em>Optional</em>"
|
121 |
+
msgstr ""
|
122 |
+
|
123 |
+
#: admin.inc.php:176
|
124 |
+
msgid "Output Options"
|
125 |
msgstr ""
|
126 |
|
127 |
+
#: admin.inc.php:179
|
128 |
msgid "Title of related posts: "
|
129 |
msgstr ""
|
130 |
|
131 |
+
#: admin.inc.php:182
|
132 |
msgid "When there are no posts, what should be shown?"
|
133 |
msgstr ""
|
134 |
|
135 |
+
#: admin.inc.php:186
|
136 |
msgid "Blank Output"
|
137 |
msgstr ""
|
138 |
|
139 |
+
#: admin.inc.php:190
|
140 |
msgid "Display \"No Related Posts\""
|
141 |
msgstr ""
|
142 |
|
143 |
+
#: admin.inc.php:194
|
144 |
msgid "Show post excerpt in list?"
|
145 |
msgstr ""
|
146 |
|
147 |
+
#: admin.inc.php:197
|
148 |
msgid "Length of excerpt (in words): "
|
149 |
msgstr ""
|
150 |
|
151 |
+
#: admin.inc.php:200
|
152 |
msgid "Customize the output:"
|
153 |
msgstr ""
|
154 |
|
155 |
+
#: admin.inc.php:202
|
156 |
msgid "HTML to display before the list of posts: "
|
157 |
msgstr ""
|
158 |
|
159 |
+
#: admin.inc.php:205
|
160 |
msgid "HTML to display before each list item: "
|
161 |
msgstr ""
|
162 |
|
163 |
+
#: admin.inc.php:208
|
164 |
msgid "HTML to display after each list item: "
|
165 |
msgstr ""
|
166 |
|
167 |
+
#: admin.inc.php:211
|
168 |
msgid "HTML to display after the list of posts: "
|
169 |
msgstr ""
|
170 |
|
171 |
+
#: admin.inc.php:214
|
172 |
msgid "Post thumbnail options:"
|
173 |
msgstr ""
|
174 |
|
175 |
+
#: admin.inc.php:216
|
176 |
+
msgid "Location of post thumbnail:"
|
177 |
+
msgstr ""
|
178 |
+
|
179 |
+
#: admin.inc.php:220
|
180 |
msgid "Display thumbnails inline with posts"
|
181 |
msgstr ""
|
182 |
|
183 |
+
#: admin.inc.php:224
|
184 |
msgid "Display only thumbnails, no text"
|
185 |
msgstr ""
|
186 |
|
187 |
+
#: admin.inc.php:228
|
188 |
msgid "Do not display thumbnails, only text."
|
189 |
msgstr ""
|
190 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
191 |
#: admin.inc.php:231
|
192 |
+
msgid "Maximum width of the thumbnail: "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
193 |
msgstr ""
|
194 |
|
195 |
+
#: admin.inc.php:234
|
196 |
+
msgid "Maximum height of the thumbnail: "
|
197 |
msgstr ""
|
198 |
|
199 |
+
#: admin.inc.php:237
|
200 |
+
msgid "Post thumbnail meta field name: "
|
201 |
msgstr ""
|
202 |
|
203 |
+
#: admin.inc.php:238
|
204 |
+
msgid "The value of this field should contain the image source and is set in the <em>Add New Post</em> screen"
|
205 |
msgstr ""
|
206 |
|
207 |
+
#: admin.inc.php:240
|
208 |
+
msgid "If the postmeta is not set, then should the plugin extract the first image from the post?"
|
209 |
msgstr ""
|
210 |
|
211 |
+
#: admin.inc.php:241
|
212 |
+
msgid "This can slow down the loading of your page if the first image in the related posts is large in file-size"
|
213 |
msgstr ""
|
214 |
|
215 |
+
#: admin.inc.php:243
|
216 |
+
msgid "Use default thumbnail? "
|
217 |
msgstr ""
|
218 |
|
219 |
+
#: admin.inc.php:244
|
220 |
+
msgid "If checked, when no thumbnail is found, show a default one from the URL below. If not checked and no thumbnail is found, no image will be shown."
|
221 |
msgstr ""
|
222 |
|
223 |
+
#: admin.inc.php:246
|
224 |
+
msgid "Default thumbnail: "
|
225 |
msgstr ""
|
226 |
|
227 |
+
#: admin.inc.php:247
|
228 |
+
msgid "The plugin will first check if the post contains a thumbnail. If it doesn't then it will check the meta field. If this is not available, then it will show the default image as specified above"
|
229 |
msgstr ""
|
230 |
|
231 |
+
#: admin.inc.php:254
|
232 |
+
msgid "Do you want to set options to Default?"
|
233 |
msgstr ""
|
234 |
|
235 |
+
#: admin.inc.php:255
|
236 |
+
msgid "Are you sure you want to recreate the index?"
|
237 |
msgstr ""
|
238 |
|
239 |
+
#: admin.inc.php:285
|
240 |
msgid "Contextual Related Posts"
|
241 |
msgstr ""
|
242 |
|
243 |
+
#: admin.inc.php:285
|
244 |
msgid "Related Posts"
|
245 |
msgstr ""
|
246 |
|
247 |
+
#: contextual-related-posts.php:117
|
248 |
msgid "Powered by"
|
249 |
msgstr ""
|
250 |
|
251 |
+
#: contextual-related-posts.php:122
|
252 |
+
#: contextual-related-posts.php:126
|
253 |
msgid "No related posts found"
|
254 |
msgstr ""
|
255 |
|
256 |
+
#: contextual-related-posts.php:166
|
257 |
msgid "<h3>Related Posts:</h3>"
|
258 |
msgstr ""
|
259 |
|
260 |
+
#: contextual-related-posts.php:300
|
261 |
msgid "Settings"
|
262 |
msgstr ""
|
263 |
|
264 |
+
#: contextual-related-posts.php:302
|
|
|
|
|
|
|
|
|
265 |
msgid "Donate"
|
266 |
msgstr ""
|
267 |
|
languages/crp-en_US.pot
CHANGED
@@ -2,7 +2,7 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Contextual Related Posts\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
|
8 |
"Language-Team: <me@ajaydsouza.com>\n"
|
@@ -14,224 +14,254 @@ msgstr ""
|
|
14 |
"X-Poedit-Basepath: ../\n"
|
15 |
"X-Poedit-SearchPath-0: .\n"
|
16 |
|
17 |
-
#: admin.inc.php:
|
18 |
msgid "Options saved successfully."
|
19 |
msgstr ""
|
20 |
|
21 |
-
#: admin.inc.php:
|
22 |
msgid "Options set to Default."
|
23 |
msgstr ""
|
24 |
|
25 |
-
#: admin.inc.php:
|
26 |
msgid "Index recreated"
|
27 |
msgstr ""
|
28 |
|
29 |
-
#: admin.inc.php:
|
30 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
31 |
msgstr ""
|
32 |
|
33 |
-
#: admin.inc.php:
|
34 |
msgid "Number of related posts to display: "
|
35 |
msgstr ""
|
36 |
|
37 |
-
#: admin.inc.php:
|
38 |
msgid "Exclude Categories: "
|
39 |
msgstr ""
|
40 |
|
41 |
-
#: admin.inc.php:
|
42 |
-
msgid "Add related posts to the post content on single posts
|
|
|
|
|
|
|
|
|
|
|
43 |
msgstr ""
|
44 |
|
45 |
-
#: admin.inc.php:
|
46 |
-
msgid "Add related posts to pages
|
47 |
msgstr ""
|
48 |
|
49 |
-
#: admin.inc.php:
|
50 |
msgid "Add related posts to feed"
|
51 |
msgstr ""
|
52 |
|
53 |
-
#: admin.inc.php:
|
54 |
-
msgid "Find related posts based on content as well as title
|
|
|
|
|
|
|
|
|
55 |
msgstr ""
|
56 |
|
57 |
-
#: admin.inc.php:
|
58 |
msgid "Exclude Pages in Related Posts"
|
59 |
msgstr ""
|
60 |
|
61 |
-
#: admin.inc.php:
|
62 |
-
msgid "
|
63 |
msgstr ""
|
64 |
|
65 |
-
#: admin.inc.php:
|
66 |
-
msgid "
|
|
|
|
|
|
|
|
|
67 |
msgstr ""
|
68 |
|
69 |
-
#: admin.inc.php:
|
70 |
msgid "Title of related posts: "
|
71 |
msgstr ""
|
72 |
|
73 |
-
#: admin.inc.php:
|
74 |
msgid "When there are no posts, what should be shown?"
|
75 |
msgstr ""
|
76 |
|
77 |
-
#: admin.inc.php:
|
78 |
msgid "Blank Output"
|
79 |
msgstr ""
|
80 |
|
81 |
-
#: admin.inc.php:
|
82 |
msgid "Display \"No Related Posts\""
|
83 |
msgstr ""
|
84 |
|
85 |
-
#: admin.inc.php:
|
86 |
msgid "Show post excerpt in list?"
|
87 |
msgstr ""
|
88 |
|
89 |
-
#: admin.inc.php:
|
90 |
msgid "Length of excerpt (in words): "
|
91 |
msgstr ""
|
92 |
|
93 |
-
#: admin.inc.php:
|
94 |
msgid "Customize the output:"
|
95 |
msgstr ""
|
96 |
|
97 |
-
#: admin.inc.php:
|
98 |
msgid "HTML to display before the list of posts: "
|
99 |
msgstr ""
|
100 |
|
101 |
-
#: admin.inc.php:
|
102 |
msgid "HTML to display before each list item: "
|
103 |
msgstr ""
|
104 |
|
105 |
-
#: admin.inc.php:
|
106 |
msgid "HTML to display after each list item: "
|
107 |
msgstr ""
|
108 |
|
109 |
-
#: admin.inc.php:
|
110 |
msgid "HTML to display after the list of posts: "
|
111 |
msgstr ""
|
112 |
|
113 |
-
#: admin.inc.php:
|
114 |
msgid "Post thumbnail options:"
|
115 |
msgstr ""
|
116 |
|
117 |
-
#: admin.inc.php:
|
|
|
|
|
|
|
|
|
118 |
msgid "Display thumbnails inline with posts"
|
119 |
msgstr ""
|
120 |
|
121 |
-
#: admin.inc.php:
|
122 |
msgid "Display only thumbnails, no text"
|
123 |
msgstr ""
|
124 |
|
125 |
-
#: admin.inc.php:
|
126 |
msgid "Do not display thumbnails, only text."
|
127 |
msgstr ""
|
128 |
|
129 |
-
#: admin.inc.php:219
|
130 |
-
msgid "Post thumbnail meta field (the meta should point contain the image source): "
|
131 |
-
msgstr ""
|
132 |
-
|
133 |
-
#: admin.inc.php:226
|
134 |
-
msgid "If the postmeta is not set, then should the plugin extract the first image from the post. This can slow down the loading of your post if the first image in the related posts is large in file-size"
|
135 |
-
msgstr ""
|
136 |
-
|
137 |
-
#: admin.inc.php:229
|
138 |
-
msgid "Thumbnail dimensions:"
|
139 |
-
msgstr ""
|
140 |
-
|
141 |
#: admin.inc.php:231
|
142 |
-
msgid "
|
143 |
-
msgstr ""
|
144 |
-
|
145 |
-
#: admin.inc.php:236
|
146 |
-
msgid "Max height: "
|
147 |
-
msgstr ""
|
148 |
-
|
149 |
-
#: admin.inc.php:240
|
150 |
-
msgid "The plugin will first check if the post contains a thumbnail. If it doesn't then it will check the meta field. If this is not available, then it will show the default image as specified below:"
|
151 |
-
msgstr ""
|
152 |
-
|
153 |
-
#: admin.inc.php:245
|
154 |
-
msgid "Do you want to set options to Default?"
|
155 |
-
msgstr ""
|
156 |
-
|
157 |
-
#: admin.inc.php:246
|
158 |
-
msgid "Are you sure you want to recreate the index?"
|
159 |
msgstr ""
|
160 |
|
161 |
-
#: admin.inc.php:
|
162 |
-
msgid "
|
163 |
msgstr ""
|
164 |
|
165 |
-
#: admin.inc.php:
|
166 |
-
msgid "
|
167 |
msgstr ""
|
168 |
|
169 |
-
#: admin.inc.php:
|
170 |
-
msgid "
|
171 |
msgstr ""
|
172 |
|
173 |
-
#: admin.inc.php:
|
174 |
-
msgid "
|
175 |
msgstr ""
|
176 |
|
177 |
-
#: admin.inc.php:
|
178 |
-
msgid "
|
179 |
msgstr ""
|
180 |
|
181 |
-
#: admin.inc.php:
|
182 |
-
msgid "
|
183 |
msgstr ""
|
184 |
|
185 |
-
#: admin.inc.php:
|
186 |
-
msgid "
|
187 |
msgstr ""
|
188 |
|
189 |
-
#: admin.inc.php:
|
190 |
-
msgid "
|
191 |
msgstr ""
|
192 |
|
193 |
-
#: admin.inc.php:
|
194 |
-
msgid "
|
195 |
msgstr ""
|
196 |
|
197 |
-
#: admin.inc.php:
|
198 |
-
msgid "
|
199 |
msgstr ""
|
200 |
|
201 |
-
#: admin.inc.php:
|
202 |
-
msgid "
|
203 |
msgstr ""
|
204 |
|
205 |
-
#: admin.inc.php:
|
206 |
msgid "Contextual Related Posts"
|
207 |
msgstr ""
|
208 |
|
209 |
-
#: admin.inc.php:
|
210 |
msgid "Related Posts"
|
211 |
msgstr ""
|
212 |
|
213 |
-
#: contextual-related-posts.php:
|
214 |
msgid "Powered by"
|
215 |
msgstr ""
|
216 |
|
217 |
-
#: contextual-related-posts.php:
|
218 |
-
#: contextual-related-posts.php:
|
219 |
msgid "No related posts found"
|
220 |
msgstr ""
|
221 |
|
222 |
-
#: contextual-related-posts.php:
|
223 |
msgid "<h3>Related Posts:</h3>"
|
224 |
msgstr ""
|
225 |
|
226 |
-
#: contextual-related-posts.php:
|
227 |
msgid "Settings"
|
228 |
msgstr ""
|
229 |
|
230 |
-
#: contextual-related-posts.php:
|
231 |
-
msgid "Support"
|
232 |
-
msgstr ""
|
233 |
-
|
234 |
-
#: contextual-related-posts.php:270
|
235 |
msgid "Donate"
|
236 |
msgstr ""
|
237 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Contextual Related Posts\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2012-03-22 23:37-0000\n"
|
6 |
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
|
8 |
"Language-Team: <me@ajaydsouza.com>\n"
|
14 |
"X-Poedit-Basepath: ../\n"
|
15 |
"X-Poedit-SearchPath-0: .\n"
|
16 |
|
17 |
+
#: admin.inc.php:51
|
18 |
msgid "Options saved successfully."
|
19 |
msgstr ""
|
20 |
|
21 |
+
#: admin.inc.php:60
|
22 |
msgid "Options set to Default."
|
23 |
msgstr ""
|
24 |
|
25 |
+
#: admin.inc.php:75
|
26 |
msgid "Index recreated"
|
27 |
msgstr ""
|
28 |
|
29 |
+
#: admin.inc.php:88
|
30 |
+
msgid "Support the development"
|
31 |
+
msgstr ""
|
32 |
+
|
33 |
+
#: admin.inc.php:96
|
34 |
+
msgid "Enter amount in USD: "
|
35 |
+
msgstr ""
|
36 |
+
|
37 |
+
#: admin.inc.php:100
|
38 |
+
msgid "Send your donation to the author of"
|
39 |
+
msgstr ""
|
40 |
+
|
41 |
+
#: admin.inc.php:106
|
42 |
+
msgid "Quick links"
|
43 |
+
msgstr ""
|
44 |
+
|
45 |
+
#: admin.inc.php:108
|
46 |
+
msgid "Contextual Related Posts "
|
47 |
+
msgstr ""
|
48 |
+
|
49 |
+
#: admin.inc.php:108
|
50 |
+
msgid "plugin page"
|
51 |
+
msgstr ""
|
52 |
+
|
53 |
+
#: admin.inc.php:109
|
54 |
+
msgid "Other plugins"
|
55 |
+
msgstr ""
|
56 |
+
|
57 |
+
#: admin.inc.php:110
|
58 |
+
msgid "Ajay's blog"
|
59 |
+
msgstr ""
|
60 |
+
|
61 |
+
#: admin.inc.php:111
|
62 |
+
#: contextual-related-posts.php:301
|
63 |
+
msgid "Support"
|
64 |
+
msgstr ""
|
65 |
+
|
66 |
+
#: admin.inc.php:112
|
67 |
+
msgid "Follow @ajaydsouza on Twitter"
|
68 |
+
msgstr ""
|
69 |
+
|
70 |
+
#: admin.inc.php:116
|
71 |
+
msgid "Recent developments"
|
72 |
+
msgstr ""
|
73 |
+
|
74 |
+
#: admin.inc.php:128
|
75 |
+
msgid "General options"
|
76 |
msgstr ""
|
77 |
|
78 |
+
#: admin.inc.php:131
|
79 |
msgid "Number of related posts to display: "
|
80 |
msgstr ""
|
81 |
|
82 |
+
#: admin.inc.php:134
|
83 |
msgid "Exclude Categories: "
|
84 |
msgstr ""
|
85 |
|
86 |
+
#: admin.inc.php:152
|
87 |
+
msgid "Add related posts to the post content on single posts"
|
88 |
+
msgstr ""
|
89 |
+
|
90 |
+
#: admin.inc.php:153
|
91 |
+
#: admin.inc.php:156
|
92 |
+
msgid "If you choose to disable this, please add <code><?php if(function_exists('echo_ald_crp')) echo_ald_crp(); ?></code> to your template file where you want it displayed"
|
93 |
msgstr ""
|
94 |
|
95 |
+
#: admin.inc.php:155
|
96 |
+
msgid "Add related posts to pages"
|
97 |
msgstr ""
|
98 |
|
99 |
+
#: admin.inc.php:158
|
100 |
msgid "Add related posts to feed"
|
101 |
msgstr ""
|
102 |
|
103 |
+
#: admin.inc.php:161
|
104 |
+
msgid "Find related posts based on content as well as title"
|
105 |
+
msgstr ""
|
106 |
+
|
107 |
+
#: admin.inc.php:162
|
108 |
+
msgid "If unchecked, only posts titles are used. (I recommend using a caching plugin if you enable this)"
|
109 |
msgstr ""
|
110 |
|
111 |
+
#: admin.inc.php:164
|
112 |
msgid "Exclude Pages in Related Posts"
|
113 |
msgstr ""
|
114 |
|
115 |
+
#: admin.inc.php:167
|
116 |
+
msgid "Add a link to the plugin page as a final item in the list"
|
117 |
msgstr ""
|
118 |
|
119 |
+
#: admin.inc.php:168
|
120 |
+
msgid " <em>Optional</em>"
|
121 |
+
msgstr ""
|
122 |
+
|
123 |
+
#: admin.inc.php:176
|
124 |
+
msgid "Output Options"
|
125 |
msgstr ""
|
126 |
|
127 |
+
#: admin.inc.php:179
|
128 |
msgid "Title of related posts: "
|
129 |
msgstr ""
|
130 |
|
131 |
+
#: admin.inc.php:182
|
132 |
msgid "When there are no posts, what should be shown?"
|
133 |
msgstr ""
|
134 |
|
135 |
+
#: admin.inc.php:186
|
136 |
msgid "Blank Output"
|
137 |
msgstr ""
|
138 |
|
139 |
+
#: admin.inc.php:190
|
140 |
msgid "Display \"No Related Posts\""
|
141 |
msgstr ""
|
142 |
|
143 |
+
#: admin.inc.php:194
|
144 |
msgid "Show post excerpt in list?"
|
145 |
msgstr ""
|
146 |
|
147 |
+
#: admin.inc.php:197
|
148 |
msgid "Length of excerpt (in words): "
|
149 |
msgstr ""
|
150 |
|
151 |
+
#: admin.inc.php:200
|
152 |
msgid "Customize the output:"
|
153 |
msgstr ""
|
154 |
|
155 |
+
#: admin.inc.php:202
|
156 |
msgid "HTML to display before the list of posts: "
|
157 |
msgstr ""
|
158 |
|
159 |
+
#: admin.inc.php:205
|
160 |
msgid "HTML to display before each list item: "
|
161 |
msgstr ""
|
162 |
|
163 |
+
#: admin.inc.php:208
|
164 |
msgid "HTML to display after each list item: "
|
165 |
msgstr ""
|
166 |
|
167 |
+
#: admin.inc.php:211
|
168 |
msgid "HTML to display after the list of posts: "
|
169 |
msgstr ""
|
170 |
|
171 |
+
#: admin.inc.php:214
|
172 |
msgid "Post thumbnail options:"
|
173 |
msgstr ""
|
174 |
|
175 |
+
#: admin.inc.php:216
|
176 |
+
msgid "Location of post thumbnail:"
|
177 |
+
msgstr ""
|
178 |
+
|
179 |
+
#: admin.inc.php:220
|
180 |
msgid "Display thumbnails inline with posts"
|
181 |
msgstr ""
|
182 |
|
183 |
+
#: admin.inc.php:224
|
184 |
msgid "Display only thumbnails, no text"
|
185 |
msgstr ""
|
186 |
|
187 |
+
#: admin.inc.php:228
|
188 |
msgid "Do not display thumbnails, only text."
|
189 |
msgstr ""
|
190 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
191 |
#: admin.inc.php:231
|
192 |
+
msgid "Maximum width of the thumbnail: "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
193 |
msgstr ""
|
194 |
|
195 |
+
#: admin.inc.php:234
|
196 |
+
msgid "Maximum height of the thumbnail: "
|
197 |
msgstr ""
|
198 |
|
199 |
+
#: admin.inc.php:237
|
200 |
+
msgid "Post thumbnail meta field name: "
|
201 |
msgstr ""
|
202 |
|
203 |
+
#: admin.inc.php:238
|
204 |
+
msgid "The value of this field should contain the image source and is set in the <em>Add New Post</em> screen"
|
205 |
msgstr ""
|
206 |
|
207 |
+
#: admin.inc.php:240
|
208 |
+
msgid "If the postmeta is not set, then should the plugin extract the first image from the post?"
|
209 |
msgstr ""
|
210 |
|
211 |
+
#: admin.inc.php:241
|
212 |
+
msgid "This can slow down the loading of your page if the first image in the related posts is large in file-size"
|
213 |
msgstr ""
|
214 |
|
215 |
+
#: admin.inc.php:243
|
216 |
+
msgid "Use default thumbnail? "
|
217 |
msgstr ""
|
218 |
|
219 |
+
#: admin.inc.php:244
|
220 |
+
msgid "If checked, when no thumbnail is found, show a default one from the URL below. If not checked and no thumbnail is found, no image will be shown."
|
221 |
msgstr ""
|
222 |
|
223 |
+
#: admin.inc.php:246
|
224 |
+
msgid "Default thumbnail: "
|
225 |
msgstr ""
|
226 |
|
227 |
+
#: admin.inc.php:247
|
228 |
+
msgid "The plugin will first check if the post contains a thumbnail. If it doesn't then it will check the meta field. If this is not available, then it will show the default image as specified above"
|
229 |
msgstr ""
|
230 |
|
231 |
+
#: admin.inc.php:254
|
232 |
+
msgid "Do you want to set options to Default?"
|
233 |
msgstr ""
|
234 |
|
235 |
+
#: admin.inc.php:255
|
236 |
+
msgid "Are you sure you want to recreate the index?"
|
237 |
msgstr ""
|
238 |
|
239 |
+
#: admin.inc.php:285
|
240 |
msgid "Contextual Related Posts"
|
241 |
msgstr ""
|
242 |
|
243 |
+
#: admin.inc.php:285
|
244 |
msgid "Related Posts"
|
245 |
msgstr ""
|
246 |
|
247 |
+
#: contextual-related-posts.php:117
|
248 |
msgid "Powered by"
|
249 |
msgstr ""
|
250 |
|
251 |
+
#: contextual-related-posts.php:122
|
252 |
+
#: contextual-related-posts.php:126
|
253 |
msgid "No related posts found"
|
254 |
msgstr ""
|
255 |
|
256 |
+
#: contextual-related-posts.php:166
|
257 |
msgid "<h3>Related Posts:</h3>"
|
258 |
msgstr ""
|
259 |
|
260 |
+
#: contextual-related-posts.php:300
|
261 |
msgid "Settings"
|
262 |
msgstr ""
|
263 |
|
264 |
+
#: contextual-related-posts.php:302
|
|
|
|
|
|
|
|
|
265 |
msgid "Donate"
|
266 |
msgstr ""
|
267 |
|
languages/crp-es_ES.mo
CHANGED
Binary file
|
languages/crp-es_ES.po
CHANGED
@@ -2,7 +2,7 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Contextual Related Posts\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
|
8 |
"Language-Team: \n"
|
@@ -15,224 +15,300 @@ msgstr ""
|
|
15 |
"X-Poedit-Country: SPAIN\n"
|
16 |
"X-Poedit-SearchPath-0: .\n"
|
17 |
|
18 |
-
#: admin.inc.php:
|
19 |
msgid "Options saved successfully."
|
20 |
msgstr "Opciones guardadas correctament."
|
21 |
|
22 |
-
#: admin.inc.php:
|
23 |
msgid "Options set to Default."
|
24 |
msgstr "Restablecer opciones originales"
|
25 |
|
26 |
-
#: admin.inc.php:
|
27 |
msgid "Index recreated"
|
28 |
msgstr "Recrear el Index"
|
29 |
|
30 |
-
#: admin.inc.php:
|
31 |
-
msgid "
|
32 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
|
34 |
-
#: admin.inc.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
msgid "Number of related posts to display: "
|
36 |
msgstr "Número de posts relacionados a mostrar:"
|
37 |
|
38 |
-
#: admin.inc.php:
|
39 |
msgid "Exclude Categories: "
|
40 |
msgstr "Excluir Categorías:"
|
41 |
|
42 |
-
#: admin.inc.php:
|
43 |
-
msgid "Add related posts to the post content on single posts
|
44 |
-
msgstr "
|
45 |
|
46 |
-
#: admin.inc.php:
|
47 |
-
|
|
|
|
|
48 |
msgstr "Agregar posts relacionados a páginas. <br />Si eliges desabilitar esto, por favor agrega <code><?php if(function_exists('echo_ald_crp')) echo_ald_crp(); ?></code> a tu archivo de template donde quieras q se muestre"
|
49 |
|
50 |
-
#: admin.inc.php:
|
|
|
|
|
|
|
|
|
|
|
51 |
msgid "Add related posts to feed"
|
52 |
msgstr "Agregar posts relacionados al feed"
|
53 |
|
54 |
-
#: admin.inc.php:
|
55 |
-
msgid "Find related posts based on content as well as title
|
|
|
|
|
|
|
|
|
|
|
56 |
msgstr "Encuentra posts relacionados basados en el contexto y el título. Si es deseleccionado, solo los títulos serán usados. (Recomiendo usar un plugin de caché si activas esto)"
|
57 |
|
58 |
-
#: admin.inc.php:
|
59 |
msgid "Exclude Pages in Related Posts"
|
60 |
msgstr "Excluir Post Relacionados de las Páginas"
|
61 |
|
62 |
-
#: admin.inc.php:
|
63 |
-
msgid "
|
64 |
-
msgstr "
|
|
|
|
|
|
|
|
|
65 |
|
66 |
-
#: admin.inc.php:
|
67 |
-
|
|
|
68 |
msgstr "Opciones de Salida:"
|
69 |
|
70 |
-
#: admin.inc.php:
|
71 |
msgid "Title of related posts: "
|
72 |
msgstr "Título de posts relacionados:"
|
73 |
|
74 |
-
#: admin.inc.php:
|
75 |
msgid "When there are no posts, what should be shown?"
|
76 |
msgstr "Cuando no hay posts, ¿Qué se debe mostrar?"
|
77 |
|
78 |
-
#: admin.inc.php:
|
79 |
msgid "Blank Output"
|
80 |
msgstr "Salida vacía"
|
81 |
|
82 |
-
#: admin.inc.php:
|
83 |
msgid "Display \"No Related Posts\""
|
84 |
msgstr "Mostrar \"Posts No Relacionados\""
|
85 |
|
86 |
-
#: admin.inc.php:
|
87 |
msgid "Show post excerpt in list?"
|
88 |
msgstr "¿Mostrar extracto con los items?"
|
89 |
|
90 |
-
#: admin.inc.php:
|
91 |
msgid "Length of excerpt (in words): "
|
92 |
msgstr "Tamaño del extracto (en palabras):"
|
93 |
|
94 |
-
#: admin.inc.php:
|
95 |
msgid "Customize the output:"
|
96 |
msgstr "Personalizar la salida:"
|
97 |
|
98 |
-
#: admin.inc.php:
|
99 |
msgid "HTML to display before the list of posts: "
|
100 |
msgstr "HTML a mostrar antes de todos los items:"
|
101 |
|
102 |
-
#: admin.inc.php:
|
103 |
msgid "HTML to display before each list item: "
|
104 |
msgstr "HTML a mostrar antes de cada item:"
|
105 |
|
106 |
-
#: admin.inc.php:
|
107 |
msgid "HTML to display after each list item: "
|
108 |
msgstr "HTML a mostrar despues de cada item:"
|
109 |
|
110 |
-
#: admin.inc.php:
|
111 |
msgid "HTML to display after the list of posts: "
|
112 |
msgstr "HTML a mostrar despues de todos los items:"
|
113 |
|
114 |
-
#: admin.inc.php:
|
115 |
msgid "Post thumbnail options:"
|
116 |
msgstr "Opciones de miniaturas en el post:"
|
117 |
|
118 |
-
#: admin.inc.php:
|
|
|
|
|
|
|
|
|
119 |
msgid "Display thumbnails inline with posts"
|
120 |
msgstr "Miniaturas en línea con los posts"
|
121 |
|
122 |
-
#: admin.inc.php:
|
123 |
msgid "Display only thumbnails, no text"
|
124 |
msgstr "Solo miniaturas, sin texto"
|
125 |
|
126 |
-
#: admin.inc.php:
|
127 |
msgid "Do not display thumbnails, only text."
|
128 |
msgstr "No mostrar miniaturas, solo texto."
|
129 |
|
130 |
-
#: admin.inc.php:219
|
131 |
-
msgid "Post thumbnail meta field (the meta should point contain the image source): "
|
132 |
-
msgstr "Campo meta de miniatura del post (debe apuntar al código de la imágen)"
|
133 |
-
|
134 |
-
#: admin.inc.php:226
|
135 |
-
msgid "If the postmeta is not set, then should the plugin extract the first image from the post. This can slow down the loading of your post if the first image in the related posts is large in file-size"
|
136 |
-
msgstr "Si el postmeta no está definido, entonces el plugin extrae la primera imágen del post. Esto puede relentizar la carga si la primera imágen es de gran tamaño"
|
137 |
-
|
138 |
-
#: admin.inc.php:229
|
139 |
-
msgid "Thumbnail dimensions:"
|
140 |
-
msgstr "Dimensiones miniatura:"
|
141 |
-
|
142 |
#: admin.inc.php:231
|
143 |
-
msgid "
|
144 |
-
msgstr "
|
145 |
-
|
146 |
-
#: admin.inc.php:236
|
147 |
-
msgid "Max height: "
|
148 |
-
msgstr "Altura máxima:"
|
149 |
-
|
150 |
-
#: admin.inc.php:240
|
151 |
-
msgid "The plugin will first check if the post contains a thumbnail. If it doesn't then it will check the meta field. If this is not available, then it will show the default image as specified below:"
|
152 |
-
msgstr "El plugin primero verificará si el post contiene miniaturas. Si no tiene ninguno verificará el campo meta. Si no está disponible, entonces mostrará la imágen padrón especificada a continuación:"
|
153 |
-
|
154 |
-
#: admin.inc.php:245
|
155 |
-
msgid "Do you want to set options to Default?"
|
156 |
-
msgstr "¿Quieres resetear las opciones?"
|
157 |
|
158 |
-
#: admin.inc.php:
|
159 |
-
msgid "
|
160 |
-
msgstr "
|
161 |
|
162 |
-
#: admin.inc.php:
|
163 |
-
|
164 |
-
|
|
|
165 |
|
166 |
-
#: admin.inc.php:
|
167 |
-
msgid "
|
168 |
-
msgstr "
|
169 |
|
170 |
-
#: admin.inc.php:
|
171 |
-
|
172 |
-
|
|
|
173 |
|
174 |
-
#: admin.inc.php:
|
175 |
-
|
176 |
-
|
|
|
177 |
|
178 |
-
#: admin.inc.php:
|
179 |
-
msgid "
|
180 |
msgstr ""
|
181 |
|
182 |
-
#: admin.inc.php:
|
183 |
-
msgid "
|
184 |
-
msgstr "
|
185 |
-
|
186 |
-
#: admin.inc.php:260
|
187 |
-
msgid "Follow @ajaydsouza on Twitter"
|
188 |
-
msgstr "Seguir @ajaydsouza en Twitter"
|
189 |
|
190 |
-
#: admin.inc.php:
|
191 |
-
msgid "
|
192 |
-
msgstr "
|
193 |
|
194 |
-
#: admin.inc.php:
|
195 |
-
|
196 |
-
|
|
|
197 |
|
198 |
-
#: admin.inc.php:
|
199 |
-
msgid "
|
200 |
-
msgstr "
|
201 |
|
202 |
-
#: admin.inc.php:
|
203 |
-
msgid "
|
204 |
-
msgstr "
|
205 |
|
206 |
-
#: admin.inc.php:
|
207 |
msgid "Contextual Related Posts"
|
208 |
msgstr "Posts Relacionados Contextualmente"
|
209 |
|
210 |
-
#: admin.inc.php:
|
211 |
msgid "Related Posts"
|
212 |
msgstr "Post Relacionados"
|
213 |
|
214 |
-
#: contextual-related-posts.php:
|
215 |
msgid "Powered by"
|
216 |
msgstr "Creado por"
|
217 |
|
218 |
-
#: contextual-related-posts.php:
|
219 |
-
#: contextual-related-posts.php:
|
220 |
msgid "No related posts found"
|
221 |
msgstr "No hay posts relacionados"
|
222 |
|
223 |
-
#: contextual-related-posts.php:
|
224 |
msgid "<h3>Related Posts:</h3>"
|
225 |
msgstr "<h3>Post Relacionados:</h3>"
|
226 |
|
227 |
-
#: contextual-related-posts.php:
|
228 |
msgid "Settings"
|
229 |
msgstr "Opciones"
|
230 |
|
231 |
-
#: contextual-related-posts.php:
|
232 |
-
msgid "Support"
|
233 |
-
msgstr "Soporte"
|
234 |
-
|
235 |
-
#: contextual-related-posts.php:270
|
236 |
msgid "Donate"
|
237 |
msgstr "Donar"
|
238 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Contextual Related Posts\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2012-03-22 23:38-0000\n"
|
6 |
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
|
8 |
"Language-Team: \n"
|
15 |
"X-Poedit-Country: SPAIN\n"
|
16 |
"X-Poedit-SearchPath-0: .\n"
|
17 |
|
18 |
+
#: admin.inc.php:51
|
19 |
msgid "Options saved successfully."
|
20 |
msgstr "Opciones guardadas correctament."
|
21 |
|
22 |
+
#: admin.inc.php:60
|
23 |
msgid "Options set to Default."
|
24 |
msgstr "Restablecer opciones originales"
|
25 |
|
26 |
+
#: admin.inc.php:75
|
27 |
msgid "Index recreated"
|
28 |
msgstr "Recrear el Index"
|
29 |
|
30 |
+
#: admin.inc.php:88
|
31 |
+
msgid "Support the development"
|
32 |
+
msgstr "Apoya el desarrollo"
|
33 |
+
|
34 |
+
#: admin.inc.php:96
|
35 |
+
msgid "Enter amount in USD: "
|
36 |
+
msgstr "Ingresa monto en USD:"
|
37 |
+
|
38 |
+
#: admin.inc.php:100
|
39 |
+
msgid "Send your donation to the author of"
|
40 |
+
msgstr "Enviar tu donación al autor de"
|
41 |
+
|
42 |
+
#: admin.inc.php:106
|
43 |
+
msgid "Quick links"
|
44 |
+
msgstr "Links rápidos"
|
45 |
+
|
46 |
+
#: admin.inc.php:108
|
47 |
+
msgid "Contextual Related Posts "
|
48 |
+
msgstr "Posts relacionados contextualmente"
|
49 |
+
|
50 |
+
#: admin.inc.php:108
|
51 |
+
msgid "plugin page"
|
52 |
+
msgstr "sitio del plugin"
|
53 |
+
|
54 |
+
#: admin.inc.php:109
|
55 |
+
msgid "Other plugins"
|
56 |
+
msgstr "Otros plugins"
|
57 |
+
|
58 |
+
#: admin.inc.php:110
|
59 |
+
msgid "Ajay's blog"
|
60 |
+
msgstr ""
|
61 |
+
|
62 |
+
#: admin.inc.php:111
|
63 |
+
#: contextual-related-posts.php:301
|
64 |
+
msgid "Support"
|
65 |
+
msgstr "Soporte"
|
66 |
+
|
67 |
+
#: admin.inc.php:112
|
68 |
+
msgid "Follow @ajaydsouza on Twitter"
|
69 |
+
msgstr "Seguir @ajaydsouza en Twitter"
|
70 |
|
71 |
+
#: admin.inc.php:116
|
72 |
+
msgid "Recent developments"
|
73 |
+
msgstr "Desarrollos recientes"
|
74 |
+
|
75 |
+
#: admin.inc.php:128
|
76 |
+
msgid "General options"
|
77 |
+
msgstr ""
|
78 |
+
|
79 |
+
#: admin.inc.php:131
|
80 |
msgid "Number of related posts to display: "
|
81 |
msgstr "Número de posts relacionados a mostrar:"
|
82 |
|
83 |
+
#: admin.inc.php:134
|
84 |
msgid "Exclude Categories: "
|
85 |
msgstr "Excluir Categorías:"
|
86 |
|
87 |
+
#: admin.inc.php:152
|
88 |
+
msgid "Add related posts to the post content on single posts"
|
89 |
+
msgstr ""
|
90 |
|
91 |
+
#: admin.inc.php:153
|
92 |
+
#: admin.inc.php:156
|
93 |
+
#, fuzzy
|
94 |
+
msgid "If you choose to disable this, please add <code><?php if(function_exists('echo_ald_crp')) echo_ald_crp(); ?></code> to your template file where you want it displayed"
|
95 |
msgstr "Agregar posts relacionados a páginas. <br />Si eliges desabilitar esto, por favor agrega <code><?php if(function_exists('echo_ald_crp')) echo_ald_crp(); ?></code> a tu archivo de template donde quieras q se muestre"
|
96 |
|
97 |
+
#: admin.inc.php:155
|
98 |
+
#, fuzzy
|
99 |
+
msgid "Add related posts to pages"
|
100 |
+
msgstr "Agregar posts relacionados al feed"
|
101 |
+
|
102 |
+
#: admin.inc.php:158
|
103 |
msgid "Add related posts to feed"
|
104 |
msgstr "Agregar posts relacionados al feed"
|
105 |
|
106 |
+
#: admin.inc.php:161
|
107 |
+
msgid "Find related posts based on content as well as title"
|
108 |
+
msgstr ""
|
109 |
+
|
110 |
+
#: admin.inc.php:162
|
111 |
+
#, fuzzy
|
112 |
+
msgid "If unchecked, only posts titles are used. (I recommend using a caching plugin if you enable this)"
|
113 |
msgstr "Encuentra posts relacionados basados en el contexto y el título. Si es deseleccionado, solo los títulos serán usados. (Recomiendo usar un plugin de caché si activas esto)"
|
114 |
|
115 |
+
#: admin.inc.php:164
|
116 |
msgid "Exclude Pages in Related Posts"
|
117 |
msgstr "Excluir Post Relacionados de las Páginas"
|
118 |
|
119 |
+
#: admin.inc.php:167
|
120 |
+
msgid "Add a link to the plugin page as a final item in the list"
|
121 |
+
msgstr ""
|
122 |
+
|
123 |
+
#: admin.inc.php:168
|
124 |
+
msgid " <em>Optional</em>"
|
125 |
+
msgstr ""
|
126 |
|
127 |
+
#: admin.inc.php:176
|
128 |
+
#, fuzzy
|
129 |
+
msgid "Output Options"
|
130 |
msgstr "Opciones de Salida:"
|
131 |
|
132 |
+
#: admin.inc.php:179
|
133 |
msgid "Title of related posts: "
|
134 |
msgstr "Título de posts relacionados:"
|
135 |
|
136 |
+
#: admin.inc.php:182
|
137 |
msgid "When there are no posts, what should be shown?"
|
138 |
msgstr "Cuando no hay posts, ¿Qué se debe mostrar?"
|
139 |
|
140 |
+
#: admin.inc.php:186
|
141 |
msgid "Blank Output"
|
142 |
msgstr "Salida vacía"
|
143 |
|
144 |
+
#: admin.inc.php:190
|
145 |
msgid "Display \"No Related Posts\""
|
146 |
msgstr "Mostrar \"Posts No Relacionados\""
|
147 |
|
148 |
+
#: admin.inc.php:194
|
149 |
msgid "Show post excerpt in list?"
|
150 |
msgstr "¿Mostrar extracto con los items?"
|
151 |
|
152 |
+
#: admin.inc.php:197
|
153 |
msgid "Length of excerpt (in words): "
|
154 |
msgstr "Tamaño del extracto (en palabras):"
|
155 |
|
156 |
+
#: admin.inc.php:200
|
157 |
msgid "Customize the output:"
|
158 |
msgstr "Personalizar la salida:"
|
159 |
|
160 |
+
#: admin.inc.php:202
|
161 |
msgid "HTML to display before the list of posts: "
|
162 |
msgstr "HTML a mostrar antes de todos los items:"
|
163 |
|
164 |
+
#: admin.inc.php:205
|
165 |
msgid "HTML to display before each list item: "
|
166 |
msgstr "HTML a mostrar antes de cada item:"
|
167 |
|
168 |
+
#: admin.inc.php:208
|
169 |
msgid "HTML to display after each list item: "
|
170 |
msgstr "HTML a mostrar despues de cada item:"
|
171 |
|
172 |
+
#: admin.inc.php:211
|
173 |
msgid "HTML to display after the list of posts: "
|
174 |
msgstr "HTML a mostrar despues de todos los items:"
|
175 |
|
176 |
+
#: admin.inc.php:214
|
177 |
msgid "Post thumbnail options:"
|
178 |
msgstr "Opciones de miniaturas en el post:"
|
179 |
|
180 |
+
#: admin.inc.php:216
|
181 |
+
msgid "Location of post thumbnail:"
|
182 |
+
msgstr ""
|
183 |
+
|
184 |
+
#: admin.inc.php:220
|
185 |
msgid "Display thumbnails inline with posts"
|
186 |
msgstr "Miniaturas en línea con los posts"
|
187 |
|
188 |
+
#: admin.inc.php:224
|
189 |
msgid "Display only thumbnails, no text"
|
190 |
msgstr "Solo miniaturas, sin texto"
|
191 |
|
192 |
+
#: admin.inc.php:228
|
193 |
msgid "Do not display thumbnails, only text."
|
194 |
msgstr "No mostrar miniaturas, solo texto."
|
195 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
196 |
#: admin.inc.php:231
|
197 |
+
msgid "Maximum width of the thumbnail: "
|
198 |
+
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
199 |
|
200 |
+
#: admin.inc.php:234
|
201 |
+
msgid "Maximum height of the thumbnail: "
|
202 |
+
msgstr ""
|
203 |
|
204 |
+
#: admin.inc.php:237
|
205 |
+
#, fuzzy
|
206 |
+
msgid "Post thumbnail meta field name: "
|
207 |
+
msgstr "Opciones de miniaturas en el post:"
|
208 |
|
209 |
+
#: admin.inc.php:238
|
210 |
+
msgid "The value of this field should contain the image source and is set in the <em>Add New Post</em> screen"
|
211 |
+
msgstr ""
|
212 |
|
213 |
+
#: admin.inc.php:240
|
214 |
+
#, fuzzy
|
215 |
+
msgid "If the postmeta is not set, then should the plugin extract the first image from the post?"
|
216 |
+
msgstr "Si el postmeta no está definido, entonces el plugin extrae la primera imágen del post. Esto puede relentizar la carga si la primera imágen es de gran tamaño"
|
217 |
|
218 |
+
#: admin.inc.php:241
|
219 |
+
#, fuzzy
|
220 |
+
msgid "This can slow down the loading of your page if the first image in the related posts is large in file-size"
|
221 |
+
msgstr "Si el postmeta no está definido, entonces el plugin extrae la primera imágen del post. Esto puede relentizar la carga si la primera imágen es de gran tamaño"
|
222 |
|
223 |
+
#: admin.inc.php:243
|
224 |
+
msgid "Use default thumbnail? "
|
225 |
msgstr ""
|
226 |
|
227 |
+
#: admin.inc.php:244
|
228 |
+
msgid "If checked, when no thumbnail is found, show a default one from the URL below. If not checked and no thumbnail is found, no image will be shown."
|
229 |
+
msgstr ""
|
|
|
|
|
|
|
|
|
230 |
|
231 |
+
#: admin.inc.php:246
|
232 |
+
msgid "Default thumbnail: "
|
233 |
+
msgstr ""
|
234 |
|
235 |
+
#: admin.inc.php:247
|
236 |
+
#, fuzzy
|
237 |
+
msgid "The plugin will first check if the post contains a thumbnail. If it doesn't then it will check the meta field. If this is not available, then it will show the default image as specified above"
|
238 |
+
msgstr "El plugin primero verificará si el post contiene miniaturas. Si no tiene ninguno verificará el campo meta. Si no está disponible, entonces mostrará la imágen padrón especificada a continuación:"
|
239 |
|
240 |
+
#: admin.inc.php:254
|
241 |
+
msgid "Do you want to set options to Default?"
|
242 |
+
msgstr "¿Quieres resetear las opciones?"
|
243 |
|
244 |
+
#: admin.inc.php:255
|
245 |
+
msgid "Are you sure you want to recreate the index?"
|
246 |
+
msgstr "¿Está seguro que quiere recrear el index?"
|
247 |
|
248 |
+
#: admin.inc.php:285
|
249 |
msgid "Contextual Related Posts"
|
250 |
msgstr "Posts Relacionados Contextualmente"
|
251 |
|
252 |
+
#: admin.inc.php:285
|
253 |
msgid "Related Posts"
|
254 |
msgstr "Post Relacionados"
|
255 |
|
256 |
+
#: contextual-related-posts.php:117
|
257 |
msgid "Powered by"
|
258 |
msgstr "Creado por"
|
259 |
|
260 |
+
#: contextual-related-posts.php:122
|
261 |
+
#: contextual-related-posts.php:126
|
262 |
msgid "No related posts found"
|
263 |
msgstr "No hay posts relacionados"
|
264 |
|
265 |
+
#: contextual-related-posts.php:166
|
266 |
msgid "<h3>Related Posts:</h3>"
|
267 |
msgstr "<h3>Post Relacionados:</h3>"
|
268 |
|
269 |
+
#: contextual-related-posts.php:300
|
270 |
msgid "Settings"
|
271 |
msgstr "Opciones"
|
272 |
|
273 |
+
#: contextual-related-posts.php:302
|
|
|
|
|
|
|
|
|
274 |
msgid "Donate"
|
275 |
msgstr "Donar"
|
276 |
|
277 |
+
#~ msgid "Options:"
|
278 |
+
#~ msgstr "Opciones:"
|
279 |
+
|
280 |
+
#~ msgid ""
|
281 |
+
#~ "Add related posts to the post content on single posts. <br />If you "
|
282 |
+
#~ "choose to disable this, please add <code><?php if(function_exists"
|
283 |
+
#~ "('echo_ald_crp')) echo_ald_crp(); ?></code> to your template file "
|
284 |
+
#~ "where you want it displayed"
|
285 |
+
#~ msgstr ""
|
286 |
+
#~ "Agregar posts relacionados al contenido en posts únicos. <br />Si eliges "
|
287 |
+
#~ "desabilitar esto, por favor agrega <code><?php if(function_exists"
|
288 |
+
#~ "('echo_ald_crp')) echo_ald_crp(); ?></code> a tu archivo de template "
|
289 |
+
#~ "donde quieras q se muestre"
|
290 |
+
|
291 |
+
#~ msgid ""
|
292 |
+
#~ "Append link to this plugin as item. Optional, but would be nice to give "
|
293 |
+
#~ "me some link love"
|
294 |
+
#~ msgstr ""
|
295 |
+
#~ "Agregar link al creador del plugin. Opcional, pero seria bueno que me "
|
296 |
+
#~ "dieran algo de enlace de cariño."
|
297 |
+
|
298 |
+
#~ msgid ""
|
299 |
+
#~ "Post thumbnail meta field (the meta should point contain the image "
|
300 |
+
#~ "source): "
|
301 |
+
#~ msgstr ""
|
302 |
+
#~ "Campo meta de miniatura del post (debe apuntar al código de la imágen)"
|
303 |
+
|
304 |
+
#~ msgid "Thumbnail dimensions:"
|
305 |
+
#~ msgstr "Dimensiones miniatura:"
|
306 |
+
|
307 |
+
#~ msgid "Max width: "
|
308 |
+
#~ msgstr "Ancho máximo:"
|
309 |
+
|
310 |
+
#~ msgid "Max height: "
|
311 |
+
#~ msgstr "Altura máxima:"
|
312 |
+
|
313 |
+
#~ msgid "Support forum"
|
314 |
+
#~ msgstr "Forum de Soporte"
|
languages/crp-it_IT.mo
CHANGED
Binary file
|
languages/crp-it_IT.po
CHANGED
@@ -2,7 +2,7 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Contextual Related Posts in italiano\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
|
8 |
"Language-Team: Gianni Diurno | http://gidibao.net/ <gidibao@gmail.com>\n"
|
@@ -15,224 +15,297 @@ msgstr ""
|
|
15 |
"X-Poedit-Country: ITALY\n"
|
16 |
"X-Poedit-SearchPath-0: .\n"
|
17 |
|
18 |
-
#: admin.inc.php:
|
19 |
msgid "Options saved successfully."
|
20 |
msgstr "Le opzioni sono state salvate correttamente."
|
21 |
|
22 |
-
#: admin.inc.php:
|
23 |
msgid "Options set to Default."
|
24 |
msgstr "Opzioni impostate alle predefinite."
|
25 |
|
26 |
-
#: admin.inc.php:
|
27 |
msgid "Index recreated"
|
28 |
msgstr "E' stato ricreato l'indice"
|
29 |
|
30 |
-
#: admin.inc.php:
|
31 |
-
msgid "
|
32 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
|
34 |
-
#: admin.inc.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
msgid "Number of related posts to display: "
|
36 |
msgstr "numero di articoli correlati da mostrare:"
|
37 |
|
38 |
-
#: admin.inc.php:
|
39 |
msgid "Exclude Categories: "
|
40 |
msgstr "escludi le categorie:"
|
41 |
|
42 |
-
#: admin.inc.php:
|
43 |
-
msgid "Add related posts to the post content on single posts
|
44 |
-
msgstr "
|
45 |
|
46 |
-
#: admin.inc.php:
|
47 |
-
|
|
|
|
|
48 |
msgstr "aggiungi gli articoli correlati alle pagine. <br />oppure disattiva ed inserisci <code><?php if(function_exists('echo_ald_crp')) echo_ald_crp(); ?></code> nel tuo template laddove desideri che siano visualizzati"
|
49 |
|
50 |
-
#: admin.inc.php:
|
|
|
|
|
|
|
|
|
|
|
51 |
msgid "Add related posts to feed"
|
52 |
msgstr "aggiungi gli articoli correlati al feed"
|
53 |
|
54 |
-
#: admin.inc.php:
|
55 |
-
msgid "Find related posts based on content as well as title
|
|
|
|
|
|
|
|
|
|
|
56 |
msgstr "Ricerca degli articoli correlati in relazione al contenuto ed al titolo. Se disattivata, verranno utilizzati i soli titoli dei post. (in questo caso é preferibile attivare un plugin per la cache)"
|
57 |
|
58 |
-
#: admin.inc.php:
|
59 |
msgid "Exclude Pages in Related Posts"
|
60 |
msgstr "Escludi le pagine da Related Posts"
|
61 |
|
62 |
-
#: admin.inc.php:
|
63 |
-
msgid "
|
64 |
-
msgstr "
|
|
|
|
|
|
|
|
|
65 |
|
66 |
-
#: admin.inc.php:
|
67 |
-
|
|
|
68 |
msgstr "Opzioni output:"
|
69 |
|
70 |
-
#: admin.inc.php:
|
71 |
msgid "Title of related posts: "
|
72 |
msgstr "titolo per gli articoli correlati:"
|
73 |
|
74 |
-
#: admin.inc.php:
|
75 |
msgid "When there are no posts, what should be shown?"
|
76 |
msgstr "Cosa desideri mostrare in assenza di articoli?"
|
77 |
|
78 |
-
#: admin.inc.php:
|
79 |
msgid "Blank Output"
|
80 |
msgstr "nulla"
|
81 |
|
82 |
-
#: admin.inc.php:
|
83 |
msgid "Display \"No Related Posts\""
|
84 |
msgstr "\"Nessun articolo correlato\""
|
85 |
|
86 |
-
#: admin.inc.php:
|
87 |
msgid "Show post excerpt in list?"
|
88 |
msgstr "Desideri mostrare gli estratti?"
|
89 |
|
90 |
-
#: admin.inc.php:
|
91 |
msgid "Length of excerpt (in words): "
|
92 |
msgstr "Lunghezza estratto (in parole): "
|
93 |
|
94 |
-
#: admin.inc.php:
|
95 |
msgid "Customize the output:"
|
96 |
msgstr "Personalizzazione output:"
|
97 |
|
98 |
-
#: admin.inc.php:
|
99 |
msgid "HTML to display before the list of posts: "
|
100 |
msgstr "HTML da mostrare davanti alla lista degli articoli:"
|
101 |
|
102 |
-
#: admin.inc.php:
|
103 |
msgid "HTML to display before each list item: "
|
104 |
msgstr "HTML da mostrare davanti ad ogni singola lista:"
|
105 |
|
106 |
-
#: admin.inc.php:
|
107 |
msgid "HTML to display after each list item: "
|
108 |
msgstr "HTML da mostrare dopo ogni lista:"
|
109 |
|
110 |
-
#: admin.inc.php:
|
111 |
msgid "HTML to display after the list of posts: "
|
112 |
msgstr "HTML da mostrare dopo la lista degli articoli:"
|
113 |
|
114 |
-
#: admin.inc.php:
|
115 |
msgid "Post thumbnail options:"
|
116 |
msgstr "Opzioni miniature articolo:"
|
117 |
|
118 |
-
#: admin.inc.php:
|
|
|
|
|
|
|
|
|
119 |
msgid "Display thumbnails inline with posts"
|
120 |
msgstr "Mostra gli articoli con le miniature inline"
|
121 |
|
122 |
-
#: admin.inc.php:
|
123 |
msgid "Display only thumbnails, no text"
|
124 |
msgstr "Mostra le sole miniature, nessun testo"
|
125 |
|
126 |
-
#: admin.inc.php:
|
127 |
msgid "Do not display thumbnails, only text."
|
128 |
msgstr "Non mostrare le miniature, solo testo."
|
129 |
|
130 |
-
#: admin.inc.php:
|
131 |
-
msgid "
|
132 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
133 |
|
134 |
-
#: admin.inc.php:
|
135 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
136 |
msgstr "Se il postmeta non fosse stato impostato, il plugin estrarrà dall'articolo la prima immagine. Questa operazione potrebbe rallentare il caricamento del tuo articolo nel caso in cui la prima immagine corelata fosse di grandi dimensioni"
|
137 |
|
138 |
-
#: admin.inc.php:
|
139 |
-
|
140 |
-
|
|
|
141 |
|
142 |
-
#: admin.inc.php:
|
143 |
-
msgid "
|
144 |
-
msgstr "
|
145 |
|
146 |
-
#: admin.inc.php:
|
147 |
-
msgid "
|
148 |
-
msgstr "
|
149 |
|
150 |
-
#: admin.inc.php:
|
151 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
152 |
msgstr "Come prima operazione, il plugin controllerà la presenza di una miniatura nell'articolo. Nel caso in cui non fosse presente, verificherà il campo meta. Qualora non fosse disponibile, mostrerà l'immagine predefinita come specificato qui sotto:"
|
153 |
|
154 |
-
#: admin.inc.php:
|
155 |
msgid "Do you want to set options to Default?"
|
156 |
msgstr "Sei certo di volere impostare alle opzioni predefinite?"
|
157 |
|
158 |
-
#: admin.inc.php:
|
159 |
msgid "Are you sure you want to recreate the index?"
|
160 |
msgstr "Sei certo di volere ricreare l'indice?"
|
161 |
|
162 |
-
#: admin.inc.php:
|
163 |
-
msgid "Quick links"
|
164 |
-
msgstr "Collegamenti veloci"
|
165 |
-
|
166 |
-
#: admin.inc.php:256
|
167 |
-
msgid "Contextual Related Posts "
|
168 |
-
msgstr "Contextual Related Posts "
|
169 |
-
|
170 |
-
#: admin.inc.php:256
|
171 |
-
msgid "plugin page"
|
172 |
-
msgstr "pagina plugin"
|
173 |
-
|
174 |
-
#: admin.inc.php:257
|
175 |
-
msgid "Other plugins"
|
176 |
-
msgstr "Altri plugin"
|
177 |
-
|
178 |
-
#: admin.inc.php:258
|
179 |
-
msgid "Ajay's blog"
|
180 |
-
msgstr "Il blog di Ajay"
|
181 |
-
|
182 |
-
#: admin.inc.php:259
|
183 |
-
msgid "Support forum"
|
184 |
-
msgstr "Forum di supporto"
|
185 |
-
|
186 |
-
#: admin.inc.php:260
|
187 |
-
msgid "Follow @ajaydsouza on Twitter"
|
188 |
-
msgstr "Segui @ajaydsouza su Twitter"
|
189 |
-
|
190 |
-
#: admin.inc.php:264
|
191 |
-
msgid "Recent developments"
|
192 |
-
msgstr "Sviluppi recenti"
|
193 |
-
|
194 |
-
#: admin.inc.php:269
|
195 |
-
msgid "Support the development"
|
196 |
-
msgstr "Sostieni lo sviluppo"
|
197 |
-
|
198 |
-
#: admin.inc.php:277
|
199 |
-
msgid "Enter amount in USD: "
|
200 |
-
msgstr "Inserisci la cifra in USD: "
|
201 |
-
|
202 |
-
#: admin.inc.php:281
|
203 |
-
msgid "Send your donation to the author of"
|
204 |
-
msgstr "Invia la tua donazione all'autore di"
|
205 |
-
|
206 |
-
#: admin.inc.php:309
|
207 |
msgid "Contextual Related Posts"
|
208 |
msgstr "Contextual Related Posts"
|
209 |
|
210 |
-
#: admin.inc.php:
|
211 |
msgid "Related Posts"
|
212 |
msgstr "Related Posts"
|
213 |
|
214 |
-
#: contextual-related-posts.php:
|
215 |
msgid "Powered by"
|
216 |
msgstr "Powered by"
|
217 |
|
218 |
-
#: contextual-related-posts.php:
|
219 |
-
#: contextual-related-posts.php:
|
220 |
msgid "No related posts found"
|
221 |
msgstr "Non é stato trovato alcun articolo correlato"
|
222 |
|
223 |
-
#: contextual-related-posts.php:
|
224 |
msgid "<h3>Related Posts:</h3>"
|
225 |
msgstr "<h3>Related Posts:</h3>"
|
226 |
|
227 |
-
#: contextual-related-posts.php:
|
228 |
msgid "Settings"
|
229 |
msgstr "Impostazioni"
|
230 |
|
231 |
-
#: contextual-related-posts.php:
|
232 |
-
msgid "Support"
|
233 |
-
msgstr "Supporto"
|
234 |
-
|
235 |
-
#: contextual-related-posts.php:270
|
236 |
msgid "Donate"
|
237 |
msgstr "Donazioni"
|
238 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Contextual Related Posts in italiano\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2012-03-22 23:38-0000\n"
|
6 |
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
|
8 |
"Language-Team: Gianni Diurno | http://gidibao.net/ <gidibao@gmail.com>\n"
|
15 |
"X-Poedit-Country: ITALY\n"
|
16 |
"X-Poedit-SearchPath-0: .\n"
|
17 |
|
18 |
+
#: admin.inc.php:51
|
19 |
msgid "Options saved successfully."
|
20 |
msgstr "Le opzioni sono state salvate correttamente."
|
21 |
|
22 |
+
#: admin.inc.php:60
|
23 |
msgid "Options set to Default."
|
24 |
msgstr "Opzioni impostate alle predefinite."
|
25 |
|
26 |
+
#: admin.inc.php:75
|
27 |
msgid "Index recreated"
|
28 |
msgstr "E' stato ricreato l'indice"
|
29 |
|
30 |
+
#: admin.inc.php:88
|
31 |
+
msgid "Support the development"
|
32 |
+
msgstr "Sostieni lo sviluppo"
|
33 |
+
|
34 |
+
#: admin.inc.php:96
|
35 |
+
msgid "Enter amount in USD: "
|
36 |
+
msgstr "Inserisci la cifra in USD: "
|
37 |
+
|
38 |
+
#: admin.inc.php:100
|
39 |
+
msgid "Send your donation to the author of"
|
40 |
+
msgstr "Invia la tua donazione all'autore di"
|
41 |
+
|
42 |
+
#: admin.inc.php:106
|
43 |
+
msgid "Quick links"
|
44 |
+
msgstr "Collegamenti veloci"
|
45 |
+
|
46 |
+
#: admin.inc.php:108
|
47 |
+
msgid "Contextual Related Posts "
|
48 |
+
msgstr "Contextual Related Posts "
|
49 |
+
|
50 |
+
#: admin.inc.php:108
|
51 |
+
msgid "plugin page"
|
52 |
+
msgstr "pagina plugin"
|
53 |
+
|
54 |
+
#: admin.inc.php:109
|
55 |
+
msgid "Other plugins"
|
56 |
+
msgstr "Altri plugin"
|
57 |
+
|
58 |
+
#: admin.inc.php:110
|
59 |
+
msgid "Ajay's blog"
|
60 |
+
msgstr "Il blog di Ajay"
|
61 |
+
|
62 |
+
#: admin.inc.php:111
|
63 |
+
#: contextual-related-posts.php:301
|
64 |
+
msgid "Support"
|
65 |
+
msgstr "Supporto"
|
66 |
+
|
67 |
+
#: admin.inc.php:112
|
68 |
+
msgid "Follow @ajaydsouza on Twitter"
|
69 |
+
msgstr "Segui @ajaydsouza su Twitter"
|
70 |
|
71 |
+
#: admin.inc.php:116
|
72 |
+
msgid "Recent developments"
|
73 |
+
msgstr "Sviluppi recenti"
|
74 |
+
|
75 |
+
#: admin.inc.php:128
|
76 |
+
msgid "General options"
|
77 |
+
msgstr ""
|
78 |
+
|
79 |
+
#: admin.inc.php:131
|
80 |
msgid "Number of related posts to display: "
|
81 |
msgstr "numero di articoli correlati da mostrare:"
|
82 |
|
83 |
+
#: admin.inc.php:134
|
84 |
msgid "Exclude Categories: "
|
85 |
msgstr "escludi le categorie:"
|
86 |
|
87 |
+
#: admin.inc.php:152
|
88 |
+
msgid "Add related posts to the post content on single posts"
|
89 |
+
msgstr ""
|
90 |
|
91 |
+
#: admin.inc.php:153
|
92 |
+
#: admin.inc.php:156
|
93 |
+
#, fuzzy
|
94 |
+
msgid "If you choose to disable this, please add <code><?php if(function_exists('echo_ald_crp')) echo_ald_crp(); ?></code> to your template file where you want it displayed"
|
95 |
msgstr "aggiungi gli articoli correlati alle pagine. <br />oppure disattiva ed inserisci <code><?php if(function_exists('echo_ald_crp')) echo_ald_crp(); ?></code> nel tuo template laddove desideri che siano visualizzati"
|
96 |
|
97 |
+
#: admin.inc.php:155
|
98 |
+
#, fuzzy
|
99 |
+
msgid "Add related posts to pages"
|
100 |
+
msgstr "aggiungi gli articoli correlati al feed"
|
101 |
+
|
102 |
+
#: admin.inc.php:158
|
103 |
msgid "Add related posts to feed"
|
104 |
msgstr "aggiungi gli articoli correlati al feed"
|
105 |
|
106 |
+
#: admin.inc.php:161
|
107 |
+
msgid "Find related posts based on content as well as title"
|
108 |
+
msgstr ""
|
109 |
+
|
110 |
+
#: admin.inc.php:162
|
111 |
+
#, fuzzy
|
112 |
+
msgid "If unchecked, only posts titles are used. (I recommend using a caching plugin if you enable this)"
|
113 |
msgstr "Ricerca degli articoli correlati in relazione al contenuto ed al titolo. Se disattivata, verranno utilizzati i soli titoli dei post. (in questo caso é preferibile attivare un plugin per la cache)"
|
114 |
|
115 |
+
#: admin.inc.php:164
|
116 |
msgid "Exclude Pages in Related Posts"
|
117 |
msgstr "Escludi le pagine da Related Posts"
|
118 |
|
119 |
+
#: admin.inc.php:167
|
120 |
+
msgid "Add a link to the plugin page as a final item in the list"
|
121 |
+
msgstr ""
|
122 |
+
|
123 |
+
#: admin.inc.php:168
|
124 |
+
msgid " <em>Optional</em>"
|
125 |
+
msgstr ""
|
126 |
|
127 |
+
#: admin.inc.php:176
|
128 |
+
#, fuzzy
|
129 |
+
msgid "Output Options"
|
130 |
msgstr "Opzioni output:"
|
131 |
|
132 |
+
#: admin.inc.php:179
|
133 |
msgid "Title of related posts: "
|
134 |
msgstr "titolo per gli articoli correlati:"
|
135 |
|
136 |
+
#: admin.inc.php:182
|
137 |
msgid "When there are no posts, what should be shown?"
|
138 |
msgstr "Cosa desideri mostrare in assenza di articoli?"
|
139 |
|
140 |
+
#: admin.inc.php:186
|
141 |
msgid "Blank Output"
|
142 |
msgstr "nulla"
|
143 |
|
144 |
+
#: admin.inc.php:190
|
145 |
msgid "Display \"No Related Posts\""
|
146 |
msgstr "\"Nessun articolo correlato\""
|
147 |
|
148 |
+
#: admin.inc.php:194
|
149 |
msgid "Show post excerpt in list?"
|
150 |
msgstr "Desideri mostrare gli estratti?"
|
151 |
|
152 |
+
#: admin.inc.php:197
|
153 |
msgid "Length of excerpt (in words): "
|
154 |
msgstr "Lunghezza estratto (in parole): "
|
155 |
|
156 |
+
#: admin.inc.php:200
|
157 |
msgid "Customize the output:"
|
158 |
msgstr "Personalizzazione output:"
|
159 |
|
160 |
+
#: admin.inc.php:202
|
161 |
msgid "HTML to display before the list of posts: "
|
162 |
msgstr "HTML da mostrare davanti alla lista degli articoli:"
|
163 |
|
164 |
+
#: admin.inc.php:205
|
165 |
msgid "HTML to display before each list item: "
|
166 |
msgstr "HTML da mostrare davanti ad ogni singola lista:"
|
167 |
|
168 |
+
#: admin.inc.php:208
|
169 |
msgid "HTML to display after each list item: "
|
170 |
msgstr "HTML da mostrare dopo ogni lista:"
|
171 |
|
172 |
+
#: admin.inc.php:211
|
173 |
msgid "HTML to display after the list of posts: "
|
174 |
msgstr "HTML da mostrare dopo la lista degli articoli:"
|
175 |
|
176 |
+
#: admin.inc.php:214
|
177 |
msgid "Post thumbnail options:"
|
178 |
msgstr "Opzioni miniature articolo:"
|
179 |
|
180 |
+
#: admin.inc.php:216
|
181 |
+
msgid "Location of post thumbnail:"
|
182 |
+
msgstr ""
|
183 |
+
|
184 |
+
#: admin.inc.php:220
|
185 |
msgid "Display thumbnails inline with posts"
|
186 |
msgstr "Mostra gli articoli con le miniature inline"
|
187 |
|
188 |
+
#: admin.inc.php:224
|
189 |
msgid "Display only thumbnails, no text"
|
190 |
msgstr "Mostra le sole miniature, nessun testo"
|
191 |
|
192 |
+
#: admin.inc.php:228
|
193 |
msgid "Do not display thumbnails, only text."
|
194 |
msgstr "Non mostrare le miniature, solo testo."
|
195 |
|
196 |
+
#: admin.inc.php:231
|
197 |
+
msgid "Maximum width of the thumbnail: "
|
198 |
+
msgstr ""
|
199 |
+
|
200 |
+
#: admin.inc.php:234
|
201 |
+
msgid "Maximum height of the thumbnail: "
|
202 |
+
msgstr ""
|
203 |
+
|
204 |
+
#: admin.inc.php:237
|
205 |
+
#, fuzzy
|
206 |
+
msgid "Post thumbnail meta field name: "
|
207 |
+
msgstr "Opzioni miniature articolo:"
|
208 |
|
209 |
+
#: admin.inc.php:238
|
210 |
+
msgid "The value of this field should contain the image source and is set in the <em>Add New Post</em> screen"
|
211 |
+
msgstr ""
|
212 |
+
|
213 |
+
#: admin.inc.php:240
|
214 |
+
#, fuzzy
|
215 |
+
msgid "If the postmeta is not set, then should the plugin extract the first image from the post?"
|
216 |
msgstr "Se il postmeta non fosse stato impostato, il plugin estrarrà dall'articolo la prima immagine. Questa operazione potrebbe rallentare il caricamento del tuo articolo nel caso in cui la prima immagine corelata fosse di grandi dimensioni"
|
217 |
|
218 |
+
#: admin.inc.php:241
|
219 |
+
#, fuzzy
|
220 |
+
msgid "This can slow down the loading of your page if the first image in the related posts is large in file-size"
|
221 |
+
msgstr "Se il postmeta non fosse stato impostato, il plugin estrarrà dall'articolo la prima immagine. Questa operazione potrebbe rallentare il caricamento del tuo articolo nel caso in cui la prima immagine corelata fosse di grandi dimensioni"
|
222 |
|
223 |
+
#: admin.inc.php:243
|
224 |
+
msgid "Use default thumbnail? "
|
225 |
+
msgstr ""
|
226 |
|
227 |
+
#: admin.inc.php:244
|
228 |
+
msgid "If checked, when no thumbnail is found, show a default one from the URL below. If not checked and no thumbnail is found, no image will be shown."
|
229 |
+
msgstr ""
|
230 |
|
231 |
+
#: admin.inc.php:246
|
232 |
+
msgid "Default thumbnail: "
|
233 |
+
msgstr ""
|
234 |
+
|
235 |
+
#: admin.inc.php:247
|
236 |
+
#, fuzzy
|
237 |
+
msgid "The plugin will first check if the post contains a thumbnail. If it doesn't then it will check the meta field. If this is not available, then it will show the default image as specified above"
|
238 |
msgstr "Come prima operazione, il plugin controllerà la presenza di una miniatura nell'articolo. Nel caso in cui non fosse presente, verificherà il campo meta. Qualora non fosse disponibile, mostrerà l'immagine predefinita come specificato qui sotto:"
|
239 |
|
240 |
+
#: admin.inc.php:254
|
241 |
msgid "Do you want to set options to Default?"
|
242 |
msgstr "Sei certo di volere impostare alle opzioni predefinite?"
|
243 |
|
244 |
+
#: admin.inc.php:255
|
245 |
msgid "Are you sure you want to recreate the index?"
|
246 |
msgstr "Sei certo di volere ricreare l'indice?"
|
247 |
|
248 |
+
#: admin.inc.php:285
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
249 |
msgid "Contextual Related Posts"
|
250 |
msgstr "Contextual Related Posts"
|
251 |
|
252 |
+
#: admin.inc.php:285
|
253 |
msgid "Related Posts"
|
254 |
msgstr "Related Posts"
|
255 |
|
256 |
+
#: contextual-related-posts.php:117
|
257 |
msgid "Powered by"
|
258 |
msgstr "Powered by"
|
259 |
|
260 |
+
#: contextual-related-posts.php:122
|
261 |
+
#: contextual-related-posts.php:126
|
262 |
msgid "No related posts found"
|
263 |
msgstr "Non é stato trovato alcun articolo correlato"
|
264 |
|
265 |
+
#: contextual-related-posts.php:166
|
266 |
msgid "<h3>Related Posts:</h3>"
|
267 |
msgstr "<h3>Related Posts:</h3>"
|
268 |
|
269 |
+
#: contextual-related-posts.php:300
|
270 |
msgid "Settings"
|
271 |
msgstr "Impostazioni"
|
272 |
|
273 |
+
#: contextual-related-posts.php:302
|
|
|
|
|
|
|
|
|
274 |
msgid "Donate"
|
275 |
msgstr "Donazioni"
|
276 |
|
277 |
+
#~ msgid "Options:"
|
278 |
+
#~ msgstr "Opzioni:"
|
279 |
+
|
280 |
+
#~ msgid ""
|
281 |
+
#~ "Add related posts to the post content on single posts. <br />If you "
|
282 |
+
#~ "choose to disable this, please add <code><?php if(function_exists"
|
283 |
+
#~ "('echo_ald_crp')) echo_ald_crp(); ?></code> to your template file "
|
284 |
+
#~ "where you want it displayed"
|
285 |
+
#~ msgstr ""
|
286 |
+
#~ "aggiungi gli articoli correlati ai contenuti del post (articoli singoli). "
|
287 |
+
#~ "<br />oppure disattiva ed inserisci <code><?php if(function_exists"
|
288 |
+
#~ "('echo_ald_crp')) echo_ald_crp(); ?></code> nel tuo template laddove "
|
289 |
+
#~ "desideri che siano visualizzati"
|
290 |
+
|
291 |
+
#~ msgid ""
|
292 |
+
#~ "Append link to this plugin as item. Optional, but would be nice to give "
|
293 |
+
#~ "me some link love"
|
294 |
+
#~ msgstr "Inserisci link di credito. Facoltativo, ma gradito"
|
295 |
+
|
296 |
+
#~ msgid ""
|
297 |
+
#~ "Post thumbnail meta field (the meta should point contain the image "
|
298 |
+
#~ "source): "
|
299 |
+
#~ msgstr "Campo meta per le miniature (il valore deve puntare alla immagine):"
|
300 |
+
|
301 |
+
#~ msgid "Thumbnail dimensions:"
|
302 |
+
#~ msgstr "Dimensione miniature:"
|
303 |
+
|
304 |
+
#~ msgid "Max width: "
|
305 |
+
#~ msgstr "Larghezza massima:"
|
306 |
+
|
307 |
+
#~ msgid "Max height: "
|
308 |
+
#~ msgstr "Altezza massima:"
|
309 |
+
|
310 |
+
#~ msgid "Support forum"
|
311 |
+
#~ msgstr "Forum di supporto"
|
languages/crp-nl_NL.mo
CHANGED
Binary file
|
languages/crp-nl_NL.po
CHANGED
@@ -2,7 +2,7 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Contextual Related Posts\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
|
8 |
"Language-Team: http://WPwebshop.com <info@wppg.me>\n"
|
@@ -17,224 +17,301 @@ msgstr ""
|
|
17 |
"X-Poedit-SourceCharset: utf-8\n"
|
18 |
"X-Poedit-SearchPath-0: .\n"
|
19 |
|
20 |
-
#: admin.inc.php:
|
21 |
msgid "Options saved successfully."
|
22 |
msgstr "Opties succesvol opgeslagen."
|
23 |
|
24 |
-
#: admin.inc.php:
|
25 |
msgid "Options set to Default."
|
26 |
msgstr "Opties ingesteld op standaard."
|
27 |
|
28 |
-
#: admin.inc.php:
|
29 |
msgid "Index recreated"
|
30 |
msgstr "Index opnieuw gemaakt"
|
31 |
|
32 |
-
#: admin.inc.php:
|
33 |
-
msgid "
|
34 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
|
36 |
-
#: admin.inc.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
37 |
msgid "Number of related posts to display: "
|
38 |
msgstr "Aantal weer te geven gerelateerde berichten:"
|
39 |
|
40 |
-
#: admin.inc.php:
|
41 |
msgid "Exclude Categories: "
|
42 |
msgstr "Uitsluiten Categorieën"
|
43 |
|
44 |
-
#: admin.inc.php:
|
45 |
-
msgid "Add related posts to the post content on single posts
|
46 |
-
msgstr "
|
47 |
|
48 |
-
#: admin.inc.php:
|
49 |
-
|
|
|
|
|
50 |
msgstr "Voeg gerelateerde berichten toe aan pagina's. <br />Wanneer je ervoor kiest om dit uit te zetten moet je de code <code><?php if(function_exists('echo_ald_crp')) echo_ald_crp(); ?></code> toevoegen aan je sjabloon bestand waar je het wilt laten weergeven"
|
51 |
|
52 |
-
#: admin.inc.php:
|
|
|
|
|
|
|
|
|
|
|
53 |
msgid "Add related posts to feed"
|
54 |
msgstr "Voeg gerelateerde berichten toe aan feed"
|
55 |
|
56 |
-
#: admin.inc.php:
|
57 |
-
msgid "Find related posts based on content as well as title
|
|
|
|
|
|
|
|
|
|
|
58 |
msgstr "Vind gerelateerde berichten gebaseerd op zowel content als titel. Indien niet geselecteerd worden er alleen berichttitels gebruikt. (Ik beveel het gebruik van een caching plugin aan wanneer je dit inschakelt)"
|
59 |
|
60 |
-
#: admin.inc.php:
|
61 |
msgid "Exclude Pages in Related Posts"
|
62 |
msgstr "Uitsluiten Pagina's in Gerelateerde Berichten"
|
63 |
|
64 |
-
#: admin.inc.php:
|
65 |
-
msgid "
|
66 |
-
msgstr "
|
|
|
|
|
|
|
|
|
67 |
|
68 |
-
#: admin.inc.php:
|
69 |
-
|
|
|
70 |
msgstr "Output Opties:"
|
71 |
|
72 |
-
#: admin.inc.php:
|
73 |
msgid "Title of related posts: "
|
74 |
msgstr "Titel van gerelateerde berichten:"
|
75 |
|
76 |
-
#: admin.inc.php:
|
77 |
msgid "When there are no posts, what should be shown?"
|
78 |
msgstr "Wat moet er weergegeven worden wanneer er geen berichten zijn?"
|
79 |
|
80 |
-
#: admin.inc.php:
|
81 |
msgid "Blank Output"
|
82 |
msgstr "Lege Output"
|
83 |
|
84 |
-
#: admin.inc.php:
|
85 |
msgid "Display \"No Related Posts\""
|
86 |
msgstr "Weergave \"Geen Gerelateerde Berichten\""
|
87 |
|
88 |
-
#: admin.inc.php:
|
89 |
msgid "Show post excerpt in list?"
|
90 |
msgstr "Laat bericht uittreksel zien in lijst?"
|
91 |
|
92 |
-
#: admin.inc.php:
|
93 |
msgid "Length of excerpt (in words): "
|
94 |
msgstr "Lengte van uittreksel (in woorden):"
|
95 |
|
96 |
-
#: admin.inc.php:
|
97 |
msgid "Customize the output:"
|
98 |
msgstr "Aanpassen van de output:"
|
99 |
|
100 |
-
#: admin.inc.php:
|
101 |
msgid "HTML to display before the list of posts: "
|
102 |
msgstr "Weer te geven HTML voor de berichtenlijst:"
|
103 |
|
104 |
-
#: admin.inc.php:
|
105 |
msgid "HTML to display before each list item: "
|
106 |
msgstr "Weer te geven HTML voor elk item in de lijst:"
|
107 |
|
108 |
-
#: admin.inc.php:
|
109 |
msgid "HTML to display after each list item: "
|
110 |
msgstr "Weer te geven HTML na elk item in de lijst:"
|
111 |
|
112 |
-
#: admin.inc.php:
|
113 |
msgid "HTML to display after the list of posts: "
|
114 |
msgstr "Weer te geven HTML na de berichtenlijst:"
|
115 |
|
116 |
-
#: admin.inc.php:
|
117 |
msgid "Post thumbnail options:"
|
118 |
msgstr "Berichtopties miniatuurafbeelding:"
|
119 |
|
120 |
-
#: admin.inc.php:
|
|
|
|
|
|
|
|
|
121 |
msgid "Display thumbnails inline with posts"
|
122 |
msgstr "Toon miniatuurafbeeldingen inline met berichten"
|
123 |
|
124 |
-
#: admin.inc.php:
|
125 |
msgid "Display only thumbnails, no text"
|
126 |
msgstr "Alleen miniatuurafbeeldingen weergeven, geen tekst"
|
127 |
|
128 |
-
#: admin.inc.php:
|
129 |
msgid "Do not display thumbnails, only text."
|
130 |
msgstr "Geen miniatuurafbeeldingen weergeven, alleen tekst."
|
131 |
|
132 |
-
#: admin.inc.php:
|
133 |
-
msgid "
|
134 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
135 |
|
136 |
-
#: admin.inc.php:
|
137 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
138 |
msgstr "Als de postmeta niet is ingesteld moet de plugin de eerste afbeelding van het bericht uitpakken. Dit kan het laden van uw bericht vertragen, indien het eerste beeld in de gerelateerde berichten groot is qua bestandsgrootte"
|
139 |
|
140 |
-
#: admin.inc.php:
|
141 |
-
|
142 |
-
|
|
|
143 |
|
144 |
-
#: admin.inc.php:
|
145 |
-
msgid "
|
146 |
-
msgstr "
|
147 |
|
148 |
-
#: admin.inc.php:
|
149 |
-
msgid "
|
150 |
-
msgstr "
|
151 |
|
152 |
-
#: admin.inc.php:
|
153 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
154 |
msgstr "De plugin zal eerst controleren of het bericht een miniatuurafbeelding bevat, zoniet dan zal de plugin het metaveld controleren. Wanneer het geen miniatuurafbeelding bevat wordt de standaard afbeelding getoond zoals hieronder aangegeven:"
|
155 |
|
156 |
-
#: admin.inc.php:
|
157 |
msgid "Do you want to set options to Default?"
|
158 |
msgstr "Wil je opties terug naar standaard instellen?"
|
159 |
|
160 |
-
#: admin.inc.php:
|
161 |
msgid "Are you sure you want to recreate the index?"
|
162 |
msgstr "Weet je zeker dat je de index opnieuw wilt creeëren?"
|
163 |
|
164 |
-
#: admin.inc.php:
|
165 |
-
msgid "Quick links"
|
166 |
-
msgstr "Quick links"
|
167 |
-
|
168 |
-
#: admin.inc.php:256
|
169 |
-
msgid "Contextual Related Posts "
|
170 |
-
msgstr "Contextual Related Posts "
|
171 |
-
|
172 |
-
#: admin.inc.php:256
|
173 |
-
msgid "plugin page"
|
174 |
-
msgstr "plugin pagina"
|
175 |
-
|
176 |
-
#: admin.inc.php:257
|
177 |
-
msgid "Other plugins"
|
178 |
-
msgstr "Andere plugins"
|
179 |
-
|
180 |
-
#: admin.inc.php:258
|
181 |
-
msgid "Ajay's blog"
|
182 |
-
msgstr "Ajay's blog"
|
183 |
-
|
184 |
-
#: admin.inc.php:259
|
185 |
-
msgid "Support forum"
|
186 |
-
msgstr "Ondersteuningsforum"
|
187 |
-
|
188 |
-
#: admin.inc.php:260
|
189 |
-
msgid "Follow @ajaydsouza on Twitter"
|
190 |
-
msgstr "Volg @ajaydsouza via Twitter"
|
191 |
-
|
192 |
-
#: admin.inc.php:264
|
193 |
-
msgid "Recent developments"
|
194 |
-
msgstr "Recente ontwikkelingen"
|
195 |
-
|
196 |
-
#: admin.inc.php:269
|
197 |
-
msgid "Support the development"
|
198 |
-
msgstr "Ondersteun de ontwikkeling"
|
199 |
-
|
200 |
-
#: admin.inc.php:277
|
201 |
-
msgid "Enter amount in USD: "
|
202 |
-
msgstr "Voer het bedrag in USD in:"
|
203 |
-
|
204 |
-
#: admin.inc.php:281
|
205 |
-
msgid "Send your donation to the author of"
|
206 |
-
msgstr "Stuur je donatie aan de auteur van"
|
207 |
-
|
208 |
-
#: admin.inc.php:309
|
209 |
msgid "Contextual Related Posts"
|
210 |
msgstr "Contextual Related Posts"
|
211 |
|
212 |
-
#: admin.inc.php:
|
213 |
msgid "Related Posts"
|
214 |
msgstr "Gerelateerde Berichten"
|
215 |
|
216 |
-
#: contextual-related-posts.php:
|
217 |
msgid "Powered by"
|
218 |
msgstr "Powered by"
|
219 |
|
220 |
-
#: contextual-related-posts.php:
|
221 |
-
#: contextual-related-posts.php:
|
222 |
msgid "No related posts found"
|
223 |
msgstr "Geen gerelateerde berichten gevonden"
|
224 |
|
225 |
-
#: contextual-related-posts.php:
|
226 |
msgid "<h3>Related Posts:</h3>"
|
227 |
msgstr "<h3>Gerelateerde Berichten:</h3>"
|
228 |
|
229 |
-
#: contextual-related-posts.php:
|
230 |
msgid "Settings"
|
231 |
msgstr "Instellingen"
|
232 |
|
233 |
-
#: contextual-related-posts.php:
|
234 |
-
msgid "Support"
|
235 |
-
msgstr "Ondersteuning"
|
236 |
-
|
237 |
-
#: contextual-related-posts.php:270
|
238 |
msgid "Donate"
|
239 |
msgstr "Doneren"
|
240 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Contextual Related Posts\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2012-03-22 23:38-0000\n"
|
6 |
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
|
8 |
"Language-Team: http://WPwebshop.com <info@wppg.me>\n"
|
17 |
"X-Poedit-SourceCharset: utf-8\n"
|
18 |
"X-Poedit-SearchPath-0: .\n"
|
19 |
|
20 |
+
#: admin.inc.php:51
|
21 |
msgid "Options saved successfully."
|
22 |
msgstr "Opties succesvol opgeslagen."
|
23 |
|
24 |
+
#: admin.inc.php:60
|
25 |
msgid "Options set to Default."
|
26 |
msgstr "Opties ingesteld op standaard."
|
27 |
|
28 |
+
#: admin.inc.php:75
|
29 |
msgid "Index recreated"
|
30 |
msgstr "Index opnieuw gemaakt"
|
31 |
|
32 |
+
#: admin.inc.php:88
|
33 |
+
msgid "Support the development"
|
34 |
+
msgstr "Ondersteun de ontwikkeling"
|
35 |
+
|
36 |
+
#: admin.inc.php:96
|
37 |
+
msgid "Enter amount in USD: "
|
38 |
+
msgstr "Voer het bedrag in USD in:"
|
39 |
+
|
40 |
+
#: admin.inc.php:100
|
41 |
+
msgid "Send your donation to the author of"
|
42 |
+
msgstr "Stuur je donatie aan de auteur van"
|
43 |
+
|
44 |
+
#: admin.inc.php:106
|
45 |
+
msgid "Quick links"
|
46 |
+
msgstr "Quick links"
|
47 |
+
|
48 |
+
#: admin.inc.php:108
|
49 |
+
msgid "Contextual Related Posts "
|
50 |
+
msgstr "Contextual Related Posts "
|
51 |
+
|
52 |
+
#: admin.inc.php:108
|
53 |
+
msgid "plugin page"
|
54 |
+
msgstr "plugin pagina"
|
55 |
+
|
56 |
+
#: admin.inc.php:109
|
57 |
+
msgid "Other plugins"
|
58 |
+
msgstr "Andere plugins"
|
59 |
+
|
60 |
+
#: admin.inc.php:110
|
61 |
+
msgid "Ajay's blog"
|
62 |
+
msgstr "Ajay's blog"
|
63 |
+
|
64 |
+
#: admin.inc.php:111
|
65 |
+
#: contextual-related-posts.php:301
|
66 |
+
msgid "Support"
|
67 |
+
msgstr "Ondersteuning"
|
68 |
+
|
69 |
+
#: admin.inc.php:112
|
70 |
+
msgid "Follow @ajaydsouza on Twitter"
|
71 |
+
msgstr "Volg @ajaydsouza via Twitter"
|
72 |
|
73 |
+
#: admin.inc.php:116
|
74 |
+
msgid "Recent developments"
|
75 |
+
msgstr "Recente ontwikkelingen"
|
76 |
+
|
77 |
+
#: admin.inc.php:128
|
78 |
+
msgid "General options"
|
79 |
+
msgstr ""
|
80 |
+
|
81 |
+
#: admin.inc.php:131
|
82 |
msgid "Number of related posts to display: "
|
83 |
msgstr "Aantal weer te geven gerelateerde berichten:"
|
84 |
|
85 |
+
#: admin.inc.php:134
|
86 |
msgid "Exclude Categories: "
|
87 |
msgstr "Uitsluiten Categorieën"
|
88 |
|
89 |
+
#: admin.inc.php:152
|
90 |
+
msgid "Add related posts to the post content on single posts"
|
91 |
+
msgstr ""
|
92 |
|
93 |
+
#: admin.inc.php:153
|
94 |
+
#: admin.inc.php:156
|
95 |
+
#, fuzzy
|
96 |
+
msgid "If you choose to disable this, please add <code><?php if(function_exists('echo_ald_crp')) echo_ald_crp(); ?></code> to your template file where you want it displayed"
|
97 |
msgstr "Voeg gerelateerde berichten toe aan pagina's. <br />Wanneer je ervoor kiest om dit uit te zetten moet je de code <code><?php if(function_exists('echo_ald_crp')) echo_ald_crp(); ?></code> toevoegen aan je sjabloon bestand waar je het wilt laten weergeven"
|
98 |
|
99 |
+
#: admin.inc.php:155
|
100 |
+
#, fuzzy
|
101 |
+
msgid "Add related posts to pages"
|
102 |
+
msgstr "Voeg gerelateerde berichten toe aan feed"
|
103 |
+
|
104 |
+
#: admin.inc.php:158
|
105 |
msgid "Add related posts to feed"
|
106 |
msgstr "Voeg gerelateerde berichten toe aan feed"
|
107 |
|
108 |
+
#: admin.inc.php:161
|
109 |
+
msgid "Find related posts based on content as well as title"
|
110 |
+
msgstr ""
|
111 |
+
|
112 |
+
#: admin.inc.php:162
|
113 |
+
#, fuzzy
|
114 |
+
msgid "If unchecked, only posts titles are used. (I recommend using a caching plugin if you enable this)"
|
115 |
msgstr "Vind gerelateerde berichten gebaseerd op zowel content als titel. Indien niet geselecteerd worden er alleen berichttitels gebruikt. (Ik beveel het gebruik van een caching plugin aan wanneer je dit inschakelt)"
|
116 |
|
117 |
+
#: admin.inc.php:164
|
118 |
msgid "Exclude Pages in Related Posts"
|
119 |
msgstr "Uitsluiten Pagina's in Gerelateerde Berichten"
|
120 |
|
121 |
+
#: admin.inc.php:167
|
122 |
+
msgid "Add a link to the plugin page as a final item in the list"
|
123 |
+
msgstr ""
|
124 |
+
|
125 |
+
#: admin.inc.php:168
|
126 |
+
msgid " <em>Optional</em>"
|
127 |
+
msgstr ""
|
128 |
|
129 |
+
#: admin.inc.php:176
|
130 |
+
#, fuzzy
|
131 |
+
msgid "Output Options"
|
132 |
msgstr "Output Opties:"
|
133 |
|
134 |
+
#: admin.inc.php:179
|
135 |
msgid "Title of related posts: "
|
136 |
msgstr "Titel van gerelateerde berichten:"
|
137 |
|
138 |
+
#: admin.inc.php:182
|
139 |
msgid "When there are no posts, what should be shown?"
|
140 |
msgstr "Wat moet er weergegeven worden wanneer er geen berichten zijn?"
|
141 |
|
142 |
+
#: admin.inc.php:186
|
143 |
msgid "Blank Output"
|
144 |
msgstr "Lege Output"
|
145 |
|
146 |
+
#: admin.inc.php:190
|
147 |
msgid "Display \"No Related Posts\""
|
148 |
msgstr "Weergave \"Geen Gerelateerde Berichten\""
|
149 |
|
150 |
+
#: admin.inc.php:194
|
151 |
msgid "Show post excerpt in list?"
|
152 |
msgstr "Laat bericht uittreksel zien in lijst?"
|
153 |
|
154 |
+
#: admin.inc.php:197
|
155 |
msgid "Length of excerpt (in words): "
|
156 |
msgstr "Lengte van uittreksel (in woorden):"
|
157 |
|
158 |
+
#: admin.inc.php:200
|
159 |
msgid "Customize the output:"
|
160 |
msgstr "Aanpassen van de output:"
|
161 |
|
162 |
+
#: admin.inc.php:202
|
163 |
msgid "HTML to display before the list of posts: "
|
164 |
msgstr "Weer te geven HTML voor de berichtenlijst:"
|
165 |
|
166 |
+
#: admin.inc.php:205
|
167 |
msgid "HTML to display before each list item: "
|
168 |
msgstr "Weer te geven HTML voor elk item in de lijst:"
|
169 |
|
170 |
+
#: admin.inc.php:208
|
171 |
msgid "HTML to display after each list item: "
|
172 |
msgstr "Weer te geven HTML na elk item in de lijst:"
|
173 |
|
174 |
+
#: admin.inc.php:211
|
175 |
msgid "HTML to display after the list of posts: "
|
176 |
msgstr "Weer te geven HTML na de berichtenlijst:"
|
177 |
|
178 |
+
#: admin.inc.php:214
|
179 |
msgid "Post thumbnail options:"
|
180 |
msgstr "Berichtopties miniatuurafbeelding:"
|
181 |
|
182 |
+
#: admin.inc.php:216
|
183 |
+
msgid "Location of post thumbnail:"
|
184 |
+
msgstr ""
|
185 |
+
|
186 |
+
#: admin.inc.php:220
|
187 |
msgid "Display thumbnails inline with posts"
|
188 |
msgstr "Toon miniatuurafbeeldingen inline met berichten"
|
189 |
|
190 |
+
#: admin.inc.php:224
|
191 |
msgid "Display only thumbnails, no text"
|
192 |
msgstr "Alleen miniatuurafbeeldingen weergeven, geen tekst"
|
193 |
|
194 |
+
#: admin.inc.php:228
|
195 |
msgid "Do not display thumbnails, only text."
|
196 |
msgstr "Geen miniatuurafbeeldingen weergeven, alleen tekst."
|
197 |
|
198 |
+
#: admin.inc.php:231
|
199 |
+
msgid "Maximum width of the thumbnail: "
|
200 |
+
msgstr ""
|
201 |
+
|
202 |
+
#: admin.inc.php:234
|
203 |
+
msgid "Maximum height of the thumbnail: "
|
204 |
+
msgstr ""
|
205 |
+
|
206 |
+
#: admin.inc.php:237
|
207 |
+
#, fuzzy
|
208 |
+
msgid "Post thumbnail meta field name: "
|
209 |
+
msgstr "Berichtopties miniatuurafbeelding:"
|
210 |
|
211 |
+
#: admin.inc.php:238
|
212 |
+
msgid "The value of this field should contain the image source and is set in the <em>Add New Post</em> screen"
|
213 |
+
msgstr ""
|
214 |
+
|
215 |
+
#: admin.inc.php:240
|
216 |
+
#, fuzzy
|
217 |
+
msgid "If the postmeta is not set, then should the plugin extract the first image from the post?"
|
218 |
msgstr "Als de postmeta niet is ingesteld moet de plugin de eerste afbeelding van het bericht uitpakken. Dit kan het laden van uw bericht vertragen, indien het eerste beeld in de gerelateerde berichten groot is qua bestandsgrootte"
|
219 |
|
220 |
+
#: admin.inc.php:241
|
221 |
+
#, fuzzy
|
222 |
+
msgid "This can slow down the loading of your page if the first image in the related posts is large in file-size"
|
223 |
+
msgstr "Als de postmeta niet is ingesteld moet de plugin de eerste afbeelding van het bericht uitpakken. Dit kan het laden van uw bericht vertragen, indien het eerste beeld in de gerelateerde berichten groot is qua bestandsgrootte"
|
224 |
|
225 |
+
#: admin.inc.php:243
|
226 |
+
msgid "Use default thumbnail? "
|
227 |
+
msgstr ""
|
228 |
|
229 |
+
#: admin.inc.php:244
|
230 |
+
msgid "If checked, when no thumbnail is found, show a default one from the URL below. If not checked and no thumbnail is found, no image will be shown."
|
231 |
+
msgstr ""
|
232 |
|
233 |
+
#: admin.inc.php:246
|
234 |
+
msgid "Default thumbnail: "
|
235 |
+
msgstr ""
|
236 |
+
|
237 |
+
#: admin.inc.php:247
|
238 |
+
#, fuzzy
|
239 |
+
msgid "The plugin will first check if the post contains a thumbnail. If it doesn't then it will check the meta field. If this is not available, then it will show the default image as specified above"
|
240 |
msgstr "De plugin zal eerst controleren of het bericht een miniatuurafbeelding bevat, zoniet dan zal de plugin het metaveld controleren. Wanneer het geen miniatuurafbeelding bevat wordt de standaard afbeelding getoond zoals hieronder aangegeven:"
|
241 |
|
242 |
+
#: admin.inc.php:254
|
243 |
msgid "Do you want to set options to Default?"
|
244 |
msgstr "Wil je opties terug naar standaard instellen?"
|
245 |
|
246 |
+
#: admin.inc.php:255
|
247 |
msgid "Are you sure you want to recreate the index?"
|
248 |
msgstr "Weet je zeker dat je de index opnieuw wilt creeëren?"
|
249 |
|
250 |
+
#: admin.inc.php:285
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
251 |
msgid "Contextual Related Posts"
|
252 |
msgstr "Contextual Related Posts"
|
253 |
|
254 |
+
#: admin.inc.php:285
|
255 |
msgid "Related Posts"
|
256 |
msgstr "Gerelateerde Berichten"
|
257 |
|
258 |
+
#: contextual-related-posts.php:117
|
259 |
msgid "Powered by"
|
260 |
msgstr "Powered by"
|
261 |
|
262 |
+
#: contextual-related-posts.php:122
|
263 |
+
#: contextual-related-posts.php:126
|
264 |
msgid "No related posts found"
|
265 |
msgstr "Geen gerelateerde berichten gevonden"
|
266 |
|
267 |
+
#: contextual-related-posts.php:166
|
268 |
msgid "<h3>Related Posts:</h3>"
|
269 |
msgstr "<h3>Gerelateerde Berichten:</h3>"
|
270 |
|
271 |
+
#: contextual-related-posts.php:300
|
272 |
msgid "Settings"
|
273 |
msgstr "Instellingen"
|
274 |
|
275 |
+
#: contextual-related-posts.php:302
|
|
|
|
|
|
|
|
|
276 |
msgid "Donate"
|
277 |
msgstr "Doneren"
|
278 |
|
279 |
+
#~ msgid "Options:"
|
280 |
+
#~ msgstr "Opties:"
|
281 |
+
|
282 |
+
#~ msgid ""
|
283 |
+
#~ "Add related posts to the post content on single posts. <br />If you "
|
284 |
+
#~ "choose to disable this, please add <code><?php if(function_exists"
|
285 |
+
#~ "('echo_ald_crp')) echo_ald_crp(); ?></code> to your template file "
|
286 |
+
#~ "where you want it displayed"
|
287 |
+
#~ msgstr ""
|
288 |
+
#~ "Voeg gerelateerde berichten toe aan de bericht inhoud op enkele pagina's. "
|
289 |
+
#~ "<br />Wanneer je ervoor kiest om dit uit te zetten moet je de code "
|
290 |
+
#~ "<code><?php if(function_exists('echo_ald_crp')) echo_ald_crp(); ?></"
|
291 |
+
#~ "code> toevoegen aan je sjabloon bestand waar je het wilt laten weergeven"
|
292 |
+
|
293 |
+
#~ msgid ""
|
294 |
+
#~ "Append link to this plugin as item. Optional, but would be nice to give "
|
295 |
+
#~ "me some link love"
|
296 |
+
#~ msgstr ""
|
297 |
+
#~ "Voeg een link naar deze plugin als item toe. Optioneel, maar het zou leuk "
|
298 |
+
#~ "zijn als je me wat linkgenot geeft"
|
299 |
+
|
300 |
+
#~ msgid ""
|
301 |
+
#~ "Post thumbnail meta field (the meta should point contain the image "
|
302 |
+
#~ "source): "
|
303 |
+
#~ msgstr ""
|
304 |
+
#~ "Bericht miniatuurafbeelding metaveld (de meta moet de afbeeldingsbron "
|
305 |
+
#~ "bevatten):"
|
306 |
+
|
307 |
+
#~ msgid "Thumbnail dimensions:"
|
308 |
+
#~ msgstr "Afmetingen miniatuurafbeelding:"
|
309 |
+
|
310 |
+
#~ msgid "Max width: "
|
311 |
+
#~ msgstr "Maximale breedte:"
|
312 |
+
|
313 |
+
#~ msgid "Max height: "
|
314 |
+
#~ msgstr "Maximale hoogte:"
|
315 |
+
|
316 |
+
#~ msgid "Support forum"
|
317 |
+
#~ msgstr "Ondersteuningsforum"
|
languages/crp-ru_RU.mo
CHANGED
Binary file
|
languages/crp-ru_RU.po
CHANGED
@@ -2,7 +2,7 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Contextual Related Posts\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date:
|
6 |
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
|
8 |
"Language-Team: <me@ajaydsouza.com>\n"
|
@@ -15,224 +15,300 @@ msgstr ""
|
|
15 |
"X-Poedit-Country: RUSSIAN FEDERATION\n"
|
16 |
"X-Poedit-SearchPath-0: .\n"
|
17 |
|
18 |
-
#: admin.inc.php:
|
19 |
msgid "Options saved successfully."
|
20 |
msgstr "Настройки сохранены успешно."
|
21 |
|
22 |
-
#: admin.inc.php:
|
23 |
msgid "Options set to Default."
|
24 |
msgstr "Опции возвращены к стандартным"
|
25 |
|
26 |
-
#: admin.inc.php:
|
27 |
msgid "Index recreated"
|
28 |
msgstr "Индекс воссоздан"
|
29 |
|
30 |
-
#: admin.inc.php:
|
31 |
-
msgid "
|
32 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
33 |
|
34 |
-
#: admin.inc.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
msgid "Number of related posts to display: "
|
36 |
msgstr "Количество отображаемых похожих постов:"
|
37 |
|
38 |
-
#: admin.inc.php:
|
39 |
msgid "Exclude Categories: "
|
40 |
msgstr "Исключить категории:"
|
41 |
|
42 |
-
#: admin.inc.php:
|
43 |
-
msgid "Add related posts to the post content on single posts
|
44 |
-
msgstr "
|
45 |
|
46 |
-
#: admin.inc.php:
|
47 |
-
|
|
|
|
|
48 |
msgstr "Показывать связанные посты на страницах. <br />Если вы захотите отключить эту опцию, пожалуйста, добавьте код: <code><?php if(function_exists('echo_ald_crp')) echo_ald_crp(); ?></code>, в отображаемый шаблон на вашем сайте"
|
49 |
|
50 |
-
#: admin.inc.php:
|
|
|
|
|
|
|
|
|
|
|
51 |
msgid "Add related posts to feed"
|
52 |
msgstr "Добавить похожие посты в фид"
|
53 |
|
54 |
-
#: admin.inc.php:
|
55 |
-
msgid "Find related posts based on content as well as title
|
|
|
|
|
|
|
|
|
|
|
56 |
msgstr "Найти связанные сообщения в зависимости от содержания и заголовка. Если вы не выберете эту опцию, то для поиска будут использоваться только заголовки сообщений. (Я рекомендую использовать плагин кэширования, если вы включите опцию)"
|
57 |
|
58 |
-
#: admin.inc.php:
|
59 |
msgid "Exclude Pages in Related Posts"
|
60 |
msgstr "Исключить страницы в Похожих постах"
|
61 |
|
62 |
-
#: admin.inc.php:
|
63 |
-
msgid "
|
64 |
-
msgstr "
|
|
|
|
|
|
|
|
|
65 |
|
66 |
-
#: admin.inc.php:
|
67 |
-
|
|
|
68 |
msgstr "Опции вывода:"
|
69 |
|
70 |
-
#: admin.inc.php:
|
71 |
msgid "Title of related posts: "
|
72 |
msgstr "Названия связанных постов:"
|
73 |
|
74 |
-
#: admin.inc.php:
|
75 |
msgid "When there are no posts, what should be shown?"
|
76 |
msgstr "Когда нет сообщений, что должно быть показано?"
|
77 |
|
78 |
-
#: admin.inc.php:
|
79 |
msgid "Blank Output"
|
80 |
msgstr "Пустой выход"
|
81 |
|
82 |
-
#: admin.inc.php:
|
83 |
msgid "Display \"No Related Posts\""
|
84 |
msgstr "Показывать \"Нет похожих постов\""
|
85 |
|
86 |
-
#: admin.inc.php:
|
87 |
msgid "Show post excerpt in list?"
|
88 |
msgstr "Показать выдержки из поста в списке?"
|
89 |
|
90 |
-
#: admin.inc.php:
|
91 |
msgid "Length of excerpt (in words): "
|
92 |
msgstr "Длина выдержки (в словах):"
|
93 |
|
94 |
-
#: admin.inc.php:
|
95 |
msgid "Customize the output:"
|
96 |
msgstr "Настройки выхода:"
|
97 |
|
98 |
-
#: admin.inc.php:
|
99 |
msgid "HTML to display before the list of posts: "
|
100 |
msgstr "HTML для показа перед списком сообщений: "
|
101 |
|
102 |
-
#: admin.inc.php:
|
103 |
msgid "HTML to display before each list item: "
|
104 |
msgstr "HTML для показа перед каждым элементом списка: "
|
105 |
|
106 |
-
#: admin.inc.php:
|
107 |
msgid "HTML to display after each list item: "
|
108 |
msgstr "HTML для отображения после каждого элемента списка: "
|
109 |
|
110 |
-
#: admin.inc.php:
|
111 |
msgid "HTML to display after the list of posts: "
|
112 |
msgstr "HTML для отображения после списка сообщений: "
|
113 |
|
114 |
-
#: admin.inc.php:
|
115 |
msgid "Post thumbnail options:"
|
116 |
msgstr "Опции изображения поста:"
|
117 |
|
118 |
-
#: admin.inc.php:
|
|
|
|
|
|
|
|
|
119 |
msgid "Display thumbnails inline with posts"
|
120 |
msgstr "Показать эскизы в соответствии с сообщениями"
|
121 |
|
122 |
-
#: admin.inc.php:
|
123 |
msgid "Display only thumbnails, no text"
|
124 |
msgstr "Показывать только изображения, без текста"
|
125 |
|
126 |
-
#: admin.inc.php:
|
127 |
msgid "Do not display thumbnails, only text."
|
128 |
msgstr "Не показывать изображения, только текст"
|
129 |
|
130 |
-
#: admin.inc.php:
|
131 |
-
msgid "
|
132 |
-
msgstr "
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
133 |
|
134 |
-
#: admin.inc.php:
|
135 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
136 |
msgstr "Если postmeta не установлен, то плагин скачает первое изображение поста. Это может замедлить загрузку сообщения (если изображение слишком велико)"
|
137 |
|
138 |
-
#: admin.inc.php:
|
139 |
-
|
140 |
-
|
|
|
141 |
|
142 |
-
#: admin.inc.php:
|
143 |
-
msgid "
|
144 |
-
msgstr "
|
145 |
|
146 |
-
#: admin.inc.php:
|
147 |
-
msgid "
|
148 |
-
msgstr "
|
149 |
|
150 |
-
#: admin.inc.php:
|
151 |
-
msgid "
|
|
|
|
|
|
|
|
|
|
|
152 |
msgstr "Плагин сначала проверит, содержит ли пост миниатюры. Если они не обнаружатся, то плагин проверит мета-данные. Если они будут недоступны, то плагин будет показывать изображение по умолчанию, как указано ниже:"
|
153 |
|
154 |
-
#: admin.inc.php:
|
155 |
msgid "Do you want to set options to Default?"
|
156 |
msgstr "Вы хотите задать параметры по умолчанию?"
|
157 |
|
158 |
-
#: admin.inc.php:
|
159 |
msgid "Are you sure you want to recreate the index?"
|
160 |
msgstr "Вы уверены, что хотите воссоздать индекс?"
|
161 |
|
162 |
-
#: admin.inc.php:
|
163 |
-
msgid "Quick links"
|
164 |
-
msgstr "Быстрые ссылки"
|
165 |
-
|
166 |
-
#: admin.inc.php:256
|
167 |
-
msgid "Contextual Related Posts "
|
168 |
-
msgstr "Контекстные похожие посты"
|
169 |
-
|
170 |
-
#: admin.inc.php:256
|
171 |
-
msgid "plugin page"
|
172 |
-
msgstr "Страница плагина"
|
173 |
-
|
174 |
-
#: admin.inc.php:257
|
175 |
-
msgid "Other plugins"
|
176 |
-
msgstr "Другие плагины"
|
177 |
-
|
178 |
-
#: admin.inc.php:258
|
179 |
-
msgid "Ajay's blog"
|
180 |
-
msgstr "Блог автора (Ajay, английский язык)"
|
181 |
-
|
182 |
-
#: admin.inc.php:259
|
183 |
-
msgid "Support forum"
|
184 |
-
msgstr "Форум поддержки"
|
185 |
-
|
186 |
-
#: admin.inc.php:260
|
187 |
-
msgid "Follow @ajaydsouza on Twitter"
|
188 |
-
msgstr "Следовать @ajaydsouza на Твиттере"
|
189 |
-
|
190 |
-
#: admin.inc.php:264
|
191 |
-
msgid "Recent developments"
|
192 |
-
msgstr "Последние разработки"
|
193 |
-
|
194 |
-
#: admin.inc.php:269
|
195 |
-
msgid "Support the development"
|
196 |
-
msgstr "Поддержка развития проекта"
|
197 |
-
|
198 |
-
#: admin.inc.php:277
|
199 |
-
msgid "Enter amount in USD: "
|
200 |
-
msgstr "Введите сумму в долларах США:"
|
201 |
-
|
202 |
-
#: admin.inc.php:281
|
203 |
-
msgid "Send your donation to the author of"
|
204 |
-
msgstr "Отправить пожертвование автору"
|
205 |
-
|
206 |
-
#: admin.inc.php:309
|
207 |
msgid "Contextual Related Posts"
|
208 |
msgstr "Контекстные похожие посты"
|
209 |
|
210 |
-
#: admin.inc.php:
|
211 |
msgid "Related Posts"
|
212 |
msgstr "Похожие посты"
|
213 |
|
214 |
-
#: contextual-related-posts.php:
|
215 |
msgid "Powered by"
|
216 |
msgstr "Автор:"
|
217 |
|
218 |
-
#: contextual-related-posts.php:
|
219 |
-
#: contextual-related-posts.php:
|
220 |
msgid "No related posts found"
|
221 |
msgstr "Не найдены похожие посты"
|
222 |
|
223 |
-
#: contextual-related-posts.php:
|
224 |
msgid "<h3>Related Posts:</h3>"
|
225 |
msgstr "<h3>Похожие посты:</h3>"
|
226 |
|
227 |
-
#: contextual-related-posts.php:
|
228 |
msgid "Settings"
|
229 |
msgstr "Настройки"
|
230 |
|
231 |
-
#: contextual-related-posts.php:
|
232 |
-
msgid "Support"
|
233 |
-
msgstr "Поддержка"
|
234 |
-
|
235 |
-
#: contextual-related-posts.php:270
|
236 |
msgid "Donate"
|
237 |
msgstr "Пожертвование"
|
238 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: Contextual Related Posts\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2012-03-22 23:38-0000\n"
|
6 |
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: Ajay D'Souza <me@ajaydsouza.com>\n"
|
8 |
"Language-Team: <me@ajaydsouza.com>\n"
|
15 |
"X-Poedit-Country: RUSSIAN FEDERATION\n"
|
16 |
"X-Poedit-SearchPath-0: .\n"
|
17 |
|
18 |
+
#: admin.inc.php:51
|
19 |
msgid "Options saved successfully."
|
20 |
msgstr "Настройки сохранены успешно."
|
21 |
|
22 |
+
#: admin.inc.php:60
|
23 |
msgid "Options set to Default."
|
24 |
msgstr "Опции возвращены к стандартным"
|
25 |
|
26 |
+
#: admin.inc.php:75
|
27 |
msgid "Index recreated"
|
28 |
msgstr "Индекс воссоздан"
|
29 |
|
30 |
+
#: admin.inc.php:88
|
31 |
+
msgid "Support the development"
|
32 |
+
msgstr "Поддержка развития проекта"
|
33 |
+
|
34 |
+
#: admin.inc.php:96
|
35 |
+
msgid "Enter amount in USD: "
|
36 |
+
msgstr "Введите сумму в долларах США:"
|
37 |
+
|
38 |
+
#: admin.inc.php:100
|
39 |
+
msgid "Send your donation to the author of"
|
40 |
+
msgstr "Отправить пожертвование автору"
|
41 |
+
|
42 |
+
#: admin.inc.php:106
|
43 |
+
msgid "Quick links"
|
44 |
+
msgstr "Быстрые ссылки"
|
45 |
+
|
46 |
+
#: admin.inc.php:108
|
47 |
+
msgid "Contextual Related Posts "
|
48 |
+
msgstr "Контекстные похожие посты"
|
49 |
+
|
50 |
+
#: admin.inc.php:108
|
51 |
+
msgid "plugin page"
|
52 |
+
msgstr "Страница плагина"
|
53 |
+
|
54 |
+
#: admin.inc.php:109
|
55 |
+
msgid "Other plugins"
|
56 |
+
msgstr "Другие плагины"
|
57 |
+
|
58 |
+
#: admin.inc.php:110
|
59 |
+
msgid "Ajay's blog"
|
60 |
+
msgstr "Блог автора (Ajay, английский язык)"
|
61 |
+
|
62 |
+
#: admin.inc.php:111
|
63 |
+
#: contextual-related-posts.php:301
|
64 |
+
msgid "Support"
|
65 |
+
msgstr "Поддержка"
|
66 |
+
|
67 |
+
#: admin.inc.php:112
|
68 |
+
msgid "Follow @ajaydsouza on Twitter"
|
69 |
+
msgstr "Следовать @ajaydsouza на Твиттере"
|
70 |
|
71 |
+
#: admin.inc.php:116
|
72 |
+
msgid "Recent developments"
|
73 |
+
msgstr "Последние разработки"
|
74 |
+
|
75 |
+
#: admin.inc.php:128
|
76 |
+
msgid "General options"
|
77 |
+
msgstr ""
|
78 |
+
|
79 |
+
#: admin.inc.php:131
|
80 |
msgid "Number of related posts to display: "
|
81 |
msgstr "Количество отображаемых похожих постов:"
|
82 |
|
83 |
+
#: admin.inc.php:134
|
84 |
msgid "Exclude Categories: "
|
85 |
msgstr "Исключить категории:"
|
86 |
|
87 |
+
#: admin.inc.php:152
|
88 |
+
msgid "Add related posts to the post content on single posts"
|
89 |
+
msgstr ""
|
90 |
|
91 |
+
#: admin.inc.php:153
|
92 |
+
#: admin.inc.php:156
|
93 |
+
#, fuzzy
|
94 |
+
msgid "If you choose to disable this, please add <code><?php if(function_exists('echo_ald_crp')) echo_ald_crp(); ?></code> to your template file where you want it displayed"
|
95 |
msgstr "Показывать связанные посты на страницах. <br />Если вы захотите отключить эту опцию, пожалуйста, добавьте код: <code><?php if(function_exists('echo_ald_crp')) echo_ald_crp(); ?></code>, в отображаемый шаблон на вашем сайте"
|
96 |
|
97 |
+
#: admin.inc.php:155
|
98 |
+
#, fuzzy
|
99 |
+
msgid "Add related posts to pages"
|
100 |
+
msgstr "Добавить похожие посты в фид"
|
101 |
+
|
102 |
+
#: admin.inc.php:158
|
103 |
msgid "Add related posts to feed"
|
104 |
msgstr "Добавить похожие посты в фид"
|
105 |
|
106 |
+
#: admin.inc.php:161
|
107 |
+
msgid "Find related posts based on content as well as title"
|
108 |
+
msgstr ""
|
109 |
+
|
110 |
+
#: admin.inc.php:162
|
111 |
+
#, fuzzy
|
112 |
+
msgid "If unchecked, only posts titles are used. (I recommend using a caching plugin if you enable this)"
|
113 |
msgstr "Найти связанные сообщения в зависимости от содержания и заголовка. Если вы не выберете эту опцию, то для поиска будут использоваться только заголовки сообщений. (Я рекомендую использовать плагин кэширования, если вы включите опцию)"
|
114 |
|
115 |
+
#: admin.inc.php:164
|
116 |
msgid "Exclude Pages in Related Posts"
|
117 |
msgstr "Исключить страницы в Похожих постах"
|
118 |
|
119 |
+
#: admin.inc.php:167
|
120 |
+
msgid "Add a link to the plugin page as a final item in the list"
|
121 |
+
msgstr ""
|
122 |
+
|
123 |
+
#: admin.inc.php:168
|
124 |
+
msgid " <em>Optional</em>"
|
125 |
+
msgstr ""
|
126 |
|
127 |
+
#: admin.inc.php:176
|
128 |
+
#, fuzzy
|
129 |
+
msgid "Output Options"
|
130 |
msgstr "Опции вывода:"
|
131 |
|
132 |
+
#: admin.inc.php:179
|
133 |
msgid "Title of related posts: "
|
134 |
msgstr "Названия связанных постов:"
|
135 |
|
136 |
+
#: admin.inc.php:182
|
137 |
msgid "When there are no posts, what should be shown?"
|
138 |
msgstr "Когда нет сообщений, что должно быть показано?"
|
139 |
|
140 |
+
#: admin.inc.php:186
|
141 |
msgid "Blank Output"
|
142 |
msgstr "Пустой выход"
|
143 |
|
144 |
+
#: admin.inc.php:190
|
145 |
msgid "Display \"No Related Posts\""
|
146 |
msgstr "Показывать \"Нет похожих постов\""
|
147 |
|
148 |
+
#: admin.inc.php:194
|
149 |
msgid "Show post excerpt in list?"
|
150 |
msgstr "Показать выдержки из поста в списке?"
|
151 |
|
152 |
+
#: admin.inc.php:197
|
153 |
msgid "Length of excerpt (in words): "
|
154 |
msgstr "Длина выдержки (в словах):"
|
155 |
|
156 |
+
#: admin.inc.php:200
|
157 |
msgid "Customize the output:"
|
158 |
msgstr "Настройки выхода:"
|
159 |
|
160 |
+
#: admin.inc.php:202
|
161 |
msgid "HTML to display before the list of posts: "
|
162 |
msgstr "HTML для показа перед списком сообщений: "
|
163 |
|
164 |
+
#: admin.inc.php:205
|
165 |
msgid "HTML to display before each list item: "
|
166 |
msgstr "HTML для показа перед каждым элементом списка: "
|
167 |
|
168 |
+
#: admin.inc.php:208
|
169 |
msgid "HTML to display after each list item: "
|
170 |
msgstr "HTML для отображения после каждого элемента списка: "
|
171 |
|
172 |
+
#: admin.inc.php:211
|
173 |
msgid "HTML to display after the list of posts: "
|
174 |
msgstr "HTML для отображения после списка сообщений: "
|
175 |
|
176 |
+
#: admin.inc.php:214
|
177 |
msgid "Post thumbnail options:"
|
178 |
msgstr "Опции изображения поста:"
|
179 |
|
180 |
+
#: admin.inc.php:216
|
181 |
+
msgid "Location of post thumbnail:"
|
182 |
+
msgstr ""
|
183 |
+
|
184 |
+
#: admin.inc.php:220
|
185 |
msgid "Display thumbnails inline with posts"
|
186 |
msgstr "Показать эскизы в соответствии с сообщениями"
|
187 |
|
188 |
+
#: admin.inc.php:224
|
189 |
msgid "Display only thumbnails, no text"
|
190 |
msgstr "Показывать только изображения, без текста"
|
191 |
|
192 |
+
#: admin.inc.php:228
|
193 |
msgid "Do not display thumbnails, only text."
|
194 |
msgstr "Не показывать изображения, только текст"
|
195 |
|
196 |
+
#: admin.inc.php:231
|
197 |
+
msgid "Maximum width of the thumbnail: "
|
198 |
+
msgstr ""
|
199 |
+
|
200 |
+
#: admin.inc.php:234
|
201 |
+
msgid "Maximum height of the thumbnail: "
|
202 |
+
msgstr ""
|
203 |
+
|
204 |
+
#: admin.inc.php:237
|
205 |
+
#, fuzzy
|
206 |
+
msgid "Post thumbnail meta field name: "
|
207 |
+
msgstr "Опции изображения поста:"
|
208 |
|
209 |
+
#: admin.inc.php:238
|
210 |
+
msgid "The value of this field should contain the image source and is set in the <em>Add New Post</em> screen"
|
211 |
+
msgstr ""
|
212 |
+
|
213 |
+
#: admin.inc.php:240
|
214 |
+
#, fuzzy
|
215 |
+
msgid "If the postmeta is not set, then should the plugin extract the first image from the post?"
|
216 |
msgstr "Если postmeta не установлен, то плагин скачает первое изображение поста. Это может замедлить загрузку сообщения (если изображение слишком велико)"
|
217 |
|
218 |
+
#: admin.inc.php:241
|
219 |
+
#, fuzzy
|
220 |
+
msgid "This can slow down the loading of your page if the first image in the related posts is large in file-size"
|
221 |
+
msgstr "Если postmeta не установлен, то плагин скачает первое изображение поста. Это может замедлить загрузку сообщения (если изображение слишком велико)"
|
222 |
|
223 |
+
#: admin.inc.php:243
|
224 |
+
msgid "Use default thumbnail? "
|
225 |
+
msgstr ""
|
226 |
|
227 |
+
#: admin.inc.php:244
|
228 |
+
msgid "If checked, when no thumbnail is found, show a default one from the URL below. If not checked and no thumbnail is found, no image will be shown."
|
229 |
+
msgstr ""
|
230 |
|
231 |
+
#: admin.inc.php:246
|
232 |
+
msgid "Default thumbnail: "
|
233 |
+
msgstr ""
|
234 |
+
|
235 |
+
#: admin.inc.php:247
|
236 |
+
#, fuzzy
|
237 |
+
msgid "The plugin will first check if the post contains a thumbnail. If it doesn't then it will check the meta field. If this is not available, then it will show the default image as specified above"
|
238 |
msgstr "Плагин сначала проверит, содержит ли пост миниатюры. Если они не обнаружатся, то плагин проверит мета-данные. Если они будут недоступны, то плагин будет показывать изображение по умолчанию, как указано ниже:"
|
239 |
|
240 |
+
#: admin.inc.php:254
|
241 |
msgid "Do you want to set options to Default?"
|
242 |
msgstr "Вы хотите задать параметры по умолчанию?"
|
243 |
|
244 |
+
#: admin.inc.php:255
|
245 |
msgid "Are you sure you want to recreate the index?"
|
246 |
msgstr "Вы уверены, что хотите воссоздать индекс?"
|
247 |
|
248 |
+
#: admin.inc.php:285
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
249 |
msgid "Contextual Related Posts"
|
250 |
msgstr "Контекстные похожие посты"
|
251 |
|
252 |
+
#: admin.inc.php:285
|
253 |
msgid "Related Posts"
|
254 |
msgstr "Похожие посты"
|
255 |
|
256 |
+
#: contextual-related-posts.php:117
|
257 |
msgid "Powered by"
|
258 |
msgstr "Автор:"
|
259 |
|
260 |
+
#: contextual-related-posts.php:122
|
261 |
+
#: contextual-related-posts.php:126
|
262 |
msgid "No related posts found"
|
263 |
msgstr "Не найдены похожие посты"
|
264 |
|
265 |
+
#: contextual-related-posts.php:166
|
266 |
msgid "<h3>Related Posts:</h3>"
|
267 |
msgstr "<h3>Похожие посты:</h3>"
|
268 |
|
269 |
+
#: contextual-related-posts.php:300
|
270 |
msgid "Settings"
|
271 |
msgstr "Настройки"
|
272 |
|
273 |
+
#: contextual-related-posts.php:302
|
|
|
|
|
|
|
|
|
274 |
msgid "Donate"
|
275 |
msgstr "Пожертвование"
|
276 |
|
277 |
+
#~ msgid "Options:"
|
278 |
+
#~ msgstr "Опции:"
|
279 |
+
|
280 |
+
#~ msgid ""
|
281 |
+
#~ "Add related posts to the post content on single posts. <br />If you "
|
282 |
+
#~ "choose to disable this, please add <code><?php if(function_exists"
|
283 |
+
#~ "('echo_ald_crp')) echo_ald_crp(); ?></code> to your template file "
|
284 |
+
#~ "where you want it displayed"
|
285 |
+
#~ msgstr ""
|
286 |
+
#~ "Добавить связанные посты в содержание поста. Если вы захотите отключить "
|
287 |
+
#~ "это, пожалуйста, добавьте код: <code><?php if(function_exists"
|
288 |
+
#~ "('echo_ald_crp')) echo_ald_crp(); ?></code>, в файл шаблона вашего "
|
289 |
+
#~ "сайта"
|
290 |
+
|
291 |
+
#~ msgid ""
|
292 |
+
#~ "Append link to this plugin as item. Optional, but would be nice to give "
|
293 |
+
#~ "me some link love"
|
294 |
+
#~ msgstr ""
|
295 |
+
#~ "Добавить ссылку на этот плагин в качестве пункта. Необязательно, но было "
|
296 |
+
#~ "бы неплохо, чтобы поддержать разработчика."
|
297 |
+
|
298 |
+
#~ msgid ""
|
299 |
+
#~ "Post thumbnail meta field (the meta should point contain the image "
|
300 |
+
#~ "source): "
|
301 |
+
#~ msgstr ""
|
302 |
+
#~ "Мета-данные изображения поста (они должны содержать источник изображения):"
|
303 |
+
|
304 |
+
#~ msgid "Thumbnail dimensions:"
|
305 |
+
#~ msgstr "Размеры уменьшенного изображения:"
|
306 |
+
|
307 |
+
#~ msgid "Max width: "
|
308 |
+
#~ msgstr "Максимальная ширина:"
|
309 |
+
|
310 |
+
#~ msgid "Max height: "
|
311 |
+
#~ msgstr "Максимальная высота:"
|
312 |
+
|
313 |
+
#~ msgid "Support forum"
|
314 |
+
#~ msgstr "Форум поддержки"
|
readme.txt
CHANGED
@@ -1,37 +1,55 @@
|
|
1 |
=== Contextual Related Posts ===
|
2 |
-
Tags: related posts, similar posts
|
3 |
Contributors: Ajay, Mark Ghosh
|
4 |
Donate link: http://ajaydsouza.com/donate/
|
5 |
Stable tag: trunk
|
6 |
Requires at least: 2.5
|
7 |
-
Tested up to: 3.
|
8 |
|
9 |
|
10 |
-
|
11 |
|
12 |
== Description ==
|
13 |
|
14 |
-
|
15 |
|
16 |
-
|
17 |
|
18 |
-
Now, you can choose to exclude posts from certain categories as well as exclude pages.
|
19 |
|
|
|
20 |
|
21 |
-
|
22 |
-
|
23 |
-
*
|
24 |
-
*
|
25 |
-
* You can manually add code to your template where you want the related posts to be displayed
|
26 |
-
* Exclude posts from categories
|
27 |
* Exclude display of related posts on Pages
|
28 |
-
*
|
29 |
-
*
|
30 |
-
*
|
31 |
-
* Display excerpts in post. You can
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
32 |
|
33 |
== Changelog ==
|
34 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
35 |
= 1.6.5 =
|
36 |
* Fixed: Few code tweaks to optimise MySQL performance
|
37 |
* Added: Dutch and Spanish language files
|
@@ -108,13 +126,6 @@ Now, you can choose to exclude posts from certain categories as well as exclude
|
|
108 |
= 1.0.1 =
|
109 |
* Release
|
110 |
|
111 |
-
== Upgrade Notice ==
|
112 |
-
|
113 |
-
= 1.6.3 =
|
114 |
-
* Turned the credit option to false by default. This setting won't effect current users.
|
115 |
-
* Turned off borders on post thumbnails. You can customise the CSS class "crp_thumb" to style the post thumbnail.
|
116 |
-
* The plugin will now display a list of changes in the WordPress Admin > Plugins area whenever an update is available
|
117 |
-
|
118 |
== Installation ==
|
119 |
|
120 |
1. Download the plugin
|
@@ -125,24 +136,62 @@ Now, you can choose to exclude posts from certain categories as well as exclude
|
|
125 |
|
126 |
4. Goto Settings > Related Posts to configure
|
127 |
|
|
|
|
|
|
|
|
|
|
|
128 |
|
129 |
== Frequently Asked Questions ==
|
130 |
|
131 |
-
=
|
132 |
|
133 |
-
|
134 |
|
|
|
135 |
|
136 |
-
|
137 |
|
138 |
-
|
139 |
|
140 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
141 |
|
142 |
For more information, please visit http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/
|
143 |
|
144 |
-
=
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
145 |
|
146 |
-
|
147 |
|
148 |
-
No support questions will be entertained in the comments or via email.
|
1 |
=== Contextual Related Posts ===
|
2 |
+
Tags: related posts, related, similar posts, posts, post, feed, feeds, rss, widget, thumbnail
|
3 |
Contributors: Ajay, Mark Ghosh
|
4 |
Donate link: http://ajaydsouza.com/donate/
|
5 |
Stable tag: trunk
|
6 |
Requires at least: 2.5
|
7 |
+
Tested up to: 3.4
|
8 |
|
9 |
|
10 |
+
Increase reader retention and reduce bounce rates by displaying a set of related posts on your website or in your feed
|
11 |
|
12 |
== Description ==
|
13 |
|
14 |
+
<a href="http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/">Contextual Related Posts</a> is a powerful plugin for WordPress that allows you to display a list of related posts on your website and in your feed.
|
15 |
|
16 |
+
The list is based on the content of the title and/or content of the posts which makes them more relevant and more likely to be of interest to your readers. This allows you to retain visitors, reduce bounce rates and refresh old entries.
|
17 |
|
|
|
18 |
|
19 |
+
= Key features =
|
20 |
|
21 |
+
* Display Related Posts automatically after the content on your website or in the feed without the need to edit template files
|
22 |
+
* Manual install available to select the exact placement of the posts. This will require you to edit your theme files
|
23 |
+
* Relevancy matching based on title and/or content of the post
|
24 |
+
* Exclude posts from categories from being displayed in the list
|
|
|
|
|
25 |
* Exclude display of related posts on Pages
|
26 |
+
* Support for WordPress post thumbnails
|
27 |
+
* Auto-extract the first image in your post to be displayed as a thumbnail
|
28 |
+
* Manually enter the URL of the thumbnail via <a href="http://codex.wordpress.org/Custom_Fields">WordPress meta fields</a>
|
29 |
+
* Display excerpts in post. You can select the length of the excerpt in words
|
30 |
+
* Output wrapped in CSS class that allows you to style the list
|
31 |
+
* Select what tags you would like to wrap the text in
|
32 |
+
|
33 |
+
== Upgrade Notice ==
|
34 |
+
|
35 |
+
= 1.7 =
|
36 |
+
* Added: Better thumbnail support
|
37 |
+
* Added: Limited support for InnoDB
|
38 |
+
* Modified: Cleaner Settings page interface
|
39 |
+
|
40 |
|
41 |
== Changelog ==
|
42 |
|
43 |
+
= 1.7 =
|
44 |
+
* Added: New function <code>related posts()</code> that allows you to manually add posts to your theme
|
45 |
+
* Added: Support for <a href="https://wordpress.org/extend/plugins/video-thumbnails/">Video Thumbnails</a> plugin
|
46 |
+
* Added: Thumbnail settings now reflect max width and max height instead of fixed width and height
|
47 |
+
* Added: Option to display thumbnails before or after the title
|
48 |
+
* Added: Option to not display thumbnails instead of the default thumbnail
|
49 |
+
* Added: Plugin now uses InnoDB instead of MyISAM if your server is running mySQL v5.6 or higher
|
50 |
+
* Modified: Cleaner Settings page interface
|
51 |
+
* Modified: Updated <a href="http://wordpress.org/extend/plugins/contextual-related-posts/faq/">FAQ page</a>
|
52 |
+
|
53 |
= 1.6.5 =
|
54 |
* Fixed: Few code tweaks to optimise MySQL performance
|
55 |
* Added: Dutch and Spanish language files
|
126 |
= 1.0.1 =
|
127 |
* Release
|
128 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
129 |
== Installation ==
|
130 |
|
131 |
1. Download the plugin
|
136 |
|
137 |
4. Goto Settings > Related Posts to configure
|
138 |
|
139 |
+
== Screenshots ==
|
140 |
+
|
141 |
+
1. CRP options in WP-Admin - General Options
|
142 |
+
2. CRP options in WP-Admin - Output Options
|
143 |
+
|
144 |
|
145 |
== Frequently Asked Questions ==
|
146 |
|
147 |
+
If your question isn't listed here, please post a comment at the <a href="http://wordpress.org/tags/contextual-related-posts?forum_id=10">WordPress.org support forum</a>. I monitor the forums on an ongoing basis. If you're looking for more advanced support, please see <a href="http://ajaydsouza.com/support/">details here</a>.
|
148 |
|
149 |
+
= How can I customise the output? =
|
150 |
|
151 |
+
Several customization options are available via the Settings page in WordPress Admin. You can access this via <strong>Settings � Related Posts</strong>
|
152 |
|
153 |
+
The plugin also provides you with a set of CSS classes that allow you to style your posts by adding code to the *style.css* sheet. In a future version, I will be adding in CSS support within the plugins Settings page.
|
154 |
|
155 |
+
The following CSS styles are available:
|
156 |
|
157 |
+
* **crp_related**: ID of the main wrapper `div`
|
158 |
+
|
159 |
+
* **crp_link**: Class of the `a` tag for each list item
|
160 |
+
|
161 |
+
* **crp_title**: Class of the `span` tag for title of the post
|
162 |
+
|
163 |
+
* **crp_excerpt**: Class of the `span` tag for excerpt (if included)
|
164 |
+
|
165 |
+
* **crp_thumb**: Class of the post thumbnail `img` tag
|
166 |
|
167 |
For more information, please visit http://ajaydsouza.com/wordpress/plugins/contextual-related-posts/
|
168 |
|
169 |
+
= How does the plugin select thumbnails? =
|
170 |
+
|
171 |
+
The plugin selects thumbnails in the following order:
|
172 |
+
|
173 |
+
1. Post Thumbnail image: The image that you can set while editing your post in WordPress > New Post screen
|
174 |
+
|
175 |
+
2. Post meta field: This is the meta field value you can use when editing your post. The default is `post-image`
|
176 |
+
|
177 |
+
3. First image in the post: The plugin will try to fetch the first image in the post
|
178 |
+
|
179 |
+
3. Video Thumbnails: Meta field set by <a href="https://wordpress.org/extend/plugins/video-thumbnails/">Video Thumbnails</a>
|
180 |
+
|
181 |
+
4. Default Thumbnail: If enabled, it will use the default thumbnail that you specify in the Settings screen
|
182 |
+
|
183 |
+
== Wishlist ==
|
184 |
+
|
185 |
+
Below are a few features that I plan on implementing in future versions of the plugin. However, there is no fixed time-frame for this and largely depends on how much time I can contribute to development.
|
186 |
+
|
187 |
+
* Select random posts if there are no similar posts
|
188 |
+
* Widget to display the related posts
|
189 |
+
* Shortcode support
|
190 |
+
* Exclude display on select categories
|
191 |
+
* Exclude display on select posts
|
192 |
+
* Caching related posts
|
193 |
+
* Better relevance tweaking
|
194 |
+
* Custom post support
|
195 |
|
196 |
+
If you would like a feature to be added, or if you already have the code for the feature, you can let us know by <a href="http://wordpress.org/tags/contextual-related-posts?forum_id=10">posting in this forum</a>.
|
197 |
|
|
screenshot-1.png
ADDED
Binary file
|
screenshot-2.png
ADDED
Binary file
|
tabber/example-ajax-0.html
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<p>This is <em>ajax-0.html</em></p>
|
tabber/example-ajax-1.html
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<p>This is <em>ajax-1.html</em></p>
|
tabber/example-ajax-2.html
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
<p>This is <em>ajax-2.html</em></p>
|
tabber/example-ajax.html
ADDED
@@ -0,0 +1,86 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!-- $Id: example-ajax.html,v 1.2 2006/04/27 21:00:38 pat Exp $ -->
|
2 |
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
3 |
+
<html lang="en">
|
4 |
+
<head>
|
5 |
+
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
6 |
+
<title>Ajax Tabber Example</title>
|
7 |
+
|
8 |
+
<link rel="stylesheet" href="example.css" TYPE="text/css" MEDIA="screen">
|
9 |
+
<link rel="stylesheet" href="example-print.css" TYPE="text/css" MEDIA="print">
|
10 |
+
|
11 |
+
|
12 |
+
<!--
|
13 |
+
Load prototype.js
|
14 |
+
You can get it at http://prototype.conio.net/
|
15 |
+
-->
|
16 |
+
<script src="http://www.barelyfitz.com/projects/tabber/effects/prototype.js" type="text/javascript"></script>
|
17 |
+
|
18 |
+
<script type="text/javascript">
|
19 |
+
|
20 |
+
/* Optional: Temporarily hide the "tabber" class so it does not "flash"
|
21 |
+
on the page as plain HTML. After tabber runs, the class is changed
|
22 |
+
to "tabberlive" and it will appear. */
|
23 |
+
|
24 |
+
document.write('<style type="text/css">.tabber{display:none;}<\/style>');
|
25 |
+
|
26 |
+
var tabberOptions = {
|
27 |
+
|
28 |
+
'onClick': function(argsObj) {
|
29 |
+
|
30 |
+
var t = argsObj.tabber; /* Tabber object */
|
31 |
+
var i = argsObj.index; /* Which tab was clicked (0..n) */
|
32 |
+
var div = this.tabs[i].div; /* The tab content div */
|
33 |
+
|
34 |
+
/* Display a loading message */
|
35 |
+
div.innerHTML = "<p>Loading...<\/p>";
|
36 |
+
|
37 |
+
/* Fetch some html depending on which tab was clicked */
|
38 |
+
var url = 'example-ajax-' + i + '.html';
|
39 |
+
var pars = 'foo=bar&foo2=bar2'; /* just for example */
|
40 |
+
var myAjax = new Ajax.Updater(div, url, {method:'get',parameters:pars});
|
41 |
+
},
|
42 |
+
|
43 |
+
'onLoad': function(argsObj) {
|
44 |
+
/* Load the first tab */
|
45 |
+
argsObj.index = 0;
|
46 |
+
this.onClick(argsObj);
|
47 |
+
},
|
48 |
+
|
49 |
+
|
50 |
+
}
|
51 |
+
</script>
|
52 |
+
|
53 |
+
<script type="text/javascript" src="tabber.js"></script>
|
54 |
+
|
55 |
+
<style type="text/css">
|
56 |
+
.tabberlive .tabbertab {
|
57 |
+
height:200px;
|
58 |
+
}
|
59 |
+
</style>
|
60 |
+
</head>
|
61 |
+
<body>
|
62 |
+
|
63 |
+
<h1>Ajax Tabber Example</h1>
|
64 |
+
|
65 |
+
<p>← <a href="http://www.barelyfitz.com/projects/tabber/">Tabber Home</a></p>
|
66 |
+
|
67 |
+
<div class="tabber">
|
68 |
+
|
69 |
+
<div class="tabbertab">
|
70 |
+
<h2>Tab 1</h2>
|
71 |
+
</div>
|
72 |
+
|
73 |
+
|
74 |
+
<div class="tabbertab">
|
75 |
+
<h2>Tab 2</h2>
|
76 |
+
</div>
|
77 |
+
|
78 |
+
|
79 |
+
<div class="tabbertab">
|
80 |
+
<h2>Tab 3</h2>
|
81 |
+
</div>
|
82 |
+
|
83 |
+
</div>
|
84 |
+
|
85 |
+
</body>
|
86 |
+
</html>
|
tabber/example-cookies.html
ADDED
@@ -0,0 +1,129 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!-- $Id: example-cookies.html,v 1.2 2006/04/07 05:01:55 pat Exp $ -->
|
2 |
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
3 |
+
<html lang="en">
|
4 |
+
<head>
|
5 |
+
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
6 |
+
<title>Cookies Tabber Example</title>
|
7 |
+
|
8 |
+
<link rel="stylesheet" href="example.css" TYPE="text/css" MEDIA="screen">
|
9 |
+
<link rel="stylesheet" href="example-print.css" TYPE="text/css" MEDIA="print">
|
10 |
+
|
11 |
+
<script type="text/javascript">
|
12 |
+
|
13 |
+
/* Optional: Temporarily hide the "tabber" class so it does not "flash"
|
14 |
+
on the page as plain HTML. After tabber runs, the class is changed
|
15 |
+
to "tabberlive" and it will appear. */
|
16 |
+
|
17 |
+
document.write('<style type="text/css">.tabber{display:none;}<\/style>');
|
18 |
+
|
19 |
+
/*==================================================
|
20 |
+
Set the tabber options (must do this before including tabber.js)
|
21 |
+
==================================================*/
|
22 |
+
var tabberOptions = {
|
23 |
+
|
24 |
+
'cookie':"tabber", /* Name to use for the cookie */
|
25 |
+
|
26 |
+
'onLoad': function(argsObj)
|
27 |
+
{
|
28 |
+
var t = argsObj.tabber;
|
29 |
+
var i;
|
30 |
+
|
31 |
+
/* Optional: Add the id of the tabber to the cookie name to allow
|
32 |
+
for multiple tabber interfaces on the site. If you have
|
33 |
+
multiple tabber interfaces (even on different pages) I suggest
|
34 |
+
setting a unique id on each one, to avoid having the cookie set
|
35 |
+
the wrong tab.
|
36 |
+
*/
|
37 |
+
if (t.id) {
|
38 |
+
t.cookie = t.id + t.cookie;
|
39 |
+
}
|
40 |
+
|
41 |
+
/* If a cookie was previously set, restore the active tab */
|
42 |
+
i = parseInt(getCookie(t.cookie));
|
43 |
+
if (isNaN(i)) { return; }
|
44 |
+
t.tabShow(i);
|
45 |
+
alert('getCookie(' + t.cookie + ') = ' + i);
|
46 |
+
},
|
47 |
+
|
48 |
+
'onClick':function(argsObj)
|
49 |
+
{
|
50 |
+
var c = argsObj.tabber.cookie;
|
51 |
+
var i = argsObj.index;
|
52 |
+
alert('setCookie(' + c + ',' + i + ')');
|
53 |
+
setCookie(c, i);
|
54 |
+
}
|
55 |
+
};
|
56 |
+
|
57 |
+
/*==================================================
|
58 |
+
Cookie functions
|
59 |
+
==================================================*/
|
60 |
+
function setCookie(name, value, expires, path, domain, secure) {
|
61 |
+
document.cookie= name + "=" + escape(value) +
|
62 |
+
((expires) ? "; expires=" + expires.toGMTString() : "") +
|
63 |
+
((path) ? "; path=" + path : "") +
|
64 |
+
((domain) ? "; domain=" + domain : "") +
|
65 |
+
((secure) ? "; secure" : "");
|
66 |
+
}
|
67 |
+
|
68 |
+
function getCookie(name) {
|
69 |
+
var dc = document.cookie;
|
70 |
+
var prefix = name + "=";
|
71 |
+
var begin = dc.indexOf("; " + prefix);
|
72 |
+
if (begin == -1) {
|
73 |
+
begin = dc.indexOf(prefix);
|
74 |
+
if (begin != 0) return null;
|
75 |
+
} else {
|
76 |
+
begin += 2;
|
77 |
+
}
|
78 |
+
var end = document.cookie.indexOf(";", begin);
|
79 |
+
if (end == -1) {
|
80 |
+
end = dc.length;
|
81 |
+
}
|
82 |
+
return unescape(dc.substring(begin + prefix.length, end));
|
83 |
+
}
|
84 |
+
function deleteCookie(name, path, domain) {
|
85 |
+
if (getCookie(name)) {
|
86 |
+
document.cookie = name + "=" +
|
87 |
+
((path) ? "; path=" + path : "") +
|
88 |
+
((domain) ? "; domain=" + domain : "") +
|
89 |
+
"; expires=Thu, 01-Jan-70 00:00:01 GMT";
|
90 |
+
}
|
91 |
+
}
|
92 |
+
|
93 |
+
</script>
|
94 |
+
|
95 |
+
<!-- Include the tabber code -->
|
96 |
+
<script type="text/javascript" src="tabber.js"></script>
|
97 |
+
|
98 |
+
</head>
|
99 |
+
<body>
|
100 |
+
|
101 |
+
<h1>Tabber Example</h1>
|
102 |
+
|
103 |
+
<p>← <a href="http://www.barelyfitz.com/projects/tabber/">Tabber Home</a></p>
|
104 |
+
|
105 |
+
<p>This example sets a cookie whenever the you click the tab, so if you leave the page and return the same tab remains selected. For purposes of example, this page displays an alert to indicate when a cookie is set or retrieved.</p>
|
106 |
+
|
107 |
+
<div class="tabber" id="mytabber1">
|
108 |
+
|
109 |
+
<div class="tabbertab">
|
110 |
+
<h2>Tab 1</h2>
|
111 |
+
<p>Tab 1 content.</p>
|
112 |
+
</div>
|
113 |
+
|
114 |
+
|
115 |
+
<div class="tabbertab">
|
116 |
+
<h2>Tab 2</h2>
|
117 |
+
<p>Tab 2 content.</p>
|
118 |
+
</div>
|
119 |
+
|
120 |
+
|
121 |
+
<div class="tabbertab">
|
122 |
+
<h2>Tab 3</h2>
|
123 |
+
<p>Tab 3 content.</p>
|
124 |
+
</div>
|
125 |
+
|
126 |
+
</div>
|
127 |
+
|
128 |
+
</body>
|
129 |
+
</html>
|
tabber/example.css
ADDED
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* $Id: example.css,v 1.5 2006/03/27 02:44:36 pat Exp $ */
|
2 |
+
|
3 |
+
/*--------------------------------------------------
|
4 |
+
REQUIRED to hide the non-active tab content.
|
5 |
+
But do not hide them in the print stylesheet!
|
6 |
+
--------------------------------------------------*/
|
7 |
+
.tabberlive .tabbertabhide {
|
8 |
+
display:none;
|
9 |
+
}
|
10 |
+
|
11 |
+
/*--------------------------------------------------
|
12 |
+
.tabber = before the tabber interface is set up
|
13 |
+
.tabberlive = after the tabber interface is set up
|
14 |
+
--------------------------------------------------*/
|
15 |
+
.tabber {
|
16 |
+
}
|
17 |
+
.tabberlive {
|
18 |
+
margin-top:1em;
|
19 |
+
}
|
20 |
+
|
21 |
+
/*--------------------------------------------------
|
22 |
+
ul.tabbernav = the tab navigation list
|
23 |
+
li.tabberactive = the active tab
|
24 |
+
--------------------------------------------------*/
|
25 |
+
ul.tabbernav
|
26 |
+
{
|
27 |
+
margin:0;
|
28 |
+
padding: 3px 0;
|
29 |
+
border-bottom: 1px solid #778;
|
30 |
+
font: bold 12px Verdana, sans-serif;
|
31 |
+
}
|
32 |
+
|
33 |
+
ul.tabbernav li
|
34 |
+
{
|
35 |
+
list-style: none;
|
36 |
+
margin: 0;
|
37 |
+
display: inline;
|
38 |
+
}
|
39 |
+
|
40 |
+
ul.tabbernav li a
|
41 |
+
{
|
42 |
+
padding: 3px 0.5em;
|
43 |
+
margin-left: 3px;
|
44 |
+
border: 1px solid #778;
|
45 |
+
border-bottom: none;
|
46 |
+
background: #DDE;
|
47 |
+
text-decoration: none;
|
48 |
+
}
|
49 |
+
|
50 |
+
ul.tabbernav li a:link { color: #448; }
|
51 |
+
ul.tabbernav li a:visited { color: #667; }
|
52 |
+
|
53 |
+
ul.tabbernav li a:hover
|
54 |
+
{
|
55 |
+
color: #000;
|
56 |
+
background: #AAE;
|
57 |
+
border-color: #227;
|
58 |
+
}
|
59 |
+
|
60 |
+
ul.tabbernav li.tabberactive a
|
61 |
+
{
|
62 |
+
background-color: #fff;
|
63 |
+
border-bottom: 1px solid #fff;
|
64 |
+
}
|
65 |
+
|
66 |
+
ul.tabbernav li.tabberactive a:hover
|
67 |
+
{
|
68 |
+
color: #000;
|
69 |
+
background: white;
|
70 |
+
border-bottom: 1px solid white;
|
71 |
+
}
|
72 |
+
|
73 |
+
/*--------------------------------------------------
|
74 |
+
.tabbertab = the tab content
|
75 |
+
Add style only after the tabber interface is set up (.tabberlive)
|
76 |
+
--------------------------------------------------*/
|
77 |
+
.tabberlive .tabbertab {
|
78 |
+
padding:5px;
|
79 |
+
border:1px solid #aaa;
|
80 |
+
border-top:0;
|
81 |
+
|
82 |
+
/* If you don't want the tab size changing whenever a tab is changed
|
83 |
+
you can set a fixed height */
|
84 |
+
|
85 |
+
/* height:200px; */
|
86 |
+
|
87 |
+
/* If you set a fix height set overflow to auto and you will get a
|
88 |
+
scrollbar when necessary */
|
89 |
+
|
90 |
+
/* overflow:auto; */
|
91 |
+
}
|
92 |
+
|
93 |
+
/* If desired, hide the heading since a heading is provided by the tab */
|
94 |
+
.tabberlive .tabbertab h2 {
|
95 |
+
display:none;
|
96 |
+
}
|
97 |
+
.tabberlive .tabbertab h3 {
|
98 |
+
display:none;
|
99 |
+
}
|
100 |
+
|
101 |
+
/* Example of using an ID to set different styles for the tabs on the page */
|
102 |
+
.tabberlive#tab1 {
|
103 |
+
}
|
104 |
+
.tabberlive#tab2 {
|
105 |
+
}
|
106 |
+
.tabberlive#tab2 .tabbertab {
|
107 |
+
height:200px;
|
108 |
+
overflow:auto;
|
109 |
+
}
|
tabber/example.html
ADDED
@@ -0,0 +1,50 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!-- $Id: example.html,v 1.4 2006/03/27 02:44:36 pat Exp $ -->
|
2 |
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
3 |
+
<html lang="en">
|
4 |
+
<head>
|
5 |
+
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
6 |
+
<title>Simple Tabber Example</title>
|
7 |
+
|
8 |
+
<script type="text/javascript" src="tabber.js"></script>
|
9 |
+
<link rel="stylesheet" href="example.css" TYPE="text/css" MEDIA="screen">
|
10 |
+
<link rel="stylesheet" href="example-print.css" TYPE="text/css" MEDIA="print">
|
11 |
+
|
12 |
+
<script type="text/javascript">
|
13 |
+
|
14 |
+
/* Optional: Temporarily hide the "tabber" class so it does not "flash"
|
15 |
+
on the page as plain HTML. After tabber runs, the class is changed
|
16 |
+
to "tabberlive" and it will appear. */
|
17 |
+
|
18 |
+
document.write('<style type="text/css">.tabber{display:none;}<\/style>');
|
19 |
+
</script>
|
20 |
+
|
21 |
+
</head>
|
22 |
+
<body>
|
23 |
+
|
24 |
+
<h1>Tabber Example</h1>
|
25 |
+
|
26 |
+
<p>← <a href="http://www.barelyfitz.com/projects/tabber/">Tabber Home</a></p>
|
27 |
+
|
28 |
+
<div class="tabber">
|
29 |
+
|
30 |
+
<div class="tabbertab">
|
31 |
+
<h2>Tab 1</h2>
|
32 |
+
<p>Tab 1 content.</p>
|
33 |
+
</div>
|
34 |
+
|
35 |
+
|
36 |
+
<div class="tabbertab">
|
37 |
+
<h2>Tab 2</h2>
|
38 |
+
<p>Tab 2 content.</p>
|
39 |
+
</div>
|
40 |
+
|
41 |
+
|
42 |
+
<div class="tabbertab">
|
43 |
+
<h2>Tab 3</h2>
|
44 |
+
<p>Tab 3 content.</p>
|
45 |
+
</div>
|
46 |
+
|
47 |
+
</div>
|
48 |
+
|
49 |
+
</body>
|
50 |
+
</html>
|
tabber/example2.html
ADDED
@@ -0,0 +1,153 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<!-- $Id: example2.html,v 1.8 2006/04/10 05:05:28 pat Exp $ -->
|
2 |
+
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
|
3 |
+
<html lang="en">
|
4 |
+
<head>
|
5 |
+
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
|
6 |
+
<title>Advanced Tabber Example</title>
|
7 |
+
|
8 |
+
<link rel="stylesheet" href="example.css" TYPE="text/css" MEDIA="screen">
|
9 |
+
<link rel="stylesheet" href="example-print.css" TYPE="text/css" MEDIA="print">
|
10 |
+
|
11 |
+
<script type="text/javascript">
|
12 |
+
|
13 |
+
/* Optional: Temporarily hide the "tabber" class so it does not "flash"
|
14 |
+
on the page as plain HTML. After tabber runs, the class is changed
|
15 |
+
to "tabberlive" and it will appear.
|
16 |
+
*/
|
17 |
+
document.write('<style type="text/css">.tabber{display:none;}<\/style>');
|
18 |
+
|
19 |
+
var tabberOptions = {
|
20 |
+
|
21 |
+
/* Optional: instead of letting tabber run during the onload event,
|
22 |
+
we'll start it up manually. This can be useful because the onload
|
23 |
+
even runs after all the images have finished loading, and we can
|
24 |
+
run tabber at the bottom of our page to start it up faster. See the
|
25 |
+
bottom of this page for more info. Note: this variable must be set
|
26 |
+
BEFORE you include tabber.js.
|
27 |
+
*/
|
28 |
+
'manualStartup':true,
|
29 |
+
|
30 |
+
/* Optional: code to run after each tabber object has initialized */
|
31 |
+
|
32 |
+
'onLoad': function(argsObj) {
|
33 |
+
/* Display an alert only after tab2 */
|
34 |
+
if (argsObj.tabber.id == 'tab2') {
|
35 |
+
alert('Finished loading tab2!');
|
36 |
+
}
|
37 |
+
},
|
38 |
+
|
39 |
+
/* Optional: code to run when the user clicks a tab. If this
|
40 |
+
function returns boolean false then the tab will not be changed
|
41 |
+
(the click is canceled). If you do not return a value or return
|
42 |
+
something that is not boolean false, */
|
43 |
+
|
44 |
+
'onClick': function(argsObj) {
|
45 |
+
|
46 |
+
var t = argsObj.tabber; /* Tabber object */
|
47 |
+
var id = t.id; /* ID of the main tabber DIV */
|
48 |
+
var i = argsObj.index; /* Which tab was clicked (0 is the first tab) */
|
49 |
+
var e = argsObj.event; /* Event object */
|
50 |
+
|
51 |
+
if (id == 'tab2') {
|
52 |
+
return confirm('Swtich to '+t.tabs[i].headingText+'?\nEvent type: '+e.type);
|
53 |
+
}
|
54 |
+
},
|
55 |
+
|
56 |
+
/* Optional: set an ID for each tab navigation link */
|
57 |
+
'addLinkId': true
|
58 |
+
|
59 |
+
};
|
60 |
+
|
61 |
+
</script>
|
62 |
+
|
63 |
+
<!-- Load the tabber code -->
|
64 |
+
<script type="text/javascript" src="tabber.js"></script>
|
65 |
+
|
66 |
+
</head>
|
67 |
+
<body>
|
68 |
+
|
69 |
+
<h1>Advanced Tabber Example</h1>
|
70 |
+
|
71 |
+
<p>← <a href="http://www.barelyfitz.com/projects/tabber/">Tabber Home</a></p>
|
72 |
+
|
73 |
+
<p>In the following example, the height is not constrained, so the page jumps around when a new tab is selected. "Tab 2" contains a nested tabber.</p>
|
74 |
+
|
75 |
+
<div class="tabber" id="tab1">
|
76 |
+
|
77 |
+
<div class="tabbertab">
|
78 |
+
<h2><a name="tab1">Tab <em>1</em></a></h2>
|
79 |
+
<p>Tab 1 content.</p>
|
80 |
+
</div>
|
81 |
+
|
82 |
+
<div class="tabbertab">
|
83 |
+
<h2>Tab 2</h2>
|
84 |
+
<p>Tab 2 content. A nested tabber:</p>
|
85 |
+
|
86 |
+
<div class="tabber" id="tab1-1">
|
87 |
+
|
88 |
+
<div class="tabbertab">
|
89 |
+
<h3>Tab 2-1</h3>
|
90 |
+
<p>Tab 2-1 content.</p>
|
91 |
+
</div>
|
92 |
+
|
93 |
+
<div class="tabbertab">
|
94 |
+
<h3>Tab 2-2</h3>
|
95 |
+
<p>Tab 2-2 content.</p>
|
96 |
+
</div>
|
97 |
+
|
98 |
+
<div class="tabbertab">
|
99 |
+
<h3>Tab 2-3</h3>
|
100 |
+
<p>Tab 2-3 content.</p>
|
101 |
+
</div>
|
102 |
+
</div>
|
103 |
+
</div>
|
104 |
+
|
105 |
+
<div class="tabbertab">
|
106 |
+
<h2>Tab 3</h2>
|
107 |
+
<p>Tab 3 content.</p>
|
108 |
+
</div>
|
109 |
+
</div>
|
110 |
+
|
111 |
+
<p>In the following example, "Tab 2" should be selected automatically. In addition, there is an onclick function attached to the tabs so you can confirm each click.</p>
|
112 |
+
|
113 |
+
|
114 |
+
<div class="tabber" id="tab2">
|
115 |
+
|
116 |
+
<div class="tabbertab">
|
117 |
+
<h2>Tab 1</h2>
|
118 |
+
<p>Tab 1 content.</p>
|
119 |
+
</div>
|
120 |
+
|
121 |
+
<div class="tabbertab tabbertabdefault">
|
122 |
+
<h2>Tab 2</h2>
|
123 |
+
<p>Long content to show the scrollbar to the right.</p>
|
124 |
+
<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cras nonummy lorem quis neque. Etiam molestie auctor ante. Fusce in enim. Suspendisse at ipsum. Praesent eget odio vitae lorem consectetuer euismod. Mauris vel risus eget arcu congue sodales. Mauris adipiscing viverra ante. Cras pharetra augue sit amet enim. Pellentesque ac sem. Nullam pulvinar convallis orci. In tristique accumsan enim. Nam venenatis suscipit lorem. Nam ut dui sit amet libero egestas facilisis. Aliquam elementum lectus sed ipsum tincidunt aliquet. Pellentesque nec nunc at metus malesuada hendrerit. Suspendisse magna. Aliquam odio augue, eleifend non, euismod nec, molestie quis, pede. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae;</p>
|
125 |
+
|
126 |
+
<p>In hac habitasse platea dictumst. Aenean suscipit nisl. In mollis consequat purus. Integer scelerisque. Nullam imperdiet sapien nec lectus. Praesent in orci. Donec magna magna, posuere at, auctor in, sagittis nec, mi. Morbi volutpat, magna pharetra scelerisque lacinia, est erat ultricies neque, nec convallis lorem lorem ut dolor. Proin ac nunc eget nibh pulvinar gravida. Sed pretium, sem ac suscipit imperdiet, mauris ligula dictum nulla, pulvinar interdum pede urna vel magna. In lectus. In sed odio. Quisque eros ligula, placerat nec, tincidunt in, ullamcorper sed, lectus. Nam aliquet orci eget ante. Aliquam aliquet mattis pede. Mauris eleifend nibh vel nunc.</p>
|
127 |
+
|
128 |
+
<p>Sed mi lacus, sodales ac, lacinia nec, rutrum sodales, dolor. Morbi convallis molestie enim. Aenean tristique justo. Nullam erat ante, tempor a, suscipit ut, luctus vitae, erat. Proin fermentum. Etiam id erat ut est scelerisque volutpat. Praesent gravida libero vitae sapien. Donec vel elit. In non enim nec quam rutrum sollicitudin. Suspendisse tincidunt adipiscing ligula. Vestibulum ante ipsum primis in faucibus orci luctus et ultrices posuere cubilia Curae; Etiam vel nulla non augue varius pretium. Integer vestibulum enim vel tortor.</p>
|
129 |
+
|
130 |
+
<p>Nulla at massa. Vivamus turpis urna, ultrices eget, auctor ullamcorper, ultricies quis, urna. Proin lobortis tincidunt orci. Duis quam neque, mattis vel, rutrum vitae, porttitor id, libero. Vestibulum sagittis lorem eget pede. Curabitur dignissim, nisi sit amet porttitor dignissim, quam felis condimentum arcu, eget facilisis metus lacus in quam. Nulla semper. In hac habitasse platea dictumst. Aenean luctus diam. Aenean consequat massa quis nisi.</p>
|
131 |
+
|
132 |
+
<p>Curabitur quam odio, ornare vel, hendrerit ac, sagittis mattis, ipsum. Fusce accumsan, dolor ac suscipit gravida, tortor nibh cursus ligula, at posuere orci arcu euismod ipsum. Nunc iaculis, turpis quis mattis imperdiet, nibh sapien venenatis nulla, id ornare tortor nunc in risus. Morbi lacinia mollis nulla. Donec tempus vestibulum diam. Praesent aliquet metus non orci. Nulla dictum pulvinar sem. Proin mi. Maecenas pharetra enim eget elit. Ut interdum libero ac est. Phasellus accumsan. Praesent vulputate vehicula elit. Pellentesque habitant morbi tristique senectus et netus et malesuada fames ac turpis egestas. Nulla pretium diam non felis. Aenean at nisl. Proin rutrum tempus mauris. In metus ante, congue eu, vestibulum in, tincidunt sit amet, tortor. Suspendisse non enim eget elit imperdiet fringilla. Pellentesque odio erat, consequat vitae, euismod nec, congue sed, lectus. Praesent tempor urna.</p>
|
133 |
+
</div>
|
134 |
+
|
135 |
+
<div class="tabbertab" title="Tab 3 Title Override">
|
136 |
+
<h2>Tab 3</h2>
|
137 |
+
<p>The name of this tab is taken from the TITLE attribute instead of from the H2 element, then the TITLE attribute is erased so it does not cause a mouseover tooltip over the content area.</p>
|
138 |
+
</div>
|
139 |
+
</div>
|
140 |
+
|
141 |
+
<script type="text/javascript">
|
142 |
+
|
143 |
+
/* Since we specified manualStartup=true, tabber will not run after
|
144 |
+
the onload event. Instead let's run it now, to prevent any delay
|
145 |
+
while images load.
|
146 |
+
*/
|
147 |
+
|
148 |
+
tabberAutomatic(tabberOptions);
|
149 |
+
|
150 |
+
</script>
|
151 |
+
|
152 |
+
</body>
|
153 |
+
</html>
|
tabber/tabber-minimized.js
ADDED
@@ -0,0 +1,40 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* Copyright (c) 2006 Patrick Fitzgerald */
|
2 |
+
|
3 |
+
function tabberObj(argsObj)
|
4 |
+
{var arg;this.div=null;this.classMain="tabber";this.classMainLive="tabberlive";this.classTab="tabbertab";this.classTabDefault="tabbertabdefault";this.classNav="tabbernav";this.classTabHide="tabbertabhide";this.classNavActive="tabberactive";this.titleElements=['h2','h3','h4','h5','h6'];this.titleElementsStripHTML=true;this.removeTitle=true;this.addLinkId=false;this.linkIdFormat='<tabberid>nav<tabnumberone>';for(arg in argsObj){this[arg]=argsObj[arg];}
|
5 |
+
this.REclassMain=new RegExp('\\b'+this.classMain+'\\b','gi');this.REclassMainLive=new RegExp('\\b'+this.classMainLive+'\\b','gi');this.REclassTab=new RegExp('\\b'+this.classTab+'\\b','gi');this.REclassTabDefault=new RegExp('\\b'+this.classTabDefault+'\\b','gi');this.REclassTabHide=new RegExp('\\b'+this.classTabHide+'\\b','gi');this.tabs=new Array();if(this.div){this.init(this.div);this.div=null;}}
|
6 |
+
tabberObj.prototype.init=function(e)
|
7 |
+
{var
|
8 |
+
childNodes,i,i2,t,defaultTab=0,DOM_ul,DOM_li,DOM_a,aId,headingElement;if(!document.getElementsByTagName){return false;}
|
9 |
+
if(e.id){this.id=e.id;}
|
10 |
+
this.tabs.length=0;childNodes=e.childNodes;for(i=0;i<childNodes.length;i++){if(childNodes[i].className&&childNodes[i].className.match(this.REclassTab)){t=new Object();t.div=childNodes[i];this.tabs[this.tabs.length]=t;if(childNodes[i].className.match(this.REclassTabDefault)){defaultTab=this.tabs.length-1;}}}
|
11 |
+
DOM_ul=document.createElement("ul");DOM_ul.className=this.classNav;for(i=0;i<this.tabs.length;i++){t=this.tabs[i];t.headingText=t.div.title;if(this.removeTitle){t.div.title='';}
|
12 |
+
if(!t.headingText){for(i2=0;i2<this.titleElements.length;i2++){headingElement=t.div.getElementsByTagName(this.titleElements[i2])[0];if(headingElement){t.headingText=headingElement.innerHTML;if(this.titleElementsStripHTML){t.headingText.replace(/<br>/gi," ");t.headingText=t.headingText.replace(/<[^>]+>/g,"");}
|
13 |
+
break;}}}
|
14 |
+
if(!t.headingText){t.headingText=i+1;}
|
15 |
+
DOM_li=document.createElement("li");t.li=DOM_li;DOM_a=document.createElement("a");DOM_a.appendChild(document.createTextNode(t.headingText));DOM_a.href="javascript:void(null);";DOM_a.title=t.headingText;DOM_a.onclick=this.navClick;DOM_a.tabber=this;DOM_a.tabberIndex=i;if(this.addLinkId&&this.linkIdFormat){aId=this.linkIdFormat;aId=aId.replace(/<tabberid>/gi,this.id);aId=aId.replace(/<tabnumberzero>/gi,i);aId=aId.replace(/<tabnumberone>/gi,i+1);aId=aId.replace(/<tabtitle>/gi,t.headingText.replace(/[^a-zA-Z0-9\-]/gi,''));DOM_a.id=aId;}
|
16 |
+
DOM_li.appendChild(DOM_a);DOM_ul.appendChild(DOM_li);}
|
17 |
+
e.insertBefore(DOM_ul,e.firstChild);e.className=e.className.replace(this.REclassMain,this.classMainLive);this.tabShow(defaultTab);if(typeof this.onLoad=='function'){this.onLoad({tabber:this});}
|
18 |
+
return this;};tabberObj.prototype.navClick=function(event)
|
19 |
+
{var
|
20 |
+
rVal,a,self,tabberIndex,onClickArgs;a=this;if(!a.tabber){return false;}
|
21 |
+
self=a.tabber;tabberIndex=a.tabberIndex;a.blur();if(typeof self.onClick=='function'){onClickArgs={'tabber':self,'index':tabberIndex,'event':event};if(!event){onClickArgs.event=window.event;}
|
22 |
+
rVal=self.onClick(onClickArgs);if(rVal===false){return false;}}
|
23 |
+
self.tabShow(tabberIndex);return false;};tabberObj.prototype.tabHideAll=function()
|
24 |
+
{var i;for(i=0;i<this.tabs.length;i++){this.tabHide(i);}};tabberObj.prototype.tabHide=function(tabberIndex)
|
25 |
+
{var div;if(!this.tabs[tabberIndex]){return false;}
|
26 |
+
div=this.tabs[tabberIndex].div;if(!div.className.match(this.REclassTabHide)){div.className+=' '+this.classTabHide;}
|
27 |
+
this.navClearActive(tabberIndex);return this;};tabberObj.prototype.tabShow=function(tabberIndex)
|
28 |
+
{var div;if(!this.tabs[tabberIndex]){return false;}
|
29 |
+
this.tabHideAll();div=this.tabs[tabberIndex].div;div.className=div.className.replace(this.REclassTabHide,'');this.navSetActive(tabberIndex);if(typeof this.onTabDisplay=='function'){this.onTabDisplay({'tabber':this,'index':tabberIndex});}
|
30 |
+
return this;};tabberObj.prototype.navSetActive=function(tabberIndex)
|
31 |
+
{this.tabs[tabberIndex].li.className=this.classNavActive;return this;};tabberObj.prototype.navClearActive=function(tabberIndex)
|
32 |
+
{this.tabs[tabberIndex].li.className='';return this;};function tabberAutomatic(tabberArgs)
|
33 |
+
{var
|
34 |
+
tempObj,divs,i;if(!tabberArgs){tabberArgs={};}
|
35 |
+
tempObj=new tabberObj(tabberArgs);divs=document.getElementsByTagName("div");for(i=0;i<divs.length;i++){if(divs[i].className&&divs[i].className.match(tempObj.REclassMain)){tabberArgs.div=divs[i];divs[i].tabber=new tabberObj(tabberArgs);}}
|
36 |
+
return this;}
|
37 |
+
function tabberAutomaticOnLoad(tabberArgs)
|
38 |
+
{var oldOnLoad;if(!tabberArgs){tabberArgs={};}
|
39 |
+
oldOnLoad=window.onload;if(typeof window.onload!='function'){window.onload=function(){tabberAutomatic(tabberArgs);};}else{window.onload=function(){oldOnLoad();tabberAutomatic(tabberArgs);};}}
|
40 |
+
if(typeof tabberOptions=='undefined'){tabberAutomaticOnLoad();}else{if(!tabberOptions['manualStartup']){tabberAutomaticOnLoad(tabberOptions);}}
|
tabber/tabber.css
ADDED
@@ -0,0 +1,109 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/* $Id: example.css,v 1.5 2006/03/27 02:44:36 pat Exp $ */
|
2 |
+
|
3 |
+
/*--------------------------------------------------
|
4 |
+
REQUIRED to hide the non-active tab content.
|
5 |
+
But do not hide them in the print stylesheet!
|
6 |
+
--------------------------------------------------*/
|
7 |
+
.tabberlive .tabbertabhide {
|
8 |
+
display:none;
|
9 |
+
}
|
10 |
+
|
11 |
+
/*--------------------------------------------------
|
12 |
+
.tabber = before the tabber interface is set up
|
13 |
+
.tabberlive = after the tabber interface is set up
|
14 |
+
--------------------------------------------------*/
|
15 |
+
.tabber {
|
16 |
+
}
|
17 |
+
.tabberlive {
|
18 |
+
margin-top:1em;
|
19 |
+
}
|
20 |
+
|
21 |
+
/*--------------------------------------------------
|
22 |
+
ul.tabbernav = the tab navigation list
|
23 |
+
li.tabberactive = the active tab
|
24 |
+
--------------------------------------------------*/
|
25 |
+
ul.tabbernav
|
26 |
+
{
|
27 |
+
margin:0;
|
28 |
+
padding: 3px 0;
|
29 |
+
border-bottom: 1px solid #E1D6C6;
|
30 |
+
font: bold 12px Verdana, sans-serif;
|
31 |
+
}
|
32 |
+
|
33 |
+
ul.tabbernav li
|
34 |
+
{
|
35 |
+
list-style: none;
|
36 |
+
margin: 0;
|
37 |
+
display: inline;
|
38 |
+
}
|
39 |
+
|
40 |
+
ul.tabbernav li a
|
41 |
+
{
|
42 |
+
padding: 3px 0.5em;
|
43 |
+
margin-left: 3px;
|
44 |
+
border: 1px solid #E1D6C6;
|
45 |
+
border-bottom: none;
|
46 |
+
background: #E6EADB;
|
47 |
+
text-decoration: none;
|
48 |
+
}
|
49 |
+
|
50 |
+
ul.tabbernav li a:link { color: #676E04; }
|
51 |
+
ul.tabbernav li a:visited { color: #676E04; }
|
52 |
+
|
53 |
+
ul.tabbernav li a:hover
|
54 |
+
{
|
55 |
+
color: #000;
|
56 |
+
background: #B9C49A;
|
57 |
+
border-color: #227;
|
58 |
+
}
|
59 |
+
|
60 |
+
ul.tabbernav li.tabberactive a
|
61 |
+
{
|
62 |
+
background-color: #fff;
|
63 |
+
border-bottom: 1px solid #fff;
|
64 |
+
}
|
65 |
+
|
66 |
+
ul.tabbernav li.tabberactive a:hover
|
67 |
+
{
|
68 |
+
color: #000;
|
69 |
+
background: white;
|
70 |
+
border-bottom: 1px solid white;
|
71 |
+
}
|
72 |
+
|
73 |
+
/*--------------------------------------------------
|
74 |
+
.tabbertab = the tab content
|
75 |
+
Add style only after the tabber interface is set up (.tabberlive)
|
76 |
+
--------------------------------------------------*/
|
77 |
+
.tabberlive .tabbertab {
|
78 |
+
padding:5px;
|
79 |
+
border:1px solid #DDD;
|
80 |
+
border-top:0;
|
81 |
+
|
82 |
+
/* If you don't want the tab size changing whenever a tab is changed
|
83 |
+
you can set a fixed height */
|
84 |
+
|
85 |
+
/* height:200px; */
|
86 |
+
|
87 |
+
/* If you set a fix height set overflow to auto and you will get a
|
88 |
+
scrollbar when necessary */
|
89 |
+
|
90 |
+
/* overflow:auto; */
|
91 |
+
}
|
92 |
+
|
93 |
+
/* If desired, hide the heading since a heading is provided by the tab */
|
94 |
+
.tabberlive .tabbertab h2 {
|
95 |
+
display:none;
|
96 |
+
}
|
97 |
+
.tabberlive .tabbertab h3 {
|
98 |
+
display:none;
|
99 |
+
}
|
100 |
+
|
101 |
+
/* Example of using an ID to set different styles for the tabs on the page */
|
102 |
+
.tabberlive#tab1 {
|
103 |
+
}
|
104 |
+
.tabberlive#tab2 {
|
105 |
+
}
|
106 |
+
.tabberlive#tab2 .tabbertab {
|
107 |
+
height:200px;
|
108 |
+
overflow:auto;
|
109 |
+
}
|
tabber/tabber.js
ADDED
@@ -0,0 +1,523 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
/*==================================================
|
2 |
+
$Id: tabber.js,v 1.9 2006/04/27 20:51:51 pat Exp $
|
3 |
+
tabber.js by Patrick Fitzgerald pat@barelyfitz.com
|
4 |
+
|
5 |
+
Documentation can be found at the following URL:
|
6 |
+
http://www.barelyfitz.com/projects/tabber/
|
7 |
+
|
8 |
+
License (http://www.opensource.org/licenses/mit-license.php)
|
9 |
+
|
10 |
+
Copyright (c) 2006 Patrick Fitzgerald
|
11 |
+
|
12 |
+
Permission is hereby granted, free of charge, to any person
|
13 |
+
obtaining a copy of this software and associated documentation files
|
14 |
+
(the "Software"), to deal in the Software without restriction,
|
15 |
+
including without limitation the rights to use, copy, modify, merge,
|
16 |
+
publish, distribute, sublicense, and/or sell copies of the Software,
|
17 |
+
and to permit persons to whom the Software is furnished to do so,
|
18 |
+
subject to the following conditions:
|
19 |
+
|
20 |
+
The above copyright notice and this permission notice shall be
|
21 |
+
included in all copies or substantial portions of the Software.
|
22 |
+
|
23 |
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND,
|
24 |
+
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
|
25 |
+
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND
|
26 |
+
NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
|
27 |
+
BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN
|
28 |
+
ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
|
29 |
+
CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
30 |
+
SOFTWARE.
|
31 |
+
==================================================*/
|
32 |
+
|
33 |
+
function tabberObj(argsObj)
|
34 |
+
{
|
35 |
+
var arg; /* name of an argument to override */
|
36 |
+
|
37 |
+
/* Element for the main tabber div. If you supply this in argsObj,
|
38 |
+
then the init() method will be called.
|
39 |
+
*/
|
40 |
+
this.div = null;
|
41 |
+
|
42 |
+
/* Class of the main tabber div */
|
43 |
+
this.classMain = "tabber";
|
44 |
+
|
45 |
+
/* Rename classMain to classMainLive after tabifying
|
46 |
+
(so a different style can be applied)
|
47 |
+
*/
|
48 |
+
this.classMainLive = "tabberlive";
|
49 |
+
|
50 |
+
/* Class of each DIV that contains a tab */
|
51 |
+
this.classTab = "tabbertab";
|
52 |
+
|
53 |
+
/* Class to indicate which tab should be active on startup */
|
54 |
+
this.classTabDefault = "tabbertabdefault";
|
55 |
+
|
56 |
+
/* Class for the navigation UL */
|
57 |
+
this.classNav = "tabbernav";
|
58 |
+
|
59 |
+
/* When a tab is to be hidden, instead of setting display='none', we
|
60 |
+
set the class of the div to classTabHide. In your screen
|
61 |
+
stylesheet you should set classTabHide to display:none. In your
|
62 |
+
print stylesheet you should set display:block to ensure that all
|
63 |
+
the information is printed.
|
64 |
+
*/
|
65 |
+
this.classTabHide = "tabbertabhide";
|
66 |
+
|
67 |
+
/* Class to set the navigation LI when the tab is active, so you can
|
68 |
+
use a different style on the active tab.
|
69 |
+
*/
|
70 |
+
this.classNavActive = "tabberactive";
|
71 |
+
|
72 |
+
/* Elements that might contain the title for the tab, only used if a
|
73 |
+
title is not specified in the TITLE attribute of DIV classTab.
|
74 |
+
*/
|
75 |
+
this.titleElements = ['h2','h3','h4','h5','h6'];
|
76 |
+
|
77 |
+
/* Should we strip out the HTML from the innerHTML of the title elements?
|
78 |
+
This should usually be true.
|
79 |
+
*/
|
80 |
+
this.titleElementsStripHTML = true;
|
81 |
+
|
82 |
+
/* If the user specified the tab names using a TITLE attribute on
|
83 |
+
the DIV, then the browser will display a tooltip whenever the
|
84 |
+
mouse is over the DIV. To prevent this tooltip, we can remove the
|
85 |
+
TITLE attribute after getting the tab name.
|
86 |
+
*/
|
87 |
+
this.removeTitle = true;
|
88 |
+
|
89 |
+
/* If you want to add an id to each link set this to true */
|
90 |
+
this.addLinkId = false;
|
91 |
+
|
92 |
+
/* If addIds==true, then you can set a format for the ids.
|
93 |
+
<tabberid> will be replaced with the id of the main tabber div.
|
94 |
+
<tabnumberzero> will be replaced with the tab number
|
95 |
+
(tab numbers starting at zero)
|
96 |
+
<tabnumberone> will be replaced with the tab number
|
97 |
+
(tab numbers starting at one)
|
98 |
+
<tabtitle> will be replaced by the tab title
|
99 |
+
(with all non-alphanumeric characters removed)
|
100 |
+
*/
|
101 |
+
this.linkIdFormat = '<tabberid>nav<tabnumberone>';
|
102 |
+
|
103 |
+
/* You can override the defaults listed above by passing in an object:
|
104 |
+
var mytab = new tabber({property:value,property:value});
|
105 |
+
*/
|
106 |
+
for (arg in argsObj) { this[arg] = argsObj[arg]; }
|
107 |
+
|
108 |
+
/* Create regular expressions for the class names; Note: if you
|
109 |
+
change the class names after a new object is created you must
|
110 |
+
also change these regular expressions.
|
111 |
+
*/
|
112 |
+
this.REclassMain = new RegExp('\\b' + this.classMain + '\\b', 'gi');
|
113 |
+
this.REclassMainLive = new RegExp('\\b' + this.classMainLive + '\\b', 'gi');
|
114 |
+
this.REclassTab = new RegExp('\\b' + this.classTab + '\\b', 'gi');
|
115 |
+
this.REclassTabDefault = new RegExp('\\b' + this.classTabDefault + '\\b', 'gi');
|
116 |
+
this.REclassTabHide = new RegExp('\\b' + this.classTabHide + '\\b', 'gi');
|
117 |
+
|
118 |
+
/* Array of objects holding info about each tab */
|
119 |
+
this.tabs = new Array();
|
120 |
+
|
121 |
+
/* If the main tabber div was specified, call init() now */
|
122 |
+
if (this.div) {
|
123 |
+
|
124 |
+
this.init(this.div);
|
125 |
+
|
126 |
+
/* We don't need the main div anymore, and to prevent a memory leak
|
127 |
+
in IE, we must remove the circular reference between the div
|
128 |
+
and the tabber object. */
|
129 |
+
this.div = null;
|
130 |
+
}
|
131 |
+
}
|
132 |
+
|
133 |
+
|
134 |
+
/*--------------------------------------------------
|
135 |
+
Methods for tabberObj
|
136 |
+
--------------------------------------------------*/
|
137 |
+
|
138 |
+
|
139 |
+
tabberObj.prototype.init = function(e)
|
140 |
+
{
|
141 |
+
/* Set up the tabber interface.
|
142 |
+
|
143 |
+
e = element (the main containing div)
|
144 |
+
|
145 |
+
Example:
|
146 |
+
init(document.getElementById('mytabberdiv'))
|
147 |
+
*/
|
148 |
+
|
149 |
+
var
|
150 |
+
childNodes, /* child nodes of the tabber div */
|
151 |
+
i, i2, /* loop indices */
|
152 |
+
t, /* object to store info about a single tab */
|
153 |
+
defaultTab=0, /* which tab to select by default */
|
154 |
+
DOM_ul, /* tabbernav list */
|
155 |
+
DOM_li, /* tabbernav list item */
|
156 |
+
DOM_a, /* tabbernav link */
|
157 |
+
aId, /* A unique id for DOM_a */
|
158 |
+
headingElement; /* searching for text to use in the tab */
|
159 |
+
|
160 |
+
/* Verify that the browser supports DOM scripting */
|
161 |
+
if (!document.getElementsByTagName) { return false; }
|
162 |
+
|
163 |
+
/* If the main DIV has an ID then save it. */
|
164 |
+
if (e.id) {
|
165 |
+
this.id = e.id;
|
166 |
+
}
|
167 |
+
|
168 |
+
/* Clear the tabs array (but it should normally be empty) */
|
169 |
+
this.tabs.length = 0;
|
170 |
+
|
171 |
+
/* Loop through an array of all the child nodes within our tabber element. */
|
172 |
+
childNodes = e.childNodes;
|
173 |
+
for(i=0; i < childNodes.length; i++) {
|
174 |
+
|
175 |
+
/* Find the nodes where class="tabbertab" */
|
176 |
+
if(childNodes[i].className &&
|
177 |
+
childNodes[i].className.match(this.REclassTab)) {
|
178 |
+
|
179 |
+
/* Create a new object to save info about this tab */
|
180 |
+
t = new Object();
|
181 |
+
|
182 |
+
/* Save a pointer to the div for this tab */
|
183 |
+
t.div = childNodes[i];
|
184 |
+
|
185 |
+
/* Add the new object to the array of tabs */
|
186 |
+
this.tabs[this.tabs.length] = t;
|
187 |
+
|
188 |
+
/* If the class name contains classTabDefault,
|
189 |
+
then select this tab by default.
|
190 |
+
*/
|
191 |
+
if (childNodes[i].className.match(this.REclassTabDefault)) {
|
192 |
+
defaultTab = this.tabs.length-1;
|
193 |
+
}
|
194 |
+
}
|
195 |
+
}
|
196 |
+
|
197 |
+
/* Create a new UL list to hold the tab headings */
|
198 |
+
DOM_ul = document.createElement("ul");
|
199 |
+
DOM_ul.className = this.classNav;
|
200 |
+
|
201 |
+
/* Loop through each tab we found */
|
202 |
+
for (i=0; i < this.tabs.length; i++) {
|
203 |
+
|
204 |
+
t = this.tabs[i];
|
205 |
+
|
206 |
+
/* Get the label to use for this tab:
|
207 |
+
From the title attribute on the DIV,
|
208 |
+
Or from one of the this.titleElements[] elements,
|
209 |
+
Or use an automatically generated number.
|
210 |
+
*/
|
211 |
+
t.headingText = t.div.title;
|
212 |
+
|
213 |
+
/* Remove the title attribute to prevent a tooltip from appearing */
|
214 |
+
if (this.removeTitle) { t.div.title = ''; }
|
215 |
+
|
216 |
+
if (!t.headingText) {
|
217 |
+
|
218 |
+
/* Title was not defined in the title of the DIV,
|
219 |
+
So try to get the title from an element within the DIV.
|
220 |
+
Go through the list of elements in this.titleElements
|
221 |
+
(typically heading elements ['h2','h3','h4'])
|
222 |
+
*/
|
223 |
+
for (i2=0; i2<this.titleElements.length; i2++) {
|
224 |
+
headingElement = t.div.getElementsByTagName(this.titleElements[i2])[0];
|
225 |
+
if (headingElement) {
|
226 |
+
t.headingText = headingElement.innerHTML;
|
227 |
+
if (this.titleElementsStripHTML) {
|
228 |
+
t.headingText.replace(/<br>/gi," ");
|
229 |
+
t.headingText = t.headingText.replace(/<[^>]+>/g,"");
|
230 |
+
}
|
231 |
+
break;
|
232 |
+
}
|
233 |
+
}
|
234 |
+
}
|
235 |
+
|
236 |
+
if (!t.headingText) {
|
237 |
+
/* Title was not found (or is blank) so automatically generate a
|
238 |
+
number for the tab.
|
239 |
+
*/
|
240 |
+
t.headingText = i + 1;
|
241 |
+
}
|
242 |
+
|
243 |
+
/* Create a list element for the tab */
|
244 |
+
DOM_li = document.createElement("li");
|
245 |
+
|
246 |
+
/* Save a reference to this list item so we can later change it to
|
247 |
+
the "active" class */
|
248 |
+
t.li = DOM_li;
|
249 |
+
|
250 |
+
/* Create a link to activate the tab */
|
251 |
+
DOM_a = document.createElement("a");
|
252 |
+
DOM_a.appendChild(document.createTextNode(t.headingText));
|
253 |
+
DOM_a.href = "javascript:void(null);";
|
254 |
+
DOM_a.title = t.headingText;
|
255 |
+
DOM_a.onclick = this.navClick;
|
256 |
+
|
257 |
+
/* Add some properties to the link so we can identify which tab
|
258 |
+
was clicked. Later the navClick method will need this.
|
259 |
+
*/
|
260 |
+
DOM_a.tabber = this;
|
261 |
+
DOM_a.tabberIndex = i;
|
262 |
+
|
263 |
+
/* Do we need to add an id to DOM_a? */
|
264 |
+
if (this.addLinkId && this.linkIdFormat) {
|
265 |
+
|
266 |
+
/* Determine the id name */
|
267 |
+
aId = this.linkIdFormat;
|
268 |
+
aId = aId.replace(/<tabberid>/gi, this.id);
|
269 |
+
aId = aId.replace(/<tabnumberzero>/gi, i);
|
270 |
+
aId = aId.replace(/<tabnumberone>/gi, i+1);
|
271 |
+
aId = aId.replace(/<tabtitle>/gi, t.headingText.replace(/[^a-zA-Z0-9\-]/gi, ''));
|
272 |
+
|
273 |
+
DOM_a.id = aId;
|
274 |
+
}
|
275 |
+
|
276 |
+
/* Add the link to the list element */
|
277 |
+
DOM_li.appendChild(DOM_a);
|
278 |
+
|
279 |
+
/* Add the list element to the list */
|
280 |
+
DOM_ul.appendChild(DOM_li);
|
281 |
+
}
|
282 |
+
|
283 |
+
/* Add the UL list to the beginning of the tabber div */
|
284 |
+
e.insertBefore(DOM_ul, e.firstChild);
|
285 |
+
|
286 |
+
/* Make the tabber div "live" so different CSS can be applied */
|
287 |
+
e.className = e.className.replace(this.REclassMain, this.classMainLive);
|
288 |
+
|
289 |
+
/* Activate the default tab, and do not call the onclick handler */
|
290 |
+
this.tabShow(defaultTab);
|
291 |
+
|
292 |
+
/* If the user specified an onLoad function, call it now. */
|
293 |
+
if (typeof this.onLoad == 'function') {
|
294 |
+
this.onLoad({tabber:this});
|
295 |
+
}
|
296 |
+
|
297 |
+
return this;
|
298 |
+
};
|
299 |
+
|
300 |
+
|
301 |
+
tabberObj.prototype.navClick = function(event)
|
302 |
+
{
|
303 |
+
/* This method should only be called by the onClick event of an <A>
|
304 |
+
element, in which case we will determine which tab was clicked by
|
305 |
+
examining a property that we previously attached to the <A>
|
306 |
+
element.
|
307 |
+
|
308 |
+
Since this was triggered from an onClick event, the variable
|
309 |
+
"this" refers to the <A> element that triggered the onClick
|
310 |
+
event (and not to the tabberObj).
|
311 |
+
|
312 |
+
When tabberObj was initialized, we added some extra properties
|
313 |
+
to the <A> element, for the purpose of retrieving them now. Get
|
314 |
+
the tabberObj object, plus the tab number that was clicked.
|
315 |
+
*/
|
316 |
+
|
317 |
+
var
|
318 |
+
rVal, /* Return value from the user onclick function */
|
319 |
+
a, /* element that triggered the onclick event */
|
320 |
+
self, /* the tabber object */
|
321 |
+
tabberIndex, /* index of the tab that triggered the event */
|
322 |
+
onClickArgs; /* args to send the onclick function */
|
323 |
+
|
324 |
+
a = this;
|
325 |
+
if (!a.tabber) { return false; }
|
326 |
+
|
327 |
+
self = a.tabber;
|
328 |
+
tabberIndex = a.tabberIndex;
|
329 |
+
|
330 |
+
/* Remove focus from the link because it looks ugly.
|
331 |
+
I don't know if this is a good idea...
|
332 |
+
*/
|
333 |
+
a.blur();
|
334 |
+
|
335 |
+
/* If the user specified an onClick function, call it now.
|
336 |
+
If the function returns false then do not continue.
|
337 |
+
*/
|
338 |
+
if (typeof self.onClick == 'function') {
|
339 |
+
|
340 |
+
onClickArgs = {'tabber':self, 'index':tabberIndex, 'event':event};
|
341 |
+
|
342 |
+
/* IE uses a different way to access the event object */
|
343 |
+
if (!event) { onClickArgs.event = window.event; }
|
344 |
+
|
345 |
+
rVal = self.onClick(onClickArgs);
|
346 |
+
if (rVal === false) { return false; }
|
347 |
+
}
|
348 |
+
|
349 |
+
self.tabShow(tabberIndex);
|
350 |
+
|
351 |
+
return false;
|
352 |
+
};
|
353 |
+
|
354 |
+
|
355 |
+
tabberObj.prototype.tabHideAll = function()
|
356 |
+
{
|
357 |
+
var i; /* counter */
|
358 |
+
|
359 |
+
/* Hide all tabs and make all navigation links inactive */
|
360 |
+
for (i = 0; i < this.tabs.length; i++) {
|
361 |
+
this.tabHide(i);
|
362 |
+
}
|
363 |
+
};
|
364 |
+
|
365 |
+
|
366 |
+
tabberObj.prototype.tabHide = function(tabberIndex)
|
367 |
+
{
|
368 |
+
var div;
|
369 |
+
|
370 |
+
if (!this.tabs[tabberIndex]) { return false; }
|
371 |
+
|
372 |
+
/* Hide a single tab and make its navigation link inactive */
|
373 |
+
div = this.tabs[tabberIndex].div;
|
374 |
+
|
375 |
+
/* Hide the tab contents by adding classTabHide to the div */
|
376 |
+
if (!div.className.match(this.REclassTabHide)) {
|
377 |
+
div.className += ' ' + this.classTabHide;
|
378 |
+
}
|
379 |
+
this.navClearActive(tabberIndex);
|
380 |
+
|
381 |
+
return this;
|
382 |
+
};
|
383 |
+
|
384 |
+
|
385 |
+
tabberObj.prototype.tabShow = function(tabberIndex)
|
386 |
+
{
|
387 |
+
/* Show the tabberIndex tab and hide all the other tabs */
|
388 |
+
|
389 |
+
var div;
|
390 |
+
|
391 |
+
if (!this.tabs[tabberIndex]) { return false; }
|
392 |
+
|
393 |
+
/* Hide all the tabs first */
|
394 |
+
this.tabHideAll();
|
395 |
+
|
396 |
+
/* Get the div that holds this tab */
|
397 |
+
div = this.tabs[tabberIndex].div;
|
398 |
+
|
399 |
+
/* Remove classTabHide from the div */
|
400 |
+
div.className = div.className.replace(this.REclassTabHide, '');
|
401 |
+
|
402 |
+
/* Mark this tab navigation link as "active" */
|
403 |
+
this.navSetActive(tabberIndex);
|
404 |
+
|
405 |
+
/* If the user specified an onTabDisplay function, call it now. */
|
406 |
+
if (typeof this.onTabDisplay == 'function') {
|
407 |
+
this.onTabDisplay({'tabber':this, 'index':tabberIndex});
|
408 |
+
}
|
409 |
+
|
410 |
+
return this;
|
411 |
+
};
|
412 |
+
|
413 |
+
tabberObj.prototype.navSetActive = function(tabberIndex)
|
414 |
+
{
|
415 |
+
/* Note: this method does *not* enforce the rule
|
416 |
+
that only one nav item can be active at a time.
|
417 |
+
*/
|
418 |
+
|
419 |
+
/* Set classNavActive for the navigation list item */
|
420 |
+
this.tabs[tabberIndex].li.className = this.classNavActive;
|
421 |
+
|
422 |
+
return this;
|
423 |
+
};
|
424 |
+
|
425 |
+
|
426 |
+
tabberObj.prototype.navClearActive = function(tabberIndex)
|
427 |
+
{
|
428 |
+
/* Note: this method does *not* enforce the rule
|
429 |
+
that one nav should always be active.
|
430 |
+
*/
|
431 |
+
|
432 |
+
/* Remove classNavActive from the navigation list item */
|
433 |
+
this.tabs[tabberIndex].li.className = '';
|
434 |
+
|
435 |
+
return this;
|
436 |
+
};
|
437 |
+
|
438 |
+
|
439 |
+
/*==================================================*/
|
440 |
+
|
441 |
+
|
442 |
+
function tabberAutomatic(tabberArgs)
|
443 |
+
{
|
444 |
+
/* This function finds all DIV elements in the document where
|
445 |
+
class=tabber.classMain, then converts them to use the tabber
|
446 |
+
interface.
|
447 |
+
|
448 |
+
tabberArgs = an object to send to "new tabber()"
|
449 |
+
*/
|
450 |
+
var
|
451 |
+
tempObj, /* Temporary tabber object */
|
452 |
+
divs, /* Array of all divs on the page */
|
453 |
+
i; /* Loop index */
|
454 |
+
|
455 |
+
if (!tabberArgs) { tabberArgs = {}; }
|
456 |
+
|
457 |
+
/* Create a tabber object so we can get the value of classMain */
|
458 |
+
tempObj = new tabberObj(tabberArgs);
|
459 |
+
|
460 |
+
/* Find all DIV elements in the document that have class=tabber */
|
461 |
+
|
462 |
+
/* First get an array of all DIV elements and loop through them */
|
463 |
+
divs = document.getElementsByTagName("div");
|
464 |
+
for (i=0; i < divs.length; i++) {
|
465 |
+
|
466 |
+
/* Is this DIV the correct class? */
|
467 |
+
if (divs[i].className &&
|
468 |
+
divs[i].className.match(tempObj.REclassMain)) {
|
469 |
+
|
470 |
+
/* Now tabify the DIV */
|
471 |
+
tabberArgs.div = divs[i];
|
472 |
+
divs[i].tabber = new tabberObj(tabberArgs);
|
473 |
+
}
|
474 |
+
}
|
475 |
+
|
476 |
+
return this;
|
477 |
+
}
|
478 |
+
|
479 |
+
|
480 |
+
/*==================================================*/
|
481 |
+
|
482 |
+
|
483 |
+
function tabberAutomaticOnLoad(tabberArgs)
|
484 |
+
{
|
485 |
+
/* This function adds tabberAutomatic to the window.onload event,
|
486 |
+
so it will run after the document has finished loading.
|
487 |
+
*/
|
488 |
+
var oldOnLoad;
|
489 |
+
|
490 |
+
if (!tabberArgs) { tabberArgs = {}; }
|
491 |
+
|
492 |
+
/* Taken from: http://simon.incutio.com/archive/2004/05/26/addLoadEvent */
|
493 |
+
|
494 |
+
oldOnLoad = window.onload;
|
495 |
+
if (typeof window.onload != 'function') {
|
496 |
+
window.onload = function() {
|
497 |
+
tabberAutomatic(tabberArgs);
|
498 |
+
};
|
499 |
+
} else {
|
500 |
+
window.onload = function() {
|
501 |
+
oldOnLoad();
|
502 |
+
tabberAutomatic(tabberArgs);
|
503 |
+
};
|
504 |
+
}
|
505 |
+
}
|
506 |
+
|
507 |
+
|
508 |
+
/*==================================================*/
|
509 |
+
|
510 |
+
|
511 |
+
/* Run tabberAutomaticOnload() unless the "manualStartup" option was specified */
|
512 |
+
|
513 |
+
if (typeof tabberOptions == 'undefined') {
|
514 |
+
|
515 |
+
tabberAutomaticOnLoad();
|
516 |
+
|
517 |
+
} else {
|
518 |
+
|
519 |
+
if (!tabberOptions['manualStartup']) {
|
520 |
+
tabberAutomaticOnLoad(tabberOptions);
|
521 |
+
}
|
522 |
+
|
523 |
+
}
|
update-info.txt
DELETED
@@ -1,2 +0,0 @@
|
|
1 |
-
* Fixed: Few code tweaks to optimise MySQL performance<br />
|
2 |
-
* Added: Dutch and Spanish language files
|
|
|
|