diff --git a/site-default/modules/README.txt b/site-default/modules/README.txt index 922339ed..abe884ee 100644 --- a/site-default/modules/README.txt +++ b/site-default/modules/README.txt @@ -69,9 +69,6 @@ learning module development: There is a module development forum located at: https://processwire.com/talk/forum/19-moduleplugin-development/ -For a tutorial on how to create modules, see: -http://wiki.processwire.com/index.php/Module_Creation - Additional resources -------------------- diff --git a/wire/core/AdminTheme.php b/wire/core/AdminTheme.php index ce7469b3..ea3301f7 100644 --- a/wire/core/AdminTheme.php +++ b/wire/core/AdminTheme.php @@ -95,7 +95,7 @@ abstract class AdminTheme extends WireData implements Module { } /** - * Initialize the admin theme systme and determine which admin theme should be used + * Initialize the admin theme system and determine which admin theme should be used * * All admin themes must call this init() method to register themselves. * diff --git a/wire/core/Config.php b/wire/core/Config.php index 99a7f74d..8f2d2ce8 100644 --- a/wire/core/Config.php +++ b/wire/core/Config.php @@ -121,7 +121,7 @@ * @property bool $moduleCompile Allow use of compiled modules? #pw-group-modules * @property array $wireMail Default WireMail module settings. #pw-group-modules * - * @property array $substituteModules Associative array with names of substitutute modules for when requested module doesn't exist #pw-group-modules + * @property array $substituteModules Associative array with names of substitute modules for when requested module doesn't exist #pw-group-modules * @property array $logs Additional core logs to keep #pw-group-admin * @property string $defaultAdminTheme Default admin theme: AdminThemeDefault or AdminThemeReno #pw-group-admin * @property string $fatalErrorHTML HTML used for fatal error messages in HTTP mode. #pw-group-system diff --git a/wire/modules/Jquery/JqueryUI/panel.js b/wire/modules/Jquery/JqueryUI/panel.js index 6a2733f3..5c789176 100644 --- a/wire/modules/Jquery/JqueryUI/panel.js +++ b/wire/modules/Jquery/JqueryUI/panel.js @@ -163,7 +163,7 @@ var pwPanels = { .attr('href', panelURL) .on('click', pwPanels.buttonClickEvent) .on('mouseover', pwPanels.buttonMouseoverEvent) - .on('mouseut', pwPanels.buttonMouseoutEvent) + .on('mouseout', pwPanels.buttonMouseoutEvent) .append($span); var $panel = $('
') diff --git a/wire/modules/Jquery/JqueryUI/panel.min.js b/wire/modules/Jquery/JqueryUI/panel.min.js index b435bd22..94ef28fe 100644 --- a/wire/modules/Jquery/JqueryUI/panel.min.js +++ b/wire/modules/Jquery/JqueryUI/panel.min.js @@ -1 +1 @@ -var pwPanels={qty:0,init:function(){var a=window.location.href;if(a.indexOf("pw_panel=1")>-1){$(document).on("mouseover","a",function(){var b=$(this);var c=b.attr("target");if(typeof c=="undefined"||c.length==0){b.attr("target","_parent")}})}else{if(a.indexOf("pw_panel=2")>-1){}else{$(".pw-panel").each(function(){var b=$(this);pwPanels.addPanel(b)})}}},addPanel:function(a){var i=a.attr("data-href");var f=a.attr("data-panel-id");var b="pw-panel-container-"+(++pwPanels.qty);if(typeof i=="undefined"||!i.length){i=a.attr("href")}if(typeof i!="undefined"&&i.length){var d="";if(i.indexOf("#")>-1){var c=i.split("#");i=c[0];d="#"+c[1]}i+=(i.indexOf("?")>-1?"&":"?")+"modal=panel&pw_panel=";if(a!==null&&a.hasClass("pw-panel-links")){i+="2"}else{i+="1"}i+=d}var e=$("").attr("class","pw-panel-icon fa fa-angle-double-left");var g=$("").attr("class","ui-button-text").append(e);var h=$("").attr("class","pw-panel-button pw-panel-button-closed ui-button ui-state-default").attr("href",i).on("click",pwPanels.buttonClickEvent).on("mouseover",pwPanels.buttonMouseoverEvent).on("mouseut",pwPanels.buttonMouseoutEvent).append(g);var j=$("
").attr("id",b).attr("class","pw-panel-container pw-panel-container-closed").append(h);$("body").append(j);if(typeof f!="undefined"&&f.length){$("#"+f).hide().addClass("pw-panel-element");j.addClass("pw-panel-container-element").attr("data-panel-id",f)}if(a!==null){pwPanels.initToggler(a,h,j)}else{j.addClass("pw-panel-left")}},initToggler:function(c,k,m){var f=c.hasClass("pw-panel-right")?"right":"left";var l=c.attr("data-tab-text");var i=c.attr("data-tab-icon");var g=c.attr("data-tab-offset");var b=c.attr("data-panel-width");var e=f=="right"?"left":"right";var d=1;m.addClass("pw-panel-tab pw-panel-"+f);m.attr("data-href",k.attr("href"));if(c.hasClass("pw-panel-reload")){m.addClass("pw-panel-reload")}if(typeof g!="undefined"){g=parseInt(g);if(g>-1){k.css("top",g+"px")}else{k.css("top","auto");k.css("bottom",Math.abs(g)+"px")}}if(typeof l!="undefined"&&l.length){var a=k.children(".ui-button-text");var j=$("").text(l);a.html(""+j.text()+"");k.addClass("pw-panel-button-text");d=7}if(typeof i!="undefined"&&i.length){var h=$("").addClass("fa fa-fw fa-"+i);var j=k.children(".ui-button-text");if(k.hasClass("pw-panel-button-text")){j.prepend(h)}else{j.empty().append(h);k.css(e,(-1*(k.outerWidth()))+"px")}}if(typeof b!="undefined"&&b.length){m.css("width",b);m.css(f,"-"+b)}if(f=="right"){}else{k.css("right",(-1*(d+k.height()))+"px")}if(!c.hasClass("pw-panel-tab")){k.addClass("pw-panel-button-hidden")}c.click(function(){k.click();return false}).on("mouseover",function(){k.mouseover()}).on("mouseout",function(){k.mouseout()})},initPanelContent:function(d){var b=d.find(".pw-panel-content");var a=d.attr("data-panel-id");if(b.length){return b}else{if(typeof a!="undefined"){var c=$("#"+a);if(c.length){b=$("
").addClass("pw-panel-content").css("overflow","auto");d.append(b);b.append(c);c.show();c.trigger("pw-panel-init")}}else{b=$("