WP Photo Album Plus - Version 7.0.06.002

Version Description

= 7.0.06 =

  • This version addresses various bug fixes
  • This version addresses various security issues.

= 7.0.05 =

  • This version addresses various minor bug fixes and feature requests.
  • This version addresses various security issues.

= 7.0.04 =

  • This version addresses various bug fixes
  • This version addresses various security issues.

= 7.0.03 =

  • This version addresses various minor bug fixes and feature requests.

= 7.0.02 =

  • This version addresses various bug fixes
  • This version addresses various security issues.

= 7.0.01 =

  • This version addresses various minor bug fixes and feature requests.

= 7.0.00 =

  • Shortcode generators for Gutenberg added.
  • This version addresses various minor bug fixes and feature requests.
  • This version addresses various security issues.
  • To prevent spamming and give the users the opportunity to decide when they want us to email them, the mailing system has been revised. Configure Table IX-M to enable various mailing lists, and use the WPPA+ Notify widget for full user flexibility.

= 6.9.21 =

  • This version addresses various bug fixes
  • This version addresses various security issues.

= 6.9.20 =

  • This version addresses various bug fixes

= 6.9.19 =

  • This version addresses various minor bug fixes

= 6.9.18 =

  • This version addresses various minor bug fixes

= 6.9.17 =

  • This version addresses various minor bug fixes and feature requests.
  • This version addresses various security issues.

= 6.9.16 =

  • This version addresses various minor bug fixes and feature requests.
  • This version addresses various security issues.

= 6.9.15 =

  • This version addresses various minor bug fixes and feature requests.
  • This version addresses various security issues.

= 6.9.14 =

  • This version addresses various minor bug fixes and feature requests.
  • This version addresses various security issues.

= 6.9.13 =

  • Security release.

= 6.9.12 =

  • This version addresses various minor bug fixes and performance improvements.

= 6.9.11 =

  • This version addresses various minor bug fixes and performance improvements.

= 6.9.10 =

  • This version addresses various minor bug fixes and performance improvements.

= 6.9.09 =

  • Panorama support phase III.

= 6.9.08 =

  • This version addresses various minor bug fixes and feature requests.
  • Panorama support phase II.

= 6.9.07 =

  • This version addresses various minor bug fixes and feature requests.
  • Panorama support phase I.

= 6.9.06 =

  • This version addresses various minor bug fixes and feature requests.

= 6.9.05 =

  • This version addresses various minor bug fixes and feature requests.

= 6.9.04 =

  • This version addresses various minor bug fixes and feature requests.
  • Local CDN functionality has been added.

= 6.9.03 =

  • This version addresses various minor bug fixes and feature requests.

= 6.9.02 =

  • This version addresses various minor bug fixes and feature requests.

= 6.9.01 =

  • This version addresses various minor bug fixes and feature requests.

= 6.9.00 =

  • This version includes the code for the privacy policy requirements.

= 6.8.09

  • This version addresses various bug fixes and code edits.

= 6.8.08 =

  • This version addresses various minor bug fixes and feature requests.
  • This version offers substantial performance improvements when the box in Table IV-A13: Defer Javascript is ticked. This setting is now recommended and set ticked as the default.
  • For more info on performance improvements and compatibility with optimizers: see the changelog.txt

= 6.8.07 =

  • This version addresses various minor bug fixes and enhancements, and a new widget: Statistics.

= 6.8.06 =

  • This version addresses various minor bug fixes and improved cache handling.

= 6.8.05 =

  • This version addresses various minor bug fixes and feture requests.

= 6.8.04 =

  • This version addresses various display issues and a few fixes of bugs that seldom affected the plugins behaviour.
Download this release

Release Info

Developer opajaap
Plugin Icon wp plugin WP Photo Album Plus
Version 7.0.06.002
Comparing to
See all releases

Code changes from version 7.0.05.016 to 7.0.06.002

changelog.txt CHANGED
@@ -1,5 +1,9 @@
1
  WP Photo Album Plus Changelog
2
 
 
 
 
 
3
  = 7.0.05 =
4
 
5
  * Fixed an issue with random sequence order when the content (thumbnails) is paginated.
1
  WP Photo Album Plus Changelog
2
 
3
+ = 7.0.06 =
4
+
5
+ * Fixed textual issues on the settings admin page.
6
+
7
  = 7.0.05 =
8
 
9
  * Fixed an issue with random sequence order when the content (thumbnails) is paginated.
js/wppa.js CHANGED
@@ -2,7 +2,7 @@
2
  //
3
  // conatins common vars and functions
4
  //
5
- var wppaJsVersion = '7.0.05';
6
 
7
  // Important notice:
8
  // All external vars that may be given a value in wppa-non-admin.php must be declared here and not in other front-end js files!!
@@ -313,6 +313,20 @@ function wppaDoInit() {
313
  wppaProtect();
314
  }
315
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
316
  // Do the auto cols
317
  function wppaDoAllAutocols(i) {
318
 
2
  //
3
  // conatins common vars and functions
4
  //
5
+ var wppaJsVersion = '7.0.06';
6
 
7
  // Important notice:
8
  // All external vars that may be given a value in wppa-non-admin.php must be declared here and not in other front-end js files!!
313
  wppaProtect();
314
  }
315
 
316
+ // Install auto div sizer
317
+ jQuery(document).ready(function(){
318
+ jQuery(window).on("DOMContentLoaded load resize scroll", wppaSizeAutoDiv);
319
+ });
320
+
321
+ // Size auto wppa_div
322
+ function wppaSizeAutoDiv() {
323
+ jQuery('.wppa-autodiv').each(function(index) {
324
+ var totHeight = jQuery(window).height();
325
+ var factor = jQuery(this).attr('data-max-height');
326
+ jQuery(this).css({maxHeight:totHeight*factor});
327
+ });
328
+ }
329
+
330
  // Do the auto cols
331
  function wppaDoAllAutocols(i) {
332
 
js/wppa.min.js CHANGED
@@ -1 +1 @@
1
- var wppaJsVersion="7.0.05",wppaVersion="0",wppaIsIe=!1,wppaUseSvg=!0,wppaDebug,wppaFullValign=[],wppaFullHalign=[],wppaFullFrameDelta=[],wppaAnimationSpeed,wppaImageDirectory,wppaThumbnailAreaDelta;if(!wppaAutoColumnWidth)var wppaAutoColumnWidth=[];if(!wppaAutoColumnFrac)var wppaAutoColumnFrac=[];var wppaSlideShowTimeOut=2500,wppaFadeInAfterFadeOut=!1,wppaTextFrameDelta=0,wppaBoxDelta=0,wppaPreambule=[],wppaHideWhenEmpty=!1,wppaThumbnailPitch=[],wppaFilmStripLength=[],wppaFilmStripMargin=[],wppaFilmStripAreaDelta=[],wppaFilmShowGlue=!1,wppaIsMini=[],wppaPortraitOnly=[],wppaSlideShow,wppaPhoto,wppaOf,wppaNextPhoto,wppaPreviousPhoto,wppaNextP,wppaPrevP,wppaAvgRating,wppaMyRating,wppaAvgRat,wppaMyRat,wppaDislikeMsg,wppaMiniTreshold=300,wppaStart="Start",wppaStop="Stop",wppaPleaseName,wppaPleaseEmail,wppaPleaseComment,wppaRatingOnce=!0,wppaBGcolorNumbar="transparent",wppaBcolorNumbar="transparent",wppaBGcolorNumbarActive="transparent",wppaBcolorNumbarActive="transparent",wppaFontFamilyNumbar="",wppaFontSizeNumbar="",wppaFontColorNumbar="",wppaFontWeightNumbar="",wppaFontFamilyNumbarActive="",wppaFontSizeNumbarActive="",wppaFontColorNumbarActive="",wppaFontWeightNumbarActive="",wppaNumbarMax="10",wppaAjaxUrl="",wppaLang="",wppaNextOnCallback=!1,wppaStarOpacity=.2,wppaLightBox=[],wppaEmailRequired="required",wppaSlideBorderWidth=0,wppaSlideInitRunning=[],wppaAnimationType="fadeover",wppaSlidePause=[],wppaSlideBlank=[],wppaRatingMax=5,wppaRatingDisplayType="graphic",wppaRatingPrec=2,wppaFilmPageSize=[],wppaAspectRatio=[],wppaFullSize=[],wppaStretch=!1,wppaThumbSpaceAuto=!1,wppaMinThumbSpace=4,wppaMagnifierCursor="",wppaArtMonkyLink="none",wppaAutoOpenComments=!1,wppaUpdateAddressLine=!1,wppaFilmThumbTitle="",wppaClickToView="",wppaUploadUrl="",wppaVoteForMe="",wppaVotedForMe="",wppaSlideSwipe=!0,wppaLightboxSingle=[],wppaMaxCoverWidth=300,wppaDownLoad="Download",wppaSiteUrl="",wppaWppaUrl="",wppaIncludeUrl="",wppaSlideToFullpopup=!1,wppaComAltSize=75,wppaBumpViewCount=!0,wppaBumpClickCount=!1,wppaFotomoto=!1,wppaArtMonkeyButton=!0,wppaShortQargs=!1,wppaOvlHires=!1,wppaMasonryCols=[],wppaVideoPlaying=[],wppaAudioPlaying=[],wppaSlideVideoStart=!1,wppaSlideAudioStart=!1,wppaAudioHeight=28,wppaHis=0,wppaStartHtml=[],wppaCanAjaxRender=!1,wppaCanPushState=!1,wppaAllowAjax=!0,wppaMaxOccur=0,wppaFirstOccur=0,wppaUsePhotoNamesInUrls=!1,wppaShareHideWhenRunning=!1,wppaCommentRequiredAfterVote=!0,wppaTopMoc=0;if(!wppaColWidth)var wppaColWidth=[];var wppaFotomotoHideWhenRunning=!1,wppaFotomotoMinWidth=400,wppaPhotoView=[],wppaBackgroundColorImage="",wppaPopupLinkType="",wppaPopupOnclick=[],wppaThumbTargetBlank=!1,wppaRel="rel",wppaEditPhotoWidth="960",wppaThemeStyles="",wppaStickyHeaderHeight=0,wppaRenderModal=!1,wppaModalBgColor="#ffffff",wppaBoxRadius=0,wppaModalQuitImg,wppaUploadEdit="none",wppaPageArg="",wppaSlideshowNavigationType="icons",wppaCoverImageResponsive=[],wppaSearchBoxSelItems=[],wppaSlideWrap=[],wppaHideRightClick=!1,wppaProcessing="Processing...",wppaDone="Done!",wppaUploadFailed="Upload failed",wppaServerError="Server error",wppaGeoZoom=10,wppaLazyLoad=!0,wppaThumbAreaMaxFrac=1,wppaNiceScroll=!1,wppaIconSizeNormal="default",wppaIconSizeSlide=48,wppaIconSizeStars=24,wppaResponseSpeed=500,_wppaId=[],_wppaAvg=[],_wppaDisc=[],_wppaMyr=[],_wppaVRU=[],_wppaLinkUrl=[],_wppaLinkTitle=[],_wppaLinkTarget=[],_wppaCommentHtml=[],_wppaIptcHtml=[],_wppaExifHtml=[],_wppaToTheSame=!1,_wppaSlides=[],_wppaNames=[],_wppaFullNames=[],_wppaDsc=[],_wppaOgDsc=[],_wppaCurIdx=[],_wppaNxtIdx=[],_wppaTimeOut=[],_wppaSSRuns=[],_wppaFg=[],_wppaTP=[],_wppaIsBusy=[],_wppaFirst=[],_wppaVoteInProgress=!1,_wppaTextDelay,_wppaUrl=[],_wppaSkipRated=[],_wppaLbTitle=[],_wppaStateCount=0,_wppaDidGoto=[],_wppaShareUrl=[],_wppaShareHtml=[],_wppaFilmNoMove=[],_wppaHiresUrl=[],_wppaIsVideo=[],_wppaVideoHtml=[],_wppaAudioHtml=[],_wppaVideoNatWidth=[],_wppaVideoNatHeight=[],_wppaWaitTexts=[],_wppaImageAlt=[],__wppaOverruleRun=!1,wppaOvlUrls,wppaOvlTitles,wppaOvlAlts,wppaOvlIdx=0,wppaOvlFirst=!0,wppaOvlKbHandler="",wppaOvlSizeHandler="",wppaOvlPadTop=5,wppaOvlIsSingle,wppaOvlRunning=!1,wppaOvlVideoHtmls,wppaOvlAudioHtmls,wppaOvlVideoNaturalWidths,wppaOvlVideoNaturalHeights,wppaOvlModeInitial="normal",wppaOvlVideoPlaying=!1,wppaOvlAudioPlaying=!1,wppaOvlShowLegenda=!0,wppaOvlShowStartStop=!0,wppaOvlRadius=0,wppaOvlBorderWidth=16,wppaOvlOpen=!1,wppaOvlTxtHeight=36,wppaOvlOpacity=.8,wppaOvlOnclickType="none",wppaOvlTheme="black",wppaOvlAnimSpeed=300,wppaOvlSlideSpeed=3e3,wppaVer4WindowWidth=800,wppaVer4WindowHeight=600,wppaOvlFontFamily="Helvetica",wppaOvlFontSize="10",wppaOvlFontColor="",wppaOvlFontWeight="bold",wppaOvlLineHeight="12",wppaOvlShowCounter=!0,wppaOvlIsVideo=!1,wppaShowLegenda="",wppaOvlFsPhotoId=0,wppaPhotoId=0,wppaOvlVideoStart=!1,wppaOvlAudioStart=!1,wppaLastIptc="",wppaLastExif="",wppaIsMobile=!1,wppaSvgFillcolor="gray",wppaSvgBgcolor="transparent",wppaSvgCornerStyle="light";function wppaDoInit(){_wppaTextDelay=wppaAnimationSpeed,wppaFadeInAfterFadeOut&&(_wppaTextDelay*=2),jQuery(".wppa-ajax-spin").stop().fadeOut(),jQuery(".wppa-ovl-spin").hide(),setTimeout(function(){for(var p=1;p<wppaTopMoc;)jQuery("#ubb-"+p+"-l")&&(wppaUbb(p,"l","hide"),wppaUbb(p,"r","hide")),p++},3e3),jQuery(window).on("DOMContentLoaded load resize orientationchange",wppaDoAllAutocols),jQuery(window).on("DOMContentLoaded load resize scroll",wppaSizeThumbArea),jQuery(window).on("DOMContentLoaded load resize scroll",wppaMakeLazyVisible),jQuery(window).trigger("resize"),wppaProtect()}function wppaDoAllAutocols(p){for("number"!=typeof p&&(p=1),wppaConsoleLog("Doing wppaDoAllAutocols "+p,"force"),mocc=1;mocc<=wppaTopMoc;mocc++)wppaAutoColumnWidth[mocc]&&_wppaDoAutocol(mocc,p);++p<6&&setTimeout(function(){wppaDoAllAutocols(p)},1e3)}function wppaProtect(){wppaHideRightClick&&(jQuery("img").bind("contextmenu",function(p){return!1}),jQuery("video").bind("contextmenu",function(p){return!1}))}function wppaUpdateLightboxes(){"function"==typeof wppaInitOverlay&&wppaInitOverlay(),"undefined"!=typeof myLightbox&&"function"==typeof myLightbox.updateImageList&&myLightbox.updateImageList(),jQuery().prettyPhoto&&jQuery("a[rel^='prettyPhoto']").prettyPhoto({deeplinking:!1})}function wppaStopVideo(p){var a,e,t=[];for(t[1]="wppa-overlay-img",t[2]="theimg0-"+p,t[3]="theimg1-"+p,e=0;e<3;)1==++e&&0!=p||(a=document.getElementById(t[e]))&&"function"==typeof a.pause&&(a.pause(),wppaConsoleLog("Video "+t[e]+" paused","force"))}function wppaStopAudio(p){if("number"==typeof p)jQuery("#audio-"+p).pause&&jQuery("#audio-"+p).pause();else{var a=jQuery("audio");if(0<a.length)for(var e=0;e<a.length;)"wppa"==jQuery(a[e]).attr("data-from")&&a[e].pause(),e++}}function wppaMakeFullsizeUrl(p){var a,e;(a=(p=p.replace("/thumbs/","/")).split("//"))[1]?(e=a[1].split("/"),p=a[0]+"//"):(e=a[0].split("/"),p="");for(var t=0;t<e.length;){var o=e[t];"w"!=o.split("_")[0]&&(0!=t&&(p+="/"),p+=o),t++}return p}function wppaGetContainerWidth(p){var a=document.getElementById("wppa-container-"+p),e=0;if(!wppaAutoColumnWidth[p])return a.clientWidth;for(;0==e;)a=a.parentNode,e=jQuery(a).width();return parseInt(e*wppaAutoColumnFrac[p])}function _wppaDoAutocol(p,a){if(!wppaAutoColumnWidth[p])return!0;var e;e=wppaGetContainerWidth(p),wppaConsoleLog("Doing autocol "+p+" "+a,"force"),wppaColWidth[p]=e,jQuery(".wppa-container-"+p).stop().animate({width:e},wppaResponseSpeed),wppaRenderModal&&(jQuery(".ui-dialog").css("width",e),jQuery(".ui-dialog").attr("height","auto")),wppaCoverImageResponsive[p]||(jQuery(".wppa-asym-text-frame-"+p).stop().animate({width:e-wppaTextFrameDelta},wppaResponseSpeed),jQuery(".wppa-cover-box-"+p).stop().animate({width:e},wppaResponseSpeed));var t,o=jQuery(".wppa-cover-box-mcr-"+p);if(1<o.length){var r=parseInt((e+8)/(wppaMaxCoverWidth+8))+1,s=r-1;t=parseInt((e+8)/r-8);for(var i=0;i<o.length;){switch(i%r){case 0:jQuery(o[i]).css({marginLeft:"0px",clear:"both",float:"left"});break;case s:jQuery(o[i]).css({marginLeft:"8px",clear:"none",float:"right"});break;default:jQuery(o[i]).css({marginLeft:"8px",clear:"none",float:"left"})}i++}wppaCoverImageResponsive[p]||jQuery(".wppa-asym-text-frame-mcr-"+p).stop().animate({width:t-wppaTextFrameDelta},wppaResponseSpeed),jQuery(".wppa-cover-box-mcr-"+p).stop().animate({width:t},wppaResponseSpeed)}else if(wppaCoverImageResponsive[p]);else{jQuery(".wppa-asym-text-frame-mcr-"+p).stop().animate({width:e-wppaTextFrameDelta},wppaResponseSpeed);jQuery(".wppa-cover-box-mcr-"+p).css({marginLeft:"0px",float:"left"})}if(wppaThumbSpaceAuto){var n=parseInt(jQuery(".thumbnail-frame-"+p).css("width"));if(n){var l=e-wppaThumbnailAreaDelta-7,w=parseInt(l/(n+wppaMinThumbSpace)),u=parseInt(.5+(l-w*n)/(w+1));jQuery(".thumbnail-frame-"+p).css({marginLeft:u})}}jQuery(".thumbnail-frame-comalt-"+p).css("width",e-wppaThumbnailAreaDelta),jQuery(".wppa-com-alt-"+p).css("width",e-wppaThumbnailAreaDelta-wppaComAltSize-16);for(var c,d=1,y=jQuery("#wppa-mas-h-"+d+"-"+p).attr("data-height-perc");y;)c=y*(e-wppaThumbnailAreaDelta)/100,jQuery("#wppa-mas-h-"+d+"-"+p).css("height",c),d++,y=jQuery("#wppa-mas-h-"+d+"-"+p).attr("data-height-perc");return wppaSetMasHorFrameWidthsForIeAndChrome(p),wppaFormatSlide(p),jQuery("#audio-slide-"+p).css("width",e-wppaBoxDelta-6),jQuery(".wppa-comment-textarea-"+p).css("width",.7*e),wppaFilmStripLength[p]=e-wppaFilmStripAreaDelta[p],jQuery("#filmwindow-"+p).css("width",wppaFilmStripLength[p]),_wppaAdjustFilmstrip(p),wppaIsMini[p]||void 0===_wppaSlides[p]||(wppaColWidth[p]<wppaMiniTreshold?(jQuery("#wppa-avg-rat-"+p).html(wppaAvgRat),jQuery("#wppa-my-rat-"+p).html(wppaMyRat),jQuery("#counter-"+p).html(_wppaCurIdx[p]+1+" / "+_wppaSlides[p].length)):(jQuery("#wppa-avg-rat-"+p).html(wppaAvgRating),jQuery("#wppa-my-rat-"+p).html(wppaMyRating),jQuery("#counter-"+p).html(wppaPhoto+" "+(_wppaCurIdx[p]+1)+" "+wppaOf+" "+_wppaSlides[p].length))),jQuery(".wppa-sphoto-"+p).css("width",e),jQuery(".wppa-simg-"+p).css("width",e-2*wppaSlideBorderWidth),jQuery(".wppa-simg-"+p).css("height",""),jQuery(".wppa-mphoto-"+p).css("width",e+10),jQuery(".wppa-mimg-"+p).css("width",e),jQuery(".wppa-mimg-"+p).css("height",""),0<wppaSearchBoxSelItems[p]&&(e/wppaSearchBoxSelItems[p]<125?jQuery(".wppa-searchsel-item-"+p).css("width","100%"):jQuery(".wppa-searchsel-item-"+p).css("width",100/wppaSearchBoxSelItems[p]+"%")),jQuery(".wppa-upload-album-"+p).css("maxWidth",.6*e),!0}function wppaSetMasHorFrameWidthsForIeAndChrome(p){for(var a=jQuery(".wppa-mas-h-"+p),e=wppaMinThumbSpace,t=0;t<a.length;t++){var o=wppaGetChildI(a[t]);if(o){if("IMG"==o.nodeName&&!o.complete)return void setTimeout("wppaSetMasHorFrameWidthsForIeAndChrome( "+p+" )",400);var r=o.naturalWidth/o.naturalHeight*o.height+e;jQuery(a[t]).css({width:r})}}}function wppaGetChildI(p){var a,e=p.childNodes;for(a=0;a<e.length;a++){var t=e[a];if(t.id&&"i-"==t.id.substr(0,2))return t;var o=wppaGetChildI(t);if(o)return o}return!1}jQuery(document).ready(function(){wppaDoInit()}),jQuery(document).ready(function(p){if(wppaAllowAjax&&jQuery.ajax&&(wppaCanAjaxRender=!0),void 0!==history.pushState){for(var a=1;a<=wppaMaxOccur;)wppaStartHtml[a]=jQuery("#wppa-container-"+a).html(),a++;wppaCanPushState=!0}});var wppaFotomotoLoaded=!1,wppaFotomotoToolbarIds=[];function fotomoto_loaded(){wppaFotomotoLoaded=!0}function wppaFotomotoToolbar(p,a){if(!(wppaColWidth[p]>=wppaFotomotoMinWidth))return jQuery("#wppa-fotomoto-container-"+p).css("display","none"),void jQuery("#wppa-fotomoto-checkout-"+p).css("display","none");jQuery("#wppa-fotomoto-container-"+p).css("display","inline"),jQuery("#wppa-fotomoto-checkout-"+p).css("display","inline"),wppaFotomoto&&document.getElementById("wppa-fotomoto-container-"+p)&&(wppaFotomotoLoaded?(FOTOMOTO.API.checkinImage(a),wppaFotomotoToolbarIds[p]=FOTOMOTO.API.showToolbar("wppa-fotomoto-container-"+p,a)):(setTimeout("wppaFotomotoToolbar( "+p+',"'+a+'" )',200),wppaConsoleLog("Waiting for Fotomoto")))}function wppaFotomotoHide(p){jQuery("#wppa-fotomoto-container-"+p).css("display","none"),jQuery("#wppa-fotomoto-checkout-"+p).css("display","none")}function wppaStringContainsForbiddenChars(p){for(var a=["?","&","#","/",'"',"'"],e=0;e<a.length;){if(-1!=p.indexOf(a[e]))return!0;e++}return!1}function wppaPushStateSlide(p,a,e){if(!wppaIsMini[p]&&wppaCanPushState&&wppaUpdateAddressLine&&""!=e)try{history.pushState({page:wppaHis,occur:p,type:"slide",slide:a},"---",e),wppaConsoleLog("Slide history stack updated")}catch(p){wppaConsoleLog("Slide history stack update failed")}}function wppaRepairScriptTags(p){if(void 0===p)return"";for(;-1!=p.indexOf("[script");)p=p.replace("[script","<script");for(;-1!=p.indexOf("[/script");)p=p.replace("[/script","</script");return p}function wppaRepairBrTags(p){return void 0===p?"":p.replace("[br /]","<br />").replace("[a","<a").replace("&quot;",'"').replace('"]','">').replace("[/a]","</a>")}function wppaTrimAlt(p){return void 0===p?"":13<p.length?p.substr(0,10)+"...":p}window.onpopstate=function(p){var a=0;if(wppaCanPushState){if(p.state)switch(a=p.state.occur,p.state.type){case"html":jQuery("#wppa-container-"+a).html(p.state.html);break;case"slide":_wppaGoto(a,p.state.slide)}else if(wppaUpdateAddressLine){if(a=wppaFirstOccur,jQuery("#wppa-container-"+a).html(wppaStartHtml[a]),(wppaFirstOccur=0)==a){var e=document.location.href.split("&wppa-occur=");a=parseInt(e[1])}e=document.location.href.split("&wppa-photo=");var t=parseInt(e[1]);if(0<t){for(var o=0;o<_wppaId[a].length&&_wppaId[a][o]!=t;)o++;o<_wppaId[a].length&&_wppaGoto(a,o)}}document.getElementById("theslide0-"+a)&&_wppaStop(a)}"undefined"!=typeof wppaQRUpdate&&wppaQRUpdate(document.location.href)};var wppaFbInitBusy=!1;function wppaFbInit(){wppaFbInitBusy?wppaConsoleLog("Fb Init busy"):"undefined"!=typeof FB?(wppaFbInitBusy=!0,setTimeout("_wppaFbInit()",10)):(wppaConsoleLog("Fb wait"),setTimeout("wppaFbInit()",200))}function _wppaFbInit(){FB.init({status:!0,xfbml:!0}),wppaFbInitBusy=!1}function wppaInsertAtCursor(p,a){if(document.selection)p.focus(),sel=document.selection.createRange(),sel.text=a;else if(p.selectionStart||"0"==p.selectionStart){var e=p.selectionStart,t=p.selectionEnd;p.value=p.value.substring(0,e)+a+p.value.substring(t,p.value.length),p.selectionStart=e+a.length,p.selectionEnd=e+a.length}else p.value+=a}function wppaGeoInit(p,a,e){var t=new google.maps.LatLng(a,e),o={disableDefaultUI:!1,panControl:!1,zoomControl:!0,mapTypeControl:!0,scaleControl:!0,streetViewControl:!0,overviewMapControl:!0,zoom:wppaGeoZoom,center:t},r=new google.maps.Map(document.getElementById("map-canvas-"+p),o),s=new google.maps.Marker({position:t,map:r,title:""});google.maps.event.addListener(r,"center_changed",function(){window.setTimeout(function(){r.panTo(s.getPosition())},1e3)})}function wppaEncode(p){var a;if(void 0!==p){var e=(a=(a=String(p).replace(/#/g,"||HASH||")).replace(/&/g,"||AMP||")).split("+"),t=0;for(a="";t<e.length;)a+=e[t],++t<e.length&&(a+="||PLUS||");return a}}function wppaUrlToId(p){var a=p.split("/wppa/");return 1==a.length&&(a=p.split("/upload/")),1==a.length?0:a=(a=(a=(a=(a=(a=(a=a[1]).split("."))[0].replace("/","")).replace("/","")).replace("/","")).replace("/","")).replace("/","")}function wppaSuperSearchSelect(p,a){jQuery("#wppa-ss-albumopt-"+p).css("display","none"),jQuery("#wppa-ss-albumcat-"+p).css("display","none"),jQuery("#wppa-ss-albumname-"+p).css("display","none"),jQuery("#wppa-ss-albumtext-"+p).css("display","none"),jQuery("#wppa-ss-photoopt-"+p).css("display","none"),jQuery("#wppa-ss-photoname-"+p).css("display","none"),jQuery("#wppa-ss-photoowner-"+p).css("display","none"),jQuery("#wppa-ss-phototag-"+p).css("display","none"),jQuery("#wppa-ss-phototext-"+p).css("display","none"),jQuery("#wppa-ss-photoexif-"+p).css("display","none"),jQuery("#wppa-ss-photoiptc-"+p).css("display","none"),jQuery("#wppa-ss-exifopts-"+p).css("display","none"),jQuery("#wppa-ss-iptcopts-"+p).css("display","none"),jQuery("#wppa-ss-spinner-"+p).css("display","none"),jQuery("#wppa-ss-button-"+p).css("display","none");var e=jQuery("#wppa-ss-pa-"+p).val(),t="",o="",r="";switch(e){case"a":switch(jQuery("#wppa-ss-albumopt-"+p).css("display",""),t=jQuery("#wppa-ss-albumopt-"+p).val()){case"c":jQuery("#wppa-ss-albumcat-"+p).css("display","");var s=jQuery(".wppa-ss-albumcat-"+p);for(r="",i=0;i<s.length;i++)"selected"==jQuery(s[i]).attr("selected")&&(r+="."+jQuery(s[i]).val());""!=(r=r.substr(1))&&jQuery("#wppa-ss-button-"+p).css("display","");break;case"n":jQuery("#wppa-ss-albumname-"+p).css("display",""),null!=(r=jQuery("#wppa-ss-albumname-"+p).val())&&jQuery("#wppa-ss-button-"+p).css("display","");break;case"t":jQuery("#wppa-ss-albumtext-"+p).css("display","");s=jQuery(".wppa-ss-albumtext-"+p);for(r="",i=0;i<s.length;i++)"selected"==jQuery(s[i]).attr("selected")&&(r+="."+jQuery(s[i]).val());""!=(r=r.substr(1))&&jQuery("#wppa-ss-button-"+p).css("display","")}break;case"p":switch(jQuery("#wppa-ss-photoopt-"+p).css("display",""),t=jQuery("#wppa-ss-photoopt-"+p).val()){case"n":jQuery("#wppa-ss-photoname-"+p).css("display",""),null!=(r=jQuery("#wppa-ss-photoname-"+p).val())&&jQuery("#wppa-ss-button-"+p).css("display","");break;case"o":jQuery("#wppa-ss-photoowner-"+p).css("display",""),null!=(r=jQuery("#wppa-ss-photoowner-"+p).val())&&jQuery("#wppa-ss-button-"+p).css("display","");break;case"g":jQuery("#wppa-ss-phototag-"+p).css("display","");s=jQuery(".wppa-ss-phototag-"+p);for(r="",i=0;i<s.length;i++)"selected"==jQuery(s[i]).attr("selected")&&(r+="."+jQuery(s[i]).val());""!=(r=r.substr(1))&&jQuery("#wppa-ss-button-"+p).css("display","");break;case"t":jQuery("#wppa-ss-phototext-"+p).css("display","");var i;s=jQuery(".wppa-ss-phototext-"+p);for(r="",i=0;i<s.length;i++)"selected"==jQuery(s[i]).attr("selected")&&(r+="."+jQuery(s[i]).val());""!=(r=r.substr(1))&&jQuery("#wppa-ss-button-"+p).css("display","");break;case"i":jQuery("#wppa-ss-photoiptc-"+p).css("display",""),(o=jQuery("#wppa-ss-photoiptc-"+p).val())&&(2<o.length&&(o=o.replace("#","H")),""!=o&&(jQuery("#wppa-ss-iptcopts-"+p).css("display",""),wppaLastIptc!=o?(wppaAjaxGetSsIptcList(p,o,"wppa-ss-iptcopts-"+p),wppaLastIptc=o):null!=(r=jQuery("#wppa-ss-iptcopts-"+p).val())&&""!=r&&jQuery("#wppa-ss-button-"+p).css("display","")));break;case"e":jQuery("#wppa-ss-photoexif-"+p).css("display",""),(o=jQuery("#wppa-ss-photoexif-"+p).val())&&(2<o.length&&(o=o.replace("#","H")),""!=o&&(jQuery("#wppa-ss-exifopts-"+p).css("display",""),wppaLastExif!=o?(wppaAjaxGetSsExifList(p,o,"wppa-ss-exifopts-"+p),wppaLastExif=o):null!=(r=jQuery("#wppa-ss-exifopts-"+p).val())&&""!=r&&jQuery("#wppa-ss-button-"+p).css("display","")))}}if(a){var n=jQuery("#wppa-ss-pageurl-"+p).val();-1==n.indexOf("?")?n+="?":n+="&",n+="occur=1&wppa-supersearch="+e+","+t+","+o+","+r,document.location.href=n}}function wppaAjaxGetSsIptcList(t,p,o){jQuery.ajax({url:wppaAjaxUrl,data:"action=wppa&wppa-action=getssiptclist&tag="+p+"&moccur="+t,async:!0,type:"GET",timeout:1e4,beforeSend:function(p){jQuery("#wppa-ss-spinner-"+t).css("display","")},success:function(p,a,e){jQuery("#"+o).html(p),jQuery("#wppa-ss-iptcopts-"+t).css("display",""),wppaSuperSearchSelect(t),setTimeout('wppaSetIptcExifSize( ".wppa-iptclist-'+t+'", "#'+o+'" )',10)},error:function(p,a,e){wppaConsoleLog("wppaAjaxGetSsIptcList failed. Error = "+e+", status = "+a,"force")},complete:function(p,a,e){jQuery("#wppa-ss-spinner-"+t).css("display","none")}})}function wppaAjaxGetSsExifList(t,p,o){jQuery.ajax({url:wppaAjaxUrl,data:"action=wppa&wppa-action=getssexiflist&tag="+p+"&moccur="+t,async:!0,type:"GET",timeout:1e4,beforeSend:function(p){jQuery("#wppa-ss-spinner-"+t).css("display","")},success:function(p,a,e){jQuery("#"+o).html(p),jQuery("#wppa-ss-exifopts-"+t).css("display",""),wppaSuperSearchSelect(t),setTimeout('wppaSetIptcExifSize( ".wppa-exiflist-'+t+'", "#'+o+'" )',10)},error:function(p,a,e){wppaConsoleLog("wppaAjaxGetSsExifList failed. Error = "+e+", status = "+a,"force")},complete:function(p,a,e){jQuery("#wppa-ss-spinner-"+t).css("display","none")}})}function wppaSetIptcExifSize(p,a){var e=jQuery(p).length;6<e&&(e=6),e<2&&(e=2),jQuery(a).attr("size",e)}function wppaUpdateSearchRoot(p,a){for(var e=jQuery(".wppa-search-root"),t=0;t<e.length;)jQuery(e[t]).html(p),t++;for(e=jQuery(".wppa-rootbox"),t=0;t<e.length;)a?(jQuery(e[t]).prop("checked",!1),jQuery(e[t]).prop("disabled",!1)):(jQuery(e[t]).prop("checked",!0),jQuery(e[t]).prop("disabled",!0)),t++;for(e=jQuery(".wppa-search-root-id"),t=0;t<e.length;)jQuery(e[t]).val(a),t++}function wppaSubboxChange(p){jQuery(p).prop("checked")&&jQuery(".wppa-rootbox").each(function(p){jQuery(this).prop("checked",!0)})}function wppaClearSubsearch(){for(var p=jQuery(".wppa-display-searchstring"),a=0;a<p.length;)jQuery(p[a]).html(""),a++;for(p=jQuery(".wppa-search-sub-box"),a=0;a<p.length;)jQuery(p[a]).attr("disabled","disabled"),a++}function wppaEnableSubsearch(){for(var p=jQuery(".wppa-search-sub-box"),a=0;a<p.length;)jQuery(p[a]).removeAttr("disabled"),a++}function wppaDisplaySelectedFiles(p){for(var a=jQuery("#"+p),e=0,t="";e<a[0].files.length;)t+=a[0].files[e].name+" ",e++;jQuery("#"+p+"-display").val(t)}function wppaIsEmpty(p){return null==p||(void 0===p||(""==p||(0==p||(0==p||void 0))))}function wppaGetUploadOptions(yalb,mocc,where,onComplete){var options={beforeSend:function(){jQuery("#progress-"+yalb+"-"+mocc).show(),jQuery("#bar-"+yalb+"-"+mocc).width("0%"),jQuery("#message-"+yalb+"-"+mocc).html(""),jQuery("#percent-"+yalb+"-"+mocc).html("")},uploadProgress:function(p,a,e,t){jQuery("#bar-"+yalb+"-"+mocc).css("backgroundColor","#7F7"),jQuery("#bar-"+yalb+"-"+mocc).width(t+"%"),t<95?jQuery("#percent-"+yalb+"-"+mocc).html(t+"%"):jQuery("#percent-"+yalb+"-"+mocc).html(wppaProcessing)},success:function(){jQuery("#bar-"+yalb+"-"+mocc).width("100%"),jQuery("#percent-"+yalb+"-"+mocc).html(wppaDone),jQuery(".wppa-upload-button").val(wppaUploadButtonText)},complete:function(response){-1!=response.responseText.indexOf(wppaUploadFailed)?(jQuery("#bar-"+yalb+"-"+mocc).css("backgroundColor","#F77"),jQuery("#percent-"+yalb+"-"+mocc).html(wppaUploadFailed),jQuery("#message-"+yalb+"-"+mocc).html('<span style="font-size: 10px;" >'+response.responseText+"</span>")):(jQuery("#message-"+yalb+"-"+mocc).html('<span style="font-size: 10px;" >'+response.responseText+"</span>"),"thumb"!=where&&"cover"!=where||eval(onComplete))},error:function(){jQuery("#message-"+yalb+"-"+mocc).html('<span style="color: red;" >'+wppaServerError+"</span>"),jQuery("#bar-"+yalb+"-"+mocc).css("backgroundColor","#F77"),jQuery("#percent-"+yalb+"-"+mocc).html(wppaUploadFailed)}};return options}wppaConsoleLog("wppa.js version "+wppaJsVersion+" loaded.","force");
1
+ var wppaJsVersion="7.0.06",wppaVersion="0",wppaIsIe=!1,wppaUseSvg=!0,wppaDebug,wppaFullValign=[],wppaFullHalign=[],wppaFullFrameDelta=[],wppaAnimationSpeed,wppaImageDirectory,wppaThumbnailAreaDelta;if(!wppaAutoColumnWidth)var wppaAutoColumnWidth=[];if(!wppaAutoColumnFrac)var wppaAutoColumnFrac=[];var wppaSlideShowTimeOut=2500,wppaFadeInAfterFadeOut=!1,wppaTextFrameDelta=0,wppaBoxDelta=0,wppaPreambule=[],wppaHideWhenEmpty=!1,wppaThumbnailPitch=[],wppaFilmStripLength=[],wppaFilmStripMargin=[],wppaFilmStripAreaDelta=[],wppaFilmShowGlue=!1,wppaIsMini=[],wppaPortraitOnly=[],wppaSlideShow,wppaPhoto,wppaOf,wppaNextPhoto,wppaPreviousPhoto,wppaNextP,wppaPrevP,wppaAvgRating,wppaMyRating,wppaAvgRat,wppaMyRat,wppaDislikeMsg,wppaMiniTreshold=300,wppaStart="Start",wppaStop="Stop",wppaPleaseName,wppaPleaseEmail,wppaPleaseComment,wppaRatingOnce=!0,wppaBGcolorNumbar="transparent",wppaBcolorNumbar="transparent",wppaBGcolorNumbarActive="transparent",wppaBcolorNumbarActive="transparent",wppaFontFamilyNumbar="",wppaFontSizeNumbar="",wppaFontColorNumbar="",wppaFontWeightNumbar="",wppaFontFamilyNumbarActive="",wppaFontSizeNumbarActive="",wppaFontColorNumbarActive="",wppaFontWeightNumbarActive="",wppaNumbarMax="10",wppaAjaxUrl="",wppaLang="",wppaNextOnCallback=!1,wppaStarOpacity=.2,wppaLightBox=[],wppaEmailRequired="required",wppaSlideBorderWidth=0,wppaSlideInitRunning=[],wppaAnimationType="fadeover",wppaSlidePause=[],wppaSlideBlank=[],wppaRatingMax=5,wppaRatingDisplayType="graphic",wppaRatingPrec=2,wppaFilmPageSize=[],wppaAspectRatio=[],wppaFullSize=[],wppaStretch=!1,wppaThumbSpaceAuto=!1,wppaMinThumbSpace=4,wppaMagnifierCursor="",wppaArtMonkyLink="none",wppaAutoOpenComments=!1,wppaUpdateAddressLine=!1,wppaFilmThumbTitle="",wppaClickToView="",wppaUploadUrl="",wppaVoteForMe="",wppaVotedForMe="",wppaSlideSwipe=!0,wppaLightboxSingle=[],wppaMaxCoverWidth=300,wppaDownLoad="Download",wppaSiteUrl="",wppaWppaUrl="",wppaIncludeUrl="",wppaSlideToFullpopup=!1,wppaComAltSize=75,wppaBumpViewCount=!0,wppaBumpClickCount=!1,wppaFotomoto=!1,wppaArtMonkeyButton=!0,wppaShortQargs=!1,wppaOvlHires=!1,wppaMasonryCols=[],wppaVideoPlaying=[],wppaAudioPlaying=[],wppaSlideVideoStart=!1,wppaSlideAudioStart=!1,wppaAudioHeight=28,wppaHis=0,wppaStartHtml=[],wppaCanAjaxRender=!1,wppaCanPushState=!1,wppaAllowAjax=!0,wppaMaxOccur=0,wppaFirstOccur=0,wppaUsePhotoNamesInUrls=!1,wppaShareHideWhenRunning=!1,wppaCommentRequiredAfterVote=!0,wppaTopMoc=0;if(!wppaColWidth)var wppaColWidth=[];var wppaFotomotoHideWhenRunning=!1,wppaFotomotoMinWidth=400,wppaPhotoView=[],wppaBackgroundColorImage="",wppaPopupLinkType="",wppaPopupOnclick=[],wppaThumbTargetBlank=!1,wppaRel="rel",wppaEditPhotoWidth="960",wppaThemeStyles="",wppaStickyHeaderHeight=0,wppaRenderModal=!1,wppaModalBgColor="#ffffff",wppaBoxRadius=0,wppaModalQuitImg,wppaUploadEdit="none",wppaPageArg="",wppaSlideshowNavigationType="icons",wppaCoverImageResponsive=[],wppaSearchBoxSelItems=[],wppaSlideWrap=[],wppaHideRightClick=!1,wppaProcessing="Processing...",wppaDone="Done!",wppaUploadFailed="Upload failed",wppaServerError="Server error",wppaGeoZoom=10,wppaLazyLoad=!0,wppaThumbAreaMaxFrac=1,wppaNiceScroll=!1,wppaIconSizeNormal="default",wppaIconSizeSlide=48,wppaIconSizeStars=24,wppaResponseSpeed=500,_wppaId=[],_wppaAvg=[],_wppaDisc=[],_wppaMyr=[],_wppaVRU=[],_wppaLinkUrl=[],_wppaLinkTitle=[],_wppaLinkTarget=[],_wppaCommentHtml=[],_wppaIptcHtml=[],_wppaExifHtml=[],_wppaToTheSame=!1,_wppaSlides=[],_wppaNames=[],_wppaFullNames=[],_wppaDsc=[],_wppaOgDsc=[],_wppaCurIdx=[],_wppaNxtIdx=[],_wppaTimeOut=[],_wppaSSRuns=[],_wppaFg=[],_wppaTP=[],_wppaIsBusy=[],_wppaFirst=[],_wppaVoteInProgress=!1,_wppaTextDelay,_wppaUrl=[],_wppaSkipRated=[],_wppaLbTitle=[],_wppaStateCount=0,_wppaDidGoto=[],_wppaShareUrl=[],_wppaShareHtml=[],_wppaFilmNoMove=[],_wppaHiresUrl=[],_wppaIsVideo=[],_wppaVideoHtml=[],_wppaAudioHtml=[],_wppaVideoNatWidth=[],_wppaVideoNatHeight=[],_wppaWaitTexts=[],_wppaImageAlt=[],__wppaOverruleRun=!1,wppaOvlUrls,wppaOvlTitles,wppaOvlAlts,wppaOvlIdx=0,wppaOvlFirst=!0,wppaOvlKbHandler="",wppaOvlSizeHandler="",wppaOvlPadTop=5,wppaOvlIsSingle,wppaOvlRunning=!1,wppaOvlVideoHtmls,wppaOvlAudioHtmls,wppaOvlVideoNaturalWidths,wppaOvlVideoNaturalHeights,wppaOvlModeInitial="normal",wppaOvlVideoPlaying=!1,wppaOvlAudioPlaying=!1,wppaOvlShowLegenda=!0,wppaOvlShowStartStop=!0,wppaOvlRadius=0,wppaOvlBorderWidth=16,wppaOvlOpen=!1,wppaOvlTxtHeight=36,wppaOvlOpacity=.8,wppaOvlOnclickType="none",wppaOvlTheme="black",wppaOvlAnimSpeed=300,wppaOvlSlideSpeed=3e3,wppaVer4WindowWidth=800,wppaVer4WindowHeight=600,wppaOvlFontFamily="Helvetica",wppaOvlFontSize="10",wppaOvlFontColor="",wppaOvlFontWeight="bold",wppaOvlLineHeight="12",wppaOvlShowCounter=!0,wppaOvlIsVideo=!1,wppaShowLegenda="",wppaOvlFsPhotoId=0,wppaPhotoId=0,wppaOvlVideoStart=!1,wppaOvlAudioStart=!1,wppaLastIptc="",wppaLastExif="",wppaIsMobile=!1,wppaSvgFillcolor="gray",wppaSvgBgcolor="transparent",wppaSvgCornerStyle="light";function wppaDoInit(){_wppaTextDelay=wppaAnimationSpeed,wppaFadeInAfterFadeOut&&(_wppaTextDelay*=2),jQuery(".wppa-ajax-spin").stop().fadeOut(),jQuery(".wppa-ovl-spin").hide(),setTimeout(function(){for(var p=1;p<wppaTopMoc;)jQuery("#ubb-"+p+"-l")&&(wppaUbb(p,"l","hide"),wppaUbb(p,"r","hide")),p++},3e3),jQuery(window).on("DOMContentLoaded load resize orientationchange",wppaDoAllAutocols),jQuery(window).on("DOMContentLoaded load resize scroll",wppaSizeThumbArea),jQuery(window).on("DOMContentLoaded load resize scroll",wppaMakeLazyVisible),jQuery(window).trigger("resize"),wppaProtect()}function wppaSizeAutoDiv(){jQuery(".wppa-autodiv").each(function(p){var a=jQuery(window).height(),e=jQuery(this).attr("data-max-height");jQuery(this).css({maxHeight:a*e})})}function wppaDoAllAutocols(p){for("number"!=typeof p&&(p=1),wppaConsoleLog("Doing wppaDoAllAutocols "+p,"force"),mocc=1;mocc<=wppaTopMoc;mocc++)wppaAutoColumnWidth[mocc]&&_wppaDoAutocol(mocc,p);++p<6&&setTimeout(function(){wppaDoAllAutocols(p)},1e3)}function wppaProtect(){wppaHideRightClick&&(jQuery("img").bind("contextmenu",function(p){return!1}),jQuery("video").bind("contextmenu",function(p){return!1}))}function wppaUpdateLightboxes(){"function"==typeof wppaInitOverlay&&wppaInitOverlay(),"undefined"!=typeof myLightbox&&"function"==typeof myLightbox.updateImageList&&myLightbox.updateImageList(),jQuery().prettyPhoto&&jQuery("a[rel^='prettyPhoto']").prettyPhoto({deeplinking:!1})}function wppaStopVideo(p){var a,e,t=[];for(t[1]="wppa-overlay-img",t[2]="theimg0-"+p,t[3]="theimg1-"+p,e=0;e<3;)1==++e&&0!=p||(a=document.getElementById(t[e]))&&"function"==typeof a.pause&&(a.pause(),wppaConsoleLog("Video "+t[e]+" paused","force"))}function wppaStopAudio(p){if("number"==typeof p)jQuery("#audio-"+p).pause&&jQuery("#audio-"+p).pause();else{var a=jQuery("audio");if(0<a.length)for(var e=0;e<a.length;)"wppa"==jQuery(a[e]).attr("data-from")&&a[e].pause(),e++}}function wppaMakeFullsizeUrl(p){var a,e;(a=(p=p.replace("/thumbs/","/")).split("//"))[1]?(e=a[1].split("/"),p=a[0]+"//"):(e=a[0].split("/"),p="");for(var t=0;t<e.length;){var o=e[t];"w"!=o.split("_")[0]&&(0!=t&&(p+="/"),p+=o),t++}return p}function wppaGetContainerWidth(p){var a=document.getElementById("wppa-container-"+p),e=0;if(!wppaAutoColumnWidth[p])return a.clientWidth;for(;0==e;)a=a.parentNode,e=jQuery(a).width();return parseInt(e*wppaAutoColumnFrac[p])}function _wppaDoAutocol(p,a){if(!wppaAutoColumnWidth[p])return!0;var e;e=wppaGetContainerWidth(p),wppaConsoleLog("Doing autocol "+p+" "+a,"force"),wppaColWidth[p]=e,jQuery(".wppa-container-"+p).stop().animate({width:e},wppaResponseSpeed),wppaRenderModal&&(jQuery(".ui-dialog").css("width",e),jQuery(".ui-dialog").attr("height","auto")),wppaCoverImageResponsive[p]||(jQuery(".wppa-asym-text-frame-"+p).stop().animate({width:e-wppaTextFrameDelta},wppaResponseSpeed),jQuery(".wppa-cover-box-"+p).stop().animate({width:e},wppaResponseSpeed));var t,o=jQuery(".wppa-cover-box-mcr-"+p);if(1<o.length){var r=parseInt((e+8)/(wppaMaxCoverWidth+8))+1,s=r-1;t=parseInt((e+8)/r-8);for(var i=0;i<o.length;){switch(i%r){case 0:jQuery(o[i]).css({marginLeft:"0px",clear:"both",float:"left"});break;case s:jQuery(o[i]).css({marginLeft:"8px",clear:"none",float:"right"});break;default:jQuery(o[i]).css({marginLeft:"8px",clear:"none",float:"left"})}i++}wppaCoverImageResponsive[p]||jQuery(".wppa-asym-text-frame-mcr-"+p).stop().animate({width:t-wppaTextFrameDelta},wppaResponseSpeed),jQuery(".wppa-cover-box-mcr-"+p).stop().animate({width:t},wppaResponseSpeed)}else if(wppaCoverImageResponsive[p]);else{jQuery(".wppa-asym-text-frame-mcr-"+p).stop().animate({width:e-wppaTextFrameDelta},wppaResponseSpeed);jQuery(".wppa-cover-box-mcr-"+p).css({marginLeft:"0px",float:"left"})}if(wppaThumbSpaceAuto){var n=parseInt(jQuery(".thumbnail-frame-"+p).css("width"));if(n){var l=e-wppaThumbnailAreaDelta-7,w=parseInt(l/(n+wppaMinThumbSpace)),u=parseInt(.5+(l-w*n)/(w+1));jQuery(".thumbnail-frame-"+p).css({marginLeft:u})}}jQuery(".thumbnail-frame-comalt-"+p).css("width",e-wppaThumbnailAreaDelta),jQuery(".wppa-com-alt-"+p).css("width",e-wppaThumbnailAreaDelta-wppaComAltSize-16);for(var c,d=1,y=jQuery("#wppa-mas-h-"+d+"-"+p).attr("data-height-perc");y;)c=y*(e-wppaThumbnailAreaDelta)/100,jQuery("#wppa-mas-h-"+d+"-"+p).css("height",c),d++,y=jQuery("#wppa-mas-h-"+d+"-"+p).attr("data-height-perc");return wppaSetMasHorFrameWidthsForIeAndChrome(p),wppaFormatSlide(p),jQuery("#audio-slide-"+p).css("width",e-wppaBoxDelta-6),jQuery(".wppa-comment-textarea-"+p).css("width",.7*e),wppaFilmStripLength[p]=e-wppaFilmStripAreaDelta[p],jQuery("#filmwindow-"+p).css("width",wppaFilmStripLength[p]),_wppaAdjustFilmstrip(p),wppaIsMini[p]||void 0===_wppaSlides[p]||(wppaColWidth[p]<wppaMiniTreshold?(jQuery("#wppa-avg-rat-"+p).html(wppaAvgRat),jQuery("#wppa-my-rat-"+p).html(wppaMyRat),jQuery("#counter-"+p).html(_wppaCurIdx[p]+1+" / "+_wppaSlides[p].length)):(jQuery("#wppa-avg-rat-"+p).html(wppaAvgRating),jQuery("#wppa-my-rat-"+p).html(wppaMyRating),jQuery("#counter-"+p).html(wppaPhoto+" "+(_wppaCurIdx[p]+1)+" "+wppaOf+" "+_wppaSlides[p].length))),jQuery(".wppa-sphoto-"+p).css("width",e),jQuery(".wppa-simg-"+p).css("width",e-2*wppaSlideBorderWidth),jQuery(".wppa-simg-"+p).css("height",""),jQuery(".wppa-mphoto-"+p).css("width",e+10),jQuery(".wppa-mimg-"+p).css("width",e),jQuery(".wppa-mimg-"+p).css("height",""),0<wppaSearchBoxSelItems[p]&&(e/wppaSearchBoxSelItems[p]<125?jQuery(".wppa-searchsel-item-"+p).css("width","100%"):jQuery(".wppa-searchsel-item-"+p).css("width",100/wppaSearchBoxSelItems[p]+"%")),jQuery(".wppa-upload-album-"+p).css("maxWidth",.6*e),!0}function wppaSetMasHorFrameWidthsForIeAndChrome(p){for(var a=jQuery(".wppa-mas-h-"+p),e=wppaMinThumbSpace,t=0;t<a.length;t++){var o=wppaGetChildI(a[t]);if(o){if("IMG"==o.nodeName&&!o.complete)return void setTimeout("wppaSetMasHorFrameWidthsForIeAndChrome( "+p+" )",400);var r=o.naturalWidth/o.naturalHeight*o.height+e;jQuery(a[t]).css({width:r})}}}function wppaGetChildI(p){var a,e=p.childNodes;for(a=0;a<e.length;a++){var t=e[a];if(t.id&&"i-"==t.id.substr(0,2))return t;var o=wppaGetChildI(t);if(o)return o}return!1}jQuery(document).ready(function(){wppaDoInit()}),jQuery(document).ready(function(){jQuery(window).on("DOMContentLoaded load resize scroll",wppaSizeAutoDiv)}),jQuery(document).ready(function(p){if(wppaAllowAjax&&jQuery.ajax&&(wppaCanAjaxRender=!0),void 0!==history.pushState){for(var a=1;a<=wppaMaxOccur;)wppaStartHtml[a]=jQuery("#wppa-container-"+a).html(),a++;wppaCanPushState=!0}});var wppaFotomotoLoaded=!1,wppaFotomotoToolbarIds=[];function fotomoto_loaded(){wppaFotomotoLoaded=!0}function wppaFotomotoToolbar(p,a){if(!(wppaColWidth[p]>=wppaFotomotoMinWidth))return jQuery("#wppa-fotomoto-container-"+p).css("display","none"),void jQuery("#wppa-fotomoto-checkout-"+p).css("display","none");jQuery("#wppa-fotomoto-container-"+p).css("display","inline"),jQuery("#wppa-fotomoto-checkout-"+p).css("display","inline"),wppaFotomoto&&document.getElementById("wppa-fotomoto-container-"+p)&&(wppaFotomotoLoaded?(FOTOMOTO.API.checkinImage(a),wppaFotomotoToolbarIds[p]=FOTOMOTO.API.showToolbar("wppa-fotomoto-container-"+p,a)):(setTimeout("wppaFotomotoToolbar( "+p+',"'+a+'" )',200),wppaConsoleLog("Waiting for Fotomoto")))}function wppaFotomotoHide(p){jQuery("#wppa-fotomoto-container-"+p).css("display","none"),jQuery("#wppa-fotomoto-checkout-"+p).css("display","none")}function wppaStringContainsForbiddenChars(p){for(var a=["?","&","#","/",'"',"'"],e=0;e<a.length;){if(-1!=p.indexOf(a[e]))return!0;e++}return!1}function wppaPushStateSlide(p,a,e){if(!wppaIsMini[p]&&wppaCanPushState&&wppaUpdateAddressLine&&""!=e)try{history.pushState({page:wppaHis,occur:p,type:"slide",slide:a},"---",e),wppaConsoleLog("Slide history stack updated")}catch(p){wppaConsoleLog("Slide history stack update failed")}}function wppaRepairScriptTags(p){if(void 0===p)return"";for(;-1!=p.indexOf("[script");)p=p.replace("[script","<script");for(;-1!=p.indexOf("[/script");)p=p.replace("[/script","</script");return p}function wppaRepairBrTags(p){return void 0===p?"":p.replace("[br /]","<br />").replace("[a","<a").replace("&quot;",'"').replace('"]','">').replace("[/a]","</a>")}function wppaTrimAlt(p){return void 0===p?"":13<p.length?p.substr(0,10)+"...":p}window.onpopstate=function(p){var a=0;if(wppaCanPushState){if(p.state)switch(a=p.state.occur,p.state.type){case"html":jQuery("#wppa-container-"+a).html(p.state.html);break;case"slide":_wppaGoto(a,p.state.slide)}else if(wppaUpdateAddressLine){if(a=wppaFirstOccur,jQuery("#wppa-container-"+a).html(wppaStartHtml[a]),(wppaFirstOccur=0)==a){var e=document.location.href.split("&wppa-occur=");a=parseInt(e[1])}e=document.location.href.split("&wppa-photo=");var t=parseInt(e[1]);if(0<t){for(var o=0;o<_wppaId[a].length&&_wppaId[a][o]!=t;)o++;o<_wppaId[a].length&&_wppaGoto(a,o)}}document.getElementById("theslide0-"+a)&&_wppaStop(a)}"undefined"!=typeof wppaQRUpdate&&wppaQRUpdate(document.location.href)};var wppaFbInitBusy=!1;function wppaFbInit(){wppaFbInitBusy?wppaConsoleLog("Fb Init busy"):"undefined"!=typeof FB?(wppaFbInitBusy=!0,setTimeout("_wppaFbInit()",10)):(wppaConsoleLog("Fb wait"),setTimeout("wppaFbInit()",200))}function _wppaFbInit(){FB.init({status:!0,xfbml:!0}),wppaFbInitBusy=!1}function wppaInsertAtCursor(p,a){if(document.selection)p.focus(),sel=document.selection.createRange(),sel.text=a;else if(p.selectionStart||"0"==p.selectionStart){var e=p.selectionStart,t=p.selectionEnd;p.value=p.value.substring(0,e)+a+p.value.substring(t,p.value.length),p.selectionStart=e+a.length,p.selectionEnd=e+a.length}else p.value+=a}function wppaGeoInit(p,a,e){var t=new google.maps.LatLng(a,e),o={disableDefaultUI:!1,panControl:!1,zoomControl:!0,mapTypeControl:!0,scaleControl:!0,streetViewControl:!0,overviewMapControl:!0,zoom:wppaGeoZoom,center:t},r=new google.maps.Map(document.getElementById("map-canvas-"+p),o),s=new google.maps.Marker({position:t,map:r,title:""});google.maps.event.addListener(r,"center_changed",function(){window.setTimeout(function(){r.panTo(s.getPosition())},1e3)})}function wppaEncode(p){var a;if(void 0!==p){var e=(a=(a=String(p).replace(/#/g,"||HASH||")).replace(/&/g,"||AMP||")).split("+"),t=0;for(a="";t<e.length;)a+=e[t],++t<e.length&&(a+="||PLUS||");return a}}function wppaUrlToId(p){var a=p.split("/wppa/");return 1==a.length&&(a=p.split("/upload/")),1==a.length?0:a=(a=(a=(a=(a=(a=(a=a[1]).split("."))[0].replace("/","")).replace("/","")).replace("/","")).replace("/","")).replace("/","")}function wppaSuperSearchSelect(p,a){jQuery("#wppa-ss-albumopt-"+p).css("display","none"),jQuery("#wppa-ss-albumcat-"+p).css("display","none"),jQuery("#wppa-ss-albumname-"+p).css("display","none"),jQuery("#wppa-ss-albumtext-"+p).css("display","none"),jQuery("#wppa-ss-photoopt-"+p).css("display","none"),jQuery("#wppa-ss-photoname-"+p).css("display","none"),jQuery("#wppa-ss-photoowner-"+p).css("display","none"),jQuery("#wppa-ss-phototag-"+p).css("display","none"),jQuery("#wppa-ss-phototext-"+p).css("display","none"),jQuery("#wppa-ss-photoexif-"+p).css("display","none"),jQuery("#wppa-ss-photoiptc-"+p).css("display","none"),jQuery("#wppa-ss-exifopts-"+p).css("display","none"),jQuery("#wppa-ss-iptcopts-"+p).css("display","none"),jQuery("#wppa-ss-spinner-"+p).css("display","none"),jQuery("#wppa-ss-button-"+p).css("display","none");var e=jQuery("#wppa-ss-pa-"+p).val(),t="",o="",r="";switch(e){case"a":switch(jQuery("#wppa-ss-albumopt-"+p).css("display",""),t=jQuery("#wppa-ss-albumopt-"+p).val()){case"c":jQuery("#wppa-ss-albumcat-"+p).css("display","");var s=jQuery(".wppa-ss-albumcat-"+p);for(r="",i=0;i<s.length;i++)"selected"==jQuery(s[i]).attr("selected")&&(r+="."+jQuery(s[i]).val());""!=(r=r.substr(1))&&jQuery("#wppa-ss-button-"+p).css("display","");break;case"n":jQuery("#wppa-ss-albumname-"+p).css("display",""),null!=(r=jQuery("#wppa-ss-albumname-"+p).val())&&jQuery("#wppa-ss-button-"+p).css("display","");break;case"t":jQuery("#wppa-ss-albumtext-"+p).css("display","");s=jQuery(".wppa-ss-albumtext-"+p);for(r="",i=0;i<s.length;i++)"selected"==jQuery(s[i]).attr("selected")&&(r+="."+jQuery(s[i]).val());""!=(r=r.substr(1))&&jQuery("#wppa-ss-button-"+p).css("display","")}break;case"p":switch(jQuery("#wppa-ss-photoopt-"+p).css("display",""),t=jQuery("#wppa-ss-photoopt-"+p).val()){case"n":jQuery("#wppa-ss-photoname-"+p).css("display",""),null!=(r=jQuery("#wppa-ss-photoname-"+p).val())&&jQuery("#wppa-ss-button-"+p).css("display","");break;case"o":jQuery("#wppa-ss-photoowner-"+p).css("display",""),null!=(r=jQuery("#wppa-ss-photoowner-"+p).val())&&jQuery("#wppa-ss-button-"+p).css("display","");break;case"g":jQuery("#wppa-ss-phototag-"+p).css("display","");s=jQuery(".wppa-ss-phototag-"+p);for(r="",i=0;i<s.length;i++)"selected"==jQuery(s[i]).attr("selected")&&(r+="."+jQuery(s[i]).val());""!=(r=r.substr(1))&&jQuery("#wppa-ss-button-"+p).css("display","");break;case"t":jQuery("#wppa-ss-phototext-"+p).css("display","");var i;s=jQuery(".wppa-ss-phototext-"+p);for(r="",i=0;i<s.length;i++)"selected"==jQuery(s[i]).attr("selected")&&(r+="."+jQuery(s[i]).val());""!=(r=r.substr(1))&&jQuery("#wppa-ss-button-"+p).css("display","");break;case"i":jQuery("#wppa-ss-photoiptc-"+p).css("display",""),(o=jQuery("#wppa-ss-photoiptc-"+p).val())&&(2<o.length&&(o=o.replace("#","H")),""!=o&&(jQuery("#wppa-ss-iptcopts-"+p).css("display",""),wppaLastIptc!=o?(wppaAjaxGetSsIptcList(p,o,"wppa-ss-iptcopts-"+p),wppaLastIptc=o):null!=(r=jQuery("#wppa-ss-iptcopts-"+p).val())&&""!=r&&jQuery("#wppa-ss-button-"+p).css("display","")));break;case"e":jQuery("#wppa-ss-photoexif-"+p).css("display",""),(o=jQuery("#wppa-ss-photoexif-"+p).val())&&(2<o.length&&(o=o.replace("#","H")),""!=o&&(jQuery("#wppa-ss-exifopts-"+p).css("display",""),wppaLastExif!=o?(wppaAjaxGetSsExifList(p,o,"wppa-ss-exifopts-"+p),wppaLastExif=o):null!=(r=jQuery("#wppa-ss-exifopts-"+p).val())&&""!=r&&jQuery("#wppa-ss-button-"+p).css("display","")))}}if(a){var n=jQuery("#wppa-ss-pageurl-"+p).val();-1==n.indexOf("?")?n+="?":n+="&",n+="occur=1&wppa-supersearch="+e+","+t+","+o+","+r,document.location.href=n}}function wppaAjaxGetSsIptcList(t,p,o){jQuery.ajax({url:wppaAjaxUrl,data:"action=wppa&wppa-action=getssiptclist&tag="+p+"&moccur="+t,async:!0,type:"GET",timeout:1e4,beforeSend:function(p){jQuery("#wppa-ss-spinner-"+t).css("display","")},success:function(p,a,e){jQuery("#"+o).html(p),jQuery("#wppa-ss-iptcopts-"+t).css("display",""),wppaSuperSearchSelect(t),setTimeout('wppaSetIptcExifSize( ".wppa-iptclist-'+t+'", "#'+o+'" )',10)},error:function(p,a,e){wppaConsoleLog("wppaAjaxGetSsIptcList failed. Error = "+e+", status = "+a,"force")},complete:function(p,a,e){jQuery("#wppa-ss-spinner-"+t).css("display","none")}})}function wppaAjaxGetSsExifList(t,p,o){jQuery.ajax({url:wppaAjaxUrl,data:"action=wppa&wppa-action=getssexiflist&tag="+p+"&moccur="+t,async:!0,type:"GET",timeout:1e4,beforeSend:function(p){jQuery("#wppa-ss-spinner-"+t).css("display","")},success:function(p,a,e){jQuery("#"+o).html(p),jQuery("#wppa-ss-exifopts-"+t).css("display",""),wppaSuperSearchSelect(t),setTimeout('wppaSetIptcExifSize( ".wppa-exiflist-'+t+'", "#'+o+'" )',10)},error:function(p,a,e){wppaConsoleLog("wppaAjaxGetSsExifList failed. Error = "+e+", status = "+a,"force")},complete:function(p,a,e){jQuery("#wppa-ss-spinner-"+t).css("display","none")}})}function wppaSetIptcExifSize(p,a){var e=jQuery(p).length;6<e&&(e=6),e<2&&(e=2),jQuery(a).attr("size",e)}function wppaUpdateSearchRoot(p,a){for(var e=jQuery(".wppa-search-root"),t=0;t<e.length;)jQuery(e[t]).html(p),t++;for(e=jQuery(".wppa-rootbox"),t=0;t<e.length;)a?(jQuery(e[t]).prop("checked",!1),jQuery(e[t]).prop("disabled",!1)):(jQuery(e[t]).prop("checked",!0),jQuery(e[t]).prop("disabled",!0)),t++;for(e=jQuery(".wppa-search-root-id"),t=0;t<e.length;)jQuery(e[t]).val(a),t++}function wppaSubboxChange(p){jQuery(p).prop("checked")&&jQuery(".wppa-rootbox").each(function(p){jQuery(this).prop("checked",!0)})}function wppaClearSubsearch(){for(var p=jQuery(".wppa-display-searchstring"),a=0;a<p.length;)jQuery(p[a]).html(""),a++;for(p=jQuery(".wppa-search-sub-box"),a=0;a<p.length;)jQuery(p[a]).attr("disabled","disabled"),a++}function wppaEnableSubsearch(){for(var p=jQuery(".wppa-search-sub-box"),a=0;a<p.length;)jQuery(p[a]).removeAttr("disabled"),a++}function wppaDisplaySelectedFiles(p){for(var a=jQuery("#"+p),e=0,t="";e<a[0].files.length;)t+=a[0].files[e].name+" ",e++;jQuery("#"+p+"-display").val(t)}function wppaIsEmpty(p){return null==p||(void 0===p||(""==p||(0==p||(0==p||void 0))))}function wppaGetUploadOptions(yalb,mocc,where,onComplete){var options={beforeSend:function(){jQuery("#progress-"+yalb+"-"+mocc).show(),jQuery("#bar-"+yalb+"-"+mocc).width("0%"),jQuery("#message-"+yalb+"-"+mocc).html(""),jQuery("#percent-"+yalb+"-"+mocc).html("")},uploadProgress:function(p,a,e,t){jQuery("#bar-"+yalb+"-"+mocc).css("backgroundColor","#7F7"),jQuery("#bar-"+yalb+"-"+mocc).width(t+"%"),t<95?jQuery("#percent-"+yalb+"-"+mocc).html(t+"%"):jQuery("#percent-"+yalb+"-"+mocc).html(wppaProcessing)},success:function(){jQuery("#bar-"+yalb+"-"+mocc).width("100%"),jQuery("#percent-"+yalb+"-"+mocc).html(wppaDone),jQuery(".wppa-upload-button").val(wppaUploadButtonText)},complete:function(response){-1!=response.responseText.indexOf(wppaUploadFailed)?(jQuery("#bar-"+yalb+"-"+mocc).css("backgroundColor","#F77"),jQuery("#percent-"+yalb+"-"+mocc).html(wppaUploadFailed),jQuery("#message-"+yalb+"-"+mocc).html('<span style="font-size: 10px;" >'+response.responseText+"</span>")):(jQuery("#message-"+yalb+"-"+mocc).html('<span style="font-size: 10px;" >'+response.responseText+"</span>"),"thumb"!=where&&"cover"!=where||eval(onComplete))},error:function(){jQuery("#message-"+yalb+"-"+mocc).html('<span style="color: red;" >'+wppaServerError+"</span>"),jQuery("#bar-"+yalb+"-"+mocc).css("backgroundColor","#F77"),jQuery("#percent-"+yalb+"-"+mocc).html(wppaUploadFailed)}};return options}wppaConsoleLog("wppa.js version "+wppaJsVersion+" loaded.","force");
readme.txt CHANGED
@@ -2,8 +2,8 @@
2
  Contributors: opajaap
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=OpaJaap@OpaJaap.nl&item_name=WP-Photo-Album-Plus&item_number=Support-Open-Source&currency_code=USD&lc=US
4
  Tags: photo, album, slideshow, video, audio, lightbox, iptc, exif, cloudinary, fotomoto, imagemagick, pdf
5
- Version: 7.0.05
6
- Stable tag: 7.0.04.003
7
  Author: J.N. Breetvelt
8
  Author URI: http://www.opajaap.nl/
9
  Requires at least: 3.9
@@ -137,7 +137,12 @@ See for the full changelog: <a href="http://www.wppa.nl/changelog/" >The documen
137
 
138
  == Upgrade Notice ==
139
 
140
- - 7.0.05 =
 
 
 
 
 
141
 
142
  * This version addresses various minor bug fixes and feature requests.
143
  * This version addresses various security issues.
2
  Contributors: opajaap
3
  Donate link: https://www.paypal.com/cgi-bin/webscr?cmd=_donations&business=OpaJaap@OpaJaap.nl&item_name=WP-Photo-Album-Plus&item_number=Support-Open-Source&currency_code=USD&lc=US
4
  Tags: photo, album, slideshow, video, audio, lightbox, iptc, exif, cloudinary, fotomoto, imagemagick, pdf
5
+ Version: 7.0.06
6
+ Stable tag: 7.0.05.016
7
  Author: J.N. Breetvelt
8
  Author URI: http://www.opajaap.nl/
9
  Requires at least: 3.9
137
 
138
  == Upgrade Notice ==
139
 
140
+ = 7.0.06 =
141
+
142
+ * This version addresses various bug fixes
143
+ * This version addresses various security issues.
144
+
145
+ = 7.0.05 =
146
 
147
  * This version addresses various minor bug fixes and feature requests.
148
  * This version addresses various security issues.
wppa-admin-functions.php CHANGED
@@ -3,7 +3,7 @@
3
  * Package: wp-photo-album-plus
4
  *
5
  * gp admin functions
6
- * Version 7.0.05
7
  *
8
  */
9
 
@@ -467,7 +467,7 @@ global $wpdb;
467
  imagedestroy( $rotate );
468
 
469
  // accessible
470
- wppa_chmod( $file );
471
 
472
  // Optimized
473
  wppa_optimize_image_file( $file );
3
  * Package: wp-photo-album-plus
4
  *
5
  * gp admin functions
6
+ * Version 7.0.06
7
  *
8
  */
9
 
467
  imagedestroy( $rotate );
468
 
469
  // accessible
470
+ // wppa_chmod( $file );
471
 
472
  // Optimized
473
  wppa_optimize_image_file( $file );
wppa-ajax.php CHANGED
@@ -2,7 +2,7 @@
2
  /* wppa-ajax.php
3
  *
4
  * Functions used in ajax requests
5
- * Version 7.0.04
6
  *
7
  */
8
 
@@ -932,9 +932,9 @@ global $wppa_log_file;
932
  // Get commandline args
933
  $photo = wppa_decrypt_photo( $_REQUEST['wppa-rating-id'] );
934
  $photo = strval( intval( $photo ) );
935
- $rating = $_REQUEST['wppa-rating'];
936
- $occur = $_REQUEST['wppa-occur'];
937
- $index = isset( $_REQUEST['wppa-index'] ) ? $_REQUEST['wppa-index'] : '0';
938
  $nonce = $_REQUEST['wppa-nonce'];
939
 
940
  // Make errortext
@@ -2633,7 +2633,7 @@ global $wppa_log_file;
2633
  $err = false;
2634
  $path = WPPA_UPLOAD_PATH . '/procs/' . $option . '.php';
2635
  if ( ! wppa_is_dir( dirname( $path ) ) ) {
2636
- mkdir( dirname( $path ) );
2637
  }
2638
  $file = wppa_fopen( $path, 'wb' );
2639
  if ( ! $file ) {
@@ -2999,9 +2999,6 @@ global $wppa_log_file;
2999
  wppa( 'error', '1' );
3000
  $alert = sprintf( __( 'Unable to create or write to %s' , 'wp-photo-album-plus'), $dir );
3001
  }
3002
- else {
3003
- @ rmdir( $olddir ); // try to remove when empty
3004
- }
3005
  }
3006
  break;
3007
 
2
  /* wppa-ajax.php
3
  *
4
  * Functions used in ajax requests
5
+ * Version 7.0.06
6
  *
7
  */
8
 
932
  // Get commandline args
933
  $photo = wppa_decrypt_photo( $_REQUEST['wppa-rating-id'] );
934
  $photo = strval( intval( $photo ) );
935
+ $rating = strval( intval( $_REQUEST['wppa-rating'] ) );
936
+ $occur = strval( intval( $_REQUEST['wppa-occur'] ) );
937
+ $index = isset( $_REQUEST['wppa-index'] ) ? strval( intval( $_REQUEST['wppa-index'] ) ) : '0';
938
  $nonce = $_REQUEST['wppa-nonce'];
939
 
940
  // Make errortext
2633
  $err = false;
2634
  $path = WPPA_UPLOAD_PATH . '/procs/' . $option . '.php';
2635
  if ( ! wppa_is_dir( dirname( $path ) ) ) {
2636
+ wppa_mkdir( dirname( $path ) );
2637
  }
2638
  $file = wppa_fopen( $path, 'wb' );
2639
  if ( ! $file ) {
2999
  wppa( 'error', '1' );
3000
  $alert = sprintf( __( 'Unable to create or write to %s' , 'wp-photo-album-plus'), $dir );
3001
  }
 
 
 
3002
  }
3003
  break;
3004
 
wppa-album-admin-autosave.php CHANGED
@@ -2590,7 +2590,7 @@ global $wpdb;
2590
 
2591
  // Now delete the album
2592
  $wpdb->query( $wpdb->prepare( "DELETE FROM $wpdb->wppa_albums WHERE id = %d", $id ) );
2593
- wppa_delete_album_source( $id );
2594
  wppa_index_remove( 'album', $id );
2595
  wppa_clear_catlist();
2596
  wppa_clear_cache();
2590
 
2591
  // Now delete the album
2592
  $wpdb->query( $wpdb->prepare( "DELETE FROM $wpdb->wppa_albums WHERE id = %d", $id ) );
2593
+ // wppa_delete_album_source( $id );
2594
  wppa_index_remove( 'album', $id );
2595
  wppa_clear_catlist();
2596
  wppa_clear_cache();
wppa-common-functions.php CHANGED
@@ -2,7 +2,7 @@
2
  /* wppa-common-functions.php
3
  *
4
  * Functions used in admin and in themes
5
- * Version 7.0.05
6
  *
7
  */
8
 
@@ -299,6 +299,8 @@ static $randseed_modified;
299
 
300
  function wppa_phpinfo( $key = -1 ) {
301
 
 
 
302
  echo '<div id="phpinfo" style="width:600px; margin:auto;" >';
303
 
304
  ob_start();
2
  /* wppa-common-functions.php
3
  *
4
  * Functions used in admin and in themes
5
+ * Version 7.0.06
6
  *
7
  */
8
 
299
 
300
  function wppa_phpinfo( $key = -1 ) {
301
 
302
+ if ( ! current_user_can( 'adminstrator' ) ) return;
303
+
304
  echo '<div id="phpinfo" style="width:600px; margin:auto;" >';
305
 
306
  ob_start();
wppa-filter.php CHANGED
@@ -3,7 +3,7 @@
3
  * Package: wp-photo-album-plus
4
  *
5
  * get the albums via shortcode handler
6
- * Version 7.0.05
7
  *
8
  */
9
 
@@ -36,33 +36,48 @@ function wppa_add_shortcode_to_post( $post ) {
36
  function wppa_shortcode_div( $xatts, $content = '' ) {
37
 
38
  $atts = shortcode_atts( array(
39
- 'style' => 'clear:both;position:relative;',
40
  'class' => '',
41
  'nicescroll' => '',
 
 
42
  ), $xatts );
43
 
44
- $style = $atts['style'];
45
-
46
- $allowed_chars = array( 'a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z','0','1','2','3','4','5','6','7','8','9',':',';','-','%','#',' ' );
47
-
48
- $n = strlen( $style );
49
- $i = 0;
50
- while ( $i < $n ) {
51
- $c = substr( $style, $i, 1 );
52
- if ( ! in_array( $c, $allowed_chars ) ) {
53
- $result = 'Illegal character "'.$c.'" found in [wppa_div] shortcode style attribute' .
54
- '<br />' .
55
- 'Allowed chars: ' . implode( '', $allowed_chars );
56
- return $result;
 
 
 
 
 
 
 
 
 
 
57
  }
58
- $i++;
59
  }
 
60
 
61
- $result = '<div style="' . esc_attr( $style ) . '" class="wppa-div ' . esc_attr( $atts['class'] ) . '" >' .
62
- ( $atts['nicescroll'] ? '<div class="wppa-divnicewrap" >': '' ) .
 
 
 
63
  do_shortcode( $content ) .
64
- ( $atts['nicescroll'] ? '</div>
65
- <script type="text/javascript" >
 
66
  jQuery(document).ready(function(){
67
  jQuery(".wppa-div").niceScroll(".wppa-divnicewrap",{' . wppa_opt( 'nicescroll_opts' ) . '});' .
68
  '});
3
  * Package: wp-photo-album-plus
4
  *
5
  * get the albums via shortcode handler
6
+ * Version 7.0.06
7
  *
8
  */
9
 
36
  function wppa_shortcode_div( $xatts, $content = '' ) {
37
 
38
  $atts = shortcode_atts( array(
 
39
  'class' => '',
40
  'nicescroll' => '',
41
+ 'height' => '',
42
+ 'max-height' => '',
43
  ), $xatts );
44
 
45
+ if ( $atts['nicescroll'] ) {
46
+ $nices = true;
47
+ $style = 'clear:both;position:relative;overflow:hidden;position:relative;';
48
+ $class = $atts['class'] . ' wppa-div';
49
+ }
50
+ else {
51
+ $nices = false;
52
+ $style = 'clear:both;position:relative;';
53
+ $class = $atts['class'] . ' wppa-div';
54
+ }
55
+ $height = $atts['height'];
56
+ if ( $height ) {
57
+ $style .= 'height:' . strval( intval( $height ) ) . 'px;';
58
+ }
59
+ $data_maxheight = '';
60
+ $max_height = $atts['max-height'];
61
+ if ( $max_height ) {
62
+ if ( $max_height > 1 ) {
63
+ $style .= 'max-height:' . strval( intval( $max_height ) ) . 'px;';
64
+ }
65
+ else {
66
+ $class .= ' wppa-autodiv';
67
+ $data_maxheight = ' data-max-height="' . esc_attr( $max_height ) . '"';
68
  }
 
69
  }
70
+ $class = trim( $class );
71
 
72
+ $result = '<div style="' . esc_attr( $style ) . '"
73
+ class="' . esc_attr( $class ) . '" ' .
74
+ $data_maxheight .
75
+ ' >' .
76
+ ( $nices ? '<div class="wppa-divnicewrap" >' : '' ) .
77
  do_shortcode( $content ) .
78
+ ( $nices ? '</div>': '' ) .
79
+ ( $nices ?
80
+ '<script>
81
  jQuery(document).ready(function(){
82
  jQuery(".wppa-div").niceScroll(".wppa-divnicewrap",{' . wppa_opt( 'nicescroll_opts' ) . '});' .
83
  '});
wppa-import.php CHANGED
@@ -3,7 +3,7 @@
3
  * Package: wp-photo-album-plus
4
  *
5
  * Contains all the import pages and functions
6
- * Version 7.0.03
7
  *
8
  */
9
 
@@ -1766,7 +1766,7 @@ global $wppa_supported_audio_extensions;
1766
  //$id = wppa_get_album_id( $name );
1767
  wppa_set_last_album( $id );
1768
  wppa_index_add( 'album', $id );
1769
- wppa_ok_message( sprintf( __( 'Album #%d: %s added', 'wp-photo-album-plus' ), $id, htmlentities( stripslashes( $name ) ) ) );
1770
  if ( $dela ) wppa_unlink( $album );
1771
  $acount++;
1772
  wppa_clear_cache();
@@ -2943,7 +2943,7 @@ global $wppa_session;
2943
  // Insert the post into the database
2944
  $pagid = wp_insert_post( $my_post );
2945
  if ( $pagid ) {
2946
- wppa_ok_message( sprintf( __( 'Page <a href="%s" target="_blank" >%s</a> created.', 'wp-photo-album-plus'), home_url().'?page_id='.$pagid, $name ) );
2947
  $wpdb->query( $wpdb->prepare( "UPDATE $wpdb->wppa_albums SET cover_linkpage = %s WHERE id = %s", $pagid, $alb ) );
2948
  }
2949
  else {
@@ -3000,7 +3000,7 @@ global $wppa_session;
3000
  }
3001
  }
3002
  }
3003
- wppa_rmdir( $file ); // Try to remove dir, ignore error
3004
  }
3005
  else {
3006
  wppa_dbg_msg( 'Invalid file in wppa_import_dir_to_album(): '.$file );
3
  * Package: wp-photo-album-plus
4
  *
5
  * Contains all the import pages and functions
6
+ * Version 7.0.06
7
  *
8
  */
9
 
1766
  //$id = wppa_get_album_id( $name );
1767
  wppa_set_last_album( $id );
1768
  wppa_index_add( 'album', $id );
1769
+ wppa_ok_message( htmlentities( sprintf( __( 'Album #%d: %s added', 'wp-photo-album-plus' ), $id, stripslashes( $name ) ) ) );
1770
  if ( $dela ) wppa_unlink( $album );
1771
  $acount++;
1772
  wppa_clear_cache();
2943
  // Insert the post into the database
2944
  $pagid = wp_insert_post( $my_post );
2945
  if ( $pagid ) {
2946
+ wppa_ok_message( sprintf( __( 'Page <a href="%s" target="_blank" >%s</a> created.', 'wp-photo-album-plus'), home_url().'?page_id='.$pagid, htmlentities( $name ) ) );
2947
  $wpdb->query( $wpdb->prepare( "UPDATE $wpdb->wppa_albums SET cover_linkpage = %s WHERE id = %s", $pagid, $alb ) );
2948
  }
2949
  else {
3000
  }
3001
  }
3002
  }
3003
+ // wppa_rmdir( $file ); // Try to remove dir, ignore error
3004
  }
3005
  else {
3006
  wppa_dbg_msg( 'Invalid file in wppa_import_dir_to_album(): '.$file );
wppa-local-cdn.php CHANGED
@@ -3,7 +3,7 @@
3
  * Package: wp-photo-album-plus
4
  *
5
  * Contains routines for local cdn implementation
6
- * Version 7.0.05
7
  *
8
  */
9
 
@@ -159,7 +159,7 @@ function wppa_cdn_files( $id ) {
159
  return $result;
160
  }
161
 
162
- // Deletes the existing local cdn files and its id folder
163
  function wppa_cdn_delete( $id ) {
164
 
165
  $dir = dirname( wppa_cdn_path( $id, 1, 1 ) );
@@ -172,11 +172,4 @@ function wppa_cdn_delete( $id ) {
172
  }
173
  }
174
  }
175
-
176
- // If only . and .. subdirs exist, remove directory
177
- $left = glob( $dir . '/*' );
178
- if ( count( $left ) == 2 ) {
179
- rmdir( $dir );
180
- wppa_log( 'fso', $dir . ' removed from local CDN' );
181
- }
182
  }
3
  * Package: wp-photo-album-plus
4
  *
5
  * Contains routines for local cdn implementation
6
+ * Version 7.0.06
7
  *
8
  */
9
 
159
  return $result;
160
  }
161
 
162
+ // Deletes the existing local cdn files
163
  function wppa_cdn_delete( $id ) {
164
 
165
  $dir = dirname( wppa_cdn_path( $id, 1, 1 ) );
172
  }
173
  }
174
  }
 
 
 
 
 
 
 
175
  }
wppa-mailing.php CHANGED
@@ -4,7 +4,7 @@
4
  *
5
  * Contains mailing functions
6
  *
7
- * Version 7.0.05
8
  *
9
  */
10
 
@@ -99,12 +99,14 @@ global $wpdb;
99
  $user = get_user_by( 'ID', $usr );
100
 
101
  // Send the mail
102
- wppa_send_mail( array( 'to' => $user->user_email,
103
- 'subj' => __( 'New album created', 'wp-photo-album-plus' ),
104
- 'cont' => $content,
105
- 'listtype' => 'newalbumnotify',
106
- 'unsubscribe' => wppa_unsubscribe_link( $usr, $type ),
107
- ) );
 
 
108
  }
109
  }
110
  break;
4
  *
5
  * Contains mailing functions
6
  *
7
+ * Version 7.0.06
8
  *
9
  */
10
 
99
  $user = get_user_by( 'ID', $usr );
100
 
101
  // Send the mail
102
+ if ( $user ) {
103
+ wppa_send_mail( array( 'to' => $user->user_email,
104
+ 'subj' => __( 'New album created', 'wp-photo-album-plus' ),
105
+ 'cont' => $content,
106
+ 'listtype' => 'newalbumnotify',
107
+ 'unsubscribe' => wppa_unsubscribe_link( $usr, $type ),
108
+ ) );
109
+ }
110
  }
111
  }
112
  break;
wppa-maintenance.php CHANGED
@@ -334,7 +334,7 @@ global $wppa_timestamp_start;
334
  $a = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM $wpdb->wppa_albums WHERE a_parent = %s", $id ) );
335
  if ( ! $a && ! $p ) {
336
  $wpdb->query( $wpdb->prepare( "DELETE FROM $wpdb->wppa_albums WHERE id = %s", $id ) );
337
- wppa_delete_album_source( $id );
338
  wppa_invalidate_treecounts( $id );
339
  wppa_index_remove( 'album', $id );
340
  wppa_clear_catlist();
334
  $a = $wpdb->get_var( $wpdb->prepare( "SELECT COUNT(*) FROM $wpdb->wppa_albums WHERE a_parent = %s", $id ) );
335
  if ( ! $a && ! $p ) {
336
  $wpdb->query( $wpdb->prepare( "DELETE FROM $wpdb->wppa_albums WHERE id = %s", $id ) );
337
+ // wppa_delete_album_source( $id );
338
  wppa_invalidate_treecounts( $id );
339
  wppa_index_remove( 'album', $id );
340
  wppa_clear_catlist();
wppa-non-admin.php CHANGED
@@ -3,7 +3,7 @@
3
  * Package: wp-photo-album-plus
4
  *
5
  * Contains all the non admin stuff
6
- * Version 7.0.05
7
  *
8
  */
9
 
@@ -897,7 +897,7 @@ global $wppa_dynamic_css_data;
897
 
898
  if ( wppa( 'debug' ) ) {
899
  error_reporting( wppa( 'debug' ) );
900
- add_action( 'wp_footer', 'wppa_phpinfo' );
901
  add_action( 'wp_footer', 'wppa_errorlog' );
902
  echo '
903
  <script type="text/javascript" >
3
  * Package: wp-photo-album-plus
4
  *
5
  * Contains all the non admin stuff
6
+ * Version 7.0.06
7
  *
8
  */
9
 
897
 
898
  if ( wppa( 'debug' ) ) {
899
  error_reporting( wppa( 'debug' ) );
900
+ // add_action( 'wp_footer', 'wppa_phpinfo' );
901
  add_action( 'wp_footer', 'wppa_errorlog' );
902
  echo '
903
  <script type="text/javascript" >
wppa-photo-files.php CHANGED
@@ -2,7 +2,7 @@
2
  /* wppa-photo-files.php
3
  *
4
  * Functions used to create/manipulate photofiles
5
- * Version 7.0.03
6
  *
7
  */
8
 
@@ -133,7 +133,7 @@ function wppa_orientate_image_file( $file, $ori ) {
133
  imagejpeg( $orientate, $file, wppa_opt( 'jpeg_quality' ) );
134
 
135
  // Accessable
136
- wppa_chmod( $file );
137
 
138
  // Optimized
139
  wppa_optimize_image_file( $file );
@@ -334,7 +334,7 @@ wppa_log('dbg', 'make called with'.$file.' '.$id.' '.$ext.' '.$do_thumb. ' exist
334
  if ( is_file ( $newimage ) ) {
335
 
336
  // Make sure file is accessible
337
- wppa_chmod( $newimage );
338
 
339
  // Optimize file
340
  wppa_optimize_image_file( $newimage );
@@ -636,7 +636,7 @@ function wppa_create_thumbnail( $id, $use_source = true ) {
636
  }
637
 
638
  // Make sure file is accessible
639
- wppa_chmod( $thumbpath );
640
 
641
  // Optimize
642
  wppa_optimize_image_file( $thumbpath );
2
  /* wppa-photo-files.php
3
  *
4
  * Functions used to create/manipulate photofiles
5
+ * Version 7.0.06
6
  *
7
  */
8
 
133
  imagejpeg( $orientate, $file, wppa_opt( 'jpeg_quality' ) );
134
 
135
  // Accessable
136
+ // wppa_chmod( $file );
137
 
138
  // Optimized
139
  wppa_optimize_image_file( $file );
334
  if ( is_file ( $newimage ) ) {
335
 
336
  // Make sure file is accessible
337
+ // wppa_chmod( $newimage );
338
 
339
  // Optimize file
340
  wppa_optimize_image_file( $newimage );
636
  }
637
 
638
  // Make sure file is accessible
639
+ // wppa_chmod( $thumbpath );
640
 
641
  // Optimize
642
  wppa_optimize_image_file( $thumbpath );
wppa-settings-autosave.php CHANGED
@@ -3,7 +3,7 @@
3
  * Package: wp-photo-album-plus
4
  *
5
  * manage all options
6
- * Version 7.0.05
7
  *
8
  */
9
 
@@ -276,11 +276,13 @@ global $wppa_supported_camara_brands;
276
  <img id="icon-album" src="<?php echo $iconurl ?>" />
277
  <h1 style="display:inline" ><?php _e('WP Photo Album Plus Settings', 'wp-photo-album-plus'); ?> <span style="color:blue;"><?php _e('Auto Save', 'wp-photo-album-plus') ?></span></h1>
278
  <?php
279
- echo
280
- __( 'Database revision:', 'wp-photo-album-plus' ) . ' ' . get_option( 'wppa_revision', '100') . '. ' .
281
- __( 'WP Charset:', 'wp-photo-album-plus') . ' ' . get_bloginfo( 'charset' ) . '. ' .
282
- __( 'Current PHP version:', 'wp-photo-album-plus' ) . ' ' . phpversion() . ' ' .
283
- __( 'WPPA+ API Version:', 'wp-photo-album-plus' ) . ' ' . $wppa_api_version . '.';
 
 
284
  ?>
285
  <br /><?php if ( is_multisite() ) {
286
  if ( WPPA_MULTISITE_GLOBAL ) {
@@ -568,7 +570,7 @@ global $wppa_supported_camara_brands;
568
  {
569
  $name = __('Is your theme <i>responsive</i>?', 'wp-photo-album-plus');
570
  $desc = __('Responsive themes have a layout that varies with the size of the browser window.', 'wp-photo-album-plus');
571
- $help = esc_js(__('WPPA+ needs to know this to automatically adept the width of the display to the available width on the page.', 'wp-photo-album-plus'));
572
  $slug = 'wppa_i_responsive';
573
  $opts = array('', __('yes', 'wp-photo-album-plus'), __('no', 'wp-photo-album-plus'));
574
  $vals = array('', 'yes', 'no');
@@ -577,7 +579,7 @@ global $wppa_supported_camara_brands;
577
 
578
  $name = __('Do you want to downsize photos during upload?', 'wp-photo-album-plus');
579
  $desc = __('Downsizing photos make them load faster to the visitor, without loosing display quality', 'wp-photo-album-plus');
580
- $help = esc_js(__('If you answer yes, the photos will be downsized to max 1024 x 768 pixels. You can change this later, if you like', 'wp-photo-album-plus'));
581
  $slug = 'wppa_i_downsize';
582
  $opts = array('', __('yes', 'wp-photo-album-plus'), __('no', 'wp-photo-album-plus'));
583
  $vals = array('', 'yes', 'no');
@@ -586,7 +588,7 @@ global $wppa_supported_camara_brands;
586
 
587
  $name = __('Do you want to save the original photofiles?', 'wp-photo-album-plus');
588
  $desc = __('This will require considerable disk space on the server.', 'wp-photo-album-plus');
589
- $help = esc_js(__('If you answer yes, you will be able to remove watermarks you applied with wppa+ in a later stage, redo downsizing to a larger size afterwards, and supply fullsize images for download.', 'wp-photo-album-plus'));
590
  $slug = 'wppa_i_source';
591
  $opts = array('', __('yes', 'wp-photo-album-plus'), __('no', 'wp-photo-album-plus'));
592
  $vals = array('', 'yes', 'no');
@@ -595,9 +597,9 @@ global $wppa_supported_camara_brands;
595
 
596
  $name = __('May visitors upload photos?', 'wp-photo-album-plus');
597
  $desc = __('It is safe to do so, but i will have to do some settings to keep it safe!', 'wp-photo-album-plus');
598
- $help = esc_js(__('If you answer yes, i will assume you want to enable logged in users to upload photos at the front-end of the website and allow them to edit their photos name and descriptions.', 'wp-photo-album-plus'));
599
- $help .= '\n\n'.esc_js(__('The photos will be hold for moderation, the admin will get notified by email.', 'wp-photo-album-plus'));
600
- $help .= '\n\n'.esc_js(__('Each user will get his own album to upload to. These settings can be changed later.', 'wp-photo-album-plus'));
601
  $slug = 'wppa_i_userupload';
602
  $opts = array('', __('yes', 'wp-photo-album-plus'), __('no', 'wp-photo-album-plus'));
603
  $vals = array('', 'yes', 'no');
@@ -606,7 +608,7 @@ global $wppa_supported_camara_brands;
606
 
607
  $name = __('Do you want the rating system active?', 'wp-photo-album-plus');
608
  $desc = __('Enable the rating system and show the votes in the slideshow.', 'wp-photo-album-plus');
609
- $help = esc_js(__('You can configure the details of the rating system later', 'wp-photo-album-plus'));
610
  $slug = 'wppa_i_rating';
611
  $opts = array('', __('yes', 'wp-photo-album-plus'), __('no', 'wp-photo-album-plus'));
612
  $vals = array('', 'yes', 'no');
@@ -615,7 +617,7 @@ global $wppa_supported_camara_brands;
615
 
616
  $name = __('Do you want the comment system active?', 'wp-photo-album-plus');
617
  $desc = __('Enable the comment system and show the comments in the slideshow.', 'wp-photo-album-plus');
618
- $help = esc_js(__('You can configure the details of the comment system later', 'wp-photo-album-plus'));
619
  $slug = 'wppa_i_comment';
620
  $opts = array('', __('yes', 'wp-photo-album-plus'), __('no', 'wp-photo-album-plus'));
621
  $vals = array('', 'yes', 'no');
@@ -624,7 +626,7 @@ global $wppa_supported_camara_brands;
624
 
625
  $name = __('Do you want the social media share buttons displayed?', 'wp-photo-album-plus');
626
  $desc = __('Display the social media buttons in the slideshow', 'wp-photo-album-plus');
627
- $help = esc_js(__('These buttons share the specific photo rather than the page where it is displayed on', 'wp-photo-album-plus'));
628
  $slug = 'wppa_i_share';
629
  $opts = array('', __('yes', 'wp-photo-album-plus'), __('no', 'wp-photo-album-plus'));
630
  $vals = array('', 'yes', 'no');
@@ -633,7 +635,7 @@ global $wppa_supported_camara_brands;
633
 
634
  $name = __('Are you going to use IPTC data?', 'wp-photo-album-plus');
635
  $desc = __('IPTC data is information you may have added in a photo manipulation program.', 'wp-photo-album-plus');
636
- $help = esc_js(__('The information can be displayed in slideshows and in photo descriptions.', 'wp-photo-album-plus'));
637
  $slug = 'wppa_i_iptc';
638
  $opts = array('', __('yes', 'wp-photo-album-plus'), __('no', 'wp-photo-album-plus'));
639
  $vals = array('', 'yes', 'no');
@@ -642,7 +644,7 @@ global $wppa_supported_camara_brands;
642
 
643
  $name = __('Are you going to use EXIF data?', 'wp-photo-album-plus');
644
  $desc = __('EXIF data is information from the camera like model no, focal distance and aperture used.', 'wp-photo-album-plus');
645
- $help = esc_js(__('The information can be displayed in slideshows and in photo descriptions.', 'wp-photo-album-plus'));
646
  $slug = 'wppa_i_exif';
647
  $opts = array('', __('yes', 'wp-photo-album-plus'), __('no', 'wp-photo-album-plus'));
648
  $vals = array('', 'yes', 'no');
@@ -651,7 +653,7 @@ global $wppa_supported_camara_brands;
651
 
652
  $name = __('Are you going to use GPX data?', 'wp-photo-album-plus');
653
  $desc = __('Some cameras and mobile devices save the geographic location where the photo is taken.', 'wp-photo-album-plus');
654
- $help = esc_js(__('A Google map can be displayed in slideshows.', 'wp-photo-album-plus'));
655
  $slug = 'wppa_i_gpx';
656
  $opts = array('', __('yes', 'wp-photo-album-plus'), __('no', 'wp-photo-album-plus'));
657
  $vals = array('', 'yes', 'no');
@@ -660,7 +662,7 @@ global $wppa_supported_camara_brands;
660
 
661
  $name = __('Are you going to use Fotomoto?', 'wp-photo-album-plus');
662
  $desc = __('<a href="http://www.fotomoto.com/" target="_blank" >Fotomoto</a> is an on-line print service.', 'wp-photo-album-plus');
663
- $help = esc_js(__('If you answer Yes, you will have to open an account on Fotomoto.', 'wp-photo-album-plus'));
664
  $slug = 'wppa_i_fotomoto';
665
  $opts = array('', __('yes', 'wp-photo-album-plus'), __('no', 'wp-photo-album-plus'));
666
  $vals = array('', 'yes', 'no');
@@ -669,7 +671,7 @@ global $wppa_supported_camara_brands;
669
 
670
  $name = __('Are you going to add videofiles?', 'wp-photo-album-plus');
671
  $desc = __('You can mix videos and photos in any album.', 'wp-photo-album-plus');
672
- $help = esc_js(__('You can configure the details later', 'wp-photo-album-plus'));
673
  $slug = 'wppa_i_video';
674
  $opts = array('', __('yes', 'wp-photo-album-plus'), __('no', 'wp-photo-album-plus'));
675
  $vals = array('', 'yes', 'no');
@@ -678,7 +680,7 @@ global $wppa_supported_camara_brands;
678
 
679
  $name = __('Are you going to add audiofiles?', 'wp-photo-album-plus');
680
  $desc = __('You can add audio to photos in any album.', 'wp-photo-album-plus');
681
- $help = esc_js(__('You can configure the details later', 'wp-photo-album-plus'));
682
  $slug = 'wppa_i_audio';
683
  $opts = array('', __('yes', 'wp-photo-album-plus'), __('no', 'wp-photo-album-plus'));
684
  $vals = array('', 'yes', 'no');
@@ -687,7 +689,7 @@ global $wppa_supported_camara_brands;
687
 
688
  $name = __('Are you going to upload 3D stereo photos?', 'wp-photo-album-plus');
689
  $desc = __('You can add l-r and r-l stereo photo pairs.', 'wp-photo-album-plus');
690
- $help = esc_js(__('You can configure the details later', 'wp-photo-album-plus'));
691
  $slug = 'wppa_i_stereo';
692
  $opts = array('', __('yes', 'wp-photo-album-plus'), __('no', 'wp-photo-album-plus'));
693
  $vals = array('', 'yes', 'no');
@@ -696,7 +698,7 @@ global $wppa_supported_camara_brands;
696
 
697
  $name = __('Are you going to upload pdf files?', 'wp-photo-album-plus');
698
  $desc = __('You can add pdf files in any album.', 'wp-photo-album-plus');
699
- $help = esc_js(__('You can configure the details later', 'wp-photo-album-plus'));
700
  $slug = 'wppa_i_pdf';
701
  $opts = array('', __('yes', 'wp-photo-album-plus'), __('no', 'wp-photo-album-plus'));
702
  $vals = array('', 'yes', 'no');
@@ -705,11 +707,11 @@ global $wppa_supported_camara_brands;
705
 
706
  $name = __('Done?', 'wp-photo-album-plus');
707
  $desc = __('If you are ready answering these questions, select <b>yes</b>', 'wp-photo-album-plus');
708
- $help = esc_js(__('You can change any setting later, and be more specific and add a lot of settings. For now it is enough, go create albums and upload photos!', 'wp-photo-album-plus'));
709
  $slug = 'wppa_i_done';
710
  $opts = array('', __('yes', 'wp-photo-album-plus'));
711
  $vals = array('', 'yes');
712
- $closetext = esc_js(__('Thank you!. The most important settings are done now. You can refine your settings, the behaviour and appearance of WPPA+ in the Tables below.', 'wp-photo-album-plus'));
713
  $postaction = 'alert(\''.$closetext.'\');setTimeout(\'document.location.reload(true)\', 1000)';
714
  $html = wppa_select($slug, $opts, $vals, '', '', false, $postaction);
715
  wppa_setting($slug, '99', $name, $desc, $html, $help, $clas, $tags);
@@ -757,10 +759,10 @@ global $wppa_supported_camara_brands;
757
  {
758
  $name = __('Column Width', 'wp-photo-album-plus');
759
  $desc = __('The width of the main column in your theme\'s display area.', 'wp-photo-album-plus');
760
- $help = esc_js(__('Enter the width of the main column in your theme\'s display area.', 'wp-photo-album-plus'));
761
- $help .= '\n'.esc_js(__('You should set this value correctly to make sure the fullsize images are properly aligned horizontally.', 'wp-photo-album-plus'));
762
- $help .= '\n\n'.esc_js(__('You may enter \'auto\' for use in themes that have a floating content column.', 'wp-photo-album-plus'));
763
- $help .= '\n'.esc_js(__('The use of \'auto\' is required for responsive themes.', 'wp-photo-album-plus'));
764
  $slug = 'wppa_colwidth';
765
  $onchange = 'wppaCheckFullHalign()';
766
  $html = wppa_input($slug, '40px', '', __('pixels wide', 'wp-photo-album-plus'), $onchange);
@@ -770,7 +772,7 @@ global $wppa_supported_camara_brands;
770
 
771
  $name = __('Initial Width', 'wp-photo-album-plus');
772
  $desc = __('The most often displayed colun width in responsive theme', 'wp-photo-album-plus');
773
- $help = esc_js(__('Change this value only if your responsive theme shows initially a wrong column width.', 'wp-photo-album-plus'));
774
  $slug = 'wppa_initial_colwidth';
775
  $html = wppa_input($slug, '40px', '', __('pixels wide', 'wp-photo-album-plus'));
776
  $clas = 'wppa_init_resp_width';
@@ -779,8 +781,8 @@ global $wppa_supported_camara_brands;
779
 
780
  $name = __('Resize on Upload', 'wp-photo-album-plus');
781
  $desc = __('Indicate if the photos should be resized during upload.', 'wp-photo-album-plus');
782
- $help = esc_js(__('If you check this item, the size of the photos will be reduced to the dimension specified in the next item during the upload/import process.', 'wp-photo-album-plus'));
783
- $help .= '\n'.esc_js(__('The photos will never be stretched during upload if they are smaller.', 'wp-photo-album-plus'));
784
  $slug = 'wppa_resize_on_upload';
785
  $onchange = 'wppaCheckResize()';
786
  $html = wppa_checkbox($slug, $onchange);
@@ -790,8 +792,8 @@ global $wppa_supported_camara_brands;
790
 
791
  $name = __('Resize to', 'wp-photo-album-plus');
792
  $desc = __('Resize photos to fit within a given area.', 'wp-photo-album-plus');
793
- $help = esc_js(__('Specify the screensize for the unscaled photos.', 'wp-photo-album-plus'));
794
- $help .= '\n'.esc_js(__('The use of a non-default value is particularly usefull when you make use of lightbox functionality.', 'wp-photo-album-plus'));
795
  $slug = 'wppa_resize_to';
796
  $px = __('pixels', 'wp-photo-album-plus');
797
  $options = array( __('Fit within rectangle as set in Table I-B1,2', 'wp-photo-album-plus'),
@@ -827,7 +829,7 @@ global $wppa_supported_camara_brands;
827
 
828
  $name = __('Photocount threshold', 'wp-photo-album-plus');
829
  $desc = __('Number of photos in an album must exceed.', 'wp-photo-album-plus');
830
- $help = esc_js(__('Photos do not show up in the album unless there are more than this number of photos in the album. This allows you to have cover photos on an album that contains only sub albums without seeing them in the list of sub albums. Usually set to 0 (always show) or 1 (for one cover photo).', 'wp-photo-album-plus'));
831
  $slug = 'wppa_min_thumbs';
832
  $html = wppa_input($slug, '40px', '', __('photos', 'wp-photo-album-plus'));
833
  $clas = '';
@@ -836,8 +838,8 @@ global $wppa_supported_camara_brands;
836
 
837
  $name = __('Border thickness', 'wp-photo-album-plus');
838
  $desc = __('Thickness of wppa+ box borders.', 'wp-photo-album-plus');
839
- $help = esc_js(__('Enter the thickness for the border of the WPPA+ boxes. A number of 0 means: no border.', 'wp-photo-album-plus'));
840
- $help .= '\n'.esc_js(__('WPPA+ boxes are: the navigation bars and the filmstrip.', 'wp-photo-album-plus'));
841
  $slug = 'wppa_bwidth';
842
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
843
  $clas = '';
@@ -846,9 +848,9 @@ global $wppa_supported_camara_brands;
846
 
847
  $name = __('Border radius', 'wp-photo-album-plus');
848
  $desc = __('Radius of wppa+ box borders.', 'wp-photo-album-plus');
849
- $help = esc_js(__('Enter the corner radius for the border of the WPPA+ boxes. A number of 0 means: no rounded corners.', 'wp-photo-album-plus'));
850
- $help .= '\n'.esc_js(__('WPPA+ boxes are: the navigation bars and the filmstrip.', 'wp-photo-album-plus'));
851
- $help .= '\n\n'.esc_js(__('Note that rounded corners are only supported by modern browsers.', 'wp-photo-album-plus'));
852
  $slug = 'wppa_bradius';
853
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
854
  $clas = '';
@@ -866,7 +868,7 @@ global $wppa_supported_camara_brands;
866
 
867
  $name = __('Related count', 'wp-photo-album-plus');
868
  $desc = __('The default maximum number of related photos to find.', 'wp-photo-album-plus');
869
- $help = esc_js(__('When using shortcodes like [wppa type="album" album="#related,desc,23"][/wppa], the maximum number is 23. Omitting the number gives the maximum of this setting.', 'wp-photo-album-plus'));
870
  $slug = 'wppa_related_count';
871
  $html = wppa_input($slug, '40px', '', __('photos', 'wp-photo-album-plus'));
872
  $clas = '';
@@ -884,7 +886,7 @@ global $wppa_supported_camara_brands;
884
 
885
  $name = __('Max file name length', 'wp-photo-album-plus');
886
  $desc = __('The max length of a photo file name excluding the extension.', 'wp-photo-album-plus');
887
- $help = esc_js(__('A setting of 0 means: unlimited.', 'wp-photo-album-plus'));
888
  $slug = 'wppa_max_filename_length';
889
  $html = wppa_input($slug, '40px', '', __('chars', 'wp-photo-album-plus'));
890
  $clas = '';
@@ -893,7 +895,7 @@ global $wppa_supported_camara_brands;
893
 
894
  $name = __('Max photo name length', 'wp-photo-album-plus');
895
  $desc = __('The max length of a photo name.', 'wp-photo-album-plus');
896
- $help = esc_js(__('A setting of 0 means: unlimited.', 'wp-photo-album-plus'));
897
  $slug = 'wppa_max_photoname_length';
898
  $html = wppa_input($slug, '40px', '', __('chars', 'wp-photo-album-plus'));
899
  $clas = '';
@@ -902,7 +904,7 @@ global $wppa_supported_camara_brands;
902
 
903
  $name = __('Sticky header size', 'wp-photo-album-plus');
904
  $desc = __('The height of your sticky header.', 'wp-photo-album-plus');
905
- $help = esc_js(__('If your theme has a sticky header, enter its height here.', 'wp-photo-album-plus'));
906
  $slug = 'wppa_sticky_header_size';
907
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
908
  $clas = '';
@@ -914,8 +916,8 @@ global $wppa_supported_camara_brands;
914
  {
915
  $name = __('Maximum Width', 'wp-photo-album-plus');
916
  $desc = __('The maximum width photos will be displayed in slideshows.', 'wp-photo-album-plus');
917
- $help = esc_js(__('Enter the largest size in pixels as how you want your photos to be displayed.', 'wp-photo-album-plus'));
918
- $help .= '\n'.esc_js(__('This is usually the same as the Column Width (Table I-A1), but it may differ.', 'wp-photo-album-plus'));
919
  $slug = 'wppa_fullsize';
920
  $onchange = 'wppaCheckFullHalign()';
921
  $html = wppa_input($slug, '40px', '', __('pixels wide', 'wp-photo-album-plus'), $onchange);
@@ -925,9 +927,9 @@ global $wppa_supported_camara_brands;
925
 
926
  $name = __('Maximum Height', 'wp-photo-album-plus');
927
  $desc = __('The maximum height photos will be displayed in slideshows.', 'wp-photo-album-plus');
928
- $help = esc_js(__('Enter the largest size in pixels as how you want your photos to be displayed.', 'wp-photo-album-plus'));
929
- $help .= '\n'.esc_js(__('This setting defines the height of the space reserved for photos in slideshows.', 'wp-photo-album-plus'));
930
- $help .= '\n'.esc_js(__('If you change the width of a display by the size=".." shortcode attribute, this value changes proportionally to match the aspect ratio as defined by this and the previous setting.', 'wp-photo-album-plus'));
931
  $slug = 'wppa_maxheight';
932
  $html = wppa_input($slug, '40px', '', __('pixels high', 'wp-photo-album-plus'));
933
  $clas = '';
@@ -936,7 +938,7 @@ global $wppa_supported_camara_brands;
936
 
937
  $name = __('Stretch to fit', 'wp-photo-album-plus');
938
  $desc = __('Stretch photos that are too small.', 'wp-photo-album-plus');
939
- $help = esc_js(__('Images will be stretched to the Maximum Size at display time if they are smaller. Leaving unchecked is recommended. It is better to upload photos that fit well the sizes you use!', 'wp-photo-album-plus'));
940
  $slug = 'wppa_enlarge';
941
  $html = wppa_checkbox($slug);
942
  $clas = '';
@@ -945,10 +947,10 @@ global $wppa_supported_camara_brands;
945
 
946
  $name = __('Slideshow borderwidth', 'wp-photo-album-plus');
947
  $desc = __('The width of the border around slideshow images.', 'wp-photo-album-plus');
948
- $help = esc_js(__('The border is made by the image background being larger than the image itsself (padding).', 'wp-photo-album-plus'));
949
- $help .= '\n'.esc_js(__('Additionally there may be a one pixel outline of a different color. See Table III-A2.', 'wp-photo-album-plus'));
950
- $help .= '\n\n'.esc_js(__('The number you enter here is exclusive the one pixel outline.', 'wp-photo-album-plus'));
951
- $help .= '\n\n'.esc_js(__('If you leave this entry empty, there will be no outline either.', 'wp-photo-album-plus'));
952
  $slug = 'wppa_fullimage_border_width';
953
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
954
  $clas = '';
@@ -957,7 +959,7 @@ global $wppa_supported_camara_brands;
957
 
958
  $name = __('Numbar Max', 'wp-photo-album-plus');
959
  $desc = __('Maximum numbers to display.', 'wp-photo-album-plus');
960
- $help = esc_js(__('In order to attempt to fit on one line, the numbers will be replaced by dots - except the current - when there are more than this number of photos in a slideshow.', 'wp-photo-album-plus'));
961
  $slug = 'wppa_numbar_max';
962
  $html = wppa_input($slug, '40px', '', __('numbers', 'wp-photo-album-plus'));
963
  $clas = 'wppa_numbar';
@@ -977,8 +979,8 @@ global $wppa_supported_camara_brands;
977
 
978
  $name = __('Mini Threshold', 'wp-photo-album-plus');
979
  $desc = __('Show mini text at slideshow smaller than.', 'wp-photo-album-plus');
980
- $help = esc_js(__('Display Next and Prev. as opposed to Next photo and Previous photo when the cotainer is smaller than this size.', 'wp-photo-album-plus'));
981
- $help .= '\n\n'.esc_js(__('Special use in responsive themes.', 'wp-photo-album-plus'));
982
  $slug = 'wppa_mini_treshold';
983
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
984
  $clas = '';
@@ -996,8 +998,8 @@ global $wppa_supported_camara_brands;
996
 
997
  $name = __('Filmstrip Thumbnail Size', 'wp-photo-album-plus');
998
  $desc = __('The size of the filmstrip images.', 'wp-photo-album-plus');
999
- $help = esc_js(__('This size applies to the width or height, whichever is the largest.', 'wp-photo-album-plus'));
1000
- $help .= '\n'.esc_js(__('Changing the thumbnail size may result in all thumbnails being regenerated. this may take a while.', 'wp-photo-album-plus'));
1001
  $slug = 'wppa_film_thumbsize';
1002
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
1003
  $clas = '';
@@ -1017,8 +1019,8 @@ global $wppa_supported_camara_brands;
1017
  {
1018
  $name = __('Thumbnail Size', 'wp-photo-album-plus');
1019
  $desc = __('The size of the thumbnail images.', 'wp-photo-album-plus');
1020
- $help = esc_js(__('This size applies to the width or height, whichever is the largest.', 'wp-photo-album-plus'));
1021
- $help .= '\n'.esc_js(__('Changing the thumbnail size may result in all thumbnails being regenerated. this may take a while.', 'wp-photo-album-plus'));
1022
  $slug = 'wppa_thumbsize';
1023
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
1024
  $clas = 'tt_normal tt_masonry';
@@ -1027,8 +1029,8 @@ global $wppa_supported_camara_brands;
1027
 
1028
  $name = __('Thumbnail Size Alt', 'wp-photo-album-plus');
1029
  $desc = __('The alternative size of the thumbnail images.', 'wp-photo-album-plus');
1030
- $help = esc_js(__('This size applies to the width or height, whichever is the largest.', 'wp-photo-album-plus'));
1031
- $help .= '\n'.esc_js(__('Changing the thumbnail size may result in all thumbnails being regenerated. this may take a while.', 'wp-photo-album-plus'));
1032
  $slug = 'wppa_thumbsize_alt';
1033
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
1034
  $clas = 'tt_normal tt_masonry';
@@ -1076,9 +1078,9 @@ global $wppa_supported_camara_brands;
1076
 
1077
  $name = __('Thumbframe width', 'wp-photo-album-plus');
1078
  $desc = __('The width of the thumbnail frame.', 'wp-photo-album-plus');
1079
- $help = esc_js(__('Set the width of the thumbnail frame.', 'wp-photo-album-plus'));
1080
- $help .= '\n\n'.esc_js(__('Set width, height and spacing for the thumbnail frames.', 'wp-photo-album-plus'));
1081
- $help .= '\n'.esc_js(__('These sizes should be large enough for a thumbnail image and - optionally - the text under it.', 'wp-photo-album-plus'));
1082
  $slug = 'wppa_tf_width';
1083
  $html = wppa_input($slug, '40px', '', __('pixels wide', 'wp-photo-album-plus'));
1084
  $clas = 'tt_normal';
@@ -1087,9 +1089,9 @@ global $wppa_supported_camara_brands;
1087
 
1088
  $name = __('Thumbframe width Alt', 'wp-photo-album-plus');
1089
  $desc = __('The width of the alternative thumbnail frame.', 'wp-photo-album-plus');
1090
- $help = esc_js(__('Set the width of the thumbnail frame.', 'wp-photo-album-plus'));
1091
- $help .= '\n\n'.esc_js(__('Set width, height and spacing for the thumbnail frames.', 'wp-photo-album-plus'));
1092
- $help .= '\n'.esc_js(__('These sizes should be large enough for a thumbnail image and - optionally - the text under it.', 'wp-photo-album-plus'));
1093
  $slug = 'wppa_tf_width_alt';
1094
  $html = wppa_input($slug, '40px', '', __('pixels wide', 'wp-photo-album-plus'));
1095
  $clas = 'tt_normal';
@@ -1098,9 +1100,9 @@ global $wppa_supported_camara_brands;
1098
 
1099
  $name = __('Thumbframe height', 'wp-photo-album-plus');
1100
  $desc = __('The height of the thumbnail frame.', 'wp-photo-album-plus');
1101
- $help = esc_js(__('Set the height of the thumbnail frame.', 'wp-photo-album-plus'));
1102
- $help .= '\n\n'.esc_js(__('Set width, height and spacing for the thumbnail frames.', 'wp-photo-album-plus'));
1103
- $help .= '\n'.esc_js(__('These sizes should be large enough for a thumbnail image and - optionally - the text under it.', 'wp-photo-album-plus'));
1104
  $slug = 'wppa_tf_height';
1105
  $html = wppa_input($slug, '40px', '', __('pixels high', 'wp-photo-album-plus'));
1106
  $clas = 'tt_normal';
@@ -1109,9 +1111,9 @@ global $wppa_supported_camara_brands;
1109
 
1110
  $name = __('Thumbframe height Alt', 'wp-photo-album-plus');
1111
  $desc = __('The height of the alternative thumbnail frame.', 'wp-photo-album-plus');
1112
- $help = esc_js(__('Set the height of the thumbnail frame.', 'wp-photo-album-plus'));
1113
- $help .= '\n\n'.esc_js(__('Set width, height and spacing for the thumbnail frames.', 'wp-photo-album-plus'));
1114
- $help .= '\n'.esc_js(__('These sizes should be large enough for a thumbnail image and - optionally - the text under it.', 'wp-photo-album-plus'));
1115
  $slug = 'wppa_tf_height_alt';
1116
  $html = wppa_input($slug, '40px', '', __('pixels high', 'wp-photo-album-plus'));
1117
  $clas = 'tt_normal';
@@ -1120,9 +1122,9 @@ global $wppa_supported_camara_brands;
1120
 
1121
  $name = __('Thumbnail spacing', 'wp-photo-album-plus');
1122
  $desc = __('The spacing between adjacent thumbnail frames.', 'wp-photo-album-plus');
1123
- $help = esc_js(__('Set the minimal spacing between the adjacent thumbnail frames', 'wp-photo-album-plus'));
1124
- $help .= '\n\n'.esc_js(__('Set width, height and spacing for the thumbnail frames.', 'wp-photo-album-plus'));
1125
- $help .= '\n'.esc_js(__('These sizes should be large enough for a thumbnail image and - optionally - the text under it.', 'wp-photo-album-plus'));
1126
  $slug = 'wppa_tn_margin';
1127
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
1128
  $clas = 'tt_normal tt_masonry';
@@ -1131,8 +1133,8 @@ global $wppa_supported_camara_brands;
1131
 
1132
  $name = __('Auto spacing', 'wp-photo-album-plus');
1133
  $desc = __('Space the thumbnail frames automatic.', 'wp-photo-album-plus');
1134
- $help = esc_js(__('If you check this box, the thumbnail images will be evenly distributed over the available width.', 'wp-photo-album-plus'));
1135
- $help .= '\n'.esc_js(__('In this case, the thumbnail spacing value (setting I-9) will be regarded as a minimum value.', 'wp-photo-album-plus'));
1136
  $slug = 'wppa_thumb_auto';
1137
  $html = wppa_checkbox($slug);
1138
  $clas = 'tt_normal';
@@ -1141,7 +1143,7 @@ global $wppa_supported_camara_brands;
1141
 
1142
  $name = __('Page size', 'wp-photo-album-plus');
1143
  $desc = __('Max number of thumbnails per page.', 'wp-photo-album-plus');
1144
- $help = esc_js(__('Enter the maximum number of thumbnail images per page. A value of 0 indicates no pagination.', 'wp-photo-album-plus'));
1145
  $slug = 'wppa_thumb_page_size';
1146
  $html = wppa_input($slug, '40px', '', __('thumbnails', 'wp-photo-album-plus'));
1147
  $clas = 'tt_always';
@@ -1150,11 +1152,11 @@ global $wppa_supported_camara_brands;
1150
 
1151
  $name = __('Popup size', 'wp-photo-album-plus');
1152
  $desc = __('The size of the thumbnail popup images.', 'wp-photo-album-plus');
1153
- $help = esc_js(__('Enter the size of the popup images. This size should be larger than the thumbnail size.', 'wp-photo-album-plus'));
1154
- $help .= '\n'.esc_js(__('This size should also be at least the cover image size.', 'wp-photo-album-plus'));
1155
- $help .= '\n'.esc_js(__('Changing the popup size may result in all thumbnails being regenerated. this may take a while.', 'wp-photo-album-plus'));
1156
- $help .= '\n\n'.esc_js(__('Although this setting has only visual effect if "Thumb popup" (Table IV-C8) is checked,', 'wp-photo-album-plus'));
1157
- $help .= ' '.esc_js(__('the value must be right as it is the physical size of the thumbnail and coverphoto images.', 'wp-photo-album-plus'));
1158
  $slug = 'wppa_popupsize';
1159
  $clas = 'tt_normal tt_masonry';
1160
  $tags = 'size,thumb';
@@ -1163,8 +1165,8 @@ global $wppa_supported_camara_brands;
1163
 
1164
  $name = __('Use thumbs if fit', 'wp-photo-album-plus');
1165
  $desc = __('Use the thumbnail image files if they are large enough.', 'wp-photo-album-plus');
1166
- $help = esc_js(__('This setting speeds up page loading for small photos.', 'wp-photo-album-plus'));
1167
- $help .= '\n\n'.esc_js(__('Do NOT use this when your thumbnails have a forced aspect ratio (when Table I-C2 is set to anything different from --- same as fullsize ---)', 'wp-photo-album-plus'));
1168
  $slug = 'wppa_use_thumbs_if_fit';
1169
  $html = wppa_checkbox($slug);
1170
  $clas = '';
@@ -1194,8 +1196,8 @@ global $wppa_supported_camara_brands;
1194
  {
1195
  $name = __('Max Cover width', 'wp-photo-album-plus');
1196
  $desc = __('Maximum width for a album cover display.', 'wp-photo-album-plus');
1197
- $help = esc_js(__('Display covers in 2 or more columns if the display area is wider than the given width.', 'wp-photo-album-plus'));
1198
- $help .= '\n'.esc_js(__('This also applies for \'thumbnails as covers\', and will NOT apply to single items.', 'wp-photo-album-plus'));
1199
  $slug = 'wppa_max_cover_width';
1200
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
1201
  $clas = '';
@@ -1204,7 +1206,7 @@ global $wppa_supported_camara_brands;
1204
 
1205
  $name = __('Min Cover height', 'wp-photo-album-plus');
1206
  $desc = __('Minimal height of an album cover.', 'wp-photo-album-plus');
1207
- $help = esc_js(__('If you use this setting to make the albums the same height and you are not satisfied about the lay-out, try increasing the value in the next setting', 'wp-photo-album-plus'));
1208
  $slug = 'wppa_cover_minheight';
1209
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
1210
  $clas = '';
@@ -1213,9 +1215,9 @@ global $wppa_supported_camara_brands;
1213
 
1214
  $name = __('Min Text frame height', 'wp-photo-album-plus');
1215
  $desc = __('The minimal cover text frame height incl header.', 'wp-photo-album-plus');
1216
- $help = esc_js(__('The height starting with the album title up to and including the view- and the slideshow- links.', 'wp-photo-album-plus'));
1217
- $help .= '\n\n'.esc_js(__('This setting enables you to give the album covers the same height while the title does not need to fit on one line.', 'wp-photo-album-plus'));
1218
- $help .= '\n'.esc_js(__('This is the recommended setting to line-up your covers!', 'wp-photo-album-plus'));
1219
  $slug = 'wppa_head_and_text_frame_height';
1220
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
1221
  $clas = '';
@@ -1224,10 +1226,10 @@ global $wppa_supported_camara_brands;
1224
 
1225
  $name = __('Min Description height', 'wp-photo-album-plus');
1226
  $desc = __('The minimal height of the album description text frame.', 'wp-photo-album-plus');
1227
- $help = esc_js(__('The minimal height of the description field in an album cover display.', 'wp-photo-album-plus'));
1228
- $help .= '\n\n'.esc_js(__('This setting enables you to give the album covers the same height provided that the cover images are equally sized and the titles fit on one line.', 'wp-photo-album-plus'));
1229
- $help .= '\n\n'.esc_js(__('To force the coverphotos have equal heights, tick the box in Table I-D7.', 'wp-photo-album-plus'));
1230
- $help .= '\n'.esc_js(__('You may need this setting if changing the previous setting is not sufficient to line-up the covers.', 'wp-photo-album-plus'));
1231
  $slug = 'wppa_text_frame_height';
1232
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
1233
  $clas = '';
@@ -1247,8 +1249,8 @@ global $wppa_supported_camara_brands;
1247
 
1248
  $name = __('Coverphoto size', 'wp-photo-album-plus');
1249
  $desc = __('The size of the coverphoto.', 'wp-photo-album-plus');
1250
- $help = esc_js(__('This size applies to the width or height, whichever is the largest.', 'wp-photo-album-plus'));
1251
- $help .= '\n'.esc_js(__('Changing the coverphoto size may result in all thumbnails being regenerated. this may take a while.', 'wp-photo-album-plus'));
1252
  $slug = 'wppa_smallsize';
1253
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
1254
  $clas = '-cvpr';
@@ -1257,8 +1259,8 @@ global $wppa_supported_camara_brands;
1257
 
1258
  $name = __('Coverphoto size', 'wp-photo-album-plus');
1259
  $desc = __('The size of the coverphoto.', 'wp-photo-album-plus');
1260
- $help = esc_js(__('This size applies to the width or height, whichever is the largest.', 'wp-photo-album-plus'));
1261
- $help .= '\n'.esc_js(__('Changing the coverphoto size may result in all thumbnails being regenerated. this may take a while.', 'wp-photo-album-plus'));
1262
  $slug = 'wppa_smallsize_percentage';
1263
  $html = wppa_input($slug, '40px', '', __('percent', 'wp-photo-album-plus'));
1264
  $clas = 'cvpr';
@@ -1267,8 +1269,8 @@ global $wppa_supported_camara_brands;
1267
 
1268
  $name = __('Coverphoto size multi', 'wp-photo-album-plus');
1269
  $desc = __('The size of coverphotos if more than one.', 'wp-photo-album-plus');
1270
- $help = esc_js(__('This size applies to the width or height, whichever is the largest.', 'wp-photo-album-plus'));
1271
- $help .= '\n'.esc_js(__('Changing the coverphoto size may result in all thumbnails being regenerated. this may take a while.', 'wp-photo-album-plus'));
1272
  $slug = 'wppa_smallsize_multi';
1273
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
1274
  $clas = '-cvpr';
@@ -1277,8 +1279,8 @@ global $wppa_supported_camara_brands;
1277
 
1278
  $name = __('Coverphoto size multi', 'wp-photo-album-plus');
1279
  $desc = __('The size of coverphotos if more than one.', 'wp-photo-album-plus');
1280
- $help = esc_js(__('This size applies to the width or height, whichever is the largest.', 'wp-photo-album-plus'));
1281
- $help .= '\n'.esc_js(__('Changing the coverphoto size may result in all thumbnails being regenerated. this may take a while.', 'wp-photo-album-plus'));
1282
  $slug = 'wppa_smallsize_multi_percentage';
1283
  $html = wppa_input($slug, '40px', '', __('percent', 'wp-photo-album-plus'));
1284
  $clas = 'cvpr';
@@ -1287,9 +1289,9 @@ global $wppa_supported_camara_brands;
1287
 
1288
  $name = __('Size is height', 'wp-photo-album-plus');
1289
  $desc = __('The size of the coverphoto is the height of it.', 'wp-photo-album-plus');
1290
- $help = esc_js(__('If set: the previous setting is the height, if unset: the largest of width and height.', 'wp-photo-album-plus'));
1291
- $help .= '\n'.esc_js(__('This setting applies for coverphoto position top or bottom only (Table IV-D3).', 'wp-photo-album-plus'));
1292
- $help .= '\n'.esc_js(__('This makes it easyer to make the covers of equal height.', 'wp-photo-album-plus'));
1293
  $slug = 'wppa_coversize_is_height';
1294
  $html = wppa_checkbox($slug);
1295
  $clas = '';
@@ -1298,7 +1300,7 @@ global $wppa_supported_camara_brands;
1298
 
1299
  $name = __('Page size', 'wp-photo-album-plus');
1300
  $desc = __('Max number of covers per page.', 'wp-photo-album-plus');
1301
- $help = esc_js(__('Enter the maximum number of album covers per page. A value of 0 indicates no pagination.', 'wp-photo-album-plus'));
1302
  $slug = 'wppa_album_page_size';
1303
  $html = wppa_input($slug, '40px', '', __('covers', 'wp-photo-album-plus'));
1304
  $clas = '';
@@ -1331,7 +1333,7 @@ global $wppa_supported_camara_brands;
1331
 
1332
  $name = __('Avatar size', 'wp-photo-album-plus');
1333
  $desc = __('Size of Avatar images.', 'wp-photo-album-plus');
1334
- $help = esc_js(__('The size of the square avatar; must be > 0 and < 256', 'wp-photo-album-plus'));
1335
  $slug = 'wppa_gravatar_size';
1336
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
1337
  $clas = '';
@@ -1351,7 +1353,7 @@ global $wppa_supported_camara_brands;
1351
  {
1352
  $name = __('Widget width', 'wp-photo-album-plus');
1353
  $desc = __('The useable width within widgets.', 'wp-photo-album-plus');
1354
- $help = esc_js(__('Widget width for photo of the day, general purpose (default), slideshow (default) and upload widgets.', 'wp-photo-album-plus'));
1355
  $slug = 'wppa_widget_width';
1356
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
1357
  $clas = '';
@@ -1360,7 +1362,7 @@ global $wppa_supported_camara_brands;
1360
 
1361
  $name = __('TopTen count', 'wp-photo-album-plus');
1362
  $desc = __('Number of photos in TopTen widget.', 'wp-photo-album-plus');
1363
- $help = esc_js(__('Enter the maximum number of rated photos in the TopTen widget.', 'wp-photo-album-plus'));
1364
  $slug = 'wppa_topten_count';
1365
  $html = wppa_input($slug, '40px', '', __('photos', 'wp-photo-album-plus'));
1366
  $clas = 'wppa_rating';
@@ -1369,9 +1371,9 @@ global $wppa_supported_camara_brands;
1369
 
1370
  $name = __('TopTen size', 'wp-photo-album-plus');
1371
  $desc = __('Size of thumbnails in TopTen widget.', 'wp-photo-album-plus');
1372
- $help = esc_js(__('Enter the size for the mini photos in the TopTen widget.', 'wp-photo-album-plus'));
1373
- $help .= '\n'.esc_js(__('The size applies to the width or height, whatever is the largest.', 'wp-photo-album-plus'));
1374
- $help .= '\n'.esc_js(__('Recommended values: 86 for a two column and 56 for a three column display.', 'wp-photo-album-plus'));
1375
  $slug = 'wppa_topten_size';
1376
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
1377
  $clas = 'wppa_rating';
@@ -1380,7 +1382,7 @@ global $wppa_supported_camara_brands;
1380
 
1381
  $name = __('Comment count', 'wp-photo-album-plus');
1382
  $desc = __('Number of entries in Comment widget.', 'wp-photo-album-plus');
1383
- $help = esc_js(__('Enter the maximum number of entries in the Comment widget.', 'wp-photo-album-plus'));
1384
  $slug = 'wppa_comten_count';
1385
  $html = wppa_input($slug, '40px', '', __('entries', 'wp-photo-album-plus'));
1386
  $clas = '';
@@ -1389,9 +1391,9 @@ global $wppa_supported_camara_brands;
1389
 
1390
  $name = __('Comment size', 'wp-photo-album-plus');
1391
  $desc = __('Size of thumbnails in Comment widget.', 'wp-photo-album-plus');
1392
- $help = esc_js(__('Enter the size for the mini photos in the Comment widget.', 'wp-photo-album-plus'));
1393
- $help .= '\n'.esc_js(__('The size applies to the width or height, whatever is the largest.', 'wp-photo-album-plus'));
1394
- $help .= '\n'.esc_js(__('Recommended values: 86 for a two column and 56 for a three column display.', 'wp-photo-album-plus'));
1395
  $slug = 'wppa_comten_size';
1396
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
1397
  $clas = '';
@@ -1400,7 +1402,7 @@ global $wppa_supported_camara_brands;
1400
 
1401
  $name = __('Thumbnail count', 'wp-photo-album-plus');
1402
  $desc = __('Number of photos in Thumbnail widget.', 'wp-photo-album-plus');
1403
- $help = esc_js(__('Enter the maximum number of rated photos in the Thumbnail widget.', 'wp-photo-album-plus'));
1404
  $slug = 'wppa_thumbnail_widget_count';
1405
  $html = wppa_input($slug, '40px', '', __('photos', 'wp-photo-album-plus'));
1406
  $clas = '';
@@ -1409,9 +1411,9 @@ global $wppa_supported_camara_brands;
1409
 
1410
  $name = __('Thumbnail widget size', 'wp-photo-album-plus');
1411
  $desc = __('Size of thumbnails in Thumbnail widget.', 'wp-photo-album-plus');
1412
- $help = esc_js(__('Enter the size for the mini photos in the Thumbnail widget.', 'wp-photo-album-plus'));
1413
- $help .= '\n'.esc_js(__('The size applies to the width or height, whatever is the largest.', 'wp-photo-album-plus'));
1414
- $help .= '\n'.esc_js(__('Recommended values: 86 for a two column and 56 for a three column display.', 'wp-photo-album-plus'));
1415
  $slug = 'wppa_thumbnail_widget_size';
1416
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
1417
  $clas = '';
@@ -1420,7 +1422,7 @@ global $wppa_supported_camara_brands;
1420
 
1421
  $name = __('LasTen count', 'wp-photo-album-plus');
1422
  $desc = __('Number of photos in Last Ten widget.', 'wp-photo-album-plus');
1423
- $help = esc_js(__('Enter the maximum number of photos in the LasTen widget.', 'wp-photo-album-plus'));
1424
  $slug = 'wppa_lasten_count';
1425
  $html = wppa_input($slug, '40px', '', __('photos', 'wp-photo-album-plus'));
1426
  $clas = '';
@@ -1429,9 +1431,9 @@ global $wppa_supported_camara_brands;
1429
 
1430
  $name = __('LasTen size', 'wp-photo-album-plus');
1431
  $desc = __('Size of thumbnails in Last Ten widget.', 'wp-photo-album-plus');
1432
- $help = esc_js(__('Enter the size for the mini photos in the LasTen widget.', 'wp-photo-album-plus'));
1433
- $help .= '\n'.esc_js(__('The size applies to the width or height, whatever is the largest.', 'wp-photo-album-plus'));
1434
- $help .= '\n'.esc_js(__('Recommended values: 86 for a two column and 56 for a three column display.', 'wp-photo-album-plus'));
1435
  $slug = 'wppa_lasten_size';
1436
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
1437
  $clas = '';
@@ -1440,7 +1442,7 @@ global $wppa_supported_camara_brands;
1440
 
1441
  $name = __('Album widget count', 'wp-photo-album-plus');
1442
  $desc = __('Number of albums in Album widget.', 'wp-photo-album-plus');
1443
- $help = esc_js(__('Enter the maximum number of thumbnail photos of albums in the Album widget.', 'wp-photo-album-plus'));
1444
  $slug = 'wppa_album_widget_count';
1445
  $html = wppa_input($slug, '40px', '', __('albums', 'wp-photo-album-plus'));
1446
  $clas = '';
@@ -1449,9 +1451,9 @@ global $wppa_supported_camara_brands;
1449
 
1450
  $name = __('Album widget size', 'wp-photo-album-plus');
1451
  $desc = __('Size of thumbnails in Album widget.', 'wp-photo-album-plus');
1452
- $help = esc_js(__('Enter the size for the mini photos in the Album widget.', 'wp-photo-album-plus'));
1453
- $help .= '\n'.esc_js(__('The size applies to the width or height, whatever is the largest.', 'wp-photo-album-plus'));
1454
- $help .= '\n'.esc_js(__('Recommended values: 86 for a two column and 56 for a three column display.', 'wp-photo-album-plus'));
1455
  $slug = 'wppa_album_widget_size';
1456
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
1457
  $clas = '';
@@ -1460,7 +1462,7 @@ global $wppa_supported_camara_brands;
1460
 
1461
  $name = __('FeaTen count', 'wp-photo-album-plus');
1462
  $desc = __('Number of photos in Featured Ten widget.', 'wp-photo-album-plus');
1463
- $help = esc_js(__('Enter the maximum number of photos in the FeaTen widget.', 'wp-photo-album-plus'));
1464
  $slug = 'wppa_featen_count';
1465
  $html = wppa_input($slug, '40px', '', __('photos', 'wp-photo-album-plus'));
1466
  $clas = '';
@@ -1469,9 +1471,9 @@ global $wppa_supported_camara_brands;
1469
 
1470
  $name = __('FeaTen size', 'wp-photo-album-plus');
1471
  $desc = __('Size of thumbnails in Featured Ten widget.', 'wp-photo-album-plus');
1472
- $help = esc_js(__('Enter the size for the mini photos in the FeaTen widget.', 'wp-photo-album-plus'));
1473
- $help .= '\n'.esc_js(__('The size applies to the width or height, whatever is the largest.', 'wp-photo-album-plus'));
1474
- $help .= '\n'.esc_js(__('Recommended values: 86 for a two column and 56 for a three column display.', 'wp-photo-album-plus'));
1475
  $slug = 'wppa_featen_size';
1476
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
1477
  $clas = '';
@@ -1500,7 +1502,7 @@ global $wppa_supported_camara_brands;
1500
  {
1501
  $name = __('Number of text lines', 'wp-photo-album-plus');
1502
  $desc = __('Number of lines on the lightbox description area, exclusive the n/m line.', 'wp-photo-album-plus');
1503
- $help = esc_js(__('Enter a number in the range from 0 to 24 or auto', 'wp-photo-album-plus'));
1504
  $slug = 'wppa_ovl_txt_lines';
1505
  $html = wppa_input($slug, '40px', '', __('lines', 'wp-photo-album-plus'));
1506
  $clas = '';
@@ -1566,7 +1568,7 @@ global $wppa_supported_camara_brands;
1566
  {
1567
  $name = __('Default width', 'wp-photo-album-plus');
1568
  $desc = __('The width of most videos', 'wp-photo-album-plus');
1569
- $help = esc_js(__('This setting can be overruled for individual videos on the photo admin pages.', 'wp-photo-album-plus'));
1570
  $slug = 'wppa_video_width';
1571
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
1572
  $clas = 'wppa-video';
@@ -1575,7 +1577,7 @@ global $wppa_supported_camara_brands;
1575
 
1576
  $name = __('Default height', 'wp-photo-album-plus');
1577
  $desc = __('The height of most videos', 'wp-photo-album-plus');
1578
- $help = esc_js(__('This setting can be overruled for individual videos on the photo admin pages.', 'wp-photo-album-plus'));
1579
  $slug = 'wppa_video_height';
1580
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
1581
  $clas = 'wppa-video';
@@ -1714,7 +1716,7 @@ global $wppa_supported_camara_brands;
1714
  {
1715
  $name = __('Breadcrumb on posts', 'wp-photo-album-plus');
1716
  $desc = __('Show breadcrumb navigation bars.', 'wp-photo-album-plus');
1717
- $help = esc_js(__('Indicate whether a breadcrumb navigation should be displayed', 'wp-photo-album-plus'));
1718
  $slug = 'wppa_show_bread_posts';
1719
  $onchange = 'wppaCheckBreadcrumb()';
1720
  $html = wppa_checkbox($slug, $onchange);
@@ -1724,7 +1726,7 @@ global $wppa_supported_camara_brands;
1724
 
1725
  $name = __('Breadcrumb on pages', 'wp-photo-album-plus');
1726
  $desc = __('Show breadcrumb navigation bars.', 'wp-photo-album-plus');
1727
- $help = esc_js(__('Indicate whether a breadcrumb navigation should be displayed', 'wp-photo-album-plus'));
1728
  $slug = 'wppa_show_bread_pages';
1729
  $onchange = 'wppaCheckBreadcrumb()';
1730
  $html = wppa_checkbox($slug, $onchange);
@@ -1734,7 +1736,7 @@ global $wppa_supported_camara_brands;
1734
 
1735
  $name = __('Breadcrumb on search results', 'wp-photo-album-plus');
1736
  $desc = __('Show breadcrumb navigation bars on the search results page.', 'wp-photo-album-plus');
1737
- $help = esc_js(__('Indicate whether a breadcrumb navigation should be displayed above the search results.', 'wp-photo-album-plus'));
1738
  $slug = 'wppa_bc_on_search';
1739
  $html = wppa_checkbox($slug);
1740
  $clas = 'wppa_bc';
@@ -1743,7 +1745,7 @@ global $wppa_supported_camara_brands;
1743
 
1744
  $name = __('Breadcrumb on topten displays', 'wp-photo-album-plus');
1745
  $desc = __('Show breadcrumb navigation bars on topten displays.', 'wp-photo-album-plus');
1746
- $help = esc_js(__('Indicate whether a breadcrumb navigation should be displayed above the topten displays.', 'wp-photo-album-plus'));
1747
  $slug = 'wppa_bc_on_topten';
1748
  $html = wppa_checkbox($slug);
1749
  $clas = 'wppa_bc';
@@ -1752,7 +1754,7 @@ global $wppa_supported_camara_brands;
1752
 
1753
  $name = __('Breadcrumb on last ten displays', 'wp-photo-album-plus');
1754
  $desc = __('Show breadcrumb navigation bars on last ten displays.', 'wp-photo-album-plus');
1755
- $help = esc_js(__('Indicate whether a breadcrumb navigation should be displayed above the last ten displays.', 'wp-photo-album-plus'));
1756
  $slug = 'wppa_bc_on_lasten';
1757
  $html = wppa_checkbox($slug);
1758
  $clas = 'wppa_bc';
@@ -1761,7 +1763,7 @@ global $wppa_supported_camara_brands;
1761
 
1762
  $name = __('Breadcrumb on comment ten displays', 'wp-photo-album-plus');
1763
  $desc = __('Show breadcrumb navigation bars on comment ten displays.', 'wp-photo-album-plus');
1764
- $help = esc_js(__('Indicate whether a breadcrumb navigation should be displayed above the comment ten displays.', 'wp-photo-album-plus'));
1765
  $slug = 'wppa_bc_on_comten';
1766
  $html = wppa_checkbox($slug);
1767
  $clas = 'wppa_bc';
@@ -1770,7 +1772,7 @@ global $wppa_supported_camara_brands;
1770
 
1771
  $name = __('Breadcrumb on tag result displays', 'wp-photo-album-plus');
1772
  $desc = __('Show breadcrumb navigation bars on tag result displays.', 'wp-photo-album-plus');
1773
- $help = esc_js(__('Indicate whether a breadcrumb navigation should be displayed above the tag result displays.', 'wp-photo-album-plus'));
1774
  $slug = 'wppa_bc_on_tag';
1775
  $html = wppa_checkbox($slug);
1776
  $clas = 'wppa_bc';
@@ -1779,7 +1781,7 @@ global $wppa_supported_camara_brands;
1779
 
1780
  $name = __('Breadcrumb on featured ten displays', 'wp-photo-album-plus');
1781
  $desc = __('Show breadcrumb navigation bars on featured ten displays.', 'wp-photo-album-plus');
1782
- $help = esc_js(__('Indicate whether a breadcrumb navigation should be displayed above the featured ten displays.', 'wp-photo-album-plus'));
1783
  $slug = 'wppa_bc_on_featen';
1784
  $html = wppa_checkbox($slug);
1785
  $clas = 'wppa_bc';
@@ -1788,7 +1790,7 @@ global $wppa_supported_camara_brands;
1788
 
1789
  $name = __('Breadcrumb on related photos displays', 'wp-photo-album-plus');
1790
  $desc = __('Show breadcrumb navigation bars on related photos displays.', 'wp-photo-album-plus');
1791
- $help = esc_js(__('Indicate whether a breadcrumb navigation should be displayed above the related photos displays.', 'wp-photo-album-plus'));
1792
  $slug = 'wppa_bc_on_related';
1793
  $html = wppa_checkbox($slug);
1794
  $clas = 'wppa_bc';
@@ -1797,7 +1799,7 @@ global $wppa_supported_camara_brands;
1797
 
1798
  $name = __('Home', 'wp-photo-album-plus');
1799
  $desc = __('Show "Home" in breadcrumb.', 'wp-photo-album-plus');
1800
- $help = esc_js(__('Indicate whether the breadcrumb navigation should start with a "Home"-link', 'wp-photo-album-plus'));
1801
  $slug = 'wppa_show_home';
1802
  $html = wppa_checkbox($slug);
1803
  $clas = 'wppa_bc';
@@ -1815,7 +1817,7 @@ global $wppa_supported_camara_brands;
1815
 
1816
  $name = __('Page', 'wp-photo-album-plus');
1817
  $desc = __('Show the page(s) in breadcrumb.', 'wp-photo-album-plus');
1818
- $help = esc_js(__('Indicate whether the breadcrumb navigation should show the page(hierarchy)', 'wp-photo-album-plus'));
1819
  $slug = 'wppa_show_page';
1820
  $html = wppa_checkbox($slug);
1821
  $clas = 'wppa_bc';
@@ -1833,9 +1835,9 @@ global $wppa_supported_camara_brands;
1833
 
1834
  $name = __('Separator', 'wp-photo-album-plus');
1835
  $desc = __('Breadcrumb separator symbol.', 'wp-photo-album-plus');
1836
- $help = esc_js(__('Select the desired breadcrumb separator element.', 'wp-photo-album-plus'));
1837
- $help .= '\n'.esc_js(__('A text string may contain valid html.', 'wp-photo-album-plus'));
1838
- $help .= '\n'.esc_js(__('An image will be scaled automatically if you set the navigation font size.', 'wp-photo-album-plus'));
1839
  $slug = 'wppa_bc_separator';
1840
  $options = array('&amp;raquo', '&amp;rsaquo', '&amp;gt', '&amp;bull', __('Text (html):', 'wp-photo-album-plus'), __('Image (url):', 'wp-photo-album-plus'));
1841
  $values = array('raquo', 'rsaquo', 'gt', 'bull', 'txt', 'url');
@@ -1847,8 +1849,8 @@ global $wppa_supported_camara_brands;
1847
 
1848
  $name = __('Html', 'wp-photo-album-plus');
1849
  $desc = __('Breadcrumb separator text.', 'wp-photo-album-plus');
1850
- $help = esc_js(__('Enter the HTML code that produces the separator symbol you want.', 'wp-photo-album-plus'));
1851
- $help .= '\n'.esc_js(__('It may be as simple as \'-\' (without the quotes) or as complex as a tag like <div>..</div>.', 'wp-photo-album-plus'));
1852
  $slug = 'wppa_bc_txt';
1853
  $html = wppa_input($slug, '90%', '300px');
1854
  $clas = $slug;
@@ -1857,7 +1859,7 @@ global $wppa_supported_camara_brands;
1857
 
1858
  $name = __('Image Url', 'wp-photo-album-plus');
1859
  $desc = __('Full url to separator image.', 'wp-photo-album-plus');
1860
- $help = esc_js(__('Enter the full url to the image you want to use for the separator symbol.', 'wp-photo-album-plus'));
1861
  $slug = 'wppa_bc_url';
1862
  $html = wppa_input($slug, '90%', '300px');
1863
  $clas = $slug;
@@ -1877,7 +1879,7 @@ global $wppa_supported_camara_brands;
1877
 
1878
  $name = __('Thumblink on slideshow', 'wp-photo-album-plus');
1879
  $desc = __('Show a thumb link on slideshow bc.', 'wp-photo-album-plus');
1880
- $help = esc_js(__('Show a link to thumbnail display on an breadcrumb above a slideshow', 'wp-photo-album-plus'));
1881
  $slug = 'wppa_bc_slide_thumblink';
1882
  $html = wppa_checkbox($slug);
1883
  $clas = '';
@@ -1904,7 +1906,7 @@ global $wppa_supported_camara_brands;
1904
 
1905
  $name = __('Start/stop', 'wp-photo-album-plus');
1906
  $desc = __('Show the Start/Stop slideshow bar.', 'wp-photo-album-plus');
1907
- $help = esc_js(__('If checked: display the start/stop slideshow navigation bar above the full-size images and slideshow', 'wp-photo-album-plus'));
1908
  $slug = 'wppa_show_startstop_navigation';
1909
  $html = wppa_checkbox($slug);
1910
  $clas = '';
@@ -1913,7 +1915,7 @@ global $wppa_supported_camara_brands;
1913
 
1914
  $name = __('Browse bar', 'wp-photo-album-plus');
1915
  $desc = __('Show Browse photos bar.', 'wp-photo-album-plus');
1916
- $help = esc_js(__('If checked: display the preveous/next navigation bar under the full-size images and slideshow', 'wp-photo-album-plus'));
1917
  $slug = 'wppa_show_browse_navigation';
1918
  $html = wppa_checkbox($slug);
1919
  $clas = '';
@@ -1922,7 +1924,7 @@ global $wppa_supported_camara_brands;
1922
 
1923
  $name = __('Filmstrip', 'wp-photo-album-plus');
1924
  $desc = __('Show Filmstrip navigation bar.', 'wp-photo-album-plus');
1925
- $help = esc_js(__('If checked: display the filmstrip navigation bar under the full_size images and slideshow', 'wp-photo-album-plus'));
1926
  $slug = 'wppa_filmstrip';
1927
  $html = wppa_checkbox($slug);
1928
  $clas = '';
@@ -1931,7 +1933,7 @@ global $wppa_supported_camara_brands;
1931
 
1932
  $name = __('Film seam', 'wp-photo-album-plus');
1933
  $desc = __('Show seam between end and start of film.', 'wp-photo-album-plus');
1934
- $help = esc_js(__('If checked: display the wrap-around point in the filmstrip', 'wp-photo-album-plus'));
1935
  $slug = 'wppa_film_show_glue';
1936
  $html = wppa_checkbox($slug);
1937
  $clas = '';
@@ -1940,7 +1942,7 @@ global $wppa_supported_camara_brands;
1940
 
1941
  $name = __('Photo name', 'wp-photo-album-plus');
1942
  $desc = __('Display photo name.', 'wp-photo-album-plus');
1943
- $help = esc_js(__('If checked: display the name of the photo under the slideshow image.', 'wp-photo-album-plus'));
1944
  $slug = 'wppa_show_full_name';
1945
  $html = wppa_checkbox($slug);
1946
  $clas = '';
@@ -1958,7 +1960,7 @@ global $wppa_supported_camara_brands;
1958
 
1959
  $name = __('Photo desc', 'wp-photo-album-plus');
1960
  $desc = __('Display Photo description.', 'wp-photo-album-plus');
1961
- $help = esc_js(__('If checked: display the description of the photo under the slideshow image.', 'wp-photo-album-plus'));
1962
  $slug = 'wppa_show_full_desc';
1963
  $html = wppa_checkbox($slug);
1964
  $clas = '';
@@ -1976,7 +1978,7 @@ global $wppa_supported_camara_brands;
1976
 
1977
  $name = __('Rating system', 'wp-photo-album-plus');
1978
  $desc = __('Enable the rating system.', 'wp-photo-album-plus');
1979
- $help = esc_js(__('If checked, the photo rating system will be enabled.', 'wp-photo-album-plus'));
1980
  $slug = 'wppa_rating_on';
1981
  $onchange = 'wppaCheckRating()';
1982
  $html = wppa_checkbox($slug, $onchange);
@@ -1986,7 +1988,7 @@ global $wppa_supported_camara_brands;
1986
 
1987
  $name = __('Comments system', 'wp-photo-album-plus');
1988
  $desc = __('Enable the comments system.', 'wp-photo-album-plus');
1989
- $help = esc_js(__('Display the comments box under the fullsize images and let users enter their comments on individual photos.', 'wp-photo-album-plus'));
1990
  $slug = 'wppa_show_comments';
1991
  $onchange = 'wppaCheckComments()';
1992
  $html = wppa_checkbox($slug, $onchange);
@@ -2031,8 +2033,8 @@ global $wppa_supported_camara_brands;
2031
 
2032
  $name = __('Big Browse Buttons', 'wp-photo-album-plus');
2033
  $desc = __('Enable invisible browsing buttons.', 'wp-photo-album-plus');
2034
- $help = esc_js(__('If checked, the fullsize image is covered by two invisible areas that act as browse buttons.', 'wp-photo-album-plus'));
2035
- $help .= '\n\n'.esc_js(__('Make sure the Full height (Table I-B2) is properly configured to prevent these areas to overlap unwanted space.', 'wp-photo-album-plus'));
2036
  $slug = 'wppa_show_bbb';
2037
  $html = wppa_checkbox($slug);
2038
  $clas = '';
@@ -2041,7 +2043,7 @@ global $wppa_supported_camara_brands;
2041
 
2042
  $name = __('Ugly Browse Buttons', 'wp-photo-album-plus');
2043
  $desc = __('Enable the ugly browsing buttons.', 'wp-photo-album-plus');
2044
- $help = esc_js(__('If checked, the fullsize image is covered by two browse buttons.', 'wp-photo-album-plus'));
2045
  $slug = 'wppa_show_ubb';
2046
  $html = wppa_checkbox($slug);
2047
  $clas = '';
@@ -2059,8 +2061,8 @@ global $wppa_supported_camara_brands;
2059
 
2060
  $name = __('Show custom box', 'wp-photo-album-plus');
2061
  $desc = __('Display the custom box in the slideshow', 'wp-photo-album-plus');
2062
- $help = esc_js(__('You can fill the custom box with any html you like. It will not be checked, so it is your own responsibility to close tags properly.', 'wp-photo-album-plus'));
2063
- $help .= '\n\n'.esc_js(__('The position of the box can be defined in Table IX-E.', 'wp-photo-album-plus'));
2064
  $slug = 'wppa_custom_on';
2065
  $onchange = 'wppaCheckCustom()';
2066
  $html = wppa_checkbox($slug, $onchange);
@@ -2070,8 +2072,8 @@ global $wppa_supported_camara_brands;
2070
 
2071
  $name = __('Custom content', 'wp-photo-album-plus');
2072
  $desc = __('The content (html) of the custom box.', 'wp-photo-album-plus');
2073
- $help = esc_js(__('You can fill the custom box with any html you like. It will not be checked, so it is your own responsibility to close tags properly.', 'wp-photo-album-plus'));
2074
- $help .= '\n\n'.esc_js(__('The position of the box can be defined in Table IX-E.', 'wp-photo-album-plus'));
2075
  $slug = 'wppa_custom_content';
2076
  $html = wppa_textarea($slug, $name);
2077
  $clas = 'wppa_custom_';
@@ -2080,7 +2082,7 @@ global $wppa_supported_camara_brands;
2080
 
2081
  $name = __('Slideshow/Number bar', 'wp-photo-album-plus');
2082
  $desc = __('Display the Slideshow / Number bar.', 'wp-photo-album-plus');
2083
- $help = esc_js(__('If checked: display the number boxes on slideshow', 'wp-photo-album-plus'));
2084
  $slug = 'wppa_show_slideshownumbar';
2085
  $onchange = 'wppaCheckNumbar()';
2086
  $html = wppa_checkbox($slug, $onchange);
@@ -2090,7 +2092,7 @@ global $wppa_supported_camara_brands;
2090
 
2091
  $name = __('IPTC system', 'wp-photo-album-plus');
2092
  $desc = __('Enable the iptc system.', 'wp-photo-album-plus');
2093
- $help = esc_js(__('Display the iptc box under the fullsize images.', 'wp-photo-album-plus'));
2094
  $slug = 'wppa_show_iptc';
2095
  $onchange = '';
2096
  $html = wppa_checkbox($slug);
@@ -2100,7 +2102,7 @@ global $wppa_supported_camara_brands;
2100
 
2101
  $name = __('IPTC open', 'wp-photo-album-plus');
2102
  $desc = __('Display the iptc box initially opened.', 'wp-photo-album-plus');
2103
- $help = esc_js(__('Display the iptc box under the fullsize images initially open.', 'wp-photo-album-plus'));
2104
  $slug = 'wppa_show_iptc_open';
2105
  $onchange = '';
2106
  $html = wppa_checkbox($slug);
@@ -2110,7 +2112,7 @@ global $wppa_supported_camara_brands;
2110
 
2111
  $name = __('EXIF system', 'wp-photo-album-plus');
2112
  $desc = __('Enable the exif system.', 'wp-photo-album-plus');
2113
- $help = esc_js(__('Display the exif box under the fullsize images.', 'wp-photo-album-plus'));
2114
  $slug = 'wppa_show_exif';
2115
  $onchange = '';
2116
  $html = wppa_checkbox($slug);
@@ -2120,7 +2122,7 @@ global $wppa_supported_camara_brands;
2120
 
2121
  $name = __('EXIF open', 'wp-photo-album-plus');
2122
  $desc = __('Display the exif box initially opened.', 'wp-photo-album-plus');
2123
- $help = esc_js(__('Display the exif box under the fullsize images initially open.', 'wp-photo-album-plus'));
2124
  $slug = 'wppa_show_exif_open';
2125
  $onchange = '';
2126
  $html = wppa_checkbox($slug);
@@ -2191,7 +2193,7 @@ global $wppa_supported_camara_brands;
2191
 
2192
  $name = __('Void pages share', 'wp-photo-album-plus');
2193
  $desc = __('Do not show share on these pages', 'wp-photo-album-plus');
2194
- $help = esc_js(__('Use this for pages that require the user is logged in', 'wp-photo-album-plus'));
2195
  $slug = 'wppa_sm_void_pages';
2196
  $onchange = 'wppaCheckShares()';
2197
  $options = $options_page_post;
@@ -2224,7 +2226,7 @@ global $wppa_supported_camara_brands;
2224
 
2225
  $name = __('The creator\'s Twitter account', 'wp-photo-album-plus');
2226
  $desc = __('The Twitter @username a twitter card should be attributed to.', 'wp-photo-album-plus');
2227
- $help = esc_js(__('If you want to share the image directly - by a so called twitter card - you must enter your twitter account name here', 'wp-photo-album-plus'));
2228
  $slug = 'wppa_twitter_account';
2229
  $html = wppa_input($slug, '150px' );
2230
  $clas = 'wppa_share';
@@ -2316,7 +2318,7 @@ global $wppa_supported_camara_brands;
2316
 
2317
  $name = __('Facebook js SDK', 'wp-photo-album-plus');
2318
  $desc = __('Load Facebook js SDK', 'wp-photo-album-plus');
2319
- $help = esc_js(__('Uncheck this box only when there is a conflict with an other plugin that also loads the Facebook js SDK.', 'wp-photo-album-plus'));
2320
  $slug = 'wppa_load_facebook_sdk';
2321
  $html = wppa_checkbox($slug, $onchange);
2322
  $clas = 'wppa_share';
@@ -2325,7 +2327,7 @@ global $wppa_supported_camara_brands;
2325
 
2326
  $name = __('Share single image', 'wp-photo-album-plus');
2327
  $desc = __('Share a link to a single image, not the slideshow.', 'wp-photo-album-plus');
2328
- $help = esc_js(__('The sharelink points to a page with a single image rather than to the page with the photo in the slideshow.', 'wp-photo-album-plus'));
2329
  $slug = 'wppa_share_single_image';
2330
  $html = wppa_checkbox($slug, $onchange);
2331
  $clas = 'wppa_share';
@@ -2337,7 +2339,7 @@ global $wppa_supported_camara_brands;
2337
  {
2338
  $name = __('Thumbnail name', 'wp-photo-album-plus');
2339
  $desc = __('Display Thumbnail name.', 'wp-photo-album-plus');
2340
- $help = esc_js(__('Display photo name under thumbnail images.', 'wp-photo-album-plus'));
2341
  $slug = 'wppa_thumb_text_name';
2342
  $html = wppa_checkbox($slug);
2343
  $clas = 'tt_normal';
@@ -2355,7 +2357,7 @@ global $wppa_supported_camara_brands;
2355
 
2356
  $name = __('Thumbnail desc', 'wp-photo-album-plus');
2357
  $desc = __('Display Thumbnail description.', 'wp-photo-album-plus');
2358
- $help = esc_js(__('Display description of the photo under thumbnail images.', 'wp-photo-album-plus'));
2359
  $slug = 'wppa_thumb_text_desc';
2360
  $html = wppa_checkbox($slug);
2361
  $clas = 'tt_normal';
@@ -2364,7 +2366,7 @@ global $wppa_supported_camara_brands;
2364
 
2365
  $name = __('Thumbnail rating', 'wp-photo-album-plus');
2366
  $desc = __('Display Thumbnail Rating.', 'wp-photo-album-plus');
2367
- $help = esc_js(__('Display the rating of the photo under the thumbnail image.', 'wp-photo-album-plus'));
2368
  $slug = 'wppa_thumb_text_rating';
2369
  $html = '<span class="wppa_rating">'.wppa_checkbox($slug).'</span>';
2370
  $clas = 'wppa_rating_ tt_normal';
@@ -2373,7 +2375,7 @@ global $wppa_supported_camara_brands;
2373
 
2374
  $name = __('Thumbnail comcount', 'wp-photo-album-plus');
2375
  $desc = __('Display Thumbnail Comment count.', 'wp-photo-album-plus');
2376
- $help = esc_js(__('Display the number of comments to the photo under the thumbnail image.', 'wp-photo-album-plus'));
2377
  $slug = 'wppa_thumb_text_comcount';
2378
  $html = wppa_checkbox($slug);
2379
  $clas = 'tt_normal';
@@ -2382,7 +2384,7 @@ global $wppa_supported_camara_brands;
2382
 
2383
  $name = __('Thumbnail viewcount', 'wp-photo-album-plus');
2384
  $desc = __('Display the number of views.', 'wp-photo-album-plus');
2385
- $help = esc_js(__('Display the number of views under the thumbnail image.', 'wp-photo-album-plus'));
2386
  $slug = 'wppa_thumb_text_viewcount';
2387
  $html = wppa_checkbox($slug);
2388
  $clas = 'tt_normal';
@@ -2391,7 +2393,7 @@ global $wppa_supported_camara_brands;
2391
 
2392
  $name = __('Thumbnail virt album', 'wp-photo-album-plus');
2393
  $desc = __('Display the real album name on virtual album display.', 'wp-photo-album-plus');
2394
- $help = esc_js(__('Display the album name of the photo in parenthesis under the thumbnail on virtual album displays like search results etc.', 'wp-photo-album-plus'));
2395
  $slug = 'wppa_thumb_text_virt_album';
2396
  $html = wppa_checkbox($slug);
2397
  $clas = 'tt_normal';
@@ -2418,7 +2420,7 @@ global $wppa_supported_camara_brands;
2418
 
2419
  $name = __('Popup name', 'wp-photo-album-plus');
2420
  $desc = __('Display Thumbnail name on popup.', 'wp-photo-album-plus');
2421
- $help = esc_js(__('Display photo name under thumbnail images on the popup.', 'wp-photo-album-plus'));
2422
  $slug = 'wppa_popup_text_name';
2423
  $html = wppa_checkbox($slug);
2424
  $clas = 'tt_normal tt_masonry wppa_popup';
@@ -2427,7 +2429,7 @@ global $wppa_supported_camara_brands;
2427
 
2428
  $name = __('Popup (owner)', 'wp-photo-album-plus');
2429
  $desc = __('Display owner on popup.', 'wp-photo-album-plus');
2430
- $help = esc_js(__('Display photo owner under thumbnail images on the popup.', 'wp-photo-album-plus'));
2431
  $slug = 'wppa_popup_text_owner';
2432
  $html = wppa_checkbox($slug);
2433
  $clas = 'tt_normal tt_masonry wppa_popup';
@@ -2436,7 +2438,7 @@ global $wppa_supported_camara_brands;
2436
 
2437
  $name = __('Popup desc', 'wp-photo-album-plus');
2438
  $desc = __('Display Thumbnail description on popup.', 'wp-photo-album-plus');
2439
- $help = esc_js(__('Display description of the photo under thumbnail images on the popup.', 'wp-photo-album-plus'));
2440
  $slug = 'wppa_popup_text_desc';
2441
  $html = wppa_checkbox($slug);
2442
  $clas = 'tt_normal tt_masonry wppa_popup';
@@ -2445,7 +2447,7 @@ global $wppa_supported_camara_brands;
2445
 
2446
  $name = __('Popup desc no links', 'wp-photo-album-plus');
2447
  $desc = __('Strip html anchor tags from descriptions on popups', 'wp-photo-album-plus');
2448
- $help = esc_js(__('Use this option to prevent the display of links that cannot be activated.', 'wp-photo-album-plus'));
2449
  $slug = 'wppa_popup_text_desc_strip';
2450
  $html = wppa_checkbox($slug);
2451
  $clas = 'tt_normal tt_masonry wppa_popup';
@@ -2454,7 +2456,7 @@ global $wppa_supported_camara_brands;
2454
 
2455
  $name = __('Popup rating', 'wp-photo-album-plus');
2456
  $desc = __('Display Thumbnail Rating on popup.', 'wp-photo-album-plus');
2457
- $help = esc_js(__('Display the rating of the photo under the thumbnail image on the popup.', 'wp-photo-album-plus'));
2458
  $slug = 'wppa_popup_text_rating';
2459
  $html = '<span class="wppa_rating">'.wppa_checkbox($slug).'</span>';
2460
  $clas = 'wppa_rating_ tt_normal tt_masonry wppa_popup';
@@ -2463,7 +2465,7 @@ global $wppa_supported_camara_brands;
2463
 
2464
  $name = __('Popup comcount', 'wp-photo-album-plus');
2465
  $desc = __('Display Thumbnail Comment count on popup.', 'wp-photo-album-plus');
2466
- $help = esc_js(__('Display the number of comments of the photo under the thumbnail image on the popup.', 'wp-photo-album-plus'));
2467
  $slug = 'wppa_popup_text_ncomments';
2468
  $html = wppa_checkbox($slug);
2469
  $clas = 'tt_normal tt_masonry wppa_popup';
@@ -2472,7 +2474,7 @@ global $wppa_supported_camara_brands;
2472
 
2473
  $name = __('Show rating count', 'wp-photo-album-plus');
2474
  $desc = __('Display the number of votes along with average ratings.', 'wp-photo-album-plus');
2475
- $help = esc_js(__('If checked, the number of votes is displayed along with average rating displays on thumbnail and popup displays.', 'wp-photo-album-plus'));
2476
  $slug = 'wppa_show_rating_count';
2477
  $html = wppa_checkbox($slug);
2478
  $clas = 'wppa_rating_ tt_normal tt_masonry';
@@ -2535,7 +2537,7 @@ global $wppa_supported_camara_brands;
2535
  {
2536
  $name = __('Covertext', 'wp-photo-album-plus');
2537
  $desc = __('Show the text on the album cover.', 'wp-photo-album-plus');
2538
- $help = esc_js(__('Display the album decription on the album cover', 'wp-photo-album-plus'));
2539
  $slug = 'wppa_show_cover_text';
2540
  $html = wppa_checkbox($slug);
2541
  $clas = '';
@@ -2544,7 +2546,7 @@ global $wppa_supported_camara_brands;
2544
 
2545
  $name = __('Slideshow', 'wp-photo-album-plus');
2546
  $desc = __('Enable the slideshow.', 'wp-photo-album-plus');
2547
- $help = esc_js(__('If you do not want slideshows: uncheck this box. Browsing full size images will remain possible.', 'wp-photo-album-plus'));
2548
  $slug = 'wppa_enable_slideshow';
2549
  $html = wppa_checkbox($slug);
2550
  $clas = '';
@@ -2553,9 +2555,9 @@ global $wppa_supported_camara_brands;
2553
 
2554
  $name = __('Slideshow/Browse', 'wp-photo-album-plus');
2555
  $desc = __('Display the Slideshow / Browse photos link on album covers', 'wp-photo-album-plus');
2556
- $help = esc_js(__('This setting causes the Slideshow link to be displayed on the album cover.', 'wp-photo-album-plus'));
2557
- $help .= '\n\n'.esc_js(__('If slideshows are disabled in item 2 in this table, you will see a browse link to fullsize images.', 'wp-photo-album-plus'));
2558
- $help .= '\n\n'.esc_js(__('If you do not want the browse link either, uncheck this item.', 'wp-photo-album-plus'));
2559
  $slug = 'wppa_show_slideshowbrowselink';
2560
  $html = wppa_checkbox($slug);
2561
  $clas = '';
@@ -2573,7 +2575,7 @@ global $wppa_supported_camara_brands;
2573
 
2574
  $name = __('Treecount', 'wp-photo-album-plus');
2575
  $desc = __('Display the total number of (sub)albums and photos in subalbums', 'wp-photo-album-plus');
2576
- $help = esc_js(__('Displays the total number of sub albums and photos in the entire album tree in parenthesis if the numbers differ from the direct content of the album.', 'wp-photo-album-plus'));
2577
  $slug = 'wppa_show_treecount';
2578
  $opts = array( __('none', 'wp-photo-album-plus'), __('detailed', 'wp-photo-album-plus'), __('totals only', 'wp-photo-album-plus'));
2579
  $vals = array( '-none-', 'detail', 'total' );
@@ -2627,8 +2629,8 @@ global $wppa_supported_camara_brands;
2627
  {
2628
  $name = __('Big Browse Buttons in widget', 'wp-photo-album-plus');
2629
  $desc = __('Enable invisible browsing buttons in widget slideshows.', 'wp-photo-album-plus');
2630
- $help = esc_js(__('If checked, the fullsize image is covered by two invisible areas that act as browse buttons.', 'wp-photo-album-plus'));
2631
- $help .= '\n\n'.esc_js(__('Make sure the Full height (Table I-B2) is properly configured to prevent these areas to overlap unwanted space.', 'wp-photo-album-plus'));
2632
  $slug = 'wppa_show_bbb_widget';
2633
  $html = wppa_checkbox($slug);
2634
  $clas = '';
@@ -2637,8 +2639,8 @@ global $wppa_supported_camara_brands;
2637
 
2638
  $name = __('Ugly Browse Buttons in widget', 'wp-photo-album-plus');
2639
  $desc = __('Enable ugly browsing buttons in widget slideshows.', 'wp-photo-album-plus');
2640
- $help = esc_js(__('If checked, the fullsize image is covered by browse buttons.', 'wp-photo-album-plus'));
2641
- $help .= '\n\n'.esc_js(__('Make sure the Full height (Table I-B2) is properly configured to prevent these areas to overlap unwanted space.', 'wp-photo-album-plus'));
2642
  $slug = 'wppa_show_ubb_widget';
2643
  $html = wppa_checkbox($slug);
2644
  $clas = '';
@@ -2680,8 +2682,8 @@ global $wppa_supported_camara_brands;
2680
 
2681
  $name = __('Overlay slide name', 'wp-photo-album-plus');
2682
  $desc = __('Show name if from slide.', 'wp-photo-album-plus');
2683
- $help = esc_js(__('Shows the photos name on a lightbox display when initiated from a slide.', 'wp-photo-album-plus'));
2684
- $help .= '\n\n'.esc_js(__('This setting also applies to film thumbnails if Table VI-B6a is set to lightbox overlay.', 'wp-photo-album-plus'));
2685
  $slug = 'wppa_ovl_slide_name';
2686
  $html = wppa_checkbox($slug);
2687
  $clas = '';
@@ -2690,8 +2692,8 @@ global $wppa_supported_camara_brands;
2690
 
2691
  $name = __('Overlay slide desc', 'wp-photo-album-plus');
2692
  $desc = __('Show description if from slide.', 'wp-photo-album-plus');
2693
- $help = esc_js(__('Shows the photos description on a lightbox display when initiated from a slide.', 'wp-photo-album-plus'));
2694
- $help .= '\n\n'.esc_js(__('This setting also applies to film thumbnails if Table VI-B6a is set to lightbox overlay.', 'wp-photo-album-plus'));
2695
  $slug = 'wppa_ovl_slide_desc';
2696
  $html = wppa_checkbox($slug);
2697
  $clas = '';
@@ -2700,8 +2702,8 @@ global $wppa_supported_camara_brands;
2700
 
2701
  $name = __('Overlay thumb name', 'wp-photo-album-plus');
2702
  $desc = __('Show the photos name if from thumb.', 'wp-photo-album-plus');
2703
- $help = esc_js(__('Shows the name on a lightbox display when initiated from a standard thumbnail or a widget thumbnail.', 'wp-photo-album-plus'));
2704
- $help .= '\n\n'.esc_js(__('This setting applies to standard thumbnails, thumbnail-, comment-, topten- and lasten-widget.', 'wp-photo-album-plus'));
2705
  $slug = 'wppa_ovl_thumb_name';
2706
  $html = wppa_checkbox($slug);
2707
  $clas = '';
@@ -2710,8 +2712,8 @@ global $wppa_supported_camara_brands;
2710
 
2711
  $name = __('Overlay thumb desc', 'wp-photo-album-plus');
2712
  $desc = __('Show description if from thumb.', 'wp-photo-album-plus');
2713
- $help = esc_js(__('Shows the photos description on a lightbox display when initiated from a standard thumbnail or a widget thumbnail.', 'wp-photo-album-plus'));
2714
- $help .= '\n\n'.esc_js(__('This setting applies to standard thumbnails, thumbnail-, comment-, topten- and lasten-widget.', 'wp-photo-album-plus'));
2715
  $slug = 'wppa_ovl_thumb_desc';
2716
  $html = wppa_checkbox($slug);
2717
  $clas = '';
@@ -2720,7 +2722,7 @@ global $wppa_supported_camara_brands;
2720
 
2721
  $name = __('Overlay potd name', 'wp-photo-album-plus');
2722
  $desc = __('Show the photos name if from photo of the day.', 'wp-photo-album-plus');
2723
- $help = esc_js(__('Shows the name on a lightbox display when initiated from the photo of the day.', 'wp-photo-album-plus'));
2724
  $slug = 'wppa_ovl_potd_name';
2725
  $html = wppa_checkbox($slug);
2726
  $clas = '';
@@ -2729,7 +2731,7 @@ global $wppa_supported_camara_brands;
2729
 
2730
  $name = __('Overlay potd desc', 'wp-photo-album-plus');
2731
  $desc = __('Show description if from from photo of the day.', 'wp-photo-album-plus');
2732
- $help = esc_js(__('Shows the photos description on a lightbox display when initiated from the photo of the day.', 'wp-photo-album-plus'));
2733
  $slug = 'wppa_ovl_potd_desc';
2734
  $html = wppa_checkbox($slug);
2735
  $clas = '';
@@ -2738,7 +2740,7 @@ global $wppa_supported_camara_brands;
2738
 
2739
  $name = __('Overlay sphoto name', 'wp-photo-album-plus');
2740
  $desc = __('Show the photos name if from a single photo.', 'wp-photo-album-plus');
2741
- $help = esc_js(__('Shows the name on a lightbox display when initiated from a single photo.', 'wp-photo-album-plus'));
2742
  $slug = 'wppa_ovl_sphoto_name';
2743
  $html = wppa_checkbox($slug);
2744
  $clas = '';
@@ -2747,7 +2749,7 @@ global $wppa_supported_camara_brands;
2747
 
2748
  $name = __('Overlay sphoto desc', 'wp-photo-album-plus');
2749
  $desc = __('Show description if from from a single photo.', 'wp-photo-album-plus');
2750
- $help = esc_js(__('Shows the photos description on a lightbox display when initiated from a single photo.', 'wp-photo-album-plus'));
2751
  $slug = 'wppa_ovl_sphoto_desc';
2752
  $html = wppa_checkbox($slug);
2753
  $clas = '';
@@ -2756,7 +2758,7 @@ global $wppa_supported_camara_brands;
2756
 
2757
  $name = __('Overlay mphoto name', 'wp-photo-album-plus');
2758
  $desc = __('Show the photos name if from a single media style photo.', 'wp-photo-album-plus');
2759
- $help = esc_js(__('Shows the name on a lightbox display when initiated from a single media style photo.', 'wp-photo-album-plus'));
2760
  $slug = 'wppa_ovl_mphoto_name';
2761
  $html = wppa_checkbox($slug);
2762
  $clas = '';
@@ -2765,7 +2767,7 @@ global $wppa_supported_camara_brands;
2765
 
2766
  $name = __('Overlay mphoto desc', 'wp-photo-album-plus');
2767
  $desc = __('Show description if from from a media style photo.', 'wp-photo-album-plus');
2768
- $help = esc_js(__('Shows the photos description on a lightbox display when initiated from a single media style photo.', 'wp-photo-album-plus'));
2769
  $slug = 'wppa_ovl_mphoto_desc';
2770
  $html = wppa_checkbox($slug);
2771
  $clas = '';
@@ -2774,7 +2776,7 @@ global $wppa_supported_camara_brands;
2774
 
2775
  $name = __('Overlay albumwidget name', 'wp-photo-album-plus');
2776
  $desc = __('Show the photos name if from the album widget.', 'wp-photo-album-plus');
2777
- $help = esc_js(__('Shows the name on a lightbox display when initiated from the album widget.', 'wp-photo-album-plus'));
2778
  $slug = 'wppa_ovl_alw_name';
2779
  $html = wppa_checkbox($slug);
2780
  $clas = '';
@@ -2783,7 +2785,7 @@ global $wppa_supported_camara_brands;
2783
 
2784
  $name = __('Overlay albumwidget desc', 'wp-photo-album-plus');
2785
  $desc = __('Show description if from from the album widget.', 'wp-photo-album-plus');
2786
- $help = esc_js(__('Shows the photos description on a lightbox display when initiated from the album widget.', 'wp-photo-album-plus'));
2787
  $slug = 'wppa_ovl_alw_desc';
2788
  $html = wppa_checkbox($slug);
2789
  $clas = '';
@@ -2792,7 +2794,7 @@ global $wppa_supported_camara_brands;
2792
 
2793
  $name = __('Overlay coverphoto name', 'wp-photo-album-plus');
2794
  $desc = __('Show the photos name if from the album cover.', 'wp-photo-album-plus');
2795
- $help = esc_js(__('Shows the name on a lightbox display when initiated from the album coverphoto.', 'wp-photo-album-plus'));
2796
  $slug = 'wppa_ovl_cover_name';
2797
  $html = wppa_checkbox($slug);
2798
  $clas = '';
@@ -2801,7 +2803,7 @@ global $wppa_supported_camara_brands;
2801
 
2802
  $name = __('Overlay coverphoto desc', 'wp-photo-album-plus');
2803
  $desc = __('Show description if from from the album cover.', 'wp-photo-album-plus');
2804
- $help = esc_js(__('Shows the photos description on a lightbox display when initiated from the album coverphoto.', 'wp-photo-album-plus'));
2805
  $slug = 'wppa_ovl_cover_desc';
2806
  $html = wppa_checkbox($slug);
2807
  $clas = '';
@@ -2810,7 +2812,7 @@ global $wppa_supported_camara_brands;
2810
 
2811
  $name = __('Overlay add owner', 'wp-photo-album-plus');
2812
  $desc = __('Add the owner to the photo name on lightbox displays.', 'wp-photo-album-plus');
2813
- $help = esc_js(__('This setting is independant of the show name switches and is a global setting.', 'wp-photo-album-plus'));
2814
  $slug = 'wppa_ovl_add_owner';
2815
  $html = wppa_checkbox($slug);
2816
  $clas = '';
@@ -2828,7 +2830,7 @@ global $wppa_supported_camara_brands;
2828
 
2829
  $name = __('Overlay show legenda', 'wp-photo-album-plus');
2830
  $desc = __('Show "Press f for fullsize" etc. on lightbox.', 'wp-photo-album-plus');
2831
- $help = esc_js(__('Independant of this setting, it will not show up on mobile devices.', 'wp-photo-album-plus'));
2832
  $slug = 'wppa_ovl_show_legenda';
2833
  $html = wppa_checkbox($slug);
2834
  $clas = '';
@@ -2846,7 +2848,7 @@ global $wppa_supported_camara_brands;
2846
 
2847
  $name = __('Show rating', 'wp-photo-album-plus');
2848
  $desc = __('Shows and enables rating on lightbox.', 'wp-photo-album-plus');
2849
- $help = esc_js(__('This works for 5 and 10 stars only, not for single votes or numerical display', 'wp-photo-album-plus'));
2850
  $slug = 'wppa_ovl_rating';
2851
  $html = wppa_checkbox($slug);
2852
  $clas = '';
@@ -2864,7 +2866,7 @@ global $wppa_supported_camara_brands;
2864
 
2865
  $name = __('Show Zoom in', 'wp-photo-album-plus');
2866
  $desc = __('Display tooltip "Zoom in" along with the magnifier cursor.', 'wp-photo-album-plus');
2867
- $help = esc_js(__('If you select ---none--- in Table I-G2 for magnifier size, the tooltop contains the photo name.', 'wp-photo-album-plus') );
2868
  $slug = 'wppa_show_zoomin';
2869
  $html = wppa_checkbox($slug);
2870
  $clas = '';
@@ -2876,7 +2878,7 @@ global $wppa_supported_camara_brands;
2876
  {
2877
  $name = __('User upload Photos', 'wp-photo-album-plus');
2878
  $desc = __('Enable frontend upload.', 'wp-photo-album-plus');
2879
- $help = esc_js(__('If you check this item, frontend upload will be enabled according to the rules set in the following items of this table.', 'wp-photo-album-plus'));
2880
  $slug = 'wppa_user_upload_on';
2881
  $onchange = 'wppaFollow(\'user_upload_on\',\'wppa_feup\');';
2882
  $html = wppa_checkbox($slug, $onchange);
@@ -2886,7 +2888,7 @@ global $wppa_supported_camara_brands;
2886
 
2887
  $name = __('User upload Video', 'wp-photo-album-plus');
2888
  $desc = __('Enable frontend upload of video.', 'wp-photo-album-plus');
2889
- $help = esc_js(__('Requires Table II-H1 to be ticked.', 'wp-photo-album-plus'));
2890
  $slug = 'wppa_user_upload_video_on';
2891
  $onchange = '';
2892
  $html = wppa_checkbox($slug, $onchange);
@@ -2896,7 +2898,7 @@ global $wppa_supported_camara_brands;
2896
 
2897
  $name = __('User upload Audio', 'wp-photo-album-plus');
2898
  $desc = __('Enable frontend upload of audio.', 'wp-photo-album-plus');
2899
- $help = esc_js(__('Requires Table II-H1 to be ticked.', 'wp-photo-album-plus'));
2900
  $slug = 'wppa_user_upload_audio_on';
2901
  $onchange = '';
2902
  $html = wppa_checkbox($slug, $onchange);
@@ -2906,8 +2908,8 @@ global $wppa_supported_camara_brands;
2906
 
2907
  $name = __('User upload Photos login', 'wp-photo-album-plus');
2908
  $desc = __('Frontend upload requires the user is logged in.', 'wp-photo-album-plus');
2909
- $help = esc_js(__('If you uncheck this box, make sure you check the item Owners only in Table VII-D1.', 'wp-photo-album-plus'));
2910
- $help .= '\n'.esc_js(__('Also: set the owner to ---public--- of the albums that are allowed to be uploaded to.', 'wp-photo-album-plus'));
2911
  $slug = 'wppa_user_upload_login';
2912
  $html = wppa_checkbox($slug);
2913
  $clas = 'wppa_feup';
@@ -2916,7 +2918,7 @@ global $wppa_supported_camara_brands;
2916
 
2917
  $name = __('User upload roles', 'wp-photo-album-plus');
2918
  $desc = __('Optionally limit access to selected userroles', 'wp-photo-album-plus');
2919
- $help = esc_js(__('This selection only applies when the previous item is ticked', 'wp-photo-album-plus'));
2920
  $slug = 'wppa_user_opload_roles';
2921
  $roles = $wp_roles->roles;
2922
  $opts = array();
@@ -2965,7 +2967,7 @@ global $wppa_supported_camara_brands;
2965
 
2966
  $name = __('User Watermark', 'wp-photo-album-plus');
2967
  $desc = __('Uploading users may select watermark settings', 'wp-photo-album-plus');
2968
- $help = esc_js(__('If checked, anyone who can upload and/or import photos can overrule the default watermark settings.', 'wp-photo-album-plus'));
2969
  $slug = 'wppa_watermark_user';
2970
  $html = wppa_checkbox($slug);
2971
  $clas = 'wppa_watermark wppa_feup';
@@ -2974,7 +2976,7 @@ global $wppa_supported_camara_brands;
2974
 
2975
  $name = __('User name', 'wp-photo-album-plus');
2976
  $desc = __('Uploading users may overrule the default name.', 'wp-photo-album-plus');
2977
- $help = esc_js(__('If checked, the default photo name as defined in Table IX-D13 may be overruled by the user.', 'wp-photo-album-plus'));
2978
  $slug1 = 'wppa_name_user';
2979
  $slug2 = 'wppa_name_user_mandatory';
2980
  $html = wppa_checkbox( $slug1 ) . '<span style="float:left;" >' . __( 'Mandatory', 'wp-photo-album-plus' ) . ':</span>' . wppa_checkbox( $slug2 );
@@ -2984,8 +2986,8 @@ global $wppa_supported_camara_brands;
2984
 
2985
  $name = __('Apply Newphoto desc user', 'wp-photo-album-plus');
2986
  $desc = __('Give each new frontend uploaded photo a standard description.', 'wp-photo-album-plus');
2987
- $help = esc_js(__('If checked, each new photo will get the description (template) as specified in Table IX-D5.', 'wp-photo-album-plus'));
2988
- $help .= '\n\n'.esc_js(__('Note: If the next item is checked, the user can overwrite this', 'wp-photo-album-plus'));
2989
  $slug = 'wppa_apply_newphoto_desc_user';
2990
  $html = wppa_checkbox($slug);
2991
  $clas = 'wppa_feup';
@@ -3004,7 +3006,7 @@ global $wppa_supported_camara_brands;
3004
 
3005
  $name = __('User upload custom', 'wp-photo-album-plus');
3006
  $desc = __('Frontend upload can fill in custom data fields.', 'wp-photo-album-plus');
3007
- $help = esc_js('Custom datafields can be defined in Table II-J10');
3008
  $slug = 'wppa_fe_custom_fields';
3009
  $html = wppa_checkbox($slug);
3010
  $clas = 'wppa_feup custfields';
@@ -3013,7 +3015,7 @@ global $wppa_supported_camara_brands;
3013
 
3014
  $name = __('User upload tags', 'wp-photo-album-plus');
3015
  $desc = __('Frontend upload can add tags.', 'wp-photo-album-plus');
3016
- $help = esc_js(__('You can configure the details of tag addition in Table IX-D18.x', 'wp-photo-album-plus'));
3017
  $slug = 'wppa_fe_upload_tags';
3018
  $onchange = 'wppaFollow(\'fe_upload_tags\', \'wppa_up_tags\');';
3019
  $html = wppa_checkbox($slug, $onchange);
@@ -3042,7 +3044,7 @@ global $wppa_supported_camara_brands;
3042
 
3043
  $name = __('Tags box', 'wp-photo-album-plus').' 1';
3044
  $desc = __('The tags in the selection box.', 'wp-photo-album-plus');
3045
- $help = esc_js(__('Enter the tags you want to appear in the selection box. Empty means: all existing tags', 'wp-photo-album-plus'));
3046
  $slug = 'wppa_up_tagselbox_content_1';
3047
  $html = wppa_edit( $slug, get_option( $slug ), '300px' );
3048
  $clas = 'wppa_feup wppa_up_tags';
@@ -3070,7 +3072,7 @@ global $wppa_supported_camara_brands;
3070
 
3071
  $name = __('Tags box', 'wp-photo-album-plus').' 2';
3072
  $desc = __('The tags in the selection box.', 'wp-photo-album-plus');
3073
- $help = esc_js(__('Enter the tags you want to appear in the selection box. Empty means: all existing tags', 'wp-photo-album-plus'));
3074
  $slug = 'wppa_up_tagselbox_content_2';
3075
  $html = wppa_edit( $slug, get_option( $slug ), '300px' );
3076
  $clas = 'wppa_feup wppa_up_tags';
@@ -3098,7 +3100,7 @@ global $wppa_supported_camara_brands;
3098
 
3099
  $name = __('Tags box', 'wp-photo-album-plus').' 3';
3100
  $desc = __('The tags in the selection box.', 'wp-photo-album-plus');
3101
- $help = esc_js(__('Enter the tags you want to appear in the selection box. Empty means: all existing tags', 'wp-photo-album-plus'));
3102
  $slug = 'wppa_up_tagselbox_content_3';
3103
  $html = wppa_edit( $slug, get_option( $slug ), '300px' );
3104
  $clas = 'wppa_feup wppa_up_tags';
@@ -3152,7 +3154,7 @@ global $wppa_supported_camara_brands;
3152
 
3153
  $name = __('Blog It!', 'wp-photo-album-plus');
3154
  $desc = __('Enable blogging photos.', 'wp-photo-album-plus');
3155
- $help = esc_js( __('Users need the capability edit_posts to directly blog photos.', 'wp-photo-album-plus'));
3156
  $slug = 'wppa_blog_it';
3157
  $opts = array( __('disabled', 'wp-photo-album-plus'),
3158
  __('optional', 'wp-photo-album-plus'),
@@ -3178,7 +3180,7 @@ global $wppa_supported_camara_brands;
3178
 
3179
  $name = __('Blog It shortcode', 'wp-photo-album-plus');
3180
  $desc = __('Shortcode to be used on the blog post', 'wp-photo-album-plus');
3181
- $help = esc_js(__('Make sure it contains photo="#id"', 'wp-photo-album-plus'));
3182
  $slug = 'wppa_blog_it_shortcode';
3183
  $html = wppa_input($slug, '85%');
3184
  $clas = 'wppa_feup';
@@ -3221,8 +3223,8 @@ global $wppa_supported_camara_brands;
3221
  for ( $i = '0'; $i < '10'; $i++ ) {
3222
  $name = sprintf(__('Name, vis, edit %s', 'wp-photo-album-plus'), $i);
3223
  $desc = sprintf(__('The caption for field %s, visibility and editability at frontend.', 'wp-photo-album-plus'), $i);
3224
- $help = esc_js(sprintf(__('If you check the first box, the value of this field is displayable in photo descriptions at the frontend with keyword w#c%s', 'wp-photo-album-plus'), $i));
3225
- $help .= '\n'.esc_js(__('If you check the second box, the value of this field is editable at the frontend new style dialog.', 'wp-photo-album-plus'));
3226
  $slug1 = 'wppa_album_custom_caption_'.$i;
3227
  $html1 = wppa_input($slug1, '300px');
3228
  $slug2 = 'wppa_album_custom_visible_'.$i;
@@ -3247,8 +3249,8 @@ global $wppa_supported_camara_brands;
3247
  for ( $i = '0'; $i < '10'; $i++ ) {
3248
  $name = sprintf(__('Name, vis, edit %s', 'wp-photo-album-plus'), $i);
3249
  $desc = sprintf(__('The caption for field %s, visibility and editability at frontend.', 'wp-photo-album-plus'), $i);
3250
- $help = esc_js(sprintf(__('If you check the first box, the value of this field is displayable in photo descriptions at the frontend with keyword w#c%s', 'wp-photo-album-plus'), $i));
3251
- $help .= '\n'.esc_js(__('If you check the second box, the value of this field is editable at the frontend new style dialog.', 'wp-photo-album-plus'));
3252
  $slug1 = 'wppa_custom_caption_'.$i;
3253
  $html1 = wppa_input($slug1, '300px');
3254
  $slug2 = 'wppa_custom_visible_'.$i;
@@ -3263,7 +3265,7 @@ global $wppa_supported_camara_brands;
3263
 
3264
  $name = __('Navigation symbols style', 'wp-photo-album-plus');
3265
  $desc = __('The corner rounding size of navigation icons.', 'wp-photo-album-plus' );
3266
- $help = esc_js(__('Use gif/png if you have excessive pageload times due to many slideshows on a page', 'wp-photo-album-plus'));
3267
  $slug = 'wppa_icon_corner_style';
3268
  $opts = array(__('none', 'wp-photo-album-plus'), __('light', 'wp-photo-album-plus'), __('medium', 'wp-photo-album-plus'), __('heavy', 'wp-photo-album-plus'), __('use gif/png, no svg', 'wp-photo-album-plus'));
3269
  $vals = array('none', 'light', 'medium', 'heavy', 'gif');
@@ -3371,7 +3373,7 @@ global $wppa_supported_camara_brands;
3371
  {
3372
  $name = __('Nav', 'wp-photo-album-plus');
3373
  $desc = __('Navigation bars.', 'wp-photo-album-plus');
3374
- $help = esc_js(__('Enter valid CSS colors for navigation backgrounds and borders.', 'wp-photo-album-plus'));
3375
  $slug1 = 'wppa_bgcolor_nav';
3376
  $slug2 = 'wppa_bcolor_nav';
3377
  $slug = array($slug1, $slug2);
@@ -3384,9 +3386,9 @@ global $wppa_supported_camara_brands;
3384
 
3385
  $name = __('SlideImg', 'wp-photo-album-plus');
3386
  $desc = __('Fullsize Slideshow Photos.', 'wp-photo-album-plus');
3387
- $help = esc_js(__('Enter valid CSS colors for fullsize photo backgrounds and borders.', 'wp-photo-album-plus'));
3388
- $help .= '\n'.esc_js(__('The colors may be equal or "transparent"', 'wp-photo-album-plus'));
3389
- $help .= '\n'.esc_js(__('For more information about slideshow image borders see the help on Table I-B4', 'wp-photo-album-plus'));
3390
  $slug1 = 'wppa_bgcolor_fullimg';
3391
  $slug2 = 'wppa_bcolor_fullimg';
3392
  $slug = array($slug1, $slug2);
@@ -3399,7 +3401,7 @@ global $wppa_supported_camara_brands;
3399
 
3400
  $name = __('Numbar', 'wp-photo-album-plus');
3401
  $desc = __('Number bar box background.', 'wp-photo-album-plus');
3402
- $help = esc_js(__('Enter valid CSS colors for numbar box backgrounds and borders.', 'wp-photo-album-plus'));
3403
  $slug1 = 'wppa_bgcolor_numbar';
3404
  $slug2 = 'wppa_bcolor_numbar';
3405
  $slug = array($slug1, $slug2);
@@ -3412,7 +3414,7 @@ global $wppa_supported_camara_brands;
3412
 
3413
  $name = __('Numbar active', 'wp-photo-album-plus');
3414
  $desc = __('Number bar active box background.', 'wp-photo-album-plus');
3415
- $help = esc_js(__('Enter valid CSS colors for numbar active box backgrounds and borders.', 'wp-photo-album-plus'));
3416
  $slug1 = 'wppa_bgcolor_numbar_active';
3417
  $slug2 = 'wppa_bcolor_numbar_active';
3418
  $slug = array($slug1, $slug2);
@@ -3425,7 +3427,7 @@ global $wppa_supported_camara_brands;
3425
 
3426
  $name = __('Name/desc', 'wp-photo-album-plus');
3427
  $desc = __('Name and Description bars.', 'wp-photo-album-plus');
3428
- $help = esc_js(__('Enter valid CSS colors for name and description box backgrounds and borders.', 'wp-photo-album-plus'));
3429
  $slug1 = 'wppa_bgcolor_namedesc';
3430
  $slug2 = 'wppa_bcolor_namedesc';
3431
  $slug = array($slug1, $slug2);
@@ -3438,7 +3440,7 @@ global $wppa_supported_camara_brands;
3438
 
3439
  $name = __('Comments', 'wp-photo-album-plus');
3440
  $desc = __('Comment input and display areas.', 'wp-photo-album-plus');
3441
- $help = esc_js(__('Enter valid CSS colors for comment box backgrounds and borders.', 'wp-photo-album-plus'));
3442
  $slug1 = 'wppa_bgcolor_com';
3443
  $slug2 = 'wppa_bcolor_com';
3444
  $slug = array($slug1, $slug2);
@@ -3451,7 +3453,7 @@ global $wppa_supported_camara_brands;
3451
 
3452
  $name = __('Custom', 'wp-photo-album-plus');
3453
  $desc = __('Custom box background.', 'wp-photo-album-plus');
3454
- $help = esc_js(__('Enter valid CSS colors for custom box backgrounds and borders.', 'wp-photo-album-plus'));
3455
  $slug1 = 'wppa_bgcolor_cus';
3456
  $slug2 = 'wppa_bcolor_cus';
3457
  $slug = array($slug1, $slug2);
@@ -3464,7 +3466,7 @@ global $wppa_supported_camara_brands;
3464
 
3465
  $name = __('IPTC', 'wp-photo-album-plus');
3466
  $desc = __('IPTC display box background.', 'wp-photo-album-plus');
3467
- $help = esc_js(__('Enter valid CSS colors for iptc box backgrounds and borders.', 'wp-photo-album-plus'));
3468
  $slug1 = 'wppa_bgcolor_iptc';
3469
  $slug2 = 'wppa_bcolor_iptc';
3470
  $slug = array($slug1, $slug2);
@@ -3477,7 +3479,7 @@ global $wppa_supported_camara_brands;
3477
 
3478
  $name = __('EXIF', 'wp-photo-album-plus');
3479
  $desc = __('EXIF display box background.', 'wp-photo-album-plus');
3480
- $help = esc_js(__('Enter valid CSS colors for exif box backgrounds and borders.', 'wp-photo-album-plus'));
3481
  $slug1 = 'wppa_bgcolor_exif';
3482
  $slug2 = 'wppa_bcolor_exif';
3483
  $slug = array($slug1, $slug2);
@@ -3490,7 +3492,7 @@ global $wppa_supported_camara_brands;
3490
 
3491
  $name = __('Share', 'wp-photo-album-plus');
3492
  $desc = __('Share box display background.', 'wp-photo-album-plus');
3493
- $help = esc_js(__('Enter valid CSS colors for share box backgrounds and borders.', 'wp-photo-album-plus'));
3494
  $slug1 = 'wppa_bgcolor_share';
3495
  $slug2 = 'wppa_bcolor_share';
3496
  $slug = array($slug1, $slug2);
@@ -3505,7 +3507,7 @@ global $wppa_supported_camara_brands;
3505
  {
3506
  $name = __('Even', 'wp-photo-album-plus');
3507
  $desc = __('Even background.', 'wp-photo-album-plus');
3508
- $help = esc_js(__('Enter valid CSS colors for even numbered backgrounds and borders of album covers and thumbnail displays \'As covers\'.', 'wp-photo-album-plus'));
3509
  $slug1 = 'wppa_bgcolor_even';
3510
  $slug2 = 'wppa_bcolor_even';
3511
  $slug = array($slug1, $slug2);
@@ -3518,7 +3520,7 @@ global $wppa_supported_camara_brands;
3518
 
3519
  $name = __('Odd', 'wp-photo-album-plus');
3520
  $desc = __('Odd background.', 'wp-photo-album-plus');
3521
- $help = esc_js(__('Enter valid CSS colors for odd numbered backgrounds and borders of album covers and thumbnail displays \'As covers\'.', 'wp-photo-album-plus'));
3522
  $slug1 = 'wppa_bgcolor_alt';
3523
  $slug2 = 'wppa_bcolor_alt';
3524
  $slug = array($slug1, $slug2);
@@ -3531,7 +3533,7 @@ global $wppa_supported_camara_brands;
3531
 
3532
  $name = __('Thumbnail padding', 'wp-photo-album-plus');
3533
  $desc = __('Thumbnail padding color if thumbnail aspect is a padded setting.', 'wp-photo-album-plus');
3534
- $help = esc_js(__('Enter valid CSS color hexadecimal like #000000 for black or #ffffff for white for the padded thumbnails.', 'wp-photo-album-plus'));
3535
  $slug1 = 'wppa_bgcolor_thumbnail';
3536
  $slug2 = '';
3537
  $slug = array($slug1, $slug2);
@@ -3544,7 +3546,7 @@ global $wppa_supported_camara_brands;
3544
 
3545
  $name = __('Img', 'wp-photo-album-plus');
3546
  $desc = __('Cover Photos and popups.', 'wp-photo-album-plus');
3547
- $help = esc_js(__('Enter valid CSS colors for Cover photo and popup backgrounds and borders.', 'wp-photo-album-plus'));
3548
  $slug1 = 'wppa_bgcolor_img';
3549
  $slug2 = 'wppa_bcolor_img';
3550
  $slug = array($slug1, $slug2);
@@ -3557,8 +3559,8 @@ global $wppa_supported_camara_brands;
3557
 
3558
  $name = __('Upload', 'wp-photo-album-plus');
3559
  $desc = __('Upload box background.', 'wp-photo-album-plus');
3560
- $help = esc_js(__('Enter valid CSS colors for upload box backgrounds and borders.', 'wp-photo-album-plus'));
3561
- $help .= '\n'.esc_js(__('See the Upload box, created by the shortcode [wppa type="upload"][/wppa]', 'wp-photo-album-plus'));
3562
  $slug1 = 'wppa_bgcolor_upload';
3563
  $slug2 = 'wppa_bcolor_upload';
3564
  $slug = array($slug1, $slug2);
@@ -3571,8 +3573,8 @@ global $wppa_supported_camara_brands;
3571
 
3572
  $name = __('Multitag', 'wp-photo-album-plus');
3573
  $desc = __('Multitag box background.', 'wp-photo-album-plus');
3574
- $help = esc_js(__('Enter valid CSS colors for multitag box backgrounds and borders.', 'wp-photo-album-plus'));
3575
- $help .= '\n'.esc_js(__('See the Multitag search box, created by the shortcode [wppa type="multitag"][/wppa]', 'wp-photo-album-plus'));
3576
  $slug1 = 'wppa_bgcolor_multitag';
3577
  $slug2 = 'wppa_bcolor_multitag';
3578
  $slug = array($slug1, $slug2);
@@ -3585,8 +3587,8 @@ global $wppa_supported_camara_brands;
3585
 
3586
  $name = __('Tagcloud', 'wp-photo-album-plus');
3587
  $desc = __('Tagcloud box background.', 'wp-photo-album-plus');
3588
- $help = esc_js(__('Enter valid CSS colors for tagcloud box backgrounds and borders.', 'wp-photo-album-plus'));
3589
- $help .= '\n'.esc_js(__('See the Tagcloud search box, created by the shortcode [wppa type="tagcloud"][/wppa]', 'wp-photo-album-plus'));
3590
  $slug1 = 'wppa_bgcolor_tagcloud';
3591
  $slug2 = 'wppa_bcolor_tagcloud';
3592
  $slug = array($slug1, $slug2);
@@ -3599,8 +3601,8 @@ global $wppa_supported_camara_brands;
3599
 
3600
  $name = __('Superview', 'wp-photo-album-plus');
3601
  $desc = __('Superview box background.', 'wp-photo-album-plus');
3602
- $help = esc_js(__('Enter valid CSS colors for superview box backgrounds and borders.', 'wp-photo-album-plus'));
3603
- $help .= '\n'.esc_js(__('See the Superview search box, created by the shortcode [wppa type="superview"][/wppa]', 'wp-photo-album-plus'));
3604
  $slug1 = 'wppa_bgcolor_superview';
3605
  $slug2 = 'wppa_bcolor_superview';
3606
  $slug = array($slug1, $slug2);
@@ -3613,8 +3615,8 @@ global $wppa_supported_camara_brands;
3613
 
3614
  $name = __('Search', 'wp-photo-album-plus');
3615
  $desc = __('Search box background.', 'wp-photo-album-plus');
3616
- $help = esc_js(__('Enter valid CSS colors for search box backgrounds and borders.', 'wp-photo-album-plus'));
3617
- $help .= '\n'.esc_js(__('See the Search box, created by the shortcode [wppa type="search"][/wppa]', 'wp-photo-album-plus'));
3618
  $slug1 = 'wppa_bgcolor_search';
3619
  $slug2 = 'wppa_bcolor_search';
3620
  $slug = array($slug1, $slug2);
@@ -3627,8 +3629,8 @@ global $wppa_supported_camara_brands;
3627
 
3628
  $name = __('BestOf', 'wp-photo-album-plus');
3629
  $desc = __('BestOf box background.', 'wp-photo-album-plus');
3630
- $help = esc_js(__('Enter valid CSS colors for bestof box backgrounds and borders.', 'wp-photo-album-plus'));
3631
- $help .= '\n'.esc_js(__('See the Best of box, created by the shortcode [wppa type="bestof"][/wppa]', 'wp-photo-album-plus'));
3632
  $slug1 = 'wppa_bgcolor_bestof';
3633
  $slug2 = 'wppa_bcolor_bestof';
3634
  $slug = array($slug1, $slug2);
@@ -3641,8 +3643,8 @@ global $wppa_supported_camara_brands;
3641
 
3642
  $name = __('Calendar', 'wp-photo-album-plus');
3643
  $desc = __('Calendar box background.', 'wp-photo-album-plus');
3644
- $help = esc_js(__('Enter valid CSS colors for calendar box backgrounds and borders.', 'wp-photo-album-plus'));
3645
- $help .= '\n'.esc_js(__('See the Calendar box, created by the shortcode [wppa type="calendar"][/wppa]', 'wp-photo-album-plus'));
3646
  $slug1 = 'wppa_bgcolor_calendar';
3647
  $slug2 = 'wppa_bcolor_calendar';
3648
  $slug = array($slug1, $slug2);
@@ -3655,8 +3657,8 @@ global $wppa_supported_camara_brands;
3655
 
3656
  $name = __('Stereo', 'wp-photo-album-plus');
3657
  $desc = __('Stereo mode selection box background.', 'wp-photo-album-plus');
3658
- $help = esc_js(__('Enter valid CSS colors for stereo mode selection box backgrounds and borders.', 'wp-photo-album-plus'));
3659
- $help .= '\n'.esc_js(__('See the Stereo type selection box, created by the shortcode [wppa type="stereo"][/wppa]', 'wp-photo-album-plus'));
3660
  $slug1 = 'wppa_bgcolor_stereo';
3661
  $slug2 = 'wppa_bcolor_stereo';
3662
  $slug = array($slug1, $slug2);
@@ -3669,8 +3671,8 @@ global $wppa_supported_camara_brands;
3669
 
3670
  $name = __('Admins Choice', 'wp-photo-album-plus');
3671
  $desc = __('Admins choice box background.', 'wp-photo-album-plus');
3672
- $help = esc_js(__('Enter valid CSS colors for admins choice box backgrounds and borders.', 'wp-photo-album-plus'));
3673
- $help .= '\n'.esc_js(__('See the Admins choice box, created by the shortcode [wppa type="choice"][/wppa]', 'wp-photo-album-plus'));
3674
  $slug1 = 'wppa_bgcolor_adminschoice';
3675
  $slug2 = 'wppa_bcolor_adminschoice';
3676
  $slug = array($slug1, $slug2);
@@ -3683,7 +3685,7 @@ global $wppa_supported_camara_brands;
3683
 
3684
  $name = __('Modal render box', 'wp-photo-album-plus');
3685
  $desc = __('The background for the Ajax modal rendering box.', 'wp-photo-album-plus');
3686
- $help = esc_js(__('Recommended color: your theme background color.', 'wp-photo-album-plus'));
3687
  $slug1 = 'wppa_bgcolor_modal';
3688
  $slug2 = 'wppa_bcolor_modal';
3689
  $slug = array($slug1, $slug2);
@@ -3763,7 +3765,7 @@ global $wppa_supported_camara_brands;
3763
  {
3764
  $name = __('Use Ajax', 'wp-photo-album-plus');
3765
  $desc = __('Use Ajax as much as is possible and implemented.', 'wp-photo-album-plus');
3766
- $help = esc_js(__('If this box is ticked, page content updates from within wppa+ displays will be Ajax based as much as possible.', 'wp-photo-album-plus'));
3767
  $slug = 'wppa_allow_ajax';
3768
  $onchange = 'wppaCheckAjax()';
3769
  $html = wppa_checkbox($slug, $onchange);
@@ -3773,8 +3775,8 @@ global $wppa_supported_camara_brands;
3773
 
3774
  $name = __('Ajax NON Admin', 'wp-photo-album-plus');
3775
  $desc = __('Frontend ajax use no admin files.', 'wp-photo-album-plus');
3776
- $help = esc_js(__('If you want to password protect wp-admin, check this box.', 'wp-photo-album-plus'));
3777
- $help .= '\n\n'.esc_js(__('In rare cases changing page content does not work when this box is checked. Verify the functionality!', 'wp-photo-album-plus'));
3778
  $slug = 'wppa_ajax_non_admin';
3779
  $html = wppa_checkbox($slug);
3780
  $clas = '';
@@ -3792,8 +3794,8 @@ global $wppa_supported_camara_brands;
3792
 
3793
  $name = __('Photo names in urls', 'wp-photo-album-plus');
3794
  $desc = __('Display photo names in urls.', 'wp-photo-album-plus');
3795
- $help = esc_js(__('Urls to wppa+ displays will contain photonames instead of numbers.', 'wp-photo-album-plus'));
3796
- $help .= '\n'.esc_js(__('It is your responsibility to avoid duplicate names of photos in the same album.', 'wp-photo-album-plus'));
3797
  $slug = 'wppa_use_photo_names_in_urls';
3798
  $html = wppa_checkbox($slug);
3799
  $clas = '';
@@ -3802,8 +3804,8 @@ global $wppa_supported_camara_brands;
3802
 
3803
  $name = __('Album names in urls', 'wp-photo-album-plus');
3804
  $desc = __('Display album names in urls.', 'wp-photo-album-plus');
3805
- $help = esc_js(__('Urls to wppa+ displays will contain albumnames instead of numbers.', 'wp-photo-album-plus'));
3806
- $help .= '\n'.esc_js(__('It is your responsibility to avoid duplicate names of albums in the system.', 'wp-photo-album-plus'));
3807
  $slug = 'wppa_use_album_names_in_urls';
3808
  $html = wppa_checkbox($slug);
3809
  $clas = '';
@@ -3812,8 +3814,8 @@ global $wppa_supported_camara_brands;
3812
 
3813
  $name = __('Use short query args', 'wp-photo-album-plus');
3814
  $desc = __('Use &album=... &photo=...', 'wp-photo-album-plus');
3815
- $help = esc_js(__('Urls to wppa+ displays will contain &album=... &photo=... instead of &wppa-album=... &wppa-photo=...', 'wp-photo-album-plus'));
3816
- $help .= '\n'.esc_js(__('Use this setting only when there are no conflicts with other plugins that may interprete arguments like &album= etc.', 'wp-photo-album-plus'));
3817
  $slug = 'wppa_use_short_qargs';
3818
  $html = wppa_checkbox($slug);
3819
  $clas = '';
@@ -3822,11 +3824,11 @@ global $wppa_supported_camara_brands;
3822
 
3823
  $name = __('Enable pretty links', 'wp-photo-album-plus');
3824
  $desc = __('Enable the generation and understanding of pretty links.', 'wp-photo-album-plus');
3825
- $help = esc_js(__('If checked, links to social media and the qr code will have "/token1/token2/" etc instead of "&arg1=..&arg2=.." etc.', 'wp-photo-album-plus'));
3826
- $help .= '\n'.esc_js(__('These types of links will be interpreted and cause a redirection on entering.', 'wp-photo-album-plus'));
3827
- $help .= '\n'.esc_js(__('It is recommended to check this box. It shortens links dramatically and simplifies qr codes.', 'wp-photo-album-plus'));
3828
- $help .= '\n'.esc_js(__('However, you may encounter conflicts with themes and/or other plugins, so test it throughly!', 'wp-photo-album-plus'));
3829
- $help .= '\n\n'.esc_js(__('Table IV-A2 (Photo names in urls) must be UNchecked for this setting to work!', 'wp-photo-album-plus'));
3830
  $slug = 'wppa_use_pretty_links';
3831
  $opts = array( __( 'None', 'wp-photo-album-plus' ),
3832
  __( 'Classic', 'wp-photo-album-plus' ),
@@ -3859,9 +3861,9 @@ global $wppa_supported_camara_brands;
3859
 
3860
  $name = __('Update addressline', 'wp-photo-album-plus');
3861
  $desc = __('Update the addressline after an ajax action or next slide.', 'wp-photo-album-plus');
3862
- $help = esc_js(__('If checked, refreshing the page will show the current content and the browsers back and forth arrows will browse the history on the page.', 'wp-photo-album-plus'));
3863
- $help .= '\n'.esc_js(__('If unchecked, refreshing the page will re-display the content of the original page.', 'wp-photo-album-plus'));
3864
- $help .= '\n\n'.esc_js(__('This will only work on browsers that support history.pushState() and therefor NOT in IE', 'wp-photo-album-plus'));
3865
  $slug = 'wppa_update_addressline';
3866
  $html = wppa_checkbox($slug);
3867
  $clas = '';
@@ -3870,7 +3872,7 @@ global $wppa_supported_camara_brands;
3870
 
3871
  $name = __('Render shortcode always', 'wp-photo-album-plus');
3872
  $desc = __('This will skip the check on proper initialisation.', 'wp-photo-album-plus');
3873
- $help = esc_js(__('This setting is required for certain themes like Gantry to prevent the display of wppa placeholders like [WPPA+ Photo display].', 'wp-photo-album-plus'));
3874
  $slug = 'wppa_render_shortcode_always';
3875
  $html = wppa_checkbox($slug);
3876
  $clas = '';
@@ -3900,7 +3902,7 @@ global $wppa_supported_camara_brands;
3900
  $help = '';
3901
  $slug = 'wppa_auto_page';
3902
  $onchange = 'wppaCheckAutoPage()';
3903
- $warn = esc_js(__('Please reload this page after changing!', 'wp-photo-album-plus'));
3904
  $html = wppa_checkbox_warn($slug, $onchange, '', $warn);
3905
  $clas = '';
3906
  $tags = 'page,system';
@@ -3930,7 +3932,7 @@ global $wppa_supported_camara_brands;
3930
 
3931
  $name = __('Defer javascript', 'wp-photo-album-plus');
3932
  $desc = __('Put javascript near the end of the page.', 'wp-photo-album-plus');
3933
- $help = esc_js(__('If checkd: May fix layout problems and broken slideshows. May speed up or slow down page appearing.', 'wp-photo-album-plus'));
3934
  $slug = 'wppa_defer_javascript';
3935
  $html = wppa_checkbox($slug);
3936
  $clas = '';
@@ -3939,7 +3941,7 @@ global $wppa_supported_camara_brands;
3939
 
3940
  $name = __('Inline styles', 'wp-photo-album-plus');
3941
  $desc = __('Set style specifications inline.', 'wp-photo-album-plus');
3942
- $help = esc_js(__('If checked: May fix layout problems, but slows down page appearing.', 'wp-photo-album-plus'));
3943
  $slug = 'wppa_inline_css';
3944
  $html = wppa_checkbox($slug);
3945
  $clas = '';
@@ -4131,7 +4133,7 @@ global $wppa_supported_camara_brands;
4131
 
4132
  $name = __('Enable Admins Choice', 'wp-photo-album-plus');
4133
  $desc = __('Enable the creation of zipfiles with selected photos.', 'wp-photo-album-plus');
4134
- $help = esc_js(__('Activate the Admins Choice widget to make the zipfiles downloadable.', 'wp-photo-album-plus'));
4135
  $slug = 'wppa_enable_admins_choice';
4136
  $html = wppa_checkbox($slug);
4137
  $clas = '';
@@ -4149,7 +4151,7 @@ global $wppa_supported_camara_brands;
4149
 
4150
  $name = __('Enable pdf', 'wp-photo-album-plus');
4151
  $desc = __('Enable the support of pdf files', 'wp-photo-album-plus');
4152
- $help = esc_js(__('This feature requires the activation of ImageMagick. See Table IX-K7', 'wp-photo-album-plus'));
4153
  $slug = 'wppa_enable_pdf';
4154
  $html = wppa_checkbox($slug);
4155
  $clas = '';
@@ -4211,8 +4213,8 @@ global $wppa_supported_camara_brands;
4211
  {
4212
  $name = __('V align', 'wp-photo-album-plus');
4213
  $desc = __('Vertical alignment of slideshow images.', 'wp-photo-album-plus');
4214
- $help = esc_js(__('Specify the vertical alignment of slideshow images.', 'wp-photo-album-plus'));
4215
- $help .= '\n'.esc_js(__('If you select --- none ---, the photos will not be centered horizontally either.', 'wp-photo-album-plus'));
4216
  $slug = 'wppa_fullvalign';
4217
  $options = array(__('--- none ---', 'wp-photo-album-plus'), __('top', 'wp-photo-album-plus'), __('center', 'wp-photo-album-plus'), __('bottom', 'wp-photo-album-plus'), __('fit', 'wp-photo-album-plus'));
4218
  $values = array('default', 'top', 'center', 'bottom', 'fit');
@@ -4224,9 +4226,9 @@ global $wppa_supported_camara_brands;
4224
 
4225
  $name = __('H align', 'wp-photo-album-plus');
4226
  $desc = __('Horizontal alignment of slideshow images.', 'wp-photo-album-plus');
4227
- $help = esc_js(__('Specify the horizontal alignment of slideshow images. If you specify --- none --- , no horizontal alignment will take place.', 'wp-photo-album-plus'));
4228
- $help .= '\n\n'.esc_js(__('This setting is only usefull when the Column Width differs from the Maximum Width.', 'wp-photo-album-plus'));
4229
- $help .= '\n'.esc_js(__('(Settings I-A1 and I-B1)', 'wp-photo-album-plus'));
4230
  $slug = 'wppa_fullhalign';
4231
  $options = array(__('--- none ---', 'wp-photo-album-plus'), __('left', 'wp-photo-album-plus'), __('center', 'wp-photo-album-plus'), __('right', 'wp-photo-album-plus'));
4232
  $values = array('default', 'left', 'center', 'right');
@@ -4237,8 +4239,8 @@ global $wppa_supported_camara_brands;
4237
 
4238
  $name = __('Start', 'wp-photo-album-plus');
4239
  $desc = __('Start slideshow running.', 'wp-photo-album-plus');
4240
- $help = esc_js(__('If you select "running", the slideshow will start running immediately, if you select "still at first photo", the first photo will be displayed in browse mode.', 'wp-photo-album-plus'));
4241
- $help .= '\n\n'.esc_js(__('If you select "still at first norated", the first photo that the visitor did not gave a rating will be displayed in browse mode.', 'wp-photo-album-plus'));
4242
  $slug = 'wppa_start_slide';
4243
  $options = array( __('running', 'wp-photo-album-plus'),
4244
  __('still at first photo', 'wp-photo-album-plus'),
@@ -4283,7 +4285,7 @@ global $wppa_supported_camara_brands;
4283
 
4284
  $name = __('Animation type', 'wp-photo-album-plus');
4285
  $desc = __('The way successive slides appear.', 'wp-photo-album-plus');
4286
- $help = esc_js(__('Select the way the old slide is to be replaced by the new one in the slideshow/browse fullsize display.', 'wp-photo-album-plus'));
4287
  $slug = 'wppa_animation_type';
4288
  $options = array( __('Fade out and in simultaneous', 'wp-photo-album-plus'),
4289
  __('Fade in after fade out', 'wp-photo-album-plus'),
@@ -4306,7 +4308,7 @@ global $wppa_supported_camara_brands;
4306
 
4307
  $name = __('Timeout', 'wp-photo-album-plus');
4308
  $desc = __('Slideshow timeout.', 'wp-photo-album-plus');
4309
- $help = esc_js(__('Select the time a single slide will be visible when the slideshow is started.', 'wp-photo-album-plus'));
4310
  $slug = 'wppa_slideshow_timeout';
4311
  $options = array( '1 s.', '1.5 s.', '2.5 s.', '3 s.', '4 s.', '5 s.', '6 s.', '8 s.', '10 s.', '12 s.', '15 s.', '20 s.' );
4312
  $values = array('1000', '1500', '2500', '3000', '4000', '5000', '6000', '8000', '10000', '12000', '15000', '20000' );
@@ -4317,8 +4319,8 @@ global $wppa_supported_camara_brands;
4317
 
4318
  $name = __('Speed', 'wp-photo-album-plus');
4319
  $desc = __('Slideshow animation speed.', 'wp-photo-album-plus');
4320
- $help = esc_js(__('Specify the animation speed to be used in slideshows.', 'wp-photo-album-plus'));
4321
- $help .= '\n'.esc_js(__('This is the time it takes a photo to fade in or out.', 'wp-photo-album-plus'));
4322
  $slug = 'wppa_animation_speed';
4323
  $options = array(__('--- off ---', 'wp-photo-album-plus'), '200 ms.', '400 ms.', '800 ms.', '1.2 s.', '2 s.', '4 s.');
4324
  $values = array('10', '200', '400', '800', '1200', '2000', '4000');
@@ -4420,7 +4422,7 @@ global $wppa_supported_camara_brands;
4420
  {
4421
  $name = __('Photo order', 'wp-photo-album-plus');
4422
  $desc = __('Photo ordering sequence method.', 'wp-photo-album-plus');
4423
- $help = esc_js(__('Specify the way the photos should be ordered. This is the default setting. You can overrule the default sorting order on a per album basis.', 'wp-photo-album-plus'));
4424
  $slug = 'wppa_list_photos_by';
4425
  $options = array( __('--- none ---', 'wp-photo-album-plus'),
4426
  __('Order #', 'wp-photo-album-plus'),
@@ -4459,7 +4461,7 @@ global $wppa_supported_camara_brands;
4459
 
4460
  $name = __('Thumbnail type', 'wp-photo-album-plus');
4461
  $desc = __('The way the thumbnail images are displayed.', 'wp-photo-album-plus');
4462
- $help = esc_js(__('You may select an altenative display method for thumbnails. Note that some of the thumbnail settings do not apply to all available display methods.', 'wp-photo-album-plus'));
4463
  $slug = 'wppa_thumbtype';
4464
  $options = array(__('--- default ---', 'wp-photo-album-plus'), __('like album covers', 'wp-photo-album-plus'), __('like album covers mcr', 'wp-photo-album-plus'), __('masonry style columns', 'wp-photo-album-plus'), __('masonry style rows', 'wp-photo-album-plus'));
4465
  $values = array('default', 'ascovers', 'ascovers-mcr', 'masonry-v', 'masonry-h' );
@@ -4471,7 +4473,7 @@ global $wppa_supported_camara_brands;
4471
 
4472
  $name = __('Placement', 'wp-photo-album-plus');
4473
  $desc = __('Thumbnail image left or right.', 'wp-photo-album-plus');
4474
- $help = esc_js(__('Indicate the placement position of the thumbnailphoto you wish.', 'wp-photo-album-plus'));
4475
  $slug = 'wppa_thumbphoto_left';
4476
  $options = array(__('Left', 'wp-photo-album-plus'), __('Right', 'wp-photo-album-plus'));
4477
  $values = array('yes', 'no');
@@ -4482,8 +4484,8 @@ global $wppa_supported_camara_brands;
4482
 
4483
  $name = __('Vertical alignment', 'wp-photo-album-plus');
4484
  $desc = __('Vertical alignment of thumbnails.', 'wp-photo-album-plus');
4485
- $help = esc_js(__('Specify the vertical alignment of thumbnail images. Use this setting when albums contain both portrait and landscape photos.', 'wp-photo-album-plus'));
4486
- $help .= '\n'.esc_js(__('It is NOT recommended to use the value --- default ---; it will affect the horizontal alignment also and is meant to be used with custom css.', 'wp-photo-album-plus'));
4487
  $slug = 'wppa_valign';
4488
  $options = array( __('--- default ---', 'wp-photo-album-plus'), __('top', 'wp-photo-album-plus'), __('center', 'wp-photo-album-plus'), __('bottom', 'wp-photo-album-plus'));
4489
  $values = array('default', 'top', 'center', 'bottom');
@@ -4494,7 +4496,7 @@ global $wppa_supported_camara_brands;
4494
 
4495
  $name = __('Thumb mouseover', 'wp-photo-album-plus');
4496
  $desc = __('Apply thumbnail mouseover effect.', 'wp-photo-album-plus');
4497
- $help = esc_js(__('Check this box to use mouseover effect on thumbnail images.', 'wp-photo-album-plus'));
4498
  $slug = 'wppa_use_thumb_opacity';
4499
  $onchange = 'wppaCheckUseThumbOpacity()';
4500
  $html = wppa_checkbox($slug, $onchange);
@@ -4504,7 +4506,7 @@ global $wppa_supported_camara_brands;
4504
 
4505
  $name = __('Thumb opacity', 'wp-photo-album-plus');
4506
  $desc = __('Initial opacity value.', 'wp-photo-album-plus');
4507
- $help = esc_js(__('Enter percentage of opacity. 100% is opaque, 0% is transparant', 'wp-photo-album-plus'));
4508
  $slug = 'wppa_thumb_opacity';
4509
  $html = '<span class="thumb_opacity_html">'.wppa_input($slug, '50px', '', __('%', 'wp-photo-album-plus')).'</span>';
4510
  $clas = 'tt_normal tt_masonry';
@@ -4513,7 +4515,7 @@ global $wppa_supported_camara_brands;
4513
 
4514
  $name = __('Thumb popup', 'wp-photo-album-plus');
4515
  $desc = __('Use popup effect on thumbnail images.', 'wp-photo-album-plus');
4516
- $help = esc_js(__('Thumbnails pop-up to a larger image when hovered.', 'wp-photo-album-plus'));
4517
  $slug = 'wppa_use_thumb_popup';
4518
  $onchange = 'wppaCheckPopup()';
4519
  $html = wppa_checkbox($slug, $onchange) . wppa_htmlerr('popup-lightbox');
@@ -4549,7 +4551,7 @@ global $wppa_supported_camara_brands;
4549
  {
4550
  $name = __('Album order', 'wp-photo-album-plus');
4551
  $desc = __('Album ordering sequence method.', 'wp-photo-album-plus');
4552
- $help = esc_js(__('Specify the way the albums should be ordered.', 'wp-photo-album-plus'));
4553
  $slug = 'wppa_list_albums_by';
4554
  $options = array( __('--- none ---', 'wp-photo-album-plus'),
4555
  __('Order #', 'wp-photo-album-plus'),
@@ -4576,7 +4578,7 @@ global $wppa_supported_camara_brands;
4576
 
4577
  $name = __('Default coverphoto selection', 'wp-photo-album-plus');
4578
  $desc = __('Default select cover photo method.', 'wp-photo-album-plus');
4579
- $help = esc_js(__('This is the initial value on album creation only. It can be overruled on the edit album page.', 'wp-photo-album-plus'));
4580
  $opts = array(__('Random from album', 'wp-photo-album-plus'), __('Random featured from album', 'wp-photo-album-plus'), __('Most recently added to album', 'wp-photo-album-plus'), __('Random from album or any sub album', 'wp-photo-album-plus') );
4581
  $vals = array('0', '-1', '-2', '-3');
4582
  $slug = 'wppa_main_photo';
@@ -4587,9 +4589,9 @@ global $wppa_supported_camara_brands;
4587
 
4588
  $name = __('Placement', 'wp-photo-album-plus');
4589
  $desc = __('Cover image position.', 'wp-photo-album-plus');
4590
- $help = esc_js(__('Enter the position that you want to be used for the default album cover selected in Table IV-D6.', 'wp-photo-album-plus'));
4591
- $help .= '\n\n'.esc_js(__('For covertype Image Factory: left will be treated as top and right will be treted as bottom.', 'wp-photo-album-plus'));
4592
- $help .= '\n'.esc_js(__('For covertype Long Descriptions: top will be treated as left and bottom will be treted as right.', 'wp-photo-album-plus'));
4593
  $slug = 'wppa_coverphoto_pos';
4594
  $options = array(__('Left', 'wp-photo-album-plus'), __('Right', 'wp-photo-album-plus'), __('Top', 'wp-photo-album-plus'), __('Bottom', 'wp-photo-album-plus'));
4595
  $values = array('left', 'right', 'top', 'bottom');
@@ -4601,7 +4603,7 @@ global $wppa_supported_camara_brands;
4601
 
4602
  $name = __('Cover mouseover', 'wp-photo-album-plus');
4603
  $desc = __('Apply coverphoto mouseover effect.', 'wp-photo-album-plus');
4604
- $help = esc_js(__('Check this box to use mouseover effect on cover images.', 'wp-photo-album-plus'));
4605
  $slug = 'wppa_use_cover_opacity';
4606
  $onchange = 'wppaCheckUseCoverOpacity()';
4607
  $html = wppa_checkbox($slug, $onchange);
@@ -4611,7 +4613,7 @@ global $wppa_supported_camara_brands;
4611
 
4612
  $name = __('Cover opacity', 'wp-photo-album-plus');
4613
  $desc = __('Initial opacity value.', 'wp-photo-album-plus');
4614
- $help = esc_js(__('Enter percentage of opacity. 100% is opaque, 0% is transparant', 'wp-photo-album-plus'));
4615
  $slug = 'wppa_cover_opacity';
4616
  $html = '<span class="cover_opacity_html">'.wppa_input($slug, '50px', '', __('%', 'wp-photo-album-plus')).'</span>';
4617
  $clas = '';
@@ -4620,7 +4622,7 @@ global $wppa_supported_camara_brands;
4620
 
4621
  $name = __('Cover type', 'wp-photo-album-plus');
4622
  $desc = __('Select the default cover type.', 'wp-photo-album-plus');
4623
- $help = esc_js(__('Types with the addition mcr are suitable for Multi Column in a Responsive theme', 'wp-photo-album-plus'));
4624
  $slug = 'wppa_cover_type';
4625
  $options = array( __('Standard', 'wp-photo-album-plus'),
4626
  __('Long Descriptions', 'wp-photo-album-plus'),
@@ -4653,7 +4655,7 @@ global $wppa_supported_camara_brands;
4653
 
4654
  $name = __('Cats include subs', 'wp-photo-album-plus');
4655
  $desc = __('Child albums are included in Category based shortcodes.', 'wp-photo-album-plus');
4656
- $help = esc_js(__('When you use album="#cat,...", in a shortcode, the child albums will be included.', 'wp-photo-album-plus'));
4657
  $slug = 'wppa_cats_inherit';
4658
  $html = wppa_checkbox($slug);
4659
  $clas = '';
@@ -4679,7 +4681,7 @@ global $wppa_supported_camara_brands;
4679
  {
4680
  $name = __('Rating login', 'wp-photo-album-plus');
4681
  $desc = __('Users must login to rate photos.', 'wp-photo-album-plus');
4682
- $help = esc_js(__('If users want to vote for a photo (rating 1..5 stars) the must login first. The avarage rating will always be displayed as long as the rating system is enabled.', 'wp-photo-album-plus'));
4683
  $slug = 'wppa_rating_login';
4684
  $html = wppa_checkbox($slug);
4685
  $clas = 'wppa_rating_';
@@ -4688,8 +4690,8 @@ global $wppa_supported_camara_brands;
4688
 
4689
  $name = __('Rating change', 'wp-photo-album-plus');
4690
  $desc = __('Users may change their ratings.', 'wp-photo-album-plus');
4691
- $help = esc_js(__('Users may change their ratings.', 'wp-photo-album-plus'));
4692
- $help .= '\n\n'.esc_js(__('If "One button vote" is selected in Table I-E1, this setting has no meaning', 'wp-photo-album-plus'));
4693
  $slug = 'wppa_rating_change';
4694
  $html = wppa_checkbox($slug);
4695
  $clas = 'wppa_rating_';
@@ -4699,7 +4701,7 @@ global $wppa_supported_camara_brands;
4699
  if ( wppa_opt( 'rating_display_type' ) != 'likes' ) {
4700
  $name = __('Rating multi', 'wp-photo-album-plus');
4701
  $desc = __('Users may give multiple votes.', 'wp-photo-album-plus');
4702
- $help = esc_js(__('Users may give multiple votes. (This has no effect when users may change their votes.)', 'wp-photo-album-plus'));
4703
  $slug = 'wppa_rating_multi';
4704
  $html = wppa_checkbox($slug);
4705
  $clas = 'wppa_rating_';
@@ -4742,7 +4744,7 @@ global $wppa_supported_camara_brands;
4742
 
4743
  $name = __('Next after vote', 'wp-photo-album-plus');
4744
  $desc = __('Goto next slide after voting', 'wp-photo-album-plus');
4745
- $help = esc_js(__('If checked, the visitor goes straight to the slide following the slide he voted. This will speed up mass voting.', 'wp-photo-album-plus'));
4746
  $slug = 'wppa_next_on_callback';
4747
  $html = wppa_checkbox($slug);
4748
  $clas = 'wppa_rating_';
@@ -4751,8 +4753,8 @@ global $wppa_supported_camara_brands;
4751
 
4752
  $name = __('Star off opacity', 'wp-photo-album-plus');
4753
  $desc = __('Rating star off state opacity value.', 'wp-photo-album-plus');
4754
- $help = esc_js(__('Enter percentage of opacity. 100% is opaque, 0% is transparant', 'wp-photo-album-plus'));
4755
- $help .= '\n\n'.esc_js(__('If "One button vote" is selected in Table I-E1, this setting has no meaning', 'wp-photo-album-plus'));
4756
  $slug = 'wppa_star_opacity';
4757
  $html = wppa_input($slug, '50px', '', __('%', 'wp-photo-album-plus'));
4758
  $clas = 'wppa_rating_';
@@ -4761,11 +4763,11 @@ global $wppa_supported_camara_brands;
4761
 
4762
  $name = __('Notify inappropriate', 'wp-photo-album-plus');
4763
  $desc = __('Notify admin every x times.', 'wp-photo-album-plus');
4764
- $help = esc_js(__('If this number is positive, there will be a thumb down icon in the rating bar.', 'wp-photo-album-plus'));
4765
- $help .= '\n\n'.esc_js(__('Clicking the thumbdown icon indicates a user dislikes a photo.', 'wp-photo-album-plus'));
4766
- $help .= '\n'.esc_js(__('Admin will be notified by email after every x dislikes.', 'wp-photo-album-plus'));
4767
- $help .= '\n'.esc_js(__('A value of 0 disables this feature.', 'wp-photo-album-plus'));
4768
- $help .= '\n\n'.esc_js(__('If "One button vote" is selected in Table I-E1, this setting has no meaning', 'wp-photo-album-plus'));
4769
  $slug = 'wppa_dislike_mail_every';
4770
  $html = wppa_input($slug, '40px', '', __('reports', 'wp-photo-album-plus'));
4771
  $clas = 'wppa_rating_';
@@ -4774,8 +4776,8 @@ global $wppa_supported_camara_brands;
4774
 
4775
  $name = __('Dislike value', 'wp-photo-album-plus');
4776
  $desc = __('This value counts dislike rating.', 'wp-photo-album-plus');
4777
- $help = esc_js(__('This value will be used for a dislike rating on calculation of avarage ratings.', 'wp-photo-album-plus'));
4778
- $help .= '\n\n'.esc_js(__('If "One button vote" is selected in Table I-E1, this setting has no meaning', 'wp-photo-album-plus'));
4779
  $slug = 'wppa_dislike_value';
4780
  $html = wppa_input($slug, '50px', '', __('points', 'wp-photo-album-plus'));
4781
  $clas = 'wppa_rating_';
@@ -4784,8 +4786,8 @@ global $wppa_supported_camara_brands;
4784
 
4785
  $name = __('Pending after', 'wp-photo-album-plus');
4786
  $desc = __('Set status to pending after xx dislike votes.', 'wp-photo-album-plus');
4787
- $help = esc_js(__('A value of 0 disables this feature.', 'wp-photo-album-plus'));
4788
- $help .= '\n\n'.esc_js(__('If "One button vote" is selected in Table I-E1, this setting has no meaning', 'wp-photo-album-plus'));
4789
  $slug = 'wppa_dislike_set_pending';
4790
  $html = wppa_input($slug, '40px', '', __('reports', 'wp-photo-album-plus'));
4791
  $clas = 'wppa_rating_';
@@ -4794,8 +4796,8 @@ global $wppa_supported_camara_brands;
4794
 
4795
  $name = __('Delete after', 'wp-photo-album-plus');
4796
  $desc = __('Delete photo after xx dislike votes.', 'wp-photo-album-plus');
4797
- $help = esc_js(__('A value of 0 disables this feature.', 'wp-photo-album-plus'));
4798
- $help .= '\n\n'.esc_js(__('If "One button vote" is selected in Table I-E1, this setting has no meaning', 'wp-photo-album-plus'));
4799
  $slug = 'wppa_dislike_delete';
4800
  $html = wppa_input($slug, '40px', '', __('reports', 'wp-photo-album-plus'));
4801
  $clas = 'wppa_rating_';
@@ -4804,8 +4806,8 @@ global $wppa_supported_camara_brands;
4804
 
4805
  $name = __('Show dislike count', 'wp-photo-album-plus');
4806
  $desc = __('Show the number of dislikes in the rating bar.', 'wp-photo-album-plus');
4807
- $help = esc_js(__('Displayes the total number of dislike votes for the current photo.', 'wp-photo-album-plus'));
4808
- $help .= '\n\n'.esc_js(__('If "One button vote" is selected in Table I-E1, this setting has no meaning', 'wp-photo-album-plus'));
4809
  $slug = 'wppa_dislike_show_count';
4810
  $html = wppa_checkbox($slug, $onchange);
4811
  $clas = 'wppa_rating_';
@@ -4814,7 +4816,7 @@ global $wppa_supported_camara_brands;
4814
 
4815
  $name = __('Rating display type', 'wp-photo-album-plus');
4816
  $desc = __('Specify the type of the rating display.', 'wp-photo-album-plus');
4817
- $help = esc_js(__('If you select "Likes" you must also select "One button vote" in Table I-E1', 'wp-photo-album-plus'));
4818
  $slug = 'wppa_rating_display_type';
4819
  $opts = array(__('Graphic', 'wp-photo-album-plus'), __('Numeric', 'wp-photo-album-plus'), __('Likes', 'wp-photo-album-plus'));
4820
  $vals = array('graphic', 'numeric', 'likes');
@@ -4826,9 +4828,9 @@ global $wppa_supported_camara_brands;
4826
 
4827
  $name = __('Show average rating', 'wp-photo-album-plus');
4828
  $desc = __('Display the avarage rating and/or vote count on the rating bar', 'wp-photo-album-plus');
4829
- $help = esc_js(__('If checked, the average rating as well as the current users rating is displayed in max 5 or 10 stars.', 'wp-photo-album-plus'));
4830
- $help .= '\n\n'.esc_js(__('If unchecked, only the current users rating is displayed (if any).', 'wp-photo-album-plus'));
4831
- $help .= '\n\n'.esc_js(__('If "One button vote" is selected in Table I-E1, this box checked will display the vote count.', 'wp-photo-album-plus'));
4832
  $slug = 'wppa_show_avg_rating';
4833
  $html = wppa_checkbox($slug);
4834
  $clas = 'wppa_rating_';
@@ -4864,7 +4866,7 @@ global $wppa_supported_camara_brands;
4864
 
4865
  $name = __('Single vote button thumbnail', 'wp-photo-album-plus');
4866
  $desc = __('Display single vote button below thumbnails.', 'wp-photo-album-plus');
4867
- $help = esc_js(__('This works only in single vote mode: Table I-E1 set to "one button vote"', 'wp-photo-album-plus'));
4868
  $slug = 'wppa_vote_thumb';
4869
  $html = wppa_checkbox($slug);
4870
  $clas = 'wppa_rating_';
@@ -4873,7 +4875,7 @@ global $wppa_supported_camara_brands;
4873
 
4874
  $name = __('Medal bronze when', 'wp-photo-album-plus');
4875
  $desc = __('Photo gets medal bronze when number of top-scores ( 5 or 10 ).', 'wp-photo-album-plus');
4876
- $help = esc_js(__('When the photo has this number of topscores ( 5 or 10 stars ), it will get a medal. A value of 0 indicates that you do not want this feature.', 'wp-photo-album-plus'));
4877
  $slug = 'wppa_medal_bronze_when';
4878
  $html = wppa_input($slug, '50px', '', __('Topscores', 'wp-photo-album-plus'));
4879
  $clas = 'wppa_rating_';
@@ -4882,7 +4884,7 @@ global $wppa_supported_camara_brands;
4882
 
4883
  $name = __('Medal silver when', 'wp-photo-album-plus');
4884
  $desc = __('Photo gets medal silver when number of top-scores ( 5 or 10 ).', 'wp-photo-album-plus');
4885
- $help = esc_js(__('When the photo has this number of topscores ( 5 or 10 stars ), it will get a medal. A value of 0 indicates that you do not want this feature.', 'wp-photo-album-plus'));
4886
  $slug = 'wppa_medal_silver_when';
4887
  $html = wppa_input($slug, '50px', '', __('Topscores', 'wp-photo-album-plus'));
4888
  $clas = 'wppa_rating_';
@@ -4891,7 +4893,7 @@ global $wppa_supported_camara_brands;
4891
 
4892
  $name = __('Medal gold when', 'wp-photo-album-plus');
4893
  $desc = __('Photo gets medal gold when number of top-scores ( 5 or 10 ).', 'wp-photo-album-plus');
4894
- $help = esc_js(__('When the photo has this number of topscores ( 5 or 10 stars ), it will get a medal. A value of 0 indicates that you do not want this feature.', 'wp-photo-album-plus'));
4895
  $slug = 'wppa_medal_gold_when';
4896
  $html = wppa_input($slug, '50px', '', __('Topscores', 'wp-photo-album-plus'));
4897
  $clas = 'wppa_rating_';
@@ -4935,7 +4937,7 @@ global $wppa_supported_camara_brands;
4935
  {
4936
  $name = __('Commenting login', 'wp-photo-album-plus');
4937
  $desc = __('Users must be logged in to comment on photos.', 'wp-photo-album-plus');
4938
- $help = esc_js(__('Check this box if you want users to be logged in to be able to enter comments on individual photos.', 'wp-photo-album-plus'));
4939
  $slug = 'wppa_comment_login';
4940
  $html = wppa_checkbox($slug);
4941
  $clas = 'wppa_comment_';
@@ -4944,7 +4946,7 @@ global $wppa_supported_camara_brands;
4944
 
4945
  $name = __('Comments view login', 'wp-photo-album-plus');
4946
  $desc = __('Users must be logged in to see comments on photos.', 'wp-photo-album-plus');
4947
- $help = esc_js(__('Check this box if you want users to be logged in to be able to see existing comments on individual photos.', 'wp-photo-album-plus'));
4948
  $slug = 'wppa_comment_view_login';
4949
  $html = wppa_checkbox($slug);
4950
  $clas = 'wppa_comment_';
@@ -4953,8 +4955,8 @@ global $wppa_supported_camara_brands;
4953
 
4954
  $name = __('Last comment first', 'wp-photo-album-plus');
4955
  $desc = __('Display the newest comment on top.', 'wp-photo-album-plus');
4956
- $help = esc_js(__('If checked: Display the newest comment on top.', 'wp-photo-album-plus'));
4957
- $help .= '\n\n'.esc_js(__('If unchecked, the comments are listed in the ordere they were entered.', 'wp-photo-album-plus'));
4958
  $slug = 'wppa_comments_desc';
4959
  $html = wppa_checkbox($slug);
4960
  $clas = 'wppa_comment_';
@@ -4963,7 +4965,7 @@ global $wppa_supported_camara_brands;
4963
 
4964
  $name = __('Comment moderation', 'wp-photo-album-plus');
4965
  $desc = __('Comments from what users need approval.', 'wp-photo-album-plus');
4966
- $help = esc_js(__('Select the desired users of which the comments need approval.', 'wp-photo-album-plus'));
4967
  $slug = 'wppa_moderate_comment';
4968
  $options = array( __('All users', 'wp-photo-album-plus'),
4969
  __('Logged out users', 'wp-photo-album-plus'),
@@ -5107,7 +5109,7 @@ global $wppa_supported_camara_brands;
5107
 
5108
  $name = __('WPPA+ Lightbox global is a set', 'wp-photo-album-plus');
5109
  $desc = __('Treat the other images as a set.', 'wp-photo-album-plus');
5110
- $help = esc_js(__('If checked, you can scroll through the images in the lightbox view. Requires item 5 to be checked.', 'wp-photo-album-plus'));
5111
  $slug = 'wppa_lightbox_global_set';
5112
  $html = wppa_checkbox($slug);
5113
  $clas = '';
@@ -5116,7 +5118,7 @@ global $wppa_supported_camara_brands;
5116
 
5117
  $name = __('Use hires files', 'wp-photo-album-plus');
5118
  $desc = __('Use the highest resolution available for lightbox.', 'wp-photo-album-plus');
5119
- $help = esc_js(__('Ticking this box is recommended for lightbox fullscreen modes.', 'wp-photo-album-plus'));
5120
  $slug = 'wppa_lb_hres';
5121
  $html = wppa_checkbox($slug);
5122
  $clas = '';
@@ -5316,7 +5318,7 @@ global $wppa_supported_camara_brands;
5316
 
5317
  $name = __('Album titles', 'wp-photo-album-plus');
5318
  $desc = __('Font used for Album titles.', 'wp-photo-album-plus');
5319
- $help = esc_js(__('Enter font name, size, color and weight for album cover titles.', 'wp-photo-album-plus'));
5320
  $slug1 = 'wppa_fontfamily_title';
5321
  $slug2 = 'wppa_fontsize_title';
5322
  $slug3 = 'wppa_fontcolor_title';
@@ -5333,7 +5335,7 @@ global $wppa_supported_camara_brands;
5333
 
5334
  $name = __('Slideshow desc', 'wp-photo-album-plus');
5335
  $desc = __('Font for slideshow photo descriptions.', 'wp-photo-album-plus');
5336
- $help = esc_js(__('Enter font name, size, color and weight for slideshow photo descriptions.', 'wp-photo-album-plus'));
5337
  $slug1 = 'wppa_fontfamily_fulldesc';
5338
  $slug2 = 'wppa_fontsize_fulldesc';
5339
  $slug3 = 'wppa_fontcolor_fulldesc';
@@ -5350,7 +5352,7 @@ global $wppa_supported_camara_brands;
5350
 
5351
  $name = __('Slideshow name', 'wp-photo-album-plus');
5352
  $desc = __('Font for slideshow photo names.', 'wp-photo-album-plus');
5353
- $help = esc_js(__('Enter font name, size, color and weight for slideshow photo names.', 'wp-photo-album-plus'));
5354
  $slug1 = 'wppa_fontfamily_fulltitle';
5355
  $slug2 = 'wppa_fontsize_fulltitle';
5356
  $slug3 = 'wppa_fontcolor_fulltitle';
@@ -5367,7 +5369,7 @@ global $wppa_supported_camara_brands;
5367
 
5368
  $name = __('Navigations', 'wp-photo-album-plus');
5369
  $desc = __('Font for navigations.', 'wp-photo-album-plus');
5370
- $help = esc_js(__('Enter font name, size, color and weight for navigation items.', 'wp-photo-album-plus'));
5371
  $slug1 = 'wppa_fontfamily_nav';
5372
  $slug2 = 'wppa_fontsize_nav';
5373
  $slug3 = 'wppa_fontcolor_nav';
@@ -5384,7 +5386,7 @@ global $wppa_supported_camara_brands;
5384
 
5385
  $name = __('Thumbnails', 'wp-photo-album-plus');
5386
  $desc = __('Font for text under thumbnails.', 'wp-photo-album-plus');
5387
- $help = esc_js(__('Enter font name, size, color and weight for text under thumbnail images.', 'wp-photo-album-plus'));
5388
  $slug1 = 'wppa_fontfamily_thumb';
5389
  $slug2 = 'wppa_fontsize_thumb';
5390
  $slug3 = 'wppa_fontcolor_thumb';
@@ -5401,7 +5403,7 @@ global $wppa_supported_camara_brands;
5401
 
5402
  $name = __('Other', 'wp-photo-album-plus');
5403
  $desc = __('General font in wppa boxes.', 'wp-photo-album-plus');
5404
- $help = esc_js(__('Enter font name, size, color and weight for all other items.', 'wp-photo-album-plus'));
5405
  $slug1 = 'wppa_fontfamily_box';
5406
  $slug2 = 'wppa_fontsize_box';
5407
  $slug3 = 'wppa_fontcolor_box';
@@ -5418,7 +5420,7 @@ global $wppa_supported_camara_brands;
5418
 
5419
  $name = __('Numbar', 'wp-photo-album-plus');
5420
  $desc = __('Font in wppa number bars.', 'wp-photo-album-plus');
5421
- $help = esc_js(__('Enter font name, size, color and weight for numberbar navigation.', 'wp-photo-album-plus'));
5422
  $slug1 = 'wppa_fontfamily_numbar';
5423
  $slug2 = 'wppa_fontsize_numbar';
5424
  $slug3 = 'wppa_fontcolor_numbar';
@@ -5435,7 +5437,7 @@ global $wppa_supported_camara_brands;
5435
 
5436
  $name = __('Numbar Active', 'wp-photo-album-plus');
5437
  $desc = __('Font in wppa number bars, active item.', 'wp-photo-album-plus');
5438
- $help = esc_js(__('Enter font name, size, color and weight for numberbar navigation.', 'wp-photo-album-plus'));
5439
  $slug1 = 'wppa_fontfamily_numbar_active';
5440
  $slug2 = 'wppa_fontsize_numbar_active';
5441
  $slug3 = 'wppa_fontcolor_numbar_active';
@@ -5452,7 +5454,7 @@ global $wppa_supported_camara_brands;
5452
 
5453
  $name = __('Lightbox', 'wp-photo-album-plus');
5454
  $desc = __('Font in wppa lightbox overlays.', 'wp-photo-album-plus');
5455
- $help = esc_js(__('Enter font name, size, color and weight for wppa lightbox overlays.', 'wp-photo-album-plus'));
5456
  $slug1 = 'wppa_fontfamily_lightbox';
5457
  $slug2 = 'wppa_fontsize_lightbox';
5458
  $slug3 = 'wppa_fontcolor_lightbox';
@@ -5531,8 +5533,8 @@ global $wppa_supported_camara_brands;
5531
  {
5532
  $name = __('PotdWidget', 'wp-photo-album-plus');
5533
  $desc = __('Photo Of The Day widget link.', 'wp-photo-album-plus');
5534
- $help = esc_js(__('Select the type of link the photo of the day points to.', 'wp-photo-album-plus'));
5535
- $help .= '\n\n'.esc_js(__('If you select \'defined on widget admin page\' you can manually enter a link and title on the Photo of the day Widget Admin page.', 'wp-photo-album-plus'));
5536
  $slug1 = 'wppa_potd_linktype';
5537
  $slug2 = 'wppa_potd_linkpage';
5538
  wppa_verify_page($slug2);
@@ -5575,7 +5577,7 @@ global $wppa_supported_camara_brands;
5575
  {
5576
  $name = __('SlideWidget', 'wp-photo-album-plus');
5577
  $desc = __('Slideshow widget photo link.', 'wp-photo-album-plus');
5578
- $help = esc_js(__('Select the type of link the slideshow photos point to.', 'wp-photo-album-plus'));
5579
  $slug1 = 'wppa_slideonly_widget_linktype';
5580
  $slug2 = 'wppa_slideonly_widget_linkpage';
5581
  wppa_verify_page($slug2);
@@ -5618,7 +5620,7 @@ global $wppa_supported_camara_brands;
5618
  {
5619
  $name = __('Album widget', 'wp-photo-album-plus');
5620
  $desc = __('Album widget thumbnail link', 'wp-photo-album-plus');
5621
- $help = esc_js(__('Select the type of link the album widget photos point to.', 'wp-photo-album-plus'));
5622
  $slug1 = 'wppa_album_widget_linktype';
5623
  $slug2 = 'wppa_album_widget_linkpage';
5624
  wppa_verify_page($slug2);
@@ -5653,7 +5655,7 @@ global $wppa_supported_camara_brands;
5653
  {
5654
  $name = __('ThumbnailWidget', 'wp-photo-album-plus');
5655
  $desc = __('Thumbnail widget photo link.', 'wp-photo-album-plus');
5656
- $help = esc_js(__('Select the type of link the thumbnail photos point to.', 'wp-photo-album-plus'));
5657
  $slug1 = 'wppa_thumbnail_widget_linktype';
5658
  $slug2 = 'wppa_thumbnail_widget_linkpage';
5659
  wppa_verify_page($slug2);
@@ -5696,7 +5698,7 @@ global $wppa_supported_camara_brands;
5696
  {
5697
  $name = __('TopTenWidget', 'wp-photo-album-plus');
5698
  $desc = __('TopTen widget photo link.', 'wp-photo-album-plus');
5699
- $help = esc_js(__('Select the type of link the top ten photos point to.', 'wp-photo-album-plus'));
5700
  $slug1 = 'wppa_topten_widget_linktype';
5701
  $slug2 = 'wppa_topten_widget_linkpage';
5702
  wppa_verify_page($slug2);
@@ -5746,7 +5748,7 @@ global $wppa_supported_camara_brands;
5746
  {
5747
  $name = __('LasTenWidget', 'wp-photo-album-plus');
5748
  $desc = __('Last Ten widget photo link.', 'wp-photo-album-plus');
5749
- $help = esc_js(__('Select the type of link the last ten photos point to.', 'wp-photo-album-plus'));
5750
  $slug1 = 'wppa_lasten_widget_linktype';
5751
  $slug2 = 'wppa_lasten_widget_linkpage';
5752
  wppa_verify_page($slug2);
@@ -5795,7 +5797,7 @@ global $wppa_supported_camara_brands;
5795
  {
5796
  $name = __('CommentWidget', 'wp-photo-album-plus');
5797
  $desc = __('Comment widget photo link.', 'wp-photo-album-plus');
5798
- $help = esc_js(__('Select the type of link the comment widget photos point to.', 'wp-photo-album-plus'));
5799
  $slug1 = 'wppa_comment_widget_linktype';
5800
  $slug2 = 'wppa_comment_widget_linkpage';
5801
  wppa_verify_page($slug2);
@@ -5844,7 +5846,7 @@ global $wppa_supported_camara_brands;
5844
  {
5845
  $name = __('FeaTenWidget', 'wp-photo-album-plus');
5846
  $desc = __('FeaTen widget photo link.', 'wp-photo-album-plus');
5847
- $help = esc_js(__('Select the type of link the featured ten photos point to.', 'wp-photo-album-plus'));
5848
  $slug1 = 'wppa_featen_widget_linktype';
5849
  $slug2 = 'wppa_featen_widget_linkpage';
5850
  wppa_verify_page($slug2);
@@ -5894,11 +5896,11 @@ global $wppa_supported_camara_brands;
5894
  {
5895
  $name = __('Cover Image', 'wp-photo-album-plus');
5896
  $desc = __('The link from the cover image of an album.', 'wp-photo-album-plus');
5897
- $help = esc_js(__('Select the type of link the coverphoto points to.', 'wp-photo-album-plus'));
5898
- $help .= '\n\n'.esc_js(__('The link from the album title can be configured on the Edit Album page.', 'wp-photo-album-plus'));
5899
- $help .= '\n'.esc_js(__('This link will be used for the photo also if you select: same as title.', 'wp-photo-album-plus'));
5900
- $help .= '\n\n'.esc_js(__('If you specify New Tab on this line, all links from the cover will open a new tab,', 'wp-photo-album-plus'));
5901
- $help .= '\n'.esc_js(__('except when Ajax is activated on Table IV-A1.', 'wp-photo-album-plus'));
5902
  $slug1 = 'wppa_coverimg_linktype';
5903
  $slug2 = 'wppa_coverimg_linkpage';
5904
  wppa_verify_page($slug2);
@@ -5934,9 +5936,9 @@ global $wppa_supported_camara_brands;
5934
  {
5935
  $name = __('Thumbnail', 'wp-photo-album-plus');
5936
  $desc = __('Thumbnail link.', 'wp-photo-album-plus');
5937
- $help = esc_js(__('Select the type of link you want, or no link at all.', 'wp-photo-album-plus'));
5938
- $help .= '\n'.esc_js(__('If you select the fullsize photo on its own, it will be stretched to fit, regardless of that setting.', 'wp-photo-album-plus')); /* oneofone is treated as portrait only */
5939
- $help .= '\n'.esc_js(__('Note that a page must have at least [wppa][/wppa] in its content to show up the photo(s).', 'wp-photo-album-plus'));
5940
  $slug1 = 'wppa_thumb_linktype';
5941
  $slug2 = 'wppa_thumb_linkpage';
5942
  wppa_verify_page($slug2);
@@ -5986,9 +5988,9 @@ global $wppa_supported_camara_brands;
5986
  {
5987
  $name = __('Sphoto', 'wp-photo-album-plus');
5988
  $desc = __('Single photo link.', 'wp-photo-album-plus');
5989
- $help = esc_js(__('Select the type of link you want, or no link at all.', 'wp-photo-album-plus'));
5990
- $help .= '\n'.esc_js(__('If you select the fullsize photo on its own, it will be stretched to fit, regardless of that setting.', 'wp-photo-album-plus')); /* oneofone is treated as portrait only */
5991
- $help .= '\n'.esc_js(__('Note that a page must have at least [wppa][/wppa] in its content to show up the photo(s).', 'wp-photo-album-plus'));
5992
  $slug1 = 'wppa_sphoto_linktype';
5993
  $slug2 = 'wppa_sphoto_linkpage';
5994
  wppa_verify_page($slug2);
@@ -6028,9 +6030,9 @@ global $wppa_supported_camara_brands;
6028
  {
6029
  $name = __('Mphoto', 'wp-photo-album-plus');
6030
  $desc = __('Media-like (like WP photo with caption) photo link.', 'wp-photo-album-plus');
6031
- $help = esc_js(__('Select the type of link you want, or no link at all.', 'wp-photo-album-plus'));
6032
- $help .= '\n'.esc_js(__('If you select the fullsize photo on its own, it will be stretched to fit, regardless of that setting.', 'wp-photo-album-plus')); /* oneofone is treated as portrait only */
6033
- $help .= '\n'.esc_js(__('Note that a page must have at least [wppa][/wppa] in its content to show up the photo(s).', 'wp-photo-album-plus'));
6034
  $slug1 = 'wppa_mphoto_linktype';
6035
  $slug2 = 'wppa_mphoto_linkpage';
6036
  wppa_verify_page($slug2);
@@ -6070,9 +6072,9 @@ global $wppa_supported_camara_brands;
6070
  {
6071
  $name = __('Xphoto', 'wp-photo-album-plus');
6072
  $desc = __('Media-like (like WP photo with - extended - caption) photo link.', 'wp-photo-album-plus');
6073
- $help = esc_js(__('Select the type of link you want, or no link at all, to act on a photo in the style of a wp photo with - an extended - caption.', 'wp-photo-album-plus'));
6074
- $help .= '\n'.esc_js(__('If you select the fullsize photo on its own, it will be stretched to fit, regardless of that setting.', 'wp-photo-album-plus')); /* oneofone is treated as portrait only */
6075
- $help .= '\n'.esc_js(__('Note that a page must have at least [wppa][/wppa] in its content to show up the photo(s).', 'wp-photo-album-plus'));
6076
  $slug1 = 'wppa_xphoto_linktype';
6077
  $slug2 = 'wppa_xphoto_linkpage';
6078
  wppa_verify_page($slug2);
@@ -6112,8 +6114,8 @@ global $wppa_supported_camara_brands;
6112
  {
6113
  $name = __('Slideshow', 'wp-photo-album-plus');
6114
  $desc = __('Slideshow fullsize link', 'wp-photo-album-plus');
6115
- $help = esc_js(__('You can overrule lightbox but not big browse buttons with the photo specifc link.', 'wp-photo-album-plus'));
6116
- $help .= '\n\n* '.esc_js(__('fullsize slideshow can only be set by the WPPA_SET shortcode.', 'wp-photo-album-plus'));
6117
  $slug1 = 'wppa_slideshow_linktype';
6118
  $slug2 = 'wppa_slideshow_linkpage';
6119
  wppa_verify_page($slug2);
@@ -6156,7 +6158,7 @@ global $wppa_supported_camara_brands;
6156
  {
6157
  $name = __('Film linktype', 'wp-photo-album-plus');
6158
  $desc = __('Direct access goto image in:', 'wp-photo-album-plus');
6159
- $help = esc_js(__('Select the action to be taken when the user clicks on a filmstrip image.', 'wp-photo-album-plus'));
6160
  $slug1 = 'wppa_film_linktype';
6161
  $slug3 = 'wppa_film_blank';
6162
  $slug4 = 'wppa_film_overrule';
@@ -6181,7 +6183,7 @@ global $wppa_supported_camara_brands;
6181
  {
6182
  $name = __('Download Link (aka Art Monkey link)', 'wp-photo-album-plus');
6183
  $desc = __('Makes the photo name a download button.', 'wp-photo-album-plus');
6184
- $help = esc_js(__('Link Photo name in slideshow to file or zip with photoname as filename.', 'wp-photo-album-plus'));
6185
  $slug = 'wppa_art_monkey_link';
6186
  $opts = array(
6187
  __('--- none ---', 'wp-photo-album-plus'),
@@ -6229,7 +6231,7 @@ global $wppa_supported_camara_brands;
6229
  {
6230
  $name = __('Popup Download Link', 'wp-photo-album-plus');
6231
  $desc = __('Configure the download link on fullsize popups.', 'wp-photo-album-plus');
6232
- $help = esc_js(__('Link fullsize popup download button to either image or zip file.', 'wp-photo-album-plus'));
6233
  $slug = 'wppa_art_monkey_popup_link';
6234
  $opts = array(
6235
  __('image file', 'wp-photo-album-plus'),
@@ -6257,7 +6259,7 @@ global $wppa_supported_camara_brands;
6257
  {
6258
  $name = __('Album download link', 'wp-photo-album-plus');
6259
  $desc = __('Place an album download link on the album covers', 'wp-photo-album-plus');
6260
- $help = esc_js(__('Creates a download zipfile containing the photos of the album', 'wp-photo-album-plus'));
6261
  $slug = 'wppa_allow_download_album';
6262
  $html = wppa_checkbox($slug);
6263
  $clas = '';
@@ -6277,8 +6279,8 @@ global $wppa_supported_camara_brands;
6277
  {
6278
  $name = __('Tagcloud Link', 'wp-photo-album-plus');
6279
  $desc = __('Configure the link from the tags in the tag cloud.', 'wp-photo-album-plus');
6280
- $help = esc_js(__('Link the tag words to either the thumbnails or the slideshow.', 'wp-photo-album-plus'));
6281
- $help .= '\n\n'.esc_js(__('The Occur(rance) indicates the sequence number of the [wppa][/wppa] shortcode on the landing page to be used.', 'wp-photo-album-plus'));
6282
  $slug1 = 'wppa_tagcloud_linktype';
6283
  $slug2 = 'wppa_tagcloud_linkpage';
6284
  wppa_verify_page($slug2);
@@ -6311,8 +6313,8 @@ global $wppa_supported_camara_brands;
6311
  {
6312
  $name = __('Multitag Link', 'wp-photo-album-plus');
6313
  $desc = __('Configure the link from the multitag selection.', 'wp-photo-album-plus');
6314
- $help = esc_js(__('Link to either the thumbnails or the slideshow.', 'wp-photo-album-plus'));
6315
- $help .= '\n\n'.esc_js(__('The Occur(rance) indicates the sequence number of the [wppa][/wppa] shortcode on the landing page to be used.', 'wp-photo-album-plus'));
6316
  $slug1 = 'wppa_multitag_linktype';
6317
  $slug2 = 'wppa_multitag_linkpage';
6318
  wppa_verify_page($slug2);
@@ -6459,9 +6461,9 @@ global $wppa_supported_camara_brands;
6459
  {
6460
  $name = __('SM widget return', 'wp-photo-album-plus');
6461
  $desc = __('Select the return link for social media from widgets', 'wp-photo-album-plus');
6462
- $help = esc_js(__('If you select Landing page, and it wont work, it may be required to set the Occur to the sequence number of the landing shortcode on the page.', 'wp-photo-album-plus'));
6463
- $help .= '\n'.esc_js(__('Normally it is 1, but you can try 2 etc. Always create a new shared link to test a setting.', 'wp-photo-album-plus'));
6464
- $help .= '\n\n'.esc_js(__('The Occur(rance) indicates the sequence number of the [wppa][/wppa] shortcode on the landing page to be used.', 'wp-photo-album-plus'));
6465
  $slug1 = 'wppa_widget_sm_linktype';
6466
  $slug2 = 'wppa_widget_sm_linkpage';
6467
  wppa_verify_page($slug2);
@@ -6595,7 +6597,7 @@ global $wppa_supported_camara_brands;
6595
  __('Enables the Documentation screen', 'wp-photo-album-plus'),
6596
  );
6597
  echo '<td>'.__('Role', 'wp-photo-album-plus').'</td>';
6598
- for ($i = 0; $i < count($wppacaps); $i++) echo '<td style="width:11%;cursor:pointer;" title="'.esc_js($titles[$i]).'" >'.$wppanames[$i].'</td>';
6599
  ?>
6600
  </tr>
6601
  </thead>
@@ -6634,7 +6636,7 @@ global $wppa_supported_camara_brands;
6634
 
6635
  $name = __('User create Albums', 'wp-photo-album-plus');
6636
  $desc = __('Enable frontend album creation.', 'wp-photo-album-plus');
6637
- $help = esc_js(__('If you check this item, frontend album creation will be enabled.', 'wp-photo-album-plus'));
6638
  $slug = 'wppa_user_create_on';
6639
  $onchange = '';
6640
  $html1 = wppa_checkbox($slug, $onchange);
@@ -6657,7 +6659,7 @@ global $wppa_supported_camara_brands;
6657
 
6658
  $name = __('User delete Albums', 'wp-photo-album-plus');
6659
  $desc = __('Enable frontend album deletion', 'wp-photo-album-plus');
6660
- $help = esc_js(__('If you check this item, frontend album deletion will be enabled.', 'wp-photo-album-plus'));
6661
  $slug = 'wppa_user_destroy_on';
6662
  $onchange = '';
6663
  $html1 = wppa_checkbox($slug, $onchange);
@@ -6692,7 +6694,7 @@ global $wppa_supported_camara_brands;
6692
  $name = __('Fe limts per album', 'wp-photo-album-plus');
6693
  $desc = __('The following limits apply to individual albums', 'wp-photo-album-plus');
6694
  $help = __('If this box is ticked, users can upload the limit on every album they have fe upload rights to', 'wp-photo-album-plus');
6695
- $help .= '<br />'.__('If this box is unticked, the limits apply to all the users uploads in the system regardless of the album(s)');
6696
  $slug = 'wppa_role_limit_per_album';
6697
  $html1 = wppa_checkbox($slug);
6698
  $html2 = '';
@@ -6721,9 +6723,9 @@ global $wppa_supported_camara_brands;
6721
  $name = sprintf(__('Upload limit %s', 'wp-photo-album-plus'), $t_role);
6722
  if ( $role == 'loggedout' ) $desc = __('Limit upload capacity for logged out users.', 'wp-photo-album-plus');
6723
  else $desc = sprintf(__('Limit upload capacity for the user role %s.', 'wp-photo-album-plus'), $t_role);
6724
- if ( $role == 'loggedout' ) $help = esc_js(__('This setting has only effect when Table VII-B2 is unchecked.', 'wp-photo-album-plus'));
6725
- else $help = esc_js(__('This limitation only applies to frontend uploads when the same userrole does not have the Upload checkbox checked in Table VII-A.', 'wp-photo-album-plus'));
6726
- $help .= '\n'.esc_js(__('A value of 0 means: no limit.', 'wp-photo-album-plus'));
6727
  $slug1 = 'wppa_'.$role.'_upload_limit_count';
6728
  $html1 = wppa_input($slug1, '50px', '', __('photos', 'wp-photo-album-plus'));
6729
  $slug2 = 'wppa_'.$role.'_upload_limit_time';
@@ -6740,8 +6742,8 @@ global $wppa_supported_camara_brands;
6740
  $name = sprintf(__('Album limit %s', 'wp-photo-album-plus'), $t_role);
6741
  if ( $role == 'loggedout' ) $desc = __('Limit number of albums for logged out users.', 'wp-photo-album-plus');
6742
  else $desc = sprintf(__('Limit number of albums for the user role %s.', 'wp-photo-album-plus'), $t_role);
6743
- $help = esc_js(__('This limitation only applies to frontend create albums when the same userrole does not have the Album admin checkbox checked in Table VII-A.', 'wp-photo-album-plus'));
6744
- $help .= '\n'.esc_js(__('A value of 0 means: no limit.', 'wp-photo-album-plus'));
6745
  $slug1 = 'wppa_'.$role.'_album_limit_count';
6746
  $html1 = wppa_input($slug1, '50px', '', __('albums', 'wp-photo-album-plus'));
6747
  $slug2 = '';
@@ -6765,9 +6767,9 @@ global $wppa_supported_camara_brands;
6765
 
6766
  $name = __('Upload moderation', 'wp-photo-album-plus');
6767
  $desc = __('Uploaded photos need moderation.', 'wp-photo-album-plus');
6768
- $help = esc_js(__('If checked, photos uploaded by users who do not have photo album admin access rights need moderation.', 'wp-photo-album-plus'));
6769
- $help .= esc_js(__('Users who have photo album admin access rights can change the photo status to publish or featured.', 'wp-photo-album-plus'));
6770
- $help .= '\n\n'.esc_js(__('You can set the album admin access rights in Table VII-A.', 'wp-photo-album-plus'));
6771
  $slug = 'wppa_upload_moderate';
6772
  $html1 = wppa_checkbox($slug);
6773
  $html2 = '';
@@ -6778,7 +6780,7 @@ global $wppa_supported_camara_brands;
6778
 
6779
  $name = __('FE Upload private', 'wp-photo-album-plus');
6780
  $desc = __('Front-end uploaded photos status is set to private.', 'wp-photo-album-plus');
6781
- $help = esc_js(__('This setting overrules VI-B7.0.', 'wp-photo-album-plus'));
6782
  $slug = 'wppa_fe_upload_private';
6783
  $html1 = wppa_checkbox($slug);
6784
  $html2 = '';
@@ -6789,7 +6791,7 @@ global $wppa_supported_camara_brands;
6789
 
6790
  $name = __('Min size in pixels', 'wp-photo-album-plus');
6791
  $desc = __('Min size for height and width for front-end uploads.', 'wp-photo-album-plus');
6792
- $help = esc_js(__('Enter the minimum size.', 'wp-photo-album-plus'));
6793
  $slug = 'wppa_upload_frontend_minsize';
6794
  $html1 = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
6795
  $html2 = '';
@@ -6800,7 +6802,7 @@ global $wppa_supported_camara_brands;
6800
 
6801
  $name = __('Max size in pixels', 'wp-photo-album-plus');
6802
  $desc = __('Max size for height and width for front-end uploads.', 'wp-photo-album-plus');
6803
- $help = esc_js(__('Enter the maximum size. 0 is unlimited', 'wp-photo-album-plus'));
6804
  $slug = 'wppa_upload_frontend_maxsize';
6805
  $html1 = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
6806
  $html2 = '';
@@ -6822,7 +6824,7 @@ global $wppa_supported_camara_brands;
6822
 
6823
  $name = __('Fe alert', 'wp-photo-album-plus');
6824
  $desc = __('Show alertbox on front-end.', 'wp-photo-album-plus');
6825
- $help = esc_js(__('Errors are always reported, credit points only when --- none --- is not selected', 'wp-photo-album-plus'));
6826
  $slug = 'wppa_fe_alert';
6827
  $opts = array( __('--- none ---', 'wp-photo-album-plus'),
6828
  __('uploads and create albums', 'wp-photo-album-plus'),
@@ -6858,7 +6860,7 @@ global $wppa_supported_camara_brands;
6858
 
6859
  $name = __('Alt thumb is restricted', 'wp-photo-album-plus');
6860
  $desc = __('Using <b>alt thumbsize</b> is a restricted action.', 'wp-photo-album-plus');
6861
- $help = esc_js(__('If checked: alt thumbsize can not be set in album admin by users not having admin rights.', 'wp-photo-album-plus'));
6862
  $slug = 'wppa_alt_is_restricted';
6863
  $html1 = wppa_checkbox($slug);
6864
  $html2 = '';
@@ -6869,7 +6871,7 @@ global $wppa_supported_camara_brands;
6869
 
6870
  $name = __('Link is restricted', 'wp-photo-album-plus');
6871
  $desc = __('Using <b>Link to</b> is a restricted action.', 'wp-photo-album-plus');
6872
- $help = esc_js(__('If checked: Link to: can not be set in album admin by users not having admin rights.', 'wp-photo-album-plus'));
6873
  $slug = 'wppa_link_is_restricted';
6874
  $html1 = wppa_checkbox($slug);
6875
  $html2 = '';
@@ -6880,7 +6882,7 @@ global $wppa_supported_camara_brands;
6880
 
6881
  $name = __('CoverType is restricted', 'wp-photo-album-plus');
6882
  $desc = __('Changing <b>Cover Type</b> is a restricted action.', 'wp-photo-album-plus');
6883
- $help = esc_js(__('If checked: Cover Type: can not be set in album admin by users not having admin rights.', 'wp-photo-album-plus'));
6884
  $slug = 'wppa_covertype_is_restricted';
6885
  $html1 = wppa_checkbox($slug);
6886
  $html2 = '';
@@ -6891,7 +6893,7 @@ global $wppa_supported_camara_brands;
6891
 
6892
  $name = __('Photo order# is restricted', 'wp-photo-album-plus');
6893
  $desc = __('Changing <b>Photo sort order #</b> is a restricted action.', 'wp-photo-album-plus');
6894
- $help = esc_js(__('If checked: Photo sort order #: can not be set in photo admin by users not having admin rights.', 'wp-photo-album-plus'));
6895
  $slug = 'wppa_porder_restricted';
6896
  $html1 = wppa_checkbox($slug);
6897
  $html2 = '';
@@ -6902,7 +6904,7 @@ global $wppa_supported_camara_brands;
6902
 
6903
  $name = __('Change source restricted', 'wp-photo-album-plus');
6904
  $desc = __('Changing the import source dir requires admin rights.', 'wp-photo-album-plus');
6905
- $help = esc_js(__('If checked, the imput source for importing photos and albums is restricted to user role administrator.', 'wp-photo-album-plus'));
6906
  $slug = 'wppa_chgsrc_is_restricted';
6907
  $html1 = wppa_checkbox($slug);
6908
  $html2 = '';
@@ -6946,7 +6948,7 @@ global $wppa_supported_camara_brands;
6946
 
6947
  $name = __('New tags restricted', 'wp-photo-album-plus');
6948
  $desc = __('Creating new tags requires admin rights', 'wp-photo-album-plus');
6949
- $help = esc_js(__('If ticked, users can ony use existing tags', 'wp-photo-album-plus'));
6950
  $slug = 'wppa_newtags_is_restricted';
6951
  $html1 = wppa_checkbox($slug);
6952
  $html2 = '';
@@ -6959,7 +6961,7 @@ global $wppa_supported_camara_brands;
6959
 
6960
  $name = __('Owners only', 'wp-photo-album-plus');
6961
  $desc = __('Limit edit album access to the album owners only.', 'wp-photo-album-plus');
6962
- $help = esc_js(__('If checked, non-admin users can edit their own albums only.', 'wp-photo-album-plus'));
6963
  $slug = 'wppa_owner_only';
6964
  $html1 = wppa_checkbox($slug);
6965
  $html2 = '';
@@ -6970,7 +6972,7 @@ global $wppa_supported_camara_brands;
6970
 
6971
  $name = __('Upload Owners only', 'wp-photo-album-plus');
6972
  $desc = __('Limit uploads to the album owners only.', 'wp-photo-album-plus');
6973
- $help = esc_js(__('If checked, users can upload to their own albums and --- public --- only.', 'wp-photo-album-plus'));
6974
  $slug = 'wppa_upload_owner_only';
6975
  $html1 = wppa_checkbox($slug);
6976
  $html2 = '';
@@ -6981,8 +6983,8 @@ global $wppa_supported_camara_brands;
6981
 
6982
  $name = __('Frontend Edit', 'wp-photo-album-plus');
6983
  $desc = __('Allow the uploader to edit the photo info', 'wp-photo-album-plus');
6984
- $help = esc_js(__('If selected, any logged in user who meets the criteria has the capability to edit the photo information.', 'wp-photo-album-plus'));
6985
- $help .= '\n\n'.esc_js(__('Note: This may be AFTER moderation!!', 'wp-photo-album-plus'));
6986
  $slug = 'wppa_upload_edit';
6987
  $opts = array( __('--- none ---', 'wp-photo-album-plus'), __('Classic', 'wp-photo-album-plus'), __('New style', 'wp-photo-album-plus'));
6988
  $vals = array( '-none-', 'classic', 'new' );
@@ -7027,7 +7029,7 @@ global $wppa_supported_camara_brands;
7027
 
7028
  $name = __('Fe Edit Theme CSS', 'wp-photo-album-plus');
7029
  $desc = __('The front-end edit photo dialog uses the theme CSS.', 'wp-photo-album-plus');
7030
- $help = esc_js(__('This setting has effect when Table VII D2.1 is set to \'classic\' only.', 'wp-photo-album-plus'));
7031
  $slug = 'wppa_upload_edit_theme_css';
7032
  $html1 = wppa_checkbox($slug);
7033
  $html2 = '';
@@ -7038,7 +7040,7 @@ global $wppa_supported_camara_brands;
7038
 
7039
  $name = __('Fe Edit New Items', 'wp-photo-album-plus');
7040
  $desc = __('The items that are fe editable', 'wp-photo-album-plus');
7041
- $help = esc_js(__('See also Table II-J10!', 'wp-photo-album-plus'));
7042
  $slug1 = 'wppa_fe_edit_name';
7043
  $slug2 = 'wppa_fe_edit_desc';
7044
  $slug3 = 'wppa_fe_edit_tags';
@@ -7105,7 +7107,7 @@ global $wppa_supported_camara_brands;
7105
 
7106
  $name = __('Uploader Moderate Comment', 'wp-photo-album-plus');
7107
  $desc = __('The owner of the photo can moderate the photos comments.', 'wp-photo-album-plus');
7108
- $help = esc_js(__('This setting requires "Uploader edit" to be enabled also.', 'wp-photo-album-plus'));
7109
  $slug = 'wppa_owner_moderate_comment';
7110
  $html1 = wppa_checkbox($slug);
7111
  $html2 = '';
@@ -7116,7 +7118,7 @@ global $wppa_supported_camara_brands;
7116
 
7117
  $name = __('Upload memory check', 'wp-photo-album-plus');
7118
  $desc = __('Disable uploading photos that are too large.', 'wp-photo-album-plus');
7119
- $help = esc_js(__('To prevent out of memory crashes during upload and possible database inconsistencies, uploads can be prevented if the photos are too big.', 'wp-photo-album-plus'));
7120
  $slug = 'wppa_memcheck';
7121
  $html1 = wppa_checkbox($slug);
7122
  $html2 = '';
@@ -7127,7 +7129,7 @@ global $wppa_supported_camara_brands;
7127
 
7128
  $name = __('Upload memory check copy', 'wp-photo-album-plus');
7129
  $desc = __('Copy photos that are too large.', 'wp-photo-album-plus');
7130
- $help = esc_js(__('To prevent out of memory crashes during upload and possible database inconsistencies, photos are not resized but copied if the photos are too big.', 'wp-photo-album-plus'));
7131
  $slug = 'wppa_memcheck_copy';
7132
  $html1 = wppa_checkbox($slug);
7133
  $html2 = '';
@@ -7180,7 +7182,7 @@ global $wppa_supported_camara_brands;
7180
 
7181
  $name = __('Avoid duplicates', 'wp-photo-album-plus');
7182
  $desc = __('Prevent the creation of duplicate photos.', 'wp-photo-album-plus');
7183
- $help = esc_js(__('If checked: uploading, importing, copying or moving photos to other albums will be prevented when the desitation album already contains a photo with the same filename.', 'wp-photo-album-plus'));
7184
  $slug = 'wppa_void_dups';
7185
  $html1 = wppa_checkbox($slug);
7186
  $html2 = '';
@@ -7191,7 +7193,7 @@ global $wppa_supported_camara_brands;
7191
 
7192
  $name = __('Blacklist user', 'wp-photo-album-plus');
7193
  $desc = __('Set the status of all the users photos to \'pending\'.', 'wp-photo-album-plus');
7194
- $help = esc_js(__('Also inhibits further uploads.', 'wp-photo-album-plus'));
7195
  $slug = 'wppa_blacklist_user';
7196
  $blacklist = get_option( 'wppa_black_listed_users', array() );
7197
 
@@ -7254,8 +7256,8 @@ global $wppa_supported_camara_brands;
7254
 
7255
  $name = __('Super user', 'wp-photo-album-plus');
7256
  $desc = __('Give these users all rights in wppa.', 'wp-photo-album-plus');
7257
- $help = esc_js(__('This gives the user all the administrator privileges within wppa.', 'wp-photo-album-plus'));
7258
- $help .= '\n\n'.esc_js(__('Make sure the user also has a role that has all the boxes ticked in Table VII-A', 'wp-photo-album-plus'));
7259
  $slug = 'wppa_superuser_user';
7260
  $superlist = get_option( 'wppa_super_users', array() );
7261
 
@@ -7350,7 +7352,7 @@ global $wppa_supported_camara_brands;
7350
 
7351
  $name = __('Postpone cron', 'wp-photo-album-plus');
7352
  $desc = __('Temporary do no background processes.', 'wp-photo-album-plus');
7353
- $help = esc_js(__('This setting is meant to be used a.o. during bulk import/upload. Use with care!', 'wp-photo-album-plus'));
7354
  $slug = 'wppa_maint_ignore_cron';
7355
  $html1 = wppa_checkbox( $slug );
7356
  $html2 = '';
@@ -7363,8 +7365,8 @@ global $wppa_supported_camara_brands;
7363
 
7364
  $name = __('Setup', 'wp-photo-album-plus');
7365
  $desc = __('Re-initialize plugin.', 'wp-photo-album-plus');
7366
- $help = esc_js(__('Re-initilizes the plugin, (re)creates database tables and sets up default settings and directories if required.', 'wp-photo-album-plus'));
7367
- $help .= '\n\n'.esc_js(__('This action may be required to setup blogs in a multiblog (network) site as well as in rare cases to correct initilization errors.', 'wp-photo-album-plus'));
7368
  $slug = 'wppa_setup';
7369
  $html1 = '';
7370
  $html2 = wppa_doit_button('', $slug);
@@ -7377,7 +7379,7 @@ global $wppa_supported_camara_brands;
7377
 
7378
  $name = __('Backup settings', 'wp-photo-album-plus');
7379
  $desc = __('Save all settings into a backup file.', 'wp-photo-album-plus');
7380
- $help = esc_js(__('Saves all the settings into a backup file', 'wp-photo-album-plus'));
7381
  $slug = 'wppa_backup';
7382
  $html1 = '';
7383
  $html2 = wppa_doit_button('', $slug);
@@ -7390,7 +7392,7 @@ global $wppa_supported_camara_brands;
7390
 
7391
  $name = __('Load settings', 'wp-photo-album-plus');
7392
  $desc = __('Restore all settings from defaults, a backup or skin file.', 'wp-photo-album-plus');
7393
- $help = esc_js(__('Restores all the settings from the factory supplied defaults, the backup you created or from a skin file.', 'wp-photo-album-plus'));
7394
  $slug1 = 'wppa_skinfile';
7395
  $slug2 = 'wppa_load_skin';
7396
  $files = glob(WPPA_PATH.'/theme/*.skin');
@@ -7423,7 +7425,7 @@ global $wppa_supported_camara_brands;
7423
 
7424
  $name = __('Regenerate', 'wp-photo-album-plus');
7425
  $desc = __('Regenerate all thumbnails.', 'wp-photo-album-plus');
7426
- $help = esc_js(__('Regenerate all thumbnails.', 'wp-photo-album-plus'));
7427
  $slug1 = 'wppa_regen_thumbs_skip_one';
7428
  $slug2 = 'wppa_regen_thumbs';
7429
  $html1 = wppa_cronjob_button( $slug2 ) . wppa_ajax_button(__('Skip one', 'wp-photo-album-plus'), 'regen_thumbs_skip_one', '0', true );
@@ -7437,8 +7439,8 @@ global $wppa_supported_camara_brands;
7437
 
7438
  $name = __('Rerate', 'wp-photo-album-plus');
7439
  $desc = __('Recalculate ratings.', 'wp-photo-album-plus');
7440
- $help = esc_js(__('This function will recalculate all mean photo ratings from the ratings table.', 'wp-photo-album-plus'));
7441
- $help .= '\n'.esc_js(__('You may need this function after the re-import of previously exported photos', 'wp-photo-album-plus'));
7442
  $slug2 = 'wppa_rerate';
7443
  $html1 = wppa_cronjob_button( $slug2 );
7444
  $html2 = wppa_maintenance_button( $slug2 );
@@ -7451,7 +7453,7 @@ global $wppa_supported_camara_brands;
7451
 
7452
  $name = __('Lost and found', 'wp-photo-album-plus');
7453
  $desc = __('Find "lost" photos.', 'wp-photo-album-plus');
7454
- $help = esc_js(__('This function will attempt to find lost photos.', 'wp-photo-album-plus'));
7455
  $slug2 = 'wppa_cleanup';
7456
  $html1 = '';
7457
  $html2 = wppa_maintenance_button( $slug2 );
@@ -7464,7 +7466,7 @@ global $wppa_supported_camara_brands;
7464
 
7465
  $name = __('Recuperate', 'wp-photo-album-plus');
7466
  $desc = __('Recuperate IPTC and EXIF data from photos in WPPA+.', 'wp-photo-album-plus');
7467
- $help = esc_js(__('This action will attempt to find and register IPTC and EXIF data from photos in the WPPA+ system.', 'wp-photo-album-plus'));
7468
  $slug2 = 'wppa_recup';
7469
  $html1 = wppa_cronjob_button( $slug2 );
7470
  $html2 = wppa_maintenance_button( $slug2 );
@@ -7540,7 +7542,7 @@ global $wppa_supported_camara_brands;
7540
  $name = __('Convert to flat', 'wp-photo-album-plus');
7541
  $desc = __('Convert filesystem to flat structure.', 'wp-photo-album-plus');
7542
  }
7543
- $help = esc_js(__('If you want to go back to a wppa+ version prior to 5.0.16, you MUST convert to flat first.', 'wp-photo-album-plus'));
7544
  $slug2 = 'wppa_file_system';
7545
  $html1 = '';
7546
  $html2 = wppa_maintenance_button( $slug2 );
@@ -7553,7 +7555,7 @@ global $wppa_supported_camara_brands;
7553
 
7554
  $name = __('Remake', 'wp-photo-album-plus');
7555
  $desc = __('Remake the photofiles from photo sourcefiles.', 'wp-photo-album-plus');
7556
- $help = esc_js(__('This action will remake the fullsize images, thumbnail images, and will refresh the iptc and exif data for all photos where the source is found in the corresponding album sub-directory of the source directory.', 'wp-photo-album-plus'));
7557
  $slug1 = 'wppa_remake_skip_one';
7558
  $slug2 = 'wppa_remake';
7559
  $html1 = wppa_cronjob_button( $slug2 ) . wppa_ajax_button(__('Skip one', 'wp-photo-album-plus'), 'remake_skip_one', '0', true );
@@ -7682,7 +7684,7 @@ global $wppa_supported_camara_brands;
7682
 
7683
  $name = __('Clear ratings', 'wp-photo-album-plus');
7684
  $desc = __('Reset all ratings.', 'wp-photo-album-plus');
7685
- $help = esc_js(__('WARNING: If checked, this will clear all ratings in the system!', 'wp-photo-album-plus'));
7686
  $slug = 'wppa_rating_clear';
7687
  $html1 = '';
7688
  $html2 = wppa_ajax_button('', 'rating_clear');
@@ -7695,7 +7697,7 @@ global $wppa_supported_camara_brands;
7695
 
7696
  $name = __('Clear viewcounts', 'wp-photo-album-plus');
7697
  $desc = __('Reset all viewcounts.', 'wp-photo-album-plus');
7698
- $help = esc_js(__('WARNING: If checked, this will clear all viewcounts in the system!', 'wp-photo-album-plus'));
7699
  $slug = 'wppa_viewcount_clear';
7700
  $html1 = '';
7701
  $html2 = wppa_ajax_button('', 'viewcount_clear');
@@ -7708,7 +7710,7 @@ global $wppa_supported_camara_brands;
7708
 
7709
  $name = __('Reset IPTC', 'wp-photo-album-plus');
7710
  $desc = __('Clear all IPTC data.', 'wp-photo-album-plus');
7711
- $help = esc_js(__('WARNING: If checked, this will clear all IPTC data in the system!', 'wp-photo-album-plus'));
7712
  $slug = 'wppa_iptc_clear';
7713
  $html1 = '';
7714
  $html2 = wppa_ajax_button('', 'iptc_clear');
@@ -7721,7 +7723,7 @@ global $wppa_supported_camara_brands;
7721
 
7722
  $name = __('Reset EXIF', 'wp-photo-album-plus');
7723
  $desc = __('Clear all EXIF data.', 'wp-photo-album-plus');
7724
- $help = esc_js(__('WARNING: If checked, this will clear all EXIF data in the system!', 'wp-photo-album-plus'));
7725
  $slug = 'wppa_exif_clear';
7726
  $html1 = '';
7727
  $html2 = wppa_ajax_button('', 'exif_clear');
@@ -7734,7 +7736,7 @@ global $wppa_supported_camara_brands;
7734
 
7735
  $name = __('Apply Default Photoname', 'wp-photo-album-plus');
7736
  $desc = __('Apply Default photo name on all photos in the system.', 'wp-photo-album-plus');
7737
- $help = esc_js('Puts the content of Table IX-D13 in all photo name.');
7738
  $slug2 = 'wppa_apply_default_photoname_all';
7739
  $html1 = '';
7740
  $html2 = wppa_maintenance_button( $slug2 );
@@ -7747,7 +7749,7 @@ global $wppa_supported_camara_brands;
7747
 
7748
  $name = __('Apply New Photodesc', 'wp-photo-album-plus');
7749
  $desc = __('Apply New photo description on all photos in the system.', 'wp-photo-album-plus');
7750
- $help = esc_js('Puts the content of Table IX-D5 in all photo descriptions.');
7751
  $slug2 = 'wppa_apply_new_photodesc_all';
7752
  $html1 = '';
7753
  $html2 = wppa_maintenance_button( $slug2 );
@@ -7760,8 +7762,8 @@ global $wppa_supported_camara_brands;
7760
 
7761
  $name = __('Append to photodesc', 'wp-photo-album-plus');
7762
  $desc = __('Append this text to all photo descriptions.', 'wp-photo-album-plus');
7763
- $help = esc_js('Appends a space character and the given text to the description of all photos.');
7764
- $help .= '\n\n'.esc_js('First edit the text to append, click outside the edit window and wait for the green checkmark to appear. Then click the Start! button.');
7765
  $slug1 = 'wppa_append_text';
7766
  $slug2 = 'wppa_append_to_photodesc';
7767
  $html1 = wppa_input( $slug1, '200px' );
@@ -7775,8 +7777,8 @@ global $wppa_supported_camara_brands;
7775
 
7776
  $name = __('Remove from photodesc', 'wp-photo-album-plus');
7777
  $desc = __('Remove this text from all photo descriptions.', 'wp-photo-album-plus');
7778
- $help = esc_js('Removes all occurrencies of the given text from the description of all photos.');
7779
- $help .= '\n\n'.esc_js('First edit the text to remove, click outside the edit window and wait for the green checkmark to appear. Then click the Start! button.');
7780
  $slug1 = 'wppa_remove_text';
7781
  $slug2 = 'wppa_remove_from_photodesc';
7782
  $html1 = wppa_input( $slug1, '200px' );
@@ -7790,7 +7792,7 @@ global $wppa_supported_camara_brands;
7790
 
7791
  $name = __('Remove empty albums', 'wp-photo-album-plus');
7792
  $desc = __('Removes albums that are not used.', 'wp-photo-album-plus');
7793
- $help = esc_js('Removes all albums that have no photos and no sub albums in it.');
7794
  $slug2 = 'wppa_remove_empty_albums';
7795
  $html1 = '';
7796
  $html2 = wppa_maintenance_button( $slug2 );
@@ -7803,7 +7805,7 @@ global $wppa_supported_camara_brands;
7803
 
7804
  $name = __('Remove file-ext', 'wp-photo-album-plus');
7805
  $desc = __('Remove possible file extension from photo name.', 'wp-photo-album-plus');
7806
- $help = esc_js(__('This may be required for old photos, uploaded when the option in Table IX-D3 was not yet available/selected.', 'wp-photo-album-plus'));
7807
  $slug2 = 'wppa_remove_file_extensions';
7808
  $html1 = '';
7809
  $html2 = wppa_maintenance_button( $slug2 );
@@ -7829,8 +7831,8 @@ global $wppa_supported_camara_brands;
7829
 
7830
  $name = __('All to lower', 'wp-photo-album-plus');
7831
  $desc = __('Convert all file-extensions to lowercase.', 'wp-photo-album-plus');
7832
- $help = esc_js(__('Affects display files, thumbnail files, and saved extensions in database table. Leaves sourcefiles untouched', 'wp-photo-album-plus'));
7833
- $help .= '\n'.esc_js(__('If both upper and lowercase files exist, the file with the uppercase extension will be removed.', 'wp-photo-album-plus'));
7834
  $slug2 = 'wppa_all_ext_to_lower';
7835
  $html1 = '';
7836
  $html2 = wppa_maintenance_button( $slug2 );
@@ -7843,7 +7845,7 @@ global $wppa_supported_camara_brands;
7843
 
7844
  $name = __('Watermark all', 'wp-photo-album-plus');
7845
  $desc = __('Apply watermark according to current settings to all photos.', 'wp-photo-album-plus');
7846
- $help = esc_js(__('See Table IX_F for the current watermark settings', 'wp-photo-album-plus'));
7847
  $slug2 = 'wppa_watermark_all';
7848
  $html1 = '';
7849
  $html2 = wppa_maintenance_button( $slug2 );
@@ -7856,8 +7858,8 @@ global $wppa_supported_camara_brands;
7856
 
7857
  $name = __('Create all autopages', 'wp-photo-album-plus');
7858
  $desc = __('Create all the pages to display slides individually.', 'wp-photo-album-plus');
7859
- $help = esc_js(__('See also Table IV-A10.', 'wp-photo-album-plus'));
7860
- $help .= '\n\n'.esc_js(__('Make sure you have a custom menu and the "Automatically add new top-level pages to this menu" box UNticked!!', 'wp-photo-album-plus'));
7861
  $slug2 = 'wppa_create_all_autopages';
7862
  $html1 = '';
7863
  $html2 = wppa_maintenance_button( $slug2 );
@@ -7870,7 +7872,7 @@ global $wppa_supported_camara_brands;
7870
 
7871
  $name = __('Delete all autopages', 'wp-photo-album-plus');
7872
  $desc = __('Delete all the pages to display slides individually.', 'wp-photo-album-plus');
7873
- $help = esc_js(__('See also Table IV-A10.', 'wp-photo-album-plus'));
7874
  $help .= '';
7875
  $slug2 = 'wppa_delete_all_autopages';
7876
  $html1 = '';
@@ -7884,7 +7886,7 @@ global $wppa_supported_camara_brands;
7884
 
7885
  $name = __('Leading zeroes', 'wp-photo-album-plus');
7886
  $desc = __('If photoname numeric, add leading zeros', 'wp-photo-album-plus');
7887
- $help = esc_js(__('You can extend the name with leading zeros, so alphabetic sort becomes equal to numeric sort order.', 'wp-photo-album-plus'));
7888
  $slug1 = 'wppa_zero_numbers';
7889
  $slug2 = 'wppa_leading_zeros';
7890
  $html1 = wppa_input( $slug1, '50px' ).__('Total chars', 'wp-photo-album-plus');
@@ -7962,8 +7964,8 @@ global $wppa_supported_camara_brands;
7962
 
7963
  $name = __('Synchronize Cloudinary', 'wp-photo-album-plus');
7964
  $desc = __('Removes/adds images in the cloud.', 'wp-photo-album-plus');
7965
- $help = esc_js(__('Removes old images and verifies/adds new images to Cloudinary.', 'wp-photo-album-plus'));
7966
- $help .= '\n\n'.esc_js(__('See Table IX-K4.7 for the configured lifetime.', 'wp-photo-album-plus'));
7967
  $slug2 = 'wppa_sync_cloud';
7968
  $html1 = '';
7969
  $html2 = wppa_maintenance_button( $slug2 );
@@ -7976,7 +7978,7 @@ global $wppa_supported_camara_brands;
7976
 
7977
  $name = __('Fix tags', 'wp-photo-album-plus');
7978
  $desc = __('Make sure photo tags format is uptodate', 'wp-photo-album-plus');
7979
- $help = esc_js(__('Fixes tags to be conform current database rules.', 'wp-photo-album-plus'));
7980
  $slug2 = 'wppa_sanitize_tags';
7981
  $html1 = '';
7982
  $html2 = wppa_maintenance_button( $slug2 );
@@ -7989,7 +7991,7 @@ global $wppa_supported_camara_brands;
7989
 
7990
  $name = __('Fix cats', 'wp-photo-album-plus');
7991
  $desc = __('Make sure album cats format is uptodate', 'wp-photo-album-plus');
7992
- $help = esc_js(__('Fixes cats to be conform current database rules.', 'wp-photo-album-plus'));
7993
  $slug2 = 'wppa_sanitize_cats';
7994
  $html1 = '';
7995
  $html2 = wppa_maintenance_button( $slug2 );
@@ -8124,7 +8126,7 @@ global $wppa_supported_camara_brands;
8124
  if ( current_user_can( 'administrator' ) ) {
8125
  $name = __('Custom album proc', 'wp-photo-album-plus');
8126
  $desc = __('The php code to execute on all albums', 'wp-photo-album-plus');
8127
- $help = esc_js(__('Only run this if you know what you are doing!', 'wp-photo-album-plus'));
8128
  $slug2 = 'wppa_custom_album_proc';
8129
  $html1 = wppa_textarea( $slug2 );
8130
  $html2 = wppa_maintenance_button( $slug2 );
@@ -8137,7 +8139,7 @@ global $wppa_supported_camara_brands;
8137
 
8138
  $name = __('Custom photo proc', 'wp-photo-album-plus');
8139
  $desc = __('The php code to execute on all photos', 'wp-photo-album-plus');
8140
- $help = esc_js(__('Only run this if you know what you are doing!', 'wp-photo-album-plus'));
8141
  $slug2 = 'wppa_custom_photo_proc';
8142
  $html1 = wppa_textarea( $slug2 );
8143
  $html2 = wppa_maintenance_button( $slug2 );
@@ -8268,7 +8270,7 @@ global $wppa_supported_camara_brands;
8268
  {
8269
  $name = __('WPPA+ Filter priority', 'wp-photo-album-plus');
8270
  $desc = __('Sets the priority of the wppa+ content filter.', 'wp-photo-album-plus');
8271
- $help = esc_js(__('If you encounter conflicts with the theme or other plugins, increasing this value sometimes helps. Use with great care!', 'wp-photo-album-plus'));
8272
  $slug = 'wppa_filter_priority';
8273
  $html = wppa_input($slug, '50px');
8274
  $clas = '';
@@ -8277,7 +8279,7 @@ global $wppa_supported_camara_brands;
8277
 
8278
  $name = __('Do_shortcode priority', 'wp-photo-album-plus');
8279
  $desc = __('Sets the priority of the do_shortcode() content filter.', 'wp-photo-album-plus');
8280
- $help = esc_js(__('If you encounter conflicts with the theme or other plugins, increasing this value sometimes helps. Use with great care!', 'wp-photo-album-plus'));
8281
  $slug = 'wppa_shortcode_priority';
8282
  $html = wppa_input($slug, '50px');
8283
  $clas = '';
@@ -8286,7 +8288,7 @@ global $wppa_supported_camara_brands;
8286
 
8287
  $name = __('WPPA shortcode at Filter priority', 'wp-photo-album-plus');
8288
  $desc = __('Execute shortcode expansion on filter priority in posts and pages.', 'wp-photo-album-plus');
8289
- $help = esc_js(__('Use to fix certain layout problems', 'wp-photo-album-plus'));
8290
  $slug = 'wppa_shortcode_at_priority';
8291
  $html = wppa_checkbox($slug);
8292
  $clas = '';
@@ -8295,7 +8297,7 @@ global $wppa_supported_camara_brands;
8295
 
8296
  $name = __('WPPA shortcode at Filter priority widget', 'wp-photo-album-plus');
8297
  $desc = __('Execute shortcode expansion on filter priority in widgets.', 'wp-photo-album-plus');
8298
- $help = esc_js(__('Use to fix certain layout problems', 'wp-photo-album-plus'));
8299
  $slug = 'wppa_shortcode_at_priority_widget';
8300
  $html = wppa_checkbox($slug);
8301
  $clas = '';
@@ -8304,8 +8306,8 @@ global $wppa_supported_camara_brands;
8304
 
8305
  $name = __('JPG image quality', 'wp-photo-album-plus');
8306
  $desc = __('The jpg quality when photos are downsized', 'wp-photo-album-plus');
8307
- $help = esc_js(__('The higher the number the better the quality but the larger the file', 'wp-photo-album-plus'));
8308
- $help .= '\n'.esc_js(__('Possible values 20..100', 'wp-photo-album-plus'));
8309
  $slug = 'wppa_jpeg_quality';
8310
  $html = wppa_input($slug, '50px');
8311
  $clas = '';
@@ -8314,7 +8316,7 @@ global $wppa_supported_camara_brands;
8314
 
8315
  $name = __('Allow WPPA+ Debugging', 'wp-photo-album-plus');
8316
  $desc = __('Allow the use of &amp;debug=.. in urls to this site.', 'wp-photo-album-plus');
8317
- $help = esc_js(__('If checked: appending (?)(&)debug or (?)(&)debug=<int> to an url to this site will generate the display of special WPPA+ diagnostics, as well as php warnings', 'wp-photo-album-plus'));
8318
  $slug = 'wppa_allow_debug';
8319
  $html = wppa_checkbox($slug);
8320
  $clas = '';
@@ -8323,7 +8325,7 @@ global $wppa_supported_camara_brands;
8323
 
8324
  $name = __('Auto continue', 'wp-photo-album-plus');
8325
  $desc = __('Continue automatic after time out', 'wp-photo-album-plus');
8326
- $help = esc_js(__('If checked, an attempt will be made to restart an admin process when the time is out.', 'wp-photo-album-plus'));
8327
  $slug = 'wppa_auto_continue';
8328
  $html = wppa_checkbox($slug);
8329
  $clas = '';
@@ -8332,9 +8334,9 @@ global $wppa_supported_camara_brands;
8332
 
8333
  $name = __('Max execution time', 'wp-photo-album-plus');
8334
  $desc = __('Set max execution time here.', 'wp-photo-album-plus');
8335
- $help = esc_js(__('If your php config does not properly set the max execution time, you can set it here. Seconds, 0 means do not change.', 'wp-photo-album-plus'));
8336
- $help .= '\n'.esc_js(__('A safe value is 45 in most cases', 'wp-photo-album-plus'));
8337
- $help .= '\n'.esc_js(sprintf(__('The PHP setting max_execution_time is set to %s.', 'wp-photo-album-plus'), ini_get('max_execution_time')));
8338
  $slug = 'wppa_max_execution_time';
8339
  $html = wppa_input($slug, '50px', '', 'seconds');
8340
  $clas = '';
@@ -8352,10 +8354,10 @@ global $wppa_supported_camara_brands;
8352
 
8353
  $name = __('Enable <i>in-line</i> settings', 'wp-photo-album-plus');
8354
  $desc = __('Activates shortcode [wppa_set][/wppa_set].', 'wp-photo-album-plus');
8355
- $help = esc_js(__('Syntax: [wppa_set name="any wppa setting" value="new value"][/wppa_set]', 'wp-photo-album-plus'));
8356
- $help .= '\n\n'.esc_js(__('Example: [wppa_set name="wppa_thumbtype" value="masonry-v"][/wppa_set] sets the thumbnail type to vertical masonry style', 'wp-photo-album-plus'));
8357
- $help .= '\n'.esc_js(__('Do not forget to reset with [wppa_set][/wppa_set]', 'wp-photo-album-plus'));
8358
- $help .= '\n\n'.esc_js(__('Use with great care! There is no check on validity of values!', 'wp-photo-album-plus'));
8359
  $slug = 'wppa_enable_shortcode_wppa_set';
8360
  $html = wppa_checkbox($slug);
8361
  $clas = '';
@@ -8399,7 +8401,7 @@ global $wppa_supported_camara_brands;
8399
  wppa_setting($slug, '9.3', $name, $desc, $html, $help, $clas, $tags);
8400
 
8401
  $name = __('Log File events', 'wp-photo-album-plus');
8402
- $desc = __('Keep track of dir/file creations and chmod.', 'wp-photo-album-plus');
8403
  $help = '';
8404
  $slug = 'wppa_log_fso';
8405
  $html = wppa_checkbox($slug);
@@ -8427,7 +8429,7 @@ global $wppa_supported_camara_brands;
8427
 
8428
  $name = __('Retry failed mails', 'wp-photo-album-plus');
8429
  $desc = __('Select number of retries for failed mails', 'wp-photo-album-plus');
8430
- $help = esc_js(__('Retries occur at the background every hour', 'wp-photo-album-plus'));
8431
  $slug = 'wppa_retry_mails';
8432
  $html = wppa_number($slug, '0', '10');
8433
  $clas = '';
@@ -8436,8 +8438,8 @@ global $wppa_supported_camara_brands;
8436
 
8437
  $name = __('Minimum tags', 'wp-photo-album-plus');
8438
  $desc = __('These tags exist even when they do not occur in any photo.', 'wp-photo-album-plus');
8439
- $help = esc_js(__('Enter tags, separated by comma\'s (,)', 'wp-photo-album-plus'));
8440
- $help .= '\n\n'.esc_js(__('Tags exist when they appear on any photo, and vanish when they do no longer appear. Except the tags you list here; they exist always.', 'wp-photo-album-plus'));
8441
  $slug = 'wppa_minimum_tags';
8442
  $html = wppa_input($slug, '300px');
8443
  $clas = '';
@@ -8477,7 +8479,7 @@ global $wppa_supported_camara_brands;
8477
  {
8478
  $name = __('Allow HTML', 'wp-photo-album-plus');
8479
  $desc = __('Allow HTML in album and photo descriptions.', 'wp-photo-album-plus');
8480
- $help = esc_js(__('If checked: html is allowed. WARNING: No checks on syntax, it is your own responsibility to close tags properly!', 'wp-photo-album-plus'));
8481
  $slug = 'wppa_html';
8482
  $html = wppa_checkbox($slug);
8483
  $clas = '';
@@ -8486,7 +8488,7 @@ global $wppa_supported_camara_brands;
8486
 
8487
  $name = __('Allow HTML custom', 'wp-photo-album-plus');
8488
  $desc = __('Allow HTML in custom photo datafields.', 'wp-photo-album-plus');
8489
- $help = esc_js(__('If checked: html is allowed. WARNING: No checks on syntax, it is your own responsibility to close tags properly!', 'wp-photo-album-plus'));
8490
  $slug = 'wppa_allow_html_custom';
8491
  $html = wppa_checkbox($slug);
8492
  $clas = '';
@@ -8495,7 +8497,7 @@ global $wppa_supported_camara_brands;
8495
 
8496
  $name = __('Check tag balance', 'wp-photo-album-plus');
8497
  $desc = __('Check if the HTML tags are properly closed: "balanced".', 'wp-photo-album-plus');
8498
- $help = esc_js(__('If the HTML tags in an album or a photo description are not in balance, the description is not updated, an errormessage is displayed', 'wp-photo-album-plus'));
8499
  $slug = 'wppa_check_balance';
8500
  $html = wppa_checkbox($slug);
8501
  $clas = '';
@@ -8554,7 +8556,7 @@ global $wppa_supported_camara_brands;
8554
 
8555
  $name = __('Photo admin max albums', 'wp-photo-album-plus');
8556
  $desc = __('Max albums to show in album selectionbox.', 'wp-photo-album-plus');
8557
- $help = esc_js(__('If there are more albums in the system, display an input box asking for album id#', 'wp-photo-album-plus'));
8558
  $slug = 'wppa_photo_admin_max_albums';
8559
  $options = array( __( '--- off ---', 'wp-photo-album-plus'), '10', '20', '50', '100', '200', '500', '1000', '2000', '3000', '4000', '5000' );
8560
  $values = array( '0', '10', '20', '50', '100', '200', '500', '1000', '2000', '3000', '4000', '5000' );
@@ -8676,7 +8678,7 @@ global $wppa_supported_camara_brands;
8676
 
8677
  $name = __('Enable shortcode generator', 'wp-photo-album-plus');
8678
  $desc = __('Show album icon above page/post edit window', 'wp-photo-album-plus');
8679
- $help = esc_js(__('Administrators and wppa super users will always have the shortcode generator available.', 'wp-photo-album-plus'));
8680
  $slug = 'wppa_enable_generator';
8681
  $html = wppa_checkbox($slug);
8682
  $clas = '';
@@ -8696,7 +8698,7 @@ global $wppa_supported_camara_brands;
8696
  {
8697
  $name = __('Meta on page', 'wp-photo-album-plus');
8698
  $desc = __('Meta tags for photos on the page.', 'wp-photo-album-plus');
8699
- $help = esc_js(__('If checked, the header of the page will contain metatags that refer to featured photos on the page in the page context.', 'wp-photo-album-plus'));
8700
  $slug = 'wppa_meta_page';
8701
  $html = wppa_checkbox($slug);
8702
  $clas = '';
@@ -8705,8 +8707,8 @@ global $wppa_supported_camara_brands;
8705
 
8706
  $name = __('Meta all', 'wp-photo-album-plus');
8707
  $desc = __('Meta tags for all featured photos.', 'wp-photo-album-plus');
8708
- $help = esc_js(__('If checked, the header of the page will contain metatags that refer to all featured photo files.', 'wp-photo-album-plus'));
8709
- $help .= '\n'.esc_js(__('If you have many featured photos, you might wish to uncheck this item to reduce the size of the page header.', 'wp-photo-album-plus'));
8710
  $slug = 'wppa_meta_all';
8711
  $html = wppa_checkbox($slug);
8712
  $clas = '';
@@ -8717,7 +8719,7 @@ global $wppa_supported_camara_brands;
8717
  $desc = __('Add og meta tags to the page header.', 'wp-photo-album-plus');
8718
  $help = '';
8719
  $slug = 'wppa_og_tags_on';
8720
- $warn = esc_js(__('Turning this off may affect the functionality of social media items in the share box that rely on open graph tags information.', 'wp-photo-album-plus'));
8721
  $html = wppa_checkbox_warn_off($slug, '', '', $warn, false);
8722
  $clas = '';
8723
  $tags = 'system';
@@ -8809,7 +8811,7 @@ global $wppa_supported_camara_brands;
8809
 
8810
  $name = __('Use text labels', 'wp-photo-album-plus');
8811
  $desc = __('Use editable text for the New and Modified labels', 'wp-photo-album-plus');
8812
- $help = esc_js(__('If UNticked, you can specify the urls for custom images to be used.', 'wp-photo-album-plus'));
8813
  $slug = 'wppa_new_mod_label_is_text';
8814
  $onch = 'wppaCheckCheck(\''.$slug.'\',\'nmtxt\');';
8815
  $html = wppa_checkbox($slug,$onch);
@@ -8839,7 +8841,7 @@ global $wppa_supported_camara_brands;
8839
 
8840
  $name = __('New label', 'wp-photo-album-plus');
8841
  $desc = __('Specify the "New" indicator details.', 'wp-photo-album-plus');
8842
- $help = esc_js(__('If you use qTranslate, the text may be multilingual.', 'wp-photo-album-plus'));
8843
  $slug1 = 'wppa_new_label_text';
8844
  $slug2 = 'wppa_new_label_color';
8845
  $html1 = '<span style="float:left">'.__('Text', 'wp-photo-album-plus').': </span>'.wppa_input($slug1, '150px');
@@ -8850,7 +8852,7 @@ global $wppa_supported_camara_brands;
8850
 
8851
  $name = __('Modified label', 'wp-photo-album-plus');
8852
  $desc = __('Specify the "Modified" indicator details.', 'wp-photo-album-plus');
8853
- $help = esc_js(__('If you use qTranslate, the text may be multilingual.', 'wp-photo-album-plus'));
8854
  $slug1 = 'wppa_mod_label_text';
8855
  $slug2 = 'wppa_mod_label_color';
8856
  $html1 = '<span style="float:left">'.__('Text', 'wp-photo-album-plus').': </span>'.wppa_input($slug1, '150px');
@@ -8879,7 +8881,7 @@ global $wppa_supported_camara_brands;
8879
 
8880
  $name = __('Limit LasTen New', 'wp-photo-album-plus');
8881
  $desc = __('Limits the LasTen photos to those that are \'New\', or newly modified.', 'wp-photo-album-plus');
8882
- $help = esc_js(__('If you tick this box and configured the new photo time, you can even limit the number by the setting in Table I-F7, or set that number to an unlikely high value.', 'wp-photo-album-plus'));
8883
  $slug = 'wppa_lasten_limit_new';
8884
  $html = wppa_checkbox($slug);
8885
  $clas = '';
@@ -8897,7 +8899,7 @@ global $wppa_supported_camara_brands;
8897
 
8898
  $name = __('Apply Newphoto desc', 'wp-photo-album-plus');
8899
  $desc = __('Give each new photo a standard description.', 'wp-photo-album-plus');
8900
- $help = esc_js(__('If checked, each new photo will get the description (template) as specified in the next item.', 'wp-photo-album-plus'));
8901
  $slug = 'wppa_apply_newphoto_desc';
8902
  $html = wppa_checkbox($slug);
8903
  $clas = '';
@@ -8906,8 +8908,8 @@ global $wppa_supported_camara_brands;
8906
 
8907
  $name = __('New photo desc', 'wp-photo-album-plus');
8908
  $desc = __('The description (template) to add to a new photo.', 'wp-photo-album-plus');
8909
- $help = esc_js(__('Enter the default description.', 'wp-photo-album-plus'));
8910
- $help .= '\n\n'.esc_js(__('If you use html, please check item B-1 of this table.', 'wp-photo-album-plus'));
8911
  $slug = 'wppa_newphoto_description';
8912
  $html = wppa_textarea($slug, $name);
8913
  $clas = '';
@@ -8916,7 +8918,7 @@ global $wppa_supported_camara_brands;
8916
 
8917
  $name = __('New photo owner', 'wp-photo-album-plus');
8918
  $desc = __('The owner of a new uploaded photo.', 'wp-photo-album-plus');
8919
- $help = esc_js(__('If you leave this blank, the uploader will be set as the owner', 'wp-photo-album-plus'));
8920
  $slug = 'wppa_newphoto_owner';
8921
  $html = wppa_input($slug, '50px', '', __('leave blank or enter login name', 'wp-photo-album-plus'));
8922
  $clas = '';
@@ -8925,8 +8927,8 @@ global $wppa_supported_camara_brands;
8925
 
8926
  $name = __('Upload limit', 'wp-photo-album-plus');
8927
  $desc = __('New albums are created with this upload limit.', 'wp-photo-album-plus');
8928
- $help = esc_js(__('Administrators can change the limit settings in the "Edit Album Information" admin page.', 'wp-photo-album-plus'));
8929
- $help .= '\n'.esc_js(__('A value of 0 means: no limit.', 'wp-photo-album-plus'));
8930
  $slug = 'wppa_upload_limit_count';
8931
  $html = wppa_input($slug, '50px', '', __('photos', 'wp-photo-album-plus'));
8932
  $slug = 'wppa_upload_limit_time';
@@ -9020,7 +9022,7 @@ global $wppa_supported_camara_brands;
9020
  case 'selectionbox':
9021
  $name = __('Grant parent', 'wp-photo-album-plus');
9022
  $desc = __('The parent album(s) of the auto created albums.', 'wp-photo-album-plus');
9023
- $help = esc_js(__('You may select multiple albums. All logged in visitors will get their own sub-album in each granted parent.', 'wp-photo-album-plus'));
9024
  $slug = 'wppa_grant_parent';
9025
  $opts = array( __('--- none ---', 'wp-photo-album-plus'), __('--- separate ---', 'wp-photo-album-plus') );
9026
  $vals = array( 'zero', '-1');
@@ -9086,8 +9088,8 @@ global $wppa_supported_camara_brands;
9086
 
9087
  $name = __('Max user albums', 'wp-photo-album-plus');
9088
  $desc = __('The max number of albums a user can create.', 'wp-photo-album-plus');
9089
- $help = esc_js(__('The maximum number of albums a user can create when he is not admin and owner only is active', 'wp-photo-album-plus'));
9090
- $help .= '\n\n'.esc_js(__('A number of 0 means No limit', 'wp-photo-album-plus'));
9091
  $slug = 'wppa_max_albums';
9092
  $html = wppa_input($slug, '50px', '', 'albums');
9093
  $clas = '';
@@ -9096,7 +9098,7 @@ global $wppa_supported_camara_brands;
9096
 
9097
  $name = __('Default photo name', 'wp-photo-album-plus');
9098
  $desc = __('Select the way the name of a new uploaded photo should be determined.', 'wp-photo-album-plus');
9099
- $help = esc_js('If you select an IPTC Tag and it is not found, the filename will be used instead.');
9100
  $slug = 'wppa_newphoto_name_method';
9101
  $opts = array( __('Filename', 'wp-photo-album-plus'),
9102
  __('Filename without extension', 'wp-photo-album-plus'),
@@ -9121,7 +9123,7 @@ global $wppa_supported_camara_brands;
9121
 
9122
  $name = __('Default coverphoto', 'wp-photo-album-plus');
9123
  $desc = __('Name of photofile to become cover image', 'wp-photo-album-plus');
9124
- $help = esc_js(__('If you name a photofile like this setting before upload, it will become the coverimage automatically.', 'wp-photo-album-plus'));
9125
  $slug = 'wppa_default_coverimage_name';
9126
  $html = wppa_input($slug, '150px');
9127
  $clas = '';
@@ -9130,7 +9132,7 @@ global $wppa_supported_camara_brands;
9130
 
9131
  $name = __('Copy Timestamp', 'wp-photo-album-plus');
9132
  $desc = __('Copy timestamp when copying photo.', 'wp-photo-album-plus');
9133
- $help = esc_js(__('If checked, the copied photo is not "new"', 'wp-photo-album-plus'));
9134
  $slug = 'wppa_copy_timestamp';
9135
  $html = wppa_checkbox($slug);
9136
  $clas = '';
@@ -9157,7 +9159,7 @@ global $wppa_supported_camara_brands;
9157
 
9158
  $name = __('Optimize files', 'wp-photo-album-plus');
9159
  $desc = __('Optimize image files right after upload/import', 'wp-photo-album-plus');
9160
- $help = esc_js(__('This option requires the plugin EWWW Image Optimizer to be activated', 'wp-photo-album-plus'));
9161
  $slug = 'wppa_optimize_new';
9162
  $html = wppa_checkbox($slug);
9163
  $clas = '';
@@ -9189,9 +9191,9 @@ global $wppa_supported_camara_brands;
9189
  {
9190
  $name = __('Search page', 'wp-photo-album-plus');
9191
  $desc = __('Display the search results on page.', 'wp-photo-album-plus');
9192
- $help = esc_js(__('Select the page to be used to display search results. The page MUST contain [wppa][/wppa].', 'wp-photo-album-plus'));
9193
- $help .= '\n'.esc_js(__('You may give it the title "Search results" or something alike.', 'wp-photo-album-plus'));
9194
- $help .= '\n'.esc_js(__('Or you may use the standard page on which you display the generic album.', 'wp-photo-album-plus'));
9195
  $slug = 'wppa_search_linkpage';
9196
  wppa_verify_page($slug);
9197
  $query = "SELECT ID, post_title, post_content FROM " . $wpdb->posts . " WHERE post_type = 'page' AND post_status = 'publish' ORDER BY post_title ASC";
@@ -9233,8 +9235,8 @@ global $wppa_supported_camara_brands;
9233
 
9234
  $name = __('Exclude separate', 'wp-photo-album-plus');
9235
  $desc = __('Do not search \'separate\' albums.', 'wp-photo-album-plus');
9236
- $help = esc_js(__('When checked, albums (and photos in them) that have the parent set to --- separate --- will be excluded from being searched.', 'wp-photo-album-plus'));
9237
- $help .= '\n'.esc_js(__('Except when you start searching in a \'saparate\' album, with the "search in current section" box ticked.', 'wp-photo-album-plus'));
9238
  $slug = 'wppa_excl_sep';
9239
  $html = wppa_checkbox($slug);
9240
  $clas = '';
@@ -9243,7 +9245,7 @@ global $wppa_supported_camara_brands;
9243
 
9244
  $name = __('Include tags', 'wp-photo-album-plus');
9245
  $desc = __('Do also search the photo tags.', 'wp-photo-album-plus');
9246
- $help = esc_js(__('When checked, the tags of the photo will also be searched.', 'wp-photo-album-plus'));
9247
  $slug = 'wppa_search_tags';
9248
  $html = wppa_checkbox($slug);
9249
  $clas = '';
@@ -9252,7 +9254,7 @@ global $wppa_supported_camara_brands;
9252
 
9253
  $name = __('Include categories', 'wp-photo-album-plus');
9254
  $desc = __('Do also search the album categories.', 'wp-photo-album-plus');
9255
- $help = esc_js(__('When checked, the categories of the album will also be searched.', 'wp-photo-album-plus'));
9256
  $slug = 'wppa_search_cats';
9257
  $html = wppa_checkbox($slug);
9258
  $clas = '';
@@ -9261,7 +9263,7 @@ global $wppa_supported_camara_brands;
9261
 
9262
  $name = __('Include comments', 'wp-photo-album-plus');
9263
  $desc = __('Do also search the comments on photos.', 'wp-photo-album-plus');
9264
- $help = esc_js(__('When checked, the comments of the photos will also be searched.', 'wp-photo-album-plus'));
9265
  $slug = 'wppa_search_comments' ;
9266
  $html = wppa_checkbox($slug);
9267
  $clas = '';
@@ -9270,7 +9272,7 @@ global $wppa_supported_camara_brands;
9270
 
9271
  $name = __('Photos only', 'wp-photo-album-plus');
9272
  $desc = __('Search for photos only.', 'wp-photo-album-plus');
9273
- $help = esc_js(__('When checked, only photos will be searched for.', 'wp-photo-album-plus'));
9274
  $slug = 'wppa_photos_only';
9275
  $html = wppa_checkbox($slug);
9276
  $clas = '';
@@ -9297,7 +9299,7 @@ global $wppa_supported_camara_brands;
9297
 
9298
  $name = __('Tags OR only', 'wp-photo-album-plus');
9299
  $desc = __('No and / or buttons', 'wp-photo-album-plus');
9300
- $help = esc_js(__('Hide the and/or radiobuttons and do the or method in the multitag widget and shortcode.', 'wp-photo-album-plus'));
9301
  $slug = 'wppa_tags_or_only';
9302
  $html = wppa_checkbox($slug);
9303
  $clas = '';
@@ -9306,7 +9308,7 @@ global $wppa_supported_camara_brands;
9306
 
9307
  $name = __('Tags add Inverse', 'wp-photo-album-plus');
9308
  $desc = __('Add a checkbox to invert the selection.', 'wp-photo-album-plus');
9309
- $help = esc_js(__('Adds an Invert (NOT) checkbox on the multitag widget and shortcode.', 'wp-photo-album-plus'));
9310
  $slug = 'wppa_tags_not_on';
9311
  $html = wppa_checkbox($slug);
9312
  $clas = '';
@@ -9315,7 +9317,7 @@ global $wppa_supported_camara_brands;
9315
 
9316
  $name = __('Floating searchtoken', 'wp-photo-album-plus');
9317
  $desc = __('A match need not start at the first char.', 'wp-photo-album-plus');
9318
- $help = esc_js(__('A match is found while searching also when the entered token is somewhere in the middle of a word.', 'wp-photo-album-plus'));
9319
  $slug = 'wppa_wild_front';
9320
  $html = wppa_checkbox($slug);
9321
  $clas = '';
@@ -9324,7 +9326,7 @@ global $wppa_supported_camara_brands;
9324
 
9325
  $name = __('Search results display', 'wp-photo-album-plus');
9326
  $desc = __('Select the way the search results should be displayed.', 'wp-photo-album-plus');
9327
- $help = esc_js(__('If you select anything different from "Albums and thumbnails", "Photos only" is assumed (Table IX-E6).', 'wp-photo-album-plus'));
9328
  $slug = 'wppa_search_display_type';
9329
  $opts = array( __('Albums and thumbnails', 'wp-photo-album-plus'),
9330
  __('Slideshow', 'wp-photo-album-plus'),
@@ -9339,7 +9341,7 @@ global $wppa_supported_camara_brands;
9339
 
9340
  $name = __('Name max length', 'wp-photo-album-plus');
9341
  $desc = __('Max length of displayed photonames in supersearch selectionlist', 'wp-photo-album-plus');
9342
- $help = esc_js(__('To limit the length of the selectionlist, enter the number of characters to show.', 'wp-photo-album-plus'));
9343
  $slug = 'wppa_ss_name_max';
9344
  $html = $html = wppa_input($slug, '50px');
9345
  $clas = '';
@@ -9348,7 +9350,7 @@ global $wppa_supported_camara_brands;
9348
 
9349
  $name = __('Text max length', 'wp-photo-album-plus');
9350
  $desc = __('Max length of displayed photo text in supersearch selectionlist', 'wp-photo-album-plus');
9351
- $help = esc_js(__('To limit the length of the selectionlist, enter the number of characters to show.', 'wp-photo-album-plus'));
9352
  $slug = 'wppa_ss_text_max';
9353
  $html = $html = wppa_input($slug, '50px');
9354
  $clas = '';
@@ -9357,8 +9359,8 @@ global $wppa_supported_camara_brands;
9357
 
9358
  $name = __('Search toptext', 'wp-photo-album-plus');
9359
  $desc = __('The text at the top of the search box.', 'wp-photo-album-plus');
9360
- $help = esc_js(__('This is the equivalence of the text you can enter in the widget activation screen to show above the input box, but now for the search shortcode display.', 'wp-photo-album-plus'));
9361
- $help .= '\n'.esc_js(__('May contain unfiltered HTML.', 'wp-photo-album-plus'));
9362
  $slug = 'wppa_search_toptext';
9363
  $html = wppa_textarea($slug, $name);
9364
  $clas = '';
@@ -9394,7 +9396,7 @@ global $wppa_supported_camara_brands;
9394
 
9395
  $name = __('Exclude from search', 'wp-photo-album-plus');
9396
  $desc = __('Exclude these words from search index.', 'wp-photo-album-plus');
9397
- $help = esc_js(__('Enter words separated by commas (,)', 'wp-photo-album-plus'));
9398
  $slug = 'wppa_search_user_void';
9399
  $html = wppa_input($slug, '90%;');
9400
  $clas = '';
@@ -9403,7 +9405,7 @@ global $wppa_supported_camara_brands;
9403
 
9404
  $name = __('Exclude numbers', 'wp-photo-album-plus');
9405
  $desc = __('Exclude numbers from search index.', 'wp-photo-album-plus');
9406
- $help = esc_js(__('If ticked, photos and albums are not searchable by numbers.', 'wp-photo-album-plus'));
9407
  $slug = 'wppa_search_numbers_void';
9408
  $html = wppa_checkbox($slug);
9409
  $clas = '';
@@ -9498,7 +9500,7 @@ global $wppa_supported_camara_brands;
9498
  {
9499
  $name = __('Watermark', 'wp-photo-album-plus');
9500
  $desc = __('Enable the application of watermarks.', 'wp-photo-album-plus');
9501
- $help = esc_js(__('If checked, photos can be watermarked during upload / import.', 'wp-photo-album-plus'));
9502
  $slug = 'wppa_watermark_on';
9503
  $onchange = 'wppaCheckWatermark()';
9504
  $html = wppa_checkbox($slug, $onchange);
@@ -9509,10 +9511,10 @@ global $wppa_supported_camara_brands;
9509
 
9510
  $name = __('Watermark file', 'wp-photo-album-plus');
9511
  $desc = __('The default watermarkfile to be used.', 'wp-photo-album-plus');
9512
- $help = esc_js(__('Watermark files are of type png and reside in', 'wp-photo-album-plus') . ' ' . WPPA_UPLOAD_URL . '/watermarks/');
9513
- $help .= '\n\n'.esc_js(__('A suitable watermarkfile typically consists of a transparent background and a black text or drawing.', 'wp-photo-album-plus'));
9514
- $help .= '\n'.esc_js(__(sprintf('The watermark image will be overlaying the photo with %s%% transparency.', (100-wppa_opt( 'watermark_opacity' ))), 'wp-photo-album-plus'));
9515
- $help .= '\n\n'.esc_js(__('You may also select one of the textual watermark types at the bottom of the selection list.', 'wp-photo-album-plus'));
9516
  $slug = 'wppa_watermark_file';
9517
  $html = '<select style="float:left; font-size:11px; height:20px; margin:0 4px 0 0; padding:0; " id="wppa_watermark_file" onchange="wppaAjaxUpdateOptionValue(\'watermark_file\', this)" >' . wppa_watermark_file_select( 'system' ) . '</select>';
9518
  $html .= '<img id="img_watermark_file" src="'.wppa_get_imgdir().'star.ico" title="'.__('Setting unmodified', 'wp-photo-album-plus').'" style="padding-left:4px; float:left; height:16px; width:16px;" />';
@@ -9534,7 +9536,7 @@ global $wppa_supported_camara_brands;
9534
 
9535
  $name = __('Watermark opacity image', 'wp-photo-album-plus');
9536
  $desc = __('You can set the intensity of image watermarks here.', 'wp-photo-album-plus');
9537
- $help = esc_js(__('The higher the number, the intenser the watermark. Value must be > 0 and <= 100.', 'wp-photo-album-plus'));
9538
  $slug = 'wppa_watermark_opacity';
9539
  $html = wppa_input($slug, '50px', '', '%');
9540
  $clas = 'wppa_watermark';
@@ -9558,8 +9560,8 @@ global $wppa_supported_camara_brands;
9558
 
9559
  $name = __('Predefined watermark text', 'wp-photo-album-plus');
9560
  $desc = __('The text to use when --- pre-defined --- is selected.', 'wp-photo-album-plus');
9561
- $help = esc_js(__('You may use the following keywords:', 'wp-photo-album-plus'));
9562
- $help .= '\n'.esc_js(__('w#site, w#displayname, all standard photo keywords, iptc and exif keywords', 'wp-photo-album-plus'));
9563
  $slug = 'wppa_textual_watermark_text';
9564
  $html = wppa_textarea($slug, $name);
9565
  $clas = 'wppa_watermark';
@@ -9568,7 +9570,7 @@ global $wppa_supported_camara_brands;
9568
 
9569
  $name = __('Textual watermark font', 'wp-photo-album-plus');
9570
  $desc = __('The font to use with textual watermarks.', 'wp-photo-album-plus');
9571
- $help = esc_js(__('Except for the system font, are font files of type ttf and reside in', 'wp-photo-album-plus') . ' ' . WPPA_UPLOAD_URL . '/fonts/');
9572
  $slug = 'wppa_textual_watermark_font';
9573
  $fopts = array( 'System' );
9574
  $fvals = array( 'system' );
@@ -9598,9 +9600,9 @@ global $wppa_supported_camara_brands;
9598
 
9599
  $name = __('Textual watermark font size', 'wp-photo-album-plus');
9600
  $desc = __('You can set the size of the truetype fonts only.', 'wp-photo-album-plus');
9601
- $help = esc_js(__('System font can have size 1,2,3,4 or 5, in some stoneage fontsize units. Any value > 5 will be treated as 5.', 'wp-photo-album-plus'));
9602
- $help .= '\n\n'.esc_js(__('Truetype fonts can have any positive integer size, if your PHPs GD version is 1, in pixels, in GD2 in points.', 'wp-photo-album-plus'));
9603
- $help .= '\n'.esc_js(__('It is unclear how many pixels a point is...', 'wp-photo-album-plus'));
9604
  $slug = 'wppa_textual_watermark_size';
9605
  $html = wppa_input($slug, '50px', '', 'points');
9606
  $clas = 'wppa_watermark';
@@ -9629,7 +9631,7 @@ global $wppa_supported_camara_brands;
9629
 
9630
  $name = __('Upload watermark font', 'wp-photo-album-plus');
9631
  $desc = __('Upload a new watermark font file', 'wp-photo-album-plus');
9632
- $help = esc_js(__('Upload truetype fonts (.ttf) only, and test if they work on your server platform.', 'wp-photo-album-plus'));
9633
  $slug = 'wppa_watermark_font_upload';
9634
  $html = '<input id="my_file_element" type="file" name="file_2" style="float:left; font-size: 11px;" />';
9635
  $html .= wppa_doit_button(__('Upload TrueType font', 'wp-photo-album-plus'), $slug, '', '31', '16');
@@ -9639,7 +9641,7 @@ global $wppa_supported_camara_brands;
9639
 
9640
  $name = __('Watermark opacity text', 'wp-photo-album-plus');
9641
  $desc = __('You can set the intensity of a text watermarks here.', 'wp-photo-album-plus');
9642
- $help = esc_js(__('The higher the number, the intenser the watermark. Value must be > 0 and <= 100.', 'wp-photo-album-plus'));
9643
  $slug = 'wppa_watermark_opacity_text';
9644
  $html = wppa_input($slug, '50px', '', '%');
9645
  $clas = 'wppa_watermark';
@@ -9782,8 +9784,8 @@ global $wppa_supported_camara_brands;
9782
  {
9783
  $name = __('Keep sourcefiles admin', 'wp-photo-album-plus');
9784
  $desc = __('Keep the original uploaded and imported photo files.', 'wp-photo-album-plus');
9785
- $help = esc_js(__('The files will be kept in a separate directory with subdirectories for each album', 'wp-photo-album-plus'));
9786
- $help .= '\n\n'.esc_js(__('These files can be used to update the photos used in displaying in wppa+ and optionally for downloading original, un-downsized images.', 'wp-photo-album-plus'));
9787
  $slug = 'wppa_keep_source_admin';
9788
  $html = wppa_checkbox($slug);
9789
  $clas = '';
@@ -9792,8 +9794,8 @@ global $wppa_supported_camara_brands;
9792
 
9793
  $name = __('Keep sourcefiles frontend', 'wp-photo-album-plus');
9794
  $desc = __('Keep the original frontend uploaded photo files.', 'wp-photo-album-plus');
9795
- $help = esc_js(__('The files will be kept in a separate directory with subdirectories for each album', 'wp-photo-album-plus'));
9796
- $help .= '\n\n'.esc_js(__('These files can be used to update the photos used in displaying in wppa+ and optionally for downloading original, un-downsized images.', 'wp-photo-album-plus'));
9797
  $slug = 'wppa_keep_source_frontend';
9798
  $html = wppa_checkbox($slug);
9799
  $clas = '';
@@ -9802,9 +9804,9 @@ global $wppa_supported_camara_brands;
9802
 
9803
  $name = __('Source directory', 'wp-photo-album-plus');
9804
  $desc = __('The path to the directory where the original photofiles will be saved.', 'wp-photo-album-plus');
9805
- $help = esc_js(__('You may change the directory path, but it can not be an url.', 'wp-photo-album-plus'));
9806
- $help .= '\n\n'.esc_js(__('The parent of the directory that you enter here must exist and be writable.', 'wp-photo-album-plus'));
9807
- $help .= '\n'.esc_js(__('The directory itsself will be created if it does not exist yet.', 'wp-photo-album-plus'));
9808
  $slug = 'wppa_source_dir';
9809
  $html = wppa_input($slug, '300px');
9810
  $clas = '';
@@ -9813,8 +9815,8 @@ global $wppa_supported_camara_brands;
9813
 
9814
  $name = __('Keep sync', 'wp-photo-album-plus');
9815
  $desc = __('Keep source synchronously with wppa system.', 'wp-photo-album-plus');
9816
- $help = esc_js(__('If checked, photos that are deleted from wppa, will also be removed from the sourcefiles.', 'wp-photo-album-plus'));
9817
- $help .= '\n'.esc_js(__('Also, copying or moving photos to different albums, will also copy/move the sourcefiles.', 'wp-photo-album-plus'));
9818
  $slug = 'wppa_keep_sync';
9819
  $html = wppa_checkbox($slug);
9820
  $clas = '';
@@ -9823,7 +9825,7 @@ global $wppa_supported_camara_brands;
9823
 
9824
  $name = __('Remake add', 'wp-photo-album-plus');
9825
  $desc = __('Photos will be added from the source pool', 'wp-photo-album-plus');
9826
- $help = esc_js(__('If checked: If photo files are found in the source directory that do not exist in the corresponding album, they will be added to the album.', 'wp-photo-album-plus'));
9827
  $slug = 'wppa_remake_add';
9828
  $html = wppa_checkbox($slug);
9829
  $clas = '';
@@ -9832,7 +9834,7 @@ global $wppa_supported_camara_brands;
9832
 
9833
  $name = __('Save IPTC data', 'wp-photo-album-plus');
9834
  $desc = __('Store the iptc data from the photo into the iptc db table', 'wp-photo-album-plus');
9835
- $help = esc_js(__('You will need this if you enabled the display of iptc data in Table II-B17 or if you use it in the photo descriptions.', 'wp-photo-album-plus'));
9836
  $slug = 'wppa_save_iptc';
9837
  $html = wppa_checkbox($slug);
9838
  $clas = '';
@@ -9841,7 +9843,7 @@ global $wppa_supported_camara_brands;
9841
 
9842
  $name = __('Save EXIF data', 'wp-photo-album-plus');
9843
  $desc = __('Store the exif data from the photo into the exif db table', 'wp-photo-album-plus');
9844
- $help = esc_js(__('You will need this if you enabled the display of exif data in Table II-B18 or if you use it in the photo descriptions.', 'wp-photo-album-plus'));
9845
  $slug = 'wppa_save_exif';
9846
  $html = wppa_checkbox($slug);
9847
  $clas = '';
@@ -9850,7 +9852,7 @@ global $wppa_supported_camara_brands;
9850
 
9851
  $name = __('Import Create page', 'wp-photo-album-plus');
9852
  $desc = __('Create wp page that shows the album when a directory to album is imported.', 'wp-photo-album-plus');
9853
- $help = esc_js(__('As soon as an album is created when a directory is imported, a wp page is made that displays the album content.', 'wp-photo-album-plus'));
9854
  $slug = 'wppa_newpag_create';
9855
  $onchange = 'wppaCheckNewpag()';
9856
  $html = wppa_checkbox($slug, $onchange);
@@ -9860,7 +9862,7 @@ global $wppa_supported_camara_brands;
9860
 
9861
  $name = __('Page content', 'wp-photo-album-plus');
9862
  $desc = __('The content of the page. Must contain <b>w#album</b>', 'wp-photo-album-plus');
9863
- $help = esc_js(__('The content of the page. Note: it must contain w#album. This will be replaced by the album number in the generated shortcode.', 'wp-photo-album-plus'));
9864
  $slug = 'wppa_newpag_content';
9865
  $clas = 'wppa_newpag';
9866
  $html = wppa_input($slug, '90%');
@@ -9895,8 +9897,8 @@ global $wppa_supported_camara_brands;
9895
  if ( ! is_multisite() || WPPA_MULTISITE_GLOBAL ) {
9896
  $name = __('Permalink root', 'wp-photo-album-plus');
9897
  $desc = __('The name of the root for the photofile permalink structure.', 'wp-photo-album-plus');
9898
- $help = esc_js(__('Choose a convenient name like "albums" or so; this will be the name of a folder inside .../wp-content/. Make sure you choose a unique name', 'wp-photo-album-plus'));
9899
- $help .= '\n\n'.esc_js(__('If you make this field empty, the feature is disabled.', 'wp-photo-album-plus'));
9900
  $slug = 'wppa_pl_dirname';
9901
  $clas = '';
9902
  $tags = 'system';
@@ -9906,7 +9908,7 @@ global $wppa_supported_camara_brands;
9906
 
9907
  $name = __('Import parent check', 'wp-photo-album-plus');
9908
  $desc = __('Makes the album tree like the directory tree on Import Dirs to albums.', 'wp-photo-album-plus');
9909
- $help = esc_js(__('Untick only if all your albums have unique names. In this case additional photos may be ftp\'d to toplevel depot subdirs.', 'wp-photo-album-plus'));
9910
  $slug = 'wppa_import_parent_check';
9911
  $html = wppa_checkbox($slug);
9912
  $clas = '';
@@ -9936,9 +9938,9 @@ global $wppa_supported_camara_brands;
9936
 
9937
  $name = __('Foreign shortcodes fullsize', 'wp-photo-album-plus');
9938
  $desc = __('Enable the use of non-wppa+ shortcodes in fullsize photo descriptions.', 'wp-photo-album-plus');
9939
- $help = esc_js(__('When checked, you can use shortcodes from other plugins in the description of photos.', 'wp-photo-album-plus'));
9940
- $help .= '\n\n'.esc_js(__('The shortcodes will be expanded in the descriptions of fullsize images.', 'wp-photo-album-plus'));
9941
- $help .= '\n'.esc_js(__('You will most likely need also to check Table IX-A1 (Allow HTML).', 'wp-photo-album-plus'));
9942
  $slug = 'wppa_allow_foreign_shortcodes';
9943
  $html = wppa_checkbox($slug);
9944
  $clas = '';
@@ -9947,9 +9949,9 @@ global $wppa_supported_camara_brands;
9947
 
9948
  $name = __('Foreign shortcodes thumbnails', 'wp-photo-album-plus');
9949
  $desc = __('Enable the use of non-wppa+ shortcodes in thumbnail photo descriptions.', 'wp-photo-album-plus');
9950
- $help = esc_js(__('When checked, you can use shortcodes from other plugins in the description of photos.', 'wp-photo-album-plus'));
9951
- $help .= '\n\n'.esc_js(__('The shortcodes will be expanded in the descriptions of thumbnail images.', 'wp-photo-album-plus'));
9952
- $help .= '\n'.esc_js(__('You will most likely need also to check Table IX-A1 (Allow HTML).', 'wp-photo-album-plus'));
9953
  $slug = 'wppa_allow_foreign_shortcodes_thumbs';
9954
  $html = wppa_checkbox($slug);
9955
  $clas = '';
@@ -9958,7 +9960,7 @@ global $wppa_supported_camara_brands;
9958
 
9959
  $name = __('Lightbox keyname', 'wp-photo-album-plus');
9960
  $desc = __('The identifier of lightbox.', 'wp-photo-album-plus');
9961
- $help = esc_js(__('If you use a lightbox plugin that uses rel="lbox-id" you can enter the lbox-id here.', 'wp-photo-album-plus'));
9962
  $slug = 'wppa_lightbox_name';
9963
  $html = wppa_input($slug, '100px');
9964
  $clas = 'wppa_alt_lightbox';
@@ -9967,7 +9969,7 @@ global $wppa_supported_camara_brands;
9967
 
9968
  $name = __('myCRED / Cube Points: Comment', 'wp-photo-album-plus');
9969
  $desc = __('Number of points for giving a comment', 'wp-photo-album-plus');
9970
- $help = esc_js(__('This setting requires the plugin myCRED or Cube Points', 'wp-photo-album-plus'));
9971
  $slug = 'wppa_cp_points_comment';
9972
  $html = wppa_input($slug, '50px', '', __('points per comment', 'wp-photo-album-plus'));
9973
  $clas = '';
@@ -9976,7 +9978,7 @@ global $wppa_supported_camara_brands;
9976
 
9977
  $name = __('myCRED / Cube Points: Appr Comment', 'wp-photo-album-plus');
9978
  $desc = __('Number of points for receiving an approved comment', 'wp-photo-album-plus');
9979
- $help = esc_js(__('This setting requires the plugin myCRED or Cube Points', 'wp-photo-album-plus'));
9980
  $slug = 'wppa_cp_points_comment_appr';
9981
  $html = wppa_input($slug, '50px', '', __('points per comment', 'wp-photo-album-plus'));
9982
  $clas = '';
@@ -9985,7 +9987,7 @@ global $wppa_supported_camara_brands;
9985
 
9986
  $name = __('myCRED / Cube Points: Rating', 'wp-photo-album-plus');
9987
  $desc = __('Number of points for a rating vote', 'wp-photo-album-plus');
9988
- $help = esc_js(__('This setting requires the plugin myCRED or Cube Points', 'wp-photo-album-plus'));
9989
  $slug = 'wppa_cp_points_rating';
9990
  $html = wppa_input($slug, '50px', '', __('points per vote', 'wp-photo-album-plus'));
9991
  $clas = '';
@@ -9994,7 +9996,7 @@ global $wppa_supported_camara_brands;
9994
 
9995
  $name = __('myCRED / Cube Points: Upload', 'wp-photo-album-plus');
9996
  $desc = __('Number of points for a successfull frontend upload', 'wp-photo-album-plus');
9997
- $help = esc_js(__('This setting requires the plugin myCRED or Cube Points', 'wp-photo-album-plus'));
9998
  $slug = 'wppa_cp_points_upload';
9999
  $html = wppa_input($slug, '50px', '', __('points per upload', 'wp-photo-album-plus'));
10000
  $clas = '';
@@ -10003,13 +10005,13 @@ global $wppa_supported_camara_brands;
10003
 
10004
  $name = __('Use SCABN', 'wp-photo-album-plus');
10005
  $desc = __('Use the wppa interface to Simple Cart & Buy Now plugin.', 'wp-photo-album-plus');
10006
- $help = esc_js(__('If checked, the shortcode to use for the "add to cart" button in photo descriptions is [cart ...]', 'wp-photo-album-plus'));
10007
- $help .= '\n'.esc_js(__('as opposed to [scabn ...] for the original scabn "add to cart" button.', 'wp-photo-album-plus'));
10008
- $help .= '\n'.esc_js(__('The shortcode for the check-out page is still [scabn]', 'wp-photo-album-plus'));
10009
- $help .= '\n\n'.esc_js(__('The arguments are the same, the defaults are: name = photoname, price = 0.01.', 'wp-photo-album-plus'));
10010
- $help .= '\n'.esc_js(__('Supplying the price should be sufficient; supply a name only when it differs from the photo name.', 'wp-photo-album-plus'));
10011
- $help .= '\n\n'.esc_js(__('This shortcode handler will also work with Ajax enabled.', 'wp-photo-album-plus'));
10012
- $help .= '\n\n'.esc_js(__('Using this interface makes sure that the item urls and callback action urls are correct.', 'wp-photo-album-plus'));
10013
  $slug = 'wppa_use_scabn';
10014
  $html = wppa_checkbox($slug);
10015
  $clas = '';
@@ -10018,7 +10020,7 @@ global $wppa_supported_camara_brands;
10018
 
10019
  $name = __('Use CM Tooltip Glossary', 'wp-photo-album-plus');
10020
  $desc = __('Use plugin CM Tooltip Glossary on photo and album descriptions.', 'wp-photo-album-plus');
10021
- $help = esc_js(__('You MUST set Table IV-A13: Defer javascript, also if you do not want this plugin to act on album and photo descriptions!', 'wp-photo-album-plus'));
10022
  $slug = 'wppa_use_CMTooltipGlossary';
10023
  $html = wppa_checkbox($slug);
10024
  $clas = '';
@@ -10056,7 +10058,7 @@ global $wppa_supported_camara_brands;
10056
 
10057
  $name = __('QR color', 'wp-photo-album-plus');
10058
  $desc = __('The display color of the qr code (dark)', 'wp-photo-album-plus');
10059
- $help = esc_js(__('This color MUST be given in hexadecimal format!', 'wp-photo-album-plus'));
10060
  $slug = 'wppa_qr_color';
10061
  $html = wppa_input($slug, '100px', '', '', "checkColor('".$slug."')") . wppa_color_box($slug);
10062
  $clas = '';
@@ -10074,8 +10076,7 @@ global $wppa_supported_camara_brands;
10074
 
10075
  $name = __('QR cache', 'wp-photo-album-plus');
10076
  $desc = __('Enable caching QR codes', 'wp-photo-album-plus') . ' ' . sprintf( __('So far %d cache hits, %d miss', 'wp-photo-album-plus'), get_option('wppa_qr_cache_hits', '0'), get_option('wppa_qr_cache_miss', '0'));
10077
- $help = esc_js('Enable this to avoid DoS on heavy loads on the qrserver', 'wp-photo-album-plus');
10078
- $slug = 'wppa_qr_cache';
10079
  $html = wppa_checkbox($slug);
10080
  $clas = '';
10081
  $tags = 'system';
@@ -10150,7 +10151,7 @@ global $wppa_supported_camara_brands;
10150
 
10151
  $name = __('Max lifetime', 'wp-photo-album-plus');
10152
  $desc = __('Old images from local server, new images from Cloudinary.', 'wp-photo-album-plus');
10153
- $help = esc_js(__('If NOT set to Forever (0): You need to run Table VIII-B15 on a regular basis.', 'wp-photo-album-plus'));
10154
  $slug = 'wppa_max_cloud_life';
10155
  $opts = array( __('Forever', 'wp-photo-album-plus'),
10156
  sprintf( _n('%d day', '%d days', '1', 'wp-photo-album-plus'), '1'),
@@ -10246,9 +10247,9 @@ global $wppa_supported_camara_brands;
10246
 
10247
  $name = __('GPX Implementation', 'wp-photo-album-plus');
10248
  $desc = __('The way the maps are produced.', 'wp-photo-album-plus');
10249
- $help = esc_js(__('Select the way the maps are produced.', 'wp-photo-album-plus'));
10250
- $help .= '\n\n'.esc_js(__('When using an external plugin, most of the times you can not use Ajax (Table IV-A1).', 'wp-photo-album-plus'));
10251
- $help .= '\n'.esc_js(__('Also: it may or may not be required to load the maps js api (Table IX-K5.1)', 'wp-photo-album-plus'));
10252
  $slug = 'wppa_gpx_implementation';
10253
  $opts = array( __('--- none ---', 'wp-photo-album-plus'), __('WPPA+ Embedded code', 'wp-photo-album-plus'), __('External plugin', 'wp-photo-album-plus') );
10254
  $vals = array( 'none', 'wppa-plus-embedded', 'external-plugin' );
@@ -10260,7 +10261,7 @@ global $wppa_supported_camara_brands;
10260
 
10261
  $name = __('Map height', 'wp-photo-album-plus');
10262
  $desc = __('The height of the map display.', 'wp-photo-album-plus');
10263
- $help = esc_js(__('This setting is for embedded implementation only.', 'wp-photo-album-plus'));
10264
  $slug = 'wppa_map_height';
10265
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
10266
  $clas = 'wppa_gpx_native';
@@ -10269,7 +10270,7 @@ global $wppa_supported_camara_brands;
10269
 
10270
  $name = __('Load maps api', 'wp-photo-album-plus');
10271
  $desc = __('Load the Google maps js api', 'wp-photo-album-plus');
10272
- $help = esc_js(__('If you use an external maps plugin, you may need to tick this box.', 'wp-photo-album-plus'));
10273
  $slug = 'wppa_load_map_api';
10274
  $html = wppa_checkbox($slug);
10275
  $clas = 'wppa_gpx_plugin';
@@ -10287,8 +10288,8 @@ global $wppa_supported_camara_brands;
10287
 
10288
  $name = __('GPX Shortcode', 'wp-photo-album-plus');
10289
  $desc = __('The shortcode to be used for the gpx feature.', 'wp-photo-album-plus');
10290
- $help = esc_js(__('Enter / modify the shortcode to be generated for the gpx plugin. It must contain w#lat and w#lon as placeholders for the latitude and longitude.', 'wp-photo-album-plus'));
10291
- $help .= '\n\n'.esc_js(__('This item is required for using an external Google maps viewer plugin only', 'wp-photo-album-plus'));
10292
  $slug = 'wppa_gpx_shortcode';
10293
  $html = wppa_input($slug, '500px');
10294
  $clas = 'wppa_gpx_plugin';
@@ -10297,7 +10298,7 @@ global $wppa_supported_camara_brands;
10297
 
10298
  $name = __('Zoom level', 'wp-photo-album-plus');
10299
  $desc = __('The zoomlevel for GPX maps', 'wp-photo-album-plus');
10300
- $help = esc_js(__('This setting is for embedded implementation only.', 'wp-photo-album-plus'));
10301
  $slug = 'wppa_geo_zoom';
10302
  $opts = array('1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24','25',);
10303
  $vals = $opts;
@@ -10308,11 +10309,11 @@ global $wppa_supported_camara_brands;
10308
 
10309
  $name = __('Fotomoto', 'wp-photo-album-plus');
10310
  $desc = __('Yes, we use Fotomoto on this site. Read the help text!', 'wp-photo-album-plus');
10311
- $help = esc_js(__('In order to function properly:', 'wp-photo-album-plus'));
10312
- $help .= '\n\n'.esc_js(__('1. Get yourself a Fotomoto account.', 'wp-photo-album-plus'));
10313
- $help .= '\n'.esc_js(__('2. Install the Fotomoto plugin, enter the "Fotomoto Site Key:" and check the "Use API Mode:" checkbox.', 'wp-photo-album-plus'));
10314
- $help .= '\n\n'.esc_js(__('Note: Do NOT Disable the Custom box in Table II-B14.', 'wp-photo-album-plus'));
10315
- $help .= '\n'.esc_js(__('Do NOT remove the text w#fotomoto from the Custombox ( Table II-B15 ).', 'wp-photo-album-plus'));
10316
  $slug = 'wppa_fotomoto_on';
10317
  $onchange = 'wppaCheckFotomoto();alert(\''.__('The page will be reloaded after the action has taken place.', 'wp-photo-album-plus').'\');wppaRefreshAfter();';
10318
  $html = wppa_checkbox($slug, $onchange);
@@ -10322,7 +10323,7 @@ global $wppa_supported_camara_brands;
10322
 
10323
  $name = __('Fotomoto fontsize', 'wp-photo-album-plus');
10324
  $desc = __('Fontsize for the Fotomoto toolbar.', 'wp-photo-album-plus');
10325
- $help = esc_js(__('If you set it here, it overrules a possible setting for font-size in .FotomotoToolbarClass on the Fotomoto dashboard.', 'wp-photo-album-plus'));
10326
  $slug = 'wppa_fotomoto_fontsize';
10327
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
10328
  $clas = 'wppa_fotomoto';
@@ -10331,7 +10332,7 @@ global $wppa_supported_camara_brands;
10331
 
10332
  $name = __('Hide when running', 'wp-photo-album-plus');
10333
  $desc = __('Hide toolbar on running slideshows', 'wp-photo-album-plus');
10334
- $help = esc_js(__('The Fotomoto toolbar will re-appear when the slideshow stops.', 'wp-photo-album-plus'));
10335
  $slug = 'wppa_fotomoto_hide_when_running';
10336
  $html = wppa_checkbox($slug);
10337
  $clas = 'wppa_fotomoto';
@@ -10340,7 +10341,7 @@ global $wppa_supported_camara_brands;
10340
 
10341
  $name = __('Fotomoto minwidth', 'wp-photo-album-plus');
10342
  $desc = __('Minimum width to display Fotomoto toolbar.', 'wp-photo-album-plus');
10343
- $help = esc_js(__('The display of the Fotomoto Toolbar will be suppressed on smaller slideshows.', 'wp-photo-album-plus'));
10344
  $slug = 'wppa_fotomoto_min_width';
10345
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
10346
  $clas = 'wppa_fotomoto';
@@ -10349,7 +10350,7 @@ global $wppa_supported_camara_brands;
10349
 
10350
  $name = __('Image Magick', 'wp-photo-album-plus');
10351
  $desc = __('Absolute path to the ImageMagick commands', 'wp-photo-album-plus');// . ' <span style="color:red;" >' . __('experimental', 'wp-photo-album-plus') . '</span>';
10352
- $help = esc_js(__('If you want to use ImageMagick, enter the absolute path to the ImageMagick commands', 'wp-photo-album-plus'));
10353
  $slug = 'wppa_image_magick';
10354
  $html = wppa_input($slug, '300px');
10355
  $clas = '';
@@ -10360,7 +10361,7 @@ global $wppa_supported_camara_brands;
10360
  {
10361
  $name = __('Enable shortcode [photo ..]', 'wp-photo-album-plus');
10362
  $desc = __('Make the use of shortcode [photo ..] possible', 'wp-photo-album-plus');
10363
- $help = esc_js(__('Only disable this when there is a conflict with another plugin', 'wp-photo-album-plus'));
10364
  $slug = 'wppa_photo_shortcode_enabled';
10365
  $html = wppa_checkbox($slug);
10366
  $clas = '';
@@ -10388,8 +10389,8 @@ global $wppa_supported_camara_brands;
10388
 
10389
  $name = __('Size', 'wp-photo-album-plus');
10390
  $desc = __('Specify the size (width) of the image.', 'wp-photo-album-plus');
10391
- $help = esc_js(__('Use the same syntax as in the [wppa size=".."] shortcode', 'wp-photo-album-plus'));
10392
- $help .= '\n\n'.esc_js(__('Examples: 350 for a fixed width of 350 pixels, or: 0.75 for a responsive display of 75% width, or: auto,350 for responsive with a maximum of 350 pixels.', 'wp-photo-album-plus'));
10393
  $slug = 'wppa_photo_shortcode_size';
10394
  $html = wppa_input($slug, '300px');
10395
  $clas = '';
@@ -10417,8 +10418,8 @@ global $wppa_supported_camara_brands;
10417
 
10418
  $name = __('Fe type', 'wp-photo-album-plus');
10419
  $desc = __('Frontend editor shortcode generator output type', 'wp-photo-album-plus');
10420
- $help = esc_js( __( 'If you want to use the shortcode generator in frontend tinymce editors, select if you want the shortcode or the html to be entered in the post'));
10421
- $help .= '\n\n'.esc_js('Select \'html\' if the inserted shortcode not is converted to the photo', 'wp-photo-album-plus');
10422
  $slug = 'wppa_photo_shortcode_fe_type';
10423
  $opts = array( __('--- none ---', 'wp-photo-album-plus'),
10424
  __('shortcode', 'wp-photo-album-plus'),
@@ -10437,7 +10438,7 @@ global $wppa_supported_camara_brands;
10437
 
10438
  $name = __('Albums', 'wp-photo-album-plus');
10439
  $desc = __('Select album(s) for random photo', 'wp-photo-album-plus');
10440
- $help = esc_js( __( 'The albums to be used for the selection of a random photo for shortcode: [photo random]', 'wp-photo-album-plus'));
10441
  $slug = 'wppa_photo_shortcode_random_albums';
10442
  if ( wppa_has_many_albums() ) {
10443
  $html = wppa_input( $slug, '220', __('Enter album ids separated by commas','wp-photo-album-plus' ) );
@@ -10462,8 +10463,8 @@ global $wppa_supported_camara_brands;
10462
 
10463
  $name = __('Select photo once', 'wp-photo-album-plus');
10464
  $desc = __('The same random photo on every pageload', 'wp-photo-album-plus');
10465
- $help = esc_js(__('If ticked: the random photo is determined once at page/post creation time', 'wp-photo-album-plus'));
10466
- $help .= '\n\n'.esc_js(__('If unticked: every pageload a different photo', 'wp-photo-album-plus'));
10467
  $slug = 'wppa_photo_shortcode_random_fixed';
10468
  $html = wppa_checkbox($slug);
10469
  $clas = '';
@@ -10496,7 +10497,7 @@ global $wppa_supported_camara_brands;
10496
 
10497
  $name = __('Mail on upload', 'wp-photo-album-plus');
10498
  $desc = __('Enable mailing users when a frontend upload has been done', 'wp-photo-album-plus');
10499
- $help = esc_js(__('When moderation is required, the mails will be sent after approval', 'wp-photo-album-plus'));
10500
  $slug = 'wppa_feuploadnotify';
10501
  $subs = count( wppa_index_string_to_array( get_option( 'wppa_mailinglist_feuploadnotify', '' ) ) );
10502
  $html = wppa_checkbox($slug) . '&nbsp;' . sprintf( __( '%d subscribers', 'wp-photo-album-plus' ), $subs );
@@ -10506,7 +10507,7 @@ global $wppa_supported_camara_brands;
10506
  /*
10507
  $name = __('Mail on upload backend', 'wp-photo-album-plus');
10508
  $desc = __('Notify admin at backend upload.', 'wp-photo-album-plus');
10509
- $help = esc_js(__('If checked, admin will receive a notification by email.', 'wp-photo-album-plus'));
10510
  $slug = 'wppa_upload_backend_notify';
10511
  $html1 = wppa_checkbox($slug);
10512
  $html2 = '';
@@ -10517,7 +10518,7 @@ global $wppa_supported_camara_brands;
10517
  */
10518
  $name = __('Mail on comment', 'wp-photo-album-plus');
10519
  $desc = __('Enable mailing users when a new comment has been added', 'wp-photo-album-plus');
10520
- $help = esc_js(__('When moderation is required, the mails will be sent after approval', 'wp-photo-album-plus'));
10521
  $slug = 'wppa_commentnotify';
10522
  $subs = count( wppa_index_string_to_array( get_option( 'wppa_mailinglist_commentnotify', '' ) ) );
10523
  $html = wppa_checkbox($slug) . '&nbsp;' . sprintf( __( '%d subscribers', 'wp-photo-album-plus' ), $subs );
@@ -10537,9 +10538,9 @@ global $wppa_supported_camara_brands;
10537
 
10538
  $name = __('Mail on comment: Content', 'wp-photo-album-plus');
10539
  $desc = __('The content of the email.', 'wp-photo-album-plus');
10540
- $help = esc_js(__('If you leave this blank, the default content will be used', 'wp-photo-album-plus'));
10541
- $help .= '\n\n'.esc_js(__('The content may contain html.', 'wp-photo-album-plus'));
10542
- $help .= '\n\n'.esc_js(__('You may use the following keywords: w#comment for the comment content, w#user for the commenters name and the standard photo description keywords w#name, w#filename, w#owner, w#id, w#tags, w#timestamp, w#modified, w#views, w#amx, w#amy, w#amfs, w#url, w#hrurl, w#tnurl, w#cc0..w#cc9, w#cd0..w#cd9.', 'wp-photo-album-plus'));
10543
  $slug = 'wppa_commentapproved_text';
10544
  $html = wppa_textarea($slug, $name);
10545
  $clas = '';
@@ -10548,8 +10549,8 @@ global $wppa_supported_camara_brands;
10548
  *//*
10549
  $name = __('Mail on comment: Show commenter email', 'wp-photo-album-plus');
10550
  $desc = __('Show the commenter\'s email in the notify emails.', 'wp-photo-album-plus');
10551
- $help = esc_js(__('Shows the email address of the commenter in all notify emails.', 'wp-photo-album-plus'));
10552
- $help .= '\n'.esc_js(__('If switched off, admin will still receive the senders email in the notification mail', 'wp-photo-album-plus'));
10553
  $slug = 'wppa_mail_upl_email';
10554
  $html = wppa_checkbox($slug);
10555
  $clas = '';
@@ -11016,7 +11017,7 @@ global $wppa_supported_camara_brands;
11016
  </tbody>
11017
  </table>
11018
  <p>&nbsp;</p>
11019
- <?php wppa_phpinfo() ?>
11020
  <!-- </div>-->
11021
  </div>
11022
 
@@ -11143,20 +11144,26 @@ global $wppa_totcols;
11143
 
11144
  if ( $help ) { //|| ( defined( 'WP_DEBUG') && WP_DEBUG ) ) {
11145
  $is_dflt = true;
11146
- $hlp = /* esc_js($name).':\n\n'. */ $help;
 
 
 
 
 
 
11147
  if ( ! $no_default ) {
11148
  if ( $slugs ) {
11149
- $hlp .= '\n\n'.__('The default for this setting is:', 'wp-photo-album-plus');
11150
  if ( count($slugs) == 1) {
11151
  if ( $slugs[0] != '' ) {
11152
- $hlp .= ' '.esc_js(wppa_dflt($slugs[0]));
11153
  if ( $wppa_opt[$slugs[0]] != $wppa_defaults[$slugs[0]] ) {
11154
  $is_dflt = false;
11155
  }
11156
  }
11157
  }
11158
  else foreach ( array_keys($slugs) as $slugidx ) {
11159
- if ( $slugs[$slugidx] != '' && isset($nums[$slugidx]) ) $hlp .= ' '.$nums[$slugidx].'. '.esc_js(wppa_dflt($slugs[$slugidx]));
11160
  if ( $slugs[$slugidx] != '' && $wppa_opt[$slugs[$slugidx]] != $wppa_defaults[$slugs[$slugidx]] ) {
11161
  $is_dflt = false;
11162
  }
@@ -11199,7 +11206,7 @@ global $wppa_totcols;
11199
  >
11200
  <small>
11201
  <i>' .
11202
- htmlentities( stripslashes( str_replace( '\n', ' ', $hlp ) ) ) . '
11203
  </i>
11204
  </small>
11205
  </td>
@@ -11370,7 +11377,7 @@ function wppa_checkbox_warn($xslug, $onchange = '', $class = '', $warning) {
11370
  global $wppa_defaults;
11371
 
11372
  $slug = substr( $xslug, 5 );
11373
- $warning = esc_js(__('Warning!', 'wp-photo-album-plus')).'\n\n'.$warning;
11374
  $tit = __('Slug =', 'wp-photo-album-plus').' '.$xslug."\n".__('Values = yes, no', 'wp-photo-album-plus');
11375
  $title = wppa_switch( 'enable_shortcode_wppa_set' ) ? ' title="'.esc_attr( $tit ).'"' : '';
11376
  $html = '<input style="float:left; height: 15px; margin: 0px; padding: 0px;" type="checkbox" id="'.$slug.'"'.$title;
@@ -11390,8 +11397,8 @@ function wppa_checkbox_warn_off($xslug, $onchange = '', $class = '', $warning, $
11390
  global $wppa_defaults;
11391
 
11392
  $slug = substr( $xslug, 5 );
11393
- $warning = esc_js(__('Warning!', 'wp-photo-album-plus')).'\n\n'.$warning;
11394
- if ( $is_help) $warning .= '\n\n'.esc_js(__('Please read the help', 'wp-photo-album-plus'));
11395
  $tit = __('Slug =', 'wp-photo-album-plus').' '.$xslug."\n".__('Values = yes, no', 'wp-photo-album-plus');
11396
  $title = wppa_switch( 'enable_shortcode_wppa_set' ) ? ' title="'.esc_attr( $tit ).'"' : '';
11397
  $html = '<input style="float:left; height: 15px; margin: 0px; padding: 0px;" type="checkbox" id="'.$slug.'"'.$title;
@@ -11411,7 +11418,7 @@ function wppa_checkbox_warn_on($xslug, $onchange = '', $class = '', $warning) {
11411
  global $wppa_defaults;
11412
 
11413
  $slug = substr( $xslug, 5 );
11414
- $warning = esc_js(__('Warning!', 'wp-photo-album-plus')).'\n\n'.$warning.'\n\n'.esc_js(__('Please read the help', 'wp-photo-album-plus'));
11415
  $tit = __('Slug =', 'wp-photo-album-plus').' '.$xslug."\n".__('Values = yes, no', 'wp-photo-album-plus');
11416
  $title = wppa_switch( 'enable_shortcode_wppa_set' ) ? ' title="'.esc_attr( $tit ).'"' : '';
11417
  $html = '<input style="float:left; height: 15px; margin: 0px; padding: 0px;" type="checkbox" id="'.$slug.'"'.$title;
3
  * Package: wp-photo-album-plus
4
  *
5
  * manage all options
6
+ * Version 7.0.06
7
  *
8
  */
9
 
276
  <img id="icon-album" src="<?php echo $iconurl ?>" />
277
  <h1 style="display:inline" ><?php _e('WP Photo Album Plus Settings', 'wp-photo-album-plus'); ?> <span style="color:blue;"><?php _e('Auto Save', 'wp-photo-album-plus') ?></span></h1>
278
  <?php
279
+ if ( current_user_can( 'administrator' ) ) {
280
+ echo ' ' .
281
+ __( 'Database revision:', 'wp-photo-album-plus' ) . ' ' . get_option( 'wppa_revision', '100') . '. ' .
282
+ __( 'WP Charset:', 'wp-photo-album-plus') . ' ' . get_bloginfo( 'charset' ) . '. ' .
283
+ __( 'Current PHP version:', 'wp-photo-album-plus' ) . ' ' . phpversion() . '. ' .
284
+ __( 'WPPA+ API Version:', 'wp-photo-album-plus' ) . ' ' . $wppa_api_version . '.';
285
+ }
286
  ?>
287
  <br /><?php if ( is_multisite() ) {
288
  if ( WPPA_MULTISITE_GLOBAL ) {
570
  {
571
  $name = __('Is your theme <i>responsive</i>?', 'wp-photo-album-plus');
572
  $desc = __('Responsive themes have a layout that varies with the size of the browser window.', 'wp-photo-album-plus');
573
+ $help = (__('WPPA+ needs to know this to automatically adept the width of the display to the available width on the page.', 'wp-photo-album-plus'));
574
  $slug = 'wppa_i_responsive';
575
  $opts = array('', __('yes', 'wp-photo-album-plus'), __('no', 'wp-photo-album-plus'));
576
  $vals = array('', 'yes', 'no');
579
 
580
  $name = __('Do you want to downsize photos during upload?', 'wp-photo-album-plus');
581
  $desc = __('Downsizing photos make them load faster to the visitor, without loosing display quality', 'wp-photo-album-plus');
582
+ $help = (__('If you answer yes, the photos will be downsized to max 1024 x 768 pixels. You can change this later, if you like', 'wp-photo-album-plus'));
583
  $slug = 'wppa_i_downsize';
584
  $opts = array('', __('yes', 'wp-photo-album-plus'), __('no', 'wp-photo-album-plus'));
585
  $vals = array('', 'yes', 'no');
588
 
589
  $name = __('Do you want to save the original photofiles?', 'wp-photo-album-plus');
590
  $desc = __('This will require considerable disk space on the server.', 'wp-photo-album-plus');
591
+ $help = (__('If you answer yes, you will be able to remove watermarks you applied with wppa+ in a later stage, redo downsizing to a larger size afterwards, and supply fullsize images for download.', 'wp-photo-album-plus'));
592
  $slug = 'wppa_i_source';
593
  $opts = array('', __('yes', 'wp-photo-album-plus'), __('no', 'wp-photo-album-plus'));
594
  $vals = array('', 'yes', 'no');
597
 
598
  $name = __('May visitors upload photos?', 'wp-photo-album-plus');
599
  $desc = __('It is safe to do so, but i will have to do some settings to keep it safe!', 'wp-photo-album-plus');
600
+ $help = (__('If you answer yes, i will assume you want to enable logged in users to upload photos at the front-end of the website and allow them to edit their photos name and descriptions.', 'wp-photo-album-plus'));
601
+ $help .= '<br />'.(__('The photos will be hold for moderation, the admin will get notified by email.', 'wp-photo-album-plus'));
602
+ $help .= '<br />'.(__('Each user will get his own album to upload to. These settings can be changed later.', 'wp-photo-album-plus'));
603
  $slug = 'wppa_i_userupload';
604
  $opts = array('', __('yes', 'wp-photo-album-plus'), __('no', 'wp-photo-album-plus'));
605
  $vals = array('', 'yes', 'no');
608
 
609
  $name = __('Do you want the rating system active?', 'wp-photo-album-plus');
610
  $desc = __('Enable the rating system and show the votes in the slideshow.', 'wp-photo-album-plus');
611
+ $help = (__('You can configure the details of the rating system later', 'wp-photo-album-plus'));
612
  $slug = 'wppa_i_rating';
613
  $opts = array('', __('yes', 'wp-photo-album-plus'), __('no', 'wp-photo-album-plus'));
614
  $vals = array('', 'yes', 'no');
617
 
618
  $name = __('Do you want the comment system active?', 'wp-photo-album-plus');
619
  $desc = __('Enable the comment system and show the comments in the slideshow.', 'wp-photo-album-plus');
620
+ $help = (__('You can configure the details of the comment system later', 'wp-photo-album-plus'));
621
  $slug = 'wppa_i_comment';
622
  $opts = array('', __('yes', 'wp-photo-album-plus'), __('no', 'wp-photo-album-plus'));
623
  $vals = array('', 'yes', 'no');
626
 
627
  $name = __('Do you want the social media share buttons displayed?', 'wp-photo-album-plus');
628
  $desc = __('Display the social media buttons in the slideshow', 'wp-photo-album-plus');
629
+ $help = (__('These buttons share the specific photo rather than the page where it is displayed on', 'wp-photo-album-plus'));
630
  $slug = 'wppa_i_share';
631
  $opts = array('', __('yes', 'wp-photo-album-plus'), __('no', 'wp-photo-album-plus'));
632
  $vals = array('', 'yes', 'no');
635
 
636
  $name = __('Are you going to use IPTC data?', 'wp-photo-album-plus');
637
  $desc = __('IPTC data is information you may have added in a photo manipulation program.', 'wp-photo-album-plus');
638
+ $help = (__('The information can be displayed in slideshows and in photo descriptions.', 'wp-photo-album-plus'));
639
  $slug = 'wppa_i_iptc';
640
  $opts = array('', __('yes', 'wp-photo-album-plus'), __('no', 'wp-photo-album-plus'));
641
  $vals = array('', 'yes', 'no');
644
 
645
  $name = __('Are you going to use EXIF data?', 'wp-photo-album-plus');
646
  $desc = __('EXIF data is information from the camera like model no, focal distance and aperture used.', 'wp-photo-album-plus');
647
+ $help = (__('The information can be displayed in slideshows and in photo descriptions.', 'wp-photo-album-plus'));
648
  $slug = 'wppa_i_exif';
649
  $opts = array('', __('yes', 'wp-photo-album-plus'), __('no', 'wp-photo-album-plus'));
650
  $vals = array('', 'yes', 'no');
653
 
654
  $name = __('Are you going to use GPX data?', 'wp-photo-album-plus');
655
  $desc = __('Some cameras and mobile devices save the geographic location where the photo is taken.', 'wp-photo-album-plus');
656
+ $help = (__('A Google map can be displayed in slideshows.', 'wp-photo-album-plus'));
657
  $slug = 'wppa_i_gpx';
658
  $opts = array('', __('yes', 'wp-photo-album-plus'), __('no', 'wp-photo-album-plus'));
659
  $vals = array('', 'yes', 'no');
662
 
663
  $name = __('Are you going to use Fotomoto?', 'wp-photo-album-plus');
664
  $desc = __('<a href="http://www.fotomoto.com/" target="_blank" >Fotomoto</a> is an on-line print service.', 'wp-photo-album-plus');
665
+ $help = (__('If you answer Yes, you will have to open an account on Fotomoto.', 'wp-photo-album-plus'));
666
  $slug = 'wppa_i_fotomoto';
667
  $opts = array('', __('yes', 'wp-photo-album-plus'), __('no', 'wp-photo-album-plus'));
668
  $vals = array('', 'yes', 'no');
671
 
672
  $name = __('Are you going to add videofiles?', 'wp-photo-album-plus');
673
  $desc = __('You can mix videos and photos in any album.', 'wp-photo-album-plus');
674
+ $help = (__('You can configure the details later', 'wp-photo-album-plus'));
675
  $slug = 'wppa_i_video';
676
  $opts = array('', __('yes', 'wp-photo-album-plus'), __('no', 'wp-photo-album-plus'));
677
  $vals = array('', 'yes', 'no');
680
 
681
  $name = __('Are you going to add audiofiles?', 'wp-photo-album-plus');
682
  $desc = __('You can add audio to photos in any album.', 'wp-photo-album-plus');
683
+ $help = (__('You can configure the details later', 'wp-photo-album-plus'));
684
  $slug = 'wppa_i_audio';
685
  $opts = array('', __('yes', 'wp-photo-album-plus'), __('no', 'wp-photo-album-plus'));
686
  $vals = array('', 'yes', 'no');
689
 
690
  $name = __('Are you going to upload 3D stereo photos?', 'wp-photo-album-plus');
691
  $desc = __('You can add l-r and r-l stereo photo pairs.', 'wp-photo-album-plus');
692
+ $help = (__('You can configure the details later', 'wp-photo-album-plus'));
693
  $slug = 'wppa_i_stereo';
694
  $opts = array('', __('yes', 'wp-photo-album-plus'), __('no', 'wp-photo-album-plus'));
695
  $vals = array('', 'yes', 'no');
698
 
699
  $name = __('Are you going to upload pdf files?', 'wp-photo-album-plus');
700
  $desc = __('You can add pdf files in any album.', 'wp-photo-album-plus');
701
+ $help = (__('You can configure the details later', 'wp-photo-album-plus'));
702
  $slug = 'wppa_i_pdf';
703
  $opts = array('', __('yes', 'wp-photo-album-plus'), __('no', 'wp-photo-album-plus'));
704
  $vals = array('', 'yes', 'no');
707
 
708
  $name = __('Done?', 'wp-photo-album-plus');
709
  $desc = __('If you are ready answering these questions, select <b>yes</b>', 'wp-photo-album-plus');
710
+ $help = (__('You can change any setting later, and be more specific and add a lot of settings. For now it is enough, go create albums and upload photos!', 'wp-photo-album-plus'));
711
  $slug = 'wppa_i_done';
712
  $opts = array('', __('yes', 'wp-photo-album-plus'));
713
  $vals = array('', 'yes');
714
+ $closetext = (__('Thank you!. The most important settings are done now. You can refine your settings, the behaviour and appearance of WPPA+ in the Tables below.', 'wp-photo-album-plus'));
715
  $postaction = 'alert(\''.$closetext.'\');setTimeout(\'document.location.reload(true)\', 1000)';
716
  $html = wppa_select($slug, $opts, $vals, '', '', false, $postaction);
717
  wppa_setting($slug, '99', $name, $desc, $html, $help, $clas, $tags);
759
  {
760
  $name = __('Column Width', 'wp-photo-album-plus');
761
  $desc = __('The width of the main column in your theme\'s display area.', 'wp-photo-album-plus');
762
+ $help = (__('Enter the width of the main column in your theme\'s display area.', 'wp-photo-album-plus'));
763
+ $help .= '<br />'.(__('You should set this value correctly to make sure the fullsize images are properly aligned horizontally.', 'wp-photo-album-plus'));
764
+ $help .= '<br />'.(__('You may enter \'auto\' for use in themes that have a floating content column.', 'wp-photo-album-plus'));
765
+ $help .= '<br />'.(__('The use of \'auto\' is required for responsive themes.', 'wp-photo-album-plus'));
766
  $slug = 'wppa_colwidth';
767
  $onchange = 'wppaCheckFullHalign()';
768
  $html = wppa_input($slug, '40px', '', __('pixels wide', 'wp-photo-album-plus'), $onchange);
772
 
773
  $name = __('Initial Width', 'wp-photo-album-plus');
774
  $desc = __('The most often displayed colun width in responsive theme', 'wp-photo-album-plus');
775
+ $help = (__('Change this value only if your responsive theme shows initially a wrong column width.', 'wp-photo-album-plus'));
776
  $slug = 'wppa_initial_colwidth';
777
  $html = wppa_input($slug, '40px', '', __('pixels wide', 'wp-photo-album-plus'));
778
  $clas = 'wppa_init_resp_width';
781
 
782
  $name = __('Resize on Upload', 'wp-photo-album-plus');
783
  $desc = __('Indicate if the photos should be resized during upload.', 'wp-photo-album-plus');
784
+ $help = (__('If you check this item, the size of the photos will be reduced to the dimension specified in the next item during the upload/import process.', 'wp-photo-album-plus'));
785
+ $help .= '<br />'.(__('The photos will never be stretched during upload if they are smaller.', 'wp-photo-album-plus'));
786
  $slug = 'wppa_resize_on_upload';
787
  $onchange = 'wppaCheckResize()';
788
  $html = wppa_checkbox($slug, $onchange);
792
 
793
  $name = __('Resize to', 'wp-photo-album-plus');
794
  $desc = __('Resize photos to fit within a given area.', 'wp-photo-album-plus');
795
+ $help = (__('Specify the screensize for the unscaled photos.', 'wp-photo-album-plus'));
796
+ $help .= '<br />'.(__('The use of a non-default value is particularly usefull when you make use of lightbox functionality.', 'wp-photo-album-plus'));
797
  $slug = 'wppa_resize_to';
798
  $px = __('pixels', 'wp-photo-album-plus');
799
  $options = array( __('Fit within rectangle as set in Table I-B1,2', 'wp-photo-album-plus'),
829
 
830
  $name = __('Photocount threshold', 'wp-photo-album-plus');
831
  $desc = __('Number of photos in an album must exceed.', 'wp-photo-album-plus');
832
+ $help = (__('Photos do not show up in the album unless there are more than this number of photos in the album. This allows you to have cover photos on an album that contains only sub albums without seeing them in the list of sub albums. Usually set to 0 (always show) or 1 (for one cover photo).', 'wp-photo-album-plus'));
833
  $slug = 'wppa_min_thumbs';
834
  $html = wppa_input($slug, '40px', '', __('photos', 'wp-photo-album-plus'));
835
  $clas = '';
838
 
839
  $name = __('Border thickness', 'wp-photo-album-plus');
840
  $desc = __('Thickness of wppa+ box borders.', 'wp-photo-album-plus');
841
+ $help = (__('Enter the thickness for the border of the WPPA+ boxes. A number of 0 means: no border.', 'wp-photo-album-plus'));
842
+ $help .= '<br />'.(__('WPPA+ boxes are: the navigation bars and the filmstrip.', 'wp-photo-album-plus'));
843
  $slug = 'wppa_bwidth';
844
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
845
  $clas = '';
848
 
849
  $name = __('Border radius', 'wp-photo-album-plus');
850
  $desc = __('Radius of wppa+ box borders.', 'wp-photo-album-plus');
851
+ $help = (__('Enter the corner radius for the border of the WPPA+ boxes. A number of 0 means: no rounded corners.', 'wp-photo-album-plus'));
852
+ $help .= '<br />'.(__('WPPA+ boxes are: the navigation bars and the filmstrip.', 'wp-photo-album-plus'));
853
+ $help .= '<br />'.(__('Note that rounded corners are only supported by modern browsers.', 'wp-photo-album-plus'));
854
  $slug = 'wppa_bradius';
855
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
856
  $clas = '';
868
 
869
  $name = __('Related count', 'wp-photo-album-plus');
870
  $desc = __('The default maximum number of related photos to find.', 'wp-photo-album-plus');
871
+ $help = (__('When using shortcodes like [wppa type="album" album="#related,desc,23"][/wppa], the maximum number is 23. Omitting the number gives the maximum of this setting.', 'wp-photo-album-plus'));
872
  $slug = 'wppa_related_count';
873
  $html = wppa_input($slug, '40px', '', __('photos', 'wp-photo-album-plus'));
874
  $clas = '';
886
 
887
  $name = __('Max file name length', 'wp-photo-album-plus');
888
  $desc = __('The max length of a photo file name excluding the extension.', 'wp-photo-album-plus');
889
+ $help = (__('A setting of 0 means: unlimited.', 'wp-photo-album-plus'));
890
  $slug = 'wppa_max_filename_length';
891
  $html = wppa_input($slug, '40px', '', __('chars', 'wp-photo-album-plus'));
892
  $clas = '';
895
 
896
  $name = __('Max photo name length', 'wp-photo-album-plus');
897
  $desc = __('The max length of a photo name.', 'wp-photo-album-plus');
898
+ $help = (__('A setting of 0 means: unlimited.', 'wp-photo-album-plus'));
899
  $slug = 'wppa_max_photoname_length';
900
  $html = wppa_input($slug, '40px', '', __('chars', 'wp-photo-album-plus'));
901
  $clas = '';
904
 
905
  $name = __('Sticky header size', 'wp-photo-album-plus');
906
  $desc = __('The height of your sticky header.', 'wp-photo-album-plus');
907
+ $help = (__('If your theme has a sticky header, enter its height here.', 'wp-photo-album-plus'));
908
  $slug = 'wppa_sticky_header_size';
909
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
910
  $clas = '';
916
  {
917
  $name = __('Maximum Width', 'wp-photo-album-plus');
918
  $desc = __('The maximum width photos will be displayed in slideshows.', 'wp-photo-album-plus');
919
+ $help = (__('Enter the largest size in pixels as how you want your photos to be displayed.', 'wp-photo-album-plus'));
920
+ $help .= '<br />'.(__('This is usually the same as the Column Width (Table I-A1), but it may differ.', 'wp-photo-album-plus'));
921
  $slug = 'wppa_fullsize';
922
  $onchange = 'wppaCheckFullHalign()';
923
  $html = wppa_input($slug, '40px', '', __('pixels wide', 'wp-photo-album-plus'), $onchange);
927
 
928
  $name = __('Maximum Height', 'wp-photo-album-plus');
929
  $desc = __('The maximum height photos will be displayed in slideshows.', 'wp-photo-album-plus');
930
+ $help = (__('Enter the largest size in pixels as how you want your photos to be displayed.', 'wp-photo-album-plus'));
931
+ $help .= '<br />'.(__('This setting defines the height of the space reserved for photos in slideshows.', 'wp-photo-album-plus'));
932
+ $help .= '<br />'.(__('If you change the width of a display by the size=".." shortcode attribute, this value changes proportionally to match the aspect ratio as defined by this and the previous setting.', 'wp-photo-album-plus'));
933
  $slug = 'wppa_maxheight';
934
  $html = wppa_input($slug, '40px', '', __('pixels high', 'wp-photo-album-plus'));
935
  $clas = '';
938
 
939
  $name = __('Stretch to fit', 'wp-photo-album-plus');
940
  $desc = __('Stretch photos that are too small.', 'wp-photo-album-plus');
941
+ $help = (__('Images will be stretched to the Maximum Size at display time if they are smaller. Leaving unchecked is recommended. It is better to upload photos that fit well the sizes you use!', 'wp-photo-album-plus'));
942
  $slug = 'wppa_enlarge';
943
  $html = wppa_checkbox($slug);
944
  $clas = '';
947
 
948
  $name = __('Slideshow borderwidth', 'wp-photo-album-plus');
949
  $desc = __('The width of the border around slideshow images.', 'wp-photo-album-plus');
950
+ $help = (__('The border is made by the image background being larger than the image itsself (padding).', 'wp-photo-album-plus'));
951
+ $help .= '<br />'.(__('Additionally there may be a one pixel outline of a different color. See Table III-A2.', 'wp-photo-album-plus'));
952
+ $help .= '<br />'.(__('The number you enter here is exclusive the one pixel outline.', 'wp-photo-album-plus'));
953
+ $help .= '<br />'.(__('If you leave this entry empty, there will be no outline either.', 'wp-photo-album-plus'));
954
  $slug = 'wppa_fullimage_border_width';
955
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
956
  $clas = '';
959
 
960
  $name = __('Numbar Max', 'wp-photo-album-plus');
961
  $desc = __('Maximum numbers to display.', 'wp-photo-album-plus');
962
+ $help = (__('In order to attempt to fit on one line, the numbers will be replaced by dots - except the current - when there are more than this number of photos in a slideshow.', 'wp-photo-album-plus'));
963
  $slug = 'wppa_numbar_max';
964
  $html = wppa_input($slug, '40px', '', __('numbers', 'wp-photo-album-plus'));
965
  $clas = 'wppa_numbar';
979
 
980
  $name = __('Mini Threshold', 'wp-photo-album-plus');
981
  $desc = __('Show mini text at slideshow smaller than.', 'wp-photo-album-plus');
982
+ $help = (__('Display Next and Prev. as opposed to Next photo and Previous photo when the cotainer is smaller than this size.', 'wp-photo-album-plus'));
983
+ $help .= '<br />'.(__('Special use in responsive themes.', 'wp-photo-album-plus'));
984
  $slug = 'wppa_mini_treshold';
985
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
986
  $clas = '';
998
 
999
  $name = __('Filmstrip Thumbnail Size', 'wp-photo-album-plus');
1000
  $desc = __('The size of the filmstrip images.', 'wp-photo-album-plus');
1001
+ $help = (__('This size applies to the width or height, whichever is the largest.', 'wp-photo-album-plus'));
1002
+ $help .= '<br />'.(__('Changing the thumbnail size may result in all thumbnails being regenerated. this may take a while.', 'wp-photo-album-plus'));
1003
  $slug = 'wppa_film_thumbsize';
1004
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
1005
  $clas = '';
1019
  {
1020
  $name = __('Thumbnail Size', 'wp-photo-album-plus');
1021
  $desc = __('The size of the thumbnail images.', 'wp-photo-album-plus');
1022
+ $help = (__('This size applies to the width or height, whichever is the largest.', 'wp-photo-album-plus'));
1023
+ $help .= '<br />'.(__('Changing the thumbnail size may result in all thumbnails being regenerated. this may take a while.', 'wp-photo-album-plus'));
1024
  $slug = 'wppa_thumbsize';
1025
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
1026
  $clas = 'tt_normal tt_masonry';
1029
 
1030
  $name = __('Thumbnail Size Alt', 'wp-photo-album-plus');
1031
  $desc = __('The alternative size of the thumbnail images.', 'wp-photo-album-plus');
1032
+ $help = (__('This size applies to the width or height, whichever is the largest.', 'wp-photo-album-plus'));
1033
+ $help .= '<br />'.(__('Changing the thumbnail size may result in all thumbnails being regenerated. this may take a while.', 'wp-photo-album-plus'));
1034
  $slug = 'wppa_thumbsize_alt';
1035
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
1036
  $clas = 'tt_normal tt_masonry';
1078
 
1079
  $name = __('Thumbframe width', 'wp-photo-album-plus');
1080
  $desc = __('The width of the thumbnail frame.', 'wp-photo-album-plus');
1081
+ $help = (__('Set the width of the thumbnail frame.', 'wp-photo-album-plus'));
1082
+ $help .= '<br />'.(__('Set width, height and spacing for the thumbnail frames.', 'wp-photo-album-plus'));
1083
+ $help .= '<br />'.(__('These sizes should be large enough for a thumbnail image and - optionally - the text under it.', 'wp-photo-album-plus'));
1084
  $slug = 'wppa_tf_width';
1085
  $html = wppa_input($slug, '40px', '', __('pixels wide', 'wp-photo-album-plus'));
1086
  $clas = 'tt_normal';
1089
 
1090
  $name = __('Thumbframe width Alt', 'wp-photo-album-plus');
1091
  $desc = __('The width of the alternative thumbnail frame.', 'wp-photo-album-plus');
1092
+ $help = (__('Set the width of the thumbnail frame.', 'wp-photo-album-plus'));
1093
+ $help .= '<br />'.(__('Set width, height and spacing for the thumbnail frames.', 'wp-photo-album-plus'));
1094
+ $help .= '<br />'.(__('These sizes should be large enough for a thumbnail image and - optionally - the text under it.', 'wp-photo-album-plus'));
1095
  $slug = 'wppa_tf_width_alt';
1096
  $html = wppa_input($slug, '40px', '', __('pixels wide', 'wp-photo-album-plus'));
1097
  $clas = 'tt_normal';
1100
 
1101
  $name = __('Thumbframe height', 'wp-photo-album-plus');
1102
  $desc = __('The height of the thumbnail frame.', 'wp-photo-album-plus');
1103
+ $help = (__('Set the height of the thumbnail frame.', 'wp-photo-album-plus'));
1104
+ $help .= '<br />'.(__('Set width, height and spacing for the thumbnail frames.', 'wp-photo-album-plus'));
1105
+ $help .= '<br />'.(__('These sizes should be large enough for a thumbnail image and - optionally - the text under it.', 'wp-photo-album-plus'));
1106
  $slug = 'wppa_tf_height';
1107
  $html = wppa_input($slug, '40px', '', __('pixels high', 'wp-photo-album-plus'));
1108
  $clas = 'tt_normal';
1111
 
1112
  $name = __('Thumbframe height Alt', 'wp-photo-album-plus');
1113
  $desc = __('The height of the alternative thumbnail frame.', 'wp-photo-album-plus');
1114
+ $help = (__('Set the height of the thumbnail frame.', 'wp-photo-album-plus'));
1115
+ $help .= '<br />'.(__('Set width, height and spacing for the thumbnail frames.', 'wp-photo-album-plus'));
1116
+ $help .= '<br />'.(__('These sizes should be large enough for a thumbnail image and - optionally - the text under it.', 'wp-photo-album-plus'));
1117
  $slug = 'wppa_tf_height_alt';
1118
  $html = wppa_input($slug, '40px', '', __('pixels high', 'wp-photo-album-plus'));
1119
  $clas = 'tt_normal';
1122
 
1123
  $name = __('Thumbnail spacing', 'wp-photo-album-plus');
1124
  $desc = __('The spacing between adjacent thumbnail frames.', 'wp-photo-album-plus');
1125
+ $help = (__('Set the minimal spacing between the adjacent thumbnail frames', 'wp-photo-album-plus'));
1126
+ $help .= '<br />'.(__('Set width, height and spacing for the thumbnail frames.', 'wp-photo-album-plus'));
1127
+ $help .= '<br />'.(__('These sizes should be large enough for a thumbnail image and - optionally - the text under it.', 'wp-photo-album-plus'));
1128
  $slug = 'wppa_tn_margin';
1129
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
1130
  $clas = 'tt_normal tt_masonry';
1133
 
1134
  $name = __('Auto spacing', 'wp-photo-album-plus');
1135
  $desc = __('Space the thumbnail frames automatic.', 'wp-photo-album-plus');
1136
+ $help = (__('If you check this box, the thumbnail images will be evenly distributed over the available width.', 'wp-photo-album-plus'));
1137
+ $help .= '<br />'.(__('In this case, the thumbnail spacing value (setting I-9) will be regarded as a minimum value.', 'wp-photo-album-plus'));
1138
  $slug = 'wppa_thumb_auto';
1139
  $html = wppa_checkbox($slug);
1140
  $clas = 'tt_normal';
1143
 
1144
  $name = __('Page size', 'wp-photo-album-plus');
1145
  $desc = __('Max number of thumbnails per page.', 'wp-photo-album-plus');
1146
+ $help = (__('Enter the maximum number of thumbnail images per page. A value of 0 indicates no pagination.', 'wp-photo-album-plus'));
1147
  $slug = 'wppa_thumb_page_size';
1148
  $html = wppa_input($slug, '40px', '', __('thumbnails', 'wp-photo-album-plus'));
1149
  $clas = 'tt_always';
1152
 
1153
  $name = __('Popup size', 'wp-photo-album-plus');
1154
  $desc = __('The size of the thumbnail popup images.', 'wp-photo-album-plus');
1155
+ $help = (__('Enter the size of the popup images. This size should be larger than the thumbnail size.', 'wp-photo-album-plus'));
1156
+ $help .= '<br />'.(__('This size should also be at least the cover image size.', 'wp-photo-album-plus'));
1157
+ $help .= '<br />'.(__('Changing the popup size may result in all thumbnails being regenerated. this may take a while.', 'wp-photo-album-plus'));
1158
+ $help .= '<br />'.(__('Although this setting has only visual effect if "Thumb popup" (Table IV-C8) is checked,', 'wp-photo-album-plus'));
1159
+ $help .= ' '.(__('the value must be right as it is the physical size of the thumbnail and coverphoto images.', 'wp-photo-album-plus'));
1160
  $slug = 'wppa_popupsize';
1161
  $clas = 'tt_normal tt_masonry';
1162
  $tags = 'size,thumb';
1165
 
1166
  $name = __('Use thumbs if fit', 'wp-photo-album-plus');
1167
  $desc = __('Use the thumbnail image files if they are large enough.', 'wp-photo-album-plus');
1168
+ $help = (__('This setting speeds up page loading for small photos.', 'wp-photo-album-plus'));
1169
+ $help .= '<br />'.(__('Do NOT use this when your thumbnails have a forced aspect ratio (when Table I-C2 is set to anything different from --- same as fullsize ---)', 'wp-photo-album-plus'));
1170
  $slug = 'wppa_use_thumbs_if_fit';
1171
  $html = wppa_checkbox($slug);
1172
  $clas = '';
1196
  {
1197
  $name = __('Max Cover width', 'wp-photo-album-plus');
1198
  $desc = __('Maximum width for a album cover display.', 'wp-photo-album-plus');
1199
+ $help = (__('Display covers in 2 or more columns if the display area is wider than the given width.', 'wp-photo-album-plus'));
1200
+ $help .= '<br />'.(__('This also applies for \'thumbnails as covers\', and will NOT apply to single items.', 'wp-photo-album-plus'));
1201
  $slug = 'wppa_max_cover_width';
1202
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
1203
  $clas = '';
1206
 
1207
  $name = __('Min Cover height', 'wp-photo-album-plus');
1208
  $desc = __('Minimal height of an album cover.', 'wp-photo-album-plus');
1209
+ $help = (__('If you use this setting to make the albums the same height and you are not satisfied about the lay-out, try increasing the value in the next setting', 'wp-photo-album-plus'));
1210
  $slug = 'wppa_cover_minheight';
1211
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
1212
  $clas = '';
1215
 
1216
  $name = __('Min Text frame height', 'wp-photo-album-plus');
1217
  $desc = __('The minimal cover text frame height incl header.', 'wp-photo-album-plus');
1218
+ $help = (__('The height starting with the album title up to and including the view- and the slideshow- links.', 'wp-photo-album-plus'));
1219
+ $help .= '<br />'.(__('This setting enables you to give the album covers the same height while the title does not need to fit on one line.', 'wp-photo-album-plus'));
1220
+ $help .= '<br />'.(__('This is the recommended setting to line-up your covers!', 'wp-photo-album-plus'));
1221
  $slug = 'wppa_head_and_text_frame_height';
1222
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
1223
  $clas = '';
1226
 
1227
  $name = __('Min Description height', 'wp-photo-album-plus');
1228
  $desc = __('The minimal height of the album description text frame.', 'wp-photo-album-plus');
1229
+ $help = (__('The minimal height of the description field in an album cover display.', 'wp-photo-album-plus'));
1230
+ $help .= '<br />'.(__('This setting enables you to give the album covers the same height provided that the cover images are equally sized and the titles fit on one line.', 'wp-photo-album-plus'));
1231
+ $help .= '<br />'.(__('To force the coverphotos have equal heights, tick the box in Table I-D7.', 'wp-photo-album-plus'));
1232
+ $help .= '<br />'.(__('You may need this setting if changing the previous setting is not sufficient to line-up the covers.', 'wp-photo-album-plus'));
1233
  $slug = 'wppa_text_frame_height';
1234
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
1235
  $clas = '';
1249
 
1250
  $name = __('Coverphoto size', 'wp-photo-album-plus');
1251
  $desc = __('The size of the coverphoto.', 'wp-photo-album-plus');
1252
+ $help = (__('This size applies to the width or height, whichever is the largest.', 'wp-photo-album-plus'));
1253
+ $help .= '<br />'.(__('Changing the coverphoto size may result in all thumbnails being regenerated. this may take a while.', 'wp-photo-album-plus'));
1254
  $slug = 'wppa_smallsize';
1255
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
1256
  $clas = '-cvpr';
1259
 
1260
  $name = __('Coverphoto size', 'wp-photo-album-plus');
1261
  $desc = __('The size of the coverphoto.', 'wp-photo-album-plus');
1262
+ $help = (__('This size applies to the width or height, whichever is the largest.', 'wp-photo-album-plus'));
1263
+ $help .= '<br />'.(__('Changing the coverphoto size may result in all thumbnails being regenerated. this may take a while.', 'wp-photo-album-plus'));
1264
  $slug = 'wppa_smallsize_percentage';
1265
  $html = wppa_input($slug, '40px', '', __('percent', 'wp-photo-album-plus'));
1266
  $clas = 'cvpr';
1269
 
1270
  $name = __('Coverphoto size multi', 'wp-photo-album-plus');
1271
  $desc = __('The size of coverphotos if more than one.', 'wp-photo-album-plus');
1272
+ $help = (__('This size applies to the width or height, whichever is the largest.', 'wp-photo-album-plus'));
1273
+ $help .= '<br />'.(__('Changing the coverphoto size may result in all thumbnails being regenerated. this may take a while.', 'wp-photo-album-plus'));
1274
  $slug = 'wppa_smallsize_multi';
1275
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
1276
  $clas = '-cvpr';
1279
 
1280
  $name = __('Coverphoto size multi', 'wp-photo-album-plus');
1281
  $desc = __('The size of coverphotos if more than one.', 'wp-photo-album-plus');
1282
+ $help = (__('This size applies to the width or height, whichever is the largest.', 'wp-photo-album-plus'));
1283
+ $help .= '<br />'.(__('Changing the coverphoto size may result in all thumbnails being regenerated. this may take a while.', 'wp-photo-album-plus'));
1284
  $slug = 'wppa_smallsize_multi_percentage';
1285
  $html = wppa_input($slug, '40px', '', __('percent', 'wp-photo-album-plus'));
1286
  $clas = 'cvpr';
1289
 
1290
  $name = __('Size is height', 'wp-photo-album-plus');
1291
  $desc = __('The size of the coverphoto is the height of it.', 'wp-photo-album-plus');
1292
+ $help = (__('If set: the previous setting is the height, if unset: the largest of width and height.', 'wp-photo-album-plus'));
1293
+ $help .= '<br />'.(__('This setting applies for coverphoto position top or bottom only (Table IV-D3).', 'wp-photo-album-plus'));
1294
+ $help .= '<br />'.(__('This makes it easyer to make the covers of equal height.', 'wp-photo-album-plus'));
1295
  $slug = 'wppa_coversize_is_height';
1296
  $html = wppa_checkbox($slug);
1297
  $clas = '';
1300
 
1301
  $name = __('Page size', 'wp-photo-album-plus');
1302
  $desc = __('Max number of covers per page.', 'wp-photo-album-plus');
1303
+ $help = (__('Enter the maximum number of album covers per page. A value of 0 indicates no pagination.', 'wp-photo-album-plus'));
1304
  $slug = 'wppa_album_page_size';
1305
  $html = wppa_input($slug, '40px', '', __('covers', 'wp-photo-album-plus'));
1306
  $clas = '';
1333
 
1334
  $name = __('Avatar size', 'wp-photo-album-plus');
1335
  $desc = __('Size of Avatar images.', 'wp-photo-album-plus');
1336
+ $help = (__('The size of the square avatar; must be > 0 and < 256', 'wp-photo-album-plus'));
1337
  $slug = 'wppa_gravatar_size';
1338
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
1339
  $clas = '';
1353
  {
1354
  $name = __('Widget width', 'wp-photo-album-plus');
1355
  $desc = __('The useable width within widgets.', 'wp-photo-album-plus');
1356
+ $help = (__('Widget width for photo of the day, general purpose (default), slideshow (default) and upload widgets.', 'wp-photo-album-plus'));
1357
  $slug = 'wppa_widget_width';
1358
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
1359
  $clas = '';
1362
 
1363
  $name = __('TopTen count', 'wp-photo-album-plus');
1364
  $desc = __('Number of photos in TopTen widget.', 'wp-photo-album-plus');
1365
+ $help = (__('Enter the maximum number of rated photos in the TopTen widget.', 'wp-photo-album-plus'));
1366
  $slug = 'wppa_topten_count';
1367
  $html = wppa_input($slug, '40px', '', __('photos', 'wp-photo-album-plus'));
1368
  $clas = 'wppa_rating';
1371
 
1372
  $name = __('TopTen size', 'wp-photo-album-plus');
1373
  $desc = __('Size of thumbnails in TopTen widget.', 'wp-photo-album-plus');
1374
+ $help = (__('Enter the size for the mini photos in the TopTen widget.', 'wp-photo-album-plus'));
1375
+ $help .= '<br />'.(__('The size applies to the width or height, whatever is the largest.', 'wp-photo-album-plus'));
1376
+ $help .= '<br />'.(__('Recommended values: 86 for a two column and 56 for a three column display.', 'wp-photo-album-plus'));
1377
  $slug = 'wppa_topten_size';
1378
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
1379
  $clas = 'wppa_rating';
1382
 
1383
  $name = __('Comment count', 'wp-photo-album-plus');
1384
  $desc = __('Number of entries in Comment widget.', 'wp-photo-album-plus');
1385
+ $help = (__('Enter the maximum number of entries in the Comment widget.', 'wp-photo-album-plus'));
1386
  $slug = 'wppa_comten_count';
1387
  $html = wppa_input($slug, '40px', '', __('entries', 'wp-photo-album-plus'));
1388
  $clas = '';
1391
 
1392
  $name = __('Comment size', 'wp-photo-album-plus');
1393
  $desc = __('Size of thumbnails in Comment widget.', 'wp-photo-album-plus');
1394
+ $help = (__('Enter the size for the mini photos in the Comment widget.', 'wp-photo-album-plus'));
1395
+ $help .= '<br />'.(__('The size applies to the width or height, whatever is the largest.', 'wp-photo-album-plus'));
1396
+ $help .= '<br />'.(__('Recommended values: 86 for a two column and 56 for a three column display.', 'wp-photo-album-plus'));
1397
  $slug = 'wppa_comten_size';
1398
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
1399
  $clas = '';
1402
 
1403
  $name = __('Thumbnail count', 'wp-photo-album-plus');
1404
  $desc = __('Number of photos in Thumbnail widget.', 'wp-photo-album-plus');
1405
+ $help = (__('Enter the maximum number of rated photos in the Thumbnail widget.', 'wp-photo-album-plus'));
1406
  $slug = 'wppa_thumbnail_widget_count';
1407
  $html = wppa_input($slug, '40px', '', __('photos', 'wp-photo-album-plus'));
1408
  $clas = '';
1411
 
1412
  $name = __('Thumbnail widget size', 'wp-photo-album-plus');
1413
  $desc = __('Size of thumbnails in Thumbnail widget.', 'wp-photo-album-plus');
1414
+ $help = (__('Enter the size for the mini photos in the Thumbnail widget.', 'wp-photo-album-plus'));
1415
+ $help .= '<br />'.(__('The size applies to the width or height, whatever is the largest.', 'wp-photo-album-plus'));
1416
+ $help .= '<br />'.(__('Recommended values: 86 for a two column and 56 for a three column display.', 'wp-photo-album-plus'));
1417
  $slug = 'wppa_thumbnail_widget_size';
1418
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
1419
  $clas = '';
1422
 
1423
  $name = __('LasTen count', 'wp-photo-album-plus');
1424
  $desc = __('Number of photos in Last Ten widget.', 'wp-photo-album-plus');
1425
+ $help = (__('Enter the maximum number of photos in the LasTen widget.', 'wp-photo-album-plus'));
1426
  $slug = 'wppa_lasten_count';
1427
  $html = wppa_input($slug, '40px', '', __('photos', 'wp-photo-album-plus'));
1428
  $clas = '';
1431
 
1432
  $name = __('LasTen size', 'wp-photo-album-plus');
1433
  $desc = __('Size of thumbnails in Last Ten widget.', 'wp-photo-album-plus');
1434
+ $help = (__('Enter the size for the mini photos in the LasTen widget.', 'wp-photo-album-plus'));
1435
+ $help .= '<br />'.(__('The size applies to the width or height, whatever is the largest.', 'wp-photo-album-plus'));
1436
+ $help .= '<br />'.(__('Recommended values: 86 for a two column and 56 for a three column display.', 'wp-photo-album-plus'));
1437
  $slug = 'wppa_lasten_size';
1438
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
1439
  $clas = '';
1442
 
1443
  $name = __('Album widget count', 'wp-photo-album-plus');
1444
  $desc = __('Number of albums in Album widget.', 'wp-photo-album-plus');
1445
+ $help = (__('Enter the maximum number of thumbnail photos of albums in the Album widget.', 'wp-photo-album-plus'));
1446
  $slug = 'wppa_album_widget_count';
1447
  $html = wppa_input($slug, '40px', '', __('albums', 'wp-photo-album-plus'));
1448
  $clas = '';
1451
 
1452
  $name = __('Album widget size', 'wp-photo-album-plus');
1453
  $desc = __('Size of thumbnails in Album widget.', 'wp-photo-album-plus');
1454
+ $help = (__('Enter the size for the mini photos in the Album widget.', 'wp-photo-album-plus'));
1455
+ $help .= '<br />'.(__('The size applies to the width or height, whatever is the largest.', 'wp-photo-album-plus'));
1456
+ $help .= '<br />'.(__('Recommended values: 86 for a two column and 56 for a three column display.', 'wp-photo-album-plus'));
1457
  $slug = 'wppa_album_widget_size';
1458
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
1459
  $clas = '';
1462
 
1463
  $name = __('FeaTen count', 'wp-photo-album-plus');
1464
  $desc = __('Number of photos in Featured Ten widget.', 'wp-photo-album-plus');
1465
+ $help = (__('Enter the maximum number of photos in the FeaTen widget.', 'wp-photo-album-plus'));
1466
  $slug = 'wppa_featen_count';
1467
  $html = wppa_input($slug, '40px', '', __('photos', 'wp-photo-album-plus'));
1468
  $clas = '';
1471
 
1472
  $name = __('FeaTen size', 'wp-photo-album-plus');
1473
  $desc = __('Size of thumbnails in Featured Ten widget.', 'wp-photo-album-plus');
1474
+ $help = (__('Enter the size for the mini photos in the FeaTen widget.', 'wp-photo-album-plus'));
1475
+ $help .= '<br />'.(__('The size applies to the width or height, whatever is the largest.', 'wp-photo-album-plus'));
1476
+ $help .= '<br />'.(__('Recommended values: 86 for a two column and 56 for a three column display.', 'wp-photo-album-plus'));
1477
  $slug = 'wppa_featen_size';
1478
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
1479
  $clas = '';
1502
  {
1503
  $name = __('Number of text lines', 'wp-photo-album-plus');
1504
  $desc = __('Number of lines on the lightbox description area, exclusive the n/m line.', 'wp-photo-album-plus');
1505
+ $help = (__('Enter a number in the range from 0 to 24 or auto', 'wp-photo-album-plus'));
1506
  $slug = 'wppa_ovl_txt_lines';
1507
  $html = wppa_input($slug, '40px', '', __('lines', 'wp-photo-album-plus'));
1508
  $clas = '';
1568
  {
1569
  $name = __('Default width', 'wp-photo-album-plus');
1570
  $desc = __('The width of most videos', 'wp-photo-album-plus');
1571
+ $help = (__('This setting can be overruled for individual videos on the photo admin pages.', 'wp-photo-album-plus'));
1572
  $slug = 'wppa_video_width';
1573
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
1574
  $clas = 'wppa-video';
1577
 
1578
  $name = __('Default height', 'wp-photo-album-plus');
1579
  $desc = __('The height of most videos', 'wp-photo-album-plus');
1580
+ $help = (__('This setting can be overruled for individual videos on the photo admin pages.', 'wp-photo-album-plus'));
1581
  $slug = 'wppa_video_height';
1582
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
1583
  $clas = 'wppa-video';
1716
  {
1717
  $name = __('Breadcrumb on posts', 'wp-photo-album-plus');
1718
  $desc = __('Show breadcrumb navigation bars.', 'wp-photo-album-plus');
1719
+ $help = (__('Indicate whether a breadcrumb navigation should be displayed', 'wp-photo-album-plus'));
1720
  $slug = 'wppa_show_bread_posts';
1721
  $onchange = 'wppaCheckBreadcrumb()';
1722
  $html = wppa_checkbox($slug, $onchange);
1726
 
1727
  $name = __('Breadcrumb on pages', 'wp-photo-album-plus');
1728
  $desc = __('Show breadcrumb navigation bars.', 'wp-photo-album-plus');
1729
+ $help = (__('Indicate whether a breadcrumb navigation should be displayed', 'wp-photo-album-plus'));
1730
  $slug = 'wppa_show_bread_pages';
1731
  $onchange = 'wppaCheckBreadcrumb()';
1732
  $html = wppa_checkbox($slug, $onchange);
1736
 
1737
  $name = __('Breadcrumb on search results', 'wp-photo-album-plus');
1738
  $desc = __('Show breadcrumb navigation bars on the search results page.', 'wp-photo-album-plus');
1739
+ $help = (__('Indicate whether a breadcrumb navigation should be displayed above the search results.', 'wp-photo-album-plus'));
1740
  $slug = 'wppa_bc_on_search';
1741
  $html = wppa_checkbox($slug);
1742
  $clas = 'wppa_bc';
1745
 
1746
  $name = __('Breadcrumb on topten displays', 'wp-photo-album-plus');
1747
  $desc = __('Show breadcrumb navigation bars on topten displays.', 'wp-photo-album-plus');
1748
+ $help = (__('Indicate whether a breadcrumb navigation should be displayed above the topten displays.', 'wp-photo-album-plus'));
1749
  $slug = 'wppa_bc_on_topten';
1750
  $html = wppa_checkbox($slug);
1751
  $clas = 'wppa_bc';
1754
 
1755
  $name = __('Breadcrumb on last ten displays', 'wp-photo-album-plus');
1756
  $desc = __('Show breadcrumb navigation bars on last ten displays.', 'wp-photo-album-plus');
1757
+ $help = (__('Indicate whether a breadcrumb navigation should be displayed above the last ten displays.', 'wp-photo-album-plus'));
1758
  $slug = 'wppa_bc_on_lasten';
1759
  $html = wppa_checkbox($slug);
1760
  $clas = 'wppa_bc';
1763
 
1764
  $name = __('Breadcrumb on comment ten displays', 'wp-photo-album-plus');
1765
  $desc = __('Show breadcrumb navigation bars on comment ten displays.', 'wp-photo-album-plus');
1766
+ $help = (__('Indicate whether a breadcrumb navigation should be displayed above the comment ten displays.', 'wp-photo-album-plus'));
1767
  $slug = 'wppa_bc_on_comten';
1768
  $html = wppa_checkbox($slug);
1769
  $clas = 'wppa_bc';
1772
 
1773
  $name = __('Breadcrumb on tag result displays', 'wp-photo-album-plus');
1774
  $desc = __('Show breadcrumb navigation bars on tag result displays.', 'wp-photo-album-plus');
1775
+ $help = (__('Indicate whether a breadcrumb navigation should be displayed above the tag result displays.', 'wp-photo-album-plus'));
1776
  $slug = 'wppa_bc_on_tag';
1777
  $html = wppa_checkbox($slug);
1778
  $clas = 'wppa_bc';
1781
 
1782
  $name = __('Breadcrumb on featured ten displays', 'wp-photo-album-plus');
1783
  $desc = __('Show breadcrumb navigation bars on featured ten displays.', 'wp-photo-album-plus');
1784
+ $help = (__('Indicate whether a breadcrumb navigation should be displayed above the featured ten displays.', 'wp-photo-album-plus'));
1785
  $slug = 'wppa_bc_on_featen';
1786
  $html = wppa_checkbox($slug);
1787
  $clas = 'wppa_bc';
1790
 
1791
  $name = __('Breadcrumb on related photos displays', 'wp-photo-album-plus');
1792
  $desc = __('Show breadcrumb navigation bars on related photos displays.', 'wp-photo-album-plus');
1793
+ $help = (__('Indicate whether a breadcrumb navigation should be displayed above the related photos displays.', 'wp-photo-album-plus'));
1794
  $slug = 'wppa_bc_on_related';
1795
  $html = wppa_checkbox($slug);
1796
  $clas = 'wppa_bc';
1799
 
1800
  $name = __('Home', 'wp-photo-album-plus');
1801
  $desc = __('Show "Home" in breadcrumb.', 'wp-photo-album-plus');
1802
+ $help = (__('Indicate whether the breadcrumb navigation should start with a "Home"-link', 'wp-photo-album-plus'));
1803
  $slug = 'wppa_show_home';
1804
  $html = wppa_checkbox($slug);
1805
  $clas = 'wppa_bc';
1817
 
1818
  $name = __('Page', 'wp-photo-album-plus');
1819
  $desc = __('Show the page(s) in breadcrumb.', 'wp-photo-album-plus');
1820
+ $help = (__('Indicate whether the breadcrumb navigation should show the page(hierarchy)', 'wp-photo-album-plus'));
1821
  $slug = 'wppa_show_page';
1822
  $html = wppa_checkbox($slug);
1823
  $clas = 'wppa_bc';
1835
 
1836
  $name = __('Separator', 'wp-photo-album-plus');
1837
  $desc = __('Breadcrumb separator symbol.', 'wp-photo-album-plus');
1838
+ $help = (__('Select the desired breadcrumb separator element.', 'wp-photo-album-plus'));
1839
+ $help .= '<br />'.(__('A text string may contain valid html.', 'wp-photo-album-plus'));
1840
+ $help .= '<br />'.(__('An image will be scaled automatically if you set the navigation font size.', 'wp-photo-album-plus'));
1841
  $slug = 'wppa_bc_separator';
1842
  $options = array('&amp;raquo', '&amp;rsaquo', '&amp;gt', '&amp;bull', __('Text (html):', 'wp-photo-album-plus'), __('Image (url):', 'wp-photo-album-plus'));
1843
  $values = array('raquo', 'rsaquo', 'gt', 'bull', 'txt', 'url');
1849
 
1850
  $name = __('Html', 'wp-photo-album-plus');
1851
  $desc = __('Breadcrumb separator text.', 'wp-photo-album-plus');
1852
+ $help = (__('Enter the HTML code that produces the separator symbol you want.', 'wp-photo-album-plus'));
1853
+ $help .= '<br />'.(__('It may be as simple as \'-\' (without the quotes) or as complex as a tag like <div>..</div>.', 'wp-photo-album-plus'));
1854
  $slug = 'wppa_bc_txt';
1855
  $html = wppa_input($slug, '90%', '300px');
1856
  $clas = $slug;
1859
 
1860
  $name = __('Image Url', 'wp-photo-album-plus');
1861
  $desc = __('Full url to separator image.', 'wp-photo-album-plus');
1862
+ $help = (__('Enter the full url to the image you want to use for the separator symbol.', 'wp-photo-album-plus'));
1863
  $slug = 'wppa_bc_url';
1864
  $html = wppa_input($slug, '90%', '300px');
1865
  $clas = $slug;
1879
 
1880
  $name = __('Thumblink on slideshow', 'wp-photo-album-plus');
1881
  $desc = __('Show a thumb link on slideshow bc.', 'wp-photo-album-plus');
1882
+ $help = (__('Show a link to thumbnail display on an breadcrumb above a slideshow', 'wp-photo-album-plus'));
1883
  $slug = 'wppa_bc_slide_thumblink';
1884
  $html = wppa_checkbox($slug);
1885
  $clas = '';
1906
 
1907
  $name = __('Start/stop', 'wp-photo-album-plus');
1908
  $desc = __('Show the Start/Stop slideshow bar.', 'wp-photo-album-plus');
1909
+ $help = (__('If checked: display the start/stop slideshow navigation bar above the full-size images and slideshow', 'wp-photo-album-plus'));
1910
  $slug = 'wppa_show_startstop_navigation';
1911
  $html = wppa_checkbox($slug);
1912
  $clas = '';
1915
 
1916
  $name = __('Browse bar', 'wp-photo-album-plus');
1917
  $desc = __('Show Browse photos bar.', 'wp-photo-album-plus');
1918
+ $help = (__('If checked: display the preveous/next navigation bar under the full-size images and slideshow', 'wp-photo-album-plus'));
1919
  $slug = 'wppa_show_browse_navigation';
1920
  $html = wppa_checkbox($slug);
1921
  $clas = '';
1924
 
1925
  $name = __('Filmstrip', 'wp-photo-album-plus');
1926
  $desc = __('Show Filmstrip navigation bar.', 'wp-photo-album-plus');
1927
+ $help = (__('If checked: display the filmstrip navigation bar under the full_size images and slideshow', 'wp-photo-album-plus'));
1928
  $slug = 'wppa_filmstrip';
1929
  $html = wppa_checkbox($slug);
1930
  $clas = '';
1933
 
1934
  $name = __('Film seam', 'wp-photo-album-plus');
1935
  $desc = __('Show seam between end and start of film.', 'wp-photo-album-plus');
1936
+ $help = (__('If checked: display the wrap-around point in the filmstrip', 'wp-photo-album-plus'));
1937
  $slug = 'wppa_film_show_glue';
1938
  $html = wppa_checkbox($slug);
1939
  $clas = '';
1942
 
1943
  $name = __('Photo name', 'wp-photo-album-plus');
1944
  $desc = __('Display photo name.', 'wp-photo-album-plus');
1945
+ $help = (__('If checked: display the name of the photo under the slideshow image.', 'wp-photo-album-plus'));
1946
  $slug = 'wppa_show_full_name';
1947
  $html = wppa_checkbox($slug);
1948
  $clas = '';
1960
 
1961
  $name = __('Photo desc', 'wp-photo-album-plus');
1962
  $desc = __('Display Photo description.', 'wp-photo-album-plus');
1963
+ $help = (__('If checked: display the description of the photo under the slideshow image.', 'wp-photo-album-plus'));
1964
  $slug = 'wppa_show_full_desc';
1965
  $html = wppa_checkbox($slug);
1966
  $clas = '';
1978
 
1979
  $name = __('Rating system', 'wp-photo-album-plus');
1980
  $desc = __('Enable the rating system.', 'wp-photo-album-plus');
1981
+ $help = (__('If checked, the photo rating system will be enabled.', 'wp-photo-album-plus'));
1982
  $slug = 'wppa_rating_on';
1983
  $onchange = 'wppaCheckRating()';
1984
  $html = wppa_checkbox($slug, $onchange);
1988
 
1989
  $name = __('Comments system', 'wp-photo-album-plus');
1990
  $desc = __('Enable the comments system.', 'wp-photo-album-plus');
1991
+ $help = (__('Display the comments box under the fullsize images and let users enter their comments on individual photos.', 'wp-photo-album-plus'));
1992
  $slug = 'wppa_show_comments';
1993
  $onchange = 'wppaCheckComments()';
1994
  $html = wppa_checkbox($slug, $onchange);
2033
 
2034
  $name = __('Big Browse Buttons', 'wp-photo-album-plus');
2035
  $desc = __('Enable invisible browsing buttons.', 'wp-photo-album-plus');
2036
+ $help = (__('If checked, the fullsize image is covered by two invisible areas that act as browse buttons.', 'wp-photo-album-plus'));
2037
+ $help .= '<br />'.(__('Make sure the Full height (Table I-B2) is properly configured to prevent these areas to overlap unwanted space.', 'wp-photo-album-plus'));
2038
  $slug = 'wppa_show_bbb';
2039
  $html = wppa_checkbox($slug);
2040
  $clas = '';
2043
 
2044
  $name = __('Ugly Browse Buttons', 'wp-photo-album-plus');
2045
  $desc = __('Enable the ugly browsing buttons.', 'wp-photo-album-plus');
2046
+ $help = (__('If checked, the fullsize image is covered by two browse buttons.', 'wp-photo-album-plus'));
2047
  $slug = 'wppa_show_ubb';
2048
  $html = wppa_checkbox($slug);
2049
  $clas = '';
2061
 
2062
  $name = __('Show custom box', 'wp-photo-album-plus');
2063
  $desc = __('Display the custom box in the slideshow', 'wp-photo-album-plus');
2064
+ $help = (__('You can fill the custom box with any html you like. It will not be checked, so it is your own responsibility to close tags properly.', 'wp-photo-album-plus'));
2065
+ $help .= '<br />'.(__('The position of the box can be defined in Table IX-E.', 'wp-photo-album-plus'));
2066
  $slug = 'wppa_custom_on';
2067
  $onchange = 'wppaCheckCustom()';
2068
  $html = wppa_checkbox($slug, $onchange);
2072
 
2073
  $name = __('Custom content', 'wp-photo-album-plus');
2074
  $desc = __('The content (html) of the custom box.', 'wp-photo-album-plus');
2075
+ $help = (__('You can fill the custom box with any html you like. It will not be checked, so it is your own responsibility to close tags properly.', 'wp-photo-album-plus'));
2076
+ $help .= '<br />'.(__('The position of the box can be defined in Table IX-E.', 'wp-photo-album-plus'));
2077
  $slug = 'wppa_custom_content';
2078
  $html = wppa_textarea($slug, $name);
2079
  $clas = 'wppa_custom_';
2082
 
2083
  $name = __('Slideshow/Number bar', 'wp-photo-album-plus');
2084
  $desc = __('Display the Slideshow / Number bar.', 'wp-photo-album-plus');
2085
+ $help = (__('If checked: display the number boxes on slideshow', 'wp-photo-album-plus'));
2086
  $slug = 'wppa_show_slideshownumbar';
2087
  $onchange = 'wppaCheckNumbar()';
2088
  $html = wppa_checkbox($slug, $onchange);
2092
 
2093
  $name = __('IPTC system', 'wp-photo-album-plus');
2094
  $desc = __('Enable the iptc system.', 'wp-photo-album-plus');
2095
+ $help = (__('Display the iptc box under the fullsize images.', 'wp-photo-album-plus'));
2096
  $slug = 'wppa_show_iptc';
2097
  $onchange = '';
2098
  $html = wppa_checkbox($slug);
2102
 
2103
  $name = __('IPTC open', 'wp-photo-album-plus');
2104
  $desc = __('Display the iptc box initially opened.', 'wp-photo-album-plus');
2105
+ $help = (__('Display the iptc box under the fullsize images initially open.', 'wp-photo-album-plus'));
2106
  $slug = 'wppa_show_iptc_open';
2107
  $onchange = '';
2108
  $html = wppa_checkbox($slug);
2112
 
2113
  $name = __('EXIF system', 'wp-photo-album-plus');
2114
  $desc = __('Enable the exif system.', 'wp-photo-album-plus');
2115
+ $help = (__('Display the exif box under the fullsize images.', 'wp-photo-album-plus'));
2116
  $slug = 'wppa_show_exif';
2117
  $onchange = '';
2118
  $html = wppa_checkbox($slug);
2122
 
2123
  $name = __('EXIF open', 'wp-photo-album-plus');
2124
  $desc = __('Display the exif box initially opened.', 'wp-photo-album-plus');
2125
+ $help = (__('Display the exif box under the fullsize images initially open.', 'wp-photo-album-plus'));
2126
  $slug = 'wppa_show_exif_open';
2127
  $onchange = '';
2128
  $html = wppa_checkbox($slug);
2193
 
2194
  $name = __('Void pages share', 'wp-photo-album-plus');
2195
  $desc = __('Do not show share on these pages', 'wp-photo-album-plus');
2196
+ $help = (__('Use this for pages that require the user is logged in', 'wp-photo-album-plus'));
2197
  $slug = 'wppa_sm_void_pages';
2198
  $onchange = 'wppaCheckShares()';
2199
  $options = $options_page_post;
2226
 
2227
  $name = __('The creator\'s Twitter account', 'wp-photo-album-plus');
2228
  $desc = __('The Twitter @username a twitter card should be attributed to.', 'wp-photo-album-plus');
2229
+ $help = (__('If you want to share the image directly - by a so called twitter card - you must enter your twitter account name here', 'wp-photo-album-plus'));
2230
  $slug = 'wppa_twitter_account';
2231
  $html = wppa_input($slug, '150px' );
2232
  $clas = 'wppa_share';
2318
 
2319
  $name = __('Facebook js SDK', 'wp-photo-album-plus');
2320
  $desc = __('Load Facebook js SDK', 'wp-photo-album-plus');
2321
+ $help = (__('Uncheck this box only when there is a conflict with an other plugin that also loads the Facebook js SDK.', 'wp-photo-album-plus'));
2322
  $slug = 'wppa_load_facebook_sdk';
2323
  $html = wppa_checkbox($slug, $onchange);
2324
  $clas = 'wppa_share';
2327
 
2328
  $name = __('Share single image', 'wp-photo-album-plus');
2329
  $desc = __('Share a link to a single image, not the slideshow.', 'wp-photo-album-plus');
2330
+ $help = (__('The sharelink points to a page with a single image rather than to the page with the photo in the slideshow.', 'wp-photo-album-plus'));
2331
  $slug = 'wppa_share_single_image';
2332
  $html = wppa_checkbox($slug, $onchange);
2333
  $clas = 'wppa_share';
2339
  {
2340
  $name = __('Thumbnail name', 'wp-photo-album-plus');
2341
  $desc = __('Display Thumbnail name.', 'wp-photo-album-plus');
2342
+ $help = (__('Display photo name under thumbnail images.', 'wp-photo-album-plus'));
2343
  $slug = 'wppa_thumb_text_name';
2344
  $html = wppa_checkbox($slug);
2345
  $clas = 'tt_normal';
2357
 
2358
  $name = __('Thumbnail desc', 'wp-photo-album-plus');
2359
  $desc = __('Display Thumbnail description.', 'wp-photo-album-plus');
2360
+ $help = (__('Display description of the photo under thumbnail images.', 'wp-photo-album-plus'));
2361
  $slug = 'wppa_thumb_text_desc';
2362
  $html = wppa_checkbox($slug);
2363
  $clas = 'tt_normal';
2366
 
2367
  $name = __('Thumbnail rating', 'wp-photo-album-plus');
2368
  $desc = __('Display Thumbnail Rating.', 'wp-photo-album-plus');
2369
+ $help = (__('Display the rating of the photo under the thumbnail image.', 'wp-photo-album-plus'));
2370
  $slug = 'wppa_thumb_text_rating';
2371
  $html = '<span class="wppa_rating">'.wppa_checkbox($slug).'</span>';
2372
  $clas = 'wppa_rating_ tt_normal';
2375
 
2376
  $name = __('Thumbnail comcount', 'wp-photo-album-plus');
2377
  $desc = __('Display Thumbnail Comment count.', 'wp-photo-album-plus');
2378
+ $help = (__('Display the number of comments to the photo under the thumbnail image.', 'wp-photo-album-plus'));
2379
  $slug = 'wppa_thumb_text_comcount';
2380
  $html = wppa_checkbox($slug);
2381
  $clas = 'tt_normal';
2384
 
2385
  $name = __('Thumbnail viewcount', 'wp-photo-album-plus');
2386
  $desc = __('Display the number of views.', 'wp-photo-album-plus');
2387
+ $help = (__('Display the number of views under the thumbnail image.', 'wp-photo-album-plus'));
2388
  $slug = 'wppa_thumb_text_viewcount';
2389
  $html = wppa_checkbox($slug);
2390
  $clas = 'tt_normal';
2393
 
2394
  $name = __('Thumbnail virt album', 'wp-photo-album-plus');
2395
  $desc = __('Display the real album name on virtual album display.', 'wp-photo-album-plus');
2396
+ $help = (__('Display the album name of the photo in parenthesis under the thumbnail on virtual album displays like search results etc.', 'wp-photo-album-plus'));
2397
  $slug = 'wppa_thumb_text_virt_album';
2398
  $html = wppa_checkbox($slug);
2399
  $clas = 'tt_normal';
2420
 
2421
  $name = __('Popup name', 'wp-photo-album-plus');
2422
  $desc = __('Display Thumbnail name on popup.', 'wp-photo-album-plus');
2423
+ $help = (__('Display photo name under thumbnail images on the popup.', 'wp-photo-album-plus'));
2424
  $slug = 'wppa_popup_text_name';
2425
  $html = wppa_checkbox($slug);
2426
  $clas = 'tt_normal tt_masonry wppa_popup';
2429
 
2430
  $name = __('Popup (owner)', 'wp-photo-album-plus');
2431
  $desc = __('Display owner on popup.', 'wp-photo-album-plus');
2432
+ $help = (__('Display photo owner under thumbnail images on the popup.', 'wp-photo-album-plus'));
2433
  $slug = 'wppa_popup_text_owner';
2434
  $html = wppa_checkbox($slug);
2435
  $clas = 'tt_normal tt_masonry wppa_popup';
2438
 
2439
  $name = __('Popup desc', 'wp-photo-album-plus');
2440
  $desc = __('Display Thumbnail description on popup.', 'wp-photo-album-plus');
2441
+ $help = (__('Display description of the photo under thumbnail images on the popup.', 'wp-photo-album-plus'));
2442
  $slug = 'wppa_popup_text_desc';
2443
  $html = wppa_checkbox($slug);
2444
  $clas = 'tt_normal tt_masonry wppa_popup';
2447
 
2448
  $name = __('Popup desc no links', 'wp-photo-album-plus');
2449
  $desc = __('Strip html anchor tags from descriptions on popups', 'wp-photo-album-plus');
2450
+ $help = (__('Use this option to prevent the display of links that cannot be activated.', 'wp-photo-album-plus'));
2451
  $slug = 'wppa_popup_text_desc_strip';
2452
  $html = wppa_checkbox($slug);
2453
  $clas = 'tt_normal tt_masonry wppa_popup';
2456
 
2457
  $name = __('Popup rating', 'wp-photo-album-plus');
2458
  $desc = __('Display Thumbnail Rating on popup.', 'wp-photo-album-plus');
2459
+ $help = (__('Display the rating of the photo under the thumbnail image on the popup.', 'wp-photo-album-plus'));
2460
  $slug = 'wppa_popup_text_rating';
2461
  $html = '<span class="wppa_rating">'.wppa_checkbox($slug).'</span>';
2462
  $clas = 'wppa_rating_ tt_normal tt_masonry wppa_popup';
2465
 
2466
  $name = __('Popup comcount', 'wp-photo-album-plus');
2467
  $desc = __('Display Thumbnail Comment count on popup.', 'wp-photo-album-plus');
2468
+ $help = (__('Display the number of comments of the photo under the thumbnail image on the popup.', 'wp-photo-album-plus'));
2469
  $slug = 'wppa_popup_text_ncomments';
2470
  $html = wppa_checkbox($slug);
2471
  $clas = 'tt_normal tt_masonry wppa_popup';
2474
 
2475
  $name = __('Show rating count', 'wp-photo-album-plus');
2476
  $desc = __('Display the number of votes along with average ratings.', 'wp-photo-album-plus');
2477
+ $help = (__('If checked, the number of votes is displayed along with average rating displays on thumbnail and popup displays.', 'wp-photo-album-plus'));
2478
  $slug = 'wppa_show_rating_count';
2479
  $html = wppa_checkbox($slug);
2480
  $clas = 'wppa_rating_ tt_normal tt_masonry';
2537
  {
2538
  $name = __('Covertext', 'wp-photo-album-plus');
2539
  $desc = __('Show the text on the album cover.', 'wp-photo-album-plus');
2540
+ $help = (__('Display the album decription on the album cover', 'wp-photo-album-plus'));
2541
  $slug = 'wppa_show_cover_text';
2542
  $html = wppa_checkbox($slug);
2543
  $clas = '';
2546
 
2547
  $name = __('Slideshow', 'wp-photo-album-plus');
2548
  $desc = __('Enable the slideshow.', 'wp-photo-album-plus');
2549
+ $help = (__('If you do not want slideshows: uncheck this box. Browsing full size images will remain possible.', 'wp-photo-album-plus'));
2550
  $slug = 'wppa_enable_slideshow';
2551
  $html = wppa_checkbox($slug);
2552
  $clas = '';
2555
 
2556
  $name = __('Slideshow/Browse', 'wp-photo-album-plus');
2557
  $desc = __('Display the Slideshow / Browse photos link on album covers', 'wp-photo-album-plus');
2558
+ $help = (__('This setting causes the Slideshow link to be displayed on the album cover.', 'wp-photo-album-plus'));
2559
+ $help .= '<br />'.(__('If slideshows are disabled in item 2 in this table, you will see a browse link to fullsize images.', 'wp-photo-album-plus'));
2560
+ $help .= '<br />'.(__('If you do not want the browse link either, uncheck this item.', 'wp-photo-album-plus'));
2561
  $slug = 'wppa_show_slideshowbrowselink';
2562
  $html = wppa_checkbox($slug);
2563
  $clas = '';
2575
 
2576
  $name = __('Treecount', 'wp-photo-album-plus');
2577
  $desc = __('Display the total number of (sub)albums and photos in subalbums', 'wp-photo-album-plus');
2578
+ $help = (__('Displays the total number of sub albums and photos in the entire album tree in parenthesis if the numbers differ from the direct content of the album.', 'wp-photo-album-plus'));
2579
  $slug = 'wppa_show_treecount';
2580
  $opts = array( __('none', 'wp-photo-album-plus'), __('detailed', 'wp-photo-album-plus'), __('totals only', 'wp-photo-album-plus'));
2581
  $vals = array( '-none-', 'detail', 'total' );
2629
  {
2630
  $name = __('Big Browse Buttons in widget', 'wp-photo-album-plus');
2631
  $desc = __('Enable invisible browsing buttons in widget slideshows.', 'wp-photo-album-plus');
2632
+ $help = (__('If checked, the fullsize image is covered by two invisible areas that act as browse buttons.', 'wp-photo-album-plus'));
2633
+ $help .= '<br />'.(__('Make sure the Full height (Table I-B2) is properly configured to prevent these areas to overlap unwanted space.', 'wp-photo-album-plus'));
2634
  $slug = 'wppa_show_bbb_widget';
2635
  $html = wppa_checkbox($slug);
2636
  $clas = '';
2639
 
2640
  $name = __('Ugly Browse Buttons in widget', 'wp-photo-album-plus');
2641
  $desc = __('Enable ugly browsing buttons in widget slideshows.', 'wp-photo-album-plus');
2642
+ $help = (__('If checked, the fullsize image is covered by browse buttons.', 'wp-photo-album-plus'));
2643
+ $help .= '<br />'.(__('Make sure the Full height (Table I-B2) is properly configured to prevent these areas to overlap unwanted space.', 'wp-photo-album-plus'));
2644
  $slug = 'wppa_show_ubb_widget';
2645
  $html = wppa_checkbox($slug);
2646
  $clas = '';
2682
 
2683
  $name = __('Overlay slide name', 'wp-photo-album-plus');
2684
  $desc = __('Show name if from slide.', 'wp-photo-album-plus');
2685
+ $help = (__('Shows the photos name on a lightbox display when initiated from a slide.', 'wp-photo-album-plus'));
2686
+ $help .= '<br />'.(__('This setting also applies to film thumbnails if Table VI-B6a is set to lightbox overlay.', 'wp-photo-album-plus'));
2687
  $slug = 'wppa_ovl_slide_name';
2688
  $html = wppa_checkbox($slug);
2689
  $clas = '';
2692
 
2693
  $name = __('Overlay slide desc', 'wp-photo-album-plus');
2694
  $desc = __('Show description if from slide.', 'wp-photo-album-plus');
2695
+ $help = (__('Shows the photos description on a lightbox display when initiated from a slide.', 'wp-photo-album-plus'));
2696
+ $help .= '<br />'.(__('This setting also applies to film thumbnails if Table VI-B6a is set to lightbox overlay.', 'wp-photo-album-plus'));
2697
  $slug = 'wppa_ovl_slide_desc';
2698
  $html = wppa_checkbox($slug);
2699
  $clas = '';
2702
 
2703
  $name = __('Overlay thumb name', 'wp-photo-album-plus');
2704
  $desc = __('Show the photos name if from thumb.', 'wp-photo-album-plus');
2705
+ $help = (__('Shows the name on a lightbox display when initiated from a standard thumbnail or a widget thumbnail.', 'wp-photo-album-plus'));
2706
+ $help .= '<br />'.(__('This setting applies to standard thumbnails, thumbnail-, comment-, topten- and lasten-widget.', 'wp-photo-album-plus'));
2707
  $slug = 'wppa_ovl_thumb_name';
2708
  $html = wppa_checkbox($slug);
2709
  $clas = '';
2712
 
2713
  $name = __('Overlay thumb desc', 'wp-photo-album-plus');
2714
  $desc = __('Show description if from thumb.', 'wp-photo-album-plus');
2715
+ $help = (__('Shows the photos description on a lightbox display when initiated from a standard thumbnail or a widget thumbnail.', 'wp-photo-album-plus'));
2716
+ $help .= '<br />'.(__('This setting applies to standard thumbnails, thumbnail-, comment-, topten- and lasten-widget.', 'wp-photo-album-plus'));
2717
  $slug = 'wppa_ovl_thumb_desc';
2718
  $html = wppa_checkbox($slug);
2719
  $clas = '';
2722
 
2723
  $name = __('Overlay potd name', 'wp-photo-album-plus');
2724
  $desc = __('Show the photos name if from photo of the day.', 'wp-photo-album-plus');
2725
+ $help = (__('Shows the name on a lightbox display when initiated from the photo of the day.', 'wp-photo-album-plus'));
2726
  $slug = 'wppa_ovl_potd_name';
2727
  $html = wppa_checkbox($slug);
2728
  $clas = '';
2731
 
2732
  $name = __('Overlay potd desc', 'wp-photo-album-plus');
2733
  $desc = __('Show description if from from photo of the day.', 'wp-photo-album-plus');
2734
+ $help = (__('Shows the photos description on a lightbox display when initiated from the photo of the day.', 'wp-photo-album-plus'));
2735
  $slug = 'wppa_ovl_potd_desc';
2736
  $html = wppa_checkbox($slug);
2737
  $clas = '';
2740
 
2741
  $name = __('Overlay sphoto name', 'wp-photo-album-plus');
2742
  $desc = __('Show the photos name if from a single photo.', 'wp-photo-album-plus');
2743
+ $help = (__('Shows the name on a lightbox display when initiated from a single photo.', 'wp-photo-album-plus'));
2744
  $slug = 'wppa_ovl_sphoto_name';
2745
  $html = wppa_checkbox($slug);
2746
  $clas = '';
2749
 
2750
  $name = __('Overlay sphoto desc', 'wp-photo-album-plus');
2751
  $desc = __('Show description if from from a single photo.', 'wp-photo-album-plus');
2752
+ $help = (__('Shows the photos description on a lightbox display when initiated from a single photo.', 'wp-photo-album-plus'));
2753
  $slug = 'wppa_ovl_sphoto_desc';
2754
  $html = wppa_checkbox($slug);
2755
  $clas = '';
2758
 
2759
  $name = __('Overlay mphoto name', 'wp-photo-album-plus');
2760
  $desc = __('Show the photos name if from a single media style photo.', 'wp-photo-album-plus');
2761
+ $help = (__('Shows the name on a lightbox display when initiated from a single media style photo.', 'wp-photo-album-plus'));
2762
  $slug = 'wppa_ovl_mphoto_name';
2763
  $html = wppa_checkbox($slug);
2764
  $clas = '';
2767
 
2768
  $name = __('Overlay mphoto desc', 'wp-photo-album-plus');
2769
  $desc = __('Show description if from from a media style photo.', 'wp-photo-album-plus');
2770
+ $help = (__('Shows the photos description on a lightbox display when initiated from a single media style photo.', 'wp-photo-album-plus'));
2771
  $slug = 'wppa_ovl_mphoto_desc';
2772
  $html = wppa_checkbox($slug);
2773
  $clas = '';
2776
 
2777
  $name = __('Overlay albumwidget name', 'wp-photo-album-plus');
2778
  $desc = __('Show the photos name if from the album widget.', 'wp-photo-album-plus');
2779
+ $help = (__('Shows the name on a lightbox display when initiated from the album widget.', 'wp-photo-album-plus'));
2780
  $slug = 'wppa_ovl_alw_name';
2781
  $html = wppa_checkbox($slug);
2782
  $clas = '';
2785
 
2786
  $name = __('Overlay albumwidget desc', 'wp-photo-album-plus');
2787
  $desc = __('Show description if from from the album widget.', 'wp-photo-album-plus');
2788
+ $help = (__('Shows the photos description on a lightbox display when initiated from the album widget.', 'wp-photo-album-plus'));
2789
  $slug = 'wppa_ovl_alw_desc';
2790
  $html = wppa_checkbox($slug);
2791
  $clas = '';
2794
 
2795
  $name = __('Overlay coverphoto name', 'wp-photo-album-plus');
2796
  $desc = __('Show the photos name if from the album cover.', 'wp-photo-album-plus');
2797
+ $help = (__('Shows the name on a lightbox display when initiated from the album coverphoto.', 'wp-photo-album-plus'));
2798
  $slug = 'wppa_ovl_cover_name';
2799
  $html = wppa_checkbox($slug);
2800
  $clas = '';
2803
 
2804
  $name = __('Overlay coverphoto desc', 'wp-photo-album-plus');
2805
  $desc = __('Show description if from from the album cover.', 'wp-photo-album-plus');
2806
+ $help = (__('Shows the photos description on a lightbox display when initiated from the album coverphoto.', 'wp-photo-album-plus'));
2807
  $slug = 'wppa_ovl_cover_desc';
2808
  $html = wppa_checkbox($slug);
2809
  $clas = '';
2812
 
2813
  $name = __('Overlay add owner', 'wp-photo-album-plus');
2814
  $desc = __('Add the owner to the photo name on lightbox displays.', 'wp-photo-album-plus');
2815
+ $help = (__('This setting is independant of the show name switches and is a global setting.', 'wp-photo-album-plus'));
2816
  $slug = 'wppa_ovl_add_owner';
2817
  $html = wppa_checkbox($slug);
2818
  $clas = '';
2830
 
2831
  $name = __('Overlay show legenda', 'wp-photo-album-plus');
2832
  $desc = __('Show "Press f for fullsize" etc. on lightbox.', 'wp-photo-album-plus');
2833
+ $help = (__('Independant of this setting, it will not show up on mobile devices.', 'wp-photo-album-plus'));
2834
  $slug = 'wppa_ovl_show_legenda';
2835
  $html = wppa_checkbox($slug);
2836
  $clas = '';
2848
 
2849
  $name = __('Show rating', 'wp-photo-album-plus');
2850
  $desc = __('Shows and enables rating on lightbox.', 'wp-photo-album-plus');
2851
+ $help = (__('This works for 5 and 10 stars only, not for single votes or numerical display', 'wp-photo-album-plus'));
2852
  $slug = 'wppa_ovl_rating';
2853
  $html = wppa_checkbox($slug);
2854
  $clas = '';
2866
 
2867
  $name = __('Show Zoom in', 'wp-photo-album-plus');
2868
  $desc = __('Display tooltip "Zoom in" along with the magnifier cursor.', 'wp-photo-album-plus');
2869
+ $help = (__('If you select ---none--- in Table I-G2 for magnifier size, the tooltop contains the photo name.', 'wp-photo-album-plus') );
2870
  $slug = 'wppa_show_zoomin';
2871
  $html = wppa_checkbox($slug);
2872
  $clas = '';
2878
  {
2879
  $name = __('User upload Photos', 'wp-photo-album-plus');
2880
  $desc = __('Enable frontend upload.', 'wp-photo-album-plus');
2881
+ $help = (__('If you check this item, frontend upload will be enabled according to the rules set in the following items of this table.', 'wp-photo-album-plus'));
2882
  $slug = 'wppa_user_upload_on';
2883
  $onchange = 'wppaFollow(\'user_upload_on\',\'wppa_feup\');';
2884
  $html = wppa_checkbox($slug, $onchange);
2888
 
2889
  $name = __('User upload Video', 'wp-photo-album-plus');
2890
  $desc = __('Enable frontend upload of video.', 'wp-photo-album-plus');
2891
+ $help = (__('Requires Table II-H1 to be ticked.', 'wp-photo-album-plus'));
2892
  $slug = 'wppa_user_upload_video_on';
2893
  $onchange = '';
2894
  $html = wppa_checkbox($slug, $onchange);
2898
 
2899
  $name = __('User upload Audio', 'wp-photo-album-plus');
2900
  $desc = __('Enable frontend upload of audio.', 'wp-photo-album-plus');
2901
+ $help = (__('Requires Table II-H1 to be ticked.', 'wp-photo-album-plus'));
2902
  $slug = 'wppa_user_upload_audio_on';
2903
  $onchange = '';
2904
  $html = wppa_checkbox($slug, $onchange);
2908
 
2909
  $name = __('User upload Photos login', 'wp-photo-album-plus');
2910
  $desc = __('Frontend upload requires the user is logged in.', 'wp-photo-album-plus');
2911
+ $help = (__('If you uncheck this box, make sure you check the item Owners only in Table VII-D1.', 'wp-photo-album-plus'));
2912
+ $help .= '<br />'.(__('Also: set the owner to ---public--- of the albums that are allowed to be uploaded to.', 'wp-photo-album-plus'));
2913
  $slug = 'wppa_user_upload_login';
2914
  $html = wppa_checkbox($slug);
2915
  $clas = 'wppa_feup';
2918
 
2919
  $name = __('User upload roles', 'wp-photo-album-plus');
2920
  $desc = __('Optionally limit access to selected userroles', 'wp-photo-album-plus');
2921
+ $help = (__('This selection only applies when the previous item is ticked', 'wp-photo-album-plus'));
2922
  $slug = 'wppa_user_opload_roles';
2923
  $roles = $wp_roles->roles;
2924
  $opts = array();
2967
 
2968
  $name = __('User Watermark', 'wp-photo-album-plus');
2969
  $desc = __('Uploading users may select watermark settings', 'wp-photo-album-plus');
2970
+ $help = (__('If checked, anyone who can upload and/or import photos can overrule the default watermark settings.', 'wp-photo-album-plus'));
2971
  $slug = 'wppa_watermark_user';
2972
  $html = wppa_checkbox($slug);
2973
  $clas = 'wppa_watermark wppa_feup';
2976
 
2977
  $name = __('User name', 'wp-photo-album-plus');
2978
  $desc = __('Uploading users may overrule the default name.', 'wp-photo-album-plus');
2979
+ $help = (__('If checked, the default photo name as defined in Table IX-D13 may be overruled by the user.', 'wp-photo-album-plus'));
2980
  $slug1 = 'wppa_name_user';
2981
  $slug2 = 'wppa_name_user_mandatory';
2982
  $html = wppa_checkbox( $slug1 ) . '<span style="float:left;" >' . __( 'Mandatory', 'wp-photo-album-plus' ) . ':</span>' . wppa_checkbox( $slug2 );
2986
 
2987
  $name = __('Apply Newphoto desc user', 'wp-photo-album-plus');
2988
  $desc = __('Give each new frontend uploaded photo a standard description.', 'wp-photo-album-plus');
2989
+ $help = (__('If checked, each new photo will get the description (template) as specified in Table IX-D5.', 'wp-photo-album-plus'));
2990
+ $help .= '<br />'.(__('Note: If the next item is checked, the user can overwrite this', 'wp-photo-album-plus'));
2991
  $slug = 'wppa_apply_newphoto_desc_user';
2992
  $html = wppa_checkbox($slug);
2993
  $clas = 'wppa_feup';
3006
 
3007
  $name = __('User upload custom', 'wp-photo-album-plus');
3008
  $desc = __('Frontend upload can fill in custom data fields.', 'wp-photo-album-plus');
3009
+ $help = __('Custom datafields can be defined in Table II-J10', 'wp-photo-album-plus');
3010
  $slug = 'wppa_fe_custom_fields';
3011
  $html = wppa_checkbox($slug);
3012
  $clas = 'wppa_feup custfields';
3015
 
3016
  $name = __('User upload tags', 'wp-photo-album-plus');
3017
  $desc = __('Frontend upload can add tags.', 'wp-photo-album-plus');
3018
+ $help = (__('You can configure the details of tag addition in Table IX-D18.x', 'wp-photo-album-plus'));
3019
  $slug = 'wppa_fe_upload_tags';
3020
  $onchange = 'wppaFollow(\'fe_upload_tags\', \'wppa_up_tags\');';
3021
  $html = wppa_checkbox($slug, $onchange);
3044
 
3045
  $name = __('Tags box', 'wp-photo-album-plus').' 1';
3046
  $desc = __('The tags in the selection box.', 'wp-photo-album-plus');
3047
+ $help = (__('Enter the tags you want to appear in the selection box. Empty means: all existing tags', 'wp-photo-album-plus'));
3048
  $slug = 'wppa_up_tagselbox_content_1';
3049
  $html = wppa_edit( $slug, get_option( $slug ), '300px' );
3050
  $clas = 'wppa_feup wppa_up_tags';
3072
 
3073
  $name = __('Tags box', 'wp-photo-album-plus').' 2';
3074
  $desc = __('The tags in the selection box.', 'wp-photo-album-plus');
3075
+ $help = (__('Enter the tags you want to appear in the selection box. Empty means: all existing tags', 'wp-photo-album-plus'));
3076
  $slug = 'wppa_up_tagselbox_content_2';
3077
  $html = wppa_edit( $slug, get_option( $slug ), '300px' );
3078
  $clas = 'wppa_feup wppa_up_tags';
3100
 
3101
  $name = __('Tags box', 'wp-photo-album-plus').' 3';
3102
  $desc = __('The tags in the selection box.', 'wp-photo-album-plus');
3103
+ $help = (__('Enter the tags you want to appear in the selection box. Empty means: all existing tags', 'wp-photo-album-plus'));
3104
  $slug = 'wppa_up_tagselbox_content_3';
3105
  $html = wppa_edit( $slug, get_option( $slug ), '300px' );
3106
  $clas = 'wppa_feup wppa_up_tags';
3154
 
3155
  $name = __('Blog It!', 'wp-photo-album-plus');
3156
  $desc = __('Enable blogging photos.', 'wp-photo-album-plus');
3157
+ $help = ( __('Users need the capability edit_posts to directly blog photos.', 'wp-photo-album-plus'));
3158
  $slug = 'wppa_blog_it';
3159
  $opts = array( __('disabled', 'wp-photo-album-plus'),
3160
  __('optional', 'wp-photo-album-plus'),
3180
 
3181
  $name = __('Blog It shortcode', 'wp-photo-album-plus');
3182
  $desc = __('Shortcode to be used on the blog post', 'wp-photo-album-plus');
3183
+ $help = (__('Make sure it contains photo="#id"', 'wp-photo-album-plus'));
3184
  $slug = 'wppa_blog_it_shortcode';
3185
  $html = wppa_input($slug, '85%');
3186
  $clas = 'wppa_feup';
3223
  for ( $i = '0'; $i < '10'; $i++ ) {
3224
  $name = sprintf(__('Name, vis, edit %s', 'wp-photo-album-plus'), $i);
3225
  $desc = sprintf(__('The caption for field %s, visibility and editability at frontend.', 'wp-photo-album-plus'), $i);
3226
+ $help = (sprintf(__('If you check the first box, the value of this field is displayable in photo descriptions at the frontend with keyword w#c%s', 'wp-photo-album-plus'), $i));
3227
+ $help .= '<br />'.(__('If you check the second box, the value of this field is editable at the frontend new style dialog.', 'wp-photo-album-plus'));
3228
  $slug1 = 'wppa_album_custom_caption_'.$i;
3229
  $html1 = wppa_input($slug1, '300px');
3230
  $slug2 = 'wppa_album_custom_visible_'.$i;
3249
  for ( $i = '0'; $i < '10'; $i++ ) {
3250
  $name = sprintf(__('Name, vis, edit %s', 'wp-photo-album-plus'), $i);
3251
  $desc = sprintf(__('The caption for field %s, visibility and editability at frontend.', 'wp-photo-album-plus'), $i);
3252
+ $help = (sprintf(__('If you check the first box, the value of this field is displayable in photo descriptions at the frontend with keyword w#c%s', 'wp-photo-album-plus'), $i));
3253
+ $help .= '<br />'.(__('If you check the second box, the value of this field is editable at the frontend new style dialog.', 'wp-photo-album-plus'));
3254
  $slug1 = 'wppa_custom_caption_'.$i;
3255
  $html1 = wppa_input($slug1, '300px');
3256
  $slug2 = 'wppa_custom_visible_'.$i;
3265
 
3266
  $name = __('Navigation symbols style', 'wp-photo-album-plus');
3267
  $desc = __('The corner rounding size of navigation icons.', 'wp-photo-album-plus' );
3268
+ $help = (__('Use gif/png if you have excessive pageload times due to many slideshows on a page', 'wp-photo-album-plus'));
3269
  $slug = 'wppa_icon_corner_style';
3270
  $opts = array(__('none', 'wp-photo-album-plus'), __('light', 'wp-photo-album-plus'), __('medium', 'wp-photo-album-plus'), __('heavy', 'wp-photo-album-plus'), __('use gif/png, no svg', 'wp-photo-album-plus'));
3271
  $vals = array('none', 'light', 'medium', 'heavy', 'gif');
3373
  {
3374
  $name = __('Nav', 'wp-photo-album-plus');
3375
  $desc = __('Navigation bars.', 'wp-photo-album-plus');
3376
+ $help = (__('Enter valid CSS colors for navigation backgrounds and borders.', 'wp-photo-album-plus'));
3377
  $slug1 = 'wppa_bgcolor_nav';
3378
  $slug2 = 'wppa_bcolor_nav';
3379
  $slug = array($slug1, $slug2);
3386
 
3387
  $name = __('SlideImg', 'wp-photo-album-plus');
3388
  $desc = __('Fullsize Slideshow Photos.', 'wp-photo-album-plus');
3389
+ $help = (__('Enter valid CSS colors for fullsize photo backgrounds and borders.', 'wp-photo-album-plus'));
3390
+ $help .= '<br />'.(__('The colors may be equal or "transparent"', 'wp-photo-album-plus'));
3391
+ $help .= '<br />'.(__('For more information about slideshow image borders see the help on Table I-B4', 'wp-photo-album-plus'));
3392
  $slug1 = 'wppa_bgcolor_fullimg';
3393
  $slug2 = 'wppa_bcolor_fullimg';
3394
  $slug = array($slug1, $slug2);
3401
 
3402
  $name = __('Numbar', 'wp-photo-album-plus');
3403
  $desc = __('Number bar box background.', 'wp-photo-album-plus');
3404
+ $help = (__('Enter valid CSS colors for numbar box backgrounds and borders.', 'wp-photo-album-plus'));
3405
  $slug1 = 'wppa_bgcolor_numbar';
3406
  $slug2 = 'wppa_bcolor_numbar';
3407
  $slug = array($slug1, $slug2);
3414
 
3415
  $name = __('Numbar active', 'wp-photo-album-plus');
3416
  $desc = __('Number bar active box background.', 'wp-photo-album-plus');
3417
+ $help = (__('Enter valid CSS colors for numbar active box backgrounds and borders.', 'wp-photo-album-plus'));
3418
  $slug1 = 'wppa_bgcolor_numbar_active';
3419
  $slug2 = 'wppa_bcolor_numbar_active';
3420
  $slug = array($slug1, $slug2);
3427
 
3428
  $name = __('Name/desc', 'wp-photo-album-plus');
3429
  $desc = __('Name and Description bars.', 'wp-photo-album-plus');
3430
+ $help = (__('Enter valid CSS colors for name and description box backgrounds and borders.', 'wp-photo-album-plus'));
3431
  $slug1 = 'wppa_bgcolor_namedesc';
3432
  $slug2 = 'wppa_bcolor_namedesc';
3433
  $slug = array($slug1, $slug2);
3440
 
3441
  $name = __('Comments', 'wp-photo-album-plus');
3442
  $desc = __('Comment input and display areas.', 'wp-photo-album-plus');
3443
+ $help = (__('Enter valid CSS colors for comment box backgrounds and borders.', 'wp-photo-album-plus'));
3444
  $slug1 = 'wppa_bgcolor_com';
3445
  $slug2 = 'wppa_bcolor_com';
3446
  $slug = array($slug1, $slug2);
3453
 
3454
  $name = __('Custom', 'wp-photo-album-plus');
3455
  $desc = __('Custom box background.', 'wp-photo-album-plus');
3456
+ $help = (__('Enter valid CSS colors for custom box backgrounds and borders.', 'wp-photo-album-plus'));
3457
  $slug1 = 'wppa_bgcolor_cus';
3458
  $slug2 = 'wppa_bcolor_cus';
3459
  $slug = array($slug1, $slug2);
3466
 
3467
  $name = __('IPTC', 'wp-photo-album-plus');
3468
  $desc = __('IPTC display box background.', 'wp-photo-album-plus');
3469
+ $help = (__('Enter valid CSS colors for iptc box backgrounds and borders.', 'wp-photo-album-plus'));
3470
  $slug1 = 'wppa_bgcolor_iptc';
3471
  $slug2 = 'wppa_bcolor_iptc';
3472
  $slug = array($slug1, $slug2);
3479
 
3480
  $name = __('EXIF', 'wp-photo-album-plus');
3481
  $desc = __('EXIF display box background.', 'wp-photo-album-plus');
3482
+ $help = (__('Enter valid CSS colors for exif box backgrounds and borders.', 'wp-photo-album-plus'));
3483
  $slug1 = 'wppa_bgcolor_exif';
3484
  $slug2 = 'wppa_bcolor_exif';
3485
  $slug = array($slug1, $slug2);
3492
 
3493
  $name = __('Share', 'wp-photo-album-plus');
3494
  $desc = __('Share box display background.', 'wp-photo-album-plus');
3495
+ $help = (__('Enter valid CSS colors for share box backgrounds and borders.', 'wp-photo-album-plus'));
3496
  $slug1 = 'wppa_bgcolor_share';
3497
  $slug2 = 'wppa_bcolor_share';
3498
  $slug = array($slug1, $slug2);
3507
  {
3508
  $name = __('Even', 'wp-photo-album-plus');
3509
  $desc = __('Even background.', 'wp-photo-album-plus');
3510
+ $help = (__('Enter valid CSS colors for even numbered backgrounds and borders of album covers and thumbnail displays \'As covers\'.', 'wp-photo-album-plus'));
3511
  $slug1 = 'wppa_bgcolor_even';
3512
  $slug2 = 'wppa_bcolor_even';
3513
  $slug = array($slug1, $slug2);
3520
 
3521
  $name = __('Odd', 'wp-photo-album-plus');
3522
  $desc = __('Odd background.', 'wp-photo-album-plus');
3523
+ $help = (__('Enter valid CSS colors for odd numbered backgrounds and borders of album covers and thumbnail displays \'As covers\'.', 'wp-photo-album-plus'));
3524
  $slug1 = 'wppa_bgcolor_alt';
3525
  $slug2 = 'wppa_bcolor_alt';
3526
  $slug = array($slug1, $slug2);
3533
 
3534
  $name = __('Thumbnail padding', 'wp-photo-album-plus');
3535
  $desc = __('Thumbnail padding color if thumbnail aspect is a padded setting.', 'wp-photo-album-plus');
3536
+ $help = (__('Enter valid CSS color hexadecimal like #000000 for black or #ffffff for white for the padded thumbnails.', 'wp-photo-album-plus'));
3537
  $slug1 = 'wppa_bgcolor_thumbnail';
3538
  $slug2 = '';
3539
  $slug = array($slug1, $slug2);
3546
 
3547
  $name = __('Img', 'wp-photo-album-plus');
3548
  $desc = __('Cover Photos and popups.', 'wp-photo-album-plus');
3549
+ $help = (__('Enter valid CSS colors for Cover photo and popup backgrounds and borders.', 'wp-photo-album-plus'));
3550
  $slug1 = 'wppa_bgcolor_img';
3551
  $slug2 = 'wppa_bcolor_img';
3552
  $slug = array($slug1, $slug2);
3559
 
3560
  $name = __('Upload', 'wp-photo-album-plus');
3561
  $desc = __('Upload box background.', 'wp-photo-album-plus');
3562
+ $help = (__('Enter valid CSS colors for upload box backgrounds and borders.', 'wp-photo-album-plus'));
3563
+ $help .= '<br />'.(__('See the Upload box, created by the shortcode [wppa type="upload"][/wppa]', 'wp-photo-album-plus'));
3564
  $slug1 = 'wppa_bgcolor_upload';
3565
  $slug2 = 'wppa_bcolor_upload';
3566
  $slug = array($slug1, $slug2);
3573
 
3574
  $name = __('Multitag', 'wp-photo-album-plus');
3575
  $desc = __('Multitag box background.', 'wp-photo-album-plus');
3576
+ $help = (__('Enter valid CSS colors for multitag box backgrounds and borders.', 'wp-photo-album-plus'));
3577
+ $help .= '<br />'.(__('See the Multitag search box, created by the shortcode [wppa type="multitag"][/wppa]', 'wp-photo-album-plus'));
3578
  $slug1 = 'wppa_bgcolor_multitag';
3579
  $slug2 = 'wppa_bcolor_multitag';
3580
  $slug = array($slug1, $slug2);
3587
 
3588
  $name = __('Tagcloud', 'wp-photo-album-plus');
3589
  $desc = __('Tagcloud box background.', 'wp-photo-album-plus');
3590
+ $help = (__('Enter valid CSS colors for tagcloud box backgrounds and borders.', 'wp-photo-album-plus'));
3591
+ $help .= '<br />'.(__('See the Tagcloud search box, created by the shortcode [wppa type="tagcloud"][/wppa]', 'wp-photo-album-plus'));
3592
  $slug1 = 'wppa_bgcolor_tagcloud';
3593
  $slug2 = 'wppa_bcolor_tagcloud';
3594
  $slug = array($slug1, $slug2);
3601
 
3602
  $name = __('Superview', 'wp-photo-album-plus');
3603
  $desc = __('Superview box background.', 'wp-photo-album-plus');
3604
+ $help = (__('Enter valid CSS colors for superview box backgrounds and borders.', 'wp-photo-album-plus'));
3605
+ $help .= '<br />'.(__('See the Superview search box, created by the shortcode [wppa type="superview"][/wppa]', 'wp-photo-album-plus'));
3606
  $slug1 = 'wppa_bgcolor_superview';
3607
  $slug2 = 'wppa_bcolor_superview';
3608
  $slug = array($slug1, $slug2);
3615
 
3616
  $name = __('Search', 'wp-photo-album-plus');
3617
  $desc = __('Search box background.', 'wp-photo-album-plus');
3618
+ $help = (__('Enter valid CSS colors for search box backgrounds and borders.', 'wp-photo-album-plus'));
3619
+ $help .= '<br />'.(__('See the Search box, created by the shortcode [wppa type="search"][/wppa]', 'wp-photo-album-plus'));
3620
  $slug1 = 'wppa_bgcolor_search';
3621
  $slug2 = 'wppa_bcolor_search';
3622
  $slug = array($slug1, $slug2);
3629
 
3630
  $name = __('BestOf', 'wp-photo-album-plus');
3631
  $desc = __('BestOf box background.', 'wp-photo-album-plus');
3632
+ $help = (__('Enter valid CSS colors for bestof box backgrounds and borders.', 'wp-photo-album-plus'));
3633
+ $help .= '<br />'.(__('See the Best of box, created by the shortcode [wppa type="bestof"][/wppa]', 'wp-photo-album-plus'));
3634
  $slug1 = 'wppa_bgcolor_bestof';
3635
  $slug2 = 'wppa_bcolor_bestof';
3636
  $slug = array($slug1, $slug2);
3643
 
3644
  $name = __('Calendar', 'wp-photo-album-plus');
3645
  $desc = __('Calendar box background.', 'wp-photo-album-plus');
3646
+ $help = (__('Enter valid CSS colors for calendar box backgrounds and borders.', 'wp-photo-album-plus'));
3647
+ $help .= '<br />'.(__('See the Calendar box, created by the shortcode [wppa type="calendar"][/wppa]', 'wp-photo-album-plus'));
3648
  $slug1 = 'wppa_bgcolor_calendar';
3649
  $slug2 = 'wppa_bcolor_calendar';
3650
  $slug = array($slug1, $slug2);
3657
 
3658
  $name = __('Stereo', 'wp-photo-album-plus');
3659
  $desc = __('Stereo mode selection box background.', 'wp-photo-album-plus');
3660
+ $help = (__('Enter valid CSS colors for stereo mode selection box backgrounds and borders.', 'wp-photo-album-plus'));
3661
+ $help .= '<br />'.(__('See the Stereo type selection box, created by the shortcode [wppa type="stereo"][/wppa]', 'wp-photo-album-plus'));
3662
  $slug1 = 'wppa_bgcolor_stereo';
3663
  $slug2 = 'wppa_bcolor_stereo';
3664
  $slug = array($slug1, $slug2);
3671
 
3672
  $name = __('Admins Choice', 'wp-photo-album-plus');
3673
  $desc = __('Admins choice box background.', 'wp-photo-album-plus');
3674
+ $help = (__('Enter valid CSS colors for admins choice box backgrounds and borders.', 'wp-photo-album-plus'));
3675
+ $help .= '<br />'.(__('See the Admins choice box, created by the shortcode [wppa type="choice"][/wppa]', 'wp-photo-album-plus'));
3676
  $slug1 = 'wppa_bgcolor_adminschoice';
3677
  $slug2 = 'wppa_bcolor_adminschoice';
3678
  $slug = array($slug1, $slug2);
3685
 
3686
  $name = __('Modal render box', 'wp-photo-album-plus');
3687
  $desc = __('The background for the Ajax modal rendering box.', 'wp-photo-album-plus');
3688
+ $help = (__('Recommended color: your theme background color.', 'wp-photo-album-plus'));
3689
  $slug1 = 'wppa_bgcolor_modal';
3690
  $slug2 = 'wppa_bcolor_modal';
3691
  $slug = array($slug1, $slug2);
3765
  {
3766
  $name = __('Use Ajax', 'wp-photo-album-plus');
3767
  $desc = __('Use Ajax as much as is possible and implemented.', 'wp-photo-album-plus');
3768
+ $help = (__('If this box is ticked, page content updates from within wppa+ displays will be Ajax based as much as possible.', 'wp-photo-album-plus'));
3769
  $slug = 'wppa_allow_ajax';
3770
  $onchange = 'wppaCheckAjax()';
3771
  $html = wppa_checkbox($slug, $onchange);
3775
 
3776
  $name = __('Ajax NON Admin', 'wp-photo-album-plus');
3777
  $desc = __('Frontend ajax use no admin files.', 'wp-photo-album-plus');
3778
+ $help = (__('If you want to password protect wp-admin, check this box.', 'wp-photo-album-plus'));
3779
+ $help .= '<br />'.(__('In rare cases changing page content does not work when this box is checked. Verify the functionality!', 'wp-photo-album-plus'));
3780
  $slug = 'wppa_ajax_non_admin';
3781
  $html = wppa_checkbox($slug);
3782
  $clas = '';
3794
 
3795
  $name = __('Photo names in urls', 'wp-photo-album-plus');
3796
  $desc = __('Display photo names in urls.', 'wp-photo-album-plus');
3797
+ $help = (__('Urls to wppa+ displays will contain photonames instead of numbers.', 'wp-photo-album-plus'));
3798
+ $help .= '<br />'.(__('It is your responsibility to avoid duplicate names of photos in the same album.', 'wp-photo-album-plus'));
3799
  $slug = 'wppa_use_photo_names_in_urls';
3800
  $html = wppa_checkbox($slug);
3801
  $clas = '';
3804
 
3805
  $name = __('Album names in urls', 'wp-photo-album-plus');
3806
  $desc = __('Display album names in urls.', 'wp-photo-album-plus');
3807
+ $help = (__('Urls to wppa+ displays will contain albumnames instead of numbers.', 'wp-photo-album-plus'));
3808
+ $help .= '<br />'.(__('It is your responsibility to avoid duplicate names of albums in the system.', 'wp-photo-album-plus'));
3809
  $slug = 'wppa_use_album_names_in_urls';
3810
  $html = wppa_checkbox($slug);
3811
  $clas = '';
3814
 
3815
  $name = __('Use short query args', 'wp-photo-album-plus');
3816
  $desc = __('Use &album=... &photo=...', 'wp-photo-album-plus');
3817
+ $help = (__('Urls to wppa+ displays will contain &album=... &photo=... instead of &wppa-album=... &wppa-photo=...', 'wp-photo-album-plus'));
3818
+ $help .= '<br />'.(__('Use this setting only when there are no conflicts with other plugins that may interprete arguments like &album= etc.', 'wp-photo-album-plus'));
3819
  $slug = 'wppa_use_short_qargs';
3820
  $html = wppa_checkbox($slug);
3821
  $clas = '';
3824
 
3825
  $name = __('Enable pretty links', 'wp-photo-album-plus');
3826
  $desc = __('Enable the generation and understanding of pretty links.', 'wp-photo-album-plus');
3827
+ $help = (__('If checked, links to social media and the qr code will have "/token1/token2/" etc instead of "&arg1=..&arg2=.." etc.', 'wp-photo-album-plus'));
3828
+ $help .= '<br />'.(__('These types of links will be interpreted and cause a redirection on entering.', 'wp-photo-album-plus'));
3829
+ $help .= '<br />'.(__('It is recommended to check this box. It shortens links dramatically and simplifies qr codes.', 'wp-photo-album-plus'));
3830
+ $help .= '<br />'.(__('However, you may encounter conflicts with themes and/or other plugins, so test it throughly!', 'wp-photo-album-plus'));
3831
+ $help .= '<br />'.(__('Table IV-A2 (Photo names in urls) must be UNchecked for this setting to work!', 'wp-photo-album-plus'));
3832
  $slug = 'wppa_use_pretty_links';
3833
  $opts = array( __( 'None', 'wp-photo-album-plus' ),
3834
  __( 'Classic', 'wp-photo-album-plus' ),
3861
 
3862
  $name = __('Update addressline', 'wp-photo-album-plus');
3863
  $desc = __('Update the addressline after an ajax action or next slide.', 'wp-photo-album-plus');
3864
+ $help = (__('If checked, refreshing the page will show the current content and the browsers back and forth arrows will browse the history on the page.', 'wp-photo-album-plus'));
3865
+ $help .= '<br />'.(__('If unchecked, refreshing the page will re-display the content of the original page.', 'wp-photo-album-plus'));
3866
+ $help .= '<br />'.(__('This will only work on browsers that support history.pushState() and therefor NOT in IE', 'wp-photo-album-plus'));
3867
  $slug = 'wppa_update_addressline';
3868
  $html = wppa_checkbox($slug);
3869
  $clas = '';
3872
 
3873
  $name = __('Render shortcode always', 'wp-photo-album-plus');
3874
  $desc = __('This will skip the check on proper initialisation.', 'wp-photo-album-plus');
3875
+ $help = (__('This setting is required for certain themes like Gantry to prevent the display of wppa placeholders like [WPPA+ Photo display].', 'wp-photo-album-plus'));
3876
  $slug = 'wppa_render_shortcode_always';
3877
  $html = wppa_checkbox($slug);
3878
  $clas = '';
3902
  $help = '';
3903
  $slug = 'wppa_auto_page';
3904
  $onchange = 'wppaCheckAutoPage()';
3905
+ $warn = (__('Please reload this page after changing!', 'wp-photo-album-plus'));
3906
  $html = wppa_checkbox_warn($slug, $onchange, '', $warn);
3907
  $clas = '';
3908
  $tags = 'page,system';
3932
 
3933
  $name = __('Defer javascript', 'wp-photo-album-plus');
3934
  $desc = __('Put javascript near the end of the page.', 'wp-photo-album-plus');
3935
+ $help = (__('If checkd: May fix layout problems and broken slideshows. May speed up or slow down page appearing.', 'wp-photo-album-plus'));
3936
  $slug = 'wppa_defer_javascript';
3937
  $html = wppa_checkbox($slug);
3938
  $clas = '';
3941
 
3942
  $name = __('Inline styles', 'wp-photo-album-plus');
3943
  $desc = __('Set style specifications inline.', 'wp-photo-album-plus');
3944
+ $help = (__('If checked: May fix layout problems, but slows down page appearing.', 'wp-photo-album-plus'));
3945
  $slug = 'wppa_inline_css';
3946
  $html = wppa_checkbox($slug);
3947
  $clas = '';
4133
 
4134
  $name = __('Enable Admins Choice', 'wp-photo-album-plus');
4135
  $desc = __('Enable the creation of zipfiles with selected photos.', 'wp-photo-album-plus');
4136
+ $help = (__('Activate the Admins Choice widget to make the zipfiles downloadable.', 'wp-photo-album-plus'));
4137
  $slug = 'wppa_enable_admins_choice';
4138
  $html = wppa_checkbox($slug);
4139
  $clas = '';
4151
 
4152
  $name = __('Enable pdf', 'wp-photo-album-plus');
4153
  $desc = __('Enable the support of pdf files', 'wp-photo-album-plus');
4154
+ $help = (__('This feature requires the activation of ImageMagick. See Table IX-K7', 'wp-photo-album-plus'));
4155
  $slug = 'wppa_enable_pdf';
4156
  $html = wppa_checkbox($slug);
4157
  $clas = '';
4213
  {
4214
  $name = __('V align', 'wp-photo-album-plus');
4215
  $desc = __('Vertical alignment of slideshow images.', 'wp-photo-album-plus');
4216
+ $help = (__('Specify the vertical alignment of slideshow images.', 'wp-photo-album-plus'));
4217
+ $help .= '<br />'.(__('If you select --- none ---, the photos will not be centered horizontally either.', 'wp-photo-album-plus'));
4218
  $slug = 'wppa_fullvalign';
4219
  $options = array(__('--- none ---', 'wp-photo-album-plus'), __('top', 'wp-photo-album-plus'), __('center', 'wp-photo-album-plus'), __('bottom', 'wp-photo-album-plus'), __('fit', 'wp-photo-album-plus'));
4220
  $values = array('default', 'top', 'center', 'bottom', 'fit');
4226
 
4227
  $name = __('H align', 'wp-photo-album-plus');
4228
  $desc = __('Horizontal alignment of slideshow images.', 'wp-photo-album-plus');
4229
+ $help = (__('Specify the horizontal alignment of slideshow images. If you specify --- none --- , no horizontal alignment will take place.', 'wp-photo-album-plus'));
4230
+ $help .= '<br />'.(__('This setting is only usefull when the Column Width differs from the Maximum Width.', 'wp-photo-album-plus'));
4231
+ $help .= '<br />'.(__('(Settings I-A1 and I-B1)', 'wp-photo-album-plus'));
4232
  $slug = 'wppa_fullhalign';
4233
  $options = array(__('--- none ---', 'wp-photo-album-plus'), __('left', 'wp-photo-album-plus'), __('center', 'wp-photo-album-plus'), __('right', 'wp-photo-album-plus'));
4234
  $values = array('default', 'left', 'center', 'right');
4239
 
4240
  $name = __('Start', 'wp-photo-album-plus');
4241
  $desc = __('Start slideshow running.', 'wp-photo-album-plus');
4242
+ $help = (__('If you select "running", the slideshow will start running immediately, if you select "still at first photo", the first photo will be displayed in browse mode.', 'wp-photo-album-plus'));
4243
+ $help .= '<br />'.(__('If you select "still at first norated", the first photo that the visitor did not gave a rating will be displayed in browse mode.', 'wp-photo-album-plus'));
4244
  $slug = 'wppa_start_slide';
4245
  $options = array( __('running', 'wp-photo-album-plus'),
4246
  __('still at first photo', 'wp-photo-album-plus'),
4285
 
4286
  $name = __('Animation type', 'wp-photo-album-plus');
4287
  $desc = __('The way successive slides appear.', 'wp-photo-album-plus');
4288
+ $help = (__('Select the way the old slide is to be replaced by the new one in the slideshow/browse fullsize display.', 'wp-photo-album-plus'));
4289
  $slug = 'wppa_animation_type';
4290
  $options = array( __('Fade out and in simultaneous', 'wp-photo-album-plus'),
4291
  __('Fade in after fade out', 'wp-photo-album-plus'),
4308
 
4309
  $name = __('Timeout', 'wp-photo-album-plus');
4310
  $desc = __('Slideshow timeout.', 'wp-photo-album-plus');
4311
+ $help = (__('Select the time a single slide will be visible when the slideshow is started.', 'wp-photo-album-plus'));
4312
  $slug = 'wppa_slideshow_timeout';
4313
  $options = array( '1 s.', '1.5 s.', '2.5 s.', '3 s.', '4 s.', '5 s.', '6 s.', '8 s.', '10 s.', '12 s.', '15 s.', '20 s.' );
4314
  $values = array('1000', '1500', '2500', '3000', '4000', '5000', '6000', '8000', '10000', '12000', '15000', '20000' );
4319
 
4320
  $name = __('Speed', 'wp-photo-album-plus');
4321
  $desc = __('Slideshow animation speed.', 'wp-photo-album-plus');
4322
+ $help = (__('Specify the animation speed to be used in slideshows.', 'wp-photo-album-plus'));
4323
+ $help .= '<br />'.(__('This is the time it takes a photo to fade in or out.', 'wp-photo-album-plus'));
4324
  $slug = 'wppa_animation_speed';
4325
  $options = array(__('--- off ---', 'wp-photo-album-plus'), '200 ms.', '400 ms.', '800 ms.', '1.2 s.', '2 s.', '4 s.');
4326
  $values = array('10', '200', '400', '800', '1200', '2000', '4000');
4422
  {
4423
  $name = __('Photo order', 'wp-photo-album-plus');
4424
  $desc = __('Photo ordering sequence method.', 'wp-photo-album-plus');
4425
+ $help = (__('Specify the way the photos should be ordered. This is the default setting. You can overrule the default sorting order on a per album basis.', 'wp-photo-album-plus'));
4426
  $slug = 'wppa_list_photos_by';
4427
  $options = array( __('--- none ---', 'wp-photo-album-plus'),
4428
  __('Order #', 'wp-photo-album-plus'),
4461
 
4462
  $name = __('Thumbnail type', 'wp-photo-album-plus');
4463
  $desc = __('The way the thumbnail images are displayed.', 'wp-photo-album-plus');
4464
+ $help = (__('You may select an altenative display method for thumbnails. Note that some of the thumbnail settings do not apply to all available display methods.', 'wp-photo-album-plus'));
4465
  $slug = 'wppa_thumbtype';
4466
  $options = array(__('--- default ---', 'wp-photo-album-plus'), __('like album covers', 'wp-photo-album-plus'), __('like album covers mcr', 'wp-photo-album-plus'), __('masonry style columns', 'wp-photo-album-plus'), __('masonry style rows', 'wp-photo-album-plus'));
4467
  $values = array('default', 'ascovers', 'ascovers-mcr', 'masonry-v', 'masonry-h' );
4473
 
4474
  $name = __('Placement', 'wp-photo-album-plus');
4475
  $desc = __('Thumbnail image left or right.', 'wp-photo-album-plus');
4476
+ $help = (__('Indicate the placement position of the thumbnailphoto you wish.', 'wp-photo-album-plus'));
4477
  $slug = 'wppa_thumbphoto_left';
4478
  $options = array(__('Left', 'wp-photo-album-plus'), __('Right', 'wp-photo-album-plus'));
4479
  $values = array('yes', 'no');
4484
 
4485
  $name = __('Vertical alignment', 'wp-photo-album-plus');
4486
  $desc = __('Vertical alignment of thumbnails.', 'wp-photo-album-plus');
4487
+ $help = (__('Specify the vertical alignment of thumbnail images. Use this setting when albums contain both portrait and landscape photos.', 'wp-photo-album-plus'));
4488
+ $help .= '<br />'.(__('It is NOT recommended to use the value --- default ---; it will affect the horizontal alignment also and is meant to be used with custom css.', 'wp-photo-album-plus'));
4489
  $slug = 'wppa_valign';
4490
  $options = array( __('--- default ---', 'wp-photo-album-plus'), __('top', 'wp-photo-album-plus'), __('center', 'wp-photo-album-plus'), __('bottom', 'wp-photo-album-plus'));
4491
  $values = array('default', 'top', 'center', 'bottom');
4496
 
4497
  $name = __('Thumb mouseover', 'wp-photo-album-plus');
4498
  $desc = __('Apply thumbnail mouseover effect.', 'wp-photo-album-plus');
4499
+ $help = (__('Check this box to use mouseover effect on thumbnail images.', 'wp-photo-album-plus'));
4500
  $slug = 'wppa_use_thumb_opacity';
4501
  $onchange = 'wppaCheckUseThumbOpacity()';
4502
  $html = wppa_checkbox($slug, $onchange);
4506
 
4507
  $name = __('Thumb opacity', 'wp-photo-album-plus');
4508
  $desc = __('Initial opacity value.', 'wp-photo-album-plus');
4509
+ $help = (__('Enter percentage of opacity. 100% is opaque, 0% is transparant', 'wp-photo-album-plus'));
4510
  $slug = 'wppa_thumb_opacity';
4511
  $html = '<span class="thumb_opacity_html">'.wppa_input($slug, '50px', '', __('%', 'wp-photo-album-plus')).'</span>';
4512
  $clas = 'tt_normal tt_masonry';
4515
 
4516
  $name = __('Thumb popup', 'wp-photo-album-plus');
4517
  $desc = __('Use popup effect on thumbnail images.', 'wp-photo-album-plus');
4518
+ $help = (__('Thumbnails pop-up to a larger image when hovered.', 'wp-photo-album-plus'));
4519
  $slug = 'wppa_use_thumb_popup';
4520
  $onchange = 'wppaCheckPopup()';
4521
  $html = wppa_checkbox($slug, $onchange) . wppa_htmlerr('popup-lightbox');
4551
  {
4552
  $name = __('Album order', 'wp-photo-album-plus');
4553
  $desc = __('Album ordering sequence method.', 'wp-photo-album-plus');
4554
+ $help = (__('Specify the way the albums should be ordered.', 'wp-photo-album-plus'));
4555
  $slug = 'wppa_list_albums_by';
4556
  $options = array( __('--- none ---', 'wp-photo-album-plus'),
4557
  __('Order #', 'wp-photo-album-plus'),
4578
 
4579
  $name = __('Default coverphoto selection', 'wp-photo-album-plus');
4580
  $desc = __('Default select cover photo method.', 'wp-photo-album-plus');
4581
+ $help = (__('This is the initial value on album creation only. It can be overruled on the edit album page.', 'wp-photo-album-plus'));
4582
  $opts = array(__('Random from album', 'wp-photo-album-plus'), __('Random featured from album', 'wp-photo-album-plus'), __('Most recently added to album', 'wp-photo-album-plus'), __('Random from album or any sub album', 'wp-photo-album-plus') );
4583
  $vals = array('0', '-1', '-2', '-3');
4584
  $slug = 'wppa_main_photo';
4589
 
4590
  $name = __('Placement', 'wp-photo-album-plus');
4591
  $desc = __('Cover image position.', 'wp-photo-album-plus');
4592
+ $help = (__('Enter the position that you want to be used for the default album cover selected in Table IV-D6.', 'wp-photo-album-plus'));
4593
+ $help .= '<br />'.(__('For covertype Image Factory: left will be treated as top and right will be treted as bottom.', 'wp-photo-album-plus'));
4594
+ $help .= '<br />'.(__('For covertype Long Descriptions: top will be treated as left and bottom will be treted as right.', 'wp-photo-album-plus'));
4595
  $slug = 'wppa_coverphoto_pos';
4596
  $options = array(__('Left', 'wp-photo-album-plus'), __('Right', 'wp-photo-album-plus'), __('Top', 'wp-photo-album-plus'), __('Bottom', 'wp-photo-album-plus'));
4597
  $values = array('left', 'right', 'top', 'bottom');
4603
 
4604
  $name = __('Cover mouseover', 'wp-photo-album-plus');
4605
  $desc = __('Apply coverphoto mouseover effect.', 'wp-photo-album-plus');
4606
+ $help = (__('Check this box to use mouseover effect on cover images.', 'wp-photo-album-plus'));
4607
  $slug = 'wppa_use_cover_opacity';
4608
  $onchange = 'wppaCheckUseCoverOpacity()';
4609
  $html = wppa_checkbox($slug, $onchange);
4613
 
4614
  $name = __('Cover opacity', 'wp-photo-album-plus');
4615
  $desc = __('Initial opacity value.', 'wp-photo-album-plus');
4616
+ $help = (__('Enter percentage of opacity. 100% is opaque, 0% is transparant', 'wp-photo-album-plus'));
4617
  $slug = 'wppa_cover_opacity';
4618
  $html = '<span class="cover_opacity_html">'.wppa_input($slug, '50px', '', __('%', 'wp-photo-album-plus')).'</span>';
4619
  $clas = '';
4622
 
4623
  $name = __('Cover type', 'wp-photo-album-plus');
4624
  $desc = __('Select the default cover type.', 'wp-photo-album-plus');
4625
+ $help = (__('Types with the addition mcr are suitable for Multi Column in a Responsive theme', 'wp-photo-album-plus'));
4626
  $slug = 'wppa_cover_type';
4627
  $options = array( __('Standard', 'wp-photo-album-plus'),
4628
  __('Long Descriptions', 'wp-photo-album-plus'),
4655
 
4656
  $name = __('Cats include subs', 'wp-photo-album-plus');
4657
  $desc = __('Child albums are included in Category based shortcodes.', 'wp-photo-album-plus');
4658
+ $help = (__('When you use album="#cat,...", in a shortcode, the child albums will be included.', 'wp-photo-album-plus'));
4659
  $slug = 'wppa_cats_inherit';
4660
  $html = wppa_checkbox($slug);
4661
  $clas = '';
4681
  {
4682
  $name = __('Rating login', 'wp-photo-album-plus');
4683
  $desc = __('Users must login to rate photos.', 'wp-photo-album-plus');
4684
+ $help = (__('If users want to vote for a photo (rating 1..5 stars) the must login first. The avarage rating will always be displayed as long as the rating system is enabled.', 'wp-photo-album-plus'));
4685
  $slug = 'wppa_rating_login';
4686
  $html = wppa_checkbox($slug);
4687
  $clas = 'wppa_rating_';
4690
 
4691
  $name = __('Rating change', 'wp-photo-album-plus');
4692
  $desc = __('Users may change their ratings.', 'wp-photo-album-plus');
4693
+ $help = (__('Users may change their ratings.', 'wp-photo-album-plus'));
4694
+ $help .= '<br />'.(__('If "One button vote" is selected in Table I-E1, this setting has no meaning', 'wp-photo-album-plus'));
4695
  $slug = 'wppa_rating_change';
4696
  $html = wppa_checkbox($slug);
4697
  $clas = 'wppa_rating_';
4701
  if ( wppa_opt( 'rating_display_type' ) != 'likes' ) {
4702
  $name = __('Rating multi', 'wp-photo-album-plus');
4703
  $desc = __('Users may give multiple votes.', 'wp-photo-album-plus');
4704
+ $help = (__('Users may give multiple votes. (This has no effect when users may change their votes.)', 'wp-photo-album-plus'));
4705
  $slug = 'wppa_rating_multi';
4706
  $html = wppa_checkbox($slug);
4707
  $clas = 'wppa_rating_';
4744
 
4745
  $name = __('Next after vote', 'wp-photo-album-plus');
4746
  $desc = __('Goto next slide after voting', 'wp-photo-album-plus');
4747
+ $help = (__('If checked, the visitor goes straight to the slide following the slide he voted. This will speed up mass voting.', 'wp-photo-album-plus'));
4748
  $slug = 'wppa_next_on_callback';
4749
  $html = wppa_checkbox($slug);
4750
  $clas = 'wppa_rating_';
4753
 
4754
  $name = __('Star off opacity', 'wp-photo-album-plus');
4755
  $desc = __('Rating star off state opacity value.', 'wp-photo-album-plus');
4756
+ $help = (__('Enter percentage of opacity. 100% is opaque, 0% is transparant', 'wp-photo-album-plus'));
4757
+ $help .= '<br />'.(__('If "One button vote" is selected in Table I-E1, this setting has no meaning', 'wp-photo-album-plus'));
4758
  $slug = 'wppa_star_opacity';
4759
  $html = wppa_input($slug, '50px', '', __('%', 'wp-photo-album-plus'));
4760
  $clas = 'wppa_rating_';
4763
 
4764
  $name = __('Notify inappropriate', 'wp-photo-album-plus');
4765
  $desc = __('Notify admin every x times.', 'wp-photo-album-plus');
4766
+ $help = (__('If this number is positive, there will be a thumb down icon in the rating bar.', 'wp-photo-album-plus'));
4767
+ $help .= '<br />'.(__('Clicking the thumbdown icon indicates a user dislikes a photo.', 'wp-photo-album-plus'));
4768
+ $help .= '<br />'.(__('Admin will be notified by email after every x dislikes.', 'wp-photo-album-plus'));
4769
+ $help .= '<br />'.(__('A value of 0 disables this feature.', 'wp-photo-album-plus'));
4770
+ $help .= '<br />'.(__('If "One button vote" is selected in Table I-E1, this setting has no meaning', 'wp-photo-album-plus'));
4771
  $slug = 'wppa_dislike_mail_every';
4772
  $html = wppa_input($slug, '40px', '', __('reports', 'wp-photo-album-plus'));
4773
  $clas = 'wppa_rating_';
4776
 
4777
  $name = __('Dislike value', 'wp-photo-album-plus');
4778
  $desc = __('This value counts dislike rating.', 'wp-photo-album-plus');
4779
+ $help = (__('This value will be used for a dislike rating on calculation of avarage ratings.', 'wp-photo-album-plus'));
4780
+ $help .= '<br />'.(__('If "One button vote" is selected in Table I-E1, this setting has no meaning', 'wp-photo-album-plus'));
4781
  $slug = 'wppa_dislike_value';
4782
  $html = wppa_input($slug, '50px', '', __('points', 'wp-photo-album-plus'));
4783
  $clas = 'wppa_rating_';
4786
 
4787
  $name = __('Pending after', 'wp-photo-album-plus');
4788
  $desc = __('Set status to pending after xx dislike votes.', 'wp-photo-album-plus');
4789
+ $help = (__('A value of 0 disables this feature.', 'wp-photo-album-plus'));
4790
+ $help .= '<br />'.(__('If "One button vote" is selected in Table I-E1, this setting has no meaning', 'wp-photo-album-plus'));
4791
  $slug = 'wppa_dislike_set_pending';
4792
  $html = wppa_input($slug, '40px', '', __('reports', 'wp-photo-album-plus'));
4793
  $clas = 'wppa_rating_';
4796
 
4797
  $name = __('Delete after', 'wp-photo-album-plus');
4798
  $desc = __('Delete photo after xx dislike votes.', 'wp-photo-album-plus');
4799
+ $help = (__('A value of 0 disables this feature.', 'wp-photo-album-plus'));
4800
+ $help .= '<br />'.(__('If "One button vote" is selected in Table I-E1, this setting has no meaning', 'wp-photo-album-plus'));
4801
  $slug = 'wppa_dislike_delete';
4802
  $html = wppa_input($slug, '40px', '', __('reports', 'wp-photo-album-plus'));
4803
  $clas = 'wppa_rating_';
4806
 
4807
  $name = __('Show dislike count', 'wp-photo-album-plus');
4808
  $desc = __('Show the number of dislikes in the rating bar.', 'wp-photo-album-plus');
4809
+ $help = (__('Displayes the total number of dislike votes for the current photo.', 'wp-photo-album-plus'));
4810
+ $help .= '<br />'.(__('If "One button vote" is selected in Table I-E1, this setting has no meaning', 'wp-photo-album-plus'));
4811
  $slug = 'wppa_dislike_show_count';
4812
  $html = wppa_checkbox($slug, $onchange);
4813
  $clas = 'wppa_rating_';
4816
 
4817
  $name = __('Rating display type', 'wp-photo-album-plus');
4818
  $desc = __('Specify the type of the rating display.', 'wp-photo-album-plus');
4819
+ $help = (__('If you select "Likes" you must also select "One button vote" in Table I-E1', 'wp-photo-album-plus'));
4820
  $slug = 'wppa_rating_display_type';
4821
  $opts = array(__('Graphic', 'wp-photo-album-plus'), __('Numeric', 'wp-photo-album-plus'), __('Likes', 'wp-photo-album-plus'));
4822
  $vals = array('graphic', 'numeric', 'likes');
4828
 
4829
  $name = __('Show average rating', 'wp-photo-album-plus');
4830
  $desc = __('Display the avarage rating and/or vote count on the rating bar', 'wp-photo-album-plus');
4831
+ $help = (__('If checked, the average rating as well as the current users rating is displayed in max 5 or 10 stars.', 'wp-photo-album-plus'));
4832
+ $help .= '<br />'.(__('If unchecked, only the current users rating is displayed (if any).', 'wp-photo-album-plus'));
4833
+ $help .= '<br />'.(__('If "One button vote" is selected in Table I-E1, this box checked will display the vote count.', 'wp-photo-album-plus'));
4834
  $slug = 'wppa_show_avg_rating';
4835
  $html = wppa_checkbox($slug);
4836
  $clas = 'wppa_rating_';
4866
 
4867
  $name = __('Single vote button thumbnail', 'wp-photo-album-plus');
4868
  $desc = __('Display single vote button below thumbnails.', 'wp-photo-album-plus');
4869
+ $help = (__('This works only in single vote mode: Table I-E1 set to "one button vote"', 'wp-photo-album-plus'));
4870
  $slug = 'wppa_vote_thumb';
4871
  $html = wppa_checkbox($slug);
4872
  $clas = 'wppa_rating_';
4875
 
4876
  $name = __('Medal bronze when', 'wp-photo-album-plus');
4877
  $desc = __('Photo gets medal bronze when number of top-scores ( 5 or 10 ).', 'wp-photo-album-plus');
4878
+ $help = (__('When the photo has this number of topscores ( 5 or 10 stars ), it will get a medal. A value of 0 indicates that you do not want this feature.', 'wp-photo-album-plus'));
4879
  $slug = 'wppa_medal_bronze_when';
4880
  $html = wppa_input($slug, '50px', '', __('Topscores', 'wp-photo-album-plus'));
4881
  $clas = 'wppa_rating_';
4884
 
4885
  $name = __('Medal silver when', 'wp-photo-album-plus');
4886
  $desc = __('Photo gets medal silver when number of top-scores ( 5 or 10 ).', 'wp-photo-album-plus');
4887
+ $help = (__('When the photo has this number of topscores ( 5 or 10 stars ), it will get a medal. A value of 0 indicates that you do not want this feature.', 'wp-photo-album-plus'));
4888
  $slug = 'wppa_medal_silver_when';
4889
  $html = wppa_input($slug, '50px', '', __('Topscores', 'wp-photo-album-plus'));
4890
  $clas = 'wppa_rating_';
4893
 
4894
  $name = __('Medal gold when', 'wp-photo-album-plus');
4895
  $desc = __('Photo gets medal gold when number of top-scores ( 5 or 10 ).', 'wp-photo-album-plus');
4896
+ $help = (__('When the photo has this number of topscores ( 5 or 10 stars ), it will get a medal. A value of 0 indicates that you do not want this feature.', 'wp-photo-album-plus'));
4897
  $slug = 'wppa_medal_gold_when';
4898
  $html = wppa_input($slug, '50px', '', __('Topscores', 'wp-photo-album-plus'));
4899
  $clas = 'wppa_rating_';
4937
  {
4938
  $name = __('Commenting login', 'wp-photo-album-plus');
4939
  $desc = __('Users must be logged in to comment on photos.', 'wp-photo-album-plus');
4940
+ $help = (__('Check this box if you want users to be logged in to be able to enter comments on individual photos.', 'wp-photo-album-plus'));
4941
  $slug = 'wppa_comment_login';
4942
  $html = wppa_checkbox($slug);
4943
  $clas = 'wppa_comment_';
4946
 
4947
  $name = __('Comments view login', 'wp-photo-album-plus');
4948
  $desc = __('Users must be logged in to see comments on photos.', 'wp-photo-album-plus');
4949
+ $help = (__('Check this box if you want users to be logged in to be able to see existing comments on individual photos.', 'wp-photo-album-plus'));
4950
  $slug = 'wppa_comment_view_login';
4951
  $html = wppa_checkbox($slug);
4952
  $clas = 'wppa_comment_';
4955
 
4956
  $name = __('Last comment first', 'wp-photo-album-plus');
4957
  $desc = __('Display the newest comment on top.', 'wp-photo-album-plus');
4958
+ $help = (__('If checked: Display the newest comment on top.', 'wp-photo-album-plus'));
4959
+ $help .= '<br />'.(__('If unchecked, the comments are listed in the ordere they were entered.', 'wp-photo-album-plus'));
4960
  $slug = 'wppa_comments_desc';
4961
  $html = wppa_checkbox($slug);
4962
  $clas = 'wppa_comment_';
4965
 
4966
  $name = __('Comment moderation', 'wp-photo-album-plus');
4967
  $desc = __('Comments from what users need approval.', 'wp-photo-album-plus');
4968
+ $help = (__('Select the desired users of which the comments need approval.', 'wp-photo-album-plus'));
4969
  $slug = 'wppa_moderate_comment';
4970
  $options = array( __('All users', 'wp-photo-album-plus'),
4971
  __('Logged out users', 'wp-photo-album-plus'),
5109
 
5110
  $name = __('WPPA+ Lightbox global is a set', 'wp-photo-album-plus');
5111
  $desc = __('Treat the other images as a set.', 'wp-photo-album-plus');
5112
+ $help = (__('If checked, you can scroll through the images in the lightbox view. Requires item 5 to be checked.', 'wp-photo-album-plus'));
5113
  $slug = 'wppa_lightbox_global_set';
5114
  $html = wppa_checkbox($slug);
5115
  $clas = '';
5118
 
5119
  $name = __('Use hires files', 'wp-photo-album-plus');
5120
  $desc = __('Use the highest resolution available for lightbox.', 'wp-photo-album-plus');
5121
+ $help = (__('Ticking this box is recommended for lightbox fullscreen modes.', 'wp-photo-album-plus'));
5122
  $slug = 'wppa_lb_hres';
5123
  $html = wppa_checkbox($slug);
5124
  $clas = '';
5318
 
5319
  $name = __('Album titles', 'wp-photo-album-plus');
5320
  $desc = __('Font used for Album titles.', 'wp-photo-album-plus');
5321
+ $help = (__('Enter font name, size, color and weight for album cover titles.', 'wp-photo-album-plus'));
5322
  $slug1 = 'wppa_fontfamily_title';
5323
  $slug2 = 'wppa_fontsize_title';
5324
  $slug3 = 'wppa_fontcolor_title';
5335
 
5336
  $name = __('Slideshow desc', 'wp-photo-album-plus');
5337
  $desc = __('Font for slideshow photo descriptions.', 'wp-photo-album-plus');
5338
+ $help = (__('Enter font name, size, color and weight for slideshow photo descriptions.', 'wp-photo-album-plus'));
5339
  $slug1 = 'wppa_fontfamily_fulldesc';
5340
  $slug2 = 'wppa_fontsize_fulldesc';
5341
  $slug3 = 'wppa_fontcolor_fulldesc';
5352
 
5353
  $name = __('Slideshow name', 'wp-photo-album-plus');
5354
  $desc = __('Font for slideshow photo names.', 'wp-photo-album-plus');
5355
+ $help = (__('Enter font name, size, color and weight for slideshow photo names.', 'wp-photo-album-plus'));
5356
  $slug1 = 'wppa_fontfamily_fulltitle';
5357
  $slug2 = 'wppa_fontsize_fulltitle';
5358
  $slug3 = 'wppa_fontcolor_fulltitle';
5369
 
5370
  $name = __('Navigations', 'wp-photo-album-plus');
5371
  $desc = __('Font for navigations.', 'wp-photo-album-plus');
5372
+ $help = (__('Enter font name, size, color and weight for navigation items.', 'wp-photo-album-plus'));
5373
  $slug1 = 'wppa_fontfamily_nav';
5374
  $slug2 = 'wppa_fontsize_nav';
5375
  $slug3 = 'wppa_fontcolor_nav';
5386
 
5387
  $name = __('Thumbnails', 'wp-photo-album-plus');
5388
  $desc = __('Font for text under thumbnails.', 'wp-photo-album-plus');
5389
+ $help = (__('Enter font name, size, color and weight for text under thumbnail images.', 'wp-photo-album-plus'));
5390
  $slug1 = 'wppa_fontfamily_thumb';
5391
  $slug2 = 'wppa_fontsize_thumb';
5392
  $slug3 = 'wppa_fontcolor_thumb';
5403
 
5404
  $name = __('Other', 'wp-photo-album-plus');
5405
  $desc = __('General font in wppa boxes.', 'wp-photo-album-plus');
5406
+ $help = (__('Enter font name, size, color and weight for all other items.', 'wp-photo-album-plus'));
5407
  $slug1 = 'wppa_fontfamily_box';
5408
  $slug2 = 'wppa_fontsize_box';
5409
  $slug3 = 'wppa_fontcolor_box';
5420
 
5421
  $name = __('Numbar', 'wp-photo-album-plus');
5422
  $desc = __('Font in wppa number bars.', 'wp-photo-album-plus');
5423
+ $help = (__('Enter font name, size, color and weight for numberbar navigation.', 'wp-photo-album-plus'));
5424
  $slug1 = 'wppa_fontfamily_numbar';
5425
  $slug2 = 'wppa_fontsize_numbar';
5426
  $slug3 = 'wppa_fontcolor_numbar';
5437
 
5438
  $name = __('Numbar Active', 'wp-photo-album-plus');
5439
  $desc = __('Font in wppa number bars, active item.', 'wp-photo-album-plus');
5440
+ $help = (__('Enter font name, size, color and weight for numberbar navigation.', 'wp-photo-album-plus'));
5441
  $slug1 = 'wppa_fontfamily_numbar_active';
5442
  $slug2 = 'wppa_fontsize_numbar_active';
5443
  $slug3 = 'wppa_fontcolor_numbar_active';
5454
 
5455
  $name = __('Lightbox', 'wp-photo-album-plus');
5456
  $desc = __('Font in wppa lightbox overlays.', 'wp-photo-album-plus');
5457
+ $help = (__('Enter font name, size, color and weight for wppa lightbox overlays.', 'wp-photo-album-plus'));
5458
  $slug1 = 'wppa_fontfamily_lightbox';
5459
  $slug2 = 'wppa_fontsize_lightbox';
5460
  $slug3 = 'wppa_fontcolor_lightbox';
5533
  {
5534
  $name = __('PotdWidget', 'wp-photo-album-plus');
5535
  $desc = __('Photo Of The Day widget link.', 'wp-photo-album-plus');
5536
+ $help = (__('Select the type of link the photo of the day points to.', 'wp-photo-album-plus'));
5537
+ $help .= '<br />'.(__('If you select \'defined on widget admin page\' you can manually enter a link and title on the Photo of the day Widget Admin page.', 'wp-photo-album-plus'));
5538
  $slug1 = 'wppa_potd_linktype';
5539
  $slug2 = 'wppa_potd_linkpage';
5540
  wppa_verify_page($slug2);
5577
  {
5578
  $name = __('SlideWidget', 'wp-photo-album-plus');
5579
  $desc = __('Slideshow widget photo link.', 'wp-photo-album-plus');
5580
+ $help = (__('Select the type of link the slideshow photos point to.', 'wp-photo-album-plus'));
5581
  $slug1 = 'wppa_slideonly_widget_linktype';
5582
  $slug2 = 'wppa_slideonly_widget_linkpage';
5583
  wppa_verify_page($slug2);
5620
  {
5621
  $name = __('Album widget', 'wp-photo-album-plus');
5622
  $desc = __('Album widget thumbnail link', 'wp-photo-album-plus');
5623
+ $help = (__('Select the type of link the album widget photos point to.', 'wp-photo-album-plus'));
5624
  $slug1 = 'wppa_album_widget_linktype';
5625
  $slug2 = 'wppa_album_widget_linkpage';
5626
  wppa_verify_page($slug2);
5655
  {
5656
  $name = __('ThumbnailWidget', 'wp-photo-album-plus');
5657
  $desc = __('Thumbnail widget photo link.', 'wp-photo-album-plus');
5658
+ $help = (__('Select the type of link the thumbnail photos point to.', 'wp-photo-album-plus'));
5659
  $slug1 = 'wppa_thumbnail_widget_linktype';
5660
  $slug2 = 'wppa_thumbnail_widget_linkpage';
5661
  wppa_verify_page($slug2);
5698
  {
5699
  $name = __('TopTenWidget', 'wp-photo-album-plus');
5700
  $desc = __('TopTen widget photo link.', 'wp-photo-album-plus');
5701
+ $help = (__('Select the type of link the top ten photos point to.', 'wp-photo-album-plus'));
5702
  $slug1 = 'wppa_topten_widget_linktype';
5703
  $slug2 = 'wppa_topten_widget_linkpage';
5704
  wppa_verify_page($slug2);
5748
  {
5749
  $name = __('LasTenWidget', 'wp-photo-album-plus');
5750
  $desc = __('Last Ten widget photo link.', 'wp-photo-album-plus');
5751
+ $help = (__('Select the type of link the last ten photos point to.', 'wp-photo-album-plus'));
5752
  $slug1 = 'wppa_lasten_widget_linktype';
5753
  $slug2 = 'wppa_lasten_widget_linkpage';
5754
  wppa_verify_page($slug2);
5797
  {
5798
  $name = __('CommentWidget', 'wp-photo-album-plus');
5799
  $desc = __('Comment widget photo link.', 'wp-photo-album-plus');
5800
+ $help = (__('Select the type of link the comment widget photos point to.', 'wp-photo-album-plus'));
5801
  $slug1 = 'wppa_comment_widget_linktype';
5802
  $slug2 = 'wppa_comment_widget_linkpage';
5803
  wppa_verify_page($slug2);
5846
  {
5847
  $name = __('FeaTenWidget', 'wp-photo-album-plus');
5848
  $desc = __('FeaTen widget photo link.', 'wp-photo-album-plus');
5849
+ $help = (__('Select the type of link the featured ten photos point to.', 'wp-photo-album-plus'));
5850
  $slug1 = 'wppa_featen_widget_linktype';
5851
  $slug2 = 'wppa_featen_widget_linkpage';
5852
  wppa_verify_page($slug2);
5896
  {
5897
  $name = __('Cover Image', 'wp-photo-album-plus');
5898
  $desc = __('The link from the cover image of an album.', 'wp-photo-album-plus');
5899
+ $help = (__('Select the type of link the coverphoto points to.', 'wp-photo-album-plus'));
5900
+ $help .= '<br />'.(__('The link from the album title can be configured on the Edit Album page.', 'wp-photo-album-plus'));
5901
+ $help .= '<br />'.(__('This link will be used for the photo also if you select: same as title.', 'wp-photo-album-plus'));
5902
+ $help .= '<br />'.(__('If you specify New Tab on this line, all links from the cover will open a new tab,', 'wp-photo-album-plus'));
5903
+ $help .= '<br />'.(__('except when Ajax is activated on Table IV-A1.', 'wp-photo-album-plus'));
5904
  $slug1 = 'wppa_coverimg_linktype';
5905
  $slug2 = 'wppa_coverimg_linkpage';
5906
  wppa_verify_page($slug2);
5936
  {
5937
  $name = __('Thumbnail', 'wp-photo-album-plus');
5938
  $desc = __('Thumbnail link.', 'wp-photo-album-plus');
5939
+ $help = (__('Select the type of link you want, or no link at all.', 'wp-photo-album-plus'));
5940
+ $help .= '<br />'.(__('If you select the fullsize photo on its own, it will be stretched to fit, regardless of that setting.', 'wp-photo-album-plus')); /* oneofone is treated as portrait only */
5941
+ $help .= '<br />'.(__('Note that a page must have at least [wppa][/wppa] in its content to show up the photo(s).', 'wp-photo-album-plus'));
5942
  $slug1 = 'wppa_thumb_linktype';
5943
  $slug2 = 'wppa_thumb_linkpage';
5944
  wppa_verify_page($slug2);
5988
  {
5989
  $name = __('Sphoto', 'wp-photo-album-plus');
5990
  $desc = __('Single photo link.', 'wp-photo-album-plus');
5991
+ $help = (__('Select the type of link you want, or no link at all.', 'wp-photo-album-plus'));
5992
+ $help .= '<br />'.(__('If you select the fullsize photo on its own, it will be stretched to fit, regardless of that setting.', 'wp-photo-album-plus')); /* oneofone is treated as portrait only */
5993
+ $help .= '<br />'.(__('Note that a page must have at least [wppa][/wppa] in its content to show up the photo(s).', 'wp-photo-album-plus'));
5994
  $slug1 = 'wppa_sphoto_linktype';
5995
  $slug2 = 'wppa_sphoto_linkpage';
5996
  wppa_verify_page($slug2);
6030
  {
6031
  $name = __('Mphoto', 'wp-photo-album-plus');
6032
  $desc = __('Media-like (like WP photo with caption) photo link.', 'wp-photo-album-plus');
6033
+ $help = (__('Select the type of link you want, or no link at all.', 'wp-photo-album-plus'));
6034
+ $help .= '<br />'.(__('If you select the fullsize photo on its own, it will be stretched to fit, regardless of that setting.', 'wp-photo-album-plus')); /* oneofone is treated as portrait only */
6035
+ $help .= '<br />'.(__('Note that a page must have at least [wppa][/wppa] in its content to show up the photo(s).', 'wp-photo-album-plus'));
6036
  $slug1 = 'wppa_mphoto_linktype';
6037
  $slug2 = 'wppa_mphoto_linkpage';
6038
  wppa_verify_page($slug2);
6072
  {
6073
  $name = __('Xphoto', 'wp-photo-album-plus');
6074
  $desc = __('Media-like (like WP photo with - extended - caption) photo link.', 'wp-photo-album-plus');
6075
+ $help = (__('Select the type of link you want, or no link at all, to act on a photo in the style of a wp photo with - an extended - caption.', 'wp-photo-album-plus'));
6076
+ $help .= '<br />'.(__('If you select the fullsize photo on its own, it will be stretched to fit, regardless of that setting.', 'wp-photo-album-plus')); /* oneofone is treated as portrait only */
6077
+ $help .= '<br />'.(__('Note that a page must have at least [wppa][/wppa] in its content to show up the photo(s).', 'wp-photo-album-plus'));
6078
  $slug1 = 'wppa_xphoto_linktype';
6079
  $slug2 = 'wppa_xphoto_linkpage';
6080
  wppa_verify_page($slug2);
6114
  {
6115
  $name = __('Slideshow', 'wp-photo-album-plus');
6116
  $desc = __('Slideshow fullsize link', 'wp-photo-album-plus');
6117
+ $help = (__('You can overrule lightbox but not big browse buttons with the photo specifc link.', 'wp-photo-album-plus'));
6118
+ $help .= '\n\n* '.(__('fullsize slideshow can only be set by the WPPA_SET shortcode.', 'wp-photo-album-plus'));
6119
  $slug1 = 'wppa_slideshow_linktype';
6120
  $slug2 = 'wppa_slideshow_linkpage';
6121
  wppa_verify_page($slug2);
6158
  {
6159
  $name = __('Film linktype', 'wp-photo-album-plus');
6160
  $desc = __('Direct access goto image in:', 'wp-photo-album-plus');
6161
+ $help = (__('Select the action to be taken when the user clicks on a filmstrip image.', 'wp-photo-album-plus'));
6162
  $slug1 = 'wppa_film_linktype';
6163
  $slug3 = 'wppa_film_blank';
6164
  $slug4 = 'wppa_film_overrule';
6183
  {
6184
  $name = __('Download Link (aka Art Monkey link)', 'wp-photo-album-plus');
6185
  $desc = __('Makes the photo name a download button.', 'wp-photo-album-plus');
6186
+ $help = (__('Link Photo name in slideshow to file or zip with photoname as filename.', 'wp-photo-album-plus'));
6187
  $slug = 'wppa_art_monkey_link';
6188
  $opts = array(
6189
  __('--- none ---', 'wp-photo-album-plus'),
6231
  {
6232
  $name = __('Popup Download Link', 'wp-photo-album-plus');
6233
  $desc = __('Configure the download link on fullsize popups.', 'wp-photo-album-plus');
6234
+ $help = (__('Link fullsize popup download button to either image or zip file.', 'wp-photo-album-plus'));
6235
  $slug = 'wppa_art_monkey_popup_link';
6236
  $opts = array(
6237
  __('image file', 'wp-photo-album-plus'),
6259
  {
6260
  $name = __('Album download link', 'wp-photo-album-plus');
6261
  $desc = __('Place an album download link on the album covers', 'wp-photo-album-plus');
6262
+ $help = (__('Creates a download zipfile containing the photos of the album', 'wp-photo-album-plus'));
6263
  $slug = 'wppa_allow_download_album';
6264
  $html = wppa_checkbox($slug);
6265
  $clas = '';
6279
  {
6280
  $name = __('Tagcloud Link', 'wp-photo-album-plus');
6281
  $desc = __('Configure the link from the tags in the tag cloud.', 'wp-photo-album-plus');
6282
+ $help = (__('Link the tag words to either the thumbnails or the slideshow.', 'wp-photo-album-plus'));
6283
+ $help .= '<br />'.(__('The Occur(rance) indicates the sequence number of the [wppa][/wppa] shortcode on the landing page to be used.', 'wp-photo-album-plus'));
6284
  $slug1 = 'wppa_tagcloud_linktype';
6285
  $slug2 = 'wppa_tagcloud_linkpage';
6286
  wppa_verify_page($slug2);
6313
  {
6314
  $name = __('Multitag Link', 'wp-photo-album-plus');
6315
  $desc = __('Configure the link from the multitag selection.', 'wp-photo-album-plus');
6316
+ $help = (__('Link to either the thumbnails or the slideshow.', 'wp-photo-album-plus'));
6317
+ $help .= '<br />'.(__('The Occur(rance) indicates the sequence number of the [wppa][/wppa] shortcode on the landing page to be used.', 'wp-photo-album-plus'));
6318
  $slug1 = 'wppa_multitag_linktype';
6319
  $slug2 = 'wppa_multitag_linkpage';
6320
  wppa_verify_page($slug2);
6461
  {
6462
  $name = __('SM widget return', 'wp-photo-album-plus');
6463
  $desc = __('Select the return link for social media from widgets', 'wp-photo-album-plus');
6464
+ $help = (__('If you select Landing page, and it wont work, it may be required to set the Occur to the sequence number of the landing shortcode on the page.', 'wp-photo-album-plus'));
6465
+ $help .= '<br />'.(__('Normally it is 1, but you can try 2 etc. Always create a new shared link to test a setting.', 'wp-photo-album-plus'));
6466
+ $help .= '<br />'.(__('The Occur(rance) indicates the sequence number of the [wppa][/wppa] shortcode on the landing page to be used.', 'wp-photo-album-plus'));
6467
  $slug1 = 'wppa_widget_sm_linktype';
6468
  $slug2 = 'wppa_widget_sm_linkpage';
6469
  wppa_verify_page($slug2);
6597
  __('Enables the Documentation screen', 'wp-photo-album-plus'),
6598
  );
6599
  echo '<td>'.__('Role', 'wp-photo-album-plus').'</td>';
6600
+ for ($i = 0; $i < count($wppacaps); $i++) echo '<td style="width:11%;cursor:pointer;" title="'.($titles[$i]).'" >'.$wppanames[$i].'</td>';
6601
  ?>
6602
  </tr>
6603
  </thead>
6636
 
6637
  $name = __('User create Albums', 'wp-photo-album-plus');
6638
  $desc = __('Enable frontend album creation.', 'wp-photo-album-plus');
6639
+ $help = (__('If you check this item, frontend album creation will be enabled.', 'wp-photo-album-plus'));
6640
  $slug = 'wppa_user_create_on';
6641
  $onchange = '';
6642
  $html1 = wppa_checkbox($slug, $onchange);
6659
 
6660
  $name = __('User delete Albums', 'wp-photo-album-plus');
6661
  $desc = __('Enable frontend album deletion', 'wp-photo-album-plus');
6662
+ $help = (__('If you check this item, frontend album deletion will be enabled.', 'wp-photo-album-plus'));
6663
  $slug = 'wppa_user_destroy_on';
6664
  $onchange = '';
6665
  $html1 = wppa_checkbox($slug, $onchange);
6694
  $name = __('Fe limts per album', 'wp-photo-album-plus');
6695
  $desc = __('The following limits apply to individual albums', 'wp-photo-album-plus');
6696
  $help = __('If this box is ticked, users can upload the limit on every album they have fe upload rights to', 'wp-photo-album-plus');
6697
+ $help .= '<br />'.__('If this box is unticked, the limits apply to all the users uploads in the system regardless of the album(s)', 'wp-photo-album-plus');
6698
  $slug = 'wppa_role_limit_per_album';
6699
  $html1 = wppa_checkbox($slug);
6700
  $html2 = '';
6723
  $name = sprintf(__('Upload limit %s', 'wp-photo-album-plus'), $t_role);
6724
  if ( $role == 'loggedout' ) $desc = __('Limit upload capacity for logged out users.', 'wp-photo-album-plus');
6725
  else $desc = sprintf(__('Limit upload capacity for the user role %s.', 'wp-photo-album-plus'), $t_role);
6726
+ if ( $role == 'loggedout' ) $help = (__('This setting has only effect when Table VII-B2 is unchecked.', 'wp-photo-album-plus'));
6727
+ else $help = (__('This limitation only applies to frontend uploads when the same userrole does not have the Upload checkbox checked in Table VII-A.', 'wp-photo-album-plus'));
6728
+ $help .= '<br />'.(__('A value of 0 means: no limit.', 'wp-photo-album-plus'));
6729
  $slug1 = 'wppa_'.$role.'_upload_limit_count';
6730
  $html1 = wppa_input($slug1, '50px', '', __('photos', 'wp-photo-album-plus'));
6731
  $slug2 = 'wppa_'.$role.'_upload_limit_time';
6742
  $name = sprintf(__('Album limit %s', 'wp-photo-album-plus'), $t_role);
6743
  if ( $role == 'loggedout' ) $desc = __('Limit number of albums for logged out users.', 'wp-photo-album-plus');
6744
  else $desc = sprintf(__('Limit number of albums for the user role %s.', 'wp-photo-album-plus'), $t_role);
6745
+ $help = (__('This limitation only applies to frontend create albums when the same userrole does not have the Album admin checkbox checked in Table VII-A.', 'wp-photo-album-plus'));
6746
+ $help .= '<br />'.(__('A value of 0 means: no limit.', 'wp-photo-album-plus'));
6747
  $slug1 = 'wppa_'.$role.'_album_limit_count';
6748
  $html1 = wppa_input($slug1, '50px', '', __('albums', 'wp-photo-album-plus'));
6749
  $slug2 = '';
6767
 
6768
  $name = __('Upload moderation', 'wp-photo-album-plus');
6769
  $desc = __('Uploaded photos need moderation.', 'wp-photo-album-plus');
6770
+ $help = (__('If checked, photos uploaded by users who do not have photo album admin access rights need moderation.', 'wp-photo-album-plus'));
6771
+ $help .= (__('Users who have photo album admin access rights can change the photo status to publish or featured.', 'wp-photo-album-plus'));
6772
+ $help .= '<br />'.(__('You can set the album admin access rights in Table VII-A.', 'wp-photo-album-plus'));
6773
  $slug = 'wppa_upload_moderate';
6774
  $html1 = wppa_checkbox($slug);
6775
  $html2 = '';
6780
 
6781
  $name = __('FE Upload private', 'wp-photo-album-plus');
6782
  $desc = __('Front-end uploaded photos status is set to private.', 'wp-photo-album-plus');
6783
+ $help = (__('This setting overrules VI-B7.0.', 'wp-photo-album-plus'));
6784
  $slug = 'wppa_fe_upload_private';
6785
  $html1 = wppa_checkbox($slug);
6786
  $html2 = '';
6791
 
6792
  $name = __('Min size in pixels', 'wp-photo-album-plus');
6793
  $desc = __('Min size for height and width for front-end uploads.', 'wp-photo-album-plus');
6794
+ $help = (__('Enter the minimum size.', 'wp-photo-album-plus'));
6795
  $slug = 'wppa_upload_frontend_minsize';
6796
  $html1 = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
6797
  $html2 = '';
6802
 
6803
  $name = __('Max size in pixels', 'wp-photo-album-plus');
6804
  $desc = __('Max size for height and width for front-end uploads.', 'wp-photo-album-plus');
6805
+ $help = (__('Enter the maximum size. 0 is unlimited', 'wp-photo-album-plus'));
6806
  $slug = 'wppa_upload_frontend_maxsize';
6807
  $html1 = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
6808
  $html2 = '';
6824
 
6825
  $name = __('Fe alert', 'wp-photo-album-plus');
6826
  $desc = __('Show alertbox on front-end.', 'wp-photo-album-plus');
6827
+ $help = (__('Errors are always reported, credit points only when --- none --- is not selected', 'wp-photo-album-plus'));
6828
  $slug = 'wppa_fe_alert';
6829
  $opts = array( __('--- none ---', 'wp-photo-album-plus'),
6830
  __('uploads and create albums', 'wp-photo-album-plus'),
6860
 
6861
  $name = __('Alt thumb is restricted', 'wp-photo-album-plus');
6862
  $desc = __('Using <b>alt thumbsize</b> is a restricted action.', 'wp-photo-album-plus');
6863
+ $help = (__('If checked: alt thumbsize can not be set in album admin by users not having admin rights.', 'wp-photo-album-plus'));
6864
  $slug = 'wppa_alt_is_restricted';
6865
  $html1 = wppa_checkbox($slug);
6866
  $html2 = '';
6871
 
6872
  $name = __('Link is restricted', 'wp-photo-album-plus');
6873
  $desc = __('Using <b>Link to</b> is a restricted action.', 'wp-photo-album-plus');
6874
+ $help = (__('If checked: Link to: can not be set in album admin by users not having admin rights.', 'wp-photo-album-plus'));
6875
  $slug = 'wppa_link_is_restricted';
6876
  $html1 = wppa_checkbox($slug);
6877
  $html2 = '';
6882
 
6883
  $name = __('CoverType is restricted', 'wp-photo-album-plus');
6884
  $desc = __('Changing <b>Cover Type</b> is a restricted action.', 'wp-photo-album-plus');
6885
+ $help = (__('If checked: Cover Type: can not be set in album admin by users not having admin rights.', 'wp-photo-album-plus'));
6886
  $slug = 'wppa_covertype_is_restricted';
6887
  $html1 = wppa_checkbox($slug);
6888
  $html2 = '';
6893
 
6894
  $name = __('Photo order# is restricted', 'wp-photo-album-plus');
6895
  $desc = __('Changing <b>Photo sort order #</b> is a restricted action.', 'wp-photo-album-plus');
6896
+ $help = (__('If checked: Photo sort order #: can not be set in photo admin by users not having admin rights.', 'wp-photo-album-plus'));
6897
  $slug = 'wppa_porder_restricted';
6898
  $html1 = wppa_checkbox($slug);
6899
  $html2 = '';
6904
 
6905
  $name = __('Change source restricted', 'wp-photo-album-plus');
6906
  $desc = __('Changing the import source dir requires admin rights.', 'wp-photo-album-plus');
6907
+ $help = (__('If checked, the imput source for importing photos and albums is restricted to user role administrator.', 'wp-photo-album-plus'));
6908
  $slug = 'wppa_chgsrc_is_restricted';
6909
  $html1 = wppa_checkbox($slug);
6910
  $html2 = '';
6948
 
6949
  $name = __('New tags restricted', 'wp-photo-album-plus');
6950
  $desc = __('Creating new tags requires admin rights', 'wp-photo-album-plus');
6951
+ $help = (__('If ticked, users can ony use existing tags', 'wp-photo-album-plus'));
6952
  $slug = 'wppa_newtags_is_restricted';
6953
  $html1 = wppa_checkbox($slug);
6954
  $html2 = '';
6961
 
6962
  $name = __('Owners only', 'wp-photo-album-plus');
6963
  $desc = __('Limit edit album access to the album owners only.', 'wp-photo-album-plus');
6964
+ $help = (__('If checked, non-admin users can edit their own albums only.', 'wp-photo-album-plus'));
6965
  $slug = 'wppa_owner_only';
6966
  $html1 = wppa_checkbox($slug);
6967
  $html2 = '';
6972
 
6973
  $name = __('Upload Owners only', 'wp-photo-album-plus');
6974
  $desc = __('Limit uploads to the album owners only.', 'wp-photo-album-plus');
6975
+ $help = (__('If checked, users can upload to their own albums and --- public --- only.', 'wp-photo-album-plus'));
6976
  $slug = 'wppa_upload_owner_only';
6977
  $html1 = wppa_checkbox($slug);
6978
  $html2 = '';
6983
 
6984
  $name = __('Frontend Edit', 'wp-photo-album-plus');
6985
  $desc = __('Allow the uploader to edit the photo info', 'wp-photo-album-plus');
6986
+ $help = (__('If selected, any logged in user who meets the criteria has the capability to edit the photo information.', 'wp-photo-album-plus'));
6987
+ $help .= '<br />'.(__('Note: This may be AFTER moderation!!', 'wp-photo-album-plus'));
6988
  $slug = 'wppa_upload_edit';
6989
  $opts = array( __('--- none ---', 'wp-photo-album-plus'), __('Classic', 'wp-photo-album-plus'), __('New style', 'wp-photo-album-plus'));
6990
  $vals = array( '-none-', 'classic', 'new' );
7029
 
7030
  $name = __('Fe Edit Theme CSS', 'wp-photo-album-plus');
7031
  $desc = __('The front-end edit photo dialog uses the theme CSS.', 'wp-photo-album-plus');
7032
+ $help = (__('This setting has effect when Table VII D2.1 is set to \'classic\' only.', 'wp-photo-album-plus'));
7033
  $slug = 'wppa_upload_edit_theme_css';
7034
  $html1 = wppa_checkbox($slug);
7035
  $html2 = '';
7040
 
7041
  $name = __('Fe Edit New Items', 'wp-photo-album-plus');
7042
  $desc = __('The items that are fe editable', 'wp-photo-album-plus');
7043
+ $help = (__('See also Table II-J10!', 'wp-photo-album-plus'));
7044
  $slug1 = 'wppa_fe_edit_name';
7045
  $slug2 = 'wppa_fe_edit_desc';
7046
  $slug3 = 'wppa_fe_edit_tags';
7107
 
7108
  $name = __('Uploader Moderate Comment', 'wp-photo-album-plus');
7109
  $desc = __('The owner of the photo can moderate the photos comments.', 'wp-photo-album-plus');
7110
+ $help = (__('This setting requires "Uploader edit" to be enabled also.', 'wp-photo-album-plus'));
7111
  $slug = 'wppa_owner_moderate_comment';
7112
  $html1 = wppa_checkbox($slug);
7113
  $html2 = '';
7118
 
7119
  $name = __('Upload memory check', 'wp-photo-album-plus');
7120
  $desc = __('Disable uploading photos that are too large.', 'wp-photo-album-plus');
7121
+ $help = (__('To prevent out of memory crashes during upload and possible database inconsistencies, uploads can be prevented if the photos are too big.', 'wp-photo-album-plus'));
7122
  $slug = 'wppa_memcheck';
7123
  $html1 = wppa_checkbox($slug);
7124
  $html2 = '';
7129
 
7130
  $name = __('Upload memory check copy', 'wp-photo-album-plus');
7131
  $desc = __('Copy photos that are too large.', 'wp-photo-album-plus');
7132
+ $help = (__('To prevent out of memory crashes during upload and possible database inconsistencies, photos are not resized but copied if the photos are too big.', 'wp-photo-album-plus'));
7133
  $slug = 'wppa_memcheck_copy';
7134
  $html1 = wppa_checkbox($slug);
7135
  $html2 = '';
7182
 
7183
  $name = __('Avoid duplicates', 'wp-photo-album-plus');
7184
  $desc = __('Prevent the creation of duplicate photos.', 'wp-photo-album-plus');
7185
+ $help = (__('If checked: uploading, importing, copying or moving photos to other albums will be prevented when the desitation album already contains a photo with the same filename.', 'wp-photo-album-plus'));
7186
  $slug = 'wppa_void_dups';
7187
  $html1 = wppa_checkbox($slug);
7188
  $html2 = '';
7193
 
7194
  $name = __('Blacklist user', 'wp-photo-album-plus');
7195
  $desc = __('Set the status of all the users photos to \'pending\'.', 'wp-photo-album-plus');
7196
+ $help = (__('Also inhibits further uploads.', 'wp-photo-album-plus'));
7197
  $slug = 'wppa_blacklist_user';
7198
  $blacklist = get_option( 'wppa_black_listed_users', array() );
7199
 
7256
 
7257
  $name = __('Super user', 'wp-photo-album-plus');
7258
  $desc = __('Give these users all rights in wppa.', 'wp-photo-album-plus');
7259
+ $help = (__('This gives the user all the administrator privileges within wppa.', 'wp-photo-album-plus'));
7260
+ $help .= '<br />'.(__('Make sure the user also has a role that has all the boxes ticked in Table VII-A', 'wp-photo-album-plus'));
7261
  $slug = 'wppa_superuser_user';
7262
  $superlist = get_option( 'wppa_super_users', array() );
7263
 
7352
 
7353
  $name = __('Postpone cron', 'wp-photo-album-plus');
7354
  $desc = __('Temporary do no background processes.', 'wp-photo-album-plus');
7355
+ $help = (__('This setting is meant to be used a.o. during bulk import/upload. Use with care!', 'wp-photo-album-plus'));
7356
  $slug = 'wppa_maint_ignore_cron';
7357
  $html1 = wppa_checkbox( $slug );
7358
  $html2 = '';
7365
 
7366
  $name = __('Setup', 'wp-photo-album-plus');
7367
  $desc = __('Re-initialize plugin.', 'wp-photo-album-plus');
7368
+ $help = (__('Re-initilizes the plugin, (re)creates database tables and sets up default settings and directories if required.', 'wp-photo-album-plus'));
7369
+ $help .= '<br />'.(__('This action may be required to setup blogs in a multiblog (network) site as well as in rare cases to correct initilization errors.', 'wp-photo-album-plus'));
7370
  $slug = 'wppa_setup';
7371
  $html1 = '';
7372
  $html2 = wppa_doit_button('', $slug);
7379
 
7380
  $name = __('Backup settings', 'wp-photo-album-plus');
7381
  $desc = __('Save all settings into a backup file.', 'wp-photo-album-plus');
7382
+ $help = (__('Saves all the settings into a backup file', 'wp-photo-album-plus'));
7383
  $slug = 'wppa_backup';
7384
  $html1 = '';
7385
  $html2 = wppa_doit_button('', $slug);
7392
 
7393
  $name = __('Load settings', 'wp-photo-album-plus');
7394
  $desc = __('Restore all settings from defaults, a backup or skin file.', 'wp-photo-album-plus');
7395
+ $help = (__('Restores all the settings from the factory supplied defaults, the backup you created or from a skin file.', 'wp-photo-album-plus'));
7396
  $slug1 = 'wppa_skinfile';
7397
  $slug2 = 'wppa_load_skin';
7398
  $files = glob(WPPA_PATH.'/theme/*.skin');
7425
 
7426
  $name = __('Regenerate', 'wp-photo-album-plus');
7427
  $desc = __('Regenerate all thumbnails.', 'wp-photo-album-plus');
7428
+ $help = (__('Regenerate all thumbnails.', 'wp-photo-album-plus'));
7429
  $slug1 = 'wppa_regen_thumbs_skip_one';
7430
  $slug2 = 'wppa_regen_thumbs';
7431
  $html1 = wppa_cronjob_button( $slug2 ) . wppa_ajax_button(__('Skip one', 'wp-photo-album-plus'), 'regen_thumbs_skip_one', '0', true );
7439
 
7440
  $name = __('Rerate', 'wp-photo-album-plus');
7441
  $desc = __('Recalculate ratings.', 'wp-photo-album-plus');
7442
+ $help = (__('This function will recalculate all mean photo ratings from the ratings table.', 'wp-photo-album-plus'));
7443
+ $help .= '<br />'.(__('You may need this function after the re-import of previously exported photos', 'wp-photo-album-plus'));
7444
  $slug2 = 'wppa_rerate';
7445
  $html1 = wppa_cronjob_button( $slug2 );
7446
  $html2 = wppa_maintenance_button( $slug2 );
7453
 
7454
  $name = __('Lost and found', 'wp-photo-album-plus');
7455
  $desc = __('Find "lost" photos.', 'wp-photo-album-plus');
7456
+ $help = (__('This function will attempt to find lost photos.', 'wp-photo-album-plus'));
7457
  $slug2 = 'wppa_cleanup';
7458
  $html1 = '';
7459
  $html2 = wppa_maintenance_button( $slug2 );
7466
 
7467
  $name = __('Recuperate', 'wp-photo-album-plus');
7468
  $desc = __('Recuperate IPTC and EXIF data from photos in WPPA+.', 'wp-photo-album-plus');
7469
+ $help = (__('This action will attempt to find and register IPTC and EXIF data from photos in the WPPA+ system.', 'wp-photo-album-plus'));
7470
  $slug2 = 'wppa_recup';
7471
  $html1 = wppa_cronjob_button( $slug2 );
7472
  $html2 = wppa_maintenance_button( $slug2 );
7542
  $name = __('Convert to flat', 'wp-photo-album-plus');
7543
  $desc = __('Convert filesystem to flat structure.', 'wp-photo-album-plus');
7544
  }
7545
+ $help = (__('If you want to go back to a wppa+ version prior to 5.0.16, you MUST convert to flat first.', 'wp-photo-album-plus'));
7546
  $slug2 = 'wppa_file_system';
7547
  $html1 = '';
7548
  $html2 = wppa_maintenance_button( $slug2 );
7555
 
7556
  $name = __('Remake', 'wp-photo-album-plus');
7557
  $desc = __('Remake the photofiles from photo sourcefiles.', 'wp-photo-album-plus');
7558
+ $help = (__('This action will remake the fullsize images, thumbnail images, and will refresh the iptc and exif data for all photos where the source is found in the corresponding album sub-directory of the source directory.', 'wp-photo-album-plus'));
7559
  $slug1 = 'wppa_remake_skip_one';
7560
  $slug2 = 'wppa_remake';
7561
  $html1 = wppa_cronjob_button( $slug2 ) . wppa_ajax_button(__('Skip one', 'wp-photo-album-plus'), 'remake_skip_one', '0', true );
7684
 
7685
  $name = __('Clear ratings', 'wp-photo-album-plus');
7686
  $desc = __('Reset all ratings.', 'wp-photo-album-plus');
7687
+ $help = (__('WARNING: If checked, this will clear all ratings in the system!', 'wp-photo-album-plus'));
7688
  $slug = 'wppa_rating_clear';
7689
  $html1 = '';
7690
  $html2 = wppa_ajax_button('', 'rating_clear');
7697
 
7698
  $name = __('Clear viewcounts', 'wp-photo-album-plus');
7699
  $desc = __('Reset all viewcounts.', 'wp-photo-album-plus');
7700
+ $help = (__('WARNING: If checked, this will clear all viewcounts in the system!', 'wp-photo-album-plus'));
7701
  $slug = 'wppa_viewcount_clear';
7702
  $html1 = '';
7703
  $html2 = wppa_ajax_button('', 'viewcount_clear');
7710
 
7711
  $name = __('Reset IPTC', 'wp-photo-album-plus');
7712
  $desc = __('Clear all IPTC data.', 'wp-photo-album-plus');
7713
+ $help = (__('WARNING: If checked, this will clear all IPTC data in the system!', 'wp-photo-album-plus'));
7714
  $slug = 'wppa_iptc_clear';
7715
  $html1 = '';
7716
  $html2 = wppa_ajax_button('', 'iptc_clear');
7723
 
7724
  $name = __('Reset EXIF', 'wp-photo-album-plus');
7725
  $desc = __('Clear all EXIF data.', 'wp-photo-album-plus');
7726
+ $help = (__('WARNING: If checked, this will clear all EXIF data in the system!', 'wp-photo-album-plus'));
7727
  $slug = 'wppa_exif_clear';
7728
  $html1 = '';
7729
  $html2 = wppa_ajax_button('', 'exif_clear');
7736
 
7737
  $name = __('Apply Default Photoname', 'wp-photo-album-plus');
7738
  $desc = __('Apply Default photo name on all photos in the system.', 'wp-photo-album-plus');
7739
+ $help = __('Puts the content of Table IX-D13 in all photo name.', 'wp-photo-album-plus');
7740
  $slug2 = 'wppa_apply_default_photoname_all';
7741
  $html1 = '';
7742
  $html2 = wppa_maintenance_button( $slug2 );
7749
 
7750
  $name = __('Apply New Photodesc', 'wp-photo-album-plus');
7751
  $desc = __('Apply New photo description on all photos in the system.', 'wp-photo-album-plus');
7752
+ $help = __('Puts the content of Table IX-D5 in all photo descriptions.', 'wp-photo-album-plus');
7753
  $slug2 = 'wppa_apply_new_photodesc_all';
7754
  $html1 = '';
7755
  $html2 = wppa_maintenance_button( $slug2 );
7762
 
7763
  $name = __('Append to photodesc', 'wp-photo-album-plus');
7764
  $desc = __('Append this text to all photo descriptions.', 'wp-photo-album-plus');
7765
+ $help = __('Appends a space character and the given text to the description of all photos.', 'wp-photo-album-plus');
7766
+ $help .= '<br />'.('First edit the text to append, click outside the edit window and wait for the green checkmark to appear. Then click the Start! button.');
7767
  $slug1 = 'wppa_append_text';
7768
  $slug2 = 'wppa_append_to_photodesc';
7769
  $html1 = wppa_input( $slug1, '200px' );
7777
 
7778
  $name = __('Remove from photodesc', 'wp-photo-album-plus');
7779
  $desc = __('Remove this text from all photo descriptions.', 'wp-photo-album-plus');
7780
+ $help = __('Removes all occurrencies of the given text from the description of all photos.', 'wp-photo-album-plus');
7781
+ $help .= '<br />'.('First edit the text to remove, click outside the edit window and wait for the green checkmark to appear. Then click the Start! button.');
7782
  $slug1 = 'wppa_remove_text';
7783
  $slug2 = 'wppa_remove_from_photodesc';
7784
  $html1 = wppa_input( $slug1, '200px' );
7792
 
7793
  $name = __('Remove empty albums', 'wp-photo-album-plus');
7794
  $desc = __('Removes albums that are not used.', 'wp-photo-album-plus');
7795
+ $help = __('Removes all albums that have no photos and no sub albums in it.', 'wp-photo-album-plus');
7796
  $slug2 = 'wppa_remove_empty_albums';
7797
  $html1 = '';
7798
  $html2 = wppa_maintenance_button( $slug2 );
7805
 
7806
  $name = __('Remove file-ext', 'wp-photo-album-plus');
7807
  $desc = __('Remove possible file extension from photo name.', 'wp-photo-album-plus');
7808
+ $help = (__('This may be required for old photos, uploaded when the option in Table IX-D3 was not yet available/selected.', 'wp-photo-album-plus'));
7809
  $slug2 = 'wppa_remove_file_extensions';
7810
  $html1 = '';
7811
  $html2 = wppa_maintenance_button( $slug2 );
7831
 
7832
  $name = __('All to lower', 'wp-photo-album-plus');
7833
  $desc = __('Convert all file-extensions to lowercase.', 'wp-photo-album-plus');
7834
+ $help = (__('Affects display files, thumbnail files, and saved extensions in database table. Leaves sourcefiles untouched', 'wp-photo-album-plus'));
7835
+ $help .= '<br />'.(__('If both upper and lowercase files exist, the file with the uppercase extension will be removed.', 'wp-photo-album-plus'));
7836
  $slug2 = 'wppa_all_ext_to_lower';
7837
  $html1 = '';
7838
  $html2 = wppa_maintenance_button( $slug2 );
7845
 
7846
  $name = __('Watermark all', 'wp-photo-album-plus');
7847
  $desc = __('Apply watermark according to current settings to all photos.', 'wp-photo-album-plus');
7848
+ $help = (__('See Table IX_F for the current watermark settings', 'wp-photo-album-plus'));
7849
  $slug2 = 'wppa_watermark_all';
7850
  $html1 = '';
7851
  $html2 = wppa_maintenance_button( $slug2 );
7858
 
7859
  $name = __('Create all autopages', 'wp-photo-album-plus');
7860
  $desc = __('Create all the pages to display slides individually.', 'wp-photo-album-plus');
7861
+ $help = (__('See also Table IV-A10.', 'wp-photo-album-plus'));
7862
+ $help .= '<br />'.(__('Make sure you have a custom menu and the "Automatically add new top-level pages to this menu" box UNticked!!', 'wp-photo-album-plus'));
7863
  $slug2 = 'wppa_create_all_autopages';
7864
  $html1 = '';
7865
  $html2 = wppa_maintenance_button( $slug2 );
7872
 
7873
  $name = __('Delete all autopages', 'wp-photo-album-plus');
7874
  $desc = __('Delete all the pages to display slides individually.', 'wp-photo-album-plus');
7875
+ $help = (__('See also Table IV-A10.', 'wp-photo-album-plus'));
7876
  $help .= '';
7877
  $slug2 = 'wppa_delete_all_autopages';
7878
  $html1 = '';
7886
 
7887
  $name = __('Leading zeroes', 'wp-photo-album-plus');
7888
  $desc = __('If photoname numeric, add leading zeros', 'wp-photo-album-plus');
7889
+ $help = (__('You can extend the name with leading zeros, so alphabetic sort becomes equal to numeric sort order.', 'wp-photo-album-plus'));
7890
  $slug1 = 'wppa_zero_numbers';
7891
  $slug2 = 'wppa_leading_zeros';
7892
  $html1 = wppa_input( $slug1, '50px' ).__('Total chars', 'wp-photo-album-plus');
7964
 
7965
  $name = __('Synchronize Cloudinary', 'wp-photo-album-plus');
7966
  $desc = __('Removes/adds images in the cloud.', 'wp-photo-album-plus');
7967
+ $help = (__('Removes old images and verifies/adds new images to Cloudinary.', 'wp-photo-album-plus'));
7968
+ $help .= '<br />'.(__('See Table IX-K4.7 for the configured lifetime.', 'wp-photo-album-plus'));
7969
  $slug2 = 'wppa_sync_cloud';
7970
  $html1 = '';
7971
  $html2 = wppa_maintenance_button( $slug2 );
7978
 
7979
  $name = __('Fix tags', 'wp-photo-album-plus');
7980
  $desc = __('Make sure photo tags format is uptodate', 'wp-photo-album-plus');
7981
+ $help = (__('Fixes tags to be conform current database rules.', 'wp-photo-album-plus'));
7982
  $slug2 = 'wppa_sanitize_tags';
7983
  $html1 = '';
7984
  $html2 = wppa_maintenance_button( $slug2 );
7991
 
7992
  $name = __('Fix cats', 'wp-photo-album-plus');
7993
  $desc = __('Make sure album cats format is uptodate', 'wp-photo-album-plus');
7994
+ $help = (__('Fixes cats to be conform current database rules.', 'wp-photo-album-plus'));
7995
  $slug2 = 'wppa_sanitize_cats';
7996
  $html1 = '';
7997
  $html2 = wppa_maintenance_button( $slug2 );
8126
  if ( current_user_can( 'administrator' ) ) {
8127
  $name = __('Custom album proc', 'wp-photo-album-plus');
8128
  $desc = __('The php code to execute on all albums', 'wp-photo-album-plus');
8129
+ $help = (__('Only run this if you know what you are doing!', 'wp-photo-album-plus'));
8130
  $slug2 = 'wppa_custom_album_proc';
8131
  $html1 = wppa_textarea( $slug2 );
8132
  $html2 = wppa_maintenance_button( $slug2 );
8139
 
8140
  $name = __('Custom photo proc', 'wp-photo-album-plus');
8141
  $desc = __('The php code to execute on all photos', 'wp-photo-album-plus');
8142
+ $help = (__('Only run this if you know what you are doing!', 'wp-photo-album-plus'));
8143
  $slug2 = 'wppa_custom_photo_proc';
8144
  $html1 = wppa_textarea( $slug2 );
8145
  $html2 = wppa_maintenance_button( $slug2 );
8270
  {
8271
  $name = __('WPPA+ Filter priority', 'wp-photo-album-plus');
8272
  $desc = __('Sets the priority of the wppa+ content filter.', 'wp-photo-album-plus');
8273
+ $help = (__('If you encounter conflicts with the theme or other plugins, increasing this value sometimes helps. Use with great care!', 'wp-photo-album-plus'));
8274
  $slug = 'wppa_filter_priority';
8275
  $html = wppa_input($slug, '50px');
8276
  $clas = '';
8279
 
8280
  $name = __('Do_shortcode priority', 'wp-photo-album-plus');
8281
  $desc = __('Sets the priority of the do_shortcode() content filter.', 'wp-photo-album-plus');
8282
+ $help = (__('If you encounter conflicts with the theme or other plugins, increasing this value sometimes helps. Use with great care!', 'wp-photo-album-plus'));
8283
  $slug = 'wppa_shortcode_priority';
8284
  $html = wppa_input($slug, '50px');
8285
  $clas = '';
8288
 
8289
  $name = __('WPPA shortcode at Filter priority', 'wp-photo-album-plus');
8290
  $desc = __('Execute shortcode expansion on filter priority in posts and pages.', 'wp-photo-album-plus');
8291
+ $help = (__('Use to fix certain layout problems', 'wp-photo-album-plus'));
8292
  $slug = 'wppa_shortcode_at_priority';
8293
  $html = wppa_checkbox($slug);
8294
  $clas = '';
8297
 
8298
  $name = __('WPPA shortcode at Filter priority widget', 'wp-photo-album-plus');
8299
  $desc = __('Execute shortcode expansion on filter priority in widgets.', 'wp-photo-album-plus');
8300
+ $help = (__('Use to fix certain layout problems', 'wp-photo-album-plus'));
8301
  $slug = 'wppa_shortcode_at_priority_widget';
8302
  $html = wppa_checkbox($slug);
8303
  $clas = '';
8306
 
8307
  $name = __('JPG image quality', 'wp-photo-album-plus');
8308
  $desc = __('The jpg quality when photos are downsized', 'wp-photo-album-plus');
8309
+ $help = (__('The higher the number the better the quality but the larger the file', 'wp-photo-album-plus'));
8310
+ $help .= '<br />'.(__('Possible values 20..100', 'wp-photo-album-plus'));
8311
  $slug = 'wppa_jpeg_quality';
8312
  $html = wppa_input($slug, '50px');
8313
  $clas = '';
8316
 
8317
  $name = __('Allow WPPA+ Debugging', 'wp-photo-album-plus');
8318
  $desc = __('Allow the use of &amp;debug=.. in urls to this site.', 'wp-photo-album-plus');
8319
+ $help = (__('If checked: appending (?)(&)debug or (?)(&)debug=<int> to an url to this site will generate the display of special WPPA+ diagnostics, as well as php warnings', 'wp-photo-album-plus'));
8320
  $slug = 'wppa_allow_debug';
8321
  $html = wppa_checkbox($slug);
8322
  $clas = '';
8325
 
8326
  $name = __('Auto continue', 'wp-photo-album-plus');
8327
  $desc = __('Continue automatic after time out', 'wp-photo-album-plus');
8328
+ $help = (__('If checked, an attempt will be made to restart an admin process when the time is out.', 'wp-photo-album-plus'));
8329
  $slug = 'wppa_auto_continue';
8330
  $html = wppa_checkbox($slug);
8331
  $clas = '';
8334
 
8335
  $name = __('Max execution time', 'wp-photo-album-plus');
8336
  $desc = __('Set max execution time here.', 'wp-photo-album-plus');
8337
+ $help = (__('If your php config does not properly set the max execution time, you can set it here. Seconds, 0 means do not change.', 'wp-photo-album-plus'));
8338
+ $help .= '<br />'.(__('A safe value is 45 in most cases', 'wp-photo-album-plus'));
8339
+ $help .= '<br />'.(sprintf(__('The PHP setting max_execution_time is set to %s.', 'wp-photo-album-plus'), ini_get('max_execution_time')));
8340
  $slug = 'wppa_max_execution_time';
8341
  $html = wppa_input($slug, '50px', '', 'seconds');
8342
  $clas = '';
8354
 
8355
  $name = __('Enable <i>in-line</i> settings', 'wp-photo-album-plus');
8356
  $desc = __('Activates shortcode [wppa_set][/wppa_set].', 'wp-photo-album-plus');
8357
+ $help = (__('Syntax: [wppa_set name="any wppa setting" value="new value"][/wppa_set]', 'wp-photo-album-plus'));
8358
+ $help .= '<br />'.(__('Example: [wppa_set name="wppa_thumbtype" value="masonry-v"][/wppa_set] sets the thumbnail type to vertical masonry style', 'wp-photo-album-plus'));
8359
+ $help .= '<br />'.(__('Do not forget to reset with [wppa_set][/wppa_set]', 'wp-photo-album-plus'));
8360
+ $help .= '<br />'.(__('Use with great care! There is no check on validity of values!', 'wp-photo-album-plus'));
8361
  $slug = 'wppa_enable_shortcode_wppa_set';
8362
  $html = wppa_checkbox($slug);
8363
  $clas = '';
8401
  wppa_setting($slug, '9.3', $name, $desc, $html, $help, $clas, $tags);
8402
 
8403
  $name = __('Log File events', 'wp-photo-album-plus');
8404
+ $desc = __('Keep track of dir/file creations.', 'wp-photo-album-plus');
8405
  $help = '';
8406
  $slug = 'wppa_log_fso';
8407
  $html = wppa_checkbox($slug);
8429
 
8430
  $name = __('Retry failed mails', 'wp-photo-album-plus');
8431
  $desc = __('Select number of retries for failed mails', 'wp-photo-album-plus');
8432
+ $help = (__('Retries occur at the background every hour', 'wp-photo-album-plus'));
8433
  $slug = 'wppa_retry_mails';
8434
  $html = wppa_number($slug, '0', '10');
8435
  $clas = '';
8438
 
8439
  $name = __('Minimum tags', 'wp-photo-album-plus');
8440
  $desc = __('These tags exist even when they do not occur in any photo.', 'wp-photo-album-plus');
8441
+ $help = (__('Enter tags, separated by comma\'s (,)', 'wp-photo-album-plus'));
8442
+ $help .= '<br />'.(__('Tags exist when they appear on any photo, and vanish when they do no longer appear. Except the tags you list here; they exist always.', 'wp-photo-album-plus'));
8443
  $slug = 'wppa_minimum_tags';
8444
  $html = wppa_input($slug, '300px');
8445
  $clas = '';
8479
  {
8480
  $name = __('Allow HTML', 'wp-photo-album-plus');
8481
  $desc = __('Allow HTML in album and photo descriptions.', 'wp-photo-album-plus');
8482
+ $help = (__('If checked: html is allowed. WARNING: No checks on syntax, it is your own responsibility to close tags properly!', 'wp-photo-album-plus'));
8483
  $slug = 'wppa_html';
8484
  $html = wppa_checkbox($slug);
8485
  $clas = '';
8488
 
8489
  $name = __('Allow HTML custom', 'wp-photo-album-plus');
8490
  $desc = __('Allow HTML in custom photo datafields.', 'wp-photo-album-plus');
8491
+ $help = (__('If checked: html is allowed. WARNING: No checks on syntax, it is your own responsibility to close tags properly!', 'wp-photo-album-plus'));
8492
  $slug = 'wppa_allow_html_custom';
8493
  $html = wppa_checkbox($slug);
8494
  $clas = '';
8497
 
8498
  $name = __('Check tag balance', 'wp-photo-album-plus');
8499
  $desc = __('Check if the HTML tags are properly closed: "balanced".', 'wp-photo-album-plus');
8500
+ $help = (__('If the HTML tags in an album or a photo description are not in balance, the description is not updated, an errormessage is displayed', 'wp-photo-album-plus'));
8501
  $slug = 'wppa_check_balance';
8502
  $html = wppa_checkbox($slug);
8503
  $clas = '';
8556
 
8557
  $name = __('Photo admin max albums', 'wp-photo-album-plus');
8558
  $desc = __('Max albums to show in album selectionbox.', 'wp-photo-album-plus');
8559
+ $help = (__('If there are more albums in the system, display an input box asking for album id#', 'wp-photo-album-plus'));
8560
  $slug = 'wppa_photo_admin_max_albums';
8561
  $options = array( __( '--- off ---', 'wp-photo-album-plus'), '10', '20', '50', '100', '200', '500', '1000', '2000', '3000', '4000', '5000' );
8562
  $values = array( '0', '10', '20', '50', '100', '200', '500', '1000', '2000', '3000', '4000', '5000' );
8678
 
8679
  $name = __('Enable shortcode generator', 'wp-photo-album-plus');
8680
  $desc = __('Show album icon above page/post edit window', 'wp-photo-album-plus');
8681
+ $help = (__('Administrators and wppa super users will always have the shortcode generator available.', 'wp-photo-album-plus'));
8682
  $slug = 'wppa_enable_generator';
8683
  $html = wppa_checkbox($slug);
8684
  $clas = '';
8698
  {
8699
  $name = __('Meta on page', 'wp-photo-album-plus');
8700
  $desc = __('Meta tags for photos on the page.', 'wp-photo-album-plus');
8701
+ $help = (__('If checked, the header of the page will contain metatags that refer to featured photos on the page in the page context.', 'wp-photo-album-plus'));
8702
  $slug = 'wppa_meta_page';
8703
  $html = wppa_checkbox($slug);
8704
  $clas = '';
8707
 
8708
  $name = __('Meta all', 'wp-photo-album-plus');
8709
  $desc = __('Meta tags for all featured photos.', 'wp-photo-album-plus');
8710
+ $help = (__('If checked, the header of the page will contain metatags that refer to all featured photo files.', 'wp-photo-album-plus'));
8711
+ $help .= '<br />'.(__('If you have many featured photos, you might wish to uncheck this item to reduce the size of the page header.', 'wp-photo-album-plus'));
8712
  $slug = 'wppa_meta_all';
8713
  $html = wppa_checkbox($slug);
8714
  $clas = '';
8719
  $desc = __('Add og meta tags to the page header.', 'wp-photo-album-plus');
8720
  $help = '';
8721
  $slug = 'wppa_og_tags_on';
8722
+ $warn = (__('Turning this off may affect the functionality of social media items in the share box that rely on open graph tags information.', 'wp-photo-album-plus'));
8723
  $html = wppa_checkbox_warn_off($slug, '', '', $warn, false);
8724
  $clas = '';
8725
  $tags = 'system';
8811
 
8812
  $name = __('Use text labels', 'wp-photo-album-plus');
8813
  $desc = __('Use editable text for the New and Modified labels', 'wp-photo-album-plus');
8814
+ $help = (__('If UNticked, you can specify the urls for custom images to be used.', 'wp-photo-album-plus'));
8815
  $slug = 'wppa_new_mod_label_is_text';
8816
  $onch = 'wppaCheckCheck(\''.$slug.'\',\'nmtxt\');';
8817
  $html = wppa_checkbox($slug,$onch);
8841
 
8842
  $name = __('New label', 'wp-photo-album-plus');
8843
  $desc = __('Specify the "New" indicator details.', 'wp-photo-album-plus');
8844
+ $help = (__('If you use qTranslate, the text may be multilingual.', 'wp-photo-album-plus'));
8845
  $slug1 = 'wppa_new_label_text';
8846
  $slug2 = 'wppa_new_label_color';
8847
  $html1 = '<span style="float:left">'.__('Text', 'wp-photo-album-plus').': </span>'.wppa_input($slug1, '150px');
8852
 
8853
  $name = __('Modified label', 'wp-photo-album-plus');
8854
  $desc = __('Specify the "Modified" indicator details.', 'wp-photo-album-plus');
8855
+ $help = (__('If you use qTranslate, the text may be multilingual.', 'wp-photo-album-plus'));
8856
  $slug1 = 'wppa_mod_label_text';
8857
  $slug2 = 'wppa_mod_label_color';
8858
  $html1 = '<span style="float:left">'.__('Text', 'wp-photo-album-plus').': </span>'.wppa_input($slug1, '150px');
8881
 
8882
  $name = __('Limit LasTen New', 'wp-photo-album-plus');
8883
  $desc = __('Limits the LasTen photos to those that are \'New\', or newly modified.', 'wp-photo-album-plus');
8884
+ $help = (__('If you tick this box and configured the new photo time, you can even limit the number by the setting in Table I-F7, or set that number to an unlikely high value.', 'wp-photo-album-plus'));
8885
  $slug = 'wppa_lasten_limit_new';
8886
  $html = wppa_checkbox($slug);
8887
  $clas = '';
8899
 
8900
  $name = __('Apply Newphoto desc', 'wp-photo-album-plus');
8901
  $desc = __('Give each new photo a standard description.', 'wp-photo-album-plus');
8902
+ $help = (__('If checked, each new photo will get the description (template) as specified in the next item.', 'wp-photo-album-plus'));
8903
  $slug = 'wppa_apply_newphoto_desc';
8904
  $html = wppa_checkbox($slug);
8905
  $clas = '';
8908
 
8909
  $name = __('New photo desc', 'wp-photo-album-plus');
8910
  $desc = __('The description (template) to add to a new photo.', 'wp-photo-album-plus');
8911
+ $help = (__('Enter the default description.', 'wp-photo-album-plus'));
8912
+ $help .= '<br />'.(__('If you use html, please check item B-1 of this table.', 'wp-photo-album-plus'));
8913
  $slug = 'wppa_newphoto_description';
8914
  $html = wppa_textarea($slug, $name);
8915
  $clas = '';
8918
 
8919
  $name = __('New photo owner', 'wp-photo-album-plus');
8920
  $desc = __('The owner of a new uploaded photo.', 'wp-photo-album-plus');
8921
+ $help = (__('If you leave this blank, the uploader will be set as the owner', 'wp-photo-album-plus'));
8922
  $slug = 'wppa_newphoto_owner';
8923
  $html = wppa_input($slug, '50px', '', __('leave blank or enter login name', 'wp-photo-album-plus'));
8924
  $clas = '';
8927
 
8928
  $name = __('Upload limit', 'wp-photo-album-plus');
8929
  $desc = __('New albums are created with this upload limit.', 'wp-photo-album-plus');
8930
+ $help = (__('Administrators can change the limit settings in the "Edit Album Information" admin page.', 'wp-photo-album-plus'));
8931
+ $help .= '<br />'.(__('A value of 0 means: no limit.', 'wp-photo-album-plus'));
8932
  $slug = 'wppa_upload_limit_count';
8933
  $html = wppa_input($slug, '50px', '', __('photos', 'wp-photo-album-plus'));
8934
  $slug = 'wppa_upload_limit_time';
9022
  case 'selectionbox':
9023
  $name = __('Grant parent', 'wp-photo-album-plus');
9024
  $desc = __('The parent album(s) of the auto created albums.', 'wp-photo-album-plus');
9025
+ $help = (__('You may select multiple albums. All logged in visitors will get their own sub-album in each granted parent.', 'wp-photo-album-plus'));
9026
  $slug = 'wppa_grant_parent';
9027
  $opts = array( __('--- none ---', 'wp-photo-album-plus'), __('--- separate ---', 'wp-photo-album-plus') );
9028
  $vals = array( 'zero', '-1');
9088
 
9089
  $name = __('Max user albums', 'wp-photo-album-plus');
9090
  $desc = __('The max number of albums a user can create.', 'wp-photo-album-plus');
9091
+ $help = (__('The maximum number of albums a user can create when he is not admin and owner only is active', 'wp-photo-album-plus'));
9092
+ $help .= '<br />'.(__('A number of 0 means No limit', 'wp-photo-album-plus'));
9093
  $slug = 'wppa_max_albums';
9094
  $html = wppa_input($slug, '50px', '', 'albums');
9095
  $clas = '';
9098
 
9099
  $name = __('Default photo name', 'wp-photo-album-plus');
9100
  $desc = __('Select the way the name of a new uploaded photo should be determined.', 'wp-photo-album-plus');
9101
+ $help = ('If you select an IPTC Tag and it is not found, the filename will be used instead.');
9102
  $slug = 'wppa_newphoto_name_method';
9103
  $opts = array( __('Filename', 'wp-photo-album-plus'),
9104
  __('Filename without extension', 'wp-photo-album-plus'),
9123
 
9124
  $name = __('Default coverphoto', 'wp-photo-album-plus');
9125
  $desc = __('Name of photofile to become cover image', 'wp-photo-album-plus');
9126
+ $help = (__('If you name a photofile like this setting before upload, it will become the coverimage automatically.', 'wp-photo-album-plus'));
9127
  $slug = 'wppa_default_coverimage_name';
9128
  $html = wppa_input($slug, '150px');
9129
  $clas = '';
9132
 
9133
  $name = __('Copy Timestamp', 'wp-photo-album-plus');
9134
  $desc = __('Copy timestamp when copying photo.', 'wp-photo-album-plus');
9135
+ $help = (__('If checked, the copied photo is not "new"', 'wp-photo-album-plus'));
9136
  $slug = 'wppa_copy_timestamp';
9137
  $html = wppa_checkbox($slug);
9138
  $clas = '';
9159
 
9160
  $name = __('Optimize files', 'wp-photo-album-plus');
9161
  $desc = __('Optimize image files right after upload/import', 'wp-photo-album-plus');
9162
+ $help = (__('This option requires the plugin EWWW Image Optimizer to be activated', 'wp-photo-album-plus'));
9163
  $slug = 'wppa_optimize_new';
9164
  $html = wppa_checkbox($slug);
9165
  $clas = '';
9191
  {
9192
  $name = __('Search page', 'wp-photo-album-plus');
9193
  $desc = __('Display the search results on page.', 'wp-photo-album-plus');
9194
+ $help = (__('Select the page to be used to display search results. The page MUST contain [wppa][/wppa].', 'wp-photo-album-plus'));
9195
+ $help .= '<br />'.(__('You may give it the title "Search results" or something alike.', 'wp-photo-album-plus'));
9196
+ $help .= '<br />'.(__('Or you may use the standard page on which you display the generic album.', 'wp-photo-album-plus'));
9197
  $slug = 'wppa_search_linkpage';
9198
  wppa_verify_page($slug);
9199
  $query = "SELECT ID, post_title, post_content FROM " . $wpdb->posts . " WHERE post_type = 'page' AND post_status = 'publish' ORDER BY post_title ASC";
9235
 
9236
  $name = __('Exclude separate', 'wp-photo-album-plus');
9237
  $desc = __('Do not search \'separate\' albums.', 'wp-photo-album-plus');
9238
+ $help = (__('When checked, albums (and photos in them) that have the parent set to --- separate --- will be excluded from being searched.', 'wp-photo-album-plus'));
9239
+ $help .= '<br />'.(__('Except when you start searching in a \'saparate\' album, with the "search in current section" box ticked.', 'wp-photo-album-plus'));
9240
  $slug = 'wppa_excl_sep';
9241
  $html = wppa_checkbox($slug);
9242
  $clas = '';
9245
 
9246
  $name = __('Include tags', 'wp-photo-album-plus');
9247
  $desc = __('Do also search the photo tags.', 'wp-photo-album-plus');
9248
+ $help = (__('When checked, the tags of the photo will also be searched.', 'wp-photo-album-plus'));
9249
  $slug = 'wppa_search_tags';
9250
  $html = wppa_checkbox($slug);
9251
  $clas = '';
9254
 
9255
  $name = __('Include categories', 'wp-photo-album-plus');
9256
  $desc = __('Do also search the album categories.', 'wp-photo-album-plus');
9257
+ $help = (__('When checked, the categories of the album will also be searched.', 'wp-photo-album-plus'));
9258
  $slug = 'wppa_search_cats';
9259
  $html = wppa_checkbox($slug);
9260
  $clas = '';
9263
 
9264
  $name = __('Include comments', 'wp-photo-album-plus');
9265
  $desc = __('Do also search the comments on photos.', 'wp-photo-album-plus');
9266
+ $help = (__('When checked, the comments of the photos will also be searched.', 'wp-photo-album-plus'));
9267
  $slug = 'wppa_search_comments' ;
9268
  $html = wppa_checkbox($slug);
9269
  $clas = '';
9272
 
9273
  $name = __('Photos only', 'wp-photo-album-plus');
9274
  $desc = __('Search for photos only.', 'wp-photo-album-plus');
9275
+ $help = (__('When checked, only photos will be searched for.', 'wp-photo-album-plus'));
9276
  $slug = 'wppa_photos_only';
9277
  $html = wppa_checkbox($slug);
9278
  $clas = '';
9299
 
9300
  $name = __('Tags OR only', 'wp-photo-album-plus');
9301
  $desc = __('No and / or buttons', 'wp-photo-album-plus');
9302
+ $help = (__('Hide the and/or radiobuttons and do the or method in the multitag widget and shortcode.', 'wp-photo-album-plus'));
9303
  $slug = 'wppa_tags_or_only';
9304
  $html = wppa_checkbox($slug);
9305
  $clas = '';
9308
 
9309
  $name = __('Tags add Inverse', 'wp-photo-album-plus');
9310
  $desc = __('Add a checkbox to invert the selection.', 'wp-photo-album-plus');
9311
+ $help = (__('Adds an Invert (NOT) checkbox on the multitag widget and shortcode.', 'wp-photo-album-plus'));
9312
  $slug = 'wppa_tags_not_on';
9313
  $html = wppa_checkbox($slug);
9314
  $clas = '';
9317
 
9318
  $name = __('Floating searchtoken', 'wp-photo-album-plus');
9319
  $desc = __('A match need not start at the first char.', 'wp-photo-album-plus');
9320
+ $help = (__('A match is found while searching also when the entered token is somewhere in the middle of a word.', 'wp-photo-album-plus'));
9321
  $slug = 'wppa_wild_front';
9322
  $html = wppa_checkbox($slug);
9323
  $clas = '';
9326
 
9327
  $name = __('Search results display', 'wp-photo-album-plus');
9328
  $desc = __('Select the way the search results should be displayed.', 'wp-photo-album-plus');
9329
+ $help = (__('If you select anything different from "Albums and thumbnails", "Photos only" is assumed (Table IX-E6).', 'wp-photo-album-plus'));
9330
  $slug = 'wppa_search_display_type';
9331
  $opts = array( __('Albums and thumbnails', 'wp-photo-album-plus'),
9332
  __('Slideshow', 'wp-photo-album-plus'),
9341
 
9342
  $name = __('Name max length', 'wp-photo-album-plus');
9343
  $desc = __('Max length of displayed photonames in supersearch selectionlist', 'wp-photo-album-plus');
9344
+ $help = (__('To limit the length of the selectionlist, enter the number of characters to show.', 'wp-photo-album-plus'));
9345
  $slug = 'wppa_ss_name_max';
9346
  $html = $html = wppa_input($slug, '50px');
9347
  $clas = '';
9350
 
9351
  $name = __('Text max length', 'wp-photo-album-plus');
9352
  $desc = __('Max length of displayed photo text in supersearch selectionlist', 'wp-photo-album-plus');
9353
+ $help = (__('To limit the length of the selectionlist, enter the number of characters to show.', 'wp-photo-album-plus'));
9354
  $slug = 'wppa_ss_text_max';
9355
  $html = $html = wppa_input($slug, '50px');
9356
  $clas = '';
9359
 
9360
  $name = __('Search toptext', 'wp-photo-album-plus');
9361
  $desc = __('The text at the top of the search box.', 'wp-photo-album-plus');
9362
+ $help = (__('This is the equivalence of the text you can enter in the widget activation screen to show above the input box, but now for the search shortcode display.', 'wp-photo-album-plus'));
9363
+ $help .= '<br />'.(__('May contain unfiltered HTML.', 'wp-photo-album-plus'));
9364
  $slug = 'wppa_search_toptext';
9365
  $html = wppa_textarea($slug, $name);
9366
  $clas = '';
9396
 
9397
  $name = __('Exclude from search', 'wp-photo-album-plus');
9398
  $desc = __('Exclude these words from search index.', 'wp-photo-album-plus');
9399
+ $help = (__('Enter words separated by commas (,)', 'wp-photo-album-plus'));
9400
  $slug = 'wppa_search_user_void';
9401
  $html = wppa_input($slug, '90%;');
9402
  $clas = '';
9405
 
9406
  $name = __('Exclude numbers', 'wp-photo-album-plus');
9407
  $desc = __('Exclude numbers from search index.', 'wp-photo-album-plus');
9408
+ $help = (__('If ticked, photos and albums are not searchable by numbers.', 'wp-photo-album-plus'));
9409
  $slug = 'wppa_search_numbers_void';
9410
  $html = wppa_checkbox($slug);
9411
  $clas = '';
9500
  {
9501
  $name = __('Watermark', 'wp-photo-album-plus');
9502
  $desc = __('Enable the application of watermarks.', 'wp-photo-album-plus');
9503
+ $help = (__('If checked, photos can be watermarked during upload / import.', 'wp-photo-album-plus'));
9504
  $slug = 'wppa_watermark_on';
9505
  $onchange = 'wppaCheckWatermark()';
9506
  $html = wppa_checkbox($slug, $onchange);
9511
 
9512
  $name = __('Watermark file', 'wp-photo-album-plus');
9513
  $desc = __('The default watermarkfile to be used.', 'wp-photo-album-plus');
9514
+ $help = (__('Watermark files are of type png and reside in', 'wp-photo-album-plus') . ' ' . WPPA_UPLOAD_URL . '/watermarks/');
9515
+ $help .= '<br />'.(__('A suitable watermarkfile typically consists of a transparent background and a black text or drawing.', 'wp-photo-album-plus'));
9516
+ $help .= '<br />'.(__(sprintf('The watermark image will be overlaying the photo with %s%% transparency.', (100-wppa_opt( 'watermark_opacity' ))), 'wp-photo-album-plus'));
9517
+ $help .= '<br />'.(__('You may also select one of the textual watermark types at the bottom of the selection list.', 'wp-photo-album-plus'));
9518
  $slug = 'wppa_watermark_file';
9519
  $html = '<select style="float:left; font-size:11px; height:20px; margin:0 4px 0 0; padding:0; " id="wppa_watermark_file" onchange="wppaAjaxUpdateOptionValue(\'watermark_file\', this)" >' . wppa_watermark_file_select( 'system' ) . '</select>';
9520
  $html .= '<img id="img_watermark_file" src="'.wppa_get_imgdir().'star.ico" title="'.__('Setting unmodified', 'wp-photo-album-plus').'" style="padding-left:4px; float:left; height:16px; width:16px;" />';
9536
 
9537
  $name = __('Watermark opacity image', 'wp-photo-album-plus');
9538
  $desc = __('You can set the intensity of image watermarks here.', 'wp-photo-album-plus');
9539
+ $help = (__('The higher the number, the intenser the watermark. Value must be > 0 and <= 100.', 'wp-photo-album-plus'));
9540
  $slug = 'wppa_watermark_opacity';
9541
  $html = wppa_input($slug, '50px', '', '%');
9542
  $clas = 'wppa_watermark';
9560
 
9561
  $name = __('Predefined watermark text', 'wp-photo-album-plus');
9562
  $desc = __('The text to use when --- pre-defined --- is selected.', 'wp-photo-album-plus');
9563
+ $help = (__('You may use the following keywords:', 'wp-photo-album-plus'));
9564
+ $help .= '<br />'.(__('w#site, w#displayname, all standard photo keywords, iptc and exif keywords', 'wp-photo-album-plus'));
9565
  $slug = 'wppa_textual_watermark_text';
9566
  $html = wppa_textarea($slug, $name);
9567
  $clas = 'wppa_watermark';
9570
 
9571
  $name = __('Textual watermark font', 'wp-photo-album-plus');
9572
  $desc = __('The font to use with textual watermarks.', 'wp-photo-album-plus');
9573
+ $help = (__('Except for the system font, are font files of type ttf and reside in', 'wp-photo-album-plus') . ' ' . WPPA_UPLOAD_URL . '/fonts/');
9574
  $slug = 'wppa_textual_watermark_font';
9575
  $fopts = array( 'System' );
9576
  $fvals = array( 'system' );
9600
 
9601
  $name = __('Textual watermark font size', 'wp-photo-album-plus');
9602
  $desc = __('You can set the size of the truetype fonts only.', 'wp-photo-album-plus');
9603
+ $help = (__('System font can have size 1,2,3,4 or 5, in some stoneage fontsize units. Any value > 5 will be treated as 5.', 'wp-photo-album-plus'));
9604
+ $help .= '<br />'.(__('Truetype fonts can have any positive integer size, if your PHPs GD version is 1, in pixels, in GD2 in points.', 'wp-photo-album-plus'));
9605
+ $help .= '<br />'.(__('It is unclear how many pixels a point is...', 'wp-photo-album-plus'));
9606
  $slug = 'wppa_textual_watermark_size';
9607
  $html = wppa_input($slug, '50px', '', 'points');
9608
  $clas = 'wppa_watermark';
9631
 
9632
  $name = __('Upload watermark font', 'wp-photo-album-plus');
9633
  $desc = __('Upload a new watermark font file', 'wp-photo-album-plus');
9634
+ $help = (__('Upload truetype fonts (.ttf) only, and test if they work on your server platform.', 'wp-photo-album-plus'));
9635
  $slug = 'wppa_watermark_font_upload';
9636
  $html = '<input id="my_file_element" type="file" name="file_2" style="float:left; font-size: 11px;" />';
9637
  $html .= wppa_doit_button(__('Upload TrueType font', 'wp-photo-album-plus'), $slug, '', '31', '16');
9641
 
9642
  $name = __('Watermark opacity text', 'wp-photo-album-plus');
9643
  $desc = __('You can set the intensity of a text watermarks here.', 'wp-photo-album-plus');
9644
+ $help = (__('The higher the number, the intenser the watermark. Value must be > 0 and <= 100.', 'wp-photo-album-plus'));
9645
  $slug = 'wppa_watermark_opacity_text';
9646
  $html = wppa_input($slug, '50px', '', '%');
9647
  $clas = 'wppa_watermark';
9784
  {
9785
  $name = __('Keep sourcefiles admin', 'wp-photo-album-plus');
9786
  $desc = __('Keep the original uploaded and imported photo files.', 'wp-photo-album-plus');
9787
+ $help = (__('The files will be kept in a separate directory with subdirectories for each album', 'wp-photo-album-plus'));
9788
+ $help .= '<br />'.(__('These files can be used to update the photos used in displaying in wppa+ and optionally for downloading original, un-downsized images.', 'wp-photo-album-plus'));
9789
  $slug = 'wppa_keep_source_admin';
9790
  $html = wppa_checkbox($slug);
9791
  $clas = '';
9794
 
9795
  $name = __('Keep sourcefiles frontend', 'wp-photo-album-plus');
9796
  $desc = __('Keep the original frontend uploaded photo files.', 'wp-photo-album-plus');
9797
+ $help = (__('The files will be kept in a separate directory with subdirectories for each album', 'wp-photo-album-plus'));
9798
+ $help .= '<br />'.(__('These files can be used to update the photos used in displaying in wppa+ and optionally for downloading original, un-downsized images.', 'wp-photo-album-plus'));
9799
  $slug = 'wppa_keep_source_frontend';
9800
  $html = wppa_checkbox($slug);
9801
  $clas = '';
9804
 
9805
  $name = __('Source directory', 'wp-photo-album-plus');
9806
  $desc = __('The path to the directory where the original photofiles will be saved.', 'wp-photo-album-plus');
9807
+ $help = (__('You may change the directory path, but it can not be an url.', 'wp-photo-album-plus'));
9808
+ $help .= '<br />'.(__('The parent of the directory that you enter here must exist and be writable.', 'wp-photo-album-plus'));
9809
+ $help .= '<br />'.(__('The directory itsself will be created if it does not exist yet.', 'wp-photo-album-plus'));
9810
  $slug = 'wppa_source_dir';
9811
  $html = wppa_input($slug, '300px');
9812
  $clas = '';
9815
 
9816
  $name = __('Keep sync', 'wp-photo-album-plus');
9817
  $desc = __('Keep source synchronously with wppa system.', 'wp-photo-album-plus');
9818
+ $help = (__('If checked, photos that are deleted from wppa, will also be removed from the sourcefiles.', 'wp-photo-album-plus'));
9819
+ $help .= '<br />'.(__('Also, copying or moving photos to different albums, will also copy/move the sourcefiles.', 'wp-photo-album-plus'));
9820
  $slug = 'wppa_keep_sync';
9821
  $html = wppa_checkbox($slug);
9822
  $clas = '';
9825
 
9826
  $name = __('Remake add', 'wp-photo-album-plus');
9827
  $desc = __('Photos will be added from the source pool', 'wp-photo-album-plus');
9828
+ $help = (__('If checked: If photo files are found in the source directory that do not exist in the corresponding album, they will be added to the album.', 'wp-photo-album-plus'));
9829
  $slug = 'wppa_remake_add';
9830
  $html = wppa_checkbox($slug);
9831
  $clas = '';
9834
 
9835
  $name = __('Save IPTC data', 'wp-photo-album-plus');
9836
  $desc = __('Store the iptc data from the photo into the iptc db table', 'wp-photo-album-plus');
9837
+ $help = (__('You will need this if you enabled the display of iptc data in Table II-B17 or if you use it in the photo descriptions.', 'wp-photo-album-plus'));
9838
  $slug = 'wppa_save_iptc';
9839
  $html = wppa_checkbox($slug);
9840
  $clas = '';
9843
 
9844
  $name = __('Save EXIF data', 'wp-photo-album-plus');
9845
  $desc = __('Store the exif data from the photo into the exif db table', 'wp-photo-album-plus');
9846
+ $help = (__('You will need this if you enabled the display of exif data in Table II-B18 or if you use it in the photo descriptions.', 'wp-photo-album-plus'));
9847
  $slug = 'wppa_save_exif';
9848
  $html = wppa_checkbox($slug);
9849
  $clas = '';
9852
 
9853
  $name = __('Import Create page', 'wp-photo-album-plus');
9854
  $desc = __('Create wp page that shows the album when a directory to album is imported.', 'wp-photo-album-plus');
9855
+ $help = (__('As soon as an album is created when a directory is imported, a wp page is made that displays the album content.', 'wp-photo-album-plus'));
9856
  $slug = 'wppa_newpag_create';
9857
  $onchange = 'wppaCheckNewpag()';
9858
  $html = wppa_checkbox($slug, $onchange);
9862
 
9863
  $name = __('Page content', 'wp-photo-album-plus');
9864
  $desc = __('The content of the page. Must contain <b>w#album</b>', 'wp-photo-album-plus');
9865
+ $help = (__('The content of the page. Note: it must contain w#album. This will be replaced by the album number in the generated shortcode.', 'wp-photo-album-plus'));
9866
  $slug = 'wppa_newpag_content';
9867
  $clas = 'wppa_newpag';
9868
  $html = wppa_input($slug, '90%');
9897
  if ( ! is_multisite() || WPPA_MULTISITE_GLOBAL ) {
9898
  $name = __('Permalink root', 'wp-photo-album-plus');
9899
  $desc = __('The name of the root for the photofile permalink structure.', 'wp-photo-album-plus');
9900
+ $help = (__('Choose a convenient name like "albums" or so; this will be the name of a folder inside .../wp-content/. Make sure you choose a unique name', 'wp-photo-album-plus'));
9901
+ $help .= '<br />'.(__('If you make this field empty, the feature is disabled.', 'wp-photo-album-plus'));
9902
  $slug = 'wppa_pl_dirname';
9903
  $clas = '';
9904
  $tags = 'system';
9908
 
9909
  $name = __('Import parent check', 'wp-photo-album-plus');
9910
  $desc = __('Makes the album tree like the directory tree on Import Dirs to albums.', 'wp-photo-album-plus');
9911
+ $help = (__('Untick only if all your albums have unique names. In this case additional photos may be ftp\'d to toplevel depot subdirs.', 'wp-photo-album-plus'));
9912
  $slug = 'wppa_import_parent_check';
9913
  $html = wppa_checkbox($slug);
9914
  $clas = '';
9938
 
9939
  $name = __('Foreign shortcodes fullsize', 'wp-photo-album-plus');
9940
  $desc = __('Enable the use of non-wppa+ shortcodes in fullsize photo descriptions.', 'wp-photo-album-plus');
9941
+ $help = (__('When checked, you can use shortcodes from other plugins in the description of photos.', 'wp-photo-album-plus'));
9942
+ $help .= '<br />'.(__('The shortcodes will be expanded in the descriptions of fullsize images.', 'wp-photo-album-plus'));
9943
+ $help .= '<br />'.(__('You will most likely need also to check Table IX-A1 (Allow HTML).', 'wp-photo-album-plus'));
9944
  $slug = 'wppa_allow_foreign_shortcodes';
9945
  $html = wppa_checkbox($slug);
9946
  $clas = '';
9949
 
9950
  $name = __('Foreign shortcodes thumbnails', 'wp-photo-album-plus');
9951
  $desc = __('Enable the use of non-wppa+ shortcodes in thumbnail photo descriptions.', 'wp-photo-album-plus');
9952
+ $help = (__('When checked, you can use shortcodes from other plugins in the description of photos.', 'wp-photo-album-plus'));
9953
+ $help .= '<br />'.(__('The shortcodes will be expanded in the descriptions of thumbnail images.', 'wp-photo-album-plus'));
9954
+ $help .= '<br />'.(__('You will most likely need also to check Table IX-A1 (Allow HTML).', 'wp-photo-album-plus'));
9955
  $slug = 'wppa_allow_foreign_shortcodes_thumbs';
9956
  $html = wppa_checkbox($slug);
9957
  $clas = '';
9960
 
9961
  $name = __('Lightbox keyname', 'wp-photo-album-plus');
9962
  $desc = __('The identifier of lightbox.', 'wp-photo-album-plus');
9963
+ $help = (__('If you use a lightbox plugin that uses rel="lbox-id" you can enter the lbox-id here.', 'wp-photo-album-plus'));
9964
  $slug = 'wppa_lightbox_name';
9965
  $html = wppa_input($slug, '100px');
9966
  $clas = 'wppa_alt_lightbox';
9969
 
9970
  $name = __('myCRED / Cube Points: Comment', 'wp-photo-album-plus');
9971
  $desc = __('Number of points for giving a comment', 'wp-photo-album-plus');
9972
+ $help = (__('This setting requires the plugin myCRED or Cube Points', 'wp-photo-album-plus'));
9973
  $slug = 'wppa_cp_points_comment';
9974
  $html = wppa_input($slug, '50px', '', __('points per comment', 'wp-photo-album-plus'));
9975
  $clas = '';
9978
 
9979
  $name = __('myCRED / Cube Points: Appr Comment', 'wp-photo-album-plus');
9980
  $desc = __('Number of points for receiving an approved comment', 'wp-photo-album-plus');
9981
+ $help = (__('This setting requires the plugin myCRED or Cube Points', 'wp-photo-album-plus'));
9982
  $slug = 'wppa_cp_points_comment_appr';
9983
  $html = wppa_input($slug, '50px', '', __('points per comment', 'wp-photo-album-plus'));
9984
  $clas = '';
9987
 
9988
  $name = __('myCRED / Cube Points: Rating', 'wp-photo-album-plus');
9989
  $desc = __('Number of points for a rating vote', 'wp-photo-album-plus');
9990
+ $help = (__('This setting requires the plugin myCRED or Cube Points', 'wp-photo-album-plus'));
9991
  $slug = 'wppa_cp_points_rating';
9992
  $html = wppa_input($slug, '50px', '', __('points per vote', 'wp-photo-album-plus'));
9993
  $clas = '';
9996
 
9997
  $name = __('myCRED / Cube Points: Upload', 'wp-photo-album-plus');
9998
  $desc = __('Number of points for a successfull frontend upload', 'wp-photo-album-plus');
9999
+ $help = (__('This setting requires the plugin myCRED or Cube Points', 'wp-photo-album-plus'));
10000
  $slug = 'wppa_cp_points_upload';
10001
  $html = wppa_input($slug, '50px', '', __('points per upload', 'wp-photo-album-plus'));
10002
  $clas = '';
10005
 
10006
  $name = __('Use SCABN', 'wp-photo-album-plus');
10007
  $desc = __('Use the wppa interface to Simple Cart & Buy Now plugin.', 'wp-photo-album-plus');
10008
+ $help = (__('If checked, the shortcode to use for the "add to cart" button in photo descriptions is [cart ...]', 'wp-photo-album-plus'));
10009
+ $help .= '<br />'.(__('as opposed to [scabn ...] for the original scabn "add to cart" button.', 'wp-photo-album-plus'));
10010
+ $help .= '<br />'.(__('The shortcode for the check-out page is still [scabn]', 'wp-photo-album-plus'));
10011
+ $help .= '<br />'.(__('The arguments are the same, the defaults are: name = photoname, price = 0.01.', 'wp-photo-album-plus'));
10012
+ $help .= '<br />'.(__('Supplying the price should be sufficient; supply a name only when it differs from the photo name.', 'wp-photo-album-plus'));
10013
+ $help .= '<br />'.(__('This shortcode handler will also work with Ajax enabled.', 'wp-photo-album-plus'));
10014
+ $help .= '<br />'.(__('Using this interface makes sure that the item urls and callback action urls are correct.', 'wp-photo-album-plus'));
10015
  $slug = 'wppa_use_scabn';
10016
  $html = wppa_checkbox($slug);
10017
  $clas = '';
10020
 
10021
  $name = __('Use CM Tooltip Glossary', 'wp-photo-album-plus');
10022
  $desc = __('Use plugin CM Tooltip Glossary on photo and album descriptions.', 'wp-photo-album-plus');
10023
+ $help = (__('You MUST set Table IV-A13: Defer javascript, also if you do not want this plugin to act on album and photo descriptions!', 'wp-photo-album-plus'));
10024
  $slug = 'wppa_use_CMTooltipGlossary';
10025
  $html = wppa_checkbox($slug);
10026
  $clas = '';
10058
 
10059
  $name = __('QR color', 'wp-photo-album-plus');
10060
  $desc = __('The display color of the qr code (dark)', 'wp-photo-album-plus');
10061
+ $help = (__('This color MUST be given in hexadecimal format!', 'wp-photo-album-plus'));
10062
  $slug = 'wppa_qr_color';
10063
  $html = wppa_input($slug, '100px', '', '', "checkColor('".$slug."')") . wppa_color_box($slug);
10064
  $clas = '';
10076
 
10077
  $name = __('QR cache', 'wp-photo-album-plus');
10078
  $desc = __('Enable caching QR codes', 'wp-photo-album-plus') . ' ' . sprintf( __('So far %d cache hits, %d miss', 'wp-photo-album-plus'), get_option('wppa_qr_cache_hits', '0'), get_option('wppa_qr_cache_miss', '0'));
10079
+ $help = __('Enable this to avoid DoS on heavy loads on the qrserver', 'wp-photo-album-plus'); $slug = 'wppa_qr_cache';
 
10080
  $html = wppa_checkbox($slug);
10081
  $clas = '';
10082
  $tags = 'system';
10151
 
10152
  $name = __('Max lifetime', 'wp-photo-album-plus');
10153
  $desc = __('Old images from local server, new images from Cloudinary.', 'wp-photo-album-plus');
10154
+ $help = (__('If NOT set to Forever (0): You need to run Table VIII-B15 on a regular basis.', 'wp-photo-album-plus'));
10155
  $slug = 'wppa_max_cloud_life';
10156
  $opts = array( __('Forever', 'wp-photo-album-plus'),
10157
  sprintf( _n('%d day', '%d days', '1', 'wp-photo-album-plus'), '1'),
10247
 
10248
  $name = __('GPX Implementation', 'wp-photo-album-plus');
10249
  $desc = __('The way the maps are produced.', 'wp-photo-album-plus');
10250
+ $help = (__('Select the way the maps are produced.', 'wp-photo-album-plus'));
10251
+ $help .= '<br />'.(__('When using an external plugin, most of the times you can not use Ajax (Table IV-A1).', 'wp-photo-album-plus'));
10252
+ $help .= '<br />'.(__('Also: it may or may not be required to load the maps js api (Table IX-K5.1)', 'wp-photo-album-plus'));
10253
  $slug = 'wppa_gpx_implementation';
10254
  $opts = array( __('--- none ---', 'wp-photo-album-plus'), __('WPPA+ Embedded code', 'wp-photo-album-plus'), __('External plugin', 'wp-photo-album-plus') );
10255
  $vals = array( 'none', 'wppa-plus-embedded', 'external-plugin' );
10261
 
10262
  $name = __('Map height', 'wp-photo-album-plus');
10263
  $desc = __('The height of the map display.', 'wp-photo-album-plus');
10264
+ $help = (__('This setting is for embedded implementation only.', 'wp-photo-album-plus'));
10265
  $slug = 'wppa_map_height';
10266
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
10267
  $clas = 'wppa_gpx_native';
10270
 
10271
  $name = __('Load maps api', 'wp-photo-album-plus');
10272
  $desc = __('Load the Google maps js api', 'wp-photo-album-plus');
10273
+ $help = (__('If you use an external maps plugin, you may need to tick this box.', 'wp-photo-album-plus'));
10274
  $slug = 'wppa_load_map_api';
10275
  $html = wppa_checkbox($slug);
10276
  $clas = 'wppa_gpx_plugin';
10288
 
10289
  $name = __('GPX Shortcode', 'wp-photo-album-plus');
10290
  $desc = __('The shortcode to be used for the gpx feature.', 'wp-photo-album-plus');
10291
+ $help = (__('Enter / modify the shortcode to be generated for the gpx plugin. It must contain w#lat and w#lon as placeholders for the latitude and longitude.', 'wp-photo-album-plus'));
10292
+ $help .= '<br />'.(__('This item is required for using an external Google maps viewer plugin only', 'wp-photo-album-plus'));
10293
  $slug = 'wppa_gpx_shortcode';
10294
  $html = wppa_input($slug, '500px');
10295
  $clas = 'wppa_gpx_plugin';
10298
 
10299
  $name = __('Zoom level', 'wp-photo-album-plus');
10300
  $desc = __('The zoomlevel for GPX maps', 'wp-photo-album-plus');
10301
+ $help = (__('This setting is for embedded implementation only.', 'wp-photo-album-plus'));
10302
  $slug = 'wppa_geo_zoom';
10303
  $opts = array('1','2','3','4','5','6','7','8','9','10','11','12','13','14','15','16','17','18','19','20','21','22','23','24','25',);
10304
  $vals = $opts;
10309
 
10310
  $name = __('Fotomoto', 'wp-photo-album-plus');
10311
  $desc = __('Yes, we use Fotomoto on this site. Read the help text!', 'wp-photo-album-plus');
10312
+ $help = (__('In order to function properly:', 'wp-photo-album-plus'));
10313
+ $help .= '<br />'.(__('1. Get yourself a Fotomoto account.', 'wp-photo-album-plus'));
10314
+ $help .= '<br />'.(__('2. Install the Fotomoto plugin, enter the "Fotomoto Site Key:" and check the "Use API Mode:" checkbox.', 'wp-photo-album-plus'));
10315
+ $help .= '<br />'.(__('Note: Do NOT Disable the Custom box in Table II-B14.', 'wp-photo-album-plus'));
10316
+ $help .= '<br />'.(__('Do NOT remove the text w#fotomoto from the Custombox ( Table II-B15 ).', 'wp-photo-album-plus'));
10317
  $slug = 'wppa_fotomoto_on';
10318
  $onchange = 'wppaCheckFotomoto();alert(\''.__('The page will be reloaded after the action has taken place.', 'wp-photo-album-plus').'\');wppaRefreshAfter();';
10319
  $html = wppa_checkbox($slug, $onchange);
10323
 
10324
  $name = __('Fotomoto fontsize', 'wp-photo-album-plus');
10325
  $desc = __('Fontsize for the Fotomoto toolbar.', 'wp-photo-album-plus');
10326
+ $help = (__('If you set it here, it overrules a possible setting for font-size in .FotomotoToolbarClass on the Fotomoto dashboard.', 'wp-photo-album-plus'));
10327
  $slug = 'wppa_fotomoto_fontsize';
10328
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
10329
  $clas = 'wppa_fotomoto';
10332
 
10333
  $name = __('Hide when running', 'wp-photo-album-plus');
10334
  $desc = __('Hide toolbar on running slideshows', 'wp-photo-album-plus');
10335
+ $help = (__('The Fotomoto toolbar will re-appear when the slideshow stops.', 'wp-photo-album-plus'));
10336
  $slug = 'wppa_fotomoto_hide_when_running';
10337
  $html = wppa_checkbox($slug);
10338
  $clas = 'wppa_fotomoto';
10341
 
10342
  $name = __('Fotomoto minwidth', 'wp-photo-album-plus');
10343
  $desc = __('Minimum width to display Fotomoto toolbar.', 'wp-photo-album-plus');
10344
+ $help = (__('The display of the Fotomoto Toolbar will be suppressed on smaller slideshows.', 'wp-photo-album-plus'));
10345
  $slug = 'wppa_fotomoto_min_width';
10346
  $html = wppa_input($slug, '40px', '', __('pixels', 'wp-photo-album-plus'));
10347
  $clas = 'wppa_fotomoto';
10350
 
10351
  $name = __('Image Magick', 'wp-photo-album-plus');
10352
  $desc = __('Absolute path to the ImageMagick commands', 'wp-photo-album-plus');// . ' <span style="color:red;" >' . __('experimental', 'wp-photo-album-plus') . '</span>';
10353
+ $help = (__('If you want to use ImageMagick, enter the absolute path to the ImageMagick commands', 'wp-photo-album-plus'));
10354
  $slug = 'wppa_image_magick';
10355
  $html = wppa_input($slug, '300px');
10356
  $clas = '';
10361
  {
10362
  $name = __('Enable shortcode [photo ..]', 'wp-photo-album-plus');
10363
  $desc = __('Make the use of shortcode [photo ..] possible', 'wp-photo-album-plus');
10364
+ $help = (__('Only disable this when there is a conflict with another plugin', 'wp-photo-album-plus'));
10365
  $slug = 'wppa_photo_shortcode_enabled';
10366
  $html = wppa_checkbox($slug);
10367
  $clas = '';
10389
 
10390
  $name = __('Size', 'wp-photo-album-plus');
10391
  $desc = __('Specify the size (width) of the image.', 'wp-photo-album-plus');
10392
+ $help = (__('Use the same syntax as in the [wppa size=".."] shortcode', 'wp-photo-album-plus'));
10393
+ $help .= '<br />'.(__('Examples: 350 for a fixed width of 350 pixels, or: 0.75 for a responsive display of 75% width, or: auto,350 for responsive with a maximum of 350 pixels.', 'wp-photo-album-plus'));
10394
  $slug = 'wppa_photo_shortcode_size';
10395
  $html = wppa_input($slug, '300px');
10396
  $clas = '';
10418
 
10419
  $name = __('Fe type', 'wp-photo-album-plus');
10420
  $desc = __('Frontend editor shortcode generator output type', 'wp-photo-album-plus');
10421
+ $help = ( __( 'If you want to use the shortcode generator in frontend tinymce editors, select if you want the shortcode or the html to be entered in the post', 'wp-photo-album-plus'));
10422
+ $help .= '<br />'.__('Select \'html\' if the inserted shortcode not is converted to the photo', 'wp-photo-album-plus');
10423
  $slug = 'wppa_photo_shortcode_fe_type';
10424
  $opts = array( __('--- none ---', 'wp-photo-album-plus'),
10425
  __('shortcode', 'wp-photo-album-plus'),
10438
 
10439
  $name = __('Albums', 'wp-photo-album-plus');
10440
  $desc = __('Select album(s) for random photo', 'wp-photo-album-plus');
10441
+ $help = ( __( 'The albums to be used for the selection of a random photo for shortcode: [photo random]', 'wp-photo-album-plus'));
10442
  $slug = 'wppa_photo_shortcode_random_albums';
10443
  if ( wppa_has_many_albums() ) {
10444
  $html = wppa_input( $slug, '220', __('Enter album ids separated by commas','wp-photo-album-plus' ) );
10463
 
10464
  $name = __('Select photo once', 'wp-photo-album-plus');
10465
  $desc = __('The same random photo on every pageload', 'wp-photo-album-plus');
10466
+ $help = (__('If ticked: the random photo is determined once at page/post creation time', 'wp-photo-album-plus'));
10467
+ $help .= '<br />'.(__('If unticked: every pageload a different photo', 'wp-photo-album-plus'));
10468
  $slug = 'wppa_photo_shortcode_random_fixed';
10469
  $html = wppa_checkbox($slug);
10470
  $clas = '';
10497
 
10498
  $name = __('Mail on upload', 'wp-photo-album-plus');
10499
  $desc = __('Enable mailing users when a frontend upload has been done', 'wp-photo-album-plus');
10500
+ $help = (__('When moderation is required, the mails will be sent after approval', 'wp-photo-album-plus'));
10501
  $slug = 'wppa_feuploadnotify';
10502
  $subs = count( wppa_index_string_to_array( get_option( 'wppa_mailinglist_feuploadnotify', '' ) ) );
10503
  $html = wppa_checkbox($slug) . '&nbsp;' . sprintf( __( '%d subscribers', 'wp-photo-album-plus' ), $subs );
10507
  /*
10508
  $name = __('Mail on upload backend', 'wp-photo-album-plus');
10509
  $desc = __('Notify admin at backend upload.', 'wp-photo-album-plus');
10510
+ $help = (__('If checked, admin will receive a notification by email.', 'wp-photo-album-plus'));
10511
  $slug = 'wppa_upload_backend_notify';
10512
  $html1 = wppa_checkbox($slug);
10513
  $html2 = '';
10518
  */
10519
  $name = __('Mail on comment', 'wp-photo-album-plus');
10520
  $desc = __('Enable mailing users when a new comment has been added', 'wp-photo-album-plus');
10521
+ $help = (__('When moderation is required, the mails will be sent after approval', 'wp-photo-album-plus'));
10522
  $slug = 'wppa_commentnotify';
10523
  $subs = count( wppa_index_string_to_array( get_option( 'wppa_mailinglist_commentnotify', '' ) ) );
10524
  $html = wppa_checkbox($slug) . '&nbsp;' . sprintf( __( '%d subscribers', 'wp-photo-album-plus' ), $subs );
10538
 
10539
  $name = __('Mail on comment: Content', 'wp-photo-album-plus');
10540
  $desc = __('The content of the email.', 'wp-photo-album-plus');
10541
+ $help = (__('If you leave this blank, the default content will be used', 'wp-photo-album-plus'));
10542
+ $help .= '<br />'.(__('The content may contain html.', 'wp-photo-album-plus'));
10543
+ $help .= '<br />'.(__('You may use the following keywords: w#comment for the comment content, w#user for the commenters name and the standard photo description keywords w#name, w#filename, w#owner, w#id, w#tags, w#timestamp, w#modified, w#views, w#amx, w#amy, w#amfs, w#url, w#hrurl, w#tnurl, w#cc0..w#cc9, w#cd0..w#cd9.', 'wp-photo-album-plus'));
10544
  $slug = 'wppa_commentapproved_text';
10545
  $html = wppa_textarea($slug, $name);
10546
  $clas = '';
10549
  *//*
10550
  $name = __('Mail on comment: Show commenter email', 'wp-photo-album-plus');
10551
  $desc = __('Show the commenter\'s email in the notify emails.', 'wp-photo-album-plus');
10552
+ $help = (__('Shows the email address of the commenter in all notify emails.', 'wp-photo-album-plus'));
10553
+ $help .= '<br />'.(__('If switched off, admin will still receive the senders email in the notification mail', 'wp-photo-album-plus'));
10554
  $slug = 'wppa_mail_upl_email';
10555
  $html = wppa_checkbox($slug);
10556
  $clas = '';
11017
  </tbody>
11018
  </table>
11019
  <p>&nbsp;</p>
11020
+ <?php if ( current_user_can( 'administrator' ) ) wppa_phpinfo() ?>
11021
  <!-- </div>-->
11022
  </div>
11023
 
11144
 
11145
  if ( $help ) { //|| ( defined( 'WP_DEBUG') && WP_DEBUG ) ) {
11146
  $is_dflt = true;
11147
+ $help = nl2br( $help );
11148
+ $hlp = wp_kses( $help, array( 'a' => array( 'href' => array(), 'title' => array() ),
11149
+ 'br' => array(),
11150
+ 'em' => array(),
11151
+ 'b' => array(),
11152
+ 'i' => array(),
11153
+ ) );
11154
  if ( ! $no_default ) {
11155
  if ( $slugs ) {
11156
+ $hlp .= '<br>' . __( 'The default for this setting is:', 'wp-photo-album-plus' );
11157
  if ( count($slugs) == 1) {
11158
  if ( $slugs[0] != '' ) {
11159
+ $hlp .= ' '.htmlentities(wppa_dflt($slugs[0]));
11160
  if ( $wppa_opt[$slugs[0]] != $wppa_defaults[$slugs[0]] ) {
11161
  $is_dflt = false;
11162
  }
11163
  }
11164
  }
11165
  else foreach ( array_keys($slugs) as $slugidx ) {
11166
+ if ( $slugs[$slugidx] != '' && isset($nums[$slugidx]) ) $hlp .= ' '.$nums[$slugidx].'. '.htmlentities(wppa_dflt($slugs[$slugidx]));
11167
  if ( $slugs[$slugidx] != '' && $wppa_opt[$slugs[$slugidx]] != $wppa_defaults[$slugs[$slugidx]] ) {
11168
  $is_dflt = false;
11169
  }
11206
  >
11207
  <small>
11208
  <i>' .
11209
+ $hlp . '
11210
  </i>
11211
  </small>
11212
  </td>
11377
  global $wppa_defaults;
11378
 
11379
  $slug = substr( $xslug, 5 );
11380
+ $warning = (__('Warning!', 'wp-photo-album-plus')).'<br />'.$warning;
11381
  $tit = __('Slug =', 'wp-photo-album-plus').' '.$xslug."\n".__('Values = yes, no', 'wp-photo-album-plus');
11382
  $title = wppa_switch( 'enable_shortcode_wppa_set' ) ? ' title="'.esc_attr( $tit ).'"' : '';
11383
  $html = '<input style="float:left; height: 15px; margin: 0px; padding: 0px;" type="checkbox" id="'.$slug.'"'.$title;
11397
  global $wppa_defaults;
11398
 
11399
  $slug = substr( $xslug, 5 );
11400
+ $warning = (__('Warning!', 'wp-photo-album-plus')).'<br />'.$warning;
11401
+ if ( $is_help) $warning .= '<br />'.(__('Please read the help', 'wp-photo-album-plus'));
11402
  $tit = __('Slug =', 'wp-photo-album-plus').' '.$xslug."\n".__('Values = yes, no', 'wp-photo-album-plus');
11403
  $title = wppa_switch( 'enable_shortcode_wppa_set' ) ? ' title="'.esc_attr( $tit ).'"' : '';
11404
  $html = '<input style="float:left; height: 15px; margin: 0px; padding: 0px;" type="checkbox" id="'.$slug.'"'.$title;
11418
  global $wppa_defaults;
11419
 
11420
  $slug = substr( $xslug, 5 );
11421
+ $warning = (__('Warning!', 'wp-photo-album-plus')).'<br />'.$warning.'<br />'.(__('Please read the help', 'wp-photo-album-plus'));
11422
  $tit = __('Slug =', 'wp-photo-album-plus').' '.$xslug."\n".__('Values = yes, no', 'wp-photo-album-plus');
11423
  $title = wppa_switch( 'enable_shortcode_wppa_set' ) ? ' title="'.esc_attr( $tit ).'"' : '';
11424
  $html = '<input style="float:left; height: 15px; margin: 0px; padding: 0px;" type="checkbox" id="'.$slug.'"'.$title;
wppa-setup.php CHANGED
@@ -3,7 +3,7 @@
3
  * Package: wp-photo-album-plus
4
  *
5
  * Contains all the setup stuff
6
- * Version 7.0.05
7
  *
8
  */
9
 
@@ -1958,7 +1958,7 @@ function wppa_check_dirs() {
1958
  if ( WPPA_DEBUG ) wppa_ok_message(__('Successfully created uploads directory.', 'wp-photo-album-plus').'<br/>'.$dir);
1959
  }
1960
  }
1961
- wppa_chmod( $dir );
1962
  }
1963
  */
1964
 
@@ -1974,7 +1974,7 @@ function wppa_check_dirs() {
1974
  if ( WPPA_DEBUG ) wppa_ok_message(__('Successfully created wppa directory.', 'wp-photo-album-plus').'<br/>'.$dir);
1975
  }
1976
  }
1977
- wppa_chmod( $dir );
1978
 
1979
  // check if thumbs dir exists
1980
  $dir = WPPA_UPLOAD_PATH.'/thumbs';
@@ -1988,7 +1988,7 @@ function wppa_check_dirs() {
1988
  if ( WPPA_DEBUG ) wppa_ok_message(__('Successfully created wppa thumbs directory.', 'wp-photo-album-plus').'<br/>'.$dir);
1989
  }
1990
  }
1991
- wppa_chmod( $dir );
1992
 
1993
  // check if watermarks dir exists
1994
  $dir = WPPA_UPLOAD_PATH.'/watermarks';
@@ -2002,7 +2002,7 @@ function wppa_check_dirs() {
2002
  if ( WPPA_DEBUG ) wppa_ok_message(__('Successfully created wppa watermarks directory.', 'wp-photo-album-plus').'<br/>'.$dir);
2003
  }
2004
  }
2005
- wppa_chmod( $dir );
2006
 
2007
  // check if fonts dir exists
2008
  $dir = WPPA_UPLOAD_PATH.'/fonts';
@@ -2016,7 +2016,7 @@ function wppa_check_dirs() {
2016
  if ( WPPA_DEBUG ) wppa_ok_message(__('Successfully created wppa fonts directory.', 'wp-photo-album-plus').'<br/>'.$dir);
2017
  }
2018
  }
2019
- wppa_chmod( $dir );
2020
 
2021
  // check if depot dir exists
2022
  if ( ! is_multisite() ) {
@@ -2032,7 +2032,7 @@ function wppa_check_dirs() {
2032
  if ( WPPA_DEBUG ) wppa_ok_message(__('Successfully created wppa depot directory.', 'wp-photo-album-plus').'<br/>'.$dir);
2033
  }
2034
  }
2035
- wppa_chmod( $dir );
2036
  }
2037
 
2038
  // check the user depot directory
@@ -2047,7 +2047,7 @@ function wppa_check_dirs() {
2047
  if ( WPPA_DEBUG ) wppa_ok_message(__('Successfully created wppa user depot directory.', 'wp-photo-album-plus').'<br/>'.$dir);
2048
  }
2049
  }
2050
- wppa_chmod( $dir );
2051
 
2052
  // check the temp dir
2053
  $dir = WPPA_UPLOAD_PATH.'/temp/';
@@ -2061,7 +2061,7 @@ function wppa_check_dirs() {
2061
  if ( WPPA_DEBUG ) wppa_ok_message(__('Successfully created temp directory.', 'wp-photo-album-plus').'<br/>'.$dir);
2062
  }
2063
  }
2064
- wppa_chmod( $dir );
2065
 
2066
  return true;
2067
  }
3
  * Package: wp-photo-album-plus
4
  *
5
  * Contains all the setup stuff
6
+ * Version 7.0.06
7
  *
8
  */
9
 
1958
  if ( WPPA_DEBUG ) wppa_ok_message(__('Successfully created uploads directory.', 'wp-photo-album-plus').'<br/>'.$dir);
1959
  }
1960
  }
1961
+ // wppa_chmod( $dir );
1962
  }
1963
  */
1964
 
1974
  if ( WPPA_DEBUG ) wppa_ok_message(__('Successfully created wppa directory.', 'wp-photo-album-plus').'<br/>'.$dir);
1975
  }
1976
  }
1977
+ // wppa_chmod( $dir );
1978
 
1979
  // check if thumbs dir exists
1980
  $dir = WPPA_UPLOAD_PATH.'/thumbs';
1988
  if ( WPPA_DEBUG ) wppa_ok_message(__('Successfully created wppa thumbs directory.', 'wp-photo-album-plus').'<br/>'.$dir);
1989
  }
1990
  }
1991
+ // wppa_chmod( $dir );
1992
 
1993
  // check if watermarks dir exists
1994
  $dir = WPPA_UPLOAD_PATH.'/watermarks';
2002
  if ( WPPA_DEBUG ) wppa_ok_message(__('Successfully created wppa watermarks directory.', 'wp-photo-album-plus').'<br/>'.$dir);
2003
  }
2004
  }
2005
+ // wppa_chmod( $dir );
2006
 
2007
  // check if fonts dir exists
2008
  $dir = WPPA_UPLOAD_PATH.'/fonts';
2016
  if ( WPPA_DEBUG ) wppa_ok_message(__('Successfully created wppa fonts directory.', 'wp-photo-album-plus').'<br/>'.$dir);
2017
  }
2018
  }
2019
+ // wppa_chmod( $dir );
2020
 
2021
  // check if depot dir exists
2022
  if ( ! is_multisite() ) {
2032
  if ( WPPA_DEBUG ) wppa_ok_message(__('Successfully created wppa depot directory.', 'wp-photo-album-plus').'<br/>'.$dir);
2033
  }
2034
  }
2035
+ // wppa_chmod( $dir );
2036
  }
2037
 
2038
  // check the user depot directory
2047
  if ( WPPA_DEBUG ) wppa_ok_message(__('Successfully created wppa user depot directory.', 'wp-photo-album-plus').'<br/>'.$dir);
2048
  }
2049
  }
2050
+ // wppa_chmod( $dir );
2051
 
2052
  // check the temp dir
2053
  $dir = WPPA_UPLOAD_PATH.'/temp/';
2061
  if ( WPPA_DEBUG ) wppa_ok_message(__('Successfully created temp directory.', 'wp-photo-album-plus').'<br/>'.$dir);
2062
  }
2063
  }
2064
+ // wppa_chmod( $dir );
2065
 
2066
  return true;
2067
  }
wppa-source.php CHANGED
@@ -3,7 +3,7 @@
3
  * Package: wp-photo-album-plus
4
  *
5
  * Contains photo source file management routines
6
- * Version 7.0.00
7
  *
8
  */
9
 
@@ -48,7 +48,7 @@ function wppa_save_source( $file, $name, $alb ) {
48
 
49
  }
50
  if ( is_file( $dest ) ) {
51
- wppa_chmod( $dest );
52
  }
53
  else {
54
  wppa_log( 'Err', 'Could not save ' . $dest, true );
@@ -73,15 +73,6 @@ function wppa_delete_source( $name, $alb ) {
73
  if ( is_array( $all_paths ) ) foreach( $all_paths as $p ) if ( is_file( $p ) ) {
74
  unlink( $p ); // Ignore error
75
  }
76
-
77
- // Remove album if empty
78
- $dir = wppa_get_source_album_dir( $alb );
79
- if ( wppa_is_dir( $dir ) ) {
80
- $files = glob( $dir . '/*.*' );
81
- if ( count( $files ) == 2 ) { // . and .. only
82
- @ rmdir( wppa_get_source_album_dir( $alb ) ); // Ignore error
83
- }
84
- }
85
  }
86
  }
87
 
@@ -147,8 +138,10 @@ global $wppa_supported_photo_extensions;
147
  }
148
  }
149
 
 
150
  function wppa_delete_album_source( $album ) {
151
  if ( wppa_switch( 'keep_sync') ) {
152
  @ rmdir( wppa_get_source_album_dir( $album ) );
153
  }
154
  }
 
3
  * Package: wp-photo-album-plus
4
  *
5
  * Contains photo source file management routines
6
+ * Version 7.0.06
7
  *
8
  */
9
 
48
 
49
  }
50
  if ( is_file( $dest ) ) {
51
+ // wppa_chmod( $dest );
52
  }
53
  else {
54
  wppa_log( 'Err', 'Could not save ' . $dest, true );
73
  if ( is_array( $all_paths ) ) foreach( $all_paths as $p ) if ( is_file( $p ) ) {
74
  unlink( $p ); // Ignore error
75
  }
 
 
 
 
 
 
 
 
 
76
  }
77
  }
78
 
138
  }
139
  }
140
 
141
+ /*
142
  function wppa_delete_album_source( $album ) {
143
  if ( wppa_switch( 'keep_sync') ) {
144
  @ rmdir( wppa_get_source_album_dir( $album ) );
145
  }
146
  }
147
+ */
wppa-stereo.php CHANGED
@@ -3,7 +3,7 @@
3
  * Package: wp-photo-album-plus
4
  *
5
  * Contains all the stereo stuff
6
- * Version 7.0.00
7
  *
8
  */
9
 
@@ -290,7 +290,7 @@ static $f114;
290
  }
291
 
292
  // accessible
293
- wppa_chmod( $tofile );
294
 
295
  // Optimized
296
  wppa_optimize_image_file( $tofile );
3
  * Package: wp-photo-album-plus
4
  *
5
  * Contains all the stereo stuff
6
+ * Version 7.0.06
7
  *
8
  */
9
 
290
  }
291
 
292
  // accessible
293
+ // wppa_chmod( $tofile );
294
 
295
  // Optimized
296
  wppa_optimize_image_file( $tofile );
wppa-utils.php CHANGED
@@ -3,7 +3,7 @@
3
  * Package: wp-photo-album-plus
4
  *
5
  * Contains low-level utility routines
6
- * Version 7.0.05
7
  *
8
  */
9
 
@@ -2349,7 +2349,7 @@ function wppa_mktree( $path ) {
2349
  }
2350
  $bret = wppa_mktree( dirname( $path ) );
2351
  wppa_mkdir( $path );
2352
- wppa_chmod( $path );
2353
  return ( wppa_is_dir( $path ) );
2354
  }
2355
 
@@ -3563,7 +3563,7 @@ function wppa_get_mime_type( $id ) {
3563
 
3564
  return $result;
3565
  }
3566
-
3567
  function wppa_chmod( $fso ) {
3568
 
3569
  $fso = rtrim( $fso, '/' );
@@ -3614,6 +3614,7 @@ function wppa_chmod( $fso ) {
3614
  }
3615
 
3616
  }
 
3617
 
3618
  // Test if a given url is to a photo file
3619
  function wppa_is_url_a_photo( $url ) {
@@ -3796,7 +3797,7 @@ function wppa_create_qrcode_cache( $qrsrc ) {
3796
 
3797
  // Make sure we have .../uploads/wppa/qr
3798
  if ( ! wppa_is_dir( WPPA_UPLOAD_PATH . '/qr' ) ) {
3799
- mkdir( WPPA_UPLOAD_PATH . '/qr' );
3800
  }
3801
 
3802
  // In cache already?
@@ -4560,7 +4561,7 @@ function wppa_pdf_preprocess( &$file, $alb, $i = false ) {
4560
  // Copy pdf to source dir,
4561
  $src = wppa_get_source_album_dir( $alb );
4562
  if ( ! wppa_is_dir( $src ) ) {
4563
- mkdir( $src );
4564
  }
4565
  $src .= '/';
4566
 
3
  * Package: wp-photo-album-plus
4
  *
5
  * Contains low-level utility routines
6
+ * Version 7.0.06
7
  *
8
  */
9
 
2349
  }
2350
  $bret = wppa_mktree( dirname( $path ) );
2351
  wppa_mkdir( $path );
2352
+ // wppa_chmod( $path );
2353
  return ( wppa_is_dir( $path ) );
2354
  }
2355
 
3563
 
3564
  return $result;
3565
  }
3566
+ /*
3567
  function wppa_chmod( $fso ) {
3568
 
3569
  $fso = rtrim( $fso, '/' );
3614
  }
3615
 
3616
  }
3617
+ */
3618
 
3619
  // Test if a given url is to a photo file
3620
  function wppa_is_url_a_photo( $url ) {
3797
 
3798
  // Make sure we have .../uploads/wppa/qr
3799
  if ( ! wppa_is_dir( WPPA_UPLOAD_PATH . '/qr' ) ) {
3800
+ wppa_mkdir( WPPA_UPLOAD_PATH . '/qr' );
3801
  }
3802
 
3803
  // In cache already?
4561
  // Copy pdf to source dir,
4562
  $src = wppa_get_source_album_dir( $alb );
4563
  if ( ! wppa_is_dir( $src ) ) {
4564
+ wppa_mkdir( $src );
4565
  }
4566
  $src .= '/';
4567
 
wppa-watermark.php CHANGED
@@ -2,7 +2,7 @@
2
  /* wppa-watermark.php
3
  *
4
  * Functions used for the application of watermarks
5
- * Version 7.0.02
6
  *
7
  */
8
 
@@ -496,7 +496,7 @@ function wppa_add_watermark( $id ) {
496
  }
497
 
498
  // accessible
499
- wppa_chmod( $file );
500
 
501
  // Optimized
502
  wppa_optimize_image_file( $file );
2
  /* wppa-watermark.php
3
  *
4
  * Functions used for the application of watermarks
5
+ * Version 7.0.06
6
  *
7
  */
8
 
496
  }
497
 
498
  // accessible
499
+ // wppa_chmod( $file );
500
 
501
  // Optimized
502
  wppa_optimize_image_file( $file );
wppa-wrappers.php CHANGED
@@ -5,7 +5,7 @@
5
  * Contains wrappers for standard php functions
6
  * For security and bug reasons
7
  *
8
- * Version 7.0.03
9
  *
10
  */
11
 
@@ -165,7 +165,7 @@ function wppa_mkdir( $dir ) {
165
 
166
  // Create dir
167
  else {
168
- $bret = mkdir( $dir );
169
 
170
  if ( is_dir( $dir ) ) {
171
  wppa_log( 'Fso', 'Created path: ' . $dir );
@@ -173,12 +173,13 @@ function wppa_mkdir( $dir ) {
173
  else {
174
  wppa_log( 'Err', 'Could not create: ' . $dir );
175
  }
176
- wppa_chmod( $dir );
177
  }
178
 
179
  return $bret;
180
  }
181
 
 
182
  // Wrapper for rmdir
183
  function wppa_rmdir( $dir ) {
184
 
@@ -189,6 +190,7 @@ function wppa_rmdir( $dir ) {
189
 
190
  return rmdir( $dir );
191
  }
 
192
 
193
  // Wrapper for is_dir
194
  function wppa_is_dir( $dir ) {
5
  * Contains wrappers for standard php functions
6
  * For security and bug reasons
7
  *
8
+ * Version 7.0.06
9
  *
10
  */
11
 
165
 
166
  // Create dir
167
  else {
168
+ $bret = wp_mkdir_p( $dir );
169
 
170
  if ( is_dir( $dir ) ) {
171
  wppa_log( 'Fso', 'Created path: ' . $dir );
173
  else {
174
  wppa_log( 'Err', 'Could not create: ' . $dir );
175
  }
176
+ // wppa_chmod( $dir );
177
  }
178
 
179
  return $bret;
180
  }
181
 
182
+ /*
183
  // Wrapper for rmdir
184
  function wppa_rmdir( $dir ) {
185
 
190
 
191
  return rmdir( $dir );
192
  }
193
+ */
194
 
195
  // Wrapper for is_dir
196
  function wppa_is_dir( $dir ) {
wppa.php CHANGED
@@ -2,7 +2,7 @@
2
  /*
3
  * Plugin Name: WP Photo Album Plus
4
  * Description: Easily manage and display your photo albums and slideshows within your WordPress site.
5
- * Version: 7.0.05.016
6
  * Author: J.N. Breetvelt a.k.a. OpaJaap
7
  * Author URI: http://wppa.opajaap.nl/
8
  * Plugin URI: http://wordpress.org/extend/plugins/wp-photo-album-plus/
@@ -23,7 +23,7 @@ global $wp_version;
23
 
24
  /* WPPA GLOBALS */
25
  global $wppa_revno; $wppa_revno = '7005'; // WPPA db version
26
- global $wppa_api_version; $wppa_api_version = '7-0-05-016'; // WPPA software version
27
 
28
  /* start timers */
29
  global $wppa_starttime; $wppa_starttime = microtime( true );
2
  /*
3
  * Plugin Name: WP Photo Album Plus
4
  * Description: Easily manage and display your photo albums and slideshows within your WordPress site.
5
+ * Version: 7.0.06.002
6
  * Author: J.N. Breetvelt a.k.a. OpaJaap
7
  * Author URI: http://wppa.opajaap.nl/
8
  * Plugin URI: http://wordpress.org/extend/plugins/wp-photo-album-plus/
23
 
24
  /* WPPA GLOBALS */
25
  global $wppa_revno; $wppa_revno = '7005'; // WPPA db version
26
+ global $wppa_api_version; $wppa_api_version = '7-0-06-002'; // WPPA software version
27
 
28
  /* start timers */
29
  global $wppa_starttime; $wppa_starttime = microtime( true );