Gravity PDF - Version 3.4.0

Version Description

  • Feature - Added auto-print prompt ability when you add &print=1 to the PDF URL
  • Feature - Added ability to rotate absolute positioned text 180 degrees (previously only 90 and -90). Note: feature in beta
  • Feature - Backup all template files that are overridden when initialising to a folder inside PDF_EXTENDED_TEMPLATE
  • Feature - Added SSH initialisation support
  • Feature - Allow MERGETAGS to be used in all PDF template, including default template but only in the HTML field.
  • Feature - Updated mPDF to 3.7.1
  • Feature - Enable text/image watermark support. Added new example template example-watermark09.php showing off its usage
  • Feature - Added Quiz support to $form_data array (see $form_data['quiz_config'] and $form_data['quiz_results'])
  • Feature - Added Survey support to $form_data array ()
  • Feature - Shortcodes will now be processed in all templates, including default template but only in the HTML field.
  • Feature - Added 'save' configuration option so PDFs are saved to the local disk when 'notifications' aren't enabled
  • Feature - Added 'dpi' configuration option to modify the PDF image DPI. Default 96dpi. Use 300dpi for printing.
  • Feature - Added PDF/A1-b compliance option. Enable with 'pdfa1b' => true. See http://mpdf1.com/manual/index.php?tid=420&searchstring=pdf/a1-b for more details.
  • Feature - Added PDF/X1-a compliance option. Enable with 'pdfx1a' => true. See http://mpdf1.com/manual/index.php?tid=481&searchstring=pdf/x-1a for more details.
  • Feature - Added new constant option 'PDF_REPACK_FONT' which when enabled may improve function with some PostScript printers (disabled by default)
  • Feature - Added new filters to PDF configuration

  • Housekeeping - Modified mPDF functions Image() and purify_utf8_text() to validate the input data so we don't have to do it every time through the template.

  • Housekeeping - Added ability to not re-deploy every update (not enabled this release as template files were all updated)

  • Housekeeping - Additional checks on load to see if any of the required file/folder structure is missing. If so, re-initilise.

  • Housekeeping - Save resources and turn off automatic rtl identification. Users must set the RTL option when configuring form

  • Housekeeping - Turn off mPDFs packTableData setting, decreasing processing time when working with large tables.

  • Housekeeping - $gf_pdf_default_configuration options now merge down into existing PDF nodes, instead of applying to only unassigned forms

  • Housekeeping - Center aligned Survey Likery field results

  • Housekeeping - Partially refactored the pdf-entry-detail.php code

  • Housekeeping - All default and example templates have been tidied. This won't affect custom templates.

  • Housekeeping - Set the gform_notification order number to 100 which will prevent other functions (example snippets from Gravity Forms, for instance) from overridding the attached PDF.

  • Housekeeping - Fix spelling mistake on initialising fonts

  • Housekeeping - Remove wpautop() function from Gravity Form HTML output, which was applied before rendering and was messing up the HTML markup.

  • Housekeeping - Remove empty list rows from the $form_data['list'] array in single and multi-column lists.

  • Housekeeping - Apply same CSS styles (padding, border and line height) to HTML fields as done to form values in default templates

  • Housekeeping - Replaced arbitrary wrapper IDs in the default templates with the actual field ID

  • Bug - Fixed issue with PDF not attaching to notification using Paypal's delayed notification feature

  • Bug - Fixed strict standard warning about calling GFPDF_Settings::settings_page();

  • Bug - Fixed strict standard warning about calling GFPDFEntryDetail::pdf_get_lead_field_display();

  • Bug - Fixed issue with Gravity Form Post Category field causing fatal error generating PDF

  • Bug - Fixed number field formatting issue when displaying on PDF.

  • Bug - Do additional check for PHP's MB_String regex functions before initialising

  • Bug - Fixed problem with multiple nodes assigned to a form using the same template

  • Bug - Fixed path to fallback templates when not found

  • Bug - Fixed problem with master password setting to user password

Download this release

Release Info

Developer Blue Liquid Designs
Plugin Icon 128x128 Gravity PDF
Version 3.4.0
Comparing to
See all releases

Code changes from version 3.6.0 to 3.4.0

Files changed (67) hide show
  1. LICENSE +0 -339
  2. README.txt +39 -170
  3. depreciated.php +0 -24
  4. helper/api.php +253 -0
  5. helper/data.php +0 -31
  6. helper/installation-update-manager.php +463 -421
  7. helper/notices.php +0 -376
  8. helper/pdf-common.php +99 -142
  9. helper/pdf-configuration-indexer.php +56 -119
  10. helper/pdf-entry-detail.php +115 -379
  11. helper/pdf-render.php +30 -58
  12. initialisation/configuration.php.example +27 -28
  13. initialisation/template.css +1 -1
  14. initialisation/templates/default-template-no-style.php +7 -1
  15. initialisation/templates/default-template-two-rows.php +7 -1
  16. initialisation/templates/default-template.php +7 -1
  17. initialisation/templates/example-advanced-headers_07.php +29 -12
  18. initialisation/templates/example-backgrounds-and-borders02.php +8 -2
  19. initialisation/templates/example-basic-html01.php +9 -3
  20. initialisation/templates/example-different-page-size_08.php +9 -3
  21. initialisation/templates/example-float-and-positioning05.php +8 -2
  22. initialisation/templates/example-header-and-footer_06.php +11 -5
  23. initialisation/templates/example-images03.php +8 -2
  24. initialisation/templates/example-tables04.php +8 -2
  25. initialisation/templates/example-template.php +15 -9
  26. initialisation/templates/example-watermark09.php +8 -2
  27. initialisation/templates/template.css +0 -156
  28. languages/pdfextended-en_GB.po +0 -856
  29. languages/pdfextended-fr_FR.mo +0 -0
  30. languages/pdfextended-fr_FR.po +0 -1024
  31. mPDF.zip +0 -0
  32. mPDF/classes/cssmgr.php +30 -66
  33. mPDF/classes/ttfontsuni.php +3 -4
  34. mPDF/config.php +2 -2
  35. mPDF/config_fonts.php +15 -16
  36. mPDF/includes/upperCase.php +974 -974
  37. mPDF/mpdf-extra-lite.php +14 -22
  38. mPDF/mpdf-lite.php +18 -27
  39. mPDF/mpdf.php +9 -27
  40. mPDF/mpdfi/filters/FilterASCII85.php +97 -97
  41. mPDF/mpdfi/filters/FilterLZW.php +153 -153
  42. mPDF/mpdfi/filters/_notes/dwsync.xml +5 -0
  43. mPDF/ttfontdata/garuda.cw +26 -26
  44. mPDF/ttfonts/Thai Fonts License.txt +340 -340
  45. mPDF/ttfonts/XW Zar Font Info.txt +1 -1
  46. model/pdf.php +177 -238
  47. model/settings.php +74 -62
  48. pdf-settings.php +27 -51
  49. pdf.php +145 -231
  50. resources/css/admin-styles.css +62 -98
  51. resources/css/admin-styles.min.css +1 -1
  52. resources/css/font-awesome-ie7.min.css +384 -0
  53. resources/css/font-awesome.min.css +403 -0
  54. resources/font/FontAwesome.otf +0 -0
  55. resources/font/fontawesome-webfont.eot +0 -0
  56. resources/font/fontawesome-webfont.svg +399 -0
  57. resources/font/fontawesome-webfont.ttf +0 -0
  58. resources/font/fontawesome-webfont.woff +0 -0
  59. resources/images/gravityformspdfextended.jpg +0 -0
  60. resources/javascript/admin.js +18 -23
  61. resources/javascript/admin.min.js +1 -1
  62. view/templates/settings/changelog.php +52 -226
  63. view/templates/settings/initialisation-tab.php +4 -8
  64. view/templates/settings/initialisation.php +22 -55
  65. view/templates/settings/support-form.php +2 -2
  66. view/templates/settings/support-sidebar.php +11 -3
  67. view/templates/settings/system-status.php +24 -31
LICENSE DELETED
@@ -1,339 +0,0 @@
1
- GNU GENERAL PUBLIC LICENSE
2
- Version 2, June 1991
3
-
4
- Copyright (C) 1989, 1991 Free Software Foundation, Inc., <http://fsf.org/>
5
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
6
- Everyone is permitted to copy and distribute verbatim copies
7
- of this license document, but changing it is not allowed.
8
-
9
- Preamble
10
-
11
- The licenses for most software are designed to take away your
12
- freedom to share and change it. By contrast, the GNU General Public
13
- License is intended to guarantee your freedom to share and change free
14
- software--to make sure the software is free for all its users. This
15
- General Public License applies to most of the Free Software
16
- Foundation's software and to any other program whose authors commit to
17
- using it. (Some other Free Software Foundation software is covered by
18
- the GNU Lesser General Public License instead.) You can apply it to
19
- your programs, too.
20
-
21
- When we speak of free software, we are referring to freedom, not
22
- price. Our General Public Licenses are designed to make sure that you
23
- have the freedom to distribute copies of free software (and charge for
24
- this service if you wish), that you receive source code or can get it
25
- if you want it, that you can change the software or use pieces of it
26
- in new free programs; and that you know you can do these things.
27
-
28
- To protect your rights, we need to make restrictions that forbid
29
- anyone to deny you these rights or to ask you to surrender the rights.
30
- These restrictions translate to certain responsibilities for you if you
31
- distribute copies of the software, or if you modify it.
32
-
33
- For example, if you distribute copies of such a program, whether
34
- gratis or for a fee, you must give the recipients all the rights that
35
- you have. You must make sure that they, too, receive or can get the
36
- source code. And you must show them these terms so they know their
37
- rights.
38
-
39
- We protect your rights with two steps: (1) copyright the software, and
40
- (2) offer you this license which gives you legal permission to copy,
41
- distribute and/or modify the software.
42
-
43
- Also, for each author's protection and ours, we want to make certain
44
- that everyone understands that there is no warranty for this free
45
- software. If the software is modified by someone else and passed on, we
46
- want its recipients to know that what they have is not the original, so
47
- that any problems introduced by others will not reflect on the original
48
- authors' reputations.
49
-
50
- Finally, any free program is threatened constantly by software
51
- patents. We wish to avoid the danger that redistributors of a free
52
- program will individually obtain patent licenses, in effect making the
53
- program proprietary. To prevent this, we have made it clear that any
54
- patent must be licensed for everyone's free use or not licensed at all.
55
-
56
- The precise terms and conditions for copying, distribution and
57
- modification follow.
58
-
59
- GNU GENERAL PUBLIC LICENSE
60
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61
-
62
- 0. This License applies to any program or other work which contains
63
- a notice placed by the copyright holder saying it may be distributed
64
- under the terms of this General Public License. The "Program", below,
65
- refers to any such program or work, and a "work based on the Program"
66
- means either the Program or any derivative work under copyright law:
67
- that is to say, a work containing the Program or a portion of it,
68
- either verbatim or with modifications and/or translated into another
69
- language. (Hereinafter, translation is included without limitation in
70
- the term "modification".) Each licensee is addressed as "you".
71
-
72
- Activities other than copying, distribution and modification are not
73
- covered by this License; they are outside its scope. The act of
74
- running the Program is not restricted, and the output from the Program
75
- is covered only if its contents constitute a work based on the
76
- Program (independent of having been made by running the Program).
77
- Whether that is true depends on what the Program does.
78
-
79
- 1. You may copy and distribute verbatim copies of the Program's
80
- source code as you receive it, in any medium, provided that you
81
- conspicuously and appropriately publish on each copy an appropriate
82
- copyright notice and disclaimer of warranty; keep intact all the
83
- notices that refer to this License and to the absence of any warranty;
84
- and give any other recipients of the Program a copy of this License
85
- along with the Program.
86
-
87
- You may charge a fee for the physical act of transferring a copy, and
88
- you may at your option offer warranty protection in exchange for a fee.
89
-
90
- 2. You may modify your copy or copies of the Program or any portion
91
- of it, thus forming a work based on the Program, and copy and
92
- distribute such modifications or work under the terms of Section 1
93
- above, provided that you also meet all of these conditions:
94
-
95
- a) You must cause the modified files to carry prominent notices
96
- stating that you changed the files and the date of any change.
97
-
98
- b) You must cause any work that you distribute or publish, that in
99
- whole or in part contains or is derived from the Program or any
100
- part thereof, to be licensed as a whole at no charge to all third
101
- parties under the terms of this License.
102
-
103
- c) If the modified program normally reads commands interactively
104
- when run, you must cause it, when started running for such
105
- interactive use in the most ordinary way, to print or display an
106
- announcement including an appropriate copyright notice and a
107
- notice that there is no warranty (or else, saying that you provide
108
- a warranty) and that users may redistribute the program under
109
- these conditions, and telling the user how to view a copy of this
110
- License. (Exception: if the Program itself is interactive but
111
- does not normally print such an announcement, your work based on
112
- the Program is not required to print an announcement.)
113
-
114
- These requirements apply to the modified work as a whole. If
115
- identifiable sections of that work are not derived from the Program,
116
- and can be reasonably considered independent and separate works in
117
- themselves, then this License, and its terms, do not apply to those
118
- sections when you distribute them as separate works. But when you
119
- distribute the same sections as part of a whole which is a work based
120
- on the Program, the distribution of the whole must be on the terms of
121
- this License, whose permissions for other licensees extend to the
122
- entire whole, and thus to each and every part regardless of who wrote it.
123
-
124
- Thus, it is not the intent of this section to claim rights or contest
125
- your rights to work written entirely by you; rather, the intent is to
126
- exercise the right to control the distribution of derivative or
127
- collective works based on the Program.
128
-
129
- In addition, mere aggregation of another work not based on the Program
130
- with the Program (or with a work based on the Program) on a volume of
131
- a storage or distribution medium does not bring the other work under
132
- the scope of this License.
133
-
134
- 3. You may copy and distribute the Program (or a work based on it,
135
- under Section 2) in object code or executable form under the terms of
136
- Sections 1 and 2 above provided that you also do one of the following:
137
-
138
- a) Accompany it with the complete corresponding machine-readable
139
- source code, which must be distributed under the terms of Sections
140
- 1 and 2 above on a medium customarily used for software interchange; or,
141
-
142
- b) Accompany it with a written offer, valid for at least three
143
- years, to give any third party, for a charge no more than your
144
- cost of physically performing source distribution, a complete
145
- machine-readable copy of the corresponding source code, to be
146
- distributed under the terms of Sections 1 and 2 above on a medium
147
- customarily used for software interchange; or,
148
-
149
- c) Accompany it with the information you received as to the offer
150
- to distribute corresponding source code. (This alternative is
151
- allowed only for noncommercial distribution and only if you
152
- received the program in object code or executable form with such
153
- an offer, in accord with Subsection b above.)
154
-
155
- The source code for a work means the preferred form of the work for
156
- making modifications to it. For an executable work, complete source
157
- code means all the source code for all modules it contains, plus any
158
- associated interface definition files, plus the scripts used to
159
- control compilation and installation of the executable. However, as a
160
- special exception, the source code distributed need not include
161
- anything that is normally distributed (in either source or binary
162
- form) with the major components (compiler, kernel, and so on) of the
163
- operating system on which the executable runs, unless that component
164
- itself accompanies the executable.
165
-
166
- If distribution of executable or object code is made by offering
167
- access to copy from a designated place, then offering equivalent
168
- access to copy the source code from the same place counts as
169
- distribution of the source code, even though third parties are not
170
- compelled to copy the source along with the object code.
171
-
172
- 4. You may not copy, modify, sublicense, or distribute the Program
173
- except as expressly provided under this License. Any attempt
174
- otherwise to copy, modify, sublicense or distribute the Program is
175
- void, and will automatically terminate your rights under this License.
176
- However, parties who have received copies, or rights, from you under
177
- this License will not have their licenses terminated so long as such
178
- parties remain in full compliance.
179
-
180
- 5. You are not required to accept this License, since you have not
181
- signed it. However, nothing else grants you permission to modify or
182
- distribute the Program or its derivative works. These actions are
183
- prohibited by law if you do not accept this License. Therefore, by
184
- modifying or distributing the Program (or any work based on the
185
- Program), you indicate your acceptance of this License to do so, and
186
- all its terms and conditions for copying, distributing or modifying
187
- the Program or works based on it.
188
-
189
- 6. Each time you redistribute the Program (or any work based on the
190
- Program), the recipient automatically receives a license from the
191
- original licensor to copy, distribute or modify the Program subject to
192
- these terms and conditions. You may not impose any further
193
- restrictions on the recipients' exercise of the rights granted herein.
194
- You are not responsible for enforcing compliance by third parties to
195
- this License.
196
-
197
- 7. If, as a consequence of a court judgment or allegation of patent
198
- infringement or for any other reason (not limited to patent issues),
199
- conditions are imposed on you (whether by court order, agreement or
200
- otherwise) that contradict the conditions of this License, they do not
201
- excuse you from the conditions of this License. If you cannot
202
- distribute so as to satisfy simultaneously your obligations under this
203
- License and any other pertinent obligations, then as a consequence you
204
- may not distribute the Program at all. For example, if a patent
205
- license would not permit royalty-free redistribution of the Program by
206
- all those who receive copies directly or indirectly through you, then
207
- the only way you could satisfy both it and this License would be to
208
- refrain entirely from distribution of the Program.
209
-
210
- If any portion of this section is held invalid or unenforceable under
211
- any particular circumstance, the balance of the section is intended to
212
- apply and the section as a whole is intended to apply in other
213
- circumstances.
214
-
215
- It is not the purpose of this section to induce you to infringe any
216
- patents or other property right claims or to contest validity of any
217
- such claims; this section has the sole purpose of protecting the
218
- integrity of the free software distribution system, which is
219
- implemented by public license practices. Many people have made
220
- generous contributions to the wide range of software distributed
221
- through that system in reliance on consistent application of that
222
- system; it is up to the author/donor to decide if he or she is willing
223
- to distribute software through any other system and a licensee cannot
224
- impose that choice.
225
-
226
- This section is intended to make thoroughly clear what is believed to
227
- be a consequence of the rest of this License.
228
-
229
- 8. If the distribution and/or use of the Program is restricted in
230
- certain countries either by patents or by copyrighted interfaces, the
231
- original copyright holder who places the Program under this License
232
- may add an explicit geographical distribution limitation excluding
233
- those countries, so that distribution is permitted only in or among
234
- countries not thus excluded. In such case, this License incorporates
235
- the limitation as if written in the body of this License.
236
-
237
- 9. The Free Software Foundation may publish revised and/or new versions
238
- of the General Public License from time to time. Such new versions will
239
- be similar in spirit to the present version, but may differ in detail to
240
- address new problems or concerns.
241
-
242
- Each version is given a distinguishing version number. If the Program
243
- specifies a version number of this License which applies to it and "any
244
- later version", you have the option of following the terms and conditions
245
- either of that version or of any later version published by the Free
246
- Software Foundation. If the Program does not specify a version number of
247
- this License, you may choose any version ever published by the Free Software
248
- Foundation.
249
-
250
- 10. If you wish to incorporate parts of the Program into other free
251
- programs whose distribution conditions are different, write to the author
252
- to ask for permission. For software which is copyrighted by the Free
253
- Software Foundation, write to the Free Software Foundation; we sometimes
254
- make exceptions for this. Our decision will be guided by the two goals
255
- of preserving the free status of all derivatives of our free software and
256
- of promoting the sharing and reuse of software generally.
257
-
258
- NO WARRANTY
259
-
260
- 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261
- FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
262
- OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263
- PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264
- OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265
- MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
266
- TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
267
- PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268
- REPAIR OR CORRECTION.
269
-
270
- 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271
- WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272
- REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273
- INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274
- OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275
- TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276
- YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277
- PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278
- POSSIBILITY OF SUCH DAMAGES.
279
-
280
- END OF TERMS AND CONDITIONS
281
-
282
- How to Apply These Terms to Your New Programs
283
-
284
- If you develop a new program, and you want it to be of the greatest
285
- possible use to the public, the best way to achieve this is to make it
286
- free software which everyone can redistribute and change under these terms.
287
-
288
- To do so, attach the following notices to the program. It is safest
289
- to attach them to the start of each source file to most effectively
290
- convey the exclusion of warranty; and each file should have at least
291
- the "copyright" line and a pointer to where the full notice is found.
292
-
293
- {description}
294
- Copyright (C) {year} {fullname}
295
-
296
- This program is free software; you can redistribute it and/or modify
297
- it under the terms of the GNU General Public License as published by
298
- the Free Software Foundation; either version 2 of the License, or
299
- (at your option) any later version.
300
-
301
- This program is distributed in the hope that it will be useful,
302
- but WITHOUT ANY WARRANTY; without even the implied warranty of
303
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
304
- GNU General Public License for more details.
305
-
306
- You should have received a copy of the GNU General Public License along
307
- with this program; if not, write to the Free Software Foundation, Inc.,
308
- 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
309
-
310
- Also add information on how to contact you by electronic and paper mail.
311
-
312
- If the program is interactive, make it output a short notice like this
313
- when it starts in an interactive mode:
314
-
315
- Gnomovision version 69, Copyright (C) year name of author
316
- Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
317
- This is free software, and you are welcome to redistribute it
318
- under certain conditions; type `show c' for details.
319
-
320
- The hypothetical commands `show w' and `show c' should show the appropriate
321
- parts of the General Public License. Of course, the commands you use may
322
- be called something other than `show w' and `show c'; they could even be
323
- mouse-clicks or menu items--whatever suits your program.
324
-
325
- You should also get your employer (if you work as a programmer) or your
326
- school, if any, to sign a "copyright disclaimer" for the program, if
327
- necessary. Here is a sample; alter the names:
328
-
329
- Yoyodyne, Inc., hereby disclaims all copyright interest in the program
330
- `Gnomovision' (which makes passes at compilers) written by James Hacker.
331
-
332
- {signature of Ty Coon}, 1 April 1989
333
- Ty Coon, President of Vice
334
-
335
- This General Public License does not permit incorporating your program into
336
- proprietary programs. If your program is a subroutine library, you may
337
- consider it more useful to permit linking proprietary applications with the
338
- library. If this is what you want to do, use the GNU Lesser General
339
- Public License instead of this License.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
README.txt CHANGED
@@ -1,18 +1,18 @@
1
  === Plugin Name ===
2
  Contributors: blueliquiddesigns
3
- Donate link: https://gravitypdf.com
4
  Tags: gravity, forms, pdf, automation, attachment
5
  Requires at least: 3.5
6
- Tested up to: 4.1
7
- Stable tag: 3.6.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
- Gravity PDF allows you to save/view/download a PDF from the front- and back-end, and automate PDF creation on form submission.
12
 
13
  == Description ==
14
 
15
- Gravity PDF is a powerful developer tool for creating PDF documents using form data captured from Gravity Forms. While the software is targeted at web developers, we've attempted to make it user friendly for hobbyists and DIY business owners. The basic setup can be done in minutes, and there is a huge array of options to configure the PDF as you see fit.
16
 
17
  **Gravity Form Features**
18
 
@@ -48,8 +48,6 @@ Along with the above, the PDF software includes powerful feature such as:
48
  3. GD Library
49
  4. RAM: Recommended: 128MB. Minimum: 64MB.
50
 
51
- *Note:* We've had clients report slow PDF generation times and problems meeting the RAM requirements on cheap shared web hosting. If you experience these problems [we recommend you look into WP Engine's managed hosting platform](http://www.shareasale.com/r.cfm?B=398776&U=955815&M=41388&urllink=) as our software works correctly out of the box.
52
-
53
  **Software Requirements**
54
 
55
  1. [Purchase and install Gravity Forms](https://www.e-junkie.com/ecom/gb.php?cl=54585&c=ib&aff=235154)
@@ -58,178 +56,52 @@ Along with the above, the PDF software includes powerful feature such as:
58
 
59
  **Documentation and Support**
60
 
61
- To view the Development Documentation head to [https://developer.gravitypdf.com](https://developer.gravitypdf.com). If you need support with the plugin please post a topic in our [support forums](https://support.gravitypdf.com).
62
 
63
  == Installation ==
64
 
65
  1. Upload this plugin to your website and activate it
66
  2. Head to Forms -> Settings -> PDF to initialise the plugin.
67
  3. Create a form in Gravity Forms and configure notifications
68
- 4. Get the Form ID and follow the steps below in [the configuration section](http://developer.gravitypdf.com/documentation/getting-started-with-gravity-pdf-configuration/)
69
- 5. Modify the PDF template file ([see the advanced templating section in the documentation](http://developer.gravitypdf.com/documentation/custom-templates-introduction/)) inside your active theme's PDF_EXTENDED_TEMPLATES/ folder.
70
 
71
 
72
  == Frequently Asked Questions ==
73
 
74
- All FAQs can be [viewed on the Gravity PDF website](https://gravitypdf.com/#faqs).
75
 
76
  == Screenshots ==
77
 
78
- 1. The View PDF button is avaliable for each Gravity Form entry
79
- 2. Multiple PDFs can be assigned to a form and is also avaliable on the detailed entry view.
80
- 3. The configuration.php file allows you to easily assign PDFs to Gravity Forms
81
 
82
  == Changelog ==
83
 
84
- = 3.6.0 =
85
- * Feature - Added support for Gravity Form's sub-field middle name (1.9Beta)
86
- * Feature - Patch mPDF with full :nth-child support on TD and TR table cells
87
- * Feature - Added $form_data[products_totals][subtotal] key (total price without shipping costs added)
88
- * Feature - Added formated money to all product fields in the $form_data array
89
- * Feature - Default templates: only show fields who's conditional logic is true. Perfect when used with default-show-html
90
- * Housekeeping - Move PDF_EXTENDED_TEMPLATES folder to the /wp-content/upload/ directory. Get more info about the move (see http://developer.gravitypdf.com/news/migrating-template-directory-means/)
91
- * Housekeeping - Refined when admin resources are loaded
92
- * Housekeeping - Fixed typo during initial initialisation
93
- * Housekeeping - Switched icons back to FontAwesome which is shipped by default with Gravity Forms
94
- * Housekeeping - Display full path to mPDF tmp directory when there are issues writing to it
95
- * Housekeeping - Modified font installation message.
96
- * Housekeeping - Update example-header-and-footer_06.php and example-advanced-headers_07.php to better reflect current mPDF features
97
- * Bug - Fixed issue pulling the correct configuration when multiple nodes were assigned to multiple forms
98
- * Bug - Fixed number field formatting issue which always rounded to two decimal places
99
- * Bug - Fixed JS namespace issue with WordPress Leads plugin
100
- * Bug - Fixed error initialising fonts / backing up PDF_EXTENDED_TEMPLATES directory when using the glob() function
101
- * Bug - Fix issue with PHP 5.0 and 5.1 array_replace_recursive function when used with an array inside the $gf_pdf_config array
102
- * Bug - Fixed fatal error when logged in user attempts to view PDF they don't have access to
103
- * Bug - Fixed issue in $form_data array where single-column list items where being returned as an array and not a HTML list.
104
- * Bug - Prevent unauthorised users auto-initialising the software or migrating the templates folder
105
- * Bug - Fixed up incorrect formatting issue when using custom font name
106
- * Bug - Fixed issue displaying Times New Roman in PDF templates
107
-
108
- = 3.5.11.1 =
109
- * Bug - Fix issue saving and sending blank PDFs due to security fix
110
-
111
- = 3.5.11 =
112
- * Bug - Fix security issue which gave unauthorised users access to Gravity Form entires
113
-
114
- = 3.5.10 =
115
- * Housekeeping - Include individual scoring for Gravity Form Survey Likert field in the $form_data['survey'] array
116
- * Bug - Fix fatal error when Gravity Forms isn't activated, but Gravity PDF is.
117
-
118
- = 3.5.9 =
119
- * Bug - Rollback recent changes that introduced the GFAPI as introduces errors for older versions of Gravity Forms. Will reintroduce in next major release and increase the minimum Gravity Forms version.
120
-
121
- = 3.5.8 =
122
- * Bug - Fixed issue affected some users where a depreciated function was causing a fatal error
123
-
124
- = 3.5.7 =
125
- * Bug - Fixed issue where the PDF settings page was blank for some users
126
-
127
- = 3.5.6 =
128
- * Bug - Fixed issue with last release that affected checks to see if Gravity Forms has submitting
129
- * Bug - Fixed fatal error with servers using PHP5.2 or lower
130
- * Bug - Fixed E_NOTICE for replacement array_replace_recursive() function in PHP5.2 or lower
131
- * Bug - Fixed issue with AJAX spinner showing when submitting support request
132
-
133
- = 3.5.5 =
134
- * Housekeeping - Include French translation (thanks to Marie-Aude Koiransky-Ballouk)
135
- * Housekeeping - Wrap 'Initialise Fonts' text in translation ready _e() function
136
- * Housekeeping - Tidy up System Status CSS styles to accomidate translation text lengths
137
- * Housekeeping - Fix E_NOTICE when viewing entry details page when form has no PDF configuration
138
- * Bug - Fixed load_plugin_textdomain which was incorrectly called.
139
- * Bug - Correctly check if the plugin is loaded correctly before letting the PDF class fully load
140
-
141
- = 3.5.4 =
142
- * Bug - Fixed issue with incorrect PDF name showing on the entry details page
143
- * Bug - Fixed issue with custom fonts being inaccessible without manually reinstalling after upgrading.
144
- * Housekeeping - Added in two new filters to modify the $mpdf object. 'gfpdfe_mpdf_class' and 'gfpdfe_mpdf_class_pre_render' (replaces the gfpdfe_pre_render_pdf filter).
145
-
146
- = 3.5.3 =
147
- * Bug - Mergetags braces ({}) were being encoded before conversion
148
- * Bug - Fixed issue with empty string being passed to array filter
149
- * Housekeeping - Enabled mergetag usage in the pdf_password and pdf_master_password configuration options
150
- * Housekeeping - Correctly call $wpdb->prepare so the variables in are in the second argument
151
-
152
- = 3.5.2 =
153
- * Bug - Initialisation folder .htaccess file was preventing template.css from being loaded by the default templates.
154
-
155
- = 3.5.1 =
156
- * Bug - Fixed issue with core fonts Arial/Helvetica, Times/Times New Roman and Courier not displaying in the PDF.
157
- * Bug - Fixed display issues for multiple PDFs on the details admin entry page
158
- * Housekeeping - Made the details entry page PDF view consistent for single or multiple PDFs
159
- * Housekeeping - Ensured all javascript files are minified and are correctly being used
160
- * Housekeeping - Remove legacy notices from mPDF package
161
-
162
- = 3.5.0 =
163
- * Feature - No longer need to reinitialise every time the software is updated.
164
- * Feature - Add auto-initialiser on initial installation for sites that have direct write access to their server files
165
- * Feature - Add auto-initialiser on initial installation across entire multisite network for sites who have direct write access to their server files.
166
- * Feature - Add auto-PDF_EXTENDED_TEMPLATES theme syncer for sites that have direct write access to their server files
167
- * Feature - Correctly added language support. The .PO file is located in the /language/ folder if anyone would like to do a translation.
168
-
169
- * Housekeeping - Restrict initialisation process to 64MB or greater to counter problems with users reporting a 'white screen' when running in a low-RAM environment.
170
- * Housekeeping - Refractor the admin notices code
171
- * Housekeeping - Create responsive PDF settings page
172
- * Housekeeping - Minify CSS and Javascript files
173
- * Housekeeping - Remove FontAwesome fonts from package and use Wordpress' build-in 'dashicons'
174
- * Housekeeping - Refine action and error messages
175
- * Housekeeping - Update initialisation tab copy for both pre- and post- initialisation
176
- * Housekeeping - Use Gravity Forms get_ip() function instead of custom function
177
- * Housekeeping - The in-built support form uses SSL once again (disabled in the past due to some servers being unable to verify the certificate).
178
-
179
- * Bug - When testing write permissions, file_exist() is throwing false positives for some users which would generate a warning when unlink() is called. Hide warning using '@'.
180
-
181
- = 3.4.1 =
182
- * Bug - Fix typo that effected sites running PHP5.2 or below.
183
-
184
- = 3.4.0.3 =
185
- * Bug - Define array_replace_recursive() if it doesn't exist, as it is PHP 5.3 only.
186
-
187
- = 3.4.0.2 =
188
- * Housekeeping - Wrapped the View PDF and Download buttons in correct language functions - _e()
189
- * Bug - Fix problem displaying the signature field
190
- * Bug - Fix notice errors with new 'save' PDF hook
191
-
192
- = 3.4.0.1 =
193
- * Housekeeping - Add commas on the last line of every config node in the configuration.php file
194
- * Housekeeping - Fix up initialisation error messages
195
- * Bug - Fix up mPDF bugs - soft hyphens, watermarks over SVG images, inline CSS bug
196
-
197
  = 3.4.0 =
198
- * Feature - Added auto-print prompt ability when you add &print=1 to the PDF URL (see https://developer.gravitypdf.com/documentation/display-pdf-in-browser/ for details)
199
  * Feature - Added ability to rotate absolute positioned text 180 degrees (previously only 90 and -90). Note: feature in beta
200
- * Feature - Backup all template files that are overridden when initialising to a folder inside PDF_EXTENDED_TEMPLATES
201
  * Feature - Added SSH initialisation support
202
- * Feature - Allow MERGETAGS to be used in all PDF templates, including default template (but only in the HTML field).
203
  * Feature - Updated mPDF to 3.7.1
204
- * Feature - Enable text/image watermark support. Added new example template example-watermark09.php showing off its usage (see http://gravitypdf.com/documentation-v3-x-x/templates/watermarks/)
205
- * Feature - Added full survey, poll and quiz support to both the default template and $form_data (see https://developer.gravitypdf.com/documentation/accessing-survey-poll-quiz-data/)
206
- * Feature - Shortcodes will now be processed in all templates, including default template (but only in the HTML field).
207
- * Feature - Added 'save' configuration option so PDFs are saved to the local disk when 'notifications' aren't enabled.
 
208
  * Feature - Added 'dpi' configuration option to modify the PDF image DPI. Default 96dpi. Use 300dpi for printing.
209
  * Feature - Added PDF/A1-b compliance option. Enable with 'pdfa1b' => true. See http://mpdf1.com/manual/index.php?tid=420&searchstring=pdf/a1-b for more details.
210
  * Feature - Added PDF/X1-a compliance option. Enable with 'pdfx1a' => true. See http://mpdf1.com/manual/index.php?tid=481&searchstring=pdf/x-1a for more details.
211
- * Feature - Added new constant option 'PDF_REPACK_FONT' which when enabled may improve function with some PostScript printers (disabled by default). Existing sites will need to add define('PDF_REPACK_FONT', true); to the bottom of their configuration.php file.
212
- * Feature - Added a sleuth of new hooks and filters for developers. See https://developer.gravitypdf.com/documentation/filters-and-hooks/ for examples.
213
- * Feature - Added $form_data['form_description'] key to $form_data array
214
- * Feature - Update $form_data['products'] array key to field ID
215
- * Feature - Added survey Likert output function for custom templates (much like the product table function). It can be used with the following command 'echo GFPDFEntryDetails::get_likert($form, $lead, $field_id);' where $field_id is substituted for the form field ID.
216
- * Feature - Added field descriptions to the $form_data array under the $form_data['field_descriptions'] key.
217
- * Feature - Added pre and post PDF generation filters and actions to pdf-render.php. These include gfpdfe_pre_render_pdf, gfpdfe_pdf_output_type, gfpdfe_pdf_filename and gfpdf_post_pdf_save.
218
- * Feature: $form_data['signature'] et al. keys now contain the signature width and height attributes
219
-
220
- * Housekeeping - Ensure the form and lead IDs are correctly passed throughout the render functions.
221
- * Housekeeping - Update settings page link to match new Gravity Forms URL structure
222
- * Housekeeping - Check if $lead['gfsurvey_score'] exists before assigning to $form_data array
223
- * Housekeeping - Removed table and font checksum debugging from mPDF when WP_DEBUG enabled as they produced inaccurate results.
224
- * Housekeeping - Fixed up mPDF logging location when WP_DEBUG enabled. Files now stored in wp-content/themes/Active_Theme_Folder/PDF_EXTENDED_TEMPLATES/output/ folder.
225
- * Housekeeping - Removed API logging locally when WP_DEBUG is enabled.
226
- * Housekeeping - Increase API timeout interval as some overseas users reported timeout issues
227
  * Housekeeping - Modified mPDF functions Image() and purify_utf8_text() to validate the input data so we don't have to do it every time through the template.
228
- * Housekeeping - Added ability to not re-deploy every update (not enabled this release as template files were all updated)
229
  * Housekeeping - Additional checks on load to see if any of the required file/folder structure is missing. If so, re-initilise.
230
  * Housekeeping - Save resources and turn off automatic rtl identification. Users must set the RTL option when configuring form
231
  * Housekeeping - Turn off mPDFs packTableData setting, decreasing processing time when working with large tables.
232
- * Housekeeping - $gf_pdf_default_configuration options now merge down into existing PDF nodes, instead of applying to only unassigned forms. $gf_pdf_config settings override any in $gf_pdf_default_configuration
233
  * Housekeeping - Center aligned Survey Likery field results
234
  * Housekeeping - Partially refactored the pdf-entry-detail.php code
235
  * Housekeeping - All default and example templates have been tidied. This won't affect custom templates.
@@ -240,20 +112,16 @@ All FAQs can be [viewed on the Gravity PDF website](https://gravitypdf.com/#faqs
240
  * Housekeeping - Apply same CSS styles (padding, border and line height) to HTML fields as done to form values in default templates
241
  * Housekeeping - Replaced arbitrary wrapper IDs in the default templates with the actual field ID
242
 
243
- * Bug - Fixed signature rendering issue when custom signature size was being used
244
- * Bug - Fixed static error types in helper/install-update-manager.php file.
245
- * Bug - Fixed redeployment error message which wasn't showing correctly
246
  * Bug - Fixed issue with PDF not attaching to notification using Paypal's delayed notification feature
247
  * Bug - Fixed strict standard warning about calling GFPDF_Settings::settings_page();
248
  * Bug - Fixed strict standard warning about calling GFPDFEntryDetail::pdf_get_lead_field_display();
249
  * Bug - Fixed issue with Gravity Form Post Category field causing fatal error generating PDF
250
  * Bug - Fixed number field formatting issue when displaying on PDF.
251
- * Bug - Do additional check for PHP's MB_String regex functions before initialising ti prevent errors after initialising
252
  * Bug - Fixed problem with multiple nodes assigned to a form using the same template
253
  * Bug - Fixed path to fallback templates when not found
254
  * Bug - Fixed problem with master password setting to user password
255
 
256
-
257
  = 3.3.4 =
258
  * Bug - Fixed issue linking to PDF from front end
259
  * Housekeeping - Removed autoredirect to initialisation page
@@ -276,7 +144,7 @@ All FAQs can be [viewed on the Gravity PDF website](https://gravitypdf.com/#faqs
276
  = 3.3.0 =
277
  * Feature - Overhauled the initialisation process so that the software better reviews the host for potential problems before initialisation. This should help debug issues and make users aware there could be a problem before they begin using the software.
278
  * Feature - Overhauled the settings page to make it easier to access features of the software
279
- * Feature - Added a Support tab to the settings page which allows users to securely (over HTTPS) submit a support ticket to the Gravity PDF support desk
280
  * Feature - Changed select, multiselect and radio fields so that the default templates use the name rather than the value. $form_data now also includes the name and values for all these fields.
281
  * Feature - $form_data now includes all miscellaneous lead information in the $form_data['misc'] array.
282
  * Feature - $form_data now contains 24 and 12 hour time of entry submission.
@@ -286,7 +154,7 @@ All FAQs can be [viewed on the Gravity PDF website](https://gravitypdf.com/#faqs
286
  * Bug - Fixed issue when Gravity Forms in No Conflict Mode
287
  * Bug - Font config.php's array keys now in lower case
288
  * Housekeeping - Moved all initialisation files to a folder called 'initialisation'.
289
- * Housekeeping - Renamed the configuration.php file in the plugin folder to configuration.php.example to alleviate confusion for developers who unwittingly modify the plugin configuration file instead of the file in their active theme's PDF_EXTENDED_TEMPLATES folder.
290
  * Housekeeping - Updated the plugin file system to a more MVC-style approach, with model and view folders.
291
  * Housekeeping - Removed ability to directly access default and example template files.
292
  * Housekeeping - Fixed PHP notices in default templates related to the default template-only configuration options
@@ -295,14 +163,14 @@ All FAQs can be [viewed on the Gravity PDF website](https://gravitypdf.com/#faqs
295
 
296
  = 3.2.0 =
297
  * Feature - Can now view multiple PDFs assigned to a single form via the admin area. Note: You must provide a unique 'filename' parameter in configuration.php for multiple PDFs assigned to a single form.
298
- * Feature - You can exclude a field from the default templates using the class name 'exclude'. See our [FAQ topic](https://gravitypdf.com/#faqs) for more details.
299
  * Bug - Fixed issue viewing own PDF entry when logged in as anything lower than editor.
300
  * Bug - Fixed data return bug in pdf-entry-details.php that was preventing all data returning correctly.
301
  * Bug - Fixed PHP Warning when using products with no options
302
  * Bug - Fixed issue with invalid characters being added to the PDF filename. Most notably the date mergetag.
303
  * Bug - Limit filename length to 150 characters which should work on the majority of web servers.
304
  * Bug - Fixed problem sending duplicate PDF when using mass resend notification feature
305
- * Depreciated - Removed GF_FORM_ID and GF_LEAD_ID constants which were used in v2.x.x of the software. Ensure you follow [v2.x.x upgrade guide](https://developer.gravitypdf.com/news/version-2-3-migration-guide/) to your templates before upgrading.
306
 
307
  = 3.1.4 =
308
  * Bug - Fixed issue with plugin breaking website's when the Gravity Forms plugin wasn't activated.
@@ -331,14 +199,14 @@ All FAQs can be [viewed on the Gravity PDF website](https://gravitypdf.com/#faqs
331
  * Bug - Initialisation error message was being called but the success message was also showing.
332
 
333
  = 3.1.0 =
334
- * Feature - Added defaults to configuration.php which allows users to define the default PDF settings for all Gravity Forms. See the [installation and configuration documentation](https://developer.gravitypdf.com/documentation/getting-started-with-gravity-pdf-configuration/) for more details.
335
- * Feature - Added three new configuration options 'default-show-html', 'default-show-empty' and 'default-show-page-names' which allow different display options to the three default templates. See the [installation and configuration documentation](http://gravitypdf.com/documentation-v3-x-x/installation-and-configuration/#default-template) for more details.
336
- * Feature - Added filter hooks 'gfpdfe_pdf_name' and 'gfpdfe_template' which allows developers to further modify a PDF name and template file, respectively, outside of the configuration.php. This is useful if you have a special case naming convention based on user input. See [https://developer.gravitypdf.com/documentation/filters-and-hooks/](https://developer.gravitypdf.com/documentation/filters-and-hooks/) for more details about using these filters.
337
- * Feature - Custom font support. Any .ttf font file added to the PDF_EXTENDED_TEMPLATES/fonts/ folder will be automatically installed once the plugin has been initialised. Users also have the option to just initialise the fonts via the settings page. See the [font/language documentation ](https://developer.gravitypdf.com/documentation/language-support/#install-custom-fonts) for details.
338
  * Compatability - Use Gravity Forms get_upload_root() and get_upload_url_root() instead of hard coding the signature upload directory in pdf-entry-detail.php
339
  * Compatability - Changed depreciated functions get_themes() and get_theme() to wp_get_theme() (added in Wordpress v3.4).
340
  * Compatability - The plugin now needs to be initialised on fresh installation and upgrade. This allows us to use the WP_Filesystem API for file manipulation.
341
- * Compatability - Automatic copying of PDF_EXTENDED_TEMPLATES folder on a theme change was removed in favour of a user prompt. This allows us to take advantage of the WP_Filesystem API.
342
  * Compatability - Added Wordpress compatibility checker (minimum now 3.4 or higher).
343
  * Bug - Removed ZipArchive in favour of Wordpress's WP_Filesystem API unzip_file() command. Some users reported the plugin would stop their entire website working if this extension wasn't installed.
344
  * Bug - Fixed Gravity Forms compatibility checker which wouldn't return the correct response.
@@ -356,7 +224,7 @@ All FAQs can be [viewed on the Gravity PDF website](https://gravitypdf.com/#faqs
356
  * Feature - Options for default templates to disable HTML fields or empty fields (or both)
357
 
358
  = 3.0.0 =
359
- As of Gravity PDF v3.0.0 we have removed the DOMPDF package from our plugin and integrated the more advanced mPDF system. Along with a new HTML to PDF generator, we've rewritten the entire plugin's base code to make it more user friendly to both hobbyists and rock star web developers. Configuration time is cut in half and advanced features like adding security features is now accessible to users who have little experience with PHP.
360
 
361
  New Features include:
362
 
@@ -381,7 +249,7 @@ Other changes include
381
  * Improved security - further restrictions were placed on non-administrators viewing template files.
382
  * $form_data array tidied up - images won't be wrapped in anchor tags.
383
 
384
- For more details [view the 3.x.x online documentation](https://developer.gravitypdf.com/).
385
 
386
  = 2.2.3 =
387
  * Bug - Fixed mb_string error in the updated DOMPDF package.
@@ -465,5 +333,6 @@ For more details [view the 3.x.x online documentation](https://developer.gravity
465
 
466
  == Upgrade Notice ==
467
 
468
- = 3.6.0 =
469
- WARNING: Minimum WordPress and Gravity Forms versions have been bumped to WordPress 3.9+ and Gravity Forms 1.8+. If you aren't running either version of this software DO NOT UPGRADE.
 
1
  === Plugin Name ===
2
  Contributors: blueliquiddesigns
3
+ Donate link: http://www.gravityformspdfextended.com
4
  Tags: gravity, forms, pdf, automation, attachment
5
  Requires at least: 3.5
6
+ Tested up to: 3.8
7
+ Stable tag: 3.4.0
8
  License: GPLv2 or later
9
  License URI: http://www.gnu.org/licenses/gpl-2.0.html
10
 
11
+ Gravity Forms PDF Extended allows you to save/view/download a PDF from the front- and back-end, and automate PDF creation on form submission.
12
 
13
  == Description ==
14
 
15
+ Gravity Forms PDF Extended is a powerful developer tool for creating PDF documents using form data captured from Gravity Forms. While the software is targeted at web developers, we've attempted to make it user friendly for hobbyists and DIY business owners. The basic setup can be done in minutes, and there is a huge array of options to configure the PDF as you see fit.
16
 
17
  **Gravity Form Features**
18
 
48
  3. GD Library
49
  4. RAM: Recommended: 128MB. Minimum: 64MB.
50
 
 
 
51
  **Software Requirements**
52
 
53
  1. [Purchase and install Gravity Forms](https://www.e-junkie.com/ecom/gb.php?cl=54585&c=ib&aff=235154)
56
 
57
  **Documentation and Support**
58
 
59
+ To view the Development Documentation head to [http://www.gravityformspdfextended.com/documentation/](http://www.gravityformspdfextended.com/documentation/). If you need support with the plugin please post a topic in our [support forums](http://gravityformspdfextended.com/support/gravity-forms-pdf-extended/).
60
 
61
  == Installation ==
62
 
63
  1. Upload this plugin to your website and activate it
64
  2. Head to Forms -> Settings -> PDF to initialise the plugin.
65
  3. Create a form in Gravity Forms and configure notifications
66
+ 4. Get the Form ID and follow the steps below in [the configuration section](http://gravityformspdfextended.com/documentation-v3-x-x/installation-and-configuration/)
67
+ 5. Modify the PDF template file ([see the advanced templating section in the documentation](http://gravityformspdfextended.com/documentation-v3-x-x/templates/)) inside your active theme's PDF_EXTENDED_TEMPLATES/ folder.
68
 
69
 
70
  == Frequently Asked Questions ==
71
 
72
+ All FAQs can be [viewed on the Gravity Forms PDF Extended website](http://gravityformspdfextended.com/faq/category/developers/).
73
 
74
  == Screenshots ==
75
 
76
+ 1. View PDF from the Gravity Forms entries list.
77
+ 2. View or download the PDF from a Gravity Forms entry.
 
78
 
79
  == Changelog ==
80
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
81
  = 3.4.0 =
82
+ * Feature - Added auto-print prompt ability when you add &print=1 to the PDF URL
83
  * Feature - Added ability to rotate absolute positioned text 180 degrees (previously only 90 and -90). Note: feature in beta
84
+ * Feature - Backup all template files that are overridden when initialising to a folder inside PDF_EXTENDED_TEMPLATE
85
  * Feature - Added SSH initialisation support
86
+ * Feature - Allow MERGETAGS to be used in all PDF template, including default template but only in the HTML field.
87
  * Feature - Updated mPDF to 3.7.1
88
+ * Feature - Enable text/image watermark support. Added new example template example-watermark09.php showing off its usage
89
+ * Feature - Added Quiz support to $form_data array (see $form_data['quiz_config'] and $form_data['quiz_results'])
90
+ * Feature - Added Survey support to $form_data array ()
91
+ * Feature - Shortcodes will now be processed in all templates, including default template but only in the HTML field.
92
+ * Feature - Added 'save' configuration option so PDFs are saved to the local disk when 'notifications' aren't enabled
93
  * Feature - Added 'dpi' configuration option to modify the PDF image DPI. Default 96dpi. Use 300dpi for printing.
94
  * Feature - Added PDF/A1-b compliance option. Enable with 'pdfa1b' => true. See http://mpdf1.com/manual/index.php?tid=420&searchstring=pdf/a1-b for more details.
95
  * Feature - Added PDF/X1-a compliance option. Enable with 'pdfx1a' => true. See http://mpdf1.com/manual/index.php?tid=481&searchstring=pdf/x-1a for more details.
96
+ * Feature - Added new constant option 'PDF_REPACK_FONT' which when enabled may improve function with some PostScript printers (disabled by default)
97
+ * Feature - Added new filters to PDF configuration
98
+
 
 
 
 
 
 
 
 
 
 
 
 
 
99
  * Housekeeping - Modified mPDF functions Image() and purify_utf8_text() to validate the input data so we don't have to do it every time through the template.
100
+ * Housekeeping - Added ability to not re-deploy every update (not enabled this release as template files were all updated)</li>
101
  * Housekeeping - Additional checks on load to see if any of the required file/folder structure is missing. If so, re-initilise.
102
  * Housekeeping - Save resources and turn off automatic rtl identification. Users must set the RTL option when configuring form
103
  * Housekeeping - Turn off mPDFs packTableData setting, decreasing processing time when working with large tables.
104
+ * Housekeeping - $gf_pdf_default_configuration options now merge down into existing PDF nodes, instead of applying to only unassigned forms
105
  * Housekeeping - Center aligned Survey Likery field results
106
  * Housekeeping - Partially refactored the pdf-entry-detail.php code
107
  * Housekeeping - All default and example templates have been tidied. This won't affect custom templates.
112
  * Housekeeping - Apply same CSS styles (padding, border and line height) to HTML fields as done to form values in default templates
113
  * Housekeeping - Replaced arbitrary wrapper IDs in the default templates with the actual field ID
114
 
 
 
 
115
  * Bug - Fixed issue with PDF not attaching to notification using Paypal's delayed notification feature
116
  * Bug - Fixed strict standard warning about calling GFPDF_Settings::settings_page();
117
  * Bug - Fixed strict standard warning about calling GFPDFEntryDetail::pdf_get_lead_field_display();
118
  * Bug - Fixed issue with Gravity Form Post Category field causing fatal error generating PDF
119
  * Bug - Fixed number field formatting issue when displaying on PDF.
120
+ * Bug - Do additional check for PHP's MB_String regex functions before initialising
121
  * Bug - Fixed problem with multiple nodes assigned to a form using the same template
122
  * Bug - Fixed path to fallback templates when not found
123
  * Bug - Fixed problem with master password setting to user password
124
 
 
125
  = 3.3.4 =
126
  * Bug - Fixed issue linking to PDF from front end
127
  * Housekeeping - Removed autoredirect to initialisation page
144
  = 3.3.0 =
145
  * Feature - Overhauled the initialisation process so that the software better reviews the host for potential problems before initialisation. This should help debug issues and make users aware there could be a problem before they begin using the software.
146
  * Feature - Overhauled the settings page to make it easier to access features of the software
147
+ * Feature - Added a Support tab to the settings page which allows users to securely (over HTTPS) submit a support ticket to the Gravity Form PDF Extended support desk
148
  * Feature - Changed select, multiselect and radio fields so that the default templates use the name rather than the value. $form_data now also includes the name and values for all these fields.
149
  * Feature - $form_data now includes all miscellaneous lead information in the $form_data['misc'] array.
150
  * Feature - $form_data now contains 24 and 12 hour time of entry submission.
154
  * Bug - Fixed issue when Gravity Forms in No Conflict Mode
155
  * Bug - Font config.php's array keys now in lower case
156
  * Housekeeping - Moved all initialisation files to a folder called 'initialisation'.
157
+ * Housekeeping - Renamed the configuration.php file in the plugin folder to configuration.php.example to alleviate confusion for developers who unwittingly modify the plugin configuration file instead of the file in their active theme's PDF_EXTENDED_TEMPLATE folder.
158
  * Housekeeping - Updated the plugin file system to a more MVC-style approach, with model and view folders.
159
  * Housekeeping - Removed ability to directly access default and example template files.
160
  * Housekeeping - Fixed PHP notices in default templates related to the default template-only configuration options
163
 
164
  = 3.2.0 =
165
  * Feature - Can now view multiple PDFs assigned to a single form via the admin area. Note: You must provide a unique 'filename' parameter in configuration.php for multiple PDFs assigned to a single form.
166
+ * Feature - You can exclude a field from the default templates using the class name 'exclude'. See our [FAQ topic](http://gravityformspdfextended.com/faq/can-exclude-field-showing-pdf/) for more details.
167
  * Bug - Fixed issue viewing own PDF entry when logged in as anything lower than editor.
168
  * Bug - Fixed data return bug in pdf-entry-details.php that was preventing all data returning correctly.
169
  * Bug - Fixed PHP Warning when using products with no options
170
  * Bug - Fixed issue with invalid characters being added to the PDF filename. Most notably the date mergetag.
171
  * Bug - Limit filename length to 150 characters which should work on the majority of web servers.
172
  * Bug - Fixed problem sending duplicate PDF when using mass resend notification feature
173
+ * Depreciated - Removed GF_FORM_ID and GF_LEAD_ID constants which were used in v2.x.x of the software. Ensure you follow [v2.x.x upgrade guide](http://gravityformspdfextended.com/documentation-v3-x-x/v3-0-0-migration-guide/) to your templates before upgrading.
174
 
175
  = 3.1.4 =
176
  * Bug - Fixed issue with plugin breaking website's when the Gravity Forms plugin wasn't activated.
199
  * Bug - Initialisation error message was being called but the success message was also showing.
200
 
201
  = 3.1.0 =
202
+ * Feature - Added defaults to configuration.php which allows users to define the default PDF settings for all Gravity Forms. See the [installation and configuration documentation](http://gravityformspdfextended.com/documentation-v3-x-x/installation-and-configuration/#default-configuration-options) for more details.
203
+ * Feature - Added three new configuration options 'default-show-html', 'default-show-empty' and 'default-show-page-names' which allow different display options to the three default templates. See the [installation and configuration documentation](http://gravityformspdfextended.com/documentation-v3-x-x/installation-and-configuration/#default-template-only) for more details.
204
+ * Feature - Added filter hooks 'gfpdfe_pdf_name' and 'gfpdfe_template' which allows developers to further modify a PDF name and template file, respectively, outside of the configuration.php. This is useful if you have a special case naming convention based on user input. See [http://gravityformspdfextended.com/filters-and-hooks/](http://gravityformspdfextended.com/filters-and-hooks/) for more details about using these filters.
205
+ * Feature - Custom font support. Any .ttf font file added to the PDF_EXTENDED_TEMPLATE/fonts/ folder will be automatically installed once the plugin has been initialised. Users also have the option to just initialise the fonts via the settings page. See the [font/language documentation ](http://gravityformspdfextended.com/documentation-v3-x-x/language-support/#installing-fonts) for details.
206
  * Compatability - Use Gravity Forms get_upload_root() and get_upload_url_root() instead of hard coding the signature upload directory in pdf-entry-detail.php
207
  * Compatability - Changed depreciated functions get_themes() and get_theme() to wp_get_theme() (added in Wordpress v3.4).
208
  * Compatability - The plugin now needs to be initialised on fresh installation and upgrade. This allows us to use the WP_Filesystem API for file manipulation.
209
+ * Compatability - Automatic copying of PDF_EXTENDED_TEMPLATE folder on a theme change was removed in favour of a user prompt. This allows us to take advantage of the WP_Filesystem API.
210
  * Compatability - Added Wordpress compatibility checker (minimum now 3.4 or higher).
211
  * Bug - Removed ZipArchive in favour of Wordpress's WP_Filesystem API unzip_file() command. Some users reported the plugin would stop their entire website working if this extension wasn't installed.
212
  * Bug - Fixed Gravity Forms compatibility checker which wouldn't return the correct response.
224
  * Feature - Options for default templates to disable HTML fields or empty fields (or both)
225
 
226
  = 3.0.0 =
227
+ As of Gravity Forms PDF Extended v3.0.0 we have removed the DOMPDF package from our plugin and integrated the more advanced mPDF system. Along with a new HTML to PDF generator, we've rewritten the entire plugin's base code to make it more user friendly to both hobbyists and rock star web developers. Configuration time is cut in half and advanced features like adding security features is now accessible to users who have little experience with PHP.
228
 
229
  New Features include:
230
 
249
  * Improved security - further restrictions were placed on non-administrators viewing template files.
250
  * $form_data array tidied up - images won't be wrapped in anchor tags.
251
 
252
+ For more details [view the 3.x.x online documentation](http://gravityformspdfextended.com/documentation-v3-x-x/introduction/).
253
 
254
  = 2.2.3 =
255
  * Bug - Fixed mb_string error in the updated DOMPDF package.
333
 
334
  == Upgrade Notice ==
335
 
336
+ = 3.3.0 =
337
+
338
+ Support for Wordpress 3.8 and Gravity Forms 1.8. Overhauled the settings page and added a secure in-built support form. Fixed a number of bugs and made modifications at the request of the community.
depreciated.php DELETED
@@ -1,24 +0,0 @@
1
- <?php
2
-
3
- /**
4
- * Filename: depreciated.php
5
- * This file contains any depreciated functionality to help preserve backwards compatibility
6
- * with either Gravity Forms, or our template files.
7
- */
8
-
9
-
10
- /*
11
- * Since v3.6
12
- * Moved to the $gfpdfe_data class.
13
- * Can now be accessed using the following:
14
- *
15
- * $gfpdfe_data->template_location
16
- * $gfpdfe_data->template_site_location
17
- * $gfpdfe_data->template_save_location
18
- * $gfpdfe_data->template_font_location
19
- *
20
- */
21
- define('PDF_SAVE_LOCATION', $gfpdfe_data->template_save_location);
22
- define('PDF_FONT_LOCATION', $gfpdfe_data->template_font_location);
23
- define('PDF_TEMPLATE_LOCATION', $gfpdfe_data->template_site_location);
24
- define('PDF_TEMPLATE_URL_LOCATION', $gfpdfe_data->template_site_location_url);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
helper/api.php ADDED
@@ -0,0 +1,253 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+
3
+ define('PDF_DEBUG', false);
4
+
5
+ class gfpdfe_API
6
+ {
7
+ private $api_url = 'https://gravityformspdfextended.com/api/';
8
+ private $api_version = '1.0';
9
+
10
+ private $username;
11
+ private $secret;
12
+
13
+ public $response_message;
14
+
15
+ public function __construct()
16
+ {
17
+
18
+ /*
19
+ * Set the username and secret if available, otherwise request them from the API
20
+ */
21
+ $this->username = get_option('gfpdfe_api_username');
22
+ $this->secret = get_option('gfpdfe_api_secret');
23
+
24
+ if( $this->username === false || strlen($this->username) == 0 || $this->secret === false || strlen($this->secret) == 0 )
25
+ {
26
+ $this->get_api_access_details();
27
+ }
28
+
29
+ }
30
+
31
+ private function get_api_access_details()
32
+ {
33
+ /*
34
+ * Register User is the correct API path to get new credentials
35
+ */
36
+ $url = $this->api_url . 'registerUser/';
37
+
38
+ $request_args = array(
39
+ 'body' => array(),
40
+ );
41
+
42
+ /*
43
+ * Hash our request for the API
44
+ */
45
+ $request_args = $this->add_headers($request_args);
46
+
47
+ $response = wp_remote_get($url, $request_args);
48
+
49
+ /*
50
+ * Check if there is an error
51
+ */
52
+ if ( is_wp_error($response) )
53
+ {
54
+ print json_encode(array('error' => array('msg' => $response->get_error_message())));
55
+ exit;
56
+ }
57
+
58
+ /*
59
+ * Check the response codes for errors
60
+ */
61
+ if($this->check_response_code($response) === true)
62
+ {
63
+ /*
64
+ * Store the username and secret key in the DB
65
+ */
66
+ $r_data = json_decode($response['body']);
67
+
68
+ update_option('gfpdfe_api_username', $r_data->username);
69
+ update_option('gfpdfe_api_secret', $r_data->secretkey);
70
+
71
+ $this->username = $r_data->username;
72
+ $this->secret = $r_data->secretkey;
73
+ }
74
+ else
75
+ {
76
+ /*
77
+ * Error
78
+ */
79
+ print json_encode(array('error' => $this->response_message));
80
+ exit;
81
+ }
82
+
83
+ }
84
+
85
+ private function add_headers($request)
86
+ {
87
+
88
+ /* change the timeout from 5 seconds to 30 incase there are any latency issues */
89
+ $request['timeout'] = 30;
90
+
91
+ $request['headers'] = array(
92
+ 'API' => (string) $this->api_version,
93
+ 'API_STAMP' => (string) time(),
94
+ 'API_URL' => (string) site_url(),
95
+ );
96
+
97
+ if(strlen($this->username) > 0)
98
+ {
99
+ $request['headers']['API_USER'] = $this->username;
100
+ return $this->create_hash($request, $this->secret);
101
+ }
102
+
103
+ ksort($request);
104
+ return $this->create_hash($request);
105
+ }
106
+
107
+ private function check_response_code($response)
108
+ {
109
+
110
+ switch($response['response']['code'])
111
+ {
112
+ case '200':
113
+ /*
114
+ * Everything okay
115
+ */
116
+ return true;
117
+ break;
118
+
119
+ case '400':
120
+ /*
121
+ * Bad Request
122
+ */
123
+ $this->response_message = __('Bad Request.', 'pdfextended');
124
+ return false;
125
+ break;
126
+
127
+ case '401':
128
+ /*
129
+ * Unauthorized Access
130
+ */
131
+ $this->response_message = __('Unauthorized Access.', 'pdfextended');
132
+
133
+ /*
134
+ * Remove current API access keys
135
+ */
136
+ delete_option('gfpdfe_api_username');
137
+ delete_option('gfpdfe_api_secret');
138
+
139
+ $this->username = false;
140
+ $this->secret = false;
141
+
142
+ /*
143
+ * Automatically regenerate key
144
+ */
145
+ $this->get_api_access_details();
146
+ return false;
147
+ break;
148
+
149
+ case '405':
150
+ /*
151
+ * Method not allowed
152
+ */
153
+ $this->response_message = __('Method not allowed.', 'pdfextended');
154
+ return false;
155
+ break;
156
+
157
+ case '500':
158
+ /*
159
+ * Internal Server Error
160
+ */
161
+ $this->response_message = __('Internal API Error.', 'pdfextended');
162
+ return false;
163
+ break;
164
+
165
+ case '503':
166
+ /*
167
+ * Service Unavailable
168
+ */
169
+ $this->response_message = __('API Unavailable.', 'pdfextended');
170
+ return false;
171
+ break;
172
+ }
173
+ }
174
+
175
+ /*
176
+ * Create our hash function which will ensure the request hasn't been tampered en-route
177
+ * We'll make calls over HTTPS as well, but this is an added security measure.
178
+ */
179
+ private function create_hash($request, $secret_key = '')
180
+ {
181
+ /*
182
+ * Sign our hash with our secret key if we have one
183
+ */
184
+ if(PDF_DEBUG == true)
185
+ {
186
+ file_put_contents( ABSPATH . 'pdf-api.log', date('d/m/Y h:m:s') . ' Hash' ."\n", FILE_APPEND);
187
+ file_put_contents( ABSPATH . 'pdf-api.log', serialize($request) . $secret_key. "\n", FILE_APPEND);
188
+ }
189
+
190
+ /*
191
+ * Remove any items not needed in the hash
192
+ */
193
+ $hash_request = array();
194
+ $hash_request['body'] = $request['body'];
195
+ $hash_request['headers'] = $request['headers'];
196
+
197
+ $hashed = hash ('sha256', serialize($hash_request) . $secret_key );
198
+ $request['headers']['hash'] = $hashed;
199
+ return $request;
200
+ }
201
+
202
+ public function support_request($body)
203
+ {
204
+ static $retry = false;
205
+ $url = $this->api_url . 'supportRequest/';
206
+
207
+ $request_args = array(
208
+ 'body' => $body
209
+ );
210
+
211
+ /*
212
+ * Hash our request for the API
213
+ */
214
+ $request_args = $this->add_headers($request_args);
215
+
216
+ $response = wp_remote_post($url, $request_args);
217
+
218
+ /*
219
+ * Check if there is an error
220
+ */
221
+ if ( is_wp_error($response) )
222
+ {
223
+ print json_encode(array('error' => array('msg' => $response->get_error_message())));
224
+ exit;
225
+ }
226
+
227
+ /*
228
+ * Check the response codes for errors
229
+ */
230
+ if($this->check_response_code($response) === true)
231
+ {
232
+ $response_array = json_decode($response['body']);
233
+ print json_encode(array('msg' => __($response_array->msg, 'pdfextended')));
234
+ }
235
+ else
236
+ {
237
+ if($this->response_message == __('Unauthorized Access.', 'pdfextended') && $retry == false)
238
+ {
239
+ /*
240
+ * Access keys failed. They were regenerated so let's try again
241
+ */
242
+ $retry = true;
243
+ $this->support_request($body);
244
+ return;
245
+ }
246
+ else
247
+ {
248
+ return false;
249
+ }
250
+
251
+ }
252
+ }
253
+ }
helper/data.php CHANGED
@@ -1,13 +1,5 @@
1
  <?php
2
 
3
- /**
4
- * Plugin: Gravity PDF
5
- * File: data.php
6
- *
7
- * This is a data overloading class which holds important variables shared throughout the plugin
8
- * In some circumstances it will also provide functions to get data from itself
9
- */
10
-
11
  class GFPDFE_DATA
12
  {
13
  /** Location for overloaded data. */
@@ -44,27 +36,4 @@ class GFPDFE_DATA
44
  {
45
  unset($this->data[$name]);
46
  }
47
-
48
- /**
49
- * Used to set up our PDF template folder,
50
- * save folder and font folder
51
- */
52
- public function set_directory_structure()
53
- {
54
- $upload_dir = PDF_Common::get_upload_dir();
55
- $site_name = PDF_Common::get_site_name();
56
-
57
- $this->template_location = $upload_dir['basedir'] . '/' . PDF_SAVE_FOLDER . '/';
58
- $this->template_site_location = $upload_dir['basedir'] . '/' . PDF_SAVE_FOLDER . '/' . $site_name . '/';
59
- $this->template_save_location = $upload_dir['basedir'] . '/' . PDF_SAVE_FOLDER . '/' . $site_name . '/output/';
60
- $this->template_font_location = $upload_dir['basedir'] . '/' . PDF_SAVE_FOLDER . '/' . $site_name . '/fonts/';
61
-
62
- $this->template_location_url = $upload_dir['baseurl'] . '/' . PDF_SAVE_FOLDER . '/';
63
- $this->template_site_location_url = $upload_dir['baseurl'] . '/' . PDF_SAVE_FOLDER . '/' . $site_name . '/';
64
- $this->template_save_location_url = $upload_dir['baseurl'] . '/' . PDF_SAVE_FOLDER . '/' . $site_name . '/output/';
65
- $this->template_font_location_url = $upload_dir['baseurl'] . '/' . PDF_SAVE_FOLDER . '/' . $site_name . '/fonts/';
66
-
67
- $this->old_template_location = get_stylesheet_directory().'/'.PDF_SAVE_FOLDER.'/';
68
- $this->upload_dir = $upload_dir['basedir'];
69
- }
70
  }
1
  <?php
2
 
 
 
 
 
 
 
 
 
3
  class GFPDFE_DATA
4
  {
5
  /** Location for overloaded data. */
36
  {
37
  unset($this->data[$name]);
38
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
39
  }
helper/installation-update-manager.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * Plugin: Gravity PDF
5
  * File: install-update-manager.php
6
  *
7
  * This file handles the installation and update code that ensures the plugin will be supported.
@@ -13,168 +13,18 @@
13
 
14
  class GFPDF_InstallUpdater
15
  {
16
-
17
- public static function check_filesystem_api()
18
- {
19
- global $gfpdfe_data;
20
- $access_type = get_filesystem_method();
21
-
22
- $gfpdfe_data->automated = false;
23
- if($access_type === 'direct')
24
- {
25
- $gfpdfe_data->automated = true;
26
- }
27
- }
28
 
29
- /*
30
- * Check if we can automatically deploy the software
31
- * We use WP Filesystem API to initialise.
32
- * Check if we have direct write control to the filesystem. If so, automatically deploy
33
- * without asking the user. This will make upgrades much simplier.
34
- */
35
- public static function maybe_deploy()
36
- {
37
- global $gfpdfe_data;
38
- /*
39
- * Check if we have a 'direct' method, that the software isn't fully installed and we aren't trying to manually initialise
40
- */
41
-
42
- if($gfpdfe_data->automated === true && $gfpdfe_data->is_initialised === false && !rgpost('upgrade') && get_option('gfpdfe_automated_install') != 'installing')
43
- {
44
- /*
45
- * Initialise all multisites if a super admin is logged in
46
- */
47
- if(is_multisite() && is_super_admin())
48
- {
49
- $results = GFPDF_InstallUpdater::run_multisite_deployment(array('GFPDF_InstallUpdater', 'do_deploy'));
50
-
51
- if($results === true)
52
- {
53
- add_action($gfpdfe_data->notice_type, array('GFPDF_Notices', 'gf_pdf_network_deploy_success'));
54
- }
55
- elseif($results === false)
56
- {
57
- add_action($gfpdfe_data->notice_type, array('GFPDF_Notices', 'gf_pdf_auto_deploy_network_failure'));
58
- }
59
- return $results;
60
- }
61
- else
62
- {
63
- if(self::do_deploy())
64
- {
65
- /*
66
- * Output successfull automated installation message
67
- */
68
- add_action($gfpdfe_data->notice_type, array('GFPDF_Notices', 'gf_pdf_auto_deploy_success'));
69
- }
70
- }
71
- }
72
- }
73
-
74
- /*
75
- * Initialise all multsites in one fowl swoop
76
- */
77
- public static function run_multisite_deployment($action)
78
- {
79
- global $gfpdfe_data;
80
-
81
- /* add additional check incase someone doesn't call this correctly */
82
- if(!is_multisite() || !is_super_admin())
83
- return false;
84
-
85
- /*
86
- * Get multisites which aren't deleted
87
- */
88
- $sites = wp_get_sites(array('deleted' => 0));
89
-
90
- if(sizeof($sites) > 0)
91
- {
92
-
93
- $problem = array();
94
- foreach($sites as $site)
95
- {
96
- switch_to_blog( (int) $site['blog_id'] );
97
-
98
- /*
99
- * Reset the directory structure
100
- */
101
- $gfpdfe_data->set_directory_structure();
102
-
103
- /*
104
- * Test if the blog has gravity forms and PDF Extended active
105
- * If so, we can initialise
106
- */
107
- $gravityforms = 'gravityforms/gravityforms.php'; /* have to hardcode the folder name as they don't set it in a constant or variable */
108
- $pdfextended = GF_PDF_EXTENDED_PLUGIN_BASENAME; /* no need to hardcode the basename here */
109
-
110
- if( (is_plugin_active_for_network($gravityforms) && is_plugin_active_for_network($pdfextended)) ||
111
- (is_plugin_active($gravityforms) && is_plugin_active($pdfextended))
112
- )
113
- {
114
- /* run our deployment and output any problems */
115
- $deploy = call_user_func($action);
116
- if($deploy === false)
117
- {
118
- $problem[] = $site;
119
- }
120
- else if ($deploy === 'false')
121
- {
122
- /*
123
- * Asking for the access details so we can write to the server
124
- * Exit early
125
- */
126
- return $deploy;
127
- }
128
- }
129
- restore_current_blog();
130
-
131
- /*
132
- * Reset the directory structure
133
- */
134
- $gfpdfe_data->set_directory_structure();
135
- }
136
-
137
- if(sizeof($problem) > 0)
138
- {
139
- $gfpdfe_data->network_error = $problem;
140
- return false;
141
- }
142
- return true;
143
- }
144
- }
145
-
146
- /*
147
- * Used to automatically deploy the software
148
- * Regular initialisation (via the settings page) will call pdf_extended_activate() directly.
149
- */
150
- public static function do_deploy()
151
- {
152
- update_option('gfpdfe_automated_install', 'installing');
153
- return self::pdf_extended_activate();
154
- }
155
-
156
- /*
157
- * Different filesystems (FTP/SSH) might have a different ABSPATH than the 'direct' method
158
- * due to being rooted to a specific folder.
159
- * The $wp_filesystem->abspath() corrects this behaviour.
160
- */
161
- private static function get_basedir($path)
162
- {
163
- global $wp_filesystem;
164
- return str_replace(ABSPATH, $wp_filesystem->abspath(), $path);
165
- }
166
-
167
  /**
168
  * Install everything required
169
  */
170
- public static function pdf_extended_activate()
171
  {
172
  /*
173
  * Initialise the Wordpress Filesystem API
174
  */
175
- if(PDF_Common::initialise_WP_filesystem_API(array('gfpdf_deploy', 'overwrite'), 'pdf-extended-filesystem') === false)
176
  {
177
- return 'false';
178
  }
179
 
180
  /*
@@ -183,79 +33,40 @@ class GFPDF_InstallUpdater
183
  global $wp_filesystem, $gfpdfe_data;
184
 
185
  /*
186
- * Set the correct paths
187
- * FTP and SSH could be rooted to the wordpress base directory
188
- * use $wp_filesystem->abspath(); function to fix any issues
189
  */
190
- $directory = self::get_basedir(PDF_PLUGIN_DIR);
191
- $base_template_directory = self::get_basedir( $gfpdfe_data->template_location );
192
- $template_directory = self::get_basedir( $gfpdfe_data->template_site_location );
193
- $template_save_directory = self::get_basedir( $gfpdfe_data->template_save_location );
194
- $template_font_directory = self::get_basedir( $gfpdfe_data->template_font_location );
195
-
196
-
197
- /**
198
- * If template directory already exists then we will remove the old template files so we can redeploy the new ones
 
199
  */
200
- self::reinitialise_templates($template_directory);
201
-
202
- /* create new directory in uploads folder*/
203
- if(self::create_base_template_dir($base_template_directory) === false)
204
- {
205
- return false;
206
- }
207
-
208
- /* create site directory in base template directory */
209
- if(self::create_site_template_dir($template_directory) === false)
210
  {
211
- return false;
212
- }
213
-
214
- /* create 'save' output folder */
215
- if(self::create_save_dir($template_save_directory) === false)
216
- {
217
- return false;
218
- }
219
-
220
- /* create 'font' folder */
221
- if(self::create_font_dir($template_font_directory) === false)
222
- {
223
- return false;
224
- }
225
-
226
- /* copy entire template folder over to the template directory */
227
- self::pdf_extended_copy_directory( $directory . 'initialisation/templates', $template_directory, false );
228
 
229
- /* copy configuration file over to new directory */
230
- if(self::create_configuration_file($directory, $template_directory) === false)
231
- {
232
- return false;
233
- }
234
-
235
- /* create .htaccess file */
236
- if(self::create_htaccess_file($template_save_directory) === false)
237
- {
238
- return false;
239
  }
240
 
241
- /* initialise font directory */
242
- if(self::install_fonts($directory, $template_directory, $template_font_directory) !== true)
243
- {
244
- return false;
245
- }
246
-
247
- /* update db to ensure everything is installed correctly. */
248
- self::db_init();
249
-
250
- return true;
251
- }
252
-
253
- public static function reinitialise_templates($template_directory)
254
- {
255
- global $wp_filesystem, $gfpdfe_data;
256
 
257
- if($wp_filesystem->exists($template_directory) && isset($_POST['overwrite']))
258
- {
259
  /*
260
  * Create a backup folder and move all the files there
261
  */
@@ -268,145 +79,110 @@ class GFPDF_InstallUpdater
268
 
269
 
270
  /* read all file names into array and unlink from active theme template folder */
271
- foreach(glob( PDF_PLUGIN_DIR . 'initialisation/templates/*') as $file) {
272
- $path_parts = pathinfo($file);
273
- if($wp_filesystem->exists($template_directory.$path_parts['basename']))
274
- {
275
- if(!$do_backup)
276
- {
277
- $wp_filesystem->delete($template_directory.$path_parts['basename']);
278
- continue;
279
- }
280
- $wp_filesystem->move($template_directory.$path_parts['basename'], $template_directory . $backup_folder . $path_parts['basename']);
281
- }
282
  }
283
- }
284
- }
285
 
286
- public static function create_base_template_dir($base_template_directory)
287
- {
288
- global $wp_filesystem, $gfpdfe_data;
289
-
290
- /* create new directory in uploads folder*/
291
- if(!$wp_filesystem->is_dir($base_template_directory))
292
  {
293
- if($wp_filesystem->mkdir($base_template_directory) === false)
294
- {
295
- /*
296
- * TODO: add correct notices
297
- */
298
- add_action($gfpdfe_data->notice_type, array('GFPDF_Notices', 'gf_pdf_template_dir_err'));
299
- return false;
 
 
300
  }
301
- }
302
 
303
- return true;
304
- }
305
-
306
- public static function create_site_template_dir($template_directory)
307
- {
308
- global $wp_filesystem, $gfpdfe_data;
309
 
 
310
  if(!$wp_filesystem->is_dir($template_directory))
311
  {
312
  if($wp_filesystem->mkdir($template_directory) === false)
313
  {
314
- add_action($gfpdfe_data->notice_type, array('GFPDF_Notices', 'gf_pdf_template_site_dir_err'));
315
- return false;
316
- }
317
- }
318
-
319
- return true;
320
- }
321
-
322
- public static function create_save_dir($template_save_directory)
323
- {
324
- global $wp_filesystem, $gfpdfe_data;
325
-
326
  if(!$wp_filesystem->is_dir($template_save_directory))
327
  {
328
  /* create new directory in active themes folder*/
329
  if($wp_filesystem->mkdir($template_save_directory) === false)
330
  {
331
- add_action($gfpdfe_data->notice_type, array('GFPDF_Notices', 'gf_pdf_template_dir_err'));
332
- return false;
333
  }
334
- }
335
 
336
- return true;
337
- }
338
-
339
- public static function create_font_dir($template_font_directory)
340
- {
341
- global $wp_filesystem, $gfpdfe_data;
342
-
343
  if(!$wp_filesystem->is_dir($template_font_directory))
344
  {
345
  /* create new directory in active themes folder*/
346
  if($wp_filesystem->mkdir($template_font_directory) === false)
347
  {
348
- add_action($gfpdfe_data->notice_type, array('GFPDF_Notices', 'gf_pdf_template_dir_err'));
349
- return false;
350
  }
351
- }
352
-
353
- return true;
354
- }
355
-
356
- /**
357
- * Copy configuration file to template folder
358
- * @param String $directory The $wp_filesystem path to the plugin folder
359
- * @param String $template_directory The $wp_filesystem path to the template folder
360
- * @return Boolean Success on true (or not run at all). false on fail
361
- */
362
- public static function create_configuration_file($directory, $template_directory)
363
- {
364
- global $wp_filesystem, $gfpdfe_data;
365
 
366
  if(!$wp_filesystem->exists($template_directory .'configuration.php'))
367
  {
368
  /* copy template files to new directory */
369
- if(!$wp_filesystem->copy($directory . 'initialisation/configuration.php.example', $template_directory . 'configuration.php'))
370
  {
371
- add_action($gfpdfe_data->notice_type, array('GFPDF_Notices', 'gf_pdf_template_dir_err'));
372
- return false;
373
  }
374
- }
375
-
376
- return true;
377
- }
378
-
379
- /**
380
- * Create htaccess file to prevent direct access to PDFs
381
- * @param String $template_save_directory The $wp_filesystem path to the save directory
382
- * @return Boolean success on true (or not run at all). false on fail
383
- */
384
- public static function create_htaccess_file($template_save_directory)
385
- {
386
- global $wp_filesystem, $gfpdfe_data;
387
-
388
- if(!$wp_filesystem->exists($template_save_directory . '.htaccess'))
389
  {
390
- if(!$wp_filesystem->put_contents($template_save_directory . '.htaccess', 'deny from all'))
391
  {
392
- add_action($gfpdfe_data->notice_type, array('GFPDF_Notices', 'gf_pdf_template_dir_err'));
393
- return false;
394
  }
395
  }
396
 
397
- return true;
398
- }
399
-
400
- /*
401
- * Normalize the database options related to initialisation
402
- */
403
- public static function db_init()
404
- {
405
- global $gfpdfe_data;
406
 
407
  update_option('gf_pdf_extended_installed', 'installed');
408
- delete_option('gfpdfe_automated_install');
409
- GFPDF_Settings::$model->check_compatibility();
 
 
 
410
  }
411
 
412
  public static function initialise_fonts()
@@ -414,7 +190,7 @@ class GFPDF_InstallUpdater
414
  /*
415
  * Initialise the Wordpress Filesystem API
416
  */
417
- if(PDF_Common::initialise_WP_filesystem_API(array('gfpdf_deploy', 'font-initialise', 'gfpdf_deploy_nonce'), 'pdf-extended-fonts') === false)
418
  {
419
  return false;
420
  }
@@ -422,19 +198,33 @@ class GFPDF_InstallUpdater
422
  /*
423
  * If we got here we should have $wp_filesystem available
424
  */
425
- global $wp_filesystem, $gfpdfe_data;
426
 
427
  /*
428
  * We need to set up some filesystem compatibility checkes to work with the different server file management types
429
  * Most notably is the FTP options, but SSH may be effected too
430
  */
431
- $directory = self::get_basedir(PDF_PLUGIN_DIR);
432
- $template_directory = self::get_basedir( $gfpdfe_data->template_site_location );
433
- $template_font_directory = self::get_basedir( $gfpdfe_data->template_font_location );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
434
 
435
  if(self::install_fonts($directory, $template_directory, $template_font_directory) === true)
436
  {
437
- add_action($gfpdfe_data->notice_type, array('GFPDF_Notices', 'gf_pdf_font_install_success'));
438
  }
439
  return true;
440
  }
@@ -442,7 +232,7 @@ class GFPDF_InstallUpdater
442
  private static function install_fonts($directory, $template_directory, $fonts_location)
443
  {
444
 
445
- global $wp_filesystem, $gfpdfe_data;
446
  $write_to_file = '<?php
447
 
448
  if(!defined("PDF_EXTENDED_VERSION"))
@@ -458,15 +248,30 @@ class GFPDF_InstallUpdater
458
  */
459
 
460
  /* read all file names into array and unlink from active theme template folder */
461
- foreach(glob( $gfpdfe_data->template_font_location . '/*.[tT][tT][fF]') as $file) {
462
 
463
- $path_parts = pathinfo($file);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
464
 
465
  /*
466
  * Generate configuration information in preparation to write to file
467
  */
468
  $write_to_file .= '
469
- $this->fontdata[\''.mb_strtolower(str_replace(' ', '', $path_parts['filename']), 'UTF-8').'\'] = array(
470
  \'R\' => \''.$path_parts['basename'].'\'
471
  );';
472
 
@@ -478,140 +283,298 @@ class GFPDF_InstallUpdater
478
  $wp_filesystem->delete($template_directory.'fonts/config.php');
479
  if($wp_filesystem->put_contents($template_directory.'fonts/config.php', $write_to_file) === false)
480
  {
481
- add_action($gfpdfe_data->notice_type, array('GFPDF_Notices', 'gf_pdf_font_config_err'));
482
  return false;
483
  }
484
 
485
  return true;
486
  }
487
-
488
- public static function maybe_automigrate()
489
  {
490
- global $gfpdfe_data;
491
- self::check_filesystem_api();
 
 
492
 
493
- if($gfpdfe_data->automated === true)
494
- {
495
- update_option('gfpdfe_automated_install', 'installing');
496
- self::run_template_migration();
497
- return true;
498
- }
499
- return false;
500
- }
501
 
502
- /*
503
- * Check if the new PDF_TEMPLATE_LOCATION (v.3.6 mod) has been made switched
504
- * If it has then prompt the user to move the files
 
 
 
 
 
 
 
505
  */
506
- public static function check_template_migration()
507
  {
508
- global $gfpdfe_data;
509
-
510
- if(is_dir($gfpdfe_data->old_template_location))
 
 
 
 
 
 
 
 
511
  {
512
- if(!self::maybe_automigrate())
513
  {
514
- /*
515
- * Add admin notification hook to move the files
516
- */
517
- add_action($gfpdfe_data->notice_type, array('GFPDF_Notices', 'do_template_switch_notice'));
518
- return true;
 
 
 
 
 
519
  }
520
  }
521
- return false;
522
  }
523
 
524
- public static function run_template_migration()
 
 
 
 
525
  {
526
- global $gfpdfe_data;
527
-
528
- if(is_multisite() && is_super_admin())
529
- {
530
- $return = self::run_multisite_deployment(array('GFPDF_InstallUpdater','do_template_migration'));
531
- GFPDF_Settings::$model->check_compatibility();
532
-
533
- /* multisite mode */
534
- if($return === true)
535
  {
536
- add_action($gfpdfe_data->notice_type, array('GFPDF_Notices', 'gf_pdf_migration_success'));
 
 
 
537
  }
538
- elseif($return === false)
539
  {
540
- add_action($gfpdfe_data->notice_type, array('GFPDF_Notices', 'gf_pdf_merge_network_failure'));
 
 
541
  }
542
- return $return;
543
  }
544
- else
545
- {
546
- $return = self::do_template_migration();
547
- GFPDF_Settings::$model->check_compatibility();
548
 
549
- /* single site mode */
550
- if($return === true)
 
 
 
 
 
 
 
 
 
 
 
 
 
551
  {
552
- add_action($gfpdfe_data->notice_type, array('GFPDF_Notices', 'gf_pdf_migration_success'));
553
- return $return;
 
554
  }
555
- return $return;
556
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
557
  }
558
 
559
  /*
560
  * The after_switch_theme hook is too early in the initialisation to use request_filesystem_credentials()
561
  * so we have to call this function at a later inteval
562
  */
563
- public static function do_template_migration()
564
  {
 
 
 
 
 
 
 
565
  /*
566
  * Initialise the Wordpress Filesystem API
567
  */
568
- if(PDF_Common::initialise_WP_filesystem_API(array(), 'gfpdfe_migrate') === false)
569
  {
570
- return 'false';
571
  }
572
 
573
  /*
574
  * If we got here we should have $wp_filesystem available
575
  */
576
- global $wp_filesystem, $gfpdfe_data;
577
-
578
  /*
579
- * Convert paths for SSH/FTP users who are rooted to a directory along the server absolute path
580
- */
581
- $base_template_directory = self::get_basedir($gfpdfe_data->template_location );
582
- $previous_pdf_path = self::get_basedir($gfpdfe_data->old_template_location);
583
- $current_pdf_path = self::get_basedir($gfpdfe_data->template_site_location);
584
-
585
- /* create the base template directory */
586
- if(self::create_base_template_dir($base_template_directory) === false)
587
- {
588
- return false;
589
- }
590
-
591
- /* create the site template directory */
592
- if(self::create_site_template_dir($current_pdf_path) === false)
593
- {
594
- return false;
595
- }
596
-
597
- if($wp_filesystem->is_dir($previous_pdf_path))
598
  {
599
- self::pdf_extended_copy_directory( $previous_pdf_path, $current_pdf_path, true, true, true ); /* swap back to TRUE to delete the theme folder */
600
-
601
- /*
602
- * Clean up the DB
603
- */
604
- delete_option('gfpdfe_automated_install');
605
 
606
- return true;
607
- }
608
- return false;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
609
  }
610
 
611
  /*
612
  * Allows you to copy entire folder structures to new location
613
  */
614
- public static function pdf_extended_copy_directory( $source, $destination, $copy_base = true, $delete_destination = false, $delete_source = false )
 
615
  {
616
  global $wp_filesystem;
617
 
@@ -649,10 +612,89 @@ class GFPDF_InstallUpdater
649
  {
650
  $wp_filesystem->copy( $source, $destination );
651
  }
 
 
 
 
 
652
 
653
- if($delete_source)
654
- {
655
- $wp_filesystem->delete($source, true);
656
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
657
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
658
  }
1
  <?php
2
 
3
  /**
4
+ * Plugin: Gravity Forms PDF Extended
5
  * File: install-update-manager.php
6
  *
7
  * This file handles the installation and update code that ensures the plugin will be supported.
13
 
14
  class GFPDF_InstallUpdater
15
  {
 
 
 
 
 
 
 
 
 
 
 
 
16
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
17
  /**
18
  * Install everything required
19
  */
20
+ public function pdf_extended_activate()
21
  {
22
  /*
23
  * Initialise the Wordpress Filesystem API
24
  */
25
+ if(PDF_Common::initialise_WP_filesystem_API(array('gfpdf_deploy'), 'pdf-extended-filesystem') === false)
26
  {
27
+ return false;
28
  }
29
 
30
  /*
33
  global $wp_filesystem, $gfpdfe_data;
34
 
35
  /*
36
+ * We need to set up some filesystem compatibility checkes to work with the different server file management types
37
+ * Most notably is the FTP options, but SSH may be effected too
 
38
  */
39
+ $directory = PDF_PLUGIN_DIR;
40
+ $template_directory = PDF_TEMPLATE_LOCATION;
41
+ $template_save_directory = PDF_SAVE_LOCATION;
42
+ $template_font_directory = PDF_FONT_LOCATION;
43
+
44
+
45
+ /*
46
+ * If using FTP we need to make modifications to the file paths
47
+ * Unlike the direct method, the root of the FTP directory isn't the ABSPATH
48
+ * Usually FTP is restricted to the public_html directory, or just above it.
49
  */
50
+ if($wp_filesystem->method === 'ftpext' || $wp_filesystem->method === 'ftpsockets' || $wp_filesystem->method === 'ssh2')
 
 
 
 
 
 
 
 
 
51
  {
52
+ /*
53
+ * Get the base directory
54
+ */
55
+ $base_directory = self::get_base_directory();
56
+
57
+ $directory = str_replace(ABSPATH, $base_directory, $directory);
58
+ $template_directory = str_replace(ABSPATH, $base_directory, $template_directory);
59
+ $template_save_directory = str_replace(ABSPATH, $base_directory, $template_save_directory);
60
+ $template_font_directory = str_replace(ABSPATH, $base_directory, $template_font_directory);
 
 
 
 
 
 
 
 
61
 
 
 
 
 
 
 
 
 
 
 
62
  }
63
 
64
+ /**
65
+ * If PDF_TEMPLATE_LOCATION already exists then we will remove the old template files so we can redeploy the new ones
66
+ */
 
 
 
 
 
 
 
 
 
 
 
 
67
 
68
+ if($wp_filesystem->exists($template_directory))
69
+ {
70
  /*
71
  * Create a backup folder and move all the files there
72
  */
79
 
80
 
81
  /* read all file names into array and unlink from active theme template folder */
82
+ foreach(glob($directory.'initialisation/templates/*') as $file) {
83
+ $path_parts = pathinfo($file);
84
+ if($wp_filesystem->exists($template_directory.$path_parts['basename']))
85
+ {
86
+ if(!$do_backup)
87
+ {
88
+ $wp_filesystem->delete($template_directory.$path_parts['basename']);
89
+ continue;
90
+ }
91
+ $wp_filesystem->move($template_directory.$path_parts['basename'], $template_directory . $backup_folder . $path_parts['basename']);
92
+ }
93
  }
94
+ }
95
+
96
 
97
+ /* unzip the mPDF file */
98
+ if($wp_filesystem->exists($directory . 'mPDF.zip'))
 
 
 
 
99
  {
100
+ /*
101
+ * The only function that requires the input to be the full path and the export to be the directory used in $wp_filesystem
102
+ */
103
+ $results = unzip_file( PDF_PLUGIN_DIR . 'mPDF.zip', $directory );
104
+
105
+ if($results !== true)
106
+ {
107
+ add_action('gfpdfe_notices', array('GFPDF_InstallUpdater', 'gf_pdf_unzip_mpdf_err'));
108
+ return 'fail';
109
  }
 
110
 
111
+ /*
112
+ * Remove the original archive
113
+ */
114
+ $wp_filesystem->delete($directory . 'mPDF.zip');
115
+ }
 
116
 
117
+ /* create new directory in active themes folder*/
118
  if(!$wp_filesystem->is_dir($template_directory))
119
  {
120
  if($wp_filesystem->mkdir($template_directory) === false)
121
  {
122
+ add_action('gfpdfe_notices', array('GFPDF_InstallUpdater', 'gf_pdf_template_dir_err'));
123
+ return 'fail';
124
+ }
125
+ }
126
+
 
 
 
 
 
 
 
127
  if(!$wp_filesystem->is_dir($template_save_directory))
128
  {
129
  /* create new directory in active themes folder*/
130
  if($wp_filesystem->mkdir($template_save_directory) === false)
131
  {
132
+ add_action('gfpdfe_notices', array('GFPDF_InstallUpdater', 'gf_pdf_template_dir_err'));
133
+ return 'fail';
134
  }
135
+ }
136
 
 
 
 
 
 
 
 
137
  if(!$wp_filesystem->is_dir($template_font_directory))
138
  {
139
  /* create new directory in active themes folder*/
140
  if($wp_filesystem->mkdir($template_font_directory) === false)
141
  {
142
+ add_action('gfpdfe_notices', array('GFPDF_InstallUpdater', 'gf_pdf_template_dir_err'));
143
+ return 'fail';
144
  }
145
+ }
146
+
147
+ /*
148
+ * Copy entire template folder over to PDF_TEMPLATE_LOCATION
149
+ */
150
+ self::pdf_extended_copy_directory( $directory . 'initialisation/templates', $template_directory, false );
 
 
 
 
 
 
 
 
151
 
152
  if(!$wp_filesystem->exists($template_directory .'configuration.php'))
153
  {
154
  /* copy template files to new directory */
155
+ if(!$wp_filesystem->copy($directory .'initialisation/configuration.php.example', $template_directory.'configuration.php'))
156
  {
157
+ add_action('gfpdfe_notices', array('GFPDF_InstallUpdater', 'gf_pdf_template_dir_err'));
158
+ return 'fail';
159
  }
160
+ }
161
+
162
+ if(!$wp_filesystem->exists($template_save_directory.'.htaccess'))
 
 
 
 
 
 
 
 
 
 
 
 
163
  {
164
+ if(!$wp_filesystem->put_contents($template_save_directory.'.htaccess', 'deny from all'))
165
  {
166
+ add_action('gfpdfe_notices', array('GFPDF_InstallUpdater', 'gf_pdf_template_dir_err'));
167
+ return 'fail';
168
  }
169
  }
170
 
171
+ if(self::install_fonts($directory, $template_directory, $template_font_directory) !== true)
172
+ {
173
+ return 'fail';
174
+ }
175
+
176
+ /*
177
+ * Update system to ensure everything is installed correctly.
178
+ */
 
179
 
180
  update_option('gf_pdf_extended_installed', 'installed');
181
+ update_option('gf_pdf_extended_deploy', 'yes');
182
+ update_option('gf_pdf_extended_version', PDF_EXTENDED_VERSION);
183
+ delete_option('gfpdfe_switch_theme');
184
+
185
+ return true;
186
  }
187
 
188
  public static function initialise_fonts()
190
  /*
191
  * Initialise the Wordpress Filesystem API
192
  */
193
+ if(PDF_Common::initialise_WP_filesystem_API(array('gfpdf_deploy'), 'pdf-extended-fonts') === false)
194
  {
195
  return false;
196
  }
198
  /*
199
  * If we got here we should have $wp_filesystem available
200
  */
201
+ global $wp_filesystem;
202
 
203
  /*
204
  * We need to set up some filesystem compatibility checkes to work with the different server file management types
205
  * Most notably is the FTP options, but SSH may be effected too
206
  */
207
+ $directory = PDF_PLUGIN_DIR;
208
+ $template_directory = PDF_TEMPLATE_LOCATION;
209
+ $template_font_directory = PDF_FONT_LOCATION;
210
+
211
+
212
+ if($wp_filesystem->method === 'ftpext' || $wp_filesystem->method === 'ftpsockets' || $wp_filesystem->method === 'ssh2')
213
+ {
214
+ /*
215
+ * Assume FTP is rooted to the Wordpress install
216
+ */
217
+ $base_directory = self::get_base_directory();
218
+
219
+ $directory = str_replace(ABSPATH, $base_directory, $directory);
220
+ $template_directory = str_replace(ABSPATH, $base_directory, $template_directory);
221
+ $template_font_directory = str_replace(ABSPATH, $base_directory, $template_font_directory);
222
+
223
+ }
224
 
225
  if(self::install_fonts($directory, $template_directory, $template_font_directory) === true)
226
  {
227
+ add_action('gfpdfe_notices', array('GFPDF_InstallUpdater', 'gf_pdf_font_install_success'));
228
  }
229
  return true;
230
  }
232
  private static function install_fonts($directory, $template_directory, $fonts_location)
233
  {
234
 
235
+ global $wp_filesystem;
236
  $write_to_file = '<?php
237
 
238
  if(!defined("PDF_EXTENDED_VERSION"))
248
  */
249
 
250
  /* read all file names into array and unlink from active theme template folder */
251
+ foreach(glob($fonts_location.'/*.[tT][tT][fF]') as $file) {
252
 
253
+ $path_parts = pathinfo($file);
254
+
255
+ /*
256
+ * Check if the files already exist in the mPDF font folder
257
+ */
258
+ if(!$wp_filesystem->exists($directory . 'mPDF/ttfonts/' . $path_parts['basename']))
259
+ {
260
+ /*
261
+ * copy ttf file to the mPDF font folder
262
+ */
263
+ if($wp_filesystem->copy($file, $directory . 'mPDF/ttfonts/' . $path_parts['basename']) === false)
264
+ {
265
+ add_action('gfpdfe_notices', array('GFPDF_InstallUpdater', 'gf_pdf_font_err'));
266
+ return false;
267
+ }
268
+ }
269
 
270
  /*
271
  * Generate configuration information in preparation to write to file
272
  */
273
  $write_to_file .= '
274
+ $this->fontdata[\''.strtolower($path_parts['filename']).'\'] = array(
275
  \'R\' => \''.$path_parts['basename'].'\'
276
  );';
277
 
283
  $wp_filesystem->delete($template_directory.'fonts/config.php');
284
  if($wp_filesystem->put_contents($template_directory.'fonts/config.php', $write_to_file) === false)
285
  {
286
+ add_action('gfpdfe_notices', array('GFPDF_InstallUpdater', 'gf_pdf_font_config_err'));
287
  return false;
288
  }
289
 
290
  return true;
291
  }
292
+
293
+ public function gf_pdf_font_install_success()
294
  {
295
+ echo '<div id="message" class="updated"><p>';
296
+ echo __('The font files have been successfully installed. A font can be used by adding its file name (without .ttf and in lower case) in a CSS font-family declaration.', 'pdfextended');
297
+ echo '</p></div>';
298
+ }
299
 
300
+ public function gf_pdf_font_err()
301
+ {
302
+ echo '<div id="message" class="error"><p>';
303
+ echo __('There was a problem installing the font files. Manually copy your fonts to the mPDF/ttfonts/ folder.', 'pdfextended');
304
+ echo '</p></div>';
305
+ }
 
 
306
 
307
+ public function gf_pdf_font_config_err()
308
+ {
309
+ echo '<div id="message" class="error"><p>';
310
+ echo __('Could not create font configuration file. Try initialise again.', 'pdfextended');
311
+ echo '</p></div>';
312
+ }
313
+
314
+ /**
315
+ * Gravity Forms hasn't been installed so throw error.
316
+ * We make sure the user hasn't already dismissed the error
317
  */
318
+ public function gf_pdf_not_installed()
319
  {
320
+ echo '<div id="message" class="error"><p>';
321
+ echo sprintf(__('You need to install/update %sGravity Forms%s to use the Gravity Forms PDF Extended Plugin.', 'pdfextended'), '<a href="https://www.e-junkie.com/ecom/gb.php?cl=54585&c=ib&aff=235154" target="ejejcsingle">', '</a>');
322
+ echo '</p></div>';
323
+ }
324
+
325
+ /**
326
+ * PDF Extended has been updated but the new template files haven't been deployed yet
327
+ */
328
+ public function gf_pdf_not_deployed()
329
+ {
330
+ if( !rgpost('update') )
331
  {
332
+ if(rgget("page") == 'gf_settings' && rgget('addon') == 'PDF')
333
  {
334
+ echo '<div id="message" class="error"><p>';
335
+ echo __('You\'ve updated Gravity Forms PDF Extended but are yet to re-initialise the plugin. After initialising, please review the latest updates to ensure your custom templates remain compatible with the latest version.', 'pdfextended');
336
+ echo '</p></div>';
337
+
338
+ }
339
+ else
340
+ {
341
+ echo '<div id="message" class="error"><p>';
342
+ echo sprintf(__('You\'ve updated Gravity Forms PDF Extended but are yet to re-initialise the plugin. Please go to the %splugin\'s settings page%s to initialise.', 'pdfextended'), '<a href="'.PDF_SETTINGS_URL.'">', '</a>');
343
+ echo '</p></div>';
344
  }
345
  }
 
346
  }
347
 
348
+ /**
349
+ * The software has detected a problem (no configuration.php file or no PDF_EXTENDED_TEMPLATE folder
350
+ * The user will need to reinitialise
351
+ */
352
+ public function gf_pdf_problem_detected()
353
  {
354
+ if( !rgpost('update') )
355
+ {
356
+ if(rgget("page") == 'gf_settings' && rgget('addon') == 'PDF')
 
 
 
 
 
 
357
  {
358
+ echo '<div id="message" class="error"><p>';
359
+ echo __('Gravity Forms PDF Extended detected a configuration problem. Please re-initialise the plugin.', 'pdfextended');
360
+ echo '</p></div>';
361
+
362
  }
363
+ else
364
  {
365
+ echo '<div id="message" class="error"><p>';
366
+ echo sprintf(__('Gravity Forms PDF Extended detected a configuration problem. Please go to the %splugin\'s settings page%s to re-initialise.', 'pdfextended'), '<a href="'.PDF_SETTINGS_URL.'">', '</a>');
367
+ echo '</p></div>';
368
  }
 
369
  }
370
+ }
 
 
 
371
 
372
+ /**
373
+ * PDF Extended has been freshly installed
374
+ */
375
+ public function gf_pdf_not_deployed_fresh()
376
+ {
377
+ if( !rgpost('update') )
378
+ {
379
+ if(rgget("page") == 'gf_settings' && rgget('addon') == 'PDF')
380
+ {
381
+ echo '<div id="message" class="updated"><p>';
382
+ echo __('Welcome to Gravity Forms PDF Extended. Before you can use the plugin correctly you need to initilise it.', 'pdfextended');
383
+ echo '</p></div>';
384
+
385
+ }
386
+ else
387
  {
388
+ echo '<div id="message" class="updated"><p>';
389
+ echo sprintf(__('Welcome to Gravity Forms PDF Extended. Before you can use the plugin correctly you need to initilise it. Please go to the %splugin\'s settings page%s to initialise.', 'pdfextended'), '<a href="'.PDF_SETTINGS_URL.'">', '</a>');
390
+ echo '</p></div>';
391
  }
 
392
  }
393
+ }
394
+
395
+ /**
396
+ * The Gravity Forms version isn't compatible. Prompt user to upgrade
397
+ */
398
+ public function gf_pdf_not_supported()
399
+ {
400
+ echo '<div id="message" class="error"><p>';
401
+ echo sprintf(__('Gravity Forms PDF Extended only works with Gravity Forms version '.GF_PDF_EXTENDED_SUPPORTED_VERSION.' and higher. Please %supgrade your copy of Gravity Forms%s to use this plugin.', 'pdfextended'), '<a href="https://www.e-junkie.com/ecom/gb.php?cl=54585&c=ib&aff=235154" target="ejejcsingle">', '</a>');
402
+ echo '</p></div>';
403
+ }
404
+
405
+
406
+ /**
407
+ * Cannot create new template folder in active theme directory
408
+ */
409
+ public function gf_pdf_template_dir_err()
410
+ {
411
+ echo '<div id="message" class="error"><p>';
412
+ echo __('We could not create a template folder in your active theme\'s directory. Please created a folder called <strong>\''. PDF_SAVE_FOLDER .'\'</strong> in '.get_stylesheet_directory().'/. Then copy the contents of '.PDF_PLUGIN_DIR.'templates/ to your newly-created PDF_EXTENDED_TEMPLATES folder, as well as styles/template.css. You should also make this directory writable.', 'pdfextended');
413
+ echo '</p></div>';
414
+
415
+ }
416
+
417
+ public static function gf_pdf_unzip_mpdf_err()
418
+ {
419
+ echo '<div id="message" class="error"><p>';
420
+ echo __('Could not unzip mPDF.zip (located in the plugin folder). Unzip the file manually, place the extracted mPDF folder in the plugin folder and run the initialisation again.', 'pdfextended');
421
+ echo '</p></div>';
422
+ }
423
+
424
+ /**
425
+ * Cannot remove old default template files
426
+ */
427
+ public function gf_pdf_deployment_unlink_error()
428
+ {
429
+ echo '<div id="message" class="error"><p>';
430
+ echo __('We could not remove the default template files from the Gravity Forms PDF Extended folder in your active theme\'s directory. Please manually remove all files starting with \'default-\' and the template.css file.', 'pdfextended');
431
+ echo '</p></div>';
432
+
433
+ }
434
+
435
+ /**
436
+ * Cannot create new template folder in active theme directory
437
+ */
438
+ public function gf_pdf_template_move_err()
439
+ {
440
+ echo '<div id="message" class="error"><p>';
441
+ echo __('We could not copy the contents of '.PDF_PLUGIN_DIR.'templates/ to your newly-created PDF_EXTENDED_TEMPLATES folder. Please manually copy the files to the aforementioned directory.', 'pdfextended');
442
+ echo '</p></div>';
443
+
444
+ }
445
+
446
+ /*
447
+ * When switching themes copy over current active theme's PDF_EXTENDED_TEMPLATES (if it exists) to new theme folder
448
+ */
449
+ public function gf_pdf_on_switch_theme($old_theme_name, $old_theme_object) {
450
+
451
+ /*
452
+ * We will store the old pdf dir and new pdf directory and prompt the user to copy the PDF_EXTENDED_TEMPLATES folder
453
+ */
454
+ $previous_theme_directory = $old_theme_object->get_stylesheet_directory();
455
+
456
+ $current_theme_array = wp_get_theme();
457
+ $current_theme_directory = $current_theme_array->get_stylesheet_directory();
458
+
459
+ /*
460
+ * Add the save folder name to the end of the paths
461
+ */
462
+ $old_pdf_path = $previous_theme_directory . '/' . PDF_SAVE_FOLDER;
463
+ $new_pdf_path = $current_theme_directory . '/' . PDF_SAVE_FOLDER;
464
+
465
+ update_option('gfpdfe_switch_theme', array('old' => $old_pdf_path, 'new' => $new_pdf_path));
466
+ }
467
+
468
+ /*
469
+ * Check if a theme switch has been made recently
470
+ * If it has then prompt the user to move the files
471
+ */
472
+ public static function check_theme_switch()
473
+ {
474
+ $theme_switch = get_option('gfpdfe_switch_theme');
475
+
476
+ if(isset($theme_switch['old']) && isset($theme_switch['new']))
477
+ {
478
+ /*
479
+ * Add admin notification hook to move the files
480
+ */
481
+ add_action('admin_notices', array("GFPDF_InstallUpdater", "do_theme_switch_notice"));
482
+ return true;
483
+ }
484
+ return false;
485
+ }
486
+
487
+ /*
488
+ * Prompt user to keep the plugin working
489
+ */
490
+ public static function do_theme_switch_notice()
491
+ {
492
+ /*
493
+ * Check we aren't in the middle of doing the sync
494
+ */
495
+ if(isset($_GET['_wpnonce']) && wp_verify_nonce($_GET['_wpnonce'], 'gfpdfe_sync_now'))
496
+ {
497
+ return;
498
+ }
499
+
500
+ echo '<div id="message" class="error"><p>';
501
+ echo sprintf(__('Gravity Forms PDF Extended needs to keep your configuration and template folder in sync with your current active theme. %sSync Now%s', 'pdfextended'), '<a href="'. wp_nonce_url(PDF_SETTINGS_URL, 'gfpdfe_sync_now') . '" class="button">', '</a>');
502
+ echo '</p></div>';
503
+
504
+ }
505
+
506
+ public static function gf_pdf_theme_sync_success()
507
+ {
508
+ echo '<div id="message" class="updated"><p>';
509
+ echo __('Your configuration and template folder was successfully synced.', 'pdfextended');
510
+ echo '</p></div>';
511
  }
512
 
513
  /*
514
  * The after_switch_theme hook is too early in the initialisation to use request_filesystem_credentials()
515
  * so we have to call this function at a later inteval
516
  */
517
+ public function do_theme_switch($previous_pdf_path, $current_pdf_path)
518
  {
519
+ /*
520
+ * Prepare for calling the WP Filesystem
521
+ * It only allows post data to be added so we have to manually assign them
522
+ */
523
+ $_POST['previous_pdf_path'] = $previous_pdf_path;
524
+ $_POST['current_pdf_path'] = $current_pdf_path;
525
+
526
  /*
527
  * Initialise the Wordpress Filesystem API
528
  */
529
+ if(PDF_Common::initialise_WP_filesystem_API(array('previous_pdf_path', 'current_pdf_path'), 'gfpdfe_sync_now') === false)
530
  {
531
+ return false;
532
  }
533
 
534
  /*
535
  * If we got here we should have $wp_filesystem available
536
  */
537
+ global $wp_filesystem;
538
+
539
  /*
540
+ * We need to set up some filesystem compatibility checkes to work with the different server file management types
541
+ * Most notably is the FTP options, but SSH may be effected too
542
+ */
543
+
544
+ if($wp_filesystem->method === 'ftpext' || $wp_filesystem->method === 'ftpsockets' || $wp_filesystem->method === 'ssh2')
 
 
 
 
 
 
 
 
 
 
 
 
 
 
545
  {
546
+ /*
547
+ * Assume FTP is rooted to the Wordpress install
548
+ */
549
+ $base_directory = self::get_base_directory();
 
 
550
 
551
+ $previous_pdf_path = str_replace(ABSPATH, $base_directory, $previous_pdf_path);
552
+ $current_pdf_path = str_replace(ABSPATH, $base_directory, $current_pdf_path);
553
+
554
+ }
555
+
556
+ if($wp_filesystem->is_dir($previous_pdf_path))
557
+ {
558
+ self::pdf_extended_copy_directory( $previous_pdf_path, $current_pdf_path, true, true );
559
+ }
560
+
561
+ /*
562
+ * Remove the options key that triggers the switch theme function
563
+ */
564
+ delete_option('gfpdfe_switch_theme');
565
+ add_action('gfpdfe_notices', array('GFPDF_InstallUpdater', 'gf_pdf_theme_sync_success'));
566
+
567
+ /*
568
+ * Show success message to user
569
+ */
570
+ return true;
571
  }
572
 
573
  /*
574
  * Allows you to copy entire folder structures to new location
575
  */
576
+
577
+ public function pdf_extended_copy_directory( $source, $destination, $copy_base = true, $delete_destination = false )
578
  {
579
  global $wp_filesystem;
580
 
612
  {
613
  $wp_filesystem->copy( $source, $destination );
614
  }
615
+ }
616
+
617
+ private static function check_access_path($directory, $file_path, $directory_list)
618
+ {
619
+ global $wp_filesystem;
620
 
621
+ foreach($directory_list as $name => $data)
622
+ {
623
+ /*
624
+ * Check if one of the file/folder names matches what is in $file_path, make sure it is a directory and
625
+ * the name has a value
626
+ */
627
+
628
+ $match = array_search($name, $file_path);
629
+
630
+ if((strlen($name) > 0) && ($match !== false) && ((int) $data['isdir'] === 1 || $data['type'] === 'd') )
631
+ {
632
+
633
+ /*
634
+ * We have a match but it could be fake
635
+ * Look inside the target folder and see if the next folder in $file_path can be found
636
+ * If it can we will assume it is the correct path
637
+ */
638
+ if(isset($file_path[$match+1]))
639
+ {
640
+
641
+ $next_match = $file_path[$match+1];
642
+ $directory_list2 = $wp_filesystem->dirlist('/'.$name.'/');
643
+
644
+ if(isset($directory_list2[$next_match]) && ((int) $directory_list2[$next_match]['isdir'] === 1 || $directory_list2[$next_match]['type'] === 'd'))
645
+ {
646
+ return self::merge_path($file_path, $match);
647
+ }
648
+
649
+ }
650
+ else
651
+ {
652
+ return self::merge_path($file_path, $match);
653
+ }
654
+ }
655
+ }
656
+
657
+ return $directory;
658
+ }
659
+
660
+ /*
661
+ * Merge the path array back together from the matched key
662
+ */
663
+ private static function merge_path($file_path, $key)
664
+ {
665
+ return '/' . implode('/', array_slice($file_path, $key)) . '/';
666
  }
667
+
668
+ /*
669
+ * Get the base directory for the current filemanagement type
670
+ * In this case it is FTP but may be SSH
671
+ */
672
+ private static function get_base_directory()
673
+ {
674
+ global $wp_filesystem;
675
+
676
+ /*
677
+ * Assume FTP is rooted to the Wordpress install
678
+ */
679
+ $directory = '/';
680
+
681
+ /*
682
+ * Test if the FTP is below the Wordpress base by sniffing the base directory
683
+ */
684
+ $directory_list = $wp_filesystem->dirlist('/');
685
+
686
+ /*
687
+ * Use the ABSPATH to compare the directory structure
688
+ */
689
+ $file_path = array_filter(explode('/', ABSPATH ));
690
+
691
+ /*
692
+ * Rekey the array
693
+ */
694
+ $file_path = array_values($file_path);
695
+
696
+ return self::check_access_path($directory, $file_path, $directory_list);
697
+
698
+ }
699
+
700
  }
helper/notices.php DELETED
@@ -1,376 +0,0 @@
1
- <?php
2
-
3
- /**
4
- * Plugin: Gravity PDF
5
- * File: notices.php
6
- *
7
- * This file handles the output of all notices to the admin area
8
- */
9
-
10
- class GFPDF_Notices
11
- {
12
- /*
13
- * Admin notice template
14
- */
15
- private static function message($text, $type = 'updated')
16
- {
17
- ?>
18
- <div id="message" class="<?php echo $type; ?>">
19
- <p>
20
- <?php echo $text; ?>
21
- </p>
22
- </div>
23
- <?php
24
- }
25
-
26
- /*
27
- * Output the update notice
28
- */
29
- private static function notice($text)
30
- {
31
- self::message($text);
32
- }
33
-
34
- /*
35
- * Output the error notice
36
- */
37
- private static function error($text)
38
- {
39
- self::message($text, 'error');
40
- }
41
-
42
- private static function display_plugin_message($message, $is_error = false){
43
-
44
- $style = $is_error ? 'style="background-color: #ffebe8;"' : "";
45
-
46
- echo '</tr><tr class="plugin-update-tr"><td colspan="5" class="plugin-update"><div class="update-message" ' . $style . '>' . $message . '</div></td>';
47
- }
48
-
49
- private static function autoprefix()
50
- {
51
- global $gfpdfe_data;
52
- if($gfpdfe_data->automated === true && !rgpost('upgrade') && !rgpost('font-initialise'))
53
- {
54
- return sprintf(__('%sGravity PDF Automated Installer%s: ', 'pdfextended'), '<strong>', '</strong>');
55
- }
56
- return '';
57
- }
58
-
59
- private static function autosuffix()
60
- {
61
- global $gfpdfe_data;
62
- if($gfpdfe_data->automated === true && !rgpost('upgrade') && !rgpost('font-initialise'))
63
- {
64
- return sprintf(__(' %sGo to installer%s.', 'pdfextended'), '<a href="'. PDF_SETTINGS_URL .'">', '</a>');
65
- }
66
- return '';
67
- }
68
-
69
- public static function gf_pdf_font_install_success()
70
- {
71
- $prefix = self::autoprefix();
72
- $suffix = self::autosuffix();
73
-
74
- $msg = $prefix . __('The font files have been successfully installed. A font can be used by adding its file name (without .ttf) in a CSS font-family declaration.', 'pdfextended') . $suffix;
75
-
76
- self::notice($msg);
77
-
78
- }
79
-
80
- public static function gf_pdf_font_config_err()
81
- {
82
- $prefix = self::autoprefix();
83
- $suffix = self::autosuffix();
84
-
85
- $msg = $prefix . __('Could not create font configuration file. Try initialise again.', 'pdfextended') . $suffix;
86
-
87
- self::error($msg);
88
-
89
- }
90
-
91
- /**
92
- * The software has detected a problem (no configuration.php file or no PDF_EXTENDED_TEMPLATE folder
93
- * The user will need to reinitialise
94
- */
95
- public static function gf_pdf_problem_detected()
96
- {
97
- if( !rgpost('update') )
98
- {
99
- if(rgget("page") == 'gf_settings' && rgget('subview') == 'PDF')
100
- {
101
- $msg = __('Gravity PDF detected a configuration problem. Please reinitialise the plugin.', 'pdfextended');
102
- }
103
- else
104
- {
105
- $msg = sprintf(__('Gravity PDF detected a configuration problem. Please go to the %splugin\'s settings page%s to reinitialise.', 'pdfextended'), '<a href="'.PDF_SETTINGS_URL.'">', '</a>');
106
- }
107
-
108
- self::error($msg);
109
- }
110
- }
111
-
112
- /*
113
- * The $gfpdfe_data->allow_initilisation function is false
114
- * meaning there is a server configuration problem detected
115
- */
116
- public static function gf_pdf_server_problem_detected()
117
- {
118
- if( !rgpost('update') )
119
- {
120
- if(rgget("page") == 'gf_settings' && rgget('subview') == 'PDF')
121
- {
122
- $msg = __('Gravity PDF detected a server compatibility problem which prevented the software from running. See the System Status section below for details.', 'pdfextended');
123
- }
124
- else
125
- {
126
- $msg = sprintf(__('Gravity PDF detected a server compatibility problem which prevented the software from running. Please go to the %splugin\'s settings page%s to view the issue.', 'pdfextended'), '<a href="'.PDF_SETTINGS_URL.'">', '</a>');
127
- }
128
-
129
- self::error($msg);
130
- }
131
- }
132
-
133
- /**
134
- * PDF Extended has been freshly installed
135
- */
136
- public static function gf_pdf_not_deployed_fresh()
137
- {
138
- if( !rgpost('update') )
139
- {
140
- if(rgget("page") == 'gf_settings' && rgget('subview') == 'PDF')
141
- {
142
- $msg = __('Welcome to Gravity PDF. Before you can use the plugin correctly you need to initilise it.', 'pdfextended');
143
- }
144
- else
145
- {
146
- $msg = sprintf(__('Welcome to Gravity PDF. Before you can use the plugin correctly you need to initilise it. Please go to the %splugin\'s settings page%s to initialise.', 'pdfextended'), '<a href="'.PDF_SETTINGS_URL.'">', '</a>');
147
- }
148
-
149
- self::notice($msg);
150
- }
151
- }
152
-
153
- /**
154
- * The Gravity Forms version isn't compatible. Prompt user to upgrade
155
- */
156
- public static function gf_pdf_not_supported()
157
- {
158
- $msg = sprintf(__('Gravity PDF only works with Gravity Forms version %s and higher. Please %supgrade your copy of Gravity Forms%s to use this plugin.', 'pdfextended'), GF_PDF_EXTENDED_SUPPORTED_VERSION, '<a href="https://www.e-junkie.com/ecom/gb.php?cl=54585&c=ib&aff=235154" target="ejejcsingle">', '</a>');
159
-
160
- self::error($msg);
161
- }
162
-
163
-
164
- /**
165
- * Cannot create new template folder in active theme directory
166
- */
167
- public static function gf_pdf_template_dir_err()
168
- {
169
- global $gfpdfe_data;
170
-
171
- $prefix = self::autoprefix();
172
- $suffix = self::autosuffix();
173
-
174
- $msg = $prefix . sprintf(__('We could not create a template folder in your uploads directory. Please ensure %s is writable by your web server and try again.', 'pdfextended'), str_replace(ABSPATH, '', $gfpdfe_data->upload_dir)) . $suffix;
175
-
176
- self::error($msg);
177
- }
178
-
179
- /**
180
- * Cannot create site directory in template folder
181
- */
182
- public static function gf_pdf_template_site_dir_err()
183
- {
184
- global $gfpdfe_data;
185
-
186
- $prefix = self::autoprefix();
187
- $suffix = self::autosuffix();
188
-
189
- $msg = $prefix . sprintf(__('We could not create a site folder in your uploads/%s directory. Please ensure %s is writable by your web server and try again.'), PDF_SAVE_FOLDER, str_replace(ABSPATH, '', $gfpdfe_data->template_location), 'pdfextended') . $suffix;
190
-
191
- self::error($msg);
192
- }
193
-
194
- /**
195
- * Cannot remove old default template files
196
- */
197
- public static function gf_pdf_deployment_unlink_error()
198
- {
199
- $prefix = self::autoprefix();
200
- $suffix = self::autosuffix();
201
-
202
- $msg = $prefix . sprintf(__('We could not remove the default template files from %s in your uploads directory. Please ensure %s is wriable by your web server and try again.', 'pdfextended'), PDF_SAVE_FOLDER, str_replace(ABSPATH, '', $gfpdfe_data->template_site_location)) . $suffix;
203
-
204
- self::error($msg);
205
- }
206
-
207
- /**
208
- * Cannot create new template folder
209
- */
210
- public static function gf_pdf_template_move_err()
211
- {
212
- $prefix = self::autoprefix();
213
- $suffix = self::autosuffix();
214
-
215
- $msg = $prefix . sprintf(__('We could not move the template files to the %s folder. Please ensure %s is wriable by your web server and try again.', 'pdfextended'), PDF_SAVE_FOLDER, str_replace(ABSPATH, '', $gfpdfe_data->template_site_location) ) . $suffix;
216
-
217
- self::error($msg);
218
- }
219
-
220
- /*
221
- * Prompt user to keep the plugin working
222
- */
223
- public static function do_template_switch_notice()
224
- {
225
- /*
226
- * Check we aren't in the middle of doing the sync
227
- */
228
- if(isset($_GET['_wpnonce']) && wp_verify_nonce($_GET['_wpnonce'], 'gfpdfe_migrate'))
229
- {
230
- return;
231
- }
232
-
233
- $msg = sprintf(__('Gravity PDF directory structure has been changed. %sMigrate Now%s %sUnsure what this means?%s', 'pdfextended'), '<a href="'. wp_nonce_url(PDF_SETTINGS_URL, 'gfpdfe_migrate') . '" class="button">', '</a>', '<a href="https://developer.gravitypdf.com/news/migrating-template-directory-means/">', '</a>' );
234
-
235
- self::notice($msg);
236
-
237
- }
238
-
239
- public static function gf_pdf_migration_success()
240
- {
241
- global $gfpdfe_data;
242
- $prefix = ($gfpdfe_data->automated === true && !rgpost('upgrade')) ? sprintf(__('%sGravity PDF Automated Template Migration:%s', 'pdfextended'), '<strong>', '</strong><br>') : '';
243
-
244
- $msg = $prefix . sprintf( __('Your PDF template folder structure was successfully migrated to %s. %sUnsure what this means?%s', 'pdfextended'), str_replace(ABSPATH, '', $gfpdfe_data->upload_dir), '<br><a href="https://developer.gravitypdf.com/news/migrating-template-directory-means/">', '</a>');
245
-
246
- self::notice($msg);
247
-
248
- }
249
-
250
- public static function gf_pdf_network_deploy_success()
251
- {
252
- global $gfpdfe_data;
253
-
254
- if($gfpdfe_data->automated === true && !rgpost('upgrade') && !rgpost('font-initialise'))
255
- {
256
- $msg = __('Gravity PDF Auto Initialisation Complete across the entire network.', 'pdfextended');
257
- }
258
- else
259
- {
260
- $msg = __('Gravity PDF Initialisation Complete across the entire network.', 'pdfextended');
261
- }
262
-
263
- if($gfpdfe_data->fresh_install === true)
264
- {
265
- $msg .= ' ' . sprintf( __('%sLearn how to configuring the plugin%s.', 'pdfextended'), '<a href="'. PDF_SETTINGS_URL .'">', '</a>');
266
- }
267
- self::notice($msg);
268
- }
269
-
270
- public static function gf_pdf_auto_deploy_success()
271
- {
272
- global $gfpdfe_data;
273
- $msg = __('Gravity PDF Auto Initialisation Complete.', 'pdfextended');
274
-
275
- if($gfpdfe_data->fresh_install === true)
276
- {
277
- $msg .= ' ' . sprintf( __('%sLearn how to configuring the plugin%s.', 'pdfextended'), '<a href="'. PDF_SETTINGS_URL .'">', '</a>');
278
- }
279
- self::notice($msg);
280
- }
281
-
282
- public static function gf_pdf_merge_network_failure()
283
- {
284
- global $gfpdfe_data;
285
-
286
- $prefix = self::autoprefix();
287
- $errors = (array) $gfpdfe_data->network_error;
288
-
289
- if(sizeof($errors) > 0)
290
- {
291
- $msg = $prefix . __('There was a problem merging the PDF templates folder on the following sites;', 'pdfextended');
292
- $msg .= '<ul>';
293
-
294
- $base_site_url = site_url();
295
- foreach($errors as $site)
296
- {
297
- switch_to_blog( (int) $site['blog_id'] );
298
- $url = str_replace($base_site_url, site_url(), PDF_SETTINGS_URL );
299
- $msg .= "<li><a href='$url'>{$site['domain']}{$site['path']}</a></li>";
300
- restore_current_blog();
301
- }
302
- $msg .= '</ul>';
303
-
304
- $msg .= __('Follow the site links above and try run the PDF template merging function again, or reinitialise the software.', 'pdfextended');
305
- }
306
- else
307
- {
308
- $msg = $prefix . __('An unknown error occured while merging the PDF template folders. Please try again.', 'pdfextended');
309
- }
310
-
311
- self::error($msg);
312
- }
313
-
314
- public static function gf_pdf_auto_deploy_network_failure()
315
- {
316
- global $gfpdfe_data;
317
-
318
- $prefix = self::autoprefix();
319
- $errors = (array) $gfpdfe_data->network_error;
320
-
321
- if(sizeof($errors) > 0)
322
- {
323
- $msg = $prefix . __('There was a network initialisation issue on the following sites;', 'pdfextended');
324
- $msg .= '<ul>';
325
-
326
- $base_site_url = site_url();
327
- foreach($errors as $site)
328
- {
329
- switch_to_blog( (int) $site['blog_id'] );
330
- $url = str_replace($base_site_url, site_url(), PDF_SETTINGS_URL );
331
- $msg .= "<li><a href='$url'>{$site['domain']}{$site['path']}</a></li>";
332
- restore_current_blog();
333
- }
334
- $msg .= '</ul>';
335
-
336
- $msg .= __('Please try manually initialise the software', 'pdfextended');
337
- }
338
- else
339
- {
340
- $msg = $prefix . __('An unknown network initialisation error occured. Please try initialise again.', 'pdfextended');
341
- }
342
-
343
- self::error($msg);
344
- }
345
-
346
- public static function gf_pdf_deploy_success() {
347
- $msg = __('You\'ve successfully initialised Gravity PDF.', 'pdfextended');
348
-
349
- self::notice($msg);
350
- }
351
-
352
- public static function display_compatibility_error()
353
- {
354
- $message = sprintf(__("Gravity Forms " . GF_PDF_EXTENDED_SUPPORTED_VERSION . " is required to use this plugin. Activate it now or %spurchase it today!%s", 'pdfextended'), "<a href='https://www.e-junkie.com/ecom/gb.php?cl=54585&c=ib&aff=235154'>", "</a>");
355
- self::display_plugin_message($message, true);
356
- }
357
-
358
- public static function display_wp_compatibility_error()
359
- {
360
- $message = __("Wordpress " . GF_PDF_EXTENDED_WP_SUPPORTED_VERSION . " or higher is required to use this plugin.", 'pdfextended');
361
- self::display_plugin_message($message, true);
362
- }
363
-
364
- public static function display_pdf_compatibility_error()
365
- {
366
- $message = __("PHP " . GF_PDF_EXTENDED_PHP_SUPPORTED_VERSION . " or higher is required to use this plugin.", 'pdfextended');
367
- self::display_plugin_message($message, true);
368
- }
369
-
370
- public static function add_tooltips($tooltips)
371
- {
372
- $tooltips['pdf_overwrite'] = sprintf(__('If you reinitialise and enable this option %syou will overwrite%s the default and example template files in your active theme directory.', 'pdfextended'), '<strong>', '</strong>');
373
-
374
- return $tooltips;
375
- }
376
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
helper/pdf-common.php CHANGED
@@ -1,25 +1,8 @@
1
  <?php
2
 
3
- /**
4
- * Plugin: Gravity PDF
5
- * File: pdf-common.php
6
- *
7
- * This file holds a number of common functions used throughout the plugin
8
- */
9
-
10
  class PDF_Common
11
  {
12
-
13
- /**
14
- * Depreciated function
15
- */
16
- public static function setup_ids() { }
17
-
18
- /**
19
- * Takes over for setup_ids() but is now called much earlier in the process
20
- * @return Boolean whether settings the ids was successful or not
21
- */
22
- public static function get_ids()
23
  {
24
  global $form_id, $lead_id, $lead_ids;
25
 
@@ -31,10 +14,31 @@ class PDF_Common
31
  */
32
  if(empty($form_id) || empty($lead_ids))
33
  {
34
- return false;
35
  }
36
- return true;
37
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
 
39
  /*
40
  * We will use the output buffer to get the HTML template
@@ -58,6 +62,30 @@ class PDF_Common
58
  public static function get_pdf_filename($form_id, $lead_id)
59
  {
60
  return "form-$form_id-entry-$lead_id.pdf";
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61
  }
62
 
63
  /*
@@ -75,11 +103,11 @@ class PDF_Common
75
  }
76
 
77
  /*
78
- * Limit the size of the filename to 120 characters
79
  */
80
- if(strlen($pdf_name) > 120)
81
  {
82
- $pdf_name = substr($pdf_name, 0, 120);
83
  }
84
 
85
  /*
@@ -94,30 +122,21 @@ class PDF_Common
94
  /*
95
  * Remove any invalid (mostly Windows) characters from filename
96
  */
97
- $pdf_name = self::remove_invalid_characters($pdf_name);
 
 
 
 
 
 
 
 
 
 
98
  $pdf_name = $pdf_name . '.pdf';
99
 
100
  return $pdf_name;
101
  }
102
-
103
- public static function remove_invalid_characters($name)
104
- {
105
- /*
106
- * Remove any invalid (mostly Windows) characters from filename
107
- */
108
- $name = str_replace('/', '-', $name);
109
- $name = str_replace('\\', '-', $name);
110
- $name = str_replace('"', '-', $name);
111
- $name = str_replace('*', '-', $name);
112
- $name = str_replace('?', '-', $name);
113
- $name = str_replace('|', '-', $name);
114
- $name = str_replace(':', '-', $name);
115
- $name = str_replace('<', '-', $name);
116
- $name = str_replace('>', '-', $name);
117
- $name = str_replace('.', '_', $name);
118
-
119
- return $name;
120
- }
121
 
122
  /*
123
  * Replace all the merge tag fields in the string
@@ -125,21 +144,12 @@ class PDF_Common
125
  */
126
  public static function do_mergetags($string, $form_id, $lead_id)
127
  {
128
- /*
129
- * Unconvert { and } symbols from HTML entities
130
- */
131
- $string = str_replace('&#123;', '{', $string);
132
- $string = str_replace('&#125;', '}', $string);
133
-
134
  /* strip {all_fields} merge tag from $string */
135
  $string = str_replace('{all_fields}', '', $string);
136
-
137
- /*
138
- * Get form and lead data
139
- */
140
- $form = RGFormsModel::get_form_meta($form_id);
141
- $lead = RGFormsModel::get_lead($lead_id);
142
-
143
  return trim(GFCommon::replace_variables($string, $form, $lead, false, false, false));
144
  }
145
 
@@ -157,6 +167,37 @@ class PDF_Common
157
  }
158
  }
159
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
160
  /*
161
  * New to 3.0.2 we will use WP_Filesystem API to manipulate files instead of using in-built PHP functions
162
  * $post Array the post data to include in the request_filesystem_credntials API
@@ -178,96 +219,12 @@ class PDF_Common
178
  * Check if the credentials are no good and display an error
179
  */
180
  if ( ! WP_Filesystem($creds) ) {
181
- request_filesystem_credentials($url, '', true, false, $post);
182
  return false;
183
  }
184
 
185
  return true;
186
 
187
  }
188
-
189
- /*
190
- * Check if we are on the PDF settings page
191
- */
192
- public static function is_settings()
193
- {
194
- if(isset($_GET['page']) && isset($_GET['subview']) && $_GET['page'] === 'gf_settings' && strtolower($_GET['subview']) === 'pdf')
195
- {
196
- return true;
197
- }
198
- return false;
199
- }
200
-
201
- public static function post($name)
202
- {
203
- if(isset($_POST[$name]))
204
- return $_POST[$name];
205
-
206
- return '';
207
- }
208
 
209
-
210
- public static function get($name)
211
- {
212
- if(isset($_GET[$name]))
213
- return $_GET[$name];
214
-
215
- return '';
216
- }
217
-
218
- /**
219
- * Gets the site name for use as a directory name
220
- * @return String Returns the current 'safe' directory site name
221
- */
222
- public static function get_site_name()
223
- {
224
- $name = (is_ssl()) ? str_replace('https://', '', site_url()) : str_replace('http://', '', site_url());
225
- return self::remove_invalid_characters($name);
226
- }
227
-
228
- /**
229
- * Modified version of get_upload_dir() which just focuses on the base directory
230
- * no matter if single or multisite installation
231
- * We also only needed the basedir and baseurl so stripped out all the extras
232
- * @return Array Base dir and url for the upload directory
233
- */
234
- public static function get_upload_dir()
235
- {
236
- $siteurl = get_option( 'siteurl' );
237
- $upload_path = trim( get_option( 'upload_path' ) );
238
-
239
- if ( empty( $upload_path ) || 'wp-content/uploads' == $upload_path ) {
240
- $dir = WP_CONTENT_DIR . '/uploads';
241
- } elseif ( 0 !== strpos( $upload_path, ABSPATH ) ) {
242
- // $dir is absolute, $upload_path is (maybe) relative to ABSPATH
243
- $dir = path_join( ABSPATH, $upload_path );
244
- } else {
245
- $dir = $upload_path;
246
- }
247
-
248
- if ( !$url = get_option( 'upload_url_path' ) ) {
249
- if ( empty($upload_path) || ( 'wp-content/uploads' == $upload_path ) || ( $upload_path == $dir ) )
250
- $url = WP_CONTENT_URL . '/uploads';
251
- else
252
- $url = trailingslashit( $siteurl ) . $upload_path;
253
- }
254
-
255
- /*
256
- * Honor the value of UPLOADS. This happens as long as ms-files rewriting is disabled.
257
- * We also sometimes obey UPLOADS when rewriting is enabled -- see the next block.
258
- */
259
- if ( defined( 'UPLOADS' ) && ! ( is_multisite() && get_site_option( 'ms_files_rewriting' ) ) ) {
260
- $dir = ABSPATH . UPLOADS;
261
- $url = trailingslashit( $siteurl ) . UPLOADS;
262
- }
263
-
264
- $basedir = $dir;
265
- $baseurl = $url;
266
-
267
- return array(
268
- 'basedir' => $basedir,
269
- 'baseurl' => $baseurl,
270
- );
271
- }
272
  }
273
-
1
  <?php
2
 
 
 
 
 
 
 
 
3
  class PDF_Common
4
  {
5
+ public static function setup_ids()
 
 
 
 
 
 
 
 
 
 
6
  {
7
  global $form_id, $lead_id, $lead_ids;
8
 
14
  */
15
  if(empty($form_id) || empty($lead_ids))
16
  {
17
+ return;
18
  }
19
+ }
20
+
21
+ /*
22
+ * Sniff the $_SERVER array for the real user IP address
23
+ * Sometimes users are behind proxies, or different servers will set different keys
24
+ * so we will look at the most common keys
25
+ */
26
+ public static function getRealIpAddr()
27
+ {
28
+ if (!empty($_SERVER['HTTP_CLIENT_IP'])) //check ip from share internet
29
+ {
30
+ $ip = $_SERVER['HTTP_CLIENT_IP'];
31
+ }
32
+ else if (!empty($_SERVER['HTTP_X_FORWARDED_FOR'])) //to check ip is pass from proxy
33
+ {
34
+ $ip = $_SERVER['HTTP_X_FORWARDED_FOR'];
35
+ }
36
+ else
37
+ {
38
+ $ip = $_SERVER['REMOTE_ADDR'];
39
+ }
40
+ return $ip;
41
+ }
42
 
43
  /*
44
  * We will use the output buffer to get the HTML template
62
  public static function get_pdf_filename($form_id, $lead_id)
63
  {
64
  return "form-$form_id-entry-$lead_id.pdf";
65
+ }
66
+
67
+ /*
68
+ * Check if mPDF folder exists.
69
+ * If so, unzip and delete
70
+ * Helps reduce the package file size
71
+ */
72
+ public static function unpack_mPDF()
73
+ {
74
+ $file = PDF_PLUGIN_DIR .'mPDF.zip';
75
+ $path = pathinfo(realpath($file), PATHINFO_DIRNAME);
76
+
77
+ if(file_exists($file))
78
+ {
79
+ /* unzip folder and delete */
80
+ $zip = new ZipArchive;
81
+ $res = $zip->open($file);
82
+
83
+ if ($res === TRUE) {
84
+ $zip->extractTo($path);
85
+ $zip->close();
86
+ unlink($file);
87
+ }
88
+ }
89
  }
90
 
91
  /*
103
  }
104
 
105
  /*
106
+ * Limit the size of the filename to 100 characters
107
  */
108
+ if(strlen($pdf_name) > 150)
109
  {
110
+ $pdf_name = substr($pdf_name, 0, 150);
111
  }
112
 
113
  /*
122
  /*
123
  * Remove any invalid (mostly Windows) characters from filename
124
  */
125
+ $pdf_name = str_replace('/', '-', $pdf_name);
126
+ $pdf_name = str_replace('\\', '-', $pdf_name);
127
+ $pdf_name = str_replace('"', '-', $pdf_name);
128
+ $pdf_name = str_replace('*', '-', $pdf_name);
129
+ $pdf_name = str_replace('?', '-', $pdf_name);
130
+ $pdf_name = str_replace('|', '-', $pdf_name);
131
+ $pdf_name = str_replace(':', '-', $pdf_name);
132
+ $pdf_name = str_replace('<', '-', $pdf_name);
133
+ $pdf_name = str_replace('>', '-', $pdf_name);
134
+ $pdf_name = str_replace('.', '_', $pdf_name);
135
+
136
  $pdf_name = $pdf_name . '.pdf';
137
 
138
  return $pdf_name;
139
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
140
 
141
  /*
142
  * Replace all the merge tag fields in the string
144
  */
145
  public static function do_mergetags($string, $form_id, $lead_id)
146
  {
147
+ $form = RGFormsModel::get_form_meta($form_id);
148
+ $lead = RGFormsModel::get_lead($lead_id);
149
+
 
 
 
150
  /* strip {all_fields} merge tag from $string */
151
  $string = str_replace('{all_fields}', '', $string);
152
+
 
 
 
 
 
 
153
  return trim(GFCommon::replace_variables($string, $form, $lead, false, false, false));
154
  }
155
 
167
  }
168
  }
169
 
170
+ public static function display_compatibility_error()
171
+ {
172
+ $message = sprintf(__("Gravity Forms " . GF_PDF_EXTENDED_SUPPORTED_VERSION . " is required to use this plugin. Activate it now or %spurchase it today!%s", 'pdfextended'), "<a href='https://www.e-junkie.com/ecom/gb.php?cl=54585&c=ib&aff=235154'>", "</a>");
173
+ PDF_Common::display_plugin_message($message, true);
174
+ }
175
+
176
+ public static function display_wp_compatibility_error()
177
+ {
178
+ $message = __("Wordpress " . GF_PDF_EXTENDED_WP_SUPPORTED_VERSION . " or higher is required to use this plugin.", 'pdfextended');
179
+ PDF_Common::display_plugin_message($message, true);
180
+ }
181
+
182
+ public static function display_documentation_details()
183
+ {
184
+ $message = sprintf(__("Please review the %sGravity Forms PDF Extended documentation%s for comprehensive installation instructions. %sUpgraded from v2.x.x? Review our migration guide%s.%s", 'pdfextended'), "<a href='http://gravityformspdfextended.com/documentation-v3-x-x/installation-and-configuration/'>", "</a>", '<a style="color: red;" href="http://gravityformspdfextended.com/documentation-v3-x-x/v3-0-0-migration-guide/">', '</a>', '</span>');
185
+ PDF_Common::display_plugin_message($message);
186
+ }
187
+
188
+ public static function display_pdf_compatibility_error()
189
+ {
190
+ $message = __("PHP " . GF_PDF_EXTENDED_PHP_SUPPORTED_VERSION . " or higher is required to use this plugin.", 'pdfextended');
191
+ PDF_Common::display_plugin_message($message, true);
192
+ }
193
+
194
+ public static function display_plugin_message($message, $is_error = false){
195
+
196
+ $style = $is_error ? 'style="background-color: #ffebe8;"' : "";
197
+
198
+ echo '</tr><tr class="plugin-update-tr"><td colspan="5" class="plugin-update"><div class="update-message" ' . $style . '>' . $message . '</div></td>';
199
+ }
200
+
201
  /*
202
  * New to 3.0.2 we will use WP_Filesystem API to manipulate files instead of using in-built PHP functions
203
  * $post Array the post data to include in the request_filesystem_credntials API
219
  * Check if the credentials are no good and display an error
220
  */
221
  if ( ! WP_Filesystem($creds) ) {
222
+ request_filesystem_credentials($url, '', true, false, $post_credentials);
223
  return false;
224
  }
225
 
226
  return true;
227
 
228
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
229
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
230
  }
 
helper/pdf-configuration-indexer.php CHANGED
@@ -2,7 +2,7 @@
2
 
3
  /**
4
  * Class: PDFGenerator
5
- * Plugin: Gravity PDF
6
  * Usage: assign options from user configuration file, automatically attach PDFs to specified Gravity Forms, and view PDF from admin area.
7
  */
8
 
@@ -39,8 +39,7 @@
39
 
40
  public function __construct()
41
  {
42
- global $gfpdfe_data;
43
-
44
  /*
45
  * Do configuration pre-processing
46
  */
@@ -48,8 +47,8 @@
48
  /*
49
  * Check if user configuration file exists
50
  * If not disable $configuration and $index.
51
- */
52
- if(!file_exists( $gfpdfe_data->template_site_location . 'configuration.php') )
53
  {
54
  $this->disabled = true;
55
  return;
@@ -59,7 +58,7 @@
59
  /*
60
  * Include the configuration file and set up the configuration variable.
61
  */
62
- require_once( $gfpdfe_data->template_site_location . 'configuration.php' );
63
  /*
64
  * $gf_pdf_config included from configuration.php file
65
  */
@@ -93,7 +92,7 @@
93
  {
94
  $config = array_replace_recursive($gf_pdf_default_configuration, $config);
95
  }
96
-
97
  return $config;
98
  }
99
 
@@ -157,39 +156,36 @@
157
  {
158
  return (isset($this->index[$id])) ? $this->index[$id] : false;
159
  }
160
-
161
- /**
162
- * Pull all config nodes for a single form
163
- * @param Integer $form_id The form ID a user is looking for
164
- * @return Array The configuration nodes for a particular form
165
- */
166
- public function get_form_configuration($form_id)
167
  {
168
  if(!isset($this->index[$form_id]))
169
  {
170
  return false;
171
- }
172
-
173
- $indexes = $this->index[$form_id];
174
-
175
- $config_nodes = array();
176
-
177
- foreach($indexes as $index)
178
- {
179
- $config_nodes[$index] = $this->configuration[$index];
180
  }
181
 
182
- return $config_nodes;
183
- }
184
-
185
- /**
186
- * Depreciated
187
- * See get_default_config_data()
188
- */
189
- public function get_config_data($form_id)
190
- {
191
- return $this->get_default_config_data($form_id);
192
- }
 
 
 
 
 
 
 
193
 
194
  /**
195
  * Replaced get_config_data in default tempaltes to only return the default-only configuration options
@@ -218,7 +214,7 @@
218
  * @param integer $form_id ID of the form
219
  * @return array configuration node
220
  */
221
- public function pull_config_data($form_id)
222
  {
223
  if(!isset($this->index[$form_id]))
224
  {
@@ -243,89 +239,12 @@
243
  */
244
  return $this->configuration[$index[0]];
245
  }
246
-
247
- /**
248
- * Gets the aid (a temporary ID assigned to config node clusters on a single form ) from the $config ID
249
- * @param Integer $config_id The $this->configuration ID of the node
250
- * @param Integer $form_id The Gravity Form ID
251
- * @return Integer The configuration nodes aid (a temporary ID assigned to config node clusters on a single form )
252
- */
253
- public function get_aid($config_id, $form_id)
254
- {
255
- $index = self::index_lookup($config_id, $form_id);
256
-
257
- if($index !== false)
258
- {
259
- return $index + 1;
260
- }
261
- }
262
-
263
- /**
264
- * Does a reverse look up on the $this->index using the $this->configuration ID
265
- * @param Integer $config_id The $this->configuration ID of the node
266
- * @return Integer The index ID
267
- * @return Array If $form_id isn't passed an array of index IDs will always be returns
268
- */
269
- public function index_lookup($config_id, $form_id = false)
270
- {
271
- $config = $this->configuration[$config_id];
272
-
273
- /*
274
- * Check the configuration node actually exists
275
- */
276
- if(!is_array($config))
277
- {
278
- return false;
279
- }
280
-
281
- /* get the form ID */
282
- $config_form_id = (!is_array($config['form_id'])) ? array($config['form_id']) : $config['form_id'];
283
-
284
-
285
- /*
286
- * If $form_id is set and inside the config node array we will do a search on it
287
- */
288
- if($form_id && in_array($form_id, $config_form_id) && isset($this->index[$form_id]))
289
- {
290
- /* return the array key, or false */
291
- return array_search($config_id, $this->index[$form_id]);
292
- }
293
-
294
- /*
295
- * Loop through the form IDs and return all indexes associated with it
296
- */
297
- $index_keys = array();
298
- foreach($config_form_id as $f_id)
299
- {
300
- if(isset($this->index[$f_id]))
301
- {
302
- /*
303
- * Search for the config ID in each form's index
304
- */
305
- $index_search = array_search($config_id, $this->index[$f_id]);
306
- if($index_search !== false)
307
- {
308
- $index_keys[] = $index_search;
309
- }
310
- }
311
- }
312
-
313
- /*
314
- * We have results so return them
315
- */
316
- if(sizeof($index_keys) > 0)
317
- {
318
- return $index_keys;
319
- }
320
-
321
- return false;
322
- }
323
 
324
  /*
325
  * Search for the template from a given form id
326
  * Return: the first template found for the form
327
  */
328
- public function get_template($form_id)
329
  {
330
  global $gf_pdf_default_configuration;
331
 
@@ -340,7 +259,24 @@
340
  }
341
 
342
  if(isset($this->index[$form_id]))
343
- {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
344
  /*
345
  * Check if PDF template is avaliable
346
  */
@@ -368,7 +304,8 @@
368
  }
369
 
370
  if( (strlen($template) == 0) && (GFPDF_SET_DEFAULT_TEMPLATE === true))
371
- {
 
372
  /*
373
  * Check if a default configuration is defined
374
  */
@@ -381,11 +318,11 @@
381
 
382
  }
383
 
384
- public function get_pdf_name($id, $form_id = false, $lead_id = false)
385
- {
386
- if(isset($this->configuration[$id]['filename']))
387
  {
388
- return PDF_Common::validate_pdf_name($this->configuration[$id]['filename'], $form_id, $lead_id);
389
  }
390
  else
391
  {
2
 
3
  /**
4
  * Class: PDFGenerator
5
+ * Plugin: Gravity Forms PDF Extended
6
  * Usage: assign options from user configuration file, automatically attach PDFs to specified Gravity Forms, and view PDF from admin area.
7
  */
8
 
39
 
40
  public function __construct()
41
  {
42
+
 
43
  /*
44
  * Do configuration pre-processing
45
  */
47
  /*
48
  * Check if user configuration file exists
49
  * If not disable $configuration and $index.
50
+ */
51
+ if(!file_exists(PDF_TEMPLATE_LOCATION.'configuration.php'))
52
  {
53
  $this->disabled = true;
54
  return;
58
  /*
59
  * Include the configuration file and set up the configuration variable.
60
  */
61
+ require(PDF_TEMPLATE_LOCATION.'configuration.php');
62
  /*
63
  * $gf_pdf_config included from configuration.php file
64
  */
92
  {
93
  $config = array_replace_recursive($gf_pdf_default_configuration, $config);
94
  }
95
+
96
  return $config;
97
  }
98
 
156
  {
157
  return (isset($this->index[$id])) ? $this->index[$id] : false;
158
  }
159
+
160
+ /*
161
+ * Searches the index for the configuration key and once found return the real configuration
162
+ * Return: form PDF configuration
163
+ */
164
+ public function get_config_data($form_id, $return_all = false)
 
165
  {
166
  if(!isset($this->index[$form_id]))
167
  {
168
  return false;
 
 
 
 
 
 
 
 
 
169
  }
170
 
171
+ $index = $this->index[$form_id];
172
+ /*
173
+ * Because we now allow multiple PDF templates per form we need a way to get the correct PDF settings
174
+ * To do this we use the $_GET variable 'aid'
175
+ * If 'aid' is not found we will pull the first entry
176
+ * Note: 'aid' has been incremented by 1 so 'aid' === 0 is never found
177
+ */
178
+ if(isset($_GET['aid']) && (int) $_GET['aid'] > 0)
179
+ {
180
+ $aid = (int) $_GET['aid'] - 1;
181
+ return $this->configuration[$index[$aid]];
182
+ }
183
+
184
+ /*
185
+ * No valid configuration file found so pull the default
186
+ */
187
+ return $this->configuration[$index[0]];
188
+ }
189
 
190
  /**
191
  * Replaced get_config_data in default tempaltes to only return the default-only configuration options
214
  * @param integer $form_id ID of the form
215
  * @return array configuration node
216
  */
217
+ private function pull_config_data($form_id)
218
  {
219
  if(!isset($this->index[$form_id]))
220
  {
239
  */
240
  return $this->configuration[$index[0]];
241
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
242
 
243
  /*
244
  * Search for the template from a given form id
245
  * Return: the first template found for the form
246
  */
247
+ public function get_template($form_id, $return_all = false)
248
  {
249
  global $gf_pdf_default_configuration;
250
 
259
  }
260
 
261
  if(isset($this->index[$form_id]))
262
+
263
+ { /*
264
+ * Show all PDF nodes
265
+ */
266
+ if($return_all === true && sizeof($this->index[$form_id]) > 1)
267
+ {
268
+
269
+ $templates = array();
270
+ foreach($this->index[$form_id] as $id)
271
+ {
272
+ $templates[$id] = array(
273
+ 'template' => (isset($this->configuration[$id]['template'])) ? $this->configuration[$id]['template'] : $default_template,
274
+ 'filename' => (isset($this->configuration[$id]['filename'])) ? $this->configuration[$id]['filename'] : PDF_Common::get_pdf_filename($form_id, '{entry_id}')
275
+ );
276
+ }
277
+ return $templates;
278
+ }
279
+
280
  /*
281
  * Check if PDF template is avaliable
282
  */
304
  }
305
 
306
  if( (strlen($template) == 0) && (GFPDF_SET_DEFAULT_TEMPLATE === true))
307
+ {
308
+
309
  /*
310
  * Check if a default configuration is defined
311
  */
318
 
319
  }
320
 
321
+ public function get_pdf_name($index, $form_id = false, $lead_id = false)
322
+ {
323
+ if(isset($this->configuration[$index]['filename']))
324
  {
325
+ return PDF_Common::validate_pdf_name($this->configuration[$index]['filename'], $form_id, $lead_id);
326
  }
327
  else
328
  {
helper/pdf-entry-detail.php CHANGED
@@ -2,21 +2,11 @@
2
  if(!class_exists('GFPDFEntryDetail'))
3
  {
4
 
5
- /*
6
- * Include Gravity Forms Currency class (it not already included)
7
- */
8
- if ( false === class_exists( 'RGCurrency' ) ) {
9
- require_once( GFCommon::get_base_path() . '/currency.php' );
10
- }
11
-
12
- add_filter('gfpdf_field_content', array('GFPDFEntryDetail', 'encode_tags'), 10, 2); /* encode shortcodes in user's response so they aren't converted later by do_shortcode */
13
  class GFPDFEntryDetail {
14
 
15
- /* holds the form fields, stored by field ID */
16
- static $fields;
17
-
18
  /* NEED THIS FUNCTION - BLD */
19
- public static function lead_detail_grid($form, $lead, $allow_display_empty_fields=false, $show_html=false, $show_page_name=false, $return=false, $show_section_breaks=false) {
20
  $form_id = $form['id'];
21
  $results = array();
22
 
@@ -41,7 +31,6 @@ if(!class_exists('GFPDFEntryDetail'))
41
  $page_number = 0;
42
  foreach($form['fields'] as $field) {
43
 
44
-
45
  /*
46
  * Check if this field has been excluded from the list
47
  */
@@ -51,14 +40,6 @@ if(!class_exists('GFPDFEntryDetail'))
51
  continue;
52
  }
53
 
54
- /*
55
- * Skip over hidden fields
56
- */
57
- if(GFFormsModel::is_field_hidden( $form, $field, array(), $lead ))
58
- {
59
- continue;
60
- }
61
-
62
  /*
63
  * Check if we are to show the page names
64
  */
@@ -122,10 +103,9 @@ if(!class_exists('GFPDFEntryDetail'))
122
  $even = ($count%2) ? ' odd' : ' even';
123
 
124
  $display_value = $field['content'];
125
- $value = '';
126
 
127
  $content = '<div id="field-'. $field['id'] .'" class="entry-view-html-value' . $last_row . $even . '"><div class="value">' . $display_value . '</div></div>';
128
- $content = apply_filters('gfpdf_field_content', $content, $field, $value, $lead['id'], $form['id']);
129
 
130
  if($return === true)
131
  {
@@ -140,15 +120,8 @@ if(!class_exists('GFPDFEntryDetail'))
140
  case 'signature':
141
  $value = RGFormsModel::get_lead_field_value($lead, $field);
142
  $public_folder = RGFormsModel::get_upload_url_root() . 'signatures/';
143
- $server_folder = RGFormsModel::get_upload_root() . 'signatures/';
144
-
145
- $image_size = getimagesize($server_folder.$value);
146
- $width = $image_size[0] / 4;
147
- $height = $image_size[1] / 4;
148
-
149
- $display_value = '<img src="'. $server_folder.$value .'" alt="Signature" width=" '. $width .'" height="'. $height .'" />';
150
-
151
-
152
  $is_last = $count >= $field_count ? true : false;
153
  $last_row = $is_last ? ' lastrow' : '';
154
 
@@ -203,7 +176,7 @@ if(!class_exists('GFPDFEntryDetail'))
203
 
204
  $content = '<div id="field-'. $field['id'] .'" class="entry-view-field-value' . $last_row . $even . '"><div class="strong">' . esc_html(GFCommon::get_label($field)) . '</div> <div class="value">' . $display_value . '</div></div>';
205
 
206
- $content = apply_filters('gfpdf_field_content', $content, $field, $value, $lead['id'], $form['id']);
207
 
208
  if($return === true)
209
  {
@@ -340,23 +313,6 @@ if(!class_exists('GFPDFEntryDetail'))
340
  }
341
  }
342
 
343
- /*
344
- * Public method for outputting likert (survey addon field)
345
- */
346
- public static function get_likert($form, $lead, $field_id)
347
- {
348
- $fields = self::$fields;
349
- $field = $fields[$field_id];
350
- $value = RGFormsModel::get_lead_field_value($lead, $field);
351
-
352
- $display_value = apply_filters('gform_entry_field_value', self::pdf_get_lead_field_display($field, $value, ''), $field, $lead, $form);
353
- $content = $display_value;
354
-
355
- $results = apply_filters('gfpdf_field_content', $content, $field, $value, $lead['id'], $form['id']);
356
-
357
- return $results;
358
- }
359
-
360
  public static function format_date($date, $usa = false)
361
  {
362
  $timestamp = strtotime($date);
@@ -375,23 +331,14 @@ if(!class_exists('GFPDFEntryDetail'))
375
 
376
  foreach($form['fields'] as $field) {
377
 
378
-
379
- /*
380
- * Add field descriptions to the $form_data array
381
- */
382
- if(isset($field['description']))
383
- {
384
- $form_array['field_descriptions'][$field['id']] = $field['description'];
385
- }
386
-
387
- switch(RGFormsModel::get_input_type($field)) {
388
  case 'section' :
389
  case 'html':
390
  $form_array = self::get_html($field, $form_array);
391
  break;
392
 
393
  case 'captcha':
394
- case 'password':
395
  case 'page':
396
  //ignore captcha, password and page
397
  break;
@@ -412,15 +359,10 @@ if(!class_exists('GFPDFEntryDetail'))
412
  case 'select':
413
  case 'multiselect':
414
  case 'radio':
415
-
416
  if($field['type'] == 'quiz')
417
  {
418
  $form_array = self::get_quiz_radios($form, $lead, $field, $form_array);
419
  }
420
- elseif($field['type'] == 'poll' || $field['type'] == 'survey')
421
- {
422
- $form_array = self::get_poll_radios($form, $lead, $field, $form_array);
423
- }
424
  else
425
  {
426
  /* store values in regular [field] array */
@@ -436,13 +378,7 @@ if(!class_exists('GFPDFEntryDetail'))
436
  $form_array['survey']['rank'][$field['id']] = self::get_the_rank($form, $lead, $field, $form_array);
437
  break;
438
 
439
- case 'rating':
440
- $form_array['survey']['rating'][$field['id']] = self::get_the_rank($form, $lead, $field, $form_array);
441
- break;
442
-
443
  default:
444
-
445
-
446
  //ignore product fields as they will be grouped together at the end of the grid
447
  if(GFCommon::is_product_field($field['type'])){
448
  $has_product_fields = true;
@@ -471,7 +407,7 @@ if(!class_exists('GFPDFEntryDetail'))
471
  {
472
  if(trim($choice['value']) == trim($results))
473
  {
474
- $return = array('text' => $choice['text'], 'isCorrect' => $choice['gquizIsCorrect']);
475
  break;
476
  }
477
  }
@@ -482,53 +418,12 @@ if(!class_exists('GFPDFEntryDetail'))
482
  /* add ID incase want to use template on multiple duplicate forms with different field names */
483
  $form_array['field'][$field['id']] = $return;
484
 
485
- return $form_array;
486
-
487
- }
488
-
489
- private static function get_poll_radios($form, $lead, $field, $form_array)
490
- {
491
-
492
- $id = $field['id'];
493
- $results = $lead[$id];
494
- $return = array();
495
-
496
- $return = self::get_poll_data($results, $field['choices']);
497
-
498
- /* add data to field tag correctly */
499
- $form_array['field'][$field['id'].'.'.$field['label'].'_name'] = $return;
500
-
501
- /* add ID incase want to use template on multiple duplicate forms with different field names */
502
- $form_array['field'][$field['id']] = $return;
503
 
504
  return $form_array;
505
 
506
- }
507
-
508
- private static function get_poll_checkbox($field, $values)
509
- {
510
- foreach($values as $id => $item)
511
- {
512
- $values[$id] = self::get_poll_data($item, $field['choices']);
513
- }
514
- return $values;
515
- }
516
-
517
- private static function get_poll_data($lookup, $options)
518
- {
519
- $return = '';
520
-
521
- foreach($options as $choice)
522
- {
523
- if(trim($choice['value']) == trim($lookup))
524
- {
525
- $return = $choice['text'];
526
- break;
527
- }
528
- }
529
-
530
- return $return;
531
- }
532
 
533
  private static function get_the_rank($form, $lead, $field, $form_array)
534
  {
@@ -552,24 +447,20 @@ if(!class_exists('GFPDFEntryDetail'))
552
  }
553
 
554
  private static function get_the_likert($form, $lead, $field, $form_array)
555
- {
556
  $id = $field['id'];
557
- $multiple_rows = rgar($field, "gsurveyLikertEnableMultipleRows");
558
-
559
- if(!$multiple_rows)
560
- {
561
- $results = $lead[$id];
562
- }
563
-
564
  $likert = array();
565
 
566
  /* store the column names */
567
  foreach($field['choices'] as $col)
568
- {
569
  $likert['col'][$col['value']] = $col['text'];
570
  }
 
571
 
572
- if(is_array($field['inputs']) && sizeof($field['inputs']) > 0)
573
  {
574
  /* do our multi-row likert */
575
  foreach($field['inputs'] as $row)
@@ -591,7 +482,7 @@ if(!class_exists('GFPDFEntryDetail'))
591
  $output = ($comparison == $results) ? 'selected' : '';
592
 
593
  /* assign our results to the array */
594
- $likert['rows'][$row['label']][$text] = $output;
595
 
596
  }
597
  }
@@ -605,42 +496,17 @@ if(!class_exists('GFPDFEntryDetail'))
605
  /* do our comparison and update the output */
606
  $output = ($col_id == $results) ? 'selected' : '';
607
 
608
- $likert['row'][$text] = $output;
609
 
610
  }
611
  }
612
 
613
- /*
614
- * Check if scoring is enabled and calculate
615
- */
616
- if($field['gsurveyLikertEnableScoring'] && class_exists('GFSurvey'))
617
- {
618
- $survey = GFSurvey::get_instance();
619
- $likert['score'] = $survey->get_field_score($field, $lead);
620
- }
621
-
622
  return $likert;
623
 
624
  }
625
 
626
- private static function get_form_fields($form)
627
- {
628
- $fields = array();
629
- foreach($form['fields'] as $field)
630
- {
631
- $fields[$field['id']] = $field;
632
- }
633
-
634
- self::$fields = $fields;
635
- }
636
-
637
  private static function set_form_array_common($form, $lead, $form_id)
638
  {
639
- /*
640
- * Reorder the $form array as we can access the info by Field ID
641
- */
642
- self::get_form_fields($form);
643
-
644
  $form_array = array();
645
 
646
  /*
@@ -653,7 +519,6 @@ if(!class_exists('GFPDFEntryDetail'))
653
  * Set title and dates (both US and international)
654
  */
655
  $form_array['form_title'] = $form['title'];
656
- $form_array['form_description'] = $form['description'];
657
  $form_array['date_created'] = self::format_date($lead['date_created']);
658
  $form_array['date_created_usa'] = self::format_date($lead['date_created'], true);
659
 
@@ -684,29 +549,22 @@ if(!class_exists('GFPDFEntryDetail'))
684
  $form_array['misc']['user_agent'] = $lead['user_agent'];
685
  $form_array['misc']['status'] = $lead['status'];
686
 
687
-
688
-
689
  /*
690
  * Add quiz results
691
  */
692
- $form_array = self::get_quiz_results($form_array, $form, $lead);
693
- $form_array = self::get_survey_results($form_array, $form, $lead);
694
- $form_array = self::get_poll_results($form_array, $form, $lead);
695
 
696
  return $form_array;
697
  }
698
 
699
- /**
700
- * Sniff the form fields and determine if there are any of the $type avaluable
701
- * @param string $type the field type we are looking for
702
- * @param array $form the form array
703
- * @return boolean Whether there is a match or not
704
- */
705
- private static function check_for_fields($type, $form)
706
- {
707
  foreach($form['fields'] as $field)
708
  {
709
- if($field['type'] == $type)
710
  {
711
  return true;
712
  }
@@ -714,48 +572,18 @@ if(!class_exists('GFPDFEntryDetail'))
714
  return false;
715
  }
716
 
717
- private static function get_poll_results($form_array, $form, $lead)
718
  {
719
- if(self::check_for_fields('poll', $form) === false)
720
- {
721
- return $form_array;
722
- }
723
-
724
- $poll_results = self::get_addon_global_data($form, array());
725
-
726
- $form_fields = self::$fields;
727
-
728
- /*
729
- * Convert the array keys into their text counterparts
730
- * Loop through the global poll data
731
- */
732
- foreach($poll_results['field_data'] as $id => &$choices)
733
  {
734
- /* get the $field */
735
- $field = $form_fields[$id];
736
-
737
- /* add the field name to the ['misc'] key */
738
- $choices['misc']['label'] = $field['label'];
739
-
740
- /* loop through the field choices */
741
- foreach($field['choices'] as $choice)
742
- {
743
- $choices = self::replace_key($choices, $choice['value'], $choice['text']);
744
- }
745
  }
746
-
747
- $form_array['poll']['global'] = $poll_results;
748
 
749
  return $form_array;
750
  }
751
 
752
- private static function get_survey_results($form_array, $form, $lead)
753
  {
754
- if(self::check_for_fields('survey', $form) === false)
755
- {
756
- return $form_array;
757
- }
758
-
759
  /*
760
  * If there are any survey results
761
  * add them to the 'survey' key
@@ -763,71 +591,17 @@ if(!class_exists('GFPDFEntryDetail'))
763
  $fields = GFCommon::get_fields_by_type($form, array('survey'));
764
  $count_survey_fields = count($fields);
765
 
766
- if ($count_survey_fields > 0 && isset($lead['gsurvey_score']))
767
  {
768
  $form_array['survey']['score'] = $lead['gsurvey_score'];
769
  }
770
 
771
- $form_array['survey']['global'] = self::get_addon_global_data($form, array());
772
- $form_fields = self::$fields;
773
-
774
- /*
775
- * Convert the array keys into their text counterparts
776
- * Loop through the global survey data
777
- */
778
- foreach($form_array['survey']['global']['field_data'] as $id => &$choices)
779
- {
780
- /* get the $field */
781
- $field = $form_fields[$id];
782
-
783
- /*
784
- * Check if we have a multifield likert and replace the row key
785
- */
786
- if(isset($field['gsurveyLikertEnableMultipleRows']) && $field['gsurveyLikertEnableMultipleRows'] == 1)
787
- {
788
- foreach($field['gsurveyLikertRows'] as $row)
789
- {
790
- $choices = self::replace_key($choices, $row['value'], $row['text']);
791
- }
792
-
793
- foreach($choices as $multi_id => &$multi_choices)
794
- {
795
- foreach($field['choices'] as $choice)
796
- {
797
- $multi_choices = self::replace_key($multi_choices, $choice['value'], $choice['text']);
798
- }
799
- }
800
- }
801
-
802
- /* replace the standard row data */
803
- foreach($field['choices'] as $choice)
804
- {
805
- $choices = self::replace_key($choices, $choice['value'], $choice['text']);
806
- }
807
- }
808
-
809
  return $form_array;
810
 
811
  }
812
 
813
- private static function replace_key($array, $key, $text)
814
  {
815
- if($key != $text && isset($array[$key]))
816
- {
817
- /* replace the array key with the actual field name */
818
- $array[$text] = $array[$key];
819
- unset($array[$key]);
820
- }
821
- return $array;
822
- }
823
-
824
- private static function get_quiz_results($form_array, $form, $lead)
825
- {
826
-
827
- if(self::check_for_fields('quiz', $form) === false)
828
- {
829
- return $form_array;
830
- }
831
 
832
  /*
833
  * If there are any quiz results
@@ -838,9 +612,9 @@ if(!class_exists('GFPDFEntryDetail'))
838
 
839
  if ($count_quiz_fields > 0)
840
  {
841
- $form_array['quiz']['config']['grading'] = (isset($form['gravityformsquiz']['grading'])) ? $form['gravityformsquiz']['grading'] : '';
842
- $form_array['quiz']['config']['passPercent'] = (isset($form['gravityformsquiz']['passPercent'])) ? $form['gravityformsquiz']['passPercent'] : '';
843
- $form_array['quiz']['config']['grades'] = (isset($form['gravityformsquiz']['grades'])) ? $form['gravityformsquiz']['grades'] : '';
844
 
845
  $form_array['quiz']['results']['score'] = rgar($lead, 'gquiz_score');
846
  $form_array['quiz']['results']['percent'] = rgar($lead, 'gquiz_percent');
@@ -850,40 +624,7 @@ if(!class_exists('GFPDFEntryDetail'))
850
  /*
851
  * Get the overall results
852
  */
853
- $quiz_global = self::get_quiz_overalls($form);
854
-
855
- $form_fields = self::$fields;
856
- /*
857
- * Convert the array keys into their text counterparts
858
- * Loop through the global quiz data
859
- */
860
- foreach($quiz_global['field_data'] as $id => &$choices)
861
- {
862
- /* get the $field */
863
- $field = $form_fields[$id];
864
-
865
- /* replace ['totals'] key with ['misc'] key */
866
- $choices = self::replace_key($choices, 'totals', 'misc');
867
-
868
- /* add the field name to the ['misc'] key */
869
- $choices['misc']['label'] = $field['label'];
870
-
871
- /* loop through the field choices */
872
- foreach($field['choices'] as $choice)
873
- {
874
- $choices = self::replace_key($choices, $choice['value'], $choice['text']);
875
-
876
- /* check if this is the correct field */
877
- if($choice['gquizIsCorrect'] == 1)
878
- {
879
- $choices['misc']['correct_option_name'] = $choice['text'];
880
- }
881
-
882
- }
883
- }
884
-
885
- $form_array['quiz']['global'] = $quiz_global;
886
- //$form_array['quiz']['global'] = self::get_quiz_overalls($form);
887
 
888
  }
889
 
@@ -909,7 +650,7 @@ if(!class_exists('GFPDFEntryDetail'))
909
  'status' => 'active'
910
  );
911
 
912
- /* get the results */
913
  $data = $gf_results->get_results_data($form, $fields, $search);
914
 
915
  /* unset some array keys we don't need */
@@ -938,7 +679,7 @@ if(!class_exists('GFPDFEntryDetail'))
938
  }
939
 
940
  return array(__('Activate Gravity Forms Quiz Add On to see global quiz statistics for this form', 'pdfextended'));
941
- }
942
 
943
  private static function get_html($field, $form_array)
944
  {
@@ -953,34 +694,24 @@ if(!class_exists('GFPDFEntryDetail'))
953
  private static function get_signature($form, $lead, $field, $form_array)
954
  {
955
  $value = RGFormsModel::get_lead_field_value($lead, $field);
956
-
957
- $http_folder = RGFormsModel::get_upload_url_root(). 'signatures/';
958
- $server_folder = RGFormsModel::get_upload_root() . 'signatures/';
959
-
960
 
961
- if(file_exists($server_folder.$value) !== false && is_dir($server_folder.$value) !== true)
962
  {
963
- $image_size = getimagesize($server_folder.$value);
964
- $width = $image_size[0] / 4;
965
- $height = $image_size[1] / 4;
966
-
967
- $sig_html = '<img src="'. $server_folder.$value .'" alt="Signature" width=" '. $width .'" height="'. $height .'" />';
968
 
969
  $form_array['signature'][] = $sig_html;
970
  $form_array['signature_details'][] = array(
971
  'img' => $sig_html,
972
- 'path' => $server_folder.$value,
973
- 'url' => $http_folder.$value,
974
- 'width' => $width,
975
- 'height' => $height,
976
  );
977
 
978
  $form_array['signature_details_id'][$field['id']] = array(
979
  'img' => $sig_html,
980
- 'path' => $server_folder.$value,
981
- 'url' => $http_folder.$value,
982
- 'width' => $width,
983
- 'height' => $height,
984
  );
985
  }
986
 
@@ -1017,11 +748,12 @@ if(!class_exists('GFPDFEntryDetail'))
1017
  /*
1018
  * Check if there are any values in the list
1019
  */
1020
- if(!is_array($list) || sizeof($list) == 0)
1021
  {
1022
  return $list;
1023
  }
1024
 
 
1025
  /*
1026
  * Check if it's a multi column list
1027
  */
@@ -1037,7 +769,7 @@ if(!class_exists('GFPDFEntryDetail'))
1037
  return $list;
1038
  }
1039
 
1040
- private static function remove_empty_multi_col_list($list)
1041
  {
1042
  foreach($list as $id => $row)
1043
  {
@@ -1110,24 +842,22 @@ if(!class_exists('GFPDFEntryDetail'))
1110
 
1111
  private static function get_product_array($form, $lead, $has_product_fields, $form_array)
1112
  {
1113
- $currency_format = GFCommon::is_currency_decimal_dot() ? 'decimal_dot' : 'decimal_comma';
1114
 
1115
  if($has_product_fields) {
1116
  $products = GFCommon::get_product_fields($form, $lead, true);
1117
 
1118
  /* check that there are actual product fields */
1119
- if(sizeof($products['products']) > 0 )
1120
- {
1121
 
1122
  /*
1123
  * Set up our variables
1124
  */
 
1125
  $total = 0;
1126
  $subtotal = 0;
1127
 
1128
-
1129
- foreach($products['products'] as $id => $product) {
1130
-
1131
  $price = GFCommon::to_number($product['price']);
1132
 
1133
  /* add all options to total price */
@@ -1145,44 +875,26 @@ if(!class_exists('GFPDFEntryDetail'))
1145
  /*
1146
  * Check if we should include options
1147
  */
1148
- $options = isset($product['options']) ? $product['options'] : array();
1149
-
1150
- /*
1151
- * Add formated price for each product option
1152
- */
1153
- foreach($options as &$o)
1154
- {
1155
- if(is_numeric($o['price']))
1156
- {
1157
- $o['price_formatted'] = GFCommon::format_number($o['price'], 'currency');
1158
- }
1159
- }
1160
 
1161
  /*
1162
  * Store product in $form_array array
1163
  */
1164
- $form_array['products'][$id] = array(
1165
- 'name' => esc_html($product['name']),
1166
- 'price' => esc_html($product['price']),
1167
- 'price_unformatted' => GFCommon::clean_number($product['price'], $currency_format),
1168
- 'options' => $options,
1169
- 'quantity' => $product['quantity'],
1170
- 'subtotal' => $subtotal,
1171
- 'subtotal_formatted' => GFCommon::format_number($subtotal, 'currency'));
1172
  }
1173
 
1174
  /* Increment total */
1175
  $total += floatval($products['shipping']['price']);
1176
- $subtotal = $total - floatval($products['shipping']['price']);
1177
 
1178
  /* add totals to form data */
1179
  $form_array['products_totals'] = array(
1180
- 'subtotal' => $subtotal,
1181
- 'shipping' => $products['shipping']['price'],
1182
- 'total' => $total,
1183
- 'shipping_formatted' => GFCommon::format_number($products['shipping']['price'], 'currency'),
1184
- 'subtotal_formatted' => GFCommon::format_number($subtotal, 'currency'),
1185
- 'total_formatted' => GFCommon::format_number($total, 'currency'),
1186
  );
1187
  }
1188
  }
@@ -1200,11 +912,10 @@ if(!class_exists('GFPDFEntryDetail'))
1200
  if(is_array($value)){
1201
  $prefix = trim(rgget($field['id'] . '.2', $value));
1202
  $first = trim(rgget($field['id'] . '.3', $value));
1203
- $middle = trim(rgget($field['id'] . '.4', $value));
1204
  $last = trim(rgget($field['id'] . '.6', $value));
1205
  $suffix = trim(rgget($field['id'] . '.8', $value));
1206
 
1207
- return array('prefix' => $prefix, 'first' => $first, 'middle' => $middle, 'last' => $last, 'suffix' => $suffix);
1208
  }
1209
  else{
1210
  return $value;
@@ -1264,16 +975,7 @@ if(!class_exists('GFPDFEntryDetail'))
1264
  $items = array();
1265
 
1266
  foreach($value as $key => $item){
1267
- if(!empty($item)) {
1268
- if($field['type'] == 'poll' || $field['type'] == 'survey')
1269
- {
1270
- /*
1271
- * Convert our poll type
1272
- */
1273
- $items[] = self::get_poll_checkbox($field, $value);
1274
- return $items;
1275
- }
1276
-
1277
  switch($format){
1278
  case 'text' :
1279
  $items[] = GFCommon::selection_display($item, $field, $currency, $use_text);
@@ -1378,7 +1080,7 @@ if(!class_exists('GFPDFEntryDetail'))
1378
  break;
1379
 
1380
  case 'number' :
1381
- return GFCommon::format_number($value, rgar($field, 'numberFormat'));
1382
  break;
1383
 
1384
  case 'singleshipping' :
@@ -1394,7 +1096,7 @@ if(!class_exists('GFPDFEntryDetail'))
1394
 
1395
  $has_columns = is_array($value[0]);
1396
 
1397
- if(!$has_columns){
1398
  $items = array();
1399
  foreach($value as $key => $item){
1400
  if(!empty($item)){
@@ -1431,15 +1133,8 @@ if(!class_exists('GFPDFEntryDetail'))
1431
  else if($media == 'email'){
1432
  return $items;
1433
  }
1434
- else {
1435
- $list = '<table autosize="1" class="gfield_list" style="border-top: 1px solid #DFDFDF; border-left: 1px solid #DFDFDF; border-spacing: 0; padding: 0; margin: 2px 0 6px; width: 100%">';
1436
- foreach($items as $i)
1437
- {
1438
- $list .= '<tr><td>' . $i .'</td></tr>';
1439
- }
1440
- $list .= '</table>';
1441
-
1442
- return $list;
1443
  }
1444
  }
1445
  else if(is_array($value)){
@@ -1468,7 +1163,6 @@ if(!class_exists('GFPDFEntryDetail'))
1468
  break;
1469
 
1470
  default :
1471
-
1472
  if($media == 'email'){
1473
  $list = '<table autosize="1" class="gfield_list" style="border-top: 1px solid #DFDFDF; border-left: 1px solid #DFDFDF; border-spacing: 0; padding: 0; margin: 2px 0 6px; width: 100%"><thead><tr>';
1474
 
@@ -1540,13 +1234,11 @@ if(!class_exists('GFPDFEntryDetail'))
1540
  if(is_array($value)){
1541
  $prefix = trim(rgget($field['id'] . '.2', $value));
1542
  $first = trim(rgget($field['id'] . '.3', $value));
1543
- $middle = trim(rgget($field['id'] . '.4', $value));
1544
  $last = trim(rgget($field['id'] . '.6', $value));
1545
  $suffix = trim(rgget($field['id'] . '.8', $value));
1546
 
1547
  $name = $prefix;
1548
  $name .= !empty($name) && !empty($first) ? " $first" : $first;
1549
- $name .= !empty($name) && !empty($middle) ? " $middle" : $middle;
1550
  $name .= !empty($name) && !empty($last) ? " $last" : $last;
1551
  $name .= !empty($name) && !empty($suffix) ? " $suffix" : $suffix;
1552
 
@@ -1752,7 +1444,7 @@ if(!class_exists('GFPDFEntryDetail'))
1752
  break;
1753
 
1754
  case 'number' :
1755
- return GFCommon::format_number($value, rgar($field, 'numberFormat'));
1756
  break;
1757
 
1758
  case 'singleshipping' :
@@ -1891,10 +1583,54 @@ if(!class_exists('GFPDFEntryDetail'))
1891
  }
1892
  }
1893
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1894
 
1895
  public static function encode_tags($content, $field)
1896
  {
1897
- if(RGFormsModel::get_input_type($field) != 'html' || RGFormsModel::get_input_type($field) != 'signature')
1898
  {
1899
  $content = str_replace('[', '&#91;', $content);
1900
  $content = str_replace(']', '&#93;', $content);
2
  if(!class_exists('GFPDFEntryDetail'))
3
  {
4
 
5
+ add_filter('gform_field_content', array('GFPDFEntryDetail', 'encode_tags'), 10, 2); /* encode shortcodes in user's response so they aren't converted later by do_shortcode */
 
 
 
 
 
 
 
6
  class GFPDFEntryDetail {
7
 
 
 
 
8
  /* NEED THIS FUNCTION - BLD */
9
+ public static function lead_detail_grid($form, $lead, $allow_display_empty_fields=false, $show_html=false, $show_page_name=false, $return=false, $show_section_breaks=false){
10
  $form_id = $form['id'];
11
  $results = array();
12
 
31
  $page_number = 0;
32
  foreach($form['fields'] as $field) {
33
 
 
34
  /*
35
  * Check if this field has been excluded from the list
36
  */
40
  continue;
41
  }
42
 
 
 
 
 
 
 
 
 
43
  /*
44
  * Check if we are to show the page names
45
  */
103
  $even = ($count%2) ? ' odd' : ' even';
104
 
105
  $display_value = $field['content'];
 
106
 
107
  $content = '<div id="field-'. $field['id'] .'" class="entry-view-html-value' . $last_row . $even . '"><div class="value">' . $display_value . '</div></div>';
108
+ $content = apply_filters('gform_field_content', $content, $field, $value, $lead['id'], $form['id']);
109
 
110
  if($return === true)
111
  {
120
  case 'signature':
121
  $value = RGFormsModel::get_lead_field_value($lead, $field);
122
  $public_folder = RGFormsModel::get_upload_url_root() . 'signatures/';
123
+ $server_folder = RGFormsModel::get_upload_root() . 'signatures/';
124
+ $display_value = '<img src="'. $server_folder.$value .'" alt="Signature" width="100" height="60" />';
 
 
 
 
 
 
 
125
  $is_last = $count >= $field_count ? true : false;
126
  $last_row = $is_last ? ' lastrow' : '';
127
 
176
 
177
  $content = '<div id="field-'. $field['id'] .'" class="entry-view-field-value' . $last_row . $even . '"><div class="strong">' . esc_html(GFCommon::get_label($field)) . '</div> <div class="value">' . $display_value . '</div></div>';
178
 
179
+ $content = apply_filters('gform_field_content', $content, $field, $value, $lead['id'], $form['id']);
180
 
181
  if($return === true)
182
  {
313
  }
314
  }
315
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
316
  public static function format_date($date, $usa = false)
317
  {
318
  $timestamp = strtotime($date);
331
 
332
  foreach($form['fields'] as $field) {
333
 
334
+ switch(RGFormsModel::get_input_type($field)){
 
 
 
 
 
 
 
 
 
335
  case 'section' :
336
  case 'html':
337
  $form_array = self::get_html($field, $form_array);
338
  break;
339
 
340
  case 'captcha':
341
+ case 'password':
342
  case 'page':
343
  //ignore captcha, password and page
344
  break;
359
  case 'select':
360
  case 'multiselect':
361
  case 'radio':
 
362
  if($field['type'] == 'quiz')
363
  {
364
  $form_array = self::get_quiz_radios($form, $lead, $field, $form_array);
365
  }
 
 
 
 
366
  else
367
  {
368
  /* store values in regular [field] array */
378
  $form_array['survey']['rank'][$field['id']] = self::get_the_rank($form, $lead, $field, $form_array);
379
  break;
380
 
 
 
 
 
381
  default:
 
 
382
  //ignore product fields as they will be grouped together at the end of the grid
383
  if(GFCommon::is_product_field($field['type'])){
384
  $has_product_fields = true;
407
  {
408
  if(trim($choice['value']) == trim($results))
409
  {
410
+ $return[] = array('text' => $choice['text'], 'isCorrect' => $choice['gquizIsCorrect']);
411
  break;
412
  }
413
  }
418
  /* add ID incase want to use template on multiple duplicate forms with different field names */
419
  $form_array['field'][$field['id']] = $return;
420
 
421
+ /* keep backwards compatibility */
422
+ $form_array['field'][$field['label']] = $return;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
423
 
424
  return $form_array;
425
 
426
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
427
 
428
  private static function get_the_rank($form, $lead, $field, $form_array)
429
  {
447
  }
448
 
449
  private static function get_the_likert($form, $lead, $field, $form_array)
450
+ {
451
  $id = $field['id'];
452
+ $results = $lead[$id];
453
+ $multiple_rows = rgar($field, "gsurveyLikertEnableMultipleRows") ? true : false;
 
 
 
 
 
454
  $likert = array();
455
 
456
  /* store the column names */
457
  foreach($field['choices'] as $col)
458
+ {
459
  $likert['col'][$col['value']] = $col['text'];
460
  }
461
+
462
 
463
+ if(sizeof($field['inputs']) > 0)
464
  {
465
  /* do our multi-row likert */
466
  foreach($field['inputs'] as $row)
482
  $output = ($comparison == $results) ? 'selected' : '';
483
 
484
  /* assign our results to the array */
485
+ $likert['rows'][$row['label']][] = $output;
486
 
487
  }
488
  }
496
  /* do our comparison and update the output */
497
  $output = ($col_id == $results) ? 'selected' : '';
498
 
499
+ $likert['row'][] = $output;
500
 
501
  }
502
  }
503
 
 
 
 
 
 
 
 
 
 
504
  return $likert;
505
 
506
  }
507
 
 
 
 
 
 
 
 
 
 
 
 
508
  private static function set_form_array_common($form, $lead, $form_id)
509
  {
 
 
 
 
 
510
  $form_array = array();
511
 
512
  /*
519
  * Set title and dates (both US and international)
520
  */
521
  $form_array['form_title'] = $form['title'];
 
522
  $form_array['date_created'] = self::format_date($lead['date_created']);
523
  $form_array['date_created_usa'] = self::format_date($lead['date_created'], true);
524
 
549
  $form_array['misc']['user_agent'] = $lead['user_agent'];
550
  $form_array['misc']['status'] = $lead['status'];
551
 
 
 
552
  /*
553
  * Add quiz results
554
  */
555
+ $form_array = self::get_quiz_results($form, $form_array, $lead);
556
+ $form_array = self::get_survey_results($form, $form_array, $lead);
557
+ $form_array = self::get_poll_results($form, $form_array, $lead);
558
 
559
  return $form_array;
560
  }
561
 
562
+ /* check if there is a poll field in the form */
563
+ private static function is_poll($form)
564
+ {
 
 
 
 
 
565
  foreach($form['fields'] as $field)
566
  {
567
+ if($field['type'] == 'poll')
568
  {
569
  return true;
570
  }
572
  return false;
573
  }
574
 
575
+ private static function get_poll_results($form, $form_array, $lead)
576
  {
577
+ if(self::is_poll($form))
 
 
 
 
 
 
 
 
 
 
 
 
 
578
  {
579
+ $form_array['poll'] = self::get_addon_global_data($form, array());
 
 
 
 
 
 
 
 
 
 
580
  }
 
 
581
 
582
  return $form_array;
583
  }
584
 
585
+ private static function get_survey_results($form, $form_array, $lead)
586
  {
 
 
 
 
 
587
  /*
588
  * If there are any survey results
589
  * add them to the 'survey' key
591
  $fields = GFCommon::get_fields_by_type($form, array('survey'));
592
  $count_survey_fields = count($fields);
593
 
594
+ if ($count_survey_fields > 0)
595
  {
596
  $form_array['survey']['score'] = $lead['gsurvey_score'];
597
  }
598
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
599
  return $form_array;
600
 
601
  }
602
 
603
+ private static function get_quiz_results($form, $form_array, $lead)
604
  {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
605
 
606
  /*
607
  * If there are any quiz results
612
 
613
  if ($count_quiz_fields > 0)
614
  {
615
+ $form_array['quiz']['config']['grading'] = $form['gravityformsquiz']['grading'];
616
+ $form_array['quiz']['config']['passPercent'] = $form['gravityformsquiz']['passPercent'];
617
+ $form_array['quiz']['config']['grades'] = json_decode($form['gravityformsquiz']['grades']);
618
 
619
  $form_array['quiz']['results']['score'] = rgar($lead, 'gquiz_score');
620
  $form_array['quiz']['results']['percent'] = rgar($lead, 'gquiz_percent');
624
  /*
625
  * Get the overall results
626
  */
627
+ $form_array['quiz']['global'] = self::get_quiz_overalls($form);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
628
 
629
  }
630
 
650
  'status' => 'active'
651
  );
652
 
653
+ /* get the quiz results */
654
  $data = $gf_results->get_results_data($form, $fields, $search);
655
 
656
  /* unset some array keys we don't need */
679
  }
680
 
681
  return array(__('Activate Gravity Forms Quiz Add On to see global quiz statistics for this form', 'pdfextended'));
682
+ }
683
 
684
  private static function get_html($field, $form_array)
685
  {
694
  private static function get_signature($form, $lead, $field, $form_array)
695
  {
696
  $value = RGFormsModel::get_lead_field_value($lead, $field);
697
+ $http_folder = RGFormsModel::get_upload_url_root(). 'signatures/';;
698
+ $folder = RGFormsModel::get_upload_root() . 'signatures/';
 
 
699
 
700
+ if(file_exists($folder.$value) !== false && is_dir($folder.$value) !== true)
701
  {
702
+ $sig_html = '<img src="'. $folder.$value .'" alt="Signature" width="100" height="60" />';
 
 
 
 
703
 
704
  $form_array['signature'][] = $sig_html;
705
  $form_array['signature_details'][] = array(
706
  'img' => $sig_html,
707
+ 'path' => $folder.$value,
708
+ 'url' => $http_folder.$value
 
 
709
  );
710
 
711
  $form_array['signature_details_id'][$field['id']] = array(
712
  'img' => $sig_html,
713
+ 'path' => $folder.$value,
714
+ 'url' => $http_folder.$value
 
 
715
  );
716
  }
717
 
748
  /*
749
  * Check if there are any values in the list
750
  */
751
+ if(sizeof($list) == 0)
752
  {
753
  return $list;
754
  }
755
 
756
+
757
  /*
758
  * Check if it's a multi column list
759
  */
769
  return $list;
770
  }
771
 
772
+ private static function remove_empty_multi_col_list($gfield_list)
773
  {
774
  foreach($list as $id => $row)
775
  {
842
 
843
  private static function get_product_array($form, $lead, $has_product_fields, $form_array)
844
  {
845
+
846
 
847
  if($has_product_fields) {
848
  $products = GFCommon::get_product_fields($form, $lead, true);
849
 
850
  /* check that there are actual product fields */
851
+ if(!empty($products['products'])){
 
852
 
853
  /*
854
  * Set up our variables
855
  */
856
+ $products = array();
857
  $total = 0;
858
  $subtotal = 0;
859
 
860
+ foreach($products['products'] as $product) {
 
 
861
  $price = GFCommon::to_number($product['price']);
862
 
863
  /* add all options to total price */
875
  /*
876
  * Check if we should include options
877
  */
878
+ $options = isset($product['options']) ? $product['options'] : '';
 
 
 
 
 
 
 
 
 
 
 
879
 
880
  /*
881
  * Store product in $form_array array
882
  */
883
+ $form_array['products'][] = array(
884
+ 'name' => esc_html($product['name']),
885
+ 'price' => esc_html($product['price']),
886
+ 'options' => $options,
887
+ 'quantity' => $product['quantity'],
888
+ 'subtotal' => $subtotal);
 
 
889
  }
890
 
891
  /* Increment total */
892
  $total += floatval($products['shipping']['price']);
 
893
 
894
  /* add totals to form data */
895
  $form_array['products_totals'] = array(
896
+ 'shipping' => $products['shipping']['price'],
897
+ 'total' => $total
 
 
 
 
898
  );
899
  }
900
  }
912
  if(is_array($value)){
913
  $prefix = trim(rgget($field['id'] . '.2', $value));
914
  $first = trim(rgget($field['id'] . '.3', $value));
 
915
  $last = trim(rgget($field['id'] . '.6', $value));
916
  $suffix = trim(rgget($field['id'] . '.8', $value));
917
 
918
+ return array('prefix' => $prefix, 'first' => $first, 'last' => $last, 'suffix' => $suffix);
919
  }
920
  else{
921
  return $value;
975
  $items = array();
976
 
977
  foreach($value as $key => $item){
978
+ if(!empty($item)){
 
 
 
 
 
 
 
 
 
979
  switch($format){
980
  case 'text' :
981
  $items[] = GFCommon::selection_display($item, $field, $currency, $use_text);
1080
  break;
1081
 
1082
  case 'number' :
1083
+ return self::format_number($value, rgar($field, 'numberFormat'));
1084
  break;
1085
 
1086
  case 'singleshipping' :
1096
 
1097
  $has_columns = is_array($value[0]);
1098
 
1099
+ if(!$has_columns){
1100
  $items = array();
1101
  foreach($value as $key => $item){
1102
  if(!empty($item)){
1133
  else if($media == 'email'){
1134
  return $items;
1135
  }
1136
+ else{
1137
+ return $items;
 
 
 
 
 
 
 
1138
  }
1139
  }
1140
  else if(is_array($value)){
1163
  break;
1164
 
1165
  default :
 
1166
  if($media == 'email'){
1167
  $list = '<table autosize="1" class="gfield_list" style="border-top: 1px solid #DFDFDF; border-left: 1px solid #DFDFDF; border-spacing: 0; padding: 0; margin: 2px 0 6px; width: 100%"><thead><tr>';
1168
 
1234
  if(is_array($value)){
1235
  $prefix = trim(rgget($field['id'] . '.2', $value));
1236
  $first = trim(rgget($field['id'] . '.3', $value));
 
1237
  $last = trim(rgget($field['id'] . '.6', $value));
1238
  $suffix = trim(rgget($field['id'] . '.8', $value));
1239
 
1240
  $name = $prefix;
1241
  $name .= !empty($name) && !empty($first) ? " $first" : $first;
 
1242
  $name .= !empty($name) && !empty($last) ? " $last" : $last;
1243
  $name .= !empty($name) && !empty($suffix) ? " $suffix" : $suffix;
1244
 
1444
  break;
1445
 
1446
  case 'number' :
1447
+ return self::format_number($value, rgar($field, 'numberFormat'));
1448
  break;
1449
 
1450
  case 'singleshipping' :
1583
  }
1584
  }
1585
 
1586
+ /**
1587
+ * Format Gravity Form's three number types
1588
+ * @param float $number The number field value to process
1589
+ * @param string $number_format The number type a user selects in the form editor
1590
+ * @return float Correctly formated number
1591
+ */
1592
+ private static function format_number($number, $number_format){
1593
+ if(!is_numeric($number))
1594
+ return $number;
1595
+
1596
+ //replacing commas with dots and dots with commas
1597
+ switch($number_format)
1598
+ {
1599
+ case 'decimal_comma':
1600
+ $number = self::reformat_number(number_format($number, '2', ',', '.'));
1601
+ break;
1602
+
1603
+ case 'decimal_dot':
1604
+ $number = self::reformat_number(number_format($number, '2'));
1605
+
1606
+ break;
1607
+
1608
+ case 'currency':
1609
+ /* get the GF currency and convert number to money */
1610
+ $number = GFCommon::to_money($number);
1611
+ break;
1612
+ }
1613
+
1614
+ return $number;
1615
+ }
1616
+
1617
+ /**
1618
+ * Remove the .00 or ,00 decimal from the end of the number format
1619
+ * @param float $number number to manipulate
1620
+ * @return float processed number
1621
+ */
1622
+ private static function reformat_number($number)
1623
+ {
1624
+ if(substr($number, -2) == '00')
1625
+ {
1626
+ return substr($number, 0, -3);
1627
+ }
1628
+ return $number;
1629
+ }
1630
 
1631
  public static function encode_tags($content, $field)
1632
  {
1633
+ if(RGFormsModel::get_input_type($field) != 'html')
1634
  {
1635
  $content = str_replace('[', '&#91;', $content);
1636
  $content = str_replace(']', '&#93;', $content);
helper/pdf-render.php CHANGED
@@ -8,7 +8,7 @@ class PDFRender
8
  * var $form_id integer: The form id
9
  * var $lead_id integer: The entry id
10
  * var $output string: either view, save or download
11
- * save will save a copy of the PDF to the server using the $gfpdfe_data->template_save_location variable
12
  * var $return boolean: if set to true
13
  * it will return the path of the saved PDF
14
  * var $template string: if you want to use multiple PDF templates - name of the template file
@@ -42,12 +42,12 @@ class PDFRender
42
  /*
43
  * Check if the PDF exists and if this function has already run this season
44
  */
45
- if(in_array($lead_id, $pdf_creator) && file_exists($gfpdfe_data->template_save_location . $id . '/' . $filename))
46
  {
47
  /*
48
  * Don't generate a new PDF, use the existing one
49
  */
50
- return $gfpdfe_data->template_save_location . $id . '/' . $filename;
51
  }
52
 
53
  /*
@@ -68,7 +68,7 @@ class PDFRender
68
  * Get the template HTML file
69
  * v3.4.0 allows mergetags to be used in PDF templates
70
  */
71
- $raw_entry = $this->load_entry_data($template);
72
  $entry = apply_filters("gfpdfe_pdf_template_{$form_id}", apply_filters('gfpdfe_pdf_template', $raw_entry, $form_id, $lead_id, $arguments), $lead_id, $arguments);
73
 
74
  /*
@@ -85,7 +85,7 @@ class PDFRender
85
  */
86
  if(strlen($entry) > 0)
87
  {
88
- return $this->PDF_processing($entry, $filename, $id, $output, $arguments, $form_id, $lead_id);
89
  }
90
 
91
  return false;
@@ -99,30 +99,28 @@ class PDFRender
99
  /**
100
  * Loads the Gravity Form output script (actually the print preview)
101
  */
102
- private function load_entry_data($template)
103
  {
104
- global $gfpdfe_data;
105
-
106
  /* set up contstants for gravity forms to use so we can override the security on the printed version */
107
- if(file_exists( $gfpdfe_data->template_site_location . $template))
108
- {
109
- return PDF_Common::get_html_template($gfpdfe_data->template_site_location . $template);
110
  }
111
  else
112
  {
113
  /*
114
  * Check if template file exists in the plugin's core template folder
115
  */
116
- if(file_exists( PDF_PLUGIN_DIR . 'templates/' . $template))
117
  {
118
- return PDF_Common::get_html_template( PDF_PLUGIN_DIR . 'initialisation/templates/' . $template);
119
  }
120
  /*
121
  * If template not found then we will resort to the default template.
122
  */
123
  else
124
  {
125
- return PDF_Common::get_html_template(PDF_PLUGIN_DIR . 'initialisation/templates/' . PDFGenerator::$default['template']);
126
  }
127
  }
128
  }
@@ -131,7 +129,7 @@ class PDFRender
131
  /**
132
  * Creates the PDF and does a specific output (see PDF_Generator function above for $output variable types)
133
  */
134
- public function PDF_processing($html, $filename, $id, $output = 'view', $arguments, $form_id, $lead_id)
135
  {
136
  /*
137
  * DOMPDF replaced with mPDF in v3.0.0
@@ -169,13 +167,7 @@ class PDFRender
169
  $orientation = ($arguments['orientation'] == 'landscape') ? 'L' : 'P';
170
  }
171
 
172
- $mpdf = new mPDF('', $paper_size, 0, '', 15, 15, 16, 16, 9, 9, $orientation);
173
-
174
- /*
175
- * Add filter to allow the $mpdf object to be modified right after the class is created.
176
- * Because $mpdf is a class it is automatically passed by reference and doesn't need to be assigned
177
- */
178
- apply_filters('gfpdfe_mpdf_class', $mpdf, $form_id, $lead_id, $arguments, $output, $filename);
179
 
180
  /*
181
  * Display PDF is full-page mode which allows the entire PDF page to be viewed
@@ -192,15 +184,14 @@ class PDFRender
192
  /*
193
  * Set Creator Meta Data
194
  */
195
- $mpdf->SetCreator('Gravity PDF v' . PDF_EXTENDED_VERSION . '. https://gravitypdf.com');
196
 
197
  /*
198
  * Set PDF DPI if added to configuration node
199
  */
200
  if($arguments['dpi'] !== false)
201
  {
202
- /* TEXT DPI dramatically decreases the text size. As text is a vector element of the document we will only be concerned with the image DPI for the moment */
203
- /*$mpdf->dpi = $arguments['dpi'];*/
204
  $mpdf->img_dpi = $arguments['dpi'];
205
  }
206
 
@@ -217,9 +208,9 @@ class PDFRender
217
  */
218
  if($arguments['security'] === true && $arguments['pdfa1b'] === false && $arguments['pdfx1a'] === false )
219
  {
220
- $password = (strlen($arguments['pdf_password']) > 0) ? $arguments['pdf_password'] : '';
221
  $master_password = (strlen($arguments['pdf_master_password']) > 0) ? $arguments['pdf_master_password'] : null;
222
- $pdf_privileges = (is_array($arguments['pdf_privileges'])) ? $arguments['pdf_privileges'] : array();
223
 
224
  $mpdf->SetProtection($pdf_privileges, $password, $master_password, 128);
225
  }
@@ -227,13 +218,13 @@ class PDFRender
227
  /* PDF/A1-b support added in v3.4.0 */
228
  if($arguments['pdfa1b'] === true)
229
  {
230
- $mpdf->PDFA = true;
231
- $mpdf->PDFAauto = true;
232
  }
233
  else if($arguments['pdfx1a'] === true) /* PDF/X-1a support added in v3.4.0 */
234
  {
235
- $mpdf->PDFX = true;
236
- $mpdf->PDFXauto = true;
237
  }
238
 
239
  /*
@@ -246,19 +237,7 @@ class PDFRender
246
 
247
 
248
  /* load HTML block */
249
- $mpdf->WriteHTML($html);
250
-
251
- /*
252
- * Allow the $mpdf object to be modified now all the settings have been applied
253
- */
254
- apply_filters('gfpdfe_mpdf_class_pre_render', $mpdf, $form_id, $lead_id, $arguments, $output, $filename);
255
- apply_filters('gfpdfe_pre_render_pdf', $mpdf, $form_id, $lead_id, $arguments, $output, $filename); /* left in for backwards compatiblity */
256
-
257
- /*
258
- * Add pre-render/save filter so PDF can be manipulated further
259
- */
260
- $output = apply_filters('gfpdfe_pdf_output_type', $output);
261
- $filename = apply_filters('gfpdfe_pdf_filename', $filename);
262
 
263
  switch($output)
264
  {
@@ -277,12 +256,8 @@ class PDFRender
277
  * PDF wasn't writing to file with the F method - http://mpdf1.com/manual/index.php?tid=125
278
  * Return as a string and write to file manually
279
  */
280
- $pdf = $mpdf->Output('', 'S');
281
- $filename = $this->savePDF($pdf, $filename, $id);
282
-
283
- do_action('gfpdf_post_pdf_save', $form_id, $lead_id, $arguments, $filename);
284
-
285
- return $filename;
286
  break;
287
  }
288
  }
@@ -294,26 +269,23 @@ class PDFRender
294
  */
295
  public function savePDF($pdf, $filename, $id)
296
  {
297
- global $gfpdfe_data;
298
-
299
  /* create unique folder for PDFs */
300
- if(!is_dir( $gfpdfe_data->template_save_location . $id))
301
  {
302
- if(!mkdir( $gfpdfe_data->template_save_location . $id))
303
  {
304
- trigger_error('Could not create PDF folder in '. $gfpdfe_data->template_save_location . $id, E_USER_WARNING);
305
  return;
306
  }
307
  }
308
 
309
- $pdf_save = $gfpdfe_data->template_save_location . $id . '/' . $filename;
310
 
311
  if(!file_put_contents($pdf_save, $pdf))
312
  {
313
  trigger_error('Could not save PDF to '. $pdf_save, E_USER_WARNING);
314
  return;
315
- }
316
-
317
  return $pdf_save;
318
  }
319
  }
8
  * var $form_id integer: The form id
9
  * var $lead_id integer: The entry id
10
  * var $output string: either view, save or download
11
+ * save will save a copy of the PDF to the server using the PDF_SAVE_LOCATION constant
12
  * var $return boolean: if set to true
13
  * it will return the path of the saved PDF
14
  * var $template string: if you want to use multiple PDF templates - name of the template file
42
  /*
43
  * Check if the PDF exists and if this function has already run this season
44
  */
45
+ if(in_array($lead_id, $pdf_creator) && file_exists(PDF_SAVE_LOCATION.$id.'/'. $filename))
46
  {
47
  /*
48
  * Don't generate a new PDF, use the existing one
49
  */
50
+ return PDF_SAVE_LOCATION.$id.'/'. $filename;
51
  }
52
 
53
  /*
68
  * Get the template HTML file
69
  * v3.4.0 allows mergetags to be used in PDF templates
70
  */
71
+ $raw_entry = $this->load_entry_data($form_id, $lead_id, $template);
72
  $entry = apply_filters("gfpdfe_pdf_template_{$form_id}", apply_filters('gfpdfe_pdf_template', $raw_entry, $form_id, $lead_id, $arguments), $lead_id, $arguments);
73
 
74
  /*
85
  */
86
  if(strlen($entry) > 0)
87
  {
88
+ return $this->PDF_processing($entry, $filename, $id, $output, $arguments);
89
  }
90
 
91
  return false;
99
  /**
100
  * Loads the Gravity Form output script (actually the print preview)
101
  */
102
+ private function load_entry_data($form_id, $lead_id, $template)
103
  {
 
 
104
  /* set up contstants for gravity forms to use so we can override the security on the printed version */
105
+ if(file_exists(PDF_TEMPLATE_LOCATION.$template))
106
+ {
107
+ return PDF_Common::get_html_template(PDF_TEMPLATE_LOCATION.$template);
108
  }
109
  else
110
  {
111
  /*
112
  * Check if template file exists in the plugin's core template folder
113
  */
114
+ if(file_exists(PDF_PLUGIN_DIR."templates/" . $template))
115
  {
116
+ return PDF_Common::get_html_template(PDF_PLUGIN_DIR."initialisation/templates/" . $template);
117
  }
118
  /*
119
  * If template not found then we will resort to the default template.
120
  */
121
  else
122
  {
123
+ return PDF_Common::get_html_template(PDF_PLUGIN_DIR."initialisation/templates/" . PDFGenerator::$default['template']);
124
  }
125
  }
126
  }
129
  /**
130
  * Creates the PDF and does a specific output (see PDF_Generator function above for $output variable types)
131
  */
132
+ public function PDF_processing($html, $filename, $id, $output = 'view', $arguments)
133
  {
134
  /*
135
  * DOMPDF replaced with mPDF in v3.0.0
167
  $orientation = ($arguments['orientation'] == 'landscape') ? 'L' : 'P';
168
  }
169
 
170
+ $mpdf = new mPDF('', $paper_size, 0, '', 15, 15, 16, 16, 9, 9, $orientation);
 
 
 
 
 
 
171
 
172
  /*
173
  * Display PDF is full-page mode which allows the entire PDF page to be viewed
184
  /*
185
  * Set Creator Meta Data
186
  */
187
+ $mpdf->SetCreator('Gravity Forms PDF Extended v'. PDF_EXTENDED_VERSION.'. http://gravityformspdfextended.com');
188
 
189
  /*
190
  * Set PDF DPI if added to configuration node
191
  */
192
  if($arguments['dpi'] !== false)
193
  {
194
+ $mpdf->dpi = $arguments['dpi'];
 
195
  $mpdf->img_dpi = $arguments['dpi'];
196
  }
197
 
208
  */
209
  if($arguments['security'] === true && $arguments['pdfa1b'] === false && $arguments['pdfx1a'] === false )
210
  {
211
+ $password = (strlen($arguments['pdf_password']) > 0) ? $arguments['pdf_password'] : '';
212
  $master_password = (strlen($arguments['pdf_master_password']) > 0) ? $arguments['pdf_master_password'] : null;
213
+ $pdf_privileges = (is_array($arguments['pdf_privileges'])) ? $arguments['pdf_privileges'] : array();
214
 
215
  $mpdf->SetProtection($pdf_privileges, $password, $master_password, 128);
216
  }
218
  /* PDF/A1-b support added in v3.4.0 */
219
  if($arguments['pdfa1b'] === true)
220
  {
221
+ $mpdf->PDFA = true;
222
+ $mpdf->PDFAauto = true;
223
  }
224
  else if($arguments['pdfx1a'] === true) /* PDF/X-1a support added in v3.4.0 */
225
  {
226
+ $mpdf->PDFX = true;
227
+ $mpdf->PDFXauto = true;
228
  }
229
 
230
  /*
237
 
238
 
239
  /* load HTML block */
240
+ $mpdf->WriteHTML($html);
 
 
 
 
 
 
 
 
 
 
 
 
241
 
242
  switch($output)
243
  {
256
  * PDF wasn't writing to file with the F method - http://mpdf1.com/manual/index.php?tid=125
257
  * Return as a string and write to file manually
258
  */
259
+ $pdf = $mpdf->Output('', 'S');
260
+ return $this->savePDF($pdf, $filename, $id);
 
 
 
 
261
  break;
262
  }
263
  }
269
  */
270
  public function savePDF($pdf, $filename, $id)
271
  {
 
 
272
  /* create unique folder for PDFs */
273
+ if(!is_dir(PDF_SAVE_LOCATION.$id))
274
  {
275
+ if(!mkdir(PDF_SAVE_LOCATION.$id))
276
  {
277
+ trigger_error('Could not create PDF folder in '. PDF_SAVE_LOCATION.$id, E_USER_WARNING);
278
  return;
279
  }
280
  }
281
 
282
+ $pdf_save = PDF_SAVE_LOCATION.$id.'/'. $filename;
283
 
284
  if(!file_put_contents($pdf_save, $pdf))
285
  {
286
  trigger_error('Could not save PDF to '. $pdf_save, E_USER_WARNING);
287
  return;
288
+ }
 
289
  return $pdf_save;
290
  }
291
  }
initialisation/configuration.php.example CHANGED
@@ -1,9 +1,9 @@
1
  <?php
2
 
3
  /*
4
- * Gravity PDF Configuration
5
  * New from v3.0.0. No longer is theme functions.php code required.
6
- * Important documentation on the configuration found at https://developer.gravitypdf.com/documentation/getting-started-with-gravity-pdf-configuration/
7
  */
8
 
9
  /*
@@ -31,7 +31,7 @@
31
  */
32
  /*$gf_pdf_config[] = array(
33
  'form_id' => 1,
34
- 'notifications' => true,
35
  );*/
36
 
37
  /*
@@ -51,19 +51,19 @@
51
  /*$gf_pdf_config[] = array(
52
  'form_id' => 1,
53
  'template' => 'default-template.php',
54
- 'default-show-html' => true,
55
  );*/
56
 
57
  /*$gf_pdf_config[] = array(
58
  'form_id' => 1,
59
  'template' => 'default-template.php',
60
- 'default-show-empty' => true,
61
  );*/
62
 
63
  /*$gf_pdf_config[] = array(
64
  'form_id' => 1,
65
  'template' => 'default-template.php',
66
- 'default-show-page-names' => true,
67
  );*/
68
 
69
  /*$gf_pdf_config[] = array(
@@ -71,7 +71,7 @@
71
  'template' => 'default-template.php',
72
  'default-show-html' => true,
73
  'default-show-empty' => true,
74
- 'default-show-page-names' => true,
75
  );*/
76
 
77
  /*
@@ -82,12 +82,12 @@
82
  */
83
  /*$gf_pdf_config[] = array(
84
  'form_id' => 1,
85
- 'notifications' => 'Admin Notification',
86
  );*/
87
 
88
  /*$gf_pdf_config[] = array(
89
  'form_id' => '1',
90
- 'notifications' => array('Admin Notification', 'User Notification'),
91
  );*/
92
 
93
  /*
@@ -95,18 +95,18 @@
95
  * Custom Template
96
  * Don't want to use a custom template? Just pass the custom template name to the configuration.
97
  * template String. Default default-template.php. The name of your custom template that's placed in your active theme's PDF_EXTENDED_TEMPLATES folder.
98
- * For more information about creating custom templates please see https://developer.gravitypdf.com/documentation/custom-templates-introduction/
99
  */
100
  /*$gf_pdf_config[] = array(
101
  'form_id' => 1,
102
  'notifications' => 'User Notification',
103
- 'template' => 'example-float-and-positioning05.php',
104
  );*/
105
 
106
  /*$gf_pdf_config[] = array(
107
  'form_id' => 2,
108
  'notifications' => 'User Notification',
109
- 'template' => 'example-basic-html01.php',
110
  );*/
111
 
112
  /*
@@ -119,13 +119,13 @@
119
  /*$gf_pdf_config[] = array(
120
  'form_id' => 1,
121
  'notifications' => true,
122
- 'filename' => 'New PDF Name.pdf',
123
  );*/
124
 
125
  /*$gf_pdf_config[] = array(
126
  'form_id' => '1',
127
  'notifications' => true,
128
- 'filename' => 'User {Name:1}.pdf',
129
  );*/
130
 
131
  /*
@@ -149,7 +149,7 @@
149
  'form_id' => 1,
150
  'notifications' => true,
151
 
152
- 'pdf_size' => 'letter',
153
  );*/
154
 
155
  /* Custom PDF Size */
@@ -157,7 +157,7 @@
157
  'form_id' => 1,
158
  'notifications' => true,
159
 
160
- 'pdf_size' => array(50, 200),
161
  );*/
162
 
163
  /* Change orientation */
@@ -166,7 +166,7 @@
166
  'notifications' => true,
167
 
168
  'pdf_size' => 'letter',
169
- 'orientation' => 'landscape',
170
  );*/
171
 
172
  /*
@@ -196,7 +196,7 @@
196
  'security' => true,
197
  'pdf_password' => 'myPDFpass',
198
  'pdf_privileges' => array('copy', 'print', 'modify', 'annot-forms', 'fill-forms', 'extract', 'assemble', 'print-highres'),
199
- 'pdf_master_password' => 'admin password',
200
  );*/
201
 
202
  /*
@@ -209,7 +209,7 @@
209
  'notifications' => true,
210
 
211
  'security' => true,
212
- 'pdf_password' => 'myPDFpass',
213
  );*/
214
 
215
  /*
@@ -222,7 +222,7 @@
222
  'notifications' => true,
223
 
224
  'security' => true,
225
- 'pdf_master_password' => 'admin password',
226
  );*/
227
 
228
  /*
@@ -236,7 +236,7 @@
236
  'notifications' => true,
237
 
238
  'security' => true,
239
- 'pdf_privileges' => array('copy', 'print', 'modify', 'print-highres'),
240
  );*/
241
 
242
  /*
@@ -249,7 +249,7 @@
249
  'form_id' => 1,
250
  'notifications' => true,
251
 
252
- 'rtl' => true,
253
  );*/
254
 
255
 
@@ -263,7 +263,7 @@
263
  */
264
  /*$gf_pdf_config[] = array(
265
  'form_id' => array(1,5,6),
266
- 'notifications' => true,
267
  );*/
268
 
269
  /*
@@ -274,7 +274,7 @@
274
  */
275
  /*$gf_pdf_config[] = array(
276
  'form_id' => 1,
277
- 'template' => 'example-template.php',
278
  );*/
279
 
280
  /*
@@ -326,8 +326,7 @@
326
  * 1. Watermarks - text or image - are not permitted (transparency is disallowed so will make text unreadable)
327
  * 2. PNG images with alpha channel transparency ('masks' not allowed)
328
  * 3. Encryption is enabled (the system will automatically remove any security settings)
329
- *
330
- * For more details about generating a PDF/X-1a document see http://mpdf1.com/manual/index.php?tid=420
331
  */
332
 
333
  /*$gf_pdf_config[] = array(
@@ -355,7 +354,7 @@
355
  * 2. PNG images with alpha channel transparency ('masks' not allowed)
356
  * 3. Encryption is enabled (the system will automatically remove any security settings)
357
  *
358
- * For more details about generating a PDF/X-1a document see http://mpdf1.com/manual/index.php?tid=481
359
  *
360
  */
361
 
@@ -368,7 +367,7 @@
368
 
369
  /* ---------------------------------------------------------------
370
  * CUSTOM PDF SETUP BELOW.
371
- * See https://developer.gravitypdf.com/documentation/configuration-options-examples/#constants for more details
372
  */
373
 
374
  /*
1
  <?php
2
 
3
  /*
4
+ * Gravity Forms PDF Extended Configuration
5
  * New from v3.0.0. No longer is theme functions.php code required.
6
+ * Important documentation on the configuration found at http://gravityformspdfextended.com/documentation-v3-x-x/installation-and-configuration/
7
  */
8
 
9
  /*
31
  */
32
  /*$gf_pdf_config[] = array(
33
  'form_id' => 1,
34
+
35
  );*/
36
 
37
  /*
51
  /*$gf_pdf_config[] = array(
52
  'form_id' => 1,
53
  'template' => 'default-template.php',
54
+ 'default-show-html' => true
55
  );*/
56
 
57
  /*$gf_pdf_config[] = array(
58
  'form_id' => 1,
59
  'template' => 'default-template.php',
60
+ 'default-show-empty' => true
61
  );*/
62
 
63
  /*$gf_pdf_config[] = array(
64
  'form_id' => 1,
65
  'template' => 'default-template.php',
66
+ 'default-show-page-names' => true
67
  );*/
68
 
69
  /*$gf_pdf_config[] = array(
71
  'template' => 'default-template.php',
72
  'default-show-html' => true,
73
  'default-show-empty' => true,
74
+ 'default-show-page-names' => true
75
  );*/
76
 
77
  /*
82
  */
83
  /*$gf_pdf_config[] = array(
84
  'form_id' => 1,
85
+ 'notifications' => 'Admin Notification'
86
  );*/
87
 
88
  /*$gf_pdf_config[] = array(
89
  'form_id' => '1',
90
+ 'notifications' => array('Admin Notification', 'User Notification')
91
  );*/
92
 
93
  /*
95
  * Custom Template
96
  * Don't want to use a custom template? Just pass the custom template name to the configuration.
97
  * template String. Default default-template.php. The name of your custom template that's placed in your active theme's PDF_EXTENDED_TEMPLATES folder.
98
+ * For more information about creating custom templates please see http://gravityformspdfextended.com/documentation-v3-x-x/templates/
99
  */
100
  /*$gf_pdf_config[] = array(
101
  'form_id' => 1,
102
  'notifications' => 'User Notification',
103
+ 'template' => 'example-float-and-positioning05.php'
104
  );*/
105
 
106
  /*$gf_pdf_config[] = array(
107
  'form_id' => 2,
108
  'notifications' => 'User Notification',
109
+ 'template' => 'example-basic-html01.php'
110
  );*/
111
 
112
  /*
119
  /*$gf_pdf_config[] = array(
120
  'form_id' => 1,
121
  'notifications' => true,
122
+ 'filename' => 'New PDF Name.pdf'
123
  );*/
124
 
125
  /*$gf_pdf_config[] = array(
126
  'form_id' => '1',
127
  'notifications' => true,
128
+ 'filename' => 'User {Name:1}.pdf'
129
  );*/
130
 
131
  /*
149
  'form_id' => 1,
150
  'notifications' => true,
151
 
152
+ 'pdf_size' => 'letter'
153
  );*/
154
 
155
  /* Custom PDF Size */
157
  'form_id' => 1,
158
  'notifications' => true,
159
 
160
+ 'pdf_size' => array(50, 200)
161
  );*/
162
 
163
  /* Change orientation */
166
  'notifications' => true,
167
 
168
  'pdf_size' => 'letter',
169
+ 'orientation' => 'landscape'
170
  );*/
171
 
172
  /*
196
  'security' => true,
197
  'pdf_password' => 'myPDFpass',
198
  'pdf_privileges' => array('copy', 'print', 'modify', 'annot-forms', 'fill-forms', 'extract', 'assemble', 'print-highres'),
199
+ 'pdf_master_password' => 'admin password'
200
  );*/
201
 
202
  /*
209
  'notifications' => true,
210
 
211
  'security' => true,
212
+ 'pdf_password' => 'myPDFpass'
213
  );*/
214
 
215
  /*
222
  'notifications' => true,
223
 
224
  'security' => true,
225
+ 'pdf_master_password' => 'admin password'
226
  );*/
227
 
228
  /*
236
  'notifications' => true,
237
 
238
  'security' => true,
239
+ 'pdf_privileges' => array('copy', 'print', 'modify', 'print-highres')
240
  );*/
241
 
242
  /*
249
  'form_id' => 1,
250
  'notifications' => true,
251
 
252
+ 'rtl' => true
253
  );*/
254
 
255
 
263
  */
264
  /*$gf_pdf_config[] = array(
265
  'form_id' => array(1,5,6),
266
+ 'notifications' => true
267
  );*/
268
 
269
  /*
274
  */
275
  /*$gf_pdf_config[] = array(
276
  'form_id' => 1,
277
+ 'template' => 'example-template.php'
278
  );*/
279
 
280
  /*
326
  * 1. Watermarks - text or image - are not permitted (transparency is disallowed so will make text unreadable)
327
  * 2. PNG images with alpha channel transparency ('masks' not allowed)
328
  * 3. Encryption is enabled (the system will automatically remove any security settings)
329
+ *
 
330
  */
331
 
332
  /*$gf_pdf_config[] = array(
354
  * 2. PNG images with alpha channel transparency ('masks' not allowed)
355
  * 3. Encryption is enabled (the system will automatically remove any security settings)
356
  *
357
+ * For more details about generating a PDF/X-1a document see http://mpdf1.com/manual/index.php?tid=481&searchstring=pdf/a1-b
358
  *
359
  */
360
 
367
 
368
  /* ---------------------------------------------------------------
369
  * CUSTOM PDF SETUP BELOW.
370
+ * See http://gravityformspdfextended.com/documentation-v3-x-x/installation-and-configuration/#constants for more details
371
  */
372
 
373
  /*
initialisation/template.css CHANGED
@@ -40,7 +40,7 @@ h2.default {
40
  .entry-view-field-value div.strong {
41
  font-weight: bold;
42
  }
43
- .no-style .entry-view-field-value, .no-style #container, .no-style h2, .no-style .entry-view-html-value {
44
  background: none;
45
  border: none;
46
  }
40
  .entry-view-field-value div.strong {
41
  font-weight: bold;
42
  }
43
+ .no-style .entry-view-field-value, .no-style #container, .no-style h2 {
44
  background: none;
45
  border: none;
46
  }
initialisation/templates/default-template-no-style.php CHANGED
@@ -6,6 +6,12 @@
6
  if(!class_exists("RGForms")){
7
  return;
8
  }
 
 
 
 
 
 
9
 
10
  global $gfpdf;
11
 
@@ -24,7 +30,7 @@ $form = RGFormsModel::get_form_meta($form_id);
24
  <head>
25
  <link rel="stylesheet" href="<?php echo GFCommon::get_base_url(); ?>/css/print.css" type="text/css" />
26
  <link rel='stylesheet' href='<?php echo PDF_PLUGIN_URL .'initialisation/template.css'; ?>' type='text/css' />
27
- <title>Gravity PDF</title>
28
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
29
  </head>
30
  <body>
6
  if(!class_exists("RGForms")){
7
  return;
8
  }
9
+
10
+ /**
11
+ * Set up the form ID and lead ID
12
+ * Form ID and Lead ID can be set by passing it to the URL - ?fid=1&lid=10
13
+ */
14
+ PDF_Common::setup_ids();
15
 
16
  global $gfpdf;
17
 
30
  <head>
31
  <link rel="stylesheet" href="<?php echo GFCommon::get_base_url(); ?>/css/print.css" type="text/css" />
32
  <link rel='stylesheet' href='<?php echo PDF_PLUGIN_URL .'initialisation/template.css'; ?>' type='text/css' />
33
+ <title>Gravity Forms PDF Extended</title>
34
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
35
  </head>
36
  <body>
initialisation/templates/default-template-two-rows.php CHANGED
@@ -7,6 +7,12 @@ if(!class_exists("RGForms")){
7
  return;
8
  }
9
 
 
 
 
 
 
 
10
  global $gfpdf;
11
 
12
  $config_data = $gfpdf->get_default_config_data($form_id);
@@ -24,7 +30,7 @@ $form = RGFormsModel::get_form_meta($form_id);
24
  <head>
25
  <link rel="stylesheet" href="<?php echo GFCommon::get_base_url(); ?>/css/print.css" type="text/css" />
26
  <link rel='stylesheet' href='<?php echo PDF_PLUGIN_URL .'initialisation/template.css'; ?>' type='text/css' />
27
- <title>Gravity PDF</title>
28
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
29
  </head>
30
  <body>
7
  return;
8
  }
9
 
10
+ /**
11
+ * Set up the form ID and lead ID
12
+ * Form ID and Lead ID can be set by passing it to the URL - ?fid=1&lid=10
13
+ */
14
+ PDF_Common::setup_ids();
15
+
16
  global $gfpdf;
17
 
18
  $config_data = $gfpdf->get_default_config_data($form_id);
30
  <head>
31
  <link rel="stylesheet" href="<?php echo GFCommon::get_base_url(); ?>/css/print.css" type="text/css" />
32
  <link rel='stylesheet' href='<?php echo PDF_PLUGIN_URL .'initialisation/template.css'; ?>' type='text/css' />
33
+ <title>Gravity Forms PDF Extended</title>
34
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
35
  </head>
36
  <body>
initialisation/templates/default-template.php CHANGED
@@ -6,6 +6,12 @@
6
  if(!class_exists("RGForms")){
7
  return;
8
  }
 
 
 
 
 
 
9
 
10
  global $gfpdf;
11
 
@@ -24,7 +30,7 @@ $form = RGFormsModel::get_form_meta($form_id);
24
  <head>
25
  <link rel="stylesheet" href="<?php echo GFCommon::get_base_url(); ?>/css/print.css" type="text/css" />
26
  <link rel='stylesheet' href='<?php echo PDF_PLUGIN_URL .'initialisation/template.css'; ?>' type='text/css' />
27
- <title>Gravity PDF</title>
28
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
29
  </head>
30
  <body>
6
  if(!class_exists("RGForms")){
7
  return;
8
  }
9
+
10
+ /**
11
+ * Set up the form ID and lead ID
12
+ * Form ID and Lead ID can be set by passing it to the URL - ?fid=1&lid=10
13
+ */
14
+ PDF_Common::setup_ids();
15
 
16
  global $gfpdf;
17
 
30
  <head>
31
  <link rel="stylesheet" href="<?php echo GFCommon::get_base_url(); ?>/css/print.css" type="text/css" />
32
  <link rel='stylesheet' href='<?php echo PDF_PLUGIN_URL .'initialisation/template.css'; ?>' type='text/css' />
33
+ <title>Gravity Forms PDF Extended</title>
34
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
35
  </head>
36
  <body>
initialisation/templates/example-advanced-headers_07.php CHANGED
@@ -7,6 +7,12 @@ if(!class_exists("RGForms")){
7
  return;
8
  }
9
 
 
 
 
 
 
 
10
  /**
11
  * Load the form data to pass to our PDF generating function
12
  */
@@ -25,7 +31,7 @@ $form = RGFormsModel::get_form_meta($form_id);
25
  * The plugin stylesheet is overridden every update
26
  */
27
  ?>
28
- <title>Gravity PDF</title>
29
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
30
  </head>
31
  <body>
@@ -45,7 +51,7 @@ $form = RGFormsModel::get_form_meta($form_id);
45
  * Store your form fields from the $form_data array into variables here
46
  * To see your entire $form_data array, view your PDF via the admin area and add &data=1 to the url
47
  *
48
- * For an example of accessing $form_data fields see https://developer.gravitypdf.com/documentation/custom-templates-introduction/
49
  *
50
  * Alternatively, as of v3.4.0 you can use merge tags (except {allfields}) in your templates.
51
  * Just add merge tags to your HTML and they'll be parsed before generating the PDF.
@@ -58,27 +64,40 @@ $form = RGFormsModel::get_form_meta($form_id);
58
 
59
  <htmlpageheader name="myHTMLHeader1">
60
  <table width="100%" style="border-bottom: 1px solid #000000; vertical-align: bottom; font-family: serif; font-size: 9pt; color: #000088;"><tr>
61
- <td width="50%">First header p <span style="font-size:14pt;">{PAGENO}</span></td>
62
  <td width="50%" style="text-align: right;"><span style="font-weight: bold;">myHTMLHeader1</span></td>
63
  </tr></table>
64
  </htmlpageheader>
65
 
66
- <htmlpageheader name="myHTMLHeader2">
67
  <table width="100%" style="border-bottom: 1px solid #000000; vertical-align: bottom; font-family: serif; font-size: 9pt; color: #000088;"><tr>
68
- <td width="50%">Second header p <span style="font-size:14pt;">{PAGENO}</span></td>
 
 
 
 
 
 
 
69
  <td width="50%" style="text-align: right;"><span style="font-weight: bold;">myHTMLHeader2</span></td>
70
  </tr></table>
71
  </htmlpageheader>
72
 
 
 
 
 
 
 
73
 
74
 
75
  <!-- set the headers/footers - they will occur from here on in the document -->
76
 
77
- <sethtmlpageheader name="myHTMLHeader1" value="on" show-this-page="1" />
78
-
79
 
80
  <div>
81
- <img src="<?php echo PDF_PLUGIN_DIR; ?>/resources/images/gravityformspdfextended.jpg" width="311" height="110" />
82
  <h2>Advanced Headers</h2>
83
 
84
  <p>Nulla felis erat, imperdiet eu, ullamcorper non, nonummy quis, elit. Suspendisse potenti. Ut a eros at ligula vehicula pretium. Maecenas feugiat pede vel risus. Nulla et lectus. Fusce eleifend neque sit amet erat. Integer consectetuer nulla non orci. Morbi feugiat pulvinar dolor. Cras odio. Donec mattis, nisi id euismod auctor, neque metus pellentesque risus, at eleifend lacus sapien et risus. Phasellus metus. Phasellus feugiat, lectus ac aliquam molestie, leo lacus tincidunt turpis, vel aliquam quam odio et sapien. Mauris ante pede, auctor ac, suscipit quis, malesuada sed, nulla. Integer sit amet odio sit amet lectus luctus euismod. Donec et nulla. Sed quis orci. </p>
@@ -88,9 +107,7 @@ $form = RGFormsModel::get_form_meta($form_id);
88
  <p>Nulla felis erat, imperdiet eu, ullamcorper non, nonummy quis, elit. Suspendisse potenti. Ut a eros at ligula vehicula pretium. Maecenas feugiat pede vel risus. Nulla et lectus. Fusce eleifend neque sit amet erat. Integer consectetuer nulla non orci. Morbi feugiat pulvinar dolor. Cras odio. Donec mattis, nisi id euismod auctor, neque metus pellentesque risus, at eleifend lacus sapien et risus. Phasellus metus. Phasellus feugiat, lectus ac aliquam molestie, leo lacus tincidunt turpis, vel aliquam quam odio et sapien. Mauris ante pede, auctor ac, suscipit quis, malesuada sed, nulla. Integer sit amet odio sit amet lectus luctus euismod. Donec et nulla. Sed quis orci. </p>
89
 
90
  <!-- Note the html_ prefix when referencing an HTML header using one of the pagebreaks -->
91
- <pagebreak />
92
-
93
- <sethtmlpageheader name="myHTMLHeader2" value="on" show-this-page="1" />
94
 
95
  <h2>Advanced Headers</h2>
96
  <p>Nulla felis erat, imperdiet eu, ullamcorper non, nonummy quis, elit. Suspendisse potenti. Ut a eros at ligula vehicula pretium. Maecenas feugiat pede vel risus. Nulla et lectus. Fusce eleifend neque sit amet erat. Integer consectetuer nulla non orci. Morbi feugiat pulvinar dolor. Cras odio. Donec mattis, nisi id euismod auctor, neque metus pellentesque risus, at eleifend lacus sapien et risus. Phasellus metus. Phasellus feugiat, lectus ac aliquam molestie, leo lacus tincidunt turpis, vel aliquam quam odio et sapien. Mauris ante pede, auctor ac, suscipit quis, malesuada sed, nulla. Integer sit amet odio sit amet lectus luctus euismod. Donec et nulla. Sed quis orci. </p>
@@ -106,5 +123,5 @@ $form = RGFormsModel::get_form_meta($form_id);
106
  ?>
107
 
108
  <?php } ?>
109
- </body>
110
  </html>
7
  return;
8
  }
9
 
10
+ /**
11
+ * Set up the form ID and lead ID
12
+ * Form ID and Lead ID can be set by passing it to the URL - ?fid=1&lid=10
13
+ */
14
+ PDF_Common::setup_ids();
15
+
16
  /**
17
  * Load the form data to pass to our PDF generating function
18
  */
31
  * The plugin stylesheet is overridden every update
32
  */
33
  ?>
34
+ <title>Gravity Forms PDF Extended</title>
35
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
36
  </head>
37
  <body>
51
  * Store your form fields from the $form_data array into variables here
52
  * To see your entire $form_data array, view your PDF via the admin area and add &data=1 to the url
53
  *
54
+ * For an example of accessing $form_data fields see http://gravityformspdfextended.com/documentation-v3-x-x/templates/getting-started/
55
  *
56
  * Alternatively, as of v3.4.0 you can use merge tags (except {allfields}) in your templates.
57
  * Just add merge tags to your HTML and they'll be parsed before generating the PDF.
64
 
65
  <htmlpageheader name="myHTMLHeader1">
66
  <table width="100%" style="border-bottom: 1px solid #000000; vertical-align: bottom; font-family: serif; font-size: 9pt; color: #000088;"><tr>
67
+ <td width="50%">Left header p <span style="font-size:14pt;">{PAGENO}</span></td>
68
  <td width="50%" style="text-align: right;"><span style="font-weight: bold;">myHTMLHeader1</span></td>
69
  </tr></table>
70
  </htmlpageheader>
71
 
72
+ <htmlpageheader name="myHTMLHeader1Even">
73
  <table width="100%" style="border-bottom: 1px solid #000000; vertical-align: bottom; font-family: serif; font-size: 9pt; color: #000088;"><tr>
74
+ <td width="50%"><span style="font-weight: bold;">myHTMLHeader1Even</span></td>
75
+ <td width="50%" style="text-align: right;">Inner header p <span style="font-size:14pt;">{PAGENO}</span></td>
76
+ </tr></table>
77
+ </htmlpageheader>
78
+
79
+ <htmlpageheader name="myHTMLHeader2">
80
+ <table width="100%" style="border-bottom: 1px solid #880000; vertical-align: bottom; font-family: sans; font-size: 9pt; color: #880000;"><tr>
81
+ <td width="50%">myHTMLHeader2 p.<span style="font-size:14pt;">{PAGENO}</span></td>
82
  <td width="50%" style="text-align: right;"><span style="font-weight: bold;">myHTMLHeader2</span></td>
83
  </tr></table>
84
  </htmlpageheader>
85
 
86
+ <htmlpageheader name="myHTMLHeader2Even">
87
+ <table width="100%" style="border-bottom: 1px solid #880000; vertical-align: bottom; font-family: sans; font-size: 9pt; color: #880000;"><tr>
88
+ <td width="50%"><span style="font-weight: bold;">myHTMLHeader2Even</span></td>
89
+ <td width="50%" style="text-align: right;">Inner header p <span style="font-size:14pt;">{PAGENO}</span></td>
90
+ </tr></table>
91
+ </htmlpageheader>
92
 
93
 
94
  <!-- set the headers/footers - they will occur from here on in the document -->
95
 
96
+ <sethtmlpageheader name="myHTMLHeader1" page="O" value="on" show-this-page="1" />
97
+ <sethtmlpageheader name="myHTMLHeader1Even" page="E" value="on" />
98
 
99
  <div>
100
+ <img src="<?php echo PDF_PLUGIN_DIR; ?>/resources/images/gravityformspdfextended.jpg" width="311" height="110" />
101
  <h2>Advanced Headers</h2>
102
 
103
  <p>Nulla felis erat, imperdiet eu, ullamcorper non, nonummy quis, elit. Suspendisse potenti. Ut a eros at ligula vehicula pretium. Maecenas feugiat pede vel risus. Nulla et lectus. Fusce eleifend neque sit amet erat. Integer consectetuer nulla non orci. Morbi feugiat pulvinar dolor. Cras odio. Donec mattis, nisi id euismod auctor, neque metus pellentesque risus, at eleifend lacus sapien et risus. Phasellus metus. Phasellus feugiat, lectus ac aliquam molestie, leo lacus tincidunt turpis, vel aliquam quam odio et sapien. Mauris ante pede, auctor ac, suscipit quis, malesuada sed, nulla. Integer sit amet odio sit amet lectus luctus euismod. Donec et nulla. Sed quis orci. </p>
107
  <p>Nulla felis erat, imperdiet eu, ullamcorper non, nonummy quis, elit. Suspendisse potenti. Ut a eros at ligula vehicula pretium. Maecenas feugiat pede vel risus. Nulla et lectus. Fusce eleifend neque sit amet erat. Integer consectetuer nulla non orci. Morbi feugiat pulvinar dolor. Cras odio. Donec mattis, nisi id euismod auctor, neque metus pellentesque risus, at eleifend lacus sapien et risus. Phasellus metus. Phasellus feugiat, lectus ac aliquam molestie, leo lacus tincidunt turpis, vel aliquam quam odio et sapien. Mauris ante pede, auctor ac, suscipit quis, malesuada sed, nulla. Integer sit amet odio sit amet lectus luctus euismod. Donec et nulla. Sed quis orci. </p>
108
 
109
  <!-- Note the html_ prefix when referencing an HTML header using one of the pagebreaks -->
110
+ <pagebreak odd-header-name="html_myHTMLHeader2" odd-header-value="1" even-header-name="html_myHTMLHeader2Even" even-header-value="1" />
 
 
111
 
112
  <h2>Advanced Headers</h2>
113
  <p>Nulla felis erat, imperdiet eu, ullamcorper non, nonummy quis, elit. Suspendisse potenti. Ut a eros at ligula vehicula pretium. Maecenas feugiat pede vel risus. Nulla et lectus. Fusce eleifend neque sit amet erat. Integer consectetuer nulla non orci. Morbi feugiat pulvinar dolor. Cras odio. Donec mattis, nisi id euismod auctor, neque metus pellentesque risus, at eleifend lacus sapien et risus. Phasellus metus. Phasellus feugiat, lectus ac aliquam molestie, leo lacus tincidunt turpis, vel aliquam quam odio et sapien. Mauris ante pede, auctor ac, suscipit quis, malesuada sed, nulla. Integer sit amet odio sit amet lectus luctus euismod. Donec et nulla. Sed quis orci. </p>
123
  ?>
124
 
125
  <?php } ?>
126
+ </body>
127
  </html>
initialisation/templates/example-backgrounds-and-borders02.php CHANGED
@@ -7,6 +7,12 @@ if(!class_exists("RGForms")){
7
  return;
8
  }
9
 
 
 
 
 
 
 
10
  /**
11
  * Load the form data to pass to our PDF generating function
12
  */
@@ -25,7 +31,7 @@ $form = RGFormsModel::get_form_meta($form_id);
25
  * The plugin stylesheet is overridden every update
26
  */
27
  ?>
28
- <title>Gravity PDF</title>
29
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
30
 
31
  <style>
@@ -88,7 +94,7 @@ $form = RGFormsModel::get_form_meta($form_id);
88
  * Store your form fields from the $form_data array into variables here
89
  * To see your entire $form_data array, view your PDF via the admin area and add &data=1 to the url
90
  *
91
- * For an example of accessing $form_data fields see https://developer.gravitypdf.com/documentation/custom-templates-introduction/
92
  *
93
  * Alternatively, as of v3.4.0 you can use merge tags (except {allfields}) in your templates.
94
  * Just add merge tags to your HTML and they'll be parsed before generating the PDF.
7
  return;
8
  }
9
 
10
+ /**
11
+ * Set up the form ID and lead ID
12
+ * Form ID and Lead ID can be set by passing it to the URL - ?fid=1&lid=10
13
+ */
14
+ PDF_Common::setup_ids();
15
+
16
  /**
17
  * Load the form data to pass to our PDF generating function
18
  */
31
  * The plugin stylesheet is overridden every update
32
  */
33
  ?>
34
+ <title>Gravity Forms PDF Extended</title>
35
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
36
 
37
  <style>
94
  * Store your form fields from the $form_data array into variables here
95
  * To see your entire $form_data array, view your PDF via the admin area and add &data=1 to the url
96
  *
97
+ * For an example of accessing $form_data fields see http://gravityformspdfextended.com/documentation-v3-x-x/templates/getting-started/
98
  *
99
  * Alternatively, as of v3.4.0 you can use merge tags (except {allfields}) in your templates.
100
  * Just add merge tags to your HTML and they'll be parsed before generating the PDF.
initialisation/templates/example-basic-html01.php CHANGED
@@ -7,6 +7,12 @@ if(!class_exists("RGForms")){
7
  return;
8
  }
9
 
 
 
 
 
 
 
10
  /**
11
  * Load the form data to pass to our PDF generating function
12
  */
@@ -25,7 +31,7 @@ $form = RGFormsModel::get_form_meta($form_id);
25
  * The plugin stylesheet is overridden every update
26
  */
27
  ?>
28
- <title>Gravity PDF</title>
29
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
30
  </head>
31
  <body>
@@ -46,7 +52,7 @@ $form = RGFormsModel::get_form_meta($form_id);
46
  * Store your form fields from the $form_data array into variables here
47
  * To see your entire $form_data array, view your PDF via the admin area and add &data=1 to the url
48
  *
49
- * For an example of accessing $form_data fields see https://developer.gravitypdf.com/documentation/custom-templates-introduction/
50
  *
51
  * Alternatively, as of v3.4.0 you can use merge tags (except {allfields}) in your templates.
52
  * Just add merge tags to your HTML and they'll be parsed before generating the PDF.
@@ -75,7 +81,7 @@ $form = RGFormsModel::get_form_meta($form_id);
75
  Vestibulum elit. Vestibulum et arcu at diam mattis commodo. Nam ipsum sem,
76
  ultricies at, rutrum sit amet, posuere nec, velit. Sed molestie mollis dui.</pre>
77
  <div><a href="#top">Hyperlink (&lt;a&gt;)</a></div>
78
- <div><a href="https://gravitypdf.com">Hyperlink (&lt;a&gt;)</a></div>
79
  <div>Styles - <tt>tt(teletype)</tt> <i>italic</i> <b>bold</b> <big>big</big> <small>small</small> <em>emphasis</em> <strong>strong</strong> <br />new lines<br>
80
  <code>code</code> <samp>sample</samp> <kbd>keyboard</kbd> <var>variable</var> <cite>citation</cite> <abbr>abbr.</abbr> <acronym>ACRONYM</acronym> <sup>sup</sup> <sub>sub</sub> <strike>strike</strike> <s>strike-s</s> <u>underline</u> <del>delete</del> <ins>insert</ins> <q>To be or not to be</q> <font face="sans-serif" color="#880000" size="5">font changing face, size and color</font>
81
  </div>
7
  return;
8
  }
9
 
10
+ /**
11
+ * Set up the form ID and lead ID
12
+ * Form ID and Lead ID can be set by passing it to the URL - ?fid=1&lid=10
13
+ */
14
+ PDF_Common::setup_ids();
15
+
16
  /**
17
  * Load the form data to pass to our PDF generating function
18
  */
31
  * The plugin stylesheet is overridden every update
32
  */
33
  ?>
34
+ <title>Gravity Forms PDF Extended</title>
35
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
36
  </head>
37
  <body>
52
  * Store your form fields from the $form_data array into variables here
53
  * To see your entire $form_data array, view your PDF via the admin area and add &data=1 to the url
54
  *
55
+ * For an example of accessing $form_data fields see http://gravityformspdfextended.com/documentation-v3-x-x/templates/getting-started/
56
  *
57
  * Alternatively, as of v3.4.0 you can use merge tags (except {allfields}) in your templates.
58
  * Just add merge tags to your HTML and they'll be parsed before generating the PDF.
81
  Vestibulum elit. Vestibulum et arcu at diam mattis commodo. Nam ipsum sem,
82
  ultricies at, rutrum sit amet, posuere nec, velit. Sed molestie mollis dui.</pre>
83
  <div><a href="#top">Hyperlink (&lt;a&gt;)</a></div>
84
+ <div><a href="http://www.gravityformspdfextended.com">Hyperlink (&lt;a&gt;)</a></div>
85
  <div>Styles - <tt>tt(teletype)</tt> <i>italic</i> <b>bold</b> <big>big</big> <small>small</small> <em>emphasis</em> <strong>strong</strong> <br />new lines<br>
86
  <code>code</code> <samp>sample</samp> <kbd>keyboard</kbd> <var>variable</var> <cite>citation</cite> <abbr>abbr.</abbr> <acronym>ACRONYM</acronym> <sup>sup</sup> <sub>sub</sub> <strike>strike</strike> <s>strike-s</s> <u>underline</u> <del>delete</del> <ins>insert</ins> <q>To be or not to be</q> <font face="sans-serif" color="#880000" size="5">font changing face, size and color</font>
87
  </div>
initialisation/templates/example-different-page-size_08.php CHANGED
@@ -7,6 +7,12 @@ if(!class_exists("RGForms")){
7
  return;
8
  }
9
 
 
 
 
 
 
 
10
  /**
11
  * Load the form data to pass to our PDF generating function
12
  */
@@ -25,7 +31,7 @@ $form = RGFormsModel::get_form_meta($form_id);
25
  * The plugin stylesheet is overridden every update
26
  */
27
  ?>
28
- <title>Gravity PDF</title>
29
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
30
  </head>
31
  <body>
@@ -45,7 +51,7 @@ $form = RGFormsModel::get_form_meta($form_id);
45
  * Store your form fields from the $form_data array into variables here
46
  * To see your entire $form_data array, view your PDF via the admin area and add &data=1 to the url
47
  *
48
- * For an example of accessing $form_data fields see https://developer.gravitypdf.com/documentation/custom-templates-introduction/
49
  *
50
  * Alternatively, as of v3.4.0 you can use merge tags (except {allfields}) in your templates.
51
  * Just add merge tags to your HTML and they'll be parsed before generating the PDF.
@@ -58,7 +64,7 @@ $form = RGFormsModel::get_form_meta($form_id);
58
  /*
59
  * The initial page size is set using the 'page_size' configuration option
60
  * The default is A4 Portrait
61
- * See Configuration page for more details on page_size : https://developer.gravitypdf.com/documentation/configuration-options-examples/
62
  */
63
  ?>
64
 
7
  return;
8
  }
9
 
10
+ /**
11
+ * Set up the form ID and lead ID
12
+ * Form ID and Lead ID can be set by passing it to the URL - ?fid=1&lid=10
13
+ */
14
+ PDF_Common::setup_ids();
15
+
16
  /**
17
  * Load the form data to pass to our PDF generating function
18
  */
31
  * The plugin stylesheet is overridden every update
32
  */
33
  ?>
34
+ <title>Gravity Forms PDF Extended</title>
35
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
36
  </head>
37
  <body>
51
  * Store your form fields from the $form_data array into variables here
52
  * To see your entire $form_data array, view your PDF via the admin area and add &data=1 to the url
53
  *
54
+ * For an example of accessing $form_data fields see http://gravityformspdfextended.com/documentation-v3-x-x/templates/getting-started/
55
  *
56
  * Alternatively, as of v3.4.0 you can use merge tags (except {allfields}) in your templates.
57
  * Just add merge tags to your HTML and they'll be parsed before generating the PDF.
64
  /*
65
  * The initial page size is set using the 'page_size' configuration option
66
  * The default is A4 Portrait
67
+ * See Configuration page for more details on page_size : http://gravityformspdfextended.com/documentation-v3-x-x/configuration-options-examples/
68
  */
69
  ?>
70
 
initialisation/templates/example-float-and-positioning05.php CHANGED
@@ -7,6 +7,12 @@ if(!class_exists("RGForms")){
7
  return;
8
  }
9
 
 
 
 
 
 
 
10
  /**
11
  * Load the form data to pass to our PDF generating function
12
  */
@@ -25,7 +31,7 @@ $form = RGFormsModel::get_form_meta($form_id);
25
  * The plugin stylesheet is overridden every update
26
  */
27
  ?>
28
- <title>Gravity PDF</title>
29
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
30
  <style>
31
  .gradient {
@@ -91,7 +97,7 @@ $form = RGFormsModel::get_form_meta($form_id);
91
  * Store your form fields from the $form_data array into variables here
92
  * To see your entire $form_data array, view your PDF via the admin area and add &data=1 to the url
93
  *
94
- * For an example of accessing $form_data fields see https://developer.gravitypdf.com/documentation/custom-templates-introduction/
95
  *
96
  * Alternatively, as of v3.4.0 you can use merge tags (except {allfields}) in your templates.
97
  * Just add merge tags to your HTML and they'll be parsed before generating the PDF.
7
  return;
8
  }
9
 
10
+ /**
11
+ * Set up the form ID and lead ID
12
+ * Form ID and Lead ID can be set by passing it to the URL - ?fid=1&lid=10
13
+ */
14
+ PDF_Common::setup_ids();
15
+
16
  /**
17
  * Load the form data to pass to our PDF generating function
18
  */
31
  * The plugin stylesheet is overridden every update
32
  */
33
  ?>
34
+ <title>Gravity Forms PDF Extended</title>
35
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
36
  <style>
37
  .gradient {
97
  * Store your form fields from the $form_data array into variables here
98
  * To see your entire $form_data array, view your PDF via the admin area and add &data=1 to the url
99
  *
100
+ * For an example of accessing $form_data fields see http://gravityformspdfextended.com/documentation-v3-x-x/templates/getting-started/
101
  *
102
  * Alternatively, as of v3.4.0 you can use merge tags (except {allfields}) in your templates.
103
  * Just add merge tags to your HTML and they'll be parsed before generating the PDF.
initialisation/templates/example-header-and-footer_06.php CHANGED
@@ -7,6 +7,12 @@ if(!class_exists("RGForms")){
7
  return;
8
  }
9
 
 
 
 
 
 
 
10
  /**
11
  * Load the form data to pass to our PDF generating function
12
  */
@@ -25,7 +31,7 @@ $form = RGFormsModel::get_form_meta($form_id);
25
  * The plugin stylesheet is overridden every update
26
  */
27
  ?>
28
- <title>Gravity PDF</title>
29
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
30
 
31
  <?php
@@ -60,7 +66,7 @@ $form = RGFormsModel::get_form_meta($form_id);
60
  * Store your form fields from the $form_data array into variables here
61
  * To see your entire $form_data array, view your PDF via the admin area and add &data=1 to the url
62
  *
63
- * For an example of accessing $form_data fields see https://developer.gravitypdf.com/documentation/custom-templates-introduction/
64
  *
65
  * Alternatively, as of v3.4.0 you can use merge tags (except {allfields}) in your templates.
66
  * Just add merge tags to your HTML and they'll be parsed before generating the PDF.
@@ -74,7 +80,7 @@ $form = RGFormsModel::get_form_meta($form_id);
74
 
75
  <htmlpageheader name="myHTMLHeader1">
76
  <table width="100%" style="border-bottom: 1px solid #000000; vertical-align: bottom; font-family: serif; font-size: 9pt; color: #000088;"><tr>
77
- <td width="50%">Main Header p <span style="font-size:14pt;">{PAGENO}</span></td>
78
  <td width="50%" style="text-align: right;"><span style="font-weight: bold;">myHTMLHeader1</span></td>
79
  </tr></table>
80
  </htmlpageheader>
@@ -89,7 +95,7 @@ $form = RGFormsModel::get_form_meta($form_id);
89
  </htmlpagefooter>
90
 
91
  <div>
92
- <img src="<?php echo PDF_PLUGIN_DIR; ?>resources/images/gravityformspdfextended.jpg" width="311" height="110" />
93
  <h2>Basic Headers</h2>
94
 
95
  <p>Nulla felis erat, imperdiet eu, ullamcorper non, nonummy quis, elit. Suspendisse potenti. Ut a eros at ligula vehicula pretium. Maecenas feugiat pede vel risus. Nulla et lectus. Fusce eleifend neque sit amet erat. Integer consectetuer nulla non orci. Morbi feugiat pulvinar dolor. Cras odio. Donec mattis, nisi id euismod auctor, neque metus pellentesque risus, at eleifend lacus sapien et risus. Phasellus metus. Phasellus feugiat, lectus ac aliquam molestie, leo lacus tincidunt turpis, vel aliquam quam odio et sapien. Mauris ante pede, auctor ac, suscipit quis, malesuada sed, nulla. Integer sit amet odio sit amet lectus luctus euismod. Donec et nulla. Sed quis orci. </p>
@@ -105,5 +111,5 @@ $form = RGFormsModel::get_form_meta($form_id);
105
  </div>
106
 
107
  <?php } ?>
108
- </body>
109
  </html>
7
  return;
8
  }
9
 
10
+ /**
11
+ * Set up the form ID and lead ID
12
+ * Form ID and Lead ID can be set by passing it to the URL - ?fid=1&lid=10
13
+ */
14
+ PDF_Common::setup_ids();
15
+
16
  /**
17
  * Load the form data to pass to our PDF generating function
18
  */
31
  * The plugin stylesheet is overridden every update
32
  */
33
  ?>
34
+ <title>Gravity Forms PDF Extended</title>
35
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
36
 
37
  <?php
66
  * Store your form fields from the $form_data array into variables here
67
  * To see your entire $form_data array, view your PDF via the admin area and add &data=1 to the url
68
  *
69
+ * For an example of accessing $form_data fields see http://gravityformspdfextended.com/documentation-v3-x-x/templates/getting-started/
70
  *
71
  * Alternatively, as of v3.4.0 you can use merge tags (except {allfields}) in your templates.
72
  * Just add merge tags to your HTML and they'll be parsed before generating the PDF.
80
 
81
  <htmlpageheader name="myHTMLHeader1">
82
  <table width="100%" style="border-bottom: 1px solid #000000; vertical-align: bottom; font-family: serif; font-size: 9pt; color: #000088;"><tr>
83
+ <td width="50%">Left header p <span style="font-size:14pt;">{PAGENO}</span></td>
84
  <td width="50%" style="text-align: right;"><span style="font-weight: bold;">myHTMLHeader1</span></td>
85
  </tr></table>
86
  </htmlpageheader>
95
  </htmlpagefooter>
96
 
97
  <div>
98
+ <img src="<?php echo PDF_PLUGIN_DIR; ?>resources/images/gravityformspdfextended.jpg" width="311" height="110" />
99
  <h2>Basic Headers</h2>
100
 
101
  <p>Nulla felis erat, imperdiet eu, ullamcorper non, nonummy quis, elit. Suspendisse potenti. Ut a eros at ligula vehicula pretium. Maecenas feugiat pede vel risus. Nulla et lectus. Fusce eleifend neque sit amet erat. Integer consectetuer nulla non orci. Morbi feugiat pulvinar dolor. Cras odio. Donec mattis, nisi id euismod auctor, neque metus pellentesque risus, at eleifend lacus sapien et risus. Phasellus metus. Phasellus feugiat, lectus ac aliquam molestie, leo lacus tincidunt turpis, vel aliquam quam odio et sapien. Mauris ante pede, auctor ac, suscipit quis, malesuada sed, nulla. Integer sit amet odio sit amet lectus luctus euismod. Donec et nulla. Sed quis orci. </p>
111
  </div>
112
 
113
  <?php } ?>
114
+ </body>
115
  </html>
initialisation/templates/example-images03.php CHANGED
@@ -7,6 +7,12 @@ if(!class_exists("RGForms")){
7
  return;
8
  }
9
 
 
 
 
 
 
 
10
  /**
11
  * Load the form data to pass to our PDF generating function
12
  */
@@ -25,7 +31,7 @@ $form = RGFormsModel::get_form_meta($form_id);
25
  * The plugin stylesheet is overridden every update
26
  */
27
  ?>
28
- <title>Gravity PDF</title>
29
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
30
 
31
  <style>
@@ -51,7 +57,7 @@ $form = RGFormsModel::get_form_meta($form_id);
51
  * Store your form fields from the $form_data array into variables here
52
  * To see your entire $form_data array, view your PDF via the admin area and add &data=1 to the url
53
  *
54
- * For an example of accessing $form_data fields see https://developer.gravitypdf.com/documentation/custom-templates-introduction/
55
  *
56
  * Alternatively, as of v3.4.0 you can use merge tags (except {allfields}) in your templates.
57
  * Just add merge tags to your HTML and they'll be parsed before generating the PDF.
7
  return;
8
  }
9
 
10
+ /**
11
+ * Set up the form ID and lead ID
12
+ * Form ID and Lead ID can be set by passing it to the URL - ?fid=1&lid=10
13
+ */
14
+ PDF_Common::setup_ids();
15
+
16
  /**
17
  * Load the form data to pass to our PDF generating function
18
  */
31
  * The plugin stylesheet is overridden every update
32
  */
33
  ?>
34
+ <title>Gravity Forms PDF Extended</title>
35
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
36
 
37
  <style>
57
  * Store your form fields from the $form_data array into variables here
58
  * To see your entire $form_data array, view your PDF via the admin area and add &data=1 to the url
59
  *
60
+ * For an example of accessing $form_data fields see http://gravityformspdfextended.com/documentation-v3-x-x/templates/getting-started/
61
  *
62
  * Alternatively, as of v3.4.0 you can use merge tags (except {allfields}) in your templates.
63
  * Just add merge tags to your HTML and they'll be parsed before generating the PDF.
initialisation/templates/example-tables04.php CHANGED
@@ -7,6 +7,12 @@ if(!class_exists("RGForms")){
7
  return;
8
  }
9
 
 
 
 
 
 
 
10
  /**
11
  * Load the form data to pass to our PDF generating function
12
  */
@@ -25,7 +31,7 @@ $form = RGFormsModel::get_form_meta($form_id);
25
  * The plugin stylesheet is overridden every update
26
  */
27
  ?>
28
- <title>Gravity PDF</title>
29
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
30
 
31
  <style>
@@ -386,7 +392,7 @@ $form = RGFormsModel::get_form_meta($form_id);
386
  * Store your form fields from the $form_data array into variables here
387
  * To see your entire $form_data array, view your PDF via the admin area and add &data=1 to the url
388
  *
389
- * For an example of accessing $form_data fields see https://developer.gravitypdf.com/documentation/custom-templates-introduction/
390
  *
391
  * Alternatively, as of v3.4.0 you can use merge tags (except {allfields}) in your templates.
392
  * Just add merge tags to your HTML and they'll be parsed before generating the PDF.
7
  return;
8
  }
9
 
10
+ /**
11
+ * Set up the form ID and lead ID
12
+ * Form ID and Lead ID can be set by passing it to the URL - ?fid=1&lid=10
13
+ */
14
+ PDF_Common::setup_ids();
15
+
16
  /**
17
  * Load the form data to pass to our PDF generating function
18
  */
31
  * The plugin stylesheet is overridden every update
32
  */
33
  ?>
34
+ <title>Gravity Forms PDF Extended</title>
35
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
36
 
37
  <style>
392
  * Store your form fields from the $form_data array into variables here
393
  * To see your entire $form_data array, view your PDF via the admin area and add &data=1 to the url
394
  *
395
+ * For an example of accessing $form_data fields see http://gravityformspdfextended.com/documentation-v3-x-x/templates/getting-started/
396
  *
397
  * Alternatively, as of v3.4.0 you can use merge tags (except {allfields}) in your templates.
398
  * Just add merge tags to your HTML and they'll be parsed before generating the PDF.
initialisation/templates/example-template.php CHANGED
@@ -7,6 +7,12 @@ if(!class_exists("RGForms")){
7
  return;
8
  }
9
 
 
 
 
 
 
 
10
  /**
11
  * Load the form data to pass to our PDF generating function
12
  */
@@ -25,7 +31,7 @@ $form = RGFormsModel::get_form_meta($form_id);
25
  * The plugin stylesheet is overridden every update
26
  */
27
  ?>
28
- <title>Gravity PDF</title>
29
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
30
  </head>
31
  <body>
@@ -45,7 +51,7 @@ $form = RGFormsModel::get_form_meta($form_id);
45
  * Store your form fields from the $form_data array into variables here
46
  * To see your entire $form_data array, view your PDF via the admin area and add &data=1 to the url
47
  *
48
- * For an example of accessing $form_data fields see https://developer.gravitypdf.com/documentation/custom-templates-introduction/
49
  *
50
  * Alternatively, as of v3.4.0 you can use merge tags (except {allfields}) in your templates.
51
  * Just add merge tags to your HTML and they'll be parsed before generating the PDF.
@@ -66,26 +72,26 @@ $form = RGFormsModel::get_form_meta($form_id);
66
 
67
  <p class="whom_concern_intro">Dear User,</p>
68
 
69
- <p class="body_text">Gravity PDF allows you to directly access Gravity Form field data so you can create custom PDFs like this one.
70
- If you haven't reviewed our five part installation and configuration guide yet, we recommend <a target="_blank" href="https://developer.gravitypdf.com/documentation/getting-started-with-gravity-pdf-configuration/">taking a look</a>.
71
- There's also a <a target="_blank" href="https://developer.gravitypdf.com/documentation/configuration-options-examples/">large number of configuration options</a> that can be applied to any PDF.</p>
72
  </p>
73
 
74
  <p class="body_text">Now you've got an understanding on configuring the software, let's take a look at custom templates.
75
- To start with, you'll want to copy and rename one of the <em>example-</em> template files in your active theme's PDF_EXTENDED_TEMPLATES directory. </p>
76
 
77
  <p class="body_text">Once copied, go to your Wordpress Dashboard and navigate to Forms -> Entries and click the View PDF button on one of your entries. If you haven't assigned a custom template to the form, the default-template.php should open.
78
  If you change <em>default-template.php</em> in the URL to the new template you just made it will generate a PDF based off that file.</p>
79
  <p class="body_text">Once you have your new template file open in your browser window you can access the $form_data array (which contains all the Gravity Form entry data) by appending the URL with &amp;data=1. <strong>Note: this only works if you copied a template file with example- in the name.</strong></p>
80
  <p><strong>Example:</strong> http://www.yourdomain.com/?gf_pdf=1&amp;fid=2&amp;lid=6&amp;template=new-example-template.php&amp;data=1 </p>
81
 
82
- <p>For more information about custom templates <a target="_blank" href="https://developer.gravitypdf.com/documentation/custom-templates-introduction/">review the plugin's documentation</a><br /><br />
83
  </p>
84
  <p class="signature">
85
  Jake Jackson<br />
86
  <img src="<?php echo PDF_PLUGIN_DIR ?>resources/images/signature.png" alt="Signature" width="100" height="60" /><br />
87
- Developer, Gravity PDF<br />
88
- <a target="_blank" href="http://gravitypdf.com">gravitypdf.com</a>
89
  </p>
90
 
91
  </div>
7
  return;
8
  }
9
 
10
+ /**
11
+ * Set up the form ID and lead ID
12
+ * Form ID and Lead ID can be set by passing it to the URL - ?fid=1&lid=10
13
+ */
14
+ PDF_Common::setup_ids();
15
+
16
  /**
17
  * Load the form data to pass to our PDF generating function
18
  */
31
  * The plugin stylesheet is overridden every update
32
  */
33
  ?>
34
+ <title>Gravity Forms PDF Extended</title>
35
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
36
  </head>
37
  <body>
51
  * Store your form fields from the $form_data array into variables here
52
  * To see your entire $form_data array, view your PDF via the admin area and add &data=1 to the url
53
  *
54
+ * For an example of accessing $form_data fields see http://gravityformspdfextended.com/documentation-v3-x-x/templates/getting-started/
55
  *
56
  * Alternatively, as of v3.4.0 you can use merge tags (except {allfields}) in your templates.
57
  * Just add merge tags to your HTML and they'll be parsed before generating the PDF.
72
 
73
  <p class="whom_concern_intro">Dear User,</p>
74
 
75
+ <p class="body_text">Gravity Forms PDF Extended allows you to directly access Gravity Form field data so you can create custom PDFs like this one.
76
+ If you haven't reviewed our five part installation and configuration guide yet, we recommend <a target="_blank" href="http://gravityformspdfextended.com/documentation-v3-x-x/standard-configuration/">taking a look</a>.
77
+ There's also a <a target="_blank" href="http://gravityformspdfextended.com/documentation-v3-x-x/configuration-options-examples/">large number of configuration options</a> that can be applied to any PDF.</p>
78
  </p>
79
 
80
  <p class="body_text">Now you've got an understanding on configuring the software, let's take a look at custom templates.
81
+ To start with, you'll want to copy and rename one of the <em>example-</em> template files in your active theme's PDF_EXTENDED_TEMPLATES directory. <strong>Note: Every time the software is initialised the example templates are overridden. Don't modify them directly.</strong> </p>
82
 
83
  <p class="body_text">Once copied, go to your Wordpress Dashboard and navigate to Forms -> Entries and click the View PDF button on one of your entries. If you haven't assigned a custom template to the form, the default-template.php should open.
84
  If you change <em>default-template.php</em> in the URL to the new template you just made it will generate a PDF based off that file.</p>
85
  <p class="body_text">Once you have your new template file open in your browser window you can access the $form_data array (which contains all the Gravity Form entry data) by appending the URL with &amp;data=1. <strong>Note: this only works if you copied a template file with example- in the name.</strong></p>
86
  <p><strong>Example:</strong> http://www.yourdomain.com/?gf_pdf=1&amp;fid=2&amp;lid=6&amp;template=new-example-template.php&amp;data=1 </p>
87
 
88
+ <p>For more information about custom templates <a target="_blank" href="http://gravityformspdfextended.com/documentation-v3-x-x/templates/getting-started/">review the plugin's documentation</a><br /><br />
89
  </p>
90
  <p class="signature">
91
  Jake Jackson<br />
92
  <img src="<?php echo PDF_PLUGIN_DIR ?>resources/images/signature.png" alt="Signature" width="100" height="60" /><br />
93
+ Developer, Gravity Forms PDF Extended<br />
94
+ <a target="_blank" href="http://www.gravityformspdfextended.com">www.gravityformspdfextended.com</a>
95
  </p>
96
 
97
  </div>
initialisation/templates/example-watermark09.php CHANGED
@@ -7,6 +7,12 @@ if(!class_exists("RGForms")){
7
  return;
8
  }
9
 
 
 
 
 
 
 
10
  /**
11
  * Load the form data to pass to our PDF generating function
12
  */
@@ -25,7 +31,7 @@ $form = RGFormsModel::get_form_meta($form_id);
25
  * The plugin stylesheet is overridden every update
26
  */
27
  ?>
28
- <title>Gravity PDF</title>
29
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
30
  </head>
31
  <body>
@@ -45,7 +51,7 @@ $form = RGFormsModel::get_form_meta($form_id);
45
  * Store your form fields from the $form_data array into variables here
46
  * To see your entire $form_data array, view your PDF via the admin area and add &data=1 to the url
47
  *
48
- * For an example of accessing $form_data fields see https://developer.gravitypdf.com/documentation/custom-templates-introduction/
49
  *
50
  * Alternatively, as of v3.4.0 you can use merge tags (except {allfields}) in your templates.
51
  * Just add merge tags to your HTML and they'll be parsed before generating the PDF.
7
  return;
8
  }
9
 
10
+ /**
11
+ * Set up the form ID and lead ID
12
+ * Form ID and Lead ID can be set by passing it to the URL - ?fid=1&lid=10
13
+ */
14
+ PDF_Common::setup_ids();
15
+
16
  /**
17
  * Load the form data to pass to our PDF generating function
18
  */
31
  * The plugin stylesheet is overridden every update
32
  */
33
  ?>
34
+ <title>Gravity Forms PDF Extended</title>
35
  <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
36
  </head>
37
  <body>
51
  * Store your form fields from the $form_data array into variables here
52
  * To see your entire $form_data array, view your PDF via the admin area and add &data=1 to the url
53
  *
54
+ * For an example of accessing $form_data fields see http://gravityformspdfextended.com/documentation-v3-x-x/templates/getting-started/
55
  *
56
  * Alternatively, as of v3.4.0 you can use merge tags (except {allfields}) in your templates.
57
  * Just add merge tags to your HTML and they'll be parsed before generating the PDF.
initialisation/templates/template.css DELETED
@@ -1,156 +0,0 @@
1
-
2
- /**
3
- * The following snippet of CSS styles the default templates and the example template
4
- * The uncompressed version can be found in uncompressed-template.css in the plugin's folder
5
- * DO NO REMOVE THESE STYLES.
6
- */
7
- body {
8
- font-family:DejaVu Sans, Helvetica, sans-serif;
9
- letter-spacing: -0.2px;
10
- }
11
-
12
- #container {
13
- border-radius:4px 4px 4px 4px;
14
- border-spacing:0;
15
- clear:both;
16
- width:100%;
17
- background-color:#fff;
18
- border-color:#dfdfdf;
19
- border-style:solid;
20
- border-width:1px;
21
- margin:0 0 16px;
22
- }
23
-
24
- h2.default {
25
- background-color:#e3e3e3;
26
- font-size:14px;
27
- text-align:left;
28
- text-shadow:0 1px 0 #fff;
29
- margin:0;
30
- padding:7px;
31
- }
32
-
33
- .entry-view-field-value {
34
- border-bottom:1px solid #dfdfdf;
35
- line-height:150%;
36
- padding:6px 6px 6px 7px;
37
- }
38
-
39
- .lastrow {
40
- border-bottom: none;
41
- }
42
-
43
- .entry-view-field-value ul {
44
- margin-left:25px;
45
- }
46
-
47
- .entry-view-field-value div.strong {
48
- font-weight: bold;
49
- }
50
-
51
- .no-style .entry-view-field-value,.no-style #container, .no-style h2 {
52
- background:none;
53
- border:none;
54
- }
55
-
56
- .two_row .entry-view-field-value {
57
- border:0;
58
- line-height:normal;
59
- padding:0;
60
- }
61
-
62
- .two_row .entry-view-field-value div.strong {
63
- font-weight: bold;
64
- width:100%;
65
- border-bottom:1px solid #dfdfdf;
66
- line-height:150%;
67
- background-color:#eaf2fa;
68
- padding:6px 6px 6px 7px;
69
- }
70
-
71
- .two_row .entry-view-field-value div.value {
72
- display:block;
73
- width:100%;
74
- border-bottom:1px solid #fff;
75
- line-height:150%;
76
- padding:6px 6px 6px 7px;
77
- }
78
-
79
- .two_row .entry-view-field-value span {
80
- font-weight:normal;
81
- }
82
-
83
- td.entry-view-field-value {
84
- padding-left:9px;
85
- }
86
-
87
- .even {
88
- background:#eaf2fa;
89
- }
90
-
91
- .body_copy {
92
- padding-top:50px;
93
- }
94
-
95
- .pdf_logo_area {
96
- text-align:center;
97
- margin:0 auto;
98
- }
99
-
100
- table.entry-products th {
101
- background-color: #F4F4F4;
102
- border-bottom: 1px solid #DFDFDF;
103
- border-right: 1px solid #DFDFDF !important;
104
- }
105
-
106
- table.entry-products td.textcenter, table.entry-products th.textcenter {
107
- text-align: center;
108
- }
109
-
110
- table.entry-products col.entry-products-col2 {
111
- width: 50px;
112
- }
113
-
114
- table.entry-products col.entry-products-col3 {
115
- width: 155px;
116
- }
117
-
118
-
119
- table.entry-products col.entry-products-col4 {
120
- width: 155px;
121
- }
122
-
123
- table.entry-products {
124
- border: 1px solid #DFDFDF;
125
- margin: 10px 0;
126
- }
127
-
128
- table.entry-products td {
129
- border-bottom: 1px solid #DFDFDF;
130
- border-right: 1px solid #DFDFDF !important;
131
- padding: 7px 7px 8px;
132
- vertical-align: top;
133
- }
134
-
135
-
136
- table.entry-products td.emptycell {
137
- background-color: #F4F4F4;
138
- }
139
-
140
- table.entry-products td.grandtotal, table.entry-products td.grandtotal_amount, table.entry-products td.shipping, table.entry-products td.shipping_amount {
141
- font-size: 13px;
142
- font-weight: bold;
143
- padding-bottom: 8px;
144
- padding-top: 7px;
145
- }
146
-
147
- table.entry-products td.textright, table.entry-products th.textright {
148
- text-align: right;
149
- }
150
-
151
- .two_row .odd, .two_row .even {
152
- background: none;
153
- }
154
-
155
- /* FINISHED REQUIRED CSS */
156
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/pdfextended-en_GB.po DELETED
@@ -1,856 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Gravity PDF\n"
4
- "POT-Creation-Date: 2014-12-04 13:00+1000\n"
5
- "PO-Revision-Date: 2014-12-04 13:00+1000\n"
6
- "Last-Translator: Blue Liquid Designs <enquire@blueliquiddesigns.com.au>\n"
7
- "Language-Team: <enquire@blueliquiddesigns.com.au>\n"
8
- "Language: en\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.6.5\n"
13
- "X-Poedit-KeywordsList: __;_e\n"
14
- "X-Poedit-Basepath: /\n"
15
- "X-Poedit-SourceCharset: UTF-8\n"
16
- "X-Poedit-SearchPath-0: G:\\Blue Liquid Designs\\4) BLUE LIQUID DESIGNS\\19) "
17
- "Gravity PDF\\1) github\n"
18
-
19
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
20
- #: EXTENDED\1) github/helper/api.php:142
21
- msgid "Bad Request."
22
- msgstr ""
23
-
24
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
25
- #: EXTENDED\1) github/helper/api.php:150 github/helper/api.php:261
26
- msgid "Unauthorized Access."
27
- msgstr ""
28
-
29
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
30
- #: EXTENDED\1) github/helper/api.php:172
31
- msgid "Method not allowed."
32
- msgstr ""
33
-
34
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
35
- #: EXTENDED\1) github/helper/api.php:180
36
- msgid "Internal API Error."
37
- msgstr ""
38
-
39
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
40
- #: EXTENDED\1) github/helper/api.php:188
41
- msgid "API Unavailable."
42
- msgstr ""
43
-
44
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
45
- #: EXTENDED\1) github/helper/notices.php:54
46
- #, php-format
47
- msgid "%sGravity PDF Automated Installer%s: "
48
- msgstr ""
49
-
50
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
51
- #: EXTENDED\1) github/helper/notices.php:64
52
- #, php-format
53
- msgid " %sGo to installer%s."
54
- msgstr ""
55
-
56
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
57
- #: EXTENDED\1) github/helper/notices.php:74
58
- msgid ""
59
- "The font files have been successfully installed. A font can be used by "
60
- "adding its file name (without .ttf) in a CSS font-family declaration."
61
- msgstr ""
62
-
63
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
64
- #: EXTENDED\1) github/helper/notices.php:85
65
- msgid "Could not create font configuration file. Try initialise again."
66
- msgstr ""
67
-
68
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
69
- #: EXTENDED\1) github/helper/notices.php:101
70
- msgid ""
71
- "Gravity PDF detected a configuration problem. Please "
72
- "reinitialise the plugin."
73
- msgstr ""
74
-
75
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
76
- #: EXTENDED\1) github/helper/notices.php:105
77
- #, php-format
78
- msgid ""
79
- "Gravity PDF detected a configuration problem. Please go to "
80
- "the %splugin's settings page%s to reinitialise."
81
- msgstr ""
82
-
83
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
84
- #: EXTENDED\1) github/helper/notices.php:122
85
- msgid ""
86
- "Gravity PDF detected a server compatibility problem which "
87
- "prevented the software from running. See the System Status section below for "
88
- "details."
89
- msgstr ""
90
-
91
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
92
- #: EXTENDED\1) github/helper/notices.php:126
93
- #, php-format
94
- msgid ""
95
- "Gravity PDF detected a server compatibility problem which "
96
- "prevented the software from running. Please go to the %splugin's settings "
97
- "page%s to view the issue."
98
- msgstr ""
99
-
100
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
101
- #: EXTENDED\1) github/helper/notices.php:142
102
- msgid ""
103
- "Welcome to Gravity PDF. Before you can use the plugin "
104
- "correctly you need to initilise it."
105
- msgstr ""
106
-
107
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
108
- #: EXTENDED\1) github/helper/notices.php:146
109
- #, php-format
110
- msgid ""
111
- "Welcome to Gravity PDF. Before you can use the plugin "
112
- "correctly you need to initilise it. Please go to the %splugin's settings page"
113
- "%s to initialise."
114
- msgstr ""
115
-
116
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
117
- #: EXTENDED\1) github/helper/notices.php:158
118
- #, php-format
119
- msgid ""
120
- "Gravity PDF only works with Gravity Forms version %s and "
121
- "higher. Please %supgrade your copy of Gravity Forms%s to use this plugin."
122
- msgstr ""
123
-
124
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
125
- #: EXTENDED\1) github/helper/notices.php:174
126
- #, php-format
127
- msgid ""
128
- "We could not create a template folder in your uploads directory. Please "
129
- "ensure %s is writable by your web server and try again."
130
- msgstr ""
131
-
132
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
133
- #: EXTENDED\1) github/helper/notices.php:189
134
- #, php-format
135
- msgid ""
136
- "We could not create a site folder in your uploads/%s directory. Please "
137
- "ensure %s is writable by your web server and try again."
138
- msgstr ""
139
-
140
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
141
- #: EXTENDED\1) github/helper/notices.php:202
142
- #, php-format
143
- msgid ""
144
- "We could not remove the default template files from %s in your uploads "
145
- "directory. Please ensure %s is wriable by your web server and try again."
146
- msgstr ""
147
-
148
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
149
- #: EXTENDED\1) github/helper/notices.php:215
150
- #, php-format
151
- msgid ""
152
- "We could not move the template files to the %s folder. Please ensure %s is "
153
- "wriable by your web server and try again."
154
- msgstr ""
155
-
156
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
157
- #: EXTENDED\1) github/helper/notices.php:233
158
- #, php-format
159
- msgid ""
160
- "Gravity PDF directory structure has been changed. %sMigrate "
161
- "Now%s %sUnsure what this means?%s"
162
- msgstr ""
163
-
164
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
165
- #: EXTENDED\1) github/helper/notices.php:242
166
- #, php-format
167
- msgid "%sGravity PDF Automated Template Migration:%s"
168
- msgstr ""
169
-
170
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
171
- #: EXTENDED\1) github/helper/notices.php:244
172
- #, php-format
173
- msgid ""
174
- "Your PDF template folder structure was successfully migrated to %s. %sUnsure "
175
- "what this means?%s"
176
- msgstr ""
177
-
178
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
179
- #: EXTENDED\1) github/helper/notices.php:256
180
- msgid ""
181
- "Gravity PDF Auto Initialisation Complete across the entire "
182
- "network."
183
- msgstr ""
184
-
185
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
186
- #: EXTENDED\1) github/helper/notices.php:260
187
- msgid ""
188
- "Gravity PDF Initialisation Complete across the entire network."
189
- msgstr ""
190
-
191
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
192
- #: EXTENDED\1) github/helper/notices.php:265 github/helper/notices.php:277
193
- #, php-format
194
- msgid "%sLearn how to configuring the plugin%s."
195
- msgstr ""
196
-
197
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
198
- #: EXTENDED\1) github/helper/notices.php:273
199
- msgid "Gravity PDF Auto Initialisation Complete."
200
- msgstr ""
201
-
202
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
203
- #: EXTENDED\1) github/helper/notices.php:291
204
- msgid ""
205
- "There was a problem merging the PDF templates folder on the following sites;"
206
- msgstr ""
207
-
208
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
209
- #: EXTENDED\1) github/helper/notices.php:304
210
- msgid ""
211
- "Follow the site links above and try run the PDF template merging function "
212
- "again, or reinitialise the software."
213
- msgstr ""
214
-
215
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
216
- #: EXTENDED\1) github/helper/notices.php:308
217
- msgid ""
218
- "An unknown error occured while merging the PDF template folders. Please try "
219
- "again."
220
- msgstr ""
221
-
222
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
223
- #: EXTENDED\1) github/helper/notices.php:323
224
- msgid "There was a network initialisation issue on the following sites;"
225
- msgstr ""
226
-
227
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
228
- #: EXTENDED\1) github/helper/notices.php:336
229
- msgid "Please try manually initialise the software"
230
- msgstr ""
231
-
232
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
233
- #: EXTENDED\1) github/helper/notices.php:340
234
- msgid ""
235
- "An unknown network initialisation error occured. Please try initialise again."
236
- msgstr ""
237
-
238
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
239
- #: EXTENDED\1) github/helper/notices.php:347
240
- msgid "You've successfully initialised Gravity PDF."
241
- msgstr ""
242
-
243
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
244
- #: EXTENDED\1) github/helper/notices.php:354
245
- #: github/view/templates/settings/system-status.php:34
246
- #: github/view/templates/settings/system-status.php:41
247
- msgid "Gravity Forms "
248
- msgstr ""
249
-
250
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
251
- #: EXTENDED\1) github/helper/notices.php:360
252
- msgid "Wordpress "
253
- msgstr ""
254
-
255
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
256
- #: EXTENDED\1) github/helper/notices.php:366
257
- msgid "PHP "
258
- msgstr ""
259
-
260
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
261
- #: EXTENDED\1) github/helper/notices.php:372
262
- #, php-format
263
- msgid ""
264
- "If you reinitialise and enable this option %syou will overwrite%s the "
265
- "default and example template files in your active theme directory."
266
- msgstr ""
267
-
268
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
269
- #: EXTENDED\1) github/helper/pdf-entry-detail.php:255
270
- msgid "Order"
271
- msgstr ""
272
-
273
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
274
- #: EXTENDED\1) github/helper/pdf-entry-detail.php:266
275
- msgid "Product"
276
- msgstr ""
277
-
278
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
279
- #: EXTENDED\1) github/helper/pdf-entry-detail.php:267
280
- msgid "Qty"
281
- msgstr ""
282
-
283
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
284
- #: EXTENDED\1) github/helper/pdf-entry-detail.php:268
285
- msgid "Unit Price"
286
- msgstr ""
287
-
288
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
289
- #: EXTENDED\1) github/helper/pdf-entry-detail.php:269
290
- msgid "Price"
291
- msgstr ""
292
-
293
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
294
- #: EXTENDED\1) github/helper/pdf-entry-detail.php:332
295
- msgid "Total"
296
- msgstr ""
297
-
298
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
299
- #: EXTENDED\1) github/helper/pdf-entry-detail.php:940
300
- msgid ""
301
- "Activate Gravity Forms Quiz Add On to see global quiz statistics for this "
302
- "form"
303
- msgstr ""
304
-
305
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
306
- #: EXTENDED\1) github/helper/pdf-entry-detail.php:1371
307
- #: github/helper/pdf-entry-detail.php:1746
308
- msgid "Qty: "
309
- msgstr ""
310
-
311
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
312
- #: EXTENDED\1) github/helper/pdf-entry-detail.php:1371
313
- #: github/helper/pdf-entry-detail.php:1746
314
- msgid "Price: "
315
- msgstr ""
316
-
317
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
318
- #: EXTENDED\1) github/helper/pdf-entry-detail.php:1680
319
- msgid "Title"
320
- msgstr ""
321
-
322
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
323
- #: EXTENDED\1) github/helper/pdf-entry-detail.php:1681
324
- msgid "Caption"
325
- msgstr ""
326
-
327
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
328
- #: EXTENDED\1) github/helper/pdf-entry-detail.php:1682
329
- msgid "Description"
330
- msgstr ""
331
-
332
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
333
- #: EXTENDED\1) github/helper/pdf-entry-detail.php:1687
334
- #: github/helper/pdf-entry-detail.php:1706
335
- msgid "Click to view"
336
- msgstr ""
337
-
338
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
339
- #: EXTENDED\1) github/model/pdf.php:142
340
- msgid "View"
341
- msgstr ""
342
-
343
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
344
- #: EXTENDED\1) github/model/pdf.php:143
345
- msgid "Download"
346
- msgstr ""
347
-
348
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
349
- #: EXTENDED\1) github/model/pdf.php:199
350
- msgid "View PDFs"
351
- msgstr ""
352
-
353
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
354
- #: EXTENDED\1) github/model/pdf.php:234
355
- msgid "View PDF"
356
- msgstr ""
357
-
358
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
359
- #: EXTENDED\1) github/model/pdf.php:321
360
- msgid "Access Denied"
361
- msgstr ""
362
-
363
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
364
- #: EXTENDED\1) github/model/settings.php:359
365
- msgid "Plugin not yet initialised"
366
- msgstr ""
367
-
368
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
369
- #: EXTENDED\1) github/model/settings.php:414
370
- msgid ""
371
- "There was a problem with your submission. Please reload the page and try "
372
- "again"
373
- msgstr ""
374
-
375
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
376
- #: EXTENDED\1) github/model/settings.php:431
377
- msgid "Please enter a valid email address"
378
- msgstr ""
379
-
380
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
381
- #: EXTENDED\1) github/model/settings.php:434
382
- msgid "Problem"
383
- msgstr ""
384
-
385
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
386
- #: EXTENDED\1) github/model/settings.php:434
387
- msgid "Question"
388
- msgstr ""
389
-
390
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
391
- #: EXTENDED\1) github/model/settings.php:434
392
- msgid "Suggestion"
393
- msgstr ""
394
-
395
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
396
- #: EXTENDED\1) github/model/settings.php:438
397
- msgid "Please select a valid support type."
398
- msgstr ""
399
-
400
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
401
- #: EXTENDED\1) github/model/settings.php:443
402
- msgid ""
403
- "Please enter information about your support query so we can aid you more "
404
- "easily."
405
- msgstr ""
406
-
407
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
408
- #: EXTENDED\1) github/model/settings.php:448
409
- msgid ""
410
- "There is a problem with your support request. Please correct the marked "
411
- "issues above."
412
- msgstr ""
413
-
414
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
415
- #: EXTENDED\1) github/model/settings.php:458
416
- msgid ""
417
- "Thank you for your support request. We'll respond to your request in the "
418
- "next 24-48 hours."
419
- msgstr ""
420
-
421
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
422
- #: EXTENDED\1) github/model/settings.php:516
423
- msgid "Support request received. We will responed in 24 to 48 hours."
424
- msgstr ""
425
-
426
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
427
- #: EXTENDED\1) github/view/templates/settings/changelog.php:19
428
- msgid "Changelog"
429
- msgstr ""
430
-
431
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
432
- #: EXTENDED\1) github/view/templates/settings/initialisation-tab.php:41
433
- msgid "Gravity PDF"
434
- msgstr ""
435
-
436
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
437
- #: EXTENDED\1) github/view/templates/settings/initialisation-tab.php:42
438
- msgid ""
439
- "Your web server isn't compatible with Gravity PDF. Please see "
440
- "the problem areas below."
441
- msgstr ""
442
-
443
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
444
- #: EXTENDED\1) github/view/templates/settings/initialisation-tab.php:52
445
- msgid "Can't Resolve the Issue?"
446
- msgstr ""
447
-
448
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
449
- #: EXTENDED\1) github/view/templates/settings/initialisation-tab.php:53
450
- #, php-format
451
- msgid ""
452
- "Does Gravity PDF detect a problem that your web host won't "
453
- "fix? %sWe recommend you move to a quality web hosting service like WP Engine"
454
- "%s which runs our software straight out of the box."
455
- msgstr ""
456
-
457
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
458
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:19
459
- msgid "Welcome to Gravity PDF"
460
- msgstr ""
461
-
462
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
463
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:19
464
- #: github/view/templates/settings/initialisation.php:66
465
- msgid "Initialise Plugin"
466
- msgstr ""
467
-
468
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
469
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:23
470
- msgid ""
471
- "The plugin has successfully installed and is ready to start automating your "
472
- "documents."
473
- msgstr ""
474
-
475
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
476
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:25
477
- msgid "What's next?"
478
- msgstr ""
479
-
480
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
481
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:26
482
- msgid ""
483
- "The next step is to correctly configured the plugin so that you can generate "
484
- "PDF documents."
485
- msgstr ""
486
-
487
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
488
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:27
489
- msgid ""
490
- "To help you get started, we've put together a five-part video series with "
491
- "the most common plugin configurations."
492
- msgstr ""
493
-
494
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
495
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:29
496
- msgid "The Basics: Only Download PDF through the Admin Area"
497
- msgstr ""
498
-
499
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
500
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:30
501
- msgid "The Email: Send Completed PDF via Email"
502
- msgstr ""
503
-
504
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
505
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:31
506
- msgid ""
507
- "The Download: User Downloads PDF after Submitting Form (using a link or auto "
508
- "redirecting)"
509
- msgstr ""
510
-
511
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
512
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:32
513
- msgid "The Email Advanced: Manually Review User Submission before Emailing PDF"
514
- msgstr ""
515
-
516
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
517
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:33
518
- msgid "The Payment: Send PDF after Capturing Payment using Paypal Standard"
519
- msgstr ""
520
-
521
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
522
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:36
523
- #, php-format
524
- msgid ""
525
- "If you know little about PHP we recommend starting with %sPart 1:The Basics"
526
- "%s and then watching the tutorial you’re interested in. It will give you the "
527
- "foundational skills you need to configure the software."
528
- msgstr ""
529
-
530
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
531
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:38
532
- msgid "Custom Templates"
533
- msgstr ""
534
-
535
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
536
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:39
537
- #, php-format
538
- msgid ""
539
- "Creating a custom template gives you ultimate control of the look and feel "
540
- "of your documents using only HTML and CSS. %sWe recommend you review our "
541
- "online documentation%s to create and customise your template files."
542
- msgstr ""
543
-
544
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
545
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:45
546
- msgid ""
547
- "To complete the installation, Gravity PDF needs to be "
548
- "initialised."
549
- msgstr ""
550
-
551
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
552
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:47
553
- msgid "What does initialisation do?"
554
- msgstr ""
555
-
556
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
557
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:50
558
- msgid "Install the template files"
559
- msgstr ""
560
-
561
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
562
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:50
563
- msgid ""
564
- "We create a folder called PDF_EXTENDED_TEMPLATE in your active theme "
565
- "directory and move over all the templates and configuration files. This "
566
- "folder is where you'll look to configure the software and create your PDF "
567
- "templates."
568
- msgstr ""
569
-
570
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
571
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:62
572
- msgid "Have a problem with the software?"
573
- msgstr ""
574
-
575
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
576
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:63
577
- msgid ""
578
- "Did you switch themes and something went wrong syncing the template folder? "
579
- "Try reinitialise the software."
580
- msgstr ""
581
-
582
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
583
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:66
584
- msgid "Reinitialise Plugin"
585
- msgstr ""
586
-
587
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
588
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:68
589
- msgid "Reinstall Default and Example Templates"
590
- msgstr ""
591
-
592
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
593
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:74
594
- msgid "Install a new font?"
595
- msgstr ""
596
-
597
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
598
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:75
599
- #, php-format
600
- msgid ""
601
- "Do you want to use a custom font in your template? %sSee our documentation "
602
- "on how to correctly install and use a custom font%s before initialising "
603
- "below."
604
- msgstr ""
605
-
606
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
607
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:76
608
- msgid "Initialise Fonts"
609
- msgstr ""
610
-
611
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
612
- #: EXTENDED\1) github/view/templates/settings/support-form.php:26
613
- msgid ""
614
- "Gravity PDF's support hours are from 9:00am-5:00pm Monday to "
615
- "Friday, Sydney Australia time."
616
- msgstr ""
617
-
618
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
619
- #: EXTENDED\1) github/view/templates/settings/support-form.php:29
620
- #, php-format
621
- msgid "The current time in Sydney Australia is %s."
622
- msgstr ""
623
-
624
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
625
- #: EXTENDED\1) github/view/templates/settings/support-form.php:55
626
- msgid "Enter the email address you want us to contact you on."
627
- msgstr ""
628
-
629
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
630
- #: EXTENDED\1) github/view/templates/settings/support-form.php:56
631
- msgid ""
632
- "Note: To ensure the best support possible, please use the above email to "
633
- "respond to all support communications."
634
- msgstr ""
635
-
636
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
637
- #: EXTENDED\1) github/view/templates/settings/support-form.php:92
638
- msgid "Enter as much detail about the problem as you can."
639
- msgstr ""
640
-
641
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
642
- #: EXTENDED\1) github/view/templates/settings/support-form.php:93
643
- msgid "Please enter as much detail about the problem as you can."
644
- msgstr ""
645
-
646
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
647
- #: EXTENDED\1) github/view/templates/settings/support-form.php:94
648
- msgid "Note: Our support representatives can only communicate in English."
649
- msgstr ""
650
-
651
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
652
- #: EXTENDED\1) github/view/templates/settings/support-form.php:97
653
- msgid "Request Support"
654
- msgstr ""
655
-
656
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
657
- #: EXTENDED\1) github/view/templates/settings/support-sidebar.php:20
658
- msgid "Frequently Asked Questions"
659
- msgstr ""
660
-
661
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
662
- #: EXTENDED\1) github/view/templates/settings/support-sidebar.php:22
663
- msgid "Can I exclude a field from showing up in the PDF?"
664
- msgstr ""
665
-
666
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
667
- #: EXTENDED\1) github/view/templates/settings/support-sidebar.php:23
668
- msgid ""
669
- "I want to have multiple PDF template files generated on one form. How do I "
670
- "do it?"
671
- msgstr ""
672
-
673
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
674
- #: EXTENDED\1) github/view/templates/settings/support-sidebar.php:24
675
- msgid "I want users to be able to download the PDF from the server."
676
- msgstr ""
677
-
678
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
679
- #: EXTENDED\1) github/view/templates/settings/support-sidebar.php:25
680
- msgid "How do I change the PDF size or create a landscape PDF?"
681
- msgstr ""
682
-
683
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
684
- #: EXTENDED\1) github/view/templates/settings/support-sidebar.php:26
685
- msgid ""
686
- "I am created a custom template. How do I know the names of my fields in the "
687
- "$form_data array?"
688
- msgstr ""
689
-
690
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
691
- #: EXTENDED\1) github/view/templates/settings/support-sidebar.php:27
692
- msgid "How large a PDF are you able to create/process?"
693
- msgstr ""
694
-
695
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
696
- #: EXTENDED\1) github/view/templates/settings/support-sidebar.php:30
697
- #, php-format
698
- msgid ""
699
- "Got a question that isn't answered above? %sHead to our support forum%s and "
700
- "let us know."
701
- msgstr ""
702
-
703
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
704
- #: EXTENDED\1) github/view/templates/settings/support.php:20
705
- msgid "Support"
706
- msgstr ""
707
-
708
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
709
- #: EXTENDED\1) github/view/templates/settings/system-status.php:19
710
- msgid "System Status"
711
- msgstr ""
712
-
713
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
714
- #: EXTENDED\1) github/view/templates/settings/system-status.php:22
715
- msgid "Wordpress Version"
716
- msgstr ""
717
-
718
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
719
- #: EXTENDED\1) github/view/templates/settings/system-status.php:25
720
- msgid "Wordpress Version "
721
- msgstr ""
722
-
723
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
724
- #: EXTENDED\1) github/view/templates/settings/system-status.php:30
725
- msgid "Gravity Forms"
726
- msgstr ""
727
-
728
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
729
- #: EXTENDED\1) github/view/templates/settings/system-status.php:32
730
- msgid "Not Installed"
731
- msgstr ""
732
-
733
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
734
- #: EXTENDED\1) github/view/templates/settings/system-status.php:47
735
- msgid "PHP Version"
736
- msgstr ""
737
-
738
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
739
- #: EXTENDED\1) github/view/templates/settings/system-status.php:50
740
- msgid "PHP Version "
741
- msgstr ""
742
-
743
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
744
- #: EXTENDED\1) github/view/templates/settings/system-status.php:54
745
- msgid "MB String"
746
- msgstr ""
747
-
748
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
749
- #: EXTENDED\1) github/view/templates/settings/system-status.php:54
750
- #: github/view/templates/settings/system-status.php:62
751
- #: github/view/templates/settings/system-status.php:94
752
- #: github/view/templates/settings/system-status.php:103
753
- #: github/view/templates/settings/system-status.php:110
754
- #: github/view/templates/settings/system-status.php:117
755
- msgid "Yes"
756
- msgstr ""
757
-
758
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
759
- #: EXTENDED\1) github/view/templates/settings/system-status.php:54
760
- #: github/view/templates/settings/system-status.php:62
761
- #: github/view/templates/settings/system-status.php:94
762
- #: github/view/templates/settings/system-status.php:103
763
- #: github/view/templates/settings/system-status.php:110
764
- #: github/view/templates/settings/system-status.php:117
765
- msgid "No"
766
- msgstr ""
767
-
768
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
769
- #: EXTENDED\1) github/view/templates/settings/system-status.php:58
770
- msgid ""
771
- "The PHP extension MB String and MB String Regex functions are required to "
772
- "use this plugin. Contact your web host to have it enabled."
773
- msgstr ""
774
-
775
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
776
- #: EXTENDED\1) github/view/templates/settings/system-status.php:62
777
- msgid "GD Library"
778
- msgstr ""
779
-
780
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
781
- #: EXTENDED\1) github/view/templates/settings/system-status.php:66
782
- msgid ""
783
- "The PHP extension GD Library is required to use this plugin. Contact your "
784
- "web host to have it enabled."
785
- msgstr ""
786
-
787
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
788
- #: EXTENDED\1) github/view/templates/settings/system-status.php:84
789
- msgid "Available RAM"
790
- msgstr ""
791
-
792
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
793
- #: EXTENDED\1) github/view/templates/settings/system-status.php:87
794
- #, php-format
795
- msgid ""
796
- "We recommend you have 128MB of available RAM to run this plugin. The minimum "
797
- "system requirement is 64MB. %sNot sure what this means? Contact your web "
798
- "host and ask them to fix the issue. %sNote: If you run less than 128MB, you "
799
- "risk PHP suffering a fatal error which will stop your website from running "
800
- "on Gravity Form pages."
801
- msgstr ""
802
-
803
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
804
- #: EXTENDED\1) github/view/templates/settings/system-status.php:94
805
- msgid "Uploads Directory Writable?"
806
- msgstr ""
807
-
808
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
809
- #: EXTENDED\1) github/view/templates/settings/system-status.php:97
810
- #, php-format
811
- msgid ""
812
- "Your upload folder is not writable by your web server. Check that \"%s\" is "
813
- "writable by your web server otherwise we will attempt to use the FTP "
814
- "installer to initialise."
815
- msgstr ""
816
-
817
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
818
- #: EXTENDED\1) github/view/templates/settings/system-status.php:103
819
- msgid "PDF Output Directory Writable?"
820
- msgstr ""
821
-
822
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
823
- #: EXTENDED\1) github/view/templates/settings/system-status.php:106
824
- #, php-format
825
- msgid ""
826
- "The plugin's output folder is not writable by your web server. PDFs will not "
827
- "be attached to notifications until this problem is fixed. Check that \"%s\" "
828
- "is writable by your web server."
829
- msgstr ""
830
-
831
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
832
- #: EXTENDED\1) github/view/templates/settings/system-status.php:110
833
- msgid "PDF Font Directory Writable?"
834
- msgstr ""
835
-
836
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
837
- #: EXTENDED\1) github/view/templates/settings/system-status.php:113
838
- #, php-format
839
- msgid ""
840
- "The plugin's font folder is not writable by your web server. Check that \"%s"
841
- "\" is writable by your web server otherwise we will attempt to use the FTP "
842
- "installer to initialise."
843
- msgstr ""
844
-
845
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
846
- #: EXTENDED\1) github/view/templates/settings/system-status.php:117
847
- msgid "mPDF Temporary Directory Writable?"
848
- msgstr ""
849
-
850
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
851
- #: EXTENDED\1) github/view/templates/settings/system-status.php:120
852
- #, php-format
853
- msgid ""
854
- "mPDF temporary directory not writable (%s). Memory and image processing time "
855
- "will increase."
856
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
languages/pdfextended-fr_FR.mo DELETED
Binary file
languages/pdfextended-fr_FR.po DELETED
@@ -1,1024 +0,0 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Gravity PDF\n"
4
- "POT-Creation-Date: 2014-11-17 16:14+1000\n"
5
- "PO-Revision-Date: 2014-11-17 16:14+1000\n"
6
- "Last-Translator: Blue Liquid Designs <enquire@blueliquiddesigns.com.au>\n"
7
- "Language-Team: Lumiere de Lune <contact@lumieredelune.com>\n"
8
- "Language: fr\n"
9
- "MIME-Version: 1.0\n"
10
- "Content-Type: text/plain; charset=UTF-8\n"
11
- "Content-Transfer-Encoding: 8bit\n"
12
- "X-Generator: Poedit 1.6.5\n"
13
- "X-Poedit-KeywordsList: __;_e\n"
14
- "X-Poedit-Basepath: /\n"
15
- "X-Poedit-SourceCharset: UTF-8\n"
16
- "Plural-Forms: nplurals=2; plural=(n > 1);\n"
17
- "X-Poedit-SearchPath-0: G:\\Blue Liquid Designs\\4) BLUE LIQUID DESIGNS\\19) "
18
- "Gravity PDF\\1) github\n"
19
-
20
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
21
- #: EXTENDED\1) github/helper/api.php:142
22
- msgid "Bad Request."
23
- msgstr "Mauvais requête."
24
-
25
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
26
- #: EXTENDED\1) github/helper/api.php:150 github/helper/api.php:261
27
- msgid "Unauthorized Access."
28
- msgstr "Accès non authorisé."
29
-
30
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
31
- #: EXTENDED\1) github/helper/api.php:172
32
- msgid "Method not allowed."
33
- msgstr "Méthode non autorisée."
34
-
35
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
36
- #: EXTENDED\1) github/helper/api.php:180
37
- msgid "Internal API Error."
38
- msgstr "Erreur interne de l'API."
39
-
40
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
41
- #: EXTENDED\1) github/helper/api.php:188
42
- msgid "API Unavailable."
43
- msgstr "API non disponible."
44
-
45
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
46
- #: EXTENDED\1) github/helper/notices.php:54
47
- #, php-format
48
- msgid "%sGravity PDF Automated Installer%s: "
49
- msgstr "%sInstallateur automatique de Gravity PDF%s : "
50
-
51
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
52
- #: EXTENDED\1) github/helper/notices.php:64
53
- #, php-format
54
- msgid " %sGo to installer%s."
55
- msgstr " %sAller à l'installateur%s."
56
-
57
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
58
- #: EXTENDED\1) github/helper/notices.php:74
59
- msgid ""
60
- "The font files have been successfully installed. A font can be used by "
61
- "adding its file name (without .ttf and in lower case) in a CSS font-family "
62
- "declaration."
63
- msgstr ""
64
- "Les fichiers ont été installés avec succès. Une police de caractère peut "
65
- "être utilisée en ajoutant le nom de son fichier (sans l'extension .ttf et en "
66
- "minuscule) dans une déclaration CSS font-family."
67
-
68
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
69
- #: EXTENDED\1) github/helper/notices.php:85
70
- msgid "Could not create font configuration file. Try initialise again."
71
- msgstr ""
72
- "Impossible de créer le fichier de configuration. Essayez à nouveau de faire "
73
- "l'initialisation."
74
-
75
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
76
- #: EXTENDED\1) github/helper/notices.php:101
77
- msgid ""
78
- "Gravity PDF detected a configuration problem. Please "
79
- "reinitialise the plugin."
80
- msgstr ""
81
- "Gravity PDF a détecté un problème de configuration. Merci de "
82
- "réinitialiser l'extension."
83
-
84
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
85
- #: EXTENDED\1) github/helper/notices.php:105
86
- #, php-format
87
- msgid ""
88
- "Gravity PDF detected a configuration problem. Please go to "
89
- "the %splugin's settings page%s to reinitialise."
90
- msgstr ""
91
- "Gravity PDF a détecté un problème de configuration. Merci "
92
- "d'aller sur la page des %sréglages de l'extension%s pour la réinitialiser."
93
-
94
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
95
- #: EXTENDED\1) github/helper/notices.php:122
96
- msgid ""
97
- "Gravity PDF detected a server compatibility problem which "
98
- "prevented the software from running. See the System Status section below for "
99
- "details."
100
- msgstr ""
101
- "Gravity PDF a détecté un problème de compatibilité avec le "
102
- "serveur qui empêche l'extension de fonctionner. Regardez la section \"Etat "
103
- "du Système\" ci-dessous pour plus de détails."
104
-
105
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
106
- #: EXTENDED\1) github/helper/notices.php:126
107
- #, php-format
108
- msgid ""
109
- "Gravity PDF detected a server compatibility problem which "
110
- "prevented the software from running. Please go to the %splugin's settings "
111
- "page%s to view the issue."
112
- msgstr ""
113
- "Gravity PDF a détecté un problème de compatibilité avec le "
114
- "serveur qui empêche l'extension de fonctionner. Merci d'aller sur la page "
115
- "des %sréglages de l'extension%s pour voir les détails."
116
-
117
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
118
- #: EXTENDED\1) github/helper/notices.php:142
119
- msgid ""
120
- "Welcome to Gravity PDF. Before you can use the plugin "
121
- "correctly you need to initilise it."
122
- msgstr ""
123
- "Bienvenue chez Gravity PDF. Avant d'utiliser l'extension, "
124
- "vous devez l'initialiser."
125
-
126
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
127
- #: EXTENDED\1) github/helper/notices.php:146
128
- #, php-format
129
- msgid ""
130
- "Welcome to Gravity PDF. Before you can use the plugin "
131
- "correctly you need to initilise it. Please go to the %splugin's settings page"
132
- "%s to initialise."
133
- msgstr ""
134
- "Bienvenue chez Gravity PDF. Avant d'utiliser l'extension, "
135
- "vous devez l'initialiser. Merci d'aller sur la page des %sréglages de "
136
- "l'extension%s pour l'initialisation."
137
-
138
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
139
- #: EXTENDED\1) github/helper/notices.php:158
140
- #, php-format
141
- msgid ""
142
- "Gravity PDF only works with Gravity Forms version %s and "
143
- "higher. Please %supgrade your copy of Gravity Forms%s to use this plugin."
144
- msgstr ""
145
- "Gravity PDF a besoin de Gravity Forms (version %s et "
146
- "supérieures). Merci de %smettre votre version de Gravity Forms à jour%s pour "
147
- "utiliser l'extension. "
148
-
149
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
150
- #: EXTENDED\1) github/helper/notices.php:174
151
- #, fuzzy, php-format
152
- msgid ""
153
- "We could not create a template folder in your uploads directory. Please "
154
- "ensure %s is writable by your web server and try again."
155
- msgstr ""
156
- "Nous n'avons pas pu créer un dossier de modèles dans le répertoire de votre "
157
- "thème actif. Merci de vérifier qu'il est accessible en écriture par le "
158
- "serveur web et de réessayer."
159
-
160
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
161
- #: EXTENDED\1) github/helper/notices.php:189
162
- #, fuzzy, php-format
163
- msgid ""
164
- "We could not create a site folder in your uploads/%s directory. Please "
165
- "ensure %s is writable by your web server and try again."
166
- msgstr ""
167
- "Nous n'avons pas pu créer un dossier de modèles dans le répertoire de votre "
168
- "thème actif. Merci de vérifier qu'il est accessible en écriture par le "
169
- "serveur web et de réessayer."
170
-
171
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
172
- #: EXTENDED\1) github/helper/notices.php:202
173
- #, fuzzy, php-format
174
- msgid ""
175
- "We could not remove the default template files from %s in your uploads "
176
- "directory. Please ensure %s is wriable by your web server and try again."
177
- msgstr ""
178
- "Nous n'avons pas pu supprimer les modèles par défaut du répertoire Gravity "
179
- "PDF dans le répertoire de votre thème actif. Merci de "
180
- "vérifier qu'%s est accessible en écriture pour le serveur et de réessayer."
181
-
182
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
183
- #: EXTENDED\1) github/helper/notices.php:215
184
- #, fuzzy, php-format
185
- msgid ""
186
- "We could not move the template files to the %s folder. Please ensure %s is "
187
- "wriable by your web server and try again."
188
- msgstr ""
189
- "Nous n'avons pas pu déplacer les modèles vers le répertoire "
190
- "PDF_EXTENDED_TEMPLATES. Merci de vérifier que %s est accessible en écriture "
191
- "pour le serveur et de vérifier."
192
-
193
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
194
- #: EXTENDED\1) github/helper/notices.php:233
195
- #, php-format
196
- msgid ""
197
- "Gravity PDF directory structure has been changed. %sMigrate "
198
- "Now%s %sUnsure what this means?%s"
199
- msgstr ""
200
-
201
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
202
- #: EXTENDED\1) github/helper/notices.php:242
203
- #, fuzzy, php-format
204
- msgid "%sGravity PDF Automated Template Migration:%s"
205
- msgstr "%sInstallateur automatique de Gravity PDF%s : "
206
-
207
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
208
- #: EXTENDED\1) github/helper/notices.php:244
209
- #, fuzzy, php-format
210
- msgid ""
211
- "Your PDF template folder structure was successfully migrated to %s. %sUnsure "
212
- "what this means?%s"
213
- msgstr ""
214
- "Votre configuration PDF et votre dossier de modèle a été transféré avec "
215
- "succès vers votre nouveau thème."
216
-
217
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
218
- #: EXTENDED\1) github/helper/notices.php:256
219
- msgid ""
220
- "Gravity PDF Auto Initialisation Complete across the entire "
221
- "network."
222
- msgstr ""
223
- "Initialisation automatique de Gravity Forms Extended terminée sur la "
224
- "totalité du réseau."
225
-
226
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
227
- #: EXTENDED\1) github/helper/notices.php:260
228
- msgid ""
229
- "Gravity PDF Initialisation Complete across the entire network."
230
- msgstr ""
231
- "Initialisation de Gravity Forms Extended terminée sur la totalité du réseau."
232
-
233
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
234
- #: EXTENDED\1) github/helper/notices.php:265 github/helper/notices.php:277
235
- #, php-format
236
- msgid "%sLearn how to configuring the plugin%s."
237
- msgstr "%sDécouvrez comment configurer cette extension%s."
238
-
239
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
240
- #: EXTENDED\1) github/helper/notices.php:273
241
- msgid "Gravity PDF Auto Initialisation Complete."
242
- msgstr "Initialisation automatique de Gravity Forms Extended terminée."
243
-
244
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
245
- #: EXTENDED\1) github/helper/notices.php:291
246
- #, fuzzy
247
- msgid ""
248
- "There was a problem merging the PDF templates folder on the following sites;"
249
- msgstr "Il y a eu un problème d'initialisation avec les sites suivants :"
250
-
251
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
252
- #: EXTENDED\1) github/helper/notices.php:304
253
- msgid ""
254
- "Follow the site links above and try run the PDF template merging function "
255
- "again, or reinitialise the software."
256
- msgstr ""
257
-
258
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
259
- #: EXTENDED\1) github/helper/notices.php:308
260
- msgid ""
261
- "An unknown error occured while merging the PDF template folders. Please try "
262
- "again."
263
- msgstr ""
264
-
265
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
266
- #: EXTENDED\1) github/helper/notices.php:323
267
- msgid "There was a network initialisation issue on the following sites;"
268
- msgstr "Il y a eu un problème d'initialisation avec les sites suivants :"
269
-
270
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
271
- #: EXTENDED\1) github/helper/notices.php:336
272
- msgid "Please try manually initialise the software"
273
- msgstr "Essayez d'initialiser l'extension manuellement"
274
-
275
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
276
- #: EXTENDED\1) github/helper/notices.php:340
277
- msgid ""
278
- "An unknown network initialisation error occured. Please try initialise again."
279
- msgstr ""
280
- "Une erreur inconnue est survenue lors de l'initialisation. Merci de "
281
- "réessayer."
282
-
283
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
284
- #: EXTENDED\1) github/helper/notices.php:347
285
- msgid "You've successfully initialised Gravity PDF."
286
- msgstr "Vous avez bien réussi à initialiser Gravity PDF."
287
-
288
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
289
- #: EXTENDED\1) github/helper/notices.php:354
290
- #: github/view/templates/settings/system-status.php:34
291
- #: github/view/templates/settings/system-status.php:41
292
- msgid "Gravity Forms "
293
- msgstr "Gravity Forms "
294
-
295
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
296
- #: EXTENDED\1) github/helper/notices.php:360
297
- msgid "Wordpress "
298
- msgstr "Wordpress "
299
-
300
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
301
- #: EXTENDED\1) github/helper/notices.php:366
302
- msgid "PHP "
303
- msgstr "PHP "
304
-
305
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
306
- #: EXTENDED\1) github/helper/notices.php:372
307
- #, php-format
308
- msgid ""
309
- "If you reinitialise and enable this option %syou will overwrite%s the "
310
- "default and example template files in your active theme directory."
311
- msgstr ""
312
- "Si vous réinitialisez et activer cette option, %svous allez remplacer%s les "
313
- "fichier de modèles par défaut et exemple dans le répertoire de votre thème "
314
- "actif."
315
-
316
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
317
- #: EXTENDED\1) github/helper/pdf-entry-detail.php:255
318
- msgid "Order"
319
- msgstr "Commander"
320
-
321
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
322
- #: EXTENDED\1) github/helper/pdf-entry-detail.php:266
323
- msgid "Product"
324
- msgstr "Produit"
325
-
326
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
327
- #: EXTENDED\1) github/helper/pdf-entry-detail.php:267
328
- msgid "Qty"
329
- msgstr "Qté"
330
-
331
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
332
- #: EXTENDED\1) github/helper/pdf-entry-detail.php:268
333
- msgid "Unit Price"
334
- msgstr "Prix unitaire"
335
-
336
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
337
- #: EXTENDED\1) github/helper/pdf-entry-detail.php:269
338
- msgid "Price"
339
- msgstr "PRix"
340
-
341
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
342
- #: EXTENDED\1) github/helper/pdf-entry-detail.php:332
343
- msgid "Total"
344
- msgstr "Total"
345
-
346
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
347
- #: EXTENDED\1) github/helper/pdf-entry-detail.php:940
348
- msgid ""
349
- "Activate Gravity Forms Quiz Add On to see global quiz statistics for this "
350
- "form"
351
- msgstr ""
352
- "Activez Gravity Forms Quiz Add On pour voir les statistiqies globales du "
353
- "quiz pour ce formulaire"
354
-
355
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
356
- #: EXTENDED\1) github/helper/pdf-entry-detail.php:1371
357
- #: github/helper/pdf-entry-detail.php:1746
358
- msgid "Qty: "
359
- msgstr "Qté : "
360
-
361
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
362
- #: EXTENDED\1) github/helper/pdf-entry-detail.php:1371
363
- #: github/helper/pdf-entry-detail.php:1746
364
- msgid "Price: "
365
- msgstr "Prix : "
366
-
367
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
368
- #: EXTENDED\1) github/helper/pdf-entry-detail.php:1680
369
- msgid "Title"
370
- msgstr "Titre"
371
-
372
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
373
- #: EXTENDED\1) github/helper/pdf-entry-detail.php:1681
374
- msgid "Caption"
375
- msgstr "Légende"
376
-
377
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
378
- #: EXTENDED\1) github/helper/pdf-entry-detail.php:1682
379
- msgid "Description"
380
- msgstr "Description"
381
-
382
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
383
- #: EXTENDED\1) github/helper/pdf-entry-detail.php:1687
384
- #: github/helper/pdf-entry-detail.php:1706
385
- msgid "Click to view"
386
- msgstr "Cliquer pour voir"
387
-
388
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
389
- #: EXTENDED\1) github/model/pdf.php:142
390
- msgid "View"
391
- msgstr "Voir"
392
-
393
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
394
- #: EXTENDED\1) github/model/pdf.php:143
395
- msgid "Download"
396
- msgstr "Télécharger"
397
-
398
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
399
- #: EXTENDED\1) github/model/pdf.php:199
400
- msgid "View PDFs"
401
- msgstr "Voir les PDFs"
402
-
403
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
404
- #: EXTENDED\1) github/model/pdf.php:234
405
- msgid "View PDF"
406
- msgstr "Voir le PDF"
407
-
408
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
409
- #: EXTENDED\1) github/model/pdf.php:321
410
- #, fuzzy
411
- msgid "Access Denied"
412
- msgstr "Accès non authorisé."
413
-
414
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
415
- #: EXTENDED\1) github/model/settings.php:359
416
- msgid "Plugin not yet initialised"
417
- msgstr "L'extension n'est pas encore initialisée"
418
-
419
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
420
- #: EXTENDED\1) github/model/settings.php:414
421
- msgid ""
422
- "There was a problem with your submission. Please reload the page and try "
423
- "again"
424
- msgstr ""
425
- "Il y a eu un problème avec votre soumission. Merci de recharger la page et "
426
- "de réessayer"
427
-
428
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
429
- #: EXTENDED\1) github/model/settings.php:431
430
- msgid "Please enter a valid email address"
431
- msgstr "Merci de saisir une adresse email valide"
432
-
433
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
434
- #: EXTENDED\1) github/model/settings.php:434
435
- msgid "Problem"
436
- msgstr "Problème"
437
-
438
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
439
- #: EXTENDED\1) github/model/settings.php:434
440
- msgid "Question"
441
- msgstr "Question"
442
-
443
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
444
- #: EXTENDED\1) github/model/settings.php:434
445
- msgid "Suggestion"
446
- msgstr "Suggestion"
447
-
448
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
449
- #: EXTENDED\1) github/model/settings.php:438
450
- msgid "Please select a valid support type."
451
- msgstr "Merci de choisir un type de support valide."
452
-
453
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
454
- #: EXTENDED\1) github/model/settings.php:443
455
- msgid ""
456
- "Please enter information about your support query so we can aid you more "
457
- "easily."
458
- msgstr ""
459
- "Merci d'entrer l'information nécessaire à votre requête pour que nous "
460
- "puissions vous aider plus facilement."
461
-
462
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
463
- #: EXTENDED\1) github/model/settings.php:448
464
- msgid ""
465
- "There is a problem with your support request. Please correct the marked "
466
- "issues above."
467
- msgstr ""
468
- "Il y a un problème avec votre demande de support. Merci de corriger les "
469
- "problèmes indiqués ci-dessus."
470
-
471
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
472
- #: EXTENDED\1) github/model/settings.php:458
473
- msgid ""
474
- "Thank you for your support request. We'll respond to your request in the "
475
- "next 24-48 hours."
476
- msgstr ""
477
- "Merci pour votre demande de support. Nous répondrons à votre demande dans "
478
- "les prochaines 24 à 48 heures."
479
-
480
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
481
- #: EXTENDED\1) github/model/settings.php:516
482
- msgid "Support request received. We will responed in 24 to 48 hours."
483
- msgstr ""
484
- "Demande de support reçue. Nous répondrons dans les prochaines 24 à 48 heures."
485
-
486
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
487
- #: EXTENDED\1) github/view/templates/settings/changelog.php:19
488
- msgid "Changelog"
489
- msgstr "Changelog"
490
-
491
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
492
- #: EXTENDED\1) github/view/templates/settings/initialisation-tab.php:41
493
- msgid "Gravity PDF"
494
- msgstr "Gravity PDF"
495
-
496
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
497
- #: EXTENDED\1) github/view/templates/settings/initialisation-tab.php:42
498
- msgid ""
499
- "Your web server isn't compatible with Gravity PDF. Please see "
500
- "the problem areas below."
501
- msgstr ""
502
- "Votre serveur web n'est pas compatible avec Gravity PDF.. "
503
- "Merci de résoudre les problèmes ci-dessous."
504
-
505
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
506
- #: EXTENDED\1) github/view/templates/settings/initialisation-tab.php:52
507
- msgid "Can't Resolve the Issue?"
508
- msgstr "Impossible de résoudre le problème ?"
509
-
510
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
511
- #: EXTENDED\1) github/view/templates/settings/initialisation-tab.php:53
512
- #, php-format
513
- msgid ""
514
- "Does Gravity PDF detect a problem that your web host won't "
515
- "fix? %sWe recommend you move to a quality web hosting service like WP Engine"
516
- "%s which runs our software straight out of the box."
517
- msgstr ""
518
- "Est-ce que Gravity PDF détecte un problème que votre "
519
- "hébergeur ne peut pas résoudre ? %sNous vous recommandons de changer pour un "
520
- "service d'hébergement de qualité comme WP Engine%s qui peut faire tourner "
521
- "notre extension sans aucun problème."
522
-
523
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
524
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:19
525
- msgid "Welcome to Gravity PDF"
526
- msgstr "Bienvenue dans Gravity PDF"
527
-
528
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
529
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:19
530
- #: github/view/templates/settings/initialisation.php:66
531
- msgid "Initialise Plugin"
532
- msgstr "Initiailiser l'extension"
533
-
534
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
535
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:23
536
- msgid ""
537
- "The plugin has successfully installed and is ready to start automating your "
538
- "documents."
539
- msgstr ""
540
- "L'extension a été installée avec succès, elle est prête à commencer à "
541
- "automatiser vos documents."
542
-
543
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
544
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:25
545
- msgid "What's next?"
546
- msgstr "Et maintenant ?"
547
-
548
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
549
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:26
550
- msgid ""
551
- "The next step is to correctly configured the plugin so that you can generate "
552
- "PDF documents."
553
- msgstr ""
554
- "La prochaine étape est la configuration correcte de l'extension, afin de "
555
- "pouvoir générer des documents PDF."
556
-
557
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
558
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:27
559
- msgid ""
560
- "To help you get started, we've put together a five-part video series with "
561
- "the most common plugin configurations."
562
- msgstr ""
563
- "Pour vous aider à démarrer, nous avons mis en ligne un tutoriel en cinq "
564
- "vidéos (en anglais) avec les configurations les plus courantes de "
565
- "l'extension."
566
-
567
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
568
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:29
569
- msgid "The Basics: Only Download PDF through the Admin Area"
570
- msgstr ""
571
- "La base : le téléchargement des PDF se fait seulement à partir de "
572
- "l'administration"
573
-
574
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
575
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:30
576
- msgid "The Email: Send Completed PDF via Email"
577
- msgstr "L'email : l'envoi du PDF terminé par mail"
578
-
579
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
580
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:31
581
- msgid ""
582
- "The Download: User Downloads PDF after Submitting Form (using a link or auto "
583
- "redirecting)"
584
- msgstr ""
585
- "Le téléchargement : l'utilisateur peut télécharger le PDF après avoir soumis "
586
- "un formulaire (en utilisant un lien ou via la redirection)"
587
-
588
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
589
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:32
590
- msgid "The Email Advanced: Manually Review User Submission before Emailing PDF"
591
- msgstr ""
592
- "Les fonctionnalités avancées de l'email : vérification manuelle des données "
593
- "soumises par l'utilisateur avant d'envoyer le PDF par mail"
594
-
595
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
596
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:33
597
- msgid "The Payment: Send PDF after Capturing Payment using Paypal Standard"
598
- msgstr ""
599
- "Le paiement : l'envoir du PDF après la réception du paiement via Paypal "
600
- "Standard"
601
-
602
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
603
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:36
604
- #, php-format
605
- msgid ""
606
- "If you know little about PHP we recommend starting with %sPart 1:The Basics"
607
- "%s and then watching the tutorial you’re interested in. It will give you the "
608
- "foundational skills you need to configure the software."
609
- msgstr ""
610
- "Si vous n'avez pas beaucoup de connaissances en PHP, nous vous recommandons "
611
- "de commencer par la %svidéo n°1 : La base%s et ensuite de choisir le "
612
- "tutoriel qui vous intéresse. Elle vous donnera les connaissances de base "
613
- "dont vous avez besoin pour configurer l'extension. "
614
-
615
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
616
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:38
617
- msgid "Custom Templates"
618
- msgstr "Modèles personnalisés"
619
-
620
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
621
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:39
622
- #, php-format
623
- msgid ""
624
- "Creating a custom template gives you ultimate control of the look and feel "
625
- "of your documents using only HTML and CSS. %sWe recommend you review our "
626
- "online documentation%s to create and customise your template files."
627
- msgstr ""
628
- "La création d'un template personnalisé vous donne un contrôle complet de "
629
- "l'apparence de votre document en utilisant seulement HTML et le CSS. %sNous "
630
- "vous recommandons de regarder la documentation en ligne (en anglais)%s pour "
631
- "savoir comment créer et personnaliser vos fichiers de modèles."
632
-
633
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
634
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:45
635
- msgid ""
636
- "To complete the installation, Gravity PDF needs to be "
637
- "initialised."
638
- msgstr ""
639
- "Pour terminer l'installation, Gravity PDF doit être "
640
- "initialisé."
641
-
642
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
643
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:47
644
- msgid "What does initialisation do?"
645
- msgstr "Qu'est-ce que l'initialisation ne?"
646
-
647
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
648
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:50
649
- msgid "Install the template files"
650
- msgstr "Installation des fichiers de modèles"
651
-
652
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
653
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:50
654
- msgid ""
655
- "We create a folder called PDF_EXTENDED_TEMPLATE in your active theme "
656
- "directory and move over all the templates and configuration files. This "
657
- "folder is where you'll look to configure the software and create your PDF "
658
- "templates."
659
- msgstr ""
660
- "Nous créons un dossier appelé PDF_EXTENDED_TEMPLATE dans le répertoire de "
661
- "votre thème et déplaçons tous les templates et les fichiers de "
662
- "configuration. Ce dossier est là où vous trouverez les éléments pour "
663
- "configurer l'extension et créer vos modèles PDF. "
664
-
665
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
666
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:62
667
- msgid "Have a problem with the software?"
668
- msgstr "Avez-vous un problème avec l'extension ?"
669
-
670
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
671
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:63
672
- msgid ""
673
- "Did you switch themes and something went wrong syncing the template folder? "
674
- "Try reinitialise the software."
675
- msgstr ""
676
- "Avez-vous changé de thèmes et que quelque chose s'est mal passé pendant la "
677
- "synchronisation du dossier de modèles ? Essayez de réinitialiser l'extension."
678
-
679
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
680
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:66
681
- msgid "Reinitialise Plugin"
682
- msgstr "Réinitialisation de l'extension"
683
-
684
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
685
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:68
686
- msgid "Reinstall Default and Example Templates"
687
- msgstr "Réinstallation des modèles par défaut et des exemples"
688
-
689
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
690
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:74
691
- msgid "Install a new font?"
692
- msgstr "Installer une nouvelle police ?"
693
-
694
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
695
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:75
696
- #, php-format
697
- msgid ""
698
- "Do you want to use a custom font in your template? %sSee our documentation "
699
- "on how to correctly install and use a custom font%s before initialising "
700
- "below."
701
- msgstr ""
702
- "Voulez-vous utiliser une police personnalisée dans votre modèle ? %sRegardez "
703
- "dans notre documentation (en) comment installer correctement et utiliser une "
704
- "police personnalisée%s avant de faire l'installation ci-dessous."
705
-
706
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
707
- #: EXTENDED\1) github/view/templates/settings/initialisation.php:76
708
- msgid "Initialise Fonts"
709
- msgstr "Installer les polices de caractères"
710
-
711
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
712
- #: EXTENDED\1) github/view/templates/settings/support-form.php:26
713
- msgid ""
714
- "Gravity PDF's support hours are from 9:00am-5:00pm Monday to "
715
- "Friday, Sydney Australia time."
716
- msgstr ""
717
- "Les heures de disponibilité du service de Gravity PDF sont de "
718
- "9:00 à 17:00 du Lundi au Vendredi, heure de Sydney (Australie)."
719
-
720
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
721
- #: EXTENDED\1) github/view/templates/settings/support-form.php:29
722
- #, php-format
723
- msgid "The current time in Sydney Australia is %s."
724
- msgstr "En ce moment, à Sydney en Australie, il est %s."
725
-
726
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
727
- #: EXTENDED\1) github/view/templates/settings/support-form.php:55
728
- msgid "Enter the email address you want us to contact you on."
729
- msgstr ""
730
- "Saisir l'adresse email à laquelle vous voulez que nous vous contactions."
731
-
732
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
733
- #: EXTENDED\1) github/view/templates/settings/support-form.php:56
734
- msgid ""
735
- "Note: To ensure the best support possible, please use the above email to "
736
- "respond to all support communications."
737
- msgstr ""
738
- "NB : pour assurer le meilleur support possible, merci d'utiliser l'email ci-"
739
- "dessus pour toutes les réponses au support."
740
-
741
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
742
- #: EXTENDED\1) github/view/templates/settings/support-form.php:92
743
- msgid "Enter as much detail about the problem as you can."
744
- msgstr "Donnez autant de détails que possible sur le problème."
745
-
746
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
747
- #: EXTENDED\1) github/view/templates/settings/support-form.php:93
748
- msgid "Please enter as much detail about the problem as you can."
749
- msgstr "Merci de donner autant de détails que possible sur le problème."
750
-
751
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
752
- #: EXTENDED\1) github/view/templates/settings/support-form.php:94
753
- msgid "Note: Our support representatives can only communicate in English."
754
- msgstr "NB : notre support communique uniquement en anglais."
755
-
756
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
757
- #: EXTENDED\1) github/view/templates/settings/support-form.php:97
758
- msgid "Request Support"
759
- msgstr "Envoyer au support"
760
-
761
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
762
- #: EXTENDED\1) github/view/templates/settings/support-sidebar.php:20
763
- msgid "Frequently Asked Questions"
764
- msgstr "F.A.Q."
765
-
766
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
767
- #: EXTENDED\1) github/view/templates/settings/support-sidebar.php:22
768
- msgid "Can I exclude a field from showing up in the PDF?"
769
- msgstr "Puis-je empêcher un champ d'apparaitre dans le PDF ?"
770
-
771
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
772
- #: EXTENDED\1) github/view/templates/settings/support-sidebar.php:23
773
- msgid ""
774
- "I want to have multiple PDF template files generated on one form. How do I "
775
- "do it?"
776
- msgstr ""
777
- "Je veux avoir plusieurs modèles PDF pour un formulaire. Comment faire ?"
778
-
779
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
780
- #: EXTENDED\1) github/view/templates/settings/support-sidebar.php:24
781
- msgid "I want users to be able to download the PDF from the server."
782
- msgstr ""
783
- "Je veux que les utilisateurs puissent télécharger le PDF à partir du serveur."
784
-
785
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
786
- #: EXTENDED\1) github/view/templates/settings/support-sidebar.php:25
787
- msgid "How do I change the PDF size or create a landscape PDF?"
788
- msgstr "Comment changer la taille du PDF ou créer un PDF en mode paysage ?"
789
-
790
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
791
- #: EXTENDED\1) github/view/templates/settings/support-sidebar.php:26
792
- msgid ""
793
- "I am created a custom template. How do I know the names of my fields in the "
794
- "$form_data array?"
795
- msgstr ""
796
- "Je crée un modèle personnalisé. Comment savoir quels sont les noms de mes "
797
- "champs dans $form_data array ?"
798
-
799
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
800
- #: EXTENDED\1) github/view/templates/settings/support-sidebar.php:27
801
- msgid "How large a PDF are you able to create/process?"
802
- msgstr "Quelle est la taille maximum de PDF que vous pouvez créer / traiter ?"
803
-
804
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
805
- #: EXTENDED\1) github/view/templates/settings/support-sidebar.php:30
806
- #, php-format
807
- msgid ""
808
- "Got a question that isn't answered above? %sHead to our support forum%s and "
809
- "let us know."
810
- msgstr ""
811
- "Une question pour laquelle il n'y a pas de réponse ? %sAllez la poser sur "
812
- "notre forum de support (en)%s."
813
-
814
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
815
- #: EXTENDED\1) github/view/templates/settings/support.php:20
816
- msgid "Support"
817
- msgstr "Support"
818
-
819
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
820
- #: EXTENDED\1) github/view/templates/settings/system-status.php:19
821
- msgid "System Status"
822
- msgstr "Statut du système"
823
-
824
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
825
- #: EXTENDED\1) github/view/templates/settings/system-status.php:22
826
- msgid "Wordpress Version"
827
- msgstr "Version de WordPress"
828
-
829
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
830
- #: EXTENDED\1) github/view/templates/settings/system-status.php:25
831
- msgid "Wordpress Version "
832
- msgstr "Version de Wordpress "
833
-
834
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
835
- #: EXTENDED\1) github/view/templates/settings/system-status.php:30
836
- msgid "Gravity Forms"
837
- msgstr "Gravity Forms"
838
-
839
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
840
- #: EXTENDED\1) github/view/templates/settings/system-status.php:32
841
- msgid "Not Installed"
842
- msgstr "Pas installé"
843
-
844
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
845
- #: EXTENDED\1) github/view/templates/settings/system-status.php:47
846
- msgid "PHP Version"
847
- msgstr " Version de PHP"
848
-
849
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
850
- #: EXTENDED\1) github/view/templates/settings/system-status.php:50
851
- msgid "PHP Version "
852
- msgstr "Version de PHP "
853
-
854
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
855
- #: EXTENDED\1) github/view/templates/settings/system-status.php:54
856
- msgid "MB String"
857
- msgstr "MB String"
858
-
859
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
860
- #: EXTENDED\1) github/view/templates/settings/system-status.php:54
861
- #: github/view/templates/settings/system-status.php:62
862
- #: github/view/templates/settings/system-status.php:94
863
- #: github/view/templates/settings/system-status.php:103
864
- #: github/view/templates/settings/system-status.php:110
865
- #: github/view/templates/settings/system-status.php:117
866
- msgid "Yes"
867
- msgstr "Oui"
868
-
869
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
870
- #: EXTENDED\1) github/view/templates/settings/system-status.php:54
871
- #: github/view/templates/settings/system-status.php:62
872
- #: github/view/templates/settings/system-status.php:94
873
- #: github/view/templates/settings/system-status.php:103
874
- #: github/view/templates/settings/system-status.php:110
875
- #: github/view/templates/settings/system-status.php:117
876
- msgid "No"
877
- msgstr "Non"
878
-
879
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
880
- #: EXTENDED\1) github/view/templates/settings/system-status.php:58
881
- msgid ""
882
- "The PHP extension MB String and MB String Regex functions are required to "
883
- "use this plugin. Contact your web host to have it enabled."
884
- msgstr ""
885
- "L'extension PHP MB String et les fonctions MB String Regex sont nécessaires "
886
- "pour utiliser cette extension. Contactez votre hébergeur pour les faire "
887
- "activer."
888
-
889
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
890
- #: EXTENDED\1) github/view/templates/settings/system-status.php:62
891
- msgid "GD Library"
892
- msgstr "GD Library"
893
-
894
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
895
- #: EXTENDED\1) github/view/templates/settings/system-status.php:66
896
- msgid ""
897
- "The PHP extension GD Library is required to use this plugin. Contact your "
898
- "web host to have it enabled."
899
- msgstr ""
900
- "L'extension PHP GD Librairy est nécessaire pour utiliser cette extension. "
901
- "Contactez votre hébergeur pour la faire activer."
902
-
903
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
904
- #: EXTENDED\1) github/view/templates/settings/system-status.php:84
905
- msgid "Available RAM"
906
- msgstr "RAM disponible"
907
-
908
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
909
- #: EXTENDED\1) github/view/templates/settings/system-status.php:87
910
- #, php-format
911
- msgid ""
912
- "We recommend you have 128MB of available RAM to run this plugin. The minimum "
913
- "system requirement is 64MB. %sNot sure what this means? Contact your web "
914
- "host and ask them to fix the issue. %sNote: If you run less than 128MB, you "
915
- "risk PHP suffering a fatal error which will stop your website from running "
916
- "on Gravity Form pages."
917
- msgstr ""
918
- "Nous vous recommandons une mémoire RAM disponible de 128MB pour faire "
919
- "tourner cette extension. Le niveau minimum est de 64MB. %sVous n'êtes pas "
920
- "sûr de ce que cela signifie ? Contactez votre hébergeur et demandez leur de "
921
- "résoudre cela. %sNB : si vous avez moins de 128MB, vous risquez des erreurs "
922
- "fatales de PHP qui empêcheront votre site de fonctionner sur les pages avec "
923
- "des formulaires Gravity Forms."
924
-
925
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
926
- #: EXTENDED\1) github/view/templates/settings/system-status.php:94
927
- #, fuzzy
928
- msgid "Uploads Directory Writable?"
929
- msgstr "Répertoire des extensions accessible en écriture ?"
930
-
931
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
932
- #: EXTENDED\1) github/view/templates/settings/system-status.php:97
933
- #, fuzzy, php-format
934
- msgid ""
935
- "Your upload folder is not writable by your web server. Check that \"%s\" is "
936
- "writable by your web server otherwise we will attempt to use the FTP "
937
- "installer to initialise."
938
- msgstr ""
939
- "Le répertoire des polices de l'extension n'est pas accessible en écriture "
940
- "par le serveur. Vérifiez que le répertoire \"%s\" est accessible en "
941
- "écriture, ou bien nous essayerons d'utiliser l'installateur FTP pour "
942
- "l'initialisation. "
943
-
944
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
945
- #: EXTENDED\1) github/view/templates/settings/system-status.php:103
946
- msgid "PDF Output Directory Writable?"
947
- msgstr "Répertoire de sortie des PDF accessible en écriture ?"
948
-
949
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
950
- #: EXTENDED\1) github/view/templates/settings/system-status.php:106
951
- #, php-format
952
- msgid ""
953
- "The plugin's output folder is not writable by your web server. PDFs will not "
954
- "be attached to notifications until this problem is fixed. Check that \"%s\" "
955
- "is writable by your web server."
956
- msgstr ""
957
- "Le répertoire de stockage de l'extension n'est pas accessible en écriture "
958
- "par le serveur. Les PDF ne pourront pas être joints aux notifications tant "
959
- "que ce problème n'est pas réglé. Vérifiez que le répertoire \"%s\" est "
960
- "accessible en écriture. "
961
-
962
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
963
- #: EXTENDED\1) github/view/templates/settings/system-status.php:110
964
- msgid "PDF Font Directory Writable?"
965
- msgstr "Répertoire des polices de caractère PDF accessible en écriture ?"
966
-
967
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
968
- #: EXTENDED\1) github/view/templates/settings/system-status.php:113
969
- #, php-format
970
- msgid ""
971
- "The plugin's font folder is not writable by your web server. Check that \"%s"
972
- "\" is writable by your web server otherwise we will attempt to use the FTP "
973
- "installer to initialise."
974
- msgstr ""
975
- "Le répertoire des polices de l'extension n'est pas accessible en écriture "
976
- "par le serveur. Vérifiez que le répertoire \"%s\" est accessible en "
977
- "écriture, ou bien nous essayerons d'utiliser l'installateur FTP pour "
978
- "l'initialisation. "
979
-
980
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
981
- #: EXTENDED\1) github/view/templates/settings/system-status.php:117
982
- msgid "mPDF Temporary Directory Writable?"
983
- msgstr "Répertoire temporaire de mPDF accessible en écriture ?"
984
-
985
- #: G:\Blue Liquid Designs\4) BLUE LIQUID DESIGNS\19) GRAVITY FORMS PDF
986
- #: EXTENDED\1) github/view/templates/settings/system-status.php:120
987
- #, fuzzy, php-format
988
- msgid ""
989
- "mPDF temporary directory not writable (%s). Memory and image processing time "
990
- "will increase."
991
- msgstr ""
992
- "Le répertoire temporaire de mPDF (mPDF/tmp/) n'est pas accessible en "
993
- "écriture. La mémoire utilisée et le temps de traitement des images vont "
994
- "augmenter."
995
-
996
- #~ msgid ""
997
- #~ "There was a problem installing the font files. Check the file permissions "
998
- #~ "in the plugin folder and try again."
999
- #~ msgstr ""
1000
- #~ "Il y a eu un problème lors de l'installation des polices de caractères. "
1001
- #~ "Vérifiez les permissions dans le dossier du plugin et réessayer."
1002
-
1003
- #~ msgid ""
1004
- #~ "Gravity PDF needs to keep your configuration and templates "
1005
- #~ "folder in sync with your current active theme. %sSync Now%s"
1006
- #~ msgstr ""
1007
- #~ "Gravity PDF a besoin de synchroniser votre configuration "
1008
- #~ "et votre répertoire de modèles avec votre thème actif. %sSynchroniser "
1009
- #~ "maintenant%s"
1010
-
1011
- #~ msgid "PDF"
1012
- #~ msgstr "PDF"
1013
-
1014
- #~ msgid ""
1015
- #~ "The plugin folder is not writable by your web server. Check the directory "
1016
- #~ "\"%s\" is writable by your web server otherwise we will attempt to use "
1017
- #~ "the FTP installer to initialise."
1018
- #~ msgstr ""
1019
- #~ "Le dossier de l'extension n'est pas accessible en écriture par le "
1020
- #~ "serveur. Vérifiez que le répertoire \"%s\" est accessible en écriture, ou "
1021
- #~ "bien nous essayerons d'utiliser l'installateur FTP pour l'initialisation. "
1022
-
1023
- #~ msgid "Theme Directory Writable?"
1024
- #~ msgstr "Répertoire des thèmes accessible en écriture ?"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
mPDF.zip ADDED
Binary file
mPDF/classes/cssmgr.php CHANGED
@@ -198,7 +198,7 @@ function ReadCSS($html) {
198
  for ($i=0;$i<count($cxtem[0]);$i++) {
199
  $embedded = $cxtem[2][$i];
200
  if (!preg_match('/^data:image/i', $embedded)) { // mPDF 5.5.13
201
- //$this->mpdf->GetFullPath($embedded); /* Blue Liquid Designs Removed to allow both URL and PATHs to images */
202
  $tmpCSSstr = preg_replace('/'.preg_quote($cxtem[0][$i],'/').'/', ($cxtem[1][$i].$embedded.$cxtem[3][$i]), $tmpCSSstr );
203
  }
204
  }
@@ -221,8 +221,9 @@ function ReadCSS($html) {
221
  }
222
  }
223
 
 
224
  // Replace any background: url(data:image... with temporary image file reference
225
- preg_match_all("/(url\(data:image\/(jpeg|gif|png);base64,(.*?)\))/si", $CSSstr, $idata); // mPDF 5.7.2
226
  if (count($idata[0])) {
227
  for($i=0;$i<count($idata[0]);$i++) {
228
  $file = _MPDF_TEMP_PATH.'_tempCSSidata'.RAND(1,10000).'_'.$i.'.'.$idata[2][$i];
@@ -261,10 +262,6 @@ function ReadCSS($html) {
261
  $tagarr = explode(',',$tagstr);
262
  $pageselectors = false; // used to turn on $this->mpdf->mirrorMargins
263
  foreach($tagarr AS $tg) {
264
- // mPDF 5.7.4
265
- if (preg_match('/NTH-CHILD\((\s*(([\-+]?\d*)N(\s*[\-+]\s*\d+)?|[\-+]?\d+|ODD|EVEN)\s*)\)/',$tg,$m) ) {
266
- $tg = preg_replace('/NTH-CHILD\(.*\)/', 'NTH-CHILD('.str_replace(' ','',$m[1]).')', $tg);
267
- }
268
  $tags = preg_split('/\s+/',trim($tg));
269
  $level = count($tags);
270
  $t = '';
@@ -290,7 +287,7 @@ function ReadCSS($html) {
290
  }
291
 
292
  else if ($level == 1) { // e.g. p or .class or #id or p.class or p#id
293
- if (isset($tags[0])) { $t = trim($tags[0]); }
294
  if ($t) {
295
  $tag = '';
296
  if (preg_match('/^[.](.*)$/',$t,$m)) { $tag = 'CLASS>>'.$m[1]; }
@@ -702,13 +699,6 @@ function fixCSS($prop) {
702
  }
703
  else { $newprop[$k] = $v; }
704
  }
705
- else if ($k == 'LIST-STYLE') { // mPDF 5.7.2
706
- if (preg_match('/(lower-roman|upper-roman|lower-latin|lower-alpha|upper-latin|upper-alpha|none|decimal|disc|circle|square|arabic-indic|bengali|devanagari|gujarati|gurmukhi|kannada|malayalam|oriya|persian|tamil|telugu|thai|urdu|cambodian|khmer|lao)/i',$v,$m)
707
- || preg_match('/U\+([a-fA-F0-9]+)/i',$v,$m)) {
708
- $newprop['LIST-STYLE-TYPE'] = strtolower(trim($m[1]));
709
- }
710
- }
711
-
712
 
713
  else {
714
  $newprop[$k] = $v;
@@ -989,13 +979,17 @@ function _mergeFullCSS($p, &$t, $tag, $classes, $id) {
989
  $tfnr = (isset($this->mpdf->table[$this->mpdf->tableLevel][$this->mpdf->tbctr[$this->mpdf->tableLevel]]['is_tfoot']) ? count($this->mpdf->table[$this->mpdf->tableLevel][$this->mpdf->tbctr[$this->mpdf->tableLevel]]['is_tfoot']) : 0);
990
  if ($this->mpdf->tabletfoot) { $row -= $thnr; }
991
  else if (!$this->mpdf->tablethead) { $row -= ($thnr + $tfnr); }
992
- if (preg_match('/(([\-+]?\d*)?N([\-+]\d+)?|[\-+]?\d+|ODD|EVEN)/',$m[1],$a)) { // mPDF 5.7.4
993
- $select = $this->_nthchild($a, $row);
 
 
994
  }
995
  }
996
  else if ($tag=='TD' || $tag=='TH') {
997
- if (preg_match('/(([\-+]?\d*)?N([\-+]\d+)?|[\-+]?\d+|ODD|EVEN)/',$m[1],$a)) { // mPDF 5.7.4
998
- $select = $this->_nthchild($a, $this->mpdf->col);
 
 
999
  }
1000
  }
1001
  if ($select) {
@@ -1247,13 +1241,8 @@ function MergeCSS($inherit,$tag,$attr) {
1247
  }
1248
  //===============================================
1249
  /*-- TABLES --*/
1250
- // mPDF 5.7.3
1251
- // cellSpacing overwrites TABLE default but not specific CSS set on table
1252
- if ($tag=='TABLE' && isset($attr['CELLSPACING'])) {
1253
- $p['BORDER-SPACING-H'] = $p['BORDER-SPACING-V'] = $attr['CELLSPACING'];
1254
- }
1255
  // cellPadding overwrites TD/TH default but not specific CSS set on cell
1256
- if (($tag=='TD' || $tag=='TH') && isset($this->mpdf->table[$this->mpdf->tableLevel][$this->mpdf->tbctr[$this->mpdf->tableLevel]]['cell_padding']) && ($this->mpdf->table[$this->mpdf->tableLevel][$this->mpdf->tbctr[$this->mpdf->tableLevel]]['cell_padding'] || $this->mpdf->table[$this->mpdf->tableLevel][$this->mpdf->tbctr[$this->mpdf->tableLevel]]['cell_padding']==='0')) { // mPDF 5.7.3
1257
  $p['PADDING-LEFT'] = $this->mpdf->table[$this->mpdf->tableLevel][$this->mpdf->tbctr[$this->mpdf->tableLevel]]['cell_padding'];
1258
  $p['PADDING-RIGHT'] = $this->mpdf->table[$this->mpdf->tableLevel][$this->mpdf->tbctr[$this->mpdf->tableLevel]]['cell_padding'];
1259
  $p['PADDING-TOP'] = $this->mpdf->table[$this->mpdf->tableLevel][$this->mpdf->tbctr[$this->mpdf->tableLevel]]['cell_padding'];
@@ -1294,13 +1283,17 @@ function MergeCSS($inherit,$tag,$attr) {
1294
  $tfnr = (isset($this->mpdf->table[$this->mpdf->tableLevel][$this->mpdf->tbctr[$this->mpdf->tableLevel]]['is_tfoot']) ? count($this->mpdf->table[$this->mpdf->tableLevel][$this->mpdf->tbctr[$this->mpdf->tableLevel]]['is_tfoot']) : 0);
1295
  if ($this->mpdf->tabletfoot) { $row -= $thnr; }
1296
  else if (!$this->mpdf->tablethead) { $row -= ($thnr + $tfnr); }
1297
- if (preg_match('/(([\-+]?\d*)?N([\-+]\d+)?|[\-+]?\d+|ODD|EVEN)/',$m[1],$a)) { // mPDF 5.7.4
1298
- $select = $this->_nthchild($a, $row);
 
 
1299
  }
1300
  }
1301
  else if ($tag=='TD' || $tag=='TH') {
1302
- if (preg_match('/(([\-+]?\d*)?N([\-+]\d+)?|[\-+]?\d+|ODD|EVEN)/',$m[1],$a)) { // mPDF 5.7.4
1303
- $select = $this->_nthchild($a, $this->mpdf->col);
 
 
1304
  }
1305
  }
1306
  if ($select) {
@@ -1388,13 +1381,17 @@ function MergeCSS($inherit,$tag,$attr) {
1388
  $tfnr = (isset($this->mpdf->table[$this->mpdf->tableLevel][$this->mpdf->tbctr[$this->mpdf->tableLevel]]['is_tfoot']) ? count($this->mpdf->table[$this->mpdf->tableLevel][$this->mpdf->tbctr[$this->mpdf->tableLevel]]['is_tfoot']) : 0);
1389
  if ($this->mpdf->tabletfoot) { $row -= $thnr; }
1390
  else if (!$this->mpdf->tablethead) { $row -= ($thnr + $tfnr); }
1391
- if (preg_match('/(([\-+]?\d*)?N([\-+]\d+)?|[\-+]?\d+|ODD|EVEN)/',$m[1],$a)) { // mPDF 5.7.4
1392
- $select = $this->_nthchild($a, $row);
 
 
1393
  }
1394
  }
1395
  else if ($tag=='TD' || $tag=='TH') {
1396
- if (preg_match('/(([\-+]?\d*)?N([\-+]\d+)?|[\-+]?\d+|ODD|EVEN)/',$m[1],$a)) { // mPDF 5.7.4
1397
- $select = $this->_nthchild($a, $this->mpdf->col);
 
 
1398
  }
1399
  }
1400
  if ($select) {
@@ -1560,40 +1557,7 @@ function PreviewBlockCSS($tag,$attr) {
1560
  return $p;
1561
  }
1562
 
1563
- // mPDF 5.7.4 nth-child
1564
- function _nthchild($f, $c) {
1565
- // $f is formual e.g. 2N+1 spilt into a preg_match array
1566
- // $c is the comparator value e.g row or column number
1567
- $c += 1;
1568
- $select = false;
1569
- $a=1; $b=1;
1570
- if ($f[0]=='ODD') { $a=2; $b=1; }
1571
- else if ($f[0]=='EVEN') { $a=2; $b=0; }
1572
- else if (count($f)==2) { $a=0; $b=$f[1]+0; } // e.g. (+6)
1573
- else if (count($f)==3) { // e.g. (2N)
1574
- if ($f[2]=='') { $a=1; }
1575
- else if ($f[2]=='-') { $a=-1; }
1576
- else { $a=$f[2]+0; }
1577
- $b=0;
1578
- }
1579
- else if (count($f)==4) { // e.g. (2N+6)
1580
- if ($f[2]=='') { $a=1; }
1581
- else if ($f[2]=='-') { $a=-1; }
1582
- else { $a=$f[2]+0; }
1583
- $b=$f[3]+0;
1584
- }
1585
- else { return false; }
1586
- if ($a>0) {
1587
- if (((($c % $a) - $b) % $a) == 0 && $c >= $b) { $select = true; }
1588
- }
1589
- else if ($a==0) {
1590
- if ($c == $b) { $select = true; }
1591
- }
1592
- else { // if ($a<0)
1593
- if (((($c % $a) - $b) % $a) == 0 && $c <= $b) { $select = true; }
1594
- }
1595
- return $select;
1596
- }
1597
 
1598
 
1599
 
198
  for ($i=0;$i<count($cxtem[0]);$i++) {
199
  $embedded = $cxtem[2][$i];
200
  if (!preg_match('/^data:image/i', $embedded)) { // mPDF 5.5.13
201
+ $this->mpdf->GetFullPath($embedded);
202
  $tmpCSSstr = preg_replace('/'.preg_quote($cxtem[0][$i],'/').'/', ($cxtem[1][$i].$embedded.$cxtem[3][$i]), $tmpCSSstr );
203
  }
204
  }
221
  }
222
  }
223
 
224
+ // mPDF 5.5.13
225
  // Replace any background: url(data:image... with temporary image file reference
226
+ preg_match_all("/(url\(data:image\/(jpeg|gif|png);base64,(.*)\))/si", $CSSstr, $idata);
227
  if (count($idata[0])) {
228
  for($i=0;$i<count($idata[0]);$i++) {
229
  $file = _MPDF_TEMP_PATH.'_tempCSSidata'.RAND(1,10000).'_'.$i.'.'.$idata[2][$i];
262
  $tagarr = explode(',',$tagstr);
263
  $pageselectors = false; // used to turn on $this->mpdf->mirrorMargins
264
  foreach($tagarr AS $tg) {
 
 
 
 
265
  $tags = preg_split('/\s+/',trim($tg));
266
  $level = count($tags);
267
  $t = '';
287
  }
288
 
289
  else if ($level == 1) { // e.g. p or .class or #id or p.class or p#id
290
+ if (isset($tags[0])) { $t = trim($tags[0]); }
291
  if ($t) {
292
  $tag = '';
293
  if (preg_match('/^[.](.*)$/',$t,$m)) { $tag = 'CLASS>>'.$m[1]; }
699
  }
700
  else { $newprop[$k] = $v; }
701
  }
 
 
 
 
 
 
 
702
 
703
  else {
704
  $newprop[$k] = $v;
979
  $tfnr = (isset($this->mpdf->table[$this->mpdf->tableLevel][$this->mpdf->tbctr[$this->mpdf->tableLevel]]['is_tfoot']) ? count($this->mpdf->table[$this->mpdf->tableLevel][$this->mpdf->tbctr[$this->mpdf->tableLevel]]['is_tfoot']) : 0);
980
  if ($this->mpdf->tabletfoot) { $row -= $thnr; }
981
  else if (!$this->mpdf->tablethead) { $row -= ($thnr + $tfnr); }
982
+ if ($m[1]=='ODD' && ($row % 2) == 0) { $select = true; }
983
+ else if ($m[1]=='EVEN' && ($row % 2) == 1) { $select = true; }
984
+ else if (preg_match('/(\d+)N\+(\d+)/',$m[1],$a)) {
985
+ if ((($row + 1) % $a[1]) == $a[2]) { $select = true; }
986
  }
987
  }
988
  else if ($tag=='TD' || $tag=='TH') {
989
+ if ($m[1]=='ODD' && ($this->mpdf->col % 2) == 0) { $select = true; }
990
+ else if ($m[1]=='EVEN' && ($this->mpdf->col % 2) == 1) { $select = true; }
991
+ else if (preg_match('/(\d+)N\+(\d+)/',$m[1],$a)) {
992
+ if ((($this->mpdf->col + 1) % $a[1]) == $a[2]) { $select = true; }
993
  }
994
  }
995
  if ($select) {
1241
  }
1242
  //===============================================
1243
  /*-- TABLES --*/
 
 
 
 
 
1244
  // cellPadding overwrites TD/TH default but not specific CSS set on cell
1245
+ if (($tag=='TD' || $tag=='TH') && isset($this->mpdf->table[$this->mpdf->tableLevel][$this->mpdf->tbctr[$this->mpdf->tableLevel]]['cell_padding']) && ($this->mpdf->table[$this->mpdf->tableLevel][$this->mpdf->tbctr[$this->mpdf->tableLevel]]['cell_padding'] || $this->mpdf->table[$this->mpdf->tableLevel][$this->mpdf->tbctr[$this->mpdf->tableLevel]]['cell_padding']===0)) {
1246
  $p['PADDING-LEFT'] = $this->mpdf->table[$this->mpdf->tableLevel][$this->mpdf->tbctr[$this->mpdf->tableLevel]]['cell_padding'];
1247
  $p['PADDING-RIGHT'] = $this->mpdf->table[$this->mpdf->tableLevel][$this->mpdf->tbctr[$this->mpdf->tableLevel]]['cell_padding'];
1248
  $p['PADDING-TOP'] = $this->mpdf->table[$this->mpdf->tableLevel][$this->mpdf->tbctr[$this->mpdf->tableLevel]]['cell_padding'];
1283
  $tfnr = (isset($this->mpdf->table[$this->mpdf->tableLevel][$this->mpdf->tbctr[$this->mpdf->tableLevel]]['is_tfoot']) ? count($this->mpdf->table[$this->mpdf->tableLevel][$this->mpdf->tbctr[$this->mpdf->tableLevel]]['is_tfoot']) : 0);
1284
  if ($this->mpdf->tabletfoot) { $row -= $thnr; }
1285
  else if (!$this->mpdf->tablethead) { $row -= ($thnr + $tfnr); }
1286
+ if ($m[1]=='ODD' && ($row % 2) == 0) { $select = true; }
1287
+ else if ($m[1]=='EVEN' && ($row % 2) == 1) { $select = true; }
1288
+ else if (preg_match('/(\d+)N\+(\d+)/',$m[1],$a)) {
1289
+ if ((($row + 1) % $a[1]) == $a[2]) { $select = true; }
1290
  }
1291
  }
1292
  else if ($tag=='TD' || $tag=='TH') {
1293
+ if ($m[1]=='ODD' && ($this->mpdf->col % 2) == 0) { $select = true; }
1294
+ else if ($m[1]=='EVEN' && ($this->mpdf->col % 2) == 1) { $select = true; }
1295
+ else if (preg_match('/(\d+)N\+(\d+)/',$m[1],$a)) {
1296
+ if ((($this->mpdf->col+1) % $a[1]) == $a[2]) { $select = true; }
1297
  }
1298
  }
1299
  if ($select) {
1381
  $tfnr = (isset($this->mpdf->table[$this->mpdf->tableLevel][$this->mpdf->tbctr[$this->mpdf->tableLevel]]['is_tfoot']) ? count($this->mpdf->table[$this->mpdf->tableLevel][$this->mpdf->tbctr[$this->mpdf->tableLevel]]['is_tfoot']) : 0);
1382
  if ($this->mpdf->tabletfoot) { $row -= $thnr; }
1383
  else if (!$this->mpdf->tablethead) { $row -= ($thnr + $tfnr); }
1384
+ if ($m[1]=='ODD' && ($row % 2) == 0) { $select = true; }
1385
+ else if ($m[1]=='EVEN' && ($row % 2) == 1) { $select = true; }
1386
+ else if (preg_match('/(\d+)N\+(\d+)/',$m[1],$a)) {
1387
+ if ((($row + 1) % $a[1]) == $a[2]) { $select = true; }
1388
  }
1389
  }
1390
  else if ($tag=='TD' || $tag=='TH') {
1391
+ if ($m[1]=='ODD' && ($this->mpdf->col % 2) == 0) { $select = true; }
1392
+ else if ($m[1]=='EVEN' && ($this->mpdf->col % 2) == 1) { $select = true; }
1393
+ else if (preg_match('/(\d+)N\+(\d+)/',$m[1],$a)) {
1394
+ if ((($this->mpdf->col + 1) % $a[1]) == $a[2]) { $select = true; }
1395
  }
1396
  }
1397
  if ($select) {
1557
  return $p;
1558
  }
1559
 
1560
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1561
 
1562
 
1563
 
mPDF/classes/ttfontsuni.php CHANGED
@@ -124,7 +124,7 @@ var $kerninfo;
124
  }
125
 
126
 
127
- function readTableDirectory($debug=false) {
128
  $this->numTables = $this->read_ushort();
129
  $this->searchRange = $this->read_ushort();
130
  $this->entrySelector = $this->read_ushort();
@@ -138,7 +138,7 @@ var $kerninfo;
138
  $record['length'] = $this->read_ulong();
139
  $this->tables[$record['tag']] = $record;
140
  }
141
- //if ($debug) $this->checksumTables();
142
  }
143
 
144
  function checksumTables() {
@@ -154,7 +154,6 @@ var $kerninfo;
154
  $checksum = $this->sub32($checksum, $adjustment);
155
  }
156
  $xchecksum = $t['checksum'];
157
-
158
  if ($xchecksum != $checksum)
159
  die(sprintf('TTF file "%s": invalid checksum %s table: %s (expected %s)', $this->filename,dechex($checksum[0]).dechex($checksum[1]),$t['tag'],dechex($xchecksum[0]).dechex($xchecksum[1])));
160
  }
@@ -334,9 +333,9 @@ var $kerninfo;
334
  $this->seek($this->TTCFonts[$TTCfontID]['offset']);
335
  $this->version = $version = $this->read_ulong(); // TTFont version again now
336
  }
337
-
338
  $this->readTableDirectory($debug);
339
 
 
340
  // cmap - Character to glyph index mapping table
341
  $cmap_offset = $this->seek_table("cmap");
342
  $this->skip(2);
124
  }
125
 
126
 
127
+ function readTableDirectory($debug=false) {
128
  $this->numTables = $this->read_ushort();
129
  $this->searchRange = $this->read_ushort();
130
  $this->entrySelector = $this->read_ushort();
138
  $record['length'] = $this->read_ulong();
139
  $this->tables[$record['tag']] = $record;
140
  }
141
+ if ($debug) $this->checksumTables();
142
  }
143
 
144
  function checksumTables() {
154
  $checksum = $this->sub32($checksum, $adjustment);
155
  }
156
  $xchecksum = $t['checksum'];
 
157
  if ($xchecksum != $checksum)
158
  die(sprintf('TTF file "%s": invalid checksum %s table: %s (expected %s)', $this->filename,dechex($checksum[0]).dechex($checksum[1]),$t['tag'],dechex($xchecksum[0]).dechex($xchecksum[1])));
159
  }
333
  $this->seek($this->TTCFonts[$TTCfontID]['offset']);
334
  $this->version = $version = $this->read_ulong(); // TTFont version again now
335
  }
 
336
  $this->readTableDirectory($debug);
337
 
338
+
339
  // cmap - Character to glyph index mapping table
340
  $cmap_offset = $this->seek_table("cmap");
341
  $this->skip(2);
mPDF/config.php CHANGED
@@ -99,7 +99,7 @@ $this->dpi = 96; // To interpret "px" pixel values in HTML/CSS (see img_dpi
99
  $this->allow_html_optional_endtags = true;
100
 
101
  $this->ignore_invalid_utf8 = true;
102
- $this->text_input_as_HTML = true; // Converts all entities in Text inputs to UTF-8 before encoding
103
  $this->useGraphs = false;
104
 
105
 
@@ -143,7 +143,7 @@ if(WP_DEBUG === true)
143
  $this->debug = true;
144
  $this->debugfonts = true; // Checks and reports on errors when parsing TTF files - adds significantly to processing time
145
  $this->showImageErrors = false;
146
- $this->table_error_report = false; /* shows inaccurate error about too small a cell width when enabled */
147
  $this->table_error_report_param = ''; // Parameter which can be passed to show in error report i.e. chapter number being processed//
148
  }
149
  else
99
  $this->allow_html_optional_endtags = true;
100
 
101
  $this->ignore_invalid_utf8 = true;
102
+ $this->text_input_as_HTML = false; // Converts all entities in Text inputs to UTF-8 before encoding
103
  $this->useGraphs = false;
104
 
105
 
143
  $this->debug = true;
144
  $this->debugfonts = true; // Checks and reports on errors when parsing TTF files - adds significantly to processing time
145
  $this->showImageErrors = false;
146
+ $this->table_error_report = true; // Die and report error if table is too wide to contain whole words
147
  $this->table_error_report_param = ''; // Parameter which can be passed to show in error report i.e. chapter number being processed//
148
  }
149
  else
mPDF/config_fonts.php CHANGED
@@ -43,19 +43,19 @@ by including the font-family in $this->sans_fonts below
43
  To aid backwards compatability some are included:
44
  */
45
  $this->fonttrans = array(
46
- 'helvetica' => 'chelvetica',
47
- 'arial' => 'chelvetica',
48
- 'timesnewroman' => 'ctimes',
49
- 'times' => 'ctimes',
50
- 'courier' => 'ccourier',
51
- 'trebuchet' => 'trebuchetms',
52
- 'comic' => 'comicsansms',
53
- 'franklin' => 'franklingothicbook',
54
- 'albertus' => 'albertusmedium',
55
- 'arialuni' => 'arialunicodems',
56
- 'zn_hannom_a' => 'hannoma',
57
- 'ocr-b' => 'ocrb',
58
- 'ocr-b10bt' => 'ocrb',
59
  );
60
 
61
  /*
@@ -270,10 +270,9 @@ $this->fontdata = array(
270
  * Blue Liquid Designs Edit
271
  * Include the font configuration file defined by the plugin
272
  */
273
-
274
- if(file_exists($gfpdfe_data->template_font_location . 'config.php'))
275
  {
276
- include $gfpdfe_data->template_font_location . 'config.php';
277
  }
278
 
279
 
43
  To aid backwards compatability some are included:
44
  */
45
  $this->fonttrans = array(
46
+ 'helvetica' => 'arial',
47
+ 'times' => 'timesnewroman',
48
+ 'courier' => 'couriernew',
49
+ 'trebuchet' => 'trebuchetms',
50
+ 'comic' => 'comicsansms',
51
+ 'franklin' => 'franklingothicbook',
52
+ 'albertus' => 'albertusmedium',
53
+ 'arialuni' => 'arialunicodems',
54
+ 'zn_hannom_a' => 'hannoma',
55
+ 'ocr-b' => 'ocrb',
56
+ 'ocr-b10bt' => 'ocrb',
57
+
58
+
59
  );
60
 
61
  /*
270
  * Blue Liquid Designs Edit
271
  * Include the font configuration file defined by the plugin
272
  */
273
+ if(file_exists(PDF_TEMPLATE_LOCATION.'fonts/config.php'))
 
274
  {
275
+ include PDF_TEMPLATE_LOCATION.'fonts/config.php';
276
  }
277
 
278
 
mPDF/includes/upperCase.php CHANGED
@@ -1,975 +1,975 @@
1
- <?php
2
- $this->upperCase=array (
3
- 97 => 65,
4
- 98 => 66,
5
- 99 => 67,
6
- 100 => 68,
7
- 101 => 69,
8
- 102 => 70,
9
- 103 => 71,
10
- 104 => 72,
11
- 105 => 73,
12
- 106 => 74,
13
- 107 => 75,
14
- 108 => 76,
15
- 109 => 77,
16
- 110 => 78,
17
- 111 => 79,
18
- 112 => 80,
19
- 113 => 81,
20
- 114 => 82,
21
- 115 => 83,
22
- 116 => 84,
23
- 117 => 85,
24
- 118 => 86,
25
- 119 => 87,
26
- 120 => 88,
27
- 121 => 89,
28
- 122 => 90,
29
- 181 => 924,
30
- 224 => 192,
31
- 225 => 193,
32
- 226 => 194,
33
- 227 => 195,
34
- 228 => 196,
35
- 229 => 197,
36
- 230 => 198,
37
- 231 => 199,
38
- 232 => 200,
39
- 233 => 201,
40
- 234 => 202,
41
- 235 => 203,
42
- 236 => 204,
43
- 237 => 205,
44
- 238 => 206,
45
- 239 => 207,
46
- 240 => 208,
47
- 241 => 209,
48
- 242 => 210,
49
- 243 => 211,
50
- 244 => 212,
51
- 245 => 213,
52
- 246 => 214,
53
- 248 => 216,
54
- 249 => 217,
55
- 250 => 218,
56
- 251 => 219,
57
- 252 => 220,
58
- 253 => 221,
59
- 254 => 222,
60
- 255 => 376,
61
- 257 => 256,
62
- 259 => 258,
63
- 261 => 260,
64
- 263 => 262,
65
- 265 => 264,
66
- 267 => 266,
67
- 269 => 268,
68
- 271 => 270,
69
- 273 => 272,
70
- 275 => 274,
71
- 277 => 276,
72
- 279 => 278,
73
- 281 => 280,
74
- 283 => 282,
75
- 285 => 284,
76
- 287 => 286,
77
- 289 => 288,
78
- 291 => 290,
79
- 293 => 292,
80
- 295 => 294,
81
- 297 => 296,
82
- 299 => 298,
83
- 301 => 300,
84
- 303 => 302,
85
- 305 => 73,
86
- 307 => 306,
87
- 309 => 308,
88
- 311 => 310,
89
- 314 => 313,
90
- 316 => 315,
91
- 318 => 317,
92
- 320 => 319,
93
- 322 => 321,
94
- 324 => 323,
95
- 326 => 325,
96
- 328 => 327,
97
- 331 => 330,
98
- 333 => 332,
99
- 335 => 334,
100
- 337 => 336,
101
- 339 => 338,
102
- 341 => 340,
103
- 343 => 342,
104
- 345 => 344,
105
- 347 => 346,
106
- 349 => 348,
107
- 351 => 350,
108
- 353 => 352,
109
- 355 => 354,
110
- 357 => 356,
111
- 359 => 358,
112
- 361 => 360,
113
- 363 => 362,
114
- 365 => 364,
115
- 367 => 366,
116
- 369 => 368,
117
- 371 => 370,
118
- 373 => 372,
119
- 375 => 374,
120
- 378 => 377,
121
- 380 => 379,
122
- 382 => 381,
123
- 383 => 83,
124
- 384 => 579,
125
- 387 => 386,
126
- 389 => 388,
127
- 392 => 391,
128
- 396 => 395,
129
- 402 => 401,
130
- 405 => 502,
131
- 409 => 408,
132
- 410 => 573,
133
- 414 => 544,
134
- 417 => 416,
135
- 419 => 418,
136
- 421 => 420,
137
- 424 => 423,
138
- 429 => 428,
139
- 432 => 431,
140
- 436 => 435,
141
- 438 => 437,
142
- 441 => 440,
143
- 445 => 444,
144
- 447 => 503,
145
- 453 => 452,
146
- 454 => 452,
147
- 456 => 455,
148
- 457 => 455,
149
- 459 => 458,
150
- 460 => 458,
151
- 462 => 461,
152
- 464 => 463,
153
- 466 => 465,
154
- 468 => 467,
155
- 470 => 469,
156
- 472 => 471,
157
- 474 => 473,
158
- 476 => 475,
159
- 477 => 398,
160
- 479 => 478,
161
- 481 => 480,
162
- 483 => 482,
163
- 485 => 484,
164
- 487 => 486,
165
- 489 => 488,
166
- 491 => 490,
167
- 493 => 492,
168
- 495 => 494,
169
- 498 => 497,
170
- 499 => 497,
171
- 501 => 500,
172
- 505 => 504,
173
- 507 => 506,
174
- 509 => 508,
175
- 511 => 510,
176
- 513 => 512,
177
- 515 => 514,
178
- 517 => 516,
179
- 519 => 518,
180
- 521 => 520,
181
- 523 => 522,
182
- 525 => 524,
183
- 527 => 526,
184
- 529 => 528,
185
- 531 => 530,
186
- 533 => 532,
187
- 535 => 534,
188
- 537 => 536,
189
- 539 => 538,
190
- 541 => 540,
191
- 543 => 542,
192
- 547 => 546,
193
- 549 => 548,
194
- 551 => 550,
195
- 553 => 552,
196
- 555 => 554,
197
- 557 => 556,
198
- 559 => 558,
199
- 561 => 560,
200
- 563 => 562,
201
- 572 => 571,
202
- 575 => 11390,
203
- 576 => 11391,
204
- 578 => 577,
205
- 583 => 582,
206
- 585 => 584,
207
- 587 => 586,
208
- 589 => 588,
209
- 591 => 590,
210
- 592 => 11375,
211
- 593 => 11373,
212
- 594 => 11376,
213
- 595 => 385,
214
- 596 => 390,
215
- 598 => 393,
216
- 599 => 394,
217
- 601 => 399,
218
- 603 => 400,
219
- 608 => 403,
220
- 611 => 404,
221
- 616 => 407,
222
- 617 => 406,
223
- 619 => 11362,
224
- 623 => 412,
225
- 625 => 11374,
226
- 626 => 413,
227
- 629 => 415,
228
- 637 => 11364,
229
- 640 => 422,
230
- 643 => 425,
231
- 648 => 430,
232
- 649 => 580,
233
- 650 => 433,
234
- 651 => 434,
235
- 652 => 581,
236
- 658 => 439,
237
- 837 => 921,
238
- 881 => 880,
239
- 883 => 882,
240
- 887 => 886,
241
- 891 => 1021,
242
- 892 => 1022,
243
- 893 => 1023,
244
- 940 => 902,
245
- 941 => 904,
246
- 942 => 905,
247
- 943 => 906,
248
- 945 => 913,
249
- 946 => 914,
250
- 947 => 915,
251
- 948 => 916,
252
- 949 => 917,
253
- 950 => 918,
254
- 951 => 919,
255
- 952 => 920,
256
- 953 => 921,
257
- 954 => 922,
258
- 955 => 923,
259
- 956 => 924,
260
- 957 => 925,
261
- 958 => 926,
262
- 959 => 927,
263
- 960 => 928,
264
- 961 => 929,
265
- 962 => 931,
266
- 963 => 931,
267
- 964 => 932,
268
- 965 => 933,
269
- 966 => 934,
270
- 967 => 935,
271
- 968 => 936,
272
- 969 => 937,
273
- 970 => 938,
274
- 971 => 939,
275
- 972 => 908,
276
- 973 => 910,
277
- 974 => 911,
278
- 976 => 914,
279
- 977 => 920,
280
- 981 => 934,
281
- 982 => 928,
282
- 983 => 975,
283
- 985 => 984,
284
- 987 => 986,
285
- 989 => 988,
286
- 991 => 990,
287
- 993 => 992,
288
- 995 => 994,
289
- 997 => 996,
290
- 999 => 998,
291
- 1001 => 1000,
292
- 1003 => 1002,
293
- 1005 => 1004,
294
- 1007 => 1006,
295
- 1008 => 922,
296
- 1009 => 929,
297
- 1010 => 1017,
298
- 1013 => 917,
299
- 1016 => 1015,
300
- 1019 => 1018,
301
- 1072 => 1040,
302
- 1073 => 1041,
303
- 1074 => 1042,
304
- 1075 => 1043,
305
- 1076 => 1044,
306
- 1077 => 1045,
307
- 1078 => 1046,
308
- 1079 => 1047,
309
- 1080 => 1048,
310
- 1081 => 1049,
311
- 1082 => 1050,
312
- 1083 => 1051,
313
- 1084 => 1052,
314
- 1085 => 1053,
315
- 1086 => 1054,
316
- 1087 => 1055,
317
- 1088 => 1056,
318
- 1089 => 1057,
319
- 1090 => 1058,
320
- 1091 => 1059,
321
- 1092 => 1060,
322
- 1093 => 1061,
323
- 1094 => 1062,
324
- 1095 => 1063,
325
- 1096 => 1064,
326
- 1097 => 1065,
327
- 1098 => 1066,
328
- 1099 => 1067,
329
- 1100 => 1068,
330
- 1101 => 1069,
331
- 1102 => 1070,
332
- 1103 => 1071,
333
- 1104 => 1024,
334
- 1105 => 1025,
335
- 1106 => 1026,
336
- 1107 => 1027,
337
- 1108 => 1028,
338
- 1109 => 1029,
339
- 1110 => 1030,
340
- 1111 => 1031,
341
- 1112 => 1032,
342
- 1113 => 1033,
343
- 1114 => 1034,
344
- 1115 => 1035,
345
- 1116 => 1036,
346
- 1117 => 1037,
347
- 1118 => 1038,
348
- 1119 => 1039,
349
- 1121 => 1120,
350
- 1123 => 1122,
351
- 1125 => 1124,
352
- 1127 => 1126,
353
- 1129 => 1128,
354
- 1131 => 1130,
355
- 1133 => 1132,
356
- 1135 => 1134,
357
- 1137 => 1136,
358
- 1139 => 1138,
359
- 1141 => 1140,
360
- 1143 => 1142,
361
- 1145 => 1144,
362
- 1147 => 1146,
363
- 1149 => 1148,
364
- 1151 => 1150,
365
- 1153 => 1152,
366
- 1163 => 1162,
367
- 1165 => 1164,
368
- 1167 => 1166,
369
- 1169 => 1168,
370
- 1171 => 1170,
371
- 1173 => 1172,
372
- 1175 => 1174,
373
- 1177 => 1176,
374
- 1179 => 1178,
375
- 1181 => 1180,
376
- 1183 => 1182,
377
- 1185 => 1184,
378
- 1187 => 1186,
379
- 1189 => 1188,
380
- 1191 => 1190,
381
- 1193 => 1192,
382
- 1195 => 1194,
383
- 1197 => 1196,
384
- 1199 => 1198,
385
- 1201 => 1200,
386
- 1203 => 1202,
387
- 1205 => 1204,
388
- 1207 => 1206,
389
- 1209 => 1208,
390
- 1211 => 1210,
391
- 1213 => 1212,
392
- 1215 => 1214,
393
- 1218 => 1217,
394
- 1220 => 1219,
395
- 1222 => 1221,
396
- 1224 => 1223,
397
- 1226 => 1225,
398
- 1228 => 1227,
399
- 1230 => 1229,
400
- 1231 => 1216,
401
- 1233 => 1232,
402
- 1235 => 1234,
403
- 1237 => 1236,
404
- 1239 => 1238,
405
- 1241 => 1240,
406
- 1243 => 1242,
407
- 1245 => 1244,
408
- 1247 => 1246,
409
- 1249 => 1248,
410
- 1251 => 1250,
411
- 1253 => 1252,
412
- 1255 => 1254,
413
- 1257 => 1256,
414
- 1259 => 1258,
415
- 1261 => 1260,
416
- 1263 => 1262,
417
- 1265 => 1264,
418
- 1267 => 1266,
419
- 1269 => 1268,
420
- 1271 => 1270,
421
- 1273 => 1272,
422
- 1275 => 1274,
423
- 1277 => 1276,
424
- 1279 => 1278,
425
- 1281 => 1280,
426
- 1283 => 1282,
427
- 1285 => 1284,
428
- 1287 => 1286,
429
- 1289 => 1288,
430
- 1291 => 1290,
431
- 1293 => 1292,
432
- 1295 => 1294,
433
- 1297 => 1296,
434
- 1299 => 1298,
435
- 1301 => 1300,
436
- 1303 => 1302,
437
- 1305 => 1304,
438
- 1307 => 1306,
439
- 1309 => 1308,
440
- 1311 => 1310,
441
- 1313 => 1312,
442
- 1315 => 1314,
443
- 1317 => 1316,
444
- 1377 => 1329,
445
- 1378 => 1330,
446
- 1379 => 1331,
447
- 1380 => 1332,
448
- 1381 => 1333,
449
- 1382 => 1334,
450
- 1383 => 1335,
451
- 1384 => 1336,
452
- 1385 => 1337,
453
- 1386 => 1338,
454
- 1387 => 1339,
455
- 1388 => 1340,
456
- 1389 => 1341,
457
- 1390 => 1342,
458
- 1391 => 1343,
459
- 1392 => 1344,
460
- 1393 => 1345,
461
- 1394 => 1346,
462
- 1395 => 1347,
463
- 1396 => 1348,
464
- 1397 => 1349,
465
- 1398 => 1350,
466
- 1399 => 1351,
467
- 1400 => 1352,
468
- 1401 => 1353,
469
- 1402 => 1354,
470
- 1403 => 1355,
471
- 1404 => 1356,
472
- 1405 => 1357,
473
- 1406 => 1358,
474
- 1407 => 1359,
475
- 1408 => 1360,
476
- 1409 => 1361,
477
- 1410 => 1362,
478
- 1411 => 1363,
479
- 1412 => 1364,
480
- 1413 => 1365,
481
- 1414 => 1366,
482
- 7545 => 42877,
483
- 7549 => 11363,
484
- 7681 => 7680,
485
- 7683 => 7682,
486
- 7685 => 7684,
487
- 7687 => 7686,
488
- 7689 => 7688,
489
- 7691 => 7690,
490
- 7693 => 7692,
491
- 7695 => 7694,
492
- 7697 => 7696,
493
- 7699 => 7698,
494
- 7701 => 7700,
495
- 7703 => 7702,
496
- 7705 => 7704,
497
- 7707 => 7706,
498
- 7709 => 7708,
499
- 7711 => 7710,
500
- 7713 => 7712,
501
- 7715 => 7714,
502
- 7717 => 7716,
503
- 7719 => 7718,
504
- 7721 => 7720,
505
- 7723 => 7722,
506
- 7725 => 7724,
507
- 7727 => 7726,
508
- 7729 => 7728,
509
- 7731 => 7730,
510
- 7733 => 7732,
511
- 7735 => 7734,
512
- 7737 => 7736,
513
- 7739 => 7738,
514
- 7741 => 7740,
515
- 7743 => 7742,
516
- 7745 => 7744,
517
- 7747 => 7746,
518
- 7749 => 7748,
519
- 7751 => 7750,
520
- 7753 => 7752,
521
- 7755 => 7754,
522
- 7757 => 7756,
523
- 7759 => 7758,
524
- 7761 => 7760,
525
- 7763 => 7762,
526
- 7765 => 7764,
527
- 7767 => 7766,
528
- 7769 => 7768,
529
- 7771 => 7770,
530
- 7773 => 7772,
531
- 7775 => 7774,
532
- 7777 => 7776,
533
- 7779 => 7778,
534
- 7781 => 7780,
535
- 7783 => 7782,
536
- 7785 => 7784,
537
- 7787 => 7786,
538
- 7789 => 7788,
539
- 7791 => 7790,
540
- 7793 => 7792,
541
- 7795 => 7794,
542
- 7797 => 7796,
543
- 7799 => 7798,
544
- 7801 => 7800,
545
- 7803 => 7802,
546
- 7805 => 7804,
547
- 7807 => 7806,
548
- 7809 => 7808,
549
- 7811 => 7810,
550
- 7813 => 7812,
551
- 7815 => 7814,
552
- 7817 => 7816,
553
- 7819 => 7818,
554
- 7821 => 7820,
555
- 7823 => 7822,
556
- 7825 => 7824,
557
- 7827 => 7826,
558
- 7829 => 7828,
559
- 7835 => 7776,
560
- 7841 => 7840,
561
- 7843 => 7842,
562
- 7845 => 7844,
563
- 7847 => 7846,
564
- 7849 => 7848,
565
- 7851 => 7850,
566
- 7853 => 7852,
567
- 7855 => 7854,
568
- 7857 => 7856,
569
- 7859 => 7858,
570
- 7861 => 7860,
571
- 7863 => 7862,
572
- 7865 => 7864,
573
- 7867 => 7866,
574
- 7869 => 7868,
575
- 7871 => 7870,
576
- 7873 => 7872,
577
- 7875 => 7874,
578
- 7877 => 7876,
579
- 7879 => 7878,
580
- 7881 => 7880,
581
- 7883 => 7882,
582
- 7885 => 7884,
583
- 7887 => 7886,
584
- 7889 => 7888,
585
- 7891 => 7890,
586
- 7893 => 7892,
587
- 7895 => 7894,
588
- 7897 => 7896,
589
- 7899 => 7898,
590
- 7901 => 7900,
591
- 7903 => 7902,
592
- 7905 => 7904,
593
- 7907 => 7906,
594
- 7909 => 7908,
595
- 7911 => 7910,
596
- 7913 => 7912,
597
- 7915 => 7914,
598
- 7917 => 7916,
599
- 7919 => 7918,
600
- 7921 => 7920,
601
- 7923 => 7922,
602
- 7925 => 7924,
603
- 7927 => 7926,
604
- 7929 => 7928,
605
- 7931 => 7930,
606
- 7933 => 7932,
607
- 7935 => 7934,
608
- 7936 => 7944,
609
- 7937 => 7945,
610
- 7938 => 7946,
611
- 7939 => 7947,
612
- 7940 => 7948,
613
- 7941 => 7949,
614
- 7942 => 7950,
615
- 7943 => 7951,
616
- 7952 => 7960,
617
- 7953 => 7961,
618
- 7954 => 7962,
619
- 7955 => 7963,
620
- 7956 => 7964,
621
- 7957 => 7965,
622
- 7968 => 7976,
623
- 7969 => 7977,
624
- 7970 => 7978,
625
- 7971 => 7979,
626
- 7972 => 7980,
627
- 7973 => 7981,
628
- 7974 => 7982,
629
- 7975 => 7983,
630
- 7984 => 7992,
631
- 7985 => 7993,
632
- 7986 => 7994,
633
- 7987 => 7995,
634
- 7988 => 7996,
635
- 7989 => 7997,
636
- 7990 => 7998,
637
- 7991 => 7999,
638
- 8000 => 8008,
639
- 8001 => 8009,
640
- 8002 => 8010,
641
- 8003 => 8011,
642
- 8004 => 8012,
643
- 8005 => 8013,
644
- 8017 => 8025,
645
- 8019 => 8027,
646
- 8021 => 8029,
647
- 8023 => 8031,
648
- 8032 => 8040,
649
- 8033 => 8041,
650
- 8034 => 8042,
651
- 8035 => 8043,
652
- 8036 => 8044,
653
- 8037 => 8045,
654
- 8038 => 8046,
655
- 8039 => 8047,
656
- 8048 => 8122,
657
- 8049 => 8123,
658
- 8050 => 8136,
659
- 8051 => 8137,
660
- 8052 => 8138,
661
- 8053 => 8139,
662
- 8054 => 8154,
663
- 8055 => 8155,
664
- 8056 => 8184,
665
- 8057 => 8185,
666
- 8058 => 8170,
667
- 8059 => 8171,
668
- 8060 => 8186,
669
- 8061 => 8187,
670
- 8064 => 8072,
671
- 8065 => 8073,
672
- 8066 => 8074,
673
- 8067 => 8075,
674
- 8068 => 8076,
675
- 8069 => 8077,
676
- 8070 => 8078,
677
- 8071 => 8079,
678
- 8080 => 8088,
679
- 8081 => 8089,
680
- 8082 => 8090,
681
- 8083 => 8091,
682
- 8084 => 8092,
683
- 8085 => 8093,
684
- 8086 => 8094,
685
- 8087 => 8095,
686
- 8096 => 8104,
687
- 8097 => 8105,
688
- 8098 => 8106,
689
- 8099 => 8107,
690
- 8100 => 8108,
691
- 8101 => 8109,
692
- 8102 => 8110,
693
- 8103 => 8111,
694
- 8112 => 8120,
695
- 8113 => 8121,
696
- 8115 => 8124,
697
- 8126 => 921,
698
- 8131 => 8140,
699
- 8144 => 8152,
700
- 8145 => 8153,
701
- 8160 => 8168,
702
- 8161 => 8169,
703
- 8165 => 8172,
704
- 8179 => 8188,
705
- 8526 => 8498,
706
- 8560 => 8544,
707
- 8561 => 8545,
708
- 8562 => 8546,
709
- 8563 => 8547,
710
- 8564 => 8548,
711
- 8565 => 8549,
712
- 8566 => 8550,
713
- 8567 => 8551,
714
- 8568 => 8552,
715
- 8569 => 8553,
716
- 8570 => 8554,
717
- 8571 => 8555,
718
- 8572 => 8556,
719
- 8573 => 8557,
720
- 8574 => 8558,
721
- 8575 => 8559,
722
- 8580 => 8579,
723
- 9424 => 9398,
724
- 9425 => 9399,
725
- 9426 => 9400,
726
- 9427 => 9401,
727
- 9428 => 9402,
728
- 9429 => 9403,
729
- 9430 => 9404,
730
- 9431 => 9405,
731
- 9432 => 9406,
732
- 9433 => 9407,
733
- 9434 => 9408,
734
- 9435 => 9409,
735
- 9436 => 9410,
736
- 9437 => 9411,
737
- 9438 => 9412,
738
- 9439 => 9413,
739
- 9440 => 9414,
740
- 9441 => 9415,
741
- 9442 => 9416,
742
- 9443 => 9417,
743
- 9444 => 9418,
744
- 9445 => 9419,
745
- 9446 => 9420,
746
- 9447 => 9421,
747
- 9448 => 9422,
748
- 9449 => 9423,
749
- 11312 => 11264,
750
- 11313 => 11265,
751
- 11314 => 11266,
752
- 11315 => 11267,
753
- 11316 => 11268,
754
- 11317 => 11269,
755
- 11318 => 11270,
756
- 11319 => 11271,
757
- 11320 => 11272,
758
- 11321 => 11273,
759
- 11322 => 11274,
760
- 11323 => 11275,
761
- 11324 => 11276,
762
- 11325 => 11277,
763
- 11326 => 11278,
764
- 11327 => 11279,
765
- 11328 => 11280,
766
- 11329 => 11281,
767
- 11330 => 11282,
768
- 11331 => 11283,
769
- 11332 => 11284,
770
- 11333 => 11285,
771
- 11334 => 11286,
772
- 11335 => 11287,
773
- 11336 => 11288,
774
- 11337 => 11289,
775
- 11338 => 11290,
776
- 11339 => 11291,
777
- 11340 => 11292,
778
- 11341 => 11293,
779
- 11342 => 11294,
780
- 11343 => 11295,
781
- 11344 => 11296,
782
- 11345 => 11297,
783
- 11346 => 11298,
784
- 11347 => 11299,
785
- 11348 => 11300,
786
- 11349 => 11301,
787
- 11350 => 11302,
788
- 11351 => 11303,
789
- 11352 => 11304,
790
- 11353 => 11305,
791
- 11354 => 11306,
792
- 11355 => 11307,
793
- 11356 => 11308,
794
- 11357 => 11309,
795
- 11358 => 11310,
796
- 11361 => 11360,
797
- 11365 => 570,
798
- 11366 => 574,
799
- 11368 => 11367,
800
- 11370 => 11369,
801
- 11372 => 11371,
802
- 11379 => 11378,
803
- 11382 => 11381,
804
- 11393 => 11392,
805
- 11395 => 11394,
806
- 11397 => 11396,
807
- 11399 => 11398,
808
- 11401 => 11400,
809
- 11403 => 11402,
810
- 11405 => 11404,
811
- 11407 => 11406,
812
- 11409 => 11408,
813
- 11411 => 11410,
814
- 11413 => 11412,
815
- 11415 => 11414,
816
- 11417 => 11416,
817
- 11419 => 11418,
818
- 11421 => 11420,
819
- 11423 => 11422,
820
- 11425 => 11424,
821
- 11427 => 11426,
822
- 11429 => 11428,
823
- 11431 => 11430,
824
- 11433 => 11432,
825
- 11435 => 11434,
826
- 11437 => 11436,
827
- 11439 => 11438,
828
- 11441 => 11440,
829
- 11443 => 11442,
830
- 11445 => 11444,
831
- 11447 => 11446,
832
- 11449 => 11448,
833
- 11451 => 11450,
834
- 11453 => 11452,
835
- 11455 => 11454,
836
- 11457 => 11456,
837
- 11459 => 11458,
838
- 11461 => 11460,
839
- 11463 => 11462,
840
- 11465 => 11464,
841
- 11467 => 11466,
842
- 11469 => 11468,
843
- 11471 => 11470,
844
- 11473 => 11472,
845
- 11475 => 11474,
846
- 11477 => 11476,
847
- 11479 => 11478,
848
- 11481 => 11480,
849
- 11483 => 11482,
850
- 11485 => 11484,
851
- 11487 => 11486,
852
- 11489 => 11488,
853
- 11491 => 11490,
854
- 11500 => 11499,
855
- 11502 => 11501,
856
- 11520 => 4256,
857
- 11521 => 4257,
858
- 11522 => 4258,
859
- 11523 => 4259,
860
- 11524 => 4260,
861
- 11525 => 4261,
862
- 11526 => 4262,
863
- 11527 => 4263,
864
- 11528 => 4264,
865
- 11529 => 4265,
866
- 11530 => 4266,
867
- 11531 => 4267,
868
- 11532 => 4268,
869
- 11533 => 4269,
870
- 11534 => 4270,
871
- 11535 => 4271,
872
- 11536 => 4272,
873
- 11537 => 4273,
874
- 11538 => 4274,
875
- 11539 => 4275,
876
- 11540 => 4276,
877
- 11541 => 4277,
878
- 11542 => 4278,
879
- 11543 => 4279,
880
- 11544 => 4280,
881
- 11545 => 4281,
882
- 11546 => 4282,
883
- 11547 => 4283,
884
- 11548 => 4284,
885
- 11549 => 4285,
886
- 11550 => 4286,
887
- 11551 => 4287,
888
- 11552 => 4288,
889
- 11553 => 4289,
890
- 11554 => 4290,
891
- 11555 => 4291,
892
- 11556 => 4292,
893
- 11557 => 4293,
894
- 42561 => 42560,
895
- 42563 => 42562,
896
- 42565 => 42564,
897
- 42567 => 42566,
898
- 42569 => 42568,
899
- 42571 => 42570,
900
- 42573 => 42572,
901
- 42575 => 42574,
902
- 42577 => 42576,
903
- 42579 => 42578,
904
- 42581 => 42580,
905
- 42583 => 42582,
906
- 42585 => 42584,
907
- 42587 => 42586,
908
- 42589 => 42588,
909
- 42591 => 42590,
910
- 42595 => 42594,
911
- 42597 => 42596,
912
- 42599 => 42598,
913
- 42601 => 42600,
914
- 42603 => 42602,
915
- 42605 => 42604,
916
- 42625 => 42624,
917
- 42627 => 42626,
918
- 42629 => 42628,
919
- 42631 => 42630,
920
- 42633 => 42632,
921
- 42635 => 42634,
922
- 42637 => 42636,
923
- 42639 => 42638,
924
- 42641 => 42640,
925
- 42643 => 42642,
926
- 42645 => 42644,
927
- 42647 => 42646,
928
- 42787 => 42786,
929
- 42789 => 42788,
930
- 42791 => 42790,
931
- 42793 => 42792,
932
- 42795 => 42794,
933
- 42797 => 42796,
934
- 42799 => 42798,
935
- 42803 => 42802,
936
- 42805 => 42804,
937
- 42807 => 42806,
938
- 42809 => 42808,
939
- 42811 => 42810,
940
- 42813 => 42812,
941
- 42815 => 42814,
942
- 42817 => 42816,
943
- 42819 => 42818,
944
- 42821 => 42820,
945
- 42823 => 42822,
946
- 42825 => 42824,
947
- 42827 => 42826,
948
- 42829 => 42828,
949
- 42831 => 42830,
950
- 42833 => 42832,
951
- 42835 => 42834,
952
- 42837 => 42836,
953
- 42839 => 42838,
954
- 42841 => 42840,
955
- 42843 => 42842,
956
- 42845 => 42844,
957
- 42847 => 42846,
958
- 42849 => 42848,
959
- 42851 => 42850,
960
- 42853 => 42852,
961
- 42855 => 42854,
962
- 42857 => 42856,
963
- 42859 => 42858,
964
- 42861 => 42860,
965
- 42863 => 42862,
966
- 42874 => 42873,
967
- 42876 => 42875,
968
- 42879 => 42878,
969
- 42881 => 42880,
970
- 42883 => 42882,
971
- 42885 => 42884,
972
- 42887 => 42886,
973
- 42892 => 42891,
974
- );
975
  ?>
1
+ <?php
2
+ $this->upperCase=array (
3
+ 97 => 65,
4
+ 98 => 66,
5
+ 99 => 67,
6
+ 100 => 68,
7
+ 101 => 69,
8
+ 102 => 70,
9
+ 103 => 71,
10
+ 104 => 72,
11
+ 105 => 73,
12
+ 106 => 74,
13
+ 107 => 75,
14
+ 108 => 76,
15
+ 109 => 77,
16
+ 110 => 78,
17
+ 111 => 79,
18
+ 112 => 80,
19
+ 113 => 81,
20
+ 114 => 82,
21
+ 115 => 83,
22
+ 116 => 84,
23
+ 117 => 85,
24
+ 118 => 86,
25
+ 119 => 87,
26
+ 120 => 88,
27
+ 121 => 89,
28
+ 122 => 90,
29
+ 181 => 924,
30
+ 224 => 192,
31
+ 225 => 193,
32
+ 226 => 194,
33
+ 227 => 195,
34
+ 228 => 196,
35
+ 229 => 197,
36
+ 230 => 198,
37
+ 231 => 199,
38
+ 232 => 200,
39
+ 233 => 201,
40
+ 234 => 202,
41
+ 235 => 203,
42
+ 236 => 204,
43
+ 237 => 205,
44
+ 238 => 206,
45
+ 239 => 207,
46
+ 240 => 208,
47
+ 241 => 209,
48
+ 242 => 210,
49
+ 243 => 211,
50
+ 244 => 212,
51
+ 245 => 213,
52
+ 246 => 214,
53
+ 248 => 216,
54
+ 249 => 217,
55
+ 250 => 218,
56
+ 251 => 219,
57
+ 252 => 220,
58
+ 253 => 221,
59
+ 254 => 222,
60
+ 255 => 376,
61
+ 257 => 256,
62
+ 259 => 258,
63
+ 261 => 260,
64
+ 263 => 262,
65
+ 265 => 264,
66
+ 267 => 266,
67
+ 269 => 268,
68
+ 271 => 270,
69
+ 273 => 272,
70
+ 275 => 274,
71
+ 277 => 276,
72
+ 279 => 278,
73
+ 281 => 280,
74
+ 283 => 282,
75
+ 285 => 284,
76
+ 287 => 286,
77
+ 289 => 288,
78
+ 291 => 290,
79
+ 293 => 292,
80
+ 295 => 294,
81
+ 297 => 296,
82
+ 299 => 298,
83
+ 301 => 300,
84
+ 303 => 302,
85
+ 305 => 73,
86
+ 307 => 306,
87
+ 309 => 308,
88
+ 311 => 310,
89
+ 314 => 313,
90
+ 316 => 315,
91
+ 318 => 317,
92
+ 320 => 319,
93
+ 322 => 321,
94
+ 324 => 323,
95
+ 326 => 325,
96
+ 328 => 327,
97
+ 331 => 330,
98
+ 333 => 332,
99
+ 335 => 334,
100
+ 337 => 336,
101
+ 339 => 338,
102
+ 341 => 340,
103
+ 343 => 342,
104
+ 345 => 344,
105
+ 347 => 346,
106
+ 349 => 348,
107
+ 351 => 350,
108
+ 353 => 352,
109
+ 355 => 354,
110
+ 357 => 356,
111
+ 359 => 358,
112
+ 361 => 360,
113
+ 363 => 362,
114
+ 365 => 364,
115
+ 367 => 366,
116
+ 369 => 368,
117
+ 371 => 370,
118
+ 373 => 372,
119
+ 375 => 374,
120
+ 378 => 377,
121
+ 380 => 379,
122
+ 382 => 381,
123
+ 383 => 83,
124
+ 384 => 579,
125
+ 387 => 386,
126
+ 389 => 388,
127
+ 392 => 391,
128
+ 396 => 395,
129
+ 402 => 401,
130
+ 405 => 502,
131
+ 409 => 408,
132
+ 410 => 573,
133
+ 414 => 544,
134
+ 417 => 416,
135
+ 419 => 418,
136
+ 421 => 420,
137
+ 424 => 423,
138
+ 429 => 428,
139
+ 432 => 431,
140
+ 436 => 435,
141
+ 438 => 437,
142
+ 441 => 440,
143
+ 445 => 444,
144
+ 447 => 503,
145
+ 453 => 452,
146
+ 454 => 452,
147
+ 456 => 455,
148
+ 457 => 455,
149
+ 459 => 458,
150
+ 460 => 458,
151
+ 462 => 461,
152
+ 464 => 463,
153
+ 466 => 465,
154
+ 468 => 467,
155
+ 470 => 469,
156
+ 472 => 471,
157
+ 474 => 473,
158
+ 476 => 475,
159
+ 477 => 398,
160
+ 479 => 478,
161
+ 481 => 480,
162
+ 483 => 482,
163
+ 485 => 484,
164
+ 487 => 486,
165
+ 489 => 488,
166
+ 491 => 490,
167
+ 493 => 492,
168
+ 495 => 494,
169
+ 498 => 497,
170
+ 499 => 497,
171
+ 501 => 500,
172
+ 505 => 504,
173
+ 507 => 506,
174
+ 509 => 508,
175
+ 511 => 510,
176
+ 513 => 512,
177
+ 515 => 514,
178
+ 517 => 516,
179
+ 519 => 518,
180
+ 521 => 520,
181
+ 523 => 522,
182
+ 525 => 524,
183
+ 527 => 526,
184
+ 529 => 528,
185
+ 531 => 530,
186
+ 533 => 532,
187
+ 535 => 534,
188
+ 537 => 536,
189
+ 539 => 538,
190
+ 541 => 540,
191
+ 543 => 542,
192
+ 547 => 546,
193
+ 549 => 548,
194
+ 551 => 550,
195
+ 553 => 552,
196
+ 555 => 554,
197
+ 557 => 556,
198
+ 559 => 558,
199
+ 561 => 560,
200
+ 563 => 562,
201
+ 572 => 571,
202
+ 575 => 11390,
203
+ 576 => 11391,
204
+ 578 => 577,
205
+ 583 => 582,
206
+ 585 => 584,
207
+ 587 => 586,
208
+ 589 => 588,
209
+ 591 => 590,
210
+ 592 => 11375,
211
+ 593 => 11373,
212
+ 594 => 11376,
213
+ 595 => 385,
214
+ 596 => 390,
215
+ 598 => 393,
216
+ 599 => 394,
217
+ 601 => 399,
218
+ 603 => 400,
219
+ 608 => 403,
220
+ 611 => 404,
221
+ 616 => 407,
222
+ 617 => 406,
223
+ 619 => 11362,
224
+ 623 => 412,
225
+ 625 => 11374,
226
+ 626 => 413,
227
+ 629 => 415,
228
+ 637 => 11364,
229
+ 640 => 422,
230
+ 643 => 425,
231
+ 648 => 430,
232
+ 649 => 580,
233
+ 650 => 433,
234
+ 651 => 434,
235
+ 652 => 581,
236
+ 658 => 439,
237
+ 837 => 921,
238
+ 881 => 880,
239
+ 883 => 882,
240
+ 887 => 886,
241
+ 891 => 1021,
242
+ 892 => 1022,
243
+ 893 => 1023,
244
+ 940 => 902,
245
+ 941 => 904,
246
+ 942 => 905,
247
+ 943 => 906,
248
+ 945 => 913,
249
+ 946 => 914,
250
+ 947 => 915,
251
+ 948 => 916,
252
+ 949 => 917,
253
+ 950 => 918,
254
+ 951 => 919,
255
+ 952 => 920,
256
+ 953 => 921,
257
+ 954 => 922,
258
+ 955 => 923,
259
+ 956 => 924,
260
+ 957 => 925,
261
+ 958 => 926,
262
+ 959 => 927,
263
+ 960 => 928,
264
+ 961 => 929,
265
+ 962 => 931,
266
+ 963 => 931,
267
+ 964 => 932,
268
+ 965 => 933,
269
+ 966 => 934,
270
+ 967 => 935,
271
+ 968 => 936,
272
+ 969 => 937,
273
+ 970 => 938,
274
+ 971 => 939,
275
+ 972 => 908,
276
+ 973 => 910,
277
+ 974 => 911,
278
+ 976 => 914,
279
+ 977 => 920,
280
+ 981 => 934,
281
+ 982 => 928,
282
+ 983 => 975,
283
+ 985 => 984,
284
+ 987 => 986,
285
+ 989 => 988,
286
+ 991 => 990,
287
+ 993 => 992,
288
+ 995 => 994,
289
+ 997 => 996,
290
+ 999 => 998,
291
+ 1001 => 1000,
292
+ 1003 => 1002,
293
+ 1005 => 1004,
294
+ 1007 => 1006,
295
+ 1008 => 922,
296
+ 1009 => 929,
297
+ 1010 => 1017,
298
+ 1013 => 917,
299
+ 1016 => 1015,
300
+ 1019 => 1018,
301
+ 1072 => 1040,
302
+ 1073 => 1041,
303
+ 1074 => 1042,
304
+ 1075 => 1043,
305
+ 1076 => 1044,
306
+ 1077 => 1045,
307
+ 1078 => 1046,
308
+ 1079 => 1047,
309
+ 1080 => 1048,
310
+ 1081 => 1049,
311
+ 1082 => 1050,
312
+ 1083 => 1051,
313
+ 1084 => 1052,
314
+ 1085 => 1053,
315
+ 1086 => 1054,
316
+ 1087 => 1055,
317
+ 1088 => 1056,
318
+ 1089 => 1057,
319
+ 1090 => 1058,
320
+ 1091 => 1059,
321
+ 1092 => 1060,
322
+ 1093 => 1061,
323
+ 1094 => 1062,
324
+ 1095 => 1063,
325
+ 1096 => 1064,
326
+ 1097 => 1065,
327
+ 1098 => 1066,
328
+ 1099 => 1067,
329
+ 1100 => 1068,
330
+ 1101 => 1069,
331
+ 1102 => 1070,
332
+ 1103 => 1071,
333
+ 1104 => 1024,
334
+ 1105 => 1025,
335
+ 1106 => 1026,
336
+ 1107 => 1027,
337
+ 1108 => 1028,
338
+ 1109 => 1029,
339
+ 1110 => 1030,
340
+ 1111 => 1031,
341
+ 1112 => 1032,
342
+ 1113 => 1033,
343
+ 1114 => 1034,
344
+ 1115 => 1035,
345
+ 1116 => 1036,
346
+ 1117 => 1037,
347
+ 1118 => 1038,
348
+ 1119 => 1039,
349
+ 1121 => 1120,
350
+ 1123 => 1122,
351
+ 1125 => 1124,
352
+ 1127 => 1126,
353
+ 1129 => 1128,
354
+ 1131 => 1130,
355
+ 1133 => 1132,
356
+ 1135 => 1134,
357
+ 1137 => 1136,
358
+ 1139 => 1138,
359
+ 1141 => 1140,
360
+ 1143 => 1142,
361
+ 1145 => 1144,
362
+ 1147 => 1146,
363
+ 1149 => 1148,
364
+ 1151 => 1150,
365
+ 1153 => 1152,
366
+ 1163 => 1162,
367
+ 1165 => 1164,
368
+ 1167 => 1166,
369
+ 1169 => 1168,
370
+ 1171 => 1170,
371
+ 1173 => 1172,
372
+ 1175 => 1174,
373
+ 1177 => 1176,
374
+ 1179 => 1178,
375
+ 1181 => 1180,
376
+ 1183 => 1182,
377
+ 1185 => 1184,
378
+ 1187 => 1186,
379
+ 1189 => 1188,
380
+ 1191 => 1190,
381
+ 1193 => 1192,
382
+ 1195 => 1194,
383
+ 1197 => 1196,
384
+ 1199 => 1198,
385
+ 1201 => 1200,
386
+ 1203 => 1202,
387
+ 1205 => 1204,
388
+ 1207 => 1206,
389
+ 1209 => 1208,
390
+ 1211 => 1210,
391
+ 1213 => 1212,
392
+ 1215 => 1214,
393
+ 1218 => 1217,
394
+ 1220 => 1219,
395
+ 1222 => 1221,
396
+ 1224 => 1223,
397
+ 1226 => 1225,
398
+ 1228 => 1227,
399
+ 1230 => 1229,
400
+ 1231 => 1216,
401
+ 1233 => 1232,
402
+ 1235 => 1234,
403
+ 1237 => 1236,
404
+ 1239 => 1238,
405
+ 1241 => 1240,
406
+ 1243 => 1242,
407
+ 1245 => 1244,
408
+ 1247 => 1246,
409
+ 1249 => 1248,
410
+ 1251 => 1250,
411
+ 1253 => 1252,
412
+ 1255 => 1254,
413
+ 1257 => 1256,
414
+ 1259 => 1258,
415
+ 1261 => 1260,
416
+ 1263 => 1262,
417
+ 1265 => 1264,
418
+ 1267 => 1266,
419
+ 1269 => 1268,
420
+ 1271 => 1270,
421
+ 1273 => 1272,
422
+ 1275 => 1274,
423
+ 1277 => 1276,
424
+ 1279 => 1278,
425
+ 1281 => 1280,
426
+ 1283 => 1282,
427
+ 1285 => 1284,
428
+ 1287 => 1286,
429
+ 1289 => 1288,
430
+ 1291 => 1290,
431
+ 1293 => 1292,
432
+ 1295 => 1294,
433
+ 1297 => 1296,
434
+ 1299 => 1298,
435
+ 1301 => 1300,
436
+ 1303 => 1302,
437
+ 1305 => 1304,
438
+ 1307 => 1306,
439
+ 1309 => 1308,
440
+ 1311 => 1310,
441
+ 1313 => 1312,
442
+ 1315 => 1314,
443
+ 1317 => 1316,
444
+ 1377 => 1329,
445
+ 1378 => 1330,
446
+ 1379 => 1331,
447
+ 1380 => 1332,
448
+ 1381 => 1333,
449
+ 1382 => 1334,
450
+ 1383 => 1335,
451
+ 1384 => 1336,
452
+ 1385 => 1337,
453
+ 1386 => 1338,
454
+ 1387 => 1339,
455
+ 1388 => 1340,
456
+ 1389 => 1341,
457
+ 1390 => 1342,
458
+ 1391 => 1343,
459
+ 1392 => 1344,
460
+ 1393 => 1345,
461
+ 1394 => 1346,
462
+ 1395 => 1347,
463
+ 1396 => 1348,
464
+ 1397 => 1349,
465
+ 1398 => 1350,
466
+ 1399 => 1351,
467
+ 1400 => 1352,
468
+ 1401 => 1353,
469
+ 1402 => 1354,
470
+ 1403 => 1355,
471
+ 1404 => 1356,
472
+ 1405 => 1357,
473
+ 1406 => 1358,
474
+ 1407 => 1359,
475
+ 1408 => 1360,
476
+ 1409 => 1361,
477
+ 1410 => 1362,
478
+ 1411 => 1363,
479
+ 1412 => 1364,
480
+ 1413 => 1365,
481
+ 1414 => 1366,
482
+ 7545 => 42877,
483
+ 7549 => 11363,
484
+ 7681 => 7680,
485
+ 7683 => 7682,
486
+ 7685 => 7684,
487
+ 7687 => 7686,
488
+ 7689 => 7688,
489
+ 7691 => 7690,
490
+ 7693 => 7692,
491
+ 7695 => 7694,
492
+ 7697 => 7696,
493
+ 7699 => 7698,
494
+ 7701 => 7700,
495
+ 7703 => 7702,
496
+ 7705 => 7704,
497
+ 7707 => 7706,
498
+ 7709 => 7708,
499
+ 7711 => 7710,
500
+ 7713 => 7712,
501
+ 7715 => 7714,
502
+ 7717 => 7716,
503
+ 7719 => 7718,
504
+ 7721 => 7720,
505
+ 7723 => 7722,
506
+ 7725 => 7724,
507
+ 7727 => 7726,
508
+ 7729 => 7728,
509
+ 7731 => 7730,
510
+ 7733 => 7732,
511
+ 7735 => 7734,
512
+ 7737 => 7736,
513
+ 7739 => 7738,
514
+ 7741 => 7740,
515
+ 7743 => 7742,
516
+ 7745 => 7744,
517
+ 7747 => 7746,
518
+ 7749 => 7748,
519
+ 7751 => 7750,
520
+ 7753 => 7752,
521
+ 7755 => 7754,
522
+ 7757 => 7756,
523
+ 7759 => 7758,
524
+ 7761 => 7760,
525
+ 7763 => 7762,
526
+ 7765 => 7764,
527
+ 7767 => 7766,
528
+ 7769 => 7768,
529
+ 7771 => 7770,
530
+ 7773 => 7772,
531
+ 7775 => 7774,
532
+ 7777 => 7776,
533
+ 7779 => 7778,
534
+ 7781 => 7780,
535
+ 7783 => 7782,
536
+ 7785 => 7784,
537
+ 7787 => 7786,
538
+ 7789 => 7788,
539
+ 7791 => 7790,
540
+ 7793 => 7792,
541
+ 7795 => 7794,
542
+ 7797 => 7796,
543
+ 7799 => 7798,
544
+ 7801 => 7800,
545
+ 7803 => 7802,
546
+ 7805 => 7804,
547
+ 7807 => 7806,
548
+ 7809 => 7808,
549
+ 7811 => 7810,
550
+ 7813 => 7812,
551
+ 7815 => 7814,
552
+ 7817 => 7816,
553
+ 7819 => 7818,
554
+ 7821 => 7820,
555
+ 7823 => 7822,
556
+ 7825 => 7824,
557
+ 7827 => 7826,
558
+ 7829 => 7828,
559
+ 7835 => 7776,
560
+ 7841 => 7840,
561
+ 7843 => 7842,
562
+ 7845 => 7844,
563
+ 7847 => 7846,
564
+ 7849 => 7848,
565
+ 7851 => 7850,
566
+ 7853 => 7852,
567
+ 7855 => 7854,
568
+ 7857 => 7856,
569
+ 7859 => 7858,
570
+ 7861 => 7860,
571
+ 7863 => 7862,
572
+ 7865 => 7864,
573
+ 7867 => 7866,
574
+ 7869 => 7868,
575
+ 7871 => 7870,
576
+ 7873 => 7872,
577
+ 7875 => 7874,
578
+ 7877 => 7876,
579
+ 7879 => 7878,
580
+ 7881 => 7880,
581
+ 7883 => 7882,
582
+ 7885 => 7884,
583
+ 7887 => 7886,
584
+ 7889 => 7888,
585
+ 7891 => 7890,
586
+ 7893 => 7892,
587
+ 7895 => 7894,
588
+ 7897 => 7896,
589
+ 7899 => 7898,
590
+ 7901 => 7900,
591
+ 7903 => 7902,
592
+ 7905 => 7904,
593
+ 7907 => 7906,
594
+ 7909 => 7908,
595
+ 7911 => 7910,
596
+ 7913 => 7912,
597
+ 7915 => 7914,
598
+ 7917 => 7916,
599
+ 7919 => 7918,
600
+ 7921 => 7920,
601
+ 7923 => 7922,
602
+ 7925 => 7924,
603
+ 7927 => 7926,
604
+ 7929 => 7928,
605
+ 7931 => 7930,
606
+ 7933 => 7932,
607
+ 7935 => 7934,
608
+ 7936 => 7944,
609
+ 7937 => 7945,
610
+ 7938 => 7946,
611
+ 7939 => 7947,
612
+ 7940 => 7948,
613
+ 7941 => 7949,
614
+ 7942 => 7950,
615
+ 7943 => 7951,
616
+ 7952 => 7960,
617
+ 7953 => 7961,
618
+ 7954 => 7962,
619
+ 7955 => 7963,
620
+ 7956 => 7964,
621
+ 7957 => 7965,
622
+ 7968 => 7976,
623
+ 7969 => 7977,
624
+ 7970 => 7978,
625
+ 7971 => 7979,
626
+ 7972 => 7980,
627
+ 7973 => 7981,
628
+ 7974 => 7982,
629
+ 7975 => 7983,
630
+ 7984 => 7992,
631
+ 7985 => 7993,
632
+ 7986 => 7994,
633
+ 7987 => 7995,
634
+ 7988 => 7996,
635
+ 7989 => 7997,
636
+ 7990 => 7998,
637
+ 7991 => 7999,
638
+ 8000 => 8008,
639
+ 8001 => 8009,
640
+ 8002 => 8010,
641
+ 8003 => 8011,
642
+ 8004 => 8012,
643
+ 8005 => 8013,
644
+ 8017 => 8025,
645
+ 8019 => 8027,
646
+ 8021 => 8029,
647
+ 8023 => 8031,
648
+ 8032 => 8040,
649
+ 8033 => 8041,
650
+ 8034 => 8042,
651
+ 8035 => 8043,
652
+ 8036 => 8044,
653
+ 8037 => 8045,
654
+ 8038 => 8046,
655
+ 8039 => 8047,
656
+ 8048 => 8122,
657
+ 8049 => 8123,
658
+ 8050 => 8136,
659
+ 8051 => 8137,
660
+ 8052 => 8138,
661
+ 8053 => 8139,
662
+ 8054 => 8154,
663
+ 8055 => 8155,
664
+ 8056 => 8184,
665
+ 8057 => 8185,
666
+ 8058 => 8170,
667
+ 8059 => 8171,
668
+ 8060 => 8186,
669
+ 8061 => 8187,
670
+ 8064 => 8072,
671
+ 8065 => 8073,
672
+ 8066 => 8074,
673
+ 8067 => 8075,
674
+ 8068 => 8076,
675
+ 8069 => 8077,
676
+ 8070 => 8078,
677
+ 8071 => 8079,
678
+ 8080 => 8088,
679
+ 8081 => 8089,
680
+ 8082 => 8090,
681
+ 8083 => 8091,
682
+ 8084 => 8092,
683
+ 8085 => 8093,
684
+ 8086 => 8094,
685
+ 8087 => 8095,
686
+ 8096 => 8104,
687
+ 8097 => 8105,
688
+ 8098 => 8106,
689
+ 8099 => 8107,
690
+ 8100 => 8108,
691
+ 8101 => 8109,
692
+ 8102 => 8110,
693
+ 8103 => 8111,
694
+ 8112 => 8120,
695
+ 8113 => 8121,
696
+ 8115 => 8124,
697
+ 8126 => 921,
698
+ 8131 => 8140,
699
+ 8144 => 8152,
700
+ 8145 => 8153,
701
+ 8160 => 8168,
702
+ 8161 => 8169,
703
+ 8165 => 8172,
704
+ 8179 => 8188,
705
+ 8526 => 8498,
706
+ 8560 => 8544,
707
+ 8561 => 8545,
708
+ 8562 => 8546,
709
+ 8563 => 8547,
710
+ 8564 => 8548,
711
+ 8565 => 8549,
712
+ 8566 => 8550,
713
+ 8567 => 8551,
714
+ 8568 => 8552,
715
+ 8569 => 8553,
716
+ 8570 => 8554,
717
+ 8571 => 8555,
718
+ 8572 => 8556,
719
+ 8573 => 8557,
720
+ 8574 => 8558,
721
+ 8575 => 8559,
722
+ 8580 => 8579,
723
+ 9424 => 9398,
724
+ 9425 => 9399,
725
+ 9426 => 9400,
726
+ 9427 => 9401,
727
+ 9428 => 9402,
728
+ 9429 => 9403,
729
+ 9430 => 9404,
730
+ 9431 => 9405,
731
+ 9432 => 9406,
732
+ 9433 => 9407,
733
+ 9434 => 9408,
734
+ 9435 => 9409,
735
+ 9436 => 9410,
736
+ 9437 => 9411,
737
+ 9438 => 9412,
738
+ 9439 => 9413,
739
+ 9440 => 9414,
740
+ 9441 => 9415,
741
+ 9442 => 9416,
742
+ 9443 => 9417,
743
+ 9444 => 9418,
744
+ 9445 => 9419,
745
+ 9446 => 9420,
746
+ 9447 => 9421,
747
+ 9448 => 9422,
748
+ 9449 => 9423,
749
+ 11312 => 11264,
750
+ 11313 => 11265,
751
+ 11314 => 11266,
752
+ 11315 => 11267,
753
+ 11316 => 11268,
754
+ 11317 => 11269,
755
+ 11318 => 11270,
756
+ 11319 => 11271,
757
+ 11320 => 11272,
758
+ 11321 => 11273,
759
+ 11322 => 11274,
760
+ 11323 => 11275,
761
+ 11324 => 11276,
762
+ 11325 => 11277,
763
+ 11326 => 11278,
764
+ 11327 => 11279,
765
+ 11328 => 11280,
766
+ 11329 => 11281,
767
+ 11330 => 11282,
768
+ 11331 => 11283,
769
+ 11332 => 11284,
770
+ 11333 => 11285,
771
+ 11334 => 11286,
772
+ 11335 => 11287,
773
+ 11336 => 11288,
774
+ 11337 => 11289,
775
+ 11338 => 11290,
776
+ 11339 => 11291,
777
+ 11340 => 11292,
778
+ 11341 => 11293,
779
+ 11342 => 11294,
780
+ 11343 => 11295,
781
+ 11344 => 11296,
782
+ 11345 => 11297,
783
+ 11346 => 11298,
784
+ 11347 => 11299,
785
+ 11348 => 11300,
786
+ 11349 => 11301,
787
+ 11350 => 11302,
788
+ 11351 => 11303,
789
+ 11352 => 11304,
790
+ 11353 => 11305,
791
+ 11354 => 11306,
792
+ 11355 => 11307,
793
+ 11356 => 11308,
794
+ 11357 => 11309,
795
+ 11358 => 11310,
796
+ 11361 => 11360,
797
+ 11365 => 570,
798
+ 11366 => 574,
799
+ 11368 => 11367,
800
+ 11370 => 11369,
801
+ 11372 => 11371,
802
+ 11379 => 11378,
803
+ 11382 => 11381,
804
+ 11393 => 11392,
805
+ 11395 => 11394,
806
+ 11397 => 11396,
807
+ 11399 => 11398,
808
+ 11401 => 11400,
809
+ 11403 => 11402,
810
+ 11405 => 11404,
811
+ 11407 => 11406,
812
+ 11409 => 11408,
813
+ 11411 => 11410,
814
+ 11413 => 11412,
815
+ 11415 => 11414,
816
+ 11417 => 11416,
817
+ 11419 => 11418,
818
+ 11421 => 11420,
819
+ 11423 => 11422,
820
+ 11425 => 11424,
821
+ 11427 => 11426,
822
+ 11429 => 11428,
823
+ 11431 => 11430,
824
+ 11433 => 11432,
825
+ 11435 => 11434,
826
+ 11437 => 11436,
827
+ 11439 => 11438,
828
+ 11441 => 11440,
829
+ 11443 => 11442,
830
+ 11445 => 11444,
831
+ 11447 => 11446,
832
+ 11449 => 11448,
833
+ 11451 => 11450,
834
+ 11453 => 11452,
835
+ 11455 => 11454,
836
+ 11457 => 11456,
837
+ 11459 => 11458,
838
+ 11461 => 11460,
839
+ 11463 => 11462,
840
+ 11465 => 11464,
841
+ 11467 => 11466,
842
+ 11469 => 11468,
843
+ 11471 => 11470,
844
+ 11473 => 11472,
845
+ 11475 => 11474,
846
+ 11477 => 11476,
847
+ 11479 => 11478,
848
+ 11481 => 11480,
849
+ 11483 => 11482,
850
+ 11485 => 11484,
851
+ 11487 => 11486,
852
+ 11489 => 11488,
853
+ 11491 => 11490,
854
+ 11500 => 11499,
855
+ 11502 => 11501,
856
+ 11520 => 4256,
857
+ 11521 => 4257,
858
+ 11522 => 4258,
859
+ 11523 => 4259,
860
+ 11524 => 4260,
861
+ 11525 => 4261,
862
+ 11526 => 4262,
863
+ 11527 => 4263,
864
+ 11528 => 4264,
865
+ 11529 => 4265,
866
+ 11530 => 4266,
867
+ 11531 => 4267,
868
+ 11532 => 4268,
869
+ 11533 => 4269,
870
+ 11534 => 4270,
871
+ 11535 => 4271,
872
+ 11536 => 4272,
873
+ 11537 => 4273,
874
+ 11538 => 4274,
875
+ 11539 => 4275,
876
+ 11540 => 4276,
877
+ 11541 => 4277,
878
+ 11542 => 4278,
879
+ 11543 => 4279,
880
+ 11544 => 4280,
881
+ 11545 => 4281,
882
+ 11546 => 4282,
883
+ 11547 => 4283,
884
+ 11548 => 4284,
885
+ 11549 => 4285,
886
+ 11550 => 4286,
887
+ 11551 => 4287,
888
+ 11552 => 4288,
889
+ 11553 => 4289,
890
+ 11554 => 4290,
891
+ 11555 => 4291,
892
+ 11556 => 4292,
893
+ 11557 => 4293,
894
+ 42561 => 42560,
895
+ 42563 => 42562,
896
+ 42565 => 42564,
897
+ 42567 => 42566,
898
+ 42569 => 42568,
899
+ 42571 => 42570,
900
+ 42573 => 42572,
901
+ 42575 => 42574,
902
+ 42577 => 42576,
903
+ 42579 => 42578,
904
+ 42581 => 42580,
905
+ 42583 => 42582,
906
+ 42585 => 42584,
907
+ 42587 => 42586,
908
+ 42589 => 42588,
909
+ 42591 => 42590,
910
+ 42595 => 42594,
911
+ 42597 => 42596,
912
+ 42599 => 42598,
913
+ 42601 => 42600,
914
+ 42603 => 42602,
915
+ 42605 => 42604,
916
+ 42625 => 42624,
917
+ 42627 => 42626,
918
+ 42629 => 42628,
919
+ 42631 => 42630,
920
+ 42633 => 42632,
921
+ 42635 => 42634,
922
+ 42637 => 42636,
923
+ 42639 => 42638,
924
+ 42641 => 42640,
925
+ 42643 => 42642,
926
+ 42645 => 42644,
927
+ 42647 => 42646,
928
+ 42787 => 42786,
929
+ 42789 => 42788,
930
+ 42791 => 42790,
931
+ 42793 => 42792,
932
+ 42795 => 42794,
933
+ 42797 => 42796,
934
+ 42799 => 42798,
935
+ 42803 => 42802,
936
+ 42805 => 42804,
937
+ 42807 => 42806,
938
+ 42809 => 42808,
939
+ 42811 => 42810,
940
+ 42813 => 42812,
941
+ 42815 => 42814,
942
+ 42817 => 42816,
943
+ 42819 => 42818,
944
+ 42821 => 42820,
945
+ 42823 => 42822,
946
+ 42825 => 42824,
947
+ 42827 => 42826,
948
+ 42829 => 42828,
949
+ 42831 => 42830,
950
+ 42833 => 42832,
951
+ 42835 => 42834,
952
+ 42837 => 42836,
953
+ 42839 => 42838,
954
+ 42841 => 42840,
955
+ 42843 => 42842,
956
+ 42845 => 42844,
957
+ 42847 => 42846,
958
+ 42849 => 42848,
959
+ 42851 => 42850,
960
+ 42853 => 42852,
961
+ 42855 => 42854,
962
+ 42857 => 42856,
963
+ 42859 => 42858,
964
+ 42861 => 42860,
965
+ 42863 => 42862,
966
+ 42874 => 42873,
967
+ 42876 => 42875,
968
+ 42879 => 42878,
969
+ 42881 => 42880,
970
+ 42883 => 42882,
971
+ 42885 => 42884,
972
+ 42887 => 42886,
973
+ 42892 => 42891,
974
+ );
975
  ?>
mPDF/mpdf-extra-lite.php CHANGED
@@ -2393,17 +2393,7 @@ function AddFont($family,$style='') {
2393
  }
2394
  if (!$ttffile) {
2395
  $ttffile = _MPDF_TTFONTPATH.$this->fontdata[$family][$stylekey];
2396
- if (!file_exists($ttffile)) {
2397
- /*
2398
- * Try load in the font file from the PDF_TEMPLATE
2399
- */
2400
- global $gfpdfe_data;
2401
- $ttffile = $gfpdfe_data->template_site_location . 'fonts/' . $this->fontdata[$family][$stylekey];
2402
- if(!file_exists($ttffile))
2403
- {
2404
- die("mPDF Error - cannot find TTF TrueType font file - ".$ttffile);
2405
- }
2406
- }
2407
  }
2408
  $ttfstat = stat($ttffile);
2409
 
@@ -5927,13 +5917,13 @@ function SetXY($x,$y)
5927
 
5928
  function Output($name='',$dest='')
5929
  {
5930
-
5931
- global $gfpdfe_data;
5932
  //Output PDF to some destination
5933
  if ($this->showStats) {
5934
- file_put_contents($gfpdfe_data->template_save_location . 'mPDF_performance_log.txt', date('Y-m-d h:i:s') . ' Generated in '.sprintf('%.2F',(microtime(true) - $this->time0))." seconds\r\n", FILE_APPEND);
 
 
 
5935
  }
5936
-
5937
  //Finish document if necessary
5938
  if($this->state < 3) $this->Close();
5939
  // fn. error_get_last is only in PHP>=5.2
@@ -5953,10 +5943,12 @@ function Output($name='',$dest='')
5953
  if (count($this->PDFAXwarnings) && (($this->PDFA && !$this->PDFAauto) || ($this->PDFX && !$this->PDFXauto))) {
5954
  if ($this->PDFA) {
5955
  echo '<div>WARNING - This file could not be generated as it stands as a PDFA1-b compliant file.</div>';
 
5956
  echo '<div>Action that mPDF will take to automatically force PDFA1-b compliance are shown in brackets.</div>';
5957
  }
5958
  else {
5959
  echo '<div>WARNING - This file could not be generated as it stands as a PDFX/1-a compliant file.</div>';
 
5960
  echo '<div>Action that mPDF will take to automatically force PDFX/1-a compliance are shown in brackets.</div>';
5961
  }
5962
  echo '<div>Warning(s) generated:</div><ul>';
@@ -5969,13 +5961,13 @@ function Output($name='',$dest='')
5969
  }
5970
 
5971
  if ($this->showStats) {
5972
- /* Blue Liquid Designs Edit
5973
- Log to File instead */
5974
- $log = date('Y-m-d h:i:s') . ' Compiled in '.sprintf('%.2F',(microtime(true) - $this->time0))." seconds (total)\n\r";
5975
- $log .= 'Peak Memory usage '.number_format((memory_get_peak_usage(true)/(1024*1024)),2)." MB\n";
5976
- $log .= 'PDF file size '.number_format((strlen($this->buffer)/1024))." kB\n";
5977
- $log .= 'Number of fonts '.count($this->fonts)."\n";
5978
- file_put_contents($gfpdfe_data->template_save_location . 'mPDF_performance_log.txt', $log, FILE_APPEND);
5979
  }
5980
 
5981
 
2393
  }
2394
  if (!$ttffile) {
2395
  $ttffile = _MPDF_TTFONTPATH.$this->fontdata[$family][$stylekey];
2396
+ if (!file_exists($ttffile)) { die("mPDF Error - cannot find TTF TrueType font file - ".$ttffile); }
 
 
 
 
 
 
 
 
 
 
2397
  }
2398
  $ttfstat = stat($ttffile);
2399
 
5917
 
5918
  function Output($name='',$dest='')
5919
  {
 
 
5920
  //Output PDF to some destination
5921
  if ($this->showStats) {
5922
+ /*BLUE LIQUID DESIGNS EDIT
5923
+ Write to file instead */
5924
+
5925
+ file_put_contents('performance_log.txt', date('Y-m-d h:i:s') . ' Generated in '.sprintf('%.2F',(microtime(true) - $this->time0))." seconds\r\n", FILE_APPEND);
5926
  }
 
5927
  //Finish document if necessary
5928
  if($this->state < 3) $this->Close();
5929
  // fn. error_get_last is only in PHP>=5.2
5943
  if (count($this->PDFAXwarnings) && (($this->PDFA && !$this->PDFAauto) || ($this->PDFX && !$this->PDFXauto))) {
5944
  if ($this->PDFA) {
5945
  echo '<div>WARNING - This file could not be generated as it stands as a PDFA1-b compliant file.</div>';
5946
+ echo '<div>These issues can be automatically fixed by setting <i>"pdfa1b_force" => true</i> in the Gravity Forms PDF Extended configuration.php file</div>';
5947
  echo '<div>Action that mPDF will take to automatically force PDFA1-b compliance are shown in brackets.</div>';
5948
  }
5949
  else {
5950
  echo '<div>WARNING - This file could not be generated as it stands as a PDFX/1-a compliant file.</div>';
5951
+ echo '<div>These issues can be automatically fixed by setting <i>"pdfx1a_force" => true</i> in the Gravity Forms PDF Extended configuration.php file</div>';
5952
  echo '<div>Action that mPDF will take to automatically force PDFX/1-a compliance are shown in brackets.</div>';
5953
  }
5954
  echo '<div>Warning(s) generated:</div><ul>';
5961
  }
5962
 
5963
  if ($this->showStats) {
5964
+ /* Blue Liquid Designs Edit
5965
+ Log to File instead */
5966
+ $log = date('Y-m-d h:i:s') . ' Compiled in '.sprintf('%.2F',(microtime(true) - $this->time0))." seconds (total)\n\r";
5967
+ $log .= 'Peak Memory usage '.number_format((memory_get_peak_usage(true)/(1024*1024)),2)." MB\n";
5968
+ $log .= 'PDF file size '.number_format((strlen($this->buffer)/1024))." kB\n";
5969
+ $log .= 'Number of fonts '.count($this->fonts)."\n";
5970
+ file_put_contents('performance_log.txt', $log, FILE_APPEND);
5971
  }
5972
 
5973
 
mPDF/mpdf-lite.php CHANGED
@@ -2719,17 +2719,7 @@ function AddFont($family,$style='') {
2719
  }
2720
  if (!$ttffile) {
2721
  $ttffile = _MPDF_TTFONTPATH.$this->fontdata[$family][$stylekey];
2722
- if (!file_exists($ttffile)) {
2723
- /*
2724
- * Try load in the font file from the PDF_TEMPLATE
2725
- */
2726
- global $gfpdfe_data;
2727
- $ttffile = $gfpdfe_data->template_site_location . 'fonts/' . $this->fontdata[$family][$stylekey];
2728
- if(!file_exists($ttffile))
2729
- {
2730
- die("mPDF Error - cannot find TTF TrueType font file - ".$ttffile);
2731
- }
2732
- }
2733
  }
2734
  $ttfstat = stat($ttffile);
2735
 
@@ -6457,12 +6447,13 @@ function SetXY($x,$y)
6457
 
6458
  function Output($name='',$dest='')
6459
  {
6460
- global $gfpdfe_data;
6461
  //Output PDF to some destination
6462
  if ($this->showStats) {
6463
- file_put_contents($gfpdfe_data->template_save_location . 'mPDF_performance_log.txt', date('Y-m-d h:i:s') . ' Generated in '.sprintf('%.2F',(microtime(true) - $this->time0))." seconds\r\n", FILE_APPEND);
 
 
 
6464
  }
6465
-
6466
  //Finish document if necessary
6467
  if($this->state < 3) $this->Close();
6468
  // fn. error_get_last is only in PHP>=5.2
@@ -6482,10 +6473,12 @@ function Output($name='',$dest='')
6482
  if (count($this->PDFAXwarnings) && (($this->PDFA && !$this->PDFAauto) || ($this->PDFX && !$this->PDFXauto))) {
6483
  if ($this->PDFA) {
6484
  echo '<div>WARNING - This file could not be generated as it stands as a PDFA1-b compliant file.</div>';
 
6485
  echo '<div>Action that mPDF will take to automatically force PDFA1-b compliance are shown in brackets.</div>';
6486
  }
6487
  else {
6488
  echo '<div>WARNING - This file could not be generated as it stands as a PDFX/1-a compliant file.</div>';
 
6489
  echo '<div>Action that mPDF will take to automatically force PDFX/1-a compliance are shown in brackets.</div>';
6490
  }
6491
  echo '<div>Warning(s) generated:</div><ul>';
@@ -6498,13 +6491,13 @@ function Output($name='',$dest='')
6498
  }
6499
 
6500
  if ($this->showStats) {
6501
- /* Blue Liquid Designs Edit
6502
- Log to File instead */
6503
- $log = date('Y-m-d h:i:s') . ' Compiled in '.sprintf('%.2F',(microtime(true) - $this->time0))." seconds (total)\n\r";
6504
- $log .= 'Peak Memory usage '.number_format((memory_get_peak_usage(true)/(1024*1024)),2)." MB\n";
6505
- $log .= 'PDF file size '.number_format((strlen($this->buffer)/1024))." kB\n";
6506
- $log .= 'Number of fonts '.count($this->fonts)."\n";
6507
- file_put_contents($gfpdfe_data->template_save_location . 'mPDF_performance_log.txt', $log, FILE_APPEND);
6508
  }
6509
 
6510
 
@@ -10890,14 +10883,12 @@ function Footer() {
10890
 
10891
  if (($this->mirrorMargins && ($this->page%2==0) && $this->HTMLFooterE) || ($this->mirrorMargins && ($this->page%2==1) && $this->HTMLFooter) || (!$this->mirrorMargins && $this->HTMLFooter)) {
10892
  $this->writeHTMLFooters();
10893
- if (($this->watermarkText) && ($this->showWatermarkText)) {
10894
- $this->BeginLayer(-100);
10895
  $this->watermark( $this->watermarkText, 45, 120, $this->watermarkTextAlpha); // Watermark text
10896
- }
10897
- if (($this->watermarkImage) && ($this->showWatermarkImage)) {
10898
- $this->BeginLayer(10000);
10899
  $this->watermarkImg( $this->watermarkImage, $this->watermarkImageAlpha); // Watermark image
10900
- }
10901
  return;
10902
  }
10903
 
2719
  }
2720
  if (!$ttffile) {
2721
  $ttffile = _MPDF_TTFONTPATH.$this->fontdata[$family][$stylekey];
2722
+ if (!file_exists($ttffile)) { die("mPDF Error - cannot find TTF TrueType font file - ".$ttffile); }
 
 
 
 
 
 
 
 
 
 
2723
  }
2724
  $ttfstat = stat($ttffile);
2725
 
6447
 
6448
  function Output($name='',$dest='')
6449
  {
 
6450
  //Output PDF to some destination
6451
  if ($this->showStats) {
6452
+ /*BLUE LIQUID DESIGNS EDIT
6453
+ Write to file instead */
6454
+
6455
+ file_put_contents('performance_log.txt', date('Y-m-d h:i:s') . ' Generated in '.sprintf('%.2F',(microtime(true) - $this->time0))." seconds\r\n", FILE_APPEND);
6456
  }
 
6457
  //Finish document if necessary
6458
  if($this->state < 3) $this->Close();
6459
  // fn. error_get_last is only in PHP>=5.2
6473
  if (count($this->PDFAXwarnings) && (($this->PDFA && !$this->PDFAauto) || ($this->PDFX && !$this->PDFXauto))) {
6474
  if ($this->PDFA) {
6475
  echo '<div>WARNING - This file could not be generated as it stands as a PDFA1-b compliant file.</div>';
6476
+ echo '<div>These issues can be automatically fixed by setting <i>"pdfa1b_force" => true</i> in the Gravity Forms PDF Extended configuration.php file</div>';
6477
  echo '<div>Action that mPDF will take to automatically force PDFA1-b compliance are shown in brackets.</div>';
6478
  }
6479
  else {
6480
  echo '<div>WARNING - This file could not be generated as it stands as a PDFX/1-a compliant file.</div>';
6481
+ echo '<div>These issues can be automatically fixed by setting <i>"pdfx1a_force" => true</i> in the Gravity Forms PDF Extended configuration.php file</div>';
6482
  echo '<div>Action that mPDF will take to automatically force PDFX/1-a compliance are shown in brackets.</div>';
6483
  }
6484
  echo '<div>Warning(s) generated:</div><ul>';
6491
  }
6492
 
6493
  if ($this->showStats) {
6494
+ /* Blue Liquid Designs Edit
6495
+ Log to File instead */
6496
+ $log = date('Y-m-d h:i:s') . ' Compiled in '.sprintf('%.2F',(microtime(true) - $this->time0))." seconds (total)\n\r";
6497
+ $log .= 'Peak Memory usage '.number_format((memory_get_peak_usage(true)/(1024*1024)),2)." MB\n";
6498
+ $log .= 'PDF file size '.number_format((strlen($this->buffer)/1024))." kB\n";
6499
+ $log .= 'Number of fonts '.count($this->fonts)."\n";
6500
+ file_put_contents('performance_log.txt', $log, FILE_APPEND);
6501
  }
6502
 
6503
 
10883
 
10884
  if (($this->mirrorMargins && ($this->page%2==0) && $this->HTMLFooterE) || ($this->mirrorMargins && ($this->page%2==1) && $this->HTMLFooter) || (!$this->mirrorMargins && $this->HTMLFooter)) {
10885
  $this->writeHTMLFooters();
10886
+ if (($this->watermarkText) && ($this->showWatermarkText)) {
 
10887
  $this->watermark( $this->watermarkText, 45, 120, $this->watermarkTextAlpha); // Watermark text
10888
+ }
10889
+ if (($this->watermarkImage) && ($this->showWatermarkImage)) {
 
10890
  $this->watermarkImg( $this->watermarkImage, $this->watermarkImageAlpha); // Watermark image
10891
+ }
10892
  return;
10893
  }
10894
 
mPDF/mpdf.php CHANGED
@@ -3022,24 +3022,10 @@ function AddFont($family,$style='') {
3022
  $ttffile = _MPDF_SYSTEM_TTFONTS.$this->fontdata[$family][$stylekey];
3023
  if (!file_exists($ttffile)) { $ttffile = ''; }
3024
  }
3025
-
3026
  if (!$ttffile) {
3027
  $ttffile = _MPDF_TTFONTPATH.$this->fontdata[$family][$stylekey];
3028
-
3029
- if (!file_exists($ttffile)) {
3030
- /*
3031
- * Try load in the font file from the PDF_TEMPLATE
3032
- */
3033
- global $gfpdfe_data;
3034
- $ttffile = $gfpdfe_data->template_site_location . 'fonts/' . $this->fontdata[$family][$stylekey];
3035
-
3036
- if(!file_exists($ttffile))
3037
- {
3038
- die("mPDF Error - cannot find TTF TrueType font file - ".$ttffile);
3039
- }
3040
- }
3041
  }
3042
-
3043
  $ttfstat = stat($ttffile);
3044
 
3045
  if (isset($this->fontdata[$family]['TTCfontID'][$stylekey])) { $TTCfontID = $this->fontdata[$family]['TTCfontID'][$stylekey]; }
@@ -7341,11 +7327,9 @@ function SetXY($x,$y)
7341
 
7342
  function Output($name='',$dest='')
7343
  {
7344
- global $gfpdfe_data;
7345
-
7346
  //Output PDF to some destination
7347
  if ($this->showStats) {
7348
- file_put_contents($gfpdfe_data->template_save_location . 'mPDF_performance_log.txt', date('Y-m-d h:i:s') . ' Generated in '.sprintf('%.2F',(microtime(true) - $this->time0))." seconds\r\n", FILE_APPEND);
7349
  }
7350
  //Finish document if necessary
7351
  if ($this->progressBar) { $this->UpdateProgressBar(1,'100','Finished'); } // *PROGRESS-BAR*
@@ -7363,14 +7347,17 @@ function Output($name='',$dest='')
7363
  }
7364
  }
7365
 
 
7366
  if (($this->PDFA || $this->PDFX) && $this->encrypted) { $this->Error("PDFA1-b or PDFX/1-a does not permit encryption of documents."); }
7367
  if (count($this->PDFAXwarnings) && (($this->PDFA && !$this->PDFAauto) || ($this->PDFX && !$this->PDFXauto))) {
7368
  if ($this->PDFA) {
7369
  echo '<div>WARNING - This file could not be generated as it stands as a PDFA1-b compliant file.</div>';
 
7370
  echo '<div>Action that mPDF will take to automatically force PDFA1-b compliance are shown in brackets.</div>';
7371
  }
7372
  else {
7373
  echo '<div>WARNING - This file could not be generated as it stands as a PDFX/1-a compliant file.</div>';
 
7374
  echo '<div>Action that mPDF will take to automatically force PDFX/1-a compliance are shown in brackets.</div>';
7375
  }
7376
  echo '<div>Warning(s) generated:</div><ul>';
@@ -7389,7 +7376,8 @@ function Output($name='',$dest='')
7389
  $log .= 'Peak Memory usage '.number_format((memory_get_peak_usage(true)/(1024*1024)),2)." MB\n";
7390
  $log .= 'PDF file size '.number_format((strlen($this->buffer)/1024))." kB\n";
7391
  $log .= 'Number of fonts '.count($this->fonts)."\n";
7392
- file_put_contents($gfpdfe_data->template_save_location . 'mPDF_performance_log.txt', $log, FILE_APPEND);
 
7393
  }
7394
 
7395
 
@@ -12653,7 +12641,7 @@ function softHyphenate($word, $maxWidth) {
12653
  else if ($this->FontFamily!='csymbol' && $this->FontFamily!='czapfdingbats') {
12654
  $p = strpos($word, chr(173), $offset);
12655
  }
12656
- if ($p !== false) { $poss[] = $p; }
12657
  else { break; }
12658
  $offset = $p+1;
12659
  }
@@ -32723,13 +32711,7 @@ function ImportPage($pageno=1, $crop_x=null, $crop_y=null, $crop_w=0, $crop_h=0,
32723
  }
32724
  function UseTemplate($tplidx, $_x=null, $_y=null, $_w=0, $_h=0) {
32725
  if (!isset($this->tpls[$tplidx]))
32726
- {
32727
- if(WP_DEBUG == true)
32728
- {
32729
- $this->Error("Template does not exist!");
32730
- }
32731
- return;
32732
- }
32733
  if($this->state==0) { $this->AddPage(); }
32734
  $out = 'q 0 J 1 w 0 j 0 G'."\n"; // reset standard values
32735
  $x = $this->tpls[$tplidx]['x'];
3022
  $ttffile = _MPDF_SYSTEM_TTFONTS.$this->fontdata[$family][$stylekey];
3023
  if (!file_exists($ttffile)) { $ttffile = ''; }
3024
  }
 
3025
  if (!$ttffile) {
3026
  $ttffile = _MPDF_TTFONTPATH.$this->fontdata[$family][$stylekey];
3027
+ if (!file_exists($ttffile)) { die("mPDF Error - cannot find TTF TrueType font file - ".$ttffile); }
 
 
 
 
 
 
 
 
 
 
 
 
3028
  }
 
3029
  $ttfstat = stat($ttffile);
3030
 
3031
  if (isset($this->fontdata[$family]['TTCfontID'][$stylekey])) { $TTCfontID = $this->fontdata[$family]['TTCfontID'][$stylekey]; }
7327
 
7328
  function Output($name='',$dest='')
7329
  {
 
 
7330
  //Output PDF to some destination
7331
  if ($this->showStats) {
7332
+ file_put_contents('mPDF_performance_log.txt', date('Y-m-d h:i:s') . ' Generated in '.sprintf('%.2F',(microtime(true) - $this->time0))." seconds\r\n", FILE_APPEND);
7333
  }
7334
  //Finish document if necessary
7335
  if ($this->progressBar) { $this->UpdateProgressBar(1,'100','Finished'); } // *PROGRESS-BAR*
7347
  }
7348
  }
7349
 
7350
+
7351
  if (($this->PDFA || $this->PDFX) && $this->encrypted) { $this->Error("PDFA1-b or PDFX/1-a does not permit encryption of documents."); }
7352
  if (count($this->PDFAXwarnings) && (($this->PDFA && !$this->PDFAauto) || ($this->PDFX && !$this->PDFXauto))) {
7353
  if ($this->PDFA) {
7354
  echo '<div>WARNING - This file could not be generated as it stands as a PDFA1-b compliant file.</div>';
7355
+ echo '<div>These issues can be automatically fixed by setting <i>"pdfa1b_force" => true</i> in the Gravity Forms PDF Extended configuration.php file</div>';
7356
  echo '<div>Action that mPDF will take to automatically force PDFA1-b compliance are shown in brackets.</div>';
7357
  }
7358
  else {
7359
  echo '<div>WARNING - This file could not be generated as it stands as a PDFX/1-a compliant file.</div>';
7360
+ echo '<div>These issues can be automatically fixed by setting <i>"pdfx1a_force" => true</i> in the Gravity Forms PDF Extended configuration.php file</div>';
7361
  echo '<div>Action that mPDF will take to automatically force PDFX/1-a compliance are shown in brackets.</div>';
7362
  }
7363
  echo '<div>Warning(s) generated:</div><ul>';
7376
  $log .= 'Peak Memory usage '.number_format((memory_get_peak_usage(true)/(1024*1024)),2)." MB\n";
7377
  $log .= 'PDF file size '.number_format((strlen($this->buffer)/1024))." kB\n";
7378
  $log .= 'Number of fonts '.count($this->fonts)."\n";
7379
+ file_put_contents('mPDF_performance_log.txt', $log, FILE_APPEND);
7380
+ exit;
7381
  }
7382
 
7383
 
12641
  else if ($this->FontFamily!='csymbol' && $this->FontFamily!='czapfdingbats') {
12642
  $p = strpos($word, chr(173), $offset);
12643
  }
12644
+ if ($p !== false) { $poss[] = $p - count($poss); }
12645
  else { break; }
12646
  $offset = $p+1;
12647
  }
32711
  }
32712
  function UseTemplate($tplidx, $_x=null, $_y=null, $_w=0, $_h=0) {
32713
  if (!isset($this->tpls[$tplidx]))
32714
+ $this->Error("Template does not exist!");
 
 
 
 
 
 
32715
  if($this->state==0) { $this->AddPage(); }
32716
  $out = 'q 0 J 1 w 0 j 0 G'."\n"; // reset standard values
32717
  $x = $this->tpls[$tplidx]['x'];
mPDF/mpdfi/filters/FilterASCII85.php CHANGED
@@ -1,98 +1,98 @@
1
- <?php
2
- //
3
- // FPDI - Version 1.3.1
4
- //
5
- // Copyright 2004-2009 Setasign - Jan Slabon
6
- //
7
- // Licensed under the Apache License, Version 2.0 (the "License");
8
- // you may not use this file except in compliance with the License.
9
- // You may obtain a copy of the License at
10
- //
11
- // http://www.apache.org/licenses/LICENSE-2.0
12
- //
13
- // Unless required by applicable law or agreed to in writing, software
14
- // distributed under the License is distributed on an "AS IS" BASIS,
15
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- // See the License for the specific language governing permissions and
17
- // limitations under the License.
18
- //
19
-
20
- if (!defined('ORD_z'))
21
- define('ORD_z',ord('z'));
22
- if (!defined('ORD_exclmark'))
23
- define('ORD_exclmark', ord('!'));
24
- if (!defined('ORD_u'))
25
- define('ORD_u', ord('u'));
26
- if (!defined('ORD_tilde'))
27
- define('ORD_tilde', ord('~'));
28
-
29
- class FilterASCII85 {
30
-
31
- function error($msg) {
32
- die($msg);
33
- }
34
-
35
- function decode($in) {
36
- $out = '';
37
- $state = 0;
38
- $chn = null;
39
-
40
- $l = strlen($in);
41
-
42
- for ($k = 0; $k < $l; ++$k) {
43
- $ch = ord($in[$k]) & 0xff;
44
-
45
- if ($ch == ORD_tilde) {
46
- break;
47
- }
48
- if (preg_match('/^\s$/',chr($ch))) {
49
- continue;
50
- }
51
- if ($ch == ORD_z && $state == 0) {
52
- $out .= chr(0).chr(0).chr(0).chr(0);
53
- continue;
54
- }
55
- if ($ch < ORD_exclmark || $ch > ORD_u) {
56
- $this->error('Illegal character in ASCII85Decode.');
57
- }
58
-
59
- $chn[$state++] = $ch - ORD_exclmark;
60
-
61
- if ($state == 5) {
62
- $state = 0;
63
- $r = 0;
64
- for ($j = 0; $j < 5; ++$j)
65
- $r = $r * 85 + $chn[$j];
66
- $out .= chr($r >> 24);
67
- $out .= chr($r >> 16);
68
- $out .= chr($r >> 8);
69
- $out .= chr($r);
70
- }
71
- }
72
- $r = 0;
73
-
74
- if ($state == 1)
75
- $this->error('Illegal length in ASCII85Decode.');
76
- if ($state == 2) {
77
- $r = $chn[0] * 85 * 85 * 85 * 85 + ($chn[1]+1) * 85 * 85 * 85;
78
- $out .= chr($r >> 24);
79
- }
80
- else if ($state == 3) {
81
- $r = $chn[0] * 85 * 85 * 85 * 85 + $chn[1] * 85 * 85 * 85 + ($chn[2]+1) * 85 * 85;
82
- $out .= chr($r >> 24);
83
- $out .= chr($r >> 16);
84
- }
85
- else if ($state == 4) {
86
- $r = $chn[0] * 85 * 85 * 85 * 85 + $chn[1] * 85 * 85 * 85 + $chn[2] * 85 * 85 + ($chn[3]+1) * 85 ;
87
- $out .= chr($r >> 24);
88
- $out .= chr($r >> 16);
89
- $out .= chr($r >> 8);
90
- }
91
-
92
- return $out;
93
- }
94
-
95
- function encode($in) {
96
- $this->error("ASCII85 encoding not implemented.");
97
- }
98
  }
1
+ <?php
2
+ //
3
+ // FPDI - Version 1.3.1
4
+ //
5
+ // Copyright 2004-2009 Setasign - Jan Slabon
6
+ //
7
+ // Licensed under the Apache License, Version 2.0 (the "License");
8
+ // you may not use this file except in compliance with the License.
9
+ // You may obtain a copy of the License at
10
+ //
11
+ // http://www.apache.org/licenses/LICENSE-2.0
12
+ //
13
+ // Unless required by applicable law or agreed to in writing, software
14
+ // distributed under the License is distributed on an "AS IS" BASIS,
15
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ // See the License for the specific language governing permissions and
17
+ // limitations under the License.
18
+ //
19
+
20
+ if (!defined('ORD_z'))
21
+ define('ORD_z',ord('z'));
22
+ if (!defined('ORD_exclmark'))
23
+ define('ORD_exclmark', ord('!'));
24
+ if (!defined('ORD_u'))
25
+ define('ORD_u', ord('u'));
26
+ if (!defined('ORD_tilde'))
27
+ define('ORD_tilde', ord('~'));
28
+
29
+ class FilterASCII85 {
30
+
31
+ function error($msg) {
32
+ die($msg);
33
+ }
34
+
35
+ function decode($in) {
36
+ $out = '';
37
+ $state = 0;
38
+ $chn = null;
39
+
40
+ $l = strlen($in);
41
+
42
+ for ($k = 0; $k < $l; ++$k) {
43
+ $ch = ord($in[$k]) & 0xff;
44
+
45
+ if ($ch == ORD_tilde) {
46
+ break;
47
+ }
48
+ if (preg_match('/^\s$/',chr($ch))) {
49
+ continue;
50
+ }
51
+ if ($ch == ORD_z && $state == 0) {
52
+ $out .= chr(0).chr(0).chr(0).chr(0);
53
+ continue;
54
+ }
55
+ if ($ch < ORD_exclmark || $ch > ORD_u) {
56
+ $this->error('Illegal character in ASCII85Decode.');
57
+ }
58
+
59
+ $chn[$state++] = $ch - ORD_exclmark;
60
+
61
+ if ($state == 5) {
62
+ $state = 0;
63
+ $r = 0;
64
+ for ($j = 0; $j < 5; ++$j)
65
+ $r = $r * 85 + $chn[$j];
66
+ $out .= chr($r >> 24);
67
+ $out .= chr($r >> 16);
68
+ $out .= chr($r >> 8);
69
+ $out .= chr($r);
70
+ }
71
+ }
72
+ $r = 0;
73
+
74
+ if ($state == 1)
75
+ $this->error('Illegal length in ASCII85Decode.');
76
+ if ($state == 2) {
77
+ $r = $chn[0] * 85 * 85 * 85 * 85 + ($chn[1]+1) * 85 * 85 * 85;
78
+ $out .= chr($r >> 24);
79
+ }
80
+ else if ($state == 3) {
81
+ $r = $chn[0] * 85 * 85 * 85 * 85 + $chn[1] * 85 * 85 * 85 + ($chn[2]+1) * 85 * 85;
82
+ $out .= chr($r >> 24);
83
+ $out .= chr($r >> 16);
84
+ }
85
+ else if ($state == 4) {
86
+ $r = $chn[0] * 85 * 85 * 85 * 85 + $chn[1] * 85 * 85 * 85 + $chn[2] * 85 * 85 + ($chn[3]+1) * 85 ;
87
+ $out .= chr($r >> 24);
88
+ $out .= chr($r >> 16);
89
+ $out .= chr($r >> 8);
90
+ }
91
+
92
+ return $out;
93
+ }
94
+
95
+ function encode($in) {
96
+ $this->error("ASCII85 encoding not implemented.");
97
+ }
98
  }
mPDF/mpdfi/filters/FilterLZW.php CHANGED
@@ -1,154 +1,154 @@
1
- <?php
2
- //
3
- // FPDI - Version 1.3.1
4
- //
5
- // Copyright 2004-2009 Setasign - Jan Slabon
6
- //
7
- // Licensed under the Apache License, Version 2.0 (the "License");
8
- // you may not use this file except in compliance with the License.
9
- // You may obtain a copy of the License at
10
- //
11
- // http://www.apache.org/licenses/LICENSE-2.0
12
- //
13
- // Unless required by applicable law or agreed to in writing, software
14
- // distributed under the License is distributed on an "AS IS" BASIS,
15
- // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
- // See the License for the specific language governing permissions and
17
- // limitations under the License.
18
- //
19
-
20
- class FilterLZW {
21
-
22
- var $sTable = array();
23
- var $data = null;
24
- var $dataLength = 0;
25
- var $tIdx;
26
- var $bitsToGet = 9;
27
- var $bytePointer;
28
- var $bitPointer;
29
- var $nextData = 0;
30
- var $nextBits = 0;
31
- var $andTable = array(511, 1023, 2047, 4095);
32
-
33
- function error($msg) {
34
- die($msg);
35
- }
36
-
37
- /**
38
- * Method to decode LZW compressed data.
39
- *
40
- * @param string data The compressed data.
41
- */
42
- function decode($data) {
43
-
44
- if($data[0] == 0x00 && $data[1] == 0x01) {
45
- $this->error('LZW flavour not supported.');
46
- }
47
-
48
- $this->initsTable();
49
-
50
- $this->data = $data;
51
- $this->dataLength = strlen($data);
52
-
53
- // Initialize pointers
54
- $this->bytePointer = 0;
55
- $this->bitPointer = 0;
56
-
57
- $this->nextData = 0;
58
- $this->nextBits = 0;
59
-
60
- $oldCode = 0;
61
-
62
- $string = '';
63
- $uncompData = '';
64
-
65
- while (($code = $this->getNextCode()) != 257) {
66
- if ($code == 256) {
67
- $this->initsTable();
68
- $code = $this->getNextCode();
69
-
70
- if ($code == 257) {
71
- break;
72
- }
73
-
74
- $uncompData .= $this->sTable[$code];
75
- $oldCode = $code;
76
-
77
- } else {
78
-
79
- if ($code < $this->tIdx) {
80
- $string = $this->sTable[$code];
81
- $uncompData .= $string;
82
-
83
- $this->addStringToTable($this->sTable[$oldCode], $string[0]);
84
- $oldCode = $code;
85
- } else {
86
- $string = $this->sTable[$oldCode];
87
- $string = $string.$string[0];
88
- $uncompData .= $string;
89
-
90
- $this->addStringToTable($string);
91
- $oldCode = $code;
92
- }
93
- }
94
- }
95
-
96
- return $uncompData;
97
- }
98
-
99
-
100
- /**
101
- * Initialize the string table.
102
- */
103
- function initsTable() {
104
- $this->sTable = array();
105
-
106
- for ($i = 0; $i < 256; $i++)
107
- $this->sTable[$i] = chr($i);
108
-
109
- $this->tIdx = 258;
110
- $this->bitsToGet = 9;
111
- }
112
-
113
- /**
114
- * Add a new string to the string table.
115
- */
116
- function addStringToTable ($oldString, $newString='') {
117
- $string = $oldString.$newString;
118
-
119
- // Add this new String to the table
120
- $this->sTable[$this->tIdx++] = $string;
121
-
122
- if ($this->tIdx == 511) {
123
- $this->bitsToGet = 10;
124
- } else if ($this->tIdx == 1023) {
125
- $this->bitsToGet = 11;
126
- } else if ($this->tIdx == 2047) {
127
- $this->bitsToGet = 12;
128
- }
129
- }
130
-
131
- // Returns the next 9, 10, 11 or 12 bits
132
- function getNextCode() {
133
- if ($this->bytePointer == $this->dataLength) {
134
- return 257;
135
- }
136
-
137
- $this->nextData = ($this->nextData << 8) | (ord($this->data[$this->bytePointer++]) & 0xff);
138
- $this->nextBits += 8;
139
-
140
- if ($this->nextBits < $this->bitsToGet) {
141
- $this->nextData = ($this->nextData << 8) | (ord($this->data[$this->bytePointer++]) & 0xff);
142
- $this->nextBits += 8;
143
- }
144
-
145
- $code = ($this->nextData >> ($this->nextBits - $this->bitsToGet)) & $this->andTable[$this->bitsToGet-9];
146
- $this->nextBits -= $this->bitsToGet;
147
-
148
- return $code;
149
- }
150
-
151
- function encode($in) {
152
- $this->error("LZW encoding not implemented.");
153
- }
154
  }
1
+ <?php
2
+ //
3
+ // FPDI - Version 1.3.1
4
+ //
5
+ // Copyright 2004-2009 Setasign - Jan Slabon
6
+ //
7
+ // Licensed under the Apache License, Version 2.0 (the "License");
8
+ // you may not use this file except in compliance with the License.
9
+ // You may obtain a copy of the License at
10
+ //
11
+ // http://www.apache.org/licenses/LICENSE-2.0
12
+ //
13
+ // Unless required by applicable law or agreed to in writing, software
14
+ // distributed under the License is distributed on an "AS IS" BASIS,
15
+ // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
16
+ // See the License for the specific language governing permissions and
17
+ // limitations under the License.
18
+ //
19
+
20
+ class FilterLZW {
21
+
22
+ var $sTable = array();
23
+ var $data = null;
24
+ var $dataLength = 0;
25
+ var $tIdx;
26
+ var $bitsToGet = 9;
27
+ var $bytePointer;
28
+ var $bitPointer;
29
+ var $nextData = 0;
30
+ var $nextBits = 0;
31
+ var $andTable = array(511, 1023, 2047, 4095);
32
+
33
+ function error($msg) {
34
+ die($msg);
35
+ }
36
+
37
+ /**
38
+ * Method to decode LZW compressed data.
39
+ *
40
+ * @param string data The compressed data.
41
+ */
42
+ function decode($data) {
43
+
44
+ if($data[0] == 0x00 && $data[1] == 0x01) {
45
+ $this->error('LZW flavour not supported.');
46
+ }
47
+
48
+ $this->initsTable();
49
+
50
+ $this->data = $data;
51
+ $this->dataLength = strlen($data);
52
+
53
+ // Initialize pointers
54
+ $this->bytePointer = 0;
55
+ $this->bitPointer = 0;
56
+
57
+ $this->nextData = 0;
58
+ $this->nextBits = 0;
59
+
60
+ $oldCode = 0;
61
+
62
+ $string = '';
63
+ $uncompData = '';
64
+
65
+ while (($code = $this->getNextCode()) != 257) {
66
+ if ($code == 256) {
67
+ $this->initsTable();
68
+ $code = $this->getNextCode();
69
+
70
+ if ($code == 257) {
71
+ break;
72
+ }
73
+
74
+ $uncompData .= $this->sTable[$code];
75
+ $oldCode = $code;
76
+
77
+ } else {
78
+
79
+ if ($code < $this->tIdx) {
80
+ $string = $this->sTable[$code];
81
+ $uncompData .= $string;
82
+
83
+ $this->addStringToTable($this->sTable[$oldCode], $string[0]);
84
+ $oldCode = $code;
85
+ } else {
86
+ $string = $this->sTable[$oldCode];
87
+ $string = $string.$string[0];
88
+ $uncompData .= $string;
89
+
90
+ $this->addStringToTable($string);
91
+ $oldCode = $code;
92
+ }
93
+ }
94
+ }
95
+
96
+ return $uncompData;
97
+ }
98
+
99
+
100
+ /**
101
+ * Initialize the string table.
102
+ */
103
+ function initsTable() {
104
+ $this->sTable = array();
105
+
106
+ for ($i = 0; $i < 256; $i++)
107
+ $this->sTable[$i] = chr($i);
108
+
109
+ $this->tIdx = 258;
110
+ $this->bitsToGet = 9;
111
+ }
112
+
113
+ /**
114
+ * Add a new string to the string table.
115
+ */
116
+ function addStringToTable ($oldString, $newString='') {
117
+ $string = $oldString.$newString;
118
+
119
+ // Add this new String to the table
120
+ $this->sTable[$this->tIdx++] = $string;
121
+
122
+ if ($this->tIdx == 511) {
123
+ $this->bitsToGet = 10;
124
+ } else if ($this->tIdx == 1023) {
125
+ $this->bitsToGet = 11;
126
+ } else if ($this->tIdx == 2047) {
127
+ $this->bitsToGet = 12;
128
+ }
129
+ }
130
+
131
+ // Returns the next 9, 10, 11 or 12 bits
132
+ function getNextCode() {
133
+ if ($this->bytePointer == $this->dataLength) {
134
+ return 257;
135
+ }
136
+
137
+ $this->nextData = ($this->nextData << 8) | (ord($this->data[$this->bytePointer++]) & 0xff);
138
+ $this->nextBits += 8;
139
+
140
+ if ($this->nextBits < $this->bitsToGet) {
141
+ $this->nextData = ($this->nextData << 8) | (ord($this->data[$this->bytePointer++]) & 0xff);
142
+ $this->nextBits += 8;
143
+ }
144
+
145
+ $code = ($this->nextData >> ($this->nextBits - $this->bitsToGet)) & $this->andTable[$this->bitsToGet-9];
146
+ $this->nextBits -= $this->bitsToGet;
147
+
148
+ return $code;
149
+ }
150
+
151
+ function encode($in) {
152
+ $this->error("LZW encoding not implemented.");
153
+ }
154
  }
mPDF/mpdfi/filters/_notes/dwsync.xml ADDED
@@ -0,0 +1,5 @@
 
 
 
 
 
1
+ <?xml version="1.0" encoding="utf-8" ?>
2
+ <dwsync>
3
+ <file name="FilterASCII85.php" server="54.252.94.54" local="130264007400000000" remote="130264007400000000" />
4
+ <file name="FilterLZW.php" server="54.252.94.54" local="130264007400000000" remote="130264007400000000" />
5
+ </dwsync>
mPDF/ttfontdata/garuda.cw CHANGED
@@ -1,27 +1,27 @@
1
- /W [ 32 [ 340 277 354 556 556 889 666 190 332 332 387 583 277 332 277 277 ]
2
- 48 57 556 58 59 277 60 62 583 63 [ 556 1014 666 666 721 721 ]
3
- 69 [ 666 610 777 721 277 499 666 556 832 721 777 666 777 721 666 610 721 666 944 666 666 ]
4
- 90 90 610 91 93 277 94 [ 469 556 332 556 556 499 556 556 277 556 556 222 222 499 222 832 ]
5
- 110 113 556 114 [ 332 499 277 556 499 721 ]
6
- 120 122 499 123 [ 334 259 334 583 ]
7
- 160 [ 157 332 ]
8
- 162 165 554 166 [ 259 554 332 735 369 554 583 332 735 551 400 548 ]
9
- 178 180 332 181 [ 574 536 277 332 332 364 554 ]
10
- 188 190 833 191 191 610 192 197 666 198 [ 999 721 ]
11
- 200 203 666 204 207 277 208 209 721 210 214 777 215 [ 583 777 ]
12
- 217 220 721 221 [ 666 666 610 ]
13
- 224 229 556 230 [ 889 499 ]
14
- 232 235 556 236 239 277 240 240 554 241 246 556 247 [ 548 610 ]
15
- 249 252 556 253 [ 499 554 499 ]
16
- 305 305 277 338 [ 999 944 ]
17
- 352 [ 666 499 ]
18
- 376 376 666 402 402 554 710 711 332 713 713 551 730 730 332 732 732 332 956 956 574 3585 [ 626 648 677 613 591 770 496 551 596 602 648 792 800 668 663 530 815 820 818 614 645 628 691 548 668 636 636 639 639 698 698 712 665 622 501 610 593 666 545 610 666 579 651 706 567 547 518 510 0 438 438 ]
19
- 3636 3642 0 3647 [ 629 340 600 413 400 449 220 565 ]
20
- 3655 3662 0 3663 3663 599 3664 3673 611 3674 [ 625 1105 ]
21
- 8194 [ 500 1000 ]
22
- 8203 8203 0 8208 8208 332 8211 [ 548 709 ]
23
- 8216 [ 268 278 222 ]
24
- 8220 [ 484 531 332 ]
25
- 8224 [ 554 554 528 ]
26
- 8230 8230 570 8240 8240 999 8249 8250 332 8482 8482 999 8722 8722 332 8729 8729 277 9676 9676 643 63232 63232 530 63233 63246 0 63247 63247 800 63248 63259 0 63260 [ 340 340 0 0 ]
27
  ]
1
+ /W [ 32 [ 340 277 354 556 556 889 666 190 332 332 387 583 277 332 277 277 ]
2
+ 48 57 556 58 59 277 60 62 583 63 [ 556 1014 666 666 721 721 ]
3
+ 69 [ 666 610 777 721 277 499 666 556 832 721 777 666 777 721 666 610 721 666 944 666 666 ]
4
+ 90 90 610 91 93 277 94 [ 469 556 332 556 556 499 556 556 277 556 556 222 222 499 222 832 ]
5
+ 110 113 556 114 [ 332 499 277 556 499 721 ]
6
+ 120 122 499 123 [ 334 259 334 583 ]
7
+ 160 [ 157 332 ]
8
+ 162 165 554 166 [ 259 554 332 735 369 554 583 332 735 551 400 548 ]
9
+ 178 180 332 181 [ 574 536 277 332 332 364 554 ]
10
+ 188 190 833 191 191 610 192 197 666 198 [ 999 721 ]
11
+ 200 203 666 204 207 277 208 209 721 210 214 777 215 [ 583 777 ]
12
+ 217 220 721 221 [ 666 666 610 ]
13
+ 224 229 556 230 [ 889 499 ]
14
+ 232 235 556 236 239 277 240 240 554 241 246 556 247 [ 548 610 ]
15
+ 249 252 556 253 [ 499 554 499 ]
16
+ 305 305 277 338 [ 999 944 ]
17
+ 352 [ 666 499 ]
18
+ 376 376 666 402 402 554 710 711 332 713 713 551 730 730 332 732 732 332 956 956 574 3585 [ 626 648 677 613 591 770 496 551 596 602 648 792 800 668 663 530 815 820 818 614 645 628 691 548 668 636 636 639 639 698 698 712 665 622 501 610 593 666 545 610 666 579 651 706 567 547 518 510 0 438 438 ]
19
+ 3636 3642 0 3647 [ 629 340 600 413 400 449 220 565 ]
20
+ 3655 3662 0 3663 3663 599 3664 3673 611 3674 [ 625 1105 ]
21
+ 8194 [ 500 1000 ]
22
+ 8203 8203 0 8208 8208 332 8211 [ 548 709 ]
23
+ 8216 [ 268 278 222 ]
24
+ 8220 [ 484 531 332 ]
25
+ 8224 [ 554 554 528 ]
26
+ 8230 8230 570 8240 8240 999 8249 8250 332 8482 8482 999 8722 8722 332 8729 8729 277 9676 9676 643 63232 63232 530 63233 63246 0 63247 63247 800 63248 63259 0 63260 [ 340 340 0 0 ]
27
  ]
mPDF/ttfonts/Thai Fonts License.txt CHANGED
@@ -1,340 +1,340 @@
1
- GNU GENERAL PUBLIC LICENSE
2
- Version 2, June 1991
3
-
4
- Copyright (C) 1989, 1991 Free Software Foundation, Inc.
5
- 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
6
- Everyone is permitted to copy and distribute verbatim copies
7
- of this license document, but changing it is not allowed.
8
-
9
- Preamble
10
-
11
- The licenses for most software are designed to take away your
12
- freedom to share and change it. By contrast, the GNU General Public
13
- License is intended to guarantee your freedom to share and change free
14
- software--to make sure the software is free for all its users. This
15
- General Public License applies to most of the Free Software
16
- Foundation's software and to any other program whose authors commit to
17
- using it. (Some other Free Software Foundation software is covered by
18
- the GNU Library General Public License instead.) You can apply it to
19
- your programs, too.
20
-
21
- When we speak of free software, we are referring to freedom, not
22
- price. Our General Public Licenses are designed to make sure that you
23
- have the freedom to distribute copies of free software (and charge for
24
- this service if you wish), that you receive source code or can get it
25
- if you want it, that you can change the software or use pieces of it
26
- in new free programs; and that you know you can do these things.
27
-
28
- To protect your rights, we need to make restrictions that forbid
29
- anyone to deny you these rights or to ask you to surrender the rights.
30
- These restrictions translate to certain responsibilities for you if you
31
- distribute copies of the software, or if you modify it.
32
-
33
- For example, if you distribute copies of such a program, whether
34
- gratis or for a fee, you must give the recipients all the rights that
35
- you have. You must make sure that they, too, receive or can get the
36
- source code. And you must show them these terms so they know their
37
- rights.
38
-
39
- We protect your rights with two steps: (1) copyright the software, and
40
- (2) offer you this license which gives you legal permission to copy,
41
- distribute and/or modify the software.
42
-
43
- Also, for each author's protection and ours, we want to make certain
44
- that everyone understands that there is no warranty for this free
45
- software. If the software is modified by someone else and passed on, we
46
- want its recipients to know that what they have is not the original, so
47
- that any problems introduced by others will not reflect on the original
48
- authors' reputations.
49
-
50
- Finally, any free program is threatened constantly by software
51
- patents. We wish to avoid the danger that redistributors of a free
52
- program will individually obtain patent licenses, in effect making the
53
- program proprietary. To prevent this, we have made it clear that any
54
- patent must be licensed for everyone's free use or not licensed at all.
55
-
56
- The precise terms and conditions for copying, distribution and
57
- modification follow.
58
-
59
- GNU GENERAL PUBLIC LICENSE
60
- TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61
-
62
- 0. This License applies to any program or other work which contains
63
- a notice placed by the copyright holder saying it may be distributed
64
- under the terms of this General Public License. The "Program", below,
65
- refers to any such program or work, and a "work based on the Program"
66
- means either the Program or any derivative work under copyright law:
67
- that is to say, a work containing the Program or a portion of it,
68
- either verbatim or with modifications and/or translated into another
69
- language. (Hereinafter, translation is included without limitation in
70
- the term "modification".) Each licensee is addressed as "you".
71
-
72
- Activities other than copying, distribution and modification are not
73
- covered by this License; they are outside its scope. The act of
74
- running the Program is not restricted, and the output from the Program
75
- is covered only if its contents constitute a work based on the
76
- Program (independent of having been made by running the Program).
77
- Whether that is true depends on what the Program does.
78
-
79
- 1. You may copy and distribute verbatim copies of the Program's
80
- source code as you receive it, in any medium, provided that you
81
- conspicuously and appropriately publish on each copy an appropriate
82
- copyright notice and disclaimer of warranty; keep intact all the
83
- notices that refer to this License and to the absence of any warranty;
84
- and give any other recipients of the Program a copy of this License
85
- along with the Program.
86
-
87
- You may charge a fee for the physical act of transferring a copy, and
88
- you may at your option offer warranty protection in exchange for a fee.
89
-
90
- 2. You may modify your copy or copies of the Program or any portion
91
- of it, thus forming a work based on the Program, and copy and
92
- distribute such modifications or work under the terms of Section 1
93
- above, provided that you also meet all of these conditions:
94
-
95
- a) You must cause the modified files to carry prominent notices
96
- stating that you changed the files and the date of any change.
97
-
98
- b) You must cause any work that you distribute or publish, that in
99
- whole or in part contains or is derived from the Program or any
100
- part thereof, to be licensed as a whole at no charge to all third
101
- parties under the terms of this License.
102
-
103
- c) If the modified program normally reads commands interactively
104
- when run, you must cause it, when started running for such
105
- interactive use in the most ordinary way, to print or display an
106
- announcement including an appropriate copyright notice and a
107
- notice that there is no warranty (or else, saying that you provide
108
- a warranty) and that users may redistribute the program under
109
- these conditions, and telling the user how to view a copy of this
110
- License. (Exception: if the Program itself is interactive but
111
- does not normally print such an announcement, your work based on
112
- the Program is not required to print an announcement.)
113
-
114
- These requirements apply to the modified work as a whole. If
115
- identifiable sections of that work are not derived from the Program,
116
- and can be reasonably considered independent and separate works in
117
- themselves, then this License, and its terms, do not apply to those
118
- sections when you distribute them as separate works. But when you
119
- distribute the same sections as part of a whole which is a work based
120
- on the Program, the distribution of the whole must be on the terms of
121
- this License, whose permissions for other licensees extend to the
122
- entire whole, and thus to each and every part regardless of who wrote it.
123
-
124
- Thus, it is not the intent of this section to claim rights or contest
125
- your rights to work written entirely by you; rather, the intent is to
126
- exercise the right to control the distribution of derivative or
127
- collective works based on the Program.
128
-
129
- In addition, mere aggregation of another work not based on the Program
130
- with the Program (or with a work based on the Program) on a volume of
131
- a storage or distribution medium does not bring the other work under
132
- the scope of this License.
133
-
134
- 3. You may copy and distribute the Program (or a work based on it,
135
- under Section 2) in object code or executable form under the terms of
136
- Sections 1 and 2 above provided that you also do one of the following:
137
-
138
- a) Accompany it with the complete corresponding machine-readable
139
- source code, which must be distributed under the terms of Sections
140
- 1 and 2 above on a medium customarily used for software interchange; or,
141
-
142
- b) Accompany it with a written offer, valid for at least three
143
- years, to give any third party, for a charge no more than your
144
- cost of physically performing source distribution, a complete
145
- machine-readable copy of the corresponding source code, to be
146
- distributed under the terms of Sections 1 and 2 above on a medium
147
- customarily used for software interchange; or,
148
-
149
- c) Accompany it with the information you received as to the offer
150
- to distribute corresponding source code. (This alternative is
151
- allowed only for noncommercial distribution and only if you
152
- received the program in object code or executable form with such
153
- an offer, in accord with Subsection b above.)
154
-
155
- The source code for a work means the preferred form of the work for
156
- making modifications to it. For an executable work, complete source
157
- code means all the source code for all modules it contains, plus any
158
- associated interface definition files, plus the scripts used to
159
- control compilation and installation of the executable. However, as a
160
- special exception, the source code distributed need not include
161
- anything that is normally distributed (in either source or binary
162
- form) with the major components (compiler, kernel, and so on) of the
163
- operating system on which the executable runs, unless that component
164
- itself accompanies the executable.
165
-
166
- If distribution of executable or object code is made by offering
167
- access to copy from a designated place, then offering equivalent
168
- access to copy the source code from the same place counts as
169
- distribution of the source code, even though third parties are not
170
- compelled to copy the source along with the object code.
171
-
172
- 4. You may not copy, modify, sublicense, or distribute the Program
173
- except as expressly provided under this License. Any attempt
174
- otherwise to copy, modify, sublicense or distribute the Program is
175
- void, and will automatically terminate your rights under this License.
176
- However, parties who have received copies, or rights, from you under
177
- this License will not have their licenses terminated so long as such
178
- parties remain in full compliance.
179
-
180
- 5. You are not required to accept this License, since you have not
181
- signed it. However, nothing else grants you permission to modify or
182
- distribute the Program or its derivative works. These actions are
183
- prohibited by law if you do not accept this License. Therefore, by
184
- modifying or distributing the Program (or any work based on the
185
- Program), you indicate your acceptance of this License to do so, and
186
- all its terms and conditions for copying, distributing or modifying
187
- the Program or works based on it.
188
-
189
- 6. Each time you redistribute the Program (or any work based on the
190
- Program), the recipient automatically receives a license from the
191
- original licensor to copy, distribute or modify the Program subject to
192
- these terms and conditions. You may not impose any further
193
- restrictions on the recipients' exercise of the rights granted herein.
194
- You are not responsible for enforcing compliance by third parties to
195
- this License.
196
-
197
- 7. If, as a consequence of a court judgment or allegation of patent
198
- infringement or for any other reason (not limited to patent issues),
199
- conditions are imposed on you (whether by court order, agreement or
200
- otherwise) that contradict the conditions of this License, they do not
201
- excuse you from the conditions of this License. If you cannot
202
- distribute so as to satisfy simultaneously your obligations under this
203
- License and any other pertinent obligations, then as a consequence you
204
- may not distribute the Program at all. For example, if a patent
205
- license would not permit royalty-free redistribution of the Program by
206
- all those who receive copies directly or indirectly through you, then
207
- the only way you could satisfy both it and this License would be to
208
- refrain entirely from distribution of the Program.
209
-
210
- If any portion of this section is held invalid or unenforceable under
211
- any particular circumstance, the balance of the section is intended to
212
- apply and the section as a whole is intended to apply in other
213
- circumstances.
214
-
215
- It is not the purpose of this section to induce you to infringe any
216
- patents or other property right claims or to contest validity of any
217
- such claims; this section has the sole purpose of protecting the
218
- integrity of the free software distribution system, which is
219
- implemented by public license practices. Many people have made
220
- generous contributions to the wide range of software distributed
221
- through that system in reliance on consistent application of that
222
- system; it is up to the author/donor to decide if he or she is willing
223
- to distribute software through any other system and a licensee cannot
224
- impose that choice.
225
-
226
- This section is intended to make thoroughly clear what is believed to
227
- be a consequence of the rest of this License.
228
-
229
- 8. If the distribution and/or use of the Program is restricted in
230
- certain countries either by patents or by copyrighted interfaces, the
231
- original copyright holder who places the Program under this License
232
- may add an explicit geographical distribution limitation excluding
233
- those countries, so that distribution is permitted only in or among
234
- countries not thus excluded. In such case, this License incorporates
235
- the limitation as if written in the body of this License.
236
-
237
- 9. The Free Software Foundation may publish revised and/or new versions
238
- of the General Public License from time to time. Such new versions will
239
- be similar in spirit to the present version, but may differ in detail to
240
- address new problems or concerns.
241
-
242
- Each version is given a distinguishing version number. If the Program
243
- specifies a version number of this License which applies to it and "any
244
- later version", you have the option of following the terms and conditions
245
- either of that version or of any later version published by the Free
246
- Software Foundation. If the Program does not specify a version number of
247
- this License, you may choose any version ever published by the Free Software
248
- Foundation.
249
-
250
- 10. If you wish to incorporate parts of the Program into other free
251
- programs whose distribution conditions are different, write to the author
252
- to ask for permission. For software which is copyrighted by the Free
253
- Software Foundation, write to the Free Software Foundation; we sometimes
254
- make exceptions for this. Our decision will be guided by the two goals
255
- of preserving the free status of all derivatives of our free software and
256
- of promoting the sharing and reuse of software generally.
257
-
258
- NO WARRANTY
259
-
260
- 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261
- FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
262
- OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263
- PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264
- OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265
- MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
266
- TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
267
- PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268
- REPAIR OR CORRECTION.
269
-
270
- 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271
- WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272
- REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273
- INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274
- OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275
- TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276
- YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277
- PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278
- POSSIBILITY OF SUCH DAMAGES.
279
-
280
- END OF TERMS AND CONDITIONS
281
-
282
- How to Apply These Terms to Your New Programs
283
-
284
- If you develop a new program, and you want it to be of the greatest
285
- possible use to the public, the best way to achieve this is to make it
286
- free software which everyone can redistribute and change under these terms.
287
-
288
- To do so, attach the following notices to the program. It is safest
289
- to attach them to the start of each source file to most effectively
290
- convey the exclusion of warranty; and each file should have at least
291
- the "copyright" line and a pointer to where the full notice is found.
292
-
293
- <one line to give the program's name and a brief idea of what it does.>
294
- Copyright (C) <year> <name of author>
295
-
296
- This program is free software; you can redistribute it and/or modify
297
- it under the terms of the GNU General Public License as published by
298
- the Free Software Foundation; either version 2 of the License, or
299
- (at your option) any later version.
300
-
301
- This program is distributed in the hope that it will be useful,
302
- but WITHOUT ANY WARRANTY; without even the implied warranty of
303
- MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
304
- GNU General Public License for more details.
305
-
306
- You should have received a copy of the GNU General Public License
307
- along with this program; if not, write to the Free Software
308
- Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
309
-
310
-
311
- Also add information on how to contact you by electronic and paper mail.
312
-
313
- If the program is interactive, make it output a short notice like this
314
- when it starts in an interactive mode:
315
-
316
- Gnomovision version 69, Copyright (C) year name of author
317
- Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
318
- This is free software, and you are welcome to redistribute it
319
- under certain conditions; type `show c' for details.
320
-
321
- The hypothetical commands `show w' and `show c' should show the appropriate
322
- parts of the General Public License. Of course, the commands you use may
323
- be called something other than `show w' and `show c'; they could even be
324
- mouse-clicks or menu items--whatever suits your program.
325
-
326
- You should also get your employer (if you work as a programmer) or your
327
- school, if any, to sign a "copyright disclaimer" for the program, if
328
- necessary. Here is a sample; alter the names:
329
-
330
- Yoyodyne, Inc., hereby disclaims all copyright interest in the program
331
- `Gnomovision' (which makes passes at compilers) written by James Hacker.
332
-
333
- <signature of Ty Coon>, 1 April 1989
334
- Ty Coon, President of Vice
335
-
336
- This General Public License does not permit incorporating your program into
337
- proprietary programs. If your program is a subroutine library, you may
338
- consider it more useful to permit linking proprietary applications with the
339
- library. If this is what you want to do, use the GNU Library General
340
- Public License instead of this License.
1
+ GNU GENERAL PUBLIC LICENSE
2
+ Version 2, June 1991
3
+
4
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
5
+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
6
+ Everyone is permitted to copy and distribute verbatim copies
7
+ of this license document, but changing it is not allowed.
8
+
9
+ Preamble
10
+
11
+ The licenses for most software are designed to take away your
12
+ freedom to share and change it. By contrast, the GNU General Public
13
+ License is intended to guarantee your freedom to share and change free
14
+ software--to make sure the software is free for all its users. This
15
+ General Public License applies to most of the Free Software
16
+ Foundation's software and to any other program whose authors commit to
17
+ using it. (Some other Free Software Foundation software is covered by
18
+ the GNU Library General Public License instead.) You can apply it to
19
+ your programs, too.
20
+
21
+ When we speak of free software, we are referring to freedom, not
22
+ price. Our General Public Licenses are designed to make sure that you
23
+ have the freedom to distribute copies of free software (and charge for
24
+ this service if you wish), that you receive source code or can get it
25
+ if you want it, that you can change the software or use pieces of it
26
+ in new free programs; and that you know you can do these things.
27
+
28
+ To protect your rights, we need to make restrictions that forbid
29
+ anyone to deny you these rights or to ask you to surrender the rights.
30
+ These restrictions translate to certain responsibilities for you if you
31
+ distribute copies of the software, or if you modify it.
32
+
33
+ For example, if you distribute copies of such a program, whether
34
+ gratis or for a fee, you must give the recipients all the rights that
35
+ you have. You must make sure that they, too, receive or can get the
36
+ source code. And you must show them these terms so they know their
37
+ rights.
38
+
39
+ We protect your rights with two steps: (1) copyright the software, and
40
+ (2) offer you this license which gives you legal permission to copy,
41
+ distribute and/or modify the software.
42
+
43
+ Also, for each author's protection and ours, we want to make certain
44
+ that everyone understands that there is no warranty for this free
45
+ software. If the software is modified by someone else and passed on, we
46
+ want its recipients to know that what they have is not the original, so
47
+ that any problems introduced by others will not reflect on the original
48
+ authors' reputations.
49
+
50
+ Finally, any free program is threatened constantly by software
51
+ patents. We wish to avoid the danger that redistributors of a free
52
+ program will individually obtain patent licenses, in effect making the
53
+ program proprietary. To prevent this, we have made it clear that any
54
+ patent must be licensed for everyone's free use or not licensed at all.
55
+
56
+ The precise terms and conditions for copying, distribution and
57
+ modification follow.
58
+
59
+ GNU GENERAL PUBLIC LICENSE
60
+ TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
61
+
62
+ 0. This License applies to any program or other work which contains
63
+ a notice placed by the copyright holder saying it may be distributed
64
+ under the terms of this General Public License. The "Program", below,
65
+ refers to any such program or work, and a "work based on the Program"
66
+ means either the Program or any derivative work under copyright law:
67
+ that is to say, a work containing the Program or a portion of it,
68
+ either verbatim or with modifications and/or translated into another
69
+ language. (Hereinafter, translation is included without limitation in
70
+ the term "modification".) Each licensee is addressed as "you".
71
+
72
+ Activities other than copying, distribution and modification are not
73
+ covered by this License; they are outside its scope. The act of
74
+ running the Program is not restricted, and the output from the Program
75
+ is covered only if its contents constitute a work based on the
76
+ Program (independent of having been made by running the Program).
77
+ Whether that is true depends on what the Program does.
78
+
79
+ 1. You may copy and distribute verbatim copies of the Program's
80
+ source code as you receive it, in any medium, provided that you
81
+ conspicuously and appropriately publish on each copy an appropriate
82
+ copyright notice and disclaimer of warranty; keep intact all the
83
+ notices that refer to this License and to the absence of any warranty;
84
+ and give any other recipients of the Program a copy of this License
85
+ along with the Program.
86
+
87
+ You may charge a fee for the physical act of transferring a copy, and
88
+ you may at your option offer warranty protection in exchange for a fee.
89
+
90
+ 2. You may modify your copy or copies of the Program or any portion
91
+ of it, thus forming a work based on the Program, and copy and
92
+ distribute such modifications or work under the terms of Section 1
93
+ above, provided that you also meet all of these conditions:
94
+
95
+ a) You must cause the modified files to carry prominent notices
96
+ stating that you changed the files and the date of any change.
97
+
98
+ b) You must cause any work that you distribute or publish, that in
99
+ whole or in part contains or is derived from the Program or any
100
+ part thereof, to be licensed as a whole at no charge to all third
101
+ parties under the terms of this License.
102
+
103
+ c) If the modified program normally reads commands interactively
104
+ when run, you must cause it, when started running for such
105
+ interactive use in the most ordinary way, to print or display an
106
+ announcement including an appropriate copyright notice and a
107
+ notice that there is no warranty (or else, saying that you provide
108
+ a warranty) and that users may redistribute the program under
109
+ these conditions, and telling the user how to view a copy of this
110
+ License. (Exception: if the Program itself is interactive but
111
+ does not normally print such an announcement, your work based on
112
+ the Program is not required to print an announcement.)
113
+
114
+ These requirements apply to the modified work as a whole. If
115
+ identifiable sections of that work are not derived from the Program,
116
+ and can be reasonably considered independent and separate works in
117
+ themselves, then this License, and its terms, do not apply to those
118
+ sections when you distribute them as separate works. But when you
119
+ distribute the same sections as part of a whole which is a work based
120
+ on the Program, the distribution of the whole must be on the terms of
121
+ this License, whose permissions for other licensees extend to the
122
+ entire whole, and thus to each and every part regardless of who wrote it.
123
+
124
+ Thus, it is not the intent of this section to claim rights or contest
125
+ your rights to work written entirely by you; rather, the intent is to
126
+ exercise the right to control the distribution of derivative or
127
+ collective works based on the Program.
128
+
129
+ In addition, mere aggregation of another work not based on the Program
130
+ with the Program (or with a work based on the Program) on a volume of
131
+ a storage or distribution medium does not bring the other work under
132
+ the scope of this License.
133
+
134
+ 3. You may copy and distribute the Program (or a work based on it,
135
+ under Section 2) in object code or executable form under the terms of
136
+ Sections 1 and 2 above provided that you also do one of the following:
137
+
138
+ a) Accompany it with the complete corresponding machine-readable
139
+ source code, which must be distributed under the terms of Sections
140
+ 1 and 2 above on a medium customarily used for software interchange; or,
141
+
142
+ b) Accompany it with a written offer, valid for at least three
143
+ years, to give any third party, for a charge no more than your
144
+ cost of physically performing source distribution, a complete
145
+ machine-readable copy of the corresponding source code, to be
146
+ distributed under the terms of Sections 1 and 2 above on a medium
147
+ customarily used for software interchange; or,
148
+
149
+ c) Accompany it with the information you received as to the offer
150
+ to distribute corresponding source code. (This alternative is
151
+ allowed only for noncommercial distribution and only if you
152
+ received the program in object code or executable form with such
153
+ an offer, in accord with Subsection b above.)
154
+
155
+ The source code for a work means the preferred form of the work for
156
+ making modifications to it. For an executable work, complete source
157
+ code means all the source code for all modules it contains, plus any
158
+ associated interface definition files, plus the scripts used to
159
+ control compilation and installation of the executable. However, as a
160
+ special exception, the source code distributed need not include
161
+ anything that is normally distributed (in either source or binary
162
+ form) with the major components (compiler, kernel, and so on) of the
163
+ operating system on which the executable runs, unless that component
164
+ itself accompanies the executable.
165
+
166
+ If distribution of executable or object code is made by offering
167
+ access to copy from a designated place, then offering equivalent
168
+ access to copy the source code from the same place counts as
169
+ distribution of the source code, even though third parties are not
170
+ compelled to copy the source along with the object code.
171
+
172
+ 4. You may not copy, modify, sublicense, or distribute the Program
173
+ except as expressly provided under this License. Any attempt
174
+ otherwise to copy, modify, sublicense or distribute the Program is
175
+ void, and will automatically terminate your rights under this License.
176
+ However, parties who have received copies, or rights, from you under
177
+ this License will not have their licenses terminated so long as such
178
+ parties remain in full compliance.
179
+
180
+ 5. You are not required to accept this License, since you have not
181
+ signed it. However, nothing else grants you permission to modify or
182
+ distribute the Program or its derivative works. These actions are
183
+ prohibited by law if you do not accept this License. Therefore, by
184
+ modifying or distributing the Program (or any work based on the
185
+ Program), you indicate your acceptance of this License to do so, and
186
+ all its terms and conditions for copying, distributing or modifying
187
+ the Program or works based on it.
188
+
189
+ 6. Each time you redistribute the Program (or any work based on the
190
+ Program), the recipient automatically receives a license from the
191
+ original licensor to copy, distribute or modify the Program subject to
192
+ these terms and conditions. You may not impose any further
193
+ restrictions on the recipients' exercise of the rights granted herein.
194
+ You are not responsible for enforcing compliance by third parties to
195
+ this License.
196
+
197
+ 7. If, as a consequence of a court judgment or allegation of patent
198
+ infringement or for any other reason (not limited to patent issues),
199
+ conditions are imposed on you (whether by court order, agreement or
200
+ otherwise) that contradict the conditions of this License, they do not
201
+ excuse you from the conditions of this License. If you cannot
202
+ distribute so as to satisfy simultaneously your obligations under this
203
+ License and any other pertinent obligations, then as a consequence you
204
+ may not distribute the Program at all. For example, if a patent
205
+ license would not permit royalty-free redistribution of the Program by
206
+ all those who receive copies directly or indirectly through you, then
207
+ the only way you could satisfy both it and this License would be to
208
+ refrain entirely from distribution of the Program.
209
+
210
+ If any portion of this section is held invalid or unenforceable under
211
+ any particular circumstance, the balance of the section is intended to
212
+ apply and the section as a whole is intended to apply in other
213
+ circumstances.
214
+
215
+ It is not the purpose of this section to induce you to infringe any
216
+ patents or other property right claims or to contest validity of any
217
+ such claims; this section has the sole purpose of protecting the
218
+ integrity of the free software distribution system, which is
219
+ implemented by public license practices. Many people have made
220
+ generous contributions to the wide range of software distributed
221
+ through that system in reliance on consistent application of that
222
+ system; it is up to the author/donor to decide if he or she is willing
223
+ to distribute software through any other system and a licensee cannot
224
+ impose that choice.
225
+
226
+ This section is intended to make thoroughly clear what is believed to
227
+ be a consequence of the rest of this License.
228
+
229
+ 8. If the distribution and/or use of the Program is restricted in
230
+ certain countries either by patents or by copyrighted interfaces, the
231
+ original copyright holder who places the Program under this License
232
+ may add an explicit geographical distribution limitation excluding
233
+ those countries, so that distribution is permitted only in or among
234
+ countries not thus excluded. In such case, this License incorporates
235
+ the limitation as if written in the body of this License.
236
+
237
+ 9. The Free Software Foundation may publish revised and/or new versions
238
+ of the General Public License from time to time. Such new versions will
239
+ be similar in spirit to the present version, but may differ in detail to
240
+ address new problems or concerns.
241
+
242
+ Each version is given a distinguishing version number. If the Program
243
+ specifies a version number of this License which applies to it and "any
244
+ later version", you have the option of following the terms and conditions
245
+ either of that version or of any later version published by the Free
246
+ Software Foundation. If the Program does not specify a version number of
247
+ this License, you may choose any version ever published by the Free Software
248
+ Foundation.
249
+
250
+ 10. If you wish to incorporate parts of the Program into other free
251
+ programs whose distribution conditions are different, write to the author
252
+ to ask for permission. For software which is copyrighted by the Free
253
+ Software Foundation, write to the Free Software Foundation; we sometimes
254
+ make exceptions for this. Our decision will be guided by the two goals
255
+ of preserving the free status of all derivatives of our free software and
256
+ of promoting the sharing and reuse of software generally.
257
+
258
+ NO WARRANTY
259
+
260
+ 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
261
+ FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN
262
+ OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
263
+ PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
264
+ OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
265
+ MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS
266
+ TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE
267
+ PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
268
+ REPAIR OR CORRECTION.
269
+
270
+ 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
271
+ WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
272
+ REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
273
+ INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
274
+ OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
275
+ TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
276
+ YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
277
+ PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
278
+ POSSIBILITY OF SUCH DAMAGES.
279
+
280
+ END OF TERMS AND CONDITIONS
281
+
282
+ How to Apply These Terms to Your New Programs
283
+
284
+ If you develop a new program, and you want it to be of the greatest
285
+ possible use to the public, the best way to achieve this is to make it
286
+ free software which everyone can redistribute and change under these terms.
287
+
288
+ To do so, attach the following notices to the program. It is safest
289
+ to attach them to the start of each source file to most effectively
290
+ convey the exclusion of warranty; and each file should have at least
291
+ the "copyright" line and a pointer to where the full notice is found.
292
+
293
+ <one line to give the program's name and a brief idea of what it does.>
294
+ Copyright (C) <year> <name of author>
295
+
296
+ This program is free software; you can redistribute it and/or modify
297
+ it under the terms of the GNU General Public License as published by
298
+ the Free Software Foundation; either version 2 of the License, or
299
+ (at your option) any later version.
300
+
301
+ This program is distributed in the hope that it will be useful,
302
+ but WITHOUT ANY WARRANTY; without even the implied warranty of
303
+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
304
+ GNU General Public License for more details.
305
+
306
+ You should have received a copy of the GNU General Public License
307
+ along with this program; if not, write to the Free Software
308
+ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
309
+
310
+
311
+ Also add information on how to contact you by electronic and paper mail.
312
+
313
+ If the program is interactive, make it output a short notice like this
314
+ when it starts in an interactive mode:
315
+
316
+ Gnomovision version 69, Copyright (C) year name of author
317
+ Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
318
+ This is free software, and you are welcome to redistribute it
319
+ under certain conditions; type `show c' for details.
320
+
321
+ The hypothetical commands `show w' and `show c' should show the appropriate
322
+ parts of the General Public License. Of course, the commands you use may
323
+ be called something other than `show w' and `show c'; they could even be
324
+ mouse-clicks or menu items--whatever suits your program.
325
+
326
+ You should also get your employer (if you work as a programmer) or your
327
+ school, if any, to sign a "copyright disclaimer" for the program, if
328
+ necessary. Here is a sample; alter the names:
329
+
330
+ Yoyodyne, Inc., hereby disclaims all copyright interest in the program
331
+ `Gnomovision' (which makes passes at compilers) written by James Hacker.
332
+
333
+ <signature of Ty Coon>, 1 April 1989
334
+ Ty Coon, President of Vice
335
+
336
+ This General Public License does not permit incorporating your program into
337
+ proprietary programs. If your program is a subroutine library, you may
338
+ consider it more useful to permit linking proprietary applications with the
339
+ library. If this is what you want to do, use the GNU Library General
340
+ Public License instead of this License.
mPDF/ttfonts/XW Zar Font Info.txt CHANGED
@@ -1,4 +1,4 @@
1
-
2
  This Font Software is licensed under the SIL Open Font License, Version 1.1.
3
  This license is copied below, and is also available with a FAQ at:
4
  http://scripts.sil.org/OFL
1
+
2
  This Font Software is licensed under the SIL Open Font License, Version 1.1.
3
  This license is copied below, and is also available with a FAQ at:
4
  http://scripts.sil.org/OFL
model/pdf.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * Plugin: Gravity PDF
5
  * File: model/pdf.php
6
  *
7
  * The model that does all the processing and interacts with our controller and view (if necisarry)
@@ -17,10 +17,9 @@ class GFPDF_Core_Model
17
  public static function valid_gravity_forms()
18
  {
19
  $form_id = isset($_POST["gform_submit"]) ? $_POST["gform_submit"] : 0;
20
-
21
  if($form_id)
22
  {
23
- $form_info = RGFormsModel::get_form($form_id);
24
  $is_valid_form = $form_info && $form_info->is_active;
25
 
26
  if($is_valid_form)
@@ -35,48 +34,81 @@ class GFPDF_Core_Model
35
  * Function to check if the major compatibility functionality is met
36
  * This includes Wordpress and Gravity Forms
37
  */
38
- public static function check_major_compatibility()
39
  {
40
- global $gfpdfe_data;
41
-
42
  if($gfpdfe_data->wp_is_compatible === false)
43
  {
44
- add_action('after_plugin_row_' . GF_PDF_EXTENDED_PLUGIN_BASENAME, array('GFPDF_Notices', 'display_wp_compatibility_error'));
45
  return false;
46
- }
47
-
48
- if($gfpdfe_data->php_version_compatible === false)
49
- {
50
- add_action('after_plugin_row_' . GF_PDF_EXTENDED_PLUGIN_BASENAME, array('GFPDF_Notices', 'display_pdf_compatibility_error'));
51
- return false;
52
- }
53
 
54
  if($gfpdfe_data->gf_is_compatible === false)
55
  {
56
- add_action('after_plugin_row_' . GF_PDF_EXTENDED_PLUGIN_BASENAME, array('GFPDF_Notices', 'display_compatibility_error'));
57
  return false;
58
  }
59
 
60
  return true;
61
  }
62
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
63
 
64
  /*
65
  * Check if the system is fully installed and return the correct values
66
  */
67
  public static function is_fully_installed()
68
  {
69
- global $gfpdfe_data;
70
 
71
- if(self::check_major_compatibility() === false)
72
- {
73
  return false;
74
  }
75
-
76
- if( ($gfpdfe_data->fresh_install === true) || (!is_dir($gfpdfe_data->template_site_location)) )
77
- {
78
  return false;
79
  }
 
 
 
 
 
 
 
 
 
 
80
 
81
  if($gfpdfe_data->allow_initilisation === false)
82
  {
@@ -86,9 +118,6 @@ class GFPDF_Core_Model
86
  return true;
87
  }
88
 
89
- /*
90
- * Display a view and download button on the entry detailed page
91
- */
92
  public static function detail_pdf_link($form_id, $lead) {
93
  global $gfpdf;
94
 
@@ -107,51 +136,47 @@ class GFPDF_Core_Model
107
  * Class: PDFGenerator
108
  * File: pdf-configuration-indexer.php
109
  */
110
- $template = $gfpdf->get_template($form_id);
111
-
112
- /*
113
- * Before setting up PDF options we will check if a configuration is found
114
- * If not, we will set up defaults defined in configuration.php
115
- */
116
- $index = self::check_configuration($form_id, $template);
117
-
118
- /*
119
- * Now all the correct configuration and indexes are in place lets get our configuration nodes
120
- */
121
- $templates = $gfpdf->get_form_configuration($form_id);
122
 
123
  /* exit early if templates not found */
124
- if($templates === false || sizeof($templates) === 0)
125
  {
126
  return;
127
  }
128
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
129
 
130
- ?>
131
- <strong>PDFs</strong><br />
132
-
133
- <?php foreach($templates as $id => $template):
134
- $name = $gfpdf->get_pdf_name($id, $form_id, $lead['id']);
135
- $aid = $gfpdf->get_aid($id, $form_id);
136
- ?>
137
- <div class="detailed_pdf">
138
- <span><?php
139
- echo $name;
140
- $url = home_url() .'/?gf_pdf=1&aid='. $aid .'&fid=' . $form_id . '&lid=' . $lead_id . '&template=' . $template['template'];
141
- ?></span>
142
- <a href="<?php echo $url; ?>" target="_blank" class="button"><?php _e('View', 'pdfextended'); ?></a>
143
- <a href="<?php echo $url.'&download=1'; ?>" target="_blank" class="button"><?php _e('Download', 'pdfextended'); ?></a>
144
- </div>
145
-
146
- <?php endforeach; ?>
147
-
148
-
149
- <?php
150
  }
151
 
152
- /*
153
- * Display the view PDF(s) link on the entry list page
154
- */
155
  public static function pdf_link($form_id, $field_id, $value, $lead) {
156
  global $gfpdf;
157
 
@@ -161,42 +186,28 @@ class GFPDF_Core_Model
161
  if(!GFCommon::current_user_can_any("gravityforms_view_entries"))
162
  {
163
  return;
164
- }
 
 
165
 
166
- $lead_id = $lead['id'];
167
-
168
  /*
169
  * Get the template name
170
  * Class: PDFGenerator
171
  * File: pdf-configuration-indexer.php
172
  */
173
- $template = $gfpdf->get_template($form_id);
174
-
175
- /*
176
- * Before setting up PDF options we will check if a configuration is found
177
- * If not, we will set up defaults defined in configuration.php
178
- */
179
- $index = self::check_configuration($form_id, $template);
180
-
181
- /*
182
- * Now all the correct configuration and indexes are in place lets get our configuration nodes
183
- */
184
- $templates = $gfpdf->get_form_configuration($form_id);
185
 
186
  /* exit early if templates not found */
187
- if($templates === false || sizeof($templates) === 0)
188
  {
189
  return;
190
  }
191
 
192
- /*
193
- * Show if multiple PDFs assigned to single form
194
- */
195
- if(sizeof($templates) > 1)
196
  {
197
  ?>
198
  <span class="gf_form_toolbar_settings gf_form_action_has_submenu">
199
- | <a href="#" title="View PDF configured for this form" onclick="return false" class=""><?php _e('View PDFs', 'pdfextended'); ?></a>
200
 
201
  <div class="gf_submenu">
202
  <ul>
@@ -204,8 +215,8 @@ class GFPDF_Core_Model
204
  /*
205
  * Replace MergeTags in filename
206
  */
207
- $name = $gfpdf->get_pdf_name($id, $form_id, $lead['id']);
208
- $aid = $gfpdf->get_aid($id, $form_id);
209
  ?>
210
  <li class="">
211
  <?php
@@ -224,14 +235,10 @@ class GFPDF_Core_Model
224
  else
225
  {
226
 
227
- /*
228
- * Get the first and only item in the array
229
- */
230
- $template = array_shift($templates);
231
- $url = home_url() . '/?gf_pdf=1&fid=' . $form_id .'&lid=' . $lead_id . '&template=' . $template['template'];
232
 
233
  ?>
234
- | <a href="<?php echo $url; ?>" target="_blank"><?php _e('View PDF', 'pdfextended'); ?></a>
235
  <?php
236
  }
237
  }
@@ -239,14 +246,9 @@ class GFPDF_Core_Model
239
  /*
240
  * Handle incoming routes
241
  * Look for $_GET['gf_pdf'] variable, authenticate user and generate/display PDF
242
- * TODO - slated for v3.9.0: move to a proper permalink structure
243
- * /pdf/id/
244
- * /pdf/id/template/
245
- * /pdf/id/template/action/
246
- * where action is 'html', 'data', or 'print'
247
  */
248
  public static function process_exterior_pages() {
249
- global $wpdb, $gfpdf, $form_id, $lead_ids;
250
 
251
  /*
252
  * If $_GET variable isn't set then stop function
@@ -256,9 +258,9 @@ class GFPDF_Core_Model
256
  return;
257
  }
258
 
259
-
260
- PDF_Common::get_ids();
261
- $ip = GFFormsModel::get_ip();
262
 
263
  /*
264
  * Get the template name
@@ -271,104 +273,38 @@ class GFPDF_Core_Model
271
  * Before setting up PDF options we will check if a configuration is found
272
  * If not, we will set up defaults defined in configuration.php
273
  */
274
- $index = self::check_configuration($form_id, $template);
275
-
276
- /*
277
- * Authenticate all lead Ids
278
- */
279
- if(empty($gfpdf->configuration[$index]['access']) || $gfpdf->configuration[$index]['access'] !== 'all') /* unpublicised feature to give FULL access to ALL PDFs in this configuration - RECOMMENDATION: DO NOT USE */
280
- {
281
- foreach($lead_ids as $key => $lead_id)
282
- {
283
- if(self::authenticate_user($form_id, $lead_id, $ip) === false)
284
- {
285
- unset($lead_ids[$key]);
286
- }
287
- /* resequence so there are no loop issues later */
288
- } $lead_ids = array_values($lead_ids);
289
- }
290
-
291
- if(sizeof($lead_ids) == 0)
292
- {
293
- if(!is_user_logged_in())
294
- {
295
- /* give the user a chance to authenticate */
296
- auth_redirect();
297
- }
298
- else
299
- {
300
- die(__('Access Denied', 'pdfextended'));
301
- }
302
- }
303
-
304
- /*
305
- * Give user with correct privilages the option to change the PDF template via the URL
306
- */
307
- if(is_user_logged_in() && GFCommon::current_user_can_any('gravityforms_view_entries'))
308
- {
309
- /*
310
- * Because this user is logged in with the correct access
311
- * we will allow a template to be shown by setting the template variable
312
- */
313
- if( ($template != $_GET['template']) && (substr($_GET['template'], -4) == '.php') )
314
- {
315
- $template = $_GET['template'];
316
- }
317
- }
318
-
319
-
320
- $pdf_arguments = self::generate_pdf_parameters($index, $form_id, $lead_ids[0], $template);
321
 
322
- /*
323
- * Add output to arguments
324
- */
325
- $output = 'view';
326
- if(isset($_GET['download']))
327
- {
328
- $output = 'download';
329
- }
330
-
331
- $pdf_arguments['output'] = $output;
332
-
333
- /*
334
- * While the security above will prevent the PDF being read by non-authorised users,
335
- * a user can disable that security with the 'access' => 'all' method (THIS IS NOT RECOMMENDED)
336
- * To prevent those PDFs showing up in search engines we will tell them not to index the documents
337
- */
338
- if (!headers_sent())
339
- {
340
- header("X-Robots-Tag: noindex, nofollow", true);
341
- }
342
-
343
- $gfpdf->render->PDF_Generator($form_id, $lead_ids[0], $pdf_arguments);
344
-
345
- exit();
346
- }
347
-
348
- private static function authenticate_user($form_id, $lead_id, $ip)
349
- {
350
- global $wpdb;
351
-
352
  /*
353
  * Run if user is not logged in
354
  */
355
  if(!is_user_logged_in())
356
  {
357
- return self::check_logged_out_user($form_id, $lead_id, $ip);
 
 
 
 
 
 
 
 
 
358
  }
359
  else
360
  {
361
  /*
362
  * Ensure logged in users have the correct privilages
363
  */
364
-
 
365
  if(!GFCommon::current_user_can_any("gravityforms_view_entries"))
366
  {
367
  /*
368
  * User doesn't have the correct access privilages
369
  * Let's check if they are assigned to the form
370
  */
371
- $user_logged_entries = $wpdb->get_var( $wpdb->prepare("SELECT count(*) FROM `".$wpdb->prefix."rg_lead` WHERE form_id = %d AND status = 'active' AND id = %d AND created_by = %d", array($form_id, $lead_id, get_current_user_id()) ) );
372
 
373
  /*
374
  * Failed again.
@@ -377,26 +313,50 @@ class GFPDF_Core_Model
377
  */
378
  if($user_logged_entries == 0)
379
  {
380
- return self::check_logged_out_user($form_id, $lead_id, $ip);
 
 
 
 
 
 
 
 
 
381
  }
382
- }
383
- }
384
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
385
 
386
- private static function check_logged_out_user($form_id, $lead_id, $ip)
387
- {
388
- global $wpdb;
389
 
390
- /*
391
- * Check the lead is in the database and the IP address matches (little security booster)
392
  */
393
- $form_entries = $wpdb->get_var( $wpdb->prepare("SELECT count(*) FROM `".$wpdb->prefix."rg_lead` WHERE form_id = %d AND status = 'active' AND id = %d AND ip = %s", array($form_id, $lead_id, $ip) ) );
394
-
395
- if($form_entries == 0)
396
  {
397
- return false;
398
- }
399
- return true;
 
 
 
 
 
400
  }
401
 
402
  /**
@@ -407,7 +367,7 @@ class GFPDF_Core_Model
407
  */
408
  public static function gfpdfe_save_pdf($entry, $form)
409
  {
410
- global $gfpdf, $form_id, $lead_id;
411
 
412
  $form_id = $entry['form_id'];
413
  $lead_id = $entry['id'];
@@ -424,12 +384,9 @@ class GFPDF_Core_Model
424
 
425
  if(!$config = $gfpdf->get_config($form_id))
426
  {
427
- return false;
428
  }
429
 
430
- /* set up the correct lead IDs */
431
- PDF_Common::get_ids();
432
-
433
  /*
434
  * To have our configuration indexes so loop through the PDF template configuration
435
  * and generate and attach PDF files.
@@ -454,9 +411,6 @@ class GFPDF_Core_Model
454
 
455
  }
456
 
457
- /*
458
- * Filter to return the PDFs that should be attached to the notification (if configured)
459
- */
460
  public static function gfpdfe_create_and_attach_pdf($notification, $form, $entry)
461
  {
462
  $notification = self::do_notification($notification, $form, $entry);
@@ -483,7 +437,6 @@ class GFPDF_Core_Model
483
  $form_id = $entry['form_id'];
484
  $lead_id = apply_filters('gfpdfe_lead_id', $entry['id'], $form, $entry, $gfpdf); /* allow premium plugins to override the lead ID */
485
 
486
-
487
  /*
488
  * Before setting up PDF options we will check if a configuration is found
489
  * If not, we will set up defaults defined in configuration.php
@@ -497,11 +450,7 @@ class GFPDF_Core_Model
497
  if(!$config = $gfpdf->get_config($form_id))
498
  {
499
  return $notification;
500
- }
501
-
502
- /* set up the correct lead IDs */
503
- PDF_Common::get_ids();
504
-
505
  /*
506
  * To have our configuration indexes so loop through the PDF template configuration
507
  * and generate and attach PDF files.
@@ -510,7 +459,6 @@ class GFPDF_Core_Model
510
  {
511
  $template = (isset($gfpdf->configuration[$index]['template'])) ? $gfpdf->configuration[$index]['template'] : '';
512
 
513
-
514
  /* Get notifications user wants PDF attached to and check if the correct notifications hook is running */
515
  $notifications = self::get_form_notifications($form, $index);
516
 
@@ -563,9 +511,6 @@ class GFPDF_Core_Model
563
  return false;
564
  }
565
 
566
- /*
567
- * Get all the notifications assigned to a form so we can determine if a PDF should be attached
568
- */
569
  public static function get_notifications_name($action, $form){
570
  if(rgempty("notifications", $form))
571
  return array();
@@ -579,13 +524,10 @@ class GFPDF_Core_Model
579
  return $notifications;
580
  }
581
 
582
- /*
583
- * Compare the assigned configuration notifications to the avaliable form notifications
584
- */
585
  public static function get_form_notifications($form, $index)
586
  {
587
  global $gfpdf;
588
-
589
  /*
590
  * Check if notification field even exists
591
  */
@@ -595,7 +537,7 @@ class GFPDF_Core_Model
595
  }
596
 
597
  /*
598
- * Get all form_submission notifications and use to check if any are configured to attach a PDF
599
  */
600
  $notifications = self::get_notifications_name('form_submission', $form);
601
 
@@ -604,7 +546,6 @@ class GFPDF_Core_Model
604
  /*
605
  * If notifications is true the user wants to attach the PDF to all notifications
606
  */
607
-
608
  if($gfpdf->configuration[$index]['notifications'] === true)
609
  {
610
  $new_notifications = $notifications;
@@ -644,39 +585,39 @@ class GFPDF_Core_Model
644
  {
645
  global $gfpdf;
646
 
647
- $config = $gfpdf->configuration[$index];
648
 
649
- $pdf_name = (isset($config['filename']) && strlen($config['filename']) > 0) ? $gfpdf->get_pdf_name($index, $form_id, $lead_id) : PDF_Common::get_pdf_filename($form_id, $lead_id);
650
- $template = (isset($template) && strlen($template) > 0) ? $template : $gfpdf->get_template($index);
651
 
652
- $pdf_size = (isset($config['pdf_size']) && (is_array($config['pdf_size']) || strlen($config['pdf_size']) > 0)) ? $config['pdf_size'] : PDFGenerator::$default['pdf_size'];
 
 
 
653
  $orientation = (isset($config['orientation']) && strlen($config['orientation']) > 0) ? $config['orientation'] : PDFGenerator::$default['orientation'];
654
- $security = (isset($config['security']) && $config['security']) ? $config['security'] : PDFGenerator::$default['security'];
655
- $premium = (isset($config['premium']) && $config['premium'] === true) ? true: false;
656
 
657
  /* added in v3.4.0 */
658
- $dpi = (isset($config['dpi']) && (int) $config['dpi'] > 0) ? (int) $config['dpi'] : false;
659
 
660
  /* added in v3.4.0 */
661
- $pdfa1b = (isset($config['pdfa1b']) && $config['pdfa1b'] === true) ? true : false;
662
-
663
  /* added in v3.4.0 */
664
- $pdfx1a = (isset($config['pdfx1a']) && $config['pdfx1a'] === true) ? true : false;
665
 
666
  /*
667
  * Validate privileges
668
  * If blank and security is true then set privileges to all
669
  */
670
- $privileges = (isset($config['pdf_privileges'])) ? $gfpdf->validate_privileges($config['pdf_privileges']) : $gfpdf->validate_privileges('');
671
 
672
- $pdf_password = (isset($config['pdf_password'])) ? PDF_Common::do_mergetags($config['pdf_password'], $form_id, $lead_id) : '';
673
- $master_password = (isset($config['pdf_master_password'])) ? PDF_Common::do_mergetags($config['pdf_master_password'], $form_id, $lead_id) : '';
674
- $rtl = (isset($config['rtl'])) ? $config['rtl'] : false;
675
 
676
 
677
  $form = RGFormsModel::get_form_meta($form_id);
678
  $lead = RGFormsModel::get_lead($lead_id);
679
-
680
  /*
681
  * Run the options through filters
682
  */
@@ -728,7 +669,7 @@ class GFPDF_Core_Model
728
  /*
729
  * Check if a default configuration is defined
730
  */
731
- if(is_array($gf_pdf_default_configuration) && sizeof($gf_pdf_default_configuration) > 0 && GFPDF_SET_DEFAULT_TEMPLATE === true)
732
  {
733
 
734
  /*
@@ -746,9 +687,7 @@ class GFPDF_Core_Model
746
  $index = key($gfpdf->configuration);
747
 
748
  /* now add to the index */
749
- $gfpdf->assign_index($form_id, $index);
750
-
751
- return $index;
752
 
753
  }
754
  }
@@ -788,6 +727,6 @@ class GFPDF_Core_Model
788
  /* there aren't multiples so just return first node */
789
  return $gfpdf->index[$form_id][0];
790
  }
791
- return false;
792
  }
793
  }
1
  <?php
2
 
3
  /**
4
+ * Plugin: Gravity Forms PDF Extended
5
  * File: model/pdf.php
6
  *
7
  * The model that does all the processing and interacts with our controller and view (if necisarry)
17
  public static function valid_gravity_forms()
18
  {
19
  $form_id = isset($_POST["gform_submit"]) ? $_POST["gform_submit"] : 0;
 
20
  if($form_id)
21
  {
22
+ $form_info = RGFormsModel::get_form($form_id);
23
  $is_valid_form = $form_info && $form_info->is_active;
24
 
25
  if($is_valid_form)
34
  * Function to check if the major compatibility functionality is met
35
  * This includes Wordpress and Gravity Forms
36
  */
37
+ public function check_major_compatibility()
38
  {
39
+ global $gfpdfe_data;
40
+
41
  if($gfpdfe_data->wp_is_compatible === false)
42
  {
43
+ add_action('after_plugin_row_' . GF_PDF_EXTENDED_PLUGIN_BASENAME, array('GFPDF_Core_Model', 'add_wp_compatibility_error'));
44
  return false;
45
+ }
 
 
 
 
 
 
46
 
47
  if($gfpdfe_data->gf_is_compatible === false)
48
  {
49
+ add_action('after_plugin_row_' . GF_PDF_EXTENDED_PLUGIN_BASENAME, array('GFPDF_Core_Model', 'add_compatibility_error'));
50
  return false;
51
  }
52
 
53
  return true;
54
  }
55
+
56
+
57
+ /*
58
+ * Display compatibility error about Gravity Forms on the plugins page
59
+ */
60
+ public static function add_compatibility_error()
61
+ {
62
+ PDF_Common::display_compatibility_error();
63
+ }
64
+
65
+ /*
66
+ * Display compatibility error about Gravity Forms on the plugins page
67
+ */
68
+ public static function add_wp_compatibility_error()
69
+ {
70
+ PDF_Common::display_wp_compatibility_error();
71
+ }
72
+
73
+ /*
74
+ * Display note about documentation
75
+ */
76
+ public static function add_documentation_byline()
77
+ {
78
+ PDF_Common::display_documentation_details();
79
+ }
80
+
81
+ public static function add_php_compatibility_error()
82
+ {
83
+ PDF_Common::display_pdf_compatibility_error();
84
+ }
85
 
86
  /*
87
  * Check if the system is fully installed and return the correct values
88
  */
89
  public static function is_fully_installed()
90
  {
91
+ global $gfpdfe_data;
92
 
93
+ if( (get_option('gf_pdf_extended_installed') != 'installed') || (!is_dir(PDF_TEMPLATE_LOCATION)) )
94
+ {
95
  return false;
96
  }
97
+
98
+ if(get_option('gf_pdf_extended_version') != PDF_EXTENDED_VERSION)
99
+ {
100
  return false;
101
  }
102
+
103
+ if(get_option('gf_pdf_extended_deploy') == 'no' && !rgpost('upgrade') && PDF_DEPLOY === true)
104
+ {
105
+ return false;
106
+ }
107
+
108
+ if(file_exists(PDF_PLUGIN_DIR .'mPDF.zip'))
109
+ {
110
+ return false;
111
+ }
112
 
113
  if($gfpdfe_data->allow_initilisation === false)
114
  {
118
  return true;
119
  }
120
 
 
 
 
121
  public static function detail_pdf_link($form_id, $lead) {
122
  global $gfpdf;
123
 
136
  * Class: PDFGenerator
137
  * File: pdf-configuration-indexer.php
138
  */
139
+ $templates = $gfpdf->get_template($form_id, true);
 
 
 
 
 
 
 
 
 
 
 
140
 
141
  /* exit early if templates not found */
142
+ if($templates === false)
143
  {
144
  return;
145
  }
146
 
147
+ if(is_array($templates))
148
+ {
149
+ ?>
150
+ <strong>PDFs</strong><br />
151
+
152
+ <?php foreach($templates as $id => $val):
153
+ $name = $gfpdf->get_pdf_name($id, $form_id, $lead['id']);
154
+ $aid = (int) $id + 1;
155
+ ?>
156
+ <div class="detailed_pdf">
157
+ <span><?php
158
+ echo $name;
159
+ $url = home_url() .'/?gf_pdf=1&aid='. $aid .'&fid=' . $form_id . '&lid=' . $lead_id . '&template=' . $val['template'];
160
+ ?></span>
161
+ <a href="<?php echo $url; ?>" target="_blank" class="button">View</a>
162
+ <a href="<?php echo $url.'&download=1'; ?>" target="_blank" class="button">Download</a></div>
163
+
164
+ <?php endforeach; ?>
165
 
166
+
167
+ <?php
168
+ }
169
+ elseif($templates !== false)
170
+ {
171
+ $url = home_url() .'/?gf_pdf=1&fid=' . $form_id . '&lid=' . $lead_id . '&template=' . $templates;
172
+
173
+ ?>
174
+ PDF: <a href="<?php echo $url; ?>" target="_blank" class="button">View</a>
175
+ <a href="<?php echo $url.'&download=1'; ?>" target="_blank" class="button">Download</a>
176
+ <?php
177
+ }
 
 
 
 
 
 
 
 
178
  }
179
 
 
 
 
180
  public static function pdf_link($form_id, $field_id, $value, $lead) {
181
  global $gfpdf;
182
 
186
  if(!GFCommon::current_user_can_any("gravityforms_view_entries"))
187
  {
188
  return;
189
+ }
190
+
191
+ $lead_id = $lead['id'];
192
 
 
 
193
  /*
194
  * Get the template name
195
  * Class: PDFGenerator
196
  * File: pdf-configuration-indexer.php
197
  */
198
+ $templates = $gfpdf->get_template($form_id, true);
 
 
 
 
 
 
 
 
 
 
 
199
 
200
  /* exit early if templates not found */
201
+ if($templates === false)
202
  {
203
  return;
204
  }
205
 
206
+ if(is_array($templates))
 
 
 
207
  {
208
  ?>
209
  <span class="gf_form_toolbar_settings gf_form_action_has_submenu">
210
+ | <a href="#" title="View PDF configured for this form" onclick="return false" class="">View PDFs</a>
211
 
212
  <div class="gf_submenu">
213
  <ul>
215
  /*
216
  * Replace MergeTags in filename
217
  */
218
+ $name = $gfpdf->get_pdf_name($id, $form_id, $lead['id']);
219
+ $aid = (int) $id + 1;
220
  ?>
221
  <li class="">
222
  <?php
235
  else
236
  {
237
 
238
+ $url = home_url() . '/?gf_pdf=1&fid=' . $form_id .'&lid=' . $lead_id . '&template=' . $templates;
 
 
 
 
239
 
240
  ?>
241
+ | <a href="<?php echo $url; ?>" target="_blank">View PDF</a>
242
  <?php
243
  }
244
  }
246
  /*
247
  * Handle incoming routes
248
  * Look for $_GET['gf_pdf'] variable, authenticate user and generate/display PDF
 
 
 
 
 
249
  */
250
  public static function process_exterior_pages() {
251
+ global $wpdb, $gfpdf;
252
 
253
  /*
254
  * If $_GET variable isn't set then stop function
258
  return;
259
  }
260
 
261
+ $form_id = (int) $_GET['fid'];
262
+ $lead_id = (int) $_GET['lid'];
263
+ $ip = PDF_Common::getRealIpAddr();
264
 
265
  /*
266
  * Get the template name
273
  * Before setting up PDF options we will check if a configuration is found
274
  * If not, we will set up defaults defined in configuration.php
275
  */
276
+ $index = self::check_configuration($form_id, $template);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
277
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
278
  /*
279
  * Run if user is not logged in
280
  */
281
  if(!is_user_logged_in())
282
  {
283
+ /*
284
+ * Check the lead is in the database and the IP address matches (little security booster)
285
+ */
286
+ $form_entries = $wpdb->get_var( $wpdb->prepare("SELECT count(*) FROM `".$wpdb->prefix."rg_lead` WHERE form_id = ".$form_id." AND status = 'active' AND id = ".$lead_id." AND ip = '".$ip."'", array() ) );
287
+
288
+ if($form_entries == 0 && $gfpdf->configuration[$index]['access'] !== 'all')
289
+ {
290
+ auth_redirect();
291
+ }
292
+
293
  }
294
  else
295
  {
296
  /*
297
  * Ensure logged in users have the correct privilages
298
  */
299
+
300
+
301
  if(!GFCommon::current_user_can_any("gravityforms_view_entries"))
302
  {
303
  /*
304
  * User doesn't have the correct access privilages
305
  * Let's check if they are assigned to the form
306
  */
307
+ $user_logged_entries = $wpdb->get_var( $wpdb->prepare("SELECT count(*) FROM `".$wpdb->prefix."rg_lead` WHERE form_id = ".$form_id." AND status = 'active' AND id = ".$lead_id." AND created_by = '". get_current_user_id() ."'", array() ) );
308
 
309
  /*
310
  * Failed again.
313
  */
314
  if($user_logged_entries == 0)
315
  {
316
+ $form_entries = $wpdb->get_var( $wpdb->prepare("SELECT count(*) FROM `".$wpdb->prefix."rg_lead` WHERE form_id = ".$form_id." AND status = 'active' AND id = ".$lead_id." AND ip = '".$ip."'", array() ) );
317
+
318
+ if($form_entries == 0)
319
+ {
320
+ /*
321
+ * Don't show the PDF
322
+ */
323
+ break;
324
+ }
325
+
326
  }
327
+ }
328
+ else
329
+ {
330
+ /*
331
+ * Because this user is logged in with the correct access
332
+ * we will allow a template to be shown by setting the template variable
333
+ */
334
+
335
+ if( ($template != $_GET['template']) && (substr($_GET['template'], -4) == '.php') )
336
+ {
337
+ $template = $_GET['template'];
338
+ }
339
+ }
340
+
341
+ }
342
+
343
 
344
+ $pdf_arguments = self::generate_pdf_parameters($index, $form_id, $lead_id, $template);
 
 
345
 
346
+ /*
347
+ * Add output to arguments
348
  */
349
+ $output = 'view';
350
+ if(isset($_GET['download']))
 
351
  {
352
+ $output = 'download';
353
+ }
354
+
355
+ $pdf_arguments['output'] = $output;
356
+
357
+ $gfpdf->render->PDF_Generator($form_id, $lead_id, $pdf_arguments);
358
+
359
+ exit();
360
  }
361
 
362
  /**
367
  */
368
  public static function gfpdfe_save_pdf($entry, $form)
369
  {
370
+ global $gfpdf;
371
 
372
  $form_id = $entry['form_id'];
373
  $lead_id = $entry['id'];
384
 
385
  if(!$config = $gfpdf->get_config($form_id))
386
  {
387
+ return $notification;
388
  }
389
 
 
 
 
390
  /*
391
  * To have our configuration indexes so loop through the PDF template configuration
392
  * and generate and attach PDF files.
411
 
412
  }
413
 
 
 
 
414
  public static function gfpdfe_create_and_attach_pdf($notification, $form, $entry)
415
  {
416
  $notification = self::do_notification($notification, $form, $entry);
437
  $form_id = $entry['form_id'];
438
  $lead_id = apply_filters('gfpdfe_lead_id', $entry['id'], $form, $entry, $gfpdf); /* allow premium plugins to override the lead ID */
439
 
 
440
  /*
441
  * Before setting up PDF options we will check if a configuration is found
442
  * If not, we will set up defaults defined in configuration.php
450
  if(!$config = $gfpdf->get_config($form_id))
451
  {
452
  return $notification;
453
+ }
 
 
 
 
454
  /*
455
  * To have our configuration indexes so loop through the PDF template configuration
456
  * and generate and attach PDF files.
459
  {
460
  $template = (isset($gfpdf->configuration[$index]['template'])) ? $gfpdf->configuration[$index]['template'] : '';
461
 
 
462
  /* Get notifications user wants PDF attached to and check if the correct notifications hook is running */
463
  $notifications = self::get_form_notifications($form, $index);
464
 
511
  return false;
512
  }
513
 
 
 
 
514
  public static function get_notifications_name($action, $form){
515
  if(rgempty("notifications", $form))
516
  return array();
524
  return $notifications;
525
  }
526
 
 
 
 
527
  public static function get_form_notifications($form, $index)
528
  {
529
  global $gfpdf;
530
+
531
  /*
532
  * Check if notification field even exists
533
  */
537
  }
538
 
539
  /*
540
+ * Get all form_submission notifications and
541
  */
542
  $notifications = self::get_notifications_name('form_submission', $form);
543
 
546
  /*
547
  * If notifications is true the user wants to attach the PDF to all notifications
548
  */
 
549
  if($gfpdf->configuration[$index]['notifications'] === true)
550
  {
551
  $new_notifications = $notifications;
585
  {
586
  global $gfpdf;
587
 
588
+ $config = $gfpdf->configuration[$index];
589
 
 
 
590
 
591
+ $pdf_name = (isset($config['filename']) && strlen($config['filename']) > 0) ? $gfpdf->get_pdf_name($index, $form_id, $lead_id) : PDF_Common::get_pdf_filename($form_id, $lead_id);
592
+ $template = (isset($template) && strlen($template) > 0) ? $template : $gfpdf->get_template($index);
593
+
594
+ $pdf_size = (isset($config['pdf_size']) && (is_array($config['pdf_size']) || strlen($config['pdf_size']) > 0)) ? $config['pdf_size'] : PDFGenerator::$default['pdf_size'];
595
  $orientation = (isset($config['orientation']) && strlen($config['orientation']) > 0) ? $config['orientation'] : PDFGenerator::$default['orientation'];
596
+ $security = (isset($config['security']) && $config['security']) ? $config['security'] : PDFGenerator::$default['security'];
597
+ $premium = (isset($config['premium']) && $config['premium'] === true) ? true: false;
598
 
599
  /* added in v3.4.0 */
600
+ $dpi = (isset($config['dpi']) && (int) $config['dpi'] > 0) ? (int) $config['dpi'] : false;
601
 
602
  /* added in v3.4.0 */
603
+ $pdfa1b = (isset($config['pdfa1b']) && $config['pdfa1b'] === true) ? true : false;
604
+
605
  /* added in v3.4.0 */
606
+ $pdfx1a = (isset($config['pdfx1a']) && $config['pdfx1a'] === true) ? true : false;
607
 
608
  /*
609
  * Validate privileges
610
  * If blank and security is true then set privileges to all
611
  */
612
+ $privileges = (isset($config['pdf_privileges'])) ? $gfpdf->validate_privileges($config['pdf_privileges']) : $gfpdf->validate_privileges('');
613
 
614
+ $pdf_password = (isset($config['pdf_password'])) ? $config['pdf_password'] : '';
615
+ $master_password = (isset($config['pdf_master_password'])) ? $config['pdf_master_password'] : '';
616
+ $rtl = (isset($config['rtl'])) ? $config['rtl'] : false;
617
 
618
 
619
  $form = RGFormsModel::get_form_meta($form_id);
620
  $lead = RGFormsModel::get_lead($lead_id);
 
621
  /*
622
  * Run the options through filters
623
  */
669
  /*
670
  * Check if a default configuration is defined
671
  */
672
+ if(is_array($gf_pdf_default_configuration) && sizeof($gf_pdf_default_configuration) > 0)
673
  {
674
 
675
  /*
687
  $index = key($gfpdf->configuration);
688
 
689
  /* now add to the index */
690
+ $gfpdf->assign_index($form_id, $index);
 
 
691
 
692
  }
693
  }
727
  /* there aren't multiples so just return first node */
728
  return $gfpdf->index[$form_id][0];
729
  }
730
+ return $index;
731
  }
732
  }
model/settings.php CHANGED
@@ -1,7 +1,7 @@
1
  <?php
2
 
3
  /**
4
- * Plugin: Gravity PDF
5
  * File: mode/settings.php
6
  *
7
  * The model that does all the processing and interacts with our controller and view
@@ -19,7 +19,7 @@ class GFPDF_Settings_Model extends GFPDF_Settings
19
  /*
20
  * Let's check if the web server is going to be compatible
21
  */
22
- $this->check_compatibility();
23
  }
24
 
25
  public function support_navigation()
@@ -52,9 +52,9 @@ class GFPDF_Settings_Model extends GFPDF_Settings
52
  }
53
 
54
  public function check_compatibility()
55
- {
56
- $this->fresh_install();
57
  $this->is_initialised();
 
58
 
59
  $this->check_wp_compatibility();
60
  $this->check_gf_compatibility();
@@ -95,7 +95,7 @@ class GFPDF_Settings_Model extends GFPDF_Settings
95
  * Sniff the options to see if it exists
96
  */
97
  $gfpdfe_data->is_initialised = false;
98
- if( $gfpdfe_data->fresh_install === false )
99
  {
100
  $gfpdfe_data->is_initialised = true;
101
  }
@@ -118,7 +118,6 @@ class GFPDF_Settings_Model extends GFPDF_Settings
118
 
119
  private function check_gf_compatibility()
120
  {
121
-
122
  global $gfpdfe_data;
123
 
124
  if(class_exists('GFCommon'))
@@ -202,38 +201,18 @@ class GFPDF_Settings_Model extends GFPDF_Settings
202
  private function check_available_ram()
203
  {
204
  global $gfpdfe_data;
205
-
206
- /*
207
- * Our unit tests fail because PHP is being run from the CLI
208
- * Overriding the RAM check if running from the CLI
209
- */
210
- if(PHP_SAPI === 'cli')
211
- {
212
- $gfpdfe_data->ram_compatible = true;
213
- $gfpdfe_data->allow_initilisation = true;
214
- return;
215
- }
216
 
217
- /*
218
- * Get ram available in bytes and convert it to megabytes
219
- */
220
- $memory_limit = $this->convert_ini_memory(ini_get('memory_limit'));
221
 
222
  $gfpdfe_data->ram_available = floor($memory_limit / 1024 / 1024); /* convert to MB */
223
-
224
  $gfpdfe_data->ram_compatible = true;
225
  if($gfpdfe_data->ram_available < 128)
226
  {
227
  $gfpdfe_data->ram_compatible = false;
228
  }
229
-
230
- /*
231
- * If under 64MB of ram assigned to the server do not run the software
232
- */
233
- if($gfpdfe_data->ram_available < 64)
234
- {
235
- $gfpdfe_data->allow_initilisation = false;
236
- }
237
  }
238
 
239
  private function check_write_permissions()
@@ -253,15 +232,24 @@ class GFPDF_Settings_Model extends GFPDF_Settings
253
  /*
254
  * Default our values
255
  */
256
- $gfpdfe_data->can_write_upload_dir = false;
 
257
 
258
  /*
259
- * Test the upload folder where our templates are stored
260
  */
261
- if($this->test_write_permissions($gfpdfe_data->upload_dir) === true)
262
  {
263
- $gfpdfe_data->can_write_upload_dir = true;
264
- }
 
 
 
 
 
 
 
 
265
  }
266
  else
267
  {
@@ -275,12 +263,12 @@ class GFPDF_Settings_Model extends GFPDF_Settings
275
  /*
276
  * The PDF_EXTENDED_TEMPLATE folder is created so lets check our permissions
277
  */
278
- if($this->test_write_permissions($gfpdfe_data->template_save_location) === true)
279
  {
280
  $gfpdfe_data->can_write_output_dir = true;
281
  }
282
 
283
- if($this->test_write_permissions($gfpdfe_data->template_font_location) === true)
284
  {
285
  $gfpdfe_data->can_write_font_dir = true;
286
  }
@@ -299,11 +287,11 @@ class GFPDF_Settings_Model extends GFPDF_Settings
299
 
300
  if(is_writable($path))
301
  {
302
- file_put_contents($path . 'pdf_extended_temp', '');
303
- if(file_exists($path . 'pdf_extended_temp'))
304
  {
305
  /* clean up */
306
- @unlink($path . 'pdf_extended_temp');
307
  return true;
308
  }
309
  }
@@ -345,14 +333,13 @@ class GFPDF_Settings_Model extends GFPDF_Settings
345
  if(isset($gfpdfe_data->configuration_file))
346
  {
347
  return $gfpdfe_data->configuration_file;
348
- }
349
-
350
  /*
351
  * Include the current configuration, if available
352
  */
353
- if(file_exists($gfpdfe_data->template_site_location . 'configuration.php'))
354
  {
355
- return esc_html(file_get_contents($gfpdfe_data->template_site_location . '/configuration.php'));
356
  }
357
  else
358
  {
@@ -360,23 +347,20 @@ class GFPDF_Settings_Model extends GFPDF_Settings
360
  }
361
  }
362
 
363
- private static function get_system_status_html($strip_html = false)
364
  {
365
  global $gfpdfe_data;
366
 
 
 
 
 
 
367
  ob_start();
368
  include PDF_PLUGIN_DIR . 'view/templates/settings/system-status.php';
369
  $content = ob_get_contents();
370
  ob_end_clean();
371
-
372
- if($strip_html)
373
- {
374
- return wp_strip_all_tags($content, true);
375
- }
376
- else
377
- {
378
- return esc_html($content);
379
- }
380
  }
381
 
382
  private static function get_active_plugins()
@@ -454,7 +438,7 @@ class GFPDF_Settings_Model extends GFPDF_Settings
454
  }
455
 
456
  /*
457
- * Do our POST request to the Gravity PDF API
458
  */
459
  self::send_support_request($email, $countType, $comments);
460
 
@@ -466,23 +450,43 @@ class GFPDF_Settings_Model extends GFPDF_Settings
466
  public static function send_support_request($email, $countType, $comments)
467
  {
468
  global $gfpdfe_data;
469
-
 
 
 
 
470
  /*
471
  * Build our support request array
472
  */
473
 
474
  $active_plugins = self::get_active_plugins();
475
- $system_status = self::get_system_status_html(true);
476
- $configuration = self::get_configuration_file() ;
477
  $website = site_url('/');
478
- $comments = stripslashes($comments);
 
 
 
 
 
 
 
 
 
 
479
 
 
 
 
 
 
 
480
  $configuration = htmlspecialchars_decode($configuration, ENT_QUOTES);
481
 
482
- $subject = $countType . ': Automated Ticket for "'. get_bloginfo('name') . '"';
483
- $to = 'support@gravitypdf.com';
484
  $from = $email;
485
- $message = "Support Type: $countType\r\n\r\nWebsite: $website\r\n\r\n----------------\r\n\r\n$comments\r\n\r\n----------------\r\n\r\n$system_status\r\n\r\n\r\nActive Plugins\r\n\r\n$active_plugins\r\n\r\n\r\n**Configuration**\r\n\r\n$configuration";
486
 
487
  $headers[] = 'From: '. $email;
488
 
@@ -499,10 +503,18 @@ class GFPDF_Settings_Model extends GFPDF_Settings
499
  print json_encode(array('msg' => __('Support request received. We will responed in 24 to 48 hours.', 'pdfextended')));
500
  exit;
501
  }
 
502
 
503
  /*
504
  * Create our
505
  */
506
  exit;
507
  }
 
 
 
 
 
 
 
508
  }
1
  <?php
2
 
3
  /**
4
+ * Plugin: Gravity Forms PDF Extended
5
  * File: mode/settings.php
6
  *
7
  * The model that does all the processing and interacts with our controller and view
19
  /*
20
  * Let's check if the web server is going to be compatible
21
  */
22
+ $this->check_compatibility();
23
  }
24
 
25
  public function support_navigation()
52
  }
53
 
54
  public function check_compatibility()
55
+ {
 
56
  $this->is_initialised();
57
+ $this->fresh_install();
58
 
59
  $this->check_wp_compatibility();
60
  $this->check_gf_compatibility();
95
  * Sniff the options to see if it exists
96
  */
97
  $gfpdfe_data->is_initialised = false;
98
+ if( (get_option('gf_pdf_extended_deploy') == 'yes') && (get_option('gf_pdf_extended_installed') == 'installed') && (is_dir(PDF_TEMPLATE_LOCATION) ) && get_option('gf_pdf_extended_version') == PDF_EXTENDED_VERSION && !file_exists(PDF_PLUGIN_DIR .'mPDF.zip') )
99
  {
100
  $gfpdfe_data->is_initialised = true;
101
  }
118
 
119
  private function check_gf_compatibility()
120
  {
 
121
  global $gfpdfe_data;
122
 
123
  if(class_exists('GFCommon'))
201
  private function check_available_ram()
202
  {
203
  global $gfpdfe_data;
 
 
 
 
 
 
 
 
 
 
 
204
 
205
+ /*
206
+ * Get ram available in bytes and convert it to megabytes
207
+ */
208
+ $memory_limit = $this->convert_ini_memory(ini_get('memory_limit'));
209
 
210
  $gfpdfe_data->ram_available = floor($memory_limit / 1024 / 1024); /* convert to MB */
 
211
  $gfpdfe_data->ram_compatible = true;
212
  if($gfpdfe_data->ram_available < 128)
213
  {
214
  $gfpdfe_data->ram_compatible = false;
215
  }
 
 
 
 
 
 
 
 
216
  }
217
 
218
  private function check_write_permissions()
232
  /*
233
  * Default our values
234
  */
235
+ $gfpdfe_data->can_write_plugin_dir = false;
236
+ $gfpdfe_data->can_write_theme_dir = false;
237
 
238
  /*
239
+ * Test the plugin folder so we can unzip mPDF
240
  */
241
+ if($this->test_write_permissions(PDF_PLUGIN_DIR) === true)
242
  {
243
+ $gfpdfe_data->can_write_plugin_dir = true;
244
+ }
245
+
246
+ /*
247
+ * Check if we can write in the user's active theme directory
248
+ */
249
+ if($this->test_write_permissions(get_stylesheet_directory() . '/') === true)
250
+ {
251
+ $gfpdfe_data->can_write_theme_dir = true;
252
+ }
253
  }
254
  else
255
  {
263
  /*
264
  * The PDF_EXTENDED_TEMPLATE folder is created so lets check our permissions
265
  */
266
+ if($this->test_write_permissions(PDF_SAVE_LOCATION) === true)
267
  {
268
  $gfpdfe_data->can_write_output_dir = true;
269
  }
270
 
271
+ if($this->test_write_permissions(PDF_FONT_LOCATION) === true)
272
  {
273
  $gfpdfe_data->can_write_font_dir = true;
274
  }
287
 
288
  if(is_writable($path))
289
  {
290
+ file_put_contents($path . '.pdf_extended_temp', '');
291
+ if(file_exists($path . '.pdf_extended_temp'))
292
  {
293
  /* clean up */
294
+ unlink($path . '.pdf_extended_temp');
295
  return true;
296
  }
297
  }
333
  if(isset($gfpdfe_data->configuration_file))
334
  {
335
  return $gfpdfe_data->configuration_file;
336
+ }
 
337
  /*
338
  * Include the current configuration, if available
339
  */
340
+ if(file_exists(PDF_TEMPLATE_LOCATION . 'configuration.php'))
341
  {
342
+ return esc_html(file_get_contents(PDF_TEMPLATE_LOCATION . 'configuration.php'));
343
  }
344
  else
345
  {
347
  }
348
  }
349
 
350
+ private static function get_system_status_html()
351
  {
352
  global $gfpdfe_data;
353
 
354
+ if(isset($gfpdfe_data->system_status))
355
+ {
356
+ return $gfpdfe_data->system_status;
357
+ }
358
+
359
  ob_start();
360
  include PDF_PLUGIN_DIR . 'view/templates/settings/system-status.php';
361
  $content = ob_get_contents();
362
  ob_end_clean();
363
+ return esc_html($content);
 
 
 
 
 
 
 
 
364
  }
365
 
366
  private static function get_active_plugins()
438
  }
439
 
440
  /*
441
+ * Do our POST request to the Gravity Forms PDF Extended API
442
  */
443
  self::send_support_request($email, $countType, $comments);
444
 
450
  public static function send_support_request($email, $countType, $comments)
451
  {
452
  global $gfpdfe_data;
453
+ /*
454
+ * Include our API class
455
+ */
456
+ $api = new gfpdfe_API();
457
+
458
  /*
459
  * Build our support request array
460
  */
461
 
462
  $active_plugins = self::get_active_plugins();
463
+ $system_status = self::get_system_status_html();
464
+ $configuration = self::get_configuration_file();
465
  $website = site_url('/');
466
+ $comments = stripslashes($comments);
467
+
468
+ $body = array(
469
+ 'support_type' => $countType,
470
+ 'email' => $email,
471
+ 'website' => $website,
472
+ 'active_plugins' => $active_plugins,
473
+ 'system_status' => $system_status,
474
+ 'configuration' => $configuration,
475
+ 'comments' => $comments,
476
+ );
477
 
478
+ if($api->support_request($body) === false)
479
+ {
480
+ /*
481
+ * API could not send
482
+ * Draft a plain text email and send to support
483
+ */
484
  $configuration = htmlspecialchars_decode($configuration, ENT_QUOTES);
485
 
486
+ $subject = 'Gravity Forms PDF Extended Support Request';
487
+ $to = 'support@gravityformspdfextended.com';
488
  $from = $email;
489
+ $message = "Support Type: $countType\r\nWebsite: $website\r\n\r\nComments\r\n\r\n$comments\r\n\r\n\r\nActive Plugins\r\n\r\n$active_plugins\r\n\r\n\r\nConfiguration\r\n\r\n$configuration";
490
 
491
  $headers[] = 'From: '. $email;
492
 
503
  print json_encode(array('msg' => __('Support request received. We will responed in 24 to 48 hours.', 'pdfextended')));
504
  exit;
505
  }
506
+ }
507
 
508
  /*
509
  * Create our
510
  */
511
  exit;
512
  }
513
+
514
+
515
+ public function gf_pdf_deploy_success() {
516
+ echo '<div id="message" class="updated"><p>';
517
+ echo __('You\'ve successfully initialised Gravity Forms PDF Extended.', 'pdfextended');
518
+ echo '</p></div>';
519
+ }
520
  }
pdf-settings.php CHANGED
@@ -1,11 +1,13 @@
1
  <?php
2
 
3
  /**
4
- * Plugin: Gravity PDF
5
  * File: pdf-settings.php
6
  *
7
  * The controller that handles the Gravity Forms Settings page in Wordpress
8
  */
 
 
9
 
10
  class GFPDF_Settings
11
  {
@@ -26,7 +28,7 @@ class GFPDF_Settings
26
  * Check if we're on the settings page
27
  */
28
  public static function settings_page() {
29
- if(class_exists('RGForms') && RGForms::get("page") == "gf_settings") {
30
  /*
31
  * Tell Gravity Forms to initiate our settings page
32
  * Using the following Class/Model
@@ -41,39 +43,37 @@ class GFPDF_Settings
41
  */
42
  protected function run_setting_routing()
43
  {
44
- global $gfpdfe_data;
45
-
46
  /*
47
  * Check if we need to redeploy default PDF templates/styles to the theme folder
48
  */
49
  if( rgpost("gfpdf_deploy") &&
50
- ( wp_verify_nonce(PDF_Common::post('gfpdf_deploy_nonce'),'gfpdf_deploy_nonce_action') || wp_verify_nonce(PDF_Common::get('_wpnonce'),'pdf-extended-filesystem') ) )
51
  {
52
  /*
53
  * Check if the user wants to upgrade the system or only initialise the fonts
54
- */
55
- if(PDF_Common::post('font-initialise'))
56
- {
57
- /*
58
- * We only want to reinitialise the font files and configuration
59
- */
60
- if(GFPDF_InstallUpdater::initialise_fonts() === false)
61
- {
62
- return true;
63
- }
64
- }
65
- else if(rgpost('upgrade'))
66
  {
67
  /*
68
  * Deploy new template styles
69
  * If we get false returned Wordpress is trying to get
70
  * access details to update files so don't display anything.
71
  */
72
- if(self::deploy() === 'false')
73
  {
74
  return true;
75
  }
76
  }
 
 
 
 
 
 
 
 
 
 
77
  }
78
 
79
  /*
@@ -85,10 +85,11 @@ class GFPDF_Settings
85
  /*
86
  * Check if we want to copy the theme files
87
  */
88
- if(is_dir($gfpdfe_data->old_template_location) && wp_verify_nonce(PDF_Common::get('_wpnonce'), 'gfpdfe_migrate') )
89
- {
90
-
91
- if(GFPDF_InstallUpdater::run_template_migration() === 'false')
 
92
  {
93
  return true;
94
  }
@@ -101,37 +102,12 @@ class GFPDF_Settings
101
  */
102
  private function deploy()
103
  {
104
- global $gfpdfe_data;
105
-
106
- /*
107
- * Initialise all multisites if a super admin is logged in and the software hasn't been installed before
108
- */
109
- if(is_multisite() && is_super_admin() && ($gfpdfe_data->fresh_install === true) )
110
  {
111
- $results = GFPDF_InstallUpdater::run_multisite_deployment(array('GFPDF_InstallUpdater', 'do_deploy'));
112
-
113
- if($results === true)
114
- {
115
- add_action($gfpdfe_data->notice_type, array('GFPDF_Notices', 'gf_pdf_network_deploy_success'));
116
- }
117
- elseif($results === false)
118
- {
119
- add_action($gfpdfe_data->notice_type, array('GFPDF_Notices', 'gf_pdf_auto_deploy_network_failure'));
120
- }
121
- return $results;
122
  }
123
- else
124
- {
125
- /*
126
- * Run the updater
127
- */
128
- $results = GFPDF_InstallUpdater::pdf_extended_activate();
129
- if($results === 'false')
130
- {
131
- return $results;
132
- }
133
- add_action($gfpdfe_data->notice_type, array('GFPDF_Notices', 'gf_pdf_deploy_success'));
134
- }
135
  }
136
 
137
  }
1
  <?php
2
 
3
  /**
4
+ * Plugin: Gravity Forms PDF Extended
5
  * File: pdf-settings.php
6
  *
7
  * The controller that handles the Gravity Forms Settings page in Wordpress
8
  */
9
+
10
+
11
 
12
  class GFPDF_Settings
13
  {
28
  * Check if we're on the settings page
29
  */
30
  public static function settings_page() {
31
+ if(RGForms::get("page") == "gf_settings") {
32
  /*
33
  * Tell Gravity Forms to initiate our settings page
34
  * Using the following Class/Model
43
  */
44
  protected function run_setting_routing()
45
  {
 
 
46
  /*
47
  * Check if we need to redeploy default PDF templates/styles to the theme folder
48
  */
49
  if( rgpost("gfpdf_deploy") &&
50
+ ( wp_verify_nonce($_POST['gfpdf_deploy_nonce'],'gfpdf_deploy_nonce_action') || wp_verify_nonce($_GET['_wpnonce'],'pdf-extended-filesystem') ) )
51
  {
52
  /*
53
  * Check if the user wants to upgrade the system or only initialise the fonts
54
+ */
55
+ if(rgpost('upgrade'))
 
 
 
 
 
 
 
 
 
 
56
  {
57
  /*
58
  * Deploy new template styles
59
  * If we get false returned Wordpress is trying to get
60
  * access details to update files so don't display anything.
61
  */
62
+ if(self::deploy() === false)
63
  {
64
  return true;
65
  }
66
  }
67
+ elseif(rgpost('font-initialise'))
68
+ {
69
+ /*
70
+ * We only want to reinitialise the font files and configuration
71
+ */
72
+ if(GFPDF_InstallUpdater::initialise_fonts() === false)
73
+ {
74
+ return true;
75
+ }
76
+ }
77
  }
78
 
79
  /*
85
  /*
86
  * Check if we want to copy the theme files
87
  */
88
+ if(wp_verify_nonce($_GET['_wpnonce'], 'gfpdfe_sync_now') )
89
+ {
90
+ $themes = get_option('gfpdfe_switch_theme');
91
+
92
+ if(isset($themes['old']) && isset($themes['new']) && GFPDF_InstallUpdater::do_theme_switch($themes['old'], $themes['new']) === false)
93
  {
94
  return true;
95
  }
102
  */
103
  private function deploy()
104
  {
105
+ $return = GFPDF_InstallUpdater::pdf_extended_activate();
106
+ if($return !== true)
 
 
 
 
107
  {
108
+ return $return;
 
 
 
 
 
 
 
 
 
 
109
  }
110
+ add_action('gfpdfe_notices', array('GFPDF_Settings_Model', 'gf_pdf_deploy_success'));
 
 
 
 
 
 
 
 
 
 
 
111
  }
112
 
113
  }
pdf.php CHANGED
@@ -1,10 +1,10 @@
1
  <?php
2
 
3
  /*
4
- Plugin Name: Gravity PDF
5
- Plugin URI: https://gravitypdf.com
6
- Description: Gravity PDF allows you to save/view/download a PDF from the front- and back-end, and automate PDF creation on form submission. Our Business Plus package also allows you to overlay field onto an existing PDF.
7
- Version: 3.6.0
8
  Author: Blue Liquid Designs
9
  Author URI: http://www.blueliquiddesigns.com.au
10
 
@@ -33,40 +33,42 @@ GNU General Public License for more details.
33
  /*
34
  * Define our constants
35
  */
36
- define('PDF_EXTENDED_VERSION', '3.6.0');
37
- define('GF_PDF_EXTENDED_SUPPORTED_VERSION', '1.8');
38
- define('GF_PDF_EXTENDED_WP_SUPPORTED_VERSION', '3.9');
39
- define('GF_PDF_EXTENDED_PHP_SUPPORTED_VERSION', '5');
40
 
41
- define('PDF_PLUGIN_DIR', plugin_dir_path( __FILE__ ));
42
- define('PDF_PLUGIN_URL', plugin_dir_url( __FILE__ ));
43
- define("PDF_SETTINGS_URL", site_url() .'/wp-admin/admin.php?page=gf_settings&subview=PDF');
44
- define('PDF_SAVE_FOLDER', 'PDF_EXTENDED_TEMPLATES');
45
- define('GF_PDF_EXTENDED_PLUGIN_BASENAME', plugin_basename(__FILE__));
 
 
 
 
 
 
 
 
 
46
 
47
  /*
48
- * Include the core files
49
- */
 
50
  include PDF_PLUGIN_DIR . 'helper/data.php';
51
- include PDF_PLUGIN_DIR . 'helper/notices.php';
52
  include PDF_PLUGIN_DIR . 'helper/pdf-configuration-indexer.php';
53
- include PDF_PLUGIN_DIR . 'helper/installation-update-manager.php';
54
- include PDF_PLUGIN_DIR . 'helper/pdf-common.php';
55
 
56
  /*
57
  * Initialise our data helper class
58
  */
59
  global $gfpdfe_data;
60
- $gfpdfe_data = new GFPDFE_DATA();
61
-
62
- /* set our PDF folder storage */
63
- $gfpdfe_data->set_directory_structure();
64
-
65
- /* include our regular files */
66
  include PDF_PLUGIN_DIR . 'pdf-settings.php';
67
- include PDF_PLUGIN_DIR . 'depreciated.php';
68
-
69
-
70
 
71
  /*
72
  * Initiate the class after Gravity Forms has been loaded using the init hook.
@@ -78,6 +80,7 @@ define('GF_PDF_EXTENDED_PLUGIN_BASENAME', plugin_basename(__FILE__));
78
  class GFPDF_Core extends PDFGenerator
79
  {
80
  public $render;
 
81
 
82
  /*
83
  * Main Controller
@@ -88,58 +91,29 @@ class GFPDF_Core extends PDFGenerator
88
  {
89
  global $gfpdfe_data;
90
 
91
- /*
92
- * Set the notice type
93
- */
94
- self::set_notice_type();
95
-
96
  /*
97
  * Add localisation support
98
- */
99
- load_plugin_textdomain('pdfextended', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
100
 
101
  /*
102
  * Call our Settings class which will do our compatibility processing
103
  */
104
  $gfpdfe_data->settingsClass = new GFPDF_Settings();
105
-
106
- /*
107
- * Only run settings page if Gravity Forms version is installed and compatible
108
- * Needs to be run before major compatibility checks so it can prompt user
109
- * about issues with WP version or PHP
110
- */
111
-
112
- if($gfpdfe_data->gf_is_compatible === true && is_admin())
113
- {
114
- /*
115
- * Run our settings page
116
- */
117
- GFPDF_Settings::settings_page();
118
-
119
- /*
120
- * Only load our scripts if on a Gravity Forms admin page
121
- */
122
- if( isset($_GET['page']) && (substr($_GET['page'], 0, 3) === 'gf_') )
123
- {
124
- /*
125
- * Run our scripts and add the settings page to the admin area
126
- */
127
- add_action('admin_init', array('GFPDF_Core', 'gfe_admin_init'), 9);
128
- }
129
- }
130
 
131
  /*
132
  * We'll initialise our model which will do any function checks ect
133
  */
134
- include PDF_PLUGIN_DIR . 'model/pdf.php';
 
135
 
136
  /*
137
  * Check for any major compatibility issues early
138
  */
139
- if(GFPDF_Core_Model::check_major_compatibility() === false)
140
  {
141
  /*
142
- * Major compatibility errors (WP version, Gravity Forms or PHP errors)
143
  * Exit to prevent conflicts
144
  */
145
  return;
@@ -149,7 +123,16 @@ class GFPDF_Core extends PDFGenerator
149
  * Some functions are required to monitor changes in the admin area
150
  * and ensure the plugin functions smoothly
151
  */
152
- add_action('admin_init', array('GFPDF_Core', 'fully_loaded_admin'), 9999); /* run later than usual to give our auto initialiser a chance to fire */
 
 
 
 
 
 
 
 
 
153
 
154
  /*
155
  * Only load the plugin if the following requirements are met:
@@ -158,8 +141,9 @@ class GFPDF_Core extends PDFGenerator
158
  * - Load if on Gravity Form page on the front end
159
  * - Load if receiving Paypal IPN
160
  */
161
- if( ( isset($_GET['page']) && (substr($_GET['page'], 0, 3) === 'gf_') ) ||
162
  ( isset($_GET['gf_pdf']) ) ||
 
163
  ( isset($_POST["gform_submit"]) && GFPDF_Core_Model::valid_gravity_forms() ||
164
  ( defined( 'DOING_AJAX' ) && DOING_AJAX && isset($_POST['action']) && isset($_POST['gf_resend_notifications'])) )
165
  )
@@ -176,30 +160,33 @@ class GFPDF_Core extends PDFGenerator
176
  }
177
 
178
  public function __construct()
179
- {
 
180
 
181
- /*
182
- * Ensure the system is fully installed
183
- * We run this after the 'settings' page has been set up (above)
184
- */
185
- if(GFPDF_Core_Model::is_fully_installed() === false)
186
- {
187
- return;
188
- }
189
-
190
- global $gfpdfe_data;
191
-
192
  /*
193
  * Include the core files
194
  */
195
- include_once PDF_PLUGIN_DIR . 'helper/pdf-render.php';
196
- include_once PDF_PLUGIN_DIR . 'helper/pdf-entry-detail.php';
197
 
198
  /*
199
  * Set up the PDF configuration and indexer
200
  * Accessed through $this->configuration and $this->index.
201
  */
202
- parent::__construct();
 
 
 
 
 
 
 
 
 
 
 
 
 
203
 
204
  /*
205
  * Add our main hooks
@@ -208,16 +195,18 @@ class GFPDF_Core extends PDFGenerator
208
  add_action("gform_entry_info", array('GFPDF_Core_Model', 'detail_pdf_link'), 10, 2);
209
  add_action('wp', array('GFPDF_Core_Model', 'process_exterior_pages'));
210
 
 
211
  /*
212
  * Apply default filters
213
  */
214
  add_filter('gfpdfe_pdf_template', array('PDF_Common', 'do_mergetags'), 10, 3); /* convert mergetags in PDF template automatically */
215
  add_filter('gfpdfe_pdf_template', 'do_shortcode', 10, 1); /* convert shortcodes in PDF template automatically */
216
 
 
217
  /* Check if on the entries page and output javascript */
218
  if(is_admin() && rgget('page') == 'gf_entries')
219
  {
220
- wp_enqueue_script( 'gfpdfeentries', PDF_PLUGIN_URL . 'resources/javascript/entries-admin.min.js', array('jquery') );
221
  }
222
 
223
  /*
@@ -241,157 +230,119 @@ class GFPDF_Core extends PDFGenerator
241
  */
242
  public static function fully_loaded_admin()
243
  {
244
-
245
- /*
246
- * Check user has the correct permissions to deploy the software
247
- */
248
- if(!current_user_can( 'manage_options' ))
249
- {
250
- return;
251
- }
252
-
253
- global $gfpdfe_data;
254
-
255
- /*
256
- * Don't run initialiser if we cannot...
257
- */
258
- if($gfpdfe_data->allow_initilisation === false)
259
- {
260
- /*
261
- * Prompt user about a server configuration problem
262
- */
263
- add_action($gfpdfe_data->notice_type, array("GFPDF_Notices", "gf_pdf_server_problem_detected"));
264
- return false;
265
- }
266
-
267
- /*
268
- * Check if we have direct write access to the server
269
- */
270
- GFPDF_InstallUpdater::check_filesystem_api();
271
-
272
- /*
273
- * Check if we can automatically deploy the software.
274
- * 90% of sites should be able to do this as they will have 'direct' write abilities
275
- * to their server files.
276
- */
277
- GFPDF_InstallUpdater::maybe_deploy();
278
-
279
- /*
280
- * Check if we need to deploy the software
281
- */
282
- self::check_deployment();
283
-
284
- /*
285
- * Check if the template folder location needs to be migrated
286
- */
287
- if(!rgpost('upgrade'))
288
- {
289
- GFPDF_InstallUpdater::check_template_migration();
290
- }
291
  }
292
 
293
- /*
294
- * Depending on what page we are on, we need to fire different notices
295
- * We've added our own custom notice to the settings page as some functions fire later than the normal 'admin_notices' action
296
- */
297
- private static function set_notice_type()
298
- {
299
- global $gfpdfe_data;
300
-
301
- if(PDF_Common::is_settings())
302
- {
303
- $gfpdfe_data->notice_type = 'gfpdfe_notices';
304
- }
305
- else if (is_multisite() && is_network_admin())
306
- {
307
- $gfpdfe_data->notice_type = 'network_admin_notices';
308
- }
309
- else
310
- {
311
- $gfpdfe_data->notice_type = 'admin_notices';
312
- }
313
- }
314
-
315
  /*
316
  * Check if the software needs to be deployed/redeployed
317
  */
318
  public static function check_deployment()
319
  {
320
-
321
- global $gfpdfe_data;
322
-
323
- /*
324
- * Check if client is using the automated installer
325
- * If installer has issues or client cannot use auto installer (using FTP/SSH ect) then run the usual
326
- * initialisation messages.
327
- */
328
- if($gfpdfe_data->automated === true && $gfpdfe_data->fresh_install === true & get_option('gfpdfe_automated_install') != 'installing')
329
- {
330
- return;
331
- }
 
 
 
 
 
 
 
 
 
 
332
 
333
  /*
334
  * Check if GF PDF Extended is correctly installed. If not we'll run the installer.
335
  */
336
  $theme_switch = get_option('gfpdfe_switch_theme');
337
 
338
- if( get_option('gf_pdf_extended_installed') != 'installed' && !rgpost('upgrade') )
 
 
 
 
339
  {
340
  /*
341
  * Prompt user to initialise plugin
342
  */
343
- add_action($gfpdfe_data->notice_type, array("GFPDF_Notices", "gf_pdf_not_deployed_fresh"));
344
  }
345
  elseif( (
346
- ( !is_dir($gfpdfe_data->template_site_location)) ||
347
- ( !file_exists($gfpdfe_data->template_site_location . 'configuration.php') ) ||
348
- ( !is_dir($gfpdfe_data->template_save_location) )
 
349
  )
350
  && (!rgpost('upgrade'))
351
- && (!is_dir($gfpdfe_data->old_template_location) )
 
352
  )
353
  {
354
-
355
  /*
356
  * Prompt user that a problem was detected and they need to redeploy
357
  */
358
- add_action($gfpdfe_data->notice_type, array("GFPDF_Notices", "gf_pdf_problem_detected"));
359
- }
 
 
 
 
 
 
 
 
 
 
 
360
  }
361
 
362
  /**
363
- * Add our scripts and settings page to the admin area
364
  */
365
- public static function gfe_admin_init()
366
- {
 
367
  /*
368
  * Configure the settings page
369
  */
370
- wp_enqueue_style( 'pdfextended-admin-styles', PDF_PLUGIN_URL . 'resources/css/admin-styles.min.css', array(), '1.3' );
371
- wp_enqueue_script( 'pdfextended-settings-script', PDF_PLUGIN_URL . 'resources/javascript/admin.min.js', array(), '1.3' );
372
-
373
- /*
374
- * Localise admin script
375
- */
376
- $localise_script = array(
377
- 'GFbaseUrl' => GFCommon::get_base_url(),
378
- );
379
-
380
- wp_localize_script( 'pdfextended-settings-script', 'GFPDF', $localise_script );
381
 
382
  /*
383
  * Register our scripts/styles with Gravity Forms to prevent them being removed in no conflict mode
384
  */
385
  add_filter('gform_noconflict_scripts', array('GFPDF_Core', 'register_gravityform_scripts'));
386
- add_filter('gform_noconflict_styles', array('GFPDF_Core', 'register_gravityform_styles'));
387
-
388
- add_filter('gform_tooltips', array('GFPDF_Notices', 'add_tooltips'));
389
 
390
  }
391
 
392
- /*
393
- * Register our scripts with Gravity Forms so they aren't removed when no conflict mode is active
394
- */
395
  public static function register_gravityform_scripts($scripts)
396
  {
397
  $scripts[] = 'pdfextended-settings-script';
@@ -399,51 +350,14 @@ class GFPDF_Core extends PDFGenerator
399
 
400
  return $scripts;
401
  }
402
-
403
- /*
404
- * Register our styles with Gravity Forms so they aren't removed when no conflict mode is active
405
- */
406
  public static function register_gravityform_styles($styles)
407
  {
408
- $styles[] = 'pdfextended-admin-styles';
 
 
409
 
410
  return $styles;
411
  }
412
 
413
  }
414
-
415
- /*
416
- * array_replace_recursive was added in PHP5.3
417
- * Add fallback support for those with a version lower than this
418
- * as Wordpress still supports PHP5.0 to PHP5.2
419
- */
420
- if (!function_exists('array_replace_recursive'))
421
- {
422
- function array_replace_recursive($base, $replacements)
423
- {
424
- foreach (array_slice(func_get_args(), 1) as $replacements) {
425
- $bref_stack = array(&$base);
426
- $head_stack = array($replacements);
427
-
428
- do {
429
- end($bref_stack);
430
-
431
- $bref = &$bref_stack[key($bref_stack)];
432
- $head = array_pop($head_stack);
433
-
434
- unset($bref_stack[key($bref_stack)]);
435
-
436
- foreach (array_keys($head) as $key) {
437
- if (isset($key, $bref) && isset($bref[$key]) && is_array($bref[$key]) && is_array($head[$key])) {
438
- $bref_stack[] = &$bref[$key];
439
- $head_stack[] = $head[$key];
440
- } else {
441
- $bref[$key] = $head[$key];
442
- }
443
- }
444
- } while(count($head_stack));
445
- }
446
-
447
- return $base;
448
- }
449
- }
1
  <?php
2
 
3
  /*
4
+ Plugin Name: Gravity Forms PDF Extended
5
+ Plugin URI: http://www.gravityformspdfextended.com
6
+ Description: Gravity Forms PDF Extended allows you to save/view/download a PDF from the front- and back-end, and automate PDF creation on form submission. Our Business Plus package also allows you to overlay field onto an existing PDF.
7
+ Version: 3.4.0
8
  Author: Blue Liquid Designs
9
  Author URI: http://www.blueliquiddesigns.com.au
10
 
33
  /*
34
  * Define our constants
35
  */
36
+ if(!defined('PDF_EXTENDED_VERSION')) { define('PDF_EXTENDED_VERSION', '3.4.0'); }
37
+ if(!defined('GF_PDF_EXTENDED_SUPPORTED_VERSION')) { define('GF_PDF_EXTENDED_SUPPORTED_VERSION', '1.7'); }
38
+ if(!defined('GF_PDF_EXTENDED_WP_SUPPORTED_VERSION')) { define('GF_PDF_EXTENDED_WP_SUPPORTED_VERSION', '3.5'); }
39
+ if(!defined('GF_PDF_EXTENDED_PHP_SUPPORTED_VERSION')) { define('GF_PDF_EXTENDED_PHP_SUPPORTED_VERSION', '5'); }
40
 
41
+ if(!defined('PDF_PLUGIN_DIR')) { define('PDF_PLUGIN_DIR', plugin_dir_path( __FILE__ )); }
42
+ if(!defined('PDF_PLUGIN_URL')) { define('PDF_PLUGIN_URL', plugin_dir_url( __FILE__ )); }
43
+ if(!defined('PDF_SETTINGS_URL')) { define("PDF_SETTINGS_URL", site_url() .'/wp-admin/admin.php?page=gf_settings&addon=PDF'); }
44
+ if(!defined('PDF_SAVE_FOLDER')) { define('PDF_SAVE_FOLDER', 'PDF_EXTENDED_TEMPLATES'); }
45
+ if(!defined('PDF_SAVE_LOCATION')) { define('PDF_SAVE_LOCATION', get_stylesheet_directory().'/'.PDF_SAVE_FOLDER.'/output/'); }
46
+ if(!defined('PDF_FONT_LOCATION')) { define('PDF_FONT_LOCATION', get_stylesheet_directory().'/'.PDF_SAVE_FOLDER.'/fonts/'); }
47
+ if(!defined('PDF_TEMPLATE_LOCATION')) { define('PDF_TEMPLATE_LOCATION', get_stylesheet_directory().'/'.PDF_SAVE_FOLDER.'/'); }
48
+ if(!defined('PDF_TEMPLATE_URL_LOCATION')) { define('PDF_TEMPLATE_URL_LOCATION', get_stylesheet_directory_uri().'/'. PDF_SAVE_FOLDER .'/'); }
49
+ if(!defined('GF_PDF_EXTENDED_PLUGIN_BASENAME')) { define('GF_PDF_EXTENDED_PLUGIN_BASENAME', plugin_basename(__FILE__)); }
50
+
51
+ /*
52
+ * Do we need to deploy template files this edition? If yes set to true.
53
+ */
54
+ if(!defined('PDF_DEPLOY')) { define('PDF_DEPLOY', false); }
55
 
56
  /*
57
+ * Include the core helper files
58
+ */
59
+ include PDF_PLUGIN_DIR . 'helper/api.php';
60
  include PDF_PLUGIN_DIR . 'helper/data.php';
 
61
  include PDF_PLUGIN_DIR . 'helper/pdf-configuration-indexer.php';
62
+ include PDF_PLUGIN_DIR . 'helper/installation-update-manager.php';
 
63
 
64
  /*
65
  * Initialise our data helper class
66
  */
67
  global $gfpdfe_data;
68
+ $gfpdfe_data = new GFPDFE_DATA();
69
+
 
 
 
 
70
  include PDF_PLUGIN_DIR . 'pdf-settings.php';
71
+ include PDF_PLUGIN_DIR . 'helper/pdf-common.php';
 
 
72
 
73
  /*
74
  * Initiate the class after Gravity Forms has been loaded using the init hook.
80
  class GFPDF_Core extends PDFGenerator
81
  {
82
  public $render;
83
+ static $model;
84
 
85
  /*
86
  * Main Controller
91
  {
92
  global $gfpdfe_data;
93
 
 
 
 
 
 
94
  /*
95
  * Add localisation support
96
+ */
97
+ load_plugin_textdomain('pdfextended', false, PDF_PLUGIN_DIR . 'resources/languages' );
98
 
99
  /*
100
  * Call our Settings class which will do our compatibility processing
101
  */
102
  $gfpdfe_data->settingsClass = new GFPDF_Settings();
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
103
 
104
  /*
105
  * We'll initialise our model which will do any function checks ect
106
  */
107
+ include PDF_PLUGIN_DIR . 'model/pdf.php';
108
+ self::$model = new GFPDF_Core_Model();
109
 
110
  /*
111
  * Check for any major compatibility issues early
112
  */
113
+ if(self::$model->check_major_compatibility() === false)
114
  {
115
  /*
116
+ * Major compatibility errors (WP version or Gravity Forms)
117
  * Exit to prevent conflicts
118
  */
119
  return;
123
  * Some functions are required to monitor changes in the admin area
124
  * and ensure the plugin functions smoothly
125
  */
126
+ add_action('admin_init', array('GFPDF_Core', 'fully_loaded_admin'));
127
+ add_action('after_switch_theme', array('GFPDF_InstallUpdater', 'gf_pdf_on_switch_theme'), 10, 2);
128
+
129
+ /*
130
+ * Check if we need to deploy the software
131
+ */
132
+ if( is_admin() )
133
+ {
134
+ self::check_deployment();
135
+ }
136
 
137
  /*
138
  * Only load the plugin if the following requirements are met:
141
  * - Load if on Gravity Form page on the front end
142
  * - Load if receiving Paypal IPN
143
  */
144
+ if( ( is_admin() && isset($_GET['page']) && (substr($_GET['page'], 0, 3) === 'gf_') ) ||
145
  ( isset($_GET['gf_pdf']) ) ||
146
+ ( RGForms::get("page") == "gf_paypal_ipn") ||
147
  ( isset($_POST["gform_submit"]) && GFPDF_Core_Model::valid_gravity_forms() ||
148
  ( defined( 'DOING_AJAX' ) && DOING_AJAX && isset($_POST['action']) && isset($_POST['gf_resend_notifications'])) )
149
  )
160
  }
161
 
162
  public function __construct()
163
+ {
164
+ global $gfpdfe_data;
165
 
 
 
 
 
 
 
 
 
 
 
 
166
  /*
167
  * Include the core files
168
  */
169
+ include PDF_PLUGIN_DIR . 'helper/pdf-render.php';
170
+ include PDF_PLUGIN_DIR . 'helper/pdf-entry-detail.php';
171
 
172
  /*
173
  * Set up the PDF configuration and indexer
174
  * Accessed through $this->configuration and $this->index.
175
  */
176
+ parent::__construct();
177
+
178
+ /*
179
+ * Add our installation/file handling hooks
180
+ */
181
+ add_action('admin_init', array($this, 'gfe_admin_init'), 9);
182
+
183
+ /*
184
+ * Ensure the system is fully insatlled
185
+ */
186
+ if(GFPDF_Core_Model::is_fully_installed() === false)
187
+ {
188
+ return;
189
+ }
190
 
191
  /*
192
  * Add our main hooks
195
  add_action("gform_entry_info", array('GFPDF_Core_Model', 'detail_pdf_link'), 10, 2);
196
  add_action('wp', array('GFPDF_Core_Model', 'process_exterior_pages'));
197
 
198
+
199
  /*
200
  * Apply default filters
201
  */
202
  add_filter('gfpdfe_pdf_template', array('PDF_Common', 'do_mergetags'), 10, 3); /* convert mergetags in PDF template automatically */
203
  add_filter('gfpdfe_pdf_template', 'do_shortcode', 10, 1); /* convert shortcodes in PDF template automatically */
204
 
205
+
206
  /* Check if on the entries page and output javascript */
207
  if(is_admin() && rgget('page') == 'gf_entries')
208
  {
209
+ wp_enqueue_script( 'gfpdfeentries', PDF_PLUGIN_URL . 'resources/javascript/entries-admin.js', array('jquery') );
210
  }
211
 
212
  /*
230
  */
231
  public static function fully_loaded_admin()
232
  {
233
+
234
+ /*
235
+ * Check if the user has switched themes and they haven't yet prompt user to copy over directory structure
236
+ * If the plugin has just initialised we won't check for a theme swap as initialisation will reset this value
237
+ */
238
+ if(!rgpost('upgrade'))
239
+ {
240
+ GFPDF_InstallUpdater::check_theme_switch();
241
+ }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
242
  }
243
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
244
  /*
245
  * Check if the software needs to be deployed/redeployed
246
  */
247
  public static function check_deployment()
248
  {
249
+ /*
250
+ * Check if database plugin version matches current plugin version and updates if needed
251
+ */
252
+ if( PDF_DEPLOY === true
253
+ && get_option('gf_pdf_extended_version') != PDF_EXTENDED_VERSION
254
+ && (
255
+ (
256
+ (isset($_GET['page']) && $_GET['page'] != 'gf_settings') &&
257
+ (isset($_GET['addon']) && $_GET['addon'] != 'PDF')
258
+ )
259
+ || empty($_GET['page'])
260
+ )
261
+ )
262
+ {
263
+ /* update the deploy option*/
264
+ update_option('gf_pdf_extended_deploy', 'no');
265
+ }
266
+ elseif(PDF_DEPLOY === false && get_option('gf_pdf_extended_version') != PDF_EXTENDED_VERSION)
267
+ {
268
+ /* bring the version inline */
269
+ update_option('gf_pdf_extended_version', PDF_EXTENDED_VERSION);
270
+ }
271
 
272
  /*
273
  * Check if GF PDF Extended is correctly installed. If not we'll run the installer.
274
  */
275
  $theme_switch = get_option('gfpdfe_switch_theme');
276
 
277
+ if( (
278
+ (get_option('gf_pdf_extended_installed') != 'installed')
279
+ ) && (!rgpost('upgrade') )
280
+ && (empty($theme_switch['old']) )
281
+ )
282
  {
283
  /*
284
  * Prompt user to initialise plugin
285
  */
286
+ add_action('admin_notices', array("GFPDF_InstallUpdater", "gf_pdf_not_deployed_fresh"));
287
  }
288
  elseif( (
289
+ ( !is_dir(PDF_TEMPLATE_LOCATION)) ||
290
+ ( !file_exists(PDF_TEMPLATE_LOCATION . 'configuration.php') ) ||
291
+ ( !is_dir(PDF_SAVE_LOCATION) ) ||
292
+ ( file_exists(PDF_PLUGIN_DIR .'mPDF.zip') )
293
  )
294
  && (!rgpost('upgrade'))
295
+ && (empty($theme_switch['old']) )
296
+
297
  )
298
  {
 
299
  /*
300
  * Prompt user that a problem was detected and they need to redeploy
301
  */
302
+ add_action('admin_notices', array("GFPDF_InstallUpdater", "gf_pdf_problem_detected"));
303
+ }
304
+ else
305
+ {
306
+
307
+ /**
308
+ * Check if deployed new template files after update
309
+ */
310
+ if( (get_option('gf_pdf_extended_deploy') == 'no' && !rgpost('upgrade') ) && !rgpost('upgrade') ) {
311
+ /*show warning message */
312
+ add_action('admin_notices', array("GFPDF_InstallUpdater", "gf_pdf_not_deployed"));
313
+ }
314
+ }
315
  }
316
 
317
  /**
318
+ * Check to see if Gravity Forms is actually installed
319
  */
320
+ function gfe_admin_init()
321
+ {
322
+
323
  /*
324
  * Configure the settings page
325
  */
326
+
327
+ wp_enqueue_style( 'pdfextended-admin-styles', PDF_PLUGIN_URL . 'resources/css/admin-styles.css' );
328
+ wp_enqueue_style( 'pdfextended-font-styles', PDF_PLUGIN_URL . 'resources/css/font-awesome.min.css' );
329
+
330
+ global $wp_styles;
331
+ wp_enqueue_style( 'pdfextended-font-styles-ie', PDF_PLUGIN_URL . 'resources/css/font-awesome-ie7.min.css' );
332
+ $wp_styles->add_data( 'pdfextended-font-styles-ie', 'conditional', 'IE 7' );
333
+
334
+ wp_enqueue_script( 'pdfextended-settings-script', PDF_PLUGIN_URL . 'resources/javascript/admin.js' );
 
 
335
 
336
  /*
337
  * Register our scripts/styles with Gravity Forms to prevent them being removed in no conflict mode
338
  */
339
  add_filter('gform_noconflict_scripts', array('GFPDF_Core', 'register_gravityform_scripts'));
340
+ add_filter('gform_noconflict_styles', array('GFPDF_Core', 'register_gravityform_styles'));
341
+
342
+ GFPDF_Settings::settings_page();
343
 
344
  }
345
 
 
 
 
346
  public static function register_gravityform_scripts($scripts)
347
  {
348
  $scripts[] = 'pdfextended-settings-script';
350
 
351
  return $scripts;
352
  }
353
+
 
 
 
354
  public static function register_gravityform_styles($styles)
355
  {
356
+ $styles[] = 'pdfextended-admin-styles';
357
+ $styles[] = 'pdfextended-font-styles';
358
+ $styles[] = 'pdfextended-font-styles-ie';
359
 
360
  return $styles;
361
  }
362
 
363
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
resources/css/admin-styles.css CHANGED
@@ -2,6 +2,15 @@
2
  margin-top: 20px;
3
  }
4
 
 
 
 
 
 
 
 
 
 
5
  #pdfextended-settings ol, #pdfextended-settings ul {
6
  margin-left: 25px;
7
  }
@@ -35,8 +44,25 @@ display: none;
35
  }
36
 
37
  .detailed_pdf span {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
38
  display: block;
39
- padding: 2px 0 2px 2px;
40
  }
41
 
42
  #support-request label {
@@ -44,20 +70,45 @@ padding: 2px 0 2px 2px;
44
  font-weight: bold;
45
  }
46
 
47
- #pdf-system-status {
48
- overflow: hidden;
 
49
  }
50
 
51
- #pdf-system-status p {
52
- clear: left;
 
 
53
  }
54
 
55
  #pdf-system-status span.details, #support-request span.details {
56
  font-size: 95%;
57
  color: #444;
58
  padding-top: 7px;
 
59
  display: block;
60
- clear: left;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
61
  }
62
 
63
  #support-request input, #support-request select {
@@ -78,12 +129,7 @@ padding: 5px 4px;
78
  }
79
 
80
  #support-request #support-request-button {
81
- padding: 0 8px;
82
- }
83
-
84
- #support-request .gfspinner {
85
- vertical-align: middle;
86
- margin-left: 5px;
87
  }
88
 
89
  #support-request textarea {
@@ -101,7 +147,7 @@ border: 1px solid #CCC;
101
  border: 1px solid #d10b0b;
102
  }
103
 
104
- #support-request .fa-times-circle {
105
  vertical-align: middle;
106
  }
107
 
@@ -125,18 +171,18 @@ margin-top: 20px;
125
  }
126
 
127
 
128
- #pdfextended-settings div.notice, .pdf-notice {
129
  margin: 5px 15px 2px;
130
  padding: 0 0.6em;
131
  }
132
 
133
- #pdfextended-settings div.notice, .pdf-notice {
134
  background-color: #FFFFFF;
135
  border-left: 4px solid #7AD03A;
136
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
137
  }
138
 
139
- .wrap #pdfextended-settings div.notice, .pdf-notice {
140
  margin: 5px 0 15px;
141
  padding: 1px 12px;
142
  }
@@ -145,85 +191,3 @@ div.notice p {
145
  margin: 0.5em 0;
146
  padding: 2px;
147
  }
148
-
149
- #pdf-system-status .fa-check-circle, #pdf-system-status .fa-exclamation-triangle, .fa-times-circle {
150
- font-size: 17px;
151
- margin-left: 5px;
152
- vertical-align: bottom;
153
- margin-bottom: -2px;
154
- }
155
-
156
- .fa-check-circle {
157
- color: #008000;
158
- }
159
-
160
- .fa-exclamation-triangle {
161
- color: #ff8a00;
162
- }
163
-
164
- .fa-times-circle {
165
- color: #d10b0b;
166
- }
167
-
168
- #pdf-system-status label, label.inline-label {
169
- float: left;
170
- width: 15em;
171
- }
172
-
173
- #pdf-system-status strong {
174
- display: inline-block;
175
- float: left;
176
- padding-left: 15px;
177
- line-height: 27px;
178
- }
179
-
180
- #initialisation label {
181
- line-height: 26px;
182
- }
183
-
184
-
185
- /* Add media queries */
186
- @media only screen and (min-width: 1000px) {
187
- #pdfextended-settings .leftcolumn {
188
- width: 65%;
189
- float: left;
190
- }
191
-
192
- #pdfextended-settings .rightcolumn {
193
- margin-left: 70%;
194
- }
195
-
196
- #pdf-system-status label, label.inline-label {
197
- float: none;
198
- width: auto;
199
- }
200
-
201
- #pdf-system-status strong {
202
- display: inline;
203
- float: none;
204
- vertical-align: middle;
205
- }
206
-
207
- [class^="icon-"], [class*=" icon-"] {
208
- vertical-align: middle;
209
- }
210
- }
211
-
212
-
213
- @media only screen and (min-width: 1250px) {
214
- #pdf-system-status label, label.inline-label {
215
- float: left;
216
- width: 15em;
217
- }
218
-
219
- #pdf-system-status strong {
220
- /*text-align: center;*/
221
- display: inline-block;
222
- float: left;
223
- }
224
-
225
- #support-request span.details.tabbed {
226
- margin-left: 16em;
227
- }
228
-
229
- }
2
  margin-top: 20px;
3
  }
4
 
5
+ #pdfextended-settings .leftcolumn {
6
+ width: 65%;
7
+ float: left;
8
+ }
9
+
10
+ #pdfextended-settings .rightcolumn {
11
+ margin-left: 70%;
12
+ }
13
+
14
  #pdfextended-settings ol, #pdfextended-settings ul {
15
  margin-left: 25px;
16
  }
44
  }
45
 
46
  .detailed_pdf span {
47
+ float: left;
48
+ width: 8em;
49
+ margin-right: 10px;
50
+
51
+ -ms-word-break: break-all;
52
+ word-break: break-all;
53
+
54
+ /* Non standard for webkit */
55
+ word-break: break-word;
56
+
57
+ -webkit-hyphens: auto;
58
+ -moz-hyphens: auto;
59
+ hyphens: auto;
60
+ }
61
+
62
+ .detailed_pdf:after {
63
+ clear: both;
64
  display: block;
65
+ content: '';
66
  }
67
 
68
  #support-request label {
70
  font-weight: bold;
71
  }
72
 
73
+ #pdf-system-status label, label.inline-label {
74
+ float: left;
75
+ width: 15em;
76
  }
77
 
78
+ #pdf-system-status strong {
79
+ /*text-align: center;*/
80
+ display: inline-block;
81
+ float: left;
82
  }
83
 
84
  #pdf-system-status span.details, #support-request span.details {
85
  font-size: 95%;
86
  color: #444;
87
  padding-top: 7px;
88
+ width: 95%;
89
  display: block;
90
+ }
91
+
92
+ #support-request span.details.tabbed {
93
+ margin-left: 16em;
94
+ }
95
+
96
+ #pdf-system-status .icon-ok-sign, #pdf-system-status .icon-warning-sign, .icon-remove-sign {
97
+ font-size: 14px;
98
+ margin-left: 5px;
99
+ }
100
+
101
+ .icon-ok-sign {
102
+ color: #008000;
103
+ font-size: 15px;
104
+ }
105
+
106
+ .icon-warning-sign {
107
+ color: #ff8a00;
108
+ }
109
+
110
+ .icon-remove-sign {
111
+ color: #d10b0b;
112
  }
113
 
114
  #support-request input, #support-request select {
129
  }
130
 
131
  #support-request #support-request-button {
132
+ padding: 5px 8px;
 
 
 
 
 
133
  }
134
 
135
  #support-request textarea {
147
  border: 1px solid #d10b0b;
148
  }
149
 
150
+ #support-request .icon-remove-sign {
151
  vertical-align: middle;
152
  }
153
 
171
  }
172
 
173
 
174
+ #pdfextended-settings div.notice {
175
  margin: 5px 15px 2px;
176
  padding: 0 0.6em;
177
  }
178
 
179
+ #pdfextended-settings div.notice {
180
  background-color: #FFFFFF;
181
  border-left: 4px solid #7AD03A;
182
  box-shadow: 0 1px 1px 0 rgba(0, 0, 0, 0.1);
183
  }
184
 
185
+ .wrap #pdfextended-settings div.notice {
186
  margin: 5px 0 15px;
187
  padding: 1px 12px;
188
  }
191
  margin: 0.5em 0;
192
  padding: 2px;
193
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
resources/css/admin-styles.min.css CHANGED
@@ -1 +1 @@
1
- #pdfextended-settings{margin-top:20px}#pdfextended-settings ol,#pdfextended-settings ul{margin-left:25px}#pdfextended-settings ul>li{list-style:disc}#pdfextended-settings ol>li{list-style:decimal}#pdfextended-settings ol li>ul,#pdfextended-settings ul li>ul{margin:5px 0 0 20px}#pdfextended-settings ul ul>li{list-style:circle}#pdfextended-settings ol ul>li{list-style:disc}#gform_tab_group #icon-gf_edit_forms{display:none}.detailed_pdf{clear:left;margin-bottom:3px}.detailed_pdf span{display:block;padding:2px 0 2px 2px}#support-request label{display:block;font-weight:700}#pdf-system-status{overflow:hidden}#pdf-system-status p{clear:left}#pdf-system-status span.details,#support-request span.details{font-size:95%;color:#444;padding-top:7px;display:block;clear:left}#support-request input,#support-request select{width:20em}#support-request input[type=submit]{width:auto}#support-request textarea{width:65%;height:150px}#support-request input,#support-request textarea{padding:5px 4px}#support-request #support-request-button{padding:0 8px}#support-request .gfspinner{vertical-align:middle;margin-left:5px}#support-request textarea{border:1px solid #999;color:#444}#support-request :disabled,#support-request textarea:disabled{color:#CCC;border:1px solid #CCC}#support-request input.error,#support-request select.error,#support-request textarea.error{color:#d10b0b;border:1px solid #d10b0b}#support-request .fa-times-circle{vertical-align:middle}.icon-spinner{font-size:18px;margin-left:5px}#support-request span.msg{margin-left:5px;color:green}#support-request span.error{margin-left:5px;color:#d10b0b}#pdfextended-settings #changelog h3{margin-top:20px}#pdfextended-settings div.notice,.pdf-notice{margin:5px 15px 2px;padding:0 .6em;background-color:#FFF;border-left:4px solid #7AD03A;box-shadow:0 1px 1px 0 rgba(0,0,0,.1)}.pdf-notice,.wrap #pdfextended-settings div.notice{margin:5px 0 15px;padding:1px 12px}div.notice p{margin:.5em 0;padding:2px}#pdf-system-status .fa-check-circle,#pdf-system-status .fa-exclamation-triangle,.fa-times-circle{font-size:17px;margin-left:5px;vertical-align:bottom;margin-bottom:-2px}.fa-check-circle{color:green}.fa-exclamation-triangle{color:#ff8a00}.fa-times-circle{color:#d10b0b}#pdf-system-status label,label.inline-label{float:left;width:15em}#pdf-system-status strong{display:inline-block;float:left;padding-left:15px;line-height:27px}#initialisation label{line-height:26px}@media only screen and (min-width:1000px){#pdfextended-settings .leftcolumn{width:65%;float:left}#pdfextended-settings .rightcolumn{margin-left:70%}#pdf-system-status label,label.inline-label{float:none;width:auto}#pdf-system-status strong{display:inline;float:none;vertical-align:middle}[class*=" icon-"],[class^=icon-]{vertical-align:middle}}@media only screen and (min-width:1250px){#pdf-system-status label,label.inline-label{float:left;width:15em}#pdf-system-status strong{display:inline-block;float:left}#support-request span.details.tabbed{margin-left:16em}}
1
+ #pdfextended-settings{margin-top:20px;}#pdfextended-settings .leftcolumn{width:65%;float:left;}#pdfextended-settings .rightcolumn{margin-left:70%;}#pdfextended-settings ol,#pdfextended-settings ul{margin-left:25px;}#pdfextended-settings ul > li{list-style:disc;}#pdfextended-settings ol > li{list-style:decimal;}#pdfextended-settings ol li > ul,#pdfextended-settings ul li > ul{margin:5px 0 0 20px;}#pdfextended-settings ul ul > li{list-style:circle;}#pdfextended-settings ol ul > li{list-style:disc;}#gform_tab_group #icon-gf_edit_forms{display:none;}.detailed_pdf{clear:left;margin-bottom:3px;}.detailed_pdf span{float:left;width:8em;margin-right:10px;-ms-word-break:break-all;word-break:break-all;word-break:break-word;-webkit-hyphens:auto;-moz-hyphens:auto;hyphens:auto;}.detailed_pdf:after{clear:both;display:block;content:'';}#support-request label{display:block;font-weight:bold;}#pdf-system-status label,label.inline-label{float:left;width:15em;}#pdf-system-status strong{display:inline-block;float:left;}#pdf-system-status span.details,#support-request span.details{font-size:95%;color:#444;padding-top:7px;width:95%;display:block;}#support-request span.details.tabbed{margin-left:16em;}#pdf-system-status .icon-ok-sign,#pdf-system-status .icon-warning-sign,.icon-remove-sign{font-size:14px;margin-left:5px;}.icon-ok-sign{color:#008000;font-size:15px;}.icon-warning-sign{color:#ff8a00;}.icon-remove-sign{color:#d10b0b;}#support-request input,#support-request select{width:20em;}#support-request input[type="submit"]{width:auto;}#support-request textarea{width:65%;height:150px;}#support-request input,#support-request textarea{padding:5px 4px;}#support-request #support-request-button{padding:5px 8px;}#support-request textarea{border:1px solid #999;color:#444;}#support-request:disabled,#support-request textarea:disabled{color:#CCC;border:1px solid #CCC;}#support-request input.error,#support-request textarea.error,#support-request select.error{color:#d10b0b;border:1px solid #d10b0b;}#support-request .icon-remove-sign{vertical-align:middle;}.icon-spinner{font-size:18px;margin-left:5px;}#support-request span.msg{margin-left:5px;color:#008000;}#support-request span.error{margin-left:5px;color:#d10b0b;}#pdfextended-settings #changelog h3{margin-top:20px;}#pdfextended-settings div.notice{margin:5px 15px 2px;padding:0 0.6em;}#pdfextended-settings div.notice{background-color:#FFFFFF;border-left:4px solid #7AD03A;box-shadow:0 1px 1px 0 rgba(0,0,0,0.1);}.wrap #pdfextended-settings div.notice{margin:5px 0 15px;padding:1px 12px;}div.notice p{margin:0.5em 0;padding:2px;}
resources/css/font-awesome-ie7.min.css ADDED
@@ -0,0 +1,384 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ .icon-large{font-size:1.3333333333333333em;margin-top:-4px;padding-top:3px;margin-bottom:-4px;padding-bottom:3px;vertical-align:middle;}
2
+ .nav [class^="icon-"],.nav [class*=" icon-"]{vertical-align:inherit;margin-top:-4px;padding-top:3px;margin-bottom:-4px;padding-bottom:3px;}.nav [class^="icon-"].icon-large,.nav [class*=" icon-"].icon-large{vertical-align:-25%;}
3
+ .nav-pills [class^="icon-"].icon-large,.nav-tabs [class^="icon-"].icon-large,.nav-pills [class*=" icon-"].icon-large,.nav-tabs [class*=" icon-"].icon-large{line-height:.75em;margin-top:-7px;padding-top:5px;margin-bottom:-5px;padding-bottom:4px;}
4
+ .btn [class^="icon-"].pull-left,.btn [class*=" icon-"].pull-left,.btn [class^="icon-"].pull-right,.btn [class*=" icon-"].pull-right{vertical-align:inherit;}
5
+ .btn [class^="icon-"].icon-large,.btn [class*=" icon-"].icon-large{margin-top:-0.5em;}
6
+ a [class^="icon-"],a [class*=" icon-"]{cursor:pointer;}
7
+ .icon-glass{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf000;');}
8
+ .icon-music{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf001;');}
9
+ .icon-search{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf002;');}
10
+ .icon-envelope-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf003;');}
11
+ .icon-heart{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf004;');}
12
+ .icon-star{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf005;');}
13
+ .icon-star-empty{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf006;');}
14
+ .icon-user{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf007;');}
15
+ .icon-film{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf008;');}
16
+ .icon-th-large{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf009;');}
17
+ .icon-th{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf00a;');}
18
+ .icon-th-list{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf00b;');}
19
+ .icon-ok{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf00c;');}
20
+ .icon-remove{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf00d;');}
21
+ .icon-zoom-in{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf00e;');}
22
+ .icon-zoom-out{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf010;');}
23
+ .icon-off{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf011;');}
24
+ .icon-power-off{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf011;');}
25
+ .icon-signal{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf012;');}
26
+ .icon-cog{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf013;');}
27
+ .icon-gear{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf013;');}
28
+ .icon-trash{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf014;');}
29
+ .icon-home{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf015;');}
30
+ .icon-file-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf016;');}
31
+ .icon-time{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf017;');}
32
+ .icon-road{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf018;');}
33
+ .icon-download-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf019;');}
34
+ .icon-download{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf01a;');}
35
+ .icon-upload{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf01b;');}
36
+ .icon-inbox{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf01c;');}
37
+ .icon-play-circle{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf01d;');}
38
+ .icon-repeat{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf01e;');}
39
+ .icon-rotate-right{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf01e;');}
40
+ .icon-refresh{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf021;');}
41
+ .icon-list-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf022;');}
42
+ .icon-lock{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf023;');}
43
+ .icon-flag{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf024;');}
44
+ .icon-headphones{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf025;');}
45
+ .icon-volume-off{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf026;');}
46
+ .icon-volume-down{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf027;');}
47
+ .icon-volume-up{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf028;');}
48
+ .icon-qrcode{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf029;');}
49
+ .icon-barcode{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf02a;');}
50
+ .icon-tag{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf02b;');}
51
+ .icon-tags{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf02c;');}
52
+ .icon-book{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf02d;');}
53
+ .icon-bookmark{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf02e;');}
54
+ .icon-print{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf02f;');}
55
+ .icon-camera{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf030;');}
56
+ .icon-font{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf031;');}
57
+ .icon-bold{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf032;');}
58
+ .icon-italic{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf033;');}
59
+ .icon-text-height{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf034;');}
60
+ .icon-text-width{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf035;');}
61
+ .icon-align-left{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf036;');}
62
+ .icon-align-center{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf037;');}
63
+ .icon-align-right{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf038;');}
64
+ .icon-align-justify{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf039;');}
65
+ .icon-list{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf03a;');}
66
+ .icon-indent-left{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf03b;');}
67
+ .icon-indent-right{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf03c;');}
68
+ .icon-facetime-video{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf03d;');}
69
+ .icon-picture{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf03e;');}
70
+ .icon-pencil{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf040;');}
71
+ .icon-map-marker{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf041;');}
72
+ .icon-adjust{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf042;');}
73
+ .icon-tint{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf043;');}
74
+ .icon-edit{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf044;');}
75
+ .icon-share{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf045;');}
76
+ .icon-check{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf046;');}
77
+ .icon-move{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf047;');}
78
+ .icon-step-backward{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf048;');}
79
+ .icon-fast-backward{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf049;');}
80
+ .icon-backward{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf04a;');}
81
+ .icon-play{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf04b;');}
82
+ .icon-pause{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf04c;');}
83
+ .icon-stop{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf04d;');}
84
+ .icon-forward{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf04e;');}
85
+ .icon-fast-forward{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf050;');}
86
+ .icon-step-forward{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf051;');}
87
+ .icon-eject{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf052;');}
88
+ .icon-chevron-left{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf053;');}
89
+ .icon-chevron-right{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf054;');}
90
+ .icon-plus-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf055;');}
91
+ .icon-minus-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf056;');}
92
+ .icon-remove-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf057;');}
93
+ .icon-ok-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf058;');}
94
+ .icon-question-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf059;');}
95
+ .icon-info-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf05a;');}
96
+ .icon-screenshot{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf05b;');}
97
+ .icon-remove-circle{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf05c;');}
98
+ .icon-ok-circle{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf05d;');}
99
+ .icon-ban-circle{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf05e;');}
100
+ .icon-arrow-left{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf060;');}
101
+ .icon-arrow-right{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf061;');}
102
+ .icon-arrow-up{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf062;');}
103
+ .icon-arrow-down{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf063;');}
104
+ .icon-share-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf064;');}
105
+ .icon-mail-forward{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf064;');}
106
+ .icon-resize-full{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf065;');}
107
+ .icon-resize-small{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf066;');}
108
+ .icon-plus{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf067;');}
109
+ .icon-minus{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf068;');}
110
+ .icon-asterisk{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf069;');}
111
+ .icon-exclamation-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf06a;');}
112
+ .icon-gift{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf06b;');}
113
+ .icon-leaf{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf06c;');}
114
+ .icon-fire{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf06d;');}
115
+ .icon-eye-open{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf06e;');}
116
+ .icon-eye-close{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf070;');}
117
+ .icon-warning-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf071;');}
118
+ .icon-plane{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf072;');}
119
+ .icon-calendar{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf073;');}
120
+ .icon-random{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf074;');}
121
+ .icon-comment{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf075;');}
122
+ .icon-magnet{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf076;');}
123
+ .icon-chevron-up{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf077;');}
124
+ .icon-chevron-down{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf078;');}
125
+ .icon-retweet{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf079;');}
126
+ .icon-shopping-cart{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf07a;');}
127
+ .icon-folder-close{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf07b;');}
128
+ .icon-folder-open{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf07c;');}
129
+ .icon-resize-vertical{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf07d;');}
130
+ .icon-resize-horizontal{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf07e;');}
131
+ .icon-bar-chart{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf080;');}
132
+ .icon-twitter-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf081;');}
133
+ .icon-facebook-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf082;');}
134
+ .icon-camera-retro{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf083;');}
135
+ .icon-key{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf084;');}
136
+ .icon-cogs{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf085;');}
137
+ .icon-gears{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf085;');}
138
+ .icon-comments{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf086;');}
139
+ .icon-thumbs-up-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf087;');}
140
+ .icon-thumbs-down-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf088;');}
141
+ .icon-star-half{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf089;');}
142
+ .icon-heart-empty{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf08a;');}
143
+ .icon-signout{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf08b;');}
144
+ .icon-linkedin-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf08c;');}
145
+ .icon-pushpin{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf08d;');}
146
+ .icon-external-link{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf08e;');}
147
+ .icon-signin{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf090;');}
148
+ .icon-trophy{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf091;');}
149
+ .icon-github-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf092;');}
150
+ .icon-upload-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf093;');}
151
+ .icon-lemon{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf094;');}
152
+ .icon-phone{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf095;');}
153
+ .icon-check-empty{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf096;');}
154
+ .icon-unchecked{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf096;');}
155
+ .icon-bookmark-empty{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf097;');}
156
+ .icon-phone-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf098;');}
157
+ .icon-twitter{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf099;');}
158
+ .icon-facebook{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf09a;');}
159
+ .icon-github{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf09b;');}
160
+ .icon-unlock{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf09c;');}
161
+ .icon-credit-card{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf09d;');}
162
+ .icon-rss{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf09e;');}
163
+ .icon-hdd{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0a0;');}
164
+ .icon-bullhorn{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0a1;');}
165
+ .icon-bell{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0a2;');}
166
+ .icon-certificate{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0a3;');}
167
+ .icon-hand-right{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0a4;');}
168
+ .icon-hand-left{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0a5;');}
169
+ .icon-hand-up{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0a6;');}
170
+ .icon-hand-down{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0a7;');}
171
+ .icon-circle-arrow-left{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0a8;');}
172
+ .icon-circle-arrow-right{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0a9;');}
173
+ .icon-circle-arrow-up{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0aa;');}
174
+ .icon-circle-arrow-down{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0ab;');}
175
+ .icon-globe{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0ac;');}
176
+ .icon-wrench{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0ad;');}
177
+ .icon-tasks{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0ae;');}
178
+ .icon-filter{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0b0;');}
179
+ .icon-briefcase{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0b1;');}
180
+ .icon-fullscreen{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0b2;');}
181
+ .icon-group{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0c0;');}
182
+ .icon-link{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0c1;');}
183
+ .icon-cloud{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0c2;');}
184
+ .icon-beaker{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0c3;');}
185
+ .icon-cut{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0c4;');}
186
+ .icon-copy{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0c5;');}
187
+ .icon-paper-clip{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0c6;');}
188
+ .icon-paperclip{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0c6;');}
189
+ .icon-save{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0c7;');}
190
+ .icon-sign-blank{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0c8;');}
191
+ .icon-reorder{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0c9;');}
192
+ .icon-list-ul{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0ca;');}
193
+ .icon-list-ol{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0cb;');}
194
+ .icon-strikethrough{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0cc;');}
195
+ .icon-underline{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0cd;');}
196
+ .icon-table{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0ce;');}
197
+ .icon-magic{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0d0;');}
198
+ .icon-truck{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0d1;');}
199
+ .icon-pinterest{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0d2;');}
200
+ .icon-pinterest-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0d3;');}
201
+ .icon-google-plus-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0d4;');}
202
+ .icon-google-plus{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0d5;');}
203
+ .icon-money{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0d6;');}
204
+ .icon-caret-down{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0d7;');}
205
+ .icon-caret-up{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0d8;');}
206
+ .icon-caret-left{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0d9;');}
207
+ .icon-caret-right{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0da;');}
208
+ .icon-columns{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0db;');}
209
+ .icon-sort{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0dc;');}
210
+ .icon-sort-down{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0dd;');}
211
+ .icon-sort-up{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0de;');}
212
+ .icon-envelope{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0e0;');}
213
+ .icon-linkedin{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0e1;');}
214
+ .icon-undo{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0e2;');}
215
+ .icon-rotate-left{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0e2;');}
216
+ .icon-legal{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0e3;');}
217
+ .icon-dashboard{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0e4;');}
218
+ .icon-comment-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0e5;');}
219
+ .icon-comments-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0e6;');}
220
+ .icon-bolt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0e7;');}
221
+ .icon-sitemap{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0e8;');}
222
+ .icon-umbrella{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0e9;');}
223
+ .icon-paste{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0ea;');}
224
+ .icon-lightbulb{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0eb;');}
225
+ .icon-exchange{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0ec;');}
226
+ .icon-cloud-download{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0ed;');}
227
+ .icon-cloud-upload{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0ee;');}
228
+ .icon-user-md{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0f0;');}
229
+ .icon-stethoscope{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0f1;');}
230
+ .icon-suitcase{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0f2;');}
231
+ .icon-bell-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0f3;');}
232
+ .icon-coffee{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0f4;');}
233
+ .icon-food{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0f5;');}
234
+ .icon-file-text-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0f6;');}
235
+ .icon-building{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0f7;');}
236
+ .icon-hospital{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0f8;');}
237
+ .icon-ambulance{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0f9;');}
238
+ .icon-medkit{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0fa;');}
239
+ .icon-fighter-jet{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0fb;');}
240
+ .icon-beer{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0fc;');}
241
+ .icon-h-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0fd;');}
242
+ .icon-plus-sign-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf0fe;');}
243
+ .icon-double-angle-left{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf100;');}
244
+ .icon-double-angle-right{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf101;');}
245
+ .icon-double-angle-up{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf102;');}
246
+ .icon-double-angle-down{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf103;');}
247
+ .icon-angle-left{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf104;');}
248
+ .icon-angle-right{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf105;');}
249
+ .icon-angle-up{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf106;');}
250
+ .icon-angle-down{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf107;');}
251
+ .icon-desktop{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf108;');}
252
+ .icon-laptop{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf109;');}
253
+ .icon-tablet{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf10a;');}
254
+ .icon-mobile-phone{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf10b;');}
255
+ .icon-circle-blank{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf10c;');}
256
+ .icon-quote-left{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf10d;');}
257
+ .icon-quote-right{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf10e;');}
258
+ .icon-spinner{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf110;');}
259
+ .icon-circle{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf111;');}
260
+ .icon-reply{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf112;');}
261
+ .icon-mail-reply{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf112;');}
262
+ .icon-github-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf113;');}
263
+ .icon-folder-close-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf114;');}
264
+ .icon-folder-open-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf115;');}
265
+ .icon-expand-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf116;');}
266
+ .icon-collapse-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf117;');}
267
+ .icon-smile{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf118;');}
268
+ .icon-frown{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf119;');}
269
+ .icon-meh{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf11a;');}
270
+ .icon-gamepad{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf11b;');}
271
+ .icon-keyboard{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf11c;');}
272
+ .icon-flag-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf11d;');}
273
+ .icon-flag-checkered{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf11e;');}
274
+ .icon-terminal{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf120;');}
275
+ .icon-code{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf121;');}
276
+ .icon-reply-all{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf122;');}
277
+ .icon-mail-reply-all{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf122;');}
278
+ .icon-star-half-empty{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf123;');}
279
+ .icon-star-half-full{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf123;');}
280
+ .icon-location-arrow{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf124;');}
281
+ .icon-crop{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf125;');}
282
+ .icon-code-fork{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf126;');}
283
+ .icon-unlink{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf127;');}
284
+ .icon-question{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf128;');}
285
+ .icon-info{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf129;');}
286
+ .icon-exclamation{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf12a;');}
287
+ .icon-superscript{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf12b;');}
288
+ .icon-subscript{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf12c;');}
289
+ .icon-eraser{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf12d;');}
290
+ .icon-puzzle-piece{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf12e;');}
291
+ .icon-microphone{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf130;');}
292
+ .icon-microphone-off{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf131;');}
293
+ .icon-shield{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf132;');}
294
+ .icon-calendar-empty{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf133;');}
295
+ .icon-fire-extinguisher{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf134;');}
296
+ .icon-rocket{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf135;');}
297
+ .icon-maxcdn{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf136;');}
298
+ .icon-chevron-sign-left{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf137;');}
299
+ .icon-chevron-sign-right{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf138;');}
300
+ .icon-chevron-sign-up{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf139;');}
301
+ .icon-chevron-sign-down{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf13a;');}
302
+ .icon-html5{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf13b;');}
303
+ .icon-css3{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf13c;');}
304
+ .icon-anchor{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf13d;');}
305
+ .icon-unlock-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf13e;');}
306
+ .icon-bullseye{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf140;');}
307
+ .icon-ellipsis-horizontal{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf141;');}
308
+ .icon-ellipsis-vertical{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf142;');}
309
+ .icon-rss-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf143;');}
310
+ .icon-play-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf144;');}
311
+ .icon-ticket{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf145;');}
312
+ .icon-minus-sign-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf146;');}
313
+ .icon-check-minus{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf147;');}
314
+ .icon-level-up{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf148;');}
315
+ .icon-level-down{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf149;');}
316
+ .icon-check-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf14a;');}
317
+ .icon-edit-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf14b;');}
318
+ .icon-external-link-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf14c;');}
319
+ .icon-share-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf14d;');}
320
+ .icon-compass{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf14e;');}
321
+ .icon-collapse{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf150;');}
322
+ .icon-collapse-top{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf151;');}
323
+ .icon-expand{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf152;');}
324
+ .icon-eur{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf153;');}
325
+ .icon-euro{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf153;');}
326
+ .icon-gbp{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf154;');}
327
+ .icon-usd{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf155;');}
328
+ .icon-dollar{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf155;');}
329
+ .icon-inr{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf156;');}
330
+ .icon-rupee{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf156;');}
331
+ .icon-jpy{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf157;');}
332
+ .icon-yen{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf157;');}
333
+ .icon-cny{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf158;');}
334
+ .icon-renminbi{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf158;');}
335
+ .icon-krw{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf159;');}
336
+ .icon-won{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf159;');}
337
+ .icon-btc{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf15a;');}
338
+ .icon-bitcoin{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf15a;');}
339
+ .icon-file{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf15b;');}
340
+ .icon-file-text{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf15c;');}
341
+ .icon-sort-by-alphabet{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf15d;');}
342
+ .icon-sort-by-alphabet-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf15e;');}
343
+ .icon-sort-by-attributes{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf160;');}
344
+ .icon-sort-by-attributes-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf161;');}
345
+ .icon-sort-by-order{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf162;');}
346
+ .icon-sort-by-order-alt{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf163;');}
347
+ .icon-thumbs-up{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf164;');}
348
+ .icon-thumbs-down{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf165;');}
349
+ .icon-youtube-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf166;');}
350
+ .icon-youtube{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf167;');}
351
+ .icon-xing{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf168;');}
352
+ .icon-xing-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf169;');}
353
+ .icon-youtube-play{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf16a;');}
354
+ .icon-dropbox{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf16b;');}
355
+ .icon-stackexchange{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf16c;');}
356
+ .icon-instagram{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf16d;');}
357
+ .icon-flickr{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf16e;');}
358
+ .icon-adn{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf170;');}
359
+ .icon-bitbucket{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf171;');}
360
+ .icon-bitbucket-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf172;');}
361
+ .icon-tumblr{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf173;');}
362
+ .icon-tumblr-sign{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf174;');}
363
+ .icon-long-arrow-down{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf175;');}
364
+ .icon-long-arrow-up{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf176;');}
365
+ .icon-long-arrow-left{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf177;');}
366
+ .icon-long-arrow-right{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf178;');}
367
+ .icon-apple{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf179;');}
368
+ .icon-windows{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf17a;');}
369
+ .icon-android{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf17b;');}
370
+ .icon-linux{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf17c;');}
371
+ .icon-dribbble{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf17d;');}
372
+ .icon-skype{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf17e;');}
373
+ .icon-foursquare{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf180;');}
374
+ .icon-trello{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf181;');}
375
+ .icon-female{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf182;');}
376
+ .icon-male{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf183;');}
377
+ .icon-gittip{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf184;');}
378
+ .icon-sun{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf185;');}
379
+ .icon-moon{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf186;');}
380
+ .icon-archive{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf187;');}
381
+ .icon-bug{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf188;');}
382
+ .icon-vk{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf189;');}
383
+ .icon-weibo{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf18a;');}
384
+ .icon-renren{*zoom:expression( this.runtimeStyle['zoom'] = '1', this.innerHTML = '&#xf18b;');}
resources/css/font-awesome.min.css ADDED
@@ -0,0 +1,403 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ @font-face{font-family:'FontAwesome';src:url('../font/fontawesome-webfont.eot?v=3.2.1');src:url('../font/fontawesome-webfont.eot?#iefix&v=3.2.1') format('embedded-opentype'),url('../font/fontawesome-webfont.woff?v=3.2.1') format('woff'),url('../font/fontawesome-webfont.ttf?v=3.2.1') format('truetype'),url('../font/fontawesome-webfont.svg#fontawesomeregular?v=3.2.1') format('svg');font-weight:normal;font-style:normal;}[class^="icon-"],[class*=" icon-"]{font-family:FontAwesome;font-weight:normal;font-style:normal;text-decoration:inherit;-webkit-font-smoothing:antialiased;*margin-right:.3em;}
2
+ [class^="icon-"]:before,[class*=" icon-"]:before{text-decoration:inherit;display:inline-block;speak:none;}
3
+ .icon-large:before{vertical-align:-10%;font-size:1.3333333333333333em;}
4
+ a [class^="icon-"],a [class*=" icon-"]{display:inline;}
5
+ [class^="icon-"].icon-fixed-width,[class*=" icon-"].icon-fixed-width{display:inline-block;width:1.1428571428571428em;text-align:right;padding-right:0.2857142857142857em;}[class^="icon-"].icon-fixed-width.icon-large,[class*=" icon-"].icon-fixed-width.icon-large{width:1.4285714285714286em;}
6
+ .icons-ul{margin-left:2.142857142857143em;list-style-type:none;}.icons-ul>li{position:relative;}
7
+ .icons-ul .icon-li{position:absolute;left:-2.142857142857143em;width:2.142857142857143em;text-align:center;line-height:inherit;}
8
+ [class^="icon-"].hide,[class*=" icon-"].hide{display:none;}
9
+ .icon-muted{color:#eeeeee;}
10
+ .icon-light{color:#ffffff;}
11
+ .icon-dark{color:#333333;}
12
+ .icon-border{border:solid 1px #eeeeee;padding:.2em .25em .15em;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;}
13
+ .icon-2x{font-size:2em;}.icon-2x.icon-border{border-width:2px;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;}
14
+ .icon-3x{font-size:3em;}.icon-3x.icon-border{border-width:3px;-webkit-border-radius:5px;-moz-border-radius:5px;border-radius:5px;}
15
+ .icon-4x{font-size:4em;}.icon-4x.icon-border{border-width:4px;-webkit-border-radius:6px;-moz-border-radius:6px;border-radius:6px;}
16
+ .icon-5x{font-size:5em;}.icon-5x.icon-border{border-width:5px;-webkit-border-radius:7px;-moz-border-radius:7px;border-radius:7px;}
17
+ .pull-right{float:right;}
18
+ .pull-left{float:left;}
19
+ [class^="icon-"].pull-left,[class*=" icon-"].pull-left{margin-right:.3em;}
20
+ [class^="icon-"].pull-right,[class*=" icon-"].pull-right{margin-left:.3em;}
21
+ [class^="icon-"],[class*=" icon-"]{display:inline;width:auto;height:auto;line-height:normal;vertical-align:baseline;background-image:none;background-position:0% 0%;background-repeat:repeat;margin-top:0;}
22
+ .icon-white,.nav-pills>.active>a>[class^="icon-"],.nav-pills>.active>a>[class*=" icon-"],.nav-list>.active>a>[class^="icon-"],.nav-list>.active>a>[class*=" icon-"],.navbar-inverse .nav>.active>a>[class^="icon-"],.navbar-inverse .nav>.active>a>[class*=" icon-"],.dropdown-menu>li>a:hover>[class^="icon-"],.dropdown-menu>li>a:hover>[class*=" icon-"],.dropdown-menu>.active>a>[class^="icon-"],.dropdown-menu>.active>a>[class*=" icon-"],.dropdown-submenu:hover>a>[class^="icon-"],.dropdown-submenu:hover>a>[class*=" icon-"]{background-image:none;}
23
+ .btn [class^="icon-"].icon-large,.nav [class^="icon-"].icon-large,.btn [class*=" icon-"].icon-large,.nav [class*=" icon-"].icon-large{line-height:.9em;}
24
+ .btn [class^="icon-"].icon-spin,.nav [class^="icon-"].icon-spin,.btn [class*=" icon-"].icon-spin,.nav [class*=" icon-"].icon-spin{display:inline-block;}
25
+ .nav-tabs [class^="icon-"],.nav-pills [class^="icon-"],.nav-tabs [class*=" icon-"],.nav-pills [class*=" icon-"],.nav-tabs [class^="icon-"].icon-large,.nav-pills [class^="icon-"].icon-large,.nav-tabs [class*=" icon-"].icon-large,.nav-pills [class*=" icon-"].icon-large{line-height:.9em;}
26
+ .btn [class^="icon-"].pull-left.icon-2x,.btn [class*=" icon-"].pull-left.icon-2x,.btn [class^="icon-"].pull-right.icon-2x,.btn [class*=" icon-"].pull-right.icon-2x{margin-top:.18em;}
27
+ .btn [class^="icon-"].icon-spin.icon-large,.btn [class*=" icon-"].icon-spin.icon-large{line-height:.8em;}
28
+ .btn.btn-small [class^="icon-"].pull-left.icon-2x,.btn.btn-small [class*=" icon-"].pull-left.icon-2x,.btn.btn-small [class^="icon-"].pull-right.icon-2x,.btn.btn-small [class*=" icon-"].pull-right.icon-2x{margin-top:.25em;}
29
+ .btn.btn-large [class^="icon-"],.btn.btn-large [class*=" icon-"]{margin-top:0;}.btn.btn-large [class^="icon-"].pull-left.icon-2x,.btn.btn-large [class*=" icon-"].pull-left.icon-2x,.btn.btn-large [class^="icon-"].pull-right.icon-2x,.btn.btn-large [class*=" icon-"].pull-right.icon-2x{margin-top:.05em;}
30
+ .btn.btn-large [class^="icon-"].pull-left.icon-2x,.btn.btn-large [class*=" icon-"].pull-left.icon-2x{margin-right:.2em;}
31
+ .btn.btn-large [class^="icon-"].pull-right.icon-2x,.btn.btn-large [class*=" icon-"].pull-right.icon-2x{margin-left:.2em;}
32
+ .nav-list [class^="icon-"],.nav-list [class*=" icon-"]{line-height:inherit;}
33
+ .icon-stack{position:relative;display:inline-block;width:2em;height:2em;line-height:2em;vertical-align:-35%;}.icon-stack [class^="icon-"],.icon-stack [class*=" icon-"]{display:block;text-align:center;position:absolute;width:100%;height:100%;font-size:1em;line-height:inherit;*line-height:2em;}
34
+ .icon-stack .icon-stack-base{font-size:2em;*line-height:1em;}
35
+ .icon-spin{display:inline-block;-moz-animation:spin 2s infinite linear;-o-animation:spin 2s infinite linear;-webkit-animation:spin 2s infinite linear;animation:spin 2s infinite linear;}
36
+ a .icon-stack,a .icon-spin{display:inline-block;text-decoration:none;}
37
+ @-moz-keyframes spin{0%{-moz-transform:rotate(0deg);} 100%{-moz-transform:rotate(359deg);}}@-webkit-keyframes spin{0%{-webkit-transform:rotate(0deg);} 100%{-webkit-transform:rotate(359deg);}}@-o-keyframes spin{0%{-o-transform:rotate(0deg);} 100%{-o-transform:rotate(359deg);}}@-ms-keyframes spin{0%{-ms-transform:rotate(0deg);} 100%{-ms-transform:rotate(359deg);}}@keyframes spin{0%{transform:rotate(0deg);} 100%{transform:rotate(359deg);}}.icon-rotate-90:before{-webkit-transform:rotate(90deg);-moz-transform:rotate(90deg);-ms-transform:rotate(90deg);-o-transform:rotate(90deg);transform:rotate(90deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=1);}
38
+ .icon-rotate-180:before{-webkit-transform:rotate(180deg);-moz-transform:rotate(180deg);-ms-transform:rotate(180deg);-o-transform:rotate(180deg);transform:rotate(180deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=2);}
39
+ .icon-rotate-270:before{-webkit-transform:rotate(270deg);-moz-transform:rotate(270deg);-ms-transform:rotate(270deg);-o-transform:rotate(270deg);transform:rotate(270deg);filter:progid:DXImageTransform.Microsoft.BasicImage(rotation=3);}
40
+ .icon-flip-horizontal:before{-webkit-transform:scale(-1, 1);-moz-transform:scale(-1, 1);-ms-transform:scale(-1, 1);-o-transform:scale(-1, 1);transform:scale(-1, 1);}
41
+ .icon-flip-vertical:before{-webkit-transform:scale(1, -1);-moz-transform:scale(1, -1);-ms-transform:scale(1, -1);-o-transform:scale(1, -1);transform:scale(1, -1);}
42
+ a .icon-rotate-90:before,a .icon-rotate-180:before,a .icon-rotate-270:before,a .icon-flip-horizontal:before,a .icon-flip-vertical:before{display:inline-block;}
43
+ .icon-glass:before{content:"\f000";}
44
+ .icon-music:before{content:"\f001";}
45
+ .icon-search:before{content:"\f002";}
46
+ .icon-envelope-alt:before{content:"\f003";}
47
+ .icon-heart:before{content:"\f004";}
48
+ .icon-star:before{content:"\f005";}
49
+ .icon-star-empty:before{content:"\f006";}
50
+ .icon-user:before{content:"\f007";}
51
+ .icon-film:before{content:"\f008";}
52
+ .icon-th-large:before{content:"\f009";}
53
+ .icon-th:before{content:"\f00a";}
54
+ .icon-th-list:before{content:"\f00b";}
55
+ .icon-ok:before{content:"\f00c";}
56
+ .icon-remove:before{content:"\f00d";}
57
+ .icon-zoom-in:before{content:"\f00e";}
58
+ .icon-zoom-out:before{content:"\f010";}
59
+ .icon-power-off:before,.icon-off:before{content:"\f011";}
60
+ .icon-signal:before{content:"\f012";}
61
+ .icon-gear:before,.icon-cog:before{content:"\f013";}
62
+ .icon-trash:before{content:"\f014";}
63
+ .icon-home:before{content:"\f015";}
64
+ .icon-file-alt:before{content:"\f016";}
65
+ .icon-time:before{content:"\f017";}
66
+ .icon-road:before{content:"\f018";}
67
+ .icon-download-alt:before{content:"\f019";}
68
+ .icon-download:before{content:"\f01a";}
69
+ .icon-upload:before{content:"\f01b";}
70
+ .icon-inbox:before{content:"\f01c";}
71
+ .icon-play-circle:before{content:"\f01d";}
72
+ .icon-rotate-right:before,.icon-repeat:before{content:"\f01e";}
73
+ .icon-refresh:before{content:"\f021";}
74
+ .icon-list-alt:before{content:"\f022";}
75
+ .icon-lock:before{content:"\f023";}
76
+ .icon-flag:before{content:"\f024";}
77
+ .icon-headphones:before{content:"\f025";}
78
+ .icon-volume-off:before{content:"\f026";}
79
+ .icon-volume-down:before{content:"\f027";}
80
+ .icon-volume-up:before{content:"\f028";}
81
+ .icon-qrcode:before{content:"\f029";}
82
+ .icon-barcode:before{content:"\f02a";}
83
+ .icon-tag:before{content:"\f02b";}
84
+ .icon-tags:before{content:"\f02c";}
85
+ .icon-book:before{content:"\f02d";}
86
+ .icon-bookmark:before{content:"\f02e";}
87
+ .icon-print:before{content:"\f02f";}
88
+ .icon-camera:before{content:"\f030";}
89
+ .icon-font:before{content:"\f031";}
90
+ .icon-bold:before{content:"\f032";}
91
+ .icon-italic:before{content:"\f033";}
92
+ .icon-text-height:before{content:"\f034";}
93
+ .icon-text-width:before{content:"\f035";}
94
+ .icon-align-left:before{content:"\f036";}
95
+ .icon-align-center:before{content:"\f037";}
96
+ .icon-align-right:before{content:"\f038";}
97
+ .icon-align-justify:before{content:"\f039";}
98
+ .icon-list:before{content:"\f03a";}
99
+ .icon-indent-left:before{content:"\f03b";}
100
+ .icon-indent-right:before{content:"\f03c";}
101
+ .icon-facetime-video:before{content:"\f03d";}
102
+ .icon-picture:before{content:"\f03e";}
103
+ .icon-pencil:before{content:"\f040";}
104
+ .icon-map-marker:before{content:"\f041";}
105
+ .icon-adjust:before{content:"\f042";}
106
+ .icon-tint:before{content:"\f043";}
107
+ .icon-edit:before{content:"\f044";}
108
+ .icon-share:before{content:"\f045";}
109
+ .icon-check:before{content:"\f046";}
110
+ .icon-move:before{content:"\f047";}
111
+ .icon-step-backward:before{content:"\f048";}
112
+ .icon-fast-backward:before{content:"\f049";}
113
+ .icon-backward:before{content:"\f04a";}
114
+ .icon-play:before{content:"\f04b";}
115
+ .icon-pause:before{content:"\f04c";}
116
+ .icon-stop:before{content:"\f04d";}
117
+ .icon-forward:before{content:"\f04e";}
118
+ .icon-fast-forward:before{content:"\f050";}
119
+ .icon-step-forward:before{content:"\f051";}
120
+ .icon-eject:before{content:"\f052";}
121
+ .icon-chevron-left:before{content:"\f053";}
122
+ .icon-chevron-right:before{content:"\f054";}
123
+ .icon-plus-sign:before{content:"\f055";}
124
+ .icon-minus-sign:before{content:"\f056";}
125
+ .icon-remove-sign:before{content:"\f057";}
126
+ .icon-ok-sign:before{content:"\f058";}
127
+ .icon-question-sign:before{content:"\f059";}
128
+ .icon-info-sign:before{content:"\f05a";}
129
+ .icon-screenshot:before{content:"\f05b";}
130
+ .icon-remove-circle:before{content:"\f05c";}
131
+ .icon-ok-circle:before{content:"\f05d";}
132
+ .icon-ban-circle:before{content:"\f05e";}
133
+ .icon-arrow-left:before{content:"\f060";}
134
+ .icon-arrow-right:before{content:"\f061";}
135
+ .icon-arrow-up:before{content:"\f062";}
136
+ .icon-arrow-down:before{content:"\f063";}
137
+ .icon-mail-forward:before,.icon-share-alt:before{content:"\f064";}
138
+ .icon-resize-full:before{content:"\f065";}
139
+ .icon-resize-small:before{content:"\f066";}
140
+ .icon-plus:before{content:"\f067";}
141
+ .icon-minus:before{content:"\f068";}
142
+ .icon-asterisk:before{content:"\f069";}
143
+ .icon-exclamation-sign:before{content:"\f06a";}
144
+ .icon-gift:before{content:"\f06b";}
145
+ .icon-leaf:before{content:"\f06c";}
146
+ .icon-fire:before{content:"\f06d";}
147
+ .icon-eye-open:before{content:"\f06e";}
148
+ .icon-eye-close:before{content:"\f070";}
149
+ .icon-warning-sign:before{content:"\f071";}
150
+ .icon-plane:before{content:"\f072";}
151
+ .icon-calendar:before{content:"\f073";}
152
+ .icon-random:before{content:"\f074";}
153
+ .icon-comment:before{content:"\f075";}
154
+ .icon-magnet:before{content:"\f076";}
155
+ .icon-chevron-up:before{content:"\f077";}
156
+ .icon-chevron-down:before{content:"\f078";}
157
+ .icon-retweet:before{content:"\f079";}
158
+ .icon-shopping-cart:before{content:"\f07a";}
159
+ .icon-folder-close:before{content:"\f07b";}
160
+ .icon-folder-open:before{content:"\f07c";}
161
+ .icon-resize-vertical:before{content:"\f07d";}
162
+ .icon-resize-horizontal:before{content:"\f07e";}
163
+ .icon-bar-chart:before{content:"\f080";}
164
+ .icon-twitter-sign:before{content:"\f081";}
165
+ .icon-facebook-sign:before{content:"\f082";}
166
+ .icon-camera-retro:before{content:"\f083";}
167
+ .icon-key:before{content:"\f084";}
168
+ .icon-gears:before,.icon-cogs:before{content:"\f085";}
169
+ .icon-comments:before{content:"\f086";}
170
+ .icon-thumbs-up-alt:before{content:"\f087";}
171
+ .icon-thumbs-down-alt:before{content:"\f088";}
172
+ .icon-star-half:before{content:"\f089";}
173
+ .icon-heart-empty:before{content:"\f08a";}
174
+ .icon-signout:before{content:"\f08b";}
175
+ .icon-linkedin-sign:before{content:"\f08c";}
176
+ .icon-pushpin:before{content:"\f08d";}
177
+ .icon-external-link:before{content:"\f08e";}
178
+ .icon-signin:before{content:"\f090";}
179
+ .icon-trophy:before{content:"\f091";}
180
+ .icon-github-sign:before{content:"\f092";}
181
+ .icon-upload-alt:before{content:"\f093";}
182
+ .icon-lemon:before{content:"\f094";}
183
+ .icon-phone:before{content:"\f095";}
184
+ .icon-unchecked:before,.icon-check-empty:before{content:"\f096";}
185
+ .icon-bookmark-empty:before{content:"\f097";}
186
+ .icon-phone-sign:before{content:"\f098";}
187
+ .icon-twitter:before{content:"\f099";}
188
+ .icon-facebook:before{content:"\f09a";}
189
+ .icon-github:before{content:"\f09b";}
190
+ .icon-unlock:before{content:"\f09c";}
191
+ .icon-credit-card:before{content:"\f09d";}
192
+ .icon-rss:before{content:"\f09e";}
193
+ .icon-hdd:before{content:"\f0a0";}
194
+ .icon-bullhorn:before{content:"\f0a1";}
195
+ .icon-bell:before{content:"\f0a2";}
196
+ .icon-certificate:before{content:"\f0a3";}
197
+ .icon-hand-right:before{content:"\f0a4";}
198
+ .icon-hand-left:before{content:"\f0a5";}
199
+ .icon-hand-up:before{content:"\f0a6";}
200
+ .icon-hand-down:before{content:"\f0a7";}
201
+ .icon-circle-arrow-left:before{content:"\f0a8";}
202
+ .icon-circle-arrow-right:before{content:"\f0a9";}
203
+ .icon-circle-arrow-up:before{content:"\f0aa";}
204
+ .icon-circle-arrow-down:before{content:"\f0ab";}
205
+ .icon-globe:before{content:"\f0ac";}
206
+ .icon-wrench:before{content:"\f0ad";}
207
+ .icon-tasks:before{content:"\f0ae";}
208
+ .icon-filter:before{content:"\f0b0";}
209
+ .icon-briefcase:before{content:"\f0b1";}
210
+ .icon-fullscreen:before{content:"\f0b2";}
211
+ .icon-group:before{content:"\f0c0";}
212
+ .icon-link:before{content:"\f0c1";}
213
+ .icon-cloud:before{content:"\f0c2";}
214
+ .icon-beaker:before{content:"\f0c3";}
215
+ .icon-cut:before{content:"\f0c4";}
216
+ .icon-copy:before{content:"\f0c5";}
217
+ .icon-paperclip:before,.icon-paper-clip:before{content:"\f0c6";}
218
+ .icon-save:before{content:"\f0c7";}
219
+ .icon-sign-blank:before{content:"\f0c8";}
220
+ .icon-reorder:before{content:"\f0c9";}
221
+ .icon-list-ul:before{content:"\f0ca";}
222
+ .icon-list-ol:before{content:"\f0cb";}
223
+ .icon-strikethrough:before{content:"\f0cc";}
224
+ .icon-underline:before{content:"\f0cd";}
225
+ .icon-table:before{content:"\f0ce";}
226
+ .icon-magic:before{content:"\f0d0";}
227
+ .icon-truck:before{content:"\f0d1";}
228
+ .icon-pinterest:before{content:"\f0d2";}
229
+ .icon-pinterest-sign:before{content:"\f0d3";}
230
+ .icon-google-plus-sign:before{content:"\f0d4";}
231
+ .icon-google-plus:before{content:"\f0d5";}
232
+ .icon-money:before{content:"\f0d6";}
233
+ .icon-caret-down:before{content:"\f0d7";}
234
+ .icon-caret-up:before{content:"\f0d8";}
235
+ .icon-caret-left:before{content:"\f0d9";}
236
+ .icon-caret-right:before{content:"\f0da";}
237
+ .icon-columns:before{content:"\f0db";}
238
+ .icon-sort:before{content:"\f0dc";}
239
+ .icon-sort-down:before{content:"\f0dd";}
240
+ .icon-sort-up:before{content:"\f0de";}
241
+ .icon-envelope:before{content:"\f0e0";}
242
+ .icon-linkedin:before{content:"\f0e1";}
243
+ .icon-rotate-left:before,.icon-undo:before{content:"\f0e2";}
244
+ .icon-legal:before{content:"\f0e3";}
245
+ .icon-dashboard:before{content:"\f0e4";}
246
+ .icon-comment-alt:before{content:"\f0e5";}
247
+ .icon-comments-alt:before{content:"\f0e6";}
248
+ .icon-bolt:before{content:"\f0e7";}
249
+ .icon-sitemap:before{content:"\f0e8";}
250
+ .icon-umbrella:before{content:"\f0e9";}
251
+ .icon-paste:before{content:"\f0ea";}
252
+ .icon-lightbulb:before{content:"\f0eb";}
253
+ .icon-exchange:before{content:"\f0ec";}
254
+ .icon-cloud-download:before{content:"\f0ed";}
255
+ .icon-cloud-upload:before{content:"\f0ee";}
256
+ .icon-user-md:before{content:"\f0f0";}
257
+ .icon-stethoscope:before{content:"\f0f1";}
258
+ .icon-suitcase:before{content:"\f0f2";}
259
+ .icon-bell-alt:before{content:"\f0f3";}
260
+ .icon-coffee:before{content:"\f0f4";}
261
+ .icon-food:before{content:"\f0f5";}
262
+ .icon-file-text-alt:before{content:"\f0f6";}
263
+ .icon-building:before{content:"\f0f7";}
264
+ .icon-hospital:before{content:"\f0f8";}
265
+ .icon-ambulance:before{content:"\f0f9";}
266
+ .icon-medkit:before{content:"\f0fa";}
267
+ .icon-fighter-jet:before{content:"\f0fb";}
268
+ .icon-beer:before{content:"\f0fc";}
269
+ .icon-h-sign:before{content:"\f0fd";}
270
+ .icon-plus-sign-alt:before{content:"\f0fe";}
271
+ .icon-double-angle-left:before{content:"\f100";}
272
+ .icon-double-angle-right:before{content:"\f101";}
273
+ .icon-double-angle-up:before{content:"\f102";}
274
+ .icon-double-angle-down:before{content:"\f103";}
275
+ .icon-angle-left:before{content:"\f104";}
276
+ .icon-angle-right:before{content:"\f105";}
277
+ .icon-angle-up:before{content:"\f106";}
278
+ .icon-angle-down:before{content:"\f107";}
279
+ .icon-desktop:before{content:"\f108";}
280
+ .icon-laptop:before{content:"\f109";}
281
+ .icon-tablet:before{content:"\f10a";}
282
+ .icon-mobile-phone:before{content:"\f10b";}
283
+ .icon-circle-blank:before{content:"\f10c";}
284
+ .icon-quote-left:before{content:"\f10d";}
285
+ .icon-quote-right:before{content:"\f10e";}
286
+ .icon-spinner:before{content:"\f110";}
287
+ .icon-circle:before{content:"\f111";}
288
+ .icon-mail-reply:before,.icon-reply:before{content:"\f112";}
289
+ .icon-github-alt:before{content:"\f113";}
290
+ .icon-folder-close-alt:before{content:"\f114";}
291
+ .icon-folder-open-alt:before{content:"\f115";}
292
+ .icon-expand-alt:before{content:"\f116";}
293
+ .icon-collapse-alt:before{content:"\f117";}
294
+ .icon-smile:before{content:"\f118";}
295
+ .icon-frown:before{content:"\f119";}
296
+ .icon-meh:before{content:"\f11a";}
297
+ .icon-gamepad:before{content:"\f11b";}
298
+ .icon-keyboard:before{content:"\f11c";}
299
+ .icon-flag-alt:before{content:"\f11d";}
300
+ .icon-flag-checkered:before{content:"\f11e";}
301
+ .icon-terminal:before{content:"\f120";}
302
+ .icon-code:before{content:"\f121";}
303
+ .icon-reply-all:before{content:"\f122";}
304
+ .icon-mail-reply-all:before{content:"\f122";}
305
+ .icon-star-half-full:before,.icon-star-half-empty:before{content:"\f123";}
306
+ .icon-location-arrow:before{content:"\f124";}
307
+ .icon-crop:before{content:"\f125";}
308
+ .icon-code-fork:before{content:"\f126";}
309
+ .icon-unlink:before{content:"\f127";}
310
+ .icon-question:before{content:"\f128";}
311
+ .icon-info:before{content:"\f129";}
312
+ .icon-exclamation:before{content:"\f12a";}
313
+ .icon-superscript:before{content:"\f12b";}
314
+ .icon-subscript:before{content:"\f12c";}
315
+ .icon-eraser:before{content:"\f12d";}
316
+ .icon-puzzle-piece:before{content:"\f12e";}
317
+ .icon-microphone:before{content:"\f130";}
318
+ .icon-microphone-off:before{content:"\f131";}
319
+ .icon-shield:before{content:"\f132";}
320
+ .icon-calendar-empty:before{content:"\f133";}
321
+ .icon-fire-extinguisher:before{content:"\f134";}
322
+ .icon-rocket:before{content:"\f135";}
323
+ .icon-maxcdn:before{content:"\f136";}
324
+ .icon-chevron-sign-left:before{content:"\f137";}
325
+ .icon-chevron-sign-right:before{content:"\f138";}
326
+ .icon-chevron-sign-up:before{content:"\f139";}
327
+ .icon-chevron-sign-down:before{content:"\f13a";}
328
+ .icon-html5:before{content:"\f13b";}
329
+ .icon-css3:before{content:"\f13c";}
330
+ .icon-anchor:before{content:"\f13d";}
331
+ .icon-unlock-alt:before{content:"\f13e";}
332
+ .icon-bullseye:before{content:"\f140";}
333
+ .icon-ellipsis-horizontal:before{content:"\f141";}
334
+ .icon-ellipsis-vertical:before{content:"\f142";}
335
+ .icon-rss-sign:before{content:"\f143";}
336
+ .icon-play-sign:before{content:"\f144";}
337
+ .icon-ticket:before{content:"\f145";}
338
+ .icon-minus-sign-alt:before{content:"\f146";}
339
+ .icon-check-minus:before{content:"\f147";}
340
+ .icon-level-up:before{content:"\f148";}
341
+ .icon-level-down:before{content:"\f149";}
342
+ .icon-check-sign:before{content:"\f14a";}
343
+ .icon-edit-sign:before{content:"\f14b";}
344
+ .icon-external-link-sign:before{content:"\f14c";}
345
+ .icon-share-sign:before{content:"\f14d";}
346
+ .icon-compass:before{content:"\f14e";}
347
+ .icon-collapse:before{content:"\f150";}
348
+ .icon-collapse-top:before{content:"\f151";}
349
+ .icon-expand:before{content:"\f152";}
350
+ .icon-euro:before,.icon-eur:before{content:"\f153";}
351
+ .icon-gbp:before{content:"\f154";}
352
+ .icon-dollar:before,.icon-usd:before{content:"\f155";}
353
+ .icon-rupee:before,.icon-inr:before{content:"\f156";}
354
+ .icon-yen:before,.icon-jpy:before{content:"\f157";}
355
+ .icon-renminbi:before,.icon-cny:before{content:"\f158";}
356
+ .icon-won:before,.icon-krw:before{content:"\f159";}
357
+ .icon-bitcoin:before,.icon-btc:before{content:"\f15a";}
358
+ .icon-file:before{content:"\f15b";}
359
+ .icon-file-text:before{content:"\f15c";}
360
+ .icon-sort-by-alphabet:before{content:"\f15d";}
361
+ .icon-sort-by-alphabet-alt:before{content:"\f15e";}
362
+ .icon-sort-by-attributes:before{content:"\f160";}
363
+ .icon-sort-by-attributes-alt:before{content:"\f161";}
364
+ .icon-sort-by-order:before{content:"\f162";}
365
+ .icon-sort-by-order-alt:before{content:"\f163";}
366
+ .icon-thumbs-up:before{content:"\f164";}
367
+ .icon-thumbs-down:before{content:"\f165";}
368
+ .icon-youtube-sign:before{content:"\f166";}
369
+ .icon-youtube:before{content:"\f167";}
370
+ .icon-xing:before{content:"\f168";}
371
+ .icon-xing-sign:before{content:"\f169";}
372
+ .icon-youtube-play:before{content:"\f16a";}
373
+ .icon-dropbox:before{content:"\f16b";}
374
+ .icon-stackexchange:before{content:"\f16c";}
375
+ .icon-instagram:before{content:"\f16d";}
376
+ .icon-flickr:before{content:"\f16e";}
377
+ .icon-adn:before{content:"\f170";}
378
+ .icon-bitbucket:before{content:"\f171";}
379
+ .icon-bitbucket-sign:before{content:"\f172";}
380
+ .icon-tumblr:before{content:"\f173";}
381
+ .icon-tumblr-sign:before{content:"\f174";}
382
+ .icon-long-arrow-down:before{content:"\f175";}
383
+ .icon-long-arrow-up:before{content:"\f176";}
384
+ .icon-long-arrow-left:before{content:"\f177";}
385
+ .icon-long-arrow-right:before{content:"\f178";}
386
+ .icon-apple:before{content:"\f179";}
387
+ .icon-windows:before{content:"\f17a";}
388
+ .icon-android:before{content:"\f17b";}
389
+ .icon-linux:before{content:"\f17c";}
390
+ .icon-dribbble:before{content:"\f17d";}
391
+ .icon-skype:before{content:"\f17e";}
392
+ .icon-foursquare:before{content:"\f180";}
393
+ .icon-trello:before{content:"\f181";}
394
+ .icon-female:before{content:"\f182";}
395
+ .icon-male:before{content:"\f183";}
396
+ .icon-gittip:before{content:"\f184";}
397
+ .icon-sun:before{content:"\f185";}
398
+ .icon-moon:before{content:"\f186";}
399
+ .icon-archive:before{content:"\f187";}
400
+ .icon-bug:before{content:"\f188";}
401
+ .icon-vk:before{content:"\f189";}
402
+ .icon-weibo:before{content:"\f18a";}
403
+ .icon-renren:before{content:"\f18b";}
resources/font/FontAwesome.otf ADDED
Binary file
resources/font/fontawesome-webfont.eot ADDED
Binary file
resources/font/fontawesome-webfont.svg ADDED
@@ -0,0 +1,399 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?xml version="1.0" standalone="no"?>
2
+ <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd" >
3
+ <svg xmlns="http://www.w3.org/2000/svg">
4
+ <metadata></metadata>
5
+ <defs>
6
+ <font id="fontawesomeregular" horiz-adv-x="1536" >
7
+ <font-face units-per-em="1792" ascent="1536" descent="-256" />
8
+ <missing-glyph horiz-adv-x="448" />
9
+ <glyph unicode=" " horiz-adv-x="448" />
10
+ <glyph unicode="&#x09;" horiz-adv-x="448" />
11
+ <glyph unicode="&#xa0;" horiz-adv-x="448" />
12
+ <glyph unicode="&#xa8;" horiz-adv-x="1792" />
13
+ <glyph unicode="&#xa9;" horiz-adv-x="1792" />
14
+ <glyph unicode="&#xae;" horiz-adv-x="1792" />
15
+ <glyph unicode="&#xb4;" horiz-adv-x="1792" />
16
+ <glyph unicode="&#xc6;" horiz-adv-x="1792" />
17
+ <glyph unicode="&#x2000;" horiz-adv-x="768" />
18
+ <glyph unicode="&#x2001;" />
19
+ <glyph unicode="&#x2002;" horiz-adv-x="768" />
20
+ <glyph unicode="&#x2003;" />
21
+ <glyph unicode="&#x2004;" horiz-adv-x="512" />
22
+ <glyph unicode="&#x2005;" horiz-adv-x="384" />
23
+ <glyph unicode="&#x2006;" horiz-adv-x="256" />
24
+ <glyph unicode="&#x2007;" horiz-adv-x="256" />
25
+ <glyph unicode="&#x2008;" horiz-adv-x="192" />
26
+ <glyph unicode="&#x2009;" horiz-adv-x="307" />
27
+ <glyph unicode="&#x200a;" horiz-adv-x="85" />
28
+ <glyph unicode="&#x202f;" horiz-adv-x="307" />
29
+ <glyph unicode="&#x205f;" horiz-adv-x="384" />
30
+ <glyph unicode="&#x2122;" horiz-adv-x="1792" />
31
+ <glyph unicode="&#x221e;" horiz-adv-x="1792" />
32
+ <glyph unicode="&#x2260;" horiz-adv-x="1792" />
33
+ <glyph unicode="&#xe000;" horiz-adv-x="500" d="M0 0z" />
34
+ <glyph unicode="&#xf000;" horiz-adv-x="1792" d="M1699 1350q0 -35 -43 -78l-632 -632v-768h320q26 0 45 -19t19 -45t-19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45t45 19h320v768l-632 632q-43 43 -43 78q0 23 18 36.5t38 17.5t43 4h1408q23 0 43 -4t38 -17.5t18 -36.5z" />
35
+ <glyph unicode="&#xf001;" d="M1536 1312v-1120q0 -50 -34 -89t-86 -60.5t-103.5 -32t-96.5 -10.5t-96.5 10.5t-103.5 32t-86 60.5t-34 89t34 89t86 60.5t103.5 32t96.5 10.5q105 0 192 -39v537l-768 -237v-709q0 -50 -34 -89t-86 -60.5t-103.5 -32t-96.5 -10.5t-96.5 10.5t-103.5 32t-86 60.5t-34 89 t34 89t86 60.5t103.5 32t96.5 10.5q105 0 192 -39v967q0 31 19 56.5t49 35.5l832 256q12 4 28 4q40 0 68 -28t28 -68z" />
36
+ <glyph unicode="&#xf002;" horiz-adv-x="1664" d="M1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5zM1664 -128q0 -52 -38 -90t-90 -38q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5 t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z" />
37
+ <glyph unicode="&#xf003;" horiz-adv-x="1792" d="M1664 32v768q-32 -36 -69 -66q-268 -206 -426 -338q-51 -43 -83 -67t-86.5 -48.5t-102.5 -24.5h-1h-1q-48 0 -102.5 24.5t-86.5 48.5t-83 67q-158 132 -426 338q-37 30 -69 66v-768q0 -13 9.5 -22.5t22.5 -9.5h1472q13 0 22.5 9.5t9.5 22.5zM1664 1083v11v13.5t-0.5 13 t-3 12.5t-5.5 9t-9 7.5t-14 2.5h-1472q-13 0 -22.5 -9.5t-9.5 -22.5q0 -168 147 -284q193 -152 401 -317q6 -5 35 -29.5t46 -37.5t44.5 -31.5t50.5 -27.5t43 -9h1h1q20 0 43 9t50.5 27.5t44.5 31.5t46 37.5t35 29.5q208 165 401 317q54 43 100.5 115.5t46.5 131.5z M1792 1120v-1088q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1472q66 0 113 -47t47 -113z" />
38
+ <glyph unicode="&#xf004;" horiz-adv-x="1792" d="M896 -128q-26 0 -44 18l-624 602q-10 8 -27.5 26t-55.5 65.5t-68 97.5t-53.5 121t-23.5 138q0 220 127 344t351 124q62 0 126.5 -21.5t120 -58t95.5 -68.5t76 -68q36 36 76 68t95.5 68.5t120 58t126.5 21.5q224 0 351 -124t127 -344q0 -221 -229 -450l-623 -600 q-18 -18 -44 -18z" />
39
+ <glyph unicode="&#xf005;" horiz-adv-x="1664" d="M1664 889q0 -22 -26 -48l-363 -354l86 -500q1 -7 1 -20q0 -21 -10.5 -35.5t-30.5 -14.5q-19 0 -40 12l-449 236l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41t49 -41l225 -455 l502 -73q56 -9 56 -46z" />
40
+ <glyph unicode="&#xf006;" horiz-adv-x="1664" d="M1137 532l306 297l-422 62l-189 382l-189 -382l-422 -62l306 -297l-73 -421l378 199l377 -199zM1664 889q0 -22 -26 -48l-363 -354l86 -500q1 -7 1 -20q0 -50 -41 -50q-19 0 -40 12l-449 236l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500 l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41t49 -41l225 -455l502 -73q56 -9 56 -46z" />
41
+ <glyph unicode="&#xf007;" horiz-adv-x="1408" d="M1408 131q0 -120 -73 -189.5t-194 -69.5h-874q-121 0 -194 69.5t-73 189.5q0 53 3.5 103.5t14 109t26.5 108.5t43 97.5t62 81t85.5 53.5t111.5 20q9 0 42 -21.5t74.5 -48t108 -48t133.5 -21.5t133.5 21.5t108 48t74.5 48t42 21.5q61 0 111.5 -20t85.5 -53.5t62 -81 t43 -97.5t26.5 -108.5t14 -109t3.5 -103.5zM1088 1024q0 -159 -112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5z" />
42
+ <glyph unicode="&#xf008;" horiz-adv-x="1920" d="M384 -64v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM384 320v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM384 704v128q0 26 -19 45t-45 19h-128 q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1408 -64v512q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-512q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM384 1088v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45 t45 -19h128q26 0 45 19t19 45zM1792 -64v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1408 704v512q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-512q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM1792 320v128 q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1792 704v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1792 1088v128q0 26 -19 45t-45 19h-128q-26 0 -45 -19 t-19 -45v-128q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1920 1248v-1344q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1344q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />
43
+ <glyph unicode="&#xf009;" horiz-adv-x="1664" d="M768 512v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM768 1280v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM1664 512v-384q0 -52 -38 -90t-90 -38 h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90zM1664 1280v-384q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v384q0 52 38 90t90 38h512q52 0 90 -38t38 -90z" />
44
+ <glyph unicode="&#xf00a;" horiz-adv-x="1792" d="M512 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 288v-192q0 -40 -28 -68t-68 -28h-320 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28 h320q40 0 68 -28t28 -68zM1792 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1152 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 800v-192 q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68z" />
45
+ <glyph unicode="&#xf00b;" horiz-adv-x="1792" d="M512 288v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM512 800v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 288v-192q0 -40 -28 -68t-68 -28h-960 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h960q40 0 68 -28t28 -68zM512 1312v-192q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h320q40 0 68 -28t28 -68zM1792 800v-192q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v192q0 40 28 68t68 28 h960q40 0 68 -28t28 -68zM1792 1312v-192q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h960q40 0 68 -28t28 -68z" />
46
+ <glyph unicode="&#xf00c;" horiz-adv-x="1792" d="M1671 970q0 -40 -28 -68l-724 -724l-136 -136q-28 -28 -68 -28t-68 28l-136 136l-362 362q-28 28 -28 68t28 68l136 136q28 28 68 28t68 -28l294 -295l656 657q28 28 68 28t68 -28l136 -136q28 -28 28 -68z" />
47
+ <glyph unicode="&#xf00d;" horiz-adv-x="1408" d="M1298 214q0 -40 -28 -68l-136 -136q-28 -28 -68 -28t-68 28l-294 294l-294 -294q-28 -28 -68 -28t-68 28l-136 136q-28 28 -28 68t28 68l294 294l-294 294q-28 28 -28 68t28 68l136 136q28 28 68 28t68 -28l294 -294l294 294q28 28 68 28t68 -28l136 -136q28 -28 28 -68 t-28 -68l-294 -294l294 -294q28 -28 28 -68z" />
48
+ <glyph unicode="&#xf00e;" horiz-adv-x="1664" d="M1024 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-224v-224q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v224h-224q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h224v224q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5v-224h224 q13 0 22.5 -9.5t9.5 -22.5zM1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5zM1664 -128q0 -53 -37.5 -90.5t-90.5 -37.5q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5 t-225 150t-150 225t-55.5 273.5t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z" />
49
+ <glyph unicode="&#xf010;" horiz-adv-x="1664" d="M1024 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-576q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h576q13 0 22.5 -9.5t9.5 -22.5zM1152 704q0 185 -131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5t316.5 131.5t131.5 316.5z M1664 -128q0 -53 -37.5 -90.5t-90.5 -37.5q-54 0 -90 38l-343 342q-179 -124 -399 -124q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5t55.5 273.5t150 225t225 150t273.5 55.5t273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -220 -124 -399l343 -343q37 -37 37 -90z " />
50
+ <glyph unicode="&#xf011;" d="M1536 640q0 -156 -61 -298t-164 -245t-245 -164t-298 -61t-298 61t-245 164t-164 245t-61 298q0 182 80.5 343t226.5 270q43 32 95.5 25t83.5 -50q32 -42 24.5 -94.5t-49.5 -84.5q-98 -74 -151.5 -181t-53.5 -228q0 -104 40.5 -198.5t109.5 -163.5t163.5 -109.5 t198.5 -40.5t198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5q0 121 -53.5 228t-151.5 181q-42 32 -49.5 84.5t24.5 94.5q31 43 84 50t95 -25q146 -109 226.5 -270t80.5 -343zM896 1408v-640q0 -52 -38 -90t-90 -38t-90 38t-38 90v640q0 52 38 90t90 38t90 -38t38 -90z" />
51
+ <glyph unicode="&#xf012;" horiz-adv-x="1792" d="M256 96v-192q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM640 224v-320q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v320q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1024 480v-576q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23 v576q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1408 864v-960q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v960q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1792 1376v-1472q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v1472q0 14 9 23t23 9h192q14 0 23 -9t9 -23z" />
52
+ <glyph unicode="&#xf013;" d="M1024 640q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1536 749v-222q0 -12 -8 -23t-20 -13l-185 -28q-19 -54 -39 -91q35 -50 107 -138q10 -12 10 -25t-9 -23q-27 -37 -99 -108t-94 -71q-12 0 -26 9l-138 108q-44 -23 -91 -38 q-16 -136 -29 -186q-7 -28 -36 -28h-222q-14 0 -24.5 8.5t-11.5 21.5l-28 184q-49 16 -90 37l-141 -107q-10 -9 -25 -9q-14 0 -25 11q-126 114 -165 168q-7 10 -7 23q0 12 8 23q15 21 51 66.5t54 70.5q-27 50 -41 99l-183 27q-13 2 -21 12.5t-8 23.5v222q0 12 8 23t19 13 l186 28q14 46 39 92q-40 57 -107 138q-10 12 -10 24q0 10 9 23q26 36 98.5 107.5t94.5 71.5q13 0 26 -10l138 -107q44 23 91 38q16 136 29 186q7 28 36 28h222q14 0 24.5 -8.5t11.5 -21.5l28 -184q49 -16 90 -37l142 107q9 9 24 9q13 0 25 -10q129 -119 165 -170q7 -8 7 -22 q0 -12 -8 -23q-15 -21 -51 -66.5t-54 -70.5q26 -50 41 -98l183 -28q13 -2 21 -12.5t8 -23.5z" />
53
+ <glyph unicode="&#xf014;" horiz-adv-x="1408" d="M512 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM768 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1024 800v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576 q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1152 76v948h-896v-948q0 -22 7 -40.5t14.5 -27t10.5 -8.5h832q3 0 10.5 8.5t14.5 27t7 40.5zM480 1152h448l-48 117q-7 9 -17 11h-317q-10 -2 -17 -11zM1408 1120v-64q0 -14 -9 -23t-23 -9h-96v-948q0 -83 -47 -143.5t-113 -60.5h-832 q-66 0 -113 58.5t-47 141.5v952h-96q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h309l70 167q15 37 54 63t79 26h320q40 0 79 -26t54 -63l70 -167h309q14 0 23 -9t9 -23z" />
54
+ <glyph unicode="&#xf015;" horiz-adv-x="1664" d="M1408 544v-480q0 -26 -19 -45t-45 -19h-384v384h-256v-384h-384q-26 0 -45 19t-19 45v480q0 1 0.5 3t0.5 3l575 474l575 -474q1 -2 1 -6zM1631 613l-62 -74q-8 -9 -21 -11h-3q-13 0 -21 7l-692 577l-692 -577q-12 -8 -24 -7q-13 2 -21 11l-62 74q-8 10 -7 23.5t11 21.5 l719 599q32 26 76 26t76 -26l244 -204v195q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-408l219 -182q10 -8 11 -21.5t-7 -23.5z" />
55
+ <glyph unicode="&#xf016;" horiz-adv-x="1280" d="M128 0h1024v768h-416q-40 0 -68 28t-28 68v416h-512v-1280zM768 896h376q-10 29 -22 41l-313 313q-12 12 -41 22v-376zM1280 864v-896q0 -40 -28 -68t-68 -28h-1088q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h640q40 0 88 -20t76 -48l312 -312q28 -28 48 -76t20 -88z " />
56
+ <glyph unicode="&#xf017;" d="M896 992v-448q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h224v352q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
57
+ <glyph unicode="&#xf018;" horiz-adv-x="1920" d="M1111 540v4l-24 320q-1 13 -11 22.5t-23 9.5h-186q-13 0 -23 -9.5t-11 -22.5l-24 -320v-4q-1 -12 8 -20t21 -8h244q12 0 21 8t8 20zM1870 73q0 -73 -46 -73h-704q13 0 22 9.5t8 22.5l-20 256q-1 13 -11 22.5t-23 9.5h-272q-13 0 -23 -9.5t-11 -22.5l-20 -256 q-1 -13 8 -22.5t22 -9.5h-704q-46 0 -46 73q0 54 26 116l417 1044q8 19 26 33t38 14h339q-13 0 -23 -9.5t-11 -22.5l-15 -192q-1 -14 8 -23t22 -9h166q13 0 22 9t8 23l-15 192q-1 13 -11 22.5t-23 9.5h339q20 0 38 -14t26 -33l417 -1044q26 -62 26 -116z" />
58
+ <glyph unicode="&#xf019;" horiz-adv-x="1664" d="M1280 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 416v-320q0 -40 -28 -68t-68 -28h-1472q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h465l135 -136 q58 -56 136 -56t136 56l136 136h464q40 0 68 -28t28 -68zM1339 985q17 -41 -14 -70l-448 -448q-18 -19 -45 -19t-45 19l-448 448q-31 29 -14 70q17 39 59 39h256v448q0 26 19 45t45 19h256q26 0 45 -19t19 -45v-448h256q42 0 59 -39z" />
59
+ <glyph unicode="&#xf01a;" d="M1120 608q0 -12 -10 -24l-319 -319q-11 -9 -23 -9t-23 9l-320 320q-15 16 -7 35q8 20 30 20h192v352q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-352h192q14 0 23 -9t9 -23zM768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273 t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
60
+ <glyph unicode="&#xf01b;" d="M1118 660q-8 -20 -30 -20h-192v-352q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v352h-192q-14 0 -23 9t-9 23q0 12 10 24l319 319q11 9 23 9t23 -9l320 -320q15 -16 7 -35zM768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198 t73 273t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
61
+ <glyph unicode="&#xf01c;" d="M1023 576h316q-1 3 -2.5 8t-2.5 8l-212 496h-708l-212 -496q-1 -2 -2.5 -8t-2.5 -8h316l95 -192h320zM1536 546v-482q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v482q0 62 25 123l238 552q10 25 36.5 42t52.5 17h832q26 0 52.5 -17t36.5 -42l238 -552 q25 -61 25 -123z" />
62
+ <glyph unicode="&#xf01d;" d="M1184 640q0 -37 -32 -55l-544 -320q-15 -9 -32 -9q-16 0 -32 8q-32 19 -32 56v640q0 37 32 56q33 18 64 -1l544 -320q32 -18 32 -55zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
63
+ <glyph unicode="&#xf01e;" d="M1536 1280v-448q0 -26 -19 -45t-45 -19h-448q-42 0 -59 40q-17 39 14 69l138 138q-148 137 -349 137q-104 0 -198.5 -40.5t-163.5 -109.5t-109.5 -163.5t-40.5 -198.5t40.5 -198.5t109.5 -163.5t163.5 -109.5t198.5 -40.5q119 0 225 52t179 147q7 10 23 12q14 0 25 -9 l137 -138q9 -8 9.5 -20.5t-7.5 -22.5q-109 -132 -264 -204.5t-327 -72.5q-156 0 -298 61t-245 164t-164 245t-61 298t61 298t164 245t245 164t298 61q147 0 284.5 -55.5t244.5 -156.5l130 129q29 31 70 14q39 -17 39 -59z" />
64
+ <glyph unicode="&#xf021;" d="M1511 480q0 -5 -1 -7q-64 -268 -268 -434.5t-478 -166.5q-146 0 -282.5 55t-243.5 157l-129 -129q-19 -19 -45 -19t-45 19t-19 45v448q0 26 19 45t45 19h448q26 0 45 -19t19 -45t-19 -45l-137 -137q71 -66 161 -102t187 -36q134 0 250 65t186 179q11 17 53 117 q8 23 30 23h192q13 0 22.5 -9.5t9.5 -22.5zM1536 1280v-448q0 -26 -19 -45t-45 -19h-448q-26 0 -45 19t-19 45t19 45l138 138q-148 137 -349 137q-134 0 -250 -65t-186 -179q-11 -17 -53 -117q-8 -23 -30 -23h-199q-13 0 -22.5 9.5t-9.5 22.5v7q65 268 270 434.5t480 166.5 q146 0 284 -55.5t245 -156.5l130 129q19 19 45 19t45 -19t19 -45z" />
65
+ <glyph unicode="&#xf022;" horiz-adv-x="1792" d="M384 352v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 608v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M384 864v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1536 352v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5t9.5 -22.5z M1536 608v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5t9.5 -22.5zM1536 864v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h960q13 0 22.5 -9.5 t9.5 -22.5zM1664 160v832q0 13 -9.5 22.5t-22.5 9.5h-1472q-13 0 -22.5 -9.5t-9.5 -22.5v-832q0 -13 9.5 -22.5t22.5 -9.5h1472q13 0 22.5 9.5t9.5 22.5zM1792 1248v-1088q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1472q66 0 113 -47 t47 -113z" />
66
+ <glyph unicode="&#xf023;" horiz-adv-x="1152" d="M320 768h512v192q0 106 -75 181t-181 75t-181 -75t-75 -181v-192zM1152 672v-576q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v576q0 40 28 68t68 28h32v192q0 184 132 316t316 132t316 -132t132 -316v-192h32q40 0 68 -28t28 -68z" />
67
+ <glyph unicode="&#xf024;" horiz-adv-x="1792" d="M320 1280q0 -72 -64 -110v-1266q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v1266q-64 38 -64 110q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1792 1216v-763q0 -25 -12.5 -38.5t-39.5 -27.5q-215 -116 -369 -116q-61 0 -123.5 22t-108.5 48 t-115.5 48t-142.5 22q-192 0 -464 -146q-17 -9 -33 -9q-26 0 -45 19t-19 45v742q0 32 31 55q21 14 79 43q236 120 421 120q107 0 200 -29t219 -88q38 -19 88 -19q54 0 117.5 21t110 47t88 47t54.5 21q26 0 45 -19t19 -45z" />
68
+ <glyph unicode="&#xf025;" horiz-adv-x="1664" d="M1664 650q0 -166 -60 -314l-20 -49l-185 -33q-22 -83 -90.5 -136.5t-156.5 -53.5v-32q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v576q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-32q71 0 130 -35.5t93 -95.5l68 12q29 95 29 193q0 148 -88 279t-236.5 209t-315.5 78 t-315.5 -78t-236.5 -209t-88 -279q0 -98 29 -193l68 -12q34 60 93 95.5t130 35.5v32q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-576q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v32q-88 0 -156.5 53.5t-90.5 136.5l-185 33l-20 49q-60 148 -60 314q0 151 67 291t179 242.5 t266 163.5t320 61t320 -61t266 -163.5t179 -242.5t67 -291z" />
69
+ <glyph unicode="&#xf026;" horiz-adv-x="768" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45z" />
70
+ <glyph unicode="&#xf027;" horiz-adv-x="1152" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45zM1152 640q0 -76 -42.5 -141.5t-112.5 -93.5q-10 -5 -25 -5q-26 0 -45 18.5t-19 45.5q0 21 12 35.5t29 25t34 23t29 35.5 t12 57t-12 57t-29 35.5t-34 23t-29 25t-12 35.5q0 27 19 45.5t45 18.5q15 0 25 -5q70 -27 112.5 -93t42.5 -142z" />
71
+ <glyph unicode="&#xf028;" horiz-adv-x="1664" d="M768 1184v-1088q0 -26 -19 -45t-45 -19t-45 19l-333 333h-262q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h262l333 333q19 19 45 19t45 -19t19 -45zM1152 640q0 -76 -42.5 -141.5t-112.5 -93.5q-10 -5 -25 -5q-26 0 -45 18.5t-19 45.5q0 21 12 35.5t29 25t34 23t29 35.5 t12 57t-12 57t-29 35.5t-34 23t-29 25t-12 35.5q0 27 19 45.5t45 18.5q15 0 25 -5q70 -27 112.5 -93t42.5 -142zM1408 640q0 -153 -85 -282.5t-225 -188.5q-13 -5 -25 -5q-27 0 -46 19t-19 45q0 39 39 59q56 29 76 44q74 54 115.5 135.5t41.5 173.5t-41.5 173.5 t-115.5 135.5q-20 15 -76 44q-39 20 -39 59q0 26 19 45t45 19q13 0 26 -5q140 -59 225 -188.5t85 -282.5zM1664 640q0 -230 -127 -422.5t-338 -283.5q-13 -5 -26 -5q-26 0 -45 19t-19 45q0 36 39 59q7 4 22.5 10.5t22.5 10.5q46 25 82 51q123 91 192 227t69 289t-69 289 t-192 227q-36 26 -82 51q-7 4 -22.5 10.5t-22.5 10.5q-39 23 -39 59q0 26 19 45t45 19q13 0 26 -5q211 -91 338 -283.5t127 -422.5z" />
72
+ <glyph unicode="&#xf029;" horiz-adv-x="1408" d="M384 384v-128h-128v128h128zM384 1152v-128h-128v128h128zM1152 1152v-128h-128v128h128zM128 129h384v383h-384v-383zM128 896h384v384h-384v-384zM896 896h384v384h-384v-384zM640 640v-640h-640v640h640zM1152 128v-128h-128v128h128zM1408 128v-128h-128v128h128z M1408 640v-384h-384v128h-128v-384h-128v640h384v-128h128v128h128zM640 1408v-640h-640v640h640zM1408 1408v-640h-640v640h640z" />
73
+ <glyph unicode="&#xf02a;" horiz-adv-x="1792" d="M63 0h-63v1408h63v-1408zM126 1h-32v1407h32v-1407zM220 1h-31v1407h31v-1407zM377 1h-31v1407h31v-1407zM534 1h-62v1407h62v-1407zM660 1h-31v1407h31v-1407zM723 1h-31v1407h31v-1407zM786 1h-31v1407h31v-1407zM943 1h-63v1407h63v-1407zM1100 1h-63v1407h63v-1407z M1226 1h-63v1407h63v-1407zM1352 1h-63v1407h63v-1407zM1446 1h-63v1407h63v-1407zM1635 1h-94v1407h94v-1407zM1698 1h-32v1407h32v-1407zM1792 0h-63v1408h63v-1408z" />
74
+ <glyph unicode="&#xf02b;" d="M448 1088q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1515 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-53 0 -90 37l-715 716q-38 37 -64.5 101t-26.5 117v416q0 52 38 90t90 38h416q53 0 117 -26.5t102 -64.5 l715 -714q37 -39 37 -91z" />
75
+ <glyph unicode="&#xf02c;" horiz-adv-x="1920" d="M448 1088q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1515 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-53 0 -90 37l-715 716q-38 37 -64.5 101t-26.5 117v416q0 52 38 90t90 38h416q53 0 117 -26.5t102 -64.5 l715 -714q37 -39 37 -91zM1899 512q0 -53 -37 -90l-491 -492q-39 -37 -91 -37q-36 0 -59 14t-53 45l470 470q37 37 37 90q0 52 -37 91l-715 714q-38 38 -102 64.5t-117 26.5h224q53 0 117 -26.5t102 -64.5l715 -714q37 -39 37 -91z" />
76
+ <glyph unicode="&#xf02d;" horiz-adv-x="1664" d="M1639 1058q40 -57 18 -129l-275 -906q-19 -64 -76.5 -107.5t-122.5 -43.5h-923q-77 0 -148.5 53.5t-99.5 131.5q-24 67 -2 127q0 4 3 27t4 37q1 8 -3 21.5t-3 19.5q2 11 8 21t16.5 23.5t16.5 23.5q23 38 45 91.5t30 91.5q3 10 0.5 30t-0.5 28q3 11 17 28t17 23 q21 36 42 92t25 90q1 9 -2.5 32t0.5 28q4 13 22 30.5t22 22.5q19 26 42.5 84.5t27.5 96.5q1 8 -3 25.5t-2 26.5q2 8 9 18t18 23t17 21q8 12 16.5 30.5t15 35t16 36t19.5 32t26.5 23.5t36 11.5t47.5 -5.5l-1 -3q38 9 51 9h761q74 0 114 -56t18 -130l-274 -906 q-36 -119 -71.5 -153.5t-128.5 -34.5h-869q-27 0 -38 -15q-11 -16 -1 -43q24 -70 144 -70h923q29 0 56 15.5t35 41.5l300 987q7 22 5 57q38 -15 59 -43zM575 1056q-4 -13 2 -22.5t20 -9.5h608q13 0 25.5 9.5t16.5 22.5l21 64q4 13 -2 22.5t-20 9.5h-608q-13 0 -25.5 -9.5 t-16.5 -22.5zM492 800q-4 -13 2 -22.5t20 -9.5h608q13 0 25.5 9.5t16.5 22.5l21 64q4 13 -2 22.5t-20 9.5h-608q-13 0 -25.5 -9.5t-16.5 -22.5z" />
77
+ <glyph unicode="&#xf02e;" horiz-adv-x="1280" d="M1164 1408q23 0 44 -9q33 -13 52.5 -41t19.5 -62v-1289q0 -34 -19.5 -62t-52.5 -41q-19 -8 -44 -8q-48 0 -83 32l-441 424l-441 -424q-36 -33 -83 -33q-23 0 -44 9q-33 13 -52.5 41t-19.5 62v1289q0 34 19.5 62t52.5 41q21 9 44 9h1048z" />
78
+ <glyph unicode="&#xf02f;" horiz-adv-x="1664" d="M384 0h896v256h-896v-256zM384 640h896v384h-160q-40 0 -68 28t-28 68v160h-640v-640zM1536 576q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 576v-416q0 -13 -9.5 -22.5t-22.5 -9.5h-224v-160q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68 v160h-224q-13 0 -22.5 9.5t-9.5 22.5v416q0 79 56.5 135.5t135.5 56.5h64v544q0 40 28 68t68 28h672q40 0 88 -20t76 -48l152 -152q28 -28 48 -76t20 -88v-256h64q79 0 135.5 -56.5t56.5 -135.5z" />
79
+ <glyph unicode="&#xf030;" horiz-adv-x="1920" d="M960 864q119 0 203.5 -84.5t84.5 -203.5t-84.5 -203.5t-203.5 -84.5t-203.5 84.5t-84.5 203.5t84.5 203.5t203.5 84.5zM1664 1280q106 0 181 -75t75 -181v-896q0 -106 -75 -181t-181 -75h-1408q-106 0 -181 75t-75 181v896q0 106 75 181t181 75h224l51 136 q19 49 69.5 84.5t103.5 35.5h512q53 0 103.5 -35.5t69.5 -84.5l51 -136h224zM960 128q185 0 316.5 131.5t131.5 316.5t-131.5 316.5t-316.5 131.5t-316.5 -131.5t-131.5 -316.5t131.5 -316.5t316.5 -131.5z" />
80
+ <glyph unicode="&#xf031;" horiz-adv-x="1664" d="M725 977l-170 -450q73 -1 153.5 -2t119 -1.5t52.5 -0.5l29 2q-32 95 -92 241q-53 132 -92 211zM21 -128h-21l2 79q22 7 80 18q89 16 110 31q20 16 48 68l237 616l280 724h75h53l11 -21l205 -480q103 -242 124 -297q39 -102 96 -235q26 -58 65 -164q24 -67 65 -149 q22 -49 35 -57q22 -19 69 -23q47 -6 103 -27q6 -39 6 -57q0 -14 -1 -26q-80 0 -192 8q-93 8 -189 8q-79 0 -135 -2l-200 -11l-58 -2q0 45 4 78l131 28q56 13 68 23q12 12 12 27t-6 32l-47 114l-92 228l-450 2q-29 -65 -104 -274q-23 -64 -23 -84q0 -31 17 -43 q26 -21 103 -32q3 0 13.5 -2t30 -5t40.5 -6q1 -28 1 -58q0 -17 -2 -27q-66 0 -349 20l-48 -8q-81 -14 -167 -14z" />
81
+ <glyph unicode="&#xf032;" horiz-adv-x="1408" d="M555 15q76 -32 140 -32q131 0 216 41t122 113q38 70 38 181q0 114 -41 180q-58 94 -141 126q-80 32 -247 32q-74 0 -101 -10v-144l-1 -173l3 -270q0 -15 12 -44zM541 761q43 -7 109 -7q175 0 264 65t89 224q0 112 -85 187q-84 75 -255 75q-52 0 -130 -13q0 -44 2 -77 q7 -122 6 -279l-1 -98q0 -43 1 -77zM0 -128l2 94q45 9 68 12q77 12 123 31q17 27 21 51q9 66 9 194l-2 497q-5 256 -9 404q-1 87 -11 109q-1 4 -12 12q-18 12 -69 15q-30 2 -114 13l-4 83l260 6l380 13l45 1q5 0 14 0.5t14 0.5q1 0 21.5 -0.5t40.5 -0.5h74q88 0 191 -27 q43 -13 96 -39q57 -29 102 -76q44 -47 65 -104t21 -122q0 -70 -32 -128t-95 -105q-26 -20 -150 -77q177 -41 267 -146q92 -106 92 -236q0 -76 -29 -161q-21 -62 -71 -117q-66 -72 -140 -108q-73 -36 -203 -60q-82 -15 -198 -11l-197 4q-84 2 -298 -11q-33 -3 -272 -11z" />
82
+ <glyph unicode="&#xf033;" horiz-adv-x="1024" d="M0 -126l17 85q4 1 77 20q76 19 116 39q29 37 41 101l27 139l56 268l12 64q8 44 17 84.5t16 67t12.5 46.5t9 30.5t3.5 11.5l29 157l16 63l22 135l8 50v38q-41 22 -144 28q-28 2 -38 4l19 103l317 -14q39 -2 73 -2q66 0 214 9q33 2 68 4.5t36 2.5q-2 -19 -6 -38 q-7 -29 -13 -51q-55 -19 -109 -31q-64 -16 -101 -31q-12 -31 -24 -88q-9 -44 -13 -82q-44 -199 -66 -306l-61 -311l-38 -158l-43 -235l-12 -45q-2 -7 1 -27q64 -15 119 -21q36 -5 66 -10q-1 -29 -7 -58q-7 -31 -9 -41q-18 0 -23 -1q-24 -2 -42 -2q-9 0 -28 3q-19 4 -145 17 l-198 2q-41 1 -174 -11q-74 -7 -98 -9z" />
83
+ <glyph unicode="&#xf034;" horiz-adv-x="1792" d="M81 1407l54 -27q20 -5 211 -5h130l19 3l115 1l215 -1h293l34 -2q14 -1 28 7t21 16l7 8l42 1q15 0 28 -1v-104.5t1 -131.5l1 -100l-1 -58q0 -32 -4 -51q-39 -15 -68 -18q-25 43 -54 128q-8 24 -15.5 62.5t-11.5 65.5t-6 29q-13 15 -27 19q-7 2 -42.5 2t-103.5 -1t-111 -1 q-34 0 -67 -5q-10 -97 -8 -136l1 -152v-332l3 -359l-1 -147q-1 -46 11 -85q49 -25 89 -32q2 0 18 -5t44 -13t43 -12q30 -8 50 -18q5 -45 5 -50q0 -10 -3 -29q-14 -1 -34 -1q-110 0 -187 10q-72 8 -238 8q-88 0 -233 -14q-48 -4 -70 -4q-2 22 -2 26l-1 26v9q21 33 79 49 q139 38 159 50q9 21 12 56q8 192 6 433l-5 428q-1 62 -0.5 118.5t0.5 102.5t-2 57t-6 15q-6 5 -14 6q-38 6 -148 6q-43 0 -100 -13.5t-73 -24.5q-13 -9 -22 -33t-22 -75t-24 -84q-6 -19 -19.5 -32t-20.5 -13q-44 27 -56 44v297v86zM1744 128q33 0 42 -18.5t-11 -44.5 l-126 -162q-20 -26 -49 -26t-49 26l-126 162q-20 26 -11 44.5t42 18.5h80v1024h-80q-33 0 -42 18.5t11 44.5l126 162q20 26 49 26t49 -26l126 -162q20 -26 11 -44.5t-42 -18.5h-80v-1024h80z" />
84
+ <glyph unicode="&#xf035;" d="M81 1407l54 -27q20 -5 211 -5h130l19 3l115 1l446 -1h318l34 -2q14 -1 28 7t21 16l7 8l42 1q15 0 28 -1v-104.5t1 -131.5l1 -100l-1 -58q0 -32 -4 -51q-39 -15 -68 -18q-25 43 -54 128q-8 24 -15.5 62.5t-11.5 65.5t-6 29q-13 15 -27 19q-7 2 -58.5 2t-138.5 -1t-128 -1 q-94 0 -127 -5q-10 -97 -8 -136l1 -152v52l3 -359l-1 -147q-1 -46 11 -85q49 -25 89 -32q2 0 18 -5t44 -13t43 -12q30 -8 50 -18q5 -45 5 -50q0 -10 -3 -29q-14 -1 -34 -1q-110 0 -187 10q-72 8 -238 8q-82 0 -233 -13q-45 -5 -70 -5q-2 22 -2 26l-1 26v9q21 33 79 49 q139 38 159 50q9 21 12 56q6 137 6 433l-5 44q0 265 -2 278q-2 11 -6 15q-6 5 -14 6q-38 6 -148 6q-50 0 -168.5 -14t-132.5 -24q-13 -9 -22 -33t-22 -75t-24 -84q-6 -19 -19.5 -32t-20.5 -13q-44 27 -56 44v297v86zM1505 113q26 -20 26 -49t-26 -49l-162 -126 q-26 -20 -44.5 -11t-18.5 42v80h-1024v-80q0 -33 -18.5 -42t-44.5 11l-162 126q-26 20 -26 49t26 49l162 126q26 20 44.5 11t18.5 -42v-80h1024v80q0 33 18.5 42t44.5 -11z" />
85
+ <glyph unicode="&#xf036;" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1408 576v-128q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1280q26 0 45 -19t19 -45zM1664 960v-128q0 -26 -19 -45 t-45 -19h-1536q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1536q26 0 45 -19t19 -45zM1280 1344v-128q0 -26 -19 -45t-45 -19h-1152q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />
86
+ <glyph unicode="&#xf037;" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1408 576v-128q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h896q26 0 45 -19t19 -45zM1664 960v-128q0 -26 -19 -45t-45 -19 h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1280 1344v-128q0 -26 -19 -45t-45 -19h-640q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h640q26 0 45 -19t19 -45z" />
87
+ <glyph unicode="&#xf038;" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 576v-128q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1280q26 0 45 -19t19 -45zM1792 960v-128q0 -26 -19 -45 t-45 -19h-1536q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1536q26 0 45 -19t19 -45zM1792 1344v-128q0 -26 -19 -45t-45 -19h-1152q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />
88
+ <glyph unicode="&#xf039;" horiz-adv-x="1792" d="M1792 192v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 576v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 960v-128q0 -26 -19 -45 t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 1344v-128q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1664q26 0 45 -19t19 -45z" />
89
+ <glyph unicode="&#xf03a;" horiz-adv-x="1792" d="M256 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM256 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5 t9.5 -22.5zM256 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1344 q13 0 22.5 -9.5t9.5 -22.5zM256 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-192q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h192q13 0 22.5 -9.5t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5 t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v192 q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5z" />
90
+ <glyph unicode="&#xf03b;" horiz-adv-x="1792" d="M384 992v-576q0 -13 -9.5 -22.5t-22.5 -9.5q-14 0 -23 9l-288 288q-9 9 -9 23t9 23l288 288q9 9 23 9q13 0 22.5 -9.5t9.5 -22.5zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5 t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088 q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5t9.5 -22.5z" />
91
+ <glyph unicode="&#xf03c;" horiz-adv-x="1792" d="M352 704q0 -14 -9 -23l-288 -288q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5v576q0 13 9.5 22.5t22.5 9.5q14 0 23 -9l288 -288q9 -9 9 -23zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5 t9.5 -22.5zM1792 608v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088q13 0 22.5 -9.5t9.5 -22.5zM1792 992v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1088q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1088 q13 0 22.5 -9.5t9.5 -22.5zM1792 1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1728q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1728q13 0 22.5 -9.5t9.5 -22.5z" />
92
+ <glyph unicode="&#xf03d;" horiz-adv-x="1792" d="M1792 1184v-1088q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-403 403v-166q0 -119 -84.5 -203.5t-203.5 -84.5h-704q-119 0 -203.5 84.5t-84.5 203.5v704q0 119 84.5 203.5t203.5 84.5h704q119 0 203.5 -84.5t84.5 -203.5v-165l403 402q18 19 45 19q12 0 25 -5 q39 -17 39 -59z" />
93
+ <glyph unicode="&#xf03e;" horiz-adv-x="1920" d="M640 960q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1664 576v-448h-1408v192l320 320l160 -160l512 512zM1760 1280h-1600q-13 0 -22.5 -9.5t-9.5 -22.5v-1216q0 -13 9.5 -22.5t22.5 -9.5h1600q13 0 22.5 9.5t9.5 22.5v1216 q0 13 -9.5 22.5t-22.5 9.5zM1920 1248v-1216q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />
94
+ <glyph unicode="&#xf040;" d="M363 0l91 91l-235 235l-91 -91v-107h128v-128h107zM886 928q0 22 -22 22q-10 0 -17 -7l-542 -542q-7 -7 -7 -17q0 -22 22 -22q10 0 17 7l542 542q7 7 7 17zM832 1120l416 -416l-832 -832h-416v416zM1515 1024q0 -53 -37 -90l-166 -166l-416 416l166 165q36 38 90 38 q53 0 91 -38l235 -234q37 -39 37 -91z" />
95
+ <glyph unicode="&#xf041;" horiz-adv-x="1024" d="M768 896q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1024 896q0 -109 -33 -179l-364 -774q-16 -33 -47.5 -52t-67.5 -19t-67.5 19t-46.5 52l-365 774q-33 70 -33 179q0 212 150 362t362 150t362 -150t150 -362z" />
96
+ <glyph unicode="&#xf042;" d="M768 96v1088q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
97
+ <glyph unicode="&#xf043;" horiz-adv-x="1024" d="M512 384q0 36 -20 69q-1 1 -15.5 22.5t-25.5 38t-25 44t-21 50.5q-4 16 -21 16t-21 -16q-7 -23 -21 -50.5t-25 -44t-25.5 -38t-15.5 -22.5q-20 -33 -20 -69q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1024 512q0 -212 -150 -362t-362 -150t-362 150t-150 362 q0 145 81 275q6 9 62.5 90.5t101 151t99.5 178t83 201.5q9 30 34 47t51 17t51.5 -17t33.5 -47q28 -93 83 -201.5t99.5 -178t101 -151t62.5 -90.5q81 -127 81 -275z" />
98
+ <glyph unicode="&#xf044;" horiz-adv-x="1792" d="M888 352l116 116l-152 152l-116 -116v-56h96v-96h56zM1328 1072q-16 16 -33 -1l-350 -350q-17 -17 -1 -33t33 1l350 350q17 17 1 33zM1408 478v-190q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832 q63 0 117 -25q15 -7 18 -23q3 -17 -9 -29l-49 -49q-14 -14 -32 -8q-23 6 -45 6h-832q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v126q0 13 9 22l64 64q15 15 35 7t20 -29zM1312 1216l288 -288l-672 -672h-288v288zM1756 1084l-92 -92 l-288 288l92 92q28 28 68 28t68 -28l152 -152q28 -28 28 -68t-28 -68z" />
99
+ <glyph unicode="&#xf045;" horiz-adv-x="1664" d="M1408 547v-259q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h255v0q13 0 22.5 -9.5t9.5 -22.5q0 -27 -26 -32q-77 -26 -133 -60q-10 -4 -16 -4h-112q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832 q66 0 113 47t47 113v214q0 19 18 29q28 13 54 37q16 16 35 8q21 -9 21 -29zM1645 1043l-384 -384q-18 -19 -45 -19q-12 0 -25 5q-39 17 -39 59v192h-160q-323 0 -438 -131q-119 -137 -74 -473q3 -23 -20 -34q-8 -2 -12 -2q-16 0 -26 13q-10 14 -21 31t-39.5 68.5t-49.5 99.5 t-38.5 114t-17.5 122q0 49 3.5 91t14 90t28 88t47 81.5t68.5 74t94.5 61.5t124.5 48.5t159.5 30.5t196.5 11h160v192q0 42 39 59q13 5 25 5q26 0 45 -19l384 -384q19 -19 19 -45t-19 -45z" />
100
+ <glyph unicode="&#xf046;" horiz-adv-x="1664" d="M1408 606v-318q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832q63 0 117 -25q15 -7 18 -23q3 -17 -9 -29l-49 -49q-10 -10 -23 -10q-3 0 -9 2q-23 6 -45 6h-832q-66 0 -113 -47t-47 -113v-832 q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v254q0 13 9 22l64 64q10 10 23 10q6 0 12 -3q20 -8 20 -29zM1639 1095l-814 -814q-24 -24 -57 -24t-57 24l-430 430q-24 24 -24 57t24 57l110 110q24 24 57 24t57 -24l263 -263l647 647q24 24 57 24t57 -24l110 -110 q24 -24 24 -57t-24 -57z" />
101
+ <glyph unicode="&#xf047;" horiz-adv-x="1792" d="M1792 640q0 -26 -19 -45l-256 -256q-19 -19 -45 -19t-45 19t-19 45v128h-384v-384h128q26 0 45 -19t19 -45t-19 -45l-256 -256q-19 -19 -45 -19t-45 19l-256 256q-19 19 -19 45t19 45t45 19h128v384h-384v-128q0 -26 -19 -45t-45 -19t-45 19l-256 256q-19 19 -19 45 t19 45l256 256q19 19 45 19t45 -19t19 -45v-128h384v384h-128q-26 0 -45 19t-19 45t19 45l256 256q19 19 45 19t45 -19l256 -256q19 -19 19 -45t-19 -45t-45 -19h-128v-384h384v128q0 26 19 45t45 19t45 -19l256 -256q19 -19 19 -45z" />
102
+ <glyph unicode="&#xf048;" horiz-adv-x="1024" d="M979 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-678q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-678q4 11 13 19z" />
103
+ <glyph unicode="&#xf049;" horiz-adv-x="1792" d="M1747 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-710q0 -26 -13 -32t-32 13l-710 710q-9 9 -13 19v-678q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-678q4 11 13 19l710 710 q19 19 32 13t13 -32v-710q4 11 13 19z" />
104
+ <glyph unicode="&#xf04a;" horiz-adv-x="1664" d="M1619 1395q19 19 32 13t13 -32v-1472q0 -26 -13 -32t-32 13l-710 710q-8 9 -13 19v-710q0 -26 -13 -32t-32 13l-710 710q-19 19 -19 45t19 45l710 710q19 19 32 13t13 -32v-710q5 11 13 19z" />
105
+ <glyph unicode="&#xf04b;" horiz-adv-x="1408" d="M1384 609l-1328 -738q-23 -13 -39.5 -3t-16.5 36v1472q0 26 16.5 36t39.5 -3l1328 -738q23 -13 23 -31t-23 -31z" />
106
+ <glyph unicode="&#xf04c;" d="M1536 1344v-1408q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h512q26 0 45 -19t19 -45zM640 1344v-1408q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h512q26 0 45 -19t19 -45z" />
107
+ <glyph unicode="&#xf04d;" d="M1536 1344v-1408q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h1408q26 0 45 -19t19 -45z" />
108
+ <glyph unicode="&#xf04e;" horiz-adv-x="1664" d="M45 -115q-19 -19 -32 -13t-13 32v1472q0 26 13 32t32 -13l710 -710q8 -8 13 -19v710q0 26 13 32t32 -13l710 -710q19 -19 19 -45t-19 -45l-710 -710q-19 -19 -32 -13t-13 32v710q-5 -10 -13 -19z" />
109
+ <glyph unicode="&#xf050;" horiz-adv-x="1792" d="M45 -115q-19 -19 -32 -13t-13 32v1472q0 26 13 32t32 -13l710 -710q8 -8 13 -19v710q0 26 13 32t32 -13l710 -710q8 -8 13 -19v678q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-1408q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v678q-5 -10 -13 -19l-710 -710 q-19 -19 -32 -13t-13 32v710q-5 -10 -13 -19z" />
110
+ <glyph unicode="&#xf051;" horiz-adv-x="1024" d="M45 -115q-19 -19 -32 -13t-13 32v1472q0 26 13 32t32 -13l710 -710q8 -8 13 -19v678q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-1408q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v678q-5 -10 -13 -19z" />
111
+ <glyph unicode="&#xf052;" horiz-adv-x="1538" d="M14 557l710 710q19 19 45 19t45 -19l710 -710q19 -19 13 -32t-32 -13h-1472q-26 0 -32 13t13 32zM1473 0h-1408q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1408q26 0 45 -19t19 -45v-256q0 -26 -19 -45t-45 -19z" />
112
+ <glyph unicode="&#xf053;" horiz-adv-x="1152" d="M742 -37l-652 651q-37 37 -37 90.5t37 90.5l652 651q37 37 90.5 37t90.5 -37l75 -75q37 -37 37 -90.5t-37 -90.5l-486 -486l486 -485q37 -38 37 -91t-37 -90l-75 -75q-37 -37 -90.5 -37t-90.5 37z" />
113
+ <glyph unicode="&#xf054;" horiz-adv-x="1152" d="M1099 704q0 -52 -37 -91l-652 -651q-37 -37 -90 -37t-90 37l-76 75q-37 39 -37 91q0 53 37 90l486 486l-486 485q-37 39 -37 91q0 53 37 90l76 75q36 38 90 38t90 -38l652 -651q37 -37 37 -90z" />
114
+ <glyph unicode="&#xf055;" d="M1216 576v128q0 26 -19 45t-45 19h-256v256q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-256h-256q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h256v-256q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v256h256q26 0 45 19t19 45zM1536 640q0 -209 -103 -385.5 t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
115
+ <glyph unicode="&#xf056;" d="M1216 576v128q0 26 -19 45t-45 19h-768q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h768q26 0 45 19t19 45zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5 t103 -385.5z" />
116
+ <glyph unicode="&#xf057;" d="M1149 414q0 26 -19 45l-181 181l181 181q19 19 19 45q0 27 -19 46l-90 90q-19 19 -46 19q-26 0 -45 -19l-181 -181l-181 181q-19 19 -45 19q-27 0 -46 -19l-90 -90q-19 -19 -19 -46q0 -26 19 -45l181 -181l-181 -181q-19 -19 -19 -45q0 -27 19 -46l90 -90q19 -19 46 -19 q26 0 45 19l181 181l181 -181q19 -19 45 -19q27 0 46 19l90 90q19 19 19 46zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
117
+ <glyph unicode="&#xf058;" d="M1284 802q0 28 -18 46l-91 90q-19 19 -45 19t-45 -19l-408 -407l-226 226q-19 19 -45 19t-45 -19l-91 -90q-18 -18 -18 -46q0 -27 18 -45l362 -362q19 -19 45 -19q27 0 46 19l543 543q18 18 18 45zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103 t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
118
+ <glyph unicode="&#xf059;" d="M896 160v192q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h192q14 0 23 9t9 23zM1152 832q0 88 -55.5 163t-138.5 116t-170 41q-243 0 -371 -213q-15 -24 8 -42l132 -100q7 -6 19 -6q16 0 25 12q53 68 86 92q34 24 86 24q48 0 85.5 -26t37.5 -59 q0 -38 -20 -61t-68 -45q-63 -28 -115.5 -86.5t-52.5 -125.5v-36q0 -14 9 -23t23 -9h192q14 0 23 9t9 23q0 19 21.5 49.5t54.5 49.5q32 18 49 28.5t46 35t44.5 48t28 60.5t12.5 81zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
119
+ <glyph unicode="&#xf05a;" d="M1024 160v160q0 14 -9 23t-23 9h-96v512q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-160q0 -14 9 -23t23 -9h96v-320h-96q-14 0 -23 -9t-9 -23v-160q0 -14 9 -23t23 -9h448q14 0 23 9t9 23zM896 1056v160q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-160q0 -14 9 -23 t23 -9h192q14 0 23 9t9 23zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
120
+ <glyph unicode="&#xf05b;" d="M1197 512h-109q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h109q-32 108 -112.5 188.5t-188.5 112.5v-109q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v109q-108 -32 -188.5 -112.5t-112.5 -188.5h109q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-109 q32 -108 112.5 -188.5t188.5 -112.5v109q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-109q108 32 188.5 112.5t112.5 188.5zM1536 704v-128q0 -26 -19 -45t-45 -19h-143q-37 -161 -154.5 -278.5t-278.5 -154.5v-143q0 -26 -19 -45t-45 -19h-128q-26 0 -45 19t-19 45v143 q-161 37 -278.5 154.5t-154.5 278.5h-143q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h143q37 161 154.5 278.5t278.5 154.5v143q0 26 19 45t45 19h128q26 0 45 -19t19 -45v-143q161 -37 278.5 -154.5t154.5 -278.5h143q26 0 45 -19t19 -45z" />
121
+ <glyph unicode="&#xf05c;" d="M1097 457l-146 -146q-10 -10 -23 -10t-23 10l-137 137l-137 -137q-10 -10 -23 -10t-23 10l-146 146q-10 10 -10 23t10 23l137 137l-137 137q-10 10 -10 23t10 23l146 146q10 10 23 10t23 -10l137 -137l137 137q10 10 23 10t23 -10l146 -146q10 -10 10 -23t-10 -23 l-137 -137l137 -137q10 -10 10 -23t-10 -23zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5 t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
122
+ <glyph unicode="&#xf05d;" d="M1171 723l-422 -422q-19 -19 -45 -19t-45 19l-294 294q-19 19 -19 45t19 45l102 102q19 19 45 19t45 -19l147 -147l275 275q19 19 45 19t45 -19l102 -102q19 -19 19 -45t-19 -45zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198 t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
123
+ <glyph unicode="&#xf05e;" d="M1312 643q0 161 -87 295l-754 -753q137 -89 297 -89q111 0 211.5 43.5t173.5 116.5t116 174.5t43 212.5zM313 344l755 754q-135 91 -300 91q-148 0 -273 -73t-198 -199t-73 -274q0 -162 89 -299zM1536 643q0 -157 -61 -300t-163.5 -246t-245 -164t-298.5 -61t-298.5 61 t-245 164t-163.5 246t-61 300t61 299.5t163.5 245.5t245 164t298.5 61t298.5 -61t245 -164t163.5 -245.5t61 -299.5z" />
124
+ <glyph unicode="&#xf060;" d="M1536 640v-128q0 -53 -32.5 -90.5t-84.5 -37.5h-704l293 -294q38 -36 38 -90t-38 -90l-75 -76q-37 -37 -90 -37q-52 0 -91 37l-651 652q-37 37 -37 90q0 52 37 91l651 650q38 38 91 38q52 0 90 -38l75 -74q38 -38 38 -91t-38 -91l-293 -293h704q52 0 84.5 -37.5 t32.5 -90.5z" />
125
+ <glyph unicode="&#xf061;" d="M1472 576q0 -54 -37 -91l-651 -651q-39 -37 -91 -37q-51 0 -90 37l-75 75q-38 38 -38 91t38 91l293 293h-704q-52 0 -84.5 37.5t-32.5 90.5v128q0 53 32.5 90.5t84.5 37.5h704l-293 294q-38 36 -38 90t38 90l75 75q38 38 90 38q53 0 91 -38l651 -651q37 -35 37 -90z" />
126
+ <glyph unicode="&#xf062;" horiz-adv-x="1664" d="M1611 565q0 -51 -37 -90l-75 -75q-38 -38 -91 -38q-54 0 -90 38l-294 293v-704q0 -52 -37.5 -84.5t-90.5 -32.5h-128q-53 0 -90.5 32.5t-37.5 84.5v704l-294 -293q-36 -38 -90 -38t-90 38l-75 75q-38 38 -38 90q0 53 38 91l651 651q35 37 90 37q54 0 91 -37l651 -651 q37 -39 37 -91z" />
127
+ <glyph unicode="&#xf063;" horiz-adv-x="1664" d="M1611 704q0 -53 -37 -90l-651 -652q-39 -37 -91 -37q-53 0 -90 37l-651 652q-38 36 -38 90q0 53 38 91l74 75q39 37 91 37q53 0 90 -37l294 -294v704q0 52 38 90t90 38h128q52 0 90 -38t38 -90v-704l294 294q37 37 90 37q52 0 91 -37l75 -75q37 -39 37 -91z" />
128
+ <glyph unicode="&#xf064;" horiz-adv-x="1792" d="M1792 896q0 -26 -19 -45l-512 -512q-19 -19 -45 -19t-45 19t-19 45v256h-224q-98 0 -175.5 -6t-154 -21.5t-133 -42.5t-105.5 -69.5t-80 -101t-48.5 -138.5t-17.5 -181q0 -55 5 -123q0 -6 2.5 -23.5t2.5 -26.5q0 -15 -8.5 -25t-23.5 -10q-16 0 -28 17q-7 9 -13 22 t-13.5 30t-10.5 24q-127 285 -127 451q0 199 53 333q162 403 875 403h224v256q0 26 19 45t45 19t45 -19l512 -512q19 -19 19 -45z" />
129
+ <glyph unicode="&#xf065;" d="M755 480q0 -13 -10 -23l-332 -332l144 -144q19 -19 19 -45t-19 -45t-45 -19h-448q-26 0 -45 19t-19 45v448q0 26 19 45t45 19t45 -19l144 -144l332 332q10 10 23 10t23 -10l114 -114q10 -10 10 -23zM1536 1344v-448q0 -26 -19 -45t-45 -19t-45 19l-144 144l-332 -332 q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l332 332l-144 144q-19 19 -19 45t19 45t45 19h448q26 0 45 -19t19 -45z" />
130
+ <glyph unicode="&#xf066;" d="M768 576v-448q0 -26 -19 -45t-45 -19t-45 19l-144 144l-332 -332q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l332 332l-144 144q-19 19 -19 45t19 45t45 19h448q26 0 45 -19t19 -45zM1523 1248q0 -13 -10 -23l-332 -332l144 -144q19 -19 19 -45t-19 -45 t-45 -19h-448q-26 0 -45 19t-19 45v448q0 26 19 45t45 19t45 -19l144 -144l332 332q10 10 23 10t23 -10l114 -114q10 -10 10 -23z" />
131
+ <glyph unicode="&#xf067;" horiz-adv-x="1408" d="M1408 800v-192q0 -40 -28 -68t-68 -28h-416v-416q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v416h-416q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h416v416q0 40 28 68t68 28h192q40 0 68 -28t28 -68v-416h416q40 0 68 -28t28 -68z" />
132
+ <glyph unicode="&#xf068;" horiz-adv-x="1408" d="M1408 800v-192q0 -40 -28 -68t-68 -28h-1216q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h1216q40 0 68 -28t28 -68z" />
133
+ <glyph unicode="&#xf069;" horiz-adv-x="1664" d="M1482 486q46 -26 59.5 -77.5t-12.5 -97.5l-64 -110q-26 -46 -77.5 -59.5t-97.5 12.5l-266 153v-307q0 -52 -38 -90t-90 -38h-128q-52 0 -90 38t-38 90v307l-266 -153q-46 -26 -97.5 -12.5t-77.5 59.5l-64 110q-26 46 -12.5 97.5t59.5 77.5l266 154l-266 154 q-46 26 -59.5 77.5t12.5 97.5l64 110q26 46 77.5 59.5t97.5 -12.5l266 -153v307q0 52 38 90t90 38h128q52 0 90 -38t38 -90v-307l266 153q46 26 97.5 12.5t77.5 -59.5l64 -110q26 -46 12.5 -97.5t-59.5 -77.5l-266 -154z" />
134
+ <glyph unicode="&#xf06a;" d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM896 161v190q0 14 -9 23.5t-22 9.5h-192q-13 0 -23 -10t-10 -23v-190q0 -13 10 -23t23 -10h192 q13 0 22 9.5t9 23.5zM894 505l18 621q0 12 -10 18q-10 8 -24 8h-220q-14 0 -24 -8q-10 -6 -10 -18l17 -621q0 -10 10 -17.5t24 -7.5h185q14 0 23.5 7.5t10.5 17.5z" />
135
+ <glyph unicode="&#xf06b;" d="M928 180v56v468v192h-320v-192v-468v-56q0 -25 18 -38.5t46 -13.5h192q28 0 46 13.5t18 38.5zM472 1024h195l-126 161q-26 31 -69 31q-40 0 -68 -28t-28 -68t28 -68t68 -28zM1160 1120q0 40 -28 68t-68 28q-43 0 -69 -31l-125 -161h194q40 0 68 28t28 68zM1536 864v-320 q0 -14 -9 -23t-23 -9h-96v-416q0 -40 -28 -68t-68 -28h-1088q-40 0 -68 28t-28 68v416h-96q-14 0 -23 9t-9 23v320q0 14 9 23t23 9h440q-93 0 -158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5q107 0 168 -77l128 -165l128 165q61 77 168 77q93 0 158.5 -65.5t65.5 -158.5 t-65.5 -158.5t-158.5 -65.5h440q14 0 23 -9t9 -23z" />
136
+ <glyph unicode="&#xf06c;" horiz-adv-x="1792" d="M1280 832q0 26 -19 45t-45 19q-172 0 -318 -49.5t-259.5 -134t-235.5 -219.5q-19 -21 -19 -45q0 -26 19 -45t45 -19q24 0 45 19q27 24 74 71t67 66q137 124 268.5 176t313.5 52q26 0 45 19t19 45zM1792 1030q0 -95 -20 -193q-46 -224 -184.5 -383t-357.5 -268 q-214 -108 -438 -108q-148 0 -286 47q-15 5 -88 42t-96 37q-16 0 -39.5 -32t-45 -70t-52.5 -70t-60 -32q-30 0 -51 11t-31 24t-27 42q-2 4 -6 11t-5.5 10t-3 9.5t-1.5 13.5q0 35 31 73.5t68 65.5t68 56t31 48q0 4 -14 38t-16 44q-9 51 -9 104q0 115 43.5 220t119 184.5 t170.5 139t204 95.5q55 18 145 25.5t179.5 9t178.5 6t163.5 24t113.5 56.5l29.5 29.5t29.5 28t27 20t36.5 16t43.5 4.5q39 0 70.5 -46t47.5 -112t24 -124t8 -96z" />
137
+ <glyph unicode="&#xf06d;" horiz-adv-x="1408" d="M1408 -160v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-1344q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h1344q13 0 22.5 -9.5t9.5 -22.5zM1152 896q0 -78 -24.5 -144t-64 -112.5t-87.5 -88t-96 -77.5t-87.5 -72t-64 -81.5t-24.5 -96.5q0 -96 67 -224l-4 1l1 -1 q-90 41 -160 83t-138.5 100t-113.5 122.5t-72.5 150.5t-27.5 184q0 78 24.5 144t64 112.5t87.5 88t96 77.5t87.5 72t64 81.5t24.5 96.5q0 94 -66 224l3 -1l-1 1q90 -41 160 -83t138.5 -100t113.5 -122.5t72.5 -150.5t27.5 -184z" />
138
+ <glyph unicode="&#xf06e;" horiz-adv-x="1792" d="M1664 576q-152 236 -381 353q61 -104 61 -225q0 -185 -131.5 -316.5t-316.5 -131.5t-316.5 131.5t-131.5 316.5q0 121 61 225q-229 -117 -381 -353q133 -205 333.5 -326.5t434.5 -121.5t434.5 121.5t333.5 326.5zM944 960q0 20 -14 34t-34 14q-125 0 -214.5 -89.5 t-89.5 -214.5q0 -20 14 -34t34 -14t34 14t14 34q0 86 61 147t147 61q20 0 34 14t14 34zM1792 576q0 -34 -20 -69q-140 -230 -376.5 -368.5t-499.5 -138.5t-499.5 139t-376.5 368q-20 35 -20 69t20 69q140 229 376.5 368t499.5 139t499.5 -139t376.5 -368q20 -35 20 -69z" />
139
+ <glyph unicode="&#xf070;" horiz-adv-x="1792" d="M555 201l78 141q-87 63 -136 159t-49 203q0 121 61 225q-229 -117 -381 -353q167 -258 427 -375zM944 960q0 20 -14 34t-34 14q-125 0 -214.5 -89.5t-89.5 -214.5q0 -20 14 -34t34 -14t34 14t14 34q0 86 61 147t147 61q20 0 34 14t14 34zM1307 1151q0 -7 -1 -9 q-105 -188 -315 -566t-316 -567l-49 -89q-10 -16 -28 -16q-12 0 -134 70q-16 10 -16 28q0 12 44 87q-143 65 -263.5 173t-208.5 245q-20 31 -20 69t20 69q153 235 380 371t496 136q89 0 180 -17l54 97q10 16 28 16q5 0 18 -6t31 -15.5t33 -18.5t31.5 -18.5t19.5 -11.5 q16 -10 16 -27zM1344 704q0 -139 -79 -253.5t-209 -164.5l280 502q8 -45 8 -84zM1792 576q0 -35 -20 -69q-39 -64 -109 -145q-150 -172 -347.5 -267t-419.5 -95l74 132q212 18 392.5 137t301.5 307q-115 179 -282 294l63 112q95 -64 182.5 -153t144.5 -184q20 -34 20 -69z " />
140
+ <glyph unicode="&#xf071;" horiz-adv-x="1792" d="M1024 161v190q0 14 -9.5 23.5t-22.5 9.5h-192q-13 0 -22.5 -9.5t-9.5 -23.5v-190q0 -14 9.5 -23.5t22.5 -9.5h192q13 0 22.5 9.5t9.5 23.5zM1022 535l18 459q0 12 -10 19q-13 11 -24 11h-220q-11 0 -24 -11q-10 -7 -10 -21l17 -457q0 -10 10 -16.5t24 -6.5h185 q14 0 23.5 6.5t10.5 16.5zM1008 1469l768 -1408q35 -63 -2 -126q-17 -29 -46.5 -46t-63.5 -17h-1536q-34 0 -63.5 17t-46.5 46q-37 63 -2 126l768 1408q17 31 47 49t65 18t65 -18t47 -49z" />
141
+ <glyph unicode="&#xf072;" horiz-adv-x="1408" d="M1376 1376q44 -52 12 -148t-108 -172l-161 -161l160 -696q5 -19 -12 -33l-128 -96q-7 -6 -19 -6q-4 0 -7 1q-15 3 -21 16l-279 508l-259 -259l53 -194q5 -17 -8 -31l-96 -96q-9 -9 -23 -9h-2q-15 2 -24 13l-189 252l-252 189q-11 7 -13 23q-1 13 9 25l96 97q9 9 23 9 q6 0 8 -1l194 -53l259 259l-508 279q-14 8 -17 24q-2 16 9 27l128 128q14 13 30 8l665 -159l160 160q76 76 172 108t148 -12z" />
142
+ <glyph unicode="&#xf073;" horiz-adv-x="1664" d="M128 -128h288v288h-288v-288zM480 -128h320v288h-320v-288zM128 224h288v320h-288v-320zM480 224h320v320h-320v-320zM128 608h288v288h-288v-288zM864 -128h320v288h-320v-288zM480 608h320v288h-320v-288zM1248 -128h288v288h-288v-288zM864 224h320v320h-320v-320z M512 1088v288q0 13 -9.5 22.5t-22.5 9.5h-64q-13 0 -22.5 -9.5t-9.5 -22.5v-288q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5zM1248 224h288v320h-288v-320zM864 608h320v288h-320v-288zM1248 608h288v288h-288v-288zM1280 1088v288q0 13 -9.5 22.5t-22.5 9.5h-64 q-13 0 -22.5 -9.5t-9.5 -22.5v-288q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5zM1664 1152v-1280q0 -52 -38 -90t-90 -38h-1408q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h128v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h384v96q0 66 47 113t113 47 h64q66 0 113 -47t47 -113v-96h128q52 0 90 -38t38 -90z" />
143
+ <glyph unicode="&#xf074;" horiz-adv-x="1792" d="M666 1055q-60 -92 -137 -273q-22 45 -37 72.5t-40.5 63.5t-51 56.5t-63 35t-81.5 14.5h-224q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h224q250 0 410 -225zM1792 256q0 -14 -9 -23l-320 -320q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5v192q-32 0 -85 -0.5t-81 -1t-73 1 t-71 5t-64 10.5t-63 18.5t-58 28.5t-59 40t-55 53.5t-56 69.5q59 93 136 273q22 -45 37 -72.5t40.5 -63.5t51 -56.5t63 -35t81.5 -14.5h256v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23zM1792 1152q0 -14 -9 -23l-320 -320q-9 -9 -23 -9q-13 0 -22.5 9.5t-9.5 22.5 v192h-256q-48 0 -87 -15t-69 -45t-51 -61.5t-45 -77.5q-32 -62 -78 -171q-29 -66 -49.5 -111t-54 -105t-64 -100t-74 -83t-90 -68.5t-106.5 -42t-128 -16.5h-224q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h224q48 0 87 15t69 45t51 61.5t45 77.5q32 62 78 171q29 66 49.5 111 t54 105t64 100t74 83t90 68.5t106.5 42t128 16.5h256v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23z" />
144
+ <glyph unicode="&#xf075;" horiz-adv-x="1792" d="M1792 640q0 -174 -120 -321.5t-326 -233t-450 -85.5q-70 0 -145 8q-198 -175 -460 -242q-49 -14 -114 -22q-17 -2 -30.5 9t-17.5 29v1q-3 4 -0.5 12t2 10t4.5 9.5l6 9t7 8.5t8 9q7 8 31 34.5t34.5 38t31 39.5t32.5 51t27 59t26 76q-157 89 -247.5 220t-90.5 281 q0 130 71 248.5t191 204.5t286 136.5t348 50.5q244 0 450 -85.5t326 -233t120 -321.5z" />
145
+ <glyph unicode="&#xf076;" d="M1536 704v-128q0 -201 -98.5 -362t-274 -251.5t-395.5 -90.5t-395.5 90.5t-274 251.5t-98.5 362v128q0 26 19 45t45 19h384q26 0 45 -19t19 -45v-128q0 -52 23.5 -90t53.5 -57t71 -30t64 -13t44 -2t44 2t64 13t71 30t53.5 57t23.5 90v128q0 26 19 45t45 19h384 q26 0 45 -19t19 -45zM512 1344v-384q0 -26 -19 -45t-45 -19h-384q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h384q26 0 45 -19t19 -45zM1536 1344v-384q0 -26 -19 -45t-45 -19h-384q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h384q26 0 45 -19t19 -45z" />
146
+ <glyph unicode="&#xf077;" horiz-adv-x="1664" d="M1611 320q0 -53 -37 -90l-75 -75q-38 -38 -91 -38q-54 0 -90 38l-486 485l-486 -485q-36 -38 -90 -38t-90 38l-75 75q-38 36 -38 90q0 53 38 91l651 651q37 37 90 37q52 0 91 -37l650 -651q38 -38 38 -91z" />
147
+ <glyph unicode="&#xf078;" horiz-adv-x="1664" d="M1611 832q0 -53 -37 -90l-651 -651q-38 -38 -91 -38q-54 0 -90 38l-651 651q-38 36 -38 90q0 53 38 91l74 75q39 37 91 37q53 0 90 -37l486 -486l486 486q37 37 90 37q52 0 91 -37l75 -75q37 -39 37 -91z" />
148
+ <glyph unicode="&#xf079;" horiz-adv-x="1920" d="M1280 32q0 -13 -9.5 -22.5t-22.5 -9.5h-960q-8 0 -13.5 2t-9 7t-5.5 8t-3 11.5t-1 11.5v13v11v160v416h-192q-26 0 -45 19t-19 45q0 24 15 41l320 384q19 22 49 22t49 -22l320 -384q15 -17 15 -41q0 -26 -19 -45t-45 -19h-192v-384h576q16 0 25 -11l160 -192q7 -11 7 -21 zM1920 448q0 -24 -15 -41l-320 -384q-20 -23 -49 -23t-49 23l-320 384q-15 17 -15 41q0 26 19 45t45 19h192v384h-576q-16 0 -25 12l-160 192q-7 9 -7 20q0 13 9.5 22.5t22.5 9.5h960q8 0 13.5 -2t9 -7t5.5 -8t3 -11.5t1 -11.5v-13v-11v-160v-416h192q26 0 45 -19t19 -45z " />
149
+ <glyph unicode="&#xf07a;" horiz-adv-x="1664" d="M640 0q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1536 0q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1664 1088v-512q0 -24 -16 -42.5t-41 -21.5 l-1044 -122q1 -7 4.5 -21.5t6 -26.5t2.5 -22q0 -16 -24 -64h920q26 0 45 -19t19 -45t-19 -45t-45 -19h-1024q-26 0 -45 19t-19 45q0 14 11 39.5t29.5 59.5t20.5 38l-177 823h-204q-26 0 -45 19t-19 45t19 45t45 19h256q16 0 28.5 -6.5t20 -15.5t13 -24.5t7.5 -26.5 t5.5 -29.5t4.5 -25.5h1201q26 0 45 -19t19 -45z" />
150
+ <glyph unicode="&#xf07b;" horiz-adv-x="1664" d="M1664 928v-704q0 -92 -66 -158t-158 -66h-1216q-92 0 -158 66t-66 158v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h672q92 0 158 -66t66 -158z" />
151
+ <glyph unicode="&#xf07c;" horiz-adv-x="1920" d="M1879 584q0 -31 -31 -66l-336 -396q-43 -51 -120.5 -86.5t-143.5 -35.5h-1088q-34 0 -60.5 13t-26.5 43q0 31 31 66l336 396q43 51 120.5 86.5t143.5 35.5h1088q34 0 60.5 -13t26.5 -43zM1536 928v-160h-832q-94 0 -197 -47.5t-164 -119.5l-337 -396l-5 -6q0 4 -0.5 12.5 t-0.5 12.5v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h544q92 0 158 -66t66 -158z" />
152
+ <glyph unicode="&#xf07d;" horiz-adv-x="768" d="M704 1216q0 -26 -19 -45t-45 -19h-128v-1024h128q26 0 45 -19t19 -45t-19 -45l-256 -256q-19 -19 -45 -19t-45 19l-256 256q-19 19 -19 45t19 45t45 19h128v1024h-128q-26 0 -45 19t-19 45t19 45l256 256q19 19 45 19t45 -19l256 -256q19 -19 19 -45z" />
153
+ <glyph unicode="&#xf07e;" horiz-adv-x="1792" d="M1792 640q0 -26 -19 -45l-256 -256q-19 -19 -45 -19t-45 19t-19 45v128h-1024v-128q0 -26 -19 -45t-45 -19t-45 19l-256 256q-19 19 -19 45t19 45l256 256q19 19 45 19t45 -19t19 -45v-128h1024v128q0 26 19 45t45 19t45 -19l256 -256q19 -19 19 -45z" />
154
+ <glyph unicode="&#xf080;" horiz-adv-x="1920" d="M512 512v-384h-256v384h256zM896 1024v-896h-256v896h256zM1280 768v-640h-256v640h256zM1664 1152v-1024h-256v1024h256zM1792 32v1216q0 13 -9.5 22.5t-22.5 9.5h-1600q-13 0 -22.5 -9.5t-9.5 -22.5v-1216q0 -13 9.5 -22.5t22.5 -9.5h1600q13 0 22.5 9.5t9.5 22.5z M1920 1248v-1216q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />
155
+ <glyph unicode="&#xf081;" d="M1280 926q-56 -25 -121 -34q68 40 93 117q-65 -38 -134 -51q-61 66 -153 66q-87 0 -148.5 -61.5t-61.5 -148.5q0 -29 5 -48q-129 7 -242 65t-192 155q-29 -50 -29 -106q0 -114 91 -175q-47 1 -100 26v-2q0 -75 50 -133.5t123 -72.5q-29 -8 -51 -8q-13 0 -39 4 q21 -63 74.5 -104t121.5 -42q-116 -90 -261 -90q-26 0 -50 3q148 -94 322 -94q112 0 210 35.5t168 95t120.5 137t75 162t24.5 168.5q0 18 -1 27q63 45 105 109zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5 t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
156
+ <glyph unicode="&#xf082;" d="M1307 618l23 219h-198v109q0 49 15.5 68.5t71.5 19.5h110v219h-175q-152 0 -218 -72t-66 -213v-131h-131v-219h131v-635h262v635h175zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960 q119 0 203.5 -84.5t84.5 -203.5z" />
157
+ <glyph unicode="&#xf083;" horiz-adv-x="1792" d="M928 704q0 14 -9 23t-23 9q-66 0 -113 -47t-47 -113q0 -14 9 -23t23 -9t23 9t9 23q0 40 28 68t68 28q14 0 23 9t9 23zM1152 574q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181zM128 0h1536v128h-1536v-128zM1280 574q0 159 -112.5 271.5 t-271.5 112.5t-271.5 -112.5t-112.5 -271.5t112.5 -271.5t271.5 -112.5t271.5 112.5t112.5 271.5zM256 1216h384v128h-384v-128zM128 1024h1536v118v138h-828l-64 -128h-644v-128zM1792 1280v-1280q0 -53 -37.5 -90.5t-90.5 -37.5h-1536q-53 0 -90.5 37.5t-37.5 90.5v1280 q0 53 37.5 90.5t90.5 37.5h1536q53 0 90.5 -37.5t37.5 -90.5z" />
158
+ <glyph unicode="&#xf084;" horiz-adv-x="1792" d="M832 1024q0 80 -56 136t-136 56t-136 -56t-56 -136q0 -42 19 -83q-41 19 -83 19q-80 0 -136 -56t-56 -136t56 -136t136 -56t136 56t56 136q0 42 -19 83q41 -19 83 -19q80 0 136 56t56 136zM1683 320q0 -17 -49 -66t-66 -49q-9 0 -28.5 16t-36.5 33t-38.5 40t-24.5 26 l-96 -96l220 -220q28 -28 28 -68q0 -42 -39 -81t-81 -39q-40 0 -68 28l-671 671q-176 -131 -365 -131q-163 0 -265.5 102.5t-102.5 265.5q0 160 95 313t248 248t313 95q163 0 265.5 -102.5t102.5 -265.5q0 -189 -131 -365l355 -355l96 96q-3 3 -26 24.5t-40 38.5t-33 36.5 t-16 28.5q0 17 49 66t66 49q13 0 23 -10q6 -6 46 -44.5t82 -79.5t86.5 -86t73 -78t28.5 -41z" />
159
+ <glyph unicode="&#xf085;" horiz-adv-x="1920" d="M896 640q0 106 -75 181t-181 75t-181 -75t-75 -181t75 -181t181 -75t181 75t75 181zM1664 128q0 52 -38 90t-90 38t-90 -38t-38 -90q0 -53 37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1664 1152q0 52 -38 90t-90 38t-90 -38t-38 -90q0 -53 37.5 -90.5t90.5 -37.5 t90.5 37.5t37.5 90.5zM1280 731v-185q0 -10 -7 -19.5t-16 -10.5l-155 -24q-11 -35 -32 -76q34 -48 90 -115q7 -10 7 -20q0 -12 -7 -19q-23 -30 -82.5 -89.5t-78.5 -59.5q-11 0 -21 7l-115 90q-37 -19 -77 -31q-11 -108 -23 -155q-7 -24 -30 -24h-186q-11 0 -20 7.5t-10 17.5 l-23 153q-34 10 -75 31l-118 -89q-7 -7 -20 -7q-11 0 -21 8q-144 133 -144 160q0 9 7 19q10 14 41 53t47 61q-23 44 -35 82l-152 24q-10 1 -17 9.5t-7 19.5v185q0 10 7 19.5t16 10.5l155 24q11 35 32 76q-34 48 -90 115q-7 11 -7 20q0 12 7 20q22 30 82 89t79 59q11 0 21 -7 l115 -90q34 18 77 32q11 108 23 154q7 24 30 24h186q11 0 20 -7.5t10 -17.5l23 -153q34 -10 75 -31l118 89q8 7 20 7q11 0 21 -8q144 -133 144 -160q0 -9 -7 -19q-12 -16 -42 -54t-45 -60q23 -48 34 -82l152 -23q10 -2 17 -10.5t7 -19.5zM1920 198v-140q0 -16 -149 -31 q-12 -27 -30 -52q51 -113 51 -138q0 -4 -4 -7q-122 -71 -124 -71q-8 0 -46 47t-52 68q-20 -2 -30 -2t-30 2q-14 -21 -52 -68t-46 -47q-2 0 -124 71q-4 3 -4 7q0 25 51 138q-18 25 -30 52q-149 15 -149 31v140q0 16 149 31q13 29 30 52q-51 113 -51 138q0 4 4 7q4 2 35 20 t59 34t30 16q8 0 46 -46.5t52 -67.5q20 2 30 2t30 -2q51 71 92 112l6 2q4 0 124 -70q4 -3 4 -7q0 -25 -51 -138q17 -23 30 -52q149 -15 149 -31zM1920 1222v-140q0 -16 -149 -31q-12 -27 -30 -52q51 -113 51 -138q0 -4 -4 -7q-122 -71 -124 -71q-8 0 -46 47t-52 68 q-20 -2 -30 -2t-30 2q-14 -21 -52 -68t-46 -47q-2 0 -124 71q-4 3 -4 7q0 25 51 138q-18 25 -30 52q-149 15 -149 31v140q0 16 149 31q13 29 30 52q-51 113 -51 138q0 4 4 7q4 2 35 20t59 34t30 16q8 0 46 -46.5t52 -67.5q20 2 30 2t30 -2q51 71 92 112l6 2q4 0 124 -70 q4 -3 4 -7q0 -25 -51 -138q17 -23 30 -52q149 -15 149 -31z" />
160
+ <glyph unicode="&#xf086;" horiz-adv-x="1792" d="M1408 768q0 -139 -94 -257t-256.5 -186.5t-353.5 -68.5q-86 0 -176 16q-124 -88 -278 -128q-36 -9 -86 -16h-3q-11 0 -20.5 8t-11.5 21q-1 3 -1 6.5t0.5 6.5t2 6l2.5 5t3.5 5.5t4 5t4.5 5t4 4.5q5 6 23 25t26 29.5t22.5 29t25 38.5t20.5 44q-124 72 -195 177t-71 224 q0 139 94 257t256.5 186.5t353.5 68.5t353.5 -68.5t256.5 -186.5t94 -257zM1792 512q0 -120 -71 -224.5t-195 -176.5q10 -24 20.5 -44t25 -38.5t22.5 -29t26 -29.5t23 -25q1 -1 4 -4.5t4.5 -5t4 -5t3.5 -5.5l2.5 -5t2 -6t0.5 -6.5t-1 -6.5q-3 -14 -13 -22t-22 -7 q-50 7 -86 16q-154 40 -278 128q-90 -16 -176 -16q-271 0 -472 132q58 -4 88 -4q161 0 309 45t264 129q125 92 192 212t67 254q0 77 -23 152q129 -71 204 -178t75 -230z" />
161
+ <glyph unicode="&#xf087;" d="M256 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 768q0 51 -39 89.5t-89 38.5h-352q0 58 48 159.5t48 160.5q0 98 -32 145t-128 47q-26 -26 -38 -85t-30.5 -125.5t-59.5 -109.5q-22 -23 -77 -91q-4 -5 -23 -30t-31.5 -41t-34.5 -42.5 t-40 -44t-38.5 -35.5t-40 -27t-35.5 -9h-32v-640h32q13 0 31.5 -3t33 -6.5t38 -11t35 -11.5t35.5 -12.5t29 -10.5q211 -73 342 -73h121q192 0 192 167q0 26 -5 56q30 16 47.5 52.5t17.5 73.5t-18 69q53 50 53 119q0 25 -10 55.5t-25 47.5q32 1 53.5 47t21.5 81zM1536 769 q0 -89 -49 -163q9 -33 9 -69q0 -77 -38 -144q3 -21 3 -43q0 -101 -60 -178q1 -139 -85 -219.5t-227 -80.5h-36h-93q-96 0 -189.5 22.5t-216.5 65.5q-116 40 -138 40h-288q-53 0 -90.5 37.5t-37.5 90.5v640q0 53 37.5 90.5t90.5 37.5h274q36 24 137 155q58 75 107 128 q24 25 35.5 85.5t30.5 126.5t62 108q39 37 90 37q84 0 151 -32.5t102 -101.5t35 -186q0 -93 -48 -192h176q104 0 180 -76t76 -179z" />
162
+ <glyph unicode="&#xf088;" d="M256 1088q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 512q0 35 -21.5 81t-53.5 47q15 17 25 47.5t10 55.5q0 69 -53 119q18 32 18 69t-17.5 73.5t-47.5 52.5q5 30 5 56q0 85 -49 126t-136 41h-128q-131 0 -342 -73q-5 -2 -29 -10.5 t-35.5 -12.5t-35 -11.5t-38 -11t-33 -6.5t-31.5 -3h-32v-640h32q16 0 35.5 -9t40 -27t38.5 -35.5t40 -44t34.5 -42.5t31.5 -41t23 -30q55 -68 77 -91q41 -43 59.5 -109.5t30.5 -125.5t38 -85q96 0 128 47t32 145q0 59 -48 160.5t-48 159.5h352q50 0 89 38.5t39 89.5z M1536 511q0 -103 -76 -179t-180 -76h-176q48 -99 48 -192q0 -118 -35 -186q-35 -69 -102 -101.5t-151 -32.5q-51 0 -90 37q-34 33 -54 82t-25.5 90.5t-17.5 84.5t-31 64q-48 50 -107 127q-101 131 -137 155h-274q-53 0 -90.5 37.5t-37.5 90.5v640q0 53 37.5 90.5t90.5 37.5 h288q22 0 138 40q128 44 223 66t200 22h112q140 0 226.5 -79t85.5 -216v-5q60 -77 60 -178q0 -22 -3 -43q38 -67 38 -144q0 -36 -9 -69q49 -74 49 -163z" />
163
+ <glyph unicode="&#xf089;" horiz-adv-x="896" d="M832 1504v-1339l-449 -236q-22 -12 -40 -12q-21 0 -31.5 14.5t-10.5 35.5q0 6 2 20l86 500l-364 354q-25 27 -25 48q0 37 56 46l502 73l225 455q19 41 49 41z" />
164
+ <glyph unicode="&#xf08a;" horiz-adv-x="1792" d="M1664 940q0 81 -21.5 143t-55 98.5t-81.5 59.5t-94 31t-98 8t-112 -25.5t-110.5 -64t-86.5 -72t-60 -61.5q-18 -22 -49 -22t-49 22q-24 28 -60 61.5t-86.5 72t-110.5 64t-112 25.5t-98 -8t-94 -31t-81.5 -59.5t-55 -98.5t-21.5 -143q0 -168 187 -355l581 -560l580 559 q188 188 188 356zM1792 940q0 -221 -229 -450l-623 -600q-18 -18 -44 -18t-44 18l-624 602q-10 8 -27.5 26t-55.5 65.5t-68 97.5t-53.5 121t-23.5 138q0 220 127 344t351 124q62 0 126.5 -21.5t120 -58t95.5 -68.5t76 -68q36 36 76 68t95.5 68.5t120 58t126.5 21.5 q224 0 351 -124t127 -344z" />
165
+ <glyph unicode="&#xf08b;" horiz-adv-x="1664" d="M640 96q0 -4 1 -20t0.5 -26.5t-3 -23.5t-10 -19.5t-20.5 -6.5h-320q-119 0 -203.5 84.5t-84.5 203.5v704q0 119 84.5 203.5t203.5 84.5h320q13 0 22.5 -9.5t9.5 -22.5q0 -4 1 -20t0.5 -26.5t-3 -23.5t-10 -19.5t-20.5 -6.5h-320q-66 0 -113 -47t-47 -113v-704 q0 -66 47 -113t113 -47h288h11h13t11.5 -1t11.5 -3t8 -5.5t7 -9t2 -13.5zM1568 640q0 -26 -19 -45l-544 -544q-19 -19 -45 -19t-45 19t-19 45v288h-448q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h448v288q0 26 19 45t45 19t45 -19l544 -544q19 -19 19 -45z" />
166
+ <glyph unicode="&#xf08c;" d="M237 122h231v694h-231v-694zM483 1030q-1 52 -36 86t-93 34t-94.5 -34t-36.5 -86q0 -51 35.5 -85.5t92.5 -34.5h1q59 0 95 34.5t36 85.5zM1068 122h231v398q0 154 -73 233t-193 79q-136 0 -209 -117h2v101h-231q3 -66 0 -694h231v388q0 38 7 56q15 35 45 59.5t74 24.5 q116 0 116 -157v-371zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
167
+ <glyph unicode="&#xf08d;" horiz-adv-x="1152" d="M480 672v448q0 14 -9 23t-23 9t-23 -9t-9 -23v-448q0 -14 9 -23t23 -9t23 9t9 23zM1152 320q0 -26 -19 -45t-45 -19h-429l-51 -483q-2 -12 -10.5 -20.5t-20.5 -8.5h-1q-27 0 -32 27l-76 485h-404q-26 0 -45 19t-19 45q0 123 78.5 221.5t177.5 98.5v512q-52 0 -90 38 t-38 90t38 90t90 38h640q52 0 90 -38t38 -90t-38 -90t-90 -38v-512q99 0 177.5 -98.5t78.5 -221.5z" />
168
+ <glyph unicode="&#xf08e;" horiz-adv-x="1792" d="M1408 608v-320q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h704q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-704q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v320 q0 14 9 23t23 9h64q14 0 23 -9t9 -23zM1792 1472v-512q0 -26 -19 -45t-45 -19t-45 19l-176 176l-652 -652q-10 -10 -23 -10t-23 10l-114 114q-10 10 -10 23t10 23l652 652l-176 176q-19 19 -19 45t19 45t45 19h512q26 0 45 -19t19 -45z" />
169
+ <glyph unicode="&#xf090;" d="M1184 640q0 -26 -19 -45l-544 -544q-19 -19 -45 -19t-45 19t-19 45v288h-448q-26 0 -45 19t-19 45v384q0 26 19 45t45 19h448v288q0 26 19 45t45 19t45 -19l544 -544q19 -19 19 -45zM1536 992v-704q0 -119 -84.5 -203.5t-203.5 -84.5h-320q-13 0 -22.5 9.5t-9.5 22.5 q0 4 -1 20t-0.5 26.5t3 23.5t10 19.5t20.5 6.5h320q66 0 113 47t47 113v704q0 66 -47 113t-113 47h-288h-11h-13t-11.5 1t-11.5 3t-8 5.5t-7 9t-2 13.5q0 4 -1 20t-0.5 26.5t3 23.5t10 19.5t20.5 6.5h320q119 0 203.5 -84.5t84.5 -203.5z" />
170
+ <glyph unicode="&#xf091;" horiz-adv-x="1664" d="M458 653q-74 162 -74 371h-256v-96q0 -78 94.5 -162t235.5 -113zM1536 928v96h-256q0 -209 -74 -371q141 29 235.5 113t94.5 162zM1664 1056v-128q0 -71 -41.5 -143t-112 -130t-173 -97.5t-215.5 -44.5q-42 -54 -95 -95q-38 -34 -52.5 -72.5t-14.5 -89.5q0 -54 30.5 -91 t97.5 -37q75 0 133.5 -45.5t58.5 -114.5v-64q0 -14 -9 -23t-23 -9h-832q-14 0 -23 9t-9 23v64q0 69 58.5 114.5t133.5 45.5q67 0 97.5 37t30.5 91q0 51 -14.5 89.5t-52.5 72.5q-53 41 -95 95q-113 5 -215.5 44.5t-173 97.5t-112 130t-41.5 143v128q0 40 28 68t68 28h288v96 q0 66 47 113t113 47h576q66 0 113 -47t47 -113v-96h288q40 0 68 -28t28 -68z" />
171
+ <glyph unicode="&#xf092;" d="M394 184q-8 -9 -20 3q-13 11 -4 19q8 9 20 -3q12 -11 4 -19zM352 245q9 -12 0 -19q-8 -6 -17 7t0 18q9 7 17 -6zM291 305q-5 -7 -13 -2q-10 5 -7 12q3 5 13 2q10 -5 7 -12zM322 271q-6 -7 -16 3q-9 11 -2 16q6 6 16 -3q9 -11 2 -16zM451 159q-4 -12 -19 -6q-17 4 -13 15 t19 7q16 -5 13 -16zM514 154q0 -11 -16 -11q-17 -2 -17 11q0 11 16 11q17 2 17 -11zM572 164q2 -10 -14 -14t-18 8t14 15q16 2 18 -9zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-224q-16 0 -24.5 1t-19.5 5t-16 14.5t-5 27.5v239q0 97 -52 142q57 6 102.5 18t94 39 t81 66.5t53 105t20.5 150.5q0 121 -79 206q37 91 -8 204q-28 9 -81 -11t-92 -44l-38 -24q-93 26 -192 26t-192 -26q-16 11 -42.5 27t-83.5 38.5t-86 13.5q-44 -113 -7 -204q-79 -85 -79 -206q0 -85 20.5 -150t52.5 -105t80.5 -67t94 -39t102.5 -18q-40 -36 -49 -103 q-21 -10 -45 -15t-57 -5t-65.5 21.5t-55.5 62.5q-19 32 -48.5 52t-49.5 24l-20 3q-21 0 -29 -4.5t-5 -11.5t9 -14t13 -12l7 -5q22 -10 43.5 -38t31.5 -51l10 -23q13 -38 44 -61.5t67 -30t69.5 -7t55.5 3.5l23 4q0 -38 0.5 -103t0.5 -68q0 -22 -11 -33.5t-22 -13t-33 -1.5 h-224q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
172
+ <glyph unicode="&#xf093;" horiz-adv-x="1664" d="M1280 64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 288v-320q0 -40 -28 -68t-68 -28h-1472q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h427q21 -56 70.5 -92 t110.5 -36h256q61 0 110.5 36t70.5 92h427q40 0 68 -28t28 -68zM1339 936q-17 -40 -59 -40h-256v-448q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v448h-256q-42 0 -59 40q-17 39 14 69l448 448q18 19 45 19t45 -19l448 -448q31 -30 14 -69z" />
173
+ <glyph unicode="&#xf094;" d="M1407 710q0 44 -7 113.5t-18 96.5q-12 30 -17 44t-9 36.5t-4 48.5q0 23 5 68.5t5 67.5q0 37 -10 55q-4 1 -13 1q-19 0 -58 -4.5t-59 -4.5q-60 0 -176 24t-175 24q-43 0 -94.5 -11.5t-85 -23.5t-89.5 -34q-137 -54 -202 -103q-96 -73 -159.5 -189.5t-88 -236t-24.5 -248.5 q0 -40 12.5 -120t12.5 -121q0 -23 -11 -66.5t-11 -65.5t12 -36.5t34 -14.5q24 0 72.5 11t73.5 11q57 0 169.5 -15.5t169.5 -15.5q181 0 284 36q129 45 235.5 152.5t166 245.5t59.5 275zM1535 712q0 -165 -70 -327.5t-196 -288t-281 -180.5q-124 -44 -326 -44 q-57 0 -170 14.5t-169 14.5q-24 0 -72.5 -14.5t-73.5 -14.5q-73 0 -123.5 55.5t-50.5 128.5q0 24 11 68t11 67q0 40 -12.5 120.5t-12.5 121.5q0 111 18 217.5t54.5 209.5t100.5 194t150 156q78 59 232 120q194 78 316 78q60 0 175.5 -24t173.5 -24q19 0 57 5t58 5 q81 0 118 -50.5t37 -134.5q0 -23 -5 -68t-5 -68q0 -10 1 -18.5t3 -17t4 -13.5t6.5 -16t6.5 -17q16 -40 25 -118.5t9 -136.5z" />
174
+ <glyph unicode="&#xf095;" horiz-adv-x="1408" d="M1408 296q0 -27 -10 -70.5t-21 -68.5q-21 -50 -122 -106q-94 -51 -186 -51q-27 0 -52.5 3.5t-57.5 12.5t-47.5 14.5t-55.5 20.5t-49 18q-98 35 -175 83q-128 79 -264.5 215.5t-215.5 264.5q-48 77 -83 175q-3 9 -18 49t-20.5 55.5t-14.5 47.5t-12.5 57.5t-3.5 52.5 q0 92 51 186q56 101 106 122q25 11 68.5 21t70.5 10q14 0 21 -3q18 -6 53 -76q11 -19 30 -54t35 -63.5t31 -53.5q3 -4 17.5 -25t21.5 -35.5t7 -28.5q0 -20 -28.5 -50t-62 -55t-62 -53t-28.5 -46q0 -9 5 -22.5t8.5 -20.5t14 -24t11.5 -19q76 -137 174 -235t235 -174 q2 -1 19 -11.5t24 -14t20.5 -8.5t22.5 -5q18 0 46 28.5t53 62t55 62t50 28.5q14 0 28.5 -7t35.5 -21.5t25 -17.5q25 -15 53.5 -31t63.5 -35t54 -30q70 -35 76 -53q3 -7 3 -21z" />
175
+ <glyph unicode="&#xf096;" horiz-adv-x="1408" d="M1120 1280h-832q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113v832q0 66 -47 113t-113 47zM1408 1120v-832q0 -119 -84.5 -203.5t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832 q119 0 203.5 -84.5t84.5 -203.5z" />
176
+ <glyph unicode="&#xf097;" horiz-adv-x="1280" d="M1152 1280h-1024v-1242l423 406l89 85l89 -85l423 -406v1242zM1164 1408q23 0 44 -9q33 -13 52.5 -41t19.5 -62v-1289q0 -34 -19.5 -62t-52.5 -41q-19 -8 -44 -8q-48 0 -83 32l-441 424l-441 -424q-36 -33 -83 -33q-23 0 -44 9q-33 13 -52.5 41t-19.5 62v1289 q0 34 19.5 62t52.5 41q21 9 44 9h1048z" />
177
+ <glyph unicode="&#xf098;" d="M1280 343q0 11 -2 16q-3 8 -38.5 29.5t-88.5 49.5l-53 29q-5 3 -19 13t-25 15t-21 5q-18 0 -47 -32.5t-57 -65.5t-44 -33q-7 0 -16.5 3.5t-15.5 6.5t-17 9.5t-14 8.5q-99 55 -170.5 126.5t-126.5 170.5q-2 3 -8.5 14t-9.5 17t-6.5 15.5t-3.5 16.5q0 13 20.5 33.5t45 38.5 t45 39.5t20.5 36.5q0 10 -5 21t-15 25t-13 19q-3 6 -15 28.5t-25 45.5t-26.5 47.5t-25 40.5t-16.5 18t-16 2q-48 0 -101 -22q-46 -21 -80 -94.5t-34 -130.5q0 -16 2.5 -34t5 -30.5t9 -33t10 -29.5t12.5 -33t11 -30q60 -164 216.5 -320.5t320.5 -216.5q6 -2 30 -11t33 -12.5 t29.5 -10t33 -9t30.5 -5t34 -2.5q57 0 130.5 34t94.5 80q22 53 22 101zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
178
+ <glyph unicode="&#xf099;" horiz-adv-x="1664" d="M1620 1128q-67 -98 -162 -167q1 -14 1 -42q0 -130 -38 -259.5t-115.5 -248.5t-184.5 -210.5t-258 -146t-323 -54.5q-271 0 -496 145q35 -4 78 -4q225 0 401 138q-105 2 -188 64.5t-114 159.5q33 -5 61 -5q43 0 85 11q-112 23 -185.5 111.5t-73.5 205.5v4q68 -38 146 -41 q-66 44 -105 115t-39 154q0 88 44 163q121 -149 294.5 -238.5t371.5 -99.5q-8 38 -8 74q0 134 94.5 228.5t228.5 94.5q140 0 236 -102q109 21 205 78q-37 -115 -142 -178q93 10 186 50z" />
179
+ <glyph unicode="&#xf09a;" horiz-adv-x="768" d="M511 980h257l-30 -284h-227v-824h-341v824h-170v284h170v171q0 182 86 275.5t283 93.5h227v-284h-142q-39 0 -62.5 -6.5t-34 -23.5t-13.5 -34.5t-3 -49.5v-142z" />
180
+ <glyph unicode="&#xf09b;" d="M1536 640q0 -251 -146.5 -451.5t-378.5 -277.5q-27 -5 -39.5 7t-12.5 30v211q0 97 -52 142q57 6 102.5 18t94 39t81 66.5t53 105t20.5 150.5q0 121 -79 206q37 91 -8 204q-28 9 -81 -11t-92 -44l-38 -24q-93 26 -192 26t-192 -26q-16 11 -42.5 27t-83.5 38.5t-86 13.5 q-44 -113 -7 -204q-79 -85 -79 -206q0 -85 20.5 -150t52.5 -105t80.5 -67t94 -39t102.5 -18q-40 -36 -49 -103q-21 -10 -45 -15t-57 -5t-65.5 21.5t-55.5 62.5q-19 32 -48.5 52t-49.5 24l-20 3q-21 0 -29 -4.5t-5 -11.5t9 -14t13 -12l7 -5q22 -10 43.5 -38t31.5 -51l10 -23 q13 -38 44 -61.5t67 -30t69.5 -7t55.5 3.5l23 4q0 -38 0.5 -89t0.5 -54q0 -18 -13 -30t-40 -7q-232 77 -378.5 277.5t-146.5 451.5q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
181
+ <glyph unicode="&#xf09c;" horiz-adv-x="1664" d="M1664 960v-256q0 -26 -19 -45t-45 -19h-64q-26 0 -45 19t-19 45v256q0 106 -75 181t-181 75t-181 -75t-75 -181v-192h96q40 0 68 -28t28 -68v-576q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v576q0 40 28 68t68 28h672v192q0 185 131.5 316.5t316.5 131.5 t316.5 -131.5t131.5 -316.5z" />
182
+ <glyph unicode="&#xf09d;" horiz-adv-x="1920" d="M1760 1408q66 0 113 -47t47 -113v-1216q0 -66 -47 -113t-113 -47h-1600q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1600zM160 1280q-13 0 -22.5 -9.5t-9.5 -22.5v-224h1664v224q0 13 -9.5 22.5t-22.5 9.5h-1600zM1760 0q13 0 22.5 9.5t9.5 22.5v608h-1664v-608 q0 -13 9.5 -22.5t22.5 -9.5h1600zM256 128v128h256v-128h-256zM640 128v128h384v-128h-384z" />
183
+ <glyph unicode="&#xf09e;" horiz-adv-x="1408" d="M384 192q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM896 69q2 -28 -17 -48q-18 -21 -47 -21h-135q-25 0 -43 16.5t-20 41.5q-22 229 -184.5 391.5t-391.5 184.5q-25 2 -41.5 20t-16.5 43v135q0 29 21 47q17 17 43 17h5q160 -13 306 -80.5 t259 -181.5q114 -113 181.5 -259t80.5 -306zM1408 67q2 -27 -18 -47q-18 -20 -46 -20h-143q-26 0 -44.5 17.5t-19.5 42.5q-12 215 -101 408.5t-231.5 336t-336 231.5t-408.5 102q-25 1 -42.5 19.5t-17.5 43.5v143q0 28 20 46q18 18 44 18h3q262 -13 501.5 -120t425.5 -294 q187 -186 294 -425.5t120 -501.5z" />
184
+ <glyph unicode="&#xf0a0;" d="M1040 320q0 -33 -23.5 -56.5t-56.5 -23.5t-56.5 23.5t-23.5 56.5t23.5 56.5t56.5 23.5t56.5 -23.5t23.5 -56.5zM1296 320q0 -33 -23.5 -56.5t-56.5 -23.5t-56.5 23.5t-23.5 56.5t23.5 56.5t56.5 23.5t56.5 -23.5t23.5 -56.5zM1408 160v320q0 13 -9.5 22.5t-22.5 9.5 h-1216q-13 0 -22.5 -9.5t-9.5 -22.5v-320q0 -13 9.5 -22.5t22.5 -9.5h1216q13 0 22.5 9.5t9.5 22.5zM178 640h1180l-157 482q-4 13 -16 21.5t-26 8.5h-782q-14 0 -26 -8.5t-16 -21.5zM1536 480v-320q0 -66 -47 -113t-113 -47h-1216q-66 0 -113 47t-47 113v320q0 25 16 75 l197 606q17 53 63 86t101 33h782q55 0 101 -33t63 -86l197 -606q16 -50 16 -75z" />
185
+ <glyph unicode="&#xf0a1;" horiz-adv-x="1792" d="M1664 896q53 0 90.5 -37.5t37.5 -90.5t-37.5 -90.5t-90.5 -37.5v-384q0 -52 -38 -90t-90 -38q-417 347 -812 380q-58 -19 -91 -66t-31 -100.5t40 -92.5q-20 -33 -23 -65.5t6 -58t33.5 -55t48 -50t61.5 -50.5q-29 -58 -111.5 -83t-168.5 -11.5t-132 55.5q-7 23 -29.5 87.5 t-32 94.5t-23 89t-15 101t3.5 98.5t22 110.5h-122q-66 0 -113 47t-47 113v192q0 66 47 113t113 47h480q435 0 896 384q52 0 90 -38t38 -90v-384zM1536 292v954q-394 -302 -768 -343v-270q377 -42 768 -341z" />
186
+ <glyph unicode="&#xf0a2;" horiz-adv-x="1664" d="M848 -160q0 16 -16 16q-59 0 -101.5 42.5t-42.5 101.5q0 16 -16 16t-16 -16q0 -73 51.5 -124.5t124.5 -51.5q16 0 16 16zM183 128h1298q-164 181 -246.5 411.5t-82.5 484.5q0 256 -320 256t-320 -256q0 -254 -82.5 -484.5t-246.5 -411.5zM1664 128q0 -52 -38 -90t-90 -38 h-448q0 -106 -75 -181t-181 -75t-181 75t-75 181h-448q-52 0 -90 38t-38 90q190 161 287 397.5t97 498.5q0 165 96 262t264 117q-8 18 -8 37q0 40 28 68t68 28t68 -28t28 -68q0 -19 -8 -37q168 -20 264 -117t96 -262q0 -262 97 -498.5t287 -397.5z" />
187
+ <glyph unicode="&#xf0a3;" d="M1376 640l138 -135q30 -28 20 -70q-12 -41 -52 -51l-188 -48l53 -186q12 -41 -19 -70q-29 -31 -70 -19l-186 53l-48 -188q-10 -40 -51 -52q-12 -2 -19 -2q-31 0 -51 22l-135 138l-135 -138q-28 -30 -70 -20q-41 11 -51 52l-48 188l-186 -53q-41 -12 -70 19q-31 29 -19 70 l53 186l-188 48q-40 10 -52 51q-10 42 20 70l138 135l-138 135q-30 28 -20 70q12 41 52 51l188 48l-53 186q-12 41 19 70q29 31 70 19l186 -53l48 188q10 41 51 51q41 12 70 -19l135 -139l135 139q29 30 70 19q41 -10 51 -51l48 -188l186 53q41 12 70 -19q31 -29 19 -70 l-53 -186l188 -48q40 -10 52 -51q10 -42 -20 -70z" />
188
+ <glyph unicode="&#xf0a4;" horiz-adv-x="1792" d="M256 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1664 768q0 51 -39 89.5t-89 38.5h-576q0 20 15 48.5t33 55t33 68t15 84.5q0 67 -44.5 97.5t-115.5 30.5q-24 0 -90 -139q-24 -44 -37 -65q-40 -64 -112 -145q-71 -81 -101 -106 q-69 -57 -140 -57h-32v-640h32q72 0 167 -32t193.5 -64t179.5 -32q189 0 189 167q0 26 -5 56q30 16 47.5 52.5t17.5 73.5t-18 69q53 50 53 119q0 25 -10 55.5t-25 47.5h331q52 0 90 38t38 90zM1792 769q0 -105 -75.5 -181t-180.5 -76h-169q-4 -62 -37 -119q3 -21 3 -43 q0 -101 -60 -178q1 -139 -85 -219.5t-227 -80.5q-133 0 -322 69q-164 59 -223 59h-288q-53 0 -90.5 37.5t-37.5 90.5v640q0 53 37.5 90.5t90.5 37.5h288q10 0 21.5 4.5t23.5 14t22.5 18t24 22.5t20.5 21.5t19 21.5t14 17q65 74 100 129q13 21 33 62t37 72t40.5 63t55 49.5 t69.5 17.5q125 0 206.5 -67t81.5 -189q0 -68 -22 -128h374q104 0 180 -76t76 -179z" />
189
+ <glyph unicode="&#xf0a5;" horiz-adv-x="1792" d="M1376 128h32v640h-32q-35 0 -67.5 12t-62.5 37t-50 46t-49 54q-2 3 -3.5 4.5t-4 4.5t-4.5 5q-72 81 -112 145q-14 22 -38 68q-1 3 -10.5 22.5t-18.5 36t-20 35.5t-21.5 30.5t-18.5 11.5q-71 0 -115.5 -30.5t-44.5 -97.5q0 -43 15 -84.5t33 -68t33 -55t15 -48.5h-576 q-50 0 -89 -38.5t-39 -89.5q0 -52 38 -90t90 -38h331q-15 -17 -25 -47.5t-10 -55.5q0 -69 53 -119q-18 -32 -18 -69t17.5 -73.5t47.5 -52.5q-4 -24 -4 -56q0 -85 48.5 -126t135.5 -41q84 0 183 32t194 64t167 32zM1664 192q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45 t45 -19t45 19t19 45zM1792 768v-640q0 -53 -37.5 -90.5t-90.5 -37.5h-288q-59 0 -223 -59q-190 -69 -317 -69q-142 0 -230 77.5t-87 217.5l1 5q-61 76 -61 178q0 22 3 43q-33 57 -37 119h-169q-105 0 -180.5 76t-75.5 181q0 103 76 179t180 76h374q-22 60 -22 128 q0 122 81.5 189t206.5 67q38 0 69.5 -17.5t55 -49.5t40.5 -63t37 -72t33 -62q35 -55 100 -129q2 -3 14 -17t19 -21.5t20.5 -21.5t24 -22.5t22.5 -18t23.5 -14t21.5 -4.5h288q53 0 90.5 -37.5t37.5 -90.5z" />
190
+ <glyph unicode="&#xf0a6;" d="M1280 -64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 700q0 189 -167 189q-26 0 -56 -5q-16 30 -52.5 47.5t-73.5 17.5t-69 -18q-50 53 -119 53q-25 0 -55.5 -10t-47.5 -25v331q0 52 -38 90t-90 38q-51 0 -89.5 -39t-38.5 -89v-576 q-20 0 -48.5 15t-55 33t-68 33t-84.5 15q-67 0 -97.5 -44.5t-30.5 -115.5q0 -24 139 -90q44 -24 65 -37q64 -40 145 -112q81 -71 106 -101q57 -69 57 -140v-32h640v32q0 72 32 167t64 193.5t32 179.5zM1536 705q0 -133 -69 -322q-59 -164 -59 -223v-288q0 -53 -37.5 -90.5 t-90.5 -37.5h-640q-53 0 -90.5 37.5t-37.5 90.5v288q0 10 -4.5 21.5t-14 23.5t-18 22.5t-22.5 24t-21.5 20.5t-21.5 19t-17 14q-74 65 -129 100q-21 13 -62 33t-72 37t-63 40.5t-49.5 55t-17.5 69.5q0 125 67 206.5t189 81.5q68 0 128 -22v374q0 104 76 180t179 76 q105 0 181 -75.5t76 -180.5v-169q62 -4 119 -37q21 3 43 3q101 0 178 -60q139 1 219.5 -85t80.5 -227z" />
191
+ <glyph unicode="&#xf0a7;" d="M1408 576q0 84 -32 183t-64 194t-32 167v32h-640v-32q0 -35 -12 -67.5t-37 -62.5t-46 -50t-54 -49q-9 -8 -14 -12q-81 -72 -145 -112q-22 -14 -68 -38q-3 -1 -22.5 -10.5t-36 -18.5t-35.5 -20t-30.5 -21.5t-11.5 -18.5q0 -71 30.5 -115.5t97.5 -44.5q43 0 84.5 15t68 33 t55 33t48.5 15v-576q0 -50 38.5 -89t89.5 -39q52 0 90 38t38 90v331q46 -35 103 -35q69 0 119 53q32 -18 69 -18t73.5 17.5t52.5 47.5q24 -4 56 -4q85 0 126 48.5t41 135.5zM1280 1344q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1536 580 q0 -142 -77.5 -230t-217.5 -87l-5 1q-76 -61 -178 -61q-22 0 -43 3q-54 -30 -119 -37v-169q0 -105 -76 -180.5t-181 -75.5q-103 0 -179 76t-76 180v374q-54 -22 -128 -22q-121 0 -188.5 81.5t-67.5 206.5q0 38 17.5 69.5t49.5 55t63 40.5t72 37t62 33q55 35 129 100 q3 2 17 14t21.5 19t21.5 20.5t22.5 24t18 22.5t14 23.5t4.5 21.5v288q0 53 37.5 90.5t90.5 37.5h640q53 0 90.5 -37.5t37.5 -90.5v-288q0 -59 59 -223q69 -190 69 -317z" />
192
+ <glyph unicode="&#xf0a8;" d="M1280 576v128q0 26 -19 45t-45 19h-502l189 189q19 19 19 45t-19 45l-91 91q-18 18 -45 18t-45 -18l-362 -362l-91 -91q-18 -18 -18 -45t18 -45l91 -91l362 -362q18 -18 45 -18t45 18l91 91q18 18 18 45t-18 45l-189 189h502q26 0 45 19t19 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
193
+ <glyph unicode="&#xf0a9;" d="M1285 640q0 27 -18 45l-91 91l-362 362q-18 18 -45 18t-45 -18l-91 -91q-18 -18 -18 -45t18 -45l189 -189h-502q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h502l-189 -189q-19 -19 -19 -45t19 -45l91 -91q18 -18 45 -18t45 18l362 362l91 91q18 18 18 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
194
+ <glyph unicode="&#xf0aa;" d="M1284 641q0 27 -18 45l-362 362l-91 91q-18 18 -45 18t-45 -18l-91 -91l-362 -362q-18 -18 -18 -45t18 -45l91 -91q18 -18 45 -18t45 18l189 189v-502q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v502l189 -189q19 -19 45 -19t45 19l91 91q18 18 18 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
195
+ <glyph unicode="&#xf0ab;" d="M1284 639q0 27 -18 45l-91 91q-18 18 -45 18t-45 -18l-189 -189v502q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-502l-189 189q-19 19 -45 19t-45 -19l-91 -91q-18 -18 -18 -45t18 -45l362 -362l91 -91q18 -18 45 -18t45 18l91 91l362 362q18 18 18 45zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
196
+ <glyph unicode="&#xf0ac;" d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM1042 887q-2 -1 -9.5 -9.5t-13.5 -9.5q2 0 4.5 5t5 11t3.5 7q6 7 22 15q14 6 52 12q34 8 51 -11 q-2 2 9.5 13t14.5 12q3 2 15 4.5t15 7.5l2 22q-12 -1 -17.5 7t-6.5 21q0 -2 -6 -8q0 7 -4.5 8t-11.5 -1t-9 -1q-10 3 -15 7.5t-8 16.5t-4 15q-2 5 -9.5 10.5t-9.5 10.5q-1 2 -2.5 5.5t-3 6.5t-4 5.5t-5.5 2.5t-7 -5t-7.5 -10t-4.5 -5q-3 2 -6 1.5t-4.5 -1t-4.5 -3t-5 -3.5 q-3 -2 -8.5 -3t-8.5 -2q15 5 -1 11q-10 4 -16 3q9 4 7.5 12t-8.5 14h5q-1 4 -8.5 8.5t-17.5 8.5t-13 6q-8 5 -34 9.5t-33 0.5q-5 -6 -4.5 -10.5t4 -14t3.5 -12.5q1 -6 -5.5 -13t-6.5 -12q0 -7 14 -15.5t10 -21.5q-3 -8 -16 -16t-16 -12q-5 -8 -1.5 -18.5t10.5 -16.5 q2 -2 1.5 -4t-3.5 -4.5t-5.5 -4t-6.5 -3.5l-3 -2q-11 -5 -20.5 6t-13.5 26q-7 25 -16 30q-23 8 -29 -1q-5 13 -41 26q-25 9 -58 4q6 1 0 15q-7 15 -19 12q3 6 4 17.5t1 13.5q3 13 12 23q1 1 7 8.5t9.5 13.5t0.5 6q35 -4 50 11q5 5 11.5 17t10.5 17q9 6 14 5.5t14.5 -5.5 t14.5 -5q14 -1 15.5 11t-7.5 20q12 -1 3 17q-5 7 -8 9q-12 4 -27 -5q-8 -4 2 -8q-1 1 -9.5 -10.5t-16.5 -17.5t-16 5q-1 1 -5.5 13.5t-9.5 13.5q-8 0 -16 -15q3 8 -11 15t-24 8q19 12 -8 27q-7 4 -20.5 5t-19.5 -4q-5 -7 -5.5 -11.5t5 -8t10.5 -5.5t11.5 -4t8.5 -3 q14 -10 8 -14q-2 -1 -8.5 -3.5t-11.5 -4.5t-6 -4q-3 -4 0 -14t-2 -14q-5 5 -9 17.5t-7 16.5q7 -9 -25 -6l-10 1q-4 0 -16 -2t-20.5 -1t-13.5 8q-4 8 0 20q1 4 4 2q-4 3 -11 9.5t-10 8.5q-46 -15 -94 -41q6 -1 12 1q5 2 13 6.5t10 5.5q34 14 42 7l5 5q14 -16 20 -25 q-7 4 -30 1q-20 -6 -22 -12q7 -12 5 -18q-4 3 -11.5 10t-14.5 11t-15 5q-16 0 -22 -1q-146 -80 -235 -222q7 -7 12 -8q4 -1 5 -9t2.5 -11t11.5 3q9 -8 3 -19q1 1 44 -27q19 -17 21 -21q3 -11 -10 -18q-1 2 -9 9t-9 4q-3 -5 0.5 -18.5t10.5 -12.5q-7 0 -9.5 -16t-2.5 -35.5 t-1 -23.5l2 -1q-3 -12 5.5 -34.5t21.5 -19.5q-13 -3 20 -43q6 -8 8 -9q3 -2 12 -7.5t15 -10t10 -10.5q4 -5 10 -22.5t14 -23.5q-2 -6 9.5 -20t10.5 -23q-1 0 -2.5 -1t-2.5 -1q3 -7 15.5 -14t15.5 -13q1 -3 2 -10t3 -11t8 -2q2 20 -24 62q-15 25 -17 29q-3 5 -5.5 15.5 t-4.5 14.5q2 0 6 -1.5t8.5 -3.5t7.5 -4t2 -3q-3 -7 2 -17.5t12 -18.5t17 -19t12 -13q6 -6 14 -19.5t0 -13.5q9 0 20 -10t17 -20q5 -8 8 -26t5 -24q2 -7 8.5 -13.5t12.5 -9.5l16 -8t13 -7q5 -2 18.5 -10.5t21.5 -11.5q10 -4 16 -4t14.5 2.5t13.5 3.5q15 2 29 -15t21 -21 q36 -19 55 -11q-2 -1 0.5 -7.5t8 -15.5t9 -14.5t5.5 -8.5q5 -6 18 -15t18 -15q6 4 7 9q-3 -8 7 -20t18 -10q14 3 14 32q-31 -15 -49 18q0 1 -2.5 5.5t-4 8.5t-2.5 8.5t0 7.5t5 3q9 0 10 3.5t-2 12.5t-4 13q-1 8 -11 20t-12 15q-5 -9 -16 -8t-16 9q0 -1 -1.5 -5.5t-1.5 -6.5 q-13 0 -15 1q1 3 2.5 17.5t3.5 22.5q1 4 5.5 12t7.5 14.5t4 12.5t-4.5 9.5t-17.5 2.5q-19 -1 -26 -20q-1 -3 -3 -10.5t-5 -11.5t-9 -7q-7 -3 -24 -2t-24 5q-13 8 -22.5 29t-9.5 37q0 10 2.5 26.5t3 25t-5.5 24.5q3 2 9 9.5t10 10.5q2 1 4.5 1.5t4.5 0t4 1.5t3 6q-1 1 -4 3 q-3 3 -4 3q7 -3 28.5 1.5t27.5 -1.5q15 -11 22 2q0 1 -2.5 9.5t-0.5 13.5q5 -27 29 -9q3 -3 15.5 -5t17.5 -5q3 -2 7 -5.5t5.5 -4.5t5 0.5t8.5 6.5q10 -14 12 -24q11 -40 19 -44q7 -3 11 -2t4.5 9.5t0 14t-1.5 12.5l-1 8v18l-1 8q-15 3 -18.5 12t1.5 18.5t15 18.5q1 1 8 3.5 t15.5 6.5t12.5 8q21 19 15 35q7 0 11 9q-1 0 -5 3t-7.5 5t-4.5 2q9 5 2 16q5 3 7.5 11t7.5 10q9 -12 21 -2q7 8 1 16q5 7 20.5 10.5t18.5 9.5q7 -2 8 2t1 12t3 12q4 5 15 9t13 5l17 11q3 4 0 4q18 -2 31 11q10 11 -6 20q3 6 -3 9.5t-15 5.5q3 1 11.5 0.5t10.5 1.5 q15 10 -7 16q-17 5 -43 -12zM879 10q206 36 351 189q-3 3 -12.5 4.5t-12.5 3.5q-18 7 -24 8q1 7 -2.5 13t-8 9t-12.5 8t-11 7q-2 2 -7 6t-7 5.5t-7.5 4.5t-8.5 2t-10 -1l-3 -1q-3 -1 -5.5 -2.5t-5.5 -3t-4 -3t0 -2.5q-21 17 -36 22q-5 1 -11 5.5t-10.5 7t-10 1.5t-11.5 -7 q-5 -5 -6 -15t-2 -13q-7 5 0 17.5t2 18.5q-3 6 -10.5 4.5t-12 -4.5t-11.5 -8.5t-9 -6.5t-8.5 -5.5t-8.5 -7.5q-3 -4 -6 -12t-5 -11q-2 4 -11.5 6.5t-9.5 5.5q2 -10 4 -35t5 -38q7 -31 -12 -48q-27 -25 -29 -40q-4 -22 12 -26q0 -7 -8 -20.5t-7 -21.5q0 -6 2 -16z" />
197
+ <glyph unicode="&#xf0ad;" horiz-adv-x="1664" d="M384 64q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1028 484l-682 -682q-37 -37 -90 -37q-52 0 -91 37l-106 108q-38 36 -38 90q0 53 38 91l681 681q39 -98 114.5 -173.5t173.5 -114.5zM1662 919q0 -39 -23 -106q-47 -134 -164.5 -217.5 t-258.5 -83.5q-185 0 -316.5 131.5t-131.5 316.5t131.5 316.5t316.5 131.5q58 0 121.5 -16.5t107.5 -46.5q16 -11 16 -28t-16 -28l-293 -169v-224l193 -107q5 3 79 48.5t135.5 81t70.5 35.5q15 0 23.5 -10t8.5 -25z" />
198
+ <glyph unicode="&#xf0ae;" horiz-adv-x="1792" d="M1024 128h640v128h-640v-128zM640 640h1024v128h-1024v-128zM1280 1152h384v128h-384v-128zM1792 320v-256q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 832v-256q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19 t-19 45v256q0 26 19 45t45 19h1664q26 0 45 -19t19 -45zM1792 1344v-256q0 -26 -19 -45t-45 -19h-1664q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1664q26 0 45 -19t19 -45z" />
199
+ <glyph unicode="&#xf0b0;" horiz-adv-x="1408" d="M1403 1241q17 -41 -14 -70l-493 -493v-742q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-256 256q-19 19 -19 45v486l-493 493q-31 29 -14 70q17 39 59 39h1280q42 0 59 -39z" />
200
+ <glyph unicode="&#xf0b1;" horiz-adv-x="1792" d="M640 1280h512v128h-512v-128zM1792 640v-480q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v480h672v-160q0 -26 19 -45t45 -19h320q26 0 45 19t19 45v160h672zM1024 640v-128h-256v128h256zM1792 1120v-384h-1792v384q0 66 47 113t113 47h352v160q0 40 28 68 t68 28h576q40 0 68 -28t28 -68v-160h352q66 0 113 -47t47 -113z" />
201
+ <glyph unicode="&#xf0b2;" d="M1283 995l-355 -355l355 -355l144 144q29 31 70 14q39 -17 39 -59v-448q0 -26 -19 -45t-45 -19h-448q-42 0 -59 40q-17 39 14 69l144 144l-355 355l-355 -355l144 -144q31 -30 14 -69q-17 -40 -59 -40h-448q-26 0 -45 19t-19 45v448q0 42 40 59q39 17 69 -14l144 -144 l355 355l-355 355l-144 -144q-19 -19 -45 -19q-12 0 -24 5q-40 17 -40 59v448q0 26 19 45t45 19h448q42 0 59 -40q17 -39 -14 -69l-144 -144l355 -355l355 355l-144 144q-31 30 -14 69q17 40 59 40h448q26 0 45 -19t19 -45v-448q0 -42 -39 -59q-13 -5 -25 -5q-26 0 -45 19z " />
202
+ <glyph unicode="&#xf0c0;" horiz-adv-x="1920" d="M593 640q-162 -5 -265 -128h-134q-82 0 -138 40.5t-56 118.5q0 353 124 353q6 0 43.5 -21t97.5 -42.5t119 -21.5q67 0 133 23q-5 -37 -5 -66q0 -139 81 -256zM1664 3q0 -120 -73 -189.5t-194 -69.5h-874q-121 0 -194 69.5t-73 189.5q0 53 3.5 103.5t14 109t26.5 108.5 t43 97.5t62 81t85.5 53.5t111.5 20q10 0 43 -21.5t73 -48t107 -48t135 -21.5t135 21.5t107 48t73 48t43 21.5q61 0 111.5 -20t85.5 -53.5t62 -81t43 -97.5t26.5 -108.5t14 -109t3.5 -103.5zM640 1280q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75 t75 -181zM1344 896q0 -159 -112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5t271.5 -112.5t112.5 -271.5zM1920 671q0 -78 -56 -118.5t-138 -40.5h-134q-103 123 -265 128q81 117 81 256q0 29 -5 66q66 -23 133 -23q59 0 119 21.5t97.5 42.5 t43.5 21q124 0 124 -353zM1792 1280q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181z" />
203
+ <glyph unicode="&#xf0c1;" horiz-adv-x="1664" d="M1456 320q0 40 -28 68l-208 208q-28 28 -68 28q-42 0 -72 -32q3 -3 19 -18.5t21.5 -21.5t15 -19t13 -25.5t3.5 -27.5q0 -40 -28 -68t-68 -28q-15 0 -27.5 3.5t-25.5 13t-19 15t-21.5 21.5t-18.5 19q-33 -31 -33 -73q0 -40 28 -68l206 -207q27 -27 68 -27q40 0 68 26 l147 146q28 28 28 67zM753 1025q0 40 -28 68l-206 207q-28 28 -68 28q-39 0 -68 -27l-147 -146q-28 -28 -28 -67q0 -40 28 -68l208 -208q27 -27 68 -27q42 0 72 31q-3 3 -19 18.5t-21.5 21.5t-15 19t-13 25.5t-3.5 27.5q0 40 28 68t68 28q15 0 27.5 -3.5t25.5 -13t19 -15 t21.5 -21.5t18.5 -19q33 31 33 73zM1648 320q0 -120 -85 -203l-147 -146q-83 -83 -203 -83q-121 0 -204 85l-206 207q-83 83 -83 203q0 123 88 209l-88 88q-86 -88 -208 -88q-120 0 -204 84l-208 208q-84 84 -84 204t85 203l147 146q83 83 203 83q121 0 204 -85l206 -207 q83 -83 83 -203q0 -123 -88 -209l88 -88q86 88 208 88q120 0 204 -84l208 -208q84 -84 84 -204z" />
204
+ <glyph unicode="&#xf0c2;" horiz-adv-x="1920" d="M1920 384q0 -159 -112.5 -271.5t-271.5 -112.5h-1088q-185 0 -316.5 131.5t-131.5 316.5q0 132 71 241.5t187 163.5q-2 28 -2 43q0 212 150 362t362 150q158 0 286.5 -88t187.5 -230q70 62 166 62q106 0 181 -75t75 -181q0 -75 -41 -138q129 -30 213 -134.5t84 -239.5z " />
205
+ <glyph unicode="&#xf0c3;" horiz-adv-x="1664" d="M1527 88q56 -89 21.5 -152.5t-140.5 -63.5h-1152q-106 0 -140.5 63.5t21.5 152.5l503 793v399h-64q-26 0 -45 19t-19 45t19 45t45 19h512q26 0 45 -19t19 -45t-19 -45t-45 -19h-64v-399zM748 813l-272 -429h712l-272 429l-20 31v37v399h-128v-399v-37z" />
206
+ <glyph unicode="&#xf0c4;" horiz-adv-x="1792" d="M960 640q26 0 45 -19t19 -45t-19 -45t-45 -19t-45 19t-19 45t19 45t45 19zM1260 576l507 -398q28 -20 25 -56q-5 -35 -35 -51l-128 -64q-13 -7 -29 -7q-17 0 -31 8l-690 387l-110 -66q-8 -4 -12 -5q14 -49 10 -97q-7 -77 -56 -147.5t-132 -123.5q-132 -84 -277 -84 q-136 0 -222 78q-90 84 -79 207q7 76 56 147t131 124q132 84 278 84q83 0 151 -31q9 13 22 22l122 73l-122 73q-13 9 -22 22q-68 -31 -151 -31q-146 0 -278 84q-82 53 -131 124t-56 147q-5 59 15.5 113t63.5 93q85 79 222 79q145 0 277 -84q83 -52 132 -123t56 -148 q4 -48 -10 -97q4 -1 12 -5l110 -66l690 387q14 8 31 8q16 0 29 -7l128 -64q30 -16 35 -51q3 -36 -25 -56zM579 836q46 42 21 108t-106 117q-92 59 -192 59q-74 0 -113 -36q-46 -42 -21 -108t106 -117q92 -59 192 -59q74 0 113 36zM494 91q81 51 106 117t-21 108 q-39 36 -113 36q-100 0 -192 -59q-81 -51 -106 -117t21 -108q39 -36 113 -36q100 0 192 59zM672 704l96 -58v11q0 36 33 56l14 8l-79 47l-26 -26q-3 -3 -10 -11t-12 -12q-2 -2 -4 -3.5t-3 -2.5zM896 480l96 -32l736 576l-128 64l-768 -431v-113l-160 -96l9 -8q2 -2 7 -6 q4 -4 11 -12t11 -12l26 -26zM1600 64l128 64l-520 408l-177 -138q-2 -3 -13 -7z" />
207
+ <glyph unicode="&#xf0c5;" horiz-adv-x="1792" d="M1696 1152q40 0 68 -28t28 -68v-1216q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v288h-544q-40 0 -68 28t-28 68v672q0 40 20 88t48 76l408 408q28 28 76 48t88 20h416q40 0 68 -28t28 -68v-328q68 40 128 40h416zM1152 939l-299 -299h299v299zM512 1323l-299 -299 h299v299zM708 676l316 316v416h-384v-416q0 -40 -28 -68t-68 -28h-416v-640h512v256q0 40 20 88t48 76zM1664 -128v1152h-384v-416q0 -40 -28 -68t-68 -28h-416v-640h896z" />
208
+ <glyph unicode="&#xf0c6;" horiz-adv-x="1408" d="M1404 151q0 -117 -79 -196t-196 -79q-135 0 -235 100l-777 776q-113 115 -113 271q0 159 110 270t269 111q158 0 273 -113l605 -606q10 -10 10 -22q0 -16 -30.5 -46.5t-46.5 -30.5q-13 0 -23 10l-606 607q-79 77 -181 77q-106 0 -179 -75t-73 -181q0 -105 76 -181 l776 -777q63 -63 145 -63q64 0 106 42t42 106q0 82 -63 145l-581 581q-26 24 -60 24q-29 0 -48 -19t-19 -48q0 -32 25 -59l410 -410q10 -10 10 -22q0 -16 -31 -47t-47 -31q-12 0 -22 10l-410 410q-63 61 -63 149q0 82 57 139t139 57q88 0 149 -63l581 -581q100 -98 100 -235 z" />
209
+ <glyph unicode="&#xf0c7;" d="M384 0h768v384h-768v-384zM1280 0h128v896q0 14 -10 38.5t-20 34.5l-281 281q-10 10 -34 20t-39 10v-416q0 -40 -28 -68t-68 -28h-576q-40 0 -68 28t-28 68v416h-128v-1280h128v416q0 40 28 68t68 28h832q40 0 68 -28t28 -68v-416zM896 928v320q0 13 -9.5 22.5t-22.5 9.5 h-192q-13 0 -22.5 -9.5t-9.5 -22.5v-320q0 -13 9.5 -22.5t22.5 -9.5h192q13 0 22.5 9.5t9.5 22.5zM1536 896v-928q0 -40 -28 -68t-68 -28h-1344q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h928q40 0 88 -20t76 -48l280 -280q28 -28 48 -76t20 -88z" />
210
+ <glyph unicode="&#xf0c8;" d="M1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
211
+ <glyph unicode="&#xf0c9;" d="M1536 192v-128q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1536 704v-128q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1536 1216v-128q0 -26 -19 -45 t-45 -19h-1408q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h1408q26 0 45 -19t19 -45z" />
212
+ <glyph unicode="&#xf0ca;" horiz-adv-x="1792" d="M384 128q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM384 640q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1792 224v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5 t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5zM384 1152q0 -80 -56 -136t-136 -56t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1792 736v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5z M1792 1248v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5z" />
213
+ <glyph unicode="&#xf0cb;" horiz-adv-x="1792" d="M381 -84q0 -80 -54.5 -126t-135.5 -46q-106 0 -172 66l57 88q49 -45 106 -45q29 0 50.5 14.5t21.5 42.5q0 64 -105 56l-26 56q8 10 32.5 43.5t42.5 54t37 38.5v1q-16 0 -48.5 -1t-48.5 -1v-53h-106v152h333v-88l-95 -115q51 -12 81 -49t30 -88zM383 543v-159h-362 q-6 36 -6 54q0 51 23.5 93t56.5 68t66 47.5t56.5 43.5t23.5 45q0 25 -14.5 38.5t-39.5 13.5q-46 0 -81 -58l-85 59q24 51 71.5 79.5t105.5 28.5q73 0 123 -41.5t50 -112.5q0 -50 -34 -91.5t-75 -64.5t-75.5 -50.5t-35.5 -52.5h127v60h105zM1792 224v-192q0 -13 -9.5 -22.5 t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 14 9 23t23 9h1216q13 0 22.5 -9.5t9.5 -22.5zM384 1123v-99h-335v99h107q0 41 0.5 122t0.5 121v12h-2q-8 -17 -50 -54l-71 76l136 127h106v-404h108zM1792 736v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5 t-9.5 22.5v192q0 14 9 23t23 9h1216q13 0 22.5 -9.5t9.5 -22.5zM1792 1248v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1216q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1216q13 0 22.5 -9.5t9.5 -22.5z" />
214
+ <glyph unicode="&#xf0cc;" horiz-adv-x="1792" d="M1760 640q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-1728q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h1728zM483 704q-28 35 -51 80q-48 97 -48 188q0 181 134 309q133 127 393 127q50 0 167 -19q66 -12 177 -48q10 -38 21 -118q14 -123 14 -183q0 -18 -5 -45l-12 -3l-84 6 l-14 2q-50 149 -103 205q-88 91 -210 91q-114 0 -182 -59q-67 -58 -67 -146q0 -73 66 -140t279 -129q69 -20 173 -66q58 -28 95 -52h-743zM990 448h411q7 -39 7 -92q0 -111 -41 -212q-23 -55 -71 -104q-37 -35 -109 -81q-80 -48 -153 -66q-80 -21 -203 -21q-114 0 -195 23 l-140 40q-57 16 -72 28q-8 8 -8 22v13q0 108 -2 156q-1 30 0 68l2 37v44l102 2q15 -34 30 -71t22.5 -56t12.5 -27q35 -57 80 -94q43 -36 105 -57q59 -22 132 -22q64 0 139 27q77 26 122 86q47 61 47 129q0 84 -81 157q-34 29 -137 71z" />
215
+ <glyph unicode="&#xf0cd;" d="M48 1313q-37 2 -45 4l-3 88q13 1 40 1q60 0 112 -4q132 -7 166 -7q86 0 168 3q116 4 146 5q56 0 86 2l-1 -14l2 -64v-9q-60 -9 -124 -9q-60 0 -79 -25q-13 -14 -13 -132q0 -13 0.5 -32.5t0.5 -25.5l1 -229l14 -280q6 -124 51 -202q35 -59 96 -92q88 -47 177 -47 q104 0 191 28q56 18 99 51q48 36 65 64q36 56 53 114q21 73 21 229q0 79 -3.5 128t-11 122.5t-13.5 159.5l-4 59q-5 67 -24 88q-34 35 -77 34l-100 -2l-14 3l2 86h84l205 -10q76 -3 196 10l18 -2q6 -38 6 -51q0 -7 -4 -31q-45 -12 -84 -13q-73 -11 -79 -17q-15 -15 -15 -41 q0 -7 1.5 -27t1.5 -31q8 -19 22 -396q6 -195 -15 -304q-15 -76 -41 -122q-38 -65 -112 -123q-75 -57 -182 -89q-109 -33 -255 -33q-167 0 -284 46q-119 47 -179 122q-61 76 -83 195q-16 80 -16 237v333q0 188 -17 213q-25 36 -147 39zM1536 -96v64q0 14 -9 23t-23 9h-1472 q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h1472q14 0 23 9t9 23z" />
216
+ <glyph unicode="&#xf0ce;" horiz-adv-x="1664" d="M512 160v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM512 544v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1024 160v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23 v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM512 928v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1024 544v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1536 160v192 q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1024 928v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1536 544v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192 q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1536 928v192q0 14 -9 23t-23 9h-320q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h320q14 0 23 9t9 23zM1664 1248v-1088q0 -66 -47 -113t-113 -47h-1344q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1344q66 0 113 -47t47 -113 z" />
217
+ <glyph unicode="&#xf0d0;" horiz-adv-x="1664" d="M1190 955l293 293l-107 107l-293 -293zM1637 1248q0 -27 -18 -45l-1286 -1286q-18 -18 -45 -18t-45 18l-198 198q-18 18 -18 45t18 45l1286 1286q18 18 45 18t45 -18l198 -198q18 -18 18 -45zM286 1438l98 -30l-98 -30l-30 -98l-30 98l-98 30l98 30l30 98zM636 1276 l196 -60l-196 -60l-60 -196l-60 196l-196 60l196 60l60 196zM1566 798l98 -30l-98 -30l-30 -98l-30 98l-98 30l98 30l30 98zM926 1438l98 -30l-98 -30l-30 -98l-30 98l-98 30l98 30l30 98z" />
218
+ <glyph unicode="&#xf0d1;" horiz-adv-x="1792" d="M640 128q0 52 -38 90t-90 38t-90 -38t-38 -90t38 -90t90 -38t90 38t38 90zM256 640h384v256h-158q-13 0 -22 -9l-195 -195q-9 -9 -9 -22v-30zM1536 128q0 52 -38 90t-90 38t-90 -38t-38 -90t38 -90t90 -38t90 38t38 90zM1792 1216v-1024q0 -15 -4 -26.5t-13.5 -18.5 t-16.5 -11.5t-23.5 -6t-22.5 -2t-25.5 0t-22.5 0.5q0 -106 -75 -181t-181 -75t-181 75t-75 181h-384q0 -106 -75 -181t-181 -75t-181 75t-75 181h-64q-3 0 -22.5 -0.5t-25.5 0t-22.5 2t-23.5 6t-16.5 11.5t-13.5 18.5t-4 26.5q0 26 19 45t45 19v320q0 8 -0.5 35t0 38 t2.5 34.5t6.5 37t14 30.5t22.5 30l198 198q19 19 50.5 32t58.5 13h160v192q0 26 19 45t45 19h1024q26 0 45 -19t19 -45z" />
219
+ <glyph unicode="&#xf0d2;" d="M1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103q-111 0 -218 32q59 93 78 164q9 34 54 211q20 -39 73 -67.5t114 -28.5q121 0 216 68.5t147 188.5t52 270q0 114 -59.5 214t-172.5 163t-255 63q-105 0 -196 -29t-154.5 -77t-109 -110.5t-67 -129.5t-21.5 -134 q0 -104 40 -183t117 -111q30 -12 38 20q2 7 8 31t8 30q6 23 -11 43q-51 61 -51 151q0 151 104.5 259.5t273.5 108.5q151 0 235.5 -82t84.5 -213q0 -170 -68.5 -289t-175.5 -119q-61 0 -98 43.5t-23 104.5q8 35 26.5 93.5t30 103t11.5 75.5q0 50 -27 83t-77 33 q-62 0 -105 -57t-43 -142q0 -73 25 -122l-99 -418q-17 -70 -13 -177q-206 91 -333 281t-127 423q0 209 103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
220
+ <glyph unicode="&#xf0d3;" d="M1248 1408q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-725q85 122 108 210q9 34 53 209q21 -39 73.5 -67t112.5 -28q181 0 295.5 147.5t114.5 373.5q0 84 -35 162.5t-96.5 139t-152.5 97t-197 36.5q-104 0 -194.5 -28.5t-153 -76.5 t-107.5 -109.5t-66.5 -128t-21.5 -132.5q0 -102 39.5 -180t116.5 -110q13 -5 23.5 0t14.5 19q10 44 15 61q6 23 -11 42q-50 62 -50 150q0 150 103.5 256.5t270.5 106.5q149 0 232.5 -81t83.5 -210q0 -168 -67.5 -286t-173.5 -118q-60 0 -97 43.5t-23 103.5q8 34 26.5 92.5 t29.5 102t11 74.5q0 49 -26.5 81.5t-75.5 32.5q-61 0 -103.5 -56.5t-42.5 -139.5q0 -72 24 -121l-98 -414q-24 -100 -7 -254h-183q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960z" />
221
+ <glyph unicode="&#xf0d4;" d="M678 -57q0 -38 -10 -71h-380q-95 0 -171.5 56.5t-103.5 147.5q24 45 69 77.5t100 49.5t107 24t107 7q32 0 49 -2q6 -4 30.5 -21t33 -23t31 -23t32 -25.5t27.5 -25.5t26.5 -29.5t21 -30.5t17.5 -34.5t9.5 -36t4.5 -40.5zM385 294q-234 -7 -385 -85v433q103 -118 273 -118 q32 0 70 5q-21 -61 -21 -86q0 -67 63 -149zM558 805q0 -100 -43.5 -160.5t-140.5 -60.5q-51 0 -97 26t-78 67.5t-56 93.5t-35.5 104t-11.5 99q0 96 51.5 165t144.5 69q66 0 119 -41t84 -104t47 -130t16 -128zM1536 896v-736q0 -119 -84.5 -203.5t-203.5 -84.5h-468 q39 73 39 157q0 66 -22 122.5t-55.5 93t-72 71t-72 59.5t-55.5 54.5t-22 59.5q0 36 23 68t56 61.5t65.5 64.5t55.5 93t23 131t-26.5 145.5t-75.5 118.5q-6 6 -14 11t-12.5 7.5t-10 9.5t-10.5 17h135l135 64h-437q-138 0 -244.5 -38.5t-182.5 -133.5q0 126 81 213t207 87h960 q119 0 203.5 -84.5t84.5 -203.5v-96h-256v256h-128v-256h-256v-128h256v-256h128v256h256z" />
222
+ <glyph unicode="&#xf0d5;" horiz-adv-x="1664" d="M876 71q0 21 -4.5 40.5t-9.5 36t-17.5 34.5t-21 30.5t-26.5 29.5t-27.5 25.5t-32 25.5t-31 23t-33 23t-30.5 21q-17 2 -50 2q-54 0 -106 -7t-108 -25t-98 -46t-69 -75t-27 -107q0 -68 35.5 -121.5t93 -84t120.5 -45.5t127 -15q59 0 112.5 12.5t100.5 39t74.5 73.5 t27.5 110zM756 933q0 60 -16.5 127.5t-47 130.5t-84 104t-119.5 41q-93 0 -144 -69t-51 -165q0 -47 11.5 -99t35.5 -104t56 -93.5t78 -67.5t97 -26q97 0 140.5 60.5t43.5 160.5zM625 1408h437l-135 -79h-135q71 -45 110 -126t39 -169q0 -74 -23 -131.5t-56 -92.5t-66 -64.5 t-56 -61t-23 -67.5q0 -26 16.5 -51t43 -48t58.5 -48t64 -55.5t58.5 -66t43 -85t16.5 -106.5q0 -160 -140 -282q-152 -131 -420 -131q-59 0 -119.5 10t-122 33.5t-108.5 58t-77 89t-30 121.5q0 61 37 135q32 64 96 110.5t145 71t155 36t150 13.5q-64 83 -64 149q0 12 2 23.5 t5 19.5t8 21.5t7 21.5q-40 -5 -70 -5q-149 0 -255.5 98t-106.5 246q0 140 95 250.5t234 141.5q94 20 187 20zM1664 1152v-128h-256v-256h-128v256h-256v128h256v256h128v-256h256z" />
223
+ <glyph unicode="&#xf0d6;" horiz-adv-x="1920" d="M768 384h384v96h-128v448h-114l-148 -137l77 -80q42 37 55 57h2v-288h-128v-96zM1280 640q0 -70 -21 -142t-59.5 -134t-101.5 -101t-138 -39t-138 39t-101.5 101t-59.5 134t-21 142t21 142t59.5 134t101.5 101t138 39t138 -39t101.5 -101t59.5 -134t21 -142zM1792 384 v512q-106 0 -181 75t-75 181h-1152q0 -106 -75 -181t-181 -75v-512q106 0 181 -75t75 -181h1152q0 106 75 181t181 75zM1920 1216v-1152q0 -26 -19 -45t-45 -19h-1792q-26 0 -45 19t-19 45v1152q0 26 19 45t45 19h1792q26 0 45 -19t19 -45z" />
224
+ <glyph unicode="&#xf0d7;" horiz-adv-x="1024" d="M1024 832q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19l-448 448q-19 19 -19 45t19 45t45 19h896q26 0 45 -19t19 -45z" />
225
+ <glyph unicode="&#xf0d8;" horiz-adv-x="1024" d="M1024 320q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45l448 448q19 19 45 19t45 -19l448 -448q19 -19 19 -45z" />
226
+ <glyph unicode="&#xf0d9;" horiz-adv-x="640" d="M640 1088v-896q0 -26 -19 -45t-45 -19t-45 19l-448 448q-19 19 -19 45t19 45l448 448q19 19 45 19t45 -19t19 -45z" />
227
+ <glyph unicode="&#xf0da;" horiz-adv-x="640" d="M576 640q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19t-19 45v896q0 26 19 45t45 19t45 -19l448 -448q19 -19 19 -45z" />
228
+ <glyph unicode="&#xf0db;" horiz-adv-x="1664" d="M160 0h608v1152h-640v-1120q0 -13 9.5 -22.5t22.5 -9.5zM1536 32v1120h-640v-1152h608q13 0 22.5 9.5t9.5 22.5zM1664 1248v-1216q0 -66 -47 -113t-113 -47h-1344q-66 0 -113 47t-47 113v1216q0 66 47 113t113 47h1344q66 0 113 -47t47 -113z" />
229
+ <glyph unicode="&#xf0dc;" horiz-adv-x="1024" d="M1024 448q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19l-448 448q-19 19 -19 45t19 45t45 19h896q26 0 45 -19t19 -45zM1024 832q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45l448 448q19 19 45 19t45 -19l448 -448q19 -19 19 -45z" />
230
+ <glyph unicode="&#xf0dd;" horiz-adv-x="1024" d="M1024 448q0 -26 -19 -45l-448 -448q-19 -19 -45 -19t-45 19l-448 448q-19 19 -19 45t19 45t45 19h896q26 0 45 -19t19 -45z" />
231
+ <glyph unicode="&#xf0de;" horiz-adv-x="1024" d="M1024 832q0 -26 -19 -45t-45 -19h-896q-26 0 -45 19t-19 45t19 45l448 448q19 19 45 19t45 -19l448 -448q19 -19 19 -45z" />
232
+ <glyph unicode="&#xf0e0;" horiz-adv-x="1792" d="M1792 826v-794q0 -66 -47 -113t-113 -47h-1472q-66 0 -113 47t-47 113v794q44 -49 101 -87q362 -246 497 -345q57 -42 92.5 -65.5t94.5 -48t110 -24.5h1h1q51 0 110 24.5t94.5 48t92.5 65.5q170 123 498 345q57 39 100 87zM1792 1120q0 -79 -49 -151t-122 -123 q-376 -261 -468 -325q-10 -7 -42.5 -30.5t-54 -38t-52 -32.5t-57.5 -27t-50 -9h-1h-1q-23 0 -50 9t-57.5 27t-52 32.5t-54 38t-42.5 30.5q-91 64 -262 182.5t-205 142.5q-62 42 -117 115.5t-55 136.5q0 78 41.5 130t118.5 52h1472q65 0 112.5 -47t47.5 -113z" />
233
+ <glyph unicode="&#xf0e1;" d="M349 911v-991h-330v991h330zM370 1217q1 -73 -50.5 -122t-135.5 -49h-2q-82 0 -132 49t-50 122q0 74 51.5 122.5t134.5 48.5t133 -48.5t51 -122.5zM1536 488v-568h-329v530q0 105 -40.5 164.5t-126.5 59.5q-63 0 -105.5 -34.5t-63.5 -85.5q-11 -30 -11 -81v-553h-329 q2 399 2 647t-1 296l-1 48h329v-144h-2q20 32 41 56t56.5 52t87 43.5t114.5 15.5q171 0 275 -113.5t104 -332.5z" />
234
+ <glyph unicode="&#xf0e2;" d="M1536 640q0 -156 -61 -298t-164 -245t-245 -164t-298 -61q-172 0 -327 72.5t-264 204.5q-7 10 -6.5 22.5t8.5 20.5l137 138q10 9 25 9q16 -2 23 -12q73 -95 179 -147t225 -52q104 0 198.5 40.5t163.5 109.5t109.5 163.5t40.5 198.5t-40.5 198.5t-109.5 163.5 t-163.5 109.5t-198.5 40.5q-98 0 -188 -35.5t-160 -101.5l137 -138q31 -30 14 -69q-17 -40 -59 -40h-448q-26 0 -45 19t-19 45v448q0 42 40 59q39 17 69 -14l130 -129q107 101 244.5 156.5t284.5 55.5q156 0 298 -61t245 -164t164 -245t61 -298z" />
235
+ <glyph unicode="&#xf0e3;" horiz-adv-x="1792" d="M1771 0q0 -53 -37 -90l-107 -108q-39 -37 -91 -37q-53 0 -90 37l-363 364q-38 36 -38 90q0 53 43 96l-256 256l-126 -126q-14 -14 -34 -14t-34 14q2 -2 12.5 -12t12.5 -13t10 -11.5t10 -13.5t6 -13.5t5.5 -16.5t1.5 -18q0 -38 -28 -68q-3 -3 -16.5 -18t-19 -20.5 t-18.5 -16.5t-22 -15.5t-22 -9t-26 -4.5q-40 0 -68 28l-408 408q-28 28 -28 68q0 13 4.5 26t9 22t15.5 22t16.5 18.5t20.5 19t18 16.5q30 28 68 28q10 0 18 -1.5t16.5 -5.5t13.5 -6t13.5 -10t11.5 -10t13 -12.5t12 -12.5q-14 14 -14 34t14 34l348 348q14 14 34 14t34 -14 q-2 2 -12.5 12t-12.5 13t-10 11.5t-10 13.5t-6 13.5t-5.5 16.5t-1.5 18q0 38 28 68q3 3 16.5 18t19 20.5t18.5 16.5t22 15.5t22 9t26 4.5q40 0 68 -28l408 -408q28 -28 28 -68q0 -13 -4.5 -26t-9 -22t-15.5 -22t-16.5 -18.5t-20.5 -19t-18 -16.5q-30 -28 -68 -28 q-10 0 -18 1.5t-16.5 5.5t-13.5 6t-13.5 10t-11.5 10t-13 12.5t-12 12.5q14 -14 14 -34t-14 -34l-126 -126l256 -256q43 43 96 43q52 0 91 -37l363 -363q37 -39 37 -91z" />
236
+ <glyph unicode="&#xf0e4;" horiz-adv-x="1792" d="M384 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM576 832q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1004 351l101 382q6 26 -7.5 48.5t-38.5 29.5 t-48 -6.5t-30 -39.5l-101 -382q-60 -5 -107 -43.5t-63 -98.5q-20 -77 20 -146t117 -89t146 20t89 117q16 60 -6 117t-72 91zM1664 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1024 1024q0 53 -37.5 90.5 t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1472 832q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1792 384q0 -261 -141 -483q-19 -29 -54 -29h-1402q-35 0 -54 29 q-141 221 -141 483q0 182 71 348t191 286t286 191t348 71t348 -71t286 -191t191 -286t71 -348z" />
237
+ <glyph unicode="&#xf0e5;" horiz-adv-x="1792" d="M896 1152q-204 0 -381.5 -69.5t-282 -187.5t-104.5 -255q0 -112 71.5 -213.5t201.5 -175.5l87 -50l-27 -96q-24 -91 -70 -172q152 63 275 171l43 38l57 -6q69 -8 130 -8q204 0 381.5 69.5t282 187.5t104.5 255t-104.5 255t-282 187.5t-381.5 69.5zM1792 640 q0 -174 -120 -321.5t-326 -233t-450 -85.5q-70 0 -145 8q-198 -175 -460 -242q-49 -14 -114 -22h-5q-15 0 -27 10.5t-16 27.5v1q-3 4 -0.5 12t2 10t4.5 9.5l6 9t7 8.5t8 9q7 8 31 34.5t34.5 38t31 39.5t32.5 51t27 59t26 76q-157 89 -247.5 220t-90.5 281q0 174 120 321.5 t326 233t450 85.5t450 -85.5t326 -233t120 -321.5z" />
238
+ <glyph unicode="&#xf0e6;" horiz-adv-x="1792" d="M704 1152q-153 0 -286 -52t-211.5 -141t-78.5 -191q0 -82 53 -158t149 -132l97 -56l-35 -84q34 20 62 39l44 31l53 -10q78 -14 153 -14q153 0 286 52t211.5 141t78.5 191t-78.5 191t-211.5 141t-286 52zM704 1280q191 0 353.5 -68.5t256.5 -186.5t94 -257t-94 -257 t-256.5 -186.5t-353.5 -68.5q-86 0 -176 16q-124 -88 -278 -128q-36 -9 -86 -16h-3q-11 0 -20.5 8t-11.5 21q-1 3 -1 6.5t0.5 6.5t2 6l2.5 5t3.5 5.5t4 5t4.5 5t4 4.5q5 6 23 25t26 29.5t22.5 29t25 38.5t20.5 44q-124 72 -195 177t-71 224q0 139 94 257t256.5 186.5 t353.5 68.5zM1526 111q10 -24 20.5 -44t25 -38.5t22.5 -29t26 -29.5t23 -25q1 -1 4 -4.5t4.5 -5t4 -5t3.5 -5.5l2.5 -5t2 -6t0.5 -6.5t-1 -6.5q-3 -14 -13 -22t-22 -7q-50 7 -86 16q-154 40 -278 128q-90 -16 -176 -16q-271 0 -472 132q58 -4 88 -4q161 0 309 45t264 129 q125 92 192 212t67 254q0 77 -23 152q129 -71 204 -178t75 -230q0 -120 -71 -224.5t-195 -176.5z" />
239
+ <glyph unicode="&#xf0e7;" horiz-adv-x="896" d="M885 970q18 -20 7 -44l-540 -1157q-13 -25 -42 -25q-4 0 -14 2q-17 5 -25.5 19t-4.5 30l197 808l-406 -101q-4 -1 -12 -1q-18 0 -31 11q-18 15 -13 39l201 825q4 14 16 23t28 9h328q19 0 32 -12.5t13 -29.5q0 -8 -5 -18l-171 -463l396 98q8 2 12 2q19 0 34 -15z" />
240
+ <glyph unicode="&#xf0e8;" horiz-adv-x="1792" d="M1792 288v-320q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h96v192h-512v-192h96q40 0 68 -28t28 -68v-320q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h96v192h-512v-192h96q40 0 68 -28t28 -68v-320 q0 -40 -28 -68t-68 -28h-320q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h96v192q0 52 38 90t90 38h512v192h-96q-40 0 -68 28t-28 68v320q0 40 28 68t68 28h320q40 0 68 -28t28 -68v-320q0 -40 -28 -68t-68 -28h-96v-192h512q52 0 90 -38t38 -90v-192h96q40 0 68 -28t28 -68 z" />
241
+ <glyph unicode="&#xf0e9;" horiz-adv-x="1664" d="M896 708v-580q0 -104 -76 -180t-180 -76t-180 76t-76 180q0 26 19 45t45 19t45 -19t19 -45q0 -50 39 -89t89 -39t89 39t39 89v580q33 11 64 11t64 -11zM1664 681q0 -13 -9.5 -22.5t-22.5 -9.5q-11 0 -23 10q-49 46 -93 69t-102 23q-68 0 -128 -37t-103 -97 q-7 -10 -17.5 -28t-14.5 -24q-11 -17 -28 -17q-18 0 -29 17q-4 6 -14.5 24t-17.5 28q-43 60 -102.5 97t-127.5 37t-127.5 -37t-102.5 -97q-7 -10 -17.5 -28t-14.5 -24q-11 -17 -29 -17q-17 0 -28 17q-4 6 -14.5 24t-17.5 28q-43 60 -103 97t-128 37q-58 0 -102 -23t-93 -69 q-12 -10 -23 -10q-13 0 -22.5 9.5t-9.5 22.5q0 5 1 7q45 183 172.5 319.5t298 204.5t360.5 68q140 0 274.5 -40t246.5 -113.5t194.5 -187t115.5 -251.5q1 -2 1 -7zM896 1408v-98q-42 2 -64 2t-64 -2v98q0 26 19 45t45 19t45 -19t19 -45z" />
242
+ <glyph unicode="&#xf0ea;" horiz-adv-x="1792" d="M768 -128h896v640h-416q-40 0 -68 28t-28 68v416h-384v-1152zM1024 1312v64q0 13 -9.5 22.5t-22.5 9.5h-704q-13 0 -22.5 -9.5t-9.5 -22.5v-64q0 -13 9.5 -22.5t22.5 -9.5h704q13 0 22.5 9.5t9.5 22.5zM1280 640h299l-299 299v-299zM1792 512v-672q0 -40 -28 -68t-68 -28 h-960q-40 0 -68 28t-28 68v160h-544q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h1088q40 0 68 -28t28 -68v-328q21 -13 36 -28l408 -408q28 -28 48 -76t20 -88z" />
243
+ <glyph unicode="&#xf0eb;" horiz-adv-x="1024" d="M736 960q0 -13 -9.5 -22.5t-22.5 -9.5t-22.5 9.5t-9.5 22.5q0 46 -54 71t-106 25q-13 0 -22.5 9.5t-9.5 22.5t9.5 22.5t22.5 9.5q50 0 99.5 -16t87 -54t37.5 -90zM896 960q0 72 -34.5 134t-90 101.5t-123 62t-136.5 22.5t-136.5 -22.5t-123 -62t-90 -101.5t-34.5 -134 q0 -101 68 -180q10 -11 30.5 -33t30.5 -33q128 -153 141 -298h228q13 145 141 298q10 11 30.5 33t30.5 33q68 79 68 180zM1024 960q0 -155 -103 -268q-45 -49 -74.5 -87t-59.5 -95.5t-34 -107.5q47 -28 47 -82q0 -37 -25 -64q25 -27 25 -64q0 -52 -45 -81q13 -23 13 -47 q0 -46 -31.5 -71t-77.5 -25q-20 -44 -60 -70t-87 -26t-87 26t-60 70q-46 0 -77.5 25t-31.5 71q0 24 13 47q-45 29 -45 81q0 37 25 64q-25 27 -25 64q0 54 47 82q-4 50 -34 107.5t-59.5 95.5t-74.5 87q-103 113 -103 268q0 99 44.5 184.5t117 142t164 89t186.5 32.5 t186.5 -32.5t164 -89t117 -142t44.5 -184.5z" />
244
+ <glyph unicode="&#xf0ec;" horiz-adv-x="1792" d="M1792 352v-192q0 -13 -9.5 -22.5t-22.5 -9.5h-1376v-192q0 -13 -9.5 -22.5t-22.5 -9.5q-12 0 -24 10l-319 320q-9 9 -9 22q0 14 9 23l320 320q9 9 23 9q13 0 22.5 -9.5t9.5 -22.5v-192h1376q13 0 22.5 -9.5t9.5 -22.5zM1792 896q0 -14 -9 -23l-320 -320q-9 -9 -23 -9 q-13 0 -22.5 9.5t-9.5 22.5v192h-1376q-13 0 -22.5 9.5t-9.5 22.5v192q0 13 9.5 22.5t22.5 9.5h1376v192q0 14 9 23t23 9q12 0 24 -10l319 -319q9 -9 9 -23z" />
245
+ <glyph unicode="&#xf0ed;" horiz-adv-x="1920" d="M1280 608q0 14 -9 23t-23 9h-224v352q0 13 -9.5 22.5t-22.5 9.5h-192q-13 0 -22.5 -9.5t-9.5 -22.5v-352h-224q-13 0 -22.5 -9.5t-9.5 -22.5q0 -14 9 -23l352 -352q9 -9 23 -9t23 9l351 351q10 12 10 24zM1920 384q0 -159 -112.5 -271.5t-271.5 -112.5h-1088 q-185 0 -316.5 131.5t-131.5 316.5q0 130 70 240t188 165q-2 30 -2 43q0 212 150 362t362 150q156 0 285.5 -87t188.5 -231q71 62 166 62q106 0 181 -75t75 -181q0 -76 -41 -138q130 -31 213.5 -135.5t83.5 -238.5z" />
246
+ <glyph unicode="&#xf0ee;" horiz-adv-x="1920" d="M1280 672q0 14 -9 23l-352 352q-9 9 -23 9t-23 -9l-351 -351q-10 -12 -10 -24q0 -14 9 -23t23 -9h224v-352q0 -13 9.5 -22.5t22.5 -9.5h192q13 0 22.5 9.5t9.5 22.5v352h224q13 0 22.5 9.5t9.5 22.5zM1920 384q0 -159 -112.5 -271.5t-271.5 -112.5h-1088 q-185 0 -316.5 131.5t-131.5 316.5q0 130 70 240t188 165q-2 30 -2 43q0 212 150 362t362 150q156 0 285.5 -87t188.5 -231q71 62 166 62q106 0 181 -75t75 -181q0 -76 -41 -138q130 -31 213.5 -135.5t83.5 -238.5z" />
247
+ <glyph unicode="&#xf0f0;" horiz-adv-x="1408" d="M384 192q0 -26 -19 -45t-45 -19t-45 19t-19 45t19 45t45 19t45 -19t19 -45zM1408 131q0 -121 -73 -190t-194 -69h-874q-121 0 -194 69t-73 190q0 68 5.5 131t24 138t47.5 132.5t81 103t120 60.5q-22 -52 -22 -120v-203q-58 -20 -93 -70t-35 -111q0 -80 56 -136t136 -56 t136 56t56 136q0 61 -35.5 111t-92.5 70v203q0 62 25 93q132 -104 295 -104t295 104q25 -31 25 -93v-64q-106 0 -181 -75t-75 -181v-89q-32 -29 -32 -71q0 -40 28 -68t68 -28t68 28t28 68q0 42 -32 71v89q0 52 38 90t90 38t90 -38t38 -90v-89q-32 -29 -32 -71q0 -40 28 -68 t68 -28t68 28t28 68q0 42 -32 71v89q0 68 -34.5 127.5t-93.5 93.5q0 10 0.5 42.5t0 48t-2.5 41.5t-7 47t-13 40q68 -15 120 -60.5t81 -103t47.5 -132.5t24 -138t5.5 -131zM1088 1024q0 -159 -112.5 -271.5t-271.5 -112.5t-271.5 112.5t-112.5 271.5t112.5 271.5t271.5 112.5 t271.5 -112.5t112.5 -271.5z" />
248
+ <glyph unicode="&#xf0f1;" horiz-adv-x="1408" d="M1280 832q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 832q0 -62 -35.5 -111t-92.5 -70v-395q0 -159 -131.5 -271.5t-316.5 -112.5t-316.5 112.5t-131.5 271.5v132q-164 20 -274 128t-110 252v512q0 26 19 45t45 19q6 0 16 -2q17 30 47 48 t65 18q53 0 90.5 -37.5t37.5 -90.5t-37.5 -90.5t-90.5 -37.5q-33 0 -64 18v-402q0 -106 94 -181t226 -75t226 75t94 181v402q-31 -18 -64 -18q-53 0 -90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5q35 0 65 -18t47 -48q10 2 16 2q26 0 45 -19t19 -45v-512q0 -144 -110 -252 t-274 -128v-132q0 -106 94 -181t226 -75t226 75t94 181v395q-57 21 -92.5 70t-35.5 111q0 80 56 136t136 56t136 -56t56 -136z" />
249
+ <glyph unicode="&#xf0f2;" horiz-adv-x="1792" d="M640 1152h512v128h-512v-128zM288 1152v-1280h-64q-92 0 -158 66t-66 158v832q0 92 66 158t158 66h64zM1408 1152v-1280h-1024v1280h128v160q0 40 28 68t68 28h576q40 0 68 -28t28 -68v-160h128zM1792 928v-832q0 -92 -66 -158t-158 -66h-64v1280h64q92 0 158 -66 t66 -158z" />
250
+ <glyph unicode="&#xf0f3;" horiz-adv-x="1664" d="M848 -160q0 16 -16 16q-59 0 -101.5 42.5t-42.5 101.5q0 16 -16 16t-16 -16q0 -73 51.5 -124.5t124.5 -51.5q16 0 16 16zM1664 128q0 -52 -38 -90t-90 -38h-448q0 -106 -75 -181t-181 -75t-181 75t-75 181h-448q-52 0 -90 38t-38 90q190 161 287 397.5t97 498.5 q0 165 96 262t264 117q-8 18 -8 37q0 40 28 68t68 28t68 -28t28 -68q0 -19 -8 -37q168 -20 264 -117t96 -262q0 -262 97 -498.5t287 -397.5z" />
251
+ <glyph unicode="&#xf0f4;" horiz-adv-x="1920" d="M1664 896q0 80 -56 136t-136 56h-64v-384h64q80 0 136 56t56 136zM0 128h1792q0 -106 -75 -181t-181 -75h-1280q-106 0 -181 75t-75 181zM1856 896q0 -159 -112.5 -271.5t-271.5 -112.5h-64v-32q0 -92 -66 -158t-158 -66h-704q-92 0 -158 66t-66 158v736q0 26 19 45 t45 19h1152q159 0 271.5 -112.5t112.5 -271.5z" />
252
+ <glyph unicode="&#xf0f5;" horiz-adv-x="1408" d="M640 1472v-640q0 -61 -35.5 -111t-92.5 -70v-779q0 -52 -38 -90t-90 -38h-128q-52 0 -90 38t-38 90v779q-57 20 -92.5 70t-35.5 111v640q0 26 19 45t45 19t45 -19t19 -45v-416q0 -26 19 -45t45 -19t45 19t19 45v416q0 26 19 45t45 19t45 -19t19 -45v-416q0 -26 19 -45 t45 -19t45 19t19 45v416q0 26 19 45t45 19t45 -19t19 -45zM1408 1472v-1600q0 -52 -38 -90t-90 -38h-128q-52 0 -90 38t-38 90v512h-224q-13 0 -22.5 9.5t-9.5 22.5v800q0 132 94 226t226 94h256q26 0 45 -19t19 -45z" />
253
+ <glyph unicode="&#xf0f6;" horiz-adv-x="1280" d="M1024 352v-64q0 -14 -9 -23t-23 -9h-704q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h704q14 0 23 -9t9 -23zM1024 608v-64q0 -14 -9 -23t-23 -9h-704q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h704q14 0 23 -9t9 -23zM128 0h1024v768h-416q-40 0 -68 28t-28 68v416h-512v-1280z M768 896h376q-10 29 -22 41l-313 313q-12 12 -41 22v-376zM1280 864v-896q0 -40 -28 -68t-68 -28h-1088q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h640q40 0 88 -20t76 -48l312 -312q28 -28 48 -76t20 -88z" />
254
+ <glyph unicode="&#xf0f7;" horiz-adv-x="1408" d="M384 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M1152 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M1152 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M1152 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 992v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M896 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 1248v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M896 -128h384v1536h-1152v-1536h384v224q0 13 9.5 22.5t22.5 9.5h320q13 0 22.5 -9.5t9.5 -22.5v-224zM1408 1472v-1664q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v1664q0 26 19 45t45 19h1280q26 0 45 -19t19 -45z" />
255
+ <glyph unicode="&#xf0f8;" horiz-adv-x="1408" d="M384 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM384 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M1152 224v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM896 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M640 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 480v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M896 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5zM1152 736v-64q0 -13 -9.5 -22.5t-22.5 -9.5h-64q-13 0 -22.5 9.5t-9.5 22.5v64q0 13 9.5 22.5t22.5 9.5h64q13 0 22.5 -9.5t9.5 -22.5z M896 -128h384v1152h-256v-32q0 -40 -28 -68t-68 -28h-448q-40 0 -68 28t-28 68v32h-256v-1152h384v224q0 13 9.5 22.5t22.5 9.5h320q13 0 22.5 -9.5t9.5 -22.5v-224zM896 1056v320q0 13 -9.5 22.5t-22.5 9.5h-64q-13 0 -22.5 -9.5t-9.5 -22.5v-96h-128v96q0 13 -9.5 22.5 t-22.5 9.5h-64q-13 0 -22.5 -9.5t-9.5 -22.5v-320q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5v96h128v-96q0 -13 9.5 -22.5t22.5 -9.5h64q13 0 22.5 9.5t9.5 22.5zM1408 1088v-1280q0 -26 -19 -45t-45 -19h-1280q-26 0 -45 19t-19 45v1280q0 26 19 45t45 19h320 v288q0 40 28 68t68 28h448q40 0 68 -28t28 -68v-288h320q26 0 45 -19t19 -45z" />
256
+ <glyph unicode="&#xf0f9;" horiz-adv-x="1920" d="M640 128q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM256 640h384v256h-158q-14 -2 -22 -9l-195 -195q-7 -12 -9 -22v-30zM1536 128q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5 t90.5 37.5t37.5 90.5zM1664 800v192q0 14 -9 23t-23 9h-224v224q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-224h-224q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h224v-224q0 -14 9 -23t23 -9h192q14 0 23 9t9 23v224h224q14 0 23 9t9 23zM1920 1344v-1152 q0 -26 -19 -45t-45 -19h-192q0 -106 -75 -181t-181 -75t-181 75t-75 181h-384q0 -106 -75 -181t-181 -75t-181 75t-75 181h-128q-26 0 -45 19t-19 45t19 45t45 19v416q0 26 13 58t32 51l198 198q19 19 51 32t58 13h160v320q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />
257
+ <glyph unicode="&#xf0fa;" horiz-adv-x="1792" d="M1280 416v192q0 14 -9 23t-23 9h-224v224q0 14 -9 23t-23 9h-192q-14 0 -23 -9t-9 -23v-224h-224q-14 0 -23 -9t-9 -23v-192q0 -14 9 -23t23 -9h224v-224q0 -14 9 -23t23 -9h192q14 0 23 9t9 23v224h224q14 0 23 9t9 23zM640 1152h512v128h-512v-128zM256 1152v-1280h-32 q-92 0 -158 66t-66 158v832q0 92 66 158t158 66h32zM1440 1152v-1280h-1088v1280h160v160q0 40 28 68t68 28h576q40 0 68 -28t28 -68v-160h160zM1792 928v-832q0 -92 -66 -158t-158 -66h-32v1280h32q92 0 158 -66t66 -158z" />
258
+ <glyph unicode="&#xf0fb;" horiz-adv-x="1920" d="M1920 576q-1 -32 -288 -96l-352 -32l-224 -64h-64l-293 -352h69q26 0 45 -4.5t19 -11.5t-19 -11.5t-45 -4.5h-96h-160h-64v32h64v416h-160l-192 -224h-96l-32 32v192h32v32h128v8l-192 24v128l192 24v8h-128v32h-32v192l32 32h96l192 -224h160v416h-64v32h64h160h96 q26 0 45 -4.5t19 -11.5t-19 -11.5t-45 -4.5h-69l293 -352h64l224 -64l352 -32q261 -58 287 -93z" />
259
+ <glyph unicode="&#xf0fc;" horiz-adv-x="1664" d="M640 640v384h-256v-256q0 -53 37.5 -90.5t90.5 -37.5h128zM1664 192v-192h-1152v192l128 192h-128q-159 0 -271.5 112.5t-112.5 271.5v320l-64 64l32 128h480l32 128h960l32 -192l-64 -32v-800z" />
260
+ <glyph unicode="&#xf0fd;" d="M1280 192v896q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-320h-512v320q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-896q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v320h512v-320q0 -26 19 -45t45 -19h128q26 0 45 19t19 45zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
261
+ <glyph unicode="&#xf0fe;" d="M1280 576v128q0 26 -19 45t-45 19h-320v320q0 26 -19 45t-45 19h-128q-26 0 -45 -19t-19 -45v-320h-320q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h320v-320q0 -26 19 -45t45 -19h128q26 0 45 19t19 45v320h320q26 0 45 19t19 45zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
262
+ <glyph unicode="&#xf100;" horiz-adv-x="1024" d="M627 160q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23t-10 -23l-393 -393l393 -393q10 -10 10 -23zM1011 160q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23 t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23t-10 -23l-393 -393l393 -393q10 -10 10 -23z" />
263
+ <glyph unicode="&#xf101;" horiz-adv-x="1024" d="M595 576q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23zM979 576q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23 l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" />
264
+ <glyph unicode="&#xf102;" horiz-adv-x="1152" d="M1075 224q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-393 393l-393 -393q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l466 -466q10 -10 10 -23zM1075 608q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-393 393l-393 -393 q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" />
265
+ <glyph unicode="&#xf103;" horiz-adv-x="1152" d="M1075 672q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l393 -393l393 393q10 10 23 10t23 -10l50 -50q10 -10 10 -23zM1075 1056q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23 t10 23l50 50q10 10 23 10t23 -10l393 -393l393 393q10 10 23 10t23 -10l50 -50q10 -10 10 -23z" />
266
+ <glyph unicode="&#xf104;" horiz-adv-x="640" d="M627 992q0 -13 -10 -23l-393 -393l393 -393q10 -10 10 -23t-10 -23l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23z" />
267
+ <glyph unicode="&#xf105;" horiz-adv-x="640" d="M595 576q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" />
268
+ <glyph unicode="&#xf106;" horiz-adv-x="1152" d="M1075 352q0 -13 -10 -23l-50 -50q-10 -10 -23 -10t-23 10l-393 393l-393 -393q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l466 -466q10 -10 10 -23z" />
269
+ <glyph unicode="&#xf107;" horiz-adv-x="1152" d="M1075 800q0 -13 -10 -23l-466 -466q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l393 -393l393 393q10 10 23 10t23 -10l50 -50q10 -10 10 -23z" />
270
+ <glyph unicode="&#xf108;" horiz-adv-x="1920" d="M1792 544v832q0 13 -9.5 22.5t-22.5 9.5h-1600q-13 0 -22.5 -9.5t-9.5 -22.5v-832q0 -13 9.5 -22.5t22.5 -9.5h1600q13 0 22.5 9.5t9.5 22.5zM1920 1376v-1088q0 -66 -47 -113t-113 -47h-544q0 -37 16 -77.5t32 -71t16 -43.5q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19 t-19 45q0 14 16 44t32 70t16 78h-544q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h1600q66 0 113 -47t47 -113z" />
271
+ <glyph unicode="&#xf109;" horiz-adv-x="1920" d="M416 256q-66 0 -113 47t-47 113v704q0 66 47 113t113 47h1088q66 0 113 -47t47 -113v-704q0 -66 -47 -113t-113 -47h-1088zM384 1120v-704q0 -13 9.5 -22.5t22.5 -9.5h1088q13 0 22.5 9.5t9.5 22.5v704q0 13 -9.5 22.5t-22.5 9.5h-1088q-13 0 -22.5 -9.5t-9.5 -22.5z M1760 192h160v-96q0 -40 -47 -68t-113 -28h-1600q-66 0 -113 28t-47 68v96h160h1600zM1040 96q16 0 16 16t-16 16h-160q-16 0 -16 -16t16 -16h160z" />
272
+ <glyph unicode="&#xf10a;" horiz-adv-x="1152" d="M640 128q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1024 288v960q0 13 -9.5 22.5t-22.5 9.5h-832q-13 0 -22.5 -9.5t-9.5 -22.5v-960q0 -13 9.5 -22.5t22.5 -9.5h832q13 0 22.5 9.5t9.5 22.5zM1152 1248v-1088q0 -66 -47 -113t-113 -47h-832 q-66 0 -113 47t-47 113v1088q0 66 47 113t113 47h832q66 0 113 -47t47 -113z" />
273
+ <glyph unicode="&#xf10b;" horiz-adv-x="768" d="M464 128q0 33 -23.5 56.5t-56.5 23.5t-56.5 -23.5t-23.5 -56.5t23.5 -56.5t56.5 -23.5t56.5 23.5t23.5 56.5zM672 288v704q0 13 -9.5 22.5t-22.5 9.5h-512q-13 0 -22.5 -9.5t-9.5 -22.5v-704q0 -13 9.5 -22.5t22.5 -9.5h512q13 0 22.5 9.5t9.5 22.5zM480 1136 q0 16 -16 16h-160q-16 0 -16 -16t16 -16h160q16 0 16 16zM768 1152v-1024q0 -52 -38 -90t-90 -38h-512q-52 0 -90 38t-38 90v1024q0 52 38 90t90 38h512q52 0 90 -38t38 -90z" />
274
+ <glyph unicode="&#xf10c;" d="M768 1184q-148 0 -273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273t-73 273t-198 198t-273 73zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103 t279.5 -279.5t103 -385.5z" />
275
+ <glyph unicode="&#xf10d;" horiz-adv-x="1664" d="M768 576v-384q0 -80 -56 -136t-136 -56h-384q-80 0 -136 56t-56 136v704q0 104 40.5 198.5t109.5 163.5t163.5 109.5t198.5 40.5h64q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-64q-106 0 -181 -75t-75 -181v-32q0 -40 28 -68t68 -28h224q80 0 136 -56t56 -136z M1664 576v-384q0 -80 -56 -136t-136 -56h-384q-80 0 -136 56t-56 136v704q0 104 40.5 198.5t109.5 163.5t163.5 109.5t198.5 40.5h64q26 0 45 -19t19 -45v-128q0 -26 -19 -45t-45 -19h-64q-106 0 -181 -75t-75 -181v-32q0 -40 28 -68t68 -28h224q80 0 136 -56t56 -136z" />
276
+ <glyph unicode="&#xf10e;" horiz-adv-x="1664" d="M768 1216v-704q0 -104 -40.5 -198.5t-109.5 -163.5t-163.5 -109.5t-198.5 -40.5h-64q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h64q106 0 181 75t75 181v32q0 40 -28 68t-68 28h-224q-80 0 -136 56t-56 136v384q0 80 56 136t136 56h384q80 0 136 -56t56 -136zM1664 1216 v-704q0 -104 -40.5 -198.5t-109.5 -163.5t-163.5 -109.5t-198.5 -40.5h-64q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h64q106 0 181 75t75 181v32q0 40 -28 68t-68 28h-224q-80 0 -136 56t-56 136v384q0 80 56 136t136 56h384q80 0 136 -56t56 -136z" />
277
+ <glyph unicode="&#xf110;" horiz-adv-x="1568" d="M496 192q0 -60 -42.5 -102t-101.5 -42q-60 0 -102 42t-42 102t42 102t102 42q59 0 101.5 -42t42.5 -102zM928 0q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM320 640q0 -66 -47 -113t-113 -47t-113 47t-47 113 t47 113t113 47t113 -47t47 -113zM1360 192q0 -46 -33 -79t-79 -33t-79 33t-33 79t33 79t79 33t79 -33t33 -79zM528 1088q0 -73 -51.5 -124.5t-124.5 -51.5t-124.5 51.5t-51.5 124.5t51.5 124.5t124.5 51.5t124.5 -51.5t51.5 -124.5zM992 1280q0 -80 -56 -136t-136 -56 t-136 56t-56 136t56 136t136 56t136 -56t56 -136zM1536 640q0 -40 -28 -68t-68 -28t-68 28t-28 68t28 68t68 28t68 -28t28 -68zM1328 1088q0 -33 -23.5 -56.5t-56.5 -23.5t-56.5 23.5t-23.5 56.5t23.5 56.5t56.5 23.5t56.5 -23.5t23.5 -56.5z" />
278
+ <glyph unicode="&#xf111;" d="M1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
279
+ <glyph unicode="&#xf112;" horiz-adv-x="1792" d="M1792 416q0 -166 -127 -451q-3 -7 -10.5 -24t-13.5 -30t-13 -22q-12 -17 -28 -17q-15 0 -23.5 10t-8.5 25q0 9 2.5 26.5t2.5 23.5q5 68 5 123q0 101 -17.5 181t-48.5 138.5t-80 101t-105.5 69.5t-133 42.5t-154 21.5t-175.5 6h-224v-256q0 -26 -19 -45t-45 -19t-45 19 l-512 512q-19 19 -19 45t19 45l512 512q19 19 45 19t45 -19t19 -45v-256h224q713 0 875 -403q53 -134 53 -333z" />
280
+ <glyph unicode="&#xf113;" horiz-adv-x="1664" d="M640 320q0 -40 -12.5 -82t-43 -76t-72.5 -34t-72.5 34t-43 76t-12.5 82t12.5 82t43 76t72.5 34t72.5 -34t43 -76t12.5 -82zM1280 320q0 -40 -12.5 -82t-43 -76t-72.5 -34t-72.5 34t-43 76t-12.5 82t12.5 82t43 76t72.5 34t72.5 -34t43 -76t12.5 -82zM1440 320 q0 120 -69 204t-187 84q-41 0 -195 -21q-71 -11 -157 -11t-157 11q-152 21 -195 21q-118 0 -187 -84t-69 -204q0 -88 32 -153.5t81 -103t122 -60t140 -29.5t149 -7h168q82 0 149 7t140 29.5t122 60t81 103t32 153.5zM1664 496q0 -207 -61 -331q-38 -77 -105.5 -133t-141 -86 t-170 -47.5t-171.5 -22t-167 -4.5q-78 0 -142 3t-147.5 12.5t-152.5 30t-137 51.5t-121 81t-86 115q-62 123 -62 331q0 237 136 396q-27 82 -27 170q0 116 51 218q108 0 190 -39.5t189 -123.5q147 35 309 35q148 0 280 -32q105 82 187 121t189 39q51 -102 51 -218 q0 -87 -27 -168q136 -160 136 -398z" />
281
+ <glyph unicode="&#xf114;" horiz-adv-x="1664" d="M1536 224v704q0 40 -28 68t-68 28h-704q-40 0 -68 28t-28 68v64q0 40 -28 68t-68 28h-320q-40 0 -68 -28t-28 -68v-960q0 -40 28 -68t68 -28h1216q40 0 68 28t28 68zM1664 928v-704q0 -92 -66 -158t-158 -66h-1216q-92 0 -158 66t-66 158v960q0 92 66 158t158 66h320 q92 0 158 -66t66 -158v-32h672q92 0 158 -66t66 -158z" />
282
+ <glyph unicode="&#xf115;" horiz-adv-x="1920" d="M1781 605q0 35 -53 35h-1088q-40 0 -85.5 -21.5t-71.5 -52.5l-294 -363q-18 -24 -18 -40q0 -35 53 -35h1088q40 0 86 22t71 53l294 363q18 22 18 39zM640 768h768v160q0 40 -28 68t-68 28h-576q-40 0 -68 28t-28 68v64q0 40 -28 68t-68 28h-320q-40 0 -68 -28t-28 -68 v-853l256 315q44 53 116 87.5t140 34.5zM1909 605q0 -62 -46 -120l-295 -363q-43 -53 -116 -87.5t-140 -34.5h-1088q-92 0 -158 66t-66 158v960q0 92 66 158t158 66h320q92 0 158 -66t66 -158v-32h544q92 0 158 -66t66 -158v-160h192q54 0 99 -24.5t67 -70.5q15 -32 15 -68z " />
283
+ <glyph unicode="&#xf116;" horiz-adv-x="1152" d="M896 608v-64q0 -14 -9 -23t-23 -9h-224v-224q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v224h-224q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h224v224q0 14 9 23t23 9h64q14 0 23 -9t9 -23v-224h224q14 0 23 -9t9 -23zM1024 224v704q0 40 -28 68t-68 28h-704q-40 0 -68 -28 t-28 -68v-704q0 -40 28 -68t68 -28h704q40 0 68 28t28 68zM1152 928v-704q0 -92 -65.5 -158t-158.5 -66h-704q-93 0 -158.5 66t-65.5 158v704q0 93 65.5 158.5t158.5 65.5h704q93 0 158.5 -65.5t65.5 -158.5z" />
284
+ <glyph unicode="&#xf117;" horiz-adv-x="1152" d="M928 1152q93 0 158.5 -65.5t65.5 -158.5v-704q0 -92 -65.5 -158t-158.5 -66h-704q-93 0 -158.5 66t-65.5 158v704q0 93 65.5 158.5t158.5 65.5h704zM1024 224v704q0 40 -28 68t-68 28h-704q-40 0 -68 -28t-28 -68v-704q0 -40 28 -68t68 -28h704q40 0 68 28t28 68z M864 640q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-576q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h576z" />
285
+ <glyph unicode="&#xf118;" d="M1134 461q-37 -121 -138 -195t-228 -74t-228 74t-138 195q-8 25 4 48.5t38 31.5q25 8 48.5 -4t31.5 -38q25 -80 92.5 -129.5t151.5 -49.5t151.5 49.5t92.5 129.5q8 26 32 38t49 4t37 -31.5t4 -48.5zM640 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5 t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1152 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5 t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
286
+ <glyph unicode="&#xf119;" d="M1134 307q8 -25 -4 -48.5t-37 -31.5t-49 4t-32 38q-25 80 -92.5 129.5t-151.5 49.5t-151.5 -49.5t-92.5 -129.5q-8 -26 -31.5 -38t-48.5 -4q-26 8 -38 31.5t-4 48.5q37 121 138 195t228 74t228 -74t138 -195zM640 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5 t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1152 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204 t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
287
+ <glyph unicode="&#xf11a;" d="M1152 448q0 -26 -19 -45t-45 -19h-640q-26 0 -45 19t-19 45t19 45t45 19h640q26 0 45 -19t19 -45zM640 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1152 896q0 -53 -37.5 -90.5t-90.5 -37.5t-90.5 37.5 t-37.5 90.5t37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
288
+ <glyph unicode="&#xf11b;" horiz-adv-x="1920" d="M832 448v128q0 14 -9 23t-23 9h-192v192q0 14 -9 23t-23 9h-128q-14 0 -23 -9t-9 -23v-192h-192q-14 0 -23 -9t-9 -23v-128q0 -14 9 -23t23 -9h192v-192q0 -14 9 -23t23 -9h128q14 0 23 9t9 23v192h192q14 0 23 9t9 23zM1408 384q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5 t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1664 640q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM1920 512q0 -212 -150 -362t-362 -150q-192 0 -338 128h-220q-146 -128 -338 -128q-212 0 -362 150 t-150 362t150 362t362 150h896q212 0 362 -150t150 -362z" />
289
+ <glyph unicode="&#xf11c;" horiz-adv-x="1920" d="M384 368v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM512 624v-96q0 -16 -16 -16h-224q-16 0 -16 16v96q0 16 16 16h224q16 0 16 -16zM384 880v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1408 368v-96q0 -16 -16 -16 h-864q-16 0 -16 16v96q0 16 16 16h864q16 0 16 -16zM768 624v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM640 880v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1024 624v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16 h96q16 0 16 -16zM896 880v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1280 624v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1664 368v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1152 880v-96 q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1408 880v-96q0 -16 -16 -16h-96q-16 0 -16 16v96q0 16 16 16h96q16 0 16 -16zM1664 880v-352q0 -16 -16 -16h-224q-16 0 -16 16v96q0 16 16 16h112v240q0 16 16 16h96q16 0 16 -16zM1792 128v896h-1664v-896 h1664zM1920 1024v-896q0 -53 -37.5 -90.5t-90.5 -37.5h-1664q-53 0 -90.5 37.5t-37.5 90.5v896q0 53 37.5 90.5t90.5 37.5h1664q53 0 90.5 -37.5t37.5 -90.5z" />
290
+ <glyph unicode="&#xf11d;" horiz-adv-x="1792" d="M1664 491v616q-169 -91 -306 -91q-82 0 -145 32q-100 49 -184 76.5t-178 27.5q-173 0 -403 -127v-599q245 113 433 113q55 0 103.5 -7.5t98 -26t77 -31t82.5 -39.5l28 -14q44 -22 101 -22q120 0 293 92zM320 1280q0 -35 -17.5 -64t-46.5 -46v-1266q0 -14 -9 -23t-23 -9 h-64q-14 0 -23 9t-9 23v1266q-29 17 -46.5 46t-17.5 64q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1792 1216v-763q0 -39 -35 -57q-10 -5 -17 -9q-218 -116 -369 -116q-88 0 -158 35l-28 14q-64 33 -99 48t-91 29t-114 14q-102 0 -235.5 -44t-228.5 -102 q-15 -9 -33 -9q-16 0 -32 8q-32 19 -32 56v742q0 35 31 55q35 21 78.5 42.5t114 52t152.5 49.5t155 19q112 0 209 -31t209 -86q38 -19 89 -19q122 0 310 112q22 12 31 17q31 16 62 -2q31 -20 31 -55z" />
291
+ <glyph unicode="&#xf11e;" horiz-adv-x="1792" d="M832 536v192q-181 -16 -384 -117v-185q205 96 384 110zM832 954v197q-172 -8 -384 -126v-189q215 111 384 118zM1664 491v184q-235 -116 -384 -71v224q-20 6 -39 15q-5 3 -33 17t-34.5 17t-31.5 15t-34.5 15.5t-32.5 13t-36 12.5t-35 8.5t-39.5 7.5t-39.5 4t-44 2 q-23 0 -49 -3v-222h19q102 0 192.5 -29t197.5 -82q19 -9 39 -15v-188q42 -17 91 -17q120 0 293 92zM1664 918v189q-169 -91 -306 -91q-45 0 -78 8v-196q148 -42 384 90zM320 1280q0 -35 -17.5 -64t-46.5 -46v-1266q0 -14 -9 -23t-23 -9h-64q-14 0 -23 9t-9 23v1266 q-29 17 -46.5 46t-17.5 64q0 53 37.5 90.5t90.5 37.5t90.5 -37.5t37.5 -90.5zM1792 1216v-763q0 -39 -35 -57q-10 -5 -17 -9q-218 -116 -369 -116q-88 0 -158 35l-28 14q-64 33 -99 48t-91 29t-114 14q-102 0 -235.5 -44t-228.5 -102q-15 -9 -33 -9q-16 0 -32 8 q-32 19 -32 56v742q0 35 31 55q35 21 78.5 42.5t114 52t152.5 49.5t155 19q112 0 209 -31t209 -86q38 -19 89 -19q122 0 310 112q22 12 31 17q31 16 62 -2q31 -20 31 -55z" />
292
+ <glyph unicode="&#xf120;" horiz-adv-x="1664" d="M585 553l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23t-10 -23zM1664 96v-64q0 -14 -9 -23t-23 -9h-960q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h960q14 0 23 -9 t9 -23z" />
293
+ <glyph unicode="&#xf121;" horiz-adv-x="1920" d="M617 137l-50 -50q-10 -10 -23 -10t-23 10l-466 466q-10 10 -10 23t10 23l466 466q10 10 23 10t23 -10l50 -50q10 -10 10 -23t-10 -23l-393 -393l393 -393q10 -10 10 -23t-10 -23zM1208 1204l-373 -1291q-4 -13 -15.5 -19.5t-23.5 -2.5l-62 17q-13 4 -19.5 15.5t-2.5 24.5 l373 1291q4 13 15.5 19.5t23.5 2.5l62 -17q13 -4 19.5 -15.5t2.5 -24.5zM1865 553l-466 -466q-10 -10 -23 -10t-23 10l-50 50q-10 10 -10 23t10 23l393 393l-393 393q-10 10 -10 23t10 23l50 50q10 10 23 10t23 -10l466 -466q10 -10 10 -23t-10 -23z" />
294
+ <glyph unicode="&#xf122;" horiz-adv-x="1792" d="M640 454v-70q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-512 512q-19 19 -19 45t19 45l512 512q29 31 70 14q39 -17 39 -59v-69l-397 -398q-19 -19 -19 -45t19 -45zM1792 416q0 -58 -17 -133.5t-38.5 -138t-48 -125t-40.5 -90.5l-20 -40q-8 -17 -28 -17q-6 0 -9 1 q-25 8 -23 34q43 400 -106 565q-64 71 -170.5 110.5t-267.5 52.5v-251q0 -42 -39 -59q-13 -5 -25 -5q-27 0 -45 19l-512 512q-19 19 -19 45t19 45l512 512q29 31 70 14q39 -17 39 -59v-262q411 -28 599 -221q169 -173 169 -509z" />
295
+ <glyph unicode="&#xf123;" horiz-adv-x="1664" d="M1186 579l257 250l-356 52l-66 10l-30 60l-159 322v-963l59 -31l318 -168l-60 355l-12 66zM1638 841l-363 -354l86 -500q5 -33 -6 -51.5t-34 -18.5q-17 0 -40 12l-449 236l-449 -236q-23 -12 -40 -12q-23 0 -34 18.5t-6 51.5l86 500l-364 354q-32 32 -23 59.5t54 34.5 l502 73l225 455q20 41 49 41q28 0 49 -41l225 -455l502 -73q45 -7 54 -34.5t-24 -59.5z" />
296
+ <glyph unicode="&#xf124;" horiz-adv-x="1408" d="M1401 1187l-640 -1280q-17 -35 -57 -35q-5 0 -15 2q-22 5 -35.5 22.5t-13.5 39.5v576h-576q-22 0 -39.5 13.5t-22.5 35.5t4 42t29 30l1280 640q13 7 29 7q27 0 45 -19q15 -14 18.5 -34.5t-6.5 -39.5z" />
297
+ <glyph unicode="&#xf125;" horiz-adv-x="1664" d="M557 256h595v595zM512 301l595 595h-595v-595zM1664 224v-192q0 -14 -9 -23t-23 -9h-224v-224q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v224h-864q-14 0 -23 9t-9 23v864h-224q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h224v224q0 14 9 23t23 9h192q14 0 23 -9t9 -23 v-224h851l246 247q10 9 23 9t23 -9q9 -10 9 -23t-9 -23l-247 -246v-851h224q14 0 23 -9t9 -23z" />
298
+ <glyph unicode="&#xf126;" horiz-adv-x="1024" d="M288 64q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM288 1216q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM928 1088q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM1024 1088q0 -52 -26 -96.5t-70 -69.5 q-2 -287 -226 -414q-68 -38 -203 -81q-128 -40 -169.5 -71t-41.5 -100v-26q44 -25 70 -69.5t26 -96.5q0 -80 -56 -136t-136 -56t-136 56t-56 136q0 52 26 96.5t70 69.5v820q-44 25 -70 69.5t-26 96.5q0 80 56 136t136 56t136 -56t56 -136q0 -52 -26 -96.5t-70 -69.5v-497 q54 26 154 57q55 17 87.5 29.5t70.5 31t59 39.5t40.5 51t28 69.5t8.5 91.5q-44 25 -70 69.5t-26 96.5q0 80 56 136t136 56t136 -56t56 -136z" />
299
+ <glyph unicode="&#xf127;" horiz-adv-x="1664" d="M439 265l-256 -256q-10 -9 -23 -9q-12 0 -23 9q-9 10 -9 23t9 23l256 256q10 9 23 9t23 -9q9 -10 9 -23t-9 -23zM608 224v-320q0 -14 -9 -23t-23 -9t-23 9t-9 23v320q0 14 9 23t23 9t23 -9t9 -23zM384 448q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9t-9 23t9 23t23 9h320 q14 0 23 -9t9 -23zM1648 320q0 -120 -85 -203l-147 -146q-83 -83 -203 -83q-121 0 -204 85l-334 335q-21 21 -42 56l239 18l273 -274q27 -27 68 -27.5t68 26.5l147 146q28 28 28 67q0 40 -28 68l-274 275l18 239q35 -21 56 -42l336 -336q84 -86 84 -204zM1031 1044l-239 -18 l-273 274q-28 28 -68 28q-39 0 -68 -27l-147 -146q-28 -28 -28 -67q0 -40 28 -68l274 -274l-18 -240q-35 21 -56 42l-336 336q-84 86 -84 204q0 120 85 203l147 146q83 83 203 83q121 0 204 -85l334 -335q21 -21 42 -56zM1664 960q0 -14 -9 -23t-23 -9h-320q-14 0 -23 9 t-9 23t9 23t23 9h320q14 0 23 -9t9 -23zM1120 1504v-320q0 -14 -9 -23t-23 -9t-23 9t-9 23v320q0 14 9 23t23 9t23 -9t9 -23zM1527 1353l-256 -256q-11 -9 -23 -9t-23 9q-9 10 -9 23t9 23l256 256q10 9 23 9t23 -9q9 -10 9 -23t-9 -23z" />
300
+ <glyph unicode="&#xf128;" horiz-adv-x="1024" d="M704 280v-240q0 -16 -12 -28t-28 -12h-240q-16 0 -28 12t-12 28v240q0 16 12 28t28 12h240q16 0 28 -12t12 -28zM1020 880q0 -54 -15.5 -101t-35 -76.5t-55 -59.5t-57.5 -43.5t-61 -35.5q-41 -23 -68.5 -65t-27.5 -67q0 -17 -12 -32.5t-28 -15.5h-240q-15 0 -25.5 18.5 t-10.5 37.5v45q0 83 65 156.5t143 108.5q59 27 84 56t25 76q0 42 -46.5 74t-107.5 32q-65 0 -108 -29q-35 -25 -107 -115q-13 -16 -31 -16q-12 0 -25 8l-164 125q-13 10 -15.5 25t5.5 28q160 266 464 266q80 0 161 -31t146 -83t106 -127.5t41 -158.5z" />
301
+ <glyph unicode="&#xf129;" horiz-adv-x="640" d="M640 192v-128q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h64v384h-64q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h384q26 0 45 -19t19 -45v-576h64q26 0 45 -19t19 -45zM512 1344v-192q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v192 q0 26 19 45t45 19h256q26 0 45 -19t19 -45z" />
302
+ <glyph unicode="&#xf12a;" horiz-adv-x="640" d="M512 288v-224q0 -26 -19 -45t-45 -19h-256q-26 0 -45 19t-19 45v224q0 26 19 45t45 19h256q26 0 45 -19t19 -45zM542 1344l-28 -768q-1 -26 -20.5 -45t-45.5 -19h-256q-26 0 -45.5 19t-20.5 45l-28 768q-1 26 17.5 45t44.5 19h320q26 0 44.5 -19t17.5 -45z" />
303
+ <glyph unicode="&#xf12b;" d="M897 167v-167h-248l-159 252l-24 42q-8 9 -11 21h-3l-9 -21q-10 -20 -25 -44l-155 -250h-258v167h128l197 291l-185 272h-137v168h276l139 -228q2 -4 23 -42q8 -9 11 -21h3q3 9 11 21l25 42l140 228h257v-168h-125l-184 -267l204 -296h109zM1534 846v-206h-514l-3 27 q-4 28 -4 46q0 64 26 117t65 86.5t84 65t84 54.5t65 54t26 64q0 38 -29.5 62.5t-70.5 24.5q-51 0 -97 -39q-14 -11 -36 -38l-105 92q26 37 63 66q83 65 188 65q110 0 178 -59.5t68 -158.5q0 -56 -24.5 -103t-62 -76.5t-81.5 -58.5t-82 -50.5t-65.5 -51.5t-30.5 -63h232v80 h126z" />
304
+ <glyph unicode="&#xf12c;" d="M897 167v-167h-248l-159 252l-24 42q-8 9 -11 21h-3l-9 -21q-10 -20 -25 -44l-155 -250h-258v167h128l197 291l-185 272h-137v168h276l139 -228q2 -4 23 -42q8 -9 11 -21h3q3 9 11 21l25 42l140 228h257v-168h-125l-184 -267l204 -296h109zM1536 -50v-206h-514l-4 27 q-3 45 -3 46q0 64 26 117t65 86.5t84 65t84 54.5t65 54t26 64q0 38 -29.5 62.5t-70.5 24.5q-51 0 -97 -39q-14 -11 -36 -38l-105 92q26 37 63 66q80 65 188 65q110 0 178 -59.5t68 -158.5q0 -66 -34.5 -118.5t-84 -86t-99.5 -62.5t-87 -63t-41 -73h232v80h126z" />
305
+ <glyph unicode="&#xf12d;" horiz-adv-x="1920" d="M896 128l336 384h-768l-336 -384h768zM1909 1205q15 -34 9.5 -71.5t-30.5 -65.5l-896 -1024q-38 -44 -96 -44h-768q-38 0 -69.5 20.5t-47.5 54.5q-15 34 -9.5 71.5t30.5 65.5l896 1024q38 44 96 44h768q38 0 69.5 -20.5t47.5 -54.5z" />
306
+ <glyph unicode="&#xf12e;" horiz-adv-x="1664" d="M1664 438q0 -81 -44.5 -135t-123.5 -54q-41 0 -77.5 17.5t-59 38t-56.5 38t-71 17.5q-110 0 -110 -124q0 -39 16 -115t15 -115v-5q-22 0 -33 -1q-34 -3 -97.5 -11.5t-115.5 -13.5t-98 -5q-61 0 -103 26.5t-42 83.5q0 37 17.5 71t38 56.5t38 59t17.5 77.5q0 79 -54 123.5 t-135 44.5q-84 0 -143 -45.5t-59 -127.5q0 -43 15 -83t33.5 -64.5t33.5 -53t15 -50.5q0 -45 -46 -89q-37 -35 -117 -35q-95 0 -245 24q-9 2 -27.5 4t-27.5 4l-13 2q-1 0 -3 1q-2 0 -2 1v1024q2 -1 17.5 -3.5t34 -5t21.5 -3.5q150 -24 245 -24q80 0 117 35q46 44 46 89 q0 22 -15 50.5t-33.5 53t-33.5 64.5t-15 83q0 82 59 127.5t144 45.5q80 0 134 -44.5t54 -123.5q0 -41 -17.5 -77.5t-38 -59t-38 -56.5t-17.5 -71q0 -57 42 -83.5t103 -26.5q64 0 180 15t163 17v-2q-1 -2 -3.5 -17.5t-5 -34t-3.5 -21.5q-24 -150 -24 -245q0 -80 35 -117 q44 -46 89 -46q22 0 50.5 15t53 33.5t64.5 33.5t83 15q82 0 127.5 -59t45.5 -143z" />
307
+ <glyph unicode="&#xf130;" horiz-adv-x="1152" d="M1152 832v-128q0 -221 -147.5 -384.5t-364.5 -187.5v-132h256q26 0 45 -19t19 -45t-19 -45t-45 -19h-640q-26 0 -45 19t-19 45t19 45t45 19h256v132q-217 24 -364.5 187.5t-147.5 384.5v128q0 26 19 45t45 19t45 -19t19 -45v-128q0 -185 131.5 -316.5t316.5 -131.5 t316.5 131.5t131.5 316.5v128q0 26 19 45t45 19t45 -19t19 -45zM896 1216v-512q0 -132 -94 -226t-226 -94t-226 94t-94 226v512q0 132 94 226t226 94t226 -94t94 -226z" />
308
+ <glyph unicode="&#xf131;" horiz-adv-x="1408" d="M271 591l-101 -101q-42 103 -42 214v128q0 26 19 45t45 19t45 -19t19 -45v-128q0 -53 15 -113zM1385 1193l-361 -361v-128q0 -132 -94 -226t-226 -94q-55 0 -109 19l-96 -96q97 -51 205 -51q185 0 316.5 131.5t131.5 316.5v128q0 26 19 45t45 19t45 -19t19 -45v-128 q0 -221 -147.5 -384.5t-364.5 -187.5v-132h256q26 0 45 -19t19 -45t-19 -45t-45 -19h-640q-26 0 -45 19t-19 45t19 45t45 19h256v132q-125 13 -235 81l-254 -254q-10 -10 -23 -10t-23 10l-82 82q-10 10 -10 23t10 23l1234 1234q10 10 23 10t23 -10l82 -82q10 -10 10 -23 t-10 -23zM1005 1325l-621 -621v512q0 132 94 226t226 94q102 0 184.5 -59t116.5 -152z" />
309
+ <glyph unicode="&#xf132;" horiz-adv-x="1280" d="M1088 576v640h-448v-1137q119 63 213 137q235 184 235 360zM1280 1344v-768q0 -86 -33.5 -170.5t-83 -150t-118 -127.5t-126.5 -103t-121 -77.5t-89.5 -49.5t-42.5 -20q-12 -6 -26 -6t-26 6q-16 7 -42.5 20t-89.5 49.5t-121 77.5t-126.5 103t-118 127.5t-83 150 t-33.5 170.5v768q0 26 19 45t45 19h1152q26 0 45 -19t19 -45z" />
310
+ <glyph unicode="&#xf133;" horiz-adv-x="1664" d="M128 -128h1408v1024h-1408v-1024zM512 1088v288q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-288q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1280 1088v288q0 14 -9 23t-23 9h-64q-14 0 -23 -9t-9 -23v-288q0 -14 9 -23t23 -9h64q14 0 23 9t9 23zM1664 1152v-1280 q0 -52 -38 -90t-90 -38h-1408q-52 0 -90 38t-38 90v1280q0 52 38 90t90 38h128v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h384v96q0 66 47 113t113 47h64q66 0 113 -47t47 -113v-96h128q52 0 90 -38t38 -90z" />
311
+ <glyph unicode="&#xf134;" horiz-adv-x="1408" d="M512 1344q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1408 1376v-320q0 -16 -12 -25q-8 -7 -20 -7q-4 0 -7 1l-448 96q-11 2 -18 11t-7 20h-256v-102q111 -23 183.5 -111t72.5 -203v-800q0 -26 -19 -45t-45 -19h-512q-26 0 -45 19t-19 45v800 q0 106 62.5 190.5t161.5 114.5v111h-32q-59 0 -115 -23.5t-91.5 -53t-66 -66.5t-40.5 -53.5t-14 -24.5q-17 -35 -57 -35q-16 0 -29 7q-23 12 -31.5 37t3.5 49q5 10 14.5 26t37.5 53.5t60.5 70t85 67t108.5 52.5q-25 42 -25 86q0 66 47 113t113 47t113 -47t47 -113 q0 -33 -14 -64h302q0 11 7 20t18 11l448 96q3 1 7 1q12 0 20 -7q12 -9 12 -25z" />
312
+ <glyph unicode="&#xf135;" horiz-adv-x="1664" d="M1440 1088q0 40 -28 68t-68 28t-68 -28t-28 -68t28 -68t68 -28t68 28t28 68zM1664 1376q0 -249 -75.5 -430.5t-253.5 -360.5q-81 -80 -195 -176l-20 -379q-2 -16 -16 -26l-384 -224q-7 -4 -16 -4q-12 0 -23 9l-64 64q-13 14 -8 32l85 276l-281 281l-276 -85q-3 -1 -9 -1 q-14 0 -23 9l-64 64q-17 19 -5 39l224 384q10 14 26 16l379 20q96 114 176 195q188 187 358 258t431 71q14 0 24 -9.5t10 -22.5z" />
313
+ <glyph unicode="&#xf136;" horiz-adv-x="1792" d="M1708 881l-188 -881h-304l181 849q4 21 1 43q-4 20 -16 35q-10 14 -28 24q-18 9 -40 9h-197l-205 -960h-303l204 960h-304l-205 -960h-304l272 1280h1139q157 0 245 -118q86 -116 52 -281z" />
314
+ <glyph unicode="&#xf137;" d="M909 141l102 102q19 19 19 45t-19 45l-307 307l307 307q19 19 19 45t-19 45l-102 102q-19 19 -45 19t-45 -19l-454 -454q-19 -19 -19 -45t19 -45l454 -454q19 -19 45 -19t45 19zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
315
+ <glyph unicode="&#xf138;" d="M717 141l454 454q19 19 19 45t-19 45l-454 454q-19 19 -45 19t-45 -19l-102 -102q-19 -19 -19 -45t19 -45l307 -307l-307 -307q-19 -19 -19 -45t19 -45l102 -102q19 -19 45 -19t45 19zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
316
+ <glyph unicode="&#xf139;" d="M1165 397l102 102q19 19 19 45t-19 45l-454 454q-19 19 -45 19t-45 -19l-454 -454q-19 -19 -19 -45t19 -45l102 -102q19 -19 45 -19t45 19l307 307l307 -307q19 -19 45 -19t45 19zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
317
+ <glyph unicode="&#xf13a;" d="M813 237l454 454q19 19 19 45t-19 45l-102 102q-19 19 -45 19t-45 -19l-307 -307l-307 307q-19 19 -45 19t-45 -19l-102 -102q-19 -19 -19 -45t19 -45l454 -454q19 -19 45 -19t45 19zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5 t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
318
+ <glyph unicode="&#xf13b;" horiz-adv-x="1408" d="M1130 939l16 175h-884l47 -534h612l-22 -228l-197 -53l-196 53l-13 140h-175l22 -278l362 -100h4v1l359 99l50 544h-644l-15 181h674zM0 1408h1408l-128 -1438l-578 -162l-574 162z" />
319
+ <glyph unicode="&#xf13c;" horiz-adv-x="1792" d="M275 1408h1505l-266 -1333l-804 -267l-698 267l71 356h297l-29 -147l422 -161l486 161l68 339h-1208l58 297h1209l38 191h-1208z" />
320
+ <glyph unicode="&#xf13d;" horiz-adv-x="1792" d="M960 1280q0 26 -19 45t-45 19t-45 -19t-19 -45t19 -45t45 -19t45 19t19 45zM1792 352v-352q0 -22 -20 -30q-8 -2 -12 -2q-13 0 -23 9l-93 93q-119 -143 -318.5 -226.5t-429.5 -83.5t-429.5 83.5t-318.5 226.5l-93 -93q-9 -9 -23 -9q-4 0 -12 2q-20 8 -20 30v352 q0 14 9 23t23 9h352q22 0 30 -20q8 -19 -7 -35l-100 -100q67 -91 189.5 -153.5t271.5 -82.5v647h-192q-26 0 -45 19t-19 45v128q0 26 19 45t45 19h192v163q-58 34 -93 92.5t-35 128.5q0 106 75 181t181 75t181 -75t75 -181q0 -70 -35 -128.5t-93 -92.5v-163h192q26 0 45 -19 t19 -45v-128q0 -26 -19 -45t-45 -19h-192v-647q149 20 271.5 82.5t189.5 153.5l-100 100q-15 16 -7 35q8 20 30 20h352q14 0 23 -9t9 -23z" />
321
+ <glyph unicode="&#xf13e;" horiz-adv-x="1152" d="M1056 768q40 0 68 -28t28 -68v-576q0 -40 -28 -68t-68 -28h-960q-40 0 -68 28t-28 68v576q0 40 28 68t68 28h32v320q0 185 131.5 316.5t316.5 131.5t316.5 -131.5t131.5 -316.5q0 -26 -19 -45t-45 -19h-64q-26 0 -45 19t-19 45q0 106 -75 181t-181 75t-181 -75t-75 -181 v-320h736z" />
322
+ <glyph unicode="&#xf140;" d="M1024 640q0 -106 -75 -181t-181 -75t-181 75t-75 181t75 181t181 75t181 -75t75 -181zM1152 640q0 159 -112.5 271.5t-271.5 112.5t-271.5 -112.5t-112.5 -271.5t112.5 -271.5t271.5 -112.5t271.5 112.5t112.5 271.5zM1280 640q0 -212 -150 -362t-362 -150t-362 150 t-150 362t150 362t362 150t362 -150t150 -362zM1408 640q0 130 -51 248.5t-136.5 204t-204 136.5t-248.5 51t-248.5 -51t-204 -136.5t-136.5 -204t-51 -248.5t51 -248.5t136.5 -204t204 -136.5t248.5 -51t248.5 51t204 136.5t136.5 204t51 248.5zM1536 640 q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
323
+ <glyph unicode="&#xf141;" horiz-adv-x="1408" d="M384 800v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68zM896 800v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68zM1408 800v-192q0 -40 -28 -68t-68 -28h-192 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68z" />
324
+ <glyph unicode="&#xf142;" horiz-adv-x="384" d="M384 288v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68zM384 800v-192q0 -40 -28 -68t-68 -28h-192q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68zM384 1312v-192q0 -40 -28 -68t-68 -28h-192 q-40 0 -68 28t-28 68v192q0 40 28 68t68 28h192q40 0 68 -28t28 -68z" />
325
+ <glyph unicode="&#xf143;" d="M512 256q0 53 -37.5 90.5t-90.5 37.5t-90.5 -37.5t-37.5 -90.5t37.5 -90.5t90.5 -37.5t90.5 37.5t37.5 90.5zM863 162q-13 232 -177 396t-396 177q-14 1 -24 -9t-10 -23v-128q0 -13 8.5 -22t21.5 -10q154 -11 264 -121t121 -264q1 -13 10 -21.5t22 -8.5h128q13 0 23 10 t9 24zM1247 161q-5 154 -56 297.5t-139.5 260t-205 205t-260 139.5t-297.5 56q-14 1 -23 -9q-10 -10 -10 -23v-128q0 -13 9 -22t22 -10q204 -7 378 -111.5t278.5 -278.5t111.5 -378q1 -13 10 -22t22 -9h128q13 0 23 10q11 9 9 23zM1536 1120v-960q0 -119 -84.5 -203.5 t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
326
+ <glyph unicode="&#xf144;" d="M768 1408q209 0 385.5 -103t279.5 -279.5t103 -385.5t-103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103zM1152 585q32 18 32 55t-32 55l-544 320q-31 19 -64 1q-32 -19 -32 -56v-640q0 -37 32 -56 q16 -8 32 -8q17 0 32 9z" />
327
+ <glyph unicode="&#xf145;" horiz-adv-x="1792" d="M1024 1084l316 -316l-572 -572l-316 316zM813 105l618 618q19 19 19 45t-19 45l-362 362q-18 18 -45 18t-45 -18l-618 -618q-19 -19 -19 -45t19 -45l362 -362q18 -18 45 -18t45 18zM1702 742l-907 -908q-37 -37 -90.5 -37t-90.5 37l-126 126q56 56 56 136t-56 136 t-136 56t-136 -56l-125 126q-37 37 -37 90.5t37 90.5l907 906q37 37 90.5 37t90.5 -37l125 -125q-56 -56 -56 -136t56 -136t136 -56t136 56l126 -125q37 -37 37 -90.5t-37 -90.5z" />
328
+ <glyph unicode="&#xf146;" d="M1280 576v128q0 26 -19 45t-45 19h-896q-26 0 -45 -19t-19 -45v-128q0 -26 19 -45t45 -19h896q26 0 45 19t19 45zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5 t84.5 -203.5z" />
329
+ <glyph unicode="&#xf147;" horiz-adv-x="1408" d="M1152 736v-64q0 -14 -9 -23t-23 -9h-832q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h832q14 0 23 -9t9 -23zM1280 288v832q0 66 -47 113t-113 47h-832q-66 0 -113 -47t-47 -113v-832q0 -66 47 -113t113 -47h832q66 0 113 47t47 113zM1408 1120v-832q0 -119 -84.5 -203.5 t-203.5 -84.5h-832q-119 0 -203.5 84.5t-84.5 203.5v832q0 119 84.5 203.5t203.5 84.5h832q119 0 203.5 -84.5t84.5 -203.5z" />
330
+ <glyph unicode="&#xf148;" horiz-adv-x="1024" d="M1018 933q-18 -37 -58 -37h-192v-864q0 -14 -9 -23t-23 -9h-704q-21 0 -29 18q-8 20 4 35l160 192q9 11 25 11h320v640h-192q-40 0 -58 37q-17 37 9 68l320 384q18 22 49 22t49 -22l320 -384q27 -32 9 -68z" />
331
+ <glyph unicode="&#xf149;" horiz-adv-x="1024" d="M32 1280h704q13 0 22.5 -9.5t9.5 -23.5v-863h192q40 0 58 -37t-9 -69l-320 -384q-18 -22 -49 -22t-49 22l-320 384q-26 31 -9 69q18 37 58 37h192v640h-320q-14 0 -25 11l-160 192q-13 14 -4 34q9 19 29 19z" />
332
+ <glyph unicode="&#xf14a;" d="M685 237l614 614q19 19 19 45t-19 45l-102 102q-19 19 -45 19t-45 -19l-467 -467l-211 211q-19 19 -45 19t-45 -19l-102 -102q-19 -19 -19 -45t19 -45l358 -358q19 -19 45 -19t45 19zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5 t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
333
+ <glyph unicode="&#xf14b;" d="M404 428l152 -152l-52 -52h-56v96h-96v56zM818 818q14 -13 -3 -30l-291 -291q-17 -17 -30 -3q-14 13 3 30l291 291q17 17 30 3zM544 128l544 544l-288 288l-544 -544v-288h288zM1152 736l92 92q28 28 28 68t-28 68l-152 152q-28 28 -68 28t-68 -28l-92 -92zM1536 1120 v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
334
+ <glyph unicode="&#xf14c;" d="M1280 608v480q0 26 -19 45t-45 19h-480q-42 0 -59 -39q-17 -41 14 -70l144 -144l-534 -534q-19 -19 -19 -45t19 -45l102 -102q19 -19 45 -19t45 19l534 534l144 -144q18 -19 45 -19q12 0 25 5q39 17 39 59zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960 q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
335
+ <glyph unicode="&#xf14d;" d="M1005 435l352 352q19 19 19 45t-19 45l-352 352q-30 31 -69 14q-40 -17 -40 -59v-160q-119 0 -216 -19.5t-162.5 -51t-114 -79t-76.5 -95.5t-44.5 -109t-21.5 -111.5t-5 -110.5q0 -181 167 -404q10 -12 25 -12q7 0 13 3q22 9 19 33q-44 354 62 473q46 52 130 75.5 t224 23.5v-160q0 -42 40 -59q12 -5 24 -5q26 0 45 19zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
336
+ <glyph unicode="&#xf14e;" d="M640 448l256 128l-256 128v-256zM1024 1039v-542l-512 -256v542zM1312 640q0 148 -73 273t-198 198t-273 73t-273 -73t-198 -198t-73 -273t73 -273t198 -198t273 -73t273 73t198 198t73 273zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103 t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
337
+ <glyph unicode="&#xf150;" d="M1145 861q18 -35 -5 -66l-320 -448q-19 -27 -52 -27t-52 27l-320 448q-23 31 -5 66q17 35 57 35h640q40 0 57 -35zM1280 160v960q0 13 -9.5 22.5t-22.5 9.5h-960q-13 0 -22.5 -9.5t-9.5 -22.5v-960q0 -13 9.5 -22.5t22.5 -9.5h960q13 0 22.5 9.5t9.5 22.5zM1536 1120 v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
338
+ <glyph unicode="&#xf151;" d="M1145 419q-17 -35 -57 -35h-640q-40 0 -57 35q-18 35 5 66l320 448q19 27 52 27t52 -27l320 -448q23 -31 5 -66zM1280 160v960q0 13 -9.5 22.5t-22.5 9.5h-960q-13 0 -22.5 -9.5t-9.5 -22.5v-960q0 -13 9.5 -22.5t22.5 -9.5h960q13 0 22.5 9.5t9.5 22.5zM1536 1120v-960 q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
339
+ <glyph unicode="&#xf152;" d="M1088 640q0 -33 -27 -52l-448 -320q-31 -23 -66 -5q-35 17 -35 57v640q0 40 35 57q35 18 66 -5l448 -320q27 -19 27 -52zM1280 160v960q0 14 -9 23t-23 9h-960q-14 0 -23 -9t-9 -23v-960q0 -14 9 -23t23 -9h960q14 0 23 9t9 23zM1536 1120v-960q0 -119 -84.5 -203.5 t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
340
+ <glyph unicode="&#xf153;" horiz-adv-x="1024" d="M976 229l35 -159q3 -12 -3 -22.5t-17 -14.5l-5 -1q-4 -2 -10.5 -3.5t-16 -4.5t-21.5 -5.5t-25.5 -5t-30 -5t-33.5 -4.5t-36.5 -3t-38.5 -1q-234 0 -409 130.5t-238 351.5h-95q-13 0 -22.5 9.5t-9.5 22.5v113q0 13 9.5 22.5t22.5 9.5h66q-2 57 1 105h-67q-14 0 -23 9 t-9 23v114q0 14 9 23t23 9h98q67 210 243.5 338t400.5 128q102 0 194 -23q11 -3 20 -15q6 -11 3 -24l-43 -159q-3 -13 -14 -19.5t-24 -2.5l-4 1q-4 1 -11.5 2.5l-17.5 3.5t-22.5 3.5t-26 3t-29 2.5t-29.5 1q-126 0 -226 -64t-150 -176h468q16 0 25 -12q10 -12 7 -26 l-24 -114q-5 -26 -32 -26h-488q-3 -37 0 -105h459q15 0 25 -12q9 -12 6 -27l-24 -112q-2 -11 -11 -18.5t-20 -7.5h-387q48 -117 149.5 -185.5t228.5 -68.5q18 0 36 1.5t33.5 3.5t29.5 4.5t24.5 5t18.5 4.5l12 3l5 2q13 5 26 -2q12 -7 15 -21z" />
341
+ <glyph unicode="&#xf154;" horiz-adv-x="1024" d="M1020 399v-367q0 -14 -9 -23t-23 -9h-956q-14 0 -23 9t-9 23v150q0 13 9.5 22.5t22.5 9.5h97v383h-95q-14 0 -23 9.5t-9 22.5v131q0 14 9 23t23 9h95v223q0 171 123.5 282t314.5 111q185 0 335 -125q9 -8 10 -20.5t-7 -22.5l-103 -127q-9 -11 -22 -12q-13 -2 -23 7 q-5 5 -26 19t-69 32t-93 18q-85 0 -137 -47t-52 -123v-215h305q13 0 22.5 -9t9.5 -23v-131q0 -13 -9.5 -22.5t-22.5 -9.5h-305v-379h414v181q0 13 9 22.5t23 9.5h162q14 0 23 -9.5t9 -22.5z" />
342
+ <glyph unicode="&#xf155;" horiz-adv-x="1024" d="M978 351q0 -153 -99.5 -263.5t-258.5 -136.5v-175q0 -14 -9 -23t-23 -9h-135q-13 0 -22.5 9.5t-9.5 22.5v175q-66 9 -127.5 31t-101.5 44.5t-74 48t-46.5 37.5t-17.5 18q-17 21 -2 41l103 135q7 10 23 12q15 2 24 -9l2 -2q113 -99 243 -125q37 -8 74 -8q81 0 142.5 43 t61.5 122q0 28 -15 53t-33.5 42t-58.5 37.5t-66 32t-80 32.5q-39 16 -61.5 25t-61.5 26.5t-62.5 31t-56.5 35.5t-53.5 42.5t-43.5 49t-35.5 58t-21 66.5t-8.5 78q0 138 98 242t255 134v180q0 13 9.5 22.5t22.5 9.5h135q14 0 23 -9t9 -23v-176q57 -6 110.5 -23t87 -33.5 t63.5 -37.5t39 -29t15 -14q17 -18 5 -38l-81 -146q-8 -15 -23 -16q-14 -3 -27 7q-3 3 -14.5 12t-39 26.5t-58.5 32t-74.5 26t-85.5 11.5q-95 0 -155 -43t-60 -111q0 -26 8.5 -48t29.5 -41.5t39.5 -33t56 -31t60.5 -27t70 -27.5q53 -20 81 -31.5t76 -35t75.5 -42.5t62 -50 t53 -63.5t31.5 -76.5t13 -94z" />
343
+ <glyph unicode="&#xf156;" horiz-adv-x="898" d="M898 1066v-102q0 -14 -9 -23t-23 -9h-168q-23 -144 -129 -234t-276 -110q167 -178 459 -536q14 -16 4 -34q-8 -18 -29 -18h-195q-16 0 -25 12q-306 367 -498 571q-9 9 -9 22v127q0 13 9.5 22.5t22.5 9.5h112q132 0 212.5 43t102.5 125h-427q-14 0 -23 9t-9 23v102 q0 14 9 23t23 9h413q-57 113 -268 113h-145q-13 0 -22.5 9.5t-9.5 22.5v133q0 14 9 23t23 9h832q14 0 23 -9t9 -23v-102q0 -14 -9 -23t-23 -9h-233q47 -61 64 -144h171q14 0 23 -9t9 -23z" />
344
+ <glyph unicode="&#xf157;" horiz-adv-x="1027" d="M603 0h-172q-13 0 -22.5 9t-9.5 23v330h-288q-13 0 -22.5 9t-9.5 23v103q0 13 9.5 22.5t22.5 9.5h288v85h-288q-13 0 -22.5 9t-9.5 23v104q0 13 9.5 22.5t22.5 9.5h214l-321 578q-8 16 0 32q10 16 28 16h194q19 0 29 -18l215 -425q19 -38 56 -125q10 24 30.5 68t27.5 61 l191 420q8 19 29 19h191q17 0 27 -16q9 -14 1 -31l-313 -579h215q13 0 22.5 -9.5t9.5 -22.5v-104q0 -14 -9.5 -23t-22.5 -9h-290v-85h290q13 0 22.5 -9.5t9.5 -22.5v-103q0 -14 -9.5 -23t-22.5 -9h-290v-330q0 -13 -9.5 -22.5t-22.5 -9.5z" />
345
+ <glyph unicode="&#xf158;" horiz-adv-x="1664" d="M1664 352v-32q0 -132 -94 -226t-226 -94h-128q-132 0 -226 94t-94 226v480h-224q-2 -102 -14.5 -190.5t-30.5 -156t-48.5 -126.5t-57 -99.5t-67.5 -77.5t-69.5 -58.5t-74 -44t-69 -32t-65.5 -25.5q-4 -2 -32 -13q-8 -2 -12 -2q-22 0 -30 20l-71 178q-5 13 0 25t17 17 q7 3 20 7.5t18 6.5q31 12 46.5 18.5t44.5 20t45.5 26t42 32.5t40.5 42.5t34.5 53.5t30.5 68.5t22.5 83.5t17 103t6.5 123h-256q-14 0 -23 9t-9 23v160q0 14 9 23t23 9h1216q14 0 23 -9t9 -23v-160q0 -14 -9 -23t-23 -9h-224v-512q0 -26 19 -45t45 -19h128q26 0 45 19t19 45 v64q0 14 9 23t23 9h192q14 0 23 -9t9 -23zM1280 1376v-160q0 -14 -9 -23t-23 -9h-960q-14 0 -23 9t-9 23v160q0 14 9 23t23 9h960q14 0 23 -9t9 -23z" />
346
+ <glyph unicode="&#xf159;" horiz-adv-x="1792" d="M514 341l81 299h-159l75 -300q1 -1 1 -3t1 -3q0 1 0.5 3.5t0.5 3.5zM630 768l35 128h-292l32 -128h225zM822 768h139l-35 128h-70zM1271 340l78 300h-162l81 -299q0 -1 0.5 -3.5t1.5 -3.5q0 1 0.5 3t0.5 3zM1382 768l33 128h-297l34 -128h230zM1792 736v-64q0 -14 -9 -23 t-23 -9h-213l-164 -616q-7 -24 -31 -24h-159q-24 0 -31 24l-166 616h-209l-167 -616q-7 -24 -31 -24h-159q-11 0 -19.5 7t-10.5 17l-160 616h-208q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h175l-33 128h-142q-14 0 -23 9t-9 23v64q0 14 9 23t23 9h109l-89 344q-5 15 5 28 q10 12 26 12h137q26 0 31 -24l90 -360h359l97 360q7 24 31 24h126q24 0 31 -24l98 -360h365l93 360q5 24 31 24h137q16 0 26 -12q10 -13 5 -28l-91 -344h111q14 0 23 -9t9 -23v-64q0 -14 -9 -23t-23 -9h-145l-34 -128h179q14 0 23 -9t9 -23z" />
347
+ <glyph unicode="&#xf15a;" horiz-adv-x="1280" d="M1167 896q18 -182 -131 -258q117 -28 175 -103t45 -214q-7 -71 -32.5 -125t-64.5 -89t-97 -58.5t-121.5 -34.5t-145.5 -15v-255h-154v251q-80 0 -122 1v-252h-154v255q-18 0 -54 0.5t-55 0.5h-200l31 183h111q50 0 58 51v402h16q-6 1 -16 1v287q-13 68 -89 68h-111v164 l212 -1q64 0 97 1v252h154v-247q82 2 122 2v245h154v-252q79 -7 140 -22.5t113 -45t82.5 -78t36.5 -114.5zM952 351q0 36 -15 64t-37 46t-57.5 30.5t-65.5 18.5t-74 9t-69 3t-64.5 -1t-47.5 -1v-338q8 0 37 -0.5t48 -0.5t53 1.5t58.5 4t57 8.5t55.5 14t47.5 21t39.5 30 t24.5 40t9.5 51zM881 827q0 33 -12.5 58.5t-30.5 42t-48 28t-55 16.5t-61.5 8t-58 2.5t-54 -1t-39.5 -0.5v-307q5 0 34.5 -0.5t46.5 0t50 2t55 5.5t51.5 11t48.5 18.5t37 27t27 38.5t9 51z" />
348
+ <glyph unicode="&#xf15b;" horiz-adv-x="1280" d="M1280 768v-800q0 -40 -28 -68t-68 -28h-1088q-40 0 -68 28t-28 68v1344q0 40 28 68t68 28h544v-544q0 -40 28 -68t68 -28h544zM1277 896h-509v509q82 -15 132 -65l312 -312q50 -50 65 -132z" />
349
+ <glyph unicode="&#xf15c;" horiz-adv-x="1280" d="M1024 160v64q0 14 -9 23t-23 9h-704q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h704q14 0 23 9t9 23zM1024 416v64q0 14 -9 23t-23 9h-704q-14 0 -23 -9t-9 -23v-64q0 -14 9 -23t23 -9h704q14 0 23 9t9 23zM1280 768v-800q0 -40 -28 -68t-68 -28h-1088q-40 0 -68 28 t-28 68v1344q0 40 28 68t68 28h544v-544q0 -40 28 -68t68 -28h544zM1277 896h-509v509q82 -15 132 -65l312 -312q50 -50 65 -132z" />
350
+ <glyph unicode="&#xf15d;" horiz-adv-x="1664" d="M1191 1128h177l-72 218l-12 47q-2 16 -2 20h-4l-3 -20q0 -1 -3.5 -18t-7.5 -29zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23zM1572 -23 v-233h-584v90l369 529q12 18 21 27l11 9v3q-2 0 -6.5 -0.5t-7.5 -0.5q-12 -3 -30 -3h-232v-115h-120v229h567v-89l-369 -530q-6 -8 -21 -26l-11 -11v-2l14 2q9 2 30 2h248v119h121zM1661 874v-106h-288v106h75l-47 144h-243l-47 -144h75v-106h-287v106h70l230 662h162 l230 -662h70z" />
351
+ <glyph unicode="&#xf15e;" horiz-adv-x="1664" d="M1191 104h177l-72 218l-12 47q-2 16 -2 20h-4l-3 -20q0 -1 -3.5 -18t-7.5 -29zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23zM1661 -150 v-106h-288v106h75l-47 144h-243l-47 -144h75v-106h-287v106h70l230 662h162l230 -662h70zM1572 1001v-233h-584v90l369 529q12 18 21 27l11 9v3q-2 0 -6.5 -0.5t-7.5 -0.5q-12 -3 -30 -3h-232v-115h-120v229h567v-89l-369 -530q-6 -8 -21 -26l-11 -10v-3l14 3q9 1 30 1h248 v119h121z" />
352
+ <glyph unicode="&#xf160;" horiz-adv-x="1792" d="M736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23zM1792 -32v-192q0 -14 -9 -23t-23 -9h-832q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h832 q14 0 23 -9t9 -23zM1600 480v-192q0 -14 -9 -23t-23 -9h-640q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h640q14 0 23 -9t9 -23zM1408 992v-192q0 -14 -9 -23t-23 -9h-448q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h448q14 0 23 -9t9 -23zM1216 1504v-192q0 -14 -9 -23t-23 -9h-256 q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h256q14 0 23 -9t9 -23z" />
353
+ <glyph unicode="&#xf161;" horiz-adv-x="1792" d="M1216 -32v-192q0 -14 -9 -23t-23 -9h-256q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h256q14 0 23 -9t9 -23zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192 q14 0 23 -9t9 -23zM1408 480v-192q0 -14 -9 -23t-23 -9h-448q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h448q14 0 23 -9t9 -23zM1600 992v-192q0 -14 -9 -23t-23 -9h-640q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h640q14 0 23 -9t9 -23zM1792 1504v-192q0 -14 -9 -23t-23 -9h-832 q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h832q14 0 23 -9t9 -23z" />
354
+ <glyph unicode="&#xf162;" d="M1346 223q0 63 -44 116t-103 53q-52 0 -83 -37t-31 -94t36.5 -95t104.5 -38q50 0 85 27t35 68zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9t9 -23 zM1486 165q0 -62 -13 -121.5t-41 -114t-68 -95.5t-98.5 -65.5t-127.5 -24.5q-62 0 -108 16q-24 8 -42 15l39 113q15 -7 31 -11q37 -13 75 -13q84 0 134.5 58.5t66.5 145.5h-2q-21 -23 -61.5 -37t-84.5 -14q-106 0 -173 71.5t-67 172.5q0 105 72 178t181 73q123 0 205 -94.5 t82 -252.5zM1456 882v-114h-469v114h167v432q0 7 0.5 19t0.5 17v16h-2l-7 -12q-8 -13 -26 -31l-62 -58l-82 86l192 185h123v-654h165z" />
355
+ <glyph unicode="&#xf163;" d="M1346 1247q0 63 -44 116t-103 53q-52 0 -83 -37t-31 -94t36.5 -95t104.5 -38q50 0 85 27t35 68zM736 96q0 -12 -10 -24l-319 -319q-10 -9 -23 -9q-12 0 -23 9l-320 320q-15 16 -7 35q8 20 30 20h192v1376q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1376h192q14 0 23 -9 t9 -23zM1456 -142v-114h-469v114h167v432q0 7 0.5 19t0.5 17v16h-2l-7 -12q-8 -13 -26 -31l-62 -58l-82 86l192 185h123v-654h165zM1486 1189q0 -62 -13 -121.5t-41 -114t-68 -95.5t-98.5 -65.5t-127.5 -24.5q-62 0 -108 16q-24 8 -42 15l39 113q15 -7 31 -11q37 -13 75 -13 q84 0 134.5 58.5t66.5 145.5h-2q-21 -23 -61.5 -37t-84.5 -14q-106 0 -173 71.5t-67 172.5q0 105 72 178t181 73q123 0 205 -94.5t82 -252.5z" />
356
+ <glyph unicode="&#xf164;" horiz-adv-x="1664" d="M256 192q0 26 -19 45t-45 19q-27 0 -45.5 -19t-18.5 -45q0 -27 18.5 -45.5t45.5 -18.5q26 0 45 18.5t19 45.5zM416 704v-640q0 -26 -19 -45t-45 -19h-288q-26 0 -45 19t-19 45v640q0 26 19 45t45 19h288q26 0 45 -19t19 -45zM1600 704q0 -86 -55 -149q15 -44 15 -76 q3 -76 -43 -137q17 -56 0 -117q-15 -57 -54 -94q9 -112 -49 -181q-64 -76 -197 -78h-36h-76h-17q-66 0 -144 15.5t-121.5 29t-120.5 39.5q-123 43 -158 44q-26 1 -45 19.5t-19 44.5v641q0 25 18 43.5t43 20.5q24 2 76 59t101 121q68 87 101 120q18 18 31 48t17.5 48.5 t13.5 60.5q7 39 12.5 61t19.5 52t34 50q19 19 45 19q46 0 82.5 -10.5t60 -26t40 -40.5t24 -45t12 -50t5 -45t0.5 -39q0 -38 -9.5 -76t-19 -60t-27.5 -56q-3 -6 -10 -18t-11 -22t-8 -24h277q78 0 135 -57t57 -135z" />
357
+ <glyph unicode="&#xf165;" horiz-adv-x="1664" d="M256 960q0 -26 -19 -45t-45 -19q-27 0 -45.5 19t-18.5 45q0 27 18.5 45.5t45.5 18.5q26 0 45 -18.5t19 -45.5zM416 448v640q0 26 -19 45t-45 19h-288q-26 0 -45 -19t-19 -45v-640q0 -26 19 -45t45 -19h288q26 0 45 19t19 45zM1545 597q55 -61 55 -149q-1 -78 -57.5 -135 t-134.5 -57h-277q4 -14 8 -24t11 -22t10 -18q18 -37 27 -57t19 -58.5t10 -76.5q0 -24 -0.5 -39t-5 -45t-12 -50t-24 -45t-40 -40.5t-60 -26t-82.5 -10.5q-26 0 -45 19q-20 20 -34 50t-19.5 52t-12.5 61q-9 42 -13.5 60.5t-17.5 48.5t-31 48q-33 33 -101 120q-49 64 -101 121 t-76 59q-25 2 -43 20.5t-18 43.5v641q0 26 19 44.5t45 19.5q35 1 158 44q77 26 120.5 39.5t121.5 29t144 15.5h17h76h36q133 -2 197 -78q58 -69 49 -181q39 -37 54 -94q17 -61 0 -117q46 -61 43 -137q0 -32 -15 -76z" />
358
+ <glyph unicode="&#xf166;" d="M919 233v157q0 50 -29 50q-17 0 -33 -16v-224q16 -16 33 -16q29 0 29 49zM1103 355h66v34q0 51 -33 51t-33 -51v-34zM532 621v-70h-80v-423h-74v423h-78v70h232zM733 495v-367h-67v40q-39 -45 -76 -45q-33 0 -42 28q-6 16 -6 54v290h66v-270q0 -24 1 -26q1 -15 15 -15 q20 0 42 31v280h67zM985 384v-146q0 -52 -7 -73q-12 -42 -53 -42q-35 0 -68 41v-36h-67v493h67v-161q32 40 68 40q41 0 53 -42q7 -21 7 -74zM1236 255v-9q0 -29 -2 -43q-3 -22 -15 -40q-27 -40 -80 -40q-52 0 -81 38q-21 27 -21 86v129q0 59 20 86q29 38 80 38t78 -38 q21 -28 21 -86v-76h-133v-65q0 -51 34 -51q24 0 30 26q0 1 0.5 7t0.5 16.5v21.5h68zM785 1079v-156q0 -51 -32 -51t-32 51v156q0 52 32 52t32 -52zM1318 366q0 177 -19 260q-10 44 -43 73.5t-76 34.5q-136 15 -412 15q-275 0 -411 -15q-44 -5 -76.5 -34.5t-42.5 -73.5 q-20 -87 -20 -260q0 -176 20 -260q10 -43 42.5 -73t75.5 -35q137 -15 412 -15t412 15q43 5 75.5 35t42.5 73q20 84 20 260zM563 1017l90 296h-75l-51 -195l-53 195h-78l24 -69t23 -69q35 -103 46 -158v-201h74v201zM852 936v130q0 58 -21 87q-29 38 -78 38q-51 0 -78 -38 q-21 -29 -21 -87v-130q0 -58 21 -87q27 -38 78 -38q49 0 78 38q21 27 21 87zM1033 816h67v370h-67v-283q-22 -31 -42 -31q-15 0 -16 16q-1 2 -1 26v272h-67v-293q0 -37 6 -55q11 -27 43 -27q36 0 77 45v-40zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960 q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
359
+ <glyph unicode="&#xf167;" d="M971 292v-211q0 -67 -39 -67q-23 0 -45 22v301q22 22 45 22q39 0 39 -67zM1309 291v-46h-90v46q0 68 45 68t45 -68zM343 509h107v94h-312v-94h105v-569h100v569zM631 -60h89v494h-89v-378q-30 -42 -57 -42q-18 0 -21 21q-1 3 -1 35v364h-89v-391q0 -49 8 -73 q12 -37 58 -37q48 0 102 61v-54zM1060 88v197q0 73 -9 99q-17 56 -71 56q-50 0 -93 -54v217h-89v-663h89v48q45 -55 93 -55q54 0 71 55q9 27 9 100zM1398 98v13h-91q0 -51 -2 -61q-7 -36 -40 -36q-46 0 -46 69v87h179v103q0 79 -27 116q-39 51 -106 51q-68 0 -107 -51 q-28 -37 -28 -116v-173q0 -79 29 -116q39 -51 108 -51q72 0 108 53q18 27 21 54q2 9 2 58zM790 1011v210q0 69 -43 69t-43 -69v-210q0 -70 43 -70t43 70zM1509 260q0 -234 -26 -350q-14 -59 -58 -99t-102 -46q-184 -21 -555 -21t-555 21q-58 6 -102.5 46t-57.5 99 q-26 112 -26 350q0 234 26 350q14 59 58 99t103 47q183 20 554 20t555 -20q58 -7 102.5 -47t57.5 -99q26 -112 26 -350zM511 1536h102l-121 -399v-271h-100v271q-14 74 -61 212q-37 103 -65 187h106l71 -263zM881 1203v-175q0 -81 -28 -118q-37 -51 -106 -51q-67 0 -105 51 q-28 38 -28 118v175q0 80 28 117q38 51 105 51q69 0 106 -51q28 -37 28 -117zM1216 1365v-499h-91v55q-53 -62 -103 -62q-46 0 -59 37q-8 24 -8 75v394h91v-367q0 -33 1 -35q3 -22 21 -22q27 0 57 43v381h91z" />
360
+ <glyph unicode="&#xf168;" horiz-adv-x="1408" d="M597 869q-10 -18 -257 -456q-27 -46 -65 -46h-239q-21 0 -31 17t0 36l253 448q1 0 0 1l-161 279q-12 22 -1 37q9 15 32 15h239q40 0 66 -45zM1403 1511q11 -16 0 -37l-528 -934v-1l336 -615q11 -20 1 -37q-10 -15 -32 -15h-239q-42 0 -66 45l-339 622q18 32 531 942 q25 45 64 45h241q22 0 31 -15z" />
361
+ <glyph unicode="&#xf169;" d="M685 771q0 1 -126 222q-21 34 -52 34h-184q-18 0 -26 -11q-7 -12 1 -29l125 -216v-1l-196 -346q-9 -14 0 -28q8 -13 24 -13h185q31 0 50 36zM1309 1268q-7 12 -24 12h-187q-30 0 -49 -35l-411 -729q1 -2 262 -481q20 -35 52 -35h184q18 0 25 12q8 13 -1 28l-260 476v1 l409 723q8 16 0 28zM1536 1120v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
362
+ <glyph unicode="&#xf16a;" horiz-adv-x="1792" d="M1280 640q0 37 -30 54l-512 320q-31 20 -65 2q-33 -18 -33 -56v-640q0 -38 33 -56q16 -8 31 -8q20 0 34 10l512 320q30 17 30 54zM1792 640q0 -96 -1 -150t-8.5 -136.5t-22.5 -147.5q-16 -73 -69 -123t-124 -58q-222 -25 -671 -25t-671 25q-71 8 -124.5 58t-69.5 123 q-14 65 -21.5 147.5t-8.5 136.5t-1 150t1 150t8.5 136.5t22.5 147.5q16 73 69 123t124 58q222 25 671 25t671 -25q71 -8 124.5 -58t69.5 -123q14 -65 21.5 -147.5t8.5 -136.5t1 -150z" />
363
+ <glyph unicode="&#xf16b;" horiz-adv-x="1792" d="M402 829l494 -305l-342 -285l-490 319zM1388 274v-108l-490 -293v-1l-1 1l-1 -1v1l-489 293v108l147 -96l342 284v2l1 -1l1 1v-2l343 -284zM554 1418l342 -285l-494 -304l-338 270zM1390 829l338 -271l-489 -319l-343 285zM1239 1418l489 -319l-338 -270l-494 304z" />
364
+ <glyph unicode="&#xf16c;" horiz-adv-x="1408" d="M928 135v-151l-707 -1v151zM1169 481v-701l-1 -35v-1h-1132l-35 1h-1v736h121v-618h928v618h120zM241 393l704 -65l-13 -150l-705 65zM309 709l683 -183l-39 -146l-683 183zM472 1058l609 -360l-77 -130l-609 360zM832 1389l398 -585l-124 -85l-399 584zM1285 1536 l121 -697l-149 -26l-121 697z" />
365
+ <glyph unicode="&#xf16d;" d="M1362 110v648h-135q20 -63 20 -131q0 -126 -64 -232.5t-174 -168.5t-240 -62q-197 0 -337 135.5t-140 327.5q0 68 20 131h-141v-648q0 -26 17.5 -43.5t43.5 -17.5h1069q25 0 43 17.5t18 43.5zM1078 643q0 124 -90.5 211.5t-218.5 87.5q-127 0 -217.5 -87.5t-90.5 -211.5 t90.5 -211.5t217.5 -87.5q128 0 218.5 87.5t90.5 211.5zM1362 1003v165q0 28 -20 48.5t-49 20.5h-174q-29 0 -49 -20.5t-20 -48.5v-165q0 -29 20 -49t49 -20h174q29 0 49 20t20 49zM1536 1211v-1142q0 -81 -58 -139t-139 -58h-1142q-81 0 -139 58t-58 139v1142q0 81 58 139 t139 58h1142q81 0 139 -58t58 -139z" />
366
+ <glyph unicode="&#xf16e;" d="M1248 1408q119 0 203.5 -84.5t84.5 -203.5v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960zM698 640q0 88 -62 150t-150 62t-150 -62t-62 -150t62 -150t150 -62t150 62t62 150zM1262 640q0 88 -62 150 t-150 62t-150 -62t-62 -150t62 -150t150 -62t150 62t62 150z" />
367
+ <glyph unicode="&#xf170;" d="M768 914l201 -306h-402zM1133 384h94l-459 691l-459 -691h94l104 160h522zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
368
+ <glyph unicode="&#xf171;" horiz-adv-x="1408" d="M815 677q8 -63 -50.5 -101t-111.5 -6q-39 17 -53.5 58t-0.5 82t52 58q36 18 72.5 12t64 -35.5t27.5 -67.5zM926 698q-14 107 -113 164t-197 13q-63 -28 -100.5 -88.5t-34.5 -129.5q4 -91 77.5 -155t165.5 -56q91 8 152 84t50 168zM1165 1240q-20 27 -56 44.5t-58 22 t-71 12.5q-291 47 -566 -2q-43 -7 -66 -12t-55 -22t-50 -43q30 -28 76 -45.5t73.5 -22t87.5 -11.5q228 -29 448 -1q63 8 89.5 12t72.5 21.5t75 46.5zM1222 205q-8 -26 -15.5 -76.5t-14 -84t-28.5 -70t-58 -56.5q-86 -48 -189.5 -71.5t-202 -22t-201.5 18.5q-46 8 -81.5 18 t-76.5 27t-73 43.5t-52 61.5q-25 96 -57 292l6 16l18 9q223 -148 506.5 -148t507.5 148q21 -6 24 -23t-5 -45t-8 -37zM1403 1166q-26 -167 -111 -655q-5 -30 -27 -56t-43.5 -40t-54.5 -31q-252 -126 -610 -88q-248 27 -394 139q-15 12 -25.5 26.5t-17 35t-9 34t-6 39.5 t-5.5 35q-9 50 -26.5 150t-28 161.5t-23.5 147.5t-22 158q3 26 17.5 48.5t31.5 37.5t45 30t46 22.5t48 18.5q125 46 313 64q379 37 676 -50q155 -46 215 -122q16 -20 16.5 -51t-5.5 -54z" />
369
+ <glyph unicode="&#xf172;" d="M848 666q0 43 -41 66t-77 1q-43 -20 -42.5 -72.5t43.5 -70.5q39 -23 81 4t36 72zM928 682q8 -66 -36 -121t-110 -61t-119 40t-56 113q-2 49 25.5 93t72.5 64q70 31 141.5 -10t81.5 -118zM1100 1073q-20 -21 -53.5 -34t-53 -16t-63.5 -8q-155 -20 -324 0q-44 6 -63 9.5 t-52.5 16t-54.5 32.5q13 19 36 31t40 15.5t47 8.5q198 35 408 1q33 -5 51 -8.5t43 -16t39 -31.5zM1142 327q0 7 5.5 26.5t3 32t-17.5 16.5q-161 -106 -365 -106t-366 106l-12 -6l-5 -12q26 -154 41 -210q47 -81 204 -108q249 -46 428 53q34 19 49 51.5t22.5 85.5t12.5 71z M1272 1020q9 53 -8 75q-43 55 -155 88q-216 63 -487 36q-132 -12 -226 -46q-38 -15 -59.5 -25t-47 -34t-29.5 -54q8 -68 19 -138t29 -171t24 -137q1 -5 5 -31t7 -36t12 -27t22 -28q105 -80 284 -100q259 -28 440 63q24 13 39.5 23t31 29t19.5 40q48 267 80 473zM1536 1120 v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
370
+ <glyph unicode="&#xf173;" horiz-adv-x="1024" d="M390 1408h219v-388h364v-241h-364v-394q0 -136 14 -172q13 -37 52 -60q50 -31 117 -31q117 0 232 76v-242q-102 -48 -178 -65q-77 -19 -173 -19q-105 0 -186 27q-78 25 -138 75q-58 51 -79 105q-22 54 -22 161v539h-170v217q91 30 155 84q64 55 103 132q39 78 54 196z " />
371
+ <glyph unicode="&#xf174;" d="M1123 127v181q-88 -56 -174 -56q-51 0 -88 23q-29 17 -39 45q-11 30 -11 129v295h274v181h-274v291h-164q-11 -90 -40 -147t-78 -99q-48 -40 -116 -63v-163h127v-404q0 -78 17 -121q17 -42 59 -78q43 -37 104 -57q62 -20 140 -20q67 0 129 14q57 13 134 49zM1536 1120 v-960q0 -119 -84.5 -203.5t-203.5 -84.5h-960q-119 0 -203.5 84.5t-84.5 203.5v960q0 119 84.5 203.5t203.5 84.5h960q119 0 203.5 -84.5t84.5 -203.5z" />
372
+ <glyph unicode="&#xf175;" horiz-adv-x="768" d="M765 237q8 -19 -5 -35l-350 -384q-10 -10 -23 -10q-14 0 -24 10l-355 384q-13 16 -5 35q9 19 29 19h224v1248q0 14 9 23t23 9h192q14 0 23 -9t9 -23v-1248h224q21 0 29 -19z" />
373
+ <glyph unicode="&#xf176;" horiz-adv-x="768" d="M765 1043q-9 -19 -29 -19h-224v-1248q0 -14 -9 -23t-23 -9h-192q-14 0 -23 9t-9 23v1248h-224q-21 0 -29 19t5 35l350 384q10 10 23 10q14 0 24 -10l355 -384q13 -16 5 -35z" />
374
+ <glyph unicode="&#xf177;" horiz-adv-x="1792" d="M1792 736v-192q0 -14 -9 -23t-23 -9h-1248v-224q0 -21 -19 -29t-35 5l-384 350q-10 10 -10 23q0 14 10 24l384 354q16 14 35 6q19 -9 19 -29v-224h1248q14 0 23 -9t9 -23z" />
375
+ <glyph unicode="&#xf178;" horiz-adv-x="1792" d="M1728 643q0 -14 -10 -24l-384 -354q-16 -14 -35 -6q-19 9 -19 29v224h-1248q-14 0 -23 9t-9 23v192q0 14 9 23t23 9h1248v224q0 21 19 29t35 -5l384 -350q10 -10 10 -23z" />
376
+ <glyph unicode="&#xf179;" horiz-adv-x="1408" d="M1393 321q-39 -125 -123 -250q-129 -196 -257 -196q-49 0 -140 32q-86 32 -151 32q-61 0 -142 -33q-81 -34 -132 -34q-152 0 -301 259q-147 261 -147 503q0 228 113 374q112 144 284 144q72 0 177 -30q104 -30 138 -30q45 0 143 34q102 34 173 34q119 0 213 -65 q52 -36 104 -100q-79 -67 -114 -118q-65 -94 -65 -207q0 -124 69 -223t158 -126zM1017 1494q0 -61 -29 -136q-30 -75 -93 -138q-54 -54 -108 -72q-37 -11 -104 -17q3 149 78 257q74 107 250 148q1 -3 2.5 -11t2.5 -11q0 -4 0.5 -10t0.5 -10z" />
377
+ <glyph unicode="&#xf17a;" horiz-adv-x="1664" d="M682 530v-651l-682 94v557h682zM682 1273v-659h-682v565zM1664 530v-786l-907 125v661h907zM1664 1408v-794h-907v669z" />
378
+ <glyph unicode="&#xf17b;" horiz-adv-x="1408" d="M493 1053q16 0 27.5 11.5t11.5 27.5t-11.5 27.5t-27.5 11.5t-27 -11.5t-11 -27.5t11 -27.5t27 -11.5zM915 1053q16 0 27 11.5t11 27.5t-11 27.5t-27 11.5t-27.5 -11.5t-11.5 -27.5t11.5 -27.5t27.5 -11.5zM103 869q42 0 72 -30t30 -72v-430q0 -43 -29.5 -73t-72.5 -30 t-73 30t-30 73v430q0 42 30 72t73 30zM1163 850v-666q0 -46 -32 -78t-77 -32h-75v-227q0 -43 -30 -73t-73 -30t-73 30t-30 73v227h-138v-227q0 -43 -30 -73t-73 -30q-42 0 -72 30t-30 73l-1 227h-74q-46 0 -78 32t-32 78v666h918zM931 1255q107 -55 171 -153.5t64 -215.5 h-925q0 117 64 215.5t172 153.5l-71 131q-7 13 5 20q13 6 20 -6l72 -132q95 42 201 42t201 -42l72 132q7 12 20 6q12 -7 5 -20zM1408 767v-430q0 -43 -30 -73t-73 -30q-42 0 -72 30t-30 73v430q0 43 30 72.5t72 29.5q43 0 73 -29.5t30 -72.5z" />
379
+ <glyph unicode="&#xf17c;" d="M663 1125q-11 -1 -15.5 -10.5t-8.5 -9.5q-5 -1 -5 5q0 12 19 15h10zM750 1111q-4 -1 -11.5 6.5t-17.5 4.5q24 11 32 -2q3 -6 -3 -9zM399 684q-4 1 -6 -3t-4.5 -12.5t-5.5 -13.5t-10 -13q-7 -10 -1 -12q4 -1 12.5 7t12.5 18q1 3 2 7t2 6t1.5 4.5t0.5 4v3t-1 2.5t-3 2z M1254 325q0 18 -55 42q4 15 7.5 27.5t5 26t3 21.5t0.5 22.5t-1 19.5t-3.5 22t-4 20.5t-5 25t-5.5 26.5q-10 48 -47 103t-72 75q24 -20 57 -83q87 -162 54 -278q-11 -40 -50 -42q-31 -4 -38.5 18.5t-8 83.5t-11.5 107q-9 39 -19.5 69t-19.5 45.5t-15.5 24.5t-13 15t-7.5 7 q-14 62 -31 103t-29.5 56t-23.5 33t-15 40q-4 21 6 53.5t4.5 49.5t-44.5 25q-15 3 -44.5 18t-35.5 16q-8 1 -11 26t8 51t36 27q37 3 51 -30t4 -58q-11 -19 -2 -26.5t30 -0.5q13 4 13 36v37q-5 30 -13.5 50t-21 30.5t-23.5 15t-27 7.5q-107 -8 -89 -134q0 -15 -1 -15 q-9 9 -29.5 10.5t-33 -0.5t-15.5 5q1 57 -16 90t-45 34q-27 1 -41.5 -27.5t-16.5 -59.5q-1 -15 3.5 -37t13 -37.5t15.5 -13.5q10 3 16 14q4 9 -7 8q-7 0 -15.5 14.5t-9.5 33.5q-1 22 9 37t34 14q17 0 27 -21t9.5 -39t-1.5 -22q-22 -15 -31 -29q-8 -12 -27.5 -23.5 t-20.5 -12.5q-13 -14 -15.5 -27t7.5 -18q14 -8 25 -19.5t16 -19t18.5 -13t35.5 -6.5q47 -2 102 15q2 1 23 7t34.5 10.5t29.5 13t21 17.5q9 14 20 8q5 -3 6.5 -8.5t-3 -12t-16.5 -9.5q-20 -6 -56.5 -21.5t-45.5 -19.5q-44 -19 -70 -23q-25 -5 -79 2q-10 2 -9 -2t17 -19 q25 -23 67 -22q17 1 36 7t36 14t33.5 17.5t30 17t24.5 12t17.5 2.5t8.5 -11q0 -2 -1 -4.5t-4 -5t-6 -4.5t-8.5 -5t-9 -4.5t-10 -5t-9.5 -4.5q-28 -14 -67.5 -44t-66.5 -43t-49 -1q-21 11 -63 73q-22 31 -25 22q-1 -3 -1 -10q0 -25 -15 -56.5t-29.5 -55.5t-21 -58t11.5 -63 q-23 -6 -62.5 -90t-47.5 -141q-2 -18 -1.5 -69t-5.5 -59q-8 -24 -29 -3q-32 31 -36 94q-2 28 4 56q4 19 -1 18l-4 -5q-36 -65 10 -166q5 -12 25 -28t24 -20q20 -23 104 -90.5t93 -76.5q16 -15 17.5 -38t-14 -43t-45.5 -23q8 -15 29 -44.5t28 -54t7 -70.5q46 24 7 92 q-4 8 -10.5 16t-9.5 12t-2 6q3 5 13 9.5t20 -2.5q46 -52 166 -36q133 15 177 87q23 38 34 30q12 -6 10 -52q-1 -25 -23 -92q-9 -23 -6 -37.5t24 -15.5q3 19 14.5 77t13.5 90q2 21 -6.5 73.5t-7.5 97t23 70.5q15 18 51 18q1 37 34.5 53t72.5 10.5t60 -22.5zM626 1152 q3 17 -2.5 30t-11.5 15q-9 2 -9 -7q2 -5 5 -6q10 0 7 -15q-3 -20 8 -20q3 0 3 3zM1045 955q-2 8 -6.5 11.5t-13 5t-14.5 5.5q-5 3 -9.5 8t-7 8t-5.5 6.5t-4 4t-4 -1.5q-14 -16 7 -43.5t39 -31.5q9 -1 14.5 8t3.5 20zM867 1168q0 11 -5 19.5t-11 12.5t-9 3q-14 -1 -7 -7l4 -2 q14 -4 18 -31q0 -3 8 2zM921 1401q0 2 -2.5 5t-9 7t-9.5 6q-15 15 -24 15q-9 -1 -11.5 -7.5t-1 -13t-0.5 -12.5q-1 -4 -6 -10.5t-6 -9t3 -8.5q4 -3 8 0t11 9t15 9q1 1 9 1t15 2t9 7zM1486 60q20 -12 31 -24.5t12 -24t-2.5 -22.5t-15.5 -22t-23.5 -19.5t-30 -18.5 t-31.5 -16.5t-32 -15.5t-27 -13q-38 -19 -85.5 -56t-75.5 -64q-17 -16 -68 -19.5t-89 14.5q-18 9 -29.5 23.5t-16.5 25.5t-22 19.5t-47 9.5q-44 1 -130 1q-19 0 -57 -1.5t-58 -2.5q-44 -1 -79.5 -15t-53.5 -30t-43.5 -28.5t-53.5 -11.5q-29 1 -111 31t-146 43q-19 4 -51 9.5 t-50 9t-39.5 9.5t-33.5 14.5t-17 19.5q-10 23 7 66.5t18 54.5q1 16 -4 40t-10 42.5t-4.5 36.5t10.5 27q14 12 57 14t60 12q30 18 42 35t12 51q21 -73 -32 -106q-32 -20 -83 -15q-34 3 -43 -10q-13 -15 5 -57q2 -6 8 -18t8.5 -18t4.5 -17t1 -22q0 -15 -17 -49t-14 -48 q3 -17 37 -26q20 -6 84.5 -18.5t99.5 -20.5q24 -6 74 -22t82.5 -23t55.5 -4q43 6 64.5 28t23 48t-7.5 58.5t-19 52t-20 36.5q-121 190 -169 242q-68 74 -113 40q-11 -9 -15 15q-3 16 -2 38q1 29 10 52t24 47t22 42q8 21 26.5 72t29.5 78t30 61t39 54q110 143 124 195 q-12 112 -16 310q-2 90 24 151.5t106 104.5q39 21 104 21q53 1 106 -13.5t89 -41.5q57 -42 91.5 -121.5t29.5 -147.5q-5 -95 30 -214q34 -113 133 -218q55 -59 99.5 -163t59.5 -191q8 -49 5 -84.5t-12 -55.5t-20 -22q-10 -2 -23.5 -19t-27 -35.5t-40.5 -33.5t-61 -14 q-18 1 -31.5 5t-22.5 13.5t-13.5 15.5t-11.5 20.5t-9 19.5q-22 37 -41 30t-28 -49t7 -97q20 -70 1 -195q-10 -65 18 -100.5t73 -33t85 35.5q59 49 89.5 66.5t103.5 42.5q53 18 77 36.5t18.5 34.5t-25 28.5t-51.5 23.5q-33 11 -49.5 48t-15 72.5t15.5 47.5q1 -31 8 -56.5 t14.5 -40.5t20.5 -28.5t21 -19t21.5 -13t16.5 -9.5z" />
380
+ <glyph unicode="&#xf17d;" d="M1024 36q-42 241 -140 498h-2l-2 -1q-16 -6 -43 -16.5t-101 -49t-137 -82t-131 -114.5t-103 -148l-15 11q184 -150 418 -150q132 0 256 52zM839 643q-21 49 -53 111q-311 -93 -673 -93q-1 -7 -1 -21q0 -124 44 -236.5t124 -201.5q50 89 123.5 166.5t142.5 124.5t130.5 81 t99.5 48l37 13q4 1 13 3.5t13 4.5zM732 855q-120 213 -244 378q-138 -65 -234 -186t-128 -272q302 0 606 80zM1416 536q-210 60 -409 29q87 -239 128 -469q111 75 185 189.5t96 250.5zM611 1277q-1 0 -2 -1q1 1 2 1zM1201 1132q-185 164 -433 164q-76 0 -155 -19 q131 -170 246 -382q69 26 130 60.5t96.5 61.5t65.5 57t37.5 40.5zM1424 647q-3 232 -149 410l-1 -1q-9 -12 -19 -24.5t-43.5 -44.5t-71 -60.5t-100 -65t-131.5 -64.5q25 -53 44 -95q2 -6 6.5 -17.5t7.5 -16.5q36 5 74.5 7t73.5 2t69 -1.5t64 -4t56.5 -5.5t48 -6.5t36.5 -6 t25 -4.5zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
381
+ <glyph unicode="&#xf17e;" d="M1173 473q0 50 -19.5 91.5t-48.5 68.5t-73 49t-82.5 34t-87.5 23l-104 24q-30 7 -44 10.5t-35 11.5t-30 16t-16.5 21t-7.5 30q0 77 144 77q43 0 77 -12t54 -28.5t38 -33.5t40 -29t48 -12q47 0 75.5 32t28.5 77q0 55 -56 99.5t-142 67.5t-182 23q-68 0 -132 -15.5 t-119.5 -47t-89 -87t-33.5 -128.5q0 -61 19 -106.5t56 -75.5t80 -48.5t103 -32.5l146 -36q90 -22 112 -36q32 -20 32 -60q0 -39 -40 -64.5t-105 -25.5q-51 0 -91.5 16t-65 38.5t-45.5 45t-46 38.5t-54 16q-50 0 -75.5 -30t-25.5 -75q0 -92 122 -157.5t291 -65.5 q73 0 140 18.5t122.5 53.5t88.5 93.5t33 131.5zM1536 256q0 -159 -112.5 -271.5t-271.5 -112.5q-130 0 -234 80q-77 -16 -150 -16q-143 0 -273.5 55.5t-225 150t-150 225t-55.5 273.5q0 73 16 150q-80 104 -80 234q0 159 112.5 271.5t271.5 112.5q130 0 234 -80 q77 16 150 16q143 0 273.5 -55.5t225 -150t150 -225t55.5 -273.5q0 -73 -16 -150q80 -104 80 -234z" />
382
+ <glyph unicode="&#xf180;" horiz-adv-x="1664" d="M1483 512l-587 -587q-52 -53 -127.5 -53t-128.5 53l-587 587q-53 53 -53 128t53 128l587 587q53 53 128 53t128 -53l265 -265l-398 -399l-188 188q-42 42 -99 42q-59 0 -100 -41l-120 -121q-42 -40 -42 -99q0 -58 42 -100l406 -408q30 -28 67 -37l6 -4h28q60 0 99 41 l619 619l2 -3q53 -53 53 -128t-53 -128zM1406 1138l120 -120q14 -15 14 -36t-14 -36l-730 -730q-17 -15 -37 -15v0q-4 0 -6 1q-18 2 -30 14l-407 408q-14 15 -14 36t14 35l121 120q13 15 35 15t36 -15l252 -252l574 575q15 15 36 15t36 -15z" />
383
+ <glyph unicode="&#xf181;" d="M704 192v1024q0 14 -9 23t-23 9h-480q-14 0 -23 -9t-9 -23v-1024q0 -14 9 -23t23 -9h480q14 0 23 9t9 23zM1376 576v640q0 14 -9 23t-23 9h-480q-14 0 -23 -9t-9 -23v-640q0 -14 9 -23t23 -9h480q14 0 23 9t9 23zM1536 1344v-1408q0 -26 -19 -45t-45 -19h-1408 q-26 0 -45 19t-19 45v1408q0 26 19 45t45 19h1408q26 0 45 -19t19 -45z" />
384
+ <glyph unicode="&#xf182;" horiz-adv-x="1280" d="M1280 480q0 -40 -28 -68t-68 -28q-51 0 -80 43l-227 341h-45v-132l247 -411q9 -15 9 -33q0 -26 -19 -45t-45 -19h-192v-272q0 -46 -33 -79t-79 -33h-160q-46 0 -79 33t-33 79v272h-192q-26 0 -45 19t-19 45q0 18 9 33l247 411v132h-45l-227 -341q-29 -43 -80 -43 q-40 0 -68 28t-28 68q0 29 16 53l256 384q73 107 176 107h384q103 0 176 -107l256 -384q16 -24 16 -53zM864 1280q0 -93 -65.5 -158.5t-158.5 -65.5t-158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5t158.5 -65.5t65.5 -158.5z" />
385
+ <glyph unicode="&#xf183;" horiz-adv-x="1024" d="M1024 832v-416q0 -40 -28 -68t-68 -28t-68 28t-28 68v352h-64v-912q0 -46 -33 -79t-79 -33t-79 33t-33 79v464h-64v-464q0 -46 -33 -79t-79 -33t-79 33t-33 79v912h-64v-352q0 -40 -28 -68t-68 -28t-68 28t-28 68v416q0 80 56 136t136 56h640q80 0 136 -56t56 -136z M736 1280q0 -93 -65.5 -158.5t-158.5 -65.5t-158.5 65.5t-65.5 158.5t65.5 158.5t158.5 65.5t158.5 -65.5t65.5 -158.5z" />
386
+ <glyph unicode="&#xf184;" d="M773 234l350 473q16 22 24.5 59t-6 85t-61.5 79q-40 26 -83 25.5t-73.5 -17.5t-54.5 -45q-36 -40 -96 -40q-59 0 -95 40q-24 28 -54.5 45t-73.5 17.5t-84 -25.5q-46 -31 -60.5 -79t-6 -85t24.5 -59zM1536 640q0 -209 -103 -385.5t-279.5 -279.5t-385.5 -103t-385.5 103 t-279.5 279.5t-103 385.5t103 385.5t279.5 279.5t385.5 103t385.5 -103t279.5 -279.5t103 -385.5z" />
387
+ <glyph unicode="&#xf185;" horiz-adv-x="1792" d="M1472 640q0 117 -45.5 223.5t-123 184t-184 123t-223.5 45.5t-223.5 -45.5t-184 -123t-123 -184t-45.5 -223.5t45.5 -223.5t123 -184t184 -123t223.5 -45.5t223.5 45.5t184 123t123 184t45.5 223.5zM1748 363q-4 -15 -20 -20l-292 -96v-306q0 -16 -13 -26q-15 -10 -29 -4 l-292 94l-180 -248q-10 -13 -26 -13t-26 13l-180 248l-292 -94q-14 -6 -29 4q-13 10 -13 26v306l-292 96q-16 5 -20 20q-5 17 4 29l180 248l-180 248q-9 13 -4 29q4 15 20 20l292 96v306q0 16 13 26q15 10 29 4l292 -94l180 248q9 12 26 12t26 -12l180 -248l292 94 q14 6 29 -4q13 -10 13 -26v-306l292 -96q16 -5 20 -20q5 -16 -4 -29l-180 -248l180 -248q9 -12 4 -29z" />
388
+ <glyph unicode="&#xf186;" d="M1262 233q-54 -9 -110 -9q-182 0 -337 90t-245 245t-90 337q0 192 104 357q-201 -60 -328.5 -229t-127.5 -384q0 -130 51 -248.5t136.5 -204t204 -136.5t248.5 -51q144 0 273.5 61.5t220.5 171.5zM1465 318q-94 -203 -283.5 -324.5t-413.5 -121.5q-156 0 -298 61 t-245 164t-164 245t-61 298q0 153 57.5 292.5t156 241.5t235.5 164.5t290 68.5q44 2 61 -39q18 -41 -15 -72q-86 -78 -131.5 -181.5t-45.5 -218.5q0 -148 73 -273t198 -198t273 -73q118 0 228 51q41 18 72 -13q14 -14 17.5 -34t-4.5 -38z" />
389
+ <glyph unicode="&#xf187;" horiz-adv-x="1792" d="M1088 704q0 26 -19 45t-45 19h-256q-26 0 -45 -19t-19 -45t19 -45t45 -19h256q26 0 45 19t19 45zM1664 896v-960q0 -26 -19 -45t-45 -19h-1408q-26 0 -45 19t-19 45v960q0 26 19 45t45 19h1408q26 0 45 -19t19 -45zM1728 1344v-256q0 -26 -19 -45t-45 -19h-1536 q-26 0 -45 19t-19 45v256q0 26 19 45t45 19h1536q26 0 45 -19t19 -45z" />
390
+ <glyph unicode="&#xf188;" horiz-adv-x="1664" d="M1632 576q0 -26 -19 -45t-45 -19h-224q0 -171 -67 -290l208 -209q19 -19 19 -45t-19 -45q-18 -19 -45 -19t-45 19l-198 197q-5 -5 -15 -13t-42 -28.5t-65 -36.5t-82 -29t-97 -13v896h-128v-896q-51 0 -101.5 13.5t-87 33t-66 39t-43.5 32.5l-15 14l-183 -207 q-20 -21 -48 -21q-24 0 -43 16q-19 18 -20.5 44.5t15.5 46.5l202 227q-58 114 -58 274h-224q-26 0 -45 19t-19 45t19 45t45 19h224v294l-173 173q-19 19 -19 45t19 45t45 19t45 -19l173 -173h844l173 173q19 19 45 19t45 -19t19 -45t-19 -45l-173 -173v-294h224q26 0 45 -19 t19 -45zM1152 1152h-640q0 133 93.5 226.5t226.5 93.5t226.5 -93.5t93.5 -226.5z" />
391
+ <glyph unicode="&#xf189;" horiz-adv-x="1920" d="M1917 1016q23 -64 -150 -294q-24 -32 -65 -85q-78 -100 -90 -131q-17 -41 14 -81q17 -21 81 -82h1l1 -1l1 -1l2 -2q141 -131 191 -221q3 -5 6.5 -12.5t7 -26.5t-0.5 -34t-25 -27.5t-59 -12.5l-256 -4q-24 -5 -56 5t-52 22l-20 12q-30 21 -70 64t-68.5 77.5t-61 58 t-56.5 15.5q-3 -1 -8 -3.5t-17 -14.5t-21.5 -29.5t-17 -52t-6.5 -77.5q0 -15 -3.5 -27.5t-7.5 -18.5l-4 -5q-18 -19 -53 -22h-115q-71 -4 -146 16.5t-131.5 53t-103 66t-70.5 57.5l-25 24q-10 10 -27.5 30t-71.5 91t-106 151t-122.5 211t-130.5 272q-6 16 -6 27t3 16l4 6 q15 19 57 19l274 2q12 -2 23 -6.5t16 -8.5l5 -3q16 -11 24 -32q20 -50 46 -103.5t41 -81.5l16 -29q29 -60 56 -104t48.5 -68.5t41.5 -38.5t34 -14t27 5q2 1 5 5t12 22t13.5 47t9.5 81t0 125q-2 40 -9 73t-14 46l-6 12q-25 34 -85 43q-13 2 5 24q17 19 38 30q53 26 239 24 q82 -1 135 -13q20 -5 33.5 -13.5t20.5 -24t10.5 -32t3.5 -45.5t-1 -55t-2.5 -70.5t-1.5 -82.5q0 -11 -1 -42t-0.5 -48t3.5 -40.5t11.5 -39t22.5 -24.5q8 -2 17 -4t26 11t38 34.5t52 67t68 107.5q60 104 107 225q4 10 10 17.5t11 10.5l4 3l5 2.5t13 3t20 0.5l288 2 q39 5 64 -2.5t31 -16.5z" />
392
+ <glyph unicode="&#xf18a;" horiz-adv-x="1792" d="M675 252q21 34 11 69t-45 50q-34 14 -73 1t-60 -46q-22 -34 -13 -68.5t43 -50.5t74.5 -2.5t62.5 47.5zM769 373q8 13 3.5 26.5t-17.5 18.5q-14 5 -28.5 -0.5t-21.5 -18.5q-17 -31 13 -45q14 -5 29 0.5t22 18.5zM943 266q-45 -102 -158 -150t-224 -12 q-107 34 -147.5 126.5t6.5 187.5q47 93 151.5 139t210.5 19q111 -29 158.5 -119.5t2.5 -190.5zM1255 426q-9 96 -89 170t-208.5 109t-274.5 21q-223 -23 -369.5 -141.5t-132.5 -264.5q9 -96 89 -170t208.5 -109t274.5 -21q223 23 369.5 141.5t132.5 264.5zM1563 422 q0 -68 -37 -139.5t-109 -137t-168.5 -117.5t-226 -83t-270.5 -31t-275 33.5t-240.5 93t-171.5 151t-65 199.5q0 115 69.5 245t197.5 258q169 169 341.5 236t246.5 -7q65 -64 20 -209q-4 -14 -1 -20t10 -7t14.5 0.5t13.5 3.5l6 2q139 59 246 59t153 -61q45 -63 0 -178 q-2 -13 -4.5 -20t4.5 -12.5t12 -7.5t17 -6q57 -18 103 -47t80 -81.5t34 -116.5zM1489 1046q42 -47 54.5 -108.5t-6.5 -117.5q-8 -23 -29.5 -34t-44.5 -4q-23 8 -34 29.5t-4 44.5q20 63 -24 111t-107 35q-24 -5 -45 8t-25 37q-5 24 8 44.5t37 25.5q60 13 119 -5.5t101 -65.5z M1670 1209q87 -96 112.5 -222.5t-13.5 -241.5q-9 -27 -34 -40t-52 -4t-40 34t-5 52q28 82 10 172t-80 158q-62 69 -148 95.5t-173 8.5q-28 -6 -52 9.5t-30 43.5t9.5 51.5t43.5 29.5q123 26 244 -11.5t208 -134.5z" />
393
+ <glyph unicode="&#xf18b;" horiz-adv-x="1920" d="M805 163q-122 -67 -261 -67q-141 0 -261 67q98 61 167 149t94 191q25 -103 94 -191t167 -149zM453 1176v-344q0 -179 -89.5 -326t-234.5 -217q-129 152 -129 351q0 200 129.5 352t323.5 184zM958 991q-128 -152 -128 -351q0 -201 128 -351q-145 70 -234.5 218t-89.5 328 v341q196 -33 324 -185zM1638 163q-122 -67 -261 -67q-141 0 -261 67q98 61 167 149t94 191q25 -103 94 -191t167 -149zM1286 1176v-344q0 -179 -91 -326t-237 -217v0q133 154 133 351q0 195 -133 351q129 151 328 185zM1920 640q0 -201 -129 -351q-145 70 -234.5 218 t-89.5 328v341q194 -32 323.5 -184t129.5 -352z" />
394
+ <glyph unicode="&#xf18c;" horiz-adv-x="1792" />
395
+ <glyph unicode="&#xf18d;" horiz-adv-x="1792" />
396
+ <glyph unicode="&#xf18e;" horiz-adv-x="1792" />
397
+ <glyph unicode="&#xf500;" horiz-adv-x="1792" />
398
+ </font>
399
+ </defs></svg>
resources/font/fontawesome-webfont.ttf ADDED
Binary file
resources/font/fontawesome-webfont.woff ADDED
Binary file
resources/images/gravityformspdfextended.jpg CHANGED
Binary file
resources/javascript/admin.js CHANGED
@@ -1,26 +1,24 @@
1
- (function($) {
 
 
2
 
3
- $(document).ready(function($) {
4
- var tab = $('#tab_PDF');
5
-
6
- tab.find('.nav-tab-contents:not(:first)').hide();
7
-
8
- tab.find('.nav-tab').click(function() {
9
  switch_tabs($(this));
10
  return false;
11
  });
12
 
 
13
  /*
14
  * Check if a #hash exists and pass it to switch_tabs
15
  */
16
  if (window.location.hash) {
17
- switch_tabs(tab.find('.nav-tab[href="' + window.location.hash + '"]'));
18
  }
19
 
20
  /*
21
  * Validate Support Form
22
  */
23
- $('#support-request-button').click(function() {
24
  if (validate_form() === true) {
25
  return false;
26
  } else {
@@ -34,10 +32,8 @@
34
  function ajax_request() {
35
  /*
36
  * Create an AJAX Request
37
- */
38
- var spinner = $('<img alt="Loading" class="gfspinner" src="' + GFPDF.GFbaseUrl + '/images/spinner.gif" />');
39
- $('#support-request-button').after(spinner);
40
-
41
  $('span.msg').remove();
42
  $('span.error').remove();
43
 
@@ -52,8 +48,9 @@
52
  supportType: $('#support-type').val(),
53
  comments: $('#comments').val()
54
  }
55
- }).done(function(results) {
56
- $('.gfspinner').remove();
 
57
 
58
  if (results.error) {
59
  if (results.error.email) {
@@ -76,17 +73,15 @@
76
  $('#support-request-button').after('<span class="msg">' + results.msg + '</span>');
77
  }
78
  });
79
- }
80
 
81
  function switch_tabs(obj) {
82
  // Test to see if the menu tab is already active
83
  // Only process the click if the tab is inactive
84
  if (!obj.hasClass('nav-tab-active')) {
85
- var tab = $('#tab_PDF');
86
-
87
  // Hide the active menu tab and all the contents panels
88
- tab.find('.nav-tab-active').removeClass('nav-tab-active');
89
- tab.find('.nav-tab-contents').hide();
90
 
91
  // Get the value of the ‘rel’ attribute of the selected element object
92
  // Translate the value into the id reference of the target panel
@@ -96,9 +91,9 @@
96
  // Show the associated contents panel with the ID
97
  // that matches the object ‘rel’ identifier
98
  obj.addClass('nav-tab-active');
99
- $(id).show();
100
  }
101
- }
102
 
103
  function validate_form() {
104
  var error = false;
@@ -125,5 +120,5 @@
125
  error = true;
126
  }
127
  return error;
128
- }
129
  })(jQuery);
1
+ (function($) {
2
+ jQuery(document).ready(function($) {
3
+ jQuery('.nav-tab-contents:not(:first)').hide();
4
 
5
+ jQuery('.nav-tab').click(function() {
 
 
 
 
 
6
  switch_tabs($(this));
7
  return false;
8
  });
9
 
10
+
11
  /*
12
  * Check if a #hash exists and pass it to switch_tabs
13
  */
14
  if (window.location.hash) {
15
+ switch_tabs($('.nav-tab[href="' + window.location.hash + '"]'));
16
  }
17
 
18
  /*
19
  * Validate Support Form
20
  */
21
+ jQuery('#support-request-button').click(function() {
22
  if (validate_form() === true) {
23
  return false;
24
  } else {
32
  function ajax_request() {
33
  /*
34
  * Create an AJAX Request
35
+ */
36
+ $('#support-request-button').after('<span class="icon-spinner icon-spin">');
 
 
37
  $('span.msg').remove();
38
  $('span.error').remove();
39
 
48
  supportType: $('#support-type').val(),
49
  comments: $('#comments').val()
50
  }
51
+ })
52
+ .done(function(results) {
53
+ $('.icon-spinner').remove();
54
 
55
  if (results.error) {
56
  if (results.error.email) {
73
  $('#support-request-button').after('<span class="msg">' + results.msg + '</span>');
74
  }
75
  });
76
+ };
77
 
78
  function switch_tabs(obj) {
79
  // Test to see if the menu tab is already active
80
  // Only process the click if the tab is inactive
81
  if (!obj.hasClass('nav-tab-active')) {
 
 
82
  // Hide the active menu tab and all the contents panels
83
+ jQuery('.nav-tab-active').removeClass('nav-tab-active');
84
+ jQuery('.nav-tab-contents').hide();
85
 
86
  // Get the value of the ‘rel’ attribute of the selected element object
87
  // Translate the value into the id reference of the target panel
91
  // Show the associated contents panel with the ID
92
  // that matches the object ‘rel’ identifier
93
  obj.addClass('nav-tab-active');
94
+ jQuery(id).show();
95
  }
96
+ };
97
 
98
  function validate_form() {
99
  var error = false;
120
  error = true;
121
  }
122
  return error;
123
+ };
124
  })(jQuery);
resources/javascript/admin.min.js CHANGED
@@ -1 +1 @@
1
- !function(a){function b(){var b=a('<img alt="Loading" class="gfspinner" src="'+GFPDF.GFbaseUrl+'/images/spinner.gif" />');a("#support-request-button").after(b),a("span.msg").remove(),a("span.error").remove(),a.ajax({type:"POST",url:ajaxurl,dataType:"json",data:{action:"support_request",nonce:a("#pdf_settings_nonce_field").val(),email:a("#email-address").val(),supportType:a("#support-type").val(),comments:a("#comments").val()}}).done(function(b){if(a(".gfspinner").remove(),b.error){if(b.error.email){var c=a("#email-address");c.addClass("error").after(a('<span class="icon-remove-sign">'))}if(b.error.supportType){var d=a("#support-type");d.addClass("error").after(a('<span class="icon-remove-sign">'))}if(b.error.comments){var e=a("#comments");e.addClass("error").after(a('<span class="icon-remove-sign">'))}a("#support-request-button").after('<span class="error">'+b.error.msg+"</span>")}else b.msg&&a("#support-request-button").after('<span class="msg">'+b.msg+"</span>")})}function c(b){if(!b.hasClass("nav-tab-active")){var c=a("#tab_PDF");c.find(".nav-tab-active").removeClass("nav-tab-active"),c.find(".nav-tab-contents").hide();var d=b.attr("href");b.addClass("nav-tab-active"),a(d).show()}}function d(){var b=!1,c=a("#email-address"),d=a("#comments");return c.removeClass("error"),d.removeClass("error"),a("#support .icon-remove-sign").remove(),0==c.val().length&&(c.addClass("error").after(a('<span class="icon-remove-sign">')),b=!0),0==d.val().length&&(d.addClass("error").after(a('<span class="icon-remove-sign">')),b=!0),b}a(document).ready(function(a){var e=a("#tab_PDF");e.find(".nav-tab-contents:not(:first)").hide(),e.find(".nav-tab").click(function(){return c(a(this)),!1}),window.location.hash&&c(e.find('.nav-tab[href="'+window.location.hash+'"]')),a("#support-request-button").click(function(){return d()===!0?!1:(b(),!1)})})}(jQuery);
1
+ !function(e){function r(){e("#support-request-button").after('<span class="icon-spinner icon-spin">'),e("span.msg").remove(),e("span.error").remove(),e.ajax({type:"POST",url:ajaxurl,dataType:"json",data:{action:"support_request",nonce:e("#pdf_settings_nonce_field").val(),email:e("#email-address").val(),supportType:e("#support-type").val(),comments:e("#comments").val()}}).done(function(r){if(e(".icon-spinner").remove(),r.error){if(r.error.email){var s=e("#email-address");s.addClass("error").after(e('<span class="icon-remove-sign">'))}if(r.error.supportType){var a=e("#support-type");a.addClass("error").after(e('<span class="icon-remove-sign">'))}if(r.error.comments){var n=e("#comments");n.addClass("error").after(e('<span class="icon-remove-sign">'))}e("#support-request-button").after('<span class="error">'+r.error.msg+"</span>")}else r.msg&&e("#support-request-button").after('<span class="msg">'+r.msg+"</span>")})}function s(e){if(!e.hasClass("nav-tab-active")){jQuery(".nav-tab-active").removeClass("nav-tab-active"),jQuery(".nav-tab-contents").hide();var r=e.attr("href");e.addClass("nav-tab-active"),jQuery(r).show()}}function a(){var r=!1,s=e("#email-address"),a=e("#comments");return s.removeClass("error"),a.removeClass("error"),e("#support .icon-remove-sign").remove(),0==s.val().length&&(s.addClass("error").after(e('<span class="icon-remove-sign">')),r=!0),0==a.val().length&&(a.addClass("error").after(e('<span class="icon-remove-sign">')),r=!0),r}jQuery(document).ready(function(e){jQuery(".nav-tab-contents:not(:first)").hide(),jQuery(".nav-tab").click(function(){return s(e(this)),!1}),window.location.hash&&s(e('.nav-tab[href="'+window.location.hash+'"]')),jQuery("#support-request-button").click(function(){return a()===!0?!1:(r(),!1)})})}(jQuery);
view/templates/settings/changelog.php CHANGED
@@ -1,13 +1,13 @@
1
  <?php
2
 
3
  /*
4
- Template: Changelog
5
- Module: Settings Page
6
  *
7
  */
8
 
9
  /*
10
- <li>Don't run if the correct class isn't present
11
  */
12
  if(!class_exists('GFPDF_Settings_Model'))
13
  {
@@ -19,220 +19,46 @@
19
  <h2><?php _e('Changelog'); ?></h2>
20
 
21
  <p><strong>Current Version: <?php echo PDF_EXTENDED_VERSION; ?></strong></p>
22
-
23
- <h3><?php echo PDF_EXTENDED_VERSION; ?></h3>
24
- <ul>
25
- <li>Feature - Added support for Gravity Form's sub-field 'middle' name (1.9Beta)</li>
26
- <li>Feature - Patch mPDF with full :nth-child support on TD and TR table cells</li>
27
- <li>Feature - Added $form_data['products_totals']['subtotal'] key (total price without shipping costs added)</li>
28
- <li>Feature - Added formated money to all product fields in the $form_data array</li>
29
- <li>Feature - Default templates: only show fields who's conditional logic is true. Perfect when used with 'default-show-html'</li>
30
- <li>Housekeeping - Move PDF_EXTENDED_TEMPLATES folder to the /wp-content/upload/ directory. Get more info about the move (see <a href="https://developer.gravitypdf.com/news/migrating-template-directory-means/">https://developer.gravitypdf.com/news/migrating-template-directory-means/</a>)</li>
31
- <li>Housekeeping - Refined when admin resources are loaded</li>
32
- <li>Housekeeping - Fixed typo during initial initialisation</li>
33
- <li>Housekeeping - Switched icons back to FontAwesome which is shipped by default with Gravity Forms</li>
34
- <li>Housekeeping - Display full path to mPDF tmp directory when there are issues writing to it</li>
35
- <li>Housekeeping - Update example-header-and-footer_06.php and example-advanced-headers_07.php to better reflect current mPDF features</li>
36
- <li>Bug - Fixed issue pulling the correct configuration when multiple nodes were assigned to multiple forms</li>
37
- <li>Bug - Fixed number field formatting issue which always rounded to two decimal places</li>
38
- <li>Bug - Fixed JS namespace issue with WordPress Leads plugin</li>
39
- <li>Bug - Fixed error initialising fonts / backing up PDF_EXTENDED_TEMPLATES directory when using the glob() function</li>
40
- <li>Bug - Fix issue with PHP 5.0 and 5.1 array_replace_recursive function when used with an array inside the $gf_pdf_config array</li>
41
- <li>Bug - Fixed fatal error when logged in user attempts to view PDF they don't have access to</li>
42
- <li>Bug - Fixed issue in $form_data array where single-column list items where being returned as an array and not a HTML list.</li>
43
- <li>Bug - Prevent unauthorised users auto-initialising the software or migrating the templates folder</li>
44
- </ul>
45
-
46
-
47
- <h3>3.5.10</h3>
48
- <ul>
49
- <li>Bug - Fix issue saving and sending blank PDFs due to security fix</li>
50
- </ul>
51
- <h3>3.5.11</h3>
52
- <ul>
53
- <li>Bug - Fix security issue which gave unauthorised users access to Gravity Form entires</li>
54
- </ul>
55
-
56
- <h3>3.5.10</h3>
57
- <ul>
58
- <li>Housekeeping - Include individual scoring for Gravity Form Survey Likert field in the $form_data['survey'] array</li>
59
- <li>Bug - Fix fatal error when Gravity Forms isn't activated, but Gravity PDF is.</li>
60
- </ul>
61
-
62
- <h3>3.5.9</h3>
63
- <ul>
64
- <li>Bug - Rollback recent changes that introduced the GFAPI as introduces errors for older versions of Gravity Forms. Will reintroduce in next major release and increase the minimum Gravity Forms version.</li>
65
- </ul>
66
-
67
- <h3>3.5.8</h3>
68
- <ul>
69
- <li>Bug - Fixed issue affected some users where a depreciated function was causing a fatal error </li>
70
- </ul>
71
-
72
- <h3>3.5.7</h3>
73
- <ul>
74
- <li>Bug - Fixed issue where the PDF settings page was blank for some users</li>
75
- </ul>
76
-
77
-
78
- <h3>3.5.6</h3>
79
- <ul>
80
- <li>Bug - Fixed issue with last release that affected checks to see if Gravity Forms has submitting</li>
81
- <li>Bug - Fixed fatal error with servers using PHP5.2 or lower</li>
82
- <li>Bug - Fixed E_NOTICE for replacement array_replace_recursive() function in PHP5.2 or lower</li>
83
- <li>Bug - Fixed issue with AJAX spinner showing when submitting support request</li>
84
- </ul>
85
-
86
- <h3>3.5.5</h3>
87
- <ul>
88
- <li>Housekeeping - Include French translation (thanks to Marie-Aude Koiransky-Ballouk)</li>
89
- <li>Housekeeping - Wrap 'Initialise Fonts' text in translation ready _e() function</li>
90
- <li>Housekeeping - Tidy up System Status CSS styles to accomidate translation text lengths</li>
91
- <li>Housekeeping - Fix E_NOTICE when viewing entry details page when form has no PDF configuration</li>
92
- <li>Bug - Fixed load_plugin_textdomain which was incorrectly called.</li>
93
- <li>Bug - Correctly check if the plugin is loaded correctly before letting the PDF class fully load</li>
94
- </ul>
95
-
96
- <h3>3.5.4</h3>
97
- <ul>
98
- <li>Bug - Fixed issue with incorrect PDF name showing on the entry details page</li>
99
- <li>Bug - Fixed issue with custom fonts being inaccessible without manually reinstalling after upgrading.</li>
100
- <li>Housekeeping - Added in two new filters to modify the $mpdf object. 'gfpdfe_mpdf_class' and 'gfpdfe_mpdf_class_pre_render' (replaces the gfpdfe_pre_render_pdf filter).</li>
101
- </ul>
102
-
103
-
104
- <h3>3.5.3</h3>
105
-
106
- <ul>
107
- <li>Bug - Mergetags braces ({}) were being encoded before conversion</li>
108
- <li>Bug - Fixed issue with empty string being passed to array filter</li>
109
- <li>Housekeeping - Enabled mergetag usage in the pdf_password and pdf_master_password configuration options</li>
110
- <li>Housekeeping - Correctly call $wpdb->prepare so the variables in are in the second argument</li>
111
- </ul>
112
-
113
- <h3>3.5.2</h3>
114
- <ul>
115
- <li>Bug - Initialisation folder .htaccess file was preventing template.css from being loaded by the default templates.</li>
116
- </ul>
117
-
118
- <h3>3.5.1</h3>
119
-
120
- <ul>
121
- <li>Bug - Fixed issue using core fonts Arial/Helvetica, Times/Times New Roman and Courier.</li>
122
- <li>Bug - Fixed display issues for multiple PDFs on the details admin entry page</li>
123
- <li>Housekeeping - Made the details entry page PDF view consistent for single or multiple PDFs</li>
124
- <li>Housekeeping - Ensured all javascript files are minified and are correctly being used</li>
125
- <li>Housekeeping - Remove legacy notices from mPDF package</li>
126
- </ul>
127
-
128
- <h3>3.5.0</h3>
129
-
130
- <ul>
131
- <li>Feature - No longer need to reinitialise every time the software is updated. </li>
132
- <li>Feature - Add auto-initialiser on initial installation for sites that have direct write access to their server files</li>
133
- <li>Feature - Add auto-initialiser on initial installation across entire multisite network for sites who have direct write access to their server files. </li>
134
- <li>Feature - Add auto-PDF_EXTENDED_TEMPLATES theme syncer for sites that have direct write access to their server files</li>
135
- <li>Feature - Correctly added language support. The .PO file is located in the /language/ folder if anyone would like to do a translation.</li>
136
-
137
- <li>Housekeeping - Restrict initialisation process to 64MB or greater to counter problems with users reporting a 'white screen' when running in a low-RAM environment.</li>
138
- <li>Housekeeping - Refractor the admin notices code</li>
139
- <li>Housekeeping - Create responsive PDF settings page</li>
140
- <li>Housekeeping - Minify CSS and Javascript files </li>
141
- <li>Housekeeping - Remove FontAwesome fonts from package and use Wordpress' build-in 'dashicons'</li>
142
- <li>Housekeeping - Refine action and error messages </li>
143
- <li>Housekeeping - Update initialisation tab copy for both pre- and post- initialisation</li>
144
- <li>Housekeeping - Use Gravity Forms get_ip() function instead of custom function</li>
145
- <li>Housekeeping - The in-built support form uses SSL once again (disabled in the past due to some servers being unable to verify the certificate). </li>
146
- <li>Bug - When testing write permissions, file_exist() is throwing false positives for some users which would generate a warning when unlink() is called. Hide warning using '@'. </li>
147
- </ul>
148
-
149
-
150
- <h3>3.4.1</h3>
151
- <ul>
152
- <li>Bug - Fix typo that effected sites running PHP5.2 or below.</li>
153
- </ul>
154
-
155
- <h3>3.4.0.3</h3>
156
- <ul>
157
- <li>Bug - Define array_replace_recursive() if it doesn't exist, as it is PHP 5.3 only. </li>
158
- </ul>
159
-
160
- <h3>3.4.0.2</h3>
161
- <ul>
162
- <li>Housekeeping - Wrapped the View PDF and Download buttons in correct language functions - _e()</li>
163
- <li>Bug - Fix problem displaying the signature field</li>
164
- <li>Bug - Fix notice errors with new 'save' PDF hook</li>
165
- </ul>
166
-
167
- <h3>3.4.0.1</h3>
168
- <ul>
169
- <li>Housekeeping - Add commas on the last line of every config node in the configuration.php file</li>
170
- <li>Housekeeping - Fix up initialisation error messages</li>
171
- <li>Bug - Fix up mPDF bugs - soft hyphens, watermarks over SVG images, inline CSS bug</li>
172
- </ul>
173
-
174
-
175
  <h3>3.4.0</h3>
176
  <ul>
177
- <li>Feature - Added auto-print prompt ability when you add &amp;print=1 to the PDF URL (see https://developer.gravitypdf.com/documentation/display-pdf-in-browser/ for details)</li>
178
- <li>Feature - Added ability to rotate absolute positioned text 180 degrees (previously only 90 and -90). Note: feature in beta</li>
179
- <li>Feature - Backup all template files that are overridden when initialising to a folder inside PDF_EXTENDED_TEMPLATES</li>
180
- <li>Feature - Added SSH initialisation support</li>
181
- <li>Feature - Allow MERGETAGS to be used in all PDF templates, including default template (but only in the HTML field).</li>
182
- <li>Feature - Updated mPDF to 3.7.1</li>
183
- <li>Feature - Enable text/image watermark support. Added new example template example-watermark09.php showing off its usage (see https://developer.gravitypdf.com/documentation/watermarks-pdf-template-example/)</li>
184
- <li>Feature - Added full survey, poll and quiz support to both the default template and $form_data (see https://developer.gravitypdf.com/documentation/accessing-survey-poll-quiz-data/)</li>
185
- <li>Feature - Shortcodes will now be processed in all templates, including default template (but only in the HTML field).</li>
186
- <li>Feature - Added 'save' configuration option so PDFs are saved to the local disk when 'notifications' aren't enabled.</li>
187
- <li>Feature - Added 'dpi' configuration option to modify the PDF image DPI. Default 96dpi. Use 300dpi for printing.</li>
188
- <li>Feature - Added PDF/A1-b compliance option. Enable with 'pdfa1b' => true. See http://mpdf1.com/manual/index.php?tid=420&searchstring=pdf/a1-b for more details.</li>
189
- <li>Feature - Added PDF/X1-a compliance option. Enable with 'pdfx1a' => true. See http://mpdf1.com/manual/index.php?tid=481&searchstring=pdf/x-1a for more details.</li>
190
- <li>Feature - Added new constant option 'PDF_REPACK_FONT' which when enabled may improve function with some PostScript printers (disabled by default). Existing sites will need to add define('PDF_REPACK_FONT', true); to the bottom of their configuration.php file.</li>
191
- <li>Feature - Added a sleuth of new hooks and filters for developers. See https://developer.gravitypdf.com/documentation/filters-and-hooks/ for examples.</li>
192
- <li>Feature - Added $form_data['form_description'] key to $form_data array</li>
193
- <li>Feature - Update $form_data['products'] array key to field ID</li>
194
- <li>Feature - Added survey Likert output function for custom templates (much like the product table function). It can be used with the following command 'echo GFPDFEntryDetails::get_likert($form, $lead, $field_id);' where $field_id is substituted for the form field ID.</li>
195
- <li>Feature - Added field descriptions to the $form_data array under the $form_data['field_descriptions'] key.</li>
196
- <li>Feature - Added pre and post PDF generation filters and actions to pdf-render.php. These include gfpdfe_pre_render_pdf, gfpdfe_pdf_output_type, gfpdfe_pdf_filename and gfpdf_post_pdf_save.</li>
197
- <li>Feature: $form_data['signature'] et al. keys now contain the signature width and height attributes</li>
198
 
199
- <li>Housekeeping - Ensure the form and lead IDs are correctly passed throughout the render functions.</li>
200
- <li>Housekeeping - Update settings page link to match new Gravity Forms URL structure</li>
201
- <li>Housekeeping - Check if $lead['gfsurvey_score'] exists before assigning to $form_data array</li>
202
- <li>Housekeeping - Removed table and font checksum debugging from mPDF when WP_DEBUG enabled as they produced inaccurate results.</li>
203
- <li>Housekeeping - Fixed up mPDF logging location when WP_DEBUG enabled. Files now stored in wp-content/themes/Active_Theme_Folder/PDF_EXTENDED_TEMPLATES/output/ folder.</li>
204
- <li>Housekeeping - Removed API logging locally when WP_DEBUG is enabled.</li>
205
- <li>Housekeeping - Increase API timeout interval as some overseas users reported timeout issues</li>
206
- <li>Housekeeping - Modified mPDF functions Image() and purify_utf8_text() to validate the input data so we don't have to do it every time through the template.</li>
207
- <li>Housekeeping - Added ability to not re-deploy every update (not enabled this release as template files were all updated)</li>
208
- <li>Housekeeping - Additional checks on load to see if any of the required file/folder structure is missing. If so, re-initilise.</li>
209
- <li>Housekeeping - Save resources and turn off automatic rtl identification. Users must set the RTL option when configuring form</li>
210
- <li>Housekeeping - Turn off mPDFs packTableData setting, decreasing processing time when working with large tables.</li>
211
- <li>Housekeeping - $gf_pdf_default_configuration options now merge down into existing PDF nodes, instead of applying to only unassigned forms. $gf_pdf_config settings override any in $gf_pdf_default_configuration</li>
212
- <li>Housekeeping - Center aligned Survey Likery field results</li>
213
- <li>Housekeeping - Partially refactored the pdf-entry-detail.php code</li>
214
- <li>Housekeeping - All default and example templates have been tidied. This won't affect custom templates.</li>
215
- <li>Housekeeping - Set the gform_notification order number to 100 which will prevent other functions (example snippets from Gravity Forms, for instance) from overridding the attached PDF.</li>
216
- <li>Housekeeping - Fix spelling mistake on initialising fonts</li>
217
- <li>Housekeeping - Remove wpautop() function from Gravity Form HTML output, which was applied before rendering and was messing up the HTML markup.</li>
218
- <li>Housekeeping - Remove empty list rows from the $form_data['list'] array in single and multi-column lists.</li>
219
- <li>Housekeeping - Apply same CSS styles (padding, border and line height) to HTML fields as done to form values in default templates</li>
220
- <li>Housekeeping - Replaced arbitrary wrapper IDs in the default templates with the actual field ID</li>
221
 
222
- <li>Bug - Fixed signature rendering issue when custom signature size was being used</li>
223
- <li>Bug - Fixed static error types in helper/install-update-manager.php file.</li>
224
- <li>Bug - Fixed redeployment error message which wasn't showing correctly</li>
225
- <li>Bug - Fixed issue with PDF not attaching to notification using Paypal's delayed notification feature</li>
226
- <li>Bug - Fixed strict standard warning about calling GFPDF_Settings::settings_page();</li>
227
- <li>Bug - Fixed strict standard warning about calling GFPDFEntryDetail::pdf_get_lead_field_display();</li>
228
- <li>Bug - Fixed issue with Gravity Form Post Category field causing fatal error generating PDF</li>
229
- <li>Bug - Fixed number field formatting issue when displaying on PDF.</li>
230
- <li>Bug - Do additional check for PHP's MB_String regex functions before initialising ti prevent errors after initialising</li>
231
- <li>Bug - Fixed problem with multiple nodes assigned to a form using the same template</li>
232
- <li>Bug - Fixed path to fallback templates when not found</li>
233
- <li>Bug - Fixed problem with master password setting to user password</li>
234
- </ul>
235
-
236
  <h3>3.3.4</h3>
237
  <ul>
238
  <li>Bug - Fixed issue linking to PDF from front end</li>
@@ -265,7 +91,7 @@
265
  <ul>
266
  <li>Feature - Overhauled the initialisation process so that the software better reviews the host for potential problems before initialisation. This should help debug issues and make users aware there could be a problem <strong>before</strong> they begin using the software.</li>
267
  <li>Feature - Overhauled the settings page to make it easier to access features of the software</li>
268
- <li>Feature - Added a Support tab to the settings page which allows users to securely (over HTTPS) submit a support ticket to the Gravity PDF support desk</li>
269
  <li>Feature - Changed select, multiselect and radio fields so that the default templates use the name rather than the value. $form_data now also includes the name and values for all these fields.</li>
270
  <li>Feature - $form_data now includes all miscellaneous lead information in the $form_data['misc'] array.</li>
271
  <li>Feature - $form_data now contains 24 and 12 hour time of entry submission.</li>
@@ -275,7 +101,7 @@
275
  <li>Bug - Fixed issue when Gravity Forms in No Conflict Mode</li>
276
  <li>Bug - Font config.php's array keys now in lower case</li>
277
  <li>Housekeeping - Moved all initialisation files to a folder called 'initialisation'.</li>
278
- <li>Housekeeping - Renamed the configuration.php file in the plugin folder to configuration.php.example to alleviate confusion for developers who unwittingly modify the plugin configuration file instead of the file in their active theme's PDF_EXTENDED_TEMPLATES folder.</li>
279
  <li>Housekeeping - Updated the plugin file system to a more MVC-style approach, with model and view folders.</li>
280
  <li>Housekeeping - Removed ability to directly access default and example template files.</li>
281
  <li>Housekeeping - Fixed PHP notices in default templates related to the default template-only configuration options</li>
@@ -287,14 +113,14 @@
287
  <h3>3.2.0</h3>
288
  <ul>
289
  <li>Feature - Can now view multiple PDFs assigned to a single form via the admin area. Note: You must provide a unique 'filename' parameter in configuration.php for multiple PDFs assigned to a single form. </li>
290
- <li>Feature - You can exclude a field from the default templates using the class name 'exclude'. See our <a rel="nofollow" href="https://gravitypdf.com/#faqs">FAQ topic</a> for more details.</li>
291
  <li>Bug - Fixed issue viewing own PDF entry when logged in as anything lower than editor.</li>
292
  <li>Bug - Fixed data return bug in pdf-entry-details.php that was preventing all data returning correctly.</li>
293
  <li>Bug - Fixed PHP Warning when using products with no options</li>
294
  <li>Bug - Fixed issue with invalid characters being added to the PDF filename. Most notably the date mergetag.</li>
295
  <li>Bug - Limit filename length to 150 characters which should work on the majority of web servers.</li>
296
  <li>Bug - Fixed problem sending duplicate PDF when using mass resend notification feature</li>
297
- <li>Depreciated - Removed GF_FORM_ID and GF_LEAD_ID constants which were used in v2.x.x of the software. Ensure you follow <a rel="nofollow" href="https://developer.gravitypdf.com/news/version-2-3-migration-guide/">v2.x.x upgrade guide</a> to your templates before upgrading.</li>
298
  </ul>
299
 
300
  <h3>3.1.4</h3>
@@ -332,14 +158,14 @@
332
  </ul>
333
  <h3>3.1.0</h3>
334
  <ul>
335
- <li>Feature - Added defaults to configuration.php which allows users to define the default PDF settings for all Gravity Forms. See the <a rel="nofollow" href="https://developer.gravitypdf.com/documentation/getting-started-with-gravity-pdf-configuration/">installation and configuration documentation</a> for more details. </li>
336
- <li>Feature - Added three new configuration options 'default-show-html', 'default-show-empty' and 'default-show-page-names' which allow different display options to the three default templates. See the <a rel="nofollow" href="https://developer.gravitypdf.com/documentation/configuration-options-examples/#default-template">installation and configuration documentation</a> for more details.</li>
337
- <li>Feature - Added filter hooks 'gfpdfe_pdf_name' and 'gfpdfe_template' which allows developers to further modify a PDF name and template file, respectively, outside of the configuration.php. This is useful if you have a special case naming convention based on user input. See <a rel="nofollow" href="https://developer.gravitypdf.com/documentation/filters-and-hooks/">https://developer.gravitypdf.com/documentation/filters-and-hooks/</a> for more details about using these filters.</li>
338
- <li>Feature - Custom font support. Any .ttf font file added to the PDF_EXTENDED_TEMPLATES/fonts/ folder will be automatically installed once the plugin has been initialised. Users also have the option to just initialise the fonts via the settings page. See the <a rel="nofollow" href="https://developer.gravitypdf.com/documentation/language-support/#install-custom-fonts">font/language documentation </a> for details.</li>
339
  <li>Compatability - Use Gravity Forms get_upload_root() and get_upload_url_root() instead of hard coding the signature upload directory in pdf-entry-detail.php</li>
340
  <li>Compatability - Changed depreciated functions get_themes() and get_theme() to wp_get_theme() (added in WordPress v3.4). </li>
341
  <li>Compatability - The plugin now needs to be initialised on fresh installation and upgrade. This allows us to use the WP_Filesystem API for file manipulation.</li>
342
- <li>Compatability - Automatic copying of PDF_EXTENDED_TEMPLATES folder on a theme change was removed in favour of a user prompt. This allows us to take advantage of the WP_Filesystem API.</li>
343
  <li>Compatability - Added WordPress compatibility checker (minimum now 3.4 or higher).</li>
344
  <li>Bug - Removed ZipArchive in favour of WordPress's WP_Filesystem API unzip_file() command. Some users reported the plugin would stop their entire website working if this extension wasn't installed.</li>
345
  <li>Bug - Fixed Gravity Forms compatibility checker which wouldn't return the correct response.</li>
@@ -359,7 +185,7 @@
359
  <li>Feature - Options for default templates to disable HTML fields or empty fields (or both)</li>
360
  </ul>
361
  <h3>3.0.0</h3>
362
- <p>As of Gravity PDF v3.0.0 we have removed the DOMPDF package from our plugin and integrated the more advanced mPDF system. Along with a new HTML to PDF generator, we've rewritten the entire plugin's base code to make it more user friendly to both hobbyists and rock star web developers. Configuration time is cut in half and advanced features like adding security features is now accessible to users who have little experience with PHP.</p>
363
  <p>New Features include:</p>
364
  <ul>
365
  <li>Language Support - almost all languages are supported including RTL (right to left) languages like Arabic and Hebrew and CJK languages - Chinese, Japanese and Korean.</li>
@@ -378,9 +204,9 @@
378
  <p>A new HTML to PDF package wasn't the only change to this edition of the software. We have rewritten the entire configuration system and made it super easy to get the software up and running.</p>
379
  <p>Users will no longer place code in their active theme's functions.php file. Instead, configuration will happen in a new file called configuration.php, inside the PDF_EXTENDED_TEMPLATES folder (in your active theme).</p>
380
  <p>Other changes include
381
- <li>Improved security - further restrictions were placed on non-administrators viewing template files.
382
- <li>$form_data array tidied up - images won't be wrapped in anchor tags.</p>
383
- <p>For more details <a rel="nofollow" href="https://developer.gravitypdf.info/">view the 3.x.x online documentation</a>.</p>
384
  <h3>2.2.3</h3>
385
  <ul>
386
  <li>Bug - Fixed mb_string error in the updated DOMPDF package.</li>
1
  <?php
2
 
3
  /*
4
+ * Template: Changelog
5
+ * Module: Settings Page
6
  *
7
  */
8
 
9
  /*
10
+ * Don't run if the correct class isn't present
11
  */
12
  if(!class_exists('GFPDF_Settings_Model'))
13
  {
19
  <h2><?php _e('Changelog'); ?></h2>
20
 
21
  <p><strong>Current Version: <?php echo PDF_EXTENDED_VERSION; ?></strong></p>
22
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
23
  <h3>3.4.0</h3>
24
  <ul>
25
+ <li>Feature - Added auto-print prompt ability when you add &amp;print=1 to the PDF URL</li>
26
+ <li>Feature - Added ability to rotate absolute positioned text 180 degrees (previously only 90 and -90). Note: feature in beta</li>
27
+ <li>Feature - Backup all template files that are overridden when initialising to a folder inside PDF_EXTENDED_TEMPLATE</li>
28
+ <li>Feature - Added SSH initialisation support</li>
29
+ <li>Feature - Allow MERGETAGS to be used in all PDF template, including default template but only in the HTML field.</li>
30
+ <li>Feature - Updated mPDF to 3.7.1</li>
31
+ <li>Feature - Enable text/image watermark support. Added new example template example-watermark09.php showing off its usage</li>
32
+ <li>Feature - Added Quiz support to $form_data array</li>
33
+ <li>Feature - Shortcodes will now be processed in all templates, including default template but only in the HTML field.</li>
34
+ <li>Feature - Added 'save' configuration option so PDFs are saved to the local disk when 'notifications' aren't enabled</li>
35
+ <li>Feature - Added 'dpi' configuration option to modify the PDF image DPI. Default 96dpi. Use 300dpi for printing.</li>
36
+ <li>Feature - Added PDF/A1-b compliance option. Enable with 'pdfa1b' => true. See <a href="http://mpdf1.com/manual/index.php?tid=420&searchstring=pdf/a1-b">http://mpdf1.com/manual/index.php?tid=420&amp;searchstring=pdf/a1-b</a> for more details.</li>
37
+ <li>Feature - Added PDF/X1-a compliance option. Enable with 'pdfx1a' => true. See <a href="http://mpdf1.com/manual/index.php?tid=481&searchstring=pdf/x-1a">http://mpdf1.com/manual/index.php?tid=481&amp;searchstring=pdf/x-1a</a> for more details</li>
38
+ <li>Feature - Added new constant option 'PDF_REPACK_FONT' which when enabled may improve function with some PostScript printers (disabled by default)</li>
 
 
 
 
 
 
 
39
 
40
+ <li>Housekeeping - Modified mPDF functions Image() and purify_utf8_text() to validate the input data so we don't have to do it every time through the template.</li>
41
+ <li>Housekeeping - Added ability to not re-deploy every update (not enabled this release as template files were all updated)</li>
42
+ <li>Housekeeping - Additional checks on load to see if any of the required file/folder structure is missing. If so, re-initilise.</li>
43
+ <li>Housekeeping - Save resources and turn off automatic rtl identification. Users must set the RTL option when configuring form</li>
44
+ <li>Housekeeping - Turn off mPDFs packTableData setting, decreasing processing time when working with large tables.</li>
45
+ <li>Housekeeping - $gf_pdf_default_configuration options now merge down into existing PDF nodes, instead of applying to only unassigned forms</li>
46
+ <li>Housekeeping - Center aligned Survey Likery field results</li>
47
+ <li>Housekeeping - Partially refactored the pdf-entry-detail.php code</li>
48
+ <li>Housekeeping - All default and example templates have been tidied. This won't affect custom templates.</li>
49
+ <li>Housekeeping - Set the gform_notification order number to 100 which will prevent other functions (example snippets from Gravity Forms, for instance) from overridding the attached PDF.</li>
50
+ <li>Housekeeping - Fix spelling mistake on initialising fonts</li>
51
+
52
+ <li>Bug - Fixed issue with PDF not attaching to notification using Paypal's delayed notification feature</li>
53
+ <li>Bug - Fixed strict standard warning about calling GFPDF_Settings::settings_page();</li>
54
+ <li>Bug - Fixed strict standard warning about calling GFPDFEntryDetail::pdf_get_lead_field_display();</li>
55
+ <li>Bug - Fixed issue with Gravity Form Post Category field causing fatal error generating PDF</li>
56
+ <li>Bug - Fixed number field formatting issue when displaying on PDF.</li>
57
+ <li>Bug - Do additional check for PHP's MB_String regex functions before initialising</li>
58
+ <li>Bug - Fixed problem with multiple nodes assigned to a form using the same template</li>
59
+ <li>Bug - Fixed path to fallback templates when not found</li>
60
+ </ul>
 
61
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
62
  <h3>3.3.4</h3>
63
  <ul>
64
  <li>Bug - Fixed issue linking to PDF from front end</li>
91
  <ul>
92
  <li>Feature - Overhauled the initialisation process so that the software better reviews the host for potential problems before initialisation. This should help debug issues and make users aware there could be a problem <strong>before</strong> they begin using the software.</li>
93
  <li>Feature - Overhauled the settings page to make it easier to access features of the software</li>
94
+ <li>Feature - Added a Support tab to the settings page which allows users to securely (over HTTPS) submit a support ticket to the Gravity Form PDF Extended support desk</li>
95
  <li>Feature - Changed select, multiselect and radio fields so that the default templates use the name rather than the value. $form_data now also includes the name and values for all these fields.</li>
96
  <li>Feature - $form_data now includes all miscellaneous lead information in the $form_data['misc'] array.</li>
97
  <li>Feature - $form_data now contains 24 and 12 hour time of entry submission.</li>
101
  <li>Bug - Fixed issue when Gravity Forms in No Conflict Mode</li>
102
  <li>Bug - Font config.php's array keys now in lower case</li>
103
  <li>Housekeeping - Moved all initialisation files to a folder called 'initialisation'.</li>
104
+ <li>Housekeeping - Renamed the configuration.php file in the plugin folder to configuration.php.example to alleviate confusion for developers who unwittingly modify the plugin configuration file instead of the file in their active theme's PDF_EXTENDED_TEMPLATE folder.</li>
105
  <li>Housekeeping - Updated the plugin file system to a more MVC-style approach, with model and view folders.</li>
106
  <li>Housekeeping - Removed ability to directly access default and example template files.</li>
107
  <li>Housekeeping - Fixed PHP notices in default templates related to the default template-only configuration options</li>
113
  <h3>3.2.0</h3>
114
  <ul>
115
  <li>Feature - Can now view multiple PDFs assigned to a single form via the admin area. Note: You must provide a unique 'filename' parameter in configuration.php for multiple PDFs assigned to a single form. </li>
116
+ <li>Feature - You can exclude a field from the default templates using the class name 'exclude'. See our <a rel="nofollow" href="http://gravityformspdfextended.com/faq/can-exclude-field-showing-pdf/">FAQ topic</a> for more details.</li>
117
  <li>Bug - Fixed issue viewing own PDF entry when logged in as anything lower than editor.</li>
118
  <li>Bug - Fixed data return bug in pdf-entry-details.php that was preventing all data returning correctly.</li>
119
  <li>Bug - Fixed PHP Warning when using products with no options</li>
120
  <li>Bug - Fixed issue with invalid characters being added to the PDF filename. Most notably the date mergetag.</li>
121
  <li>Bug - Limit filename length to 150 characters which should work on the majority of web servers.</li>
122
  <li>Bug - Fixed problem sending duplicate PDF when using mass resend notification feature</li>
123
+ <li>Depreciated - Removed GF_FORM_ID and GF_LEAD_ID constants which were used in v2.x.x of the software. Ensure you follow <a rel="nofollow" href="http://gravityformspdfextended.com/documentation-v3-x-x/v3-0-0-migration-guide/">v2.x.x upgrade guide</a> to your templates before upgrading.</li>
124
  </ul>
125
 
126
  <h3>3.1.4</h3>
158
  </ul>
159
  <h3>3.1.0</h3>
160
  <ul>
161
+ <li>Feature - Added defaults to configuration.php which allows users to define the default PDF settings for all Gravity Forms. See the <a rel="nofollow" href="http://gravityformspdfextended.com/documentation-v3-x-x/installation-and-configuration/#default-configuration-options">installation and configuration documentation</a> for more details. </li>
162
+ <li>Feature - Added three new configuration options 'default-show-html', 'default-show-empty' and 'default-show-page-names' which allow different display options to the three default templates. See the <a rel="nofollow" href="http://gravityformspdfextended.com/documentation-v3-x-x/installation-and-configuration/#default-template-only">installation and configuration documentation</a> for more details.</li>
163
+ <li>Feature - Added filter hooks 'gfpdfe_pdf_name' and 'gfpdfe_template' which allows developers to further modify a PDF name and template file, respectively, outside of the configuration.php. This is useful if you have a special case naming convention based on user input. See <a rel="nofollow" href="http://gravityformspdfextended.com/filters-and-hooks/">http://gravityformspdfextended.com/filters-and-hooks/</a> for more details about using these filters.</li>
164
+ <li>Feature - Custom font support. Any .ttf font file added to the PDF_EXTENDED_TEMPLATE/fonts/ folder will be automatically installed once the plugin has been initialised. Users also have the option to just initialise the fonts via the settings page. See the <a rel="nofollow" href="http://gravityformspdfextended.com/documentation-v3-x-x/language-support/#installing-fonts">font/language documentation </a> for details.</li>
165
  <li>Compatability - Use Gravity Forms get_upload_root() and get_upload_url_root() instead of hard coding the signature upload directory in pdf-entry-detail.php</li>
166
  <li>Compatability - Changed depreciated functions get_themes() and get_theme() to wp_get_theme() (added in WordPress v3.4). </li>
167
  <li>Compatability - The plugin now needs to be initialised on fresh installation and upgrade. This allows us to use the WP_Filesystem API for file manipulation.</li>
168
+ <li>Compatability - Automatic copying of PDF_EXTENDED_TEMPLATE folder on a theme change was removed in favour of a user prompt. This allows us to take advantage of the WP_Filesystem API.</li>
169
  <li>Compatability - Added WordPress compatibility checker (minimum now 3.4 or higher).</li>
170
  <li>Bug - Removed ZipArchive in favour of WordPress's WP_Filesystem API unzip_file() command. Some users reported the plugin would stop their entire website working if this extension wasn't installed.</li>
171
  <li>Bug - Fixed Gravity Forms compatibility checker which wouldn't return the correct response.</li>
185
  <li>Feature - Options for default templates to disable HTML fields or empty fields (or both)</li>
186
  </ul>
187
  <h3>3.0.0</h3>
188
+ <p>As of Gravity Forms PDF Extended v3.0.0 we have removed the DOMPDF package from our plugin and integrated the more advanced mPDF system. Along with a new HTML to PDF generator, we've rewritten the entire plugin's base code to make it more user friendly to both hobbyists and rock star web developers. Configuration time is cut in half and advanced features like adding security features is now accessible to users who have little experience with PHP.</p>
189
  <p>New Features include:</p>
190
  <ul>
191
  <li>Language Support - almost all languages are supported including RTL (right to left) languages like Arabic and Hebrew and CJK languages - Chinese, Japanese and Korean.</li>
204
  <p>A new HTML to PDF package wasn't the only change to this edition of the software. We have rewritten the entire configuration system and made it super easy to get the software up and running.</p>
205
  <p>Users will no longer place code in their active theme's functions.php file. Instead, configuration will happen in a new file called configuration.php, inside the PDF_EXTENDED_TEMPLATES folder (in your active theme).</p>
206
  <p>Other changes include
207
+ * Improved security - further restrictions were placed on non-administrators viewing template files.
208
+ * $form_data array tidied up - images won't be wrapped in anchor tags.</p>
209
+ <p>For more details <a rel="nofollow" href="http://gravityformspdfextended.com/documentation-v3-x-x/introduction/">view the 3.x.x online documentation</a>.</p>
210
  <h3>2.2.3</h3>
211
  <ul>
212
  <li>Bug - Fixed mb_string error in the updated DOMPDF package.</li>
view/templates/settings/initialisation-tab.php CHANGED
@@ -38,19 +38,15 @@
38
 
39
  <?php else: ?>
40
  <div class="leftcolumn">
41
- <h2><?php _e('Gravity PDF', 'pdfextended'); ?></h2>
42
- <p><?php _e("Your web server isn't compatible with Gravity PDF. Please see the problem areas below.", 'pdfextended'); ?></p>
43
  <?php
44
  /*
45
  * Include the system status template
46
  */
47
  include PDF_PLUGIN_DIR . 'view/templates/settings/system-status.php';
48
 
49
- ?>
50
- </div>
51
- <div class="rightcolumn">
52
- <h2><?php _e("Can't Resolve the Issue?", 'pdfextended'); ?></h2>
53
- <p><?php echo sprintf(__("Does Gravity PDF detect a problem that your web host won't fix? %sWe recommend you move to a quality web hosting service like WP Engine%s which runs our software straight out of the box.", 'pdfextended'), '<a href="http://www.shareasale.com/r.cfm?u=955815&m=41388&b=394686">', '</a>'); ?></p>
54
- </div>
55
 
56
  <?php endif; ?>
38
 
39
  <?php else: ?>
40
  <div class="leftcolumn">
41
+ <h2><?php _e('Gravity Forms PDF Extended', 'pdfextended'); ?></h2>
42
+ <p><?php _e("Your web server isn't compatible with Gravity Forms PDF Extended. Please see the problem areas below.", 'pdfextended'); ?></p>
43
  <?php
44
  /*
45
  * Include the system status template
46
  */
47
  include PDF_PLUGIN_DIR . 'view/templates/settings/system-status.php';
48
 
49
+ ?>
50
+ </div>
 
 
 
 
51
 
52
  <?php endif; ?>
view/templates/settings/initialisation.php CHANGED
@@ -16,68 +16,35 @@
16
 
17
  ?>
18
 
19
- <h2><?php ($gfpdfe_data->is_initialised) ? _e('Welcome to Gravity PDF', 'pdfextended') : _e('Initialise Plugin', 'pdfextended'); ?></h2>
20
 
21
  <?php if($gfpdfe_data->is_initialised): ?>
22
-
23
- <p><?php _e('The plugin has successfully installed and is ready to start automating your documents.', 'pdfextended'); ?></p>
24
-
25
- <h3><?php _e("What's next?", 'pdfextended'); ?></h3>
26
- <p><?php _e('The next step is to correctly configured the plugin so that you can generate PDF documents.', 'pdfextended'); ?>
27
- <?php _e("To help you get started, we've put together a five-part video series with the most common plugin configurations.", 'pdfextended'); ?></p>
28
- <ol>
29
- <li><a href="https://developer.gravitypdf.com/documentation/basic-configuration-video-part-one/"><?php _e('The Basics: Only Download PDF through the Admin Area', 'pdfextended'); ?></a></li>
30
- <li><a href="https://developer.gravitypdf.com/documentation/how-to-automated-pdf-email-part-two/"><?php _e('The Email: Send Completed PDF via Email', 'pdfextended'); ?></a></li>
31
- <li><a href="https://developer.gravitypdf.com/documentation/how-to-allow-user-pdf-downloads-video-part-three/"><?php _e('The Download: User Downloads PDF after Submitting Form (using a link or auto redirecting)', 'pdfextended'); ?></a></li>
32
- <li><a href="https://developer.gravitypdf.com/documentation/how-to-manual-review-before-pdf-email-part-four/"><?php _e('The Email Advanced: Manually Review User Submission before Emailing PDF', 'pdfextended'); ?></a></li>
33
- <li><a href="https://developer.gravitypdf.com/documentation/send-pdf-after-accepting-payment-video-part-five/"><?php _e('The Payment: Send PDF after Capturing Payment using Paypal Standard', 'pdfextended'); ?></a></li>
34
- </ol>
35
-
36
- <p><?php echo sprintf(__('If you know little about PHP we recommend starting with %sPart 1:The Basics%s and then watching the tutorial you’re interested in. It will give you the foundational skills you need to configure the software.', 'pdfextended'), '<i>', '</i>'); ?></p>
37
-
38
- <h3><?php _e('Custom Templates', 'pdfextended'); ?></h3>
39
- <p><?php echo sprintf(__('Creating a custom template gives you ultimate control of the look and feel of your documents using only HTML and CSS. %sWe recommend you review our online documentation%s to create and customise your template files.', 'pdfextended'), '<a href="http://developer.gravitypdf.com/documentation/custom-templates-introduction/">', '</a>'); ?></p>
40
-
41
-
42
-
43
- <?php else: ?>
44
-
45
- <p><?php _e('To complete the installation, Gravity PDF needs to be initialised.', 'pdfextended'); ?>
46
-
47
- <p><strong><?php _e('What does initialisation do?', 'pdfextended'); ?></strong></p>
48
 
49
- <ol>
50
- <li><strong><?php _e('Install the template files', 'pdfextended'); ?></strong>: <?php _e("We create a folder called PDF_EXTENDED_TEMPLATE in your active theme directory and move over all the templates and configuration files. This folder is where you'll look to configure the software and create your PDF templates.", 'pdfextended'); ?></li>
 
 
 
 
51
  </ol>
52
-
53
-
54
  <?php endif; ?>
55
-
56
-
57
- <form method="post">
58
  <?php wp_nonce_field('gfpdf_deploy_nonce_action','gfpdf_deploy_nonce'); ?>
59
  <input type="hidden" name="gfpdf_deploy" value="1">
60
-
61
- <?php if($gfpdfe_data->is_initialised): ?>
62
- <h3><?php _e('Have a problem with the software?', 'pdfextended'); ?></h3>
63
- <p><?php echo __('Did you switch themes and something went wrong syncing the template folder? Try reinitialise the software.', 'pdfextended'); ?></p>
64
- <?php endif; ?>
65
-
66
- <input type="submit" value="<?php ($gfpdfe_data->is_initialised) ? _e('Reinitialise Plugin', 'pdfextended') : _e('Initialise Plugin', 'pdfextended'); ?>" class="button" id="upgrade" name="upgrade">
67
- <?php if($gfpdfe_data->is_initialised): ?>
68
- <label><input type="checkbox" value="1" name="overwrite"> <?php echo __('Reinstall Default and Example Templates', 'pdfextended'); ?> <?php gform_tooltip('pdf_overwrite'); ?></label>
69
- <br><br>
70
- <?php endif; ?>
71
-
72
-
73
- <?php if($gfpdfe_data->is_initialised): ?>
74
- <h3><?php _e('Install a new font?', 'pdfextended'); ?></h3>
75
- <p><?php echo sprintf(__('Do you want to use a custom font in your template? %sSee our documentation on how to correctly install and use a custom font%s before initialising below.', 'pdfextended'), '<a href="https://developer.gravitypdf.com/documentation/language-support/">', '</a>'); ?></p>
76
- <input type="submit" value="<?php _e('Initialise Fonts', 'pdfextended') ; ?>" class="button" id="font-initialise" name="font-initialise">
77
- <?php endif; ?>
78
-
79
-
80
 
81
-
82
  </form>
83
 
16
 
17
  ?>
18
 
19
+ <h2><?php ($gfpdfe_data->is_initialised) ? _e('Re-Initialise Plugin or Fonts', 'pdfextended') : _e('Initialise Plugin', 'pdfextended'); ?></h2>
20
 
21
  <?php if($gfpdfe_data->is_initialised): ?>
22
+ <p><?php _e('Is the plugin not working as it should? Try reinitialise and see if that helps. ', 'pdfextended'); ?></p>
23
+ <?php else: ?>
24
+ <p><?php _e('Before you can use Gravity Forms PDF Extended it needs to be initialised. Initialisation does a number of important things, including:', 'pdfextended'); ?></p>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
25
 
26
+ <ol>
27
+ <li><strong><?php _e('Fresh Installation', 'pdfextended'); ?></strong>: <?php _e('Copies all the required template and configuration files to a folder called PDF_EXTENDED_TEMPLATE in your active theme\'s directory.', 'pdfextended'); ?><br />
28
+ <strong><?php _e('Upgrading', 'pdfextended'); ?></strong>: <?php _e('Copies the latest default and example templates, as well as the template.css file to the PDF_EXTENDED_TEMPLATE folder.', 'pdfextended'); ?> <strong><?php _e('If you modified these files please back them up before re-initialising as they will be removed', 'pdfextneded'); ?></strong>.
29
+ </li>
30
+ <li><?php _e('Unzips the mPDF package', 'pdfextended'); ?></li>
31
+ <li><?php _e('Installs any fonts found in the PDF_EXTENDED_TEMPLATE/fonts/ folder', 'pdfexnteded'); ?></li>
32
  </ol>
 
 
33
  <?php endif; ?>
34
+ <form method="post">
 
 
35
  <?php wp_nonce_field('gfpdf_deploy_nonce_action','gfpdf_deploy_nonce'); ?>
36
  <input type="hidden" name="gfpdf_deploy" value="1">
37
+ <?php
38
+
39
+ /*
40
+ * Remove the cancel feature for the moment
41
+ *
42
+
43
+ if(get_option('gf_pdf_extended_deploy') == 'no') { ?>
44
+ <input type="submit" value="Cancel Deployment" class="button" id="cancelupgrade" name="cancel">
45
+ <?php } */ ?>
46
+ <input type="submit" value="<?php ($gfpdfe_data->is_initialised) ? _e('Re-Initialise Plugin', 'pdfextended') : _e('Initialise Plugin', 'pdfextended'); ?>" class="button" id="upgrade" name="upgrade">
 
 
 
 
 
 
 
 
 
 
47
 
48
+ <input type="submit" value="Initialise Fonts Only" class="button" id="font-initialise" name="font-initialise">
49
  </form>
50
 
view/templates/settings/support-form.php CHANGED
@@ -22,8 +22,8 @@
22
  $temp_timezone = date_default_timezone_get();
23
  date_default_timezone_set('Australia/Sydney');
24
  ?>
25
- <div class="pdf-notice"><p>
26
- <?php _e('Gravity PDF\'s support hours are from 9:00am-5:00pm Monday to Friday, Sydney Australia time.', 'pdfextended'); ?> <br />
27
  <strong>
28
  <?php printf(
29
  __('The current time in Sydney Australia is %s.', 'pdfextended'),
22
  $temp_timezone = date_default_timezone_get();
23
  date_default_timezone_set('Australia/Sydney');
24
  ?>
25
+ <div class="notice"><p>
26
+ <?php _e('Gravity Forms PDF Extended\'s support hours are from 9:00am-5:00pm Monday to Friday, Sydney Australia time.', 'pdfextended'); ?> <br />
27
  <strong>
28
  <?php printf(
29
  __('The current time in Sydney Australia is %s.', 'pdfextended'),
view/templates/settings/support-sidebar.php CHANGED
@@ -16,7 +16,15 @@
16
 
17
  ?>
18
 
19
- <h2><?php _e('Frequently Asked Questions', 'pdfextended'); ?></h2>
20
- <p><?php echo sprintf(__('See our %scomprehensive FAQ section%s for more information about Gravity PDF.', 'pdfextended'), '<a href="https://gravitypdf.com/#faqs">', '</a>'); ?></p>
 
 
 
 
 
 
 
 
21
 
22
- <p><?php echo sprintf( __('Got a question that isn\'t answered above? %sHead to our support forum%s and let us know.', 'pdfextended'), '<a href="https://support.gravitypdf.com/">', '</a>' ); ?></p>
16
 
17
  ?>
18
 
19
+
20
+ <h2><?php _e('Frequently Asked Questions', 'pdfextended'); ?></h2>
21
+ <ul>
22
+ <li><a href="http://gravityformspdfextended.com/faq/can-exclude-field-showing-pdf/"><?php _e('Can I exclude a field from showing up in the PDF?', 'pdfextended'); ?></a></li>
23
+ <li><a href="http://gravityformspdfextended.com/faq/i-want-to-have-multiple-pdf-template-files-how-do-i-do-it/"><?php _e('I want to have multiple PDF template files generated on one form. How do I do it?', 'pdfextended'); ?></a></li>
24
+ <li><a href="http://gravityformspdfextended.com/faq/i-want-users-to-be-able-to-download-the-pdf-from-the-server/"><?php _e('I want users to be able to download the PDF from the server.', 'pdfextended'); ?></a></li>
25
+ <li><a href="http://gravityformspdfextended.com/faq/how-do-i-change-the-pdf-size-or-create-a-landscape-pdf/"><?php _e('How do I change the PDF size or create a landscape PDF?', 'pdfextended'); ?></a></li>
26
+ <li><a href="http://gravityformspdfextended.com/faq/im-creating-a-custom-template-how-do-i-know-the-names-of-my-fields-in-the-form_data-array/"><?php _e('I am created a custom template. How do I know the names of my fields in the $form_data array?', 'pdfextended'); ?></a></li>
27
+ <li><a href="http://gravityformspdfextended.com/faq/how-large-a-pdf-are-you-able-to-createprocess/"><?php _e('How large a PDF are you able to create/process?', 'pdfextended'); ?></a></li>
28
+ </ul>
29
 
30
+ <p><?php printf( __('Got a question that isn\'t answered above? %1$sHead to our support forum%2$s and let us know.', 'pdfextended'), '<a href="http://gravityformspdfextended.com/support/gravity-forms-pdf-extended/">', '</a>' ); ?></p>
view/templates/settings/system-status.php CHANGED
@@ -19,7 +19,7 @@
19
  <h2><?php _e('System Status', 'pdfextended'); ?></h2>
20
 
21
  <div id="pdf-system-status">
22
- <p><label><?php _e('Wordpress Version', 'pdfextended'); ?>:</label> <strong><?php echo $gfpdfe_data->wp_version; ?></strong> <span class="<?php echo ($gfpdfe_data->wp_is_compatible === true) ? 'fa fa-check-circle' : 'fa fa-times-circle'; ?>"></span>
23
  <?php if($gfpdfe_data->wp_is_compatible === false): ?>
24
  <br />
25
  <span class="details"><?php _e('Wordpress Version '. GF_PDF_EXTENDED_WP_SUPPORTED_VERSION . ' is required to use this plugin.', 'pdfextended'); ?>
@@ -29,13 +29,13 @@
29
 
30
  <p><label><?php _e('Gravity Forms', 'pdfextended'); ?>:</label> <strong>
31
  <?php if($gfpdfe_data->gf_installed === false): ?>
32
- <?php _e('Not Installed', 'pdfextended'); ?></strong> <span class="fa fa-times-circle"></span>
33
  <br />
34
  <span class="details"><?php _e('Gravity Forms '. GF_PDF_EXTENDED_SUPPORTED_VERSION . ' is required to use this plugin. <a href="https://www.e-junkie.com/ecom/gb.php?cl=54585&c=ib&aff=235154" target="ejejcsingle">Upgrade today</a>.', 'pdfextended'); ?></span>
35
 
36
  <?php else:
37
  echo $gfpdfe_data->gf_version; ?> </strong>
38
- <span class="<?php echo ($gfpdfe_data->gf_is_compatible === true) ? 'fa fa-check-circle' : 'fa fa-times-circle'; ?>"></span>
39
  <?php if($gfpdfe_data->gf_is_compatible === false): ?>
40
  <br />
41
  <span class="details"><?php _e('Gravity Forms '. GF_PDF_EXTENDED_SUPPORTED_VERSION . ' is required to use this plugin. <a href="https://www.e-junkie.com/ecom/gb.php?cl=54585&c=ib&aff=235154" target="ejejcsingle">Upgrade today</a>.', 'pdfextended'); ?></span>
@@ -44,7 +44,7 @@
44
  </p>
45
 
46
 
47
- <p><label><?php _e('PHP Version', 'pdfextended'); ?>:</label> <strong><?php echo $gfpdfe_data->php_version; ?></strong> <span class="<?php echo ($gfpdfe_data->php_version_compatible === true) ? 'fa fa-check-circle' : 'fa fa-times-circle'; ?>"></span>
48
  <?php if($gfpdfe_data->php_version_compatible === false): ?>
49
  <br />
50
  <span class="details"><?php _e('PHP Version '. GF_PDF_EXTENDED_PHP_SUPPORTED_VERSION . ' is required to use this plugin.', 'pdfextended'); ?></span>
@@ -52,7 +52,7 @@
52
  </p>
53
 
54
  <p><label><?php _e('MB String', 'pdfextended'); ?>:</label> <strong><?php ($gfpdfe_data->mb_string_installed === true) ? _e('Yes', 'pdfextended') : _e('No', 'pdfextended'); ?></strong>
55
- <span class="<?php echo ($gfpdfe_data->mb_string_installed === true) ? 'fa fa-check-circle' : 'fa fa-times-circle'; ?>"></span>
56
  <?php if($gfpdfe_data->mb_string_installed === false): ?>
57
  <br />
58
  <span class="details"><?php _e('The PHP extension MB String and MB String Regex functions are required to use this plugin. Contact your web host to have it enabled.', 'pdfextended'); ?></span>
@@ -60,64 +60,57 @@
60
  </p>
61
 
62
  <p><label><?php _e('GD Library', 'pdfextended'); ?>:</label> <strong><?php ($gfpdfe_data->gd_installed === true) ? _e('Yes', 'pdfextended') : _e('No', 'pdfextended'); ?></strong>
63
- <span class="<?php echo ($gfpdfe_data->gd_installed === true) ? 'fa fa-check-circle' : 'fa fa-times-circle'; ?>"></span>
64
  <?php if($gfpdfe_data->gd_installed === false): ?>
65
  <br />
66
  <span class="details"><?php _e('The PHP extension GD Library is required to use this plugin. Contact your web host to have it enabled.', 'pdfextended'); ?></span>
67
  <?php endif; ?>
68
  </p>
69
 
70
- <?php
71
- $ram_icon = 'fa fa-check-circle';
72
- if($gfpdfe_data->ram_compatible === false)
73
- {
74
- $ram_icon = 'fa fa-exclamation-triangle';
75
- if($gfpdfe_data->ram_available < 64)
76
- {
77
- $ram_icon = 'fa fa-times-circle';
78
- }
79
- }
80
-
81
-
82
- ?>
83
-
84
- <p><label><?php _e('Available RAM', 'pdfextended'); ?>:</label> <strong><?php echo $gfpdfe_data->ram_available; ?>MB</strong> <span class="<?php echo $ram_icon; ?>"></span>
85
  <?php if($gfpdfe_data->ram_compatible === false): ?>
86
  <br />
87
- <span class="details"><?php echo sprintf(__('We recommend you have 128MB of available RAM to run this plugin. The minimum system requirement is 64MB. %sNot sure what this means? Contact your web host and ask them to fix the issue. %sNote: If you run less than 128MB, you risk PHP suffering a fatal error which will stop your website from running on Gravity Form pages.', 'pdfextended'), '<br />', '<br />'); ?></span>
88
  <?php endif; ?>
89
  </p>
90
 
91
 
92
- <?php if($gfpdfe_data->is_initialised === false): ?>
 
 
 
 
 
 
 
93
 
94
- <p><label><?php _e('Uploads Directory Writable?', 'pdfextended'); ?></label> <strong><?php ($gfpdfe_data->can_write_upload_dir === true) ? _e('Yes', 'pdfextended') : _e('No', 'pdfextended'); ?></strong> <span class="<?php echo ($gfpdfe_data->can_write_upload_dir === true) ? 'fa fa-check-circle' : 'fa fa-exclamation-triangle'; ?>"></span>
95
  <?php if($gfpdfe_data->can_write_theme_dir === false): ?>
96
  <br />
97
- <span class="details"><?php echo sprintf(__('Your upload folder is not writable by your web server. Check that "%s" is writable by your web server otherwise we will attempt to use the FTP installer to initialise.', 'pdfextended'), str_replace(ABSPATH, '', $gfpdfe_data->upload_dir) ); ?></span>
98
  <?php endif; ?>
99
  </p>
100
 
101
  <?php else: ?>
102
 
103
- <p><label><?php _e('PDF Output Directory Writable?', 'pdfextended'); ?></label> <strong><?php ($gfpdfe_data->can_write_output_dir === true) ? _e('Yes', 'pdfextended') : _e('No', 'pdfextended'); ?></strong> <span class="<?php echo ($gfpdfe_data->can_write_output_dir === true) ? 'fa fa-check-circle' : 'fa fa-times-circle'; ?>"></span>
104
  <?php if($gfpdfe_data->can_write_output_dir === false): ?>
105
  <br />
106
- <span class="details"><?php echo sprintf(__('The plugin\'s output folder is not writable by your web server. PDFs will not be attached to notifications until this problem is fixed. Check that "%s" is writable by your web server.', 'pdfextended'), str_replace(ABSPATH, '', $gfpdfe_data->template_location) ); ?></span>
107
  <?php endif; ?>
108
  </p>
109
 
110
- <p><label><?php _e('PDF Font Directory Writable?', 'pdfextended'); ?></label> <strong><?php ($gfpdfe_data->can_write_font_dir === true) ? _e('Yes', 'pdfextended') : _e('No', 'pdfextended'); ?></strong> <span class="<?php echo ($gfpdfe_data->can_write_font_dir === true) ? 'fa fa-check-circle' : 'fa fa-exclamation-triangle'; ?>"></span>
111
  <?php if($gfpdfe_data->can_write_font_dir === false): ?>
112
  <br />
113
- <span class="details"><?php echo sprintf(__('The plugin\'s font folder is not writable by your web server. Check that "%s" is writable by your web server otherwise we will attempt to use the FTP installer to initialise.', 'pdfextended'), str_replace(ABSPATH, '', $gfpdfe_data->template_font_location) ); ?></span>
114
  <?php endif; ?>
115
  </p>
116
 
117
- <p><label><?php _e('mPDF Temporary Directory Writable?', 'pdfextended'); ?></label> <strong><?php ($gfpdfe_data->can_write_pdf_temp_dir === true) ? _e('Yes', 'pdfextended') : _e('No', 'pdfextended'); ?></strong> <span class="<?php echo ($gfpdfe_data->can_write_pdf_temp_dir === true) ? 'fa fa-check-circle' : 'fa fa-exclamation-triangle'; ?>"></span>
118
  <?php if($gfpdfe_data->can_write_pdf_temp_dir === false): ?>
119
  <br />
120
- <span class="details"><?php echo sprintf(__('mPDF temporary directory not writable (%s). Memory and image processing time will increase.', 'pdfextended'), str_replace(ABSPATH, '', PDF_PLUGIN_DIR) . 'mPDF/tmp/'); ?></span>
121
  <?php endif; ?>
122
  </p>
123
 
19
  <h2><?php _e('System Status', 'pdfextended'); ?></h2>
20
 
21
  <div id="pdf-system-status">
22
+ <p><label><?php _e('Wordpress Version', 'pdfextended'); ?>:</label> <strong><?php echo $gfpdfe_data->wp_version; ?></strong><span class="<?php echo ($gfpdfe_data->wp_is_compatible === true) ? 'icon-ok-sign' : 'icon-remove-sign'; ?>"></span>
23
  <?php if($gfpdfe_data->wp_is_compatible === false): ?>
24
  <br />
25
  <span class="details"><?php _e('Wordpress Version '. GF_PDF_EXTENDED_WP_SUPPORTED_VERSION . ' is required to use this plugin.', 'pdfextended'); ?>
29
 
30
  <p><label><?php _e('Gravity Forms', 'pdfextended'); ?>:</label> <strong>
31
  <?php if($gfpdfe_data->gf_installed === false): ?>
32
+ <?php _e('Not Installed', 'pdfextended'); ?></strong> <span class="icon-remove-sign"></span>
33
  <br />
34
  <span class="details"><?php _e('Gravity Forms '. GF_PDF_EXTENDED_SUPPORTED_VERSION . ' is required to use this plugin. <a href="https://www.e-junkie.com/ecom/gb.php?cl=54585&c=ib&aff=235154" target="ejejcsingle">Upgrade today</a>.', 'pdfextended'); ?></span>
35
 
36
  <?php else:
37
  echo $gfpdfe_data->gf_version; ?> </strong>
38
+ <span class="<?php echo ($gfpdfe_data->gf_is_compatible === true) ? 'icon-ok-sign' : 'icon-remove-sign'; ?>"></span>
39
  <?php if($gfpdfe_data->gf_is_compatible === false): ?>
40
  <br />
41
  <span class="details"><?php _e('Gravity Forms '. GF_PDF_EXTENDED_SUPPORTED_VERSION . ' is required to use this plugin. <a href="https://www.e-junkie.com/ecom/gb.php?cl=54585&c=ib&aff=235154" target="ejejcsingle">Upgrade today</a>.', 'pdfextended'); ?></span>
44
  </p>
45
 
46
 
47
+ <p><label><?php _e('PHP Version', 'pdfextended'); ?>:</label> <strong><?php echo $gfpdfe_data->php_version; ?></strong><span class="<?php echo ($gfpdfe_data->php_version_compatible === true) ? 'icon-ok-sign' : 'icon-remove-sign'; ?>"></span>
48
  <?php if($gfpdfe_data->php_version_compatible === false): ?>
49
  <br />
50
  <span class="details"><?php _e('PHP Version '. GF_PDF_EXTENDED_PHP_SUPPORTED_VERSION . ' is required to use this plugin.', 'pdfextended'); ?></span>
52
  </p>
53
 
54
  <p><label><?php _e('MB String', 'pdfextended'); ?>:</label> <strong><?php ($gfpdfe_data->mb_string_installed === true) ? _e('Yes', 'pdfextended') : _e('No', 'pdfextended'); ?></strong>
55
+ <span class="<?php echo ($gfpdfe_data->mb_string_installed === true) ? 'icon-ok-sign' : 'icon-remove-sign'; ?>"></span>
56
  <?php if($gfpdfe_data->mb_string_installed === false): ?>
57
  <br />
58
  <span class="details"><?php _e('The PHP extension MB String and MB String Regex functions are required to use this plugin. Contact your web host to have it enabled.', 'pdfextended'); ?></span>
60
  </p>
61
 
62
  <p><label><?php _e('GD Library', 'pdfextended'); ?>:</label> <strong><?php ($gfpdfe_data->gd_installed === true) ? _e('Yes', 'pdfextended') : _e('No', 'pdfextended'); ?></strong>
63
+ <span class="<?php echo ($gfpdfe_data->gd_installed === true) ? 'icon-ok-sign' : 'icon-remove-sign'; ?>"></span>
64
  <?php if($gfpdfe_data->gd_installed === false): ?>
65
  <br />
66
  <span class="details"><?php _e('The PHP extension GD Library is required to use this plugin. Contact your web host to have it enabled.', 'pdfextended'); ?></span>
67
  <?php endif; ?>
68
  </p>
69
 
70
+ <p><label><?php _e('Available RAM', 'pdfextended'); ?>:</label> <strong><?php echo $gfpdfe_data->ram_available; ?>MB</strong><span class="<?php echo ($gfpdfe_data->ram_compatible === true) ? 'icon-ok-sign' : 'icon-warning-sign'; ?>"></span>
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71
  <?php if($gfpdfe_data->ram_compatible === false): ?>
72
  <br />
73
+ <span class="details"><?php _e('We recommend you have 128MB of available RAM to run this plugin. <br />Note: If you chose to continue, you risk PHP suffering a fatal error which will stop your website from running.', 'pdfextended'); ?></span>
74
  <?php endif; ?>
75
  </p>
76
 
77
 
78
+ <?php if($gfpdfe_data->is_initialised === false): ?>
79
+
80
+ <p><label><?php _e('Plugin Directory Writable?', 'pdfextended'); ?></label> <strong><?php ($gfpdfe_data->can_write_plugin_dir === true) ? _e('Yes', 'pdfextended') : _e('No', 'pdfextended'); ?></strong><span class="<?php echo ($gfpdfe_data->can_write_plugin_dir === true) ? 'icon-ok-sign' : 'icon-warning-sign'; ?>"></span>
81
+ <?php if($gfpdfe_data->can_write_plugin_dir === false): ?>
82
+ <br />
83
+ <span class="details"><?php _e('The plugin folder is not writable by your web server. Check the directory "'. str_replace(ABSPATH, '', PDF_PLUGIN_DIR) .'" is writable by your web server otherwise we will attempt to use the FTP installer to initialise.', 'pdfextended'); ?></span>
84
+ <?php endif; ?>
85
+ </p>
86
 
87
+ <p><label><?php _e('Theme Directory Writable?', 'pdfextended'); ?></label> <strong><?php ($gfpdfe_data->can_write_theme_dir === true) ? _e('Yes', 'pdfextended') : _e('No', 'pdfextended'); ?></strong><span class="<?php echo ($gfpdfe_data->can_write_theme_dir === true) ? 'icon-ok-sign' : 'icon-warning-sign'; ?>"></span>
88
  <?php if($gfpdfe_data->can_write_theme_dir === false): ?>
89
  <br />
90
+ <span class="details"><?php _e('Your active theme folder is not writable by your web server. Check that "'. str_replace(ABSPATH, '', get_stylesheet_directory()) .'" is writable by your web server otherwise we will attempt to use the FTP installer to initialise.', 'pdfextended'); ?></span>
91
  <?php endif; ?>
92
  </p>
93
 
94
  <?php else: ?>
95
 
96
+ <p><label><?php _e('PDF Output Directory Writable?', 'pdfextended'); ?></label> <strong><?php ($gfpdfe_data->can_write_output_dir === true) ? _e('Yes', 'pdfextended') : _e('No', 'pdfextended'); ?></strong><span class="<?php echo ($gfpdfe_data->can_write_output_dir === true) ? 'icon-ok-sign' : 'icon-remove-sign'; ?>"></span>
97
  <?php if($gfpdfe_data->can_write_output_dir === false): ?>
98
  <br />
99
+ <span class="details"><?php _e('The plugin\'s output folder is not writable by your web server. PDFs will not be attached to notifications until this problem is fixed. Check that "'. str_replace(ABSPATH, '', PDF_SAVE_LOCATION) .'" is writable by your web server.', 'pdfextended'); ?></span>
100
  <?php endif; ?>
101
  </p>
102
 
103
+ <p><label><?php _e('PDF Font Directory Writable?', 'pdfextended'); ?></label> <strong><?php ($gfpdfe_data->can_write_font_dir === true) ? _e('Yes', 'pdfextended') : _e('No', 'pdfextended'); ?></strong><span class="<?php echo ($gfpdfe_data->can_write_font_dir === true) ? 'icon-ok-sign' : 'icon-warning-sign'; ?>"></span>
104
  <?php if($gfpdfe_data->can_write_font_dir === false): ?>
105
  <br />
106
+ <span class="details"><?php _e('The plugin\'s font folder is not writable by your web server. Check that "'. str_replace(ABSPATH, '', PDF_FONT_LOCATION) .'" is writable by your web server otherwise we will attempt to use the FTP installer to initialise.', 'pdfextended'); ?></span>
107
  <?php endif; ?>
108
  </p>
109
 
110
+ <p><label><?php _e('mPDF Temporary Directory Writable?', 'pdfextended'); ?></label> <strong><?php ($gfpdfe_data->can_write_pdf_temp_dir === true) ? _e('Yes', 'pdfextended') : _e('No', 'pdfextended'); ?></strong><span class="<?php echo ($gfpdfe_data->can_write_pdf_temp_dir === true) ? 'icon-ok-sign' : 'icon-warning-sign'; ?>"></span>
111
  <?php if($gfpdfe_data->can_write_pdf_temp_dir === false): ?>
112
  <br />
113
+ <span class="details"><?php _e('mPDF temporary directory not writable (mPDF/tmp/). Memory and image processing time will increase.', 'pdfextended'); ?></span>
114
  <?php endif; ?>
115
  </p>
116