diff options
author | Anthony G. Basile <blueness@gentoo.org> | 2017-05-20 17:05:38 -0400 |
---|---|---|
committer | Anthony G. Basile <blueness@gentoo.org> | 2017-05-20 17:05:53 -0400 |
commit | 09e2c3a2b3fa9bbf7ad6002339716a2158be195d (patch) | |
tree | e684128d7c6cfce2bd98925d94a7f2d2981f9d20 /themes | |
parent | Update wordpress-mobile-pack 3.0 (diff) | |
download | blogs-gentoo-09e2c3a2b3fa9bbf7ad6002339716a2158be195d.tar.gz blogs-gentoo-09e2c3a2b3fa9bbf7ad6002339716a2158be195d.tar.bz2 blogs-gentoo-09e2c3a2b3fa9bbf7ad6002339716a2158be195d.zip |
Update mantray 2.6.1
Signed-off-by: Anthony G. Basile <blueness@gentoo.org>
Diffstat (limited to 'themes')
-rw-r--r-- | themes/mantra/admin/custom-styles.php | 4 | ||||
-rw-r--r-- | themes/mantra/admin/defaults.php | 1 | ||||
-rw-r--r-- | themes/mantra/admin/js/admin.js | 322 | ||||
-rw-r--r-- | themes/mantra/admin/main.php | 126 | ||||
-rw-r--r-- | themes/mantra/admin/settings.php | 103 | ||||
-rw-r--r-- | themes/mantra/functions.php | 2 | ||||
-rw-r--r-- | themes/mantra/includes/tgm.php | 560 | ||||
-rw-r--r-- | themes/mantra/includes/theme-frontpage.php | 288 | ||||
-rw-r--r-- | themes/mantra/includes/theme-loop.php | 5 | ||||
-rw-r--r-- | themes/mantra/includes/theme-setup.php | 39 | ||||
-rw-r--r-- | themes/mantra/js/frontend.js | 59 | ||||
-rw-r--r-- | themes/mantra/languages/_mantra.mo | bin | 444 -> 0 bytes | |||
-rw-r--r-- | themes/mantra/languages/ja_JP.mo | bin | 52403 -> 0 bytes | |||
-rw-r--r-- | themes/mantra/languages/ja_JP.po | 2088 | ||||
-rw-r--r-- | themes/mantra/languages/mantra.pot (renamed from themes/mantra/languages/_mantra.po) | 1142 | ||||
-rw-r--r-- | themes/mantra/readme.txt | 18 | ||||
-rw-r--r-- | themes/mantra/searchform.php | 13 | ||||
-rw-r--r-- | themes/mantra/style.css | 73 |
18 files changed, 1430 insertions, 3413 deletions
diff --git a/themes/mantra/admin/custom-styles.php b/themes/mantra/admin/custom-styles.php index 5851283a..b544ff86 100644 --- a/themes/mantra/admin/custom-styles.php +++ b/themes/mantra/admin/custom-styles.php @@ -195,9 +195,9 @@ $mantra_googlefonttitle = str_replace('+',' ',preg_replace('/:.*/i','',$mantra_g $mantra_googlefontside = str_replace('+',' ',preg_replace('/:.*/i','',$mantra_googlefontside)); $mantra_googlefontsubheader = str_replace('+',' ',preg_replace('/:.*/i','',$mantra_googlefontsubheader)); -?><?php if (stripslashes($mantra_fontfamily) != '"Segoe UI", Arial, sans-serif' || $mantra_googlefont) { ?> body, .widget-title {font-family:<?php if (!$mantra_googlefont) echo $mantra_fontfamily; else echo "\"$mantra_googlefont\""; ?> ; }<?php } +?><?php if (stripslashes($mantra_fontfamily) != '"Segoe UI", Arial, sans-serif' || $mantra_googlefont) { ?> body, input, textarea {font-family:<?php if (!$mantra_googlefont) echo $mantra_fontfamily; else echo "\"$mantra_googlefont\""; ?> ; }<?php } ?><?php if ($mantra_fonttitle != "Default" || $mantra_googlefonttitle) { ?> #content h1.entry-title a, #content h2.entry-title a, #content h1.entry-title , #content h2.entry-title {font-family:<?php if (!$mantra_googlefonttitle) echo $mantra_fonttitle; else echo "\"$mantra_googlefonttitle\""; ?> ; }<?php } -?><?php if ($mantra_fontside != "Default" || $mantra_googlefontside) { ?> .widget-area * {font-family:<?php if (!$mantra_googlefontside) echo $mantra_fontside; else echo "\"$mantra_googlefontside\""; ?> ; }<?php } +?><?php if ($mantra_fontside != "Default" || $mantra_googlefontside) { ?> .widget-area {font-family:<?php if (!$mantra_googlefontside) echo $mantra_fontside; else echo "\"$mantra_googlefontside\""; ?> ; }<?php } ?><?php if ($mantra_fontsubheader != "Default" || $mantra_googlefontsubheader ) { ?> .entry-content h1, .entry-content h2, .entry-content h3, .entry-content h4, .entry-content h5, .entry-content h6 {font-family:<?php if (!$mantra_googlefontsubheader) echo $mantra_fontsubheader; else echo "\"$mantra_googlefontsubheader\""; ?> ; }<?php } ?><?php if ($mantra_caption != "Light") { ?> #content .wp-caption { <?php } ?><?php if ($mantra_caption == "White") { ?> background-color:#FFF;} diff --git a/themes/mantra/admin/defaults.php b/themes/mantra/admin/defaults.php index 7164994e..5027179b 100644 --- a/themes/mantra/admin/defaults.php +++ b/themes/mantra/admin/defaults.php @@ -31,6 +31,7 @@ $mantra_defaults = array( "mantra_fpslidernav" => "Bullets", "mantra_fpsliderarrows" => "Visible on Hover", +"mantra_slideShortcode" => "", "mantra_slideType" => "Custom Slides", "mantra_slideCateg" => "", "mantra_slideNumber" => "5", diff --git a/themes/mantra/admin/js/admin.js b/themes/mantra/admin/js/admin.js index 884bd820..639d7974 100644 --- a/themes/mantra/admin/js/admin.js +++ b/themes/mantra/admin/js/admin.js @@ -16,14 +16,14 @@ function media_upload( button_class) { /* var id = button.attr('id').replace('_button', ''); */ _custom_media = true; wp.media.editor.send.attachment = function(props, attachment){ - if ( _custom_media ) { - /* jQuery('.custom_media_id').val(attachment.id); */ - uploadparent.find('.slideimages').val(attachment.url); - uploadparent.find('.imagebox').attr('src',attachment.url); - /* jQuery('.custom_media_image').attr('src',attachment.url).css('display','block'); */ - } else { - return _orig_send_attachment.apply( button_id, [props, attachment] ); - } + if ( _custom_media ) { + /* jQuery('.custom_media_id').val(attachment.id); */ + uploadparent.find('.slideimages').val(attachment.url); + uploadparent.find('.imagebox').attr('src',attachment.url); + /* jQuery('.custom_media_image').attr('src',attachment.url).css('display','block'); */ + } else { + return _orig_send_attachment.apply( button_id, [props, attachment] ); + } } wp.media.editor.open(button); return false; @@ -32,147 +32,119 @@ function media_upload( button_class) { jQuery(document).ready(function() { -var uploadparent = 0; + var uploadparent = 0; media_upload( '.upload_image_button' ); -// Show/hide slides - jQuery('.slidetitle').click(function() { - jQuery(this).next().toggle("fast"); - }); - + // Show/hide slides + jQuery('.slidetitle').click(function() { + jQuery(this).next().toggle("fast"); + }); -// Jquery confim window on reset to defaults -jQuery('#mantra_defaults').click (function() { - if (!confirm('Reset Mantra Settings to Defaults?')) { return false;} + // Jquery confim window on reset to defaults + jQuery('#mantra_defaults').click (function() { + if (!confirm('Reset Mantra Settings to Defaults?')) { return false; } }); -// Hide or show dimmensions -jQuery('#mantra_dimselect').change(function() { - if (jQuery('#mantra_dimselect option:selected').val()=="Absolute") { - jQuery('#relativedim').hide("normal");jQuery('#absolutedim').show("normal"); - } - else { - jQuery('#relativedim').show("normal");jQuery('#absolutedim').hide("normal"); - } + // Hide or show dimmensions + jQuery('#mantra_dimselect').change(function() { + if (jQuery('#mantra_dimselect option:selected').val()=="Absolute") { + jQuery('#relativedim').hide("normal");jQuery('#absolutedim').show("normal"); + } else { + jQuery('#relativedim').show("normal");jQuery('#absolutedim').hide("normal"); + } }); -if (jQuery('#mantra_dimselect option:selected').val()=="Absolute") { + if (jQuery('#mantra_dimselect option:selected').val()=="Absolute") { jQuery('#relativedim').hide("normal");jQuery('#absolutedim').show("normal");} -else { + else { jQuery('#relativedim').show("normal");jQuery('#absolutedim').hide("normal"); - } - - -// Hide or show slider settings -jQuery('#mantra_slideType').change(function() { - jQuery('.slideDivs').hide("normal"); - switch (jQuery('#mantra_slideType option:selected').val()) { + } - case "Custom Slides" : - jQuery('#sliderCustomSlides').show("normal"); - break; - case "Latest Posts" : - jQuery('#sliderLatestPosts').show("normal"); - break; + // Hide or show slider settings + jQuery('#mantra_slideType').change(function() { + jQuery('.slideDivs').hide("normal"); + switch (jQuery('#mantra_slideType option:selected').val()) { - case "Random Posts" : - jQuery('#sliderRandomPosts').show("normal"); - break; - - case "Sticky Posts" : - jQuery('#sliderStickyPosts').show("normal"); - break; - - case "Latest Posts from Category" : - jQuery('#sliderLatestCateg').show("normal"); - break; - - case "Random Posts from Category" : - jQuery('#sliderRandomCateg').show("normal"); - break; - - case "Specific Posts" : - jQuery('#sliderSpecificPosts').show("normal"); - break; - - }//switch - -});//function - -jQuery('.slideDivs').hide("normal"); - switch (jQuery('#mantra_slideType option:selected').val()) { - - case "Custom Slides" : - jQuery('#sliderCustomSlides').show("normal"); - break; + case "Slider Shortcode" : + jQuery('#sliderShortcode').show("normal"); + break; + + case "Custom Slides" : + jQuery('#sliderCustomSlides').show("normal"); + break; - case "Latest Posts" : - jQuery('#sliderLatestPosts').show("normal"); - break; + case "Latest Posts" : + jQuery('#sliderLatestPosts').show("normal"); + break; - case "Random Posts" : - jQuery('#sliderRandomPosts').show("normal"); - break; + case "Random Posts" : + jQuery('#sliderRandomPosts').show("normal"); + break; - case "Sticky Posts" : - jQuery('#sliderStickyPosts').show("normal"); - break; + case "Sticky Posts" : + jQuery('#sliderStickyPosts').show("normal"); + break; - case "Latest Posts from Category" : - jQuery('#sliderLatestCateg').show("normal"); - break; + case "Latest Posts from Category" : + jQuery('#sliderLatestCateg').show("normal"); + break; - case "Random Posts from Category" : - jQuery('#sliderRandomCateg').show("normal"); - break; + case "Random Posts from Category" : + jQuery('#sliderRandomCateg').show("normal"); + break; - case "Specific Posts" : - jQuery('#sliderSpecificPosts').show("normal"); - break; -};//switch + case "Specific Posts" : + jQuery('#sliderSpecificPosts').show("normal"); + break; -//Slide type value -$sliderNr=jQuery('#mantra_slideType').val(); + }//switch -//Show category if a category type is selected -if ($sliderNr=="Latest Posts from Category" || $sliderNr=="Random Posts from Category" ) - jQuery('#slider-category').show(); -else jQuery('#slider-category').hide(); + });//function + + jQuery('#mantra_slideType').trigger('change'); -//Show number of slides if that's the case -if ($sliderNr=="Latest Posts" || $sliderNr =="Random Posts" || $sliderNr =="Sticky Posts" || $sliderNr=="Latest Posts from Category" || $sliderNr=="Random Posts from Category" ) - jQuery('#slider-post-number').show(); -else jQuery('#slider-post-number').hide(); + //Slide type value + $sliderNr = jQuery('#mantra_slideType').val(); -//On change -jQuery('#mantra_slideType').change(function(){ - $sliderNr=jQuery('#mantra_slideType').val(); -//Show category if a category type is selected + //Show category if a category type is selected if ($sliderNr=="Latest Posts from Category" || $sliderNr=="Random Posts from Category" ) - jQuery('#slider-category').show(); - else jQuery('#slider-category').hide(); -//Show number of slides if that's the case - if ($sliderNr=="Latest Posts" || $sliderNr =="Random Posts" || $sliderNr =="Sticky Posts" || $sliderNr=="Latest Posts from Category" || $sliderNr=="Random Posts from Category" ) + jQuery('#slider-category').show(); + else jQuery('#slider-category').hide(); + + //Show number of slides if that's the case + if ($sliderNr=="Latest Posts" || $sliderNr =="Random Posts" || $sliderNr =="Sticky Posts" || $sliderNr=="Latest Posts from Category" || $sliderNr=="Random Posts from Category" ) jQuery('#slider-post-number').show(); -else jQuery('#slider-post-number').hide(); - });//onchange funciton + else jQuery('#slider-post-number').hide(); + + //On change + jQuery('#mantra_slideType').change(function(){ + $sliderNr=jQuery('#mantra_slideType').val(); + //Show category if a category type is selected + if ($sliderNr=="Latest Posts from Category" || $sliderNr=="Random Posts from Category" ) + jQuery('#slider-category').show(); + else jQuery('#slider-category').hide(); + //Show number of slides if that's the case + if ($sliderNr=="Latest Posts" || $sliderNr =="Random Posts" || $sliderNr =="Sticky Posts" || $sliderNr=="Latest Posts from Category" || $sliderNr=="Random Posts from Category" ) + jQuery('#slider-post-number').show(); + else jQuery('#slider-post-number').hide(); + });//onchange funciton -// Create accordion from existing settings table + // Create accordion from existing settings table jQuery('.form-table').wrap('<div>'); jQuery(function() { if (jQuery( "#accordion h2" ).length > 0) { // wordpress 4.4+ changed headings to h2 jQuery( "#accordion" ).accordion({ - header: 'h2', - heightStyle: "content", - collapsible: true, - navigation: true, - active: false - }); - } else { + header: 'h2', + heightStyle: "content", + collapsible: true, + navigation: true, + active: false + }); + } else { jQuery( "#accordion" ).accordion({ header: 'h3', autoHeight: false, // for jQueryUI <1.10 @@ -183,17 +155,125 @@ else jQuery('#slider-post-number').hide(); }); } }); - + + if (vercomp(jQuery.ui.version,"1.9.0")) { + // tooltip function is included since jQuery UI 1.9.0 + tooltip_terain(); + startfarb("#mantra_backcolor","#mantra_backcolor2"); + startfarb("#mantra_headercolor","#mantra_headercolor2"); + startfarb("#mantra_contentbg","#mantra_contentbg2"); + startfarb("#mantra_menubg","#mantra_menubg2"); + startfarb("#mantra_s1bg","#mantra_s1bg2"); + startfarb("#mantra_s2bg","#mantra_s2bg2"); + startfarb("#mantra_prefootercolor","#mantra_prefootercolor2"); + startfarb("#mantra_footercolor","#mantra_footercolor2"); + startfarb("#mantra_titlecolor","#mantra_titlecolor2"); + startfarb("#mantra_descriptioncolor","#mantra_descriptioncolor2"); + startfarb("#mantra_contentcolor","#mantra_contentcolor2"); + startfarb("#mantra_linkscolor","#mantra_linkscolor2"); + startfarb("#mantra_hovercolor","#mantra_hovercolor2"); + startfarb("#mantra_headtextcolor","#mantra_headtextcolor2"); + startfarb("#mantra_headtexthover","#mantra_headtexthover2"); + startfarb("#mantra_sideheadbackcolor","#mantra_sideheadbackcolor2"); + startfarb("#mantra_sideheadtextcolor","#mantra_sideheadtextcolor2"); + startfarb("#mantra_footerheader","#mantra_footerheader2"); + startfarb("#mantra_footertext","#mantra_footertext2"); + startfarb("#mantra_footerhover","#mantra_footerhover2"); + startfarb("#mantra_fpsliderbordercolor","#mantra_fpsliderbordercolor2"); + startfarb("#mantra_fronttitlecolor","#mantra_fronttitlecolor2"); + } else { + jQuery("#mantra_backcolor").addClass('colorthingy'); + jQuery("#mantra_headercolor").addClass('colorthingy'); + jQuery("#mantra_contentbg").addClass('colorthingy'); + jQuery("#mantra_menubg").addClass('colorthingy'); + jQuery("#mantra_s1bg").addClass('colorthingy'); + jQuery("#mantra_s2bg").addClass('colorthingy'); + jQuery("#mantra_prefootercolor").addClass('colorthingy'); + jQuery("#mantra_footercolor").addClass('colorthingy'); + jQuery("#mantra_titlecolor").addClass('colorthingy'); + jQuery("#mantra_descriptioncolor").addClass('colorthingy'); + jQuery("#mantra_contentcolor").addClass('colorthingy'); + jQuery("#mantra_linkscolor").addClass('colorthingy'); + jQuery("#mantra_hovercolor").addClass('colorthingy'); + jQuery("#mantra_headtextcolor").addClass('colorthingy'); + jQuery("#mantra_sideheadbackcolor").addClass('colorthingy'); + jQuery("#mantra_sideheadtextcolor").addClass('colorthingy'); + jQuery("#mantra_footerheader").addClass('colorthingy'); + jQuery("#mantra_footertext").addClass('colorthingy'); + jQuery("#mantra_headtexthover").addClass('colorthingy'); + jQuery("#mantra_footerhover").addClass('colorthingy'); + jQuery("#mantra_fpsliderbordercolor").addClass('colorthingy'); + jQuery("#mantra_fronttitlecolor").addClass('colorthingy'); + jQuery('.colorthingy').each(function(){ + id = "#"+jQuery(this).attr('id'); + jQuery(this).on('keyup',function(){coloursel(this)}); + coloursel(this); + }); + // inform the user about the old partially unsupported version + jQuery("#jsAlert").after("<div class='updated fade' style='clear:left; font-size: 16px;'><p>Mantra has detected you are running an old version of Wordpress (jQuery) and will be running in compatibility mode. Some features may not work correctly. Consider updating your Wordpress to the latest version.</p></div>"); + } + + jQuery('#jsAlert').hide(); });// ready - // Change border for selecte inputs -function changeBorder (idName, className) { + +function startfarb(a,b) { + jQuery(b).css('display','none'); + jQuery(b).farbtastic(a); + + jQuery(a).click(function() { + if(jQuery(b).css('display') == 'none') { + jQuery(b).parents('div:eq(0)').addClass('ui-accordion-content-overflow'); + jQuery(b).css('display','inline-block').hide().show(300); + } + }); + + jQuery(document).mousedown( function() { + jQuery(b).hide(700, function(){ jQuery(b).parents('div:eq(0)').removeClass('ui-accordion-content-overflow'); }); + // todo: find a better way to remove class after the fade on IEs + }); +} + +function tooltip_terain() { + jQuery('#accordion small').parent('div').append('<a class="tooltip"><img src="'+mantra_tooltip_icon_url+'" /></a>').each(function() { + var tooltip_info = jQuery(this).children('small').html(); + jQuery(this).children('.tooltip').tooltip({content : tooltip_info}); + jQuery(this).children('.tooltip').tooltip( "option", "items", "a" ); + jQuery(this).children('.tooltip').tooltip( "option", "hide", "false"); + jQuery(this).children('small').remove(); + if (!jQuery(this).hasClass('slmini') && !jQuery(this).hasClass('slidercontent') && !jQuery(this).hasClass('slideDivs')) jQuery(this).addClass('tooltip_div'); + }); +} + +function coloursel(el){ + var id = "#"+jQuery(el).attr('id'); + jQuery(id+"2").hide(); + var bgcolor = jQuery(id).val(); + if (bgcolor <= "#666666") { jQuery(id).css('color','#ffffff'); } else { jQuery(id).css('color','#000000'); }; + jQuery(id).css('background-color',jQuery(id).val()); +} + +function vercomp(ver, req) { + var v = ver.split('.'); + var q = req.split('.'); + for (var i = 0; i < v.length; ++i) { + if (q.length == i) { return true; } // v is bigger + if (parseInt(v[i]) == parseInt(q[i])) { continue; } // nothing to do here, move along + else if (parseInt(v[i]) > parseInt(q[i])) { return true; } // v is bigger + else { return false; } // q is bigger + } + if (v.length != q.length) { return false; } // q is bigger + return true; // v = q; +} + +// Change border for selected inputs +function changeBorder(idName, className) { jQuery('.'+className).removeClass( 'checkedClass' ); jQuery('.'+className).removeClass( 'borderful' ); jQuery('#'+idName).addClass( 'borderful' ); -return 0; + return 0; } /* FB like button */ diff --git a/themes/mantra/admin/main.php b/themes/mantra/admin/main.php index 978afbd5..16d64563 100644 --- a/themes/mantra/admin/main.php +++ b/themes/mantra/admin/main.php @@ -18,7 +18,7 @@ function mantra_get_theme_options() { return $optionsMantra; } -$mantra_options= mantra_get_theme_options(); +$mantra_options = mantra_get_theme_options(); foreach ($mantra_options as $key => $value) { ${"$key"} = $value ; } @@ -313,13 +313,11 @@ The Parabola Settings page cannot function without jQuery. </em></div> <?php wp_nonce_field('mantra-export', 'mantra-export'); ?> <input type="hidden" name="mantra_export" value="true" /> <input type="submit" class="button" value="<?php _e('Export Theme options', 'mantra'); ?>" /> - <p style="display:block;float:left;clear:left;margin-top:0;"><?php _e("It's that easy: a mouse click away - the ability to export your Mantra settings and save them on your computer. Feeling safer? You should!","mantra"); ?></p> </form> - <br /> + <br> <form action="" method="post"> <input type="hidden" name="mantra_import" value="true" /> <input type="submit" class="button" value="<?php _e('Import Theme options', 'mantra'); ?>" /> - <p style="display:block;float:left;clear:left;margin-top:0;"><?php _e(" Without the import, the export would just be a fool's exercise. Make sure you have the exported file ready and see you after the mouse click.","mantra"); ?></p> </form> </div><!-- inside --> </div><!-- export --> @@ -356,124 +354,8 @@ The Parabola Settings page cannot function without jQuery. </em></div> </div><!-- wrap --> <script> - -function startfarb(a,b) { - jQuery(b).css('display','none'); - jQuery(b).farbtastic(a); - - jQuery(a).click(function() { - if(jQuery(b).css('display') == 'none') { - jQuery(b).parents('div:eq(0)').addClass('ui-accordion-content-overflow'); - jQuery(b).css('display','inline-block').hide().show(300); - } - }); - - jQuery(document).mousedown( function() { - jQuery(b).hide(700, function(){ jQuery(b).parents('div:eq(0)').removeClass('ui-accordion-content-overflow'); }); - // todo: find a better way to remove class after the fade on IEs - }); -} - -function tooltip_terain() { -jQuery('#accordion small').parent('div').append('<a class="tooltip"><img src="<?php echo get_template_directory_uri(); ?>/images/icon-tooltip.png" /></a>'). - each(function() { - //jQuery(this).children('a.tooltip').attr('title',jQuery(this).children('small').html() ); - var tooltip_info = jQuery(this).children('small').html(); - jQuery(this).children('.tooltip').tooltip({content : tooltip_info}); - jQuery(this).children('.tooltip').tooltip( "option", "items", "a" ); - //jQuery(this).children('.tooltip').tooltip( "option", "show", "false"); - jQuery(this).children('.tooltip').tooltip( "option", "hide", "false"); - jQuery(this).children('small').remove(); - if (!jQuery(this).hasClass('slmini') && !jQuery(this).hasClass('slidercontent') && !jQuery(this).hasClass('slideDivs')) jQuery(this).addClass('tooltip_div'); - }); -} - -function coloursel(el){ - var id = "#"+jQuery(el).attr('id'); - jQuery(id+"2").hide(); - var bgcolor = jQuery(id).val(); - if (bgcolor <= "#666666") { jQuery(id).css('color','#ffffff'); } else { jQuery(id).css('color','#000000'); }; - jQuery(id).css('background-color',jQuery(id).val()); -} - -function vercomp(ver, req) { - var v = ver.split('.'); - var q = req.split('.'); - for (var i = 0; i < v.length; ++i) { - if (q.length == i) { return true; } // v is bigger - if (parseInt(v[i]) == parseInt(q[i])) { continue; } // nothing to do here, move along - else if (parseInt(v[i]) > parseInt(q[i])) { return true; } // v is bigger - else { return false; } // q is bigger - } - if (v.length != q.length) { return false; } // q is bigger - return true; // v = q; -} - -jQuery(document).ready(function(){ - //var _jQueryVer = parseFloat('.'+jQuery().jquery.replace(/\./g, '')); // jQuery version as float, eg: 0.183 - //var _jQueryUIVer = parseFloat('.'+jQuery.ui.version.replace(/\./g, '')); // jQuery UI version as float, eg: 0.192 - //if (_jQueryUIVer >= 0.190) { - if (vercomp(jQuery.ui.version,"1.9.0")) { - // tooltip function is included since jQuery UI 1.9.0 - tooltip_terain(); - startfarb("#mantra_backcolor","#mantra_backcolor2"); - startfarb("#mantra_headercolor","#mantra_headercolor2"); - startfarb("#mantra_contentbg","#mantra_contentbg2"); - startfarb("#mantra_menubg","#mantra_menubg2"); - startfarb("#mantra_s1bg","#mantra_s1bg2"); - startfarb("#mantra_s2bg","#mantra_s2bg2"); - startfarb("#mantra_prefootercolor","#mantra_prefootercolor2"); - startfarb("#mantra_footercolor","#mantra_footercolor2"); - startfarb("#mantra_titlecolor","#mantra_titlecolor2"); - startfarb("#mantra_descriptioncolor","#mantra_descriptioncolor2"); - startfarb("#mantra_contentcolor","#mantra_contentcolor2"); - startfarb("#mantra_linkscolor","#mantra_linkscolor2"); - startfarb("#mantra_hovercolor","#mantra_hovercolor2"); - startfarb("#mantra_headtextcolor","#mantra_headtextcolor2"); - startfarb("#mantra_headtexthover","#mantra_headtexthover2"); - startfarb("#mantra_sideheadbackcolor","#mantra_sideheadbackcolor2"); - startfarb("#mantra_sideheadtextcolor","#mantra_sideheadtextcolor2"); - startfarb("#mantra_footerheader","#mantra_footerheader2"); - startfarb("#mantra_footertext","#mantra_footertext2"); - startfarb("#mantra_footerhover","#mantra_footerhover2"); - startfarb("#mantra_fpsliderbordercolor","#mantra_fpsliderbordercolor2"); - startfarb("#mantra_fronttitlecolor","#mantra_fronttitlecolor2"); - } else { - jQuery("#mantra_backcolor").addClass('colorthingy'); - jQuery("#mantra_headercolor").addClass('colorthingy'); - jQuery("#mantra_contentbg").addClass('colorthingy'); - jQuery("#mantra_menubg").addClass('colorthingy'); - jQuery("#mantra_s1bg").addClass('colorthingy'); - jQuery("#mantra_s2bg").addClass('colorthingy'); - jQuery("#mantra_prefootercolor").addClass('colorthingy'); - jQuery("#mantra_footercolor").addClass('colorthingy'); - jQuery("#mantra_titlecolor").addClass('colorthingy'); - jQuery("#mantra_descriptioncolor").addClass('colorthingy'); - jQuery("#mantra_contentcolor").addClass('colorthingy'); - jQuery("#mantra_linkscolor").addClass('colorthingy'); - jQuery("#mantra_hovercolor").addClass('colorthingy'); - jQuery("#mantra_headtextcolor").addClass('colorthingy'); - jQuery("#mantra_sideheadbackcolor").addClass('colorthingy'); - jQuery("#mantra_sideheadtextcolor").addClass('colorthingy'); - jQuery("#mantra_footerheader").addClass('colorthingy'); - jQuery("#mantra_footertext").addClass('colorthingy'); - jQuery("#mantra_headtexthover").addClass('colorthingy'); - jQuery("#mantra_footerhover").addClass('colorthingy'); - jQuery("#mantra_fpsliderbordercolor").addClass('colorthingy'); - jQuery("#mantra_fronttitlecolor").addClass('colorthingy'); - jQuery('.colorthingy').each(function(){ - id = "#"+jQuery(this).attr('id'); - jQuery(this).on('keyup',function(){coloursel(this)}); - coloursel(this); - }); - // inform the user about the old partially unsupported version - jQuery("#jsAlert").after("<div class='updated fade' style='clear:left; font-size: 16px;'><p>Mantra has detected you are running an old version of Wordpress (jQuery) and will be running in compatibility mode. Some features may not work correctly. Consider updating your Wordpress to the latest version.</p></div>"); - } - -}); - -jQuery('#jsAlert').hide(); +var mantra_tooltip_icon_url = '<?php echo get_template_directory_uri(); ?>/images/icon-tooltip.png' </script> <?php } // mantra_page_fn() -?> +// FIN
\ No newline at end of file diff --git a/themes/mantra/admin/settings.php b/themes/mantra/admin/settings.php index c60c29c2..196be4c3 100644 --- a/themes/mantra/admin/settings.php +++ b/themes/mantra/admin/settings.php @@ -2,57 +2,17 @@ // Callback functions // General suboptions description - -function cryout_section_layout_fn() { - -// echo "<p>".__("Settings for adjusting your blog's layout.", "mantra")."</p>"; -} - -function cryout_section_presentation_fn() { - -// echo "<p>".__("Settings for adjusting your blog's layout.", "mantra")."</p>"; -} - -function cryout_section_header_fn() { - -// echo "<p>".__("Settings for adjusting your blog's layout.", "mantra")."</p>"; -} - - -function cryout_section_text_fn() { - //echo "<p>".__("All text related customization options.", "mantra")."</p>"; -} - -function cryout_section_graphics_fn() { -// echo "<p>".__("Settings for hiding or showing different graphics.", "mantra")."</p>"; -} - -function cryout_section_post_fn() { - //echo "<p>".__("Settings for hiding or showing different post tags.", "mantra")."</p>"; -} - -function cryout_section_excerpt_fn() { -// echo "<p>".__("Settings for post excerpts", "mantra")."</p>"; -} - -function cryout_section_appereance_fn() { -// echo "<p>".__("Set text and background colors.", "mantra")."</p>"; -} - - -function cryout_section_featured_fn() { -// echo "<p>".__("Insert the addreses for your social media. Leave blank if not the case. -// Please type the whole address (including <i>http://</i> ) Example : <u>http://www.facebook.com</u>.", "mantra")."</p>"; -} - -function cryout_section_social_fn() { -// echo "<p>".__("Insert the addreses for your social media. Leave blank if not the case. -// Please type the whole address (including <i>http://</i> ) Example : <u>http://www.facebook.com</u>.", "mantra")."</p>"; -} - -function cryout_section_misc_fn() { - -} +function cryout_section_layout_fn() { } +function cryout_section_presentation_fn() { } +function cryout_section_header_fn() { } +function cryout_section_text_fn() { } +function cryout_section_graphics_fn() { } +function cryout_section_post_fn() { } +function cryout_section_excerpt_fn() { } +function cryout_section_appereance_fn() { } +function cryout_section_featured_fn() { } +function cryout_section_social_fn() { } +function cryout_section_misc_fn() { } //////////////////////////////// //// LAYOUT SETTINGS /////////// @@ -77,29 +37,33 @@ global $mantra_options; foreach($items as $item) { - $checkedClass = ($mantra_options['mantra_side']==$item) ? ' checkedClass' : ''; echo "<label id='$item' class='layouts $checkedClass'><input "; checked($mantra_options['mantra_side'],$item); echo " value='$item' onClick=\"changeBorder('$item','layouts');\" name='ma_options[mantra_side]' type='radio' /><img title='$layout_text[$item]' src='".get_template_directory_uri()."/admin/images/".$item.".png'/></label>"; } - echo "<div><small>".__("Choose your layout. Possible options are: <br> No sidebar, a single sidebar on either left of right, two sidebars on either left or + echo "<div><small>".__("Choose your layout. Possible options are: <br> No sidebar, a single sidebar on either left of right, two sidebars on either left or right and two sidebars on each side.","mantra")."</small></div>"; } //SLIDER - Name: ma_options[sidewidth] -function cryout_setting_sidewidth_fn() - { -global $mantra_options; +function cryout_setting_sidewidth_fn() { + global $mantra_options; $items = array ("Absolute" , "Relative"); - $itemsare = array( __("Absolute","mantra"), __("Relative *DEPRECATED","mantra")); + $itemsare = array( __("Absolute","mantra"), __("Relative *NO LONGER SUPPORTED","mantra")); + if ( "Relative" != $mantra_options['mantra_dimselect'] ) { + // relative dimmensions are no longer supported by the theme; only display them to existing sites that use them + unset($items[1]); + unset($itemsare[1]); + } echo __("Dimensions to use: ","mantra")." <select id='mantra_dimselect' name='ma_options[mantra_dimselect]'>"; -foreach($items as $id=>$item) { - echo "<option value='$item'"; - selected($mantra_options['mantra_dimselect'],$item); - echo ">$itemsare[$id]</option>"; -} -echo "</select>"; + foreach($items as $id=>$item) { + echo "<option value='$item'"; + selected($mantra_options['mantra_dimselect'],$item); + if ( 'Relative' == $item ) echo ' disabled="disabled"'; + echo ">$itemsare[$id]</option>"; + } + echo "</select>"; ?> <script> @@ -168,9 +132,8 @@ jQuery(function() { jQuery( "#barbRel" ).css('left',-18+leftwidthRel+percentageRel/2+"%"); jQuery( "#contentbRel" ).css('left',-8+leftwidthRel/2+"%"); jQuery( "#totalbRel" ).css('left',-20+(percentageRel+leftwidthRel)/2+"%"); + }); - - </script> <div id="absolutedim"> @@ -405,8 +368,8 @@ function cryout_setting_frontslider2_fn() { ?> <?php -$items = array("Custom Slides", "Latest Posts", "Random Posts", "Sticky Posts", "Latest Posts from Category" , "Random Posts from Category", "Specific Posts"); - $itemsare = array( __("Custom Slides","mantra"), __("Latest Posts","mantra"), __("Random Posts","mantra"),__("Sticky Posts","mantra"), __("Latest Posts from Category","mantra"), __("Random Posts from Category","mantra"), __("Specific Posts","mantra")); +$items = array("Slider Shortcode", "Custom Slides", "Latest Posts", "Random Posts", "Sticky Posts", "Latest Posts from Category" , "Random Posts from Category", "Specific Posts"); + $itemsare = array(__("Slider Shortcode","mantra"), __("Custom Slides","mantra"), __("Latest Posts","mantra"), __("Random Posts","mantra"),__("Sticky Posts","mantra"), __("Latest Posts from Category","mantra"), __("Random Posts from Category","mantra"), __("Specific Posts","mantra")); echo "<em>".__("Select the content you want to load in your slides:","mantra")." </em> "; echo "<select id='mantra_slideType' name='ma_options[mantra_slideType]'>"; foreach($items as $id=>$item) { @@ -419,6 +382,11 @@ foreach($items as $id=>$item) { ?> +<div id="sliderShortcode" class="slideDivs"> +<span><?php _e('Enter the desired slider plugin shortcode below:','mantra'); ?> </span> +<input id='mantra_slideShortcode' name='ma_options[mantra_slideShortcode]' size='44' type='text' value='<?php echo esc_attr($mantra_options['mantra_slideShortcode'] ) ?>' /> +</div> + <div id="sliderLatestPosts" class="slideDivs"> <span><?php _e('Latest posts will be loaded into the slider.','mantra'); ?> </span> </div> @@ -469,6 +437,7 @@ foreach($items as $id=>$item) { <div id="sliderCustomSlides" class="slideDivs"> +<span><?php _e('Custom slides are limited to a maximum of 5.','mantra'); ?> </span> <div class="slidebox"> <h4 class="slidetitle" ><?php _e("Slide 1","mantra");?> </h4> <div class="slidercontent"> diff --git a/themes/mantra/functions.php b/themes/mantra/functions.php index ac65da81..06a86ec2 100644 --- a/themes/mantra/functions.php +++ b/themes/mantra/functions.php @@ -9,7 +9,7 @@ // theme specifics define ('_CRYOUT_THEME_NAME','mantra'); -define ('_CRYOUT_THEME_VERSION','2.6.0'); +define ('_CRYOUT_THEME_VERSION','2.6.1'); require_once(get_template_directory() . "/admin/main.php"); // Load necessary admin files diff --git a/themes/mantra/includes/tgm.php b/themes/mantra/includes/tgm.php index 9e7f8e78..4585162d 100644 --- a/themes/mantra/includes/tgm.php +++ b/themes/mantra/includes/tgm.php @@ -19,11 +19,11 @@ function cryout_settings_plugin() { $config = array( 'default_path' => '', // Default absolute path to pre-packaged plugins. - 'menu' => 'mantra-extra-plugins', // Menu slug. + 'menu' => 'mantra-extra-plugins', // Menu slug. 'has_notices' => true, // Show admin notices or not. 'dismissable' => true, // If false, a user cannot dismiss the nag message. 'dismiss_msg' => '', // If 'dismissable' is false, this message will be output at top of nag. - 'is_automatic' => true, // Automatically activate plugins after installation or not. + 'is_automatic' => true, // Automatically activate plugins after installation or not. 'message' => '', // Message to output right before the plugins table. 'strings' => array( 'page_title' => __( 'Recommended Plugins', 'cryout' ), @@ -63,22 +63,11 @@ function cryout_settings_plugin() { * or theme author for support. * * @package TGM-Plugin-Activation - * @version 2.5.2 + * @version 2.6.1 for parent theme Cryout for publication on WordPress.org * @link http://tgmpluginactivation.com/ * @author Thomas Griffin, Gary Jones, Juliette Reinders Folmer * @copyright Copyright (c) 2011, Thomas Griffin * @license GPL-2.0+ - * - * @wordpress-plugin - * Plugin Name: TGM Plugin Activation - * Plugin URI: - * Description: Plugin installation and activation for WordPress themes. - * Version: 2.5.2 - * Author: Thomas Griffin, Gary Jones, Juliette Reinders Folmer - * Author URI: http://tgmpluginactivation.com/ - * Text Domain: tgmpa - * Domain Path: /languages/ - * Copyright: 2011, Thomas Griffin */ /* @@ -121,7 +110,7 @@ if ( ! class_exists( 'TGM_Plugin_Activation' ) ) { * * @const string Version number. */ - const TGMPA_VERSION = '2.5.2'; + const TGMPA_VERSION = '2.6.1'; /** * Regular expression to test if a URL is a WP plugin repo URL. @@ -154,7 +143,6 @@ if ( ! class_exists( 'TGM_Plugin_Activation' ) ) { * Holds arrays of plugin details. * * @since 1.0.0 - * * @since 2.5.0 the array has the plugin slug as an associative key. * * @var array @@ -311,9 +299,9 @@ if ( ! class_exists( 'TGM_Plugin_Activation' ) ) { * Adds a reference of this object to $instance, populates default strings, * does the tgmpa_init action hook, and hooks in the interactions to init. * - * @internal This method should be `protected`, but as too many TGMPA implementations + * {@internal This method should be `protected`, but as too many TGMPA implementations * haven't upgraded beyond v2.3.6 yet, this gives backward compatibility issues. - * Reverted back to public for the time being. + * Reverted back to public for the time being.}} * * @since 1.0.0 * @@ -326,6 +314,8 @@ if ( ! class_exists( 'TGM_Plugin_Activation' ) ) { // Announce that the class is ready, and pass the object (for advanced use). do_action_ref_array( 'tgmpa_init', array( $this ) ); + + // When the rest of WP has loaded, kick-start the rest of the class. add_action( 'init', array( $this, 'init' ) ); } @@ -333,12 +323,14 @@ if ( ! class_exists( 'TGM_Plugin_Activation' ) ) { /** * Magic method to (not) set protected properties from outside of this class. * - * @internal hackedihack... There is a serious bug in v2.3.2 - 2.3.6 where the `menu` property + * {@internal hackedihack... There is a serious bug in v2.3.2 - 2.3.6 where the `menu` property * is being assigned rather than tested in a conditional, effectively rendering it useless. - * This 'hack' prevents this from happening. + * This 'hack' prevents this from happening.}} * * @see https://github.com/TGMPA/TGM-Plugin-Activation/blob/2.3.6/tgm-plugin-activation/class-tgm-plugin-activation.php#L1593 * + * @since 2.5.2 + * * @param string $name Name of an inaccessible property. * @param mixed $value Value to assign to the property. * @return void Silently fail to set the property when this is tried from outside of this class context. @@ -351,6 +343,8 @@ if ( ! class_exists( 'TGM_Plugin_Activation' ) ) { /** * Magic method to get the value of a protected property outside of this class context. * + * @since 2.5.2 + * * @param string $name Name of an inaccessible property. * @return mixed The property value. */ @@ -387,53 +381,47 @@ if ( ! class_exists( 'TGM_Plugin_Activation' ) ) { $this->strings = array( 'page_title' => __( 'Install Required Plugins', 'cryout' ), 'menu_title' => __( 'Install Plugins', 'cryout' ), + /* translators: %s: plugin name. */ 'installing' => __( 'Installing Plugin: %s', 'cryout' ), + /* translators: %s: plugin name. */ + 'updating' => __( 'Updating Plugin: %s', 'cryout' ), 'oops' => __( 'Something went wrong with the plugin API.', 'cryout' ), 'notice_can_install_required' => _n_noop( + /* translators: 1: plugin name(s). */ 'This theme requires the following plugin: %1$s.', 'This theme requires the following plugins: %1$s.', 'cryout' ), 'notice_can_install_recommended' => _n_noop( + /* translators: 1: plugin name(s). */ 'This theme recommends the following plugin: %1$s.', 'This theme recommends the following plugins: %1$s.', 'cryout' ), - 'notice_cannot_install' => _n_noop( - 'Sorry, but you do not have the correct permissions to install the %1$s plugin.', - 'Sorry, but you do not have the correct permissions to install the %1$s plugins.', - 'cryout' - ), 'notice_ask_to_update' => _n_noop( + /* translators: 1: plugin name(s). */ 'The following plugin needs to be updated to its latest version to ensure maximum compatibility with this theme: %1$s.', 'The following plugins need to be updated to their latest version to ensure maximum compatibility with this theme: %1$s.', 'cryout' ), 'notice_ask_to_update_maybe' => _n_noop( + /* translators: 1: plugin name(s). */ 'There is an update available for: %1$s.', 'There are updates available for the following plugins: %1$s.', 'cryout' ), - 'notice_cannot_update' => _n_noop( - 'Sorry, but you do not have the correct permissions to update the %1$s plugin.', - 'Sorry, but you do not have the correct permissions to update the %1$s plugins.', - 'cryout' - ), 'notice_can_activate_required' => _n_noop( + /* translators: 1: plugin name(s). */ 'The following required plugin is currently inactive: %1$s.', 'The following required plugins are currently inactive: %1$s.', 'cryout' ), 'notice_can_activate_recommended' => _n_noop( + /* translators: 1: plugin name(s). */ 'The following recommended plugin is currently inactive: %1$s.', 'The following recommended plugins are currently inactive: %1$s.', 'cryout' ), - 'notice_cannot_activate' => _n_noop( - 'Sorry, but you do not have the correct permissions to activate the %1$s plugin.', - 'Sorry, but you do not have the correct permissions to activate the %1$s plugins.', - 'cryout' - ), 'install_link' => _n_noop( 'Begin installing plugin', 'Begin installing plugins', @@ -450,13 +438,17 @@ if ( ! class_exists( 'TGM_Plugin_Activation' ) ) { 'cryout' ), 'return' => __( 'Return to Required Plugins Installer', 'cryout' ), - 'dashboard' => __( 'Return to the dashboard', 'cryout' ), + 'dashboard' => __( 'Return to the Dashboard', 'cryout' ), 'plugin_activated' => __( 'Plugin activated successfully.', 'cryout' ), 'activated_successfully' => __( 'The following plugin was activated successfully:', 'cryout' ), + /* translators: 1: plugin name. */ 'plugin_already_active' => __( 'No action taken. Plugin %1$s was already active.', 'cryout' ), + /* translators: 1: plugin name. */ 'plugin_needs_higher_version' => __( 'Plugin not activated. A higher version of %s is needed for this theme. Please update the plugin.', 'cryout' ), + /* translators: 1: dashboard link. */ 'complete' => __( 'All plugins installed and activated successfully. %1$s', 'cryout' ), 'dismiss' => __( 'Dismiss this notice', 'cryout' ), + 'notice_cannot_install_activate' => __( 'There are one or more required or recommended plugins to install, update or activate.', 'cryout' ), 'contact_admin' => __( 'Please contact the administrator of this site for help.', 'cryout' ), ); @@ -486,10 +478,11 @@ if ( ! class_exists( 'TGM_Plugin_Activation' ) ) { add_action( 'admin_init', array( $this, 'admin_init' ), 1 ); add_action( 'admin_enqueue_scripts', array( $this, 'thickbox' ) ); } - - add_action( 'load-plugins.php', array( $this, 'add_plugin_action_link_filters' ), 1 ); } + // If needed, filter plugin action links. + add_action( 'load-plugins.php', array( $this, 'add_plugin_action_link_filters' ), 1 ); + // Make sure things get reset on switch theme. add_action( 'switch_theme', array( $this, 'flush_plugins_cache' ) ); @@ -508,9 +501,18 @@ if ( ! class_exists( 'TGM_Plugin_Activation' ) ) { } } + + + + + + /** - * Prevent activation of plugins which don't meet the minimum version requirement from the - * WP native plugins page. + * Hook in plugin action link filters for the WP native plugins page. + * + * - Prevent activation of plugins which don't meet the minimum version requirements. + * - Prevent deactivation of force-activated plugins. + * - Add update notice if update available. * * @since 2.5.0 */ @@ -681,17 +683,15 @@ if ( ! class_exists( 'TGM_Plugin_Activation' ) ) { /** * Add the menu item. * + * {@internal IMPORTANT! If this function changes, review the regex in the custom TGMPA + * generator on the website.}} + * * @since 2.5.0 * * @param array $args Menu item configuration. */ protected function add_admin_menu( array $args ) { - if ( has_filter( 'tgmpa_admin_menu_use_add_theme_page' ) ) { - _deprecated_function( 'The "tgmpa_admin_menu_use_add_theme_page" filter', '2.5.0', esc_html__( 'Set the parent_slug config variable instead.', 'cryout' ) ); - } - - // modified to pass theme check requirement - $this->page_hook = call_user_func( 'add_theme_page', $args['page_title'], $args['menu_title'], $args['capability'], $args['menu_slug'], $args['function'] ); + $this->page_hook = add_theme_page( $args['page_title'], $args['menu_title'], $args['capability'], $args['menu_slug'], $args['function'] ); } /** @@ -719,7 +719,7 @@ if ( ! class_exists( 'TGM_Plugin_Activation' ) ) { ?> <div class="tgmpa wrap"> - <h2><?php echo esc_html( get_admin_page_title() ); ?></h2> + <h1><?php echo esc_html( get_admin_page_title() ); ?></h1> <?php $plugin_table->prepare_items(); ?> <?php @@ -825,15 +825,17 @@ if ( ! class_exists( 'TGM_Plugin_Activation' ) ) { require_once ABSPATH . 'wp-admin/includes/class-wp-upgrader.php'; } + $title = ( 'update' === $install_type ) ? $this->strings['updating'] : $this->strings['installing']; $skin_args = array( 'type' => ( 'bundled' !== $this->plugins[ $slug ]['source_type'] ) ? 'web' : 'upload', - 'title' => sprintf( $this->strings['installing'], $this->plugins[ $slug ]['name'] ), + 'title' => sprintf( $title, $this->plugins[ $slug ]['name'] ), 'url' => esc_url_raw( $url ), 'nonce' => $install_type . '-plugin_' . $slug, 'plugin' => '', 'api' => $api, 'extra' => $extra, ); + unset( $title ); if ( 'update' === $install_type ) { $skin_args['plugin'] = $this->plugins[ $slug ]['file_path']; @@ -859,7 +861,7 @@ if ( ! class_exists( 'TGM_Plugin_Activation' ) ) { $upgrader->install( $source ); } - remove_filter( 'upgrader_source_selection', array( $this, 'maybe_adjust_source_dir' ), 1, 3 ); + remove_filter( 'upgrader_source_selection', array( $this, 'maybe_adjust_source_dir' ), 1 ); // Make sure we have the correct file path now the plugin is installed/updated. $this->populate_file_path( $slug ); @@ -978,11 +980,11 @@ if ( ! class_exists( 'TGM_Plugin_Activation' ) ) { $subdir_name = untrailingslashit( str_replace( trailingslashit( $remote_source ), '', $source ) ); if ( ! empty( $subdir_name ) && $subdir_name !== $desired_slug ) { - $from = untrailingslashit( $source ); - $to = trailingslashit( $remote_source ) . $desired_slug; + $from_path = untrailingslashit( $source ); + $to_path = trailingslashit( $remote_source ) . $desired_slug; - if ( true === $GLOBALS['wp_filesystem']->move( $from, $to ) ) { - return trailingslashit( $to ); + if ( true === $GLOBALS['wp_filesystem']->move( $from_path, $to_path ) ) { + return trailingslashit( $to_path ); } else { return new WP_Error( 'rename_failed', esc_html__( 'The remote plugin package does not contain a folder with the desired slug and renaming did not work.', 'cryout' ) . ' ' . esc_html__( 'Please contact the plugin provider and ask them to package their plugin according to the WordPress guidelines.', 'cryout' ), array( 'found' => $subdir_name, 'expected' => $desired_slug ) ); } @@ -1072,8 +1074,8 @@ if ( ! class_exists( 'TGM_Plugin_Activation' ) ) { * @return null Returns early if we're on the Install page. */ public function notices() { - // Remove nag on the install page / Return early if the nag message has been dismissed. - if ( $this->is_tgmpa_page() || get_user_meta( get_current_user_id(), 'tgmpa_dismissed_notice_' . $this->id, true ) ) { + // Remove nag on the install page / Return early if the nag message has been dismissed or user < author. + if ( ( $this->is_tgmpa_page() || $this->is_core_update_page() ) || get_user_meta( get_current_user_id(), 'tgmpa_dismissed_notice_' . $this->id, true ) || ! current_user_can( apply_filters( 'tgmpa_show_admin_notice_capability', 'publish_posts' ) ) ) { return; } @@ -1081,9 +1083,10 @@ if ( ! class_exists( 'TGM_Plugin_Activation' ) ) { $message = array(); // Initialize counters used to determine plurality of action link texts. - $install_link_count = 0; - $update_link_count = 0; - $activate_link_count = 0; + $install_link_count = 0; + $update_link_count = 0; + $activate_link_count = 0; + $total_required_action_count = 0; foreach ( $this->plugins as $slug => $plugin ) { if ( $this->is_plugin_active( $slug ) && false === $this->does_plugin_have_update( $slug ) ) { @@ -1099,9 +1102,9 @@ if ( ! class_exists( 'TGM_Plugin_Activation' ) ) { } else { $message['notice_can_install_recommended'][] = $slug; } - } else { - // Need higher privileges to install the plugin. - $message['notice_cannot_install'][] = $slug; + } + if ( true === $plugin['required'] ) { + $total_required_action_count++; } } else { if ( ! $this->is_plugin_active( $slug ) && $this->can_plugin_activate( $slug ) ) { @@ -1113,15 +1116,15 @@ if ( ! class_exists( 'TGM_Plugin_Activation' ) ) { } else { $message['notice_can_activate_recommended'][] = $slug; } - } else { - // Need higher privileges to activate the plugin. - $message['notice_cannot_activate'][] = $slug; + } + if ( true === $plugin['required'] ) { + $total_required_action_count++; } } if ( $this->does_plugin_require_update( $slug ) || false !== $this->does_plugin_have_update( $slug ) ) { - if ( current_user_can( 'install_plugins' ) ) { + if ( current_user_can( 'update_plugins' ) ) { $update_link_count++; if ( $this->does_plugin_require_update( $slug ) ) { @@ -1129,9 +1132,9 @@ if ( ! class_exists( 'TGM_Plugin_Activation' ) ) { } elseif ( false !== $this->does_plugin_have_update( $slug ) ) { $message['notice_ask_to_update_maybe'][] = $slug; } - } else { - // Need higher privileges to update the plugin. - $message['notice_cannot_update'][] = $slug; + } + if ( true === $plugin['required'] ) { + $total_required_action_count++; } } } @@ -1139,7 +1142,7 @@ if ( ! class_exists( 'TGM_Plugin_Activation' ) ) { unset( $slug, $plugin ); // If we have notices to display, we move forward. - if ( ! empty( $message ) ) { + if ( ! empty( $message ) || $total_required_action_count > 0 ) { krsort( $message ); // Sort messages. $rendered = ''; @@ -1147,97 +1150,136 @@ if ( ! class_exists( 'TGM_Plugin_Activation' ) ) { // filtered, using <p>'s in our html would render invalid html output. $line_template = '<span style="display: block; margin: 0.5em 0.5em 0 0; clear: both;">%s</span>' . "\n"; - // If dismissable is false and a message is set, output it now. - if ( ! $this->dismissable && ! empty( $this->dismiss_msg ) ) { - $rendered .= sprintf( $line_template, wp_kses_post( $this->dismiss_msg ) ); - } - - // Render the individual message lines for the notice. - foreach ( $message as $type => $plugin_group ) { - $linked_plugins = array(); + if ( ! current_user_can( 'activate_plugins' ) && ! current_user_can( 'install_plugins' ) && ! current_user_can( 'update_plugins' ) ) { + $rendered = esc_html( $this->strings['notice_cannot_install_activate'] ) . ' ' . esc_html( $this->strings['contact_admin'] ); + $rendered .= $this->create_user_action_links_for_notice( 0, 0, 0, $line_template ); + } else { - // Get the external info link for a plugin if one is available. - foreach ( $plugin_group as $plugin_slug ) { - $linked_plugins[] = $this->get_info_link( $plugin_slug ); + // If dismissable is false and a message is set, output it now. + if ( ! $this->dismissable && ! empty( $this->dismiss_msg ) ) { + $rendered .= sprintf( $line_template, wp_kses_post( $this->dismiss_msg ) ); } - unset( $plugin_slug ); - - $count = count( $plugin_group ); - $linked_plugins = array_map( array( 'TGMPA_Utils', 'wrap_in_em' ), $linked_plugins ); - $last_plugin = array_pop( $linked_plugins ); // Pop off last name to prep for readability. - $imploded = empty( $linked_plugins ) ? $last_plugin : ( implode( ', ', $linked_plugins ) . ' ' . esc_html_x( 'and', 'plugin A *and* plugin B', 'cryout' ) . ' ' . $last_plugin ); - - $rendered .= sprintf( - $line_template, - sprintf( - translate_nooped_plural( $this->strings[ $type ], $count, 'cryout' ), - $imploded, - $count - ) - ); - if ( 0 === strpos( $type, 'notice_cannot' ) ) { - $rendered .= $this->strings['contact_admin']; - } - } - unset( $type, $plugin_group, $linked_plugins, $count, $last_plugin, $imploded ); + // Render the individual message lines for the notice. + foreach ( $message as $type => $plugin_group ) { + $linked_plugins = array(); - // Setup action links. - $action_links = array( - 'install' => '', - 'update' => '', - 'activate' => '', - 'dismiss' => $this->dismissable ? '<a href="' . esc_url( add_query_arg( 'tgmpa-dismiss', 'dismiss_admin_notices' ) ) . '" class="dismiss-notice" target="_parent">' . esc_html( $this->strings['dismiss'] ) . '</a>' : '', - ); + // Get the external info link for a plugin if one is available. + foreach ( $plugin_group as $plugin_slug ) { + $linked_plugins[] = $this->get_info_link( $plugin_slug ); + } + unset( $plugin_slug ); - $link_template = '<a href="%2$s">%1$s</a>'; + $count = count( $plugin_group ); + $linked_plugins = array_map( array( 'TGMPA_Utils', 'wrap_in_em' ), $linked_plugins ); + $last_plugin = array_pop( $linked_plugins ); // Pop off last name to prep for readability. + $imploded = empty( $linked_plugins ) ? $last_plugin : ( implode( ', ', $linked_plugins ) . ' ' . esc_html_x( 'and', 'plugin A *and* plugin B', 'cryout' ) . ' ' . $last_plugin ); - if ( current_user_can( 'install_plugins' ) ) { - if ( $install_link_count > 0 ) { - $action_links['install'] = sprintf( - $link_template, - translate_nooped_plural( $this->strings['install_link'], $install_link_count, 'cryout' ), - esc_url( $this->get_tgmpa_status_url( 'install' ) ) - ); - } - if ( $update_link_count > 0 ) { - $action_links['update'] = sprintf( - $link_template, - translate_nooped_plural( $this->strings['update_link'], $update_link_count, 'cryout' ), - esc_url( $this->get_tgmpa_status_url( 'update' ) ) + $rendered .= sprintf( + $line_template, + sprintf( + translate_nooped_plural( $this->strings[ $type ], $count, 'cryout' ), + $imploded, + $count + ) ); + } + unset( $type, $plugin_group, $linked_plugins, $count, $last_plugin, $imploded ); + + $rendered .= $this->create_user_action_links_for_notice( $install_link_count, $update_link_count, $activate_link_count, $line_template ); } - if ( current_user_can( 'activate_plugins' ) && $activate_link_count > 0 ) { - $action_links['activate'] = sprintf( + // Register the nag messages and prepare them to be processed. + add_settings_error( 'tgmpa', 'tgmpa', $rendered, $this->get_admin_notice_class() ); + } + + // Admin options pages already output settings_errors, so this is to avoid duplication. + if ( 'options-general' !== $GLOBALS['current_screen']->parent_base ) { + $this->display_settings_errors(); + } + } + + /** + * Generate the user action links for the admin notice. + * + * @since 2.6.0 + * + * @param int $install_count Number of plugins to install. + * @param int $update_count Number of plugins to update. + * @param int $activate_count Number of plugins to activate. + * @param int $line_template Template for the HTML tag to output a line. + * @return string Action links. + */ + protected function create_user_action_links_for_notice( $install_count, $update_count, $activate_count, $line_template ) { + // Setup action links. + $action_links = array( + 'install' => '', + 'update' => '', + 'activate' => '', + 'dismiss' => $this->dismissable ? '<a href="' . esc_url( wp_nonce_url( add_query_arg( 'tgmpa-dismiss', 'dismiss_admin_notices' ), 'tgmpa-dismiss-' . get_current_user_id() ) ) . '" class="dismiss-notice" target="_parent">' . esc_html( $this->strings['dismiss'] ) . '</a>' : '', + ); + + $link_template = '<a href="%2$s">%1$s</a>'; + + if ( current_user_can( 'install_plugins' ) ) { + if ( $install_count > 0 ) { + $action_links['install'] = sprintf( $link_template, - translate_nooped_plural( $this->strings['activate_link'], $activate_link_count, 'cryout' ), - esc_url( $this->get_tgmpa_status_url( 'activate' ) ) + translate_nooped_plural( $this->strings['install_link'], $install_count, 'cryout' ), + esc_url( $this->get_tgmpa_status_url( 'install' ) ) ); } + if ( $update_count > 0 ) { + $action_links['update'] = sprintf( + $link_template, + translate_nooped_plural( $this->strings['update_link'], $update_count, 'cryout' ), + esc_url( $this->get_tgmpa_status_url( 'update' ) ) + ); + } + } - $action_links = apply_filters( 'tgmpa_notice_action_links', $action_links ); + if ( current_user_can( 'activate_plugins' ) && $activate_count > 0 ) { + $action_links['activate'] = sprintf( + $link_template, + translate_nooped_plural( $this->strings['activate_link'], $activate_count, 'cryout' ), + esc_url( $this->get_tgmpa_status_url( 'activate' ) ) + ); + } - $action_links = array_filter( (array) $action_links ); // Remove any empty array items. + $action_links = apply_filters( 'tgmpa_notice_action_links', $action_links ); - if ( ! empty( $action_links ) && is_array( $action_links ) ) { - $action_links = sprintf( $line_template, implode( ' | ', $action_links ) ); - $rendered .= apply_filters( 'tgmpa_notice_rendered_action_links', $action_links ); - } + $action_links = array_filter( (array) $action_links ); // Remove any empty array items. - // Register the nag messages and prepare them to be processed. - if ( ! empty( $this->strings['nag_type'] ) ) { - add_settings_error( 'tgmpa', 'tgmpa', $rendered, sanitize_html_class( strtolower( $this->strings['nag_type'] ) ) ); - } else { - $nag_class = version_compare( $this->wp_version, '3.8', '<' ) ? 'updated' : 'update-nag'; - add_settings_error( 'tgmpa', 'tgmpa', $rendered, $nag_class ); - } + if ( ! empty( $action_links ) ) { + $action_links = sprintf( $line_template, implode( ' | ', $action_links ) ); + return apply_filters( 'tgmpa_notice_rendered_action_links', $action_links ); + } else { + return ''; } + } - // Admin options pages already output settings_errors, so this is to avoid duplication. - if ( 'options-general' !== $GLOBALS['current_screen']->parent_base ) { - $this->display_settings_errors(); + /** + * Get admin notice class. + * + * Work around all the changes to the various admin notice classes between WP 4.4 and 3.7 + * (lowest supported version by TGMPA). + * + * @since 2.6.0 + * + * @return string + */ + protected function get_admin_notice_class() { + if ( ! empty( $this->strings['nag_type'] ) ) { + return sanitize_html_class( strtolower( $this->strings['nag_type'] ) ); + } else { + if ( version_compare( $this->wp_version, '4.2', '>=' ) ) { + return 'notice-warning'; + } elseif ( version_compare( $this->wp_version, '4.1', '>=' ) ) { + return 'notice'; + } else { + return 'updated'; + } } } @@ -1260,14 +1302,15 @@ if ( ! class_exists( 'TGM_Plugin_Activation' ) ) { } /** - * Add dismissable admin notices. + * Register dismissal of admin notices. * - * Appends a link to the admin nag messages. If clicked, the admin notice disappears and no longer is visible to users. + * Acts on the dismiss link in the admin nag messages. + * If clicked, the admin notice disappears and will no longer be visible to this user. * * @since 2.1.0 */ public function dismiss() { - if ( isset( $_GET['tgmpa-dismiss'] ) ) { + if ( isset( $_GET['tgmpa-dismiss'] ) && check_admin_referer( 'tgmpa-dismiss-' . get_current_user_id() ) ) { update_user_meta( get_current_user_id(), 'tgmpa_dismissed_notice_' . $this->id, 1 ); } } @@ -1374,13 +1417,13 @@ if ( ! class_exists( 'TGM_Plugin_Activation' ) ) { $key = preg_replace( '`[^A-Za-z0-9_-]`', '', $key ); /** - * Filter a sanitized key string. - * - * @since 3.0.0 - * - * @param string $key Sanitized key. - * @param string $raw_key The key prior to sanitization. - */ + * Filter a sanitized key string. + * + * @since 2.5.0 + * + * @param string $key Sanitized key. + * @param string $raw_key The key prior to sanitization. + */ return apply_filters( 'tgmpa_sanitize_key', $key, $raw_key ); } @@ -1423,7 +1466,7 @@ if ( ! class_exists( 'TGM_Plugin_Activation' ) ) { * @since 2.0.0 * * @param array $install_actions Existing array of actions. - * @return array Amended array of actions. + * @return false|array Amended array of actions. */ public function actions( $install_actions ) { // Remove action links on the TGMPA install page. @@ -1633,6 +1676,35 @@ if ( ! class_exists( 'TGM_Plugin_Activation' ) ) { } /** + * Determine if we're on a WP Core installation/upgrade page. + * + * @since 2.6.0 + * + * @return boolean True when on a WP Core installation/upgrade page, false otherwise. + */ + protected function is_core_update_page() { + // Current screen is not always available, most notably on the customizer screen. + if ( ! function_exists( 'get_current_screen' ) ) { + return false; + } + + $screen = get_current_screen(); + + if ( 'update-core' === $screen->base ) { + // Core update screen. + return true; + } elseif ( 'plugins' === $screen->base && ! empty( $_POST['action'] ) ) { // WPCS: CSRF ok. + // Plugins bulk update screen. + return true; + } elseif ( 'update' === $screen->base && ! empty( $_POST['action'] ) ) { // WPCS: CSRF ok. + // Individual updates (ajax call). + return true; + } + + return false; + } + + /** * Retrieve the URL to the TGMPA Install page. * * I.e. depending on the config settings passed something along the lines of: @@ -1744,7 +1816,7 @@ if ( ! class_exists( 'TGM_Plugin_Activation' ) ) { $api = $this->get_plugins_api( $slug ); if ( false !== $api && isset( $api->requires ) ) { - return version_compare( $GLOBALS['wp_version'], $api->requires, '>=' ); + return version_compare( $this->wp_version, $api->requires, '>=' ); } // No usable info received from the plugins API, presume we can update. @@ -1752,6 +1824,23 @@ if ( ! class_exists( 'TGM_Plugin_Activation' ) ) { } /** + * Check to see if the plugin is 'updatetable', i.e. installed, with an update available + * and no WP version requirements blocking it. + * + * @since 2.6.0 + * + * @param string $slug Plugin slug. + * @return bool True if OK to proceed with update, false otherwise. + */ + public function is_plugin_updatetable( $slug ) { + if ( ! $this->is_plugin_installed( $slug ) ) { + return false; + } else { + return ( false !== $this->does_plugin_have_update( $slug ) && $this->can_plugin_update( $slug ) ); + } + } + + /** * Check if a plugin can be activated, i.e. is not currently active and meets the minimum * plugin version requirements set in TGMPA (if any). * @@ -1906,7 +1995,7 @@ if ( ! class_exists( 'TGM_Plugin_Activation' ) ) { /** * Forces plugin deactivation if the parameter 'force_deactivation' - * is set to true. + * is set to true and adds the plugin to the 'recently active' plugins list. * * This allows theme authors to specify certain plugins that must be * deactivated upon switching from the current theme to another. @@ -1917,20 +2006,38 @@ if ( ! class_exists( 'TGM_Plugin_Activation' ) ) { * @since 2.2.0 */ public function force_deactivation() { + $deactivated = array(); + foreach ( $this->plugins as $slug => $plugin ) { - // Only proceed forward if the parameter is set to true and plugin is active. - if ( true === $plugin['force_deactivation'] && $this->is_plugin_active( $slug ) ) { + /* + * Only proceed forward if the parameter is set to true and plugin is active + * as a 'normal' (not must-use) plugin. + */ + if ( true === $plugin['force_deactivation'] && is_plugin_active( $plugin['file_path'] ) ) { deactivate_plugins( $plugin['file_path'] ); + $deactivated[ $plugin['file_path'] ] = time(); } } + + if ( ! empty( $deactivated ) ) { + update_option( 'recently_activated', $deactivated + (array) get_option( 'recently_activated' ) ); + } } /** * Echo the current TGMPA version number to the page. + * + * @since 2.5.0 */ public function show_tgmpa_version() { echo '<p style="float: right; padding: 0em 1.5em 0.5em 0;"><strong><small>', - esc_html( sprintf( _x( 'TGMPA v%s', '%s = version number', 'cryout' ), self::TGMPA_VERSION ) ), + esc_html( + sprintf( + /* translators: %s: version number */ + __( 'TGMPA v%s', 'cryout' ), + self::TGMPA_VERSION + ) + ), '</small></strong></p>'; } @@ -1939,7 +2046,7 @@ if ( ! class_exists( 'TGM_Plugin_Activation' ) ) { * * @since 2.4.0 * - * @return object The TGM_Plugin_Activation object. + * @return \TGM_Plugin_Activation The TGM_Plugin_Activation object. */ public static function get_instance() { if ( ! isset( self::$instance ) && ! ( self::$instance instanceof self ) ) { @@ -1953,6 +2060,8 @@ if ( ! class_exists( 'TGM_Plugin_Activation' ) ) { if ( ! function_exists( 'load_tgm_plugin_activation' ) ) { /** * Ensure only one instance of the class is ever invoked. + * + * @since 2.5.0 */ function load_tgm_plugin_activation() { $GLOBALS['tgmpa'] = TGM_Plugin_Activation::get_instance(); @@ -2145,7 +2254,7 @@ if ( ! class_exists( 'TGMPA_List_Table' ) ) { if ( ! empty( $upgrade_notice ) ) { $table_data[ $i ]['upgrade_notice'] = $upgrade_notice; - add_action( "tgmpa_after_plugin_row_$slug", array( $this, 'wp_plugin_update_row' ), 10, 2 ); + add_action( "tgmpa_after_plugin_row_{$slug}", array( $this, 'wp_plugin_update_row' ), 10, 2 ); } $table_data[ $i ] = apply_filters( 'tgmpa_table_data_item', $table_data[ $i ], $plugin ); @@ -2284,7 +2393,8 @@ if ( ! class_exists( 'TGMPA_List_Table' ) ) { } return sprintf( - _x( '%1$s, %2$s', '%1$s = install status, %2$s = update status', 'cryout' ), + /* translators: 1: install status, 2: update status */ + _x( '%1$s, %2$s', 'Install/Update Status', 'cryout' ), $install_status, $update_status ); @@ -2329,15 +2439,19 @@ if ( ! class_exists( 'TGMPA_List_Table' ) ) { switch ( $type ) { case 'all': + /* translators: 1: number of plugins. */ $text = _nx( 'All <span class="count">(%s)</span>', 'All <span class="count">(%s)</span>', $count, 'plugins', 'cryout' ); break; case 'install': + /* translators: 1: number of plugins. */ $text = _n( 'To Install <span class="count">(%s)</span>', 'To Install <span class="count">(%s)</span>', $count, 'cryout' ); break; case 'update': + /* translators: 1: number of plugins. */ $text = _n( 'Update Available <span class="count">(%s)</span>', 'Update Available <span class="count">(%s)</span>', $count, 'cryout' ); break; case 'activate': + /* translators: 1: number of plugins. */ $text = _n( 'To Activate <span class="count">(%s)</span>', 'To Activate <span class="count">(%s)</span>', $count, 'cryout' ); break; default: @@ -2471,7 +2585,7 @@ if ( ! class_exists( 'TGMPA_List_Table' ) ) { * @since 2.2.0 */ public function no_items() { - printf( wp_kses_post( __( 'No plugins to install, update or activate. <a href="%1$s">Return to the Dashboard</a>', 'cryout' ) ), esc_url( self_admin_url() ) ); + echo esc_html__( 'No plugins to install, update or activate.', 'cryout' ) . ' <a href="' . esc_url( self_admin_url() ) . '"> ' . esc_html__( 'Return to the Dashboard', 'cryout' ) . '</a>'; echo '<style type="text/css">#adminmenu .wp-submenu li.current { display: none !important; }</style>'; } @@ -2540,16 +2654,19 @@ if ( ! class_exists( 'TGMPA_List_Table' ) ) { // Display the 'Install' action link if the plugin is not yet available. if ( ! $this->tgmpa->is_plugin_installed( $item['slug'] ) ) { - $actions['install'] = _x( 'Install %2$s', '%2$s = plugin name in screen reader markup', 'cryout' ); + /* translators: %2$s: plugin name in screen reader markup */ + $actions['install'] = __( 'Install %2$s', 'cryout' ); } else { // Display the 'Update' action link if an update is available and WP complies with plugin minimum. if ( false !== $this->tgmpa->does_plugin_have_update( $item['slug'] ) && $this->tgmpa->can_plugin_update( $item['slug'] ) ) { - $actions['update'] = _x( 'Update %2$s', '%2$s = plugin name in screen reader markup', 'cryout' ); + /* translators: %2$s: plugin name in screen reader markup */ + $actions['update'] = __( 'Update %2$s', 'cryout' ); } // Display the 'Activate' action link, but only if the plugin meets the minimum version. if ( $this->tgmpa->can_plugin_activate( $item['slug'] ) ) { - $actions['activate'] = _x( 'Activate %2$s', '%2$s = plugin name in screen reader markup', 'cryout' ); + /* translators: %2$s: plugin name in screen reader markup */ + $actions['activate'] = __( 'Activate %2$s', 'cryout' ); } } @@ -2568,7 +2685,7 @@ if ( ! class_exists( 'TGMPA_List_Table' ) ) { ); $action_links[ $action ] = sprintf( - '<a href="%1$s">' . esc_html( $text ) . '</a>', + '<a href="%1$s">' . esc_html( $text ) . '</a>', // $text contains the second placeholder. esc_url( $nonce_url ), '<span class="screen-reader-text">' . esc_html( $item['sanitized_plugin'] ) . '</span>' ); @@ -2721,8 +2838,13 @@ if ( ! class_exists( 'TGMPA_List_Table' ) ) { continue; } + // For install: make sure this is a plugin we *can* install and not one already installed. + if ( 'install' === $install_type && true === $this->tgmpa->is_plugin_installed( $slug ) ) { + unset( $plugins_to_install[ $key ] ); + } + // For updates: make sure this is a plugin we *can* update (update available and WP version ok). - if ( 'update' === $install_type && ( $this->tgmpa->is_plugin_installed( $slug ) && ( false === $this->tgmpa->does_plugin_have_update( $slug ) || ! $this->tgmpa->can_plugin_update( $slug ) ) ) ) { + if ( 'update' === $install_type && false === $this->tgmpa->is_plugin_updatetable( $slug ) ) { unset( $plugins_to_install[ $key ] ); } } @@ -2809,8 +2931,9 @@ if ( ! class_exists( 'TGMPA_List_Table' ) ) { ); // Wrap the install process with the appropriate HTML. - echo '<div class="tgmpa wrap">', - '<h2>', esc_html( get_admin_page_title() ), '</h2>'; + echo '<div class="tgmpa">', + '<h2 style="font-size: 23px; font-weight: 400; line-height: 29px; margin: 0; padding: 9px 15px 4px 0;">', esc_html( get_admin_page_title() ), '</h2> + <div class="update-php" style="width: 100%; height: 98%; min-height: 850px; padding-top: 1px;">'; // Process the bulk installation submissions. add_filter( 'upgrader_source_selection', array( $this->tgmpa, 'maybe_adjust_source_dir' ), 1, 3 ); @@ -2824,9 +2947,9 @@ if ( ! class_exists( 'TGMPA_List_Table' ) ) { $installer->bulk_install( $sources ); } - remove_filter( 'upgrader_source_selection', array( $this->tgmpa, 'maybe_adjust_source_dir' ), 1, 3 ); + remove_filter( 'upgrader_source_selection', array( $this->tgmpa, 'maybe_adjust_source_dir' ), 1 ); - echo '</div>'; + echo '</div></div>'; return true; } @@ -2950,6 +3073,11 @@ if ( ! class_exists( 'TGM_Bulk_Installer' ) ) { /** * Hack: Prevent TGMPA v2.4.1- bulk installer class from being loaded if 2.4.1- is loaded after 2.5+. + * + * @since 2.5.2 + * + * {@internal The TGMPA_Bulk_Installer class was originally called TGM_Bulk_Installer. + * For more information, see that class.}} */ class TGM_Bulk_Installer { } @@ -2958,6 +3086,11 @@ if ( ! class_exists( 'TGM_Bulk_Installer_Skin' ) ) { /** * Hack: Prevent TGMPA v2.4.1- bulk installer skin class from being loaded if 2.4.1- is loaded after 2.5+. + * + * @since 2.5.2 + * + * {@internal The TGMPA_Bulk_Installer_Skin class was originally called TGM_Bulk_Installer_Skin. + * For more information, see that class.}} */ class TGM_Bulk_Installer_Skin { } @@ -3002,9 +3135,9 @@ if ( ! function_exists( 'tgmpa_load_bulk_installer' ) ) { * * @since 2.2.0 * - * @internal Since 2.5.0 the class is an extension of Plugin_Upgrader rather than WP_Upgrader - * @internal Since 2.5.2 the class has been renamed from TGM_Bulk_Installer to TGMPA_Bulk_Installer. - * This was done to prevent backward compatibility issues with v2.3.6. + * {@internal Since 2.5.0 the class is an extension of Plugin_Upgrader rather than WP_Upgrader.}} + * {@internal Since 2.5.2 the class has been renamed from TGM_Bulk_Installer to TGMPA_Bulk_Installer. + * This was done to prevent backward compatibility issues with v2.3.6.}} * * @package TGM-Plugin-Activation * @author Thomas Griffin @@ -3111,17 +3244,19 @@ if ( ! function_exists( 'tgmpa_load_bulk_installer' ) ) { * * @since 2.2.0 * - * @internal This is basically a near identical copy of the WP Core Plugin_Upgrader::bulk_upgrade() - * method, with minor adjustments to deal with new installs instead of upgrades. + * {@internal This is basically a near identical copy of the WP Core + * Plugin_Upgrader::bulk_upgrade() method, with minor adjustments to deal with + * new installs instead of upgrades. * For ease of future synchronizations, the adjustments are clearly commented, but no other - * comments are added. Code style has been made to comply. + * comments are added. Code style has been made to comply.}} * * @see Plugin_Upgrader::bulk_upgrade() * @see https://core.trac.wordpress.org/browser/tags/4.2.1/src/wp-admin/includes/class-wp-upgrader.php#L838 + * (@internal Last synced: Dec 31st 2015 against https://core.trac.wordpress.org/browser/trunk?rev=36134}} * * @param array $plugins The plugin sources needed for installation. * @param array $args Arbitrary passed extra arguments. - * @return string|bool Install confirmation messages on success, false on failure. + * @return array|false Install confirmation messages on success, false on failure. */ public function bulk_install( $plugins, $args = array() ) { // [TGMPA + ] Hook auto-activation in. @@ -3147,16 +3282,17 @@ if ( ! function_exists( 'tgmpa_load_bulk_installer' ) ) { $res = $this->fs_connect( array( WP_CONTENT_DIR, WP_PLUGIN_DIR ) ); if ( ! $res ) { $this->skin->footer(); - return false; } $this->skin->bulk_header(); - // Only start maintenance mode if: - // - running Multisite and there are one or more plugins specified, OR - // - a plugin with an update available is currently active. - // @TODO: For multisite, maintenance mode should only kick in for individual sites if at all possible. + /* + * Only start maintenance mode if: + * - running Multisite and there are one or more plugins specified, OR + * - a plugin with an update available is currently active. + * @TODO: For multisite, maintenance mode should only kick in for individual sites if at all possible. + */ $maintenance = ( is_multisite() && ! empty( $plugins ) ); /* @@ -3188,22 +3324,24 @@ if ( ! function_exists( 'tgmpa_load_bulk_installer' ) ) { continue; } - // Get the URL to the zip file + // Get the URL to the zip file. $r = $current->response[ $plugin ]; $this->skin->plugin_active = is_plugin_active($plugin); */ - $result = $this->run( array( - 'package' => $plugin, // [TGMPA + ] adjusted. - 'destination' => WP_PLUGIN_DIR, - 'clear_destination' => false, // [TGMPA + ] adjusted. - 'clear_working' => true, - 'is_multi' => true, - 'hook_extra' => array( - 'plugin' => $plugin, - ), - ) ); + $result = $this->run( + array( + 'package' => $plugin, // [TGMPA + ] adjusted. + 'destination' => WP_PLUGIN_DIR, + 'clear_destination' => false, // [TGMPA + ] adjusted. + 'clear_working' => true, + 'is_multi' => true, + 'hook_extra' => array( + 'plugin' => $plugin, + ), + ) + ); $results[ $plugin ] = $this->result; @@ -3326,9 +3464,9 @@ if ( ! function_exists( 'tgmpa_load_bulk_installer' ) ) { * * @since 2.2.0 * - * @internal Since 2.5.2 the class has been renamed from TGM_Bulk_Installer_Skin to - * TGMPA_Bulk_Installer_Skin. - * This was done to prevent backward compatibility issues with v2.3.6. + * {@internal Since 2.5.2 the class has been renamed from TGM_Bulk_Installer_Skin to + * TGMPA_Bulk_Installer_Skin. + * This was done to prevent backward compatibility issues with v2.3.6.}} * * @see https://core.trac.wordpress.org/browser/trunk/src/wp-admin/includes/class-wp-upgrader-skins.php * @@ -3411,22 +3549,29 @@ if ( ! function_exists( 'tgmpa_load_bulk_installer' ) ) { public function add_strings() { if ( 'update' === $this->options['install_type'] ) { parent::add_strings(); + /* translators: 1: plugin name, 2: action number 3: total number of actions. */ $this->upgrader->strings['skin_before_update_header'] = __( 'Updating Plugin %1$s (%2$d/%3$d)', 'cryout' ); } else { + /* translators: 1: plugin name, 2: error message. */ $this->upgrader->strings['skin_update_failed_error'] = __( 'An error occurred while installing %1$s: <strong>%2$s</strong>.', 'cryout' ); - $this->upgrader->strings['skin_update_failed'] = __( 'The installation of %1$s failed.', 'cryout' ); + /* translators: 1: plugin name. */ + $this->upgrader->strings['skin_update_failed'] = __( 'The installation of %1$s failed.', 'cryout' ); if ( $this->tgmpa->is_automatic ) { // Automatic activation strings. - $this->upgrader->strings['skin_upgrade_start'] = __( 'The installation and activation process is starting. This process may take a while on some hosts, so please be patient.', 'cryout' ); - $this->upgrader->strings['skin_update_successful'] = __( '%1$s installed and activated successfully.', 'cryout' ) . ' <a href="#" class="hide-if-no-js" onclick="%2$s"><span>' . esc_html__( 'Show Details', 'cryout' ) . '</span><span class="hidden">' . esc_html__( 'Hide Details', 'cryout' ) . '</span>.</a>'; - $this->upgrader->strings['skin_upgrade_end'] = __( 'All installations and activations have been completed.', 'cryout' ); + $this->upgrader->strings['skin_upgrade_start'] = __( 'The installation and activation process is starting. This process may take a while on some hosts, so please be patient.', 'cryout' ); + /* translators: 1: plugin name. */ + $this->upgrader->strings['skin_update_successful'] = __( '%1$s installed and activated successfully.', 'cryout' ) . ' <a href="#" class="hide-if-no-js" onclick="%2$s"><span>' . esc_html__( 'Show Details', 'cryout' ) . '</span><span class="hidden">' . esc_html__( 'Hide Details', 'cryout' ) . '</span>.</a>'; + $this->upgrader->strings['skin_upgrade_end'] = __( 'All installations and activations have been completed.', 'cryout' ); + /* translators: 1: plugin name, 2: action number 3: total number of actions. */ $this->upgrader->strings['skin_before_update_header'] = __( 'Installing and Activating Plugin %1$s (%2$d/%3$d)', 'cryout' ); } else { // Default installation strings. - $this->upgrader->strings['skin_upgrade_start'] = __( 'The installation process is starting. This process may take a while on some hosts, so please be patient.', 'cryout' ); - $this->upgrader->strings['skin_update_successful'] = esc_html__( '%1$s installed successfully.', 'cryout' ) . ' <a href="#" class="hide-if-no-js" onclick="%2$s"><span>' . esc_html__( 'Show Details', 'cryout' ) . '</span><span class="hidden">' . esc_html__( 'Hide Details', 'cryout' ) . '</span>.</a>'; - $this->upgrader->strings['skin_upgrade_end'] = __( 'All installations have been completed.', 'cryout' ); + $this->upgrader->strings['skin_upgrade_start'] = __( 'The installation process is starting. This process may take a while on some hosts, so please be patient.', 'cryout' ); + /* translators: 1: plugin name. */ + $this->upgrader->strings['skin_update_successful'] = esc_html__( '%1$s installed successfully.', 'cryout' ) . ' <a href="#" class="hide-if-no-js" onclick="%2$s"><span>' . esc_html__( 'Show Details', 'cryout' ) . '</span><span class="hidden">' . esc_html__( 'Hide Details', 'cryout' ) . '</span>.</a>'; + $this->upgrader->strings['skin_upgrade_end'] = __( 'All installations have been completed.', 'cryout' ); + /* translators: 1: plugin name, 2: action number 3: total number of actions. */ $this->upgrader->strings['skin_before_update_header'] = __( 'Installing Plugin %1$s (%2$d/%3$d)', 'cryout' ); } } @@ -3649,15 +3794,15 @@ if ( ! class_exists( 'TGMPA_Utils' ) ) { if ( is_bool( $value ) ) { return $value; - } else if ( is_int( $value ) && ( 0 === $value || 1 === $value ) ) { + } elseif ( is_int( $value ) && ( 0 === $value || 1 === $value ) ) { return (bool) $value; - } else if ( ( is_float( $value ) && ! is_nan( $value ) ) && ( (float) 0 === $value || (float) 1 === $value ) ) { + } elseif ( ( is_float( $value ) && ! is_nan( $value ) ) && ( (float) 0 === $value || (float) 1 === $value ) ) { return (bool) $value; - } else if ( is_string( $value ) ) { + } elseif ( is_string( $value ) ) { $value = trim( $value ); if ( in_array( $value, $true, true ) ) { return true; - } else if ( in_array( $value, $false, true ) ) { + } elseif ( in_array( $value, $false, true ) ) { return false; } else { return false; @@ -3669,3 +3814,4 @@ if ( ! class_exists( 'TGMPA_Utils' ) ) { } // End of class TGMPA_Utils } // End of class_exists wrapper +// FIN
\ No newline at end of file diff --git a/themes/mantra/includes/theme-frontpage.php b/themes/mantra/includes/theme-frontpage.php index ae82279c..558b651c 100644 --- a/themes/mantra/includes/theme-frontpage.php +++ b/themes/mantra/includes/theme-frontpage.php @@ -80,22 +80,20 @@ foreach ($mantra_options as $key => $value) { <script type="text/javascript"> - // Flash animation for columns - - - jQuery(document).ready(function() { - // Slider creation - jQuery('#slider').nivoSlider({ - - effect: '<?php echo $mantra_fpslideranim; ?>', - animSpeed: <?php echo $mantra_fpslidertime ?>, - <?php if($mantra_fpsliderarrows=="Hidden") { ?> directionNav: false, <?php } - if($mantra_fpsliderarrows=="Always Visible") { ?> directionNav: true, <?php } ?> - pauseTime: <?php echo $mantra_fpsliderpause ?> - - }); - - jQuery('#front-columns > div img').hover( function() { +jQuery(document).ready(function() { + <?php if ($mantra_slideType!="Slider Shortcode") { ?> + /* Slider */ + jQuery('#slider').nivoSlider({ + effect: '<?php echo $mantra_fpslideranim; ?>', + animSpeed: <?php echo $mantra_fpslidertime ?>, + <?php if($mantra_fpsliderarrows=="Hidden") { ?> directionNav: false, <?php } + if($mantra_fpsliderarrows=="Always Visible") { ?> directionNav: true, <?php } ?> + pauseTime: <?php echo $mantra_fpsliderpause ?> + }); + <?php } ?> + + /* Flash animation for columns */ + jQuery('#front-columns > div img').hover( function() { jQuery(this) .stop() .animate({opacity: 0.5}, 100) @@ -104,133 +102,147 @@ foreach ($mantra_options as $key => $value) { .animate({opacity: 0.999}, 100) ; }, function() {jQuery(this).stop();} ) - }); - </script> +}); +</script> <div id="frontpage"> -<?php - -// First FrontPage Title -if($mantra_fronttext1) {?><div id="front-text1"> <h1><?php echo esc_attr($mantra_fronttext1) ?> </h1></div><?php } - -// When a post query has been selected from the Slider type in the admin area -if ($mantra_slideType != 'Custom Slides') { -global $post; -// Initiating query -$custom_query = new WP_query(); - -// Switch for Query type -switch ($mantra_slideType) { - - case 'Latest Posts' : -$custom_query->query('showposts='.$mantra_slideNumber.'&ignore_sticky_posts=1'); -break; - - case 'Random Posts' : -$custom_query->query('showposts='.$mantra_slideNumber.'&orderby=rand&ignore_sticky_posts=1'); -break; - - case 'Latest Posts from Category' : -$custom_query->query('showposts='.$mantra_slideNumber.'&category_name='.$mantra_slideCateg.'&ignore_sticky_posts=1'); -break; - - case 'Random Posts from Category' : -$custom_query->query('showposts='.$mantra_slideNumber.'&category_name='.$mantra_slideCateg.'&orderby=rand&ignore_sticky_posts=1'); -break; - - case 'Sticky Posts' : -$custom_query->query(array('post__in' => get_option( 'sticky_posts' ), 'showposts' =>$mantra_slideNumber,'ignore_sticky_posts' => 1)); -break; - - case 'Specific Posts' : - // Transofm string separated by commas into array -$pieces_array = explode(",", $mantra_slideSpecific); -$custom_query->query(array( 'post_type' => 'any', 'showposts' => -1, 'post__in' => $pieces_array, 'ignore_sticky_posts' => 1, 'orderby' => 'post__in' )); -break; - -} - // Variables i and j for matching slider number with caption number -$i=0; $j=0;?> - <div class="slider-wrapper theme-default"> - <div class="ribbon"></div> - <div id="slider" class="nivoSlider <?php if($mantra_fpsliderarrows=="Visible on Hover"): ?>slider-navhover<?php endif; ?>"> - <?php - // Loop for creating the slides - if ( $custom_query->have_posts() ) while ( $custom_query->have_posts()) : $custom_query->the_post(); - $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ),'slider'); - $i++; ?> - <a href="<?php the_permalink(); ?>"><img src="<?php echo $image[0]; ?>" alt="" title="#caption<?php echo $i;?>" /></a> - - <?php endwhile; // end of the loop. -?> -</div> - <?php - // Loop for creating the captions - if ($custom_query->have_posts() ) while ( $custom_query->have_posts() ) : $custom_query->the_post(); - $j++; ?> - - <div id="caption<?php echo $j;?>" class="nivo-html-caption"> - <?php the_title("<h2>","</h2>");the_excerpt(); ?> - </div> - - <?php endwhile; // end of the loop. ?> - - </div> - -<?php } else { - -// If Custom Slides have been selected -?> - <div class="slider-wrapper theme-default"> - <div class="ribbon"></div> - <div id="slider" class="nivoSlider <?php if($mantra_fpsliderarrows=="Visible on Hover"): ?>slider-navhover<?php endif; ?>"> - <?php for ($i=1;$i<=5;$i++) - if(${"mantra_sliderimg$i"}) {?> <a href='<?php echo esc_url(${"mantra_sliderlink$i"}) ?>'><img src='<?php echo esc_url(${"mantra_sliderimg$i"}) ?>' alt="" <?php if (${"mantra_slidertitle$i"} || ${"mantra_slidertext$i"} ) { ?>title="#caption<?php echo $i;?>" <?php }?> /></a><?php } ?> - </div> - <?php for ($i=1;$i<=5;$i++) { ?> - <div id="caption<?php echo $i;?>" class="nivo-html-caption"> - <?php echo '<h2>'.${"mantra_slidertitle$i"}.'</h2>'.${"mantra_slidertext$i"} ?> - </div> + // First FrontPage Title + if($mantra_fronttext1) {?><div id="front-text1"> <h1><?php echo esc_attr($mantra_fronttext1) ?> </h1></div><?php } + + // Slider + if ($mantra_slideType=="Slider Shortcode") { ?> + <div class="slider-wrapper"> + <?php echo do_shortcode( $mantra_slideShortcode ); ?> + </div> <?php + } else { + // The built-in slider + + // When a post query has been selected from the Slider type in the admin area + if ($mantra_slideType != 'Custom Slides') { + global $post; + // Initiating query + $custom_query = new WP_query(); + + // Switch for Query type + switch ($mantra_slideType) { + + case 'Latest Posts': + $custom_query->query('showposts='.$mantra_slideNumber.'&ignore_sticky_posts=1'); + break; + + case 'Random Posts': + $custom_query->query('showposts='.$mantra_slideNumber.'&orderby=rand&ignore_sticky_posts=1'); + break; + + case 'Latest Posts from Category': + $custom_query->query('showposts='.$mantra_slideNumber.'&category_name='.$mantra_slideCateg.'&ignore_sticky_posts=1'); + break; + + case 'Random Posts from Category': + $custom_query->query('showposts='.$mantra_slideNumber.'&category_name='.$mantra_slideCateg.'&orderby=rand&ignore_sticky_posts=1'); + break; + + case 'Sticky Posts': + $custom_query->query(array('post__in' => get_option( 'sticky_posts' ), 'showposts' =>$mantra_slideNumber,'ignore_sticky_posts' => 1)); + break; + + case 'Specific Posts': + // Transform string separated by commas into array + $pieces_array = explode(",", $mantra_slideSpecific); + $custom_query->query(array( 'post_type' => 'any', 'showposts' => -1, 'post__in' => $pieces_array, 'ignore_sticky_posts' => 1, 'orderby' => 'post__in' )); + break; + + } // switch + + // Variables for matching slider number with caption number + $mantra_cycle1=0; + $mantra_cycle2=0; ?> + <div class="slider-wrapper theme-default"> + <div class="ribbon"></div> + <div id="slider" class="nivoSlider <?php if($mantra_fpsliderarrows=="Visible on Hover"): ?>slider-navhover<?php endif; ?>"> + <?php + // Loop for creating the slides + if ( $custom_query->have_posts() ) while ( $custom_query->have_posts()) : + $custom_query->the_post(); + + $image = wp_get_attachment_image_src( get_post_thumbnail_id( $post->ID ),'slider'); + $mantra_cycle1++; ?> + <a href="<?php the_permalink(); ?>"><img src="<?php echo $image[0]; ?>" alt="" title="#caption<?php echo $mantra_cycle1;?>" /></a> <?php + + endwhile; // end of the loop. + ?> + </div> + <?php + // Loop for creating the captions + if ($custom_query->have_posts() ) while ( $custom_query->have_posts() ) : + $custom_query->the_post(); + $mantra_cycle2++; ?> + + <div id="caption<?php echo $mantra_cycle2;?>" class="nivo-html-caption"> + <?php the_title("<h2>","</h2>"); the_excerpt(); ?> + </div> + <?php + endwhile; // end of the loop. ?> + + </div> + <?php } else { + + // If Custom Slides have been selected + ?> + <div class="slider-wrapper theme-default"> + <div class="ribbon"></div> + <div id="slider" class="nivoSlider <?php if($mantra_fpsliderarrows=="Visible on Hover"): ?>slider-navhover<?php endif; ?>"> + <?php + for ( $mantra_cycle1=1; $mantra_cycle1<=5; $mantra_cycle1++ ) + if(${"mantra_sliderimg$mantra_cycle1"}) { ?> + <a href='<?php echo esc_url(${"mantra_sliderlink$mantra_cycle1"}) ?>'> + <img src='<?php echo esc_url(${"mantra_sliderimg$mantra_cycle1"}) ?>' alt="" <?php if (${"mantra_slidertitle$mantra_cycle1"} || ${"mantra_slidertext$mantra_cycle1"} ) { ?>title="#caption<?php echo $mantra_cycle1;?>" <?php }?> /> + </a> + <?php } ?> + </div> + <?php + for ( $mantra_cycle1=1; $mantra_cycle1<=5; $mantra_cycle1++ ) { ?> + <div id="caption<?php echo $mantra_cycle1;?>" class="nivo-html-caption"> + <?php echo '<h2>'.${"mantra_slidertitle$mantra_cycle1"}.'</h2>'.${"mantra_slidertext$mantra_cycle1"} ?> + </div> <?php } ?> -</div> -<?php } - -// Second FrontPage title - if($mantra_fronttext2) {?><div id="front-text2"> <h1><?php echo esc_attr($mantra_fronttext2) ?> </h1></div><?php } - -// Frontpage columns - if($mantra_nrcolumns) { ?> -<div id="front-columns"> - <div id="column1"> - <a href="<?php echo esc_url($mantra_columnlink1) ?>"> <div class="column-image" ><img src="<?php echo esc_url($mantra_columnimg1) ?>" id="columnImage1" alt="" /> </div> <h3><?php echo $mantra_columntitle1 ?></h3> </a><div class="column-text"><?php echo do_shortcode ($mantra_columntext1 ); ?></div> - <?php if($mantra_columnreadmore) {?> <div class="columnmore"> <a href="<?php echo esc_url($mantra_columnlink1) ?>"><?php echo esc_attr($mantra_columnreadmore) ?> »</a> </div><?php } ?> - </div> -<?php if($mantra_nrcolumns != '1') { ?> - <div id="column2"> - <a href="<?php echo esc_url($mantra_columnlink2) ?>"> <div class="column-image" ><img src="<?php echo esc_url($mantra_columnimg2) ?>" id="columnImage2" alt="" /> </div> <h3><?php echo $mantra_columntitle2 ?></h3> </a><div class="column-text"><?php echo do_shortcode ( $mantra_columntext2 );?></div> - <?php if($mantra_columnreadmore) {?> <div class="columnmore"> <a href="<?php echo esc_url($mantra_columnlink2) ?>"><?php echo esc_attr($mantra_columnreadmore) ?> »</a> </div><?php } ?> - </div> -<?php if($mantra_nrcolumns != '2') { ?> - <div id="column3"> - <a href="<?php echo esc_url($mantra_columnlink3) ?>"> <div class="column-image" ><img src="<?php echo esc_url($mantra_columnimg3) ?>" id="columnImage3" alt="" /> </div> <h3><?php echo $mantra_columntitle3 ?></h3> </a><div class="column-text"><?php echo do_shortcode ( $mantra_columntext3 );?></div> - <?php if($mantra_columnreadmore) {?> <div class="columnmore"> <a href="<?php echo esc_url($mantra_columnlink3) ?>"><?php echo esc_attr($mantra_columnreadmore) ?> »</a> </div><?php } ?> - </div> -<?php if($mantra_nrcolumns == '4') { ?> - <div id="column4"> - <a href="<?php echo esc_url($mantra_columnlink4) ?>"> <div class="column-image" ><img src="<?php echo esc_url($mantra_columnimg4) ?>" id="columnImage4" alt="" /> </div> <h3><?php echo $mantra_columntitle4 ?></h3> </a><div class="column-text"><?php echo do_shortcode ( $mantra_columntext4 ); ?></div> - <?php if($mantra_columnreadmore) {?> <div class="columnmore"> <a href="<?php echo esc_url($mantra_columnlink4) ?>"><?php echo esc_attr($mantra_columnreadmore) ?> »</a> </div><?php } ?> - </div> -<?php } } }?> -</div> -<?php } - - // Frontpage text areas - if($mantra_fronttext3) {?><div id="front-text3"> <blockquote><?php echo do_shortcode( $mantra_fronttext3 ) ?> </blockquote></div><?php } - if($mantra_fronttext4) {?><div id="front-text4"> <blockquote><?php echo do_shortcode( $mantra_fronttext4 ) ?> </blockquote></div><?php } - - ?> + </div> <?php + } // if custom slides + + } // if built-in slider + + // Second FrontPage title + if($mantra_fronttext2) {?><div id="front-text2"> <h1><?php echo esc_attr($mantra_fronttext2) ?> </h1></div><?php } + + // Frontpage columns + if($mantra_nrcolumns) { ?> + <div id="front-columns"> + <?php for ($mantra_cycle = 1; $mantra_cycle <= $mantra_nrcolumns; $mantra_cycle++ ) { ?> + <div id="column<?php echo $mantra_cycle ?>"> + <a href="<?php echo esc_url(${'mantra_columnlink'.$mantra_cycle}) ?>"> + <div class="column-image"> + <img src="<?php echo esc_url(${'mantra_columnimg'.$mantra_cycle}) ?>" id="columnImage<?php echo $mantra_cycle ?>" alt="" /> + </div> + <h3><?php echo ${'mantra_columntitle'.$mantra_cycle} ?></h3> + </a> + <div class="column-text"><?php echo do_shortcode (${'mantra_columntext'.$mantra_cycle} ); ?></div> + <?php if($mantra_columnreadmore) {?> + <div class="columnmore"> + <a href="<?php echo esc_url(${'mantra_columnlink'.$mantra_cycle}) ?>"><?php echo esc_attr($mantra_columnreadmore) ?> »</a> + </div> + <?php } // if ?> + </div> + <?php } // for ?> + </div> + <?php } + + // Frontpage text areas + if($mantra_fronttext3) {?><div id="front-text3"> <blockquote><?php echo do_shortcode( $mantra_fronttext3 ) ?> </blockquote></div><?php } + if($mantra_fronttext4) {?><div id="front-text4"> <blockquote><?php echo do_shortcode( $mantra_fronttext4 ) ?> </blockquote></div><?php } + + ?> </div> <!-- frontpage --> <?php } // End of mantra_frontpage_generator endif; diff --git a/themes/mantra/includes/theme-loop.php b/themes/mantra/includes/theme-loop.php index 7dcbe135..479d172f 100644 --- a/themes/mantra/includes/theme-loop.php +++ b/themes/mantra/includes/theme-loop.php @@ -159,7 +159,7 @@ foreach ($mantra_options as $key => $value) { } -$date_string = '<time class="onDate date published" datetime="' . get_the_time( 'c' ) . '"> %3$s <span class="bl_sep">|</span> </time>'; +$date_string = '<time class="onDate date published" datetime="' . get_the_time( 'c' ) . '"> %3$s </time><span class="bl_sep">|</span>'; $date_string .= '<time class="updated" datetime="' . get_the_modified_date( 'c' ) . '">' . get_the_modified_date() . '</time>'; // If author is hidden don't give it a value @@ -167,8 +167,7 @@ $author_string = sprintf( '<span class="author vcard" >'.__( 'By ','mantra'). ' get_author_posts_url( get_the_author_meta( 'ID' ) ), sprintf( esc_attr__( 'View all posts by %s', 'mantra' ), get_the_author() ), get_the_author() - ) ; -if ($mantra_postauthor == "Hide") $author_string=''; + ); // Print the meta data printf( ' %4$s '.$date_string.' <span class="bl_categ"> %2$s </span> ', diff --git a/themes/mantra/includes/theme-setup.php b/themes/mantra/includes/theme-setup.php index 5c42bdf8..ecf57fdb 100644 --- a/themes/mantra/includes/theme-setup.php +++ b/themes/mantra/includes/theme-setup.php @@ -70,25 +70,18 @@ function mantra_setup() { set_post_thumbnail_size( 150, 150 ); // default Post Thumbnail dimensions (cropped) // Add default posts and comments RSS feed links to head - add_theme_support( 'automatic-feed-links' ); - add_theme_support('post-formats', array( 'aside', 'chat', 'gallery', 'image', 'link', 'quote', 'status')); + add_theme_support( 'post-formats', array( 'aside', 'chat', 'gallery', 'image', 'link', 'quote', 'status') ); // Make theme available for translation // Translations can be filed in the /languages/ directory -/** - * Make theme available for translation - * Translations can be filed in the /languages/ directory - */ -load_theme_textdomain( 'mantra', get_template_directory() . '/languages' ); + load_theme_textdomain( 'mantra', get_template_directory() . '/languages' ); -$locale = get_locale(); -$locale_file = get_template_directory() . "/languages/$locale.php"; + $locale = get_locale(); + $locale_file = get_template_directory() . "/languages/$locale.php"; if ( is_readable( $locale_file ) ) require_once( $locale_file ); - - // This theme uses wp_nav_menu() in 3 locations. register_nav_menus( array( 'primary' => __( 'Primary Navigation', 'mantra' ), @@ -105,23 +98,25 @@ $locale_file = get_template_directory() . "/languages/$locale.php"; global $mantra_hheight; $mantra_hheight=(int)$mantra_hheight; global $mantra_totalSize; - define( 'HEADER_IMAGE_WIDTH', apply_filters( 'mantra_header_image_width', $mantra_totalSize ) ); - define( 'HEADER_IMAGE_HEIGHT', apply_filters( 'mantra_header_image_height', $mantra_hheight) ); - //set_post_thumbnail_size( HEADER_IMAGE_WIDTH, HEADER_IMAGE_HEIGHT, true ); - add_image_size('header',HEADER_IMAGE_WIDTH,HEADER_IMAGE_HEIGHT,true); + add_image_size('header', apply_filters( 'mantra_header_image_width', $mantra_totalSize ), apply_filters( 'mantra_header_image_height', $mantra_hheight), true ); global $mantra_fpsliderwidth; global $mantra_fpsliderheight; - add_image_size('slider',$mantra_fpsliderwidth,$mantra_fpsliderheight,true); + add_image_size( 'slider', $mantra_fpsliderwidth, $mantra_fpsliderheight, true ); // Add a way for the custom header to be styled in the admin panel that controls // custom headers. See mantra_admin_header_style(), below. define( 'NO_HEADER_TEXT', true ); - add_theme_support( 'custom-header' ); - - // ... and thus ends the changeable header business. - - -// Backwards compatibility with pre 3.4 versions for custom background and header + // Add support for flexible headers + $header_args = array( + 'flex-height' => true, + 'height' => $mantra_hheight, + 'flex-width' => true, + 'width' => $mantra_totalSize, + 'max-width' => 1920, + 'default-image' => '', + 'admin-head-callback' => 'mantra_admin_header_style', + ); + add_theme_support( 'custom-header', $header_args ); // Default custom headers packaged with the theme. %s is a placeholder for the theme template directory URI. register_default_headers( array( diff --git a/themes/mantra/js/frontend.js b/themes/mantra/js/frontend.js index 2f8751ac..27b22a59 100644 --- a/themes/mantra/js/frontend.js +++ b/themes/mantra/js/frontend.js @@ -8,26 +8,26 @@ jQuery(document).ready(function() { -// standard menu touch support for tablets - var isTouch = ('ontouchstart' in window) || window.DocumentTouch && document instanceof DocumentTouch; // check touch support +/* standard menu touch support for tablets */ + var isTouch = ('ontouchstart' in window) || window.DocumentTouch && document instanceof DocumentTouch; /* check touch support */ jQuery('#access .menu > ul > li a').click(function(e){ var $link_id = jQuery(this).attr('href'); - if (jQuery(this).parent().data('clicked') == $link_id) { // second touch + if (jQuery(this).parent().data('clicked') == $link_id) { /* second touch */ jQuery(this).parent().data('clicked', null); return true; } - else { // first touch - if (isTouch && (jQuery(this).parent().children('.sub-menu').length >0)) e.preventDefault(); + else { /* first touch */ + if (isTouch && (jQuery(this).parent().children('ul').length >0)) e.preventDefault(); jQuery(this).parent().data('clicked', $link_id); } }); -// Back to top button animation +/* Back to top button animation */ jQuery(function() { jQuery(window).scroll(function() { var x=jQuery(this).scrollTop(); var ver = getInternetExplorerVersion(); - // no fade animation (transparency) if IE8 or below + /* no fade animation (transparency) if IE8 or below */ if ( ver > -1 && ver <= 8 ) { if(x != 0) { jQuery('#toTop').show(); @@ -35,7 +35,7 @@ jQuery(function() { jQuery('#toTop').hide(); } } - // fade animation if not IE8 or below + /* fade animation if not IE8 or below */ else { if(x != 0) { jQuery('#toTop').fadeIn(3000); @@ -48,9 +48,9 @@ jQuery(function() { }); -// Menu animation -jQuery("#access ul ul").css({display: "none"}); // Opera Fix -jQuery("#access").removeClass("jssafe"); // JS failsafe +/* Menu animation */ +jQuery("#access ul ul").css({display: "none"}); /* Opera Fix */ +jQuery("#access").removeClass("jssafe"); /* JS failsafe */ jQuery("#access .menu ul li").hoverIntent({ over: function(){jQuery(this).children("ul").show(400);}, out: function(){ jQuery(this).children('ul').hide();}, @@ -58,7 +58,7 @@ jQuery("#access .menu ul li").hoverIntent({ ); -// Social Icons Animation +/* Social Icons Animation */ jQuery(".socialicons").hover( function(){ jQuery(this).animate({"top": "-3px" },{ queue: false, duration:125}); }, function(){ jQuery(this).animate({ "top": "0px" }, { queue: false, duration:125 }); @@ -70,18 +70,18 @@ jQuery(".socialicons").hover( (function ($, window, i) { $.fn.tinyNav = function (options) { - // Default settings + /* Default settings */ var settings = $.extend({ - 'active' : 'selected', // String: Set the "active" class - 'header' : '' // Show header instead of the active item + 'active' : 'selected', /* String: Set the "active" class */ + 'header' : '' /* Show header instead of the active item */ }, options); return this.each(function () { - i++; // Used for namespacing + i++; /* Used for namespacing */ var $nav = $(this), - // Namespacing + /* Namespacing */ namespace = 'tinynav', namespace_i = namespace + i, l_namespace_i = '.l_' + namespace_i, @@ -93,7 +93,7 @@ jQuery(".socialicons").hover( $select.append( $('<option/>').text(settings.header) ); } - // Build options + /* Build options */ var options = ''; var indent = 0; var indented = [" "]; @@ -111,10 +111,10 @@ jQuery(".socialicons").hover( indent--; }); - // Append options into a select + /* Append options into a select */ $select.append(options); - // Select the active item + /* Select the active item */ if (!settings.header) { $select .find(':eq(' + $(l_namespace_i + ' li') @@ -122,14 +122,14 @@ jQuery(".socialicons").hover( .attr('selected', true); } - // Change window location + /* Change window location */ $select.change(function () { var loc = $(this).val(); loc = loc.replace(/[\s\t]/gi,''); var menu = settings.header; menu = menu.replace(/[\s\t]/gi,''); if ((loc!==menu)) { window.location.href = $(this).val(); } else return false; }); - // Inject select + /* Inject select */ $(l_namespace_i).after($select); } @@ -141,20 +141,20 @@ jQuery(".socialicons").hover( }; })(jQuery, this, 0); -// end tinynav +/* end tinynav */ -// detect and apply custom class for safari +/* detect and apply custom class for safari */ if (navigator.userAgent.indexOf('Safari') != -1 && navigator.userAgent.indexOf('Chrome') == -1) { jQuery('body').addClass('safari'); } }); -// end document.ready +/* end document.ready */ -// Columns equalizer, used if at least one sidebar has a bg color +/* Columns equalizer, used if at least one sidebar has a bg color */ function equalizeHeights(){ var h1 = jQuery("#primary").height(); var h2 = jQuery("#secondary").height(); @@ -237,11 +237,12 @@ function equalizeHeights(){ (function(e){e.fn.hoverIntent=function(t,n,r){var i={interval:100,sensitivity:7,timeout:0};if(typeof t==="object"){i=e.extend(i,t)}else if(e.isFunction(n)){i=e.extend(i,{over:t,out:n,selector:r})}else{i=e.extend(i,{over:t,out:t,selector:n})}var s,o,u,a;var f=function(e){s=e.pageX;o=e.pageY};var l=function(t,n){n.hoverIntent_t=clearTimeout(n.hoverIntent_t);if(Math.abs(u-s)+Math.abs(a-o)<i.sensitivity){e(n).off("mousemove.hoverIntent",f);n.hoverIntent_s=1;return i.over.apply(n,[t])}else{u=s;a=o;n.hoverIntent_t=setTimeout(function(){l(t,n)},i.interval)}};var c=function(e,t){t.hoverIntent_t=clearTimeout(t.hoverIntent_t);t.hoverIntent_s=0;return i.out.apply(t,[e])};var h=function(t){var n=jQuery.extend({},t);var r=this;if(r.hoverIntent_t){r.hoverIntent_t=clearTimeout(r.hoverIntent_t)}if(t.type=="mouseenter"){u=n.pageX;a=n.pageY;e(r).on("mousemove.hoverIntent",f);if(r.hoverIntent_s!=1){r.hoverIntent_t=setTimeout(function(){l(n,r)},i.interval)}}else{e(r).off("mousemove.hoverIntent",f);if(r.hoverIntent_s==1){r.hoverIntent_t=setTimeout(function(){c(n,r)},i.timeout)}}};return this.on({"mouseenter.hoverIntent":h,"mouseleave.hoverIntent":h},i.selector)}})(jQuery) -// Returns the version of Internet Explorer or a -1 -// (indicating the use of another browser). +/* Returns the version of Internet Explorer or a -1 + * (indicating the use of another browser). + */ function getInternetExplorerVersion() { - var rv = -1; // Return value assumes failure. + var rv = -1; /* Return value assumes failure. */ if (navigator.appName == 'Microsoft Internet Explorer') { var ua = navigator.userAgent; diff --git a/themes/mantra/languages/_mantra.mo b/themes/mantra/languages/_mantra.mo Binary files differdeleted file mode 100644 index 5be602e3..00000000 --- a/themes/mantra/languages/_mantra.mo +++ /dev/null diff --git a/themes/mantra/languages/ja_JP.mo b/themes/mantra/languages/ja_JP.mo Binary files differdeleted file mode 100644 index a36fd8fa..00000000 --- a/themes/mantra/languages/ja_JP.mo +++ /dev/null diff --git a/themes/mantra/languages/ja_JP.po b/themes/mantra/languages/ja_JP.po deleted file mode 100644 index 36cb3163..00000000 --- a/themes/mantra/languages/ja_JP.po +++ /dev/null @@ -1,2088 +0,0 @@ -msgid "" -msgstr "" -"Project-Id-Version: mantra 197\n" -"Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2013-01-30 17:12+0200\n" -"PO-Revision-Date: 2013-06-14 15:07+0900\n" -"Last-Translator: Yoshiki Osako <yosako.brainpro@gmail.com>\n" -"Language-Team: \n" -"MIME-Version: 1.0\n" -"Content-Type: text/plain; charset=UTF-8\n" -"Content-Transfer-Encoding: 8bit\n" -"X-Poedit-KeywordsList: _;gettext;gettext_noop;__;_e\n" -"X-Poedit-Basepath: C:\\Users\\medicated\\Desktop\\mantra\n" -"X-Generator: Poedit 1.5.5\n" -"X-Poedit-SearchPath-0: .\n" - -#: 404.php:17 -msgid "Not Found" -msgstr "見つかりません" - -#: 404.php:19 -msgid "" -"Apologies, but the page you requested could not be found. Perhaps searching " -"will help." -msgstr "お探しのページは見つかりませんでした。" - -#: archive.php:25 -#, php-format -msgid "Daily Archives: %s" -msgstr "日別アーカイブ: %s" - -#: archive.php:27 -#, php-format -msgid "Monthly Archives: %s" -msgstr "月別アーカイブ: %s" - -#: archive.php:29 -#, php-format -msgid "Yearly Archives: %s" -msgstr "年別アーカイブ: %s" - -#: archive.php:31 -msgid "Blog Archives" -msgstr "ブログアーカイブ" - -#: archive.php:57 author.php:74 category.php:50 -msgid "Nothing Found" -msgstr "何も見つかりません" - -#: archive.php:61 author.php:78 category.php:54 -msgid "" -"Apologies, but no results were found for the requested archive. Perhaps " -"searching will help find a related post." -msgstr "お探しのページは見つかりませんでした。" - -#: attachment.php:18 -#, php-format -msgid "Return to %s" -msgstr "%s へ戻る" - -#: attachment.php:29 -msgid "By" -msgstr "By" - -#: attachment.php:40 -msgid "Published" -msgstr "発行" - -#: attachment.php:50 -#, php-format -msgid "Full size is %s pixels" -msgstr "フルサイズ %s ピクセル" - -#: attachment.php:53 -msgid "Link to full-size image" -msgstr "フルサイズイメージへリンク" - -#: attachment.php:60 attachment.php:107 content-aside.php:48 -#: content-chat.php:49 content-gallery.php:65 content-image.php:42 -#: content-link.php:49 content-page.php:22 content-quote.php:46 -#: content-status.php:48 content.php:77 -msgid "Edit" -msgstr "編集" - -#: attachment.php:100 -msgid "Continue reading" -msgstr "続きを読む" - -#: attachment.php:101 content-aside.php:39 content-chat.php:38 -#: content-gallery.php:55 content-image.php:33 content-link.php:38 -#: content-page.php:21 content-quote.php:36 content-status.php:39 -#: content.php:49 content.php:66 -msgid "Pages:" -msgstr "ページ:" - -#: author.php:28 -#, php-format -msgid "Author Archives: %s" -msgstr "著者アーカイブ: %s" - -#: author.php:49 -#, php-format -msgid "About %s" -msgstr "%s について" - -#: category.php:19 -#, php-format -msgid "Category Archives: %s" -msgstr "カテゴリアーカイブ: %s" - -#: comments.php:18 -msgid "" -"This post is password protected. Enter the password to view any comments." -msgstr "" -"この投稿はパスワードで保護されています。コメントを表示するにはパスワードを入" -"力してください。" - -#: content-aside.php:20 -msgid "Aside" -msgstr "わき" - -#: content-aside.php:38 content-chat.php:37 content-gallery.php:33 -#: content-image.php:32 content-link.php:37 content-quote.php:35 -#: content-status.php:38 -msgid "Continue reading <span class=\"meta-nav\">→</span>" -msgstr "続きを読む <span class=\"meta-nav\">→</span>" - -#: content-aside.php:46 content-chat.php:45 content-gallery.php:62 -#: content-image.php:39 content-link.php:45 content-quote.php:43 -#: content-status.php:46 content.php:75 -msgid "Tagged" -msgstr "タグ付けされた" - -#: content-chat.php:20 -msgid "Chat" -msgstr "チャット" - -#: content-gallery.php:20 -msgid "Gallery" -msgstr "ギャラリー" - -#: content-image.php:19 -msgid "Image" -msgstr "画像" - -#: content-link.php:20 -msgid "Link" -msgstr "リンク" - -#: content-page.php:27 -msgid "Comments are closed." -msgstr "コメントは停止中です。" - -#: content-quote.php:18 -msgid "Quote" -msgstr "引用" - -#: content-status.php:30 -msgid "Status" -msgstr "ステータス" - -#: search.php:19 -#, php-format -msgid "Search Results for: %s" -msgstr "%s の検索結果" - -#: search.php:38 -#, php-format -msgid "No search results for: %s" -msgstr "%s の検索結果がありません" - -#: searchform.php:1 -msgid "Search" -msgstr "検索" - -#: single.php:44 -msgid "View all posts by " -msgstr "すべての投稿を見る" - -#: tag.php:20 -#, php-format -msgid "Tag Archives: %s" -msgstr "タグアーカイブ: %s" - -#: admin/admin-functions.php:62 -msgid "" -"Before you can upload your import file, you will need to fix the following " -"error:" -msgstr "" -"インポートファイルをアップロードする前に、以下のエラーを修正してください。" - -#: admin/admin-functions.php:70 -msgid "Import Mantra Theme Options" -msgstr "Mantra テーマオプションをインポート" - -#: admin/admin-functions.php:72 -msgid "" -"Hi! This is where you import the Mantra settings.<i> Please remember that " -"this is still an experimental feature.</i>" -msgstr "" -"Mantra設定をインポートする場所です。<i> これはまだ試験中の機能です。</i>" - -#: admin/admin-functions.php:74 -msgid "Just choose a file from your computer:" -msgstr "コンピュータからファイルを選択してください。" - -#: admin/admin-functions.php:76 -#, php-format -msgid "Maximum size: %s" -msgstr "最大サイズ: %s" - -#: admin/admin-functions.php:82 -msgid "And import!" -msgstr "そしてインポート!" - -#: admin/admin-functions.php:148 -msgid "Import Mantra Theme Options " -msgstr "Mantra テーマオプションをインポート" - -#: admin/admin-functions.php:151 -msgid "Great! The options have been imported!" -msgstr "オプションはインポートされました!" - -#: admin/admin-functions.php:152 -msgid "Go back to the Mantra options page and check them out!" -msgstr "Mantra オプションページへ戻り、それらをチェックしてください!" - -#: admin/admin-functions.php:155 admin/admin-functions.php:161 -#: admin/admin-functions.php:167 -msgid "Oops, there's a small problem." -msgstr "小さな問題が見つかりました。" - -#: admin/admin-functions.php:156 -msgid "" -"The uploaded file does not contain valid Mantra options. Make sure the file " -"is exported from the Mantra Options page." -msgstr "" -"アップロードされたファイルは、正当な Mantra オプションを含んでいません。" -"Mantra オプションページからファイルがエクスポートされたことを確認してくださ" -"い。" - -#: admin/admin-functions.php:162 -msgid "The uploaded file could not be read." -msgstr "アップロードされたファイルは読み込めません。" - -#: admin/admin-functions.php:168 -msgid "" -"The uploaded file is not supported. Make sure the file was exported from the " -"Mantra page and that it is a text file." -msgstr "" -"アップロードされたファイルはサポートされていません。Mantra ページからテキスト" -"ファイルとしてエクスポートされたことを確認してください。" - -#: admin/admin-functions.php:177 -msgid "" -"Oops! The file is empty or there was no file. This error could also be " -"caused by uploads being disabled in your php.ini or by post_max_size being " -"defined as smaller than upload_max_filesize in php.ini." -msgstr "" -"ファイルが空か、ファイルがありません。このエラーは、php.ini の設定で、アップ" -"ロードが有効になっていないか、post_max_size の値が upload_max_filesize の値よ" -"りも小さいことが原因かもしれません。" - -#: admin/admin-functions.php:183 -msgid "ERROR: You are not authorised to perform that operation" -msgstr "ERROR: この機能を使用する権限がありません。" - -#: admin/main.php:93 -msgid "Layout Settings" -msgstr "レイアウト設定" - -#: admin/main.php:94 -msgid "Presentation Page" -msgstr "プレゼンテーションページ" - -#: admin/main.php:95 -msgid "Text Settings" -msgstr "テキスト設定" - -#: admin/main.php:96 -msgid "Color Settings" -msgstr "カラー設定" - -#: admin/main.php:97 -msgid "Graphics Settings" -msgstr "グラフィックス設定" - -#: admin/main.php:98 -msgid "Post Information Settings" -msgstr "投稿情報設定" - -#: admin/main.php:99 -msgid "Post Excerpt Settings" -msgstr "投稿抜粋設定" - -#: admin/main.php:100 -msgid "Featured Image Settings" -msgstr "お気に入り画像設定" - -#: admin/main.php:101 -msgid "Social Media Settings" -msgstr "ソーシャルメディア設定" - -#: admin/main.php:102 -msgid "Miscellaneous Settings" -msgstr "その他設定" - -#: admin/main.php:104 -msgid "Main Layout" -msgstr "メインレイアウト" - -#: admin/main.php:105 -msgid "Content / Sidebar Width" -msgstr "コンテンツ / サイドバーの幅" - -#: admin/main.php:106 -msgid "Header Image Height" -msgstr "ヘッダー画像の高さ" - -#: admin/main.php:108 -msgid "Enable Presentation Page" -msgstr "プレゼンテーションページの有効化" - -#: admin/main.php:109 -msgid "Slider Settings" -msgstr "スライダー設定" - -#: admin/main.php:110 -msgid "Slides" -msgstr "スライド" - -#: admin/main.php:111 -msgid "Presentation Page Columns" -msgstr "プレゼンテーションページコラム" - -#: admin/main.php:112 -msgid "Extras" -msgstr "エキストラ" - -#: admin/main.php:114 -msgid "General Font" -msgstr "一般フォント" - -#: admin/main.php:115 -msgid "General Font Size" -msgstr "一般フォントサイズ" - -#: admin/main.php:116 -msgid "Post Title Font " -msgstr "投稿タイトルフォント" - -#: admin/main.php:117 -msgid "Post Title Font Size" -msgstr "投稿タイトルフォントサイズ" - -#: admin/main.php:118 -msgid "Sidebar Font" -msgstr "サイドバーフォント" - -#: admin/main.php:119 -msgid "SideBar Font Size" -msgstr "サイドバーフォントサイズ" - -#: admin/main.php:120 -msgid "Sub-Headers Font" -msgstr "サブヘッダフォント" - -#: admin/main.php:121 -msgid "Force Text Align" -msgstr "強調テキスト整列" - -#: admin/main.php:122 -msgid "Paragraph indent" -msgstr "段落インデント" - -#: admin/main.php:123 -msgid "Header indent" -msgstr "ヘッダインデント" - -#: admin/main.php:124 -msgid "Line Height" -msgstr "ラインの高さ" - -#: admin/main.php:125 -msgid "Word spacing" -msgstr "単語間の幅" - -#: admin/main.php:126 -msgid "Letter spacing" -msgstr "文字間の幅" - -#: admin/main.php:127 -msgid "Text shadow" -msgstr "テキストシャドウ" - -#: admin/main.php:129 -msgid "Background Color" -msgstr "背景色" - -#: admin/main.php:130 -msgid "Header (Banner and Menu) Background Color" -msgstr "ヘッダ(バナー、メニュー)の背景色" - -#: admin/main.php:131 -msgid "Content Background Color" -msgstr "コンテンツの背景色" - -#: admin/main.php:132 -msgid "Menu Background Color" -msgstr "メニューの背景色" - -#: admin/main.php:133 -msgid "First Sidebar Background Color" -msgstr "1st サイドバーの背景色" - -#: admin/main.php:134 -msgid "Second Sidebar Background Color" -msgstr "2nd サイドバーの背景色" - -#: admin/main.php:136 -msgid "Site Title Color" -msgstr "サイトタイトルカラー" - -#: admin/main.php:137 -msgid "Site Description Color" -msgstr "サイトディスクリプションカラー" - -#: admin/main.php:139 -msgid "Content Text Color" -msgstr "コンテンツテキストカラー" - -#: admin/main.php:140 -msgid "Links Color" -msgstr "リンクカラー" - -#: admin/main.php:141 -msgid "Links Hover Color" -msgstr "リンクホバーカラー" - -#: admin/main.php:142 -msgid "Post Title Color" -msgstr "投稿タイトルカラー" - -#: admin/main.php:143 -msgid "Post Title Hover Color" -msgstr "投稿タイトルホバーカラー" - -#: admin/main.php:144 -msgid "Sidebar Header Background Color" -msgstr "サイドバーヘッダ背景色" - -#: admin/main.php:145 -msgid "Sidebar Header Text Color" -msgstr "サイドバーヘッダテキストカラー" - -#: admin/main.php:146 -msgid "Footer Widget Background Color" -msgstr "フッタウィジェット背景色" - -#: admin/main.php:147 -msgid "Footer Background Color" -msgstr "フッタ背景色" - -#: admin/main.php:148 -msgid "Footer Widget Header Text Color" -msgstr "フッタウィジェットヘッダテキストカラー" - -#: admin/main.php:149 -msgid "Footer Widget Link Color" -msgstr "フッタウィジェットリンクカラー" - -#: admin/main.php:150 -msgid "Footer Widget Hover Color" -msgstr "フッタウィジェットホバーカラー" - -#: admin/main.php:152 -msgid "Caption Border" -msgstr "キャプションボーダー" - -#: admin/main.php:153 -msgid "Post Images Border" -msgstr "投稿画像ボーダー" - -#: admin/main.php:154 -msgid "Caption Pin" -msgstr "キャプションピン" - -#: admin/main.php:155 -msgid "Sidebar Menu Bullets" -msgstr "サイドメニューブレット" - -#: admin/main.php:156 -msgid "Meta Area Background" -msgstr "メタエリア背景" - -#: admin/main.php:157 -msgid "Post Separator" -msgstr "投稿セパレータ" - -#: admin/main.php:158 -msgid "Content List Bullets" -msgstr "コンテンツリストブレット" - -#: admin/main.php:159 -msgid "Title and Description" -msgstr "タイトルと説明" - -#: admin/main.php:160 -msgid "Page Titles" -msgstr "ページタイトル" - -#: admin/main.php:161 -msgid "Category Page Titles" -msgstr "カテゴリページタイトル" - -#: admin/main.php:162 -msgid "Hide Tables" -msgstr "テーブルを非表示にします" - -#: admin/main.php:163 -msgid "Back to Top button" -msgstr "トップへ戻るボタン" - -#: admin/main.php:164 -msgid "Text Under Comments" -msgstr "コメント下のテキスト" - -#: admin/main.php:165 -msgid "Comments are closed text" -msgstr "コメント停止中テキスト" - -#: admin/main.php:166 -msgid "Comments off" -msgstr "コメントオフ" - -#: admin/main.php:167 -msgid "Custom Footer Text" -msgstr "カスタムフッタテキスト" - -#: admin/main.php:169 -msgid "Post Comments Link" -msgstr "コメント投稿リンク" - -#: admin/main.php:170 -msgid "Post Date" -msgstr "投稿日" - -#: admin/main.php:171 -msgid "Post Time" -msgstr "投稿時刻" - -#: admin/main.php:172 -msgid "Post Author" -msgstr "著者" - -#: admin/main.php:173 -msgid "Post Category" -msgstr "投稿カテゴリ" - -#: admin/main.php:174 -msgid "Post Tags" -msgstr "投稿タグ" - -#: admin/main.php:175 -msgid "Post Permalink" -msgstr "投稿パーマリンク" - -#: admin/main.php:176 -msgid "All Post Metas" -msgstr "すべての投稿メタ" - -#: admin/main.php:178 -msgid "Post Excerpts on Home Page" -msgstr "ホームページの投稿抜粋" - -#: admin/main.php:179 -msgid "Affect Sticky Posts" -msgstr "メモ投稿へ影響" - -#: admin/main.php:180 -msgid "Post Excerpts on Archive and Category Pages" -msgstr "アーカイブおよびカテゴリページの投稿抜粋" - -#: admin/main.php:181 -msgid "Number of Words for Post Excerpts " -msgstr "投稿抜粋の単語数" - -#: admin/main.php:182 -msgid "Magazine Layout" -msgstr "雑誌レイアウト" - -#: admin/main.php:183 -msgid "Excerpt suffix" -msgstr "抜粋の接尾辞" - -#: admin/main.php:184 -msgid "Continue reading link text " -msgstr "続きを読むリンクテキスト" - -#: admin/main.php:185 -msgid "HTML tags in Excerpts" -msgstr "抜粋中のHTMLタグ" - -#: admin/main.php:187 -msgid "Featured Images as POST Thumbnails " -msgstr "投稿アイキャッチ画像としてのお気に入り画像" - -#: admin/main.php:188 -msgid "Auto Select Images From Posts " -msgstr "投稿から自動的に画像を選択" - -#: admin/main.php:189 -msgid "Thumbnails Alignment " -msgstr "アイキャッチ画像の整列" - -#: admin/main.php:190 -msgid "Thumbnails Size " -msgstr "アイキャッチ画像サイズ" - -#: admin/main.php:191 -msgid "Featured Images as HEADER Images " -msgstr "ヘッダイメージとしてのお気に入り画像" - -#: admin/main.php:193 -msgid "Link nr. 1" -msgstr "リンク nr. 1" - -#: admin/main.php:194 -msgid "Link nr. 2" -msgstr "リンク nr. 2" - -#: admin/main.php:195 -msgid "Link nr. 3" -msgstr "リンク nr. 3" - -#: admin/main.php:196 -msgid "Link nr. 4" -msgstr "リンク nr. 4" - -#: admin/main.php:197 -msgid "Link nr. 5" -msgstr "リンク nr. 5" - -#: admin/main.php:198 -msgid "Socials display" -msgstr "ソーシャル表示" - -#: admin/main.php:200 -msgid "Make Site Header a Link" -msgstr "サイトヘッダをリンクにします" - -#: admin/main.php:201 -msgid "Breadcrumbs" -msgstr "パン屑リスト" - -#: admin/main.php:202 -msgid "Pagination" -msgstr "ページ送り" - -#: admin/main.php:203 -msgid "Mobile view" -msgstr "モバイルビュー" - -#: admin/main.php:204 -msgid "FavIcon" -msgstr "FavIcon" - -#: admin/main.php:205 -msgid "Custom CSS" -msgstr "カスタム CSS" - -#: admin/main.php:206 -msgid "Custom JavaScript" -msgstr "カスタム JavaScript" - -#: admin/main.php:207 -msgid "SEO Settings" -msgstr "SEO 設定" - -#: admin/main.php:224 -msgid "Sorry, but you do not have sufficient permissions to access this page." -msgstr "このページにアクセスするパーミッションがありません。" - -#: admin/main.php:234 -msgid "Mantra settings updated successfully." -msgstr "Mantra 設定は更新されました。" - -#: admin/main.php:245 -msgid "Reset to Defaults" -msgstr "既定値に戻す" - -#: admin/main.php:246 -msgid "Save Changes" -msgstr "変更を保存" - -#: admin/main.php:260 -msgid "" -"<p>Here at Cryout Creations (the developers of yours truly Mantra Theme), we " -"spend night after night improving the Mantra Theme. We fix a lot of bugs " -"(that we previously created); we add more and more customization options " -"while also trying to keep things as simple as possible; then... we might " -"play a game or two but rest assured that we return to read and (in most " -"cases) reply to your late night emails and comments, take notes and draw " -"dashboards of things to implement in future versions.</p>\n" -"\t\t\t<p>So you might ask yourselves: <i>How do they do it? How can they " -"keep so fresh after all that hard labor for that darned theme? </i> Well " -"folks, it's simple. We drink coffee. Industrial quantities of hot boiling " -"coffee. We love it! So if you want to help with the further development of " -"the Mantra Theme...</p> " -msgstr "" -"<p>Cryout Creations (Mantra テーマの開発者)では、常にMantra テーマの改善に努" -"めています。今まで多くの不具合を直してきました; 多くのカスタマイズオプション" -"を追加すると同時に、できるだけシンプルに保つよう努力してきました; そして...い" -"つも皆さんのメールやコメントを読み、ノートを取り、将来のバージョンで実現する" -"機能をリストアップしています。</p>\n" -"\t\t\t<p><i>彼らはどうやっているの? どうやってテーマを良好に保ち続けているの?" -"</i> と言うような疑問を持っているかもしれません。それは簡単なのでです。コー" -"ヒーを飲んでいるだけです。それも熱いコーヒーを。私たちはそれが好きなのです! " -"Mantra テーマの将来の開発に力を貸してください...</p>" - -#: admin/main.php:275 -msgid "Import/Export Settings" -msgstr "インポート / エクスポート 設定" - -#: admin/main.php:281 -msgid "Export Theme options" -msgstr "テーマオプションエクスポート" - -#: admin/main.php:282 -msgid "" -"It's that easy: a mouse click away - the ability to export your Mantra " -"settings and save them on your computer. Feeling safer? You should!" -msgstr "" -"簡単です。マウスをクリックしてMantra 設定をエクスポートし、PCに保存することが" -"できます。" - -#: admin/main.php:287 -msgid "Import Theme options" -msgstr "テーマオプションインポート" - -#: admin/main.php:288 -msgid "" -" Without the import, the export would just be a fool's exercise. Make sure " -"you have the exported file ready and see you after the mouse click." -msgstr "" -"インポートがなければ、エクスポートもありません。エクスポートされたファイルが" -"あることを確認してください。" - -#: admin/main.php:295 -msgid "Mantra Latest News" -msgstr "Mantra 最新ニュース" - -#: admin/main.php:306 -msgid "No news items." -msgstr "新しいアイテムはありません。" - -#: admin/main.php:320 -msgid "Mantra Help" -msgstr "Mantra ヘルプ" - -#: admin/main.php:323 -msgid "" -"\n" -"\t\t\t<ul>\n" -"\t\t\t\t<li>- Need any Mantra or WordPress help?</li>\n" -"\t\t\t\t<li>- Want to know what changes are made to the theme with each new " -"version?</li>\n" -"\t\t\t\t<li>- Found a bug or maybe something doesn't work exactly as " -"expected?</li>\n" -"\t\t\t\t<li>- Got an idea on how to improve the Mantra Theme to better suit " -"your needs?</li>\n" -"\t\t\t\t<li>- Want a setting implemented?</li>\n" -"\t\t\t\t<li>- Do you have or would you like to make a translation of the " -"Mantra Theme?</li>\n" -"\t\t\t</ul>\n" -"\t\t\t<p>Then come visit us at Mantra's support page.</p>\n" -"\t" -msgstr "" -"\n" -"\t\t\t<ul>\n" -"\t\t\t\t<li>- Mantra か Wordpress のヘルプが必要ですか?</li>\n" -"\t\t\t\t<li>- 新バージョンのテーマで何が変更されたか知りたいですか?</li>\n" -"\t\t\t\t<li>- 不具合を見つけたり、思ったように動かないものを見つけましたか?</" -"li>\n" -"\t\t\t\t<li>- あなたのニーズに合うように Mantra テーマを改善するアイデアが浮" -"かびましたか?</li>\n" -"\t\t\t\t<li>- 設定を実行したいですか?</li>\n" -"\t\t\t\t<li>- Mantra テーマの翻訳をしたいですか?</li>\n" -"\t\t\t</ul>\n" -"\t\t\t<p>そのような時は、Mantra サポートページを訪問してください。</p>\n" -"\t" - -#: admin/main.php:334 -msgid "Mantra Support Page" -msgstr "Mantra サポートページ" - -#: admin/settings.php:61 -msgid "One column (no sidebars)" -msgstr "1 コラム、サイドバーなし" - -#: admin/settings.php:62 -msgid "Two columns, sidebar on the right" -msgstr "2 コラム、右サイドバー" - -#: admin/settings.php:63 -msgid "Two columns, sidebar on the left" -msgstr "2 コラム、左サイドバー" - -#: admin/settings.php:64 -msgid "Three columns, sidebars on the right" -msgstr "3 コラム、右サイドバー" - -#: admin/settings.php:65 -msgid "Three columns, sidebars on the left" -msgstr "3 コラム、左サイドバー" - -#: admin/settings.php:66 -msgid "Three columns, one sidebar on each side" -msgstr "2 コラム、両側サイドバー" - -#: admin/settings.php:81 -msgid "Choose your layout " -msgstr "レイアウトを選択" - -#: admin/settings.php:89 -msgid "Absolute" -msgstr "絶対" - -#: admin/settings.php:89 -msgid "Relative" -msgstr "相対" - -#: admin/settings.php:90 -msgid "Dimensions to use: " -msgstr "使用する大きさ:" - -#: admin/settings.php:189 admin/settings.php:209 -msgid "Content =" -msgstr "コンテンツ =" - -#: admin/settings.php:190 admin/settings.php:210 -msgid "Sidebar(s) =" -msgstr "サイドバー =" - -#: admin/settings.php:191 admin/settings.php:211 -msgid "Total width =" -msgstr "幅合計 =" - -#: admin/settings.php:200 -msgid "" -"Select the width of your <b>content</b> and <b>sidebar(s)</b>. \n" -" \t\tWhile the content cannot be less than 500px wide, the sidebar area is " -"at least 220px and no more than 800px.<br />\n" -"\tIf you went for a 3 column area ( with 2 sidebars) they will each have " -"half the selected width." -msgstr "" -"<b>コンテンツ</b>と<b>サイドバー</b>の幅を選択してください。\n" -" \t\tコンテンツは 500px 以上の幅、サイドバーは 220px 以上で800px 以下でなけれ" -"ばなりません。<br />\n" -"\tもし 3 コラムエリア(2サイドバー)を使用したい時は、それぞれの幅は選択した" -"幅の半分です。" - -#: admin/settings.php:220 -msgid "" -"Select the width of your <b>content</b> and <b>sidebar(s)</b>. \n" -" \t\tThese are realtive dimmensions - relative to the user's browser. The " -"total width is a percentage of the browser's width.<br />\n" -"\t While the content cannot be less than 40% wide, the sidebar area is at " -"least 20% and no more than 50%.<br />\n" -"\tIf you went for a 3 column area ( with 2 sidebars) they will each have " -"half the selected width." -msgstr "" -"<b>コンテンツ</b>と<b>サイドバー</b>の幅を選択してください。\n" -" \t\tユーザのブラウザに対して相対的な割合を選択することもできます。その場合は" -"ブラウザの幅に対する % で設定します。<br />\n" -"\t コンテンツは 40% 以上が必要で、サードバーは 20% 以上で 50% 以下でなければ" -"なりません。<br />\n" -"\tもし 3 コラムエリア(2サイドバー)を使用したい時は、それぞれの幅は選択した" -"幅の半分です。" - -#: admin/settings.php:244 -msgid "" -"Select the header's height. After saving the settings go and upload your new " -"header image. The header's width will be = " -msgstr "" -"ヘッダの高さを指定してください。設定を保存した後で、新しいヘッダイメージを" -"アップロードしてください。ヘッダの幅 =" - -#: admin/settings.php:257 admin/settings.php:969 admin/settings.php:1031 -#: admin/settings.php:1367 admin/settings.php:1429 admin/settings.php:1637 -#: admin/settings.php:1666 admin/settings.php:1689 admin/settings.php:1712 -#: admin/settings.php:1761 admin/settings.php:1890 admin/settings.php:1905 -#: admin/settings.php:1920 admin/settings.php:1935 admin/settings.php:1977 -msgid "Enable" -msgstr "有効化" - -#: admin/settings.php:257 admin/settings.php:969 admin/settings.php:1031 -#: admin/settings.php:1367 admin/settings.php:1429 admin/settings.php:1637 -#: admin/settings.php:1666 admin/settings.php:1689 admin/settings.php:1712 -#: admin/settings.php:1761 admin/settings.php:1890 admin/settings.php:1905 -#: admin/settings.php:1920 admin/settings.php:1935 admin/settings.php:1977 -msgid "Disable" -msgstr "無効化" - -#: admin/settings.php:265 -msgid "" -"Enable the presentation front-page. This will become your new home page. It " -"has a slider and columns for presentation\n" -"\t\ttext and images.<br>If you have this enabled but don't see a " -"Presentation page then go to <a href='options-reading.php'> Settings » " -"Reading </a> and make sure you have selected <strong>Front Page Displays</" -"strong> as <Strong>Your Latest Posts</strong>." -msgstr "" -"プレゼンテーションフロントページを有効化します。これで、あなたの新しいホーム" -"ページになります。ページには、プレゼンテーション\n" -"\t\tテキストとイメージ付のプレゼンテーション用スライダーとコラムがあります。" -"<br />有効化してもプレゼンテーションページが表示されない時は、<a " -"href='options-reading.php'> 設定 » 読み込み</a>へ行き、<strong>あなたの" -"最新の投稿</strong>が<strong>フロントページ表示</strong>に選択されているかど" -"うかを確認してください。" - -#: admin/settings.php:275 -msgid "Slider Dimensions:" -msgstr "スライダーの大きさ:" - -#: admin/settings.php:276 -msgid "width" -msgstr "幅" - -#: admin/settings.php:277 -msgid "height" -msgstr "高さ" - -#: admin/settings.php:278 -msgid "" -"The dimensions of your slider. Make sure your images are of the same size." -msgstr "スライダーの大きさは、イメージと同じサイズです。" - -#: admin/settings.php:280 -msgid "Animation:" -msgstr "アニメーション:" - -#: admin/settings.php:282 -msgid "Random" -msgstr "ランダム" - -#: admin/settings.php:282 -msgid "Fold" -msgstr "折りたたみ" - -#: admin/settings.php:282 -msgid "Fade" -msgstr "フェード" - -#: admin/settings.php:282 -msgid "SlideInRight" -msgstr "右からスライドイン" - -#: admin/settings.php:282 -msgid "SlideInLeft" -msgstr "左からスライドイン" - -#: admin/settings.php:282 -msgid "SliceDown" -msgstr "スライドダウン" - -#: admin/settings.php:282 -msgid "SliceDownLeft" -msgstr "左からスライドダウン" - -#: admin/settings.php:282 -msgid "SliceUp" -msgstr "スライドアップ" - -#: admin/settings.php:282 -msgid "SliceUpLeft" -msgstr "左へスライドアップ" - -#: admin/settings.php:282 -msgid "SliceUpDown" -msgstr "上下へスライス" - -#: admin/settings.php:282 -msgid "SliceUpDownLeft" -msgstr "左から上下へスライス" - -#: admin/settings.php:282 -msgid "BoxRandom" -msgstr "ボックスランダム" - -#: admin/settings.php:282 -msgid "BoxRain" -msgstr "ボックスレイン" - -#: admin/settings.php:282 -msgid "BoxRainReverse" -msgstr "逆ボックスレイン" - -#: admin/settings.php:282 -msgid "BoxRainGrow" -msgstr "ボックスレイングロウ" - -#: admin/settings.php:282 -msgid "BoxRainGrowReverse" -msgstr "逆ボックスレイングロウ" - -#: admin/settings.php:290 -msgid "The transition effect your slider will have." -msgstr "スライドのトランジション効果です。" - -#: admin/settings.php:292 -msgid "Border Settings:" -msgstr "ボーダー設定:" - -#: admin/settings.php:293 -msgid "Width" -msgstr "幅" - -#: admin/settings.php:294 -msgid "Color" -msgstr "カラー" - -#: admin/settings.php:296 -msgid "The width and color of the slider's border." -msgstr "スライダーボーダーの幅とカラー" - -#: admin/settings.php:298 -msgid "Animation Time:" -msgstr "アニメーション時間:" - -#: admin/settings.php:299 admin/settings.php:303 -msgid "milliseconds (1000ms = 1 second) " -msgstr "ミリセカンド(1000ms = 1 秒)" - -#: admin/settings.php:300 -msgid "The time in which the transition animation will take place." -msgstr "トランジションアニメーションを継続する時間" - -#: admin/settings.php:302 -msgid "Pause Time:" -msgstr "ポーズ時間:" - -#: admin/settings.php:304 -msgid "The time in which a slide will be still and visible." -msgstr "スライドが静止し表示される時間。" - -#: admin/settings.php:307 -msgid "Slider navigation:" -msgstr "スライダーナビゲーション:" - -#: admin/settings.php:309 -msgid "Numbers" -msgstr "数" - -#: admin/settings.php:309 -msgid "Bullets" -msgstr "ブレット" - -#: admin/settings.php:309 admin/settings.php:1273 -msgid "None" -msgstr "なし" - -#: admin/settings.php:317 -msgid "Your slider navigation type. Shown under the slider." -msgstr "スライダーのナビゲーションタイプ。スライダーの下に表示されます。" - -#: admin/settings.php:319 -msgid "Slider arrows:" -msgstr "スライダーの矢印:" - -#: admin/settings.php:321 -msgid "Always Visible" -msgstr "常に表示" - -#: admin/settings.php:321 -msgid "Visible on Hover" -msgstr "ホバー時に表示" - -#: admin/settings.php:321 -msgid "Hidden" -msgstr "非表示" - -#: admin/settings.php:329 -msgid "The Left and Right arrows on your slider" -msgstr "スライダーに右および左矢印" - -#: admin/settings.php:370 admin/settings.php:438 -msgid "Select Category" -msgstr "カテゴリ選択" - -#: admin/settings.php:397 -msgid "Custom Slides" -msgstr "カスタムスライド" - -#: admin/settings.php:397 -msgid "Latest Posts" -msgstr "最新の投稿" - -#: admin/settings.php:397 -msgid "Random Posts" -msgstr "ランダム投稿" - -#: admin/settings.php:397 -msgid "Sticky Posts" -msgstr "メモ投稿" - -#: admin/settings.php:397 -msgid "Latest Posts from Category" -msgstr "カテゴリからの最新の投稿" - -#: admin/settings.php:397 -msgid "Random Posts from Category" -msgstr "カテゴリからのランダム投稿" - -#: admin/settings.php:397 -msgid "Specific Posts" -msgstr "特定の投稿" - -#: admin/settings.php:410 -msgid "Latest posts will be loaded into the slider." -msgstr "最新の投稿がスライダーに表示されます。" - -#: admin/settings.php:414 -msgid "Random posts will be loaded into the slider." -msgstr "ランダム投稿がスライダーに表示されます。" - -#: admin/settings.php:418 -msgid "Latest posts from the category you choose will be loaded in the slider." -msgstr "カテゴリからの最新の投稿がスライダーに表示されます。" - -#: admin/settings.php:423 -msgid "" -"Random posts from the category you choose will be loaded into the slider." -msgstr "カテゴリからのランダム投稿がスライダーに表示されます。" - -#: admin/settings.php:427 -msgid "Only sticky posts will be loaded into the slider." -msgstr "メモ投稿だけがスライダーに表示されます。" - -#: admin/settings.php:431 -msgid "List the post IDs you want to display (separated by a comma): " -msgstr "表示したい投稿IDリスト(コンマで区切る)" - -#: admin/settings.php:436 -msgid "<br> Choose the cateogry: " -msgstr "<br /> カテゴリ選択:" - -#: admin/settings.php:453 -msgid "Number of posts to show:" -msgstr "表示する投稿数:" - -#: admin/settings.php:460 -msgid "Slide 1" -msgstr "スライド 1" - -#: admin/settings.php:464 admin/settings.php:479 admin/settings.php:494 -#: admin/settings.php:509 admin/settings.php:524 admin/settings.php:567 -#: admin/settings.php:582 admin/settings.php:597 admin/settings.php:612 -msgid "Upload or select image from gallery" -msgstr "アップロード、あるいは、ギャラリーから画像選択" - -#: admin/settings.php:465 admin/settings.php:480 admin/settings.php:495 -#: admin/settings.php:510 admin/settings.php:525 admin/settings.php:568 -#: admin/settings.php:583 admin/settings.php:613 -msgid "Title" -msgstr "タイトル" - -#: admin/settings.php:467 admin/settings.php:482 admin/settings.php:497 -#: admin/settings.php:512 admin/settings.php:527 admin/settings.php:570 -#: admin/settings.php:585 admin/settings.php:600 admin/settings.php:615 -msgid "Text" -msgstr "テキスト" - -#: admin/settings.php:475 -msgid "Slide 2" -msgstr "スライド 2" - -#: admin/settings.php:490 -msgid "Slide 3" -msgstr "スライド 3" - -#: admin/settings.php:505 -msgid "Slide 4" -msgstr "スライド 4" - -#: admin/settings.php:520 -msgid "Slide 5" -msgstr "スライド 5" - -#: admin/settings.php:533 -msgid "" -"Your slides' content. Only the image is required, all other fields are " -"optional. Only the slides with an image selected will become acitve and " -"visible in the live slider." -msgstr "" -"スライドのコンテンツ。画像が必須です。他の項目はオプションです。画像が選択さ" -"れているスライドだけがスライダーに表示されます。" - -#: admin/settings.php:543 -msgid "Number of columns:" -msgstr "コラム数:" - -#: admin/settings.php:553 -msgid "Image Height:" -msgstr "画像の高さ:" - -#: admin/settings.php:556 -msgid "Read more text:" -msgstr "続きを読むテキスト:" - -#: admin/settings.php:559 -msgid "" -"The linked text that appears at the bottom of all the columns. You can " -"delete all text inside if you don't want it." -msgstr "コラムの下部に表示されるリンクテキスト。削除することもできます。" - -#: admin/settings.php:563 -msgid "1st Column" -msgstr "1st コラム" - -#: admin/settings.php:578 -msgid "2nd Column" -msgstr "2nd コラム" - -#: admin/settings.php:593 -msgid "3rd Column" -msgstr "3rd コラム" - -#: admin/settings.php:608 -msgid "4th Column" -msgstr "4th コラム" - -#: admin/settings.php:630 -msgid "Extra Text" -msgstr "拡張テキスト" - -#: admin/settings.php:630 -msgid "Top Title" -msgstr "トップタイトル" - -#: admin/settings.php:632 -msgid "Second Title" -msgstr "セカンドタイトル" - -#: admin/settings.php:635 -msgid "Title color" -msgstr "タイトルカラー" - -#: admin/settings.php:638 -msgid "The titles' color (Default value is 333333)." -msgstr "タイトルカラー (既定値 333333)。" - -#: admin/settings.php:640 -msgid "Bottom Text 1" -msgstr "ボトムテキスト 1" - -#: admin/settings.php:642 -msgid "Bottom Text 2" -msgstr "ボトムテキスト 2" - -#: admin/settings.php:645 -msgid "" -"More text for your front page. The top title is above the slider, the second " -"title between the slider and the columns and 2 more rows of text under the " -"columns.\n" -"\t\t It's all optional so leave any input field empty if it's not required. " -msgstr "" -"フロントページのテキスト。トップタイトルはスライダー上部、セカンドタイトルは" -"スライダーとコラムの間、そして、コラム下部の2行のテキスト。\n" -"\t\tすべてオプションですので、入力しなくても良いです。 " - -#: admin/settings.php:651 -msgid "Hide areas" -msgstr "エリアを非表示にします" - -#: admin/settings.php:664 -msgid "Hide the header area (image or background color)." -msgstr "ヘッダエリア(画像や背景色)を非表示にします。" - -#: admin/settings.php:668 -msgid "Hide the main menu (the top navigation tabs)." -msgstr "メインメニュー(トップナビゲーションタブ)を非表示にします。" - -#: admin/settings.php:672 -msgid "Hide the footer widgets. " -msgstr "フッタウィジェットを非表示にします。" - -#: admin/settings.php:676 -msgid "Hide the footer (copyright area)." -msgstr "フッタ(コピーライトエリア)を非表示にします。" - -#: admin/settings.php:680 -msgid "Hide the white color. Only the background color remains." -msgstr "白色を非表示にします。背景色のみが残ります。" - -#: admin/settings.php:684 -msgid "Choose the areas to hide on the first page." -msgstr "最初のページの非表示エリアを選択してください。" - -#: admin/settings.php:703 -msgid "" -"Select the font size you'll use in your blog. Pages, posts and comments will " -"be affected. Buttons, Headers and Side menus will remain the same." -msgstr "" -"ブログで使用するフォントサイズを選択してください。ページ、投稿、そして、コメ" -"ントに適用されます。ボタン、ヘッダ、サイドメニューは変更しません。" - -#: admin/settings.php:747 -msgid "" -"Select the font family you'll use in your blog. All content text will be " -"affected (including menu buttons). " -msgstr "" -"ブログで使用するフォントファミリーを選択してください。すべてのコンテンツテキ" -"ストに適用されます。ボタン、メニューも含まれます。" - -#: admin/settings.php:748 admin/settings.php:797 admin/settings.php:848 -#: admin/settings.php:899 -msgid "" -"Or insert your Google Font below. Please only isert the <strong>name</" -"strong> of the font.<br /> Ex: Marko One. Go to <a href='http://www.google." -"com/webfonts' > google fonts </a> for some font inspiration." -msgstr "" -"あるいは、Googleフォントを下に挿入してください。フォントの<strong>名前</" -"strong>だけを挿入してください。<br />例: Marko One。<a href='http://www." -"google.com/webfonts' >Googleフォント</a>を参照してください。" - -#: admin/settings.php:795 -msgid "" -"Select the font family you want for your titles. It will affect post titles " -"and page titles. Leave 'Default' and the general font you selected will be " -"used." -msgstr "" -"タイトルに使用するフォントファミリーを選択してください。投稿と固定ページのタ" -"イトルに適用されます。「既定値」のままにすると、一般フォントが適用されます。" - -#: admin/settings.php:846 -msgid "" -"Select the font family you want your sidebar(s) to have. Text in sidebars " -"will be affected, including any widgets. Leave 'Default' and the general " -"font you selected will be used." -msgstr "" -"サイドバーに使用するフォントファミリーを選択してください。ウィジェットを含み" -"サイドバーのテキストに適用されます。「既定値」のままにすると、一般フォントが" -"適用されます。" - -#: admin/settings.php:897 -msgid "" -"Select the font family you want your subheaders to have (h2 - h6 tags will " -"be affected). Leave 'Default' and the general font you selected will be used." -msgstr "" -"サブヘッダ(h2 - h6間でのタグ)に使用するフォントファミリーを選択してくださ" -"い。「既定値」のままにすると、一般フォントが適用されます。" - -#: admin/settings.php:909 admin/settings.php:924 admin/settings.php:939 -#: admin/settings.php:984 admin/settings.php:999 admin/settings.php:1014 -msgid "Default" -msgstr "既定値" - -#: admin/settings.php:917 -msgid "" -"Post Header Font size. Leave 'Default' for normal settings (size value will " -"be as set in the CSS)." -msgstr "" -"投稿ヘッダフォントサイズ。「既定値」のままにすると、一般設定が適用されます" -"(サイズ値はCSSで設定されます)。" - -#: admin/settings.php:932 -msgid "" -"Sidebar Font size. Leave 'Default' for normal settings (size value will be " -"as set in the CSS)." -msgstr "" -"サイドバーフォントサイズ。「既定値」のままにすると、一般設定が適用されます" -"(サイズ値はCSSで設定されます)。" - -#: admin/settings.php:939 admin/settings.php:1728 -msgid "Left" -msgstr "左" - -#: admin/settings.php:939 admin/settings.php:1728 -msgid "Right" -msgstr "右" - -#: admin/settings.php:939 -msgid "Justify" -msgstr "両端揃え" - -#: admin/settings.php:939 admin/settings.php:1728 -msgid "Center" -msgstr "中央" - -#: admin/settings.php:947 -msgid "" -"This overwrites the text alignment in posts and pages. Leave 'Default' for " -"normal settings (alignment will remain as declared in posts, comments etc.)." -msgstr "" -"これは投稿とページのテキスト整列を変更します。「既定値」のままにすると、一般" -"設定が適用されます(テキスト整列は投稿やコメントで設定されたものが使用されま" -"す)。" - -#: admin/settings.php:961 -msgid "Choose the indent for your paragraphs." -msgstr "段落のインデントを選択してください。" - -#: admin/settings.php:977 -msgid "Disable the default header and title indent (left margin)." -msgstr "既定のヘッダとタイトルインデント(左マージン)を無効にします。" - -#: admin/settings.php:992 -msgid "" -"Text line height. The height between 2 rows of text. Leave 'Default' for " -"normal settings (size value will be as set in the CSS)." -msgstr "" -"テキストの行の高さ。テキストの行間の高さ。「既定値」のままにすると、一般設定" -"が適用されます(CSSで設定された値が使用されます)。" - -#: admin/settings.php:1007 -msgid "" -"The space between <i>words</i>. Leave 'Default' for normal settings (size " -"value will be as set in the CSS)." -msgstr "" -"<i>単語</i>間のスペース。「既定値」のままにすると、一般設定が適用されます" -"(CSSで設定された値が使用されます)。" - -#: admin/settings.php:1022 -msgid "" -"The space between <i>letters</i>. Leave 'Default' for normal settings (size " -"value will be as set in the CSS)." -msgstr "" -"<i>文字</i>間のスペース。「既定値」のままにすると、一般設定が適用されます" -"(CSSで設定された値が使用されます)。" - -#: admin/settings.php:1039 -msgid "Disable the default text shadow on headers and titles." -msgstr "ヘッダとタイトルのテキストシャドウを無効にします。" - -#: admin/settings.php:1051 -msgid "Background color (Default value is 444444)." -msgstr "背景色(既定値 444444)。" - -#: admin/settings.php:1059 -msgid "" -"Header background color (Default value is 333333). You can delete all inside " -"text for no background color." -msgstr "ヘッダ背景色(既定値 333333)。ブランクにすると背景色を無くします。" - -#: admin/settings.php:1066 -msgid "" -"Content background color (Default value is FFFFFF). Works best with really " -"light colors." -msgstr "コンテンツ背景色(既定値 FFFFFF)。明るい色を設定した方が良いです。" - -#: admin/settings.php:1073 -msgid "" -"Main menu background color (Default value is FAFAFA). Should be the same " -"color as the content bg or something just as light." -msgstr "" -"メインメニュー背景色(既定値 FAFAFA)。コンテンツの背景色と同色か明るい色が良" -"いでしょう。" - -#: admin/settings.php:1080 admin/settings.php:1087 -msgid "First sidebar background color (Default value is FFFFFF)." -msgstr "1st サイドバーの背景色(既定値 FFFFFF)。" - -#: admin/settings.php:1095 -msgid "Footer widget-area background color. (Default value is 171717)." -msgstr "フッタウィジェットエリア背景色(既定値 171717)。" - -#: admin/settings.php:1103 -msgid "Footer background color (Default value is 222222)." -msgstr "フッタ背景色(既定値 222222)。" - -#: admin/settings.php:1111 -msgid "Your blog's title color (Default value is 0D85CC)." -msgstr "ブログタイトルカラー(既定値 0D85CC)。" - -#: admin/settings.php:1119 -msgid "Your blog's description color(Default value is 222222)." -msgstr "ブログのデスクリプションカラー(既定値 222222)。" - -#: admin/settings.php:1127 -msgid "Content Text Color (Default value is 333333)." -msgstr "コンテンツテキストカラー(既定値 333333)。" - -#: admin/settings.php:1135 -msgid "Links color (Default value is 0D85CC)." -msgstr "リンクカラー(既定値 0D85CC)。" - -#: admin/settings.php:1143 -msgid "Links color on mouse over (Default value is 333333)." -msgstr "マウスオーバー時リンクのカラー(既定値 333333)。" - -#: admin/settings.php:1151 -msgid "Post Header Text Color (Default value is 333333)." -msgstr "投稿ヘッダテキストカラー(既定値 333333)。" - -#: admin/settings.php:1159 -msgid "Post Header Text Color on Mouse over (Default value is 000000)." -msgstr "マウスオーバー時の投稿ヘッダテキストカラー(既定値 000000)。" - -#: admin/settings.php:1167 -msgid "Sidebar Header Background color (Default value is 444444)." -msgstr "サイドバーヘッダ背景色(既定値 444444)。" - -#: admin/settings.php:1176 -msgid "Sidebar Header Text Color(Default value is 2EA5FD)." -msgstr "サイドバーヘッダテキストカラー(既定値 2EA5FD)。" - -#: admin/settings.php:1184 -msgid "Footer Widget Text Color (Default value is 0D85CC)." -msgstr "フッタウィジェットテキストカラー(既定値 0D85CC)。" - -#: admin/settings.php:1192 -msgid "Footer Widget Link Color (Default value is 666666)." -msgstr "フッタウィジェットリンクカラー(既定値 666666)。" - -#: admin/settings.php:1200 -msgid "Footer Widget Link Color on Mouse Over (Default value is 888888)." -msgstr "マウスオーバー時のフッタウィジェットリンクカラー(既定値 888888)。" - -#: admin/settings.php:1212 admin/settings.php:1273 -msgid "White" -msgstr "ホワイト" - -#: admin/settings.php:1212 -msgid "Light" -msgstr "淡色" - -#: admin/settings.php:1212 -msgid "Light Gray" -msgstr "淡いグレー" - -#: admin/settings.php:1212 admin/settings.php:1273 -msgid "Gray" -msgstr "グレー" - -#: admin/settings.php:1212 -msgid "Dark Gray" -msgstr "暗いグレー" - -#: admin/settings.php:1212 -msgid "Black" -msgstr "ブラック" - -#: admin/settings.php:1220 -msgid "" -"This setting changes the look of your captions. Images that are not inserted " -"through captions will not be affected." -msgstr "" -"この設定は、キャプションの見栄えを変更します。キャプションがない画像には影響" -"しません。" - -#: admin/settings.php:1236 -msgid "The border around your inserted images. " -msgstr "挿入した画像のボーダー。" - -#: admin/settings.php:1251 -msgid "The image on top of your captions. " -msgstr "画像上部のキャプション。" - -#: admin/settings.php:1266 -msgid "The sidebar list bullets. " -msgstr "サイドバーのリストブレット。" - -#: admin/settings.php:1281 -msgid "" -"The background for your post-metas area (under your post tiltes). Gray by " -"default.<" -msgstr "投稿メタエリア(投稿タイトルの下)背景色。既定値はグレー。<" - -#: admin/settings.php:1289 admin/settings.php:1305 admin/settings.php:1322 -#: admin/settings.php:1337 admin/settings.php:1352 admin/settings.php:1382 -#: admin/settings.php:1397 admin/settings.php:1413 admin/settings.php:1456 -#: admin/settings.php:1471 admin/settings.php:1486 admin/settings.php:1501 -#: admin/settings.php:1516 admin/settings.php:1531 admin/settings.php:1546 -#: admin/settings.php:1561 -msgid "Show" -msgstr "表示" - -#: admin/settings.php:1289 admin/settings.php:1305 admin/settings.php:1322 -#: admin/settings.php:1337 admin/settings.php:1352 admin/settings.php:1382 -#: admin/settings.php:1413 admin/settings.php:1456 admin/settings.php:1471 -#: admin/settings.php:1486 admin/settings.php:1501 admin/settings.php:1516 -#: admin/settings.php:1531 admin/settings.php:1546 admin/settings.php:1561 -msgid "Hide" -msgstr "非表示" - -#: admin/settings.php:1297 -msgid "Hide or show a horizontal rule to separate posts." -msgstr "投稿を分ける水平ルーラーを表示、非表示します。" - -#: admin/settings.php:1313 -msgid "" -"Hide or show bullets next to lists that are in your content area (posts, " -"pages etc.)." -msgstr "" -"コンテンツエリア(投稿、ページなど)のリストブレットを表示、非表示します。" - -#: admin/settings.php:1330 -msgid "" -"Hide or show your blog's Title and Description in the header (recommended if " -"you have a custom header image with text)." -msgstr "" -"ヘッダ内のブログタイトルと説明(カスタムヘッダ画像を使用する場合、テキスト付" -"の画像を推奨)を表示、非表示します。" - -#: admin/settings.php:1345 -msgid "Hide or show Page titles on any <i>created</i> pages. " -msgstr "<i>作成された</i>ページのページタイトルを表示、非表示します。" - -#: admin/settings.php:1360 -msgid "Hide or show Page titles on <i>Category</i> Pages. " -msgstr "<i>カテゴリ</i>ページのページタイトルを表示、非表示します。" - -#: admin/settings.php:1375 -msgid "Hide table borders and background color." -msgstr "テーブルボーダーと背景色を非表示にします。" - -#: admin/settings.php:1390 -msgid "" -"Hide the explanatory text under the comments form. (starts with <i>You may " -"use these HTML tags and attributes:...</i>)." -msgstr "" -"コメントフォーム下部の説明テキストを非表示にします。(<i>次のHTML タグと属性" -"が使えます:...</i>で始まるテキスト)" - -#: admin/settings.php:1397 -msgid "Hide in posts" -msgstr "投稿内を非表示にします。" - -#: admin/settings.php:1397 -msgid "Hide in pages" -msgstr "ページ内を非表示にします。" - -#: admin/settings.php:1397 -msgid "Hide everywhere" -msgstr "どこでも非表示にします。" - -#: admin/settings.php:1405 -msgid "" -"Hide the <b>Comments are closed</b> text that by default shows up on pages " -"or posts with the comments disabled." -msgstr "" -"コメントを受け取らない設定をしている時に既定値として設定されているテキスト " -"<b>コメントは停止中です</b> を非表示にします。" - -#: admin/settings.php:1421 -msgid "" -"Hide the <b>Comments off</b> text next to posts that have comments disabled." -msgstr "" -"コメントを受け取らない投稿に表示されるテキスト <b>コメントオフ</b> を非表示に" -"します。" - -#: admin/settings.php:1437 -msgid "" -"Enable the Back to Top button. The button appears after scrolling the page " -"down." -msgstr "" -"トップに戻るボタンを有効化します。ボタンはページをしたにスクロールすると表示" -"されます。" - -#: admin/settings.php:1444 -msgid "" -"Insert custom text or HTML code that will appear last in you footer. <br /> " -"You can use HTML to insert links, images and special characters like © ." -msgstr "" -"フッタの最後に表示されるカスタムテキストや HTML コードを挿入します。<br />リ" -"ンク、画像、©などの特殊文字を含んだHTMLを使用することができます。" - -#: admin/settings.php:1464 -msgid "" -"Hide or show the <strong>Leave a comment</strong> or <strong>x Comments</" -"strong> next to posts or post excerpts." -msgstr "" -"投稿や抜粋の後に表示される<strong>コメントをどうぞ</strong>や<strong>x 件のコ" -"メント</strong>を表示、非表示にします。" - -#: admin/settings.php:1479 -msgid "Hide or show the post date." -msgstr "投稿日を表示、非表示にします。" - -#: admin/settings.php:1494 -msgid "" -"Show the post time with the date. Time will not be visible if the Post Date " -"is hidden." -msgstr "" -"投稿時間付の投稿日を表示します。投稿時間は、投稿日が非表示の場合、表示されま" -"せん。" - -#: admin/settings.php:1509 -msgid "Hide or show the post author." -msgstr "著者を表示、非表示にします。" - -#: admin/settings.php:1524 -msgid "Hide the post category." -msgstr "投稿カテゴリを非表示にします。" - -#: admin/settings.php:1539 -msgid "Hide the post tags." -msgstr "投稿タグを非表示にします。" - -#: admin/settings.php:1554 -msgid "Hide the 'Bookmark permalink'." -msgstr "'ブックマークパーマリンク'を非表示にします。" - -#: admin/settings.php:1569 -msgid "Hide all the post metas. All meta info and meta areas will be hidden." -msgstr "" -"すべての投稿メタを非表示にします。すべてのメタ情報、メタエリアが非表示になり" -"ます。" - -#: admin/settings.php:1582 admin/settings.php:1597 admin/settings.php:1613 -msgid "Excerpt" -msgstr "抜粋" - -#: admin/settings.php:1582 admin/settings.php:1597 admin/settings.php:1613 -msgid "Full Post" -msgstr "投稿全文" - -#: admin/settings.php:1590 -msgid "" -"Excerpts on the main page. Only standard posts will be affected. All other " -"post formats (aside, image, chat, quote etc.) have their specific formating." -msgstr "" -"メインページに表示される抜粋。標準投稿に適用されます。その他の投稿フォーマッ" -"ト(アサイド、イメージ、チャット、引用など)は、それぞれ独自のフォーマットを" -"持っています。" - -#: admin/settings.php:1605 -msgid "" -"Choose if you want the sticky posts on your home page to be visible in full " -"or just the excerpts. " -msgstr "" -"ホームページのメモ投稿を全文表示するか、抜粋表示するかを選択してください。" - -#: admin/settings.php:1621 -msgid "" -"Excerpts on archive, categroy and search pages. Same as above, only standard " -"posts will be affected." -msgstr "" -"アーカイブ、カテゴリ、検索ページに表示される抜粋。上記と同様に、標準投稿に適" -"用されます。" - -#: admin/settings.php:1629 -msgid "" -"The number of words an excerpt will have. When that number is reached the " -"post will be interrupted by a <i>Continue reading</i> link that\n" -"\t\t\t\t\t\t\twill take the reader to the full post page." -msgstr "" -"抜粋に表示する単語数。上限に達すると全文ページにリンクする<i>続きを読む</i>リ" -"ンクが表示されます。" - -#: admin/settings.php:1645 -msgid "" -"Enable the Magazine Layout. This layout applies to pages with posts and " -"shows 2 posts per row." -msgstr "" -"雑誌レイアウトを有効化します。このレイアウトは、投稿のある固定ページで、2段組" -"で表示されます。" - -#: admin/settings.php:1652 -msgid "" -"Replaces the three dots ('[...])' that are appended automatically to " -"excerpts." -msgstr "3ドット([...])を置換します。抜粋に自動的に追加されます。" - -#: admin/settings.php:1659 -msgid "Edit the 'Continue Reading' link added to your post excerpts." -msgstr "抜粋に追加される'続きを読む'リンクを編集します。" - -#: admin/settings.php:1674 -msgid "By default WordPress excerpts remove all HTML tags (" -msgstr "WordPressはデフォルトですべてのHTMLタグを取り除きます (" - -#: admin/settings.php:1705 -msgid "" -"Show featured images as thumbnails on posts. The images must be selected for " -"each post in the Featured Image section." -msgstr "" -"投稿にアイキャッチ画像としてお気に入り画像を表示します。画像はお気に入りイ" -"メージセクションで、投稿毎に選択しなければなりません。" - -#: admin/settings.php:1720 -msgid "" -"Show the first image that you inserted in a post as a thumbnail. If you " -"enable this option, the first image in your post will be used even if you " -"selected a Featured Image in you post." -msgstr "" -"投稿に挿入されたイメージで最初の画像をアイキャッチ画像として表示します。" - -#: admin/settings.php:1736 -msgid "Thumbnail alignment." -msgstr "アイキャッチ画像の整列" - -#: admin/settings.php:1753 -msgid "" -"The size you want the thumbnails to have (in pixels). By default imges will " -"be scaled with aspect ratio kept. Choose to crop the images if you want the " -"exact size." -msgstr "" -"アイキャッチ画像のサイズ(ピクセル単位)。デフォルトでは、画像のアスペクト比" -"で調整されます。特定のサイズが必要な場合は、画像を切り取るなどしてください。" - -#: admin/settings.php:1769 -msgid "" -"Show featured images on headers. The header will be replaced with a featured " -"image if you selected it as a Featured Image in the post and\n" -"\t\t\t\t\t\t\tand if it is bigger or at least equal to the current header " -"size." -msgstr "" -"ヘッダーにお気に入り画像を表示します。投稿のお気に入りイメージを選択し、\n" -"\t\t\t\t\t\t\tその画像が現在のヘッダサイズと同等か大きい場合にヘッダがお気に" -"入り画像に置き換わります。" - -#: admin/settings.php:1790 -msgid "" -"Select your desired Social network from the left dropdown menu and insert " -"your corresponding address in the right input field. (ex: <i>http://www." -"facebook.com/yourname</i> )" -msgstr "" -"左のドロップダウンメニューからソーシャルネットワークを選択し、右の入力欄にそ" -"のアドレスを挿入してください。(例: <i>http://www.facebook.com/yourname</i>)" - -#: admin/settings.php:1804 -msgid "You can insert up to 5 different social sites and addresses." -msgstr "ソーシャルネットワークを最大5つ挿入することができます。" - -#: admin/settings.php:1818 -msgid "There are a total of 27 social networks to choose from. " -msgstr "全部で27のソーシャルネットワークから選択できます。" - -#: admin/settings.php:1832 -msgid "You can leave any number of inputs empty. " -msgstr "入力欄はいくつでも空のままにしておいてもかまいません。" - -#: admin/settings.php:1846 -msgid "You can choose the same social media any number of times. " -msgstr "同じソーシャルメディアを何度でも選択することができます。" - -#: admin/settings.php:1877 -msgid "Choose the <b>areas</b> where to display the social icons." -msgstr "" -"ソーシャルネットワークアイコンを表示する<b>エリア</b>を選択してください。" - -#: admin/settings.php:1898 -msgid "" -"Make the site header into a clickable link that links to your index page." -msgstr "" -"サイトヘッダをクリックしてインデックスページへリンクするように設定します。" - -#: admin/settings.php:1913 -msgid "" -"Show breadcrumbs at the top of the content area. Breadcrumbs are a form of " -"navigation that keeps track of your location withtin the site." -msgstr "" -"コンテンツエリアの最上部にパン屑リストを表示します。パン屑リストはサイト内で" -"どこにいるかを示すナビゲーションです。" - -#: admin/settings.php:1928 -msgid "" -"Show numbered pagination. Where there is more than one page, instead of the " -"bottom <b>Older Posts</b> and <b>Newer posts</b> links you have a numbered " -"pagination. " -msgstr "" -"ページネーションを表示します。2ページ以上存在する時は、ページ最下部の<b>古い" -"投稿</b>と<b>新しい投稿</b>リンクがページを選択できるリンクに置き換わります。" - -#: admin/settings.php:1943 -msgid "" -"Enable the mobile view and make Mantra responsive. The layout and look of " -"your blog will change depending on what device and what resolution it is " -"viewed in. " -msgstr "" -"モバイルビューを有効化し、Mantraをレスポンシブにします。レイアウトとブログの" -"見え方は、デバイスの解像度によって変わります。" - -#: admin/settings.php:1953 -msgid "Upload or select favicon from gallery" -msgstr "アップロードするか、ギャラリーからfaviconを選択します。" - -#: admin/settings.php:1957 -msgid "" -"Limitations: It has to be an image. It should be max 64x64 pixels in " -"dimensions. Recommended file extensions .ico and .png . " -msgstr "" -"制限: イメージが無ければなりません。イメージの大きさは、最大64 x 64 です。" -"ファイルの形式は .ico と .png を推奨します。" - -#: admin/settings.php:1965 -msgid "" -"Insert your custom CSS here. Any CSS declarations made here will overwrite " -"Mantra's (even the custom options specified right here in the Mantra " -"Settings page). <br /> Your custom CSS will be preserved when updating the " -"theme." -msgstr "" -"カスタムCSSを挿入します。設定されたCSSは、Mantra 標準CSS(Mantra 設定ページで" -"設定したカスタムオプションを含む)より優先されます。<br /> カスタムCSSは、" -"テーマを更新した場合でも保持されます。" - -#: admin/settings.php:1972 -msgid "" -"Insert your custom Javascript code here. (Google Analytics and any other " -"forms of Analytic software)." -msgstr "" -"カスタム Javascript コードを挿入します。(Google Analytcs やその他アクセス分" -"析ソフトウェアなど)" - -#: admin/settings.php:1985 -msgid "" -"Enable Mantra's Search Engine Optimization. This is enabled by default and " -"should only be disabled if you are using a SEO plugin." -msgstr "" -"Mantra のSEOを有効化します。最初から有効化されていますが、SEO プラグインを使" -"用する場合に無効化することができます。" - -#: admin/settings.php:1997 -msgid "Auto" -msgstr "自動" - -#: admin/settings.php:1997 -msgid "Manual" -msgstr "手動" - -#: includes/theme-comments.php:28 -msgid "says:" -msgstr "曰く:" - -#: includes/theme-comments.php:34 -msgid "Your comment is awaiting moderation." -msgstr "コメントは承認待ちです。" - -#: includes/theme-comments.php:41 -msgid "at" -msgstr "at" - -#: includes/theme-comments.php:41 includes/theme-comments.php:58 -msgid "(Edit)" -msgstr "(編集)" - -#: includes/theme-comments.php:58 -msgid "Pingback: " -msgstr "ピンバック:" - -#: includes/theme-comments.php:85 -msgid "Leave a comment" -msgstr "コメントをどうぞ" - -#: includes/theme-comments.php:85 -msgid "<b>1</b> Comment" -msgstr "<b>1</b>件のコメント" - -#: includes/theme-comments.php:85 -msgid "<b>%</b> Comments" -msgstr "<b>%</b>件のコメント" - -#: includes/theme-comments.php:107 -msgid "Older Comments" -msgstr "古いコメント" - -#: includes/theme-comments.php:108 -msgid "Newer Comments" -msgstr "新しいコメント" - -#: includes/theme-functions.php:233 -msgid "Home Page" -msgstr "ホームページ" - -#: includes/theme-functions.php:297 -msgid "Powered by" -msgstr "Powered by" - -#: includes/theme-loop.php:145 -msgid "By " -msgstr "By " - -#: includes/theme-loop.php:185 -msgid " Bookmark the " -msgstr " ブックマークする" - -#: includes/theme-loop.php:185 includes/theme-loop.php:187 -#: includes/theme-loop.php:189 -msgid "Permalink to" -msgstr "パーマリンク" - -#: includes/theme-loop.php:185 includes/theme-loop.php:187 -#: includes/theme-loop.php:189 -msgid "permalink" -msgstr "へのパーマリンク" - -#: includes/theme-loop.php:187 includes/theme-loop.php:189 -msgid "Bookmark the " -msgstr "ブックマーク" - -#: includes/theme-loop.php:211 -msgid "<span class=\"meta-nav\">«</span> Older posts" -msgstr "<span class=\"meta-nav\">«</span> 古い投稿" - -#: includes/theme-loop.php:212 -msgid "Newer posts <span class=\"meta-nav\">»</span>" -msgstr "新しい投稿 <span class=\"meta-nav\">»</span>" - -#: includes/theme-seo.php:26 -#, php-format -msgid "Page %s" -msgstr "ページ %s" - -#: includes/theme-setup.php:90 -msgid "Primary Navigation" -msgstr "プライマリーナビゲーション" - -#: includes/theme-setup.php:91 -msgid "Top Navigation" -msgstr "トップナビゲーション" - -#: includes/theme-setup.php:92 -msgid "Footer Navigation" -msgstr "フッタナビゲーション" - -#: includes/theme-setup.php:139 -msgid "mantra" -msgstr "mantra" - -#: includes/theme-setup.php:200 -msgid "Skip to content" -msgstr "コンテンツへスキップ" - -#: includes/theme-setup.php:227 -msgid "Primary Widget Area - Sidebar 1" -msgstr "プライマリーウィジェットエリア - サイドバー 1" - -#: includes/theme-setup.php:229 -msgid "Primary widget area - Sidebar 1" -msgstr "プライマリーウィジェットエリア - サイドバー 1" - -#: includes/theme-setup.php:238 -msgid "Secondary Widget Area - Sidebar 1" -msgstr "2nd ウィジェットエリア - サイドバー 1" - -#: includes/theme-setup.php:240 -msgid "Secondary widget area - Sidebar 1" -msgstr "2nd ウィジェットエリア - サイドバー 1" - -#: includes/theme-setup.php:249 -msgid "Third Widget Area - Sidebar 2" -msgstr "3rd ウィジェットエリア - サイドバー 2" - -#: includes/theme-setup.php:251 -msgid "Third widget area - Sidebar 2" -msgstr "3rd ウィジェットエリア - サイドバー 2" - -#: includes/theme-setup.php:260 -msgid "Fourth Widget Area - Sidebar 2" -msgstr "4th ウィジェットエリア - サイドバー 2" - -#: includes/theme-setup.php:262 -msgid "Fourth widget area - Sidebar 2" -msgstr "4th ウィジェットエリア - サイドバー 2" - -#: includes/theme-setup.php:271 -msgid "First Footer Widget Area" -msgstr "1st フッタウィジェットエリア" - -#: includes/theme-setup.php:273 -msgid "First footer widget area" -msgstr "1st フッタウィジェットエリア" - -#: includes/theme-setup.php:282 -msgid "Second Footer Widget Area" -msgstr "2nd フッタウィジェットエリア" - -#: includes/theme-setup.php:284 -msgid "Second footer widget area" -msgstr "2nd フッタウィジェットエリア" - -#: includes/theme-setup.php:293 -msgid "Third Footer Widget Area" -msgstr "3rd フッタウィジェットエリア" - -#: includes/theme-setup.php:295 -msgid "The third footer widget area" -msgstr "3rd フッタウィジェットエリア" - -#: includes/theme-setup.php:304 -msgid "Fourth Footer Widget Area" -msgstr "4th フッタウィジェットエリア" - -#: includes/theme-setup.php:306 -msgid "The fourth footer widget area" -msgstr "4th フッタウィジェットエリア" diff --git a/themes/mantra/languages/_mantra.po b/themes/mantra/languages/mantra.pot index 80dc650a..24eb03ad 100644 --- a/themes/mantra/languages/_mantra.po +++ b/themes/mantra/languages/mantra.pot @@ -2,14 +2,14 @@ msgid "" msgstr "" "Project-Id-Version: Mantra 2.1\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2016-03-02 15:48+0200\n" -"PO-Revision-Date: 2016-03-02 15:50+0200\n" -"Last-Translator: Kay <contact@htx.ro>\n" +"POT-Creation-Date: 2017-05-10 15:49+0200\n" +"PO-Revision-Date: 2017-05-10 15:49+0200\n" +"Last-Translator: Cryout Creations\n" "Language-Team: \n" "MIME-Version: 1.0\n" "Content-Type: text/plain; charset=UTF-8\n" "Content-Transfer-Encoding: 8bit\n" -"X-Generator: Poedit 1.6.10\n" +"X-Generator: Poedit 1.5.5\n" "X-Poedit-KeywordsList: __;_e;_x\n" "X-Poedit-Basepath: ../\n" "X-Poedit-SearchPath-0: .\n" @@ -24,6 +24,208 @@ msgid "" "will help." msgstr "" +#: archive.php:27 +#, php-format +msgid "Daily Archives: %s" +msgstr "" + +#: archive.php:29 +#, php-format +msgid "Monthly Archives: %s" +msgstr "" + +#: archive.php:29 +msgid "F Y" +msgstr "" + +#: archive.php:31 +#, php-format +msgid "Yearly Archives: %s" +msgstr "" + +#: archive.php:31 +msgid "Y" +msgstr "" + +#: archive.php:33 +msgid "Blog Archives" +msgstr "" + +#: archive.php:59 author.php:75 category.php:51 content-frontpage.php:26 +#: index.php:41 search.php:41 tag.php:52 template-blog.php:36 +msgid "Nothing Found" +msgstr "" + +#: archive.php:63 author.php:79 category.php:55 content-frontpage.php:30 +#: index.php:45 tag.php:56 template-blog.php:40 +msgid "" +"Apologies, but no results were found for the requested archive. Perhaps " +"searching will help find a related post." +msgstr "" + +#: attachment.php:18 +#, php-format +msgid "Return to %s" +msgstr "" + +#: attachment.php:29 +msgid "By" +msgstr "" + +#: attachment.php:40 +msgid "Published" +msgstr "" + +#: attachment.php:50 +#, php-format +msgid "Full size is %s pixels" +msgstr "" + +#: attachment.php:53 +msgid "Link to full-size image" +msgstr "" + +#: attachment.php:60 attachment.php:107 content-aside.php:46 +#: content-chat.php:47 content-gallery.php:73 content-image.php:40 +#: content-link.php:47 content-page.php:22 content-quote.php:44 +#: content-status.php:46 content.php:78 single.php:55 +#: template-onecolumn.php:28 template-page-with-intro.php:18 +msgid "Edit" +msgstr "" + +#: attachment.php:100 +msgid "Continue reading" +msgstr "" + +#: attachment.php:101 content-aside.php:37 content-chat.php:36 +#: content-gallery.php:63 content-image.php:31 content-link.php:36 +#: content-page.php:21 content-quote.php:34 content-status.php:37 +#: content.php:51 content.php:67 single.php:33 template-onecolumn.php:27 +#: template-page-with-intro.php:17 +msgid "Pages:" +msgstr "" + +#: author.php:29 +#, php-format +msgid "Author Archives: %s" +msgstr "" + +#: author.php:50 +#, php-format +msgid "About %s" +msgstr "" + +#: category.php:20 +#, php-format +msgid "Category Archives: %s" +msgstr "" + +#: comments.php:18 +msgid "" +"This post is password protected. Enter the password to view any comments." +msgstr "" + +#: content-aside.php:18 +msgid "Aside" +msgstr "" + +#: content-aside.php:36 content-chat.php:35 content-image.php:30 +#: content-link.php:35 content-quote.php:33 content-status.php:36 +msgid "Continue reading <span class=\"meta-nav\">→</span>" +msgstr "" + +#: content-aside.php:44 content-chat.php:43 content-gallery.php:70 +#: content-image.php:37 content-link.php:43 content-quote.php:41 +#: content-status.php:44 content.php:76 includes/theme-loop.php:205 +msgid "Tagged" +msgstr "" + +#: content-chat.php:18 +msgid "Chat" +msgstr "" + +#: content-gallery.php:21 +msgid "Gallery" +msgstr "" + +#: content-image.php:17 admin/settings.php:444 admin/settings.php:459 +#: admin/settings.php:474 admin/settings.php:489 admin/settings.php:504 +#: admin/settings.php:546 admin/settings.php:561 admin/settings.php:576 +#: admin/settings.php:591 +msgid "Image" +msgstr "" + +#: content-link.php:18 admin/settings.php:451 admin/settings.php:466 +#: admin/settings.php:481 admin/settings.php:496 admin/settings.php:511 +#: admin/settings.php:553 admin/settings.php:568 admin/settings.php:583 +#: admin/settings.php:598 +msgid "Link" +msgstr "" + +#: content-page.php:27 includes/theme-comments.php:136 +msgid "Comments are closed." +msgstr "" + +#: content-quote.php:16 +msgid "Quote" +msgstr "" + +#: content-status.php:28 includes/tgm.php:2609 +msgid "Status" +msgstr "" + +#: search.php:20 +#, php-format +msgid "Search Results for: %s" +msgstr "" + +#: search.php:39 +#, php-format +msgid "No search results for: %s" +msgstr "" + +#: searchform.php:2 +msgid "Search" +msgstr "" + +#: sidebar.php:26 sidebar.php:92 +msgid "Sidebar 1" +msgstr "" + +#: sidebar.php:28 sidebar.php:94 +#, php-format +msgid "" +"You currently have no widgets set in the primary sidebar. You can add " +"widgets via the <a href=\"%s\">Dashboard</a>." +msgstr "" + +#: sidebar.php:29 sidebar.php:61 sidebar.php:95 sidebar.php:128 +#, php-format +msgid "" +"To hide this sidebar, switch to a different Layout via the <a href=\"%s" +"\">Theme Settings</a>." +msgstr "" + +#: sidebar.php:58 sidebar.php:125 +msgid "Sidebar 2" +msgstr "" + +#: sidebar.php:60 sidebar.php:127 +#, php-format +msgid "" +"You currently have no widgets set in the secondary sidebar. You can add " +"widgets via the <a href=\"%s\">Dashboard</a>." +msgstr "" + +#: single.php:46 +msgid "View all posts by " +msgstr "" + +#: tag.php:21 +#, php-format +msgid "Tag Archives: %s" +msgstr "" + #: admin/admin-functions.php:82 msgid "" "Before you can upload your import file, you will need to fix the following " @@ -553,90 +755,78 @@ msgstr "" msgid "Export Theme options" msgstr "" -#: admin/main.php:316 -msgid "" -"It's that easy: a mouse click away - the ability to export your Mantra " -"settings and save them on your computer. Feeling safer? You should!" -msgstr "" - -#: admin/main.php:321 +#: admin/main.php:320 msgid "Import Theme options" msgstr "" -#: admin/main.php:322 -msgid "" -" Without the import, the export would just be a fool's exercise. Make sure " -"you have the exported file ready and see you after the mouse click." -msgstr "" - -#: admin/main.php:330 +#: admin/main.php:328 msgid "Mantra Latest News" msgstr "" -#: admin/main.php:342 +#: admin/main.php:340 msgid "No news items." msgstr "" -#: admin/main.php:346 +#: admin/main.php:344 msgid "Posted on" msgstr "" -#: admin/settings.php:66 +#: admin/settings.php:26 msgid "One column (no sidebars)" msgstr "" -#: admin/settings.php:67 +#: admin/settings.php:27 msgid "Two columns, sidebar on the right" msgstr "" -#: admin/settings.php:68 +#: admin/settings.php:28 msgid "Two columns, sidebar on the left" msgstr "" -#: admin/settings.php:69 +#: admin/settings.php:29 msgid "Three columns, sidebars on the right" msgstr "" -#: admin/settings.php:70 +#: admin/settings.php:30 msgid "Three columns, sidebars on the left" msgstr "" -#: admin/settings.php:71 +#: admin/settings.php:31 msgid "Three columns, one sidebar on each side" msgstr "" -#: admin/settings.php:86 +#: admin/settings.php:45 msgid "" "Choose your layout. Possible options are: <br> No sidebar, a single sidebar " "on either left of right, two sidebars on either left or\n" "\t\tright and two sidebars on each side." msgstr "" -#: admin/settings.php:95 +#: admin/settings.php:53 msgid "Absolute" msgstr "" -#: admin/settings.php:95 -msgid "Relative *DEPRECATED" +#: admin/settings.php:53 +msgid "Relative *NO LONGER SUPPORTED" msgstr "" -#: admin/settings.php:96 +#: admin/settings.php:59 msgid "Dimensions to use: " msgstr "" -#: admin/settings.php:178 admin/settings.php:198 +#: admin/settings.php:141 admin/settings.php:161 msgid "Content =" msgstr "" -#: admin/settings.php:179 admin/settings.php:199 +#: admin/settings.php:142 admin/settings.php:162 msgid "Sidebar(s) =" msgstr "" -#: admin/settings.php:180 admin/settings.php:200 +#: admin/settings.php:143 admin/settings.php:163 msgid "Total width =" msgstr "" -#: admin/settings.php:189 +#: admin/settings.php:152 msgid "" "Select the width of your <b>content</b> and <b>sidebar(s)</b>.\n" " \t\tWhile the content cannot be less than 500px wide, the sidebar area is " @@ -645,7 +835,7 @@ msgid "" "half the selected width." msgstr "" -#: admin/settings.php:209 +#: admin/settings.php:172 msgid "" "Select the width of your <b>content</b> and <b>sidebar(s)</b>.\n" " \t\tThese are realtive dimmensions - relative to the user's browser. The " @@ -656,30 +846,30 @@ msgid "" "half the selected width." msgstr "" -#: admin/settings.php:223 admin/settings.php:250 admin/settings.php:269 -#: admin/settings.php:738 admin/settings.php:1101 admin/settings.php:1163 -#: admin/settings.php:1351 admin/settings.php:1366 admin/settings.php:1537 -#: admin/settings.php:1599 admin/settings.php:1800 admin/settings.php:1829 -#: admin/settings.php:1852 admin/settings.php:1875 admin/settings.php:1924 +#: admin/settings.php:186 admin/settings.php:213 admin/settings.php:232 +#: admin/settings.php:707 admin/settings.php:1070 admin/settings.php:1132 +#: admin/settings.php:1320 admin/settings.php:1335 admin/settings.php:1506 +#: admin/settings.php:1568 admin/settings.php:1769 admin/settings.php:1798 +#: admin/settings.php:1821 admin/settings.php:1844 admin/settings.php:1893 msgid "Enable" msgstr "" -#: admin/settings.php:223 admin/settings.php:250 admin/settings.php:269 -#: admin/settings.php:738 admin/settings.php:1101 admin/settings.php:1163 -#: admin/settings.php:1351 admin/settings.php:1366 admin/settings.php:1537 -#: admin/settings.php:1599 admin/settings.php:1800 admin/settings.php:1829 -#: admin/settings.php:1852 admin/settings.php:1875 admin/settings.php:1924 +#: admin/settings.php:186 admin/settings.php:213 admin/settings.php:232 +#: admin/settings.php:707 admin/settings.php:1070 admin/settings.php:1132 +#: admin/settings.php:1320 admin/settings.php:1335 admin/settings.php:1506 +#: admin/settings.php:1568 admin/settings.php:1769 admin/settings.php:1798 +#: admin/settings.php:1821 admin/settings.php:1844 admin/settings.php:1893 msgid "Disable" msgstr "" -#: admin/settings.php:236 +#: admin/settings.php:199 msgid "" "Enable to make Mantra fully responsive. The layout and general sizes of your " "blog will adjust depending on what device and what resolution it is viewed " "in.<br> Do not disable unless you have a good reason to." msgstr "" -#: admin/settings.php:258 +#: admin/settings.php:221 msgid "" "Enable the presentation front-page. This will become your new home page. It " "has a slider and columns for presentation\n" @@ -689,7 +879,7 @@ msgid "" "strong> as <Strong>Your Latest Posts</strong>." msgstr "" -#: admin/settings.php:261 +#: admin/settings.php:224 #, php-format msgid "" "You have enabled the Presentation Page but your WordPress' <em>Front page " @@ -699,349 +889,347 @@ msgid "" "latest posts</strong></em> to display the presentation page." msgstr "" -#: admin/settings.php:278 +#: admin/settings.php:241 msgid "posts" msgstr "" -#: admin/settings.php:279 +#: admin/settings.php:242 msgid "" "Enable to display latest posts on the presentation page, below the columns. " "Sticky posts are always displayed and not counted." msgstr "" -#: admin/settings.php:287 +#: admin/settings.php:250 msgid "Slider Dimensions:" msgstr "" -#: admin/settings.php:288 +#: admin/settings.php:251 msgid "width" msgstr "" -#: admin/settings.php:289 +#: admin/settings.php:252 msgid "height" msgstr "" -#: admin/settings.php:290 +#: admin/settings.php:253 msgid "" "The dimensions of your slider. Make sure your images are of the same size." msgstr "" -#: admin/settings.php:292 +#: admin/settings.php:255 msgid "Animation:" msgstr "" -#: admin/settings.php:294 +#: admin/settings.php:257 msgid "Random" msgstr "" -#: admin/settings.php:294 +#: admin/settings.php:257 msgid "Fold" msgstr "" -#: admin/settings.php:294 +#: admin/settings.php:257 msgid "Fade" msgstr "" -#: admin/settings.php:294 +#: admin/settings.php:257 msgid "SlideInRight" msgstr "" -#: admin/settings.php:294 +#: admin/settings.php:257 msgid "SlideInLeft" msgstr "" -#: admin/settings.php:294 +#: admin/settings.php:257 msgid "SliceDown" msgstr "" -#: admin/settings.php:294 +#: admin/settings.php:257 msgid "SliceDownLeft" msgstr "" -#: admin/settings.php:294 +#: admin/settings.php:257 msgid "SliceUp" msgstr "" -#: admin/settings.php:294 +#: admin/settings.php:257 msgid "SliceUpLeft" msgstr "" -#: admin/settings.php:294 +#: admin/settings.php:257 msgid "SliceUpDown" msgstr "" -#: admin/settings.php:294 +#: admin/settings.php:257 msgid "SliceUpDownLeft" msgstr "" -#: admin/settings.php:294 +#: admin/settings.php:257 msgid "BoxRandom" msgstr "" -#: admin/settings.php:294 +#: admin/settings.php:257 msgid "BoxRain" msgstr "" -#: admin/settings.php:294 +#: admin/settings.php:257 msgid "BoxRainReverse" msgstr "" -#: admin/settings.php:294 +#: admin/settings.php:257 msgid "BoxRainGrow" msgstr "" -#: admin/settings.php:294 +#: admin/settings.php:257 msgid "BoxRainGrowReverse" msgstr "" -#: admin/settings.php:302 +#: admin/settings.php:265 msgid "The transition effect your slider will have." msgstr "" -#: admin/settings.php:304 +#: admin/settings.php:267 msgid "Border Settings:" msgstr "" -#: admin/settings.php:305 +#: admin/settings.php:268 msgid "Width" msgstr "" -#: admin/settings.php:306 +#: admin/settings.php:269 msgid "Color" msgstr "" -#: admin/settings.php:308 +#: admin/settings.php:271 msgid "The width and color of the slider's border." msgstr "" -#: admin/settings.php:310 +#: admin/settings.php:273 msgid "Animation Time:" msgstr "" -#: admin/settings.php:311 admin/settings.php:315 +#: admin/settings.php:274 admin/settings.php:278 msgid "milliseconds" msgstr "" -#: admin/settings.php:312 +#: admin/settings.php:275 msgid "The time in which the transition animation will take place." msgstr "" -#: admin/settings.php:314 +#: admin/settings.php:277 msgid "Pause Time:" msgstr "" -#: admin/settings.php:316 +#: admin/settings.php:279 msgid "The time in which a slide will be still and visible." msgstr "" -#: admin/settings.php:319 +#: admin/settings.php:282 msgid "Slider navigation:" msgstr "" -#: admin/settings.php:321 +#: admin/settings.php:284 msgid "Numbers" msgstr "" -#: admin/settings.php:321 +#: admin/settings.php:284 msgid "Bullets" msgstr "" -#: admin/settings.php:321 admin/settings.php:1458 +#: admin/settings.php:284 admin/settings.php:1427 msgid "None" msgstr "" -#: admin/settings.php:329 +#: admin/settings.php:292 msgid "Your slider navigation type. Shown under the slider." msgstr "" -#: admin/settings.php:331 +#: admin/settings.php:294 msgid "Slider arrows:" msgstr "" -#: admin/settings.php:333 +#: admin/settings.php:296 msgid "Always Visible" msgstr "" -#: admin/settings.php:333 +#: admin/settings.php:296 msgid "Visible on Hover" msgstr "" -#: admin/settings.php:333 +#: admin/settings.php:296 msgid "Hidden" msgstr "" -#: admin/settings.php:341 +#: admin/settings.php:304 msgid "The Left and Right arrows on your slider" msgstr "" -#: admin/settings.php:382 admin/settings.php:451 +#: admin/settings.php:345 admin/settings.php:419 msgid "Select Category" msgstr "" -#: admin/settings.php:409 +#: admin/settings.php:372 +msgid "Slider Shortcode" +msgstr "" + +#: admin/settings.php:372 msgid "Custom Slides" msgstr "" -#: admin/settings.php:409 +#: admin/settings.php:372 msgid "Latest Posts" msgstr "" -#: admin/settings.php:409 +#: admin/settings.php:372 msgid "Random Posts" msgstr "" -#: admin/settings.php:409 +#: admin/settings.php:372 msgid "Sticky Posts" msgstr "" -#: admin/settings.php:409 +#: admin/settings.php:372 msgid "Latest Posts from Category" msgstr "" -#: admin/settings.php:409 +#: admin/settings.php:372 msgid "Random Posts from Category" msgstr "" -#: admin/settings.php:409 +#: admin/settings.php:372 msgid "Specific Posts" msgstr "" -#: admin/settings.php:410 +#: admin/settings.php:373 msgid "Select the content you want to load in your slides:" msgstr "" -#: admin/settings.php:418 +#: admin/settings.php:381 msgid "" "Your slides' content. Only the image is required, all other fields are " "optional. Only the slides with an image selected will become acitve and " "visible in the live slider." msgstr "" -#: admin/settings.php:423 +#: admin/settings.php:386 +msgid "Enter the desired slider plugin shortcode below:" +msgstr "" + +#: admin/settings.php:391 msgid "Latest posts will be loaded into the slider." msgstr "" -#: admin/settings.php:427 +#: admin/settings.php:395 msgid "Random posts will be loaded into the slider." msgstr "" -#: admin/settings.php:431 +#: admin/settings.php:399 msgid "Latest posts from the category you choose will be loaded in the slider." msgstr "" -#: admin/settings.php:436 +#: admin/settings.php:404 msgid "" "Random posts from the category you choose will be loaded into the slider." msgstr "" -#: admin/settings.php:440 +#: admin/settings.php:408 msgid "Only sticky posts will be loaded into the slider." msgstr "" -#: admin/settings.php:444 +#: admin/settings.php:412 msgid "List the post IDs you want to display (separated by a comma): " msgstr "" -#: admin/settings.php:449 +#: admin/settings.php:417 msgid "<br> Choose the cateogry: " msgstr "" -#: admin/settings.php:466 +#: admin/settings.php:434 msgid "Number of posts to show:" msgstr "" -#: admin/settings.php:473 -msgid "Slide 1" +#: admin/settings.php:440 +msgid "Custom slides are limited to a maximum of 5." msgstr "" -#: admin/settings.php:475 admin/settings.php:490 admin/settings.php:505 -#: admin/settings.php:520 admin/settings.php:535 admin/settings.php:577 -#: admin/settings.php:592 admin/settings.php:607 admin/settings.php:622 -#: content-image.php:19 -msgid "Image" +#: admin/settings.php:442 +msgid "Slide 1" msgstr "" -#: admin/settings.php:477 admin/settings.php:492 admin/settings.php:507 -#: admin/settings.php:522 admin/settings.php:537 admin/settings.php:579 -#: admin/settings.php:594 admin/settings.php:609 admin/settings.php:624 -#: admin/settings.php:773 admin/settings.php:796 +#: admin/settings.php:446 admin/settings.php:461 admin/settings.php:476 +#: admin/settings.php:491 admin/settings.php:506 admin/settings.php:548 +#: admin/settings.php:563 admin/settings.php:578 admin/settings.php:593 +#: admin/settings.php:742 admin/settings.php:765 msgid "Select / Upload Image" msgstr "" -#: admin/settings.php:478 admin/settings.php:493 admin/settings.php:508 -#: admin/settings.php:523 admin/settings.php:538 admin/settings.php:580 -#: admin/settings.php:595 admin/settings.php:625 +#: admin/settings.php:447 admin/settings.php:462 admin/settings.php:477 +#: admin/settings.php:492 admin/settings.php:507 admin/settings.php:549 +#: admin/settings.php:564 admin/settings.php:594 msgid "Title" msgstr "" -#: admin/settings.php:480 admin/settings.php:495 admin/settings.php:510 -#: admin/settings.php:525 admin/settings.php:540 admin/settings.php:582 -#: admin/settings.php:597 admin/settings.php:612 admin/settings.php:627 +#: admin/settings.php:449 admin/settings.php:464 admin/settings.php:479 +#: admin/settings.php:494 admin/settings.php:509 admin/settings.php:551 +#: admin/settings.php:566 admin/settings.php:581 admin/settings.php:596 msgid "Text" msgstr "" -#: admin/settings.php:482 admin/settings.php:497 admin/settings.php:512 -#: admin/settings.php:527 admin/settings.php:542 admin/settings.php:584 -#: admin/settings.php:599 admin/settings.php:614 admin/settings.php:629 -#: content-link.php:20 -msgid "Link" -msgstr "" - -#: admin/settings.php:488 +#: admin/settings.php:457 msgid "Slide 2" msgstr "" -#: admin/settings.php:503 +#: admin/settings.php:472 msgid "Slide 3" msgstr "" -#: admin/settings.php:518 +#: admin/settings.php:487 msgid "Slide 4" msgstr "" -#: admin/settings.php:533 +#: admin/settings.php:502 msgid "Slide 5" msgstr "" -#: admin/settings.php:555 +#: admin/settings.php:524 msgid "Number of columns:" msgstr "" -#: admin/settings.php:565 +#: admin/settings.php:534 msgid "Image Height:" msgstr "" -#: admin/settings.php:568 +#: admin/settings.php:537 msgid "Read more text:" msgstr "" -#: admin/settings.php:571 +#: admin/settings.php:540 msgid "" "The linked text that appears at the bottom of all the columns. You can " "delete all text inside if you don't want it." msgstr "" -#: admin/settings.php:575 +#: admin/settings.php:544 msgid "1st Column" msgstr "" -#: admin/settings.php:590 +#: admin/settings.php:559 msgid "2nd Column" msgstr "" -#: admin/settings.php:605 +#: admin/settings.php:574 msgid "3rd Column" msgstr "" -#: admin/settings.php:620 +#: admin/settings.php:589 msgid "4th Column" msgstr "" -#: admin/settings.php:642 +#: admin/settings.php:611 msgid "Extra Text" msgstr "" -#: admin/settings.php:644 +#: admin/settings.php:613 msgid "" "More text for your front page. The top title is above the slider, the second " "title between the slider and the columns and 2 more rows of text under the " @@ -1049,555 +1237,555 @@ msgid "" "\t\t It's all optional so leave any input field empty if it's not required. " msgstr "" -#: admin/settings.php:647 +#: admin/settings.php:616 msgid "Top Title" msgstr "" -#: admin/settings.php:648 +#: admin/settings.php:617 msgid "Second Title" msgstr "" -#: admin/settings.php:651 +#: admin/settings.php:620 msgid "Title color" msgstr "" -#: admin/settings.php:655 +#: admin/settings.php:624 msgid "Bottom Text 1" msgstr "" -#: admin/settings.php:657 +#: admin/settings.php:626 msgid "Bottom Text 2" msgstr "" -#: admin/settings.php:665 +#: admin/settings.php:634 msgid "Hide areas" msgstr "" -#: admin/settings.php:667 +#: admin/settings.php:636 msgid "Choose the areas to hide on the first page." msgstr "" -#: admin/settings.php:679 +#: admin/settings.php:648 msgid "Hide the header area (image or background color)." msgstr "" -#: admin/settings.php:683 +#: admin/settings.php:652 msgid "Hide the main menu (the top navigation tabs)." msgstr "" -#: admin/settings.php:687 +#: admin/settings.php:656 msgid "Hide the footer widgets. " msgstr "" -#: admin/settings.php:691 +#: admin/settings.php:660 msgid "Hide the footer (copyright area)." msgstr "" -#: admin/settings.php:695 +#: admin/settings.php:664 msgid "Hide the white color. Only the background color remains." msgstr "" -#: admin/settings.php:715 +#: admin/settings.php:684 msgid "" "Select the header's height. After saving the settings make sure you reupload " "a new header image (if you're using one). The header's width will be = " msgstr "" -#: admin/settings.php:722 +#: admin/settings.php:691 msgid "Define header image" msgstr "" -#: admin/settings.php:723 +#: admin/settings.php:692 msgid "" "The header image should not be used to display logos.<br> Enable ratio " "preservation to force the header image aspect ratio. Keep in mind that short " "images will become very small on mobile devices." msgstr "" -#: admin/settings.php:746 +#: admin/settings.php:715 msgid "Enable or disable the round corners for the main menu items." msgstr "" -#: admin/settings.php:754 +#: admin/settings.php:723 msgid "Site Title and Description" msgstr "" -#: admin/settings.php:754 +#: admin/settings.php:723 msgid "Custom Logo" msgstr "" -#: admin/settings.php:754 +#: admin/settings.php:723 msgid "Clickable header image" msgstr "" -#: admin/settings.php:754 +#: admin/settings.php:723 msgid "Empty" msgstr "" -#: admin/settings.php:762 +#: admin/settings.php:731 msgid "Choose what to display inside your header area." msgstr "" -#: admin/settings.php:772 +#: admin/settings.php:741 msgid "" "Custom Logo upload. The logo will appear over the heder image if you have " "used one." msgstr "" -#: admin/settings.php:781 +#: admin/settings.php:750 msgid "top" msgstr "" -#: admin/settings.php:782 +#: admin/settings.php:751 msgid "left" msgstr "" -#: admin/settings.php:785 +#: admin/settings.php:754 msgid "" "Select the top spacing for the header. Use it to better position your site " "title and description or custom logo inside the header. " msgstr "" -#: admin/settings.php:795 +#: admin/settings.php:764 msgid "" "Limitations: It has to be an image. It should be max 64x64 pixels in " "dimensions. Recommended file extensions .ico and .png. <br/><b>Note that " "some browsers do not display the changed favicon instantly.</b>" msgstr "" -#: admin/settings.php:818 +#: admin/settings.php:787 msgid "" "Select the font size you'll use in your blog. Pages, posts and comments will " "be affected. Buttons, Headers and Side menus will remain the same." msgstr "" -#: admin/settings.php:862 +#: admin/settings.php:831 msgid "" "Select the font family you'll use in your blog. All content text will be " "affected (including menu buttons). " msgstr "" -#: admin/settings.php:864 admin/settings.php:914 admin/settings.php:965 -#: admin/settings.php:1017 +#: admin/settings.php:833 admin/settings.php:883 admin/settings.php:934 +#: admin/settings.php:986 msgid "" "Or insert your Google Font below. Please only isert the <strong>name</" "strong> of the font.<br /> Ex: Marko One. Go to <a href='http://www.google." "com/webfonts' > google fonts </a> for some font inspiration." msgstr "" -#: admin/settings.php:911 +#: admin/settings.php:880 msgid "" "Select the font family you want for your titles. It will affect post titles " "and page titles. Leave 'Default' and the general font you selected will be " "used." msgstr "" -#: admin/settings.php:963 +#: admin/settings.php:932 msgid "" "Select the font family you want your sidebar(s) to have. Text in sidebars " "will be affected, including any widgets. Leave 'Default' and the general " "font you selected will be used." msgstr "" -#: admin/settings.php:1014 +#: admin/settings.php:983 msgid "" "Select the font family you want your headings to have (h1 - h6 tags will be " "affected). Leave 'Default' and the general font you selected will be used." msgstr "" -#: admin/settings.php:1026 admin/settings.php:1041 admin/settings.php:1056 -#: admin/settings.php:1116 admin/settings.php:1131 admin/settings.php:1146 +#: admin/settings.php:995 admin/settings.php:1010 admin/settings.php:1025 +#: admin/settings.php:1085 admin/settings.php:1100 admin/settings.php:1115 msgid "Default" msgstr "" -#: admin/settings.php:1034 +#: admin/settings.php:1003 msgid "" "Post Header Font size. Leave 'Default' for normal settings (size value will " "be as set in the CSS)." msgstr "" -#: admin/settings.php:1049 +#: admin/settings.php:1018 msgid "" "Sidebar Font size. Leave 'Default' for normal settings (size value will be " "as set in the CSS)." msgstr "" -#: admin/settings.php:1056 admin/settings.php:1380 admin/settings.php:1891 +#: admin/settings.php:1025 admin/settings.php:1349 admin/settings.php:1860 msgid "Left" msgstr "" -#: admin/settings.php:1056 admin/settings.php:1380 admin/settings.php:1891 +#: admin/settings.php:1025 admin/settings.php:1349 admin/settings.php:1860 msgid "Right" msgstr "" -#: admin/settings.php:1056 +#: admin/settings.php:1025 msgid "Justify" msgstr "" -#: admin/settings.php:1056 admin/settings.php:1380 admin/settings.php:1891 +#: admin/settings.php:1025 admin/settings.php:1349 admin/settings.php:1860 msgid "Center" msgstr "" -#: admin/settings.php:1064 +#: admin/settings.php:1033 msgid "" "This overwrites the text alignment in posts and pages. Leave 'Default' for " "normal settings (alignment will remain as declared in posts, comments etc.)." msgstr "" -#: admin/settings.php:1078 +#: admin/settings.php:1047 msgid "Choose the spacing between paragraphs." msgstr "" -#: admin/settings.php:1093 +#: admin/settings.php:1062 msgid "Choose the indent for your paragraphs." msgstr "" -#: admin/settings.php:1109 +#: admin/settings.php:1078 msgid "Disable the default header and title indent (left margin)." msgstr "" -#: admin/settings.php:1124 +#: admin/settings.php:1093 msgid "" "Text line height. The height between 2 rows of text. Leave 'Default' for " "normal settings (size value will be as set in the CSS)." msgstr "" -#: admin/settings.php:1139 +#: admin/settings.php:1108 msgid "" "The space between <i>words</i>. Leave 'Default' for normal settings (size " "value will be as set in the CSS)." msgstr "" -#: admin/settings.php:1154 +#: admin/settings.php:1123 msgid "" "The space between <i>letters</i>. Leave 'Default' for normal settings (size " "value will be as set in the CSS)." msgstr "" -#: admin/settings.php:1171 +#: admin/settings.php:1140 msgid "Disable the default text shadow on headers and titles." msgstr "" -#: admin/settings.php:1179 +#: admin/settings.php:1148 msgid "Define background image" msgstr "" -#: admin/settings.php:1188 +#: admin/settings.php:1157 msgid "Background color (Default value is 444444)." msgstr "" -#: admin/settings.php:1196 +#: admin/settings.php:1165 msgid "" "Header background color (Default value is 333333). You can delete all inside " "text for no background color." msgstr "" -#: admin/settings.php:1203 +#: admin/settings.php:1172 msgid "" "Content background color (Default value is FFFFFF). Works best with really " "light colors." msgstr "" -#: admin/settings.php:1210 +#: admin/settings.php:1179 msgid "" "Main menu background color (Default value is FAFAFA). Should be the same " "color as the content bg or something just as light." msgstr "" -#: admin/settings.php:1217 +#: admin/settings.php:1186 msgid "" "First sidebar background color (Default is no color for a transparent " "sidebar)." msgstr "" -#: admin/settings.php:1224 +#: admin/settings.php:1193 msgid "" "Second sidebar background color (Default is no color for a transparent " "sidebar)." msgstr "" -#: admin/settings.php:1232 +#: admin/settings.php:1201 msgid "Footer widget-area background color. (Default value is 171717)." msgstr "" -#: admin/settings.php:1240 +#: admin/settings.php:1209 msgid "Footer background color (Default value is 222222)." msgstr "" -#: admin/settings.php:1248 +#: admin/settings.php:1217 msgid "Your blog's title color (Default value is 0D85CC)." msgstr "" -#: admin/settings.php:1256 +#: admin/settings.php:1225 msgid "Your blog's description color(Default value is 222222)." msgstr "" -#: admin/settings.php:1264 +#: admin/settings.php:1233 msgid "Content Text Color (Default value is 333333)." msgstr "" -#: admin/settings.php:1272 +#: admin/settings.php:1241 msgid "Links color (Default value is 0D85CC)." msgstr "" -#: admin/settings.php:1280 +#: admin/settings.php:1249 msgid "Links color on mouse over (Default value is 333333)." msgstr "" -#: admin/settings.php:1288 +#: admin/settings.php:1257 msgid "Post Header Text Color (Default value is 333333)." msgstr "" -#: admin/settings.php:1296 +#: admin/settings.php:1265 msgid "Post Header Text Color on Mouse over (Default value is 000000)." msgstr "" -#: admin/settings.php:1304 +#: admin/settings.php:1273 msgid "Sidebar Header Background color (Default value is 444444)." msgstr "" -#: admin/settings.php:1313 +#: admin/settings.php:1282 msgid "Sidebar Header Text Color(Default value is 2EA5FD)." msgstr "" -#: admin/settings.php:1321 +#: admin/settings.php:1290 msgid "Footer Widget Text Color (Default value is 0D85CC)." msgstr "" -#: admin/settings.php:1329 +#: admin/settings.php:1298 msgid "Footer Widget Link Color (Default value is 666666)." msgstr "" -#: admin/settings.php:1337 +#: admin/settings.php:1306 msgid "Footer Widget Link Color on Mouse Over (Default value is 888888)." msgstr "" -#: admin/settings.php:1359 +#: admin/settings.php:1328 msgid "" "Show breadcrumbs at the top of the content area. Breadcrumbs are a form of " "navigation that keeps track of your location withtin the site." msgstr "" -#: admin/settings.php:1374 +#: admin/settings.php:1343 msgid "" "Show numbered pagination. Where there is more than one page, instead of the " "bottom <b>Older Posts</b> and <b>Newer posts</b> links you have a numbered " "pagination. " msgstr "" -#: admin/settings.php:1388 +#: admin/settings.php:1357 msgid "" "Select the desired main menu items alignment. Center option is only valid " "for single line menus." msgstr "" -#: admin/settings.php:1395 admin/settings.php:1458 +#: admin/settings.php:1364 admin/settings.php:1427 msgid "White" msgstr "" -#: admin/settings.php:1395 +#: admin/settings.php:1364 msgid "Light" msgstr "" -#: admin/settings.php:1395 +#: admin/settings.php:1364 msgid "Light Gray" msgstr "" -#: admin/settings.php:1395 admin/settings.php:1458 +#: admin/settings.php:1364 admin/settings.php:1427 msgid "Gray" msgstr "" -#: admin/settings.php:1395 +#: admin/settings.php:1364 msgid "Dark Gray" msgstr "" -#: admin/settings.php:1395 +#: admin/settings.php:1364 msgid "Black" msgstr "" -#: admin/settings.php:1403 +#: admin/settings.php:1372 msgid "" "This setting changes the look of your captions. Images that are not inserted " "through captions will not be affected." msgstr "" -#: admin/settings.php:1419 +#: admin/settings.php:1388 msgid "The border around your inserted images. " msgstr "" -#: admin/settings.php:1434 +#: admin/settings.php:1403 msgid "The image on top of your captions. " msgstr "" -#: admin/settings.php:1449 +#: admin/settings.php:1418 msgid "The sidebar list bullets. " msgstr "" -#: admin/settings.php:1466 +#: admin/settings.php:1435 msgid "" "The background for your post-metas area (under your post tiltes). Gray by " "default." msgstr "" -#: admin/settings.php:1474 admin/settings.php:1490 admin/settings.php:1507 -#: admin/settings.php:1522 admin/settings.php:1552 admin/settings.php:1567 -#: admin/settings.php:1583 admin/settings.php:1619 admin/settings.php:1634 -#: admin/settings.php:1649 admin/settings.php:1664 admin/settings.php:1679 -#: admin/settings.php:1694 admin/settings.php:1709 admin/settings.php:1724 +#: admin/settings.php:1443 admin/settings.php:1459 admin/settings.php:1476 +#: admin/settings.php:1491 admin/settings.php:1521 admin/settings.php:1536 +#: admin/settings.php:1552 admin/settings.php:1588 admin/settings.php:1603 +#: admin/settings.php:1618 admin/settings.php:1633 admin/settings.php:1648 +#: admin/settings.php:1663 admin/settings.php:1678 admin/settings.php:1693 msgid "Show" msgstr "" -#: admin/settings.php:1474 admin/settings.php:1490 admin/settings.php:1507 -#: admin/settings.php:1522 admin/settings.php:1552 admin/settings.php:1583 -#: admin/settings.php:1619 admin/settings.php:1634 admin/settings.php:1649 -#: admin/settings.php:1664 admin/settings.php:1679 admin/settings.php:1694 -#: admin/settings.php:1709 admin/settings.php:1724 +#: admin/settings.php:1443 admin/settings.php:1459 admin/settings.php:1476 +#: admin/settings.php:1491 admin/settings.php:1521 admin/settings.php:1552 +#: admin/settings.php:1588 admin/settings.php:1603 admin/settings.php:1618 +#: admin/settings.php:1633 admin/settings.php:1648 admin/settings.php:1663 +#: admin/settings.php:1678 admin/settings.php:1693 msgid "Hide" msgstr "" -#: admin/settings.php:1482 +#: admin/settings.php:1451 msgid "Hide or show a horizontal rule to separate posts." msgstr "" -#: admin/settings.php:1498 +#: admin/settings.php:1467 msgid "" "Hide or show bullets next to lists that are in your content area (posts, " "pages etc.)." msgstr "" -#: admin/settings.php:1515 +#: admin/settings.php:1484 msgid "Hide or show Page titles on any <i>created</i> pages. " msgstr "" -#: admin/settings.php:1530 +#: admin/settings.php:1499 msgid "Hide or show Page titles on <i>Category</i> Pages. " msgstr "" -#: admin/settings.php:1545 +#: admin/settings.php:1514 msgid "Hide table borders and background color." msgstr "" -#: admin/settings.php:1560 +#: admin/settings.php:1529 msgid "" "Hide the explanatory text under the comments form. (starts with <i>You may " "use these HTML tags and attributes:...</i>)." msgstr "" -#: admin/settings.php:1567 +#: admin/settings.php:1536 msgid "Hide in posts" msgstr "" -#: admin/settings.php:1567 +#: admin/settings.php:1536 msgid "Hide in pages" msgstr "" -#: admin/settings.php:1567 +#: admin/settings.php:1536 msgid "Hide everywhere" msgstr "" -#: admin/settings.php:1575 +#: admin/settings.php:1544 msgid "" "Hide the <b>Comments are closed</b> text that by default shows up on pages " "or posts with the comments disabled." msgstr "" -#: admin/settings.php:1591 +#: admin/settings.php:1560 msgid "" "Hide the <b>Comments off</b> text next to posts that have comments disabled." msgstr "" -#: admin/settings.php:1607 +#: admin/settings.php:1576 msgid "" "Enable the Back to Top button. The button appears after scrolling the page " "down." msgstr "" -#: admin/settings.php:1627 +#: admin/settings.php:1596 msgid "" "Hide or show the <strong>Leave a comment</strong> or <strong>x Comments</" "strong> next to posts or post excerpts." msgstr "" -#: admin/settings.php:1642 +#: admin/settings.php:1611 msgid "Hide or show the post date." msgstr "" -#: admin/settings.php:1657 +#: admin/settings.php:1626 msgid "" "Show the post time with the date. Time will not be visible if the Post Date " "is hidden." msgstr "" -#: admin/settings.php:1672 +#: admin/settings.php:1641 msgid "Hide or show the post author." msgstr "" -#: admin/settings.php:1687 +#: admin/settings.php:1656 msgid "Hide the post category." msgstr "" -#: admin/settings.php:1702 +#: admin/settings.php:1671 msgid "Hide the 'Bookmark permalink'." msgstr "" -#: admin/settings.php:1717 +#: admin/settings.php:1686 msgid "Hide the meta bar. All meta info in it will be hidden." msgstr "" -#: admin/settings.php:1732 +#: admin/settings.php:1701 msgid "Hide the post tags." msgstr "" -#: admin/settings.php:1745 admin/settings.php:1760 admin/settings.php:1776 +#: admin/settings.php:1714 admin/settings.php:1729 admin/settings.php:1745 msgid "Excerpt" msgstr "" -#: admin/settings.php:1745 admin/settings.php:1760 admin/settings.php:1776 +#: admin/settings.php:1714 admin/settings.php:1729 admin/settings.php:1745 msgid "Full Post" msgstr "" -#: admin/settings.php:1753 +#: admin/settings.php:1722 msgid "" "Excerpts on the main page. Only standard posts will be affected. All other " "post formats (aside, image, chat, quote etc.) have their specific formating." msgstr "" -#: admin/settings.php:1768 +#: admin/settings.php:1737 msgid "" "Choose if you want the sticky posts on your home page to be visible in full " "or just the excerpts. " msgstr "" -#: admin/settings.php:1784 +#: admin/settings.php:1753 msgid "" "Excerpts on archive, categroy and search pages. Same as above, only standard " "posts will be affected." msgstr "" -#: admin/settings.php:1792 +#: admin/settings.php:1761 msgid "" "The number of words an excerpt will have. When that number is reached the " "post will be interrupted by a <i>Continue reading</i> link that\n" "\t\t\t\t\t\t\twill take the reader to the full post page." msgstr "" -#: admin/settings.php:1808 +#: admin/settings.php:1777 msgid "" "Enable the Magazine Layout. This layout applies to pages with posts and " "shows 2 posts per row." msgstr "" -#: admin/settings.php:1815 +#: admin/settings.php:1784 msgid "" "Replaces the three dots ('[...])' that are appended automatically to " "excerpts." msgstr "" -#: admin/settings.php:1822 +#: admin/settings.php:1791 msgid "Edit the 'Continue Reading' link added to your post excerpts." msgstr "" -#: admin/settings.php:1837 +#: admin/settings.php:1806 #, php-format msgid "" "By default WordPress excerpts remove all HTML tags (%s and all others) and " @@ -1610,31 +1798,31 @@ msgid "" "contained in that HTML tag. -- Leave 'Disable' if unsure -- </small></div>" msgstr "" -#: admin/settings.php:1868 +#: admin/settings.php:1837 msgid "" "Show featured images as thumbnails on posts. The images must be selected for " "each post in the Featured Image section." msgstr "" -#: admin/settings.php:1883 +#: admin/settings.php:1852 msgid "" "Show the first image that you inserted in a post as a thumbnail. If you " "enable this option, the first image in your post will be used even if you " "selected a Featured Image in you post." msgstr "" -#: admin/settings.php:1899 +#: admin/settings.php:1868 msgid "Thumbnail alignment." msgstr "" -#: admin/settings.php:1916 +#: admin/settings.php:1885 msgid "" "The size you want the thumbnails to have (in pixels). By default imges will " "be scaled with aspect ratio kept. Choose to crop the images if you want the " "exact size." msgstr "" -#: admin/settings.php:1932 +#: admin/settings.php:1901 msgid "" "Show featured images on headers. The header will be replaced with a featured " "image if you selected it as a Featured Image in the post and\n" @@ -1642,40 +1830,40 @@ msgid "" "size." msgstr "" -#: admin/settings.php:1948 +#: admin/settings.php:1917 msgid "" "Select your desired Social network from the left dropdown menu and insert " "your corresponding address in the right input field. (ex: <i>http://www." "facebook.com/yourname</i> )" msgstr "" -#: admin/settings.php:1949 +#: admin/settings.php:1918 msgid "You can insert up to 5 different social sites and addresses." msgstr "" -#: admin/settings.php:1950 +#: admin/settings.php:1919 msgid "There are a total of 27 social networks to choose from. " msgstr "" -#: admin/settings.php:1951 +#: admin/settings.php:1920 msgid "You can leave any number of inputs empty. " msgstr "" -#: admin/settings.php:1952 +#: admin/settings.php:1921 msgid "You can choose the same social media any number of times. " msgstr "" -#: admin/settings.php:2027 +#: admin/settings.php:1996 msgid "Choose the <b>areas</b> where to display the social icons." msgstr "" -#: admin/settings.php:2040 +#: admin/settings.php:2009 msgid "" "Insert custom text or HTML code that will appear last in you footer. <br /> " "You can use HTML to insert links, images and special characters like © ." msgstr "" -#: admin/settings.php:2048 +#: admin/settings.php:2017 msgid "" "Insert your custom CSS here. Any CSS declarations made here will overwrite " "Mantra's (even the custom options specified right here in the Mantra " @@ -1683,148 +1871,12 @@ msgid "" "theme.<br> The <style> tags are not needed." msgstr "" -#: admin/settings.php:2055 +#: admin/settings.php:2024 msgid "" "Insert your custom Javascript code here. (Google Analytics and any other " "forms of Analytic software).<br> The <script> tags are not needed." msgstr "" -#: archive.php:27 -#, php-format -msgid "Daily Archives: %s" -msgstr "" - -#: archive.php:29 -#, php-format -msgid "Monthly Archives: %s" -msgstr "" - -#: archive.php:29 -msgid "F Y" -msgstr "" - -#: archive.php:31 -#, php-format -msgid "Yearly Archives: %s" -msgstr "" - -#: archive.php:31 -msgid "Y" -msgstr "" - -#: archive.php:33 -msgid "Blog Archives" -msgstr "" - -#: archive.php:59 author.php:75 category.php:51 content-frontpage.php:26 -#: index.php:41 search.php:41 tag.php:52 template-blog.php:36 -msgid "Nothing Found" -msgstr "" - -#: archive.php:63 author.php:79 category.php:55 content-frontpage.php:30 -#: index.php:45 tag.php:56 template-blog.php:40 -msgid "" -"Apologies, but no results were found for the requested archive. Perhaps " -"searching will help find a related post." -msgstr "" - -#: attachment.php:18 -#, php-format -msgid "Return to %s" -msgstr "" - -#: attachment.php:29 -msgid "By" -msgstr "" - -#: attachment.php:40 -msgid "Published" -msgstr "" - -#: attachment.php:50 -#, php-format -msgid "Full size is %s pixels" -msgstr "" - -#: attachment.php:53 -msgid "Link to full-size image" -msgstr "" - -#: attachment.php:60 attachment.php:107 content-aside.php:48 -#: content-chat.php:49 content-gallery.php:75 content-image.php:42 -#: content-link.php:49 content-page.php:22 content-quote.php:46 -#: content-status.php:48 content.php:76 single.php:55 -#: template-onecolumn.php:28 template-page-with-intro.php:18 -msgid "Edit" -msgstr "" - -#: attachment.php:100 -msgid "Continue reading" -msgstr "" - -#: attachment.php:101 content-aside.php:39 content-chat.php:38 -#: content-gallery.php:65 content-image.php:33 content-link.php:38 -#: content-page.php:21 content-quote.php:36 content-status.php:39 -#: content.php:49 content.php:65 single.php:33 template-onecolumn.php:27 -#: template-page-with-intro.php:17 -msgid "Pages:" -msgstr "" - -#: author.php:29 -#, php-format -msgid "Author Archives: %s" -msgstr "" - -#: author.php:50 -#, php-format -msgid "About %s" -msgstr "" - -#: category.php:20 -#, php-format -msgid "Category Archives: %s" -msgstr "" - -#: comments.php:18 -msgid "" -"This post is password protected. Enter the password to view any comments." -msgstr "" - -#: content-aside.php:20 -msgid "Aside" -msgstr "" - -#: content-aside.php:38 content-chat.php:37 content-image.php:32 -#: content-link.php:37 content-quote.php:35 content-status.php:38 -msgid "Continue reading <span class=\"meta-nav\">→</span>" -msgstr "" - -#: content-aside.php:46 content-chat.php:45 content-gallery.php:72 -#: content-image.php:39 content-link.php:45 content-quote.php:43 -#: content-status.php:46 content.php:74 includes/theme-loop.php:206 -msgid "Tagged" -msgstr "" - -#: content-chat.php:20 -msgid "Chat" -msgstr "" - -#: content-gallery.php:23 -msgid "Gallery" -msgstr "" - -#: content-page.php:27 includes/theme-comments.php:136 -msgid "Comments are closed." -msgstr "" - -#: content-quote.php:18 -msgid "Quote" -msgstr "" - -#: content-status.php:30 includes/tgm.php:2495 -msgid "Status" -msgstr "" - #: includes/tgm.php:29 msgid "Recommended Plugins" msgstr "" @@ -1833,20 +1885,20 @@ msgstr "" msgid " Plugins" msgstr "" -#: includes/tgm.php:31 includes/tgm.php:390 +#: includes/tgm.php:31 includes/tgm.php:385 #, php-format msgid "Installing Plugin: %s" msgstr "" -#: includes/tgm.php:32 includes/tgm.php:391 +#: includes/tgm.php:32 includes/tgm.php:388 msgid "Something went wrong with the plugin API." msgstr "" -#: includes/tgm.php:43 includes/tgm.php:452 +#: includes/tgm.php:43 includes/tgm.php:440 msgid "Return to Required Plugins Installer" msgstr "" -#: includes/tgm.php:44 includes/tgm.php:454 includes/tgm.php:3081 +#: includes/tgm.php:44 includes/tgm.php:442 includes/tgm.php:3214 msgid "Plugin activated successfully." msgstr "" @@ -1855,233 +1907,237 @@ msgstr "" msgid "All plugins installed and activated successfully. %s" msgstr "" -#: includes/tgm.php:388 +#: includes/tgm.php:382 msgid "Install Required Plugins" msgstr "" -#: includes/tgm.php:389 +#: includes/tgm.php:383 msgid "Install Plugins" msgstr "" -#: includes/tgm.php:453 -msgid "Return to the dashboard" +#: includes/tgm.php:387 +#, php-format +msgid "Updating Plugin: %s" +msgstr "" + +#: includes/tgm.php:441 +msgid "Return to the Dashboard" msgstr "" -#: includes/tgm.php:455 +#: includes/tgm.php:443 msgid "The following plugin was activated successfully:" msgstr "" -#: includes/tgm.php:456 +#: includes/tgm.php:445 #, php-format msgid "No action taken. Plugin %1$s was already active." msgstr "" -#: includes/tgm.php:457 +#: includes/tgm.php:447 #, php-format msgid "" "Plugin not activated. A higher version of %s is needed for this theme. " "Please update the plugin." msgstr "" -#: includes/tgm.php:458 +#: includes/tgm.php:449 #, php-format msgid "All plugins installed and activated successfully. %1$s" msgstr "" -#: includes/tgm.php:459 +#: includes/tgm.php:450 msgid "Dismiss this notice" msgstr "" -#: includes/tgm.php:460 +#: includes/tgm.php:451 +msgid "" +"There are one or more required or recommended plugins to install, update or " +"activate." +msgstr "" + +#: includes/tgm.php:452 msgid "Please contact the administrator of this site for help." msgstr "" -#: includes/tgm.php:1933 +#: includes/tgm.php:2037 #, php-format msgid "TGMPA v%s" msgstr "" -#: includes/tgm.php:2219 +#: includes/tgm.php:2328 msgid "Required" msgstr "" -#: includes/tgm.php:2222 +#: includes/tgm.php:2331 msgid "Recommended" msgstr "" -#: includes/tgm.php:2238 +#: includes/tgm.php:2347 msgid "WordPress Repository" msgstr "" -#: includes/tgm.php:2241 +#: includes/tgm.php:2350 msgid "External Source" msgstr "" -#: includes/tgm.php:2244 +#: includes/tgm.php:2353 msgid "Pre-Packaged" msgstr "" -#: includes/tgm.php:2261 +#: includes/tgm.php:2370 msgid "Not Installed" msgstr "" -#: includes/tgm.php:2265 +#: includes/tgm.php:2374 msgid "Installed But Not Activated" msgstr "" -#: includes/tgm.php:2267 +#: includes/tgm.php:2376 msgid "Active" msgstr "" -#: includes/tgm.php:2273 +#: includes/tgm.php:2382 msgid "Required Update not Available" msgstr "" -#: includes/tgm.php:2276 +#: includes/tgm.php:2385 msgid "Requires Update" msgstr "" -#: includes/tgm.php:2279 +#: includes/tgm.php:2388 msgid "Update recommended" msgstr "" -#: includes/tgm.php:2287 +#: includes/tgm.php:2397 #, php-format msgid "%1$s, %2$s" msgstr "" -#: includes/tgm.php:2423 +#: includes/tgm.php:2537 msgid "unknown" msgstr "" -#: includes/tgm.php:2431 +#: includes/tgm.php:2545 msgid "Installed version:" msgstr "" -#: includes/tgm.php:2439 +#: includes/tgm.php:2553 msgid "Minimum required version:" msgstr "" -#: includes/tgm.php:2451 +#: includes/tgm.php:2565 msgid "Available version:" msgstr "" -#: includes/tgm.php:2474 -#, php-format -msgid "" -"No plugins to install, update or activate. <a href=\"%1$s\">Return to the " -"Dashboard</a>" -msgstr "" - -#: includes/tgm.php:2488 +#: includes/tgm.php:2602 msgid "Plugin" msgstr "" -#: includes/tgm.php:2489 +#: includes/tgm.php:2603 msgid "Source" msgstr "" -#: includes/tgm.php:2490 +#: includes/tgm.php:2604 msgid "Type" msgstr "" -#: includes/tgm.php:2494 +#: includes/tgm.php:2608 msgid "Version" msgstr "" -#: includes/tgm.php:2543 +#: includes/tgm.php:2658 #, php-format msgid "Install %2$s" msgstr "" -#: includes/tgm.php:2547 +#: includes/tgm.php:2663 #, php-format msgid "Update %2$s" msgstr "" -#: includes/tgm.php:2552 +#: includes/tgm.php:2669 #, php-format msgid "Activate %2$s" msgstr "" -#: includes/tgm.php:2655 +#: includes/tgm.php:2772 msgid "Install" msgstr "" -#: includes/tgm.php:2661 +#: includes/tgm.php:2778 msgid "Update" msgstr "" -#: includes/tgm.php:2664 +#: includes/tgm.php:2781 msgid "Activate" msgstr "" -#: includes/tgm.php:2695 +#: includes/tgm.php:2812 msgid "No plugins were selected to be installed. No action taken." msgstr "" -#: includes/tgm.php:2697 +#: includes/tgm.php:2814 msgid "No plugins were selected to be updated. No action taken." msgstr "" -#: includes/tgm.php:2733 +#: includes/tgm.php:2855 msgid "No plugins are available to be installed at this time." msgstr "" -#: includes/tgm.php:2735 +#: includes/tgm.php:2857 msgid "No plugins are available to be updated at this time." msgstr "" -#: includes/tgm.php:3080 +#: includes/tgm.php:3213 msgid "Plugin activation failed." msgstr "" -#: includes/tgm.php:3414 +#: includes/tgm.php:3553 #, php-format msgid "Updating Plugin %1$s (%2$d/%3$d)" msgstr "" -#: includes/tgm.php:3416 +#: includes/tgm.php:3556 #, php-format msgid "An error occurred while installing %1$s: <strong>%2$s</strong>." msgstr "" -#: includes/tgm.php:3417 +#: includes/tgm.php:3558 #, php-format msgid "The installation of %1$s failed." msgstr "" -#: includes/tgm.php:3421 +#: includes/tgm.php:3562 msgid "" "The installation and activation process is starting. This process may take a " "while on some hosts, so please be patient." msgstr "" -#: includes/tgm.php:3422 +#: includes/tgm.php:3564 #, php-format msgid "%1$s installed and activated successfully." msgstr "" -#: includes/tgm.php:3423 +#: includes/tgm.php:3565 msgid "All installations and activations have been completed." msgstr "" -#: includes/tgm.php:3424 +#: includes/tgm.php:3567 #, php-format msgid "Installing and Activating Plugin %1$s (%2$d/%3$d)" msgstr "" -#: includes/tgm.php:3427 +#: includes/tgm.php:3570 msgid "" "The installation process is starting. This process may take a while on some " "hosts, so please be patient." msgstr "" -#: includes/tgm.php:3429 +#: includes/tgm.php:3573 msgid "All installations have been completed." msgstr "" -#: includes/tgm.php:3430 +#: includes/tgm.php:3575 #, php-format msgid "Installing Plugin %1$s (%2$d/%3$d)" msgstr "" @@ -2146,177 +2202,125 @@ msgstr "" msgid "By " msgstr "" -#: includes/theme-loop.php:206 +#: includes/theme-loop.php:205 msgid " Bookmark the " msgstr "" -#: includes/theme-loop.php:206 includes/theme-loop.php:208 -#: includes/theme-loop.php:210 +#: includes/theme-loop.php:205 includes/theme-loop.php:207 +#: includes/theme-loop.php:209 msgid "Permalink to" msgstr "" -#: includes/theme-loop.php:206 includes/theme-loop.php:208 -#: includes/theme-loop.php:210 +#: includes/theme-loop.php:205 includes/theme-loop.php:207 +#: includes/theme-loop.php:209 msgid "permalink" msgstr "" -#: includes/theme-loop.php:208 includes/theme-loop.php:210 +#: includes/theme-loop.php:207 includes/theme-loop.php:209 msgid "Bookmark the " msgstr "" -#: includes/theme-loop.php:232 +#: includes/theme-loop.php:231 msgid "<span class=\"meta-nav\">«</span> Older posts" msgstr "" -#: includes/theme-loop.php:233 +#: includes/theme-loop.php:232 msgid "Newer posts <span class=\"meta-nav\">»</span>" msgstr "" -#: includes/theme-setup.php:94 +#: includes/theme-setup.php:87 msgid "Primary Navigation" msgstr "" -#: includes/theme-setup.php:95 +#: includes/theme-setup.php:88 msgid "Top Navigation" msgstr "" -#: includes/theme-setup.php:96 +#: includes/theme-setup.php:89 msgid "Footer Navigation" msgstr "" -#: includes/theme-setup.php:132 +#: includes/theme-setup.php:127 msgid "mantra" msgstr "" -#: includes/theme-setup.php:173 +#: includes/theme-setup.php:168 #, php-format msgid "Page %s" msgstr "" -#: includes/theme-setup.php:236 +#: includes/theme-setup.php:231 msgid "Skip to content" msgstr "" -#: includes/theme-setup.php:263 +#: includes/theme-setup.php:258 msgid "Primary Widget Area - Sidebar 1" msgstr "" -#: includes/theme-setup.php:265 +#: includes/theme-setup.php:260 msgid "Primary widget area - Sidebar 1" msgstr "" -#: includes/theme-setup.php:274 +#: includes/theme-setup.php:269 msgid "Secondary Widget Area - Sidebar 1" msgstr "" -#: includes/theme-setup.php:276 +#: includes/theme-setup.php:271 msgid "Secondary widget area - Sidebar 1" msgstr "" -#: includes/theme-setup.php:285 +#: includes/theme-setup.php:280 msgid "Third Widget Area - Sidebar 2" msgstr "" -#: includes/theme-setup.php:287 +#: includes/theme-setup.php:282 msgid "Third widget area - Sidebar 2" msgstr "" -#: includes/theme-setup.php:296 +#: includes/theme-setup.php:291 msgid "Fourth Widget Area - Sidebar 2" msgstr "" -#: includes/theme-setup.php:298 +#: includes/theme-setup.php:293 msgid "Fourth widget area - Sidebar 2" msgstr "" -#: includes/theme-setup.php:307 +#: includes/theme-setup.php:302 msgid "First Footer Widget Area" msgstr "" -#: includes/theme-setup.php:309 +#: includes/theme-setup.php:304 msgid "First footer widget area" msgstr "" -#: includes/theme-setup.php:318 +#: includes/theme-setup.php:313 msgid "Second Footer Widget Area" msgstr "" -#: includes/theme-setup.php:320 +#: includes/theme-setup.php:315 msgid "Second footer widget area" msgstr "" -#: includes/theme-setup.php:329 +#: includes/theme-setup.php:324 msgid "Third Footer Widget Area" msgstr "" -#: includes/theme-setup.php:331 +#: includes/theme-setup.php:326 msgid "The third footer widget area" msgstr "" -#: includes/theme-setup.php:340 +#: includes/theme-setup.php:335 msgid "Fourth Footer Widget Area" msgstr "" -#: includes/theme-setup.php:342 +#: includes/theme-setup.php:337 msgid "The fourth footer widget area" msgstr "" -#: includes/theme-setup.php:351 includes/theme-setup.php:353 +#: includes/theme-setup.php:346 includes/theme-setup.php:348 msgid "Above content Widget Area" msgstr "" -#: includes/theme-setup.php:362 includes/theme-setup.php:364 +#: includes/theme-setup.php:357 includes/theme-setup.php:359 msgid "Below Content Widget Area" msgstr "" - -#: search.php:20 -#, php-format -msgid "Search Results for: %s" -msgstr "" - -#: search.php:39 -#, php-format -msgid "No search results for: %s" -msgstr "" - -#: searchform.php:1 -msgid "Search" -msgstr "" - -#: sidebar.php:26 sidebar.php:92 -msgid "Sidebar 1" -msgstr "" - -#: sidebar.php:28 sidebar.php:94 -#, php-format -msgid "" -"You currently have no widgets set in the primary sidebar. You can add " -"widgets via the <a href=\"%s\">Dashboard</a>." -msgstr "" - -#: sidebar.php:29 sidebar.php:61 sidebar.php:95 sidebar.php:128 -#, php-format -msgid "" -"To hide this sidebar, switch to a different Layout via the <a href=\"%s" -"\">Theme Settings</a>." -msgstr "" - -#: sidebar.php:58 sidebar.php:125 -msgid "Sidebar 2" -msgstr "" - -#: sidebar.php:60 sidebar.php:127 -#, php-format -msgid "" -"You currently have no widgets set in the secondary sidebar. You can add " -"widgets via the <a href=\"%s\">Dashboard</a>." -msgstr "" - -#: single.php:46 -msgid "View all posts by " -msgstr "" - -#: tag.php:21 -#, php-format -msgid "Tag Archives: %s" -msgstr "" diff --git a/themes/mantra/readme.txt b/themes/mantra/readme.txt index bfa48842..88b7dfbf 100644 --- a/themes/mantra/readme.txt +++ b/themes/mantra/readme.txt @@ -1,11 +1,11 @@ ============= Mantra WordPress Theme -Copyright 2011-16 Cryout Creations +Copyright 2011-17 Cryout Creations Author: Cryout Creations Requires at least: 4.0 -Tested up to: 4.6 -Stable tag: 2.6.0 +Tested up to: 4.7.4 +Stable tag: 2.6.1 License: GPLv3 License URI: http://www.gnu.org/licenses/gpl.html Donate link: https://www.cryoutcreations.eu/donate/ @@ -80,6 +80,18 @@ Turkish - Emre Dalkili == Changelog == += 2.6.1 = +* Added support for external sliders in the presentation page using shortcodes +* Updated header image support to allow crop skipping +* Fixed search double slash causing issues on some servers +* Updated to TGM-PA v2.6.1 +* Removed fixed height from textareas styling +* Applied general font option to textareas +* Fixed automatically generated menu dropdowns inaccessible on mobile devices with WordPress 4.7+ +* Added styling to disable Chrome's built-in blue border on focused form elements +* Fixed frontend.js being unminifiable due to single line comments +* Removed obsolete relative layout option from new theme installs + = 2.6.0 = * Optimized CSS layout and updated for latest browser versions * Removed unused third parameter $post_image_id from nirvana_thumbnail_link() diff --git a/themes/mantra/searchform.php b/themes/mantra/searchform.php index af607d0e..7d3972a6 100644 --- a/themes/mantra/searchform.php +++ b/themes/mantra/searchform.php @@ -1,11 +1,4 @@ -<?php $search_text = __( 'Search', 'mantra' ); ?> -<form method="get" id="searchform" -action="<?php echo esc_url(home_url( '/' )); ?>/"> -<input type="text" value="<?php echo $search_text; ?>" -name="s" id="s" -onblur="if (this.value == '') -{this.value = '<?php echo $search_text; ?>';}" -onfocus="if (this.value == '<?php echo $search_text; ?>') -{this.value = '';}" /> -<input type="submit" id="searchsubmit" value="OK" /> +<form method="get" id="searchform" action="<?php echo esc_url(home_url( '/' )); ?>"> + <input type="text" value="<?php _e( 'Search', 'mantra' ) ?>" name="s" id="s" onblur="if (this.value == '') {this.value = '<?php _e( 'Search', 'mantra' ) ?>';}" onfocus="if (this.value == '<?php _e( 'Search', 'mantra' ) ?>') {this.value = '';}" /> + <input type="submit" id="searchsubmit" value="OK" /> </form>
\ No newline at end of file diff --git a/themes/mantra/style.css b/themes/mantra/style.css index 61b83a82..8ac5c719 100644 --- a/themes/mantra/style.css +++ b/themes/mantra/style.css @@ -4,7 +4,7 @@ Theme URI: https://www.cryoutcreations.eu/wordpress-themes/mantra Description: Mantra is a do-it-yourself WordPress theme, featuring a pack of over 100 customization options and easy to use tweaks capable of tuning WordPress to your very specific needs and likes. With the help of a simple and efficient user interface you can customize everything:the layout (1,2 or 3 columns), total and partial site widths, colors (all texts, links, backgrounds etc.), fonts (over 35 font-families plus all Google Fonts), text and header sizes, post metas, post excerpts, post formats, header and background images, custom menus, 27 social media links and icons, pins, bullets and much much more. With a fully responsive layout,a customizable showcase presentation page, animated slider, magazine and blog layouts, 8 widget areas, modern graphics and an easy and intuitive admin section, you can start creating your dream site right now. Author: Cryout Creations Author URI: https://www.cryoutcreations.eu -Version: 2.6.0 +Version: 2.6.1 License: GNU General Public License v2.0 License URI: http://www.gnu.org/licenses/gpl-2.0.html Tags: one-column, two-columns, three-columns, right-sidebar, left-sidebar, footer-widgets, grid-layout, custom-background, custom-colors, custom-header, custom-menu, featured-image-header, featured-images, front-page-post-form, full-width-template, microformats, post-formats, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, blog, e-commerce, entertainment, news @@ -292,7 +292,6 @@ textarea { color: #666; font-size: 12px; line-height: 18px; - } hr { clear: both; @@ -385,12 +384,15 @@ sup { sub { top: .5ex; } +input:focus, +textarea:focus { + outline: none; +} input[type="text"], input[type="password"], input[type="email"], textarea { box-sizing: border-box; - height: 32px; padding-left: 5px; border: 1px solid #DDD; background: #fff; @@ -398,12 +400,17 @@ textarea { -webkit-transition: .2s border ease; transition: .2s border ease; } +input[type="text"], +input[type="password"], +input[type="email"] { + height: 32px; +} input[type="text"]:hover, input[type="password"]:hover, input[type="email"]:hover, textarea:hover { - border: 1px solid #CCC !important; + border: 1px solid #CCC; } a:link { color: #0D85CC; @@ -590,15 +597,15 @@ div.menu { } #access ul li.current_page_item > a, #access ul li.current-menu-item > a{ - color: #000 !important; + color: #000; } -#access ul ul li.current_page_item , +#access ul ul li.current_page_item, #access ul ul li.current-menu-ancestor, -#access ul ul li.current-menu-item , +#access ul ul li.current-menu-item, #access ul ul li.current-menu-parent { - color: #000 !important; - background: #FFF !important; + color: #000; + background: #FFF; } @@ -682,7 +689,7 @@ div.menu { .entry-content tt, .entry-content var { overflow: auto; - font-family: "Courier New",Courier,monospace !important; + font-family: "Courier New",Courier,monospace; } .entry-content dt, @@ -834,7 +841,7 @@ div.menu { padding-left: 4px; font-size: 14px; font-family: "Helvetica Neue", Helvetica, Arial, sans-serif; - color: #666 !important; + color: #666; text-decoration: underline; text-transform: uppercase; text-shadow: none; @@ -1174,15 +1181,15 @@ article.format-aside h3.entry-format { /* =Chat -------------------------------------------------------------- */ .format-chat p { - font-family: Monaco, "Courier New", monospace !important; + font-family: Monaco, "Courier New", monospace; } /* =Quote -------------------------------------------------------------- */ .format-quote blockquote, .format-quote blockquote p { - font-family: Georgia, "Bitstream Charter", serif !important; - font-size: 1.1em !important; + font-family: Georgia, "Bitstream Charter", serif; + font-size: 1.1em; } @@ -1295,9 +1302,9 @@ article.format-aside h3.entry-format { width: 100%; margin: 5px 0 0; padding: 0; - border: none !important; + border: none; border-radius:4px; - box-shadow: none !important; + box-shadow: none; } #content .wp-caption p.wp-caption-text { @@ -1522,9 +1529,9 @@ a.comment-edit-link:hover { } .commentlist .children li { border: none; - background-image:none !important; + background-image: none; margin: 0; - text-indent:0px !important; + text-indent: 0; } .nopassword, @@ -1704,12 +1711,12 @@ h3#reply-title { .widget-area ul { margin-left: 0; - list-style: none !important; + list-style: none; list-style-image: none; } .widget-area ul ul { - list-style: none !important; + list-style: none; margin-left: 0; } @@ -1787,7 +1794,7 @@ h3#reply-title { width: 100%; margin: 0; padding-left: 10px; - font-family: Arial !important; + font-family: Arial; font-size: 14px; border-radius: 0 6px 6px 0; } @@ -1942,10 +1949,10 @@ h3#reply-title { } #wp-calendar tbody td a{ - box-shadow:none; + box-shadow: none; color: #0D85CC; - border: none !important; - background: none !important; + border: none; + background: none; padding: 0; margin: 0; } @@ -2163,7 +2170,7 @@ article.sticky { border: 1px solid #DDD !important; } -.imageTwo{ +.imageTwo { padding: 3px; border: 1px solid #EEE; background-color: #FFFFFF; @@ -2171,28 +2178,28 @@ article.sticky { box-shadow: 0 0 4px #CCC; } -.imageThree{ +.imageThree { padding: 3px; border: 6px solid #EEEEEE; border-radius: 5px; background-color: #FFFFFF; } -.imageFour{ +.imageFour { border: 1px solid #666 !important; box-shadow: 0 3px 4px #999; } -.imageFive{ +.imageFive { border: 3px solid #DDD !important; } -.imageSix{ +.imageSix { border: 8px solid #BBB !important; box-shadow: 0 0 5px #333; } -.imageSeven{ +.imageSeven { padding: 7px; border: 1px solid #CCC; background-color: #FFFFFF; @@ -2388,6 +2395,10 @@ article.sticky { opacity: 0.9; } +.slider-wrapper { + padding-bottom: 20px; +} + /* Skin Name: Nivo Slider Default Theme */ @@ -2411,7 +2422,7 @@ Skin Name: Nivo Slider Default Theme } .theme-default .nivo-controlNav { - padding: 0 0 20px 0; + padding: 0; text-align: center; } |