Version Description
- The plugin can now be translated. The .pot file is in the 'lang' folder of the plugin.
Download this release
Release Info
Developer | simon.ward |
Plugin | MP3-jPlayer |
Version | 2.6 |
Comparing to | |
See all releases |
Code changes from version 2.5 to 2.6
- admin-colours.php +127 -127
- admin-settings.php +249 -334
- frontend.php +6 -0
- lang/mp3-jplayer.pot +1361 -0
- main.php +1 -1
- mp3jplayer.php +5 -2
- readme.txt +6 -3
- widget-sh.php +12 -13
- widget-ui.php +63 -64
admin-colours.php
CHANGED
@@ -40,7 +40,7 @@ function mp3j_print_colours_page()
|
|
40 |
MJPdesign_submit();
|
41 |
?>
|
42 |
<!-- save message -->
|
43 |
-
<div class="updated"><p><strong><?php _e(
|
44 |
<?php
|
45 |
}
|
46 |
|
@@ -101,7 +101,7 @@ function mp3j_print_colours_page()
|
|
101 |
|
102 |
<div class="wrap">
|
103 |
<h2> </h2>
|
104 |
-
<h1
|
105 |
<p> </p>
|
106 |
|
107 |
<form method="post" action="<?php echo $_SERVER["REQUEST_URI"]; ?>">
|
@@ -112,7 +112,7 @@ function mp3j_print_colours_page()
|
|
112 |
<?php $rowCSS = ( $O['player_theme'] != "styleI" ) ? "display:none;" : ""; ?>
|
113 |
<table>
|
114 |
<tr>
|
115 |
-
<td><strong
|
116 |
<td><select name="player_theme" id="player-select" style="width:350px; font-weight:700;">
|
117 |
<?php
|
118 |
foreach ( $css_urls as $data ) {
|
@@ -125,9 +125,9 @@ function mp3j_print_colours_page()
|
|
125 |
<td></td>
|
126 |
</tr>
|
127 |
<tr id="customCSSrow" style="<?php echo $rowCSS; ?>">
|
128 |
-
<td><span id="player-csssheet"> url
|
129 |
<td><input type="text" id="mp3fcss" name="custom_stylesheet" style="width:100%;" value="<?php echo $O['custom_stylesheet']; ?>" /></td>
|
130 |
-
<td><span class="button-secondary" id="reload_stylesheet_button" style="font-size:90%; font-weight:700;">
|
131 |
</tr>
|
132 |
</table>
|
133 |
<br>
|
@@ -228,9 +228,9 @@ function mp3j_print_colours_page()
|
|
228 |
<div class="playlist-colour" id="playerBG2"></div>
|
229 |
<div class="wrapper-mjp">
|
230 |
<ul id="ul-mjp" class="ul-mjp<?php echo $ulClass . $liClass . $listWeight. $listItalic . $listAlign; ?>">
|
231 |
-
<li class="li-mjp"><a id="playerT2" class="a-mjp" href="#"
|
232 |
-
<li class="li-mjp"><a id="playerT3" class="a-mjp" style="background:<?php echo $C['listBGa_hover']; ?>; color:<?php echo $C['list_hover_colour']; ?>;" href="#"
|
233 |
-
<li class="li-mjp mjp-li-last"><a id="playerT4" class="a-mjp mp3j_A_current" style="background:<?php echo $C['listBGa_current']; ?>; color:<?php echo $C['list_current_colour']; ?>;" href="#"
|
234 |
</ul>
|
235 |
</div>
|
236 |
</div>
|
@@ -251,11 +251,11 @@ function mp3j_print_colours_page()
|
|
251 |
|
252 |
<!-- TABS start -->
|
253 |
<div class="mp3j-tabbuttons-wrap">
|
254 |
-
<div class="mp3j-tabbutton" id="mp3j_tabbutton_0"
|
255 |
-
<div class="mp3j-tabbutton" id="mp3j_tabbutton_1"
|
256 |
-
<div class="mp3j-tabbutton" id="mp3j_tabbutton_2"
|
257 |
-
<div class="mp3j-tabbutton" id="mp3j_tabbutton_3"
|
258 |
-
<div class="mp3j-tabbutton" id="mp3j_tabbutton_4"
|
259 |
<br class="clearB" />
|
260 |
</div>
|
261 |
<div class="mp3j-tabs-wrap">
|
@@ -265,7 +265,7 @@ function mp3j_print_colours_page()
|
|
265 |
<div style="float:left; max-width:390px; min-height:273px; padding:5px;">
|
266 |
<table class="colours unselectable">
|
267 |
<tr>
|
268 |
-
<td><strong
|
269 |
<td>
|
270 |
<div class="patch">
|
271 |
<div id="patchT1" onclick="MP3jP.clickPatch('T1','');" class="PatchCol" style="background-color:<?php echo $C['screen_text_colour']; ?>;" title="Retrieve"></div>
|
@@ -273,13 +273,13 @@ function mp3j_print_colours_page()
|
|
273 |
<div id="plusT1" class="plus" onclick="MP3jP.clickPlus('T1','color');"></div>
|
274 |
</div>
|
275 |
</td>
|
276 |
-
<td><input type="checkbox" name="titleHide" id="titleHide" value="true"<?php echo ( $C['titleHide'] === 'true' ? ' checked="checked"' : ''); ?>/><label for="titleHide" style="font-weight:500;"> <strong
|
277 |
<td></td>
|
278 |
<td></td>
|
279 |
|
280 |
</tr>
|
281 |
<tr>
|
282 |
-
<td><strong
|
283 |
<td>
|
284 |
<div class="patch">
|
285 |
<div id="patchT2" onclick="MP3jP.clickPatch('T2','');" class="PatchCol" style="background-color:<?php echo $C['list_text_colour']; ?>;" title="Retrieve"></div>
|
@@ -292,7 +292,7 @@ function mp3j_print_colours_page()
|
|
292 |
<td></td>
|
293 |
</tr>
|
294 |
<tr>
|
295 |
-
<td> <span class=""
|
296 |
<td>
|
297 |
<div class="patch">
|
298 |
<div id="patchT3" onclick="MP3jP.clickPatch('T3','');" class="PatchCol" style="background-color:<?php echo $C['list_hover_colour']; ?>;" title="Retrieve"></div>
|
@@ -307,11 +307,11 @@ function mp3j_print_colours_page()
|
|
307 |
<div id="plusBG5" class="plus" onclick="MP3jP.clickPlus('BG5','background-color','T3');"></div>
|
308 |
</div>
|
309 |
</td>
|
310 |
-
<td><span class="" style="font-size:12px;"
|
311 |
<td></td>
|
312 |
</tr>
|
313 |
<tr>
|
314 |
-
<td> <span class=""
|
315 |
<td>
|
316 |
<div class="patch">
|
317 |
<div id="patchT4" onclick="MP3jP.clickPatch('T4','');" class="PatchCol" style="background-color:<?php echo $C['list_current_colour']; ?>;" title="Retrieve"></div>
|
@@ -326,7 +326,7 @@ function mp3j_print_colours_page()
|
|
326 |
<div id="plusBG6" class="plus" onclick="MP3jP.clickPlus('BG6','background','T4');"></div>
|
327 |
</div>
|
328 |
</td>
|
329 |
-
<td><span class="" style="font-size:12px;"
|
330 |
<td></td>
|
331 |
</tr>
|
332 |
<?php
|
@@ -334,52 +334,52 @@ function mp3j_print_colours_page()
|
|
334 |
?>
|
335 |
</table>
|
336 |
|
337 |
-
<p style="margin:28px 0 12px 0; font-weight:700;"><a href="javascript:" onclick="jQuery('#hiddenFields1').toggle();"
|
338 |
<div id="hiddenFields1" style="display:none;">
|
339 |
<table class="colours">
|
340 |
<tr>
|
341 |
-
<td
|
342 |
<td><input type="text" id="T1" name="screen_text_colour" value="<?php echo $C['screen_text_colour']; ?>" /></td>
|
343 |
</tr>
|
344 |
<tr>
|
345 |
-
<td
|
346 |
<td><input type="text" id="T2" name="list_text_colour" value="<?php echo $C['list_text_colour']; ?>" /></td>
|
347 |
</tr>
|
348 |
<tr>
|
349 |
-
<td
|
350 |
<td><input type="text" id="T3" name="list_hover_colour" value="<?php echo $C['list_hover_colour']; ?>" /></td>
|
351 |
</tr>
|
352 |
<tr>
|
353 |
-
<td
|
354 |
<td><input id="BG5" type="text" name="listBGa_hover" value="<?php echo $C['listBGa_hover']; ?>" /></td>
|
355 |
</tr>
|
356 |
<tr>
|
357 |
-
<td
|
358 |
<td><input type="text" id="T4" name="list_current_colour" value="<?php echo $C['list_current_colour']; ?>" /></td>
|
359 |
</tr>
|
360 |
<tr>
|
361 |
-
<td
|
362 |
<td><input id="BG6" type="text" name="listBGa_current" value="<?php echo $C['listBGa_current']; ?>" /></td>
|
363 |
</tr>
|
364 |
<tr style="display:none;">
|
365 |
-
<td
|
366 |
<td>
|
367 |
-
Bold <input type="checkbox" value="true" id="titleBold" onclick="MP3jP.fontCheckers('#titleBold', '#trackTitles', 'bold', 'norm');" name="titleBold"<?php if ( 'true' == $C['titleBold'] ) { echo ' checked="checked"'; } ?> />
|
368 |
-
<br
|
369 |
</td>
|
370 |
</tr>
|
371 |
<tr style="display:none;">
|
372 |
-
<td
|
373 |
<td>
|
374 |
-
Bold <input type="checkbox" value="true" id="captionBold" onclick="MP3jP.fontCheckers('#captionBold', '#trackTitles', 'childBold', 'childNorm');" name="captionBold"<?php if ( 'true' == $C['captionBold'] ) { echo ' checked="checked"'; } ?> />
|
375 |
-
<br
|
376 |
</td>
|
377 |
</tr>
|
378 |
<tr style="display:none;">
|
379 |
-
<td
|
380 |
<td>
|
381 |
-
Bold <input type="checkbox" value="true" id="listBold" onclick="MP3jP.fontCheckers('#listBold', '#ul-mjp', 'childBold', 'childNorm');" name="listBold"<?php if ( 'true' == $C['listBold'] ) { echo ' checked="checked"'; } ?> />
|
382 |
-
<br
|
383 |
</td>
|
384 |
</tr>
|
385 |
</table>
|
@@ -397,7 +397,7 @@ function mp3j_print_colours_page()
|
|
397 |
<div style="float:left; width:380px; min-height:273px; padding:5px;">
|
398 |
<table class="colours unselectable">
|
399 |
<tr>
|
400 |
-
<td><strong
|
401 |
<td>
|
402 |
<div class="patch">
|
403 |
<div id="patchBG1" onclick="MP3jP.clickPatch('BG1','Alpha');" class="PatchCol" style="background-color:<?php echo $C['screen_colour']; ?>;" title="Retrieve"></div>
|
@@ -409,7 +409,7 @@ function mp3j_print_colours_page()
|
|
409 |
<td></td>
|
410 |
</tr>
|
411 |
<tr>
|
412 |
-
<td><strong
|
413 |
<td>
|
414 |
<div class="patch">
|
415 |
<div id="patchBG3" onclick="MP3jP.clickPatch('BG3','Alpha');" class="PatchCol" style="background-color:<?php echo $C['loadbar_colour']; ?>;" title="Retrieve"></div>
|
@@ -417,14 +417,14 @@ function mp3j_print_colours_page()
|
|
417 |
<div id="plusBG3" class="plus" onclick="MP3jP.clickPlus('BG3','background-color');"></div>
|
418 |
</div>
|
419 |
</td>
|
420 |
-
<td><span class="" style="font-size:12px;"
|
421 |
<td><select name="indicator" style="width:90px; font-size:11px;">
|
422 |
-
<option value="tint" <?php if ( 'tint' == $C['indicator'] ) {
|
423 |
-
<option value="colour" <?php if ( 'colour' == $C['indicator'] ) {
|
424 |
</select></td>
|
425 |
</tr>
|
426 |
<tr>
|
427 |
-
<td><strong
|
428 |
<td>
|
429 |
<div class="patch">
|
430 |
<div id="patchBG4" onclick="MP3jP.clickPatch('BG4','Alpha');" class="PatchCol" style="background-color:<?php echo $C['posbar_colour']; ?>;" title="Retrieve"></div>
|
@@ -432,16 +432,16 @@ function mp3j_print_colours_page()
|
|
432 |
<div id="plusBG4" class="plus" onclick="MP3jP.clickPlus('BG4','background-color');"></div>
|
433 |
</div>
|
434 |
</td>
|
435 |
-
<td><span class="" style="font-size:12px;"
|
436 |
<td><select name="posbar_tint" id="posbar_tint" style="width:90px; font-size:11px;">
|
437 |
-
<option value="none" <?php if ( 'none' == $C['posbar_tint'] ) {
|
438 |
-
<option value="soften" <?php if ( 'soften' == $C['posbar_tint'] ) {
|
439 |
-
<option value="softenT" <?php if ( 'softenT' == $C['posbar_tint'] ) {
|
440 |
-
<option value="darken" <?php if ( 'darken' == $C['posbar_tint'] ) {
|
441 |
</select></td>
|
442 |
</tr>
|
443 |
<tr>
|
444 |
-
<td><strong
|
445 |
<td>
|
446 |
<div class="patch">
|
447 |
<div id="patchBG2" onclick="MP3jP.clickPatch('BG2','Alpha');" class="PatchCol" style="background-color:<?php echo $C['playlist_colour']; ?>;" title="Retrieve"></div>
|
@@ -449,24 +449,24 @@ function mp3j_print_colours_page()
|
|
449 |
<div id="plusBG2" class="plus" onclick="MP3jP.clickPlus('BG2','background-color');"></div>
|
450 |
</div>
|
451 |
</td>
|
452 |
-
<td><span class="" style="font-size:12px;"
|
453 |
<td><select id="playlist_tint" name="playlist_tint" style="width:90px; font-size:11px;">
|
454 |
-
<option value="none" <?php if ( 'none' == $C['playlist_tint'] ) {
|
455 |
-
<option value="lighten1" <?php if ( 'lighten1' == $C['playlist_tint'] ) {
|
456 |
-
<option value="lighten2" <?php if ( 'lighten2' == $C['playlist_tint'] ) {
|
457 |
-
<option value="darken1" <?php if ( 'darken1' == $C['playlist_tint'] ) {
|
458 |
-
<option value="darken2" <?php if ( 'darken2' == $C['playlist_tint'] ) {
|
459 |
</select></td>
|
460 |
</tr>
|
461 |
<tr>
|
462 |
<td></td>
|
463 |
<td></td>
|
464 |
-
<td><span class="" style="font-size:12px;"
|
465 |
<td><select id="list_divider" name="list_divider" style="width:100%; font-size:11px;">
|
466 |
-
<option value="none" <?php if ( 'none' == $C['list_divider'] ) {
|
467 |
-
<option value="light" <?php if ( 'light' == $C['list_divider'] ) {
|
468 |
-
<option value="med" <?php if ( 'med' == $C['list_divider'] ) {
|
469 |
-
<option value="dark" <?php if ( 'dark' == $C['list_divider'] ) {
|
470 |
</select></td>
|
471 |
</tr>
|
472 |
<?php
|
@@ -474,23 +474,23 @@ function mp3j_print_colours_page()
|
|
474 |
?>
|
475 |
</table>
|
476 |
|
477 |
-
<p style="margin:0px 0 12px 0px; font-weight:700;"><a href="javascript:" onclick="jQuery('#hiddenFields0').toggle();"
|
478 |
<div id="hiddenFields0" style="display:none;">
|
479 |
<table class="colours">
|
480 |
<tr>
|
481 |
-
<td
|
482 |
<td><input id="BG1" type="text" name="screen_colour" value="<?php echo $C['screen_colour']; ?>" style="width:200px;" /></td>
|
483 |
</tr>
|
484 |
<tr>
|
485 |
-
<td
|
486 |
<td><input id="BG3" type="text" name="loadbar_colour" value="<?php echo $C['loadbar_colour']; ?>" style="width:200px;" /></td>
|
487 |
</tr>
|
488 |
<tr>
|
489 |
-
<td
|
490 |
<td><input id="BG4" type="text" name="posbar_colour" value="<?php echo $C['posbar_colour']; ?>" style="width:200px;" /></td>
|
491 |
</tr>
|
492 |
<tr>
|
493 |
-
<td
|
494 |
<td><input id="BG2" type="text" name="playlist_colour" value="<?php echo $C['playlist_colour']; ?>" style="width:200px;" /></td>
|
495 |
</tr>
|
496 |
</table>
|
@@ -508,23 +508,23 @@ function mp3j_print_colours_page()
|
|
508 |
<div style=" min-height:250px; padding:10px 5px 5px 5px;">
|
509 |
<table class="colours unselectable">
|
510 |
<tr>
|
511 |
-
<td><strong
|
512 |
<td><select id="font_family_1" name="font_family_1" style="width:110px; font-size:11px;">
|
513 |
-
<option value="theme"<?php if ( 'theme' == $C['font_family_1'] ) { echo ' selected="selected"'; }
|
514 |
-
<option value="arial"<?php if ( 'arial' == $C['font_family_1'] ) { echo ' selected="selected"'; }
|
515 |
-
<option value="verdana"<?php if ( 'verdana' == $C['font_family_1'] ) { echo ' selected="selected"'; }
|
516 |
-
<option value="times"<?php if ( 'times' == $C['font_family_1'] ) { echo ' selected="selected"'; }
|
517 |
-
<option value="palatino"<?php if ( 'palatino' == $C['font_family_1'] ) { echo ' selected="selected"'; }
|
518 |
-
<option value="courier"<?php if ( 'courier' == $C['font_family_1'] ) { echo ' selected="selected"'; }
|
519 |
-
<option value="lucida"<?php if ( 'lucida' == $C['font_family_1'] ) { echo ' selected="selected"'; }
|
520 |
-
<option value="gill"<?php if ( 'gill' == $C['font_family_1'] ) { echo ' selected="selected"'; }
|
521 |
</select></td>
|
522 |
<td style="width:85px;"><div class="sliderWrap"><div id="fontSlider_1" class="fontSizeSlider"></div></div></td>
|
523 |
<td><input type="text" id="font_size_1" name="font_size_1" style="width:30px; font-size:11px;" value="<?php echo $C['font_size_1']; ?>" /> <span class="description">px</span></td>
|
524 |
</tr>
|
525 |
<tr>
|
526 |
<td></td>
|
527 |
-
<td style="text-align:right;"><span class="" style="font-size:13px;"
|
528 |
<label for="titleBold" id="titleBold_label" class="unselectable format-button-B<?php if ( 'true' == $C['titleBold'] ) { echo ' formatOn'; } ?>">B</label>
|
529 |
<label for="titleItalic" id="titleItalic_label" class="unselectable format-button-i<?php if ( 'true' == $C['titleItalic'] ) { echo ' formatOn'; } ?>">i</label>
|
530 |
</td>
|
@@ -533,7 +533,7 @@ function mp3j_print_colours_page()
|
|
533 |
</tr>
|
534 |
<tr>
|
535 |
<td></td>
|
536 |
-
<td style="text-align:right;"><span class="" style="font-size:13px;"
|
537 |
<label for="captionBold" id="captionBold_label" class="unselectable format-button-B<?php if ( 'true' == $C['captionBold'] ) { echo ' formatOn'; } ?>">B</label>
|
538 |
<label for="captionItalic" id="captionItalic_label" class="unselectable format-button-i<?php if ( 'true' == $C['captionItalic'] ) { echo ' formatOn'; } ?>">i</label>
|
539 |
</td>
|
@@ -544,16 +544,16 @@ function mp3j_print_colours_page()
|
|
544 |
<td colspan="4"> </td>
|
545 |
</tr>
|
546 |
<tr>
|
547 |
-
<td><strong
|
548 |
<td><select id="font_family_2" name="font_family_2" style="width:110px; font-size:11px;">
|
549 |
-
<option value="theme"<?php if ( 'theme' == $C['font_family_2'] ) { echo ' selected="selected"'; }
|
550 |
-
<option value="arial"<?php if ( 'arial' == $C['font_family_2'] ) { echo ' selected="selected"'; }
|
551 |
-
<option value="verdana"<?php if ( 'verdana' == $C['font_family_2'] ) { echo ' selected="selected"'; }
|
552 |
-
<option value="times"<?php if ( 'times' == $C['font_family_2'] ) { echo ' selected="selected"'; }
|
553 |
-
<option value="palatino"<?php if ( 'palatino' == $C['font_family_2'] ) { echo ' selected="selected"'; }
|
554 |
-
<option value="courier"<?php if ( 'courier' == $C['font_family_2'] ) { echo ' selected="selected"'; }
|
555 |
-
<option value="lucida"<?php if ( 'lucida' == $C['font_family_2'] ) { echo ' selected="selected"'; }
|
556 |
-
<option value="gill"<?php if ( 'gill' == $C['font_family_2'] ) { echo ' selected="selected"'; }
|
557 |
</select></td>
|
558 |
|
559 |
<td><div class="sliderWrap"><div id="fontSlider_2" class="fontSizeSlider"></div></div></td>
|
@@ -589,7 +589,7 @@ function mp3j_print_colours_page()
|
|
589 |
?>
|
590 |
<table class="colours unselectable">
|
591 |
<tr>
|
592 |
-
<td><span id="playerHeightWrap1" class="<?php echo $quietClass; ?>"><strong
|
593 |
<td colspan="2">
|
594 |
<div class="sliderWrap" style="padding-left:5px;" onmouseover="jQuery('#playerT1').addClass('highlight');" onmouseout="jQuery('#playerT1').removeClass('highlight');">
|
595 |
<div id="offsetSlider_5" class="fontSizeSlider" style="width:250px;"></div>
|
@@ -600,64 +600,64 @@ function mp3j_print_colours_page()
|
|
600 |
<td></td>
|
601 |
</tr>
|
602 |
<tr>
|
603 |
-
<td><strong
|
604 |
<td><select name="imageAlign" id="imageAlign" style="font-weight:500;">
|
605 |
-
<option value="left"<?php if ( 'left' == $C['imageAlign'] ) { echo ' selected="selected"'; }
|
606 |
-
<option value="centre"<?php if ( 'centre' == $C['imageAlign'] ) { echo ' selected="selected"'; }
|
607 |
-
<option value="right"<?php if ( 'right' == $C['imageAlign'] ) { echo ' selected="selected"'; }
|
608 |
</select>
|
609 |
</td>
|
610 |
<td><select name="imageSize" id="imageSize" style="width:165px; font-weight:500;">
|
611 |
-
<option value="full"<?php if ( 'full' == $O['imageSize'] ) { echo ' selected="selected"'; }
|
612 |
-
<option value="autoW"<?php if ( 'autoW' == $O['imageSize'] ) { echo ' selected="selected"'; }
|
613 |
-
<option value="autoH"<?php if ( 'autoH' == $O['imageSize'] ) { echo ' selected="selected"'; }
|
614 |
-
<option value="thumbnail"<?php if ( 'thumbnail' == $O['imageSize'] ) { echo ' selected="selected"'; }
|
615 |
-
<option value="medium"<?php if ( 'medium' == $O['imageSize'] ) { echo ' selected="selected"'; }
|
616 |
-
<option value="large"<?php if ( 'large' == $O['imageSize'] ) { echo ' selected="selected"'; }
|
617 |
</select>
|
618 |
</td>
|
619 |
<td>
|
620 |
<input type="checkbox" name="imgOverflow" id="imgOverflow" value="visible"<?php echo ( $C['imgOverflow'] === 'visible' ? ' checked="checked"' : ''); ?>/>
|
621 |
-
<label for="imgOverflow" class="f500"
|
622 |
</td>
|
623 |
<td></td>
|
624 |
</tr>
|
625 |
<tr>
|
626 |
-
<td><strong
|
627 |
<td><select name="listAlign" id="listAlign">
|
628 |
-
<option value="left"<?php if ( 'left' == $C['listAlign'] ) { echo ' selected="selected"'; }
|
629 |
-
<option value="centre"<?php if ( 'centre' == $C['listAlign'] ) { echo ' selected="selected"'; }
|
630 |
-
<option value="right"<?php if ( 'right' == $C['listAlign'] ) { echo ' selected="selected"'; }
|
631 |
</select></td>
|
632 |
<td></td>
|
633 |
<td></td>
|
634 |
<td></td>
|
635 |
</tr>
|
636 |
<tr>
|
637 |
-
<td><strong
|
638 |
<td><select name="titleAlign" id="titleAlign">
|
639 |
-
<option value="left"<?php if ( 'left' == $C['titleAlign'] ) { echo ' selected="selected"'; }
|
640 |
-
<option value="centre"<?php if ( 'centre' == $C['titleAlign'] ) { echo ' selected="selected"'; }
|
641 |
-
<option value="right"<?php if ( 'right' == $C['titleAlign'] ) { echo ' selected="selected"'; }
|
642 |
</select></td>
|
643 |
<td></td>
|
644 |
<td></td>
|
645 |
<td></td>
|
646 |
</tr>
|
647 |
<tr>
|
648 |
-
<td style="text-align:right;"><span class="" style="font-size:11px;"
|
649 |
<td colspan="2">
|
650 |
<div class="sliderWrap" style="padding-left:5px;" onmouseover="jQuery('#trackTitles').addClass('highlight');" onmouseout="jQuery('#trackTitles').removeClass('highlight');">
|
651 |
<div id="offsetSlider_6" class="fontSizeSlider" style="width:250px;"></div>
|
652 |
</div>
|
653 |
</td>
|
654 |
<td><input type="text" name="titleTop" id="titleTop" style="width:45px; font-size:11px;" value="<?php echo $C['titleTop']; ?>" />
|
655 |
-
<span class="description" style="font-size:11px;"
|
656 |
</td>
|
657 |
<td></td>
|
658 |
</tr>
|
659 |
<tr>
|
660 |
-
<td style="text-align:right;"><span class="" style="font-size:11px;"
|
661 |
<td colspan="2">
|
662 |
<div class="sliderWrap" style="padding-left:5px;" onmouseover="jQuery('#trackTitles').addClass('highlight');" onmouseout="jQuery('#trackTitles').removeClass('highlight');">
|
663 |
<div id="offsetSlider_1" class="fontSizeSlider" style="width:250px;"></div>
|
@@ -665,7 +665,7 @@ function mp3j_print_colours_page()
|
|
665 |
</td>
|
666 |
<td><input type="text" name="titleOffset" id="titleOffset1" style="width:45px; font-size:11px;" value="<?php echo $C['titleOffset']; ?>" />
|
667 |
<input type="text" name="titleOffsetR" id="titleOffset2" style="width:45px; font-size:11px;" value="<?php echo $C['titleOffsetR']; ?>" />
|
668 |
-
<span class="description" style="font-size:11px;"
|
669 |
</td>
|
670 |
<td></td>
|
671 |
</tr>
|
@@ -680,57 +680,57 @@ function mp3j_print_colours_page()
|
|
680 |
<!-- TAB MODS -->
|
681 |
<div class="mp3j-tab" id="mp3j_tab_4">
|
682 |
<div style="padding:10px 5px 5px 5px; min-height:250px;">
|
683 |
-
<strong
|
684 |
<br><br><input type="text" name="userClasses" id="userClasses" value="<?php echo $C['userClasses']; ?>" style="width:100%; max-width:500px;"/>
|
685 |
-
<br><br><span class="description"> 
|
686 |
<br><br>
|
687 |
<table class="colours unselectable">
|
688 |
<tr>
|
689 |
<td><code>flip</code></td>
|
690 |
-
<td
|
691 |
</tr>
|
692 |
<tr>
|
693 |
<td><code>noplayer</code></td>
|
694 |
-
<td
|
695 |
</tr>
|
696 |
|
697 |
|
698 |
|
699 |
<tr>
|
700 |
<td><code>nostop</code></td>
|
701 |
-
<td
|
702 |
</tr>
|
703 |
<tr>
|
704 |
<td><code>nopn</code></td>
|
705 |
-
<td
|
706 |
</tr>
|
707 |
<tr>
|
708 |
<td><code>novol</code></td>
|
709 |
-
<td
|
710 |
</tr>
|
711 |
<tr>
|
712 |
<td><code>notitle</code></td>
|
713 |
-
<td
|
714 |
</tr>
|
715 |
<tr>
|
716 |
<td><code>nolistbutton</code></td>
|
717 |
-
<td
|
718 |
</tr>
|
719 |
<tr>
|
720 |
<td><code>nopopoutbutton</code></td>
|
721 |
-
<td
|
722 |
</tr>
|
723 |
<tr>
|
724 |
<td><code>fullbars</code></td>
|
725 |
-
<td
|
726 |
</tr>
|
727 |
<tr>
|
728 |
<td><code>nobars</code></td>
|
729 |
-
<td
|
730 |
</tr>
|
731 |
<tr>
|
732 |
<td><code>nocase</code></td>
|
733 |
-
<td
|
734 |
</tr>
|
735 |
</table>
|
736 |
<?php
|
@@ -747,15 +747,15 @@ function mp3j_print_colours_page()
|
|
747 |
<br class="clearB" /><hr>
|
748 |
<div class="testingSettingsBottom">
|
749 |
<input type="checkbox" id="adminCheckerIMG" name="adminCheckerIMG" value="true" <?php if ( $C['adminCheckerIMG'] == "true" ) { echo 'checked="checked" '; } ?>/>
|
750 |
-
<label for="adminCheckerIMG"><strong
|
751 |
-
<span class="button-secondary" style="font-size:11px; height:25px;" id="reloadIMG">
|
752 |
</div>
|
753 |
|
754 |
|
755 |
|
756 |
<!-- SAVE SETTINGS -->
|
757 |
<div class="savewrap">
|
758 |
-
<input type="submit" name="save_MP3JP" class="button-primary" style="font-weight:700;" value="
|
759 |
<input type="hidden" name="version_MP3JP" value="<?php echo $MP3JP->version_of_plugin; ?>" />
|
760 |
<input type="hidden" name="adminSizer_w" id="adminSizer_w" value="<?php echo $C['adminSizer_w']; ?>" />
|
761 |
<input type="hidden" name="adminSizer_h" id="adminSizer_h" value="<?php echo $C['adminSizer_h']; ?>" />
|
@@ -768,9 +768,9 @@ function mp3j_print_colours_page()
|
|
768 |
<hr>
|
769 |
<div style="margin: 15px 0px 0px 0px; min-height:30px;">
|
770 |
<p class="description" style="margin: 0px 120px px 0px; font-weight:700; color:#d0d0d0;">
|
771 |
-
<a class="button-secondary" target="_blank" href="http://mp3-jplayer.com/help-docs/"
|
772 |
-
<a class="button-secondary" target="_blank" href="http://mp3-jplayer.com/skins"
|
773 |
-
<a class="button-secondary" target="_blank" href="http://mp3-jplayer.com/add-ons"
|
774 |
</p>
|
775 |
</div>
|
776 |
|
40 |
MJPdesign_submit();
|
41 |
?>
|
42 |
<!-- save message -->
|
43 |
+
<div class="updated"><p><strong><?php _e( 'Settings saved.', 'mp3-jplayer' ); ?></strong></p></div>
|
44 |
<?php
|
45 |
}
|
46 |
|
101 |
|
102 |
<div class="wrap">
|
103 |
<h2> </h2>
|
104 |
+
<h1><?php _e( 'Player Design', 'mp3-jplayer' ); ?></h1>
|
105 |
<p> </p>
|
106 |
|
107 |
<form method="post" action="<?php echo $_SERVER["REQUEST_URI"]; ?>">
|
112 |
<?php $rowCSS = ( $O['player_theme'] != "styleI" ) ? "display:none;" : ""; ?>
|
113 |
<table>
|
114 |
<tr>
|
115 |
+
<td><strong><?php _e( 'Skin', 'mp3-jplayer' ); ?></strong>: </td>
|
116 |
<td><select name="player_theme" id="player-select" style="width:350px; font-weight:700;">
|
117 |
<?php
|
118 |
foreach ( $css_urls as $data ) {
|
125 |
<td></td>
|
126 |
</tr>
|
127 |
<tr id="customCSSrow" style="<?php echo $rowCSS; ?>">
|
128 |
+
<td><span id="player-csssheet"> <?php _e( 'url:', 'mp3-jplayer' ); ?> </span></td>
|
129 |
<td><input type="text" id="mp3fcss" name="custom_stylesheet" style="width:100%;" value="<?php echo $O['custom_stylesheet']; ?>" /></td>
|
130 |
+
<td><span class="button-secondary" id="reload_stylesheet_button" style="font-size:90%; font-weight:700;"> <?php _e( 'Reload', 'mp3-jplayer' ); ?> </span></td>
|
131 |
</tr>
|
132 |
</table>
|
133 |
<br>
|
228 |
<div class="playlist-colour" id="playerBG2"></div>
|
229 |
<div class="wrapper-mjp">
|
230 |
<ul id="ul-mjp" class="ul-mjp<?php echo $ulClass . $liClass . $listWeight. $listItalic . $listAlign; ?>">
|
231 |
+
<li class="li-mjp"><a id="playerT2" class="a-mjp" href="#"><?php _e( 'Example List Item', 'mp3-jplayer' ); ?></a></li>
|
232 |
+
<li class="li-mjp"><a id="playerT3" class="a-mjp" style="background:<?php echo $C['listBGa_hover']; ?>; color:<?php echo $C['list_hover_colour']; ?>;" href="#"><?php _e( 'Example List item (hover)', 'mp3-jplayer' ); ?></a></li>
|
233 |
+
<li class="li-mjp mjp-li-last"><a id="playerT4" class="a-mjp mp3j_A_current" style="background:<?php echo $C['listBGa_current']; ?>; color:<?php echo $C['list_current_colour']; ?>;" href="#"><?php _e( 'Example List Item (Current)', 'mp3-jplayer' ); ?></a></li>
|
234 |
</ul>
|
235 |
</div>
|
236 |
</div>
|
251 |
|
252 |
<!-- TABS start -->
|
253 |
<div class="mp3j-tabbuttons-wrap">
|
254 |
+
<div class="mp3j-tabbutton" id="mp3j_tabbutton_0"><?php _e( 'Text', 'mp3-jplayer' ); ?></div>
|
255 |
+
<div class="mp3j-tabbutton" id="mp3j_tabbutton_1"><?php _e( 'Areas', 'mp3-jplayer' ); ?></div>
|
256 |
+
<div class="mp3j-tabbutton" id="mp3j_tabbutton_2"><?php _e( 'Fonts', 'mp3-jplayer' ); ?></div>
|
257 |
+
<div class="mp3j-tabbutton" id="mp3j_tabbutton_3"><?php _e( 'Alignments', 'mp3-jplayer' ); ?></div>
|
258 |
+
<div class="mp3j-tabbutton" id="mp3j_tabbutton_4"><?php _ex( 'Mods', 'as in modifications', 'mp3-jplayer' ); ?></div>
|
259 |
<br class="clearB" />
|
260 |
</div>
|
261 |
<div class="mp3j-tabs-wrap">
|
265 |
<div style="float:left; max-width:390px; min-height:273px; padding:5px;">
|
266 |
<table class="colours unselectable">
|
267 |
<tr>
|
268 |
+
<td><strong><?php _e( 'Titles:', 'mp3-jplayer' ); ?></strong></td>
|
269 |
<td>
|
270 |
<div class="patch">
|
271 |
<div id="patchT1" onclick="MP3jP.clickPatch('T1','');" class="PatchCol" style="background-color:<?php echo $C['screen_text_colour']; ?>;" title="Retrieve"></div>
|
273 |
<div id="plusT1" class="plus" onclick="MP3jP.clickPlus('T1','color');"></div>
|
274 |
</div>
|
275 |
</td>
|
276 |
+
<td><input type="checkbox" name="titleHide" id="titleHide" value="true"<?php echo ( $C['titleHide'] === 'true' ? ' checked="checked"' : ''); ?>/><label for="titleHide" style="font-weight:500;"> <strong><?php _e( 'Hide', 'mp3-jplayer' ); ?></strong></label></td>
|
277 |
<td></td>
|
278 |
<td></td>
|
279 |
|
280 |
</tr>
|
281 |
<tr>
|
282 |
+
<td><strong><?php _e( 'Playlist:', 'mp3-jplayer' ); ?></strong></td>
|
283 |
<td>
|
284 |
<div class="patch">
|
285 |
<div id="patchT2" onclick="MP3jP.clickPatch('T2','');" class="PatchCol" style="background-color:<?php echo $C['list_text_colour']; ?>;" title="Retrieve"></div>
|
292 |
<td></td>
|
293 |
</tr>
|
294 |
<tr>
|
295 |
+
<td> <span class=""><?php _e( 'Hover:', 'mp3-jplayer' ); ?></span></td>
|
296 |
<td>
|
297 |
<div class="patch">
|
298 |
<div id="patchT3" onclick="MP3jP.clickPatch('T3','');" class="PatchCol" style="background-color:<?php echo $C['list_hover_colour']; ?>;" title="Retrieve"></div>
|
307 |
<div id="plusBG5" class="plus" onclick="MP3jP.clickPlus('BG5','background-color','T3');"></div>
|
308 |
</div>
|
309 |
</td>
|
310 |
+
<td><span class="" style="font-size:12px;"><?php _e( 'Background', 'mp3-jplayer' ); ?></span></td>
|
311 |
<td></td>
|
312 |
</tr>
|
313 |
<tr>
|
314 |
+
<td> <span class=""><?php _e( 'Current:', 'mp3-jplayer' ); ?></span></td>
|
315 |
<td>
|
316 |
<div class="patch">
|
317 |
<div id="patchT4" onclick="MP3jP.clickPatch('T4','');" class="PatchCol" style="background-color:<?php echo $C['list_current_colour']; ?>;" title="Retrieve"></div>
|
326 |
<div id="plusBG6" class="plus" onclick="MP3jP.clickPlus('BG6','background','T4');"></div>
|
327 |
</div>
|
328 |
</td>
|
329 |
+
<td><span class="" style="font-size:12px;"><?php _e( 'Background', 'mp3-jplayer' ); ?></span></td>
|
330 |
<td></td>
|
331 |
</tr>
|
332 |
<?php
|
334 |
?>
|
335 |
</table>
|
336 |
|
337 |
+
<p style="margin:28px 0 12px 0; font-weight:700;"><a href="javascript:" onclick="jQuery('#hiddenFields1').toggle();"><?php _e( 'Show Field Values', 'mp3-jplayer' ); ?></a></p>
|
338 |
<div id="hiddenFields1" style="display:none;">
|
339 |
<table class="colours">
|
340 |
<tr>
|
341 |
+
<td><?php _e( 'Titles:', 'mp3-jplayer' ); ?></td>
|
342 |
<td><input type="text" id="T1" name="screen_text_colour" value="<?php echo $C['screen_text_colour']; ?>" /></td>
|
343 |
</tr>
|
344 |
<tr>
|
345 |
+
<td><?php _e( 'List:', 'mp3-jplayer' ); ?></td>
|
346 |
<td><input type="text" id="T2" name="list_text_colour" value="<?php echo $C['list_text_colour']; ?>" /></td>
|
347 |
</tr>
|
348 |
<tr>
|
349 |
+
<td><?php _e( 'List Hover:', 'mp3-jplayer' ); ?></td>
|
350 |
<td><input type="text" id="T3" name="list_hover_colour" value="<?php echo $C['list_hover_colour']; ?>" /></td>
|
351 |
</tr>
|
352 |
<tr>
|
353 |
+
<td><?php _e( 'List Hover BG:', 'mp3-jplayer' ); ?></td>
|
354 |
<td><input id="BG5" type="text" name="listBGa_hover" value="<?php echo $C['listBGa_hover']; ?>" /></td>
|
355 |
</tr>
|
356 |
<tr>
|
357 |
+
<td><?php _e( 'List Current:', 'mp3-jplayer' ); ?></td>
|
358 |
<td><input type="text" id="T4" name="list_current_colour" value="<?php echo $C['list_current_colour']; ?>" /></td>
|
359 |
</tr>
|
360 |
<tr>
|
361 |
+
<td><?php _e( 'List Current BG:', 'mp3-jplayer' ); ?></td>
|
362 |
<td><input id="BG6" type="text" name="listBGa_current" value="<?php echo $C['listBGa_current']; ?>" /></td>
|
363 |
</tr>
|
364 |
<tr style="display:none;">
|
365 |
+
<td><?php _e( 'Track', 'mp3-jplayer' ); ?></td>
|
366 |
<td>
|
367 |
+
<?php _e( 'Bold', 'mp3-jplayer' ); ?> <input type="checkbox" value="true" id="titleBold" onclick="MP3jP.fontCheckers('#titleBold', '#trackTitles', 'bold', 'norm');" name="titleBold"<?php if ( 'true' == $C['titleBold'] ) { echo ' checked="checked"'; } ?> />
|
368 |
+
<br><?php _e( 'Italic', 'mp3-jplayer' ); ?> <input type="checkbox" value="true" id="titleItalic" onclick="MP3jP.fontCheckers('#titleItalic', '#trackTitles','italic', 'plain');" name="titleItalic"<?php if ( 'true' == $C['titleItalic'] ) { echo ' checked="checked"'; } ?> />
|
369 |
</td>
|
370 |
</tr>
|
371 |
<tr style="display:none;">
|
372 |
+
<td><?php _e( 'Caption', 'mp3-jplayer' ); ?></td>
|
373 |
<td>
|
374 |
+
<?php _e( 'Bold', 'mp3-jplayer' ); ?> <input type="checkbox" value="true" id="captionBold" onclick="MP3jP.fontCheckers('#captionBold', '#trackTitles', 'childBold', 'childNorm');" name="captionBold"<?php if ( 'true' == $C['captionBold'] ) { echo ' checked="checked"'; } ?> />
|
375 |
+
<br><?php _e( 'Italic', 'mp3-jplayer' ); ?> <input type="checkbox" value="true" id="captionItalic" onclick="MP3jP.fontCheckers('#captionItalic', '#trackTitles','childItalic', 'childPlain');" name="captionItalic"<?php if ( 'true' == $C['captionItalic'] ) { echo ' checked="checked"'; } ?> />
|
376 |
</td>
|
377 |
</tr>
|
378 |
<tr style="display:none;">
|
379 |
+
<td><?php _e( 'Playlist', 'mp3-jplayer' ); ?></td>
|
380 |
<td>
|
381 |
+
<?php _e( 'Bold', 'mp3-jplayer' ); ?> <input type="checkbox" value="true" id="listBold" onclick="MP3jP.fontCheckers('#listBold', '#ul-mjp', 'childBold', 'childNorm');" name="listBold"<?php if ( 'true' == $C['listBold'] ) { echo ' checked="checked"'; } ?> />
|
382 |
+
<br><?php _e( 'Italic', 'mp3-jplayer' ); ?> <input type="checkbox" value="true" id="listItalic" onclick="MP3jP.fontCheckers('#listItalic', '#ul-mjp','childItalic', 'childPlain');" name="listItalic"<?php if ( 'true' == $C['listItalic'] ) { echo ' checked="checked"'; } ?> />
|
383 |
</td>
|
384 |
</tr>
|
385 |
</table>
|
397 |
<div style="float:left; width:380px; min-height:273px; padding:5px;">
|
398 |
<table class="colours unselectable">
|
399 |
<tr>
|
400 |
+
<td><strong><?php _e( 'Screen', 'mp3-jplayer' ); ?></strong>:</td>
|
401 |
<td>
|
402 |
<div class="patch">
|
403 |
<div id="patchBG1" onclick="MP3jP.clickPatch('BG1','Alpha');" class="PatchCol" style="background-color:<?php echo $C['screen_colour']; ?>;" title="Retrieve"></div>
|
409 |
<td></td>
|
410 |
</tr>
|
411 |
<tr>
|
412 |
+
<td><strong><?php _e( 'Load Bar', 'mp3-jplayer' ); ?></strong>:</td>
|
413 |
<td>
|
414 |
<div class="patch">
|
415 |
<div id="patchBG3" onclick="MP3jP.clickPatch('BG3','Alpha');" class="PatchCol" style="background-color:<?php echo $C['loadbar_colour']; ?>;" title="Retrieve"></div>
|
417 |
<div id="plusBG3" class="plus" onclick="MP3jP.clickPlus('BG3','background-color');"></div>
|
418 |
</div>
|
419 |
</td>
|
420 |
+
<td><span class="" style="font-size:12px;"><?php _e( 'Indicator', 'mp3-jplayer' ); ?></span></td>
|
421 |
<td><select name="indicator" style="width:90px; font-size:11px;">
|
422 |
+
<option value="tint" <?php if ( 'tint' == $C['indicator'] ) { echo 'selected="selected"'; } ?>><?php _e( 'Greyscale', 'mp3-jplayer' ); ?></option>
|
423 |
+
<option value="colour" <?php if ( 'colour' == $C['indicator'] ) { echo 'selected="selected"'; } ?>><?php _e( 'Colour', 'mp3-jplayer' ); ?></option>
|
424 |
</select></td>
|
425 |
</tr>
|
426 |
<tr>
|
427 |
+
<td><strong><?php _e( 'Position Bar', 'mp3-jplayer' ); ?></strong>:</td>
|
428 |
<td>
|
429 |
<div class="patch">
|
430 |
<div id="patchBG4" onclick="MP3jP.clickPatch('BG4','Alpha');" class="PatchCol" style="background-color:<?php echo $C['posbar_colour']; ?>;" title="Retrieve"></div>
|
432 |
<div id="plusBG4" class="plus" onclick="MP3jP.clickPlus('BG4','background-color');"></div>
|
433 |
</div>
|
434 |
</td>
|
435 |
+
<td><span class="" style="font-size:12px;"><?php _e( 'Gradient', 'mp3-jplayer' ); ?></span></td>
|
436 |
<td><select name="posbar_tint" id="posbar_tint" style="width:90px; font-size:11px;">
|
437 |
+
<option value="none" <?php if ( 'none' == $C['posbar_tint'] ) { echo 'selected="selected"'; } ?>><?php _e( 'None', 'mp3-jplayer' ); ?></option>
|
438 |
+
<option value="soften" <?php if ( 'soften' == $C['posbar_tint'] ) { echo 'selected="selected"'; } ?>><?php _e( 'Light grad', 'mp3-jplayer' ); ?></option>
|
439 |
+
<option value="softenT" <?php if ( 'softenT' == $C['posbar_tint'] ) { echo 'selected="selected"'; } ?>><?php _e( 'Pipe', 'mp3-jplayer' ); ?></option>
|
440 |
+
<option value="darken" <?php if ( 'darken' == $C['posbar_tint'] ) { echo 'selected="selected"'; } ?>><?php _e( 'Dark grad', 'mp3-jplayer' ); ?></option>
|
441 |
</select></td>
|
442 |
</tr>
|
443 |
<tr>
|
444 |
+
<td><strong><?php _e( 'Playlist', 'mp3-jplayer' ); ?></strong>:</td>
|
445 |
<td>
|
446 |
<div class="patch">
|
447 |
<div id="patchBG2" onclick="MP3jP.clickPatch('BG2','Alpha');" class="PatchCol" style="background-color:<?php echo $C['playlist_colour']; ?>;" title="Retrieve"></div>
|
449 |
<div id="plusBG2" class="plus" onclick="MP3jP.clickPlus('BG2','background-color');"></div>
|
450 |
</div>
|
451 |
</td>
|
452 |
+
<td><span class="" style="font-size:12px;"><?php _e( 'Gradient', 'mp3-jplayer' ); ?></span></td>
|
453 |
<td><select id="playlist_tint" name="playlist_tint" style="width:90px; font-size:11px;">
|
454 |
+
<option value="none" <?php if ( 'none' == $C['playlist_tint'] ) { echo 'selected="selected"'; } ?>><?php _e( 'None', 'mp3-jplayer' ); ?></option>
|
455 |
+
<option value="lighten1" <?php if ( 'lighten1' == $C['playlist_tint'] ) { echo 'selected="selected"'; } ?>><?php _e( 'Light Short', 'mp3-jplayer' ); ?></option>
|
456 |
+
<option value="lighten2" <?php if ( 'lighten2' == $C['playlist_tint'] ) { echo 'selected="selected"'; } ?>><?php _e( 'Light Long', 'mp3-jplayer' ); ?></option>
|
457 |
+
<option value="darken1" <?php if ( 'darken1' == $C['playlist_tint'] ) { echo 'selected="selected"'; } ?>><?php _e( 'Dark Short', 'mp3-jplayer' ); ?></option>
|
458 |
+
<option value="darken2" <?php if ( 'darken2' == $C['playlist_tint'] ) { echo 'selected="selected"'; } ?>><?php _e( 'Dark Long', 'mp3-jplayer' ); ?></option>
|
459 |
</select></td>
|
460 |
</tr>
|
461 |
<tr>
|
462 |
<td></td>
|
463 |
<td></td>
|
464 |
+
<td><span class="" style="font-size:12px;"><?php _e( 'Dividers', 'mp3-jplayer' ); ?></span></td>
|
465 |
<td><select id="list_divider" name="list_divider" style="width:100%; font-size:11px;">
|
466 |
+
<option value="none" <?php if ( 'none' == $C['list_divider'] ) { echo 'selected="selected"'; } ?>><?php _e( 'None', 'mp3-jplayer' ); ?></option>
|
467 |
+
<option value="light" <?php if ( 'light' == $C['list_divider'] ) { echo 'selected="selected"'; } ?>><?php _e( 'Light', 'mp3-jplayer' ); ?></option>
|
468 |
+
<option value="med" <?php if ( 'med' == $C['list_divider'] ) { echo 'selected="selected"'; } ?>><?php _e( 'Medium', 'mp3-jplayer' ); ?></option>
|
469 |
+
<option value="dark" <?php if ( 'dark' == $C['list_divider'] ) { echo 'selected="selected"'; } ?>><?php _e( 'Dark', 'mp3-jplayer' ); ?></option>
|
470 |
</select></td>
|
471 |
</tr>
|
472 |
<?php
|
474 |
?>
|
475 |
</table>
|
476 |
|
477 |
+
<p style="margin:0px 0 12px 0px; font-weight:700;"><a href="javascript:" onclick="jQuery('#hiddenFields0').toggle();"><?php _e( 'Show Field Values', 'mp3-jplayer' ); ?></a></p>
|
478 |
<div id="hiddenFields0" style="display:none;">
|
479 |
<table class="colours">
|
480 |
<tr>
|
481 |
+
<td><?php _e( 'Screen:', 'mp3-jplayer' ); ?></td>
|
482 |
<td><input id="BG1" type="text" name="screen_colour" value="<?php echo $C['screen_colour']; ?>" style="width:200px;" /></td>
|
483 |
</tr>
|
484 |
<tr>
|
485 |
+
<td><?php _e( 'Load Bar:', 'mp3-jplayer' ); ?></td>
|
486 |
<td><input id="BG3" type="text" name="loadbar_colour" value="<?php echo $C['loadbar_colour']; ?>" style="width:200px;" /></td>
|
487 |
</tr>
|
488 |
<tr>
|
489 |
+
<td><?php _e( 'Position Bar:', 'mp3-jplayer' ); ?></td>
|
490 |
<td><input id="BG4" type="text" name="posbar_colour" value="<?php echo $C['posbar_colour']; ?>" style="width:200px;" /></td>
|
491 |
</tr>
|
492 |
<tr>
|
493 |
+
<td><?php _e( 'Playlist:', 'mp3-jplayer' ); ?></td>
|
494 |
<td><input id="BG2" type="text" name="playlist_colour" value="<?php echo $C['playlist_colour']; ?>" style="width:200px;" /></td>
|
495 |
</tr>
|
496 |
</table>
|
508 |
<div style=" min-height:250px; padding:10px 5px 5px 5px;">
|
509 |
<table class="colours unselectable">
|
510 |
<tr>
|
511 |
+
<td><strong><?php _e( 'Titles:', 'mp3-jplayer' ); ?></strong></td>
|
512 |
<td><select id="font_family_1" name="font_family_1" style="width:110px; font-size:11px;">
|
513 |
+
<option value="theme"<?php if ( 'theme' == $C['font_family_1'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Theme\'s Font', 'mp3-jplayer' ); ?></option>
|
514 |
+
<option value="arial"<?php if ( 'arial' == $C['font_family_1'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Arial', 'mp3-jplayer' ); ?></option>
|
515 |
+
<option value="verdana"<?php if ( 'verdana' == $C['font_family_1'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Verdana', 'mp3-jplayer' ); ?></option>
|
516 |
+
<option value="times"<?php if ( 'times' == $C['font_family_1'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Times', 'mp3-jplayer' ); ?></option>
|
517 |
+
<option value="palatino"<?php if ( 'palatino' == $C['font_family_1'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Palatino', 'mp3-jplayer' ); ?></option>
|
518 |
+
<option value="courier"<?php if ( 'courier' == $C['font_family_1'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Courier New', 'mp3-jplayer' ); ?></option>
|
519 |
+
<option value="lucida"<?php if ( 'lucida' == $C['font_family_1'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Lucida Console', 'mp3-jplayer' ); ?></option>
|
520 |
+
<option value="gill"<?php if ( 'gill' == $C['font_family_1'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Gill Sans', 'mp3-jplayer' ); ?></option>
|
521 |
</select></td>
|
522 |
<td style="width:85px;"><div class="sliderWrap"><div id="fontSlider_1" class="fontSizeSlider"></div></div></td>
|
523 |
<td><input type="text" id="font_size_1" name="font_size_1" style="width:30px; font-size:11px;" value="<?php echo $C['font_size_1']; ?>" /> <span class="description">px</span></td>
|
524 |
</tr>
|
525 |
<tr>
|
526 |
<td></td>
|
527 |
+
<td style="text-align:right;"><span class="" style="font-size:13px;"><?php _e( 'Track:', 'mp3-jplayer' ); ?> </span>
|
528 |
<label for="titleBold" id="titleBold_label" class="unselectable format-button-B<?php if ( 'true' == $C['titleBold'] ) { echo ' formatOn'; } ?>">B</label>
|
529 |
<label for="titleItalic" id="titleItalic_label" class="unselectable format-button-i<?php if ( 'true' == $C['titleItalic'] ) { echo ' formatOn'; } ?>">i</label>
|
530 |
</td>
|
533 |
</tr>
|
534 |
<tr>
|
535 |
<td></td>
|
536 |
+
<td style="text-align:right;"><span class="" style="font-size:13px;"><?php _e( 'Caption:', 'mp3-jplayer' ); ?> </span>
|
537 |
<label for="captionBold" id="captionBold_label" class="unselectable format-button-B<?php if ( 'true' == $C['captionBold'] ) { echo ' formatOn'; } ?>">B</label>
|
538 |
<label for="captionItalic" id="captionItalic_label" class="unselectable format-button-i<?php if ( 'true' == $C['captionItalic'] ) { echo ' formatOn'; } ?>">i</label>
|
539 |
</td>
|
544 |
<td colspan="4"> </td>
|
545 |
</tr>
|
546 |
<tr>
|
547 |
+
<td><strong><?php _e( 'Playlist:', 'mp3-jplayer' ); ?></strong></td>
|
548 |
<td><select id="font_family_2" name="font_family_2" style="width:110px; font-size:11px;">
|
549 |
+
<option value="theme"<?php if ( 'theme' == $C['font_family_2'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Theme\'s Font', 'mp3-jplayer' ); ?></option>
|
550 |
+
<option value="arial"<?php if ( 'arial' == $C['font_family_2'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Arial', 'mp3-jplayer' ); ?></option>
|
551 |
+
<option value="verdana"<?php if ( 'verdana' == $C['font_family_2'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Verdana', 'mp3-jplayer' ); ?></option>
|
552 |
+
<option value="times"<?php if ( 'times' == $C['font_family_2'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Times', 'mp3-jplayer' ); ?></option>
|
553 |
+
<option value="palatino"<?php if ( 'palatino' == $C['font_family_2'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Palatino', 'mp3-jplayer' ); ?></option>
|
554 |
+
<option value="courier"<?php if ( 'courier' == $C['font_family_2'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Courier New', 'mp3-jplayer' ); ?></option>
|
555 |
+
<option value="lucida"<?php if ( 'lucida' == $C['font_family_2'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Lucida Console', 'mp3-jplayer' ); ?></option>
|
556 |
+
<option value="gill"<?php if ( 'gill' == $C['font_family_2'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Gill Sans', 'mp3-jplayer' ); ?></option>
|
557 |
</select></td>
|
558 |
|
559 |
<td><div class="sliderWrap"><div id="fontSlider_2" class="fontSizeSlider"></div></div></td>
|
589 |
?>
|
590 |
<table class="colours unselectable">
|
591 |
<tr>
|
592 |
+
<td><span id="playerHeightWrap1" class="<?php echo $quietClass; ?>"><strong><?php _e( 'Player Height', 'mp3-jplayer' ); ?></strong>:</span></td>
|
593 |
<td colspan="2">
|
594 |
<div class="sliderWrap" style="padding-left:5px;" onmouseover="jQuery('#playerT1').addClass('highlight');" onmouseout="jQuery('#playerT1').removeClass('highlight');">
|
595 |
<div id="offsetSlider_5" class="fontSizeSlider" style="width:250px;"></div>
|
600 |
<td></td>
|
601 |
</tr>
|
602 |
<tr>
|
603 |
+
<td><strong><?php _e( 'Images', 'mp3-jplayer' ); ?></strong>:</td>
|
604 |
<td><select name="imageAlign" id="imageAlign" style="font-weight:500;">
|
605 |
+
<option value="left"<?php if ( 'left' == $C['imageAlign'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Left', 'mp3-jplayer' ); ?></option>
|
606 |
+
<option value="centre"<?php if ( 'centre' == $C['imageAlign'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Centre', 'mp3-jplayer' ); ?></option>
|
607 |
+
<option value="right"<?php if ( 'right' == $C['imageAlign'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Right', 'mp3-jplayer' ); ?></option>
|
608 |
</select>
|
609 |
</td>
|
610 |
<td><select name="imageSize" id="imageSize" style="width:165px; font-weight:500;">
|
611 |
+
<option value="full"<?php if ( 'full' == $O['imageSize'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Original size', 'mp3-jplayer' ); ?></option>
|
612 |
+
<option value="autoW"<?php if ( 'autoW' == $O['imageSize'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Fit to player width', 'mp3-jplayer' ); ?></option>
|
613 |
+
<option value="autoH"<?php if ( 'autoH' == $O['imageSize'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Fit to player height', 'mp3-jplayer' ); ?></option>
|
614 |
+
<option value="thumbnail"<?php if ( 'thumbnail' == $O['imageSize'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Thumbnail', 'mp3-jplayer' ); ?></option>
|
615 |
+
<option value="medium"<?php if ( 'medium' == $O['imageSize'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Medium', 'mp3-jplayer' ); ?></option>
|
616 |
+
<option value="large"<?php if ( 'large' == $O['imageSize'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Large', 'mp3-jplayer' ); ?></option>
|
617 |
</select>
|
618 |
</td>
|
619 |
<td>
|
620 |
<input type="checkbox" name="imgOverflow" id="imgOverflow" value="visible"<?php echo ( $C['imgOverflow'] === 'visible' ? ' checked="checked"' : ''); ?>/>
|
621 |
+
<label for="imgOverflow" class="f500"><?php _e( 'overflow', 'mp3-jplayer' ); ?></label>
|
622 |
</td>
|
623 |
<td></td>
|
624 |
</tr>
|
625 |
<tr>
|
626 |
+
<td><strong><?php _e( 'Playlist', 'mp3-jplayer' ); ?></strong>:</td>
|
627 |
<td><select name="listAlign" id="listAlign">
|
628 |
+
<option value="left"<?php if ( 'left' == $C['listAlign'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Left', 'mp3-jplayer' ); ?></option>
|
629 |
+
<option value="centre"<?php if ( 'centre' == $C['listAlign'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Centre', 'mp3-jplayer' ); ?></option>
|
630 |
+
<option value="right"<?php if ( 'right' == $C['listAlign'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Right', 'mp3-jplayer' ); ?></option>
|
631 |
</select></td>
|
632 |
<td></td>
|
633 |
<td></td>
|
634 |
<td></td>
|
635 |
</tr>
|
636 |
<tr>
|
637 |
+
<td><strong><?php _e( 'Titles', 'mp3-jplayer' ); ?></strong>:</td>
|
638 |
<td><select name="titleAlign" id="titleAlign">
|
639 |
+
<option value="left"<?php if ( 'left' == $C['titleAlign'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Left', 'mp3-jplayer' ); ?></option>
|
640 |
+
<option value="centre"<?php if ( 'centre' == $C['titleAlign'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Centre', 'mp3-jplayer' ); ?></option>
|
641 |
+
<option value="right"<?php if ( 'right' == $C['titleAlign'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Right', 'mp3-jplayer' ); ?></option>
|
642 |
</select></td>
|
643 |
<td></td>
|
644 |
<td></td>
|
645 |
<td></td>
|
646 |
</tr>
|
647 |
<tr>
|
648 |
+
<td style="text-align:right;"><span class="" style="font-size:11px;"><?php _e( 'Top', 'mp3-jplayer' ); ?></span></td>
|
649 |
<td colspan="2">
|
650 |
<div class="sliderWrap" style="padding-left:5px;" onmouseover="jQuery('#trackTitles').addClass('highlight');" onmouseout="jQuery('#trackTitles').removeClass('highlight');">
|
651 |
<div id="offsetSlider_6" class="fontSizeSlider" style="width:250px;"></div>
|
652 |
</div>
|
653 |
</td>
|
654 |
<td><input type="text" name="titleTop" id="titleTop" style="width:45px; font-size:11px;" value="<?php echo $C['titleTop']; ?>" />
|
655 |
+
<span class="description" style="font-size:11px;"><?php _e( 'px or %', 'mp3-jplayer' ); ?></span>
|
656 |
</td>
|
657 |
<td></td>
|
658 |
</tr>
|
659 |
<tr>
|
660 |
+
<td style="text-align:right;"><span class="" style="font-size:11px;"><?php _e( 'Margins', 'mp3-jplayer' ); ?></span></td>
|
661 |
<td colspan="2">
|
662 |
<div class="sliderWrap" style="padding-left:5px;" onmouseover="jQuery('#trackTitles').addClass('highlight');" onmouseout="jQuery('#trackTitles').removeClass('highlight');">
|
663 |
<div id="offsetSlider_1" class="fontSizeSlider" style="width:250px;"></div>
|
665 |
</td>
|
666 |
<td><input type="text" name="titleOffset" id="titleOffset1" style="width:45px; font-size:11px;" value="<?php echo $C['titleOffset']; ?>" />
|
667 |
<input type="text" name="titleOffsetR" id="titleOffset2" style="width:45px; font-size:11px;" value="<?php echo $C['titleOffsetR']; ?>" />
|
668 |
+
<span class="description" style="font-size:11px;"><?php _e( 'px or %', 'mp3-jplayer' ); ?></span>
|
669 |
</td>
|
670 |
<td></td>
|
671 |
</tr>
|
680 |
<!-- TAB MODS -->
|
681 |
<div class="mp3j-tab" id="mp3j_tab_4">
|
682 |
<div style="padding:10px 5px 5px 5px; min-height:250px;">
|
683 |
+
<strong><?php _e( 'Modifiers:', 'mp3-jplayer' ); ?></strong>
|
684 |
<br><br><input type="text" name="userClasses" id="userClasses" value="<?php echo $C['userClasses']; ?>" style="width:100%; max-width:500px;"/>
|
685 |
+
<br><br><span class="description"> <?php _e( 'Use this field to add modifier names. Use a space to separate names, the following are supported by default:', 'mp3-jplayer' ); ?></span>
|
686 |
<br><br>
|
687 |
<table class="colours unselectable">
|
688 |
<tr>
|
689 |
<td><code>flip</code></td>
|
690 |
+
<td><?php _e( 'Puts play buttons on the left', 'mp3-jplayer' ); ?></td>
|
691 |
</tr>
|
692 |
<tr>
|
693 |
<td><code>noplayer</code></td>
|
694 |
+
<td><?php _e( 'Hides the entire player (eg. background audio)', 'mp3-jplayer' ); ?></td>
|
695 |
</tr>
|
696 |
|
697 |
|
698 |
|
699 |
<tr>
|
700 |
<td><code>nostop</code></td>
|
701 |
+
<td><?php _e( 'Hides the stop button', 'mp3-jplayer' ); ?></td>
|
702 |
</tr>
|
703 |
<tr>
|
704 |
<td><code>nopn</code></td>
|
705 |
+
<td><?php _e( 'Hides the prev/next buttons', 'mp3-jplayer' ); ?></td>
|
706 |
</tr>
|
707 |
<tr>
|
708 |
<td><code>novol</code></td>
|
709 |
+
<td><?php _e( 'Hides the volume control', 'mp3-jplayer' ); ?></td>
|
710 |
</tr>
|
711 |
<tr>
|
712 |
<td><code>notitle</code></td>
|
713 |
+
<td><?php _e( 'Hides the track title and caption', 'mp3-jplayer' ); ?></td>
|
714 |
</tr>
|
715 |
<tr>
|
716 |
<td><code>nolistbutton</code></td>
|
717 |
+
<td><?php _e( 'Hides the playlist button', 'mp3-jplayer' ); ?></td>
|
718 |
</tr>
|
719 |
<tr>
|
720 |
<td><code>nopopoutbutton</code></td>
|
721 |
+
<td><?php _e( 'Hides the popout button', 'mp3-jplayer' ); ?></td>
|
722 |
</tr>
|
723 |
<tr>
|
724 |
<td><code>fullbars</code></td>
|
725 |
+
<td><?php _e( 'Position slider fills the screen/image area', 'mp3-jplayer' ); ?></td>
|
726 |
</tr>
|
727 |
<tr>
|
728 |
<td><code>nobars</code></td>
|
729 |
+
<td><?php _e( 'removes the position and load bars', 'mp3-jplayer' ); ?></td>
|
730 |
</tr>
|
731 |
<tr>
|
732 |
<td><code>nocase</code></td>
|
733 |
+
<td><?php _e( 'removes the container bar around the buttons', 'mp3-jplayer' ); ?></td>
|
734 |
</tr>
|
735 |
</table>
|
736 |
<?php
|
747 |
<br class="clearB" /><hr>
|
748 |
<div class="testingSettingsBottom">
|
749 |
<input type="checkbox" id="adminCheckerIMG" name="adminCheckerIMG" value="true" <?php if ( $C['adminCheckerIMG'] == "true" ) { echo 'checked="checked" '; } ?>/>
|
750 |
+
<label for="adminCheckerIMG"><strong><?php _e( 'Test Image', 'mp3-jplayer' ); ?></strong> <?php _e( 'url:', 'mp3-jplayer' ); ?></label> <input type="text" id="adminIMG" name="adminIMG" style="width:300px;" value="<?php echo $C['adminIMG']; ?>" />
|
751 |
+
<span class="button-secondary" style="font-size:11px; height:25px;" id="reloadIMG"> <?php _e( 'Reload', 'mp3-jplayer' ); ?> </span>
|
752 |
</div>
|
753 |
|
754 |
|
755 |
|
756 |
<!-- SAVE SETTINGS -->
|
757 |
<div class="savewrap">
|
758 |
+
<input type="submit" name="save_MP3JP" class="button-primary" style="font-weight:700;" value="<?php _e( 'Save All Changes', 'mp3-jplayer' ); ?>" />
|
759 |
<input type="hidden" name="version_MP3JP" value="<?php echo $MP3JP->version_of_plugin; ?>" />
|
760 |
<input type="hidden" name="adminSizer_w" id="adminSizer_w" value="<?php echo $C['adminSizer_w']; ?>" />
|
761 |
<input type="hidden" name="adminSizer_h" id="adminSizer_h" value="<?php echo $C['adminSizer_h']; ?>" />
|
768 |
<hr>
|
769 |
<div style="margin: 15px 0px 0px 0px; min-height:30px;">
|
770 |
<p class="description" style="margin: 0px 120px px 0px; font-weight:700; color:#d0d0d0;">
|
771 |
+
<a class="button-secondary" target="_blank" href="http://mp3-jplayer.com/help-docs/"><?php _e( 'Help & Docs', 'mp3-jplayer' ); ?> »</a>
|
772 |
+
<a class="button-secondary" target="_blank" href="http://mp3-jplayer.com/skins"><?php _e( 'Get Skins', 'mp3-jplayer' ); ?> »</a>
|
773 |
+
<a class="button-secondary" target="_blank" href="http://mp3-jplayer.com/add-ons"><?php _e( 'Get Add-Ons', 'mp3-jplayer' ); ?> »</a>
|
774 |
</p>
|
775 |
</div>
|
776 |
|
admin-settings.php
CHANGED
@@ -179,7 +179,7 @@ function mp3j_print_admin_page()
|
|
179 |
?>
|
180 |
|
181 |
<!-- Settings saved message -->
|
182 |
-
<div class="updated"><p><strong><?php _e(
|
183 |
<?php
|
184 |
}
|
185 |
|
@@ -188,18 +188,18 @@ function mp3j_print_admin_page()
|
|
188 |
?>
|
189 |
<div class="wrap">
|
190 |
|
191 |
-
<h2> </h2>
|
192 |
|
193 |
<form method="post" action="<?php echo $_SERVER["REQUEST_URI"]; ?>">
|
194 |
|
195 |
|
196 |
<div class="mp3j-tabbuttons-wrap unselectable">
|
197 |
<div class="mp3j-tabbutton first" id="mp3j_tabbutton_1"><h1>MP3-jPlayer</h1></div>
|
198 |
-
<div class="mp3j-tabbutton" id="mp3j_tabbutton_5"
|
199 |
-
<div class="mp3j-tabbutton" id="mp3j_tabbutton_0"
|
200 |
-
<div class="mp3j-tabbutton" id="mp3j_tabbutton_3"
|
201 |
-
<div class="mp3j-tabbutton" id="mp3j_tabbutton_4"
|
202 |
-
<div class="mp3j-tabbutton last" id="mp3j_tabbutton_2"
|
203 |
<br class="clearB" />
|
204 |
</div>
|
205 |
|
@@ -214,24 +214,24 @@ function mp3j_print_admin_page()
|
|
214 |
?>
|
215 |
|
216 |
<div style="float:left; width:270px; margin:8px 10px 0 0;">
|
217 |
-
<div class="os" style="border-bottom:1px solid #d3d3d3; padding:8px 0 8px 0px; margin:0 0 15px 0; font-size:18px; font-weight:500;"
|
218 |
<table class="player-settings" style="margin:0 0 0px 0px; width:260px">
|
219 |
<tr>
|
220 |
-
<td class="psHeight"><strong style="font-size:14px;"
|
221 |
<td><input type="text" value="<?php echo $O['font_size_mp3t']; ?>" name="font_size_mp3t" style="width:70px;" /></td>
|
222 |
</tr>
|
223 |
<tr>
|
224 |
-
<td class="psHeight"><label for="volslider_onsingles"><strong style="font-size:14px;"
|
225 |
-
<td><input type="checkbox" name="volslider_onsingles" id="volslider_onsingles" value="true" <?php if ($O['volslider_on_singles'] == "true") {
|
226 |
</tr>
|
227 |
<tr>
|
228 |
-
<td class="psHeight"><label for="flipMP3t"><strong style="font-size:14px;"
|
229 |
-
<td><input type="checkbox" name="flipMP3t" id="flipMP3t" value="true" <?php if ($O['flipMP3t'] == "true") {
|
230 |
</tr>
|
231 |
<tr>
|
232 |
-
<td class="psHeight"><strong style="font-size:14px;"
|
233 |
-
<td><input type="checkbox" name="mp3tColour_on" id="mp3tColour_on" value="true" <?php if ($O['mp3tColour_on'] == "true") {
|
234 |
-
On <input type="text" value="<?php echo $O['mp3tColour']; ?>" name="mp3tColour" id="mp3tColour" /></td>
|
235 |
</tr>
|
236 |
<?php
|
237 |
MJPsettings_mp3t();
|
@@ -240,24 +240,24 @@ function mp3j_print_admin_page()
|
|
240 |
</div>
|
241 |
|
242 |
<div style="float:left; width:270px; margin:8px 10px 0 0;">
|
243 |
-
<div style="border-bottom:1px solid #d3d3d3; padding:8px 0 8px 0px; margin:0 0 15px 0; font-size:18px; font-weight:500;"
|
244 |
<table class="player-settings" style="margin:0 0 0px 0px; width:260px">
|
245 |
<tr>
|
246 |
-
<td class="psHeight"><strong style="font-size:14px;"
|
247 |
<td><input type="text" value="<?php echo $O['font_size_mp3j']; ?>" name="font_size_mp3j" style="width:70px;" /></td>
|
248 |
</tr>
|
249 |
<tr>
|
250 |
-
<td class="psHeight"><label for="volslider_onmp3j"><strong style="font-size:14px;"
|
251 |
-
<td><input type="checkbox" name="volslider_onmp3j" id="volslider_onmp3j" value="true" <?php if ($O['volslider_on_mp3j'] == "true") {
|
252 |
</tr>
|
253 |
<tr>
|
254 |
-
<td class="psHeight"><label for="flipMP3j"><strong style="font-size:14px;"
|
255 |
-
<td><input type="checkbox" name="flipMP3j" id="flipMP3j" value="false" <?php if ($O['flipMP3j'] == "false") {
|
256 |
</tr>
|
257 |
<tr>
|
258 |
-
<td class="psHeight"><strong style="font-size:14px;"
|
259 |
-
<td><input type="checkbox" name="mp3jColour_on" id="mp3jColour_on" value="true" <?php if ($O['mp3jColour_on'] == "true") {
|
260 |
-
On <input type="text" value="<?php echo $O['mp3jColour']; ?>" name="mp3jColour" id="mp3jColour" />
|
261 |
</td>
|
262 |
</tr>
|
263 |
<?php
|
@@ -275,79 +275,67 @@ function mp3j_print_admin_page()
|
|
275 |
<br class="clearB">
|
276 |
|
277 |
<br>
|
278 |
-
<div style="border-bottom:1px solid #d3d3d3; padding:8px 0 8px 0px; margin:10px 0 15px 0; width:540px; font-size:18px; font-weight:500;"
|
279 |
<table class="playlist-settings" style="margin:0 0 0px 0px;">
|
280 |
<tr>
|
281 |
-
<td style="width:175px;"><strong style="font-size:14px;"
|
282 |
<td><input type="text" style="width:100px;" name="mp3foxPlayerWidth" value="<?php echo $O['player_width']; ?>" /></td>
|
283 |
-
<td><span class="description"
|
284 |
</tr>
|
285 |
<tr>
|
286 |
-
<td><strong style="font-size:14px;"
|
287 |
<td><select name="mp3foxFloat" style="width:100px;">
|
288 |
-
<option value="none" <?php if ( 'none' == $O['player_float'] ) {
|
289 |
-
<option value="rel-C" <?php if ( 'rel-C' == $O['player_float'] ) {
|
290 |
-
<option value="rel-R" <?php if ( 'rel-R' == $O['player_float'] ) {
|
291 |
-
<option value="left" <?php if ( 'left' == $O['player_float'] ) {
|
292 |
-
<option value="right" <?php if ( 'right' == $O['player_float'] ) {
|
293 |
</select></td>
|
294 |
<td></td>
|
295 |
</tr>
|
296 |
-
|
297 |
-
|
298 |
-
|
299 |
<tr>
|
300 |
-
<td style="padding-bottom:4px;"><strong style="font-size:14px;"
|
301 |
-
<td style="padding-bottom:4px;" colspan="2"><input type="text" size="5" name="mp3foxPaddings_top" value="<?php echo $O['paddings_top']; ?>" /> Above players
|
302 |
</tr>
|
303 |
<tr>
|
304 |
<td style="padding-top:0px; padding-bottom:4px;"></td>
|
305 |
-
<td style="padding-top:0px; padding-bottom:4px;" colspan="2"><input type="text" size="5" name="mp3foxPaddings_inner" value="<?php echo $O['paddings_inner']; ?>" /> Inner margin (floated players)
|
306 |
</tr>
|
307 |
<tr>
|
308 |
<td style="padding-top:0px; padding-bottom:2px;"></td>
|
309 |
-
<td style="padding-top:0px; padding-bottom:2px;" colspan="2"><input type="text" size="5" name="mp3foxPaddings_bottom" value="<?php echo $O['paddings_bottom']; ?>" /> Below players
|
310 |
</tr>
|
311 |
<tr>
|
312 |
<td style="padding-top:5px; padding-bottom:20px;"></td>
|
313 |
-
<td style="padding-top:5px; padding-bottom:20px;" colspan="2"><span class="description"
|
314 |
-
</tr>
|
315 |
-
|
316 |
-
|
317 |
<tr>
|
318 |
-
<td style="padding-bottom:0;padding-top:0px;"><label style="font-size:14px;"
|
319 |
<td style="padding-bottom:0;padding-top:0px;" colspan="2"><input type="text" size="5" name="mp3foxMaxListHeight" value="<?php echo $O['max_list_height']; ?>" /> px</td>
|
320 |
</tr>
|
321 |
<tr>
|
322 |
-
<td style="padding-bottom:20px;padding-top:0;" colspan="3"><span class="description"
|
323 |
-
</tr>
|
324 |
-
|
325 |
</table>
|
326 |
|
327 |
-
|
328 |
-
|
329 |
<table class="playlist-settings">
|
330 |
<tr>
|
331 |
-
<td style="width:220px;"><label for="hasListMeta" style="font-size:14px;"
|
332 |
<td colspan="2"><input type="checkbox" value="true" name="hasListMeta" id="hasListMeta" <?php echo ( $O['hasListMeta'] === "true" ? 'checked="checked"' : ''); ?>/></td>
|
333 |
</tr>
|
334 |
<tr>
|
335 |
-
<td><label for="mp3foxShowPlaylist" style="font-size:14px;"
|
336 |
-
<td colspan="2"><input type="checkbox" name="mp3foxShowPlaylist" id="mp3foxShowPlaylist" value="true" <?php if ($O['playlist_show'] == "true") {
|
337 |
</tr>
|
338 |
<tr>
|
339 |
-
<td><label for="mp3foxEnablePopout" style="font-size:14px;"
|
340 |
-
<td colspan="2"><input type="checkbox" name="mp3foxEnablePopout" id="mp3foxEnablePopout" value="true" <?php if ($O['enable_popout'] == "true") {
|
341 |
</tr>
|
342 |
</table>
|
343 |
|
344 |
-
|
345 |
-
|
346 |
-
|
347 |
<?php
|
348 |
MJPsettings_playlist();
|
349 |
?>
|
350 |
-
|
351 |
</div><!-- CLOSE TAB -->
|
352 |
|
353 |
|
@@ -356,151 +344,122 @@ function mp3j_print_admin_page()
|
|
356 |
<div class="mp3j-tab" id="mp3j_tab_1">
|
357 |
|
358 |
<div class="settingsBox">
|
359 |
-
<p style="margin-bottom:25px;" class="mainTick"><label
|
360 |
<input type="text" style="text-align:center;" size="2" name="mp3foxVol" value="<?php echo $O['initial_vol']; ?>" />
|
361 |
<span class="description">(0 - 100)</span></p>
|
362 |
|
363 |
-
<p class="mainTick"><input type="checkbox" name="mp3foxAddTrackNumbers" id="mp3foxAddTrackNumbers" value="true" <?php if ($O['add_track_numbering'] == "true") {
|
364 |
-
<label for="mp3foxAddTrackNumbers"> Number the tracks
|
365 |
|
366 |
-
<p class="mainTick"><input type="checkbox" name="mp3foxAutoplay" id="mp3foxAutoplay" value="true" <?php if ($O['auto_play'] == "true") {
|
367 |
-
<label for="mp3foxAutoplay"> Auto play
|
368 |
</p>
|
369 |
|
370 |
-
<p class="mainTick"><input type="checkbox" name="mp3foxPlaylistRepeat" id="mp3foxPlaylistRepeat" value="true" <?php if ($O['playlist_repeat'] == "true") {
|
371 |
-
<label for="mp3foxPlaylistRepeat"> Loop playlist
|
372 |
|
373 |
-
<p class="mainTick"><input type="checkbox" name="autoResume" id="autoResume" value="true" <?php if ($O['autoResume'] == "true") {
|
374 |
-
<label for="autoResume"> Resume playback
|
375 |
|
376 |
-
<p class="description" style="margin-bottom:20px; font-size:14px;"><br><span
|
377 |
|
378 |
<div id="resumeHelp" class="helpBox" style="display:none; max-width:550px;">
|
379 |
-
<h4
|
380 |
-
<p class="description"
|
381 |
-
<h4
|
382 |
-
<p class="description"
|
383 |
</div>
|
384 |
|
385 |
-
|
386 |
<br>
|
387 |
<!-- Auto Counterpart -->
|
388 |
<input type="checkbox" name="autoCounterpart" id="autoCounterpart" value="true" <?php echo ( $O['autoCounterpart'] === "true" ? 'checked="checked"' : ''); ?>/>
|
389 |
-
<label for="autoCounterpart" style="margin:0px 0 0 0px; font-size:14px;"
|
390 |
-
|
391 |
-
|
392 |
-
<p class="description" style="margin:10px 0 0 0px; font-size:14px;">This will pick up a fallback format if it's in the same location as the playlisted track, based on a
|
393 |
-
filename match. <strong><a class="slimButton" href="javascript:" onclick="jQuery('#counterpartHelp').toggle(300);">Help</a></strong></p>
|
394 |
|
|
|
395 |
<div id="counterpartHelp" class="helpBox" style="display:none; max-width:550px;">
|
396 |
-
<p class="description"
|
397 |
-
|
398 |
-
|
399 |
-
<p class="description"
|
400 |
-
|
401 |
-
|
402 |
-
<p class="description">You can always manually add a counterpart to any
|
403 |
-
primary track format by using the <code>counterpart</code> parameter in a shortcode and specifying a url.</p>
|
404 |
-
|
405 |
-
<p class="description">Automatic Counterparts are chosen with the following format priority: OGG, WEBM, WAV.</p>
|
406 |
-
</div>
|
407 |
-
|
408 |
-
|
409 |
<br>
|
410 |
-
|
411 |
</div>
|
412 |
|
413 |
|
414 |
<div class="infoBox">
|
415 |
<?php
|
416 |
if ( $O['disable_jquery_libs'] == "yes" ) {
|
417 |
-
echo '<p style="font-weight:600; color:#d33;margin-bottom:10px;">NOTE: jQuery and UI scripts are turned off
|
418 |
}
|
419 |
?>
|
420 |
-
|
421 |
<div class="gettingstarted">
|
422 |
-
<h4
|
423 |
-
<p class="infoLinks"><a href="media-new.php"
|
424 |
-
<p class="infoLinks"><a href="http://mp3-jplayer.com/adding-players/"
|
425 |
-
<p class="infoLinks"><a href="http://mp3-jplayer.com/audio-format-advice/"
|
426 |
</div>
|
427 |
<br>
|
428 |
<div class="moreinfo">
|
429 |
-
<h4
|
430 |
-
<p class="infoLinks"><a href="http://mp3-jplayer.com/help-docs/"
|
431 |
-
<p class="infoLinks"><a href="http://mp3-jplayer.com/shortcode-reference/"
|
432 |
</div>
|
433 |
-
|
434 |
<hr>
|
435 |
-
<p class="infoLinks"><a href="http://mp3-jplayer.com"
|
436 |
-
<p style="margin-bottom:0;" class="r"><span class="description" style="font-size:11px;"
|
437 |
-
|
438 |
-
|
439 |
</div>
|
440 |
-
|
441 |
-
|
442 |
-
|
443 |
<br class="clearB">
|
444 |
-
|
445 |
-
|
446 |
-
|
447 |
|
448 |
</div><!-- CLOSE START TAB -->
|
449 |
|
450 |
|
451 |
|
452 |
-
|
453 |
-
|
454 |
<!-- TAB 5.......................... -->
|
455 |
<div class="mp3j-tab" id="mp3j_tab_5">
|
|
|
|
|
|
|
|
|
456 |
|
457 |
-
|
458 |
-
|
459 |
-
$version = substr( get_bloginfo('version'), 0, 3);
|
460 |
-
if ( $version >= 3.6 ) {
|
461 |
-
?>
|
462 |
-
|
463 |
-
<h3 style="margin-top:15px; margin-bottom:10px; font-weight:500;">Library</h3>
|
464 |
-
<p class="description" style="font-size:14px; margin-bottom:10px;">Choose which title information to show in the players and playlists when playing from your WordPress Media Library.</p>
|
465 |
|
466 |
<table>
|
467 |
<tr>
|
468 |
<td colspan="2"></td>
|
469 |
</tr>
|
470 |
<tr>
|
471 |
-
<td style="width:135px; height:40px; font-size:14px;"><strong
|
472 |
<td style="height:40px;"><select name="playerTitle1" id="playerTitle1" style="width:160px;">
|
473 |
-
<option value="titles"<?php if ( 'titles' == $O['playerTitle1'] ) { echo ' selected="selected"'; }
|
474 |
-
<option value="artist"<?php if ( 'artist' == $O['playerTitle1'] ) { echo ' selected="selected"'; }
|
475 |
-
<option value="album"<?php if ( 'album' == $O['playerTitle1'] ) { echo ' selected="selected"'; }
|
476 |
-
<option value="excerpts"<?php if ( 'excerpts' == $O['playerTitle1'] ) { echo ' selected="selected"'; }
|
477 |
-
<option value="postDates"<?php if ( 'postDates' == $O['playerTitle1'] ) { echo ' selected="selected"'; }
|
478 |
</select></td>
|
479 |
</tr>
|
480 |
<tr>
|
481 |
-
<td style="width:135px; height:40px; font-size:14px;"><strong
|
482 |
<td><select name="playerTitle2" id="playerTitle2" style="width:160px;">
|
483 |
-
<option value=""<?php if ( '' == $O['playerTitle2'] ) { echo ' selected="selected"'; }
|
484 |
-
<option value="titles"<?php if ( 'titles' == $O['playerTitle2'] ) { echo ' selected="selected"'; }
|
485 |
-
<option value="artist"<?php if ( 'artist' == $O['playerTitle2'] ) { echo ' selected="selected"'; }
|
486 |
-
<option value="album"<?php if ( 'album' == $O['playerTitle2'] ) { echo ' selected="selected"'; }
|
487 |
-
<option value="excerpts"<?php if ( 'excerpts' == $O['playerTitle2'] ) { echo ' selected="selected"'; }
|
488 |
-
<option value="postDates"<?php if ( 'postDates' == $O['playerTitle2'] ) { echo ' selected="selected"'; }
|
489 |
</select></td>
|
490 |
</tr>
|
491 |
-
|
492 |
</table>
|
493 |
-
|
494 |
-
|
495 |
-
|
496 |
-
|
497 |
|
498 |
<table style="margin-top:3px;">
|
499 |
<tr>
|
500 |
<td style="width:137px; height:40px;"></td>
|
501 |
<td style="height:40px;">
|
502 |
-
<span class="button-secondary unselectable" style="display:inline-block; font-size:13px; font-weight:600; margin-top:-4px;" id="showLibFilesButton"
|
503 |
-
<a href="media-new.php" style="font-weight:600; font-size:14px;"
|
504 |
</td>
|
505 |
</tr>
|
506 |
</table>
|
@@ -515,9 +474,9 @@ function mp3j_print_admin_page()
|
|
515 |
<span class="button-secondary unselectable tNavNext unPad" id="tNavControl_last">>></span>
|
516 |
<input type="text" value="" id="tNavControl_rows" class="vTop" />
|
517 |
</div>
|
518 |
-
<div class="fL tpos ctext"
|
519 |
<div class="fL">
|
520 |
-
<span id="tNavControl_refresh" class="button-secondary unselectable" style="background:#fff; font-size:11px;"
|
521 |
<span class="mjp-spinner" id="tSpinner"></span>
|
522 |
</div>
|
523 |
<div class="tNavMessage ctext"></div>
|
@@ -526,19 +485,13 @@ function mp3j_print_admin_page()
|
|
526 |
<div id="libraryFilesTable"></div>
|
527 |
</div>
|
528 |
<br>
|
529 |
-
<hr>
|
530 |
-
|
531 |
-
|
532 |
-
|
533 |
-
|
534 |
|
535 |
<?php
|
536 |
-
////
|
537 |
//Default Folder
|
538 |
$n = 1;
|
539 |
$folderInfo = $MP3JP->grabFolderURLs( $O['mp3_dir'] ); //grab all
|
540 |
$folderText = '';
|
541 |
-
//$folderButton = '';
|
542 |
$folderHtml = '';
|
543 |
|
544 |
if ( is_array($folderInfo) )
|
@@ -554,7 +507,6 @@ function mp3j_print_admin_page()
|
|
554 |
$folderText .= "<span class=\"tabD\">This folder contains <strong>" . $c . "</strong> audio file" . ( $c != 1 ? 's' : '' ) . "</span>";
|
555 |
|
556 |
if ( $c > 0 ) {
|
557 |
-
//$folderButton .= '<span class="button-secondary" href="javascript:" onclick="jQuery(\'#folder-list\').toggle();"><strong style="font-weight:600;">View files</strong></a>';
|
558 |
|
559 |
$folderHtml .= '<div id="folder-list" style="display:none;">';
|
560 |
$folderHtml .= '<table class="fileList">';
|
@@ -584,30 +536,30 @@ function mp3j_print_admin_page()
|
|
584 |
}
|
585 |
}
|
586 |
elseif ( $folderInfo == true ) {
|
587 |
-
$folderText .= "<p class=\"tabD\">Unable to read or locate the folder <code>" . $O['mp3_dir'] . "</code> check the path and folder permissions</p>";
|
588 |
}
|
589 |
else {
|
590 |
-
$folderText .= "<p class=\"tabD\">No info is available on remote folders but you can play from here if you know the filenames</p>";
|
591 |
}
|
592 |
?>
|
593 |
|
594 |
<br>
|
595 |
-
<h3 style="margin-top:10px; margin-bottom:10px; font-weight:500;"
|
596 |
-
<p class="description" style="font-size:14px; margin-bottom:10px;"
|
597 |
|
598 |
<div id="folderHelp" class="helpBox" style="display:none; max-width:550px;">
|
599 |
-
<p class="description"
|
600 |
<p class="description"><code>/my/music</code> or <code>http://anothersite.com/music</code>.</p>
|
601 |
-
<p class="description"
|
602 |
-
<p class="description"
|
603 |
</div>
|
604 |
|
605 |
|
606 |
<table>
|
607 |
<tr>
|
608 |
-
<td style="font-size:14px; width:135px;"><strong
|
609 |
<td style="width:260px;"><input type="text" style="width:250px;" name="mp3foxfolder" value="<?php echo $O['mp3_dir']; ?>" /></td>
|
610 |
-
<td style="font-weight:600;"><a class="button-secondary unselectable" href="javascript:" onclick="jQuery('#folder-list').toggle();"
|
611 |
</tr>
|
612 |
<tr>
|
613 |
<td></td>
|
@@ -616,34 +568,27 @@ function mp3j_print_admin_page()
|
|
616 |
</table>
|
617 |
<br>
|
618 |
<?php echo $folderHtml; ?>
|
619 |
-
|
620 |
-
|
621 |
<hr>
|
622 |
<br>
|
623 |
-
|
624 |
-
|
625 |
|
626 |
|
627 |
-
|
628 |
-
|
629 |
-
|
630 |
-
<p class="description" style="font-size:14px; margin:10px 0 0 0px;">Choose which audio formats are playlisted when bulk-playing from
|
631 |
-
folders, the library, and via the FEED command in playlists.
|
632 |
-
<a href="javascript:" class="slimButton" onclick="jQuery('#feedHelp').toggle(300);">Help</a></p>
|
633 |
|
634 |
<div id="feedHelp" class="helpBox" style="display:none; max-width:550px;">
|
635 |
-
<p class="description"
|
636 |
|
637 |
-
<p class="description"
|
638 |
<p class="description"><code>[playlist tracks="FEED:LIB"]</code></p>
|
639 |
|
640 |
-
<p class="description"
|
641 |
<p class="description"><code>[playlist tracks="FEED:DF"]</code></p>
|
642 |
|
643 |
-
<p class="description"
|
644 |
<p class="description"><code>[playlist tracks="FEED:/mytunes"]</code></p>
|
645 |
|
646 |
-
<p class="description"
|
647 |
</div>
|
648 |
|
649 |
<p style="margin:15px 0 30px 0; font-size:14px;">
|
@@ -656,42 +601,44 @@ function mp3j_print_admin_page()
|
|
656 |
?>
|
657 |
</p>
|
658 |
|
659 |
-
|
|
|
|
|
660 |
|
661 |
<table style="margin-left:0px;">
|
662 |
<tr>
|
663 |
-
<td style="font-size:14px; width:135px;"><strong
|
664 |
-
<td style="font-size:14px;"
|
665 |
<td>
|
666 |
<select name="librarySortcol" style="width:160px;">
|
667 |
-
<option value="title" <?php if ( 'title' == $O['library_sortcol'] ) {
|
668 |
-
<option value="caption" <?php if ( 'caption' == $O['library_sortcol'] ) {
|
669 |
-
<option value="file" <?php if ( 'file' == $O['library_sortcol'] ) {
|
670 |
-
<option value="date" <?php if ( 'date' == $O['library_sortcol'] ) {
|
671 |
</select>
|
672 |
</td>
|
673 |
-
<td style="font-size:14px;"> Direction </td>
|
674 |
<td>
|
675 |
<select name="libraryDirection" style="width:100px;">
|
676 |
-
<option value="ASC" <?php if ( 'ASC' == $O['library_direction'] ) {
|
677 |
-
<option value="DESC" <?php if ( 'DESC' == $O['library_direction'] ) {
|
678 |
</select>
|
679 |
</td>
|
680 |
</tr>
|
681 |
<tr>
|
682 |
-
<td style="font-size:14px; width:135px;"><strong
|
683 |
-
<td style="font-size:14px;"
|
684 |
<td>
|
685 |
<select name="folderFeedSortcol" style="width:160px;">
|
686 |
-
<option value="file" <?php if ( 'file' == $O['folderFeedSortcol'] ) {
|
687 |
-
<option value="date" <?php if ( 'date' == $O['folderFeedSortcol'] ) {
|
688 |
</select>
|
689 |
</td>
|
690 |
-
<td style="font-size:14px;"> Direction </td>
|
691 |
<td>
|
692 |
<select name="folderFeedDirection" style="width:100px;">
|
693 |
-
<option value="ASC" <?php if ( 'ASC' == $O['folderFeedDirection'] ) {
|
694 |
-
<option value="DESC" <?php if ( 'DESC' == $O['folderFeedDirection'] ) {
|
695 |
</select>
|
696 |
</td>
|
697 |
</tr>
|
@@ -699,28 +646,27 @@ function mp3j_print_admin_page()
|
|
699 |
|
700 |
<br />
|
701 |
<p style="margin:10px 0 0 0;"><span class="description" id="feedCounterpartInfo"></span></p>
|
|
|
702 |
|
703 |
|
704 |
|
705 |
-
</div><!-- CLOSE MEDIA TAB -->
|
706 |
-
|
707 |
|
708 |
<!-- DOWNLOADS TAB .......................... -->
|
709 |
<div class="mp3j-tab" id="mp3j_tab_3">
|
710 |
<br>
|
711 |
-
<p class="description" style="font-size:14px; margin-bottom:10px;"
|
712 |
|
713 |
<table class="dSettingsTable">
|
714 |
<tr>
|
715 |
-
<td><strong class="mainTick"
|
716 |
<td><select name="mp3foxDownloadMp3" style="width:150px;">
|
717 |
-
<option value="true" <?php if ( 'true' == $O['show_downloadmp3'] ) {
|
718 |
-
<option value="false" <?php if ( 'false' == $O['show_downloadmp3'] ) {
|
719 |
-
<option value="loggedin" <?php if ( 'loggedin' == $O['show_downloadmp3'] ) {
|
720 |
</select></td>
|
721 |
</tr>
|
722 |
<tr>
|
723 |
-
<td><strong class="mainTick"
|
724 |
<td><input type="text" style="width:150px;" name="dload_text" value="<?php echo $O['dload_text']; ?>" /></td>
|
725 |
</tr>
|
726 |
|
@@ -729,36 +675,33 @@ function mp3j_print_admin_page()
|
|
729 |
</tr>
|
730 |
|
731 |
<tr>
|
732 |
-
<td colspan="2" class="mainTick" style="margin-left:0px;"><p class="description" style="margin:0px 0 5px 0px; font-size:14px;"
|
733 |
</tr>
|
734 |
|
735 |
<tr>
|
736 |
-
<td><strong class="mainTick"
|
737 |
<td>
|
738 |
<input type="text" style="width:150px;" name="loggedout_dload_text" value="<?php echo $O['loggedout_dload_text']; ?>" />
|
739 |
</td>
|
740 |
</tr>
|
741 |
<tr>
|
742 |
-
<td><strong class="mainTick"
|
743 |
<td>
|
744 |
<input type="text" style="width:300px;" name="loggedout_dload_link" value="<?php echo $O['loggedout_dload_link']; ?>" />
|
745 |
-
<span class="description"
|
746 |
</td>
|
747 |
</tr>
|
748 |
|
749 |
-
|
750 |
<tr>
|
751 |
<td colspan="2"><br><hr></td>
|
752 |
</tr>
|
753 |
|
754 |
-
|
755 |
-
|
756 |
<tr>
|
757 |
-
<td style="padding-top:5px;"><label for="force_browser_dload" class="mainTick"
|
758 |
-
<td style="padding-top:5px;"><input type="checkbox" name="force_browser_dload" id="force_browser_dload" value="true" <?php if ($O['force_browser_dload'] == "true") {
|
759 |
</tr>
|
760 |
<tr>
|
761 |
-
<td colspan="2"><p class="description" style="margin:0px 0 0px 0px; font-size:14px;"
|
762 |
</tr>
|
763 |
<tr>
|
764 |
<td colspan="2"><br><hr></td>
|
@@ -766,60 +709,50 @@ function mp3j_print_admin_page()
|
|
766 |
</table>
|
767 |
|
768 |
|
769 |
-
|
770 |
-
|
771 |
-
|
772 |
-
|
773 |
-
|
774 |
<table>
|
775 |
<tr>
|
776 |
-
<td><strong class="mainTick"
|
777 |
<td>
|
778 |
<input type="text" style="width:300px;" name="dloader_remote_path" value="<?php echo $O['dloader_remote_path']; ?>" />
|
779 |
</td>
|
780 |
</tr>
|
781 |
</table>
|
782 |
-
<p class="description" style="margin:0px 0 10px 4px; font-size:14px;"
|
783 |
-
the field above to specify a path to the downloader file. <strong><a href="<?php echo $MP3JP->PluginFolder; ?>/remote/help.txt">See help on setting this up</a></strong></p>
|
784 |
-
|
785 |
<br>
|
786 |
|
787 |
</div>
|
788 |
-
|
789 |
-
|
790 |
-
|
791 |
|
792 |
|
793 |
<!-- POPOUT TAB .......................... -->
|
794 |
<div class="mp3j-tab" id="mp3j_tab_4">
|
795 |
<br>
|
796 |
-
<p class="description" style="font-size:14px; margin-bottom:10px;"
|
797 |
<table class="popoutSettingsTable">
|
798 |
<tr>
|
799 |
-
<td><strong class="mainTick"
|
800 |
<td><input type="text" style="width:150px;" name="mp3foxPopoutButtonText" value="<?php echo $O['popout_button_title']; ?>" /></td>
|
801 |
</tr>
|
802 |
-
|
803 |
<tr>
|
804 |
<td colspan="2"><br><hr></td>
|
805 |
</tr>
|
806 |
<tr>
|
807 |
-
<td colspan="2" style="padding-left:0;"><p class="description" style="font-size:14px; margin-bottom:10px;"
|
808 |
</tr>
|
809 |
<tr>
|
810 |
-
<td><strong class="mainTick"
|
811 |
<td><input type="text" size="4" style="text-align:center;" name="mp3foxPopoutWidth" value="<?php echo $O['popout_width']; ?>" /> px <span class="description"> (250 - 1600)</span></td>
|
812 |
</tr>
|
813 |
<tr>
|
814 |
-
<td><strong class="mainTick"
|
815 |
-
<td><input type="text" size="4" style="text-align:center;" name="mp3foxPopoutMaxHeight" value="<?php echo $O['popout_max_height']; ?>" /> px <span class="description"> (200 - 1200) a scroll bar will show for longer playlists
|
816 |
</tr>
|
817 |
<tr>
|
818 |
-
<td><strong class="mainTick"
|
819 |
<td><input type="text"name="mp3foxPopoutBackground" style="width:100px;" value="<?php echo $O['popout_background']; ?>" /></td>
|
820 |
</tr>
|
821 |
<tr>
|
822 |
-
<td><strong class="mainTick"
|
823 |
<td><input type="text" style="width:100%;" name="mp3foxPopoutBGimage" value="<?php echo $O['popout_background_image']; ?>" /></td>
|
824 |
</tr>
|
825 |
</table>
|
@@ -827,191 +760,173 @@ function mp3j_print_admin_page()
|
|
827 |
|
828 |
|
829 |
|
830 |
-
|
831 |
-
|
832 |
-
|
833 |
<!-- TAB 2.......................... -->
|
834 |
<div class="mp3j-tab" id="mp3j_tab_2">
|
835 |
|
836 |
<br>
|
837 |
-
<p class="description" style="font-size:14px; margin-bottom:20px;"
|
838 |
<table class="advancedSettingsTable">
|
839 |
<tr>
|
840 |
-
<td class="mainTick"><input type="checkbox" name="replace_WP_audio" id="replace_WP_audio" value="true" <?php if ($O['replace_WP_audio'] == "true") {
|
841 |
-
<label for="replace_WP_audio"
|
842 |
-
<td><span class="description"
|
843 |
</tr>
|
844 |
<tr>
|
845 |
-
<td class="mainTick"><input type="checkbox" name="replace_WP_playlist" id="replace_WP_playlist" value="true" <?php if ($O['replace_WP_playlist'] == "true") {
|
846 |
-
<label for="replace_WP_playlist"
|
847 |
-
<td><span class="description"
|
848 |
</tr>
|
849 |
<tr>
|
850 |
-
<td class="mainTick"><input type="checkbox" name="make_player_from_link" id="make_player_from_link" value="true" <?php if ($O['make_player_from_link'] == "true") {
|
851 |
-
<label for="make_player_from_link"
|
852 |
-
<td><span class="description"
|
853 |
</tr>
|
854 |
<tr>
|
855 |
-
<td class="mainTick"><input type="checkbox" name="replace_WP_attached" id="replace_WP_attached" value="true" <?php if ($O['replace_WP_attached'] == "true") {
|
856 |
-
<label for="replace_WP_attached"
|
857 |
-
<td><span class="description"
|
858 |
</tr>
|
859 |
<tr>
|
860 |
-
<td class="mainTick"><input type="checkbox" name="replace_WP_embedded" id="replace_WP_embedded" value="true" <?php if ($O['replace_WP_embedded'] == "true") {
|
861 |
-
<label for="replace_WP_embedded"
|
862 |
-
<td><span class="description"
|
863 |
</tr>
|
864 |
</table>
|
865 |
<br>
|
866 |
-
<p class="description" style="font-size:14px;"
|
867 |
-
|
868 |
-
|
869 |
-
|
870 |
-
|
871 |
-
|
872 |
<br><hr><br>
|
873 |
|
874 |
|
|
|
|
|
|
|
|
|
|
|
875 |
|
876 |
-
<p class="description" style="font-size:14px;
|
877 |
-
<p style="font-size:14px; margin-bottom:8px;"><input type="checkbox" name="mp3foxOnBlog" id="mp3foxOnBlog" value="true" <?php if ($O['player_onblog'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); }?> />
|
878 |
-
<label for="mp3foxOnBlog"> Show players when the full content is used.</p>
|
879 |
-
<p style="font-size:14px; margin-bottom:8px;"><input type="checkbox" name="runShcodeInExcerpt" id="runShcodeInExcerpt" value="true" <?php if ($O['run_shcode_in_excerpt'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); }?> />
|
880 |
-
<label for="runShcodeInExcerpt"> Show players when excerpts (short summaries) are used.</label></p>
|
881 |
-
|
882 |
-
<p class="description" style="margin:0 0 10px 30px; font-size:14px;">NOTE: You will need to manually write your post excerpts for this to work. Write your shortcodes into the excerpt field on post edit screens.</p>
|
883 |
-
|
884 |
-
|
885 |
-
|
886 |
-
|
887 |
-
|
888 |
<br><hr><br>
|
889 |
|
890 |
|
891 |
-
|
892 |
-
<h3 style="margin:0 0 20px 0; font-weight:500;">Conversion Options</h3>
|
893 |
<table>
|
894 |
<tr>
|
895 |
-
<td class="padB" style="font-size:14px;"
|
896 |
<td class="padB">
|
897 |
<select name="replacerShortcode_single" style="width:200px; font-weight:500;">
|
898 |
-
<option value="mp3j"<?php if ( 'mp3j' == $O['replacerShortcode_single'] ) { echo ' selected="selected"'; }
|
899 |
-
<option value="mp3t"<?php if ( 'mp3t' == $O['replacerShortcode_single'] ) { echo ' selected="selected"'; }
|
900 |
-
<option value="player"<?php if ( 'player' == $O['replacerShortcode_single'] ) { echo ' selected="selected"'; }
|
901 |
-
<option value="popout"<?php if ( 'popout' == $O['replacerShortcode_single'] ) { echo ' selected="selected"'; }
|
902 |
</select>
|
903 |
</td>
|
904 |
</tr>
|
905 |
<tr>
|
906 |
-
<td class="padB" style="font-size:14px;"
|
907 |
<td class="padB">
|
908 |
<select name="replacerShortcode_playlist" id="replacerShortcode_playlist" style="width:200px; font-weight:500;">
|
909 |
-
<option value="player"<?php if ( 'player' == $O['replacerShortcode_playlist'] ) { echo ' selected="selected"'; }
|
910 |
-
<option value="popout"<?php if ( 'popout' == $O['replacerShortcode_playlist'] ) { echo ' selected="selected"'; }
|
911 |
</select>
|
912 |
</td>
|
913 |
</tr>
|
914 |
<tr>
|
915 |
-
<td class="vTop padB" style="font-size:14px;"><strong
|
916 |
<td class="padB">
|
917 |
<textarea class="widefat" style="width:400px; height:100px;" name="make_player_from_link_shcode"><?php
|
918 |
$deslashed = str_replace('\"', '"', $O['make_player_from_link_shcode'] );
|
919 |
echo $deslashed;
|
920 |
?></textarea><br />
|
921 |
-
<p class="description" style="margin:5px 0 10px 0; font-size:14px;"
|
922 |
-
<br
|
923 |
</td>
|
924 |
</tr>
|
925 |
</table>
|
926 |
<hr><br>
|
927 |
|
928 |
|
929 |
-
<h3 style="margin:0 0 20px 0; font-weight:500;"
|
930 |
-
|
931 |
-
<p class="
|
932 |
-
|
933 |
-
|
934 |
-
|
935 |
-
<p class="mainTick" style="margin:0 0 10px 0px;"><input type="checkbox" id="
|
936 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
937 |
<br><hr><br>
|
938 |
|
939 |
|
940 |
|
941 |
-
<h3 style="margin:0 0 20px 0; font-weight:500;"
|
942 |
-
<p class="mainTick" style="margin-bottom:10px;"><strong
|
943 |
|
944 |
<select name="showErrors">
|
945 |
-
<option value="false"<?php if ( 'false' == $O['showErrors'] ) { echo ' selected="selected"'; }
|
946 |
-
<option value="admin"<?php if ( 'admin' == $O['showErrors'] ) { echo ' selected="selected"'; }
|
947 |
-
<option value="true"<?php if ( 'true' == $O['showErrors'] ) { echo ' selected="selected"'; }
|
948 |
</select></p>
|
949 |
<br><hr><br>
|
950 |
|
951 |
|
952 |
|
953 |
-
<h3 style="margin:0 0 20px 0; font-weight:500;"
|
954 |
<div style="margin: 10px 0px 10px 0px; padding:6px 18px 6px 18px; background:#f9f9f9; border:1px solid #ccc;">
|
955 |
-
<p><span class="description" style="font-size:14px;"
|
956 |
-
<br
|
957 |
|
958 |
-
<p class="mainTick" style="margin:10px 0 0 20px;"><strong
|
959 |
<select name="file_separator" style="width:120px; font-size:11px; line-height:16px;">
|
960 |
-
<option value="," <?php if ( ',' == $O['f_separator'] ) {
|
961 |
-
<option value=";" <?php if ( ';' == $O['f_separator'] ) {
|
962 |
-
<option value="###" <?php if ( '###' == $O['f_separator'] ) {
|
963 |
</select>
|
964 |
-
<span class="description"
|
965 |
|
966 |
-
<p class="mainTick" style="margin-left:20px;"><strong
|
967 |
<select name="caption_separator" style="width:120px; font-size:11px; line-height:16px;">
|
968 |
-
<option value="," <?php if ( ',' == $O['c_separator'] ) {
|
969 |
-
<option value=";" <?php if ( ';' == $O['c_separator'] ) {
|
970 |
-
<option value="###" <?php if ( '###' == $O['c_separator'] ) {
|
971 |
</select>
|
972 |
-
<span class="description"
|
973 |
</div>
|
974 |
|
975 |
|
976 |
-
|
977 |
-
|
978 |
<br><hr><br>
|
979 |
|
980 |
-
|
981 |
-
|
982 |
-
|
983 |
-
|
984 |
-
<p class="mainTick"><input type="checkbox" id="mp3foxEchoDebug" name="mp3foxEchoDebug" value="true" <?php if ($O['echo_debug'] == "true") { _e('checked="checked"', $MP3JP->textdomain ); }?> />
|
985 |
-
<label for="mp3foxEchoDebug">Turn on debug</label>
|
986 |
-
<br /> <span class="description" style="font-size:14px;">Info appears in the source view near the bottom.</span></p>
|
987 |
|
988 |
|
989 |
<?php $bgc = ( $O['disable_jquery_libs'] == "yes" ) ? "#fdd" : "#f9f9f9"; ?>
|
990 |
<div style="margin: 20px 0px 10px 0px; padding:6px; background:<?php echo $bgc; ?>; border:1px solid #ccc;">
|
991 |
-
<p class="mainTick" style="margin:0 0 5px 18px; font-weight:700;"
|
992 |
-
<p style="margin: 0 0 8px 18px;"><span class="description" style="font-size:14px;"
|
993 |
-
|
994 |
-
<br />Type <code>yes</code> in the box and save settings to bypass jQuery and jQuery-UI.</span></p>
|
995 |
</div>
|
996 |
|
997 |
-
|
998 |
-
|
999 |
</div><!-- CLOSE ADVANCED TAB -->
|
1000 |
-
|
1001 |
-
|
1002 |
</div><!-- close tabs wrapper -->
|
1003 |
|
1004 |
|
1005 |
-
|
1006 |
<hr /><br />
|
1007 |
<table>
|
1008 |
<tr>
|
1009 |
<td>
|
1010 |
-
<input type="submit" name="update_mp3foxSettings" class="button-primary" style="font-weight:700;" value="<?php _e('Save All Changes',
|
1011 |
</td>
|
1012 |
<td>
|
1013 |
-
<p style="margin-top:5px;"><label for="mp3foxRemember"
|
1014 |
-
<input type="checkbox" id="mp3foxRemember" name="mp3foxRemember" value="true" <?php if ($O['remember_settings'] == "true") {
|
1015 |
</td>
|
1016 |
<tr>
|
1017 |
</table>
|
@@ -1023,9 +938,9 @@ function mp3j_print_admin_page()
|
|
1023 |
<hr>
|
1024 |
<div style="margin: 15px 0px 0px 0px; min-height:30px;">
|
1025 |
<p class="description" style="margin: 0px 120px px 0px; font-weight:700; color:#d0d0d0;">
|
1026 |
-
<a class="button-secondary" target="_blank" href="http://mp3-jplayer.com/help-docs/"
|
1027 |
-
<a class="button-secondary" target="_blank" href="http://mp3-jplayer.com/add-ons"
|
1028 |
-
<a class="button-secondary" target="_blank" href="http://mp3-jplayer.com/skins"
|
1029 |
</p>
|
1030 |
</div>
|
1031 |
|
179 |
?>
|
180 |
|
181 |
<!-- Settings saved message -->
|
182 |
+
<div class="updated"><p><strong><?php _e( 'Settings saved.', 'mp3-jplayer' ); ?></strong></p></div>
|
183 |
<?php
|
184 |
}
|
185 |
|
188 |
?>
|
189 |
<div class="wrap">
|
190 |
|
191 |
+
<h2 style="font-size:4px;line-height:4px;"> </h2>
|
192 |
|
193 |
<form method="post" action="<?php echo $_SERVER["REQUEST_URI"]; ?>">
|
194 |
|
195 |
|
196 |
<div class="mp3j-tabbuttons-wrap unselectable">
|
197 |
<div class="mp3j-tabbutton first" id="mp3j_tabbutton_1"><h1>MP3-jPlayer</h1></div>
|
198 |
+
<div class="mp3j-tabbutton" id="mp3j_tabbutton_5"><?php _e( 'Media', 'mp3-jplayer' ); ?></div>
|
199 |
+
<div class="mp3j-tabbutton" id="mp3j_tabbutton_0"><?php _e( 'Players', 'mp3-jplayer' ); ?></div>
|
200 |
+
<div class="mp3j-tabbutton" id="mp3j_tabbutton_3"><?php _e( 'Downloads', 'mp3-jplayer' ); ?></div>
|
201 |
+
<div class="mp3j-tabbutton" id="mp3j_tabbutton_4"><?php _e( 'Popout', 'mp3-jplayer' ); ?></div>
|
202 |
+
<div class="mp3j-tabbutton last" id="mp3j_tabbutton_2"><?php _e( 'Advanced', 'mp3-jplayer' ); ?></div>
|
203 |
<br class="clearB" />
|
204 |
</div>
|
205 |
|
214 |
?>
|
215 |
|
216 |
<div style="float:left; width:270px; margin:8px 10px 0 0;">
|
217 |
+
<div class="os" style="border-bottom:1px solid #d3d3d3; padding:8px 0 8px 0px; margin:0 0 15px 0; font-size:18px; font-weight:500;"><?php _e( 'Text Players (single-file)', 'mp3-jplayer' ); ?></div>
|
218 |
<table class="player-settings" style="margin:0 0 0px 0px; width:260px">
|
219 |
<tr>
|
220 |
+
<td class="psHeight"><strong style="font-size:14px;"><?php _e( 'Font Size', 'mp3-jplayer' ); ?></strong>:</td>
|
221 |
<td><input type="text" value="<?php echo $O['font_size_mp3t']; ?>" name="font_size_mp3t" style="width:70px;" /></td>
|
222 |
</tr>
|
223 |
<tr>
|
224 |
+
<td class="psHeight"><label for="volslider_onsingles"><strong style="font-size:14px;"><?php _e( 'Volume', 'mp3-jplayer' ); ?></strong>: </label></td>
|
225 |
+
<td><input type="checkbox" name="volslider_onsingles" id="volslider_onsingles" value="true" <?php if ( $O['volslider_on_singles'] == "true" ) { echo 'checked="checked"'; } ?> /></td>
|
226 |
</tr>
|
227 |
<tr>
|
228 |
+
<td class="psHeight"><label for="flipMP3t"><strong style="font-size:14px;"><?php _e( 'Play on RHS', 'mp3-jplayer' ); ?></strong>: </label></td>
|
229 |
+
<td><input type="checkbox" name="flipMP3t" id="flipMP3t" value="true" <?php if ($O['flipMP3t'] == "true") { echo 'checked="checked"'; }?> /></td>
|
230 |
</tr>
|
231 |
<tr>
|
232 |
+
<td class="psHeight"><strong style="font-size:14px;"><?php _e( 'Colour Scheme', 'mp3-jplayer' ); ?></strong>:</td>
|
233 |
+
<td><input type="checkbox" name="mp3tColour_on" id="mp3tColour_on" value="true" <?php if ($O['mp3tColour_on'] == "true") { echo 'checked="checked"'; }?> />
|
234 |
+
<?php _ex( 'On', 'as in switched on', 'mp3-jplayer' ); ?> <input type="text" value="<?php echo $O['mp3tColour']; ?>" name="mp3tColour" id="mp3tColour" /></td>
|
235 |
</tr>
|
236 |
<?php
|
237 |
MJPsettings_mp3t();
|
240 |
</div>
|
241 |
|
242 |
<div style="float:left; width:270px; margin:8px 10px 0 0;">
|
243 |
+
<div style="border-bottom:1px solid #d3d3d3; padding:8px 0 8px 0px; margin:0 0 15px 0; font-size:18px; font-weight:500;"><?php _e( 'Button Players (single-file)', 'mp3-jplayer' ); ?></div>
|
244 |
<table class="player-settings" style="margin:0 0 0px 0px; width:260px">
|
245 |
<tr>
|
246 |
+
<td class="psHeight"><strong style="font-size:14px;"><?php _e( 'Font Size', 'mp3-jplayer' ); ?></strong>:</td>
|
247 |
<td><input type="text" value="<?php echo $O['font_size_mp3j']; ?>" name="font_size_mp3j" style="width:70px;" /></td>
|
248 |
</tr>
|
249 |
<tr>
|
250 |
+
<td class="psHeight"><label for="volslider_onmp3j"><strong style="font-size:14px;"><?php _e( 'Volume', 'mp3-jplayer' ); ?></strong>: </label></td>
|
251 |
+
<td><input type="checkbox" name="volslider_onmp3j" id="volslider_onmp3j" value="true" <?php if ($O['volslider_on_mp3j'] == "true") { echo 'checked="checked"'; }?> /></td>
|
252 |
</tr>
|
253 |
<tr>
|
254 |
+
<td class="psHeight"><label for="flipMP3j"><strong style="font-size:14px;"><?php _e( 'Play on RHS', 'mp3-jplayer' ); ?></strong>: </label></td>
|
255 |
+
<td><input type="checkbox" name="flipMP3j" id="flipMP3j" value="false" <?php if ($O['flipMP3j'] == "false") { echo 'checked="checked"'; }?> /></td>
|
256 |
</tr>
|
257 |
<tr>
|
258 |
+
<td class="psHeight"><strong style="font-size:14px;"><?php _e( 'Colour Scheme', 'mp3-jplayer' ); ?></strong>:</td>
|
259 |
+
<td><input type="checkbox" name="mp3jColour_on" id="mp3jColour_on" value="true" <?php if ($O['mp3jColour_on'] == "true") { echo 'checked="checked"'; }?> />
|
260 |
+
<?php _ex( 'On', 'as in switched on', 'mp3-jplayer' ); ?> <input type="text" value="<?php echo $O['mp3jColour']; ?>" name="mp3jColour" id="mp3jColour" />
|
261 |
</td>
|
262 |
</tr>
|
263 |
<?php
|
275 |
<br class="clearB">
|
276 |
|
277 |
<br>
|
278 |
+
<div style="border-bottom:1px solid #d3d3d3; padding:8px 0 8px 0px; margin:10px 0 15px 0; width:540px; font-size:18px; font-weight:500;"><?php _e( 'Playlist Players', 'mp3-jplayer' ); ?></div>
|
279 |
<table class="playlist-settings" style="margin:0 0 0px 0px;">
|
280 |
<tr>
|
281 |
+
<td style="width:175px;"><strong style="font-size:14px;"><?php _e( 'Width:', 'mp3-jplayer' ); ?></strong></td>
|
282 |
<td><input type="text" style="width:100px;" name="mp3foxPlayerWidth" value="<?php echo $O['player_width']; ?>" /></td>
|
283 |
+
<td><span class="description"><?php _e( 'Pixels (px) or percent (%).', 'mp3-jplayer' ); ?></span></td>
|
284 |
</tr>
|
285 |
<tr>
|
286 |
+
<td><strong style="font-size:14px;"><?php _e( 'Alignment:', 'mp3-jplayer' ); ?></strong></td>
|
287 |
<td><select name="mp3foxFloat" style="width:100px;">
|
288 |
+
<option value="none" <?php if ( 'none' == $O['player_float'] ) { echo 'selected="selected"'; } ?>><?php _e( 'Left', 'mp3-jplayer' ); ?></option>
|
289 |
+
<option value="rel-C" <?php if ( 'rel-C' == $O['player_float'] ) { echo 'selected="selected"'; } ?>><?php _e( 'Centre', 'mp3-jplayer' ); ?></option>
|
290 |
+
<option value="rel-R" <?php if ( 'rel-R' == $O['player_float'] ) { echo 'selected="selected"'; } ?>><?php _e( 'Right', 'mp3-jplayer' ); ?></option>
|
291 |
+
<option value="left" <?php if ( 'left' == $O['player_float'] ) { echo 'selected="selected"'; } ?>><?php _e( 'Float Left', 'mp3-jplayer' ); ?></option>
|
292 |
+
<option value="right" <?php if ( 'right' == $O['player_float'] ) { echo 'selected="selected"'; } ?>><?php _e( 'Float Right', 'mp3-jplayer' ); ?></option>
|
293 |
</select></td>
|
294 |
<td></td>
|
295 |
</tr>
|
|
|
|
|
|
|
296 |
<tr>
|
297 |
+
<td style="padding-bottom:4px;"><strong style="font-size:14px;"><?php _e( 'Margins:', 'mp3-jplayer' ); ?></strong></td>
|
298 |
+
<td style="padding-bottom:4px;" colspan="2"><input type="text" size="5" name="mp3foxPaddings_top" value="<?php echo $O['paddings_top']; ?>" /> <?php _e( 'Above players', 'mp3-jplayer' ); ?></td>
|
299 |
</tr>
|
300 |
<tr>
|
301 |
<td style="padding-top:0px; padding-bottom:4px;"></td>
|
302 |
+
<td style="padding-top:0px; padding-bottom:4px;" colspan="2"><input type="text" size="5" name="mp3foxPaddings_inner" value="<?php echo $O['paddings_inner']; ?>" /> <?php _e( 'Inner margin (floated players)', 'mp3-jplayer' ); ?></td>
|
303 |
</tr>
|
304 |
<tr>
|
305 |
<td style="padding-top:0px; padding-bottom:2px;"></td>
|
306 |
+
<td style="padding-top:0px; padding-bottom:2px;" colspan="2"><input type="text" size="5" name="mp3foxPaddings_bottom" value="<?php echo $O['paddings_bottom']; ?>" /> <?php _e( 'Below players', 'mp3-jplayer' ); ?></td>
|
307 |
</tr>
|
308 |
<tr>
|
309 |
<td style="padding-top:5px; padding-bottom:20px;"></td>
|
310 |
+
<td style="padding-top:5px; padding-bottom:20px;" colspan="2"><span class="description"><?php _e( 'Pixels (px) or percent (%).', 'mp3-jplayer' ); ?></span></td>
|
311 |
+
</tr>
|
|
|
|
|
312 |
<tr>
|
313 |
+
<td style="padding-bottom:0;padding-top:0px;"><label style="font-size:14px;"><?php _e( 'Max playlist height:', 'mp3-jplayer' ); ?></label></td>
|
314 |
<td style="padding-bottom:0;padding-top:0px;" colspan="2"><input type="text" size="5" name="mp3foxMaxListHeight" value="<?php echo $O['max_list_height']; ?>" /> px</td>
|
315 |
</tr>
|
316 |
<tr>
|
317 |
+
<td style="padding-bottom:20px;padding-top:0;" colspan="3"><span class="description"><?php _e( 'A scroll bar will show for longer playlists, leave it blank for no limit.', 'mp3-jplayer' ); ?></span></td>
|
318 |
+
</tr>
|
|
|
319 |
</table>
|
320 |
|
|
|
|
|
321 |
<table class="playlist-settings">
|
322 |
<tr>
|
323 |
+
<td style="width:220px;"><label for="hasListMeta" style="font-size:14px;"><?php _e( 'Show sub titles in playlists', 'mp3-jplayer' ); ?></label></td>
|
324 |
<td colspan="2"><input type="checkbox" value="true" name="hasListMeta" id="hasListMeta" <?php echo ( $O['hasListMeta'] === "true" ? 'checked="checked"' : ''); ?>/></td>
|
325 |
</tr>
|
326 |
<tr>
|
327 |
+
<td><label for="mp3foxShowPlaylist" style="font-size:14px;"><?php _e( 'Start with playlists open', 'mp3-jplayer' ); ?></label></td>
|
328 |
+
<td colspan="2"><input type="checkbox" name="mp3foxShowPlaylist" id="mp3foxShowPlaylist" value="true" <?php if ($O['playlist_show'] == "true") { echo 'checked="checked"'; }?> /></td>
|
329 |
</tr>
|
330 |
<tr>
|
331 |
+
<td><label for="mp3foxEnablePopout" style="font-size:14px;"><?php _e( 'Show popout player button', 'mp3-jplayer' ); ?></label></td>
|
332 |
+
<td colspan="2"><input type="checkbox" name="mp3foxEnablePopout" id="mp3foxEnablePopout" value="true" <?php if ($O['enable_popout'] == "true") { echo 'checked="checked"'; }?> /></td>
|
333 |
</tr>
|
334 |
</table>
|
335 |
|
|
|
|
|
|
|
336 |
<?php
|
337 |
MJPsettings_playlist();
|
338 |
?>
|
|
|
339 |
</div><!-- CLOSE TAB -->
|
340 |
|
341 |
|
344 |
<div class="mp3j-tab" id="mp3j_tab_1">
|
345 |
|
346 |
<div class="settingsBox">
|
347 |
+
<p style="margin-bottom:25px;" class="mainTick"><label><?php _e( 'Initial volume:', 'mp3-jplayer' ); ?> </label>
|
348 |
<input type="text" style="text-align:center;" size="2" name="mp3foxVol" value="<?php echo $O['initial_vol']; ?>" />
|
349 |
<span class="description">(0 - 100)</span></p>
|
350 |
|
351 |
+
<p class="mainTick"><input type="checkbox" name="mp3foxAddTrackNumbers" id="mp3foxAddTrackNumbers" value="true" <?php if ($O['add_track_numbering'] == "true") { echo 'checked="checked"'; } ?> />
|
352 |
+
<label for="mp3foxAddTrackNumbers"> <?php _e( 'Number the tracks', 'mp3-jplayer' ); ?></label></p>
|
353 |
|
354 |
+
<p class="mainTick"><input type="checkbox" name="mp3foxAutoplay" id="mp3foxAutoplay" value="true" <?php if ($O['auto_play'] == "true") { echo 'checked="checked"'; } ?> />
|
355 |
+
<label for="mp3foxAutoplay"> <?php _e( 'Auto play', 'mp3-jplayer' ); ?></label>
|
356 |
</p>
|
357 |
|
358 |
+
<p class="mainTick"><input type="checkbox" name="mp3foxPlaylistRepeat" id="mp3foxPlaylistRepeat" value="true" <?php if ($O['playlist_repeat'] == "true") { echo 'checked="checked"'; } ?> />
|
359 |
+
<label for="mp3foxPlaylistRepeat"> <?php _e( 'Loop playlist', 'mp3-jplayer' ); ?></label></p>
|
360 |
|
361 |
+
<p class="mainTick"><input type="checkbox" name="autoResume" id="autoResume" value="true" <?php if ($O['autoResume'] == "true") { echo 'checked="checked"'; } ?> />
|
362 |
+
<label for="autoResume"> <?php _e( 'Resume playback', 'mp3-jplayer' ); ?></label></p>
|
363 |
|
364 |
+
<p class="description" style="margin-bottom:20px; font-size:14px;"><br><span><?php _e( 'Note that Resume and Auto play are prevented by many devices, these will activate on desktops and laptops only.', 'mp3-jplayer' ); ?></span> <a class="slimButton" href="javascript:" onclick="jQuery('#resumeHelp').toggle(300);"><?php _e( 'Help', 'mp3-jplayer' ); ?></a></p>
|
365 |
|
366 |
<div id="resumeHelp" class="helpBox" style="display:none; max-width:550px;">
|
367 |
+
<h4><?php _e( 'Resume Playback', 'mp3-jplayer' ); ?></h4>
|
368 |
+
<p class="description"><?php _e( 'This gives near-continuous listening when browsing the site (there will be a short pause as the next page loads). Resuming will work wherever you have used the same piece of audio on different pages on the site.', 'mp3-jplayer' ); ?></p>
|
369 |
+
<h4><?php _e( 'Auto Play', 'mp3-jplayer' ); ?></h4>
|
370 |
+
<p class="description"><?php _e( 'If you set multiple players on a page to autoplay then they will play their playlists in sequence one after the other.', 'mp3-jplayer' ); ?></p>
|
371 |
</div>
|
372 |
|
|
|
373 |
<br>
|
374 |
<!-- Auto Counterpart -->
|
375 |
<input type="checkbox" name="autoCounterpart" id="autoCounterpart" value="true" <?php echo ( $O['autoCounterpart'] === "true" ? 'checked="checked"' : ''); ?>/>
|
376 |
+
<label for="autoCounterpart" style="margin:0px 0 0 0px; font-size:14px;"><?php _e( 'Auto-find counterpart files', 'mp3-jplayer' ); ?> </label>
|
|
|
|
|
|
|
|
|
377 |
|
378 |
+
<p class="description" style="margin:10px 0 0 0px; font-size:14px;"><?php _e( 'This will pick up a fallback format if it\'s in the same location as the playlisted track, based on a filename match.', 'mp3-jplayer' ); ?> <strong><a class="slimButton" href="javascript:" onclick="jQuery('#counterpartHelp').toggle(300);"><?php _e( 'Help', 'mp3-jplayer' ); ?></a></strong></p>
|
379 |
<div id="counterpartHelp" class="helpBox" style="display:none; max-width:550px;">
|
380 |
+
<p class="description"><?php _e( 'With this option ticked, the plugin will automatically look for counterpart files for any players on a page. The playlisted (primary) track must be from the MPEG family (an mp3, m4a, or mp4 file).', 'mp3-jplayer' ); ?></p>
|
381 |
+
<p class="description"><?php _e( 'Auto-counterparting works for MPEGS in the library, in local folders, and when using bulk play or FEED commands. Just make sure your counterparts have the same filename, and are in the same location as the primary track.', 'mp3-jplayer' ); ?></p>
|
382 |
+
<p class="description"><?php _e( 'You can always manually add a counterpart to any primary track format by using the <code>counterpart</code> parameter in a shortcode and specifying a url.', 'mp3-jplayer' ); ?></p>
|
383 |
+
<p class="description"><?php _e( 'Automatic Counterparts are chosen with the following format priority: OGG, WEBM, WAV.', 'mp3-jplayer' ); ?></p>
|
384 |
+
</div>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
385 |
<br>
|
|
|
386 |
</div>
|
387 |
|
388 |
|
389 |
<div class="infoBox">
|
390 |
<?php
|
391 |
if ( $O['disable_jquery_libs'] == "yes" ) {
|
392 |
+
echo '<p style="font-weight:600; color:#d33;margin-bottom:10px;">' . __( 'NOTE: jQuery and UI scripts are turned off.', 'mp3-jplayer' ) . '</p>';
|
393 |
}
|
394 |
?>
|
|
|
395 |
<div class="gettingstarted">
|
396 |
+
<h4><?php _e( 'Get Started:', 'mp3-jplayer' ); ?></h4>
|
397 |
+
<p class="infoLinks"><a href="media-new.php"><?php _e( 'Upload some audio', 'mp3-jplayer' ); ?></a></p>
|
398 |
+
<p class="infoLinks"><a href="http://mp3-jplayer.com/adding-players/"><?php _e( 'How to add players', 'mp3-jplayer' ); ?></a></p>
|
399 |
+
<p class="infoLinks"><a href="http://mp3-jplayer.com/audio-format-advice/"><?php _e( 'Audio Format Help', 'mp3-jplayer' ); ?></a></p>
|
400 |
</div>
|
401 |
<br>
|
402 |
<div class="moreinfo">
|
403 |
+
<h4><?php _e( 'More Info:', 'mp3-jplayer' ); ?></h4>
|
404 |
+
<p class="infoLinks"><a href="http://mp3-jplayer.com/help-docs/"><?php _e( 'Help & Docs main page', 'mp3-jplayer' ); ?></a></p>
|
405 |
+
<p class="infoLinks"><a href="http://mp3-jplayer.com/shortcode-reference/"><?php _e( 'Shortcode Reference', 'mp3-jplayer' ); ?></a></p>
|
406 |
</div>
|
|
|
407 |
<hr>
|
408 |
+
<p class="infoLinks"><a href="http://mp3-jplayer.com"><?php _e( 'Plugin home page', 'mp3-jplayer' ); ?></a></p>
|
409 |
+
<p style="margin-bottom:0;" class="r"><span class="description" style="font-size:11px;"><?php _e( 'Version', 'mp3-jplayer' ); ?> <?php echo $MP3JP->version_of_plugin; ?></span></p>
|
|
|
|
|
410 |
</div>
|
|
|
|
|
|
|
411 |
<br class="clearB">
|
|
|
|
|
|
|
412 |
|
413 |
</div><!-- CLOSE START TAB -->
|
414 |
|
415 |
|
416 |
|
|
|
|
|
417 |
<!-- TAB 5.......................... -->
|
418 |
<div class="mp3j-tab" id="mp3j_tab_5">
|
419 |
+
<?php
|
420 |
+
$version = substr( get_bloginfo('version'), 0, 3);
|
421 |
+
if ( $version >= 3.6 ) {
|
422 |
+
?>
|
423 |
|
424 |
+
<h3 style="margin-top:15px; margin-bottom:10px; font-weight:500;"><?php _e( 'Library', 'mp3-jplayer' ); ?></h3>
|
425 |
+
<p class="description" style="font-size:14px; margin-bottom:10px;"><?php _e( 'Choose which title information to show in the players and playlists when playing from your WordPress Media Library.', 'mp3-jplayer' ); ?></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
426 |
|
427 |
<table>
|
428 |
<tr>
|
429 |
<td colspan="2"></td>
|
430 |
</tr>
|
431 |
<tr>
|
432 |
+
<td style="width:135px; height:40px; font-size:14px;"><strong><?php _e( 'Main Titles', 'mp3-jplayer' ); ?></strong></td>
|
433 |
<td style="height:40px;"><select name="playerTitle1" id="playerTitle1" style="width:160px;">
|
434 |
+
<option value="titles"<?php if ( 'titles' == $O['playerTitle1'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Track Title', 'mp3-jplayer' ); ?></option>
|
435 |
+
<option value="artist"<?php if ( 'artist' == $O['playerTitle1'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Artist', 'mp3-jplayer' ); ?></option>
|
436 |
+
<option value="album"<?php if ( 'album' == $O['playerTitle1'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Album', 'mp3-jplayer' ); ?></option>
|
437 |
+
<option value="excerpts"<?php if ( 'excerpts' == $O['playerTitle1'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Caption', 'mp3-jplayer' ); ?></option>
|
438 |
+
<option value="postDates"<?php if ( 'postDates' == $O['playerTitle1'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Upload Date', 'mp3-jplayer' ); ?></option>
|
439 |
</select></td>
|
440 |
</tr>
|
441 |
<tr>
|
442 |
+
<td style="width:135px; height:40px; font-size:14px;"><strong><?php _e( 'Secondary Titles', 'mp3-jplayer' ); ?></strong></td>
|
443 |
<td><select name="playerTitle2" id="playerTitle2" style="width:160px;">
|
444 |
+
<option value=""<?php if ( '' == $O['playerTitle2'] ) { echo ' selected="selected"'; } ?>><?php _e( '- None -', 'mp3-jplayer' ); ?></option>
|
445 |
+
<option value="titles"<?php if ( 'titles' == $O['playerTitle2'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Title', 'mp3-jplayer' ); ?></option>
|
446 |
+
<option value="artist"<?php if ( 'artist' == $O['playerTitle2'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Artist', 'mp3-jplayer' ); ?></option>
|
447 |
+
<option value="album"<?php if ( 'album' == $O['playerTitle2'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Album', 'mp3-jplayer' ); ?></option>
|
448 |
+
<option value="excerpts"<?php if ( 'excerpts' == $O['playerTitle2'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Caption', 'mp3-jplayer' ); ?></option>
|
449 |
+
<option value="postDates"<?php if ( 'postDates' == $O['playerTitle2'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Upload Date', 'mp3-jplayer' ); ?></option>
|
450 |
</select></td>
|
451 |
</tr>
|
|
|
452 |
</table>
|
453 |
+
<?php
|
454 |
+
}
|
455 |
+
?>
|
|
|
456 |
|
457 |
<table style="margin-top:3px;">
|
458 |
<tr>
|
459 |
<td style="width:137px; height:40px;"></td>
|
460 |
<td style="height:40px;">
|
461 |
+
<span class="button-secondary unselectable" style="display:inline-block; font-size:13px; font-weight:600; margin-top:-4px;" id="showLibFilesButton"><?php _e( 'View Files', 'mp3-jplayer' ); ?></span>
|
462 |
+
<a href="media-new.php" style="font-weight:600; font-size:14px;"><?php _e( 'Upload Audio', 'mp3-jplayer' ); ?> »</a>
|
463 |
</td>
|
464 |
</tr>
|
465 |
</table>
|
474 |
<span class="button-secondary unselectable tNavNext unPad" id="tNavControl_last">>></span>
|
475 |
<input type="text" value="" id="tNavControl_rows" class="vTop" />
|
476 |
</div>
|
477 |
+
<div class="fL tpos ctext"><?php _e( 'rows per page', 'mp3-jplayer' ); ?></div>
|
478 |
<div class="fL">
|
479 |
+
<span id="tNavControl_refresh" class="button-secondary unselectable" style="background:#fff; font-size:11px;"><?php _e( 'Refresh', 'mp3-jplayer' ); ?></span>
|
480 |
<span class="mjp-spinner" id="tSpinner"></span>
|
481 |
</div>
|
482 |
<div class="tNavMessage ctext"></div>
|
485 |
<div id="libraryFilesTable"></div>
|
486 |
</div>
|
487 |
<br>
|
488 |
+
<hr>
|
|
|
|
|
|
|
|
|
489 |
|
490 |
<?php
|
|
|
491 |
//Default Folder
|
492 |
$n = 1;
|
493 |
$folderInfo = $MP3JP->grabFolderURLs( $O['mp3_dir'] ); //grab all
|
494 |
$folderText = '';
|
|
|
495 |
$folderHtml = '';
|
496 |
|
497 |
if ( is_array($folderInfo) )
|
507 |
$folderText .= "<span class=\"tabD\">This folder contains <strong>" . $c . "</strong> audio file" . ( $c != 1 ? 's' : '' ) . "</span>";
|
508 |
|
509 |
if ( $c > 0 ) {
|
|
|
510 |
|
511 |
$folderHtml .= '<div id="folder-list" style="display:none;">';
|
512 |
$folderHtml .= '<table class="fileList">';
|
536 |
}
|
537 |
}
|
538 |
elseif ( $folderInfo == true ) {
|
539 |
+
$folderText .= "<p class=\"tabD\">" . __( 'Unable to read or locate the folder'. 'mp3-jplayer' ) . " <code>" . $O['mp3_dir'] . "</code> " . __( 'check the path and folder permissions.', 'mp3-jplayer' ) . "</p>";
|
540 |
}
|
541 |
else {
|
542 |
+
$folderText .= "<p class=\"tabD\">" . __( 'No info is available on remote folders but you can play from here if you know the filenames', 'mp3-jplayer' ) . "</p>";
|
543 |
}
|
544 |
?>
|
545 |
|
546 |
<br>
|
547 |
+
<h3 style="margin-top:10px; margin-bottom:10px; font-weight:500;"><?php _e( 'Default Folder', 'mp3-jplayer' ); ?></h3>
|
548 |
+
<p class="description" style="font-size:14px; margin-bottom:10px;"><?php _e( 'Set a folder path or url below.', 'mp3-jplayer' ); ?> <a href="javascript:" class="slimButton" onclick="jQuery('#folderHelp').toggle(300);" style="font-size:13px; font-weight:600;"><?php _e( 'Help', 'mp3-jplayer' ); ?></a></p>
|
549 |
|
550 |
<div id="folderHelp" class="helpBox" style="display:none; max-width:550px;">
|
551 |
+
<p class="description"><?php _e( 'If you like, you can specify a location (local or remote) to play some of your audio from. For example:', 'mp3-jplayer' ); ?></p>
|
552 |
<p class="description"><code>/my/music</code> or <code>http://anothersite.com/music</code>.</p>
|
553 |
+
<p class="description"><?php _e( 'This means you only need to write the filenames in playlists to play from this location (you don\'t need to use the full url).', 'mp3-jplayer' ); ?></p>
|
554 |
+
<p class="description"><?php _e( 'If the path is local (on your domain) then you can also bulk-play this folder.', 'mp3-jplayer' ); ?></p>
|
555 |
</div>
|
556 |
|
557 |
|
558 |
<table>
|
559 |
<tr>
|
560 |
+
<td style="font-size:14px; width:135px;"><strong><?php _e( 'Folder Path', 'mp3-jplayer' ); ?></strong> </td>
|
561 |
<td style="width:260px;"><input type="text" style="width:250px;" name="mp3foxfolder" value="<?php echo $O['mp3_dir']; ?>" /></td>
|
562 |
+
<td style="font-weight:600;"><a class="button-secondary unselectable" href="javascript:" onclick="jQuery('#folder-list').toggle();"><?php _e( 'View files', 'mp3-jplayer' ); ?></a> </td>
|
563 |
</tr>
|
564 |
<tr>
|
565 |
<td></td>
|
568 |
</table>
|
569 |
<br>
|
570 |
<?php echo $folderHtml; ?>
|
|
|
|
|
571 |
<hr>
|
572 |
<br>
|
|
|
|
|
573 |
|
574 |
|
575 |
+
<h3 style="margin-top:10px; font-weight:500;"><?php _e( 'Bulk-Play Settings', 'mp3-jplayer' ); ?></h3>
|
576 |
+
<p class="description" style="font-size:14px; margin:10px 0 0 0px;"><?php _e( 'Choose which audio formats are playlisted when bulk-playing from folders, the library, and via the FEED command in playlists.', 'mp3-jplayer' ); ?>
|
577 |
+
<a href="javascript:" class="slimButton" onclick="jQuery('#feedHelp').toggle(300);"><?php _e( 'Help', 'mp3-jplayer' ); ?></a></p>
|
|
|
|
|
|
|
578 |
|
579 |
<div id="feedHelp" class="helpBox" style="display:none; max-width:550px;">
|
580 |
+
<p class="description"><?php _e( 'Use a simple shortcode in your posts and pages to playlist entire folders that are on your domain. You can also play your entire library.', 'mp3-jplayer' ); ?></p>
|
581 |
|
582 |
+
<p class="description"><?php _e( 'Play all audio in your library', 'mp3-jplayer' ); ?></p>
|
583 |
<p class="description"><code>[playlist tracks="FEED:LIB"]</code></p>
|
584 |
|
585 |
+
<p class="description"><?php _e( 'Play all audio in your default folder', 'mp3-jplayer' ); ?></p>
|
586 |
<p class="description"><code>[playlist tracks="FEED:DF"]</code></p>
|
587 |
|
588 |
+
<p class="description"><?php _e( 'Play all audio from the folder', 'mp3-jplayer' ); ?> http://mysite.com/mytunes</p>
|
589 |
<p class="description"><code>[playlist tracks="FEED:/mytunes"]</code></p>
|
590 |
|
591 |
+
<p class="description"><?php _e( 'Control which of your file types get picked up using the tickboxes below.', 'mp3-jplayer' ); ?></p>
|
592 |
</div>
|
593 |
|
594 |
<p style="margin:15px 0 30px 0; font-size:14px;">
|
601 |
?>
|
602 |
</p>
|
603 |
|
604 |
+
|
605 |
+
|
606 |
+
<p class="description" style="font-size:14px; margin:0px 0 10px 0px;"><?php _e( 'Set the ordering for the playlists when bulk playing.', 'mp3-jplayer' ); ?></p>
|
607 |
|
608 |
<table style="margin-left:0px;">
|
609 |
<tr>
|
610 |
+
<td style="font-size:14px; width:135px;"><strong><?php _e( 'Library:', 'mp3-jplayer' ); ?></strong></td>
|
611 |
+
<td style="font-size:14px;"><?php _e( 'Order by', 'mp3-jplayer' ); ?> </td>
|
612 |
<td>
|
613 |
<select name="librarySortcol" style="width:160px;">
|
614 |
+
<option value="title" <?php if ( 'title' == $O['library_sortcol'] ) { echo 'selected="selected"'; } ?>><?php _e( 'Title', 'mp3-jplayer' ); ?></option>
|
615 |
+
<option value="caption" <?php if ( 'caption' == $O['library_sortcol'] ) { echo 'selected="selected"'; } ?>><?php _e( 'Sub-title, Title', 'mp3-jplayer' ); ?></option>
|
616 |
+
<option value="file" <?php if ( 'file' == $O['library_sortcol'] ) { echo 'selected="selected"'; } ?>><?php _e( 'Filename', 'mp3-jplayer' ); ?></option>
|
617 |
+
<option value="date" <?php if ( 'date' == $O['library_sortcol'] ) { echo 'selected="selected"'; } ?>><?php _e( 'Date Uploaded', 'mp3-jplayer' ); ?></option>
|
618 |
</select>
|
619 |
</td>
|
620 |
+
<td style="font-size:14px;"> <?php _e( 'Direction', 'mp3-jplayer' ); ?> </td>
|
621 |
<td>
|
622 |
<select name="libraryDirection" style="width:100px;">
|
623 |
+
<option value="ASC" <?php if ( 'ASC' == $O['library_direction'] ) { echo 'selected="selected"'; } ?>><?php _e( 'Asc', 'mp3-jplayer' ); ?></option>
|
624 |
+
<option value="DESC" <?php if ( 'DESC' == $O['library_direction'] ) { echo 'selected="selected"'; } ?>><?php _e( 'Desc', 'mp3-jplayer' ); ?></option>
|
625 |
</select>
|
626 |
</td>
|
627 |
</tr>
|
628 |
<tr>
|
629 |
+
<td style="font-size:14px; width:135px;"><strong><?php _e( 'Folders:', 'mp3-jplayer' ); ?></strong></td>
|
630 |
+
<td style="font-size:14px;"><?php _e( 'Order by', 'mp3-jplayer' ); ?> </td>
|
631 |
<td>
|
632 |
<select name="folderFeedSortcol" style="width:160px;">
|
633 |
+
<option value="file" <?php if ( 'file' == $O['folderFeedSortcol'] ) { echo 'selected="selected"'; } ?>><?php _e( 'Filename', 'mp3-jplayer' ); ?></option>
|
634 |
+
<option value="date" <?php if ( 'date' == $O['folderFeedSortcol'] ) { echo 'selected="selected"'; } ?>><?php _e( 'Date Uploaded', 'mp3-jplayer' ); ?></option>
|
635 |
</select>
|
636 |
</td>
|
637 |
+
<td style="font-size:14px;"> <?php _e( 'Direction', 'mp3-jplayer' ); ?> </td>
|
638 |
<td>
|
639 |
<select name="folderFeedDirection" style="width:100px;">
|
640 |
+
<option value="ASC" <?php if ( 'ASC' == $O['folderFeedDirection'] ) { echo 'selected="selected"'; } ?>><?php _e( 'Asc', 'mp3-jplayer' ); ?></option>
|
641 |
+
<option value="DESC" <?php if ( 'DESC' == $O['folderFeedDirection'] ) { echo 'selected="selected"'; } ?>><?php _e( 'Desc', 'mp3-jplayer' ); ?></option>
|
642 |
</select>
|
643 |
</td>
|
644 |
</tr>
|
646 |
|
647 |
<br />
|
648 |
<p style="margin:10px 0 0 0;"><span class="description" id="feedCounterpartInfo"></span></p>
|
649 |
+
</div><!-- CLOSE MEDIA TAB -->
|
650 |
|
651 |
|
652 |
|
|
|
|
|
653 |
|
654 |
<!-- DOWNLOADS TAB .......................... -->
|
655 |
<div class="mp3j-tab" id="mp3j_tab_3">
|
656 |
<br>
|
657 |
+
<p class="description" style="font-size:14px; margin-bottom:10px;"><?php _e( 'Download buttons are shown on playlist players, use these options to set their behavior.', 'mp3-jplayer' ); ?></p>
|
658 |
|
659 |
<table class="dSettingsTable">
|
660 |
<tr>
|
661 |
+
<td><strong class="mainTick"><?php _e( 'Show Download Button', 'mp3-jplayer' ); ?></strong></td>
|
662 |
<td><select name="mp3foxDownloadMp3" style="width:150px;">
|
663 |
+
<option value="true" <?php if ( 'true' == $O['show_downloadmp3'] ) { echo 'selected="selected"'; } ?>><?php _e( 'Yes', 'mp3-jplayer' ); ?></option>
|
664 |
+
<option value="false" <?php if ( 'false' == $O['show_downloadmp3'] ) { echo 'selected="selected"'; } ?>><?php _e( 'No', 'mp3-jplayer' ); ?></option>
|
665 |
+
<option value="loggedin" <?php if ( 'loggedin' == $O['show_downloadmp3'] ) { echo 'selected="selected"'; } ?>><?php _e( 'To logged in users', 'mp3-jplayer' ); ?></option>
|
666 |
</select></td>
|
667 |
</tr>
|
668 |
<tr>
|
669 |
+
<td><strong class="mainTick"><?php _e( 'Button Text', 'mp3-jplayer' ); ?></strong></td>
|
670 |
<td><input type="text" style="width:150px;" name="dload_text" value="<?php echo $O['dload_text']; ?>" /></td>
|
671 |
</tr>
|
672 |
|
675 |
</tr>
|
676 |
|
677 |
<tr>
|
678 |
+
<td colspan="2" class="mainTick" style="margin-left:0px;"><p class="description" style="margin:0px 0 5px 0px; font-size:14px;"><?php _e( 'When setting players for logged-in downloads, optionally set the text/link for any logged out visitors.', 'mp3-jplayer' ); ?></p></td>
|
679 |
</tr>
|
680 |
|
681 |
<tr>
|
682 |
+
<td><strong class="mainTick"><?php _e( 'Visitor Text', 'mp3-jplayer' ); ?></strong>:</td>
|
683 |
<td>
|
684 |
<input type="text" style="width:150px;" name="loggedout_dload_text" value="<?php echo $O['loggedout_dload_text']; ?>" />
|
685 |
</td>
|
686 |
</tr>
|
687 |
<tr>
|
688 |
+
<td><strong class="mainTick"><?php _e( 'Visitor Link', 'mp3-jplayer' ); ?></strong>:</td>
|
689 |
<td>
|
690 |
<input type="text" style="width:300px;" name="loggedout_dload_link" value="<?php echo $O['loggedout_dload_link']; ?>" />
|
691 |
+
<span class="description"><?php _e( 'Optional URL for the visitor text', 'mp3-jplayer' ); ?></span>
|
692 |
</td>
|
693 |
</tr>
|
694 |
|
|
|
695 |
<tr>
|
696 |
<td colspan="2"><br><hr></td>
|
697 |
</tr>
|
698 |
|
|
|
|
|
699 |
<tr>
|
700 |
+
<td style="padding-top:5px;"><label for="force_browser_dload" class="mainTick"><?php _e( 'Use Smooth Downloading', 'mp3-jplayer' ); ?></label></td>
|
701 |
+
<td style="padding-top:5px;"><input type="checkbox" name="force_browser_dload" id="force_browser_dload" value="true" <?php if ($O['force_browser_dload'] == "true") { echo 'checked="checked"'; }?> /></td>
|
702 |
</tr>
|
703 |
<tr>
|
704 |
+
<td colspan="2"><p class="description" style="margin:0px 0 0px 0px; font-size:14px;"><?php _e( 'This option makes downloading seamless for most users, or it will display a dialog box with a link when a seamless download is not possible.', 'mp3-jplayer' ); ?></p></td>
|
705 |
</tr>
|
706 |
<tr>
|
707 |
<td colspan="2"><br><hr></td>
|
709 |
</table>
|
710 |
|
711 |
|
|
|
|
|
|
|
|
|
|
|
712 |
<table>
|
713 |
<tr>
|
714 |
+
<td><strong class="mainTick"><?php _e( 'Path to remote downloader file', 'mp3-jplayer' ); ?></strong> </td>
|
715 |
<td>
|
716 |
<input type="text" style="width:300px;" name="dloader_remote_path" value="<?php echo $O['dloader_remote_path']; ?>" />
|
717 |
</td>
|
718 |
</tr>
|
719 |
</table>
|
720 |
+
<p class="description" style="margin:0px 0 10px 4px; font-size:14px;"><?php _e( 'If you play from other domains and want smooth downloads, then use the field above to specify a path to the downloader file.', 'mp3-jplayer' ); ?> <strong><a href="<?php echo $MP3JP->PluginFolder; ?>/remote/help.txt">See help on setting this up</a></strong></p>
|
|
|
|
|
721 |
<br>
|
722 |
|
723 |
</div>
|
724 |
+
|
|
|
|
|
725 |
|
726 |
|
727 |
<!-- POPOUT TAB .......................... -->
|
728 |
<div class="mp3j-tab" id="mp3j_tab_4">
|
729 |
<br>
|
730 |
+
<p class="description" style="font-size:14px; margin-bottom:10px;"><?php _e( 'Set the default text displayed on popout buttons.', 'mp3-jplayer' ); ?></p>
|
731 |
<table class="popoutSettingsTable">
|
732 |
<tr>
|
733 |
+
<td><strong class="mainTick"><?php _e( 'Launch Button Text', 'mp3-jplayer' ); ?></strong>:</td>
|
734 |
<td><input type="text" style="width:150px;" name="mp3foxPopoutButtonText" value="<?php echo $O['popout_button_title']; ?>" /></td>
|
735 |
</tr>
|
|
|
736 |
<tr>
|
737 |
<td colspan="2"><br><hr></td>
|
738 |
</tr>
|
739 |
<tr>
|
740 |
+
<td colspan="2" style="padding-left:0;"><p class="description" style="font-size:14px; margin-bottom:10px;"><?php _e( 'Popout window settings.', 'mp3-jplayer' ); ?></p></td>
|
741 |
</tr>
|
742 |
<tr>
|
743 |
+
<td><strong class="mainTick"><?php _e( 'Window Width', 'mp3-jplayer' ); ?></strong>:</td>
|
744 |
<td><input type="text" size="4" style="text-align:center;" name="mp3foxPopoutWidth" value="<?php echo $O['popout_width']; ?>" /> px <span class="description"> (250 - 1600)</span></td>
|
745 |
</tr>
|
746 |
<tr>
|
747 |
+
<td><strong class="mainTick"><?php _e( 'Window Height', 'mp3-jplayer' ); ?></strong>: </td>
|
748 |
+
<td><input type="text" size="4" style="text-align:center;" name="mp3foxPopoutMaxHeight" value="<?php echo $O['popout_max_height']; ?>" /> px <span class="description"> (200 - 1200) <?php _e( 'a scroll bar will show for longer playlists', 'mp3-jplayer' ); ?></span></td>
|
749 |
</tr>
|
750 |
<tr>
|
751 |
+
<td><strong class="mainTick"><?php _e( 'Background Colour', 'mp3-jplayer' ); ?></strong>:</td>
|
752 |
<td><input type="text"name="mp3foxPopoutBackground" style="width:100px;" value="<?php echo $O['popout_background']; ?>" /></td>
|
753 |
</tr>
|
754 |
<tr>
|
755 |
+
<td><strong class="mainTick"><?php _e( 'Background Image', 'mp3-jplayer' ); ?></strong>:</td>
|
756 |
<td><input type="text" style="width:100%;" name="mp3foxPopoutBGimage" value="<?php echo $O['popout_background_image']; ?>" /></td>
|
757 |
</tr>
|
758 |
</table>
|
760 |
|
761 |
|
762 |
|
|
|
|
|
|
|
763 |
<!-- TAB 2.......................... -->
|
764 |
<div class="mp3j-tab" id="mp3j_tab_2">
|
765 |
|
766 |
<br>
|
767 |
+
<p class="description" style="font-size:14px; margin-bottom:20px;"><?php _e( 'Choose which aspects of your content you\'d like MP3-jPlayer to handle.', 'mp3-jplayer' ); ?></p>
|
768 |
<table class="advancedSettingsTable">
|
769 |
<tr>
|
770 |
+
<td class="mainTick"><input type="checkbox" name="replace_WP_audio" id="replace_WP_audio" value="true" <?php if ($O['replace_WP_audio'] == "true") { echo 'checked="checked"'; } ?> />
|
771 |
+
<label for="replace_WP_audio"><?php _e( 'Audio Players', 'mp3-jplayer' ); ?></label></td>
|
772 |
+
<td><span class="description"><?php _e( 'Use the \'Add Media\' Button on post/page edit screens and choose \'Embed Player\' from the right select (WP 3.6+).', 'mp3-jplayer' ); ?></span></td>
|
773 |
</tr>
|
774 |
<tr>
|
775 |
+
<td class="mainTick"><input type="checkbox" name="replace_WP_playlist" id="replace_WP_playlist" value="true" <?php if ($O['replace_WP_playlist'] == "true") { echo 'checked="checked"'; } ?> />
|
776 |
+
<label for="replace_WP_playlist"><?php _e( 'Playlist Players', 'mp3-jplayer' ); ?></label></td>
|
777 |
+
<td><span class="description"><?php _e( 'Use the \'Add Media\' Button on post/page edit screens and choose \'Audio Playlist\' from the left menu (WP 3.9+).', 'mp3-jplayer' ); ?></span></td>
|
778 |
</tr>
|
779 |
<tr>
|
780 |
+
<td class="mainTick"><input type="checkbox" name="make_player_from_link" id="make_player_from_link" value="true" <?php if ($O['make_player_from_link'] == "true") { echo 'checked="checked"'; } ?> />
|
781 |
+
<label for="make_player_from_link"><?php _e( 'Links to Audio Files', 'mp3-jplayer' ); ?></label></td>
|
782 |
+
<td><span class="description"><?php _e( 'Links within post/page content will be turned into players using the shortcode specified under the \'Advanced\' tab.', 'mp3-jplayer' ); ?></span></td>
|
783 |
</tr>
|
784 |
<tr>
|
785 |
+
<td class="mainTick"><input type="checkbox" name="replace_WP_attached" id="replace_WP_attached" value="true" <?php if ($O['replace_WP_attached'] == "true") { echo 'checked="checked"'; } ?> />
|
786 |
+
<label for="replace_WP_attached"><?php _e( 'Attached Audio', 'mp3-jplayer' ); ?></label></td>
|
787 |
+
<td><span class="description"><?php _e( 'Use the shortcode <code>[audio]</code> in posts and pages to playlist any attached audio.', 'mp3-jplayer' ); ?></span></td>
|
788 |
</tr>
|
789 |
<tr>
|
790 |
+
<td class="mainTick"><input type="checkbox" name="replace_WP_embedded" id="replace_WP_embedded" value="true" <?php if ($O['replace_WP_embedded'] == "true") { echo 'checked="checked"'; } ?> />
|
791 |
+
<label for="replace_WP_embedded"><?php _e( 'URLs', 'mp3-jplayer' ); ?></label></td>
|
792 |
+
<td><span class="description"><?php _e( 'Paste urls directly into posts and pages (WP 3.6+).', 'mp3-jplayer' ); ?></span></td>
|
793 |
</tr>
|
794 |
</table>
|
795 |
<br>
|
796 |
+
<p class="description" style="font-size:14px;"><?php _e( 'You can always use MP3-jPlayer\'s own shortcodes and widgets regardless of the above settings.', 'mp3-jplayer' ); ?></p>
|
|
|
|
|
|
|
|
|
|
|
797 |
<br><hr><br>
|
798 |
|
799 |
|
800 |
+
<p class="description" style="font-size:14px; margin-bottom:10px;"><?php _e( 'On pages like Index, Archive and Search pages, choose whether players should be seen within the results. These settings won\'t affect player widgets.', 'mp3-jplayer' ); ?></p>
|
801 |
+
<p style="font-size:14px; margin-bottom:8px;"><input type="checkbox" name="mp3foxOnBlog" id="mp3foxOnBlog" value="true" <?php if ($O['player_onblog'] == "true") { echo 'checked="checked"'; }?> />
|
802 |
+
<label for="mp3foxOnBlog"> <?php _e( 'Show players when the full content is used.', 'mp3-jplayer' ); ?></p>
|
803 |
+
<p style="font-size:14px; margin-bottom:8px;"><input type="checkbox" name="runShcodeInExcerpt" id="runShcodeInExcerpt" value="true" <?php if ($O['run_shcode_in_excerpt'] == "true") { echo 'checked="checked"'; } ?> />
|
804 |
+
<label for="runShcodeInExcerpt"> <?php _e( 'Show players when excerpts (short summaries) are used.', 'mp3-jplayer' ); ?></label></p>
|
805 |
|
806 |
+
<p class="description" style="margin:0 0 10px 30px; font-size:14px;"><?php _e( 'NOTE: You will need to manually write your post excerpts for this to work. Write your shortcodes into the excerpt field on post edit screens.', 'mp3-jplayer' ); ?></p>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
807 |
<br><hr><br>
|
808 |
|
809 |
|
810 |
+
<h3 style="margin:0 0 20px 0; font-weight:500;"><?php _e( 'Conversion Options', 'mp3-jplayer' ); ?></h3>
|
|
|
811 |
<table>
|
812 |
<tr>
|
813 |
+
<td class="padB" style="font-size:14px;"><?php _e( '<strong>Turn</strong> <code>[audio]</code> <strong>shortcodes into</strong>:', 'mp3-jplayer' ); ?></td>
|
814 |
<td class="padB">
|
815 |
<select name="replacerShortcode_single" style="width:200px; font-weight:500;">
|
816 |
+
<option value="mp3j"<?php if ( 'mp3j' == $O['replacerShortcode_single'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Single Players - Graphic', 'mp3-jplayer' ); ?></option>
|
817 |
+
<option value="mp3t"<?php if ( 'mp3t' == $O['replacerShortcode_single'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Single Players - Text', 'mp3-jplayer' ); ?></option>
|
818 |
+
<option value="player"<?php if ( 'player' == $O['replacerShortcode_single'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Playlist Players', 'mp3-jplayer' ); ?></option>
|
819 |
+
<option value="popout"<?php if ( 'popout' == $O['replacerShortcode_single'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Popout Links', 'mp3-jplayer' ); ?></option>
|
820 |
</select>
|
821 |
</td>
|
822 |
</tr>
|
823 |
<tr>
|
824 |
+
<td class="padB" style="font-size:14px;"><?php _e( '<strong>Turn</strong> <code>[playlist]</code> <strong>shortcodes into</strong>:', 'mp3-jplayer' ); ?></td>
|
825 |
<td class="padB">
|
826 |
<select name="replacerShortcode_playlist" id="replacerShortcode_playlist" style="width:200px; font-weight:500;">
|
827 |
+
<option value="player"<?php if ( 'player' == $O['replacerShortcode_playlist'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Playlist Players', 'mp3-jplayer' ); ?></option>
|
828 |
+
<option value="popout"<?php if ( 'popout' == $O['replacerShortcode_playlist'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Popout Links', 'mp3-jplayer' ); ?></option>
|
829 |
</select>
|
830 |
</td>
|
831 |
</tr>
|
832 |
<tr>
|
833 |
+
<td class="vTop padB" style="font-size:14px;"><strong><?php _e( 'Turn converted links into', 'mp3-jplayer' ); ?></strong>:</td>
|
834 |
<td class="padB">
|
835 |
<textarea class="widefat" style="width:400px; height:100px;" name="make_player_from_link_shcode"><?php
|
836 |
$deslashed = str_replace('\"', '"', $O['make_player_from_link_shcode'] );
|
837 |
echo $deslashed;
|
838 |
?></textarea><br />
|
839 |
+
<p class="description" style="margin:5px 0 10px 0; font-size:14px;"><?php _e( 'Placeholders: <code>{TEXT}</code> - Link text, <code>{URL}</code> - Link url.', 'mp3-jplayer' ); ?>
|
840 |
+
<br /><?php _e( 'This field can also include arbitrary text/html.', 'mp3-jplayer' ); ?></p>
|
841 |
</td>
|
842 |
</tr>
|
843 |
</table>
|
844 |
<hr><br>
|
845 |
|
846 |
|
847 |
+
<h3 style="margin:0 0 20px 0; font-weight:500;"><?php _e( 'Misc File Settings', 'mp3-jplayer' ); ?></h3>
|
848 |
+
|
849 |
+
<p class="mainTick"><input type="checkbox" name="allowRangeRequests" id="allowRangeRequests" value="true"<?php echo ( $O['allowRangeRequests'] === "true" ? ' checked="checked"' : ''); ?>/><label for="allowRangeRequests"> <?php _e( 'Allow position seeking beyond buffered', 'mp3-jplayer' ); ?></label></p>
|
850 |
+
|
851 |
+
<p class="description" style="margin:0 0 10px 30px; max-width:550px; font-size:14px;"><?php _e( 'Lets users seek to end of tracks without waiting for media to load. Most servers should allow this by default, if you are having issues then check that your server has the <code>accept-ranges: bytes</code> header set, or you can just switch this option off.', 'mp3-jplayer' ); ?></p>
|
852 |
+
|
853 |
+
<p class="mainTick" style="margin:0 0 10px 0px;"><input type="checkbox" id="mp3foxHideExtension" name="mp3foxHideExtension" value="true" <?php if ($O['hide_mp3extension'] == "true") { echo 'checked="checked"'; }?> /> <label for="mp3foxHideExtension"><?php _e( 'Hide file extensions if a filename is displayed', 'mp3-jplayer' ); ?></label>
|
854 |
+
<br /><span class="description" style="margin-left:30px; font-size:14px;"><?php _e( 'Filenames are displayed when there\'s no available titles.', 'mp3-jplayer' ); ?></span></p>
|
855 |
+
|
856 |
+
<p class="mainTick" style="margin:0 0 10px 0px;"><input type="checkbox" id="mp3foxEncodeFiles" name="mp3foxEncodeFiles" value="true" <?php if ($O['encode_files'] == "true") { echo 'checked="checked"'; }?> /> <label for="mp3foxEncodeFiles"><?php _e( 'Encode URLs', 'mp3-jplayer' ); ?></label>
|
857 |
+
<br /><span class="description" style="margin-left:30px;font-size:14px;"><?php _e( 'Provides some obfuscation of your urls in the page source.', 'mp3-jplayer' ); ?></span></p>
|
858 |
+
|
859 |
+
<p class="mainTick" style="margin:0 0 10px 0px;"><input type="checkbox" id="mp3foxAllowRemote" name="mp3foxAllowRemote" value="true" <?php if ($O['allow_remoteMp3'] == "true") { echo 'checked="checked"'; }?> /> <label for="mp3foxAllowRemote"><?php _e( 'Allow playing of off-site files', 'mp3-jplayer' ); ?></label>
|
860 |
+
<br /><span class="description" style="margin-left:30px;font-size:14px;"><?php _e( 'Un-checking this option filters out any files coming from other domains, but doesn\'t affect ability to play from a remote default path if one has been set above.', 'mp3-jplayer' ); ?></span></p>
|
861 |
+
|
862 |
+
|
863 |
<br><hr><br>
|
864 |
|
865 |
|
866 |
|
867 |
+
<h3 style="margin:0 0 20px 0; font-weight:500;"><?php _e( 'Misc Player Settings', 'mp3-jplayer' ); ?></h3>
|
868 |
+
<p class="mainTick" style="margin-bottom:10px;"><strong><?php _e( 'Show player error messages', 'mp3-jplayer' ); ?></strong>:
|
869 |
|
870 |
<select name="showErrors">
|
871 |
+
<option value="false"<?php if ( 'false' == $O['showErrors'] ) { echo ' selected="selected"'; } ?>><?php _e( 'Never', 'mp3-jplayer' ); ?></option>
|
872 |
+
<option value="admin"<?php if ( 'admin' == $O['showErrors'] ) { echo ' selected="selected"'; } ?>><?php _e( 'To Admins only', 'mp3-jplayer' ); ?></option>
|
873 |
+
<option value="true"<?php if ( 'true' == $O['showErrors'] ) { echo ' selected="selected"'; } ?>><?php _e( 'To All', 'mp3-jplayer' ); ?></option>
|
874 |
</select></p>
|
875 |
<br><hr><br>
|
876 |
|
877 |
|
878 |
|
879 |
+
<h3 style="margin:0 0 20px 0; font-weight:500;"><?php _e( 'Playlist Separator Settings', 'mp3-jplayer' ); ?></h3>
|
880 |
<div style="margin: 10px 0px 10px 0px; padding:6px 18px 6px 18px; background:#f9f9f9; border:1px solid #ccc;">
|
881 |
+
<p><span class="description" style="font-size:14px;"><?php _e( 'If you manually write playlists then you can choose the separators you use in the tracks and captions lists.', 'mp3-jplayer' ); ?>
|
882 |
+
<br /><?php _e( '<strong>CAUTION!!</strong> You\'ll need to manually update any existing playlists if you change the separators!', 'mp3-jplayer' ); ?></span></p>
|
883 |
|
884 |
+
<p class="mainTick" style="margin:10px 0 0 20px;"><strong><?php _e( 'Files:', 'mp3-jplayer' ); ?></strong>
|
885 |
<select name="file_separator" style="width:120px; font-size:11px; line-height:16px;">
|
886 |
+
<option value="," <?php if ( ',' == $O['f_separator'] ) { echo 'selected="selected"'; } ?>>, <?php _e( '(comma)', 'mp3-jplayer' ); ?></option>
|
887 |
+
<option value=";" <?php if ( ';' == $O['f_separator'] ) { echo 'selected="selected"'; } ?>>; <?php _e( '(semicolon)', 'mp3-jplayer' ); ?></option>
|
888 |
+
<option value="###" <?php if ( '###' == $O['f_separator'] ) { echo 'selected="selected"'; } ?>>### <?php _e( '(3 hashes)', 'mp3-jplayer' ); ?></option>
|
889 |
</select>
|
890 |
+
<span class="description"><?php _e( 'eg.', 'mp3-jplayer' ); ?></span> <code>tracks="fileA.mp3 <?php echo $O['f_separator']; ?> Title@fileB.mp3 <?php echo $O['f_separator']; ?> fileC.mp3"</code></p>
|
891 |
|
892 |
+
<p class="mainTick" style="margin-left:20px;"><strong><?php _e( 'Captions:', 'mp3-jplayer' ); ?></strong>
|
893 |
<select name="caption_separator" style="width:120px; font-size:11px; line-height:16px;">
|
894 |
+
<option value="," <?php if ( ',' == $O['c_separator'] ) { echo 'selected="selected"'; } ?>>, <?php _e( '(comma)', 'mp3-jplayer' ); ?></option>
|
895 |
+
<option value=";" <?php if ( ';' == $O['c_separator'] ) { echo 'selected="selected"'; } ?>>; <?php _e( '(semicolon)', 'mp3-jplayer' ); ?></option>
|
896 |
+
<option value="###" <?php if ( '###' == $O['c_separator'] ) { echo 'selected="selected"'; } ?>>### <?php _e( '(3 hashes)', 'mp3-jplayer' ); ?></option>
|
897 |
</select>
|
898 |
+
<span class="description"><?php _e( 'eg.', 'mp3-jplayer' ); ?></span> <code>captions="Caption A <?php echo $O['c_separator']; ?> Caption B <?php echo $O['c_separator']; ?> Caption C"</code></p>
|
899 |
</div>
|
900 |
|
901 |
|
|
|
|
|
902 |
<br><hr><br>
|
903 |
|
904 |
+
<h3 style="margin:0 0 20px 0; font-weight:500;"><?php _e( 'Developer Settings', 'mp3-jplayer' ); ?></h3>
|
905 |
+
<p class="mainTick"><input type="checkbox" id="mp3foxEchoDebug" name="mp3foxEchoDebug" value="true" <?php if ($O['echo_debug'] == "true") { echo 'checked="checked"'; }?> />
|
906 |
+
<label for="mp3foxEchoDebug"><?php _e( 'Turn on debug', 'mp3-jplayer' ); ?></label>
|
907 |
+
<br /> <span class="description" style="font-size:14px;"><?php _e( 'Info appears in the source view near the bottom.', 'mp3-jplayer' ); ?></span></p>
|
|
|
|
|
|
|
908 |
|
909 |
|
910 |
<?php $bgc = ( $O['disable_jquery_libs'] == "yes" ) ? "#fdd" : "#f9f9f9"; ?>
|
911 |
<div style="margin: 20px 0px 10px 0px; padding:6px; background:<?php echo $bgc; ?>; border:1px solid #ccc;">
|
912 |
+
<p class="mainTick" style="margin:0 0 5px 18px; font-weight:700;"><?php _e( 'Disable jQuery and jQuery-UI javascript libraries?', 'mp3-jplayer' ); ?> <input type="text" style="width:60px;" name="disableJSlibs" value="<?php echo $O['disable_jquery_libs']; ?>" /></p>
|
913 |
+
<p style="margin: 0 0 8px 18px;"><span class="description" style="font-size:14px;"><?php _e( '<strong>CAUTION!!</strong> This option will bypass the request <strong>from this plugin only</strong> for both jQuery <strong>and</strong> jQuery-UI scripts, you <strong>MUST</strong> be providing these scripts from an alternative source.', 'mp3-jplayer' ); ?>
|
914 |
+
<br /><?php _e( 'Type <code>yes</code> in the box and save settings to bypass jQuery and jQuery-UI.', 'mp3-jplayer' ); ?></span></p>
|
|
|
915 |
</div>
|
916 |
|
|
|
|
|
917 |
</div><!-- CLOSE ADVANCED TAB -->
|
|
|
|
|
918 |
</div><!-- close tabs wrapper -->
|
919 |
|
920 |
|
|
|
921 |
<hr /><br />
|
922 |
<table>
|
923 |
<tr>
|
924 |
<td>
|
925 |
+
<input type="submit" name="update_mp3foxSettings" class="button-primary" style="font-weight:700;" value="<?php _e( 'Save All Changes', 'mp3-jplayer' ) ?>" />
|
926 |
</td>
|
927 |
<td>
|
928 |
+
<p style="margin-top:5px;"><label for="mp3foxRemember"><?php _e( 'Remember settings if plugin is deactivated', 'mp3-jplayer' ); ?> </label>
|
929 |
+
<input type="checkbox" id="mp3foxRemember" name="mp3foxRemember" value="true" <?php if ($O['remember_settings'] == "true") { echo 'checked="checked"'; }?> /></p>
|
930 |
</td>
|
931 |
<tr>
|
932 |
</table>
|
938 |
<hr>
|
939 |
<div style="margin: 15px 0px 0px 0px; min-height:30px;">
|
940 |
<p class="description" style="margin: 0px 120px px 0px; font-weight:700; color:#d0d0d0;">
|
941 |
+
<a class="button-secondary" target="_blank" href="http://mp3-jplayer.com/help-docs/"><?php _e( 'Help & Docs', 'mp3-jplayer' ); ?> »</a>
|
942 |
+
<a class="button-secondary" target="_blank" href="http://mp3-jplayer.com/add-ons"><?php _e( 'Get Add-Ons', 'mp3-jplayer' ); ?> »</a>
|
943 |
+
<a class="button-secondary" target="_blank" href="http://mp3-jplayer.com/skins"><?php _e( 'Get Skins', 'mp3-jplayer' ); ?> »</a>
|
944 |
</p>
|
945 |
</div>
|
946 |
|
frontend.php
CHANGED
@@ -3,6 +3,12 @@
|
|
3 |
class MP3j_Front extends MP3j_Main {
|
4 |
|
5 |
|
|
|
|
|
|
|
|
|
|
|
|
|
6 |
function onInit () {
|
7 |
$this->SKINS = $this->getSkinData();
|
8 |
|
3 |
class MP3j_Front extends MP3j_Main {
|
4 |
|
5 |
|
6 |
+
function loadTranslation () {
|
7 |
+
$path = dirname( __FILE__ ) . '/lang';
|
8 |
+
load_plugin_textdomain( 'mp3-jplayer', false, $path );
|
9 |
+
}
|
10 |
+
|
11 |
+
|
12 |
function onInit () {
|
13 |
$this->SKINS = $this->getSkinData();
|
14 |
|
lang/mp3-jplayer.pot
ADDED
@@ -0,0 +1,1361 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# Copyright (C) 2016 MP3-jPlayer
|
2 |
+
# This file is distributed under the same license as the MP3-jPlayer package.
|
3 |
+
msgid ""
|
4 |
+
msgstr ""
|
5 |
+
"Project-Id-Version: MP3-jPlayer 2.6\n"
|
6 |
+
"Report-Msgid-Bugs-To: https://wordpress.org/support/plugin/mp3-jplayer\n"
|
7 |
+
"POT-Creation-Date: 2016-03-02 16:52:28+00:00\n"
|
8 |
+
"MIME-Version: 1.0\n"
|
9 |
+
"Content-Type: text/plain; charset=UTF-8\n"
|
10 |
+
"Content-Transfer-Encoding: 8bit\n"
|
11 |
+
"PO-Revision-Date: 2016-MO-DA HO:MI+ZONE\n"
|
12 |
+
"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
|
13 |
+
"Language-Team: LANGUAGE <LL@li.org>\n"
|
14 |
+
|
15 |
+
#: admin-colours.php:43 admin-settings.php:182
|
16 |
+
msgid "Settings saved."
|
17 |
+
msgstr ""
|
18 |
+
|
19 |
+
#: admin-colours.php:104
|
20 |
+
msgid "Player Design"
|
21 |
+
msgstr ""
|
22 |
+
|
23 |
+
#: admin-colours.php:115
|
24 |
+
msgid "Skin"
|
25 |
+
msgstr ""
|
26 |
+
|
27 |
+
#: admin-colours.php:128 admin-colours.php:750
|
28 |
+
msgid "url:"
|
29 |
+
msgstr ""
|
30 |
+
|
31 |
+
#: admin-colours.php:130 admin-colours.php:751
|
32 |
+
msgid "Reload"
|
33 |
+
msgstr ""
|
34 |
+
|
35 |
+
#: admin-colours.php:231
|
36 |
+
msgid "Example List Item"
|
37 |
+
msgstr ""
|
38 |
+
|
39 |
+
#: admin-colours.php:232
|
40 |
+
msgid "Example List item (hover)"
|
41 |
+
msgstr ""
|
42 |
+
|
43 |
+
#: admin-colours.php:233
|
44 |
+
msgid "Example List Item (Current)"
|
45 |
+
msgstr ""
|
46 |
+
|
47 |
+
#: admin-colours.php:254
|
48 |
+
msgid "Text"
|
49 |
+
msgstr ""
|
50 |
+
|
51 |
+
#: admin-colours.php:255
|
52 |
+
msgid "Areas"
|
53 |
+
msgstr ""
|
54 |
+
|
55 |
+
#: admin-colours.php:256
|
56 |
+
msgid "Fonts"
|
57 |
+
msgstr ""
|
58 |
+
|
59 |
+
#: admin-colours.php:257
|
60 |
+
msgid "Alignments"
|
61 |
+
msgstr ""
|
62 |
+
|
63 |
+
#: admin-colours.php:258
|
64 |
+
msgctxt "as in modifications"
|
65 |
+
msgid "Mods"
|
66 |
+
msgstr ""
|
67 |
+
|
68 |
+
#: admin-colours.php:268 admin-colours.php:341 admin-colours.php:511
|
69 |
+
msgid "Titles:"
|
70 |
+
msgstr ""
|
71 |
+
|
72 |
+
#: admin-colours.php:276
|
73 |
+
msgid "Hide"
|
74 |
+
msgstr ""
|
75 |
+
|
76 |
+
#: admin-colours.php:282 admin-colours.php:493 admin-colours.php:547
|
77 |
+
msgid "Playlist:"
|
78 |
+
msgstr ""
|
79 |
+
|
80 |
+
#: admin-colours.php:295
|
81 |
+
msgid "Hover:"
|
82 |
+
msgstr ""
|
83 |
+
|
84 |
+
#: admin-colours.php:310 admin-colours.php:329
|
85 |
+
msgid "Background"
|
86 |
+
msgstr ""
|
87 |
+
|
88 |
+
#: admin-colours.php:314
|
89 |
+
msgid "Current:"
|
90 |
+
msgstr ""
|
91 |
+
|
92 |
+
#: admin-colours.php:337 admin-colours.php:477
|
93 |
+
msgid "Show Field Values"
|
94 |
+
msgstr ""
|
95 |
+
|
96 |
+
#: admin-colours.php:345
|
97 |
+
msgid "List:"
|
98 |
+
msgstr ""
|
99 |
+
|
100 |
+
#: admin-colours.php:349
|
101 |
+
msgid "List Hover:"
|
102 |
+
msgstr ""
|
103 |
+
|
104 |
+
#: admin-colours.php:353
|
105 |
+
msgid "List Hover BG:"
|
106 |
+
msgstr ""
|
107 |
+
|
108 |
+
#: admin-colours.php:357
|
109 |
+
msgid "List Current:"
|
110 |
+
msgstr ""
|
111 |
+
|
112 |
+
#: admin-colours.php:361
|
113 |
+
msgid "List Current BG:"
|
114 |
+
msgstr ""
|
115 |
+
|
116 |
+
#: admin-colours.php:365
|
117 |
+
msgid "Track"
|
118 |
+
msgstr ""
|
119 |
+
|
120 |
+
#: admin-colours.php:367 admin-colours.php:374 admin-colours.php:381
|
121 |
+
msgid "Bold"
|
122 |
+
msgstr ""
|
123 |
+
|
124 |
+
#: admin-colours.php:368 admin-colours.php:375 admin-colours.php:382
|
125 |
+
msgid "Italic"
|
126 |
+
msgstr ""
|
127 |
+
|
128 |
+
#: admin-colours.php:372 admin-settings.php:437 admin-settings.php:448
|
129 |
+
msgid "Caption"
|
130 |
+
msgstr ""
|
131 |
+
|
132 |
+
#: admin-colours.php:379 admin-colours.php:444 admin-colours.php:626
|
133 |
+
msgid "Playlist"
|
134 |
+
msgstr ""
|
135 |
+
|
136 |
+
#: admin-colours.php:400
|
137 |
+
msgid "Screen"
|
138 |
+
msgstr ""
|
139 |
+
|
140 |
+
#: admin-colours.php:412
|
141 |
+
msgid "Load Bar"
|
142 |
+
msgstr ""
|
143 |
+
|
144 |
+
#: admin-colours.php:420
|
145 |
+
msgid "Indicator"
|
146 |
+
msgstr ""
|
147 |
+
|
148 |
+
#: admin-colours.php:422
|
149 |
+
msgid "Greyscale"
|
150 |
+
msgstr ""
|
151 |
+
|
152 |
+
#: admin-colours.php:423
|
153 |
+
msgid "Colour"
|
154 |
+
msgstr ""
|
155 |
+
|
156 |
+
#: admin-colours.php:427
|
157 |
+
msgid "Position Bar"
|
158 |
+
msgstr ""
|
159 |
+
|
160 |
+
#: admin-colours.php:435 admin-colours.php:452
|
161 |
+
msgid "Gradient"
|
162 |
+
msgstr ""
|
163 |
+
|
164 |
+
#: admin-colours.php:437 admin-colours.php:454 admin-colours.php:466
|
165 |
+
msgid "None"
|
166 |
+
msgstr ""
|
167 |
+
|
168 |
+
#: admin-colours.php:438
|
169 |
+
msgid "Light grad"
|
170 |
+
msgstr ""
|
171 |
+
|
172 |
+
#: admin-colours.php:439
|
173 |
+
msgid "Pipe"
|
174 |
+
msgstr ""
|
175 |
+
|
176 |
+
#: admin-colours.php:440
|
177 |
+
msgid "Dark grad"
|
178 |
+
msgstr ""
|
179 |
+
|
180 |
+
#: admin-colours.php:455
|
181 |
+
msgid "Light Short"
|
182 |
+
msgstr ""
|
183 |
+
|
184 |
+
#: admin-colours.php:456
|
185 |
+
msgid "Light Long"
|
186 |
+
msgstr ""
|
187 |
+
|
188 |
+
#: admin-colours.php:457
|
189 |
+
msgid "Dark Short"
|
190 |
+
msgstr ""
|
191 |
+
|
192 |
+
#: admin-colours.php:458
|
193 |
+
msgid "Dark Long"
|
194 |
+
msgstr ""
|
195 |
+
|
196 |
+
#: admin-colours.php:464
|
197 |
+
msgid "Dividers"
|
198 |
+
msgstr ""
|
199 |
+
|
200 |
+
#: admin-colours.php:467
|
201 |
+
msgid "Light"
|
202 |
+
msgstr ""
|
203 |
+
|
204 |
+
#: admin-colours.php:468 admin-colours.php:615
|
205 |
+
msgid "Medium"
|
206 |
+
msgstr ""
|
207 |
+
|
208 |
+
#: admin-colours.php:469
|
209 |
+
msgid "Dark"
|
210 |
+
msgstr ""
|
211 |
+
|
212 |
+
#: admin-colours.php:481
|
213 |
+
msgid "Screen:"
|
214 |
+
msgstr ""
|
215 |
+
|
216 |
+
#: admin-colours.php:485
|
217 |
+
msgid "Load Bar:"
|
218 |
+
msgstr ""
|
219 |
+
|
220 |
+
#: admin-colours.php:489
|
221 |
+
msgid "Position Bar:"
|
222 |
+
msgstr ""
|
223 |
+
|
224 |
+
#: admin-colours.php:513 admin-colours.php:549
|
225 |
+
msgid "Theme's Font"
|
226 |
+
msgstr ""
|
227 |
+
|
228 |
+
#: admin-colours.php:514 admin-colours.php:550
|
229 |
+
msgid "Arial"
|
230 |
+
msgstr ""
|
231 |
+
|
232 |
+
#: admin-colours.php:515 admin-colours.php:551
|
233 |
+
msgid "Verdana"
|
234 |
+
msgstr ""
|
235 |
+
|
236 |
+
#: admin-colours.php:516 admin-colours.php:552
|
237 |
+
msgid "Times"
|
238 |
+
msgstr ""
|
239 |
+
|
240 |
+
#: admin-colours.php:517 admin-colours.php:553
|
241 |
+
msgid "Palatino"
|
242 |
+
msgstr ""
|
243 |
+
|
244 |
+
#: admin-colours.php:518 admin-colours.php:554
|
245 |
+
msgid "Courier New"
|
246 |
+
msgstr ""
|
247 |
+
|
248 |
+
#: admin-colours.php:519 admin-colours.php:555
|
249 |
+
msgid "Lucida Console"
|
250 |
+
msgstr ""
|
251 |
+
|
252 |
+
#: admin-colours.php:520 admin-colours.php:556
|
253 |
+
msgid "Gill Sans"
|
254 |
+
msgstr ""
|
255 |
+
|
256 |
+
#: admin-colours.php:527
|
257 |
+
msgid "Track:"
|
258 |
+
msgstr ""
|
259 |
+
|
260 |
+
#: admin-colours.php:536
|
261 |
+
msgid "Caption:"
|
262 |
+
msgstr ""
|
263 |
+
|
264 |
+
#: admin-colours.php:592
|
265 |
+
msgid "Player Height"
|
266 |
+
msgstr ""
|
267 |
+
|
268 |
+
#: admin-colours.php:603
|
269 |
+
msgid "Images"
|
270 |
+
msgstr ""
|
271 |
+
|
272 |
+
#: admin-colours.php:605 admin-colours.php:628 admin-colours.php:639
|
273 |
+
#: admin-settings.php:288 widget-ui.php:342
|
274 |
+
msgid "Left"
|
275 |
+
msgstr ""
|
276 |
+
|
277 |
+
#: admin-colours.php:606 admin-colours.php:629 admin-colours.php:640
|
278 |
+
#: admin-settings.php:289 widget-ui.php:343
|
279 |
+
msgid "Centre"
|
280 |
+
msgstr ""
|
281 |
+
|
282 |
+
#: admin-colours.php:607 admin-colours.php:630 admin-colours.php:641
|
283 |
+
#: admin-settings.php:290 widget-ui.php:344
|
284 |
+
msgid "Right"
|
285 |
+
msgstr ""
|
286 |
+
|
287 |
+
#: admin-colours.php:611
|
288 |
+
msgid "Original size"
|
289 |
+
msgstr ""
|
290 |
+
|
291 |
+
#: admin-colours.php:612
|
292 |
+
msgid "Fit to player width"
|
293 |
+
msgstr ""
|
294 |
+
|
295 |
+
#: admin-colours.php:613
|
296 |
+
msgid "Fit to player height"
|
297 |
+
msgstr ""
|
298 |
+
|
299 |
+
#: admin-colours.php:614
|
300 |
+
msgid "Thumbnail"
|
301 |
+
msgstr ""
|
302 |
+
|
303 |
+
#: admin-colours.php:616
|
304 |
+
msgid "Large"
|
305 |
+
msgstr ""
|
306 |
+
|
307 |
+
#: admin-colours.php:621
|
308 |
+
msgid "overflow"
|
309 |
+
msgstr ""
|
310 |
+
|
311 |
+
#: admin-colours.php:637
|
312 |
+
msgid "Titles"
|
313 |
+
msgstr ""
|
314 |
+
|
315 |
+
#: admin-colours.php:648
|
316 |
+
msgid "Top"
|
317 |
+
msgstr ""
|
318 |
+
|
319 |
+
#: admin-colours.php:655 admin-colours.php:668
|
320 |
+
msgid "px or %"
|
321 |
+
msgstr ""
|
322 |
+
|
323 |
+
#: admin-colours.php:660
|
324 |
+
msgid "Margins"
|
325 |
+
msgstr ""
|
326 |
+
|
327 |
+
#: admin-colours.php:683
|
328 |
+
msgid "Modifiers:"
|
329 |
+
msgstr ""
|
330 |
+
|
331 |
+
#: admin-colours.php:685
|
332 |
+
msgid ""
|
333 |
+
"Use this field to add modifier names. Use a space to separate names, the "
|
334 |
+
"following are supported by default:"
|
335 |
+
msgstr ""
|
336 |
+
|
337 |
+
#: admin-colours.php:690
|
338 |
+
msgid "Puts play buttons on the left"
|
339 |
+
msgstr ""
|
340 |
+
|
341 |
+
#: admin-colours.php:694
|
342 |
+
msgid "Hides the entire player (eg. background audio)"
|
343 |
+
msgstr ""
|
344 |
+
|
345 |
+
#: admin-colours.php:701
|
346 |
+
msgid "Hides the stop button"
|
347 |
+
msgstr ""
|
348 |
+
|
349 |
+
#: admin-colours.php:705
|
350 |
+
msgid "Hides the prev/next buttons"
|
351 |
+
msgstr ""
|
352 |
+
|
353 |
+
#: admin-colours.php:709
|
354 |
+
msgid "Hides the volume control"
|
355 |
+
msgstr ""
|
356 |
+
|
357 |
+
#: admin-colours.php:713
|
358 |
+
msgid "Hides the track title and caption"
|
359 |
+
msgstr ""
|
360 |
+
|
361 |
+
#: admin-colours.php:717
|
362 |
+
msgid "Hides the playlist button"
|
363 |
+
msgstr ""
|
364 |
+
|
365 |
+
#: admin-colours.php:721
|
366 |
+
msgid "Hides the popout button"
|
367 |
+
msgstr ""
|
368 |
+
|
369 |
+
#: admin-colours.php:725
|
370 |
+
msgid "Position slider fills the screen/image area"
|
371 |
+
msgstr ""
|
372 |
+
|
373 |
+
#: admin-colours.php:729
|
374 |
+
msgid "removes the position and load bars"
|
375 |
+
msgstr ""
|
376 |
+
|
377 |
+
#: admin-colours.php:733
|
378 |
+
msgid "removes the container bar around the buttons"
|
379 |
+
msgstr ""
|
380 |
+
|
381 |
+
#: admin-colours.php:750
|
382 |
+
msgid "Test Image"
|
383 |
+
msgstr ""
|
384 |
+
|
385 |
+
#: admin-colours.php:758 admin-settings.php:925
|
386 |
+
msgid "Save All Changes"
|
387 |
+
msgstr ""
|
388 |
+
|
389 |
+
#: admin-colours.php:771 admin-settings.php:941
|
390 |
+
msgid "Help & Docs"
|
391 |
+
msgstr ""
|
392 |
+
|
393 |
+
#: admin-colours.php:772 admin-settings.php:943
|
394 |
+
msgid "Get Skins"
|
395 |
+
msgstr ""
|
396 |
+
|
397 |
+
#: admin-colours.php:773 admin-settings.php:942
|
398 |
+
msgid "Get Add-Ons"
|
399 |
+
msgstr ""
|
400 |
+
|
401 |
+
#: admin-settings.php:198
|
402 |
+
msgid "Media"
|
403 |
+
msgstr ""
|
404 |
+
|
405 |
+
#: admin-settings.php:199
|
406 |
+
msgid "Players"
|
407 |
+
msgstr ""
|
408 |
+
|
409 |
+
#: admin-settings.php:200
|
410 |
+
msgid "Downloads"
|
411 |
+
msgstr ""
|
412 |
+
|
413 |
+
#: admin-settings.php:201
|
414 |
+
msgid "Popout"
|
415 |
+
msgstr ""
|
416 |
+
|
417 |
+
#: admin-settings.php:202
|
418 |
+
msgid "Advanced"
|
419 |
+
msgstr ""
|
420 |
+
|
421 |
+
#: admin-settings.php:217
|
422 |
+
msgid "Text Players (single-file)"
|
423 |
+
msgstr ""
|
424 |
+
|
425 |
+
#: admin-settings.php:220 admin-settings.php:246
|
426 |
+
msgid "Font Size"
|
427 |
+
msgstr ""
|
428 |
+
|
429 |
+
#: admin-settings.php:224 admin-settings.php:250 widget-ui.php:313
|
430 |
+
msgid "Volume"
|
431 |
+
msgstr ""
|
432 |
+
|
433 |
+
#: admin-settings.php:228 admin-settings.php:254
|
434 |
+
msgid "Play on RHS"
|
435 |
+
msgstr ""
|
436 |
+
|
437 |
+
#: admin-settings.php:232 admin-settings.php:258
|
438 |
+
msgid "Colour Scheme"
|
439 |
+
msgstr ""
|
440 |
+
|
441 |
+
#: admin-settings.php:234 admin-settings.php:260
|
442 |
+
msgctxt "as in switched on"
|
443 |
+
msgid "On"
|
444 |
+
msgstr ""
|
445 |
+
|
446 |
+
#: admin-settings.php:243
|
447 |
+
msgid "Button Players (single-file)"
|
448 |
+
msgstr ""
|
449 |
+
|
450 |
+
#: admin-settings.php:278 admin-settings.php:776 admin-settings.php:818
|
451 |
+
#: admin-settings.php:827
|
452 |
+
msgid "Playlist Players"
|
453 |
+
msgstr ""
|
454 |
+
|
455 |
+
#: admin-settings.php:281
|
456 |
+
msgid "Width:"
|
457 |
+
msgstr ""
|
458 |
+
|
459 |
+
#: admin-settings.php:283 admin-settings.php:310
|
460 |
+
msgid "Pixels (px) or percent (%)."
|
461 |
+
msgstr ""
|
462 |
+
|
463 |
+
#: admin-settings.php:286
|
464 |
+
msgid "Alignment:"
|
465 |
+
msgstr ""
|
466 |
+
|
467 |
+
#: admin-settings.php:291
|
468 |
+
msgid "Float Left"
|
469 |
+
msgstr ""
|
470 |
+
|
471 |
+
#: admin-settings.php:292
|
472 |
+
msgid "Float Right"
|
473 |
+
msgstr ""
|
474 |
+
|
475 |
+
#: admin-settings.php:297
|
476 |
+
msgid "Margins:"
|
477 |
+
msgstr ""
|
478 |
+
|
479 |
+
#: admin-settings.php:298
|
480 |
+
msgid "Above players"
|
481 |
+
msgstr ""
|
482 |
+
|
483 |
+
#: admin-settings.php:302
|
484 |
+
msgid "Inner margin (floated players)"
|
485 |
+
msgstr ""
|
486 |
+
|
487 |
+
#: admin-settings.php:306
|
488 |
+
msgid "Below players"
|
489 |
+
msgstr ""
|
490 |
+
|
491 |
+
#: admin-settings.php:313
|
492 |
+
msgid "Max playlist height:"
|
493 |
+
msgstr ""
|
494 |
+
|
495 |
+
#: admin-settings.php:317
|
496 |
+
msgid ""
|
497 |
+
"A scroll bar will show for longer playlists, leave it blank for no limit."
|
498 |
+
msgstr ""
|
499 |
+
|
500 |
+
#: admin-settings.php:323
|
501 |
+
msgid "Show sub titles in playlists"
|
502 |
+
msgstr ""
|
503 |
+
|
504 |
+
#: admin-settings.php:327
|
505 |
+
msgid "Start with playlists open"
|
506 |
+
msgstr ""
|
507 |
+
|
508 |
+
#: admin-settings.php:331
|
509 |
+
msgid "Show popout player button"
|
510 |
+
msgstr ""
|
511 |
+
|
512 |
+
#: admin-settings.php:347
|
513 |
+
msgid "Initial volume:"
|
514 |
+
msgstr ""
|
515 |
+
|
516 |
+
#: admin-settings.php:352
|
517 |
+
msgid "Number the tracks"
|
518 |
+
msgstr ""
|
519 |
+
|
520 |
+
#: admin-settings.php:355
|
521 |
+
msgid "Auto play"
|
522 |
+
msgstr ""
|
523 |
+
|
524 |
+
#: admin-settings.php:359
|
525 |
+
msgid "Loop playlist"
|
526 |
+
msgstr ""
|
527 |
+
|
528 |
+
#: admin-settings.php:362
|
529 |
+
msgid "Resume playback"
|
530 |
+
msgstr ""
|
531 |
+
|
532 |
+
#: admin-settings.php:364
|
533 |
+
msgid ""
|
534 |
+
"Note that Resume and Auto play are prevented by many devices, these will "
|
535 |
+
"activate on desktops and laptops only."
|
536 |
+
msgstr ""
|
537 |
+
|
538 |
+
#: admin-settings.php:364 admin-settings.php:378 admin-settings.php:548
|
539 |
+
#: admin-settings.php:577
|
540 |
+
msgid "Help"
|
541 |
+
msgstr ""
|
542 |
+
|
543 |
+
#: admin-settings.php:367
|
544 |
+
msgid "Resume Playback"
|
545 |
+
msgstr ""
|
546 |
+
|
547 |
+
#: admin-settings.php:368
|
548 |
+
msgid ""
|
549 |
+
"This gives near-continuous listening when browsing the site (there will be a "
|
550 |
+
"short pause as the next page loads). Resuming will work wherever you have "
|
551 |
+
"used the same piece of audio on different pages on the site."
|
552 |
+
msgstr ""
|
553 |
+
|
554 |
+
#: admin-settings.php:369
|
555 |
+
msgid "Auto Play"
|
556 |
+
msgstr ""
|
557 |
+
|
558 |
+
#: admin-settings.php:370
|
559 |
+
msgid ""
|
560 |
+
"If you set multiple players on a page to autoplay then they will play their "
|
561 |
+
"playlists in sequence one after the other."
|
562 |
+
msgstr ""
|
563 |
+
|
564 |
+
#: admin-settings.php:376
|
565 |
+
msgid "Auto-find counterpart files"
|
566 |
+
msgstr ""
|
567 |
+
|
568 |
+
#: admin-settings.php:378
|
569 |
+
msgid ""
|
570 |
+
"This will pick up a fallback format if it's in the same location as the "
|
571 |
+
"playlisted track, based on a filename match."
|
572 |
+
msgstr ""
|
573 |
+
|
574 |
+
#: admin-settings.php:380
|
575 |
+
msgid ""
|
576 |
+
"With this option ticked, the plugin will automatically look for counterpart "
|
577 |
+
"files for any players on a page. The playlisted (primary) track must be from "
|
578 |
+
"the MPEG family (an mp3, m4a, or mp4 file)."
|
579 |
+
msgstr ""
|
580 |
+
|
581 |
+
#: admin-settings.php:381
|
582 |
+
msgid ""
|
583 |
+
"Auto-counterparting works for MPEGS in the library, in local folders, and "
|
584 |
+
"when using bulk play or FEED commands. Just make sure your counterparts have "
|
585 |
+
"the same filename, and are in the same location as the primary track."
|
586 |
+
msgstr ""
|
587 |
+
|
588 |
+
#: admin-settings.php:382
|
589 |
+
msgid ""
|
590 |
+
"You can always manually add a counterpart to any primary track format by "
|
591 |
+
"using the <code>counterpart</code> parameter in a shortcode and specifying a "
|
592 |
+
"url."
|
593 |
+
msgstr ""
|
594 |
+
|
595 |
+
#: admin-settings.php:383
|
596 |
+
msgid ""
|
597 |
+
"Automatic Counterparts are chosen with the following format priority: OGG, "
|
598 |
+
"WEBM, WAV."
|
599 |
+
msgstr ""
|
600 |
+
|
601 |
+
#: admin-settings.php:392
|
602 |
+
msgid "NOTE: jQuery and UI scripts are turned off."
|
603 |
+
msgstr ""
|
604 |
+
|
605 |
+
#: admin-settings.php:396
|
606 |
+
msgid "Get Started:"
|
607 |
+
msgstr ""
|
608 |
+
|
609 |
+
#: admin-settings.php:397
|
610 |
+
msgid "Upload some audio"
|
611 |
+
msgstr ""
|
612 |
+
|
613 |
+
#: admin-settings.php:398
|
614 |
+
msgid "How to add players"
|
615 |
+
msgstr ""
|
616 |
+
|
617 |
+
#: admin-settings.php:399
|
618 |
+
msgid "Audio Format Help"
|
619 |
+
msgstr ""
|
620 |
+
|
621 |
+
#: admin-settings.php:403
|
622 |
+
msgid "More Info:"
|
623 |
+
msgstr ""
|
624 |
+
|
625 |
+
#: admin-settings.php:404
|
626 |
+
msgid "Help & Docs main page"
|
627 |
+
msgstr ""
|
628 |
+
|
629 |
+
#: admin-settings.php:405
|
630 |
+
msgid "Shortcode Reference"
|
631 |
+
msgstr ""
|
632 |
+
|
633 |
+
#: admin-settings.php:408
|
634 |
+
msgid "Plugin home page"
|
635 |
+
msgstr ""
|
636 |
+
|
637 |
+
#: admin-settings.php:409
|
638 |
+
msgid "Version"
|
639 |
+
msgstr ""
|
640 |
+
|
641 |
+
#: admin-settings.php:424
|
642 |
+
msgid "Library"
|
643 |
+
msgstr ""
|
644 |
+
|
645 |
+
#: admin-settings.php:425
|
646 |
+
msgid ""
|
647 |
+
"Choose which title information to show in the players and playlists when "
|
648 |
+
"playing from your WordPress Media Library."
|
649 |
+
msgstr ""
|
650 |
+
|
651 |
+
#: admin-settings.php:432
|
652 |
+
msgid "Main Titles"
|
653 |
+
msgstr ""
|
654 |
+
|
655 |
+
#: admin-settings.php:434
|
656 |
+
msgid "Track Title"
|
657 |
+
msgstr ""
|
658 |
+
|
659 |
+
#: admin-settings.php:435 admin-settings.php:446
|
660 |
+
msgid "Artist"
|
661 |
+
msgstr ""
|
662 |
+
|
663 |
+
#: admin-settings.php:436 admin-settings.php:447
|
664 |
+
msgid "Album"
|
665 |
+
msgstr ""
|
666 |
+
|
667 |
+
#: admin-settings.php:438 admin-settings.php:449
|
668 |
+
msgid "Upload Date"
|
669 |
+
msgstr ""
|
670 |
+
|
671 |
+
#: admin-settings.php:442
|
672 |
+
msgid "Secondary Titles"
|
673 |
+
msgstr ""
|
674 |
+
|
675 |
+
#: admin-settings.php:444
|
676 |
+
msgid "- None -"
|
677 |
+
msgstr ""
|
678 |
+
|
679 |
+
#: admin-settings.php:445 admin-settings.php:614
|
680 |
+
msgid "Title"
|
681 |
+
msgstr ""
|
682 |
+
|
683 |
+
#: admin-settings.php:461
|
684 |
+
msgid "View Files"
|
685 |
+
msgstr ""
|
686 |
+
|
687 |
+
#: admin-settings.php:462
|
688 |
+
msgid "Upload Audio"
|
689 |
+
msgstr ""
|
690 |
+
|
691 |
+
#: admin-settings.php:477
|
692 |
+
msgid "rows per page"
|
693 |
+
msgstr ""
|
694 |
+
|
695 |
+
#: admin-settings.php:479
|
696 |
+
msgid "Refresh"
|
697 |
+
msgstr ""
|
698 |
+
|
699 |
+
#: admin-settings.php:539
|
700 |
+
msgid "check the path and folder permissions."
|
701 |
+
msgstr ""
|
702 |
+
|
703 |
+
#: admin-settings.php:542
|
704 |
+
msgid ""
|
705 |
+
"No info is available on remote folders but you can play from here if you "
|
706 |
+
"know the filenames"
|
707 |
+
msgstr ""
|
708 |
+
|
709 |
+
#: admin-settings.php:547
|
710 |
+
msgid "Default Folder"
|
711 |
+
msgstr ""
|
712 |
+
|
713 |
+
#: admin-settings.php:548
|
714 |
+
msgid "Set a folder path or url below."
|
715 |
+
msgstr ""
|
716 |
+
|
717 |
+
#: admin-settings.php:551
|
718 |
+
msgid ""
|
719 |
+
"If you like, you can specify a location (local or remote) to play some of "
|
720 |
+
"your audio from. For example:"
|
721 |
+
msgstr ""
|
722 |
+
|
723 |
+
#: admin-settings.php:553
|
724 |
+
msgid ""
|
725 |
+
"This means you only need to write the filenames in playlists to play from "
|
726 |
+
"this location (you don't need to use the full url)."
|
727 |
+
msgstr ""
|
728 |
+
|
729 |
+
#: admin-settings.php:554
|
730 |
+
msgid ""
|
731 |
+
"If the path is local (on your domain) then you can also bulk-play this "
|
732 |
+
"folder."
|
733 |
+
msgstr ""
|
734 |
+
|
735 |
+
#: admin-settings.php:560
|
736 |
+
msgid "Folder Path"
|
737 |
+
msgstr ""
|
738 |
+
|
739 |
+
#: admin-settings.php:562
|
740 |
+
msgid "View files"
|
741 |
+
msgstr ""
|
742 |
+
|
743 |
+
#: admin-settings.php:575
|
744 |
+
msgid "Bulk-Play Settings"
|
745 |
+
msgstr ""
|
746 |
+
|
747 |
+
#: admin-settings.php:576
|
748 |
+
msgid ""
|
749 |
+
"Choose which audio formats are playlisted when bulk-playing from folders, "
|
750 |
+
"the library, and via the FEED command in playlists."
|
751 |
+
msgstr ""
|
752 |
+
|
753 |
+
#: admin-settings.php:580
|
754 |
+
msgid ""
|
755 |
+
"Use a simple shortcode in your posts and pages to playlist entire folders "
|
756 |
+
"that are on your domain. You can also play your entire library."
|
757 |
+
msgstr ""
|
758 |
+
|
759 |
+
#: admin-settings.php:582
|
760 |
+
msgid "Play all audio in your library"
|
761 |
+
msgstr ""
|
762 |
+
|
763 |
+
#: admin-settings.php:585
|
764 |
+
msgid "Play all audio in your default folder"
|
765 |
+
msgstr ""
|
766 |
+
|
767 |
+
#: admin-settings.php:588
|
768 |
+
msgid "Play all audio from the folder"
|
769 |
+
msgstr ""
|
770 |
+
|
771 |
+
#: admin-settings.php:591
|
772 |
+
msgid ""
|
773 |
+
"Control which of your file types get picked up using the tickboxes below."
|
774 |
+
msgstr ""
|
775 |
+
|
776 |
+
#: admin-settings.php:606
|
777 |
+
msgid "Set the ordering for the playlists when bulk playing."
|
778 |
+
msgstr ""
|
779 |
+
|
780 |
+
#: admin-settings.php:610
|
781 |
+
msgid "Library:"
|
782 |
+
msgstr ""
|
783 |
+
|
784 |
+
#: admin-settings.php:611 admin-settings.php:630
|
785 |
+
msgid "Order by"
|
786 |
+
msgstr ""
|
787 |
+
|
788 |
+
#: admin-settings.php:615
|
789 |
+
msgid "Sub-title, Title"
|
790 |
+
msgstr ""
|
791 |
+
|
792 |
+
#: admin-settings.php:616 admin-settings.php:633
|
793 |
+
msgid "Filename"
|
794 |
+
msgstr ""
|
795 |
+
|
796 |
+
#: admin-settings.php:617 admin-settings.php:634
|
797 |
+
msgid "Date Uploaded"
|
798 |
+
msgstr ""
|
799 |
+
|
800 |
+
#: admin-settings.php:620 admin-settings.php:637
|
801 |
+
msgid "Direction"
|
802 |
+
msgstr ""
|
803 |
+
|
804 |
+
#: admin-settings.php:623 admin-settings.php:640
|
805 |
+
msgid "Asc"
|
806 |
+
msgstr ""
|
807 |
+
|
808 |
+
#: admin-settings.php:624 admin-settings.php:641
|
809 |
+
msgid "Desc"
|
810 |
+
msgstr ""
|
811 |
+
|
812 |
+
#: admin-settings.php:629
|
813 |
+
msgid "Folders:"
|
814 |
+
msgstr ""
|
815 |
+
|
816 |
+
#: admin-settings.php:657
|
817 |
+
msgid ""
|
818 |
+
"Download buttons are shown on playlist players, use these options to set "
|
819 |
+
"their behavior."
|
820 |
+
msgstr ""
|
821 |
+
|
822 |
+
#: admin-settings.php:661
|
823 |
+
msgid "Show Download Button"
|
824 |
+
msgstr ""
|
825 |
+
|
826 |
+
#: admin-settings.php:663 widget-ui.php:326
|
827 |
+
msgid "Yes"
|
828 |
+
msgstr ""
|
829 |
+
|
830 |
+
#: admin-settings.php:664 widget-ui.php:327
|
831 |
+
msgid "No"
|
832 |
+
msgstr ""
|
833 |
+
|
834 |
+
#: admin-settings.php:665
|
835 |
+
msgid "To logged in users"
|
836 |
+
msgstr ""
|
837 |
+
|
838 |
+
#: admin-settings.php:669
|
839 |
+
msgid "Button Text"
|
840 |
+
msgstr ""
|
841 |
+
|
842 |
+
#: admin-settings.php:678
|
843 |
+
msgid ""
|
844 |
+
"When setting players for logged-in downloads, optionally set the text/link "
|
845 |
+
"for any logged out visitors."
|
846 |
+
msgstr ""
|
847 |
+
|
848 |
+
#: admin-settings.php:682
|
849 |
+
msgid "Visitor Text"
|
850 |
+
msgstr ""
|
851 |
+
|
852 |
+
#: admin-settings.php:688
|
853 |
+
msgid "Visitor Link"
|
854 |
+
msgstr ""
|
855 |
+
|
856 |
+
#: admin-settings.php:691
|
857 |
+
msgid "Optional URL for the visitor text"
|
858 |
+
msgstr ""
|
859 |
+
|
860 |
+
#: admin-settings.php:700
|
861 |
+
msgid "Use Smooth Downloading"
|
862 |
+
msgstr ""
|
863 |
+
|
864 |
+
#: admin-settings.php:704
|
865 |
+
msgid ""
|
866 |
+
"This option makes downloading seamless for most users, or it will display a "
|
867 |
+
"dialog box with a link when a seamless download is not possible."
|
868 |
+
msgstr ""
|
869 |
+
|
870 |
+
#: admin-settings.php:714
|
871 |
+
msgid "Path to remote downloader file"
|
872 |
+
msgstr ""
|
873 |
+
|
874 |
+
#: admin-settings.php:720
|
875 |
+
msgid ""
|
876 |
+
"If you play from other domains and want smooth downloads, then use the field "
|
877 |
+
"above to specify a path to the downloader file."
|
878 |
+
msgstr ""
|
879 |
+
|
880 |
+
#: admin-settings.php:730
|
881 |
+
msgid "Set the default text displayed on popout buttons."
|
882 |
+
msgstr ""
|
883 |
+
|
884 |
+
#: admin-settings.php:733
|
885 |
+
msgid "Launch Button Text"
|
886 |
+
msgstr ""
|
887 |
+
|
888 |
+
#: admin-settings.php:740
|
889 |
+
msgid "Popout window settings."
|
890 |
+
msgstr ""
|
891 |
+
|
892 |
+
#: admin-settings.php:743
|
893 |
+
msgid "Window Width"
|
894 |
+
msgstr ""
|
895 |
+
|
896 |
+
#: admin-settings.php:747
|
897 |
+
msgid "Window Height"
|
898 |
+
msgstr ""
|
899 |
+
|
900 |
+
#: admin-settings.php:748
|
901 |
+
msgid "a scroll bar will show for longer playlists"
|
902 |
+
msgstr ""
|
903 |
+
|
904 |
+
#: admin-settings.php:751
|
905 |
+
msgid "Background Colour"
|
906 |
+
msgstr ""
|
907 |
+
|
908 |
+
#: admin-settings.php:755
|
909 |
+
msgid "Background Image"
|
910 |
+
msgstr ""
|
911 |
+
|
912 |
+
#: admin-settings.php:767
|
913 |
+
msgid "Choose which aspects of your content you'd like MP3-jPlayer to handle."
|
914 |
+
msgstr ""
|
915 |
+
|
916 |
+
#: admin-settings.php:771
|
917 |
+
msgid "Audio Players"
|
918 |
+
msgstr ""
|
919 |
+
|
920 |
+
#: admin-settings.php:772
|
921 |
+
msgid ""
|
922 |
+
"Use the 'Add Media' Button on post/page edit screens and choose 'Embed "
|
923 |
+
"Player' from the right select (WP 3.6+)."
|
924 |
+
msgstr ""
|
925 |
+
|
926 |
+
#: admin-settings.php:777
|
927 |
+
msgid ""
|
928 |
+
"Use the 'Add Media' Button on post/page edit screens and choose 'Audio "
|
929 |
+
"Playlist' from the left menu (WP 3.9+)."
|
930 |
+
msgstr ""
|
931 |
+
|
932 |
+
#: admin-settings.php:781
|
933 |
+
msgid "Links to Audio Files"
|
934 |
+
msgstr ""
|
935 |
+
|
936 |
+
#: admin-settings.php:782
|
937 |
+
msgid ""
|
938 |
+
"Links within post/page content will be turned into players using the "
|
939 |
+
"shortcode specified under the 'Advanced' tab."
|
940 |
+
msgstr ""
|
941 |
+
|
942 |
+
#: admin-settings.php:786
|
943 |
+
msgid "Attached Audio"
|
944 |
+
msgstr ""
|
945 |
+
|
946 |
+
#: admin-settings.php:787
|
947 |
+
msgid ""
|
948 |
+
"Use the shortcode <code>[audio]</code> in posts and pages to playlist any "
|
949 |
+
"attached audio."
|
950 |
+
msgstr ""
|
951 |
+
|
952 |
+
#: admin-settings.php:791
|
953 |
+
msgid "URLs"
|
954 |
+
msgstr ""
|
955 |
+
|
956 |
+
#: admin-settings.php:792
|
957 |
+
msgid "Paste urls directly into posts and pages (WP 3.6+)."
|
958 |
+
msgstr ""
|
959 |
+
|
960 |
+
#: admin-settings.php:796
|
961 |
+
msgid ""
|
962 |
+
"You can always use MP3-jPlayer's own shortcodes and widgets regardless of "
|
963 |
+
"the above settings."
|
964 |
+
msgstr ""
|
965 |
+
|
966 |
+
#: admin-settings.php:800
|
967 |
+
msgid ""
|
968 |
+
"On pages like Index, Archive and Search pages, choose whether players should "
|
969 |
+
"be seen within the results. These settings won't affect player widgets."
|
970 |
+
msgstr ""
|
971 |
+
|
972 |
+
#: admin-settings.php:802
|
973 |
+
msgid "Show players when the full content is used."
|
974 |
+
msgstr ""
|
975 |
+
|
976 |
+
#: admin-settings.php:804
|
977 |
+
msgid "Show players when excerpts (short summaries) are used."
|
978 |
+
msgstr ""
|
979 |
+
|
980 |
+
#: admin-settings.php:806
|
981 |
+
msgid ""
|
982 |
+
"NOTE: You will need to manually write your post excerpts for this to work. "
|
983 |
+
"Write your shortcodes into the excerpt field on post edit screens."
|
984 |
+
msgstr ""
|
985 |
+
|
986 |
+
#: admin-settings.php:810
|
987 |
+
msgid "Conversion Options"
|
988 |
+
msgstr ""
|
989 |
+
|
990 |
+
#: admin-settings.php:813
|
991 |
+
msgid ""
|
992 |
+
"<strong>Turn</strong> <code>[audio]</code> <strong>shortcodes into</strong>:"
|
993 |
+
msgstr ""
|
994 |
+
|
995 |
+
#: admin-settings.php:816
|
996 |
+
msgid "Single Players - Graphic"
|
997 |
+
msgstr ""
|
998 |
+
|
999 |
+
#: admin-settings.php:817
|
1000 |
+
msgid "Single Players - Text"
|
1001 |
+
msgstr ""
|
1002 |
+
|
1003 |
+
#: admin-settings.php:819 admin-settings.php:828
|
1004 |
+
msgid "Popout Links"
|
1005 |
+
msgstr ""
|
1006 |
+
|
1007 |
+
#: admin-settings.php:824
|
1008 |
+
msgid ""
|
1009 |
+
"<strong>Turn</strong> <code>[playlist]</code> <strong>shortcodes into</"
|
1010 |
+
"strong>:"
|
1011 |
+
msgstr ""
|
1012 |
+
|
1013 |
+
#: admin-settings.php:833
|
1014 |
+
msgid "Turn converted links into"
|
1015 |
+
msgstr ""
|
1016 |
+
|
1017 |
+
#: admin-settings.php:839
|
1018 |
+
msgid ""
|
1019 |
+
"Placeholders: <code>{TEXT}</code> - Link text, <code>{URL}</code> - Link url."
|
1020 |
+
msgstr ""
|
1021 |
+
|
1022 |
+
#: admin-settings.php:840
|
1023 |
+
msgid "This field can also include arbitrary text/html."
|
1024 |
+
msgstr ""
|
1025 |
+
|
1026 |
+
#: admin-settings.php:847
|
1027 |
+
msgid "Misc File Settings"
|
1028 |
+
msgstr ""
|
1029 |
+
|
1030 |
+
#: admin-settings.php:849
|
1031 |
+
msgid "Allow position seeking beyond buffered"
|
1032 |
+
msgstr ""
|
1033 |
+
|
1034 |
+
#: admin-settings.php:851
|
1035 |
+
msgid ""
|
1036 |
+
"Lets users seek to end of tracks without waiting for media to load. Most "
|
1037 |
+
"servers should allow this by default, if you are having issues then check "
|
1038 |
+
"that your server has the <code>accept-ranges: bytes</code> header set, or "
|
1039 |
+
"you can just switch this option off."
|
1040 |
+
msgstr ""
|
1041 |
+
|
1042 |
+
#: admin-settings.php:853
|
1043 |
+
msgid "Hide file extensions if a filename is displayed"
|
1044 |
+
msgstr ""
|
1045 |
+
|
1046 |
+
#: admin-settings.php:854
|
1047 |
+
msgid "Filenames are displayed when there's no available titles."
|
1048 |
+
msgstr ""
|
1049 |
+
|
1050 |
+
#: admin-settings.php:856
|
1051 |
+
msgid "Encode URLs"
|
1052 |
+
msgstr ""
|
1053 |
+
|
1054 |
+
#: admin-settings.php:857
|
1055 |
+
msgid "Provides some obfuscation of your urls in the page source."
|
1056 |
+
msgstr ""
|
1057 |
+
|
1058 |
+
#: admin-settings.php:859
|
1059 |
+
msgid "Allow playing of off-site files"
|
1060 |
+
msgstr ""
|
1061 |
+
|
1062 |
+
#: admin-settings.php:860
|
1063 |
+
msgid ""
|
1064 |
+
"Un-checking this option filters out any files coming from other domains, but "
|
1065 |
+
"doesn't affect ability to play from a remote default path if one has been "
|
1066 |
+
"set above."
|
1067 |
+
msgstr ""
|
1068 |
+
|
1069 |
+
#: admin-settings.php:867
|
1070 |
+
msgid "Misc Player Settings"
|
1071 |
+
msgstr ""
|
1072 |
+
|
1073 |
+
#: admin-settings.php:868
|
1074 |
+
msgid "Show player error messages"
|
1075 |
+
msgstr ""
|
1076 |
+
|
1077 |
+
#: admin-settings.php:871
|
1078 |
+
msgid "Never"
|
1079 |
+
msgstr ""
|
1080 |
+
|
1081 |
+
#: admin-settings.php:872
|
1082 |
+
msgid "To Admins only"
|
1083 |
+
msgstr ""
|
1084 |
+
|
1085 |
+
#: admin-settings.php:873
|
1086 |
+
msgid "To All"
|
1087 |
+
msgstr ""
|
1088 |
+
|
1089 |
+
#: admin-settings.php:879
|
1090 |
+
msgid "Playlist Separator Settings"
|
1091 |
+
msgstr ""
|
1092 |
+
|
1093 |
+
#: admin-settings.php:881
|
1094 |
+
msgid ""
|
1095 |
+
"If you manually write playlists then you can choose the separators you use "
|
1096 |
+
"in the tracks and captions lists."
|
1097 |
+
msgstr ""
|
1098 |
+
|
1099 |
+
#: admin-settings.php:882
|
1100 |
+
msgid ""
|
1101 |
+
"<strong>CAUTION!!</strong> You'll need to manually update any existing "
|
1102 |
+
"playlists if you change the separators!"
|
1103 |
+
msgstr ""
|
1104 |
+
|
1105 |
+
#: admin-settings.php:884
|
1106 |
+
msgid "Files:"
|
1107 |
+
msgstr ""
|
1108 |
+
|
1109 |
+
#: admin-settings.php:886 admin-settings.php:894
|
1110 |
+
msgid "(comma)"
|
1111 |
+
msgstr ""
|
1112 |
+
|
1113 |
+
#: admin-settings.php:887 admin-settings.php:895
|
1114 |
+
msgid "(semicolon)"
|
1115 |
+
msgstr ""
|
1116 |
+
|
1117 |
+
#: admin-settings.php:888 admin-settings.php:896
|
1118 |
+
msgid "(3 hashes)"
|
1119 |
+
msgstr ""
|
1120 |
+
|
1121 |
+
#: admin-settings.php:890 admin-settings.php:898
|
1122 |
+
msgid "eg."
|
1123 |
+
msgstr ""
|
1124 |
+
|
1125 |
+
#: admin-settings.php:892
|
1126 |
+
msgid "Captions:"
|
1127 |
+
msgstr ""
|
1128 |
+
|
1129 |
+
#: admin-settings.php:904
|
1130 |
+
msgid "Developer Settings"
|
1131 |
+
msgstr ""
|
1132 |
+
|
1133 |
+
#: admin-settings.php:906
|
1134 |
+
msgid "Turn on debug"
|
1135 |
+
msgstr ""
|
1136 |
+
|
1137 |
+
#: admin-settings.php:907
|
1138 |
+
msgid "Info appears in the source view near the bottom."
|
1139 |
+
msgstr ""
|
1140 |
+
|
1141 |
+
#: admin-settings.php:912
|
1142 |
+
msgid "Disable jQuery and jQuery-UI javascript libraries?"
|
1143 |
+
msgstr ""
|
1144 |
+
|
1145 |
+
#: admin-settings.php:913
|
1146 |
+
msgid ""
|
1147 |
+
"<strong>CAUTION!!</strong> This option will bypass the request <strong>from "
|
1148 |
+
"this plugin only</strong> for both jQuery <strong>and</strong> jQuery-UI "
|
1149 |
+
"scripts, you <strong>MUST</strong> be providing these scripts from an "
|
1150 |
+
"alternative source."
|
1151 |
+
msgstr ""
|
1152 |
+
|
1153 |
+
#: admin-settings.php:914
|
1154 |
+
msgid ""
|
1155 |
+
"Type <code>yes</code> in the box and save settings to bypass jQuery and "
|
1156 |
+
"jQuery-UI."
|
1157 |
+
msgstr ""
|
1158 |
+
|
1159 |
+
#: admin-settings.php:928
|
1160 |
+
msgid "Remember settings if plugin is deactivated"
|
1161 |
+
msgstr ""
|
1162 |
+
|
1163 |
+
#: frontend.php:62
|
1164 |
+
msgid "Settings"
|
1165 |
+
msgstr ""
|
1166 |
+
|
1167 |
+
#: widget-sh.php:17
|
1168 |
+
msgid "Add audio players by writing shortcodes."
|
1169 |
+
msgstr ""
|
1170 |
+
|
1171 |
+
#: widget-sh.php:22
|
1172 |
+
msgid "MP3-jPlayer|Shortcodes"
|
1173 |
+
msgstr ""
|
1174 |
+
|
1175 |
+
#: widget-sh.php:86
|
1176 |
+
msgid "Shortcodes:"
|
1177 |
+
msgstr ""
|
1178 |
+
|
1179 |
+
#: widget-sh.php:89 widget-ui.php:361
|
1180 |
+
msgid "Widget Heading:"
|
1181 |
+
msgstr ""
|
1182 |
+
|
1183 |
+
#: widget-sh.php:92 widget-ui.php:367
|
1184 |
+
msgid "Page Filter:"
|
1185 |
+
msgstr ""
|
1186 |
+
|
1187 |
+
#: widget-sh.php:93 widget-ui.php:368
|
1188 |
+
msgid "Include"
|
1189 |
+
msgstr ""
|
1190 |
+
|
1191 |
+
#: widget-sh.php:95 widget-ui.php:370
|
1192 |
+
msgid "or"
|
1193 |
+
msgstr ""
|
1194 |
+
|
1195 |
+
#: widget-sh.php:97 widget-ui.php:372
|
1196 |
+
msgid "Exclude"
|
1197 |
+
msgstr ""
|
1198 |
+
|
1199 |
+
#: widget-sh.php:100 widget-ui.php:375
|
1200 |
+
msgid ""
|
1201 |
+
"A comma separated list, it can contain <code>index</code>, <code>archive</"
|
1202 |
+
"code>, <code>post</code>, <code>search</code>, and any <strong>post IDs</"
|
1203 |
+
"strong>."
|
1204 |
+
msgstr ""
|
1205 |
+
|
1206 |
+
#: widget-ui.php:17
|
1207 |
+
msgid "Adds a playlist player. Choose playback mode and options."
|
1208 |
+
msgstr ""
|
1209 |
+
|
1210 |
+
#: widget-ui.php:22
|
1211 |
+
msgid "MP3-jPlayer|Playlister"
|
1212 |
+
msgstr ""
|
1213 |
+
|
1214 |
+
#: widget-ui.php:227
|
1215 |
+
msgid "Play Mode:"
|
1216 |
+
msgstr ""
|
1217 |
+
|
1218 |
+
#: widget-ui.php:229
|
1219 |
+
msgid "Play Attached audio"
|
1220 |
+
msgstr ""
|
1221 |
+
|
1222 |
+
#: widget-ui.php:230
|
1223 |
+
msgid ""
|
1224 |
+
"Automatically adds a player on SINGLE posts/pages when they have audio "
|
1225 |
+
"attachments."
|
1226 |
+
msgstr ""
|
1227 |
+
|
1228 |
+
#: widget-ui.php:233
|
1229 |
+
msgid "Play Custom fields"
|
1230 |
+
msgstr ""
|
1231 |
+
|
1232 |
+
#: widget-ui.php:234
|
1233 |
+
msgid ""
|
1234 |
+
"Automatically adds a player on SINGLE posts/pages, if you have used custom "
|
1235 |
+
"fields to make a playlist."
|
1236 |
+
msgstr ""
|
1237 |
+
|
1238 |
+
#: widget-ui.php:237
|
1239 |
+
msgid "Write a Playlist..."
|
1240 |
+
msgstr ""
|
1241 |
+
|
1242 |
+
#: widget-ui.php:238
|
1243 |
+
msgid ""
|
1244 |
+
"A list of URLs, library/default folder filenames, or FEEDs, separated by"
|
1245 |
+
msgstr ""
|
1246 |
+
|
1247 |
+
#: widget-ui.php:242
|
1248 |
+
msgid "Generate Playlist..."
|
1249 |
+
msgstr ""
|
1250 |
+
|
1251 |
+
#: widget-ui.php:245
|
1252 |
+
msgid "My library"
|
1253 |
+
msgstr ""
|
1254 |
+
|
1255 |
+
#: widget-ui.php:261
|
1256 |
+
msgid "There are no audio files here"
|
1257 |
+
msgstr ""
|
1258 |
+
|
1259 |
+
#: widget-ui.php:266
|
1260 |
+
msgid "Folder not found, check path and permissions"
|
1261 |
+
msgstr ""
|
1262 |
+
|
1263 |
+
#: widget-ui.php:271
|
1264 |
+
msgid "Remote or inaccessible folder"
|
1265 |
+
msgstr ""
|
1266 |
+
|
1267 |
+
#: widget-ui.php:276
|
1268 |
+
msgid "A folder:"
|
1269 |
+
msgstr ""
|
1270 |
+
|
1271 |
+
#: widget-ui.php:283
|
1272 |
+
msgid "Player Settings:"
|
1273 |
+
msgstr ""
|
1274 |
+
|
1275 |
+
#: widget-ui.php:287
|
1276 |
+
msgid "Autoplay"
|
1277 |
+
msgstr ""
|
1278 |
+
|
1279 |
+
#: widget-ui.php:290
|
1280 |
+
msgid "Repeat"
|
1281 |
+
msgstr ""
|
1282 |
+
|
1283 |
+
#: widget-ui.php:293
|
1284 |
+
msgid "Show playlist"
|
1285 |
+
msgstr ""
|
1286 |
+
|
1287 |
+
#: widget-ui.php:296
|
1288 |
+
msgid "Show images"
|
1289 |
+
msgstr ""
|
1290 |
+
|
1291 |
+
#: widget-ui.php:299
|
1292 |
+
msgid "Stop button"
|
1293 |
+
msgstr ""
|
1294 |
+
|
1295 |
+
#: widget-ui.php:302
|
1296 |
+
msgid "Prev/next"
|
1297 |
+
msgstr ""
|
1298 |
+
|
1299 |
+
#: widget-ui.php:307
|
1300 |
+
msgid "Shuffle"
|
1301 |
+
msgstr ""
|
1302 |
+
|
1303 |
+
#: widget-ui.php:319
|
1304 |
+
msgid "Pick"
|
1305 |
+
msgstr ""
|
1306 |
+
|
1307 |
+
#: widget-ui.php:321
|
1308 |
+
msgid "track(s)"
|
1309 |
+
msgstr ""
|
1310 |
+
|
1311 |
+
#: widget-ui.php:324
|
1312 |
+
msgid "Download"
|
1313 |
+
msgstr ""
|
1314 |
+
|
1315 |
+
#: widget-ui.php:328
|
1316 |
+
msgid "Logged in"
|
1317 |
+
msgstr ""
|
1318 |
+
|
1319 |
+
#: widget-ui.php:332
|
1320 |
+
msgid "Width"
|
1321 |
+
msgstr ""
|
1322 |
+
|
1323 |
+
#: widget-ui.php:336
|
1324 |
+
msgid "Height"
|
1325 |
+
msgstr ""
|
1326 |
+
|
1327 |
+
#: widget-ui.php:340
|
1328 |
+
msgid "Align"
|
1329 |
+
msgstr ""
|
1330 |
+
|
1331 |
+
#: widget-ui.php:345
|
1332 |
+
msgid "Float left"
|
1333 |
+
msgstr ""
|
1334 |
+
|
1335 |
+
#: widget-ui.php:346
|
1336 |
+
msgid "Float right"
|
1337 |
+
msgstr ""
|
1338 |
+
|
1339 |
+
#: widget-ui.php:353
|
1340 |
+
msgid "Style"
|
1341 |
+
msgstr ""
|
1342 |
+
|
1343 |
+
#. Plugin Name of the plugin/theme
|
1344 |
+
msgid "MP3-jPlayer"
|
1345 |
+
msgstr ""
|
1346 |
+
|
1347 |
+
#. Plugin URI of the plugin/theme
|
1348 |
+
msgid "http://mp3-jplayer.com"
|
1349 |
+
msgstr ""
|
1350 |
+
|
1351 |
+
#. Description of the plugin/theme
|
1352 |
+
msgid "Easy, Flexible Audio for WordPress."
|
1353 |
+
msgstr ""
|
1354 |
+
|
1355 |
+
#. Author of the plugin/theme
|
1356 |
+
msgid "Simon Ward"
|
1357 |
+
msgstr ""
|
1358 |
+
|
1359 |
+
#. Author URI of the plugin/theme
|
1360 |
+
msgid "http://www.sjward.org"
|
1361 |
+
msgstr ""
|
main.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
class MP3j_Main {
|
3 |
|
4 |
// --------- Update Me ------------
|
5 |
-
var $version_of_plugin = "2.
|
6 |
var $showSplash = false;
|
7 |
// --------------------------------
|
8 |
|
2 |
class MP3j_Main {
|
3 |
|
4 |
// --------- Update Me ------------
|
5 |
+
var $version_of_plugin = "2.6";
|
6 |
var $showSplash = false;
|
7 |
// --------------------------------
|
8 |
|
mp3jplayer.php
CHANGED
@@ -3,11 +3,12 @@
|
|
3 |
Plugin Name: MP3-jPlayer
|
4 |
Plugin URI: http://mp3-jplayer.com
|
5 |
Description: Easy, Flexible Audio for WordPress.
|
6 |
-
Version: 2.
|
7 |
Author: Simon Ward
|
8 |
Author URI: http://www.sjward.org
|
9 |
License: GPL2
|
10 |
-
|
|
|
11 |
This program is free software; you can redistribute it and/or modify
|
12 |
it under the terms of the GNU General Public License, version 2, as
|
13 |
published by the Free Software Foundation.
|
@@ -32,6 +33,8 @@ if ( class_exists( 'MP3j_Front' ) ) {
|
|
32 |
|
33 |
if ( isset( $MP3JP ) ) {
|
34 |
|
|
|
|
|
35 |
add_action( 'init', array( &$MP3JP, 'onInit' ), 100 );
|
36 |
add_action( 'admin_init', array( &$MP3JP, 'onAdminInit' ) );
|
37 |
add_action( 'widgets_init', array( &$MP3JP, 'registerWidgets' ) );
|
3 |
Plugin Name: MP3-jPlayer
|
4 |
Plugin URI: http://mp3-jplayer.com
|
5 |
Description: Easy, Flexible Audio for WordPress.
|
6 |
+
Version: 2.6
|
7 |
Author: Simon Ward
|
8 |
Author URI: http://www.sjward.org
|
9 |
License: GPL2
|
10 |
+
Text Domain: mp3-jplayer
|
11 |
+
|
12 |
This program is free software; you can redistribute it and/or modify
|
13 |
it under the terms of the GNU General Public License, version 2, as
|
14 |
published by the Free Software Foundation.
|
33 |
|
34 |
if ( isset( $MP3JP ) ) {
|
35 |
|
36 |
+
add_action( 'plugins_loaded', array( &$MP3JP, 'loadTranslation' ) );
|
37 |
+
|
38 |
add_action( 'init', array( &$MP3JP, 'onInit' ), 100 );
|
39 |
add_action( 'admin_init', array( &$MP3JP, 'onAdminInit' ) );
|
40 |
add_action( 'widgets_init', array( &$MP3JP, 'registerWidgets' ) );
|
readme.txt
CHANGED
@@ -6,8 +6,8 @@ Donate link: http://www.sjward.org/jplayer-for-wordpress
|
|
6 |
Tags: audio, audio player, audio playlist, mp3 player, music player, media, mobile, iphone, ipad, integration, multisite, playlist player, media player, audio widget, audio download, html5 audio, music player, mp3, music, html5, flash, jplayer, playlist, jquery, shortcode, widget, css, post, page, sidebar, html 5
|
7 |
License: GPLv2 or later
|
8 |
Requires at least: 2.9
|
9 |
-
Tested up to: 4.
|
10 |
-
Stable tag: 2.
|
11 |
|
12 |
Easy, Flexible Audio for WordPress.
|
13 |
|
@@ -19,7 +19,7 @@ Easy, Flexible Audio for WordPress.
|
|
19 |
* Near-continuous playback between pages.
|
20 |
* Play from your media library, uploaded folders, and urls.
|
21 |
* Style, colour, and layout options.
|
22 |
-
*
|
23 |
* Works with all built-in WordPress options for adding your music, including the recently introduced *Create Audio Playlist* drag & drop interface.
|
24 |
|
25 |
|
@@ -115,6 +115,9 @@ Either on the [forum at Wordpress](https://wordpress.org/support/plugin/mp3-jpla
|
|
115 |
|
116 |
== Changelog ==
|
117 |
|
|
|
|
|
|
|
118 |
= 2.5 =
|
119 |
* New feature: Auto Resume, gives near-continuous audio between pages (there will be a short pause as the next page loads). Resuming will work wherever you have used the same piece of audio across pages.
|
120 |
* Updated the Settings page layout with clearer interfaces, better descriptions, and easier access to information.
|
6 |
Tags: audio, audio player, audio playlist, mp3 player, music player, media, mobile, iphone, ipad, integration, multisite, playlist player, media player, audio widget, audio download, html5 audio, music player, mp3, music, html5, flash, jplayer, playlist, jquery, shortcode, widget, css, post, page, sidebar, html 5
|
7 |
License: GPLv2 or later
|
8 |
Requires at least: 2.9
|
9 |
+
Tested up to: 4.4
|
10 |
+
Stable tag: 2.6
|
11 |
|
12 |
Easy, Flexible Audio for WordPress.
|
13 |
|
19 |
* Near-continuous playback between pages.
|
20 |
* Play from your media library, uploaded folders, and urls.
|
21 |
* Style, colour, and layout options.
|
22 |
+
* Player widgets, popout players and buttons, and smooth downloads.
|
23 |
* Works with all built-in WordPress options for adding your music, including the recently introduced *Create Audio Playlist* drag & drop interface.
|
24 |
|
25 |
|
115 |
|
116 |
== Changelog ==
|
117 |
|
118 |
+
= 2.6 =
|
119 |
+
* The plugin can now be translated. The .pot file is in the 'lang' folder of the plugin.
|
120 |
+
|
121 |
= 2.5 =
|
122 |
* New feature: Auto Resume, gives near-continuous audio between pages (there will be a short pause as the next page loads). Resuming will work wherever you have used the same piece of audio across pages.
|
123 |
* Updated the Settings page layout with clearer interfaces, better descriptions, and easier access to information.
|
widget-sh.php
CHANGED
@@ -6,7 +6,7 @@
|
|
6 |
*/
|
7 |
|
8 |
if ( class_exists("WP_Widget") ) {
|
9 |
-
if ( !class_exists("MP3j_single") ) {
|
10 |
|
11 |
class MP3j_single extends WP_Widget {
|
12 |
|
@@ -14,13 +14,12 @@ if ( class_exists("WP_Widget") ) {
|
|
14 |
{
|
15 |
$widget_ops = array(
|
16 |
'classname' => 'mp3jplayerwidget2',
|
17 |
-
'description' => __('Add audio players by writing shortcodes.',
|
18 |
-
'mp3jplayerwidget2')
|
19 |
);
|
20 |
$control_ops = array(
|
21 |
'id_base' => 'mp3mi-widget'
|
22 |
);
|
23 |
-
parent::__construct( 'mp3mi-widget', __('MP3-jPlayer|Shortcodes', '
|
24 |
}
|
25 |
|
26 |
|
@@ -84,21 +83,21 @@ if ( class_exists("WP_Widget") ) {
|
|
84 |
);
|
85 |
$instance = wp_parse_args( (array) $instance, $defaultvalues );
|
86 |
?>
|
87 |
-
<h3
|
88 |
<textarea class="widefat" style="font-size:11px;" rows="8" cols="85" id="<?php echo $this->get_field_id( 'arb_text' ); ?>" name="<?php echo $this->get_field_name( 'arb_text' ); ?>"><?php echo $MP3JP->strip_scripts( $instance['arb_text'] ); ?></textarea>
|
89 |
|
90 |
-
<br><h3
|
91 |
<input class="widefat" type="text" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" value="<?php echo $MP3JP->strip_scripts( $instance['title'] ); ?>" />
|
92 |
|
93 |
-
<br><h3
|
94 |
-
<p style="line-height:200%; margin-top:-10px;"><strong
|
95 |
-
<input type="radio" id="<?php echo $this->get_field_id( 'restrict_mode' ); ?>" name="<?php echo $this->get_field_name( 'restrict_mode' ); ?>" value="include" <?php if ($instance['restrict_mode'] == "include") {
|
96 |
-
or
|
97 |
-
<input type="radio" id="<?php echo $this->get_field_id( 'restrict_mode' ); ?>" name="<?php echo $this->get_field_name( 'restrict_mode' ); ?>" value="exclude" <?php if ($instance['restrict_mode'] == "exclude") {
|
98 |
-
<strong
|
99 |
<input type="text" class="widefat" style="font-size:11px; width:200px;" id="<?php echo $this->get_field_id( 'restrict_list' ); ?>" name="<?php echo $this->get_field_name( 'restrict_list' ); ?>" value="<?php echo $MP3JP->strip_scripts( $instance['restrict_list'] ); ?>" />
|
100 |
</p>
|
101 |
-
<p style="line-height:140%; margin-top:-8px; margin-bottom:20px;"><span
|
102 |
|
103 |
|
104 |
|
6 |
*/
|
7 |
|
8 |
if ( class_exists("WP_Widget") ) {
|
9 |
+
if ( ! class_exists("MP3j_single") ) {
|
10 |
|
11 |
class MP3j_single extends WP_Widget {
|
12 |
|
14 |
{
|
15 |
$widget_ops = array(
|
16 |
'classname' => 'mp3jplayerwidget2',
|
17 |
+
'description' => __( 'Add audio players by writing shortcodes.', 'mp3-jplayer' )
|
|
|
18 |
);
|
19 |
$control_ops = array(
|
20 |
'id_base' => 'mp3mi-widget'
|
21 |
);
|
22 |
+
parent::__construct( 'mp3mi-widget', __( 'MP3-jPlayer|Shortcodes', 'mp3-jplayer' ), $widget_ops, $control_ops );
|
23 |
}
|
24 |
|
25 |
|
83 |
);
|
84 |
$instance = wp_parse_args( (array) $instance, $defaultvalues );
|
85 |
?>
|
86 |
+
<h3><?php _e( 'Shortcodes:', 'mp3-jplayer' ); ?></h3>
|
87 |
<textarea class="widefat" style="font-size:11px;" rows="8" cols="85" id="<?php echo $this->get_field_id( 'arb_text' ); ?>" name="<?php echo $this->get_field_name( 'arb_text' ); ?>"><?php echo $MP3JP->strip_scripts( $instance['arb_text'] ); ?></textarea>
|
88 |
|
89 |
+
<br><h3><?php _e( 'Widget Heading:', 'mp3-jplayer' ); ?></h3>
|
90 |
<input class="widefat" type="text" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" value="<?php echo $MP3JP->strip_scripts( $instance['title'] ); ?>" />
|
91 |
|
92 |
+
<br><h3><?php _e( 'Page Filter:', 'mp3-jplayer' ); ?></h3>
|
93 |
+
<p style="line-height:200%; margin-top:-10px;"><strong><?php _e( 'Include', 'mp3-jplayer' ); ?></strong>
|
94 |
+
<input type="radio" id="<?php echo $this->get_field_id( 'restrict_mode' ); ?>" name="<?php echo $this->get_field_name( 'restrict_mode' ); ?>" value="include" <?php if ($instance['restrict_mode'] == "include") { echo 'checked="checked"'; }?> />
|
95 |
+
<?php _e( 'or', 'mp3-jplayer' ); ?>
|
96 |
+
<input type="radio" id="<?php echo $this->get_field_id( 'restrict_mode' ); ?>" name="<?php echo $this->get_field_name( 'restrict_mode' ); ?>" value="exclude" <?php if ($instance['restrict_mode'] == "exclude") { echo 'checked="checked"'; }?> />
|
97 |
+
<strong><?php _e( 'Exclude', 'mp3-jplayer' ); ?></strong>
|
98 |
<input type="text" class="widefat" style="font-size:11px; width:200px;" id="<?php echo $this->get_field_id( 'restrict_list' ); ?>" name="<?php echo $this->get_field_name( 'restrict_list' ); ?>" value="<?php echo $MP3JP->strip_scripts( $instance['restrict_list'] ); ?>" />
|
99 |
</p>
|
100 |
+
<p style="line-height:140%; margin-top:-8px; margin-bottom:20px;"><span><?php _e( 'A comma separated list, it can contain <code>index</code>, <code>archive</code>, <code>post</code>, <code>search</code>, and any <strong>post IDs</strong>.', 'mp3-jplayer' ); ?></span></p>
|
101 |
|
102 |
|
103 |
|
widget-ui.php
CHANGED
@@ -14,13 +14,12 @@ if ( class_exists("WP_Widget") ) {
|
|
14 |
{
|
15 |
$widget_ops = array(
|
16 |
'classname' => 'mp3jplayerwidget',
|
17 |
-
'description' => __('Adds a playlist player. Choose playback mode and options.',
|
18 |
-
'mp3jplayerwidget')
|
19 |
);
|
20 |
$control_ops = array(
|
21 |
'id_base' => 'mp3-jplayer-widget'
|
22 |
);
|
23 |
-
parent::__construct( 'mp3-jplayer-widget', __('MP3-jPlayer|Playlister', '
|
24 |
}
|
25 |
|
26 |
|
@@ -225,25 +224,25 @@ if ( class_exists("WP_Widget") ) {
|
|
225 |
$helptext_col = "color:#a0a0a0;";
|
226 |
?>
|
227 |
|
228 |
-
<h3
|
229 |
-
<input type="radio" id="<?php echo $this->get_field_id( 'widget_mode' ); ?>_0" name="<?php echo $this->get_field_name( 'widget_mode' ); ?>" value="0" <?php if ($instance['widget_mode'] == "0") {
|
230 |
-
<label style="padding:0; margin:0;" for="<?php echo $this->get_field_id( 'widget_mode' ); ?>_0"><strong
|
231 |
-
<p style="margin:3px 0 15px 18px;"><span class="description"
|
232 |
|
233 |
-
<input type="radio" id="<?php echo $this->get_field_id( 'widget_mode' ); ?>_1" name="<?php echo $this->get_field_name( 'widget_mode' ); ?>" value="1" <?php if ($instance['widget_mode'] == "1") {
|
234 |
-
<label for="<?php echo $this->get_field_id( 'widget_mode' ); ?>_1"><strong
|
235 |
-
<p style="margin:3px 0 15px 18px;"><span class="description"
|
236 |
|
237 |
-
<input type="radio" id="<?php echo $this->get_field_id( 'widget_mode' ); ?>_2" name="<?php echo $this->get_field_name( 'widget_mode' ); ?>" value="2" <?php if ($instance['widget_mode'] == "2") {
|
238 |
-
<label for="<?php echo $this->get_field_id( 'widget_mode' ); ?>_2"><strong
|
239 |
-
<p style="margin:3px 0 10px 18px;"><span class="description"
|
240 |
<div style="margin:0px 0 15px 24px;"><textarea class="widefat" style="font-size:11px;" rows="4" cols="80" id="<?php echo $this->get_field_id( 'arb_playlist' ); ?>" name="<?php echo $this->get_field_name( 'arb_playlist' ); ?>"><?php echo $instance['arb_playlist']; ?></textarea></div>
|
241 |
|
242 |
-
<input type="radio" id="<?php echo $this->get_field_id( 'widget_mode' ); ?>_3" name="<?php echo $this->get_field_name( 'widget_mode' ); ?>" value="3" <?php if ($instance['widget_mode'] == "3") {
|
243 |
-
<label for="<?php echo $this->get_field_id( 'widget_mode' ); ?>_3"><strong
|
244 |
<div style="margin-left:24px;">
|
245 |
-
<p style="margin-bottom:0px;"><input type="checkbox" id="<?php echo $this->get_field_id( 'play_library' ); ?>" name="<?php echo $this->get_field_name( 'play_library' ); ?>" value="true" <?php if ($instance['play_library'] == "true") {
|
246 |
-
My library
|
247 |
|
248 |
<?php
|
249 |
$folder = $instance['folder_to_play'];
|
@@ -259,129 +258,129 @@ if ( class_exists("WP_Widget") ) {
|
|
259 |
$txt .= " available";
|
260 |
} else {
|
261 |
$style = "color:#aaa;";
|
262 |
-
$txt =
|
263 |
}
|
264 |
}
|
265 |
elseif ( $fdetails === true )
|
266 |
{
|
267 |
-
$txt =
|
268 |
$style = "color:#dfad00;";
|
269 |
}
|
270 |
else
|
271 |
{
|
272 |
-
$txt =
|
273 |
$style = "color:#f56b0f;";
|
274 |
}
|
275 |
?>
|
276 |
-
<p style="margin-top:2px; margin-bottom:5px;"><input type="checkbox" id="<?php echo $this->get_field_id( 'play_folder' ); ?>" name="<?php echo $this->get_field_name( 'play_folder' ); ?>" value="true" <?php if ($instance['play_folder'] == "true") {
|
277 |
-
A folder:
|
278 |
<input class="widefat" type="text" style="max-width:200px; font-size:12px;" id="<?php echo $this->get_field_id( 'folder_to_play' ); ?>" name="<?php echo $this->get_field_name( 'folder_to_play' ); ?>" value="<?php echo $instance['folder_to_play']; ?>" /></p>
|
279 |
<p class="description" style="margin:0px 0px 0px 80px; font-size:12px; font-weight:700; <?php echo $style; ?>"><?php echo $txt; ?></p>
|
280 |
</div>
|
281 |
|
282 |
|
283 |
<hr/>
|
284 |
-
<h3
|
285 |
|
286 |
<div style="float:left; margin:0 30px 0 0; padding:6px 0 20px 0;">
|
287 |
-
<p style="margin:0 0 2px 0;"><input type="checkbox" id="<?php echo $this->get_field_id( 'autoplay' ); ?>" name="<?php echo $this->get_field_name( 'autoplay' ); ?>" value="true" <?php if ($instance['autoplay'] == "true") {
|
288 |
-
<strong
|
289 |
|
290 |
-
<p style="margin:0 0 2px 0;"><input type="checkbox" id="<?php echo $this->get_field_id( 'loop' ); ?>" name="<?php echo $this->get_field_name( 'loop' ); ?>" value="true" <?php if ($instance['loop'] == "true") {
|
291 |
-
<strong
|
292 |
|
293 |
-
<p style="margin:0 0 2px 0;"><input type="checkbox" id="<?php echo $this->get_field_id( 'playlist_mode' ); ?>" name="<?php echo $this->get_field_name( 'playlist_mode' ); ?>" value="true" <?php if ($instance['playlist_mode'] == "true") {
|
294 |
-
<strong
|
295 |
|
296 |
-
<p style="margin:0 0 2px 0;"><input type="checkbox" id="<?php echo $this->get_field_id( 'images' ); ?>" name="<?php echo $this->get_field_name( 'images' ); ?>" value="true" <?php if ($instance['images'] == "true") {
|
297 |
-
<strong
|
298 |
|
299 |
-
<p style="margin:0 0 2px 0;"><input type="checkbox" id="<?php echo $this->get_field_id( 'stop_button' ); ?>" name="<?php echo $this->get_field_name( 'stop_button' ); ?>" value="true" <?php if ($instance['stop_button'] == "true") {
|
300 |
-
<strong
|
301 |
|
302 |
-
<p style="margin:0 0 2px 0;"><input type="checkbox" id="<?php echo $this->get_field_id( 'pn_buttons' ); ?>" name="<?php echo $this->get_field_name( 'pn_buttons' ); ?>" value="true" <?php if ($instance['pn_buttons'] == "true") {
|
303 |
-
<strong
|
304 |
|
305 |
|
306 |
|
307 |
-
<p style="margin:0 0 2px 0;"><input type="checkbox" id="<?php echo $this->get_field_id( 'shuffle' ); ?>" name="<?php echo $this->get_field_name( 'shuffle' ); ?>" value="true" <?php if ($instance['shuffle'] == "true") {
|
308 |
-
<strong
|
309 |
</div>
|
310 |
|
311 |
<div style="float:right; padding:0px 0 10px 0;">
|
312 |
<table>
|
313 |
<tr>
|
314 |
-
<td><strong
|
315 |
<td><input class="widefat" style="width:40px; text-align:right;" type="text" id="<?php echo $this->get_field_id( 'volume' ); ?>" name="<?php echo $this->get_field_name( 'volume' ); ?>" value="<?php echo $instance['volume']; ?>" />
|
316 |
<span class="description">(0 - 100)</span></td>
|
317 |
</tr>
|
318 |
|
319 |
<tr>
|
320 |
-
<td><strong
|
321 |
<td><input class="widefat" style="width:40px; text-align:right;" type="text" id="<?php echo $this->get_field_id( 'slice_size' ); ?>" name="<?php echo $this->get_field_name( 'slice_size' ); ?>" value="<?php echo $instance['slice_size']; ?>" />
|
322 |
-
<span class="description"
|
323 |
</tr>
|
324 |
<tr>
|
325 |
-
<td><strong
|
326 |
<td><select id="<?php echo $this->get_field_id( 'download_link' ); ?>" name="<?php echo $this->get_field_name( 'download_link' ); ?>" class="widefat" style="max-width:100px;">
|
327 |
-
<option value="true" <?php if ( 'true' == $instance['download_link'] ) { echo 'selected="selected"'; }
|
328 |
-
<option value="false" <?php if ( 'false' == $instance['download_link'] ) { echo 'selected="selected"'; }
|
329 |
-
<option value="loggedin" <?php if ( 'loggedin' == $instance['download_link'] ) { echo 'selected="selected"'; }
|
330 |
</select></td>
|
331 |
</tr>
|
332 |
<tr>
|
333 |
-
<td><strong
|
334 |
<td><input class="widefat" style="max-width:100px;" type="text" id="<?php echo $this->get_field_id( 'player_width' ); ?>" name="<?php echo $this->get_field_name( 'player_width' ); ?>" value="<?php echo $instance['player_width']; ?>" /></td>
|
335 |
</tr>
|
336 |
<tr>
|
337 |
-
<td><strong
|
338 |
<td><input class="widefat" style="max-width:100px;" type="text" id="<?php echo $this->get_field_id( 'player_height' ); ?>" name="<?php echo $this->get_field_name( 'player_height' ); ?>" value="<?php echo $instance['player_height']; ?>" /></td>
|
339 |
</tr>
|
340 |
<tr>
|
341 |
-
<td><strong
|
342 |
<td><select id="<?php echo $this->get_field_id( 'position' ); ?>" name="<?php echo $this->get_field_name( 'position' ); ?>" class="widefat" style="max-width:100px;">
|
343 |
-
<option value="rel-L" <?php if ( 'rel-L' == $instance['position'] ) { echo 'selected="selected"'; }
|
344 |
-
<option value="rel-C" <?php if ( 'rel-C' == $instance['position'] ) { echo 'selected="selected"'; }
|
345 |
-
<option value="rel-R" <?php if ( 'rel-R' == $instance['position'] ) { echo 'selected="selected"'; }
|
346 |
-
<option value="left" <?php if ( 'left' == $instance['position'] ) { echo 'selected="selected"'; }
|
347 |
-
<option value="right" <?php if ( 'right' == $instance['position'] ) { echo 'selected="selected"'; }
|
348 |
</select></td>
|
349 |
</tr>
|
350 |
</table>
|
351 |
</div>
|
352 |
|
353 |
<br class="clear">
|
354 |
-
<strong
|
355 |
-
<input class="widefat" style="max-width:80%;" type="text" id="<?php echo $this->get_field_id( 'style' ); ?>" name="<?php echo $this->get_field_name( 'style' ); ?>" value="<?php echo $instance['style']; ?>"
|
356 |
|
357 |
|
358 |
|
359 |
|
360 |
|
361 |
<br><br><br><hr/>
|
362 |
-
<h3
|
363 |
<input class="widefat" type="text" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" value="<?php echo $instance['title']; ?>" />
|
364 |
|
365 |
|
366 |
|
367 |
<br>
|
368 |
-
<h3
|
369 |
-
<p style="line-height:200%; margin-top:-10px;"><strong
|
370 |
-
<input type="radio" id="<?php echo $this->get_field_id( 'restrict_mode' ); ?>" name="<?php echo $this->get_field_name( 'restrict_mode' ); ?>" value="include" <?php if ($instance['restrict_mode'] == "include") {
|
371 |
-
or
|
372 |
-
<input type="radio" id="<?php echo $this->get_field_id( 'restrict_mode' ); ?>" name="<?php echo $this->get_field_name( 'restrict_mode' ); ?>" value="exclude" <?php if ($instance['restrict_mode'] == "exclude") {
|
373 |
-
<strong
|
374 |
<input class="widefat" style="font-size:11px; max-width:200px;" type="text" id="<?php echo $this->get_field_id( 'restrict_list' ); ?>" name="<?php echo $this->get_field_name( 'restrict_list' ); ?>" value="<?php echo $instance['restrict_list']; ?>" />
|
375 |
</p>
|
376 |
-
<p style="line-height:140%; margin-top:-8px; margin-bottom:20px;"><span
|
377 |
|
378 |
|
379 |
|
380 |
<!--retired-->
|
381 |
-
<div style="display:none;"><input type="checkbox" id="<?php echo $this->get_field_id( 'play_page' ); ?>" name="<?php echo $this->get_field_name( 'play_page' ); ?>" value="true" <?php if ($instance['play_page'] == "true") {
|
382 |
From page ID
|
383 |
<input class="widefat" style="width:55px;" type="text" id="<?php echo $this->get_field_id( 'id_to_play' ); ?>" name="<?php echo $this->get_field_name( 'id_to_play' ); ?>" value="<?php echo $instance['id_to_play']; ?>" />
|
384 |
-
<input type="checkbox" id="<?php echo $this->get_field_id( 'mods' ); ?>" name="<?php echo $this->get_field_name( 'mods' ); ?>" value="true" <?php if ($instance['mods'] == "true") {
|
385 |
</div>
|
386 |
|
387 |
<hr/><br>
|
14 |
{
|
15 |
$widget_ops = array(
|
16 |
'classname' => 'mp3jplayerwidget',
|
17 |
+
'description' => __('Adds a playlist player. Choose playback mode and options.', 'mp3-jplayer' )
|
|
|
18 |
);
|
19 |
$control_ops = array(
|
20 |
'id_base' => 'mp3-jplayer-widget'
|
21 |
);
|
22 |
+
parent::__construct( 'mp3-jplayer-widget', __( 'MP3-jPlayer|Playlister', 'mp3-jplayer' ), $widget_ops, $control_ops );
|
23 |
}
|
24 |
|
25 |
|
224 |
$helptext_col = "color:#a0a0a0;";
|
225 |
?>
|
226 |
|
227 |
+
<h3><?php _e( 'Play Mode:', 'mp3-jplayer' ); ?></h3>
|
228 |
+
<input type="radio" id="<?php echo $this->get_field_id( 'widget_mode' ); ?>_0" name="<?php echo $this->get_field_name( 'widget_mode' ); ?>" value="0" <?php if ($instance['widget_mode'] == "0") { echo 'checked="checked"'; }?> />
|
229 |
+
<label style="padding:0; margin:0;" for="<?php echo $this->get_field_id( 'widget_mode' ); ?>_0"><strong><?php _e( 'Play Attached audio', 'mp3-jplayer' ); ?></strong></label>
|
230 |
+
<p style="margin:3px 0 15px 18px;"><span class="description"><?php _e( 'Automatically adds a player on SINGLE posts/pages when they have audio attachments.', 'mp3-jplayer' ); ?></span></p>
|
231 |
|
232 |
+
<input type="radio" id="<?php echo $this->get_field_id( 'widget_mode' ); ?>_1" name="<?php echo $this->get_field_name( 'widget_mode' ); ?>" value="1" <?php if ($instance['widget_mode'] == "1") { echo 'checked="checked"'; }?> />
|
233 |
+
<label for="<?php echo $this->get_field_id( 'widget_mode' ); ?>_1"><strong><?php _e( 'Play Custom fields', 'mp3-jplayer' ); ?></strong></label>
|
234 |
+
<p style="margin:3px 0 15px 18px;"><span class="description"><?php _e( 'Automatically adds a player on SINGLE posts/pages, if you have used custom fields to make a playlist.', 'mp3-jplayer' ); ?></span></p>
|
235 |
|
236 |
+
<input type="radio" id="<?php echo $this->get_field_id( 'widget_mode' ); ?>_2" name="<?php echo $this->get_field_name( 'widget_mode' ); ?>" value="2" <?php if ($instance['widget_mode'] == "2") { echo 'checked="checked"'; }?> />
|
237 |
+
<label for="<?php echo $this->get_field_id( 'widget_mode' ); ?>_2"><strong><?php _e( 'Write a Playlist...', 'mp3-jplayer' ); ?></strong></label>
|
238 |
+
<p style="margin:3px 0 10px 18px;"><span class="description"><?php _e( 'A list of URLs, library/default folder filenames, or FEEDs, separated by', 'mp3-jplayer' ); ?></span> <code><?php echo $MP3JP->theSettings['f_separator']; ?></code></p>
|
239 |
<div style="margin:0px 0 15px 24px;"><textarea class="widefat" style="font-size:11px;" rows="4" cols="80" id="<?php echo $this->get_field_id( 'arb_playlist' ); ?>" name="<?php echo $this->get_field_name( 'arb_playlist' ); ?>"><?php echo $instance['arb_playlist']; ?></textarea></div>
|
240 |
|
241 |
+
<input type="radio" id="<?php echo $this->get_field_id( 'widget_mode' ); ?>_3" name="<?php echo $this->get_field_name( 'widget_mode' ); ?>" value="3" <?php if ($instance['widget_mode'] == "3") { echo 'checked="checked"'; }?> />
|
242 |
+
<label for="<?php echo $this->get_field_id( 'widget_mode' ); ?>_3"><strong><?php _e( 'Generate Playlist...', 'mp3-jplayer' ); ?></strong></label>
|
243 |
<div style="margin-left:24px;">
|
244 |
+
<p style="margin-bottom:0px;"><input type="checkbox" id="<?php echo $this->get_field_id( 'play_library' ); ?>" name="<?php echo $this->get_field_name( 'play_library' ); ?>" value="true" <?php if ($instance['play_library'] == "true") { echo 'checked="checked"'; }?> />
|
245 |
+
<?php _e( 'My library', 'mp3-jplayer' ); ?></p>
|
246 |
|
247 |
<?php
|
248 |
$folder = $instance['folder_to_play'];
|
258 |
$txt .= " available";
|
259 |
} else {
|
260 |
$style = "color:#aaa;";
|
261 |
+
$txt = __( 'There are no audio files here', 'mp3-jplayer' );
|
262 |
}
|
263 |
}
|
264 |
elseif ( $fdetails === true )
|
265 |
{
|
266 |
+
$txt = __( 'Folder not found, check path and permissions', 'mp3-jplayer' );
|
267 |
$style = "color:#dfad00;";
|
268 |
}
|
269 |
else
|
270 |
{
|
271 |
+
$txt = __( 'Remote or inaccessible folder', 'mp3-jplayer' );
|
272 |
$style = "color:#f56b0f;";
|
273 |
}
|
274 |
?>
|
275 |
+
<p style="margin-top:2px; margin-bottom:5px;"><input type="checkbox" id="<?php echo $this->get_field_id( 'play_folder' ); ?>" name="<?php echo $this->get_field_name( 'play_folder' ); ?>" value="true" <?php if ($instance['play_folder'] == "true") { echo 'checked="checked"'; }?> />
|
276 |
+
<?php _e( 'A folder:', 'mp3-jplayer' ); ?>
|
277 |
<input class="widefat" type="text" style="max-width:200px; font-size:12px;" id="<?php echo $this->get_field_id( 'folder_to_play' ); ?>" name="<?php echo $this->get_field_name( 'folder_to_play' ); ?>" value="<?php echo $instance['folder_to_play']; ?>" /></p>
|
278 |
<p class="description" style="margin:0px 0px 0px 80px; font-size:12px; font-weight:700; <?php echo $style; ?>"><?php echo $txt; ?></p>
|
279 |
</div>
|
280 |
|
281 |
|
282 |
<hr/>
|
283 |
+
<h3><?php _e( 'Player Settings:', 'mp3-jplayer' ); ?></h3>
|
284 |
|
285 |
<div style="float:left; margin:0 30px 0 0; padding:6px 0 20px 0;">
|
286 |
+
<p style="margin:0 0 2px 0;"><input type="checkbox" id="<?php echo $this->get_field_id( 'autoplay' ); ?>" name="<?php echo $this->get_field_name( 'autoplay' ); ?>" value="true" <?php if ($instance['autoplay'] == "true") { echo 'checked="checked"'; }?> />
|
287 |
+
<strong><?php _e( 'Autoplay', 'mp3-jplayer' ); ?></strong></p>
|
288 |
|
289 |
+
<p style="margin:0 0 2px 0;"><input type="checkbox" id="<?php echo $this->get_field_id( 'loop' ); ?>" name="<?php echo $this->get_field_name( 'loop' ); ?>" value="true" <?php if ($instance['loop'] == "true") { echo 'checked="checked"'; }?> />
|
290 |
+
<strong><?php _e( 'Repeat', 'mp3-jplayer' ); ?></strong></p>
|
291 |
|
292 |
+
<p style="margin:0 0 2px 0;"><input type="checkbox" id="<?php echo $this->get_field_id( 'playlist_mode' ); ?>" name="<?php echo $this->get_field_name( 'playlist_mode' ); ?>" value="true" <?php if ($instance['playlist_mode'] == "true") { echo 'checked="checked"'; }?> />
|
293 |
+
<strong><?php _e( 'Show playlist', 'mp3-jplayer' ); ?></strong></p>
|
294 |
|
295 |
+
<p style="margin:0 0 2px 0;"><input type="checkbox" id="<?php echo $this->get_field_id( 'images' ); ?>" name="<?php echo $this->get_field_name( 'images' ); ?>" value="true" <?php if ($instance['images'] == "true") { echo 'checked="checked"'; }?> />
|
296 |
+
<strong><?php _e( 'Show images', 'mp3-jplayer' ); ?></strong></p>
|
297 |
|
298 |
+
<p style="margin:0 0 2px 0;"><input type="checkbox" id="<?php echo $this->get_field_id( 'stop_button' ); ?>" name="<?php echo $this->get_field_name( 'stop_button' ); ?>" value="true" <?php if ($instance['stop_button'] == "true") { echo 'checked="checked"'; }?> />
|
299 |
+
<strong><?php _e( 'Stop button', 'mp3-jplayer' ); ?></strong></p>
|
300 |
|
301 |
+
<p style="margin:0 0 2px 0;"><input type="checkbox" id="<?php echo $this->get_field_id( 'pn_buttons' ); ?>" name="<?php echo $this->get_field_name( 'pn_buttons' ); ?>" value="true" <?php if ($instance['pn_buttons'] == "true") { echo 'checked="checked"'; }?> />
|
302 |
+
<strong><?php _e( 'Prev/next', 'mp3-jplayer' ); ?></strong></p>
|
303 |
|
304 |
|
305 |
|
306 |
+
<p style="margin:0 0 2px 0;"><input type="checkbox" id="<?php echo $this->get_field_id( 'shuffle' ); ?>" name="<?php echo $this->get_field_name( 'shuffle' ); ?>" value="true" <?php if ($instance['shuffle'] == "true") { echo 'checked="checked"'; }?> />
|
307 |
+
<strong><?php _e( 'Shuffle', 'mp3-jplayer' ); ?></strong></p>
|
308 |
</div>
|
309 |
|
310 |
<div style="float:right; padding:0px 0 10px 0;">
|
311 |
<table>
|
312 |
<tr>
|
313 |
+
<td><strong><?php _e( 'Volume', 'mp3-jplayer' ); ?></strong>:</td>
|
314 |
<td><input class="widefat" style="width:40px; text-align:right;" type="text" id="<?php echo $this->get_field_id( 'volume' ); ?>" name="<?php echo $this->get_field_name( 'volume' ); ?>" value="<?php echo $instance['volume']; ?>" />
|
315 |
<span class="description">(0 - 100)</span></td>
|
316 |
</tr>
|
317 |
|
318 |
<tr>
|
319 |
+
<td><strong><?php _e( 'Pick', 'mp3-jplayer' ); ?></strong>:</td>
|
320 |
<td><input class="widefat" style="width:40px; text-align:right;" type="text" id="<?php echo $this->get_field_id( 'slice_size' ); ?>" name="<?php echo $this->get_field_name( 'slice_size' ); ?>" value="<?php echo $instance['slice_size']; ?>" />
|
321 |
+
<span class="description"><?php _e( 'track(s)', 'mp3-jplayer' ); ?></span></td>
|
322 |
</tr>
|
323 |
<tr>
|
324 |
+
<td><strong><?php _e( 'Download', 'mp3-jplayer' ); ?></strong>:</td>
|
325 |
<td><select id="<?php echo $this->get_field_id( 'download_link' ); ?>" name="<?php echo $this->get_field_name( 'download_link' ); ?>" class="widefat" style="max-width:100px;">
|
326 |
+
<option value="true" <?php if ( 'true' == $instance['download_link'] ) { echo 'selected="selected"'; } ?>><?php _e( 'Yes', 'mp3-jplayer' ); ?></option>
|
327 |
+
<option value="false" <?php if ( 'false' == $instance['download_link'] ) { echo 'selected="selected"'; } ?>><?php _e( 'No', 'mp3-jplayer' ); ?></option>
|
328 |
+
<option value="loggedin" <?php if ( 'loggedin' == $instance['download_link'] ) { echo 'selected="selected"'; } ?>><?php _e( 'Logged in', 'mp3-jplayer' ); ?></option>
|
329 |
</select></td>
|
330 |
</tr>
|
331 |
<tr>
|
332 |
+
<td><strong><?php _e( 'Width', 'mp3-jplayer' ); ?></strong>:</td>
|
333 |
<td><input class="widefat" style="max-width:100px;" type="text" id="<?php echo $this->get_field_id( 'player_width' ); ?>" name="<?php echo $this->get_field_name( 'player_width' ); ?>" value="<?php echo $instance['player_width']; ?>" /></td>
|
334 |
</tr>
|
335 |
<tr>
|
336 |
+
<td><strong><?php _e( 'Height', 'mp3-jplayer' ); ?></strong>:</td>
|
337 |
<td><input class="widefat" style="max-width:100px;" type="text" id="<?php echo $this->get_field_id( 'player_height' ); ?>" name="<?php echo $this->get_field_name( 'player_height' ); ?>" value="<?php echo $instance['player_height']; ?>" /></td>
|
338 |
</tr>
|
339 |
<tr>
|
340 |
+
<td><strong><?php _e( 'Align', 'mp3-jplayer' ); ?></strong>:</td>
|
341 |
<td><select id="<?php echo $this->get_field_id( 'position' ); ?>" name="<?php echo $this->get_field_name( 'position' ); ?>" class="widefat" style="max-width:100px;">
|
342 |
+
<option value="rel-L" <?php if ( 'rel-L' == $instance['position'] ) { echo 'selected="selected"'; } ?>><?php _e( 'Left', 'mp3-jplayer' ); ?></option>
|
343 |
+
<option value="rel-C" <?php if ( 'rel-C' == $instance['position'] ) { echo 'selected="selected"'; } ?>><?php _e( 'Centre', 'mp3-jplayer' ); ?></option>
|
344 |
+
<option value="rel-R" <?php if ( 'rel-R' == $instance['position'] ) { echo 'selected="selected"'; } ?>><?php _e( 'Right', 'mp3-jplayer' ); ?></option>
|
345 |
+
<option value="left" <?php if ( 'left' == $instance['position'] ) { echo 'selected="selected"'; } ?>><?php _e( 'Float left', 'mp3-jplayer' ); ?></option>
|
346 |
+
<option value="right" <?php if ( 'right' == $instance['position'] ) { echo 'selected="selected"'; } ?>><?php _e( 'Float right', 'mp3-jplayer' ); ?></option>
|
347 |
</select></td>
|
348 |
</tr>
|
349 |
</table>
|
350 |
</div>
|
351 |
|
352 |
<br class="clear">
|
353 |
+
<strong><?php _e( 'Style', 'mp3-jplayer' ); ?></strong>:<br>
|
354 |
+
<input class="widefat" style="max-width:80%;" type="text" id="<?php echo $this->get_field_id( 'style' ); ?>" name="<?php echo $this->get_field_name( 'style' ); ?>" value="<?php echo $instance['style']; ?>" />
|
355 |
|
356 |
|
357 |
|
358 |
|
359 |
|
360 |
<br><br><br><hr/>
|
361 |
+
<h3><?php _e( 'Widget Heading:', 'mp3-jplayer' ); ?></h3>
|
362 |
<input class="widefat" type="text" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" value="<?php echo $instance['title']; ?>" />
|
363 |
|
364 |
|
365 |
|
366 |
<br>
|
367 |
+
<h3><?php _e( 'Page Filter:', 'mp3-jplayer' ); ?></h3>
|
368 |
+
<p style="line-height:200%; margin-top:-10px;"><strong><?php _e( 'Include', 'mp3-jplayer' ); ?></strong>
|
369 |
+
<input type="radio" id="<?php echo $this->get_field_id( 'restrict_mode' ); ?>" name="<?php echo $this->get_field_name( 'restrict_mode' ); ?>" value="include" <?php if ($instance['restrict_mode'] == "include") { echo 'checked="checked"'; }?> />
|
370 |
+
<?php _e( 'or', 'mp3-jplayer' ); ?>
|
371 |
+
<input type="radio" id="<?php echo $this->get_field_id( 'restrict_mode' ); ?>" name="<?php echo $this->get_field_name( 'restrict_mode' ); ?>" value="exclude" <?php if ($instance['restrict_mode'] == "exclude") { echo 'checked="checked"'; }?> />
|
372 |
+
<strong><?php _e( 'Exclude', 'mp3-jplayer' ); ?></strong>
|
373 |
<input class="widefat" style="font-size:11px; max-width:200px;" type="text" id="<?php echo $this->get_field_id( 'restrict_list' ); ?>" name="<?php echo $this->get_field_name( 'restrict_list' ); ?>" value="<?php echo $instance['restrict_list']; ?>" />
|
374 |
</p>
|
375 |
+
<p style="line-height:140%; margin-top:-8px; margin-bottom:20px;"><span><?php _e( 'A comma separated list, it can contain <code>index</code>, <code>archive</code>, <code>post</code>, <code>search</code>, and any <strong>post IDs</strong>.', 'mp3-jplayer' ); ?></span></p>
|
376 |
|
377 |
|
378 |
|
379 |
<!--retired-->
|
380 |
+
<div style="display:none;"><input type="checkbox" id="<?php echo $this->get_field_id( 'play_page' ); ?>" name="<?php echo $this->get_field_name( 'play_page' ); ?>" value="true" <?php if ($instance['play_page'] == "true") { echo 'checked="checked"'; }?> />
|
381 |
From page ID
|
382 |
<input class="widefat" style="width:55px;" type="text" id="<?php echo $this->get_field_id( 'id_to_play' ); ?>" name="<?php echo $this->get_field_name( 'id_to_play' ); ?>" value="<?php echo $instance['id_to_play']; ?>" />
|
383 |
+
<input type="checkbox" id="<?php echo $this->get_field_id( 'mods' ); ?>" name="<?php echo $this->get_field_name( 'mods' ); ?>" value="true" <?php if ($instance['mods'] == "true") { echo 'checked="checked"'; }?> />
|
384 |
</div>
|
385 |
|
386 |
<hr/><br>
|