Version Description
- Prevent Finder (Mac) and Ghostscript viewing / processing password-protected PDFs without a password (GH#467)
- Fix Font Manager display issues for users running a version of WP lower than 4.5 (GH#470)
- Ensure new lines in Header / Footer automatically convert to
or
tags using wpautop() (GH#472) - Fix issue in $form_data where Radio / Checkbox fields wouldn't display site-owner entered HTML (GH#415)
- Fixed conflict with Enhanced Media Library plugin (GH#433)
- Fixed issue with encoded characters in saved PDF filename (GH#475)
- Fixed issue where PDF settings would always set to "active" when saved (GH#477)
- Fixed depreciation notice for multisites using WordPress 4.6 (GH#479)
- Apply esc_html() and esc_url() to PDF name and URL in admin area (GH#484)
Download this release
Release Info
Developer | Blue Liquid Designs |
Plugin | Gravity PDF |
Version | 4.0.4 |
Comparing to | |
See all releases |
Code changes from version 4.0.3 to 4.0.4
- README.txt +16 -2
- pdf.php +2 -2
- src/assets/js/gfpdf-backbone.js +3 -3
- src/assets/js/gfpdf-backbone.min.js +1 -1
- src/assets/languages/gravity-forms-pdf-extended.pot +14 -15
- src/bootstrap.php +3 -3
- src/helper/Helper_Misc.php +29 -7
- src/helper/Helper_PDF.php +1 -1
- src/helper/fields/Field_Checkbox.php +3 -2
- src/helper/fields/Field_Radio.php +6 -5
- src/model/Model_Actions.php +7 -3
- src/model/Model_Form_Settings.php +4 -1
- src/model/Model_Install.php +2 -1
- src/model/Model_PDF.php +6 -3
- src/view/html/PDF/entry_detailed_pdf.php +3 -3
- src/view/html/PDF/entry_list_pdf_multiple.php +1 -1
- src/view/html/PDF/entry_list_pdf_single.php +1 -1
- vendor/autoload.php +1 -1
- vendor/blueliquiddesigns/mpdf/classes/ttfontsuni.php +4 -4
- vendor/blueliquiddesigns/mpdf/mpdf.php +0 -2
- vendor/composer/autoload_real.php +28 -17
- vendor/composer/autoload_static.php +361 -0
- vendor/composer/installed.json +59 -59
- vendor/querypath/querypath/README.md +4 -5
- vendor/querypath/querypath/src/QueryPath/DOMQuery.php +1 -1
README.txt
CHANGED
@@ -5,7 +5,7 @@ Donate link: https://gravitypdf.com/donate-to-plugin/
|
|
5 |
Tags: gravity, forms, pdf, automation, attachment, email
|
6 |
Requires at least: 4.2
|
7 |
Tested up to: 4.6
|
8 |
-
Stable tag: 4.0.
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl.txt
|
11 |
|
@@ -34,7 +34,7 @@ The plugin ships with four highly-customisable PDF templates perfectly suited fo
|
|
34 |
|
35 |
= Requirements =
|
36 |
|
37 |
-
Gravity PDF can be run on most shared web hosting without any issues. It requires **PHP 5.4+** (PHP 7.0+ recommended) and at least 64MB of WP Memory (128MB+ recommended). You'll also need to be running WordPress 4.2+ and have [Gravity Forms 1.9+](
|
38 |
|
39 |
If you aren't sure Gravity PDF will meet your needs (and haven't got a Gravity Forms license yet) you can [try out the software via our demo site](https://demo.gravitypdf.com).
|
40 |
|
@@ -85,6 +85,17 @@ Also, if you enjoy using the software [we'd love it if you could give us a revie
|
|
85 |
|
86 |
== Changelog ==
|
87 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
88 |
= 4.0.3 =
|
89 |
* Fix incorrect product calculations when using decimal comma format eg. 1.000,50 (GH#442)
|
90 |
* Rename $config variable to $html_config in core templates (GH#451)
|
@@ -168,6 +179,9 @@ See [CHANGELOG.txt](https://github.com/GravityPDF/gravity-pdf/blob/master/CHANGE
|
|
168 |
|
169 |
== Upgrade Notice ==
|
170 |
|
|
|
|
|
|
|
171 |
= 4.0.3 =
|
172 |
The core PDF templates have been updated to version 1.1. If you've previously run the Custom Template Setup make sure you run it again to take advantage of the changes.
|
173 |
|
5 |
Tags: gravity, forms, pdf, automation, attachment, email
|
6 |
Requires at least: 4.2
|
7 |
Tested up to: 4.6
|
8 |
+
Stable tag: 4.0.4
|
9 |
License: GPLv2 or later
|
10 |
License URI: http://www.gnu.org/licenses/gpl.txt
|
11 |
|
34 |
|
35 |
= Requirements =
|
36 |
|
37 |
+
Gravity PDF can be run on most shared web hosting without any issues. It requires **PHP 5.4+** (PHP 7.0+ recommended) and at least 64MB of WP Memory (128MB+ recommended). You'll also need to be running WordPress 4.2+ and have [Gravity Forms 1.9+](https://www.e-junkie.com/ecom/gb.php?cl=54585&c=ib&aff=235154) (affiliate link).
|
38 |
|
39 |
If you aren't sure Gravity PDF will meet your needs (and haven't got a Gravity Forms license yet) you can [try out the software via our demo site](https://demo.gravitypdf.com).
|
40 |
|
85 |
|
86 |
== Changelog ==
|
87 |
|
88 |
+
= 4.0.4 =
|
89 |
+
* Prevent Finder (Mac) and Ghostscript viewing / processing password-protected PDFs without a password (GH#467)
|
90 |
+
* Fix Font Manager display issues for users running a version of WP lower than 4.5 (GH#470)
|
91 |
+
* Ensure new lines in Header / Footer automatically convert to <p> or <br> tags using wpautop() (GH#472)
|
92 |
+
* Fix issue in $form_data where Radio / Checkbox fields wouldn't display site-owner entered HTML (GH#415)
|
93 |
+
* Fixed conflict with Enhanced Media Library plugin (GH#433)
|
94 |
+
* Fixed issue with encoded characters in saved PDF filename (GH#475)
|
95 |
+
* Fixed issue where PDF settings would always set to "active" when saved (GH#477)
|
96 |
+
* Fixed depreciation notice for multisites using WordPress 4.6 (GH#479)
|
97 |
+
* Apply esc_html() and esc_url() to PDF name and URL in admin area (GH#484)
|
98 |
+
|
99 |
= 4.0.3 =
|
100 |
* Fix incorrect product calculations when using decimal comma format eg. 1.000,50 (GH#442)
|
101 |
* Rename $config variable to $html_config in core templates (GH#451)
|
179 |
|
180 |
== Upgrade Notice ==
|
181 |
|
182 |
+
= 4.0.4 =
|
183 |
+
This patch fixes a PDF security by-passing issue. If you use the PDF Security settings update immediately.
|
184 |
+
|
185 |
= 4.0.3 =
|
186 |
The core PDF templates have been updated to version 1.1. If you've previously run the Custom Template Setup make sure you run it again to take advantage of the changes.
|
187 |
|
pdf.php
CHANGED
@@ -1,7 +1,7 @@
|
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Gravity PDF
|
4 |
-
Version: 4.0.
|
5 |
Description: Automatically generate highly-customisable PDF documents using Gravity Forms.
|
6 |
Author: Gravity PDF
|
7 |
Author URI: https://gravitypdf.com
|
@@ -38,7 +38,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
38 |
* Set base constants we'll use throughout the plugin
|
39 |
*/
|
40 |
|
41 |
-
define( 'PDF_EXTENDED_VERSION', '4.0.
|
42 |
define( 'PDF_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); /* plugin directory path */
|
43 |
define( 'PDF_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); /* plugin directory url */
|
44 |
define( 'PDF_PLUGIN_BASENAME', plugin_basename( __FILE__ ) ); /* the plugin basename */
|
1 |
<?php
|
2 |
/*
|
3 |
Plugin Name: Gravity PDF
|
4 |
+
Version: 4.0.4
|
5 |
Description: Automatically generate highly-customisable PDF documents using Gravity Forms.
|
6 |
Author: Gravity PDF
|
7 |
Author URI: https://gravitypdf.com
|
38 |
* Set base constants we'll use throughout the plugin
|
39 |
*/
|
40 |
|
41 |
+
define( 'PDF_EXTENDED_VERSION', '4.0.4' ); /* the current plugin version */
|
42 |
define( 'PDF_PLUGIN_DIR', plugin_dir_path( __FILE__ ) ); /* plugin directory path */
|
43 |
define( 'PDF_PLUGIN_URL', plugin_dir_url( __FILE__ ) ); /* plugin directory url */
|
44 |
define( 'PDF_PLUGIN_BASENAME', plugin_basename( __FILE__ ) ); /* the plugin basename */
|
src/assets/js/gfpdf-backbone.js
CHANGED
@@ -330,7 +330,7 @@
|
|
330 |
}, this);
|
331 |
} else {
|
332 |
/* Display getting started message to user */
|
333 |
-
this.$el.html(_.template($( '#GravityPDFFontsEmpty' ).html(), UnderscoreSettingsOverride));
|
334 |
}
|
335 |
|
336 |
/* Return for chaining purposes */
|
@@ -438,7 +438,7 @@
|
|
438 |
render: function() {
|
439 |
|
440 |
/* Set up our Underscore template file */
|
441 |
-
this.template = _.template($( this.template ).html(), UnderscoreSettingsOverride);
|
442 |
|
443 |
/* Set View Element HTML to our Underscore template, passing in our model */
|
444 |
this.$el.html(this.template({
|
@@ -1016,7 +1016,7 @@
|
|
1016 |
|
1017 |
render: function() {
|
1018 |
/* set up out template */
|
1019 |
-
this.template = _.template($(this.template).html(), UnderscoreSettingsOverride);
|
1020 |
|
1021 |
/* show the loading spinner */
|
1022 |
this.showSpinner();
|
330 |
}, this);
|
331 |
} else {
|
332 |
/* Display getting started message to user */
|
333 |
+
this.$el.html(_.template($( '#GravityPDFFontsEmpty' ).html(), null, UnderscoreSettingsOverride));
|
334 |
}
|
335 |
|
336 |
/* Return for chaining purposes */
|
438 |
render: function() {
|
439 |
|
440 |
/* Set up our Underscore template file */
|
441 |
+
this.template = _.template($( this.template ).html(), null, UnderscoreSettingsOverride);
|
442 |
|
443 |
/* Set View Element HTML to our Underscore template, passing in our model */
|
444 |
this.$el.html(this.template({
|
1016 |
|
1017 |
render: function() {
|
1018 |
/* set up out template */
|
1019 |
+
this.template = _.template($(this.template).html(), null, UnderscoreSettingsOverride);
|
1020 |
|
1021 |
/* show the loading spinner */
|
1022 |
this.showSpinner();
|
src/assets/js/gfpdf-backbone.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
!function(e){e(function(){function u(){this.init=function(){this.is_settings()&&this.processSettings()},this.is_settings=function(){return e("#tab_PDF").length},this.processSettings=function(){var u=e(".nav-tab-wrapper a.nav-tab-active:first").text();switch(u){case"Tools":this.tools_settings();break;case"Help":this.help_settings()}},this.help_settings=function(){new n.ContainerView},this.tools_settings=function(){var e=JSON.parse(GFPDF.custom_fonts),u=new i.Collection.Core(e),t=new i.View.Container({collection:u});new i.View.Add({collection:u,container:t})}}var t={evaluate:/\{\{(.+?)\}\}/gim,interpolate:/\{\{=(.+?)\}\}/gim,escape:/\{\{-(.+?)\}\}/gim},i={Model:{},Collection:{},View:{},Misc:{}};i.Model.Core=Backbone.Model.extend({defaults:{font_name:"",regular:"",bold:"",italics:"",bolditalics:"",disabled:!1},url:GFPDF.ajaxurl,save:function(u,t){var i={emulateHTTP:!0,emulateJSON:!0,data:{action:"gfpdf_font_save",nonce:u.nonce,payload:this.toJSON()}};return e.extend(i,t),Backbone.sync("update",this,i)},destroy:function(u,t){var i={emulateHTTP:!0,emulateJSON:!0,data:{action:"gfpdf_font_delete",nonce:u.nonce,id:this.get("id")}};return e.extend(i,t),Backbone.sync("update",this,i)},validate:function(e,u){var t=new RegExp("^[A-Za-z0-9 ]+$");if(e.font_name.length>0){if(!t.test(e.font_name))return"invalid_characters";this.trigger("valid_name")}return this.validateFonts(e)===!1?"invalid_font":void this.trigger("validation_passed",this)},validateFonts:function(u){var t=!0,i={regular:u.regular,bold:u.bold,italics:u.italics,bolditalics:u.bolditalics};return e.each(i,e.proxy(function(e,u){u.length>0&&this.isValidFile(u)===!1?(t=!1,this.trigger("invalid_font",this,!0,e)):this.trigger("valid_font",this,!1,e)},this)),t},isValidFile:function(e){if(e.length<5)return!1;var u=e.substr(e.length-4).toLowerCase();if(".ttf"===u||".otf"===u){var t=new RegExp(/^[a-z](?:[-a-z0-9\+\.])*:(?:\/\/(?:(?:%[0-9a-f][0-9a-f]|[-a-z0-9\._~!\$&'\(\)\*\+,;=:\xA0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[\uD800-\uD83E\uD840-\uD87E\uD880-\uD8BE\uD8C0-\uD8FE\uD900-\uD93E\uD940-\uD97E\uD980-\uD9BE\uD9C0-\uD9FE\uDA00-\uDA3E\uDA40-\uDA7E\uDA80-\uDABE\uDAC0-\uDAFE\uDB00-\uDB3E\uDB44-\uDB7E][\uDC00-\uDFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F][\uDC00-\uDFFD])*@)?(?:\[(?:(?:(?:[0-9a-f]{1,4}:){6}(?:[0-9a-f]{1,4}:[0-9a-f]{1,4}|(?:[0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])(?:\.(?:[0-9]|[1-9][0-9]|1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7E][\uDC00-\uDFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F][\uDC00-\uDFFD]))+)(?:\/(?:(?:%[0-9a-f][0-9a-f]|[-a-z0-9\._~!\$&'\(\)\*\+,;=:@\xA0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[\uD800-\uD83E\uD840-\uD87E\uD880-\uD8BE\uD8C0-\uD8FE\uD900-\uD93E\uD940-\uD97E\uD980-\uD9BE\uD9C0-\uD9FE\uDA00-\uDA3E\uDA40-\uDA7E\uDA80-\uDABE\uDAC0-\uDAFE\uDB00-\uDB3E\uDB44-\uDB7E][\uDC00-\uDFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F][\uDC00-\uDFFD]))*)*|(?!(?:%[0-9a-f][0-9a-f]|[-a-z0-9\._~!\$&'\(\)\*\+,;=:@\xA0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[\uD800-\uD83E\uD840-\uD87E\uD880-\uD8BE\uD8C0-\uD8FE\uD900-\uD93E\uD940-\uD97E\uD980-\uD9BE\uD9C0-\uD9FE\uDA00-\uDA3E\uDA40-\uDA7E\uDA80-\uDABE\uDAC0-\uDAFE\uDB00-\uDB3E\uDB44-\uDB7E][\uDC00-\uDFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F][\uDC00-\uDFFD])))(?:\?(?:%[0-9a-f][0-9a-f]|[-a-z0-9\._~!\$&'\(\)\*\+,;=:@\/\?\xA0-\uD7FF\uE000-\uFDCF\uFDF0-\uFFEF]|[\uD800-\uD83E\uD840-\uD87E\uD880-\uD8BE\uD8C0-\uD8FE\uD900-\uD93E\uD940-\uD97E\uD980-\uD9BE\uD9C0-\uD9FE\uDA00-\uDA3E\uDA40-\uDA7E\uDA80-\uDABE\uDAC0-\uDAFE\uDB00-\uDB3E\uDB44-\uDB7E\uDB80-\uDBBE\uDBC0-\uDBFE][\uDC00-\uDFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDC00-\uDFFD])*)?(?:\#(?:%[0-9a-f][0-9a-f]|[-a-z0-9\._~!\$&'\(\)\*\+,;=:@\/\?\xA0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[\uD800-\uD83E\uD840-\uD87E\uD880-\uD8BE\uD8C0-\uD8FE\uD900-\uD93E\uD940-\uD97E\uD980-\uD9BE\uD9C0-\uD9FE\uDA00-\uDA3E\uDA40-\uDA7E\uDA80-\uDABE\uDAC0-\uDAFE\uDB00-\uDB3E\uDB44-\uDB7E][\uDC00-\uDFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F][\uDC00-\uDFFD])*)?$/gim);if(t.test(e))return!0}return!1},cssDeclaration:function(e,u,t,i){var n=i.getShortname(u);return'font-family: "'+u+'", '+n+", sans-serif;"},getShortname:function(e){return e=e.toLowerCase(),e=e.replace(" ","")}}),i.Collection.Core=Backbone.Collection.extend({model:i.Model.Core}),i.View.Container=Backbone.View.extend({el:"#font-list",tagName:"ul",initialize:function(e){this.listenTo(this.collection,"add",this.addRender),this.listenTo(this.collection,"remove",this.render),this.render()},render:function(){return this.collection.length>0?(this.$el.empty(),this.collection.each(function(e){this.addRender(e)},this)):this.$el.html(_.template(e("#GravityPDFFontsEmpty").html(),t)),this},addRender:function(e){1===this.collection.length&&this.$el.empty();var u=new i.View.Item({model:e,collection:this.collection});return this.$el.append(u.render().el),this}}),i.View.Item=Backbone.View.extend({template:"#GravityPDFFonts",tagName:"li",events:{"click .font-name":"toggleView","click .delete-font":"deleteModel","submit form":"formSubmission"},initialize:function(){this.modelBinder=new Backbone.ModelBinder,this.listenTo(this.model,"invalid valid_name",this.nameError),this.listenTo(this.model,"invalid_font valid_font",this.fontError),this.listenTo(this.model,"invalid",this.disableSubmitButton),this.listenTo(this.model,"validation_passed",this.enableSubmitButton)},render:function(){return this.template=_.template(e(this.template).html(),t),this.$el.html(this.template({model:this.model})),this.modelBinder.bind(this.model,this.el,{font_name:[{selector:"[name=font_name]"},{selector:"[name=usage]",converter:this.model.cssDeclaration}],regular:"[name=regular]",bold:"[name=bold]",italics:"[name=italics]",bolditalics:"[name=bolditalics]"},{changeTriggers:{"":"change",".font-name-field":"keyup"},modelSetOptions:{validate:!0}}),this},toggleView:function(u){u.preventDefault(),e(u.currentTarget).next().toggle()},nameError:function(e,u){u&&"invalid_characters"==u?this.$el.find('input[name="font_name"]').css("border-color","red"):this.$el.find('input[name="font_name"]').removeAttr("style")},fontError:function(u,t,i){$input=this.$el.find('input[name="'+i+'"]'),t?($error=e('<span class="gf_settings_description"><label>Only TTF and OTF font files are supported.</label></span>'),$input.hasClass("invalid")||$input.addClass("invalid").next().after($error.clone())):$input.hasClass("invalid")&&$input.removeClass("invalid").next().next().remove()},disableSubmitButton:function(e){this.$el.find(".font-submit button").prop("disabled",!0),e.set("disabled",!0)},enableSubmitButton:function(e){this.$el.find(".font-submit button").prop("disabled",!1),e.set("disabled",!1)},formSubmission:function(u){u.preventDefault();e(u.currentTarget);u.currentTarget.checkValidity()&&this.model.get("disabled")===!1&&(this.addSpinner(),this.removeMessage(),console.log(this.model),this.model.save({nonce:this.$el.find("input[name=wpnonce]").val()},{success:e.proxy(function(e,u,t){this.removeSpinner(),this.displayMessage(GFPDF.update_success),this.model.set(e)},this),error:e.proxy(function(e,u,t){this.removeSpinner(),e.responseJSON.error&&this.displayMessage(e.responseJSON.error,!0)},this)}))},deleteModel:function(u){u.preventDefault();var t=e("#delete-confirm"),n=[{text:GFPDF.pdf_list_delete_confirm,click:e.proxy(function(){t.wpdialog("destroy"),this.model.get("id")?(this.addSpinner(),this.removeMessage(),this.$el.hide(),this.model.destroy({nonce:this.$el.find("input[name=wpnonce]").val()},{success:e.proxy(function(e,u,t){this.removeSpinner(),this.displayMessage(GFPDF.delete_success),this.collection.remove(this.model)},this),error:e.proxy(function(e,u,t){this.removeSpinner(),this.collection.remove(this.model),e.responseJSON.error&&this.displayMessage(e.responseJSON.error,!0)},this)})):this.collection.remove(this.model)},this)},{text:GFPDF.tools_cancel,click:function(){t.wpdialog("destroy")}}];i.Misc.Dialog(t,n,300,175),t.wpdialog("open")},addSpinner:function(){var u=e('<img alt="Loading" src="'+GFPDF.spinnerUrl+'" class="gfpdf-spinner" style="margin-top: 4px;" />');this.$el.find(".font-submit button").after(u)},removeSpinner:function(){this.$el.find(".gfpdf-spinner").remove()},displayMessage:function(u,t){var i=e('<div class="updated notice">');t===!0&&i.addClass("error"),i.html("<p>"+u+"</p>"),this.$el.find("form").before(i)},removeMessage:function(){this.$el.find("div.notice").slideUp(function(){e(this).remove()})}}),i.View.Add=Backbone.View.extend({el:"#font-add-list",events:{click:"addFont"},initialize:function(e){this.container=e.container,this.render()},render:function(){this.$el.html('<i class="fa fa-plus fa-4x"></i><span>Add Font</span>')},addFont:function(e){var u=new i.Model.Core;this.collection.add(u),this.container.$el.find("li:last .font-settings").toggle().find('input[type="text"]:first').focus()}}),i.Misc.Dialog=function(u,t,i,n){u.wpdialog({autoOpen:!1,resizable:!1,draggable:!1,width:i,height:n,modal:!0,dialogClass:"wp-dialog",zIndex:3e5,buttons:t,open:function(){e(this).siblings(".ui-dialog-buttonpane").find("button:eq(1)").focus(),e(".ui-widget-overlay").bind("click",function(){u.wpdialog("close")})}})};var n={};n.SearchModel=Backbone.Model.extend({}),n.SearchCollection=Backbone.Collection.extend({model:n.SearchModel,initialize:function(e,u){this.url=u.url}}),n.ContainerView=Backbone.View.extend({el:"#search-knowledgebase",events:{"keyup #search-help-input":"doSearch","change #search-help-input":"doSearch"},initialize:function(){this.timer=!0,this.render()},render:function(){return this.addSearchBar(),this},addSearchBar:function(){var u=e("<input>").attr("type","text").attr("placeholder"," "+GFPDF.help_search_placeholder).attr("id","search-help-input");this.$el.prepend(u),u.tooltip({items:"input",content:"The search must be more than 3 characters.",tooltipClass:"ui-state-error"}).tooltip("disable"),u.focus()},doSearch:function(u){var t=e(u.currentTarget);window.clearTimeout(this.timer);var i=e.trim(t.val());t.data("currentValue");i.length>3&&t.data("previousValue")!==i?(t.tooltip("disable"),t.data("currentValue",i),this.timer=window.setTimeout(_.bind(function(){this.processSearch(i)},this),500)):i.length<=3&&13==u.keyCode&&t.tooltip("enable").tooltip("open")},processSearch:function(e){console.log("Searching our collection..."),new n.DocsView({s:e})}}),n.MainView=Backbone.View.extend({callAPI:function(e){this.collection.fetch({success:_.bind(this.renderSearch,this),error:_.bind(this.renderSearchError)})},renderSearch:function(e,u){console.log("Rendering Search Results"),this.hideSpinner();var t=this.$el.find(".inside ul");t.html(this.template({collection:this.collection.toJSON(),url:this.url}));var i=t.parent();i.is(":visible")||i.slideDown(500)},renderSearchError:function(e,u){console.log("Search Failed"),console.log(e),console.log(u)},showSpinner:function(){this.$el.find(".spinner").addClass("is-active"),this.$el.is(":visible")||this.$el.slideDown(500)},hideSpinner:function(){this.$el.find(".spinner").removeClass("is-active")}}),n.DocsView=n.MainView.extend({el:"#documentation-api",template:"#GravityPDFSearchResultsDocumentation",initialize:function(e){this.url="https://gravitypdf.com/wp-json/wp/v2/v4_docs/",this.s=e.s,this.render()},render:function(){this.template=_.template(e(this.template).html(),t),this.showSpinner();var u=encodeURIComponent(this.s),i=this.url+"?search="+u;return this.collection=new n.SearchCollection([],{url:i}),this.callAPI(i),this}});var D=new u;D.init()})}(jQuery);
|
1 |
+
!function(e){e(function(){function u(){this.init=function(){this.is_settings()&&this.processSettings()},this.is_settings=function(){return e("#tab_PDF").length},this.processSettings=function(){var u=e(".nav-tab-wrapper a.nav-tab-active:first").text();switch(u){case"Tools":this.tools_settings();break;case"Help":this.help_settings()}},this.help_settings=function(){new n.ContainerView},this.tools_settings=function(){var e=JSON.parse(GFPDF.custom_fonts),u=new i.Collection.Core(e),t=new i.View.Container({collection:u});new i.View.Add({collection:u,container:t})}}var t={evaluate:/\{\{(.+?)\}\}/gim,interpolate:/\{\{=(.+?)\}\}/gim,escape:/\{\{-(.+?)\}\}/gim},i={Model:{},Collection:{},View:{},Misc:{}};i.Model.Core=Backbone.Model.extend({defaults:{font_name:"",regular:"",bold:"",italics:"",bolditalics:"",disabled:!1},url:GFPDF.ajaxurl,save:function(u,t){var i={emulateHTTP:!0,emulateJSON:!0,data:{action:"gfpdf_font_save",nonce:u.nonce,payload:this.toJSON()}};return e.extend(i,t),Backbone.sync("update",this,i)},destroy:function(u,t){var i={emulateHTTP:!0,emulateJSON:!0,data:{action:"gfpdf_font_delete",nonce:u.nonce,id:this.get("id")}};return e.extend(i,t),Backbone.sync("update",this,i)},validate:function(e,u){var t=new RegExp("^[A-Za-z0-9 ]+$");if(e.font_name.length>0){if(!t.test(e.font_name))return"invalid_characters";this.trigger("valid_name")}return this.validateFonts(e)===!1?"invalid_font":void this.trigger("validation_passed",this)},validateFonts:function(u){var t=!0,i={regular:u.regular,bold:u.bold,italics:u.italics,bolditalics:u.bolditalics};return e.each(i,e.proxy(function(e,u){u.length>0&&this.isValidFile(u)===!1?(t=!1,this.trigger("invalid_font",this,!0,e)):this.trigger("valid_font",this,!1,e)},this)),t},isValidFile:function(e){if(e.length<5)return!1;var u=e.substr(e.length-4).toLowerCase();if(".ttf"===u||".otf"===u){var t=new RegExp(/^[a-z](?:[-a-z0-9\+\.])*:(?:\/\/(?:(?:%[0-9a-f][0-9a-f]|[-a-z0-9\._~!\$&'\(\)\*\+,;=:\xA0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[\uD800-\uD83E\uD840-\uD87E\uD880-\uD8BE\uD8C0-\uD8FE\uD900-\uD93E\uD940-\uD97E\uD980-\uD9BE\uD9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\uDAC0-\uDAFE\uDB00-\uDB3E\uDB44-\uDB7E][\uDC00-\uDFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F][\uDC00-\uDFFD])))(?:\?(?:%[0-9a-f][0-9a-f]|[-a-z0-9\._~!\$&'\(\)\*\+,;=:@\/\?\xA0-\uD7FF\uE000-\uFDCF\uFDF0-\uFFEF]|[\uD800-\uD83E\uD840-\uD87E\uD880-\uD8BE\uD8C0-\uD8FE\uD900-\uD93E\uD940-\uD97E\uD980-\uD9BE\uD9C0-\uD9FE\uDA00-\uDA3E\uDA40-\uDA7E\uDA80-\uDABE\uDAC0-\uDAFE\uDB00-\uDB3E\uDB44-\uDB7E\uDB80-\uDBBE\uDBC0-\uDBFE][\uDC00-\uDFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F\uDBBF\uDBFF][\uDC00-\uDFFD])*)?(?:\#(?:%[0-9a-f][0-9a-f]|[-a-z0-9\._~!\$&'\(\)\*\+,;=:@\/\?\xA0-\uD7FF\uF900-\uFDCF\uFDF0-\uFFEF]|[\uD800-\uD83E\uD840-\uD87E\uD880-\uD8BE\uD8C0-\uD8FE\uD900-\uD93E\uD940-\uD97E\uD980-\uD9BE\uD9C0-\uD9FE\uDA00-\uDA3E\uDA40-\uDA7E\uDA80-\uDABE\uDAC0-\uDAFE\uDB00-\uDB3E\uDB44-\uDB7E][\uDC00-\uDFFF]|[\uD83F\uD87F\uD8BF\uD8FF\uD93F\uD97F\uD9BF\uD9FF\uDA3F\uDA7F\uDABF\uDAFF\uDB3F\uDB7F][\uDC00-\uDFFD])*)?$/gim);if(t.test(e))return!0}return!1},cssDeclaration:function(e,u,t,i){var n=i.getShortname(u);return'font-family: "'+u+'", '+n+", sans-serif;"},getShortname:function(e){return e=e.toLowerCase(),e=e.replace(" ","")}}),i.Collection.Core=Backbone.Collection.extend({model:i.Model.Core}),i.View.Container=Backbone.View.extend({el:"#font-list",tagName:"ul",initialize:function(e){this.listenTo(this.collection,"add",this.addRender),this.listenTo(this.collection,"remove",this.render),this.render()},render:function(){return this.collection.length>0?(this.$el.empty(),this.collection.each(function(e){this.addRender(e)},this)):this.$el.html(_.template(e("#GravityPDFFontsEmpty").html(),null,t)),this},addRender:function(e){1===this.collection.length&&this.$el.empty();var u=new i.View.Item({model:e,collection:this.collection});return this.$el.append(u.render().el),this}}),i.View.Item=Backbone.View.extend({template:"#GravityPDFFonts",tagName:"li",events:{"click .font-name":"toggleView","click .delete-font":"deleteModel","submit form":"formSubmission"},initialize:function(){this.modelBinder=new Backbone.ModelBinder,this.listenTo(this.model,"invalid valid_name",this.nameError),this.listenTo(this.model,"invalid_font valid_font",this.fontError),this.listenTo(this.model,"invalid",this.disableSubmitButton),this.listenTo(this.model,"validation_passed",this.enableSubmitButton)},render:function(){return this.template=_.template(e(this.template).html(),null,t),this.$el.html(this.template({model:this.model})),this.modelBinder.bind(this.model,this.el,{font_name:[{selector:"[name=font_name]"},{selector:"[name=usage]",converter:this.model.cssDeclaration}],regular:"[name=regular]",bold:"[name=bold]",italics:"[name=italics]",bolditalics:"[name=bolditalics]"},{changeTriggers:{"":"change",".font-name-field":"keyup"},modelSetOptions:{validate:!0}}),this},toggleView:function(u){u.preventDefault(),e(u.currentTarget).next().toggle()},nameError:function(e,u){u&&"invalid_characters"==u?this.$el.find('input[name="font_name"]').css("border-color","red"):this.$el.find('input[name="font_name"]').removeAttr("style")},fontError:function(u,t,i){$input=this.$el.find('input[name="'+i+'"]'),t?($error=e('<span class="gf_settings_description"><label>Only TTF and OTF font files are supported.</label></span>'),$input.hasClass("invalid")||$input.addClass("invalid").next().after($error.clone())):$input.hasClass("invalid")&&$input.removeClass("invalid").next().next().remove()},disableSubmitButton:function(e){this.$el.find(".font-submit button").prop("disabled",!0),e.set("disabled",!0)},enableSubmitButton:function(e){this.$el.find(".font-submit button").prop("disabled",!1),e.set("disabled",!1)},formSubmission:function(u){u.preventDefault();e(u.currentTarget);u.currentTarget.checkValidity()&&this.model.get("disabled")===!1&&(this.addSpinner(),this.removeMessage(),console.log(this.model),this.model.save({nonce:this.$el.find("input[name=wpnonce]").val()},{success:e.proxy(function(e,u,t){this.removeSpinner(),this.displayMessage(GFPDF.update_success),this.model.set(e)},this),error:e.proxy(function(e,u,t){this.removeSpinner(),e.responseJSON.error&&this.displayMessage(e.responseJSON.error,!0)},this)}))},deleteModel:function(u){u.preventDefault();var t=e("#delete-confirm"),n=[{text:GFPDF.pdf_list_delete_confirm,click:e.proxy(function(){t.wpdialog("destroy"),this.model.get("id")?(this.addSpinner(),this.removeMessage(),this.$el.hide(),this.model.destroy({nonce:this.$el.find("input[name=wpnonce]").val()},{success:e.proxy(function(e,u,t){this.removeSpinner(),this.displayMessage(GFPDF.delete_success),this.collection.remove(this.model)},this),error:e.proxy(function(e,u,t){this.removeSpinner(),this.collection.remove(this.model),e.responseJSON.error&&this.displayMessage(e.responseJSON.error,!0)},this)})):this.collection.remove(this.model)},this)},{text:GFPDF.tools_cancel,click:function(){t.wpdialog("destroy")}}];i.Misc.Dialog(t,n,300,175),t.wpdialog("open")},addSpinner:function(){var u=e('<img alt="Loading" src="'+GFPDF.spinnerUrl+'" class="gfpdf-spinner" style="margin-top: 4px;" />');this.$el.find(".font-submit button").after(u)},removeSpinner:function(){this.$el.find(".gfpdf-spinner").remove()},displayMessage:function(u,t){var i=e('<div class="updated notice">');t===!0&&i.addClass("error"),i.html("<p>"+u+"</p>"),this.$el.find("form").before(i)},removeMessage:function(){this.$el.find("div.notice").slideUp(function(){e(this).remove()})}}),i.View.Add=Backbone.View.extend({el:"#font-add-list",events:{click:"addFont"},initialize:function(e){this.container=e.container,this.render()},render:function(){this.$el.html('<i class="fa fa-plus fa-4x"></i><span>Add Font</span>')},addFont:function(e){var u=new i.Model.Core;this.collection.add(u),this.container.$el.find("li:last .font-settings").toggle().find('input[type="text"]:first').focus()}}),i.Misc.Dialog=function(u,t,i,n){u.wpdialog({autoOpen:!1,resizable:!1,draggable:!1,width:i,height:n,modal:!0,dialogClass:"wp-dialog",zIndex:3e5,buttons:t,open:function(){e(this).siblings(".ui-dialog-buttonpane").find("button:eq(1)").focus(),e(".ui-widget-overlay").bind("click",function(){u.wpdialog("close")})}})};var n={};n.SearchModel=Backbone.Model.extend({}),n.SearchCollection=Backbone.Collection.extend({model:n.SearchModel,initialize:function(e,u){this.url=u.url}}),n.ContainerView=Backbone.View.extend({el:"#search-knowledgebase",events:{"keyup #search-help-input":"doSearch","change #search-help-input":"doSearch"},initialize:function(){this.timer=!0,this.render()},render:function(){return this.addSearchBar(),this},addSearchBar:function(){var u=e("<input>").attr("type","text").attr("placeholder"," "+GFPDF.help_search_placeholder).attr("id","search-help-input");this.$el.prepend(u),u.tooltip({items:"input",content:"The search must be more than 3 characters.",tooltipClass:"ui-state-error"}).tooltip("disable"),u.focus()},doSearch:function(u){var t=e(u.currentTarget);window.clearTimeout(this.timer);var i=e.trim(t.val());t.data("currentValue");i.length>3&&t.data("previousValue")!==i?(t.tooltip("disable"),t.data("currentValue",i),this.timer=window.setTimeout(_.bind(function(){this.processSearch(i)},this),500)):i.length<=3&&13==u.keyCode&&t.tooltip("enable").tooltip("open")},processSearch:function(e){console.log("Searching our collection..."),new n.DocsView({s:e})}}),n.MainView=Backbone.View.extend({callAPI:function(e){this.collection.fetch({success:_.bind(this.renderSearch,this),error:_.bind(this.renderSearchError)})},renderSearch:function(e,u){console.log("Rendering Search Results"),this.hideSpinner();var t=this.$el.find(".inside ul");t.html(this.template({collection:this.collection.toJSON(),url:this.url}));var i=t.parent();i.is(":visible")||i.slideDown(500)},renderSearchError:function(e,u){console.log("Search Failed"),console.log(e),console.log(u)},showSpinner:function(){this.$el.find(".spinner").addClass("is-active"),this.$el.is(":visible")||this.$el.slideDown(500)},hideSpinner:function(){this.$el.find(".spinner").removeClass("is-active")}}),n.DocsView=n.MainView.extend({el:"#documentation-api",template:"#GravityPDFSearchResultsDocumentation",initialize:function(e){this.url="https://gravitypdf.com/wp-json/wp/v2/v4_docs/",this.s=e.s,this.render()},render:function(){this.template=_.template(e(this.template).html(),null,t),this.showSpinner();var u=encodeURIComponent(this.s),i=this.url+"?search="+u;return this.collection=new n.SearchCollection([],{url:i}),this.callAPI(i),this}});var D=new u;D.init()})}(jQuery);
|
src/assets/languages/gravity-forms-pdf-extended.pot
CHANGED
@@ -12,8 +12,7 @@ msgstr ""
|
|
12 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
13 |
"X-Poedit-SearchPath-0: .\n"
|
14 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
15 |
-
"Plural-Forms: nplurals=2; plural=(n != 1);\n
|
16 |
-
|
17 |
#: api.php:465
|
18 |
msgid "The $type parameter is invalid. Only \"view\" and \"model\" are accepted"
|
19 |
msgstr ""
|
@@ -527,11 +526,11 @@ msgstr ""
|
|
527 |
msgid "Delete"
|
528 |
msgstr ""
|
529 |
|
530 |
-
#: src/helper/Helper_Data.php:411, src/helper/Helper_PDF_List_Table.php:497, src/helper/Helper_PDF_List_Table.php:499, src/model/Model_Form_Settings.php:
|
531 |
msgid "Active"
|
532 |
msgstr ""
|
533 |
|
534 |
-
#: src/helper/Helper_Data.php:413, src/helper/Helper_PDF_List_Table.php:497, src/helper/Helper_PDF_List_Table.php:499, src/model/Model_Form_Settings.php:
|
535 |
msgid "Inactive"
|
536 |
msgstr ""
|
537 |
|
@@ -1155,11 +1154,11 @@ msgstr ""
|
|
1155 |
msgid "The PDF Template %s requires Gravity PDF version %s. Upgrade to the latest version."
|
1156 |
msgstr ""
|
1157 |
|
1158 |
-
#: src/model/Model_Actions.php:
|
1159 |
msgid "No configuration.php file found for site #%s"
|
1160 |
msgstr ""
|
1161 |
|
1162 |
-
#: src/model/Model_Actions.php:
|
1163 |
msgid "Database import problem for site #%s"
|
1164 |
msgstr ""
|
1165 |
|
@@ -1171,23 +1170,23 @@ msgstr ""
|
|
1171 |
msgid "Add PDF"
|
1172 |
msgstr ""
|
1173 |
|
1174 |
-
#: src/model/Model_Form_Settings.php:563, src/model/Model_Form_Settings.php:601, src/model/Model_Form_Settings.php:
|
1175 |
msgid "There was a problem saving your PDF settings. Please try again."
|
1176 |
msgstr ""
|
1177 |
|
1178 |
-
#: src/model/Model_Form_Settings.php:
|
1179 |
msgid "PDF could not be saved. Please enter all required information below."
|
1180 |
msgstr ""
|
1181 |
|
1182 |
-
#: src/model/Model_Form_Settings.php:
|
1183 |
msgid "PDF saved successfully. %sBack to PDF list.%s"
|
1184 |
msgstr ""
|
1185 |
|
1186 |
-
#: src/model/Model_Form_Settings.php:
|
1187 |
msgid "PDF successfully deleted."
|
1188 |
msgstr ""
|
1189 |
|
1190 |
-
#: src/model/Model_Form_Settings.php:
|
1191 |
msgid "PDF successfully duplicated."
|
1192 |
msgstr ""
|
1193 |
|
@@ -1199,11 +1198,11 @@ msgstr ""
|
|
1199 |
msgid "Gravity PDF does not have write permission to the %s directory. Contact your web hosting provider to fix the issue."
|
1200 |
msgstr ""
|
1201 |
|
1202 |
-
#: src/model/Model_Install.php:
|
1203 |
msgid "There was a problem removing the Gravity Form \"%s\" PDF configuration. Try delete manually."
|
1204 |
msgstr ""
|
1205 |
|
1206 |
-
#: src/model/Model_Install.php:
|
1207 |
msgid "There was a problem removing the %s directory. Clean up manually via (S)FTP."
|
1208 |
msgstr ""
|
1209 |
|
@@ -1223,11 +1222,11 @@ msgstr ""
|
|
1223 |
msgid "You do not have access to view this PDF."
|
1224 |
msgstr ""
|
1225 |
|
1226 |
-
#: src/model/Model_PDF.php:
|
1227 |
msgid "The PDF could not be saved."
|
1228 |
msgstr ""
|
1229 |
|
1230 |
-
#: src/model/Model_PDF.php:
|
1231 |
msgid "Could not find PDF configuration requested"
|
1232 |
msgstr ""
|
1233 |
|
12 |
"X-Poedit-KeywordsList: __;_e;_n:1,2;_x:1,2c;_ex:1,2c;_nx:4c,1,2;esc_attr__;esc_attr_e;esc_attr_x:1,2c;esc_html__;esc_html_e;esc_html_x:1,2c;_n_noop:1,2;_nx_noop:3c,1,2;__ngettext_noop:1,2\n"
|
13 |
"X-Poedit-SearchPath-0: .\n"
|
14 |
"X-Poedit-SearchPathExcluded-0: *.js\n"
|
15 |
+
"Plural-Forms: nplurals=2; plural=(n != 1);\n"
|
|
|
16 |
#: api.php:465
|
17 |
msgid "The $type parameter is invalid. Only \"view\" and \"model\" are accepted"
|
18 |
msgstr ""
|
526 |
msgid "Delete"
|
527 |
msgstr ""
|
528 |
|
529 |
+
#: src/helper/Helper_Data.php:411, src/helper/Helper_PDF_List_Table.php:497, src/helper/Helper_PDF_List_Table.php:499, src/model/Model_Form_Settings.php:2065
|
530 |
msgid "Active"
|
531 |
msgstr ""
|
532 |
|
533 |
+
#: src/helper/Helper_Data.php:413, src/helper/Helper_PDF_List_Table.php:497, src/helper/Helper_PDF_List_Table.php:499, src/model/Model_Form_Settings.php:2065
|
534 |
msgid "Inactive"
|
535 |
msgstr ""
|
536 |
|
1154 |
msgid "The PDF Template %s requires Gravity PDF version %s. Upgrade to the latest version."
|
1155 |
msgstr ""
|
1156 |
|
1157 |
+
#: src/model/Model_Actions.php:713
|
1158 |
msgid "No configuration.php file found for site #%s"
|
1159 |
msgstr ""
|
1160 |
|
1161 |
+
#: src/model/Model_Actions.php:755
|
1162 |
msgid "Database import problem for site #%s"
|
1163 |
msgstr ""
|
1164 |
|
1170 |
msgid "Add PDF"
|
1171 |
msgstr ""
|
1172 |
|
1173 |
+
#: src/model/Model_Form_Settings.php:563, src/model/Model_Form_Settings.php:601, src/model/Model_Form_Settings.php:699, src/model/Model_Form_Settings.php:759
|
1174 |
msgid "There was a problem saving your PDF settings. Please try again."
|
1175 |
msgstr ""
|
1176 |
|
1177 |
+
#: src/model/Model_Form_Settings.php:647
|
1178 |
msgid "PDF could not be saved. Please enter all required information below."
|
1179 |
msgstr ""
|
1180 |
|
1181 |
+
#: src/model/Model_Form_Settings.php:687
|
1182 |
msgid "PDF saved successfully. %sBack to PDF list.%s"
|
1183 |
msgstr ""
|
1184 |
|
1185 |
+
#: src/model/Model_Form_Settings.php:1751
|
1186 |
msgid "PDF successfully deleted."
|
1187 |
msgstr ""
|
1188 |
|
1189 |
+
#: src/model/Model_Form_Settings.php:1919
|
1190 |
msgid "PDF successfully duplicated."
|
1191 |
msgstr ""
|
1192 |
|
1198 |
msgid "Gravity PDF does not have write permission to the %s directory. Contact your web hosting provider to fix the issue."
|
1199 |
msgstr ""
|
1200 |
|
1201 |
+
#: src/model/Model_Install.php:949
|
1202 |
msgid "There was a problem removing the Gravity Form \"%s\" PDF configuration. Try delete manually."
|
1203 |
msgstr ""
|
1204 |
|
1205 |
+
#: src/model/Model_Install.php:1013
|
1206 |
msgid "There was a problem removing the %s directory. Clean up manually via (S)FTP."
|
1207 |
msgstr ""
|
1208 |
|
1222 |
msgid "You do not have access to view this PDF."
|
1223 |
msgstr ""
|
1224 |
|
1225 |
+
#: src/model/Model_PDF.php:1763
|
1226 |
msgid "The PDF could not be saved."
|
1227 |
msgstr ""
|
1228 |
|
1229 |
+
#: src/model/Model_PDF.php:3583
|
1230 |
msgid "Could not find PDF configuration requested"
|
1231 |
msgstr ""
|
1232 |
|
src/bootstrap.php
CHANGED
@@ -251,7 +251,7 @@ class Router implements Helper\Helper_Interface_Actions, Helper\Helper_Interface
|
|
251 |
public function add_actions() {
|
252 |
|
253 |
add_action( 'init', array( $this, 'register_assets' ) );
|
254 |
-
add_action( '
|
255 |
|
256 |
/* Cache our Gravity PDF Settings and register our settings fields with the Options API */
|
257 |
add_action( 'init', array( $this, 'init_settings_api' ), 1 );
|
@@ -504,11 +504,11 @@ class Router implements Helper\Helper_Interface_Actions, Helper\Helper_Interface
|
|
504 |
/**
|
505 |
* Load any assets that are needed
|
506 |
*
|
507 |
-
* @since 4.0
|
508 |
*
|
509 |
* @return void
|
510 |
*/
|
511 |
-
public function
|
512 |
|
513 |
if ( $this->misc->is_gfpdf_page() ) {
|
514 |
/* load styles */
|
251 |
public function add_actions() {
|
252 |
|
253 |
add_action( 'init', array( $this, 'register_assets' ) );
|
254 |
+
add_action( 'admin_enqueue_scripts', array( $this, 'load_admin_assets' ) );
|
255 |
|
256 |
/* Cache our Gravity PDF Settings and register our settings fields with the Options API */
|
257 |
add_action( 'init', array( $this, 'init_settings_api' ), 1 );
|
504 |
/**
|
505 |
* Load any assets that are needed
|
506 |
*
|
507 |
+
* @since 4.0.4
|
508 |
*
|
509 |
* @return void
|
510 |
*/
|
511 |
+
public function load_admin_assets() {
|
512 |
|
513 |
if ( $this->misc->is_gfpdf_page() ) {
|
514 |
/* load styles */
|
src/helper/Helper_Misc.php
CHANGED
@@ -215,14 +215,18 @@ class Helper_Misc {
|
|
215 |
}
|
216 |
|
217 |
/**
|
218 |
-
* Manipulate
|
219 |
*
|
220 |
* Changes made include:
|
221 |
*
|
222 |
-
* 1.
|
|
|
|
|
|
|
|
|
223 |
* by adding a specific class name we can target
|
224 |
*
|
225 |
-
*
|
226 |
*
|
227 |
* @param string $html The HTML to parse
|
228 |
*
|
@@ -230,22 +234,40 @@ class Helper_Misc {
|
|
230 |
*/
|
231 |
public function fix_header_footer( $html ) {
|
232 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
233 |
try {
|
234 |
/* Get the <img> from the DOM and extract required details */
|
235 |
-
$qp
|
236 |
$wrapper = $qp->html5( $html );
|
237 |
|
238 |
$images = $wrapper->find( 'img' );
|
239 |
|
240 |
-
if( sizeof( $images ) > 0 ) {
|
241 |
/* Loop through each matching element */
|
242 |
foreach ( $images as $image ) {
|
243 |
|
244 |
/* Get current image src */
|
245 |
-
$image_src
|
246 |
$image_src_path = $this->convert_url_to_path( $image_src );
|
247 |
|
248 |
-
if( false !== $image_src_path ) {
|
249 |
$image->attr( 'src', $image_src_path );
|
250 |
}
|
251 |
|
215 |
}
|
216 |
|
217 |
/**
|
218 |
+
* Manipulate header and footer for more consistent display in PDF
|
219 |
*
|
220 |
* Changes made include:
|
221 |
*
|
222 |
+
* 1. Apply wpautop to content
|
223 |
+
*
|
224 |
+
* 2. Apply wp_kses_post to content
|
225 |
+
*
|
226 |
+
* 3. mPDF currently has no cascading CSS ability to target 'inline' elements. Fix image display issues in header / footer
|
227 |
* by adding a specific class name we can target
|
228 |
*
|
229 |
+
* 4. Convert any image URLs to local path where applicable
|
230 |
*
|
231 |
* @param string $html The HTML to parse
|
232 |
*
|
234 |
*/
|
235 |
public function fix_header_footer( $html ) {
|
236 |
|
237 |
+
$html = wp_kses_post( $html );
|
238 |
+
$html = trim( wpautop( $html ) );
|
239 |
+
$html = $this->fix_header_footer_images( $html );
|
240 |
+
|
241 |
+
return $html;
|
242 |
+
}
|
243 |
+
|
244 |
+
/**
|
245 |
+
* Convert image URLs to local path (where able) and add specific class names to images for better
|
246 |
+
* targetting in Mpdf
|
247 |
+
*
|
248 |
+
* @param string $html
|
249 |
+
*
|
250 |
+
* @return string
|
251 |
+
*
|
252 |
+
* @since 7.0.4
|
253 |
+
*/
|
254 |
+
public function fix_header_footer_images( $html ) {
|
255 |
try {
|
256 |
/* Get the <img> from the DOM and extract required details */
|
257 |
+
$qp = new Helper_QueryPath();
|
258 |
$wrapper = $qp->html5( $html );
|
259 |
|
260 |
$images = $wrapper->find( 'img' );
|
261 |
|
262 |
+
if ( sizeof( $images ) > 0 ) {
|
263 |
/* Loop through each matching element */
|
264 |
foreach ( $images as $image ) {
|
265 |
|
266 |
/* Get current image src */
|
267 |
+
$image_src = trim( $image->attr( 'src' ) );
|
268 |
$image_src_path = $this->convert_url_to_path( $image_src );
|
269 |
|
270 |
+
if ( false !== $image_src_path ) {
|
271 |
$image->attr( 'src', $image_src_path );
|
272 |
}
|
273 |
|
src/helper/Helper_PDF.php
CHANGED
@@ -856,7 +856,7 @@ class Helper_PDF {
|
|
856 |
|
857 |
$password = ( isset( $this->settings['password'] ) ) ? $this->gform->process_tags( $this->settings['password'], $this->form, $this->entry ) : '';
|
858 |
$privileges = ( isset( $this->settings['privileges'] ) ) ? $this->settings['privileges'] : array();
|
859 |
-
$master_password = ( isset( $this->settings['master_password'] ) ) ? $this->gform->process_tags( $this->settings['master_password'], $this->form, $this->entry ) :
|
860 |
|
861 |
$this->mpdf->SetProtection( $privileges, $password, $master_password, 128 );
|
862 |
}
|
856 |
|
857 |
$password = ( isset( $this->settings['password'] ) ) ? $this->gform->process_tags( $this->settings['password'], $this->form, $this->entry ) : '';
|
858 |
$privileges = ( isset( $this->settings['privileges'] ) ) ? $this->settings['privileges'] : array();
|
859 |
+
$master_password = ( isset( $this->settings['master_password'] ) ) ? $this->gform->process_tags( $this->settings['master_password'], $this->form, $this->entry ) : null;
|
860 |
|
861 |
$this->mpdf->SetProtection( $privileges, $password, $master_password, 128 );
|
862 |
}
|
src/helper/fields/Field_Checkbox.php
CHANGED
@@ -138,8 +138,6 @@ class Field_Checkbox extends Helper_Abstract_Fields {
|
|
138 |
$i = 1;
|
139 |
foreach ( $items as $item ) {
|
140 |
$sanitized_option = ( $value ) ? $item['value'] : $item['label'];
|
141 |
-
$sanitized_option = wp_kses_post( wp_specialchars_decode( $sanitized_option, ENT_QUOTES ) );
|
142 |
-
|
143 |
$html .= '<li id="field-' . $this->field->id . '-option-' . $i . '">' . $sanitized_option . '</li>';
|
144 |
$i++;
|
145 |
}
|
@@ -177,7 +175,10 @@ class Field_Checkbox extends Helper_Abstract_Fields {
|
|
177 |
|
178 |
foreach ( $value as $key => $item ) {
|
179 |
$label = esc_html( GFCommon::selection_display( $item, $this->field, '', true ) );
|
|
|
|
|
180 |
$value = esc_html( GFCommon::selection_display( $item, $this->field ) );
|
|
|
181 |
|
182 |
$items[] = array(
|
183 |
'value' => $value,
|
138 |
$i = 1;
|
139 |
foreach ( $items as $item ) {
|
140 |
$sanitized_option = ( $value ) ? $item['value'] : $item['label'];
|
|
|
|
|
141 |
$html .= '<li id="field-' . $this->field->id . '-option-' . $i . '">' . $sanitized_option . '</li>';
|
142 |
$i++;
|
143 |
}
|
175 |
|
176 |
foreach ( $value as $key => $item ) {
|
177 |
$label = esc_html( GFCommon::selection_display( $item, $this->field, '', true ) );
|
178 |
+
$label = wp_kses_post( wp_specialchars_decode( $label, ENT_QUOTES ) );
|
179 |
+
|
180 |
$value = esc_html( GFCommon::selection_display( $item, $this->field ) );
|
181 |
+
$value = wp_kses_post( wp_specialchars_decode( $value, ENT_QUOTES ) );
|
182 |
|
183 |
$items[] = array(
|
184 |
'value' => $value,
|
src/helper/fields/Field_Radio.php
CHANGED
@@ -89,11 +89,6 @@ class Field_Radio extends Helper_Abstract_Fields {
|
|
89 |
$data = $this->value();
|
90 |
$output = ( $value ) ? $data['value'] : $data['label'];
|
91 |
|
92 |
-
/* Allow HTML if the radio value isn't the "other" option */
|
93 |
-
if ( ! $this->is_user_defined_value( $data['value'] ) ) {
|
94 |
-
$output = wp_kses_post( wp_specialchars_decode( $output, ENT_QUOTES ) );
|
95 |
-
}
|
96 |
-
|
97 |
return parent::html( $output );
|
98 |
}
|
99 |
|
@@ -165,6 +160,12 @@ class Field_Radio extends Helper_Abstract_Fields {
|
|
165 |
$label = esc_html( GFCommon::selection_display( $this->get_value(), $this->field, '', true ) );
|
166 |
$value = esc_html( GFCommon::selection_display( $this->get_value(), $this->field ) );
|
167 |
|
|
|
|
|
|
|
|
|
|
|
|
|
168 |
|
169 |
/* return value / label as an array */
|
170 |
$this->cache( array(
|
89 |
$data = $this->value();
|
90 |
$output = ( $value ) ? $data['value'] : $data['label'];
|
91 |
|
|
|
|
|
|
|
|
|
|
|
92 |
return parent::html( $output );
|
93 |
}
|
94 |
|
160 |
$label = esc_html( GFCommon::selection_display( $this->get_value(), $this->field, '', true ) );
|
161 |
$value = esc_html( GFCommon::selection_display( $this->get_value(), $this->field ) );
|
162 |
|
163 |
+
/* Allow HTML if the radio value isn't the "other" option */
|
164 |
+
if ( ! $this->is_user_defined_value( $value ) ) {
|
165 |
+
$value = wp_kses_post( wp_specialchars_decode( $value, ENT_QUOTES ) );
|
166 |
+
$label = wp_kses_post( wp_specialchars_decode( $label, ENT_QUOTES ) );
|
167 |
+
}
|
168 |
+
|
169 |
|
170 |
/* return value / label as an array */
|
171 |
$this->cache( array(
|
src/model/Model_Actions.php
CHANGED
@@ -175,8 +175,10 @@ class Model_Actions extends Helper_Abstract_Model {
|
|
175 |
return true;
|
176 |
} else {
|
177 |
/* Check other multisites for a config file */
|
178 |
-
$sites = wp_get_sites();
|
|
|
179 |
foreach ( $sites as $site ) {
|
|
|
180 |
if ( is_file( $this->data->template_location . '/' . $site['blog_id'] . '/configuration.php' ) ) {
|
181 |
return true;
|
182 |
}
|
@@ -199,10 +201,11 @@ class Model_Actions extends Helper_Abstract_Model {
|
|
199 |
if ( is_multisite() ) {
|
200 |
|
201 |
/* Verify we have a site to migrate */
|
202 |
-
$sites = wp_get_sites();
|
203 |
$found = false;
|
204 |
|
205 |
foreach ( $sites as $site ) {
|
|
|
206 |
$site_config = $this->data->template_location . '/' . $site['blog_id'] . '/';
|
207 |
|
208 |
if ( is_file( $site_config . 'configuration.php' ) ) {
|
@@ -286,10 +289,11 @@ class Model_Actions extends Helper_Abstract_Model {
|
|
286 |
* @since 4.0
|
287 |
*/
|
288 |
private function get_multisite_ids_with_v3_config() {
|
289 |
-
$sites
|
290 |
$blog_ids = array();
|
291 |
|
292 |
foreach ( $sites as $site ) {
|
|
|
293 |
$site_config = $this->data->template_location . $site['blog_id'] . '/';
|
294 |
|
295 |
if ( is_file( $site_config . 'configuration.php' ) ) {
|
175 |
return true;
|
176 |
} else {
|
177 |
/* Check other multisites for a config file */
|
178 |
+
$sites = ( function_exists( 'get_sites' ) ) ? get_sites() : wp_get_sites();
|
179 |
+
|
180 |
foreach ( $sites as $site ) {
|
181 |
+
$site = (array) $site; /* Back-compat: ensure the new site object introduced in 4.6 gets converted back to an array */
|
182 |
if ( is_file( $this->data->template_location . '/' . $site['blog_id'] . '/configuration.php' ) ) {
|
183 |
return true;
|
184 |
}
|
201 |
if ( is_multisite() ) {
|
202 |
|
203 |
/* Verify we have a site to migrate */
|
204 |
+
$sites = ( function_exists( 'get_sites' ) ) ? get_sites() : wp_get_sites();
|
205 |
$found = false;
|
206 |
|
207 |
foreach ( $sites as $site ) {
|
208 |
+
$site = (array) $site; /* Back-compat: ensure the new site object introduced in 4.6 gets converted back to an array */
|
209 |
$site_config = $this->data->template_location . '/' . $site['blog_id'] . '/';
|
210 |
|
211 |
if ( is_file( $site_config . 'configuration.php' ) ) {
|
289 |
* @since 4.0
|
290 |
*/
|
291 |
private function get_multisite_ids_with_v3_config() {
|
292 |
+
$sites = ( function_exists( 'get_sites' ) ) ? get_sites() : wp_get_sites();
|
293 |
$blog_ids = array();
|
294 |
|
295 |
foreach ( $sites as $site ) {
|
296 |
+
$site = (array) $site; /* Back-compat: ensure the new site object introduced in 4.6 gets converted back to an array */
|
297 |
$site_config = $this->data->template_location . $site['blog_id'] . '/';
|
298 |
|
299 |
if ( is_file( $site_config . 'configuration.php' ) ) {
|
src/model/Model_Form_Settings.php
CHANGED
@@ -307,9 +307,12 @@ class Model_Form_Settings extends Helper_Abstract_Model {
|
|
307 |
|
308 |
/* Update our GFPDF settings */
|
309 |
$sanitized['id'] = $pdf_id;
|
310 |
-
$sanitized['active'] = true;
|
311 |
$sanitized['status'] = 'sanitizing'; /* used as a switch to tell when a record has been saved to the database, or stuck in validation */
|
312 |
|
|
|
|
|
|
|
|
|
313 |
$this->options->update_pdf( $form_id, $pdf_id, $sanitized, false );
|
314 |
|
315 |
/* Do validation */
|
307 |
|
308 |
/* Update our GFPDF settings */
|
309 |
$sanitized['id'] = $pdf_id;
|
|
|
310 |
$sanitized['status'] = 'sanitizing'; /* used as a switch to tell when a record has been saved to the database, or stuck in validation */
|
311 |
|
312 |
+
/* Save current PDF state */
|
313 |
+
$pdf = $this->options->get_pdf( $form_id, $pdf_id );
|
314 |
+
$sanitized['active'] = ( ! is_wp_error( $pdf ) && isset( $pdf['active'] ) ) ? $pdf['active'] : true;
|
315 |
+
|
316 |
$this->options->update_pdf( $form_id, $pdf_id, $sanitized, false );
|
317 |
|
318 |
/* Do validation */
|
src/model/Model_Install.php
CHANGED
@@ -418,9 +418,10 @@ class Model_Install extends Helper_Abstract_Model {
|
|
418 |
|
419 |
/* Clean up database */
|
420 |
if ( is_multisite() ) {
|
421 |
-
$sites = wp_get_sites();
|
422 |
|
423 |
foreach ( $sites as $site ) {
|
|
|
424 |
switch_to_blog( $site['blog_id'] );
|
425 |
$this->remove_plugin_options();
|
426 |
$this->remove_plugin_form_settings();
|
418 |
|
419 |
/* Clean up database */
|
420 |
if ( is_multisite() ) {
|
421 |
+
$sites = ( function_exists( 'get_sites' ) ) ? get_sites() : wp_get_sites();
|
422 |
|
423 |
foreach ( $sites as $site ) {
|
424 |
+
$site = (array) $site; /* Back-compat: ensure the new site object introduced in 4.6 gets converted back to an array */
|
425 |
switch_to_blog( $site['blog_id'] );
|
426 |
$this->remove_plugin_options();
|
427 |
$this->remove_plugin_form_settings();
|
src/model/Model_PDF.php
CHANGED
@@ -658,8 +658,8 @@ class Model_PDF extends Helper_Abstract_Model {
|
|
658 |
$form = $this->gform->get_form( $entry['form_id'] );
|
659 |
$name = $this->gform->process_tags( $settings['filename'], $form, $entry );
|
660 |
|
661 |
-
/*
|
662 |
-
$name =
|
663 |
|
664 |
/*
|
665 |
* Add filter to modify PDF name
|
@@ -671,6 +671,9 @@ class Model_PDF extends Helper_Abstract_Model {
|
|
671 |
/* Backwards compatible filter */
|
672 |
$name = apply_filters( 'gfpdfe_pdf_filename', $name, $form, $entry, $settings );
|
673 |
|
|
|
|
|
|
|
674 |
return $name;
|
675 |
}
|
676 |
|
@@ -1088,7 +1091,7 @@ class Model_PDF extends Helper_Abstract_Model {
|
|
1088 |
|
1089 |
/* Only generate if the PDF wasn't during the notification process */
|
1090 |
if ( ! is_wp_error( $settings ) ) {
|
1091 |
-
|
1092 |
$pdf_generator = new Helper_PDF( $entry, $settings, $this->gform, $this->data );
|
1093 |
$pdf_generator->set_filename( $this->get_pdf_name( $settings, $entry ) );
|
1094 |
|
658 |
$form = $this->gform->get_form( $entry['form_id'] );
|
659 |
$name = $this->gform->process_tags( $settings['filename'], $form, $entry );
|
660 |
|
661 |
+
/* Decode HTML entities */
|
662 |
+
$name = wp_specialchars_decode( $name, ENT_QUOTES );
|
663 |
|
664 |
/*
|
665 |
* Add filter to modify PDF name
|
671 |
/* Backwards compatible filter */
|
672 |
$name = apply_filters( 'gfpdfe_pdf_filename', $name, $form, $entry, $settings );
|
673 |
|
674 |
+
/* Remove any characters that cannot be present in a filename */
|
675 |
+
$name = $this->misc->strip_invalid_characters( $name );
|
676 |
+
|
677 |
return $name;
|
678 |
}
|
679 |
|
1091 |
|
1092 |
/* Only generate if the PDF wasn't during the notification process */
|
1093 |
if ( ! is_wp_error( $settings ) ) {
|
1094 |
+
|
1095 |
$pdf_generator = new Helper_PDF( $entry, $settings, $this->gform, $this->data );
|
1096 |
$pdf_generator->set_filename( $this->get_pdf_name( $settings, $entry ) );
|
1097 |
|
src/view/html/PDF/entry_detailed_pdf.php
CHANGED
@@ -40,10 +40,10 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
40 |
|
41 |
<?php foreach ( $args['pdfs'] as $pdf ): ?>
|
42 |
<div class="gfpdf_detailed_pdf_container">
|
43 |
-
<span><?php echo $pdf['name']; ?></span>
|
44 |
<div>
|
45 |
-
<a href="<?php echo $pdf['view']; ?>" target="_blank" class="button"><?php esc_html_e( 'View', 'gravity-forms-pdf-extended' ); ?></a>
|
46 |
-
<a href="<?php echo $pdf['download']; ?>" class="button"><?php esc_html_e( 'Download', 'gravity-forms-pdf-extended' ); ?></a>
|
47 |
</div>
|
48 |
</div>
|
49 |
<?php endforeach; ?>
|
40 |
|
41 |
<?php foreach ( $args['pdfs'] as $pdf ): ?>
|
42 |
<div class="gfpdf_detailed_pdf_container">
|
43 |
+
<span><?php echo esc_html( $pdf['name'] ); ?></span>
|
44 |
<div>
|
45 |
+
<a href="<?php echo esc_url( $pdf['view'] ); ?>" target="_blank" class="button"><?php esc_html_e( 'View', 'gravity-forms-pdf-extended' ); ?></a>
|
46 |
+
<a href="<?php echo esc_url( $pdf['download'] ); ?>" class="button"><?php esc_html_e( 'Download', 'gravity-forms-pdf-extended' ); ?></a>
|
47 |
</div>
|
48 |
</div>
|
49 |
<?php endforeach; ?>
|
src/view/html/PDF/entry_list_pdf_multiple.php
CHANGED
@@ -43,7 +43,7 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
43 |
<ul>
|
44 |
<?php foreach ( $args['pdfs'] as $pdf ): ?>
|
45 |
<li>
|
46 |
-
<a href="<?php echo ( $args['view'] == 'download' ) ? $pdf['download'] : $pdf['view']; ?>" <?php echo ( $args['view'] != 'download' ) ? 'target="_blank"' : '' ?>><?php echo $pdf['name']; ?></a>
|
47 |
</li>
|
48 |
<?php endforeach; ?>
|
49 |
</ul>
|
43 |
<ul>
|
44 |
<?php foreach ( $args['pdfs'] as $pdf ): ?>
|
45 |
<li>
|
46 |
+
<a href="<?php echo ( $args['view'] == 'download' ) ? esc_url( $pdf['download'] ) : esc_url( $pdf['view'] ); ?>" <?php echo ( $args['view'] != 'download' ) ? 'target="_blank"' : '' ?>><?php echo esc_html( $pdf['name'] ); ?></a>
|
47 |
</li>
|
48 |
<?php endforeach; ?>
|
49 |
</ul>
|
src/view/html/PDF/entry_list_pdf_single.php
CHANGED
@@ -36,6 +36,6 @@ if ( ! defined( 'ABSPATH' ) ) {
|
|
36 |
|
37 |
?>
|
38 |
|
39 |
-
| <a href="<?php echo ( $args['view'] == 'download' ) ? $args['pdf']['download'] : $args['pdf']['view']; ?>" <?php echo ( $args['view'] != 'download' ) ? 'target="_blank"' : '' ?>>
|
40 |
<?php echo ( $args['view'] == 'download' ) ? esc_html__( 'Download PDF', 'gravity-forms-pdf-extended' ) : esc_html__( 'View PDF', 'gravity-forms-pdf-extended' ); ?>
|
41 |
</a>
|
36 |
|
37 |
?>
|
38 |
|
39 |
+
| <a href="<?php echo ( $args['view'] == 'download' ) ? esc_url( $args['pdf']['download'] ) : esc_url( $args['pdf']['view'] ); ?>" <?php echo ( $args['view'] != 'download' ) ? 'target="_blank"' : '' ?>>
|
40 |
<?php echo ( $args['view'] == 'download' ) ? esc_html__( 'Download PDF', 'gravity-forms-pdf-extended' ) : esc_html__( 'View PDF', 'gravity-forms-pdf-extended' ); ?>
|
41 |
</a>
|
vendor/autoload.php
CHANGED
@@ -4,4 +4,4 @@
|
|
4 |
|
5 |
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
6 |
|
7 |
-
return
|
4 |
|
5 |
require_once __DIR__ . '/composer' . '/autoload_real.php';
|
6 |
|
7 |
+
return ComposerAutoloaderInitfeed9bb4a90dc7c1aedfa3d8346e3b4d::getLoader();
|
vendor/blueliquiddesigns/mpdf/classes/ttfontsuni.php
CHANGED
@@ -2238,7 +2238,7 @@ $GSLuCoverage = ' . var_export($this->GSLuCoverage, true) . ';
|
|
2238 |
$key = $vs['match'][1];
|
2239 |
$tag = $v['tag'];
|
2240 |
if (isset($loclsubs[$key])) {
|
2241 |
-
|
2242 |
}
|
2243 |
$tmp = &$$tag;
|
2244 |
$tmp[hexdec($key)] = hexdec($sub);
|
@@ -2249,7 +2249,7 @@ $GSLuCoverage = ' . var_export($this->GSLuCoverage, true) . ';
|
|
2249 |
$key = $vs['match'][0];
|
2250 |
$tag = $v['tag'];
|
2251 |
if (isset($loclsubs[$key])) {
|
2252 |
-
|
2253 |
}
|
2254 |
$tmp = &$$tag;
|
2255 |
$tmp[hexdec($key)] = hexdec($sub);
|
@@ -2268,7 +2268,7 @@ $GSLuCoverage = ' . var_export($this->GSLuCoverage, true) . ';
|
|
2268 |
$key = substr($key, 6, 5);
|
2269 |
$tag = $v['tag'];
|
2270 |
if (isset($loclsubs[$key])) {
|
2271 |
-
|
2272 |
}
|
2273 |
$tmp = &$$tag;
|
2274 |
$tmp[hexdec($key)] = hexdec($sub);
|
@@ -2276,7 +2276,7 @@ $GSLuCoverage = ' . var_export($this->GSLuCoverage, true) . ';
|
|
2276 |
$key = substr($key, 0, 5);
|
2277 |
$tag = $v['tag'];
|
2278 |
if (isset($loclsubs[$key])) {
|
2279 |
-
|
2280 |
}
|
2281 |
$tmp = &$$tag;
|
2282 |
$tmp[hexdec($key)] = hexdec($sub);
|
2238 |
$key = $vs['match'][1];
|
2239 |
$tag = $v['tag'];
|
2240 |
if (isset($loclsubs[$key])) {
|
2241 |
+
${$tag[$loclsubs[$key]]} = $sub;
|
2242 |
}
|
2243 |
$tmp = &$$tag;
|
2244 |
$tmp[hexdec($key)] = hexdec($sub);
|
2249 |
$key = $vs['match'][0];
|
2250 |
$tag = $v['tag'];
|
2251 |
if (isset($loclsubs[$key])) {
|
2252 |
+
${$tag[$loclsubs[$key]]} = $sub;
|
2253 |
}
|
2254 |
$tmp = &$$tag;
|
2255 |
$tmp[hexdec($key)] = hexdec($sub);
|
2268 |
$key = substr($key, 6, 5);
|
2269 |
$tag = $v['tag'];
|
2270 |
if (isset($loclsubs[$key])) {
|
2271 |
+
${$tag[$loclsubs[$key]]} = $sub;
|
2272 |
}
|
2273 |
$tmp = &$$tag;
|
2274 |
$tmp[hexdec($key)] = hexdec($sub);
|
2276 |
$key = substr($key, 0, 5);
|
2277 |
$tag = $v['tag'];
|
2278 |
if (isset($loclsubs[$key])) {
|
2279 |
+
${$tag[$loclsubs[$key]]} = $sub;
|
2280 |
}
|
2281 |
$tmp = &$$tag;
|
2282 |
$tmp[hexdec($key)] = hexdec($sub);
|
vendor/blueliquiddesigns/mpdf/mpdf.php
CHANGED
@@ -1240,8 +1240,6 @@ class mPDF
|
|
1240 |
if ($this->onlyCoreFonts) {
|
1241 |
$this->useSubstitutions = true;
|
1242 |
$this->SetSubstitutions();
|
1243 |
-
} else {
|
1244 |
-
$this->useSubstitutions = false;
|
1245 |
}
|
1246 |
|
1247 |
/* -- HTML-CSS -- */
|
1240 |
if ($this->onlyCoreFonts) {
|
1241 |
$this->useSubstitutions = true;
|
1242 |
$this->SetSubstitutions();
|
|
|
|
|
1243 |
}
|
1244 |
|
1245 |
/* -- HTML-CSS -- */
|
vendor/composer/autoload_real.php
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
-
class
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
@@ -19,37 +19,48 @@ class ComposerAutoloaderInit67b61de537cd8d996bf38fefc3ca681b
|
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
-
spl_autoload_register(array('
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
-
spl_autoload_unregister(array('
|
25 |
|
26 |
-
$
|
27 |
-
|
28 |
-
|
29 |
-
}
|
30 |
|
31 |
-
|
32 |
-
|
33 |
-
$
|
34 |
-
|
|
|
|
|
35 |
|
36 |
-
|
37 |
-
|
38 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
39 |
}
|
40 |
|
41 |
$loader->register(true);
|
42 |
|
43 |
-
$
|
|
|
|
|
|
|
|
|
44 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
45 |
-
|
46 |
}
|
47 |
|
48 |
return $loader;
|
49 |
}
|
50 |
}
|
51 |
|
52 |
-
function
|
53 |
{
|
54 |
if (empty($GLOBALS['__composer_autoload_files'][$fileIdentifier])) {
|
55 |
require $file;
|
2 |
|
3 |
// autoload_real.php @generated by Composer
|
4 |
|
5 |
+
class ComposerAutoloaderInitfeed9bb4a90dc7c1aedfa3d8346e3b4d
|
6 |
{
|
7 |
private static $loader;
|
8 |
|
19 |
return self::$loader;
|
20 |
}
|
21 |
|
22 |
+
spl_autoload_register(array('ComposerAutoloaderInitfeed9bb4a90dc7c1aedfa3d8346e3b4d', 'loadClassLoader'), true, true);
|
23 |
self::$loader = $loader = new \Composer\Autoload\ClassLoader();
|
24 |
+
spl_autoload_unregister(array('ComposerAutoloaderInitfeed9bb4a90dc7c1aedfa3d8346e3b4d', 'loadClassLoader'));
|
25 |
|
26 |
+
$useStaticLoader = PHP_VERSION_ID >= 50600 && !defined('HHVM_VERSION');
|
27 |
+
if ($useStaticLoader) {
|
28 |
+
require_once __DIR__ . '/autoload_static.php';
|
|
|
29 |
|
30 |
+
call_user_func(\Composer\Autoload\ComposerStaticInitfeed9bb4a90dc7c1aedfa3d8346e3b4d::getInitializer($loader));
|
31 |
+
} else {
|
32 |
+
$map = require __DIR__ . '/autoload_namespaces.php';
|
33 |
+
foreach ($map as $namespace => $path) {
|
34 |
+
$loader->set($namespace, $path);
|
35 |
+
}
|
36 |
|
37 |
+
$map = require __DIR__ . '/autoload_psr4.php';
|
38 |
+
foreach ($map as $namespace => $path) {
|
39 |
+
$loader->setPsr4($namespace, $path);
|
40 |
+
}
|
41 |
+
|
42 |
+
$classMap = require __DIR__ . '/autoload_classmap.php';
|
43 |
+
if ($classMap) {
|
44 |
+
$loader->addClassMap($classMap);
|
45 |
+
}
|
46 |
}
|
47 |
|
48 |
$loader->register(true);
|
49 |
|
50 |
+
if ($useStaticLoader) {
|
51 |
+
$includeFiles = Composer\Autoload\ComposerStaticInitfeed9bb4a90dc7c1aedfa3d8346e3b4d::$files;
|
52 |
+
} else {
|
53 |
+
$includeFiles = require __DIR__ . '/autoload_files.php';
|
54 |
+
}
|
55 |
foreach ($includeFiles as $fileIdentifier => $file) {
|
56 |
+
composerRequirefeed9bb4a90dc7c1aedfa3d8346e3b4d($fileIdentifier, $file);
|
57 |
}
|
58 |
|
59 |
return $loader;
|
60 |
}
|
61 |
}
|
62 |
|
63 |
+
function composerRequirefeed9bb4a90dc7c1aedfa3d8346e3b4d($fileIdentifier, $file)
|
64 |
{
|
65 |
if (empty($GLOBALS['__composer_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|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
<?php
|
2 |
+
|
3 |
+
// autoload_static.php @generated by Composer
|
4 |
+
|
5 |
+
namespace Composer\Autoload;
|
6 |
+
|
7 |
+
class ComposerStaticInitfeed9bb4a90dc7c1aedfa3d8346e3b4d
|
8 |
+
{
|
9 |
+
public static $files = array (
|
10 |
+
'e9b046393eb3376a21bcc1a30bd2fe64' => __DIR__ . '/..' . '/querypath/querypath/src/qp_functions.php',
|
11 |
+
);
|
12 |
+
|
13 |
+
public static $prefixLengthsPsr4 = array (
|
14 |
+
'M' =>
|
15 |
+
array (
|
16 |
+
'Monolog\\' => 8,
|
17 |
+
'Masterminds\\' => 12,
|
18 |
+
),
|
19 |
+
'G' =>
|
20 |
+
array (
|
21 |
+
'GFPDF\\View\\' => 11,
|
22 |
+
'GFPDF\\Test\\' => 11,
|
23 |
+
'GFPDF\\Model\\' => 12,
|
24 |
+
'GFPDF\\Helper\\Fields\\' => 20,
|
25 |
+
'GFPDF\\Helper\\' => 13,
|
26 |
+
'GFPDF\\Controller\\' => 17,
|
27 |
+
'GFPDF\\' => 6,
|
28 |
+
),
|
29 |
+
);
|
30 |
+
|
31 |
+
public static $prefixDirsPsr4 = array (
|
32 |
+
'Monolog\\' =>
|
33 |
+
array (
|
34 |
+
0 => __DIR__ . '/..' . '/monolog/monolog/src/Monolog',
|
35 |
+
),
|
36 |
+
'Masterminds\\' =>
|
37 |
+
array (
|
38 |
+
0 => __DIR__ . '/..' . '/masterminds/html5/src',
|
39 |
+
),
|
40 |
+
'GFPDF\\View\\' =>
|
41 |
+
array (
|
42 |
+
0 => __DIR__ . '/../..' . '/src/view',
|
43 |
+
),
|
44 |
+
'GFPDF\\Test\\' =>
|
45 |
+
array (
|
46 |
+
0 => __DIR__ . '/../..' . '/tests/unit-tests',
|
47 |
+
),
|
48 |
+
'GFPDF\\Model\\' =>
|
49 |
+
array (
|
50 |
+
0 => __DIR__ . '/../..' . '/src/model',
|
51 |
+
),
|
52 |
+
'GFPDF\\Helper\\Fields\\' =>
|
53 |
+
array (
|
54 |
+
0 => __DIR__ . '/../..' . '/src/helper/fields',
|
55 |
+
),
|
56 |
+
'GFPDF\\Helper\\' =>
|
57 |
+
array (
|
58 |
+
0 => __DIR__ . '/../..' . '/src/helper',
|
59 |
+
1 => __DIR__ . '/../..' . '/src/helper/abstract',
|
60 |
+
2 => __DIR__ . '/../..' . '/src/helper/interface',
|
61 |
+
),
|
62 |
+
'GFPDF\\Controller\\' =>
|
63 |
+
array (
|
64 |
+
0 => __DIR__ . '/../..' . '/src/controller',
|
65 |
+
),
|
66 |
+
'GFPDF\\' =>
|
67 |
+
array (
|
68 |
+
0 => __DIR__ . '/../..' . '/src',
|
69 |
+
),
|
70 |
+
);
|
71 |
+
|
72 |
+
public static $prefixesPsr0 = array (
|
73 |
+
'Q' =>
|
74 |
+
array (
|
75 |
+
'QueryPath' =>
|
76 |
+
array (
|
77 |
+
0 => __DIR__ . '/..' . '/querypath/querypath/src',
|
78 |
+
),
|
79 |
+
),
|
80 |
+
'P' =>
|
81 |
+
array (
|
82 |
+
'Psr\\Log\\' =>
|
83 |
+
array (
|
84 |
+
0 => __DIR__ . '/..' . '/psr/log',
|
85 |
+
),
|
86 |
+
),
|
87 |
+
);
|
88 |
+
|
89 |
+
public static $classMap = array (
|
90 |
+
'CGIF' => __DIR__ . '/..' . '/blueliquiddesigns/mpdf/classes/gif.php',
|
91 |
+
'CGIFCOLORTABLE' => __DIR__ . '/..' . '/blueliquiddesigns/mpdf/classes/gif.php',
|
92 |
+
'CGIFFILEHEADER' => __DIR__ . '/..' . '/blueliquiddesigns/mpdf/classes/gif.php',
|
93 |
+
'CGIFIMAGE' => __DIR__ . '/..' . '/blueliquiddesigns/mpdf/classes/gif.php',
|
94 |
+
'CGIFIMAGEHEADER' => __DIR__ . '/..' . '/blueliquiddesigns/mpdf/classes/gif.php',
|
95 |
+
'CGIFLZW' => __DIR__ . '/..' . '/blueliquiddesigns/mpdf/classes/gif.php',
|
96 |
+
'FPDF_TPL' => __DIR__ . '/..' . '/setasign/fpdi/fpdf_tpl.php',
|
97 |
+
'FPDI' => __DIR__ . '/..' . '/setasign/fpdi/fpdi.php',
|
98 |
+
'FilterASCII85' => __DIR__ . '/..' . '/setasign/fpdi/filters/FilterASCII85.php',
|
99 |
+
'FilterASCIIHexDecode' => __DIR__ . '/..' . '/setasign/fpdi/filters/FilterASCIIHexDecode.php',
|
100 |
+
'FilterLZW' => __DIR__ . '/..' . '/setasign/fpdi/filters/FilterLZW.php',
|
101 |
+
'GFPDF\\Controller\\Controller_Actions' => __DIR__ . '/../..' . '/src/controller/Controller_Actions.php',
|
102 |
+
'GFPDF\\Controller\\Controller_Form_Settings' => __DIR__ . '/../..' . '/src/controller/Controller_Form_Settings.php',
|
103 |
+
'GFPDF\\Controller\\Controller_Install' => __DIR__ . '/../..' . '/src/controller/Controller_Install.php',
|
104 |
+
'GFPDF\\Controller\\Controller_PDF' => __DIR__ . '/../..' . '/src/controller/Controller_PDF.php',
|
105 |
+
'GFPDF\\Controller\\Controller_Settings' => __DIR__ . '/../..' . '/src/controller/Controller_Settings.php',
|
106 |
+
'GFPDF\\Controller\\Controller_Shortcodes' => __DIR__ . '/../..' . '/src/controller/Controller_Shortcodes.php',
|
107 |
+
'GFPDF\\Controller\\Controller_Welcome_Screen' => __DIR__ . '/../..' . '/src/controller/Controller_Welcome_Screen.php',
|
108 |
+
'GFPDF\\Helper\\Fields\\Field_Address' => __DIR__ . '/../..' . '/src/helper/fields/Field_Address.php',
|
109 |
+
'GFPDF\\Helper\\Fields\\Field_Checkbox' => __DIR__ . '/../..' . '/src/helper/fields/Field_Checkbox.php',
|
110 |
+
'GFPDF\\Helper\\Fields\\Field_Coupon' => __DIR__ . '/../..' . '/src/helper/fields/Field_Coupon.php',
|
111 |
+
'GFPDF\\Helper\\Fields\\Field_CreditCard' => __DIR__ . '/../..' . '/src/helper/fields/Field_Creditcard.php',
|
112 |
+
'GFPDF\\Helper\\Fields\\Field_Date' => __DIR__ . '/../..' . '/src/helper/fields/Field_Date.php',
|
113 |
+
'GFPDF\\Helper\\Fields\\Field_Default' => __DIR__ . '/../..' . '/src/helper/fields/Field_Default.php',
|
114 |
+
'GFPDF\\Helper\\Fields\\Field_Email' => __DIR__ . '/../..' . '/src/helper/fields/Field_Email.php',
|
115 |
+
'GFPDF\\Helper\\Fields\\Field_Fileupload' => __DIR__ . '/../..' . '/src/helper/fields/Field_Fileupload.php',
|
116 |
+
'GFPDF\\Helper\\Fields\\Field_Hidden' => __DIR__ . '/../..' . '/src/helper/fields/Field_Hidden.php',
|
117 |
+
'GFPDF\\Helper\\Fields\\Field_Html' => __DIR__ . '/../..' . '/src/helper/fields/Field_Html.php',
|
118 |
+
'GFPDF\\Helper\\Fields\\Field_Likert' => __DIR__ . '/../..' . '/src/helper/fields/Field_Likert.php',
|
119 |
+
'GFPDF\\Helper\\Fields\\Field_List' => __DIR__ . '/../..' . '/src/helper/fields/Field_List.php',
|
120 |
+
'GFPDF\\Helper\\Fields\\Field_Multiselect' => __DIR__ . '/../..' . '/src/helper/fields/Field_Multiselect.php',
|
121 |
+
'GFPDF\\Helper\\Fields\\Field_Name' => __DIR__ . '/../..' . '/src/helper/fields/Field_Name.php',
|
122 |
+
'GFPDF\\Helper\\Fields\\Field_Number' => __DIR__ . '/../..' . '/src/helper/fields/Field_Number.php',
|
123 |
+
'GFPDF\\Helper\\Fields\\Field_Phone' => __DIR__ . '/../..' . '/src/helper/fields/Field_Phone.php',
|
124 |
+
'GFPDF\\Helper\\Fields\\Field_Poll' => __DIR__ . '/../..' . '/src/helper/fields/Field_Poll.php',
|
125 |
+
'GFPDF\\Helper\\Fields\\Field_Post_Category' => __DIR__ . '/../..' . '/src/helper/fields/Field_Post_Category.php',
|
126 |
+
'GFPDF\\Helper\\Fields\\Field_Post_Content' => __DIR__ . '/../..' . '/src/helper/fields/Field_Post_Content.php',
|
127 |
+
'GFPDF\\Helper\\Fields\\Field_Post_Custom_Field' => __DIR__ . '/../..' . '/src/helper/fields/Field_Post_Custom_Field.php',
|
128 |
+
'GFPDF\\Helper\\Fields\\Field_Post_Excerpt' => __DIR__ . '/../..' . '/src/helper/fields/Field_Post_Excerpt.php',
|
129 |
+
'GFPDF\\Helper\\Fields\\Field_Post_Image' => __DIR__ . '/../..' . '/src/helper/fields/Field_Post_Image.php',
|
130 |
+
'GFPDF\\Helper\\Fields\\Field_Post_Tags' => __DIR__ . '/../..' . '/src/helper/fields/Field_Post_Tags.php',
|
131 |
+
'GFPDF\\Helper\\Fields\\Field_Post_Title' => __DIR__ . '/../..' . '/src/helper/fields/Field_Post_Title.php',
|
132 |
+
'GFPDF\\Helper\\Fields\\Field_Product' => __DIR__ . '/../..' . '/src/helper/fields/Field_Product.php',
|
133 |
+
'GFPDF\\Helper\\Fields\\Field_Products' => __DIR__ . '/../..' . '/src/helper/fields/Field_Products.php',
|
134 |
+
'GFPDF\\Helper\\Fields\\Field_Quiz' => __DIR__ . '/../..' . '/src/helper/fields/Field_Quiz.php',
|
135 |
+
'GFPDF\\Helper\\Fields\\Field_Radio' => __DIR__ . '/../..' . '/src/helper/fields/Field_Radio.php',
|
136 |
+
'GFPDF\\Helper\\Fields\\Field_Rank' => __DIR__ . '/../..' . '/src/helper/fields/Field_Rank.php',
|
137 |
+
'GFPDF\\Helper\\Fields\\Field_Rating' => __DIR__ . '/../..' . '/src/helper/fields/Field_Rating.php',
|
138 |
+
'GFPDF\\Helper\\Fields\\Field_Section' => __DIR__ . '/../..' . '/src/helper/fields/Field_Section.php',
|
139 |
+
'GFPDF\\Helper\\Fields\\Field_Select' => __DIR__ . '/../..' . '/src/helper/fields/Field_Select.php',
|
140 |
+
'GFPDF\\Helper\\Fields\\Field_Signature' => __DIR__ . '/../..' . '/src/helper/fields/Field_Signature.php',
|
141 |
+
'GFPDF\\Helper\\Fields\\Field_Survey' => __DIR__ . '/../..' . '/src/helper/fields/Field_Survey.php',
|
142 |
+
'GFPDF\\Helper\\Fields\\Field_Text' => __DIR__ . '/../..' . '/src/helper/fields/Field_Text.php',
|
143 |
+
'GFPDF\\Helper\\Fields\\Field_Textarea' => __DIR__ . '/../..' . '/src/helper/fields/Field_Textarea.php',
|
144 |
+
'GFPDF\\Helper\\Fields\\Field_Time' => __DIR__ . '/../..' . '/src/helper/fields/Field_Time.php',
|
145 |
+
'GFPDF\\Helper\\Fields\\Field_Tos' => __DIR__ . '/../..' . '/src/helper/fields/Field_Tos.php',
|
146 |
+
'GFPDF\\Helper\\Fields\\Field_Website' => __DIR__ . '/../..' . '/src/helper/fields/Field_Website.php',
|
147 |
+
'GFPDF\\Helper\\Fields\\Field_v3_List' => __DIR__ . '/../..' . '/src/helper/fields/Field_v3_List.php',
|
148 |
+
'GFPDF\\Helper\\Fields\\Field_v3_Products' => __DIR__ . '/../..' . '/src/helper/fields/Field_v3_Products.php',
|
149 |
+
'GFPDF\\Helper\\Fields\\Field_v3_Section' => __DIR__ . '/../..' . '/src/helper/fields/Field_v3_Section.php',
|
150 |
+
'GFPDF\\Helper\\Helper_Abstract_Controller' => __DIR__ . '/../..' . '/src/helper/abstract/Helper_Abstract_Controller.php',
|
151 |
+
'GFPDF\\Helper\\Helper_Abstract_Fields' => __DIR__ . '/../..' . '/src/helper/abstract/Helper_Abstract_Fields.php',
|
152 |
+
'GFPDF\\Helper\\Helper_Abstract_Form' => __DIR__ . '/../..' . '/src/helper/abstract/Helper_Abstract_Form.php',
|
153 |
+
'GFPDF\\Helper\\Helper_Abstract_Model' => __DIR__ . '/../..' . '/src/helper/abstract/Helper_Abstract_Model.php',
|
154 |
+
'GFPDF\\Helper\\Helper_Abstract_Options' => __DIR__ . '/../..' . '/src/helper/abstract/Helper_Abstract_Options.php',
|
155 |
+
'GFPDF\\Helper\\Helper_Abstract_View' => __DIR__ . '/../..' . '/src/helper/abstract/Helper_Abstract_View.php',
|
156 |
+
'GFPDF\\Helper\\Helper_Data' => __DIR__ . '/../..' . '/src/helper/Helper_Data.php',
|
157 |
+
'GFPDF\\Helper\\Helper_Field_Container' => __DIR__ . '/../..' . '/src/helper/Helper_Field_Container.php',
|
158 |
+
'GFPDF\\Helper\\Helper_Field_Container_Void' => __DIR__ . '/../..' . '/src/helper/Helper_Field_Container_Void.php',
|
159 |
+
'GFPDF\\Helper\\Helper_Form' => __DIR__ . '/../..' . '/src/helper/Helper_Form.php',
|
160 |
+
'GFPDF\\Helper\\Helper_Interface_Actions' => __DIR__ . '/../..' . '/src/helper/interface/Helper_Interface_Actions.php',
|
161 |
+
'GFPDF\\Helper\\Helper_Interface_Config' => __DIR__ . '/../..' . '/src/helper/interface/Helper_Interface_Config.php',
|
162 |
+
'GFPDF\\Helper\\Helper_Interface_Filters' => __DIR__ . '/../..' . '/src/helper/interface/Helper_Interface_Filters.php',
|
163 |
+
'GFPDF\\Helper\\Helper_Migration' => __DIR__ . '/../..' . '/src/helper/Helper_Migration.php',
|
164 |
+
'GFPDF\\Helper\\Helper_Misc' => __DIR__ . '/../..' . '/src/helper/Helper_Misc.php',
|
165 |
+
'GFPDF\\Helper\\Helper_Notices' => __DIR__ . '/../..' . '/src/helper/Helper_Notices.php',
|
166 |
+
'GFPDF\\Helper\\Helper_Options_Fields' => __DIR__ . '/../..' . '/src/helper/Helper_Options_Fields.php',
|
167 |
+
'GFPDF\\Helper\\Helper_PDF' => __DIR__ . '/../..' . '/src/helper/Helper_PDF.php',
|
168 |
+
'GFPDF\\Helper\\Helper_PDF_List_Table' => __DIR__ . '/../..' . '/src/helper/Helper_PDF_List_Table.php',
|
169 |
+
'GFPDF\\Helper\\Helper_QueryPath' => __DIR__ . '/../..' . '/src/helper/Helper_QueryPath.php',
|
170 |
+
'GFPDF\\Helper\\Helper_Singleton' => __DIR__ . '/../..' . '/src/helper/Helper_Singleton.php',
|
171 |
+
'GFPDF\\Model\\Model_Actions' => __DIR__ . '/../..' . '/src/model/Model_Actions.php',
|
172 |
+
'GFPDF\\Model\\Model_Form_Settings' => __DIR__ . '/../..' . '/src/model/Model_Form_Settings.php',
|
173 |
+
'GFPDF\\Model\\Model_Install' => __DIR__ . '/../..' . '/src/model/Model_Install.php',
|
174 |
+
'GFPDF\\Model\\Model_PDF' => __DIR__ . '/../..' . '/src/model/Model_PDF.php',
|
175 |
+
'GFPDF\\Model\\Model_Settings' => __DIR__ . '/../..' . '/src/model/Model_Settings.php',
|
176 |
+
'GFPDF\\Model\\Model_Shortcodes' => __DIR__ . '/../..' . '/src/model/Model_Shortcodes.php',
|
177 |
+
'GFPDF\\Model\\Model_Welcome_Screen' => __DIR__ . '/../..' . '/src/model/Model_Welcome_Screen.php',
|
178 |
+
'GFPDF\\Router' => __DIR__ . '/../..' . '/src/bootstrap.php',
|
179 |
+
'GFPDF\\Templates\\Config\\Blank_Slate' => __DIR__ . '/../..' . '/src/templates/config/blank-slate.php',
|
180 |
+
'GFPDF\\Templates\\Config\\Focus_Gravity' => __DIR__ . '/../..' . '/src/templates/config/focus-gravity.php',
|
181 |
+
'GFPDF\\Templates\\Config\\Legacy' => __DIR__ . '/../..' . '/src/templates/config/legacy.php',
|
182 |
+
'GFPDF\\Templates\\Config\\Rubix' => __DIR__ . '/../..' . '/src/templates/config/rubix.php',
|
183 |
+
'GFPDF\\Templates\\Config\\Zadani' => __DIR__ . '/../..' . '/src/templates/config/zadani.php',
|
184 |
+
'GFPDF\\View\\View_Actions' => __DIR__ . '/../..' . '/src/view/View_Actions.php',
|
185 |
+
'GFPDF\\View\\View_Form_Settings' => __DIR__ . '/../..' . '/src/view/View_Form_Settings.php',
|
186 |
+
'GFPDF\\View\\View_PDF' => __DIR__ . '/../..' . '/src/view/View_PDF.php',
|
187 |
+
'GFPDF\\View\\View_Settings' => __DIR__ . '/../..' . '/src/view/View_Settings.php',
|
188 |
+
'GFPDF\\View\\View_Shortcodes' => __DIR__ . '/../..' . '/src/view/View_Shortcodes.php',
|
189 |
+
'GFPDF\\View\\View_Welcome_Screen' => __DIR__ . '/../..' . '/src/view/View_Welcome_Screen.php',
|
190 |
+
'INDIC' => __DIR__ . '/..' . '/blueliquiddesigns/mpdf/classes/indic.php',
|
191 |
+
'MYANMAR' => __DIR__ . '/..' . '/blueliquiddesigns/mpdf/classes/myanmar.php',
|
192 |
+
'Masterminds\\HTML5' => __DIR__ . '/..' . '/masterminds/html5/src/HTML5.php',
|
193 |
+
'Masterminds\\HTML5\\Elements' => __DIR__ . '/..' . '/masterminds/html5/src/HTML5/Elements.php',
|
194 |
+
'Masterminds\\HTML5\\Entities' => __DIR__ . '/..' . '/masterminds/html5/src/HTML5/Entities.php',
|
195 |
+
'Masterminds\\HTML5\\Exception' => __DIR__ . '/..' . '/masterminds/html5/src/HTML5/Exception.php',
|
196 |
+
'Masterminds\\HTML5\\InstructionProcessor' => __DIR__ . '/..' . '/masterminds/html5/src/HTML5/InstructionProcessor.php',
|
197 |
+
'Masterminds\\HTML5\\Parser\\CharacterReference' => __DIR__ . '/..' . '/masterminds/html5/src/HTML5/Parser/CharacterReference.php',
|
198 |
+
'Masterminds\\HTML5\\Parser\\DOMTreeBuilder' => __DIR__ . '/..' . '/masterminds/html5/src/HTML5/Parser/DOMTreeBuilder.php',
|
199 |
+
'Masterminds\\HTML5\\Parser\\EventHandler' => __DIR__ . '/..' . '/masterminds/html5/src/HTML5/Parser/EventHandler.php',
|
200 |
+
'Masterminds\\HTML5\\Parser\\FileInputStream' => __DIR__ . '/..' . '/masterminds/html5/src/HTML5/Parser/FileInputStream.php',
|
201 |
+
'Masterminds\\HTML5\\Parser\\InputStream' => __DIR__ . '/..' . '/masterminds/html5/src/HTML5/Parser/InputStream.php',
|
202 |
+
'Masterminds\\HTML5\\Parser\\ParseError' => __DIR__ . '/..' . '/masterminds/html5/src/HTML5/Parser/ParseError.php',
|
203 |
+
'Masterminds\\HTML5\\Parser\\Scanner' => __DIR__ . '/..' . '/masterminds/html5/src/HTML5/Parser/Scanner.php',
|
204 |
+
'Masterminds\\HTML5\\Parser\\StringInputStream' => __DIR__ . '/..' . '/masterminds/html5/src/HTML5/Parser/StringInputStream.php',
|
205 |
+
'Masterminds\\HTML5\\Parser\\Tokenizer' => __DIR__ . '/..' . '/masterminds/html5/src/HTML5/Parser/Tokenizer.php',
|
206 |
+
'Masterminds\\HTML5\\Parser\\TreeBuildingRules' => __DIR__ . '/..' . '/masterminds/html5/src/HTML5/Parser/TreeBuildingRules.php',
|
207 |
+
'Masterminds\\HTML5\\Parser\\UTF8Utils' => __DIR__ . '/..' . '/masterminds/html5/src/HTML5/Parser/UTF8Utils.php',
|
208 |
+
'Masterminds\\HTML5\\Serializer\\HTML5Entities' => __DIR__ . '/..' . '/masterminds/html5/src/HTML5/Serializer/HTML5Entities.php',
|
209 |
+
'Masterminds\\HTML5\\Serializer\\OutputRules' => __DIR__ . '/..' . '/masterminds/html5/src/HTML5/Serializer/OutputRules.php',
|
210 |
+
'Masterminds\\HTML5\\Serializer\\RulesInterface' => __DIR__ . '/..' . '/masterminds/html5/src/HTML5/Serializer/RulesInterface.php',
|
211 |
+
'Masterminds\\HTML5\\Serializer\\Traverser' => __DIR__ . '/..' . '/masterminds/html5/src/HTML5/Serializer/Traverser.php',
|
212 |
+
'Monolog\\ErrorHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/ErrorHandler.php',
|
213 |
+
'Monolog\\Formatter\\ChromePHPFormatter' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Formatter/ChromePHPFormatter.php',
|
214 |
+
'Monolog\\Formatter\\ElasticaFormatter' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Formatter/ElasticaFormatter.php',
|
215 |
+
'Monolog\\Formatter\\FlowdockFormatter' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Formatter/FlowdockFormatter.php',
|
216 |
+
'Monolog\\Formatter\\FormatterInterface' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Formatter/FormatterInterface.php',
|
217 |
+
'Monolog\\Formatter\\GelfMessageFormatter' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Formatter/GelfMessageFormatter.php',
|
218 |
+
'Monolog\\Formatter\\HtmlFormatter' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Formatter/HtmlFormatter.php',
|
219 |
+
'Monolog\\Formatter\\JsonFormatter' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Formatter/JsonFormatter.php',
|
220 |
+
'Monolog\\Formatter\\LineFormatter' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Formatter/LineFormatter.php',
|
221 |
+
'Monolog\\Formatter\\LogglyFormatter' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Formatter/LogglyFormatter.php',
|
222 |
+
'Monolog\\Formatter\\LogstashFormatter' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Formatter/LogstashFormatter.php',
|
223 |
+
'Monolog\\Formatter\\MongoDBFormatter' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Formatter/MongoDBFormatter.php',
|
224 |
+
'Monolog\\Formatter\\NormalizerFormatter' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Formatter/NormalizerFormatter.php',
|
225 |
+
'Monolog\\Formatter\\ScalarFormatter' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Formatter/ScalarFormatter.php',
|
226 |
+
'Monolog\\Formatter\\WildfireFormatter' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Formatter/WildfireFormatter.php',
|
227 |
+
'Monolog\\Handler\\AbstractHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/AbstractHandler.php',
|
228 |
+
'Monolog\\Handler\\AbstractProcessingHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php',
|
229 |
+
'Monolog\\Handler\\AbstractSyslogHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/AbstractSyslogHandler.php',
|
230 |
+
'Monolog\\Handler\\AmqpHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/AmqpHandler.php',
|
231 |
+
'Monolog\\Handler\\BrowserConsoleHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/BrowserConsoleHandler.php',
|
232 |
+
'Monolog\\Handler\\BufferHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/BufferHandler.php',
|
233 |
+
'Monolog\\Handler\\ChromePHPHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/ChromePHPHandler.php',
|
234 |
+
'Monolog\\Handler\\CouchDBHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/CouchDBHandler.php',
|
235 |
+
'Monolog\\Handler\\CubeHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/CubeHandler.php',
|
236 |
+
'Monolog\\Handler\\Curl\\Util' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/Curl/Util.php',
|
237 |
+
'Monolog\\Handler\\DoctrineCouchDBHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/DoctrineCouchDBHandler.php',
|
238 |
+
'Monolog\\Handler\\DynamoDbHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/DynamoDbHandler.php',
|
239 |
+
'Monolog\\Handler\\ElasticSearchHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/ElasticSearchHandler.php',
|
240 |
+
'Monolog\\Handler\\ErrorLogHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/ErrorLogHandler.php',
|
241 |
+
'Monolog\\Handler\\FilterHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/FilterHandler.php',
|
242 |
+
'Monolog\\Handler\\FingersCrossedHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/FingersCrossedHandler.php',
|
243 |
+
'Monolog\\Handler\\FingersCrossed\\ActivationStrategyInterface' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/FingersCrossed/ActivationStrategyInterface.php',
|
244 |
+
'Monolog\\Handler\\FingersCrossed\\ChannelLevelActivationStrategy' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/FingersCrossed/ChannelLevelActivationStrategy.php',
|
245 |
+
'Monolog\\Handler\\FingersCrossed\\ErrorLevelActivationStrategy' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/FingersCrossed/ErrorLevelActivationStrategy.php',
|
246 |
+
'Monolog\\Handler\\FirePHPHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/FirePHPHandler.php',
|
247 |
+
'Monolog\\Handler\\FleepHookHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/FleepHookHandler.php',
|
248 |
+
'Monolog\\Handler\\FlowdockHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/FlowdockHandler.php',
|
249 |
+
'Monolog\\Handler\\GelfHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/GelfHandler.php',
|
250 |
+
'Monolog\\Handler\\GroupHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/GroupHandler.php',
|
251 |
+
'Monolog\\Handler\\HandlerInterface' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/HandlerInterface.php',
|
252 |
+
'Monolog\\Handler\\HipChatHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/HipChatHandler.php',
|
253 |
+
'Monolog\\Handler\\IFTTTHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/IFTTTHandler.php',
|
254 |
+
'Monolog\\Handler\\LogEntriesHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/LogEntriesHandler.php',
|
255 |
+
'Monolog\\Handler\\LogglyHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/LogglyHandler.php',
|
256 |
+
'Monolog\\Handler\\MailHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/MailHandler.php',
|
257 |
+
'Monolog\\Handler\\MandrillHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/MandrillHandler.php',
|
258 |
+
'Monolog\\Handler\\MissingExtensionException' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/MissingExtensionException.php',
|
259 |
+
'Monolog\\Handler\\MongoDBHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/MongoDBHandler.php',
|
260 |
+
'Monolog\\Handler\\NativeMailerHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/NativeMailerHandler.php',
|
261 |
+
'Monolog\\Handler\\NewRelicHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/NewRelicHandler.php',
|
262 |
+
'Monolog\\Handler\\NullHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/NullHandler.php',
|
263 |
+
'Monolog\\Handler\\PHPConsoleHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/PHPConsoleHandler.php',
|
264 |
+
'Monolog\\Handler\\PsrHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/PsrHandler.php',
|
265 |
+
'Monolog\\Handler\\PushoverHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/PushoverHandler.php',
|
266 |
+
'Monolog\\Handler\\RavenHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/RavenHandler.php',
|
267 |
+
'Monolog\\Handler\\RedisHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/RedisHandler.php',
|
268 |
+
'Monolog\\Handler\\RollbarHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/RollbarHandler.php',
|
269 |
+
'Monolog\\Handler\\RotatingFileHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php',
|
270 |
+
'Monolog\\Handler\\SamplingHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/SamplingHandler.php',
|
271 |
+
'Monolog\\Handler\\SlackHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/SlackHandler.php',
|
272 |
+
'Monolog\\Handler\\SocketHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/SocketHandler.php',
|
273 |
+
'Monolog\\Handler\\StreamHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/StreamHandler.php',
|
274 |
+
'Monolog\\Handler\\SwiftMailerHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/SwiftMailerHandler.php',
|
275 |
+
'Monolog\\Handler\\SyslogHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/SyslogHandler.php',
|
276 |
+
'Monolog\\Handler\\SyslogUdpHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/SyslogUdpHandler.php',
|
277 |
+
'Monolog\\Handler\\SyslogUdp\\UdpSocket' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/SyslogUdp/UdpSocket.php',
|
278 |
+
'Monolog\\Handler\\TestHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/TestHandler.php',
|
279 |
+
'Monolog\\Handler\\WhatFailureGroupHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/WhatFailureGroupHandler.php',
|
280 |
+
'Monolog\\Handler\\ZendMonitorHandler' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Handler/ZendMonitorHandler.php',
|
281 |
+
'Monolog\\Logger' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Logger.php',
|
282 |
+
'Monolog\\Processor\\GitProcessor' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Processor/GitProcessor.php',
|
283 |
+
'Monolog\\Processor\\IntrospectionProcessor' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Processor/IntrospectionProcessor.php',
|
284 |
+
'Monolog\\Processor\\MemoryPeakUsageProcessor' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Processor/MemoryPeakUsageProcessor.php',
|
285 |
+
'Monolog\\Processor\\MemoryProcessor' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Processor/MemoryProcessor.php',
|
286 |
+
'Monolog\\Processor\\MemoryUsageProcessor' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Processor/MemoryUsageProcessor.php',
|
287 |
+
'Monolog\\Processor\\ProcessIdProcessor' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Processor/ProcessIdProcessor.php',
|
288 |
+
'Monolog\\Processor\\PsrLogMessageProcessor' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Processor/PsrLogMessageProcessor.php',
|
289 |
+
'Monolog\\Processor\\TagProcessor' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Processor/TagProcessor.php',
|
290 |
+
'Monolog\\Processor\\UidProcessor' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Processor/UidProcessor.php',
|
291 |
+
'Monolog\\Processor\\WebProcessor' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Processor/WebProcessor.php',
|
292 |
+
'Monolog\\Registry' => __DIR__ . '/..' . '/monolog/monolog/src/Monolog/Registry.php',
|
293 |
+
'OTLdump' => __DIR__ . '/..' . '/blueliquiddesigns/mpdf/classes/otl_dump.php',
|
294 |
+
'PDFBarcode' => __DIR__ . '/..' . '/blueliquiddesigns/mpdf/classes/barcode.php',
|
295 |
+
'Psr\\Log\\AbstractLogger' => __DIR__ . '/..' . '/psr/log/Psr/Log/AbstractLogger.php',
|
296 |
+
'Psr\\Log\\InvalidArgumentException' => __DIR__ . '/..' . '/psr/log/Psr/Log/InvalidArgumentException.php',
|
297 |
+
'Psr\\Log\\LogLevel' => __DIR__ . '/..' . '/psr/log/Psr/Log/LogLevel.php',
|
298 |
+
'Psr\\Log\\LoggerAwareInterface' => __DIR__ . '/..' . '/psr/log/Psr/Log/LoggerAwareInterface.php',
|
299 |
+
'Psr\\Log\\LoggerAwareTrait' => __DIR__ . '/..' . '/psr/log/Psr/Log/LoggerAwareTrait.php',
|
300 |
+
'Psr\\Log\\LoggerInterface' => __DIR__ . '/..' . '/psr/log/Psr/Log/LoggerInterface.php',
|
301 |
+
'Psr\\Log\\LoggerTrait' => __DIR__ . '/..' . '/psr/log/Psr/Log/LoggerTrait.php',
|
302 |
+
'Psr\\Log\\NullLogger' => __DIR__ . '/..' . '/psr/log/Psr/Log/NullLogger.php',
|
303 |
+
'Psr\\Log\\Test\\DummyTest' => __DIR__ . '/..' . '/psr/log/Psr/Log/Test/LoggerInterfaceTest.php',
|
304 |
+
'Psr\\Log\\Test\\LoggerInterfaceTest' => __DIR__ . '/..' . '/psr/log/Psr/Log/Test/LoggerInterfaceTest.php',
|
305 |
+
'QueryPath' => __DIR__ . '/..' . '/querypath/querypath/src/QueryPath.php',
|
306 |
+
'QueryPath\\CSS\\DOMTraverser' => __DIR__ . '/..' . '/querypath/querypath/src/QueryPath/CSS/DOMTraverser.php',
|
307 |
+
'QueryPath\\CSS\\DOMTraverser\\PseudoClass' => __DIR__ . '/..' . '/querypath/querypath/src/QueryPath/CSS/DOMTraverser/PseudoClass.php',
|
308 |
+
'QueryPath\\CSS\\DOMTraverser\\Util' => __DIR__ . '/..' . '/querypath/querypath/src/QueryPath/CSS/DOMTraverser/Util.php',
|
309 |
+
'QueryPath\\CSS\\EventHandler' => __DIR__ . '/..' . '/querypath/querypath/src/QueryPath/CSS/EventHandler.php',
|
310 |
+
'QueryPath\\CSS\\InputStream' => __DIR__ . '/..' . '/querypath/querypath/src/QueryPath/CSS/InputStream.php',
|
311 |
+
'QueryPath\\CSS\\NotImplementedException' => __DIR__ . '/..' . '/querypath/querypath/src/QueryPath/CSS/NotImplementedException.php',
|
312 |
+
'QueryPath\\CSS\\ParseException' => __DIR__ . '/..' . '/querypath/querypath/src/QueryPath/CSS/ParseException.php',
|
313 |
+
'QueryPath\\CSS\\Parser' => __DIR__ . '/..' . '/querypath/querypath/src/QueryPath/CSS/Parser.php',
|
314 |
+
'QueryPath\\CSS\\QueryPathEventHandler' => __DIR__ . '/..' . '/querypath/querypath/src/QueryPath/CSS/QueryPathEventHandler.php',
|
315 |
+
'QueryPath\\CSS\\Scanner' => __DIR__ . '/..' . '/querypath/querypath/src/QueryPath/CSS/Scanner.php',
|
316 |
+
'QueryPath\\CSS\\Selector' => __DIR__ . '/..' . '/querypath/querypath/src/QueryPath/CSS/Selector.php',
|
317 |
+
'QueryPath\\CSS\\SimpleSelector' => __DIR__ . '/..' . '/querypath/querypath/src/QueryPath/CSS/SimpleSelector.php',
|
318 |
+
'QueryPath\\CSS\\Token' => __DIR__ . '/..' . '/querypath/querypath/src/QueryPath/CSS/Token.php',
|
319 |
+
'QueryPath\\CSS\\Traverser' => __DIR__ . '/..' . '/querypath/querypath/src/QueryPath/CSS/Traverser.php',
|
320 |
+
'QueryPath\\DOMQuery' => __DIR__ . '/..' . '/querypath/querypath/src/QueryPath/DOMQuery.php',
|
321 |
+
'QueryPath\\Entities' => __DIR__ . '/..' . '/querypath/querypath/src/QueryPath/Entities.php',
|
322 |
+
'QueryPath\\Exception' => __DIR__ . '/..' . '/querypath/querypath/src/QueryPath/Exception.php',
|
323 |
+
'QueryPath\\Extension' => __DIR__ . '/..' . '/querypath/querypath/src/QueryPath/Extension.php',
|
324 |
+
'QueryPath\\ExtensionRegistry' => __DIR__ . '/..' . '/querypath/querypath/src/QueryPath/ExtensionRegistry.php',
|
325 |
+
'QueryPath\\Extension\\QPXML' => __DIR__ . '/..' . '/querypath/querypath/src/QueryPath/Extension/QPXML.php',
|
326 |
+
'QueryPath\\Extension\\QPXSL' => __DIR__ . '/..' . '/querypath/querypath/src/QueryPath/Extension/QPXSL.php',
|
327 |
+
'QueryPath\\IOException' => __DIR__ . '/..' . '/querypath/querypath/src/QueryPath/IOException.php',
|
328 |
+
'QueryPath\\Options' => __DIR__ . '/..' . '/querypath/querypath/src/QueryPath/Options.php',
|
329 |
+
'QueryPath\\ParseException' => __DIR__ . '/..' . '/querypath/querypath/src/QueryPath/ParseException.php',
|
330 |
+
'QueryPath\\Query' => __DIR__ . '/..' . '/querypath/querypath/src/QueryPath/Query.php',
|
331 |
+
'QueryPath\\QueryPathIterator' => __DIR__ . '/..' . '/querypath/querypath/src/QueryPath/QueryPathIterator.php',
|
332 |
+
'SEA' => __DIR__ . '/..' . '/blueliquiddesigns/mpdf/classes/sea.php',
|
333 |
+
'SVG' => __DIR__ . '/..' . '/blueliquiddesigns/mpdf/classes/svg.php',
|
334 |
+
'TTFontFile' => __DIR__ . '/..' . '/blueliquiddesigns/mpdf/classes/ttfontsuni.php',
|
335 |
+
'TTFontFile_Analysis' => __DIR__ . '/..' . '/blueliquiddesigns/mpdf/classes/ttfontsuni_analysis.php',
|
336 |
+
'UCDN' => __DIR__ . '/..' . '/blueliquiddesigns/mpdf/classes/ucdn.php',
|
337 |
+
'bmp' => __DIR__ . '/..' . '/blueliquiddesigns/mpdf/classes/bmp.php',
|
338 |
+
'cssmgr' => __DIR__ . '/..' . '/blueliquiddesigns/mpdf/classes/cssmgr.php',
|
339 |
+
'directw' => __DIR__ . '/..' . '/blueliquiddesigns/mpdf/classes/directw.php',
|
340 |
+
'fpdi_pdf_parser' => __DIR__ . '/..' . '/setasign/fpdi/fpdi_pdf_parser.php',
|
341 |
+
'grad' => __DIR__ . '/..' . '/blueliquiddesigns/mpdf/classes/grad.php',
|
342 |
+
'mPDF' => __DIR__ . '/..' . '/blueliquiddesigns/mpdf/mpdf.php',
|
343 |
+
'meter' => __DIR__ . '/..' . '/blueliquiddesigns/mpdf/classes/meter.php',
|
344 |
+
'mpdfform' => __DIR__ . '/..' . '/blueliquiddesigns/mpdf/classes/mpdfform.php',
|
345 |
+
'otl' => __DIR__ . '/..' . '/blueliquiddesigns/mpdf/classes/otl.php',
|
346 |
+
'pdf_context' => __DIR__ . '/..' . '/setasign/fpdi/pdf_context.php',
|
347 |
+
'tocontents' => __DIR__ . '/..' . '/blueliquiddesigns/mpdf/classes/tocontents.php',
|
348 |
+
'wmf' => __DIR__ . '/..' . '/blueliquiddesigns/mpdf/classes/wmf.php',
|
349 |
+
);
|
350 |
+
|
351 |
+
public static function getInitializer(ClassLoader $loader)
|
352 |
+
{
|
353 |
+
return \Closure::bind(function () use ($loader) {
|
354 |
+
$loader->prefixLengthsPsr4 = ComposerStaticInitfeed9bb4a90dc7c1aedfa3d8346e3b4d::$prefixLengthsPsr4;
|
355 |
+
$loader->prefixDirsPsr4 = ComposerStaticInitfeed9bb4a90dc7c1aedfa3d8346e3b4d::$prefixDirsPsr4;
|
356 |
+
$loader->prefixesPsr0 = ComposerStaticInitfeed9bb4a90dc7c1aedfa3d8346e3b4d::$prefixesPsr0;
|
357 |
+
$loader->classMap = ComposerStaticInitfeed9bb4a90dc7c1aedfa3d8346e3b4d::$classMap;
|
358 |
+
|
359 |
+
}, null, ClassLoader::class);
|
360 |
+
}
|
361 |
+
}
|
vendor/composer/installed.json
CHANGED
@@ -50,59 +50,6 @@
|
|
50 |
"pdf"
|
51 |
]
|
52 |
},
|
53 |
-
{
|
54 |
-
"name": "blueliquiddesigns/mpdf",
|
55 |
-
"version": "dev-wordpress-master",
|
56 |
-
"version_normalized": "dev-wordpress-master",
|
57 |
-
"source": {
|
58 |
-
"type": "git",
|
59 |
-
"url": "https://github.com/GravityPDF/mpdf.git",
|
60 |
-
"reference": "9fe31cc6a790ed3a06cddf28a58ba2349fe7d079"
|
61 |
-
},
|
62 |
-
"dist": {
|
63 |
-
"type": "zip",
|
64 |
-
"url": "https://api.github.com/repos/GravityPDF/mpdf/zipball/9fe31cc6a790ed3a06cddf28a58ba2349fe7d079",
|
65 |
-
"reference": "9fe31cc6a790ed3a06cddf28a58ba2349fe7d079",
|
66 |
-
"shasum": ""
|
67 |
-
},
|
68 |
-
"require": {
|
69 |
-
"ext-mbstring": "*",
|
70 |
-
"php": ">=5.4.0",
|
71 |
-
"setasign/fpdi": "1.6.*"
|
72 |
-
},
|
73 |
-
"require-dev": {
|
74 |
-
"phpunit/phpunit": "^4.7"
|
75 |
-
},
|
76 |
-
"suggest": {
|
77 |
-
"ext-zlib": "Needed for compression of embedded resources, such as fonts"
|
78 |
-
},
|
79 |
-
"time": "2016-07-27 07:37:46",
|
80 |
-
"type": "library",
|
81 |
-
"installation-source": "dist",
|
82 |
-
"autoload": {
|
83 |
-
"classmap": [
|
84 |
-
"mpdf.php",
|
85 |
-
"classes"
|
86 |
-
]
|
87 |
-
},
|
88 |
-
"notification-url": "https://packagist.org/downloads/",
|
89 |
-
"license": [
|
90 |
-
"GPL-2.0"
|
91 |
-
],
|
92 |
-
"authors": [
|
93 |
-
{
|
94 |
-
"name": "Ian Back",
|
95 |
-
"role": "Developer"
|
96 |
-
}
|
97 |
-
],
|
98 |
-
"description": "A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support, with a strong focus on WordPress integration. If you just want a standalone option (without WordPress) use the mpdf/mpdf packagist option.",
|
99 |
-
"homepage": "http://mpdf.github.io",
|
100 |
-
"keywords": [
|
101 |
-
"pdf",
|
102 |
-
"php",
|
103 |
-
"utf-8"
|
104 |
-
]
|
105 |
-
},
|
106 |
{
|
107 |
"name": "psr/log",
|
108 |
"version": "1.0.0",
|
@@ -290,24 +237,24 @@
|
|
290 |
},
|
291 |
{
|
292 |
"name": "querypath/querypath",
|
293 |
-
"version": "3.0.
|
294 |
-
"version_normalized": "3.0.
|
295 |
"source": {
|
296 |
"type": "git",
|
297 |
"url": "https://github.com/technosophos/querypath.git",
|
298 |
-
"reference": "
|
299 |
},
|
300 |
"dist": {
|
301 |
"type": "zip",
|
302 |
-
"url": "https://api.github.com/repos/technosophos/querypath/zipball/
|
303 |
-
"reference": "
|
304 |
"shasum": ""
|
305 |
},
|
306 |
"require": {
|
307 |
"masterminds/html5": "2.*",
|
308 |
"php": ">=5.3.0"
|
309 |
},
|
310 |
-
"time": "
|
311 |
"type": "library",
|
312 |
"installation-source": "dist",
|
313 |
"autoload": {
|
@@ -331,5 +278,58 @@
|
|
331 |
"xml",
|
332 |
"xslt"
|
333 |
]
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
334 |
}
|
335 |
]
|
50 |
"pdf"
|
51 |
]
|
52 |
},
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
53 |
{
|
54 |
"name": "psr/log",
|
55 |
"version": "1.0.0",
|
237 |
},
|
238 |
{
|
239 |
"name": "querypath/querypath",
|
240 |
+
"version": "3.0.5",
|
241 |
+
"version_normalized": "3.0.5.0",
|
242 |
"source": {
|
243 |
"type": "git",
|
244 |
"url": "https://github.com/technosophos/querypath.git",
|
245 |
+
"reference": "6b8e2395fac61fac25bbe962f94def556cb85f7d"
|
246 |
},
|
247 |
"dist": {
|
248 |
"type": "zip",
|
249 |
+
"url": "https://api.github.com/repos/technosophos/querypath/zipball/6b8e2395fac61fac25bbe962f94def556cb85f7d",
|
250 |
+
"reference": "6b8e2395fac61fac25bbe962f94def556cb85f7d",
|
251 |
"shasum": ""
|
252 |
},
|
253 |
"require": {
|
254 |
"masterminds/html5": "2.*",
|
255 |
"php": ">=5.3.0"
|
256 |
},
|
257 |
+
"time": "2016-08-01 22:40:30",
|
258 |
"type": "library",
|
259 |
"installation-source": "dist",
|
260 |
"autoload": {
|
278 |
"xml",
|
279 |
"xslt"
|
280 |
]
|
281 |
+
},
|
282 |
+
{
|
283 |
+
"name": "blueliquiddesigns/mpdf",
|
284 |
+
"version": "dev-wordpress-master",
|
285 |
+
"version_normalized": "dev-wordpress-master",
|
286 |
+
"source": {
|
287 |
+
"type": "git",
|
288 |
+
"url": "https://github.com/GravityPDF/mpdf.git",
|
289 |
+
"reference": "4e63bae49b5fd2fa141031107ac8044f07c0e7b1"
|
290 |
+
},
|
291 |
+
"dist": {
|
292 |
+
"type": "zip",
|
293 |
+
"url": "https://api.github.com/repos/GravityPDF/mpdf/zipball/4e63bae49b5fd2fa141031107ac8044f07c0e7b1",
|
294 |
+
"reference": "4e63bae49b5fd2fa141031107ac8044f07c0e7b1",
|
295 |
+
"shasum": ""
|
296 |
+
},
|
297 |
+
"require": {
|
298 |
+
"ext-mbstring": "*",
|
299 |
+
"php": ">=5.4.0",
|
300 |
+
"setasign/fpdi": "1.6.*"
|
301 |
+
},
|
302 |
+
"require-dev": {
|
303 |
+
"phpunit/phpunit": "^4.7"
|
304 |
+
},
|
305 |
+
"suggest": {
|
306 |
+
"ext-zlib": "Needed for compression of embedded resources, such as fonts"
|
307 |
+
},
|
308 |
+
"time": "2016-08-09 06:28:57",
|
309 |
+
"type": "library",
|
310 |
+
"installation-source": "dist",
|
311 |
+
"autoload": {
|
312 |
+
"classmap": [
|
313 |
+
"mpdf.php",
|
314 |
+
"classes"
|
315 |
+
]
|
316 |
+
},
|
317 |
+
"notification-url": "https://packagist.org/downloads/",
|
318 |
+
"license": [
|
319 |
+
"GPL-2.0"
|
320 |
+
],
|
321 |
+
"authors": [
|
322 |
+
{
|
323 |
+
"name": "Ian Back",
|
324 |
+
"role": "Developer"
|
325 |
+
}
|
326 |
+
],
|
327 |
+
"description": "A PHP class to generate PDF files from HTML with Unicode/UTF-8 and CJK support, with a strong focus on WordPress integration. If you just want a standalone option (without WordPress) use the mpdf/mpdf packagist option.",
|
328 |
+
"homepage": "http://mpdf.github.io",
|
329 |
+
"keywords": [
|
330 |
+
"pdf",
|
331 |
+
"php",
|
332 |
+
"utf-8"
|
333 |
+
]
|
334 |
}
|
335 |
]
|
vendor/querypath/querypath/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2 |
|
3 |
Authors: Matt Butcher (lead), Emily Brand, and many others
|
4 |
|
5 |
-
[Website](http://querypath.org) |
|
6 |
[API Docs](http://api.querypath.org/docs) |
|
7 |
[VCS and Issue Tracking](http://github.com/technosophos/querypath) |
|
8 |
[Support List](http://groups.google.com/group/support-querypath) |
|
@@ -15,7 +15,7 @@ This package is licensed under an MIT license (COPYING-MIT.txt).
|
|
15 |
|
16 |
QueryPath is a jQuery-like library for working with XML and HTML
|
17 |
documents in PHP. It now contains support for HTML5 via the
|
18 |
-
[HTML5-PHP project](https://github.com/Masterminds/
|
19 |
|
20 |
### Gettings Started
|
21 |
|
@@ -104,7 +104,7 @@ To stay up to date on stable code, you can use `dev-master` instead of `>=3.0.0`
|
|
104 |
|
105 |
### Manual Install
|
106 |
|
107 |
-
You can either download a stable release from the
|
108 |
[GitHub Tags page](https://github.com/technosophos/querypath/tags)
|
109 |
or you can use `git` to clone
|
110 |
[this repository](http://github.com/technosophos/querypath) and work from
|
@@ -136,8 +136,7 @@ require 'QueryPath.phar';
|
|
136 |
?>
|
137 |
```
|
138 |
|
139 |
-
From there, the main functions you will want to use are `qp()`
|
140 |
(alias of `QueryPath::with()`) and `htmlqp()` (alias of
|
141 |
`QueryPath::withHTML()`). Start with the
|
142 |
[API docs](http://api.querypath.org/docs).
|
143 |
-
|
2 |
|
3 |
Authors: Matt Butcher (lead), Emily Brand, and many others
|
4 |
|
5 |
+
[Website](http://querypath.org) |
|
6 |
[API Docs](http://api.querypath.org/docs) |
|
7 |
[VCS and Issue Tracking](http://github.com/technosophos/querypath) |
|
8 |
[Support List](http://groups.google.com/group/support-querypath) |
|
15 |
|
16 |
QueryPath is a jQuery-like library for working with XML and HTML
|
17 |
documents in PHP. It now contains support for HTML5 via the
|
18 |
+
[HTML5-PHP project](https://github.com/Masterminds/html5-php).
|
19 |
|
20 |
### Gettings Started
|
21 |
|
104 |
|
105 |
### Manual Install
|
106 |
|
107 |
+
You can either download a stable release from the
|
108 |
[GitHub Tags page](https://github.com/technosophos/querypath/tags)
|
109 |
or you can use `git` to clone
|
110 |
[this repository](http://github.com/technosophos/querypath) and work from
|
136 |
?>
|
137 |
```
|
138 |
|
139 |
+
From there, the main functions you will want to use are `qp()`
|
140 |
(alias of `QueryPath::with()`) and `htmlqp()` (alias of
|
141 |
`QueryPath::withHTML()`). Start with the
|
142 |
[API docs](http://api.querypath.org/docs).
|
|
vendor/querypath/querypath/src/QueryPath/DOMQuery.php
CHANGED
@@ -2341,7 +2341,7 @@ class DOMQuery implements \QueryPath\Query, \IteratorAggregate, \Countable {
|
|
2341 |
if (isset($markup)) {
|
2342 |
|
2343 |
// Parse the HTML and insert it into the DOM
|
2344 |
-
$doc = $html5->
|
2345 |
$this->removeChildren();
|
2346 |
$this->append($doc);
|
2347 |
return $this;
|
2341 |
if (isset($markup)) {
|
2342 |
|
2343 |
// Parse the HTML and insert it into the DOM
|
2344 |
+
$doc = $html5->loadHTMLFragment($markup);
|
2345 |
$this->removeChildren();
|
2346 |
$this->append($doc);
|
2347 |
return $this;
|