Browse Source

Latest updates from Amine (7/8/2016)

master
Mahmoud Al-Qudsi 3 years ago
parent
commit
b765c8a93d
100 changed files with 14327 additions and 14174 deletions
  1. 1
    1
      bootstrap.php
  2. 230
    230
      css/grid.css
  3. 3
    1
      inc/editor.php
  4. 8
    2
      inc/mail.php
  5. 5
    0
      inc/mail_templates/admin_submition.html
  6. 8
    6
      js/approve.js
  7. 1512
    1512
      js/jquery.validate.js
  8. 5
    0
      vendor/caxy/php-htmldiff/.gitignore
  9. 133
    0
      vendor/caxy/php-htmldiff/.scrutinizer.yml
  10. 145
    145
      vendor/caxy/php-htmldiff/CHANGELOG.md
  11. 74
    74
      vendor/caxy/php-htmldiff/CODE_OF_CONDUCT.md
  12. 33
    33
      vendor/caxy/php-htmldiff/CONTRIBUTING.md
  13. 130
    130
      vendor/caxy/php-htmldiff/LICENSE
  14. 201
    201
      vendor/caxy/php-htmldiff/README.md
  15. 43
    43
      vendor/caxy/php-htmldiff/composer.json
  16. 1
    1
      vendor/caxy/php-htmldiff/demo/README.md
  17. 16
    16
      vendor/caxy/php-htmldiff/demo/bower.json
  18. 276
    276
      vendor/caxy/php-htmldiff/demo/codes.css
  19. 212
    212
      vendor/caxy/php-htmldiff/demo/demo.controller.js
  20. 246
    246
      vendor/caxy/php-htmldiff/demo/demo.html
  21. 9
    9
      vendor/caxy/php-htmldiff/demo/demo.module.js
  22. 56
    56
      vendor/caxy/php-htmldiff/demo/index.php
  23. 22
    22
      vendor/caxy/php-htmldiff/demo/load_table_diff.php
  24. 46
    46
      vendor/caxy/php-htmldiff/demo/save_demo.php
  25. 116
    116
      vendor/caxy/php-htmldiff/doc/differences.rst
  26. 490
    490
      vendor/caxy/php-htmldiff/lib/Caxy/HtmlDiff/AbstractDiff.php
  27. 112
    112
      vendor/caxy/php-htmldiff/lib/Caxy/HtmlDiff/DiffCache.php
  28. 795
    795
      vendor/caxy/php-htmldiff/lib/Caxy/HtmlDiff/HtmlDiff.php
  29. 488
    488
      vendor/caxy/php-htmldiff/lib/Caxy/HtmlDiff/HtmlDiffConfig.php
  30. 944
    944
      vendor/caxy/php-htmldiff/lib/Caxy/HtmlDiff/ListDiff.php
  31. 101
    101
      vendor/caxy/php-htmldiff/lib/Caxy/HtmlDiff/ListDiff/DiffList.php
  32. 123
    123
      vendor/caxy/php-htmldiff/lib/Caxy/HtmlDiff/ListDiff/DiffListItem.php
  33. 280
    280
      vendor/caxy/php-htmldiff/lib/Caxy/HtmlDiff/ListDiffNew.php
  34. 27
    27
      vendor/caxy/php-htmldiff/lib/Caxy/HtmlDiff/Match.php
  35. 21
    21
      vendor/caxy/php-htmldiff/lib/Caxy/HtmlDiff/Operation.php
  36. 94
    94
      vendor/caxy/php-htmldiff/lib/Caxy/HtmlDiff/Table/AbstractTableElement.php
  37. 268
    268
      vendor/caxy/php-htmldiff/lib/Caxy/HtmlDiff/Table/DiffRowPosition.php
  38. 133
    133
      vendor/caxy/php-htmldiff/lib/Caxy/HtmlDiff/Table/RowMatch.php
  39. 161
    161
      vendor/caxy/php-htmldiff/lib/Caxy/HtmlDiff/Table/Table.php
  40. 55
    55
      vendor/caxy/php-htmldiff/lib/Caxy/HtmlDiff/Table/TableCell.php
  41. 921
    921
      vendor/caxy/php-htmldiff/lib/Caxy/HtmlDiff/Table/TableDiff.php
  42. 75
    75
      vendor/caxy/php-htmldiff/lib/Caxy/HtmlDiff/Table/TableMatch.php
  43. 70
    70
      vendor/caxy/php-htmldiff/lib/Caxy/HtmlDiff/Table/TablePosition.php
  44. 106
    106
      vendor/caxy/php-htmldiff/lib/Caxy/HtmlDiff/Table/TableRow.php
  45. 26
    26
      vendor/caxy/php-htmldiff/phpunit.xml.dist
  46. 40
    40
      vendor/caxy/php-htmldiff/tests/Caxy/Tests/HtmlDiff/Functional/HtmlDiffFunctionalTest.php
  47. 103
    103
      vendor/caxy/php-htmldiff/tests/Caxy/Tests/HtmlDiff/HtmlFileIterator.php
  48. 14
    14
      vendor/caxy/php-htmldiff/tests/Caxy/Tests/TestInit.php
  49. 13
    13
      vendor/caxy/php-htmldiff/tests/fixtures/HtmlDiff/ICC-5136.html
  50. 38
    38
      vendor/caxy/php-htmldiff/tests/fixtures/HtmlDiff/first-and-last.html
  51. 15
    15
      vendor/caxy/php-htmldiff/tests/fixtures/HtmlDiff/issue-28-link-changes.html
  52. 20
    20
      vendor/caxy/php-htmldiff/tests/fixtures/HtmlDiff/new-paragraph-and-list.html
  53. 18
    18
      vendor/caxy/php-htmldiff/tests/fixtures/HtmlDiff/override-2.html
  54. 28
    28
      vendor/caxy/php-htmldiff/tests/fixtures/HtmlDiff/override-3.html
  55. 28
    28
      vendor/caxy/php-htmldiff/tests/fixtures/HtmlDiff/override-4.html
  56. 31
    31
      vendor/caxy/php-htmldiff/tests/fixtures/HtmlDiff/override-5.html
  57. 42
    42
      vendor/caxy/php-htmldiff/tests/fixtures/HtmlDiff/override-6.html
  58. 11
    11
      vendor/caxy/php-htmldiff/tests/fixtures/HtmlDiff/override-8.html
  59. 11
    11
      vendor/caxy/php-htmldiff/tests/fixtures/HtmlDiff/override-9.html
  60. 9
    9
      vendor/ezyang/htmlpurifier/CREDITS
  61. 374
    374
      vendor/ezyang/htmlpurifier/INSTALL
  62. 60
    60
      vendor/ezyang/htmlpurifier/INSTALL.fr.utf8
  63. 504
    504
      vendor/ezyang/htmlpurifier/LICENSE
  64. 1094
    1094
      vendor/ezyang/htmlpurifier/NEWS
  65. 24
    24
      vendor/ezyang/htmlpurifier/README
  66. 150
    150
      vendor/ezyang/htmlpurifier/TODO
  67. 4
    4
      vendor/ezyang/htmlpurifier/WHATSNEW
  68. 20
    20
      vendor/ezyang/htmlpurifier/WYSIWYG
  69. 22
    22
      vendor/ezyang/htmlpurifier/composer.json
  70. 91
    91
      vendor/ezyang/htmlpurifier/extras/ConfigDoc/HTMLXSLTProcessor.php
  71. 164
    164
      vendor/ezyang/htmlpurifier/extras/FSTools.php
  72. 141
    141
      vendor/ezyang/htmlpurifier/extras/FSTools/File.php
  73. 11
    11
      vendor/ezyang/htmlpurifier/extras/HTMLPurifierExtras.auto.php
  74. 26
    26
      vendor/ezyang/htmlpurifier/extras/HTMLPurifierExtras.autoload.php
  75. 31
    31
      vendor/ezyang/htmlpurifier/extras/HTMLPurifierExtras.php
  76. 32
    32
      vendor/ezyang/htmlpurifier/extras/README
  77. 11
    11
      vendor/ezyang/htmlpurifier/library/HTMLPurifier.auto.php
  78. 27
    27
      vendor/ezyang/htmlpurifier/library/HTMLPurifier.autoload.php
  79. 4
    4
      vendor/ezyang/htmlpurifier/library/HTMLPurifier.composer.php
  80. 25
    25
      vendor/ezyang/htmlpurifier/library/HTMLPurifier.func.php
  81. 229
    229
      vendor/ezyang/htmlpurifier/library/HTMLPurifier.includes.php
  82. 30
    30
      vendor/ezyang/htmlpurifier/library/HTMLPurifier.kses.php
  83. 11
    11
      vendor/ezyang/htmlpurifier/library/HTMLPurifier.path.php
  84. 292
    292
      vendor/ezyang/htmlpurifier/library/HTMLPurifier.php
  85. 223
    223
      vendor/ezyang/htmlpurifier/library/HTMLPurifier.safe-includes.php
  86. 71
    71
      vendor/ezyang/htmlpurifier/library/HTMLPurifier/Arborize.php
  87. 143
    143
      vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrCollections.php
  88. 138
    138
      vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef.php
  89. 106
    106
      vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS.php
  90. 34
    34
      vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/AlphaValue.php
  91. 111
    111
      vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/Background.php
  92. 157
    157
      vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/BackgroundPosition.php
  93. 56
    56
      vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/Border.php
  94. 105
    105
      vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/Color.php
  95. 48
    48
      vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/Composite.php
  96. 44
    44
      vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/DenyElementDecorator.php
  97. 77
    77
      vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/Filter.php
  98. 176
    176
      vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/Font.php
  99. 219
    219
      vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/FontFamily.php
  100. 0
    0
      vendor/ezyang/htmlpurifier/library/HTMLPurifier/AttrDef/CSS/Ident.php

+ 1
- 1
bootstrap.php View File

@@ -3,7 +3,7 @@
3 3
 Plugin Name: Visitors contributions
4 4
 Plugin URI: http://codecanyon.net/user/Leavy
5 5
 Description: A wordpress plugin that gives your visitors the possiblity to develop your website content by submiting new versions to your articles.
6
-Version: 1.07
6
+Version: 1.11
7 7
 Author: Leavy
8 8
 Author URI: http://codecanyon.net/user/Leavy
9 9
 */

+ 230
- 230
css/grid.css View File

@@ -1,230 +1,230 @@
1
-/* line 2, style.scss */
2
-* {
3
-  -webkit-box-sizing: border-box;
4
-  -moz-box-sizing: border-box;
5
-  box-sizing: border-box;
6
-}
7
-
8
-/* line 3, style.scss */
9
-body {
10
-  margin: 0;
11
-  padding: 0;
12
-  font-family: sans-serif;
13
-}
14
-
15
-/* line 6, _grid.scss */
16
-.col-1, .col-m-1, .col-l-1, .col-2, .col-m-2, .col-l-2, .col-3, .col-m-3, .col-l-3, .col-4, .col-m-4, .col-l-4, .col-5, .col-m-5, .col-l-5, .col-6, .col-m-6, .col-l-6, .col-7, .col-m-7, .col-l-7, .col-8, .col-m-8, .col-l-8, .col-9, .col-m-9, .col-l-9, .col-10, .col-m-10, .col-l-10, .col-11, .col-m-11, .col-l-11, .col-12, .col-m-12, .col-l-12 {
17
-  float: right;
18
-  position: relative;
19
-  min-height: 1px;
20
-  padding: 0 10px;
21
-  /*border: 1px solid rgba(255, 0, 0, 0.5);*/
22
-}
23
-
24
-/* line 16, _grid.scss */
25
-.col-1 {
26
-  width: 8.33333%;
27
-}
28
-
29
-/* line 16, _grid.scss */
30
-.col-2 {
31
-  width: 16.66667%;
32
-}
33
-
34
-/* line 16, _grid.scss */
35
-.col-3 {
36
-  width: 25%;
37
-}
38
-
39
-/* line 16, _grid.scss */
40
-.col-4 {
41
-  width: 33.33333%;
42
-}
43
-
44
-/* line 16, _grid.scss */
45
-.col-5 {
46
-  width: 41.66667%;
47
-}
48
-
49
-/* line 16, _grid.scss */
50
-.col-6 {
51
-  width: 50%;
52
-}
53
-
54
-/* line 16, _grid.scss */
55
-.col-7 {
56
-  width: 58.33333%;
57
-}
58
-
59
-/* line 16, _grid.scss */
60
-.col-8 {
61
-  width: 66.66667%;
62
-}
63
-
64
-/* line 16, _grid.scss */
65
-.col-9 {
66
-  width: 75%;
67
-}
68
-
69
-/* line 16, _grid.scss */
70
-.col-10 {
71
-  width: 83.33333%;
72
-}
73
-
74
-/* line 16, _grid.scss */
75
-.col-11 {
76
-  width: 91.66667%;
77
-}
78
-
79
-/* line 16, _grid.scss */
80
-.col-12 {
81
-  width: 100%;
82
-}
83
-
84
-/* line 23, _grid.scss */
85
-.row {
86
-  margin: 0 -10px;
87
-  overflow: hidden;
88
-  *zoom: 1;
89
-}
90
-
91
-/* line 27, _grid.scss */
92
-.col-center {
93
-  margin: 0 auto;
94
-  float: none;
95
-}
96
-
97
-@media only screen and (min-width: 640px) {
98
-  /* line 30, _grid.scss */
99
-  .col-m-center {
100
-    margin: 0 auto;
101
-    float: none;
102
-  }
103
-
104
-  /* line 32, _grid.scss */
105
-  .col-m-1 {
106
-    width: 8.33333%;
107
-  }
108
-
109
-  /* line 32, _grid.scss */
110
-  .col-m-2 {
111
-    width: 16.66667%;
112
-  }
113
-
114
-  /* line 32, _grid.scss */
115
-  .col-m-3 {
116
-    width: 25%;
117
-  }
118
-
119
-  /* line 32, _grid.scss */
120
-  .col-m-4 {
121
-    width: 33.33333%;
122
-  }
123
-
124
-  /* line 32, _grid.scss */
125
-  .col-m-5 {
126
-    width: 41.66667%;
127
-  }
128
-
129
-  /* line 32, _grid.scss */
130
-  .col-m-6 {
131
-    width: 50%;
132
-  }
133
-
134
-  /* line 32, _grid.scss */
135
-  .col-m-7 {
136
-    width: 58.33333%;
137
-  }
138
-
139
-  /* line 32, _grid.scss */
140
-  .col-m-8 {
141
-    width: 66.66667%;
142
-  }
143
-
144
-  /* line 32, _grid.scss */
145
-  .col-m-9 {
146
-    width: 75%;
147
-  }
148
-
149
-  /* line 32, _grid.scss */
150
-  .col-m-10 {
151
-    width: 83.33333%;
152
-  }
153
-
154
-  /* line 32, _grid.scss */
155
-  .col-m-11 {
156
-    width: 91.66667%;
157
-  }
158
-
159
-  /* line 32, _grid.scss */
160
-  .col-m-12 {
161
-    width: 100%;
162
-  }
163
-}
164
-@media only screen and (min-width: 1024px) {
165
-  /* line 39, _grid.scss */
166
-  .col-l-center {
167
-    margin: 0 auto;
168
-    float: none;
169
-  }
170
-
171
-  /* line 41, _grid.scss */
172
-  .col-l-1 {
173
-    width: 8.33333%;
174
-  }
175
-
176
-  /* line 41, _grid.scss */
177
-  .col-l-2 {
178
-    width: 16.66667%;
179
-  }
180
-
181
-  /* line 41, _grid.scss */
182
-  .col-l-3 {
183
-    width: 25%;
184
-  }
185
-
186
-  /* line 41, _grid.scss */
187
-  .col-l-4 {
188
-    width: 33.33333%;
189
-  }
190
-
191
-  /* line 41, _grid.scss */
192
-  .col-l-5 {
193
-    width: 41.66667%;
194
-  }
195
-
196
-  /* line 41, _grid.scss */
197
-  .col-l-6 {
198
-    width: 50%;
199
-  }
200
-
201
-  /* line 41, _grid.scss */
202
-  .col-l-7 {
203
-    width: 58.33333%;
204
-  }
205
-
206
-  /* line 41, _grid.scss */
207
-  .col-l-8 {
208
-    width: 66.66667%;
209
-  }
210
-
211
-  /* line 41, _grid.scss */
212
-  .col-l-9 {
213
-    width: 75%;
214
-  }
215
-
216
-  /* line 41, _grid.scss */
217
-  .col-l-10 {
218
-    width: 83.33333%;
219
-  }
220
-
221
-  /* line 41, _grid.scss */
222
-  .col-l-11 {
223
-    width: 91.66667%;
224
-  }
225
-
226
-  /* line 41, _grid.scss */
227
-  .col-l-12 {
228
-    width: 100%;
229
-  }
230
-}
1
+/* line 2, style.scss */
2
+* {
3
+  -webkit-box-sizing: border-box;
4
+  -moz-box-sizing: border-box;
5
+  box-sizing: border-box;
6
+}
7
+
8
+/* line 3, style.scss */
9
+body {
10
+  margin: 0;
11
+  padding: 0;
12
+  font-family: sans-serif;
13
+}
14
+
15
+/* line 6, _grid.scss */
16
+.col-1, .col-m-1, .col-l-1, .col-2, .col-m-2, .col-l-2, .col-3, .col-m-3, .col-l-3, .col-4, .col-m-4, .col-l-4, .col-5, .col-m-5, .col-l-5, .col-6, .col-m-6, .col-l-6, .col-7, .col-m-7, .col-l-7, .col-8, .col-m-8, .col-l-8, .col-9, .col-m-9, .col-l-9, .col-10, .col-m-10, .col-l-10, .col-11, .col-m-11, .col-l-11, .col-12, .col-m-12, .col-l-12 {
17
+  float: right;
18
+  position: relative;
19
+  min-height: 1px;
20
+  padding: 0 10px;
21
+  /*border: 1px solid rgba(255, 0, 0, 0.5);*/
22
+}
23
+
24
+/* line 16, _grid.scss */
25
+.col-1 {
26
+  width: 8.33333%;
27
+}
28
+
29
+/* line 16, _grid.scss */
30
+.col-2 {
31
+  width: 16.66667%;
32
+}
33
+
34
+/* line 16, _grid.scss */
35
+.col-3 {
36
+  width: 25%;
37
+}
38
+
39
+/* line 16, _grid.scss */
40
+.col-4 {
41
+  width: 33.33333%;
42
+}
43
+
44
+/* line 16, _grid.scss */
45
+.col-5 {
46
+  width: 41.66667%;
47
+}
48
+
49
+/* line 16, _grid.scss */
50
+.col-6 {
51
+  width: 50%;
52
+}
53
+
54
+/* line 16, _grid.scss */
55
+.col-7 {
56
+  width: 58.33333%;
57
+}
58
+
59
+/* line 16, _grid.scss */
60
+.col-8 {
61
+  width: 66.66667%;
62
+}
63
+
64
+/* line 16, _grid.scss */
65
+.col-9 {
66
+  width: 75%;
67
+}
68
+
69
+/* line 16, _grid.scss */
70
+.col-10 {
71
+  width: 83.33333%;
72
+}
73
+
74
+/* line 16, _grid.scss */
75
+.col-11 {
76
+  width: 91.66667%;
77
+}
78
+
79
+/* line 16, _grid.scss */
80
+.col-12 {
81
+  width: 100%;
82
+}
83
+
84
+/* line 23, _grid.scss */
85
+.row {
86
+  margin: 0 -10px;
87
+  overflow: hidden;
88
+  *zoom: 1;
89
+}
90
+
91
+/* line 27, _grid.scss */
92
+.col-center {
93
+  margin: 0 auto;
94
+  float: none;
95
+}
96
+
97
+@media only screen and (min-width: 640px) {
98
+  /* line 30, _grid.scss */
99
+  .col-m-center {
100
+    margin: 0 auto;
101
+    float: none;
102
+  }
103
+
104
+  /* line 32, _grid.scss */
105
+  .col-m-1 {
106
+    width: 8.33333%;
107
+  }
108
+
109
+  /* line 32, _grid.scss */
110
+  .col-m-2 {
111
+    width: 16.66667%;
112
+  }
113
+
114
+  /* line 32, _grid.scss */
115
+  .col-m-3 {
116
+    width: 25%;
117
+  }
118
+
119
+  /* line 32, _grid.scss */
120
+  .col-m-4 {
121
+    width: 33.33333%;
122
+  }
123
+
124
+  /* line 32, _grid.scss */
125
+  .col-m-5 {
126
+    width: 41.66667%;
127
+  }
128
+
129
+  /* line 32, _grid.scss */
130
+  .col-m-6 {
131
+    width: 50%;
132
+  }
133
+
134
+  /* line 32, _grid.scss */
135
+  .col-m-7 {
136
+    width: 58.33333%;
137
+  }
138
+
139
+  /* line 32, _grid.scss */
140
+  .col-m-8 {
141
+    width: 66.66667%;
142
+  }
143
+
144
+  /* line 32, _grid.scss */
145
+  .col-m-9 {
146
+    width: 75%;
147
+  }
148
+
149
+  /* line 32, _grid.scss */
150
+  .col-m-10 {
151
+    width: 83.33333%;
152
+  }
153
+
154
+  /* line 32, _grid.scss */
155
+  .col-m-11 {
156
+    width: 91.66667%;
157
+  }
158
+
159
+  /* line 32, _grid.scss */
160
+  .col-m-12 {
161
+    width: 100%;
162
+  }
163
+}
164
+@media only screen and (min-width: 1024px) {
165
+  /* line 39, _grid.scss */
166
+  .col-l-center {
167
+    margin: 0 auto;
168
+    float: none;
169
+  }
170
+
171
+  /* line 41, _grid.scss */
172
+  .col-l-1 {
173
+    width: 8.33333%;
174
+  }
175
+
176
+  /* line 41, _grid.scss */
177
+  .col-l-2 {
178
+    width: 16.66667%;
179
+  }
180
+
181
+  /* line 41, _grid.scss */
182
+  .col-l-3 {
183
+    width: 25%;
184
+  }
185
+
186
+  /* line 41, _grid.scss */
187
+  .col-l-4 {
188
+    width: 33.33333%;
189
+  }
190
+
191
+  /* line 41, _grid.scss */
192
+  .col-l-5 {
193
+    width: 41.66667%;
194
+  }
195
+
196
+  /* line 41, _grid.scss */
197
+  .col-l-6 {
198
+    width: 50%;
199
+  }
200
+
201
+  /* line 41, _grid.scss */
202
+  .col-l-7 {
203
+    width: 58.33333%;
204
+  }
205
+
206
+  /* line 41, _grid.scss */
207
+  .col-l-8 {
208
+    width: 66.66667%;
209
+  }
210
+
211
+  /* line 41, _grid.scss */
212
+  .col-l-9 {
213
+    width: 75%;
214
+  }
215
+
216
+  /* line 41, _grid.scss */
217
+  .col-l-10 {
218
+    width: 83.33333%;
219
+  }
220
+
221
+  /* line 41, _grid.scss */
222
+  .col-l-11 {
223
+    width: 91.66667%;
224
+  }
225
+
226
+  /* line 41, _grid.scss */
227
+  .col-l-12 {
228
+    width: 100%;
229
+  }
230
+}

+ 3
- 1
inc/editor.php View File

@@ -32,12 +32,14 @@ if(!empty($_POST)){
32 32
 			"visitor_notif_message"=>"Your suggestion was submitted.",
33 33
 			"admin_notif_message"=>"A new suggestion was submitted."
34 34
 		]);
35
+
35 36
 		$mail = [
36 37
 			"post_title"=>$post->post_title,
37 38
 			"post_url"=>get_permalink($post_id),
38 39
 			"visitor_name"=>$visitor_name,
40
+			"visitor_comment"=>$visitor_comment,
39 41
 			"visitor_email"=>$visitor_email,
40
-			"edit_time"=>date('H:i')." - ".date('d/m/y'),
42
+			"edit_time"=>date('m/d/Y')." at ".date('h:i a'),
41 43
 			"blog_title" => get_bloginfo("name"),
42 44
 			"visitor_notif_message"=>$options["visitor_notif_message"],
43 45
 			"admin_notif_message"=>$options["admin_notif_message"]

+ 8
- 2
inc/mail.php View File

@@ -14,8 +14,14 @@ class visitors_edits_EMAIL{
14 14
 			"notify_admin"=>null
15 15
 		]);
16 16
 
17
-		$headers = "Content-Type: text/html; charset=UTF-8\r\n";
18
-		wp_mail($destination, $this->subject, $this->body, $headers);
17
+		$headers= "MIME-Version: 1.0\r\n";
18
+		$headers .= "Content-Type: text/html; charset=UTF-8\r\n";
19
+
20
+		wp_mail($destination, $this->subject, $this->body,$headers);
21
+		/*
22
+		subject : $this->subject
23
+		body : $this->body
24
+		*/
19 25
 	}
20 26
 	private function loadTemplate($template){
21 27
 		ob_start();

+ 5
- 0
inc/mail_templates/admin_submition.html View File

@@ -64,6 +64,11 @@
64 64
 									Author : #visitor_name# (#visitor_email#)
65 65
 								</td>
66 66
 							</tr>
67
+							<tr>
68
+								<td align="center "style="font-family:'Questrial',Helvetica,sans-serif; text-align:center;color:#262626;mso-line-height-rule:exactly;line-height:28px">
69
+									Summary : #visitor_comment#
70
+								</td>
71
+							</tr>
67 72
 							<tr><td height="30" style="font-size:30px; line-height:30px">&nbsp;</td></tr>
68 73
 							<tr>
69 74
 								<td align="center "style="font-family:'Questrial',Helvetica,sans-serif; text-align:center;color:#262626;mso-line-height-rule:exactly;line-height:28px">

+ 8
- 6
js/approve.js View File

@@ -1,16 +1,13 @@
1 1
 visitors_edits_tools={
2 2
     data:{},
3
-    clearTag:function(content,tag){
4
-        var regexp=RegExp("<"+tag+">.*?<\/"+tag+">", "gi");
5
-        var editedContent=content.replace(regexp,"");
6
-        return editedContent;
7
-    },
8 3
     clearTag:function(content,tag){
9 4
         var $contentDiv=jQuery("<div/>").html(content);
10 5
         $contentDiv.find(tag).each(function(){
11 6
             $tag=jQuery(this);
12 7
             $tag.remove();
13 8
         });
9
+        if($contentDiv.find(tag).length>0)
10
+            return visitors_edits_tools.clearTag($contentDiv.html(),tag);
14 11
         return $contentDiv.html();
15 12
     },
16 13
     clearTagName:function(content,tag){
@@ -19,6 +16,8 @@ visitors_edits_tools={
19 16
             $tag=jQuery(this);
20 17
             $tag.replaceWith($tag.html());
21 18
         });
19
+        if($contentDiv.find(tag).length>0)
20
+            return visitors_edits_tools.clearTagName($contentDiv.html(),tag);
22 21
         return $contentDiv.html();
23 22
     },
24 23
     clearClassName:function(content,classname){
@@ -27,6 +26,8 @@ visitors_edits_tools={
27 26
             $elm=jQuery(this);
28 27
             $elm.removeClass(classname);
29 28
         });
29
+        if($contentDiv.find("."+classname).length>0)
30
+            return visitors_edits_tools.clearTagName($contentDiv.html(),classname);
30 31
         return $contentDiv.html();
31 32
     },
32 33
     clear:function(ed){
@@ -87,6 +88,7 @@ visitors_edits_tools={
87 88
             	content=visitors_edits_tools.clearTag(content,"del");
88 89
                 content=visitors_edits_tools.clearClassName(content,"diffmod");
89 90
             	ed.setContent(content);
91
+                console.log("Cleaned");
90 92
             });
91 93
             //Load content
92 94
             setTimeout(function(){
@@ -117,5 +119,5 @@ visitors_edits_tools={
117 119
 })(jQuery);
118 120
 function editSubmit(){
119 121
 	tinyMCE.activeEditor.execCommand("visitors_edits_clean");
120
-	return true;
122
+    return true;
121 123
 }

+ 1512
- 1512
js/jquery.validate.js
File diff suppressed because it is too large
View File


+ 5
- 0
vendor/caxy/php-htmldiff/.gitignore View File

@@ -0,0 +1,5 @@
1
+composer.lock
2
+vendor/
3
+/demo/bower_components
4
+/demo/node_modules
5
+.DS_Store

+ 133
- 0
vendor/caxy/php-htmldiff/.scrutinizer.yml View File

@@ -0,0 +1,133 @@
1
+imports:
2
+    - php
3
+tools:
4
+    js_hint: true
5
+    php_code_sniffer: true
6
+    php_cs_fixer:
7
+        config: { level: psr2 }
8
+        enabled: true
9
+build:
10
+    tests:
11
+        override:
12
+            -
13
+                command: 'vendor/bin/phpunit --coverage-clover=code-coverage-file'
14
+                coverage:
15
+                    file: 'code-coverage-file'
16
+                    format: 'php-clover'
17
+filter:
18
+    excluded_paths:
19
+        - tests/*
20
+checks:
21
+    php:
22
+        uppercase_constants: true
23
+        unused_variables: true
24
+        unreachable_code: true
25
+        unused_methods: true
26
+        sql_injection_vulnerabilities: true
27
+        spacing_of_function_arguments: true
28
+        spacing_around_non_conditional_operators: true
29
+        spacing_around_conditional_operators: true
30
+        too_many_arguments: true
31
+        return_doc_comments: true
32
+        require_scope_for_properties: true
33
+        require_scope_for_methods: true
34
+        require_braces_around_control_structures: true
35
+        psr2_control_structure_declaration: true
36
+        code_rating: true
37
+        duplication: true
38
+        variable_existence: true
39
+        useless_calls: true
40
+        use_statement_alias_conflict: true
41
+        unused_properties: true
42
+        unused_parameters: true
43
+        security_vulnerabilities: true
44
+        precedence_mistakes: true
45
+        precedence_in_conditions: true
46
+        parameter_non_unique: true
47
+        no_property_on_interface: true
48
+        no_non_implemented_abstract_methods: true
49
+        deprecated_code_usage: true
50
+        closure_use_not_conflicting: true
51
+        closure_use_modifiable: true
52
+        avoid_useless_overridden_methods: true
53
+        avoid_conflicting_incrementers: true
54
+        assignment_of_null_return: true
55
+        verify_access_scope_valid: true
56
+        symfony_request_injection: true
57
+        simplify_boolean_return: true
58
+        side_effects_or_types: true
59
+        scope_indentation:
60
+            spaces_per_level: '4'
61
+        return_doc_comment_if_not_inferrable: true
62
+        remove_trailing_whitespace: true
63
+        remove_php_closing_tag: true
64
+        remove_extra_empty_lines: true
65
+        psr2_switch_declaration: true
66
+        psr2_class_declaration: true
67
+        property_assignments: true
68
+        properties_in_camelcaps: true
69
+        phpunit_assertions: true
70
+        php5_style_constructor: true
71
+        parameters_in_camelcaps: true
72
+        parameter_doc_comments: true
73
+        param_doc_comment_if_not_inferrable: true
74
+        overriding_private_members: true
75
+        one_class_per_file: true
76
+        optional_parameters_at_the_end: true
77
+        non_commented_empty_catch_block: true
78
+        no_unnecessary_if: true
79
+        no_unnecessary_function_call_in_for_loop: true
80
+        no_space_inside_cast_operator: true
81
+        no_space_before_semicolon: true
82
+        no_space_around_object_operator: true
83
+        no_short_open_tag: true
84
+        no_short_method_names:
85
+            minimum: '3'
86
+        no_goto: true
87
+        no_global_keyword: true
88
+        no_exit: true
89
+        no_eval: true
90
+        no_long_variable_names:
91
+            maximum: '40'
92
+        no_empty_statements: true
93
+        no_error_suppression: true
94
+        no_else_if_statements: true
95
+        no_duplicate_arguments: true
96
+        no_debug_code: true
97
+        no_commented_out_code: true
98
+        missing_arguments: true
99
+        method_calls_on_non_object: true
100
+        lowercase_php_keywords: true
101
+        lowercase_basic_constants: true
102
+        instanceof_class_exists: true
103
+        function_in_camel_caps: true
104
+        fix_use_statements:
105
+            remove_unused: true
106
+            preserve_multiple: false
107
+            preserve_blanklines: false
108
+            order_alphabetically: true
109
+        fix_identation_4spaces: true
110
+        ensure_lower_case_builtin_functions: true
111
+        fix_doc_comments: true
112
+        avoid_unnecessary_concatenation: true
113
+        avoid_entity_manager_injection: true
114
+        avoid_closing_tag: true
115
+        require_php_tag_first: true
116
+        line_length:
117
+            max_length: '120'
118
+        function_body_start_on_new_line: true
119
+        fix_php_opening_tag: true
120
+        fix_linefeed: true
121
+        classes_in_camel_caps: true
122
+        catch_class_exists: true
123
+        avoid_tab_indentation: true
124
+        avoid_superglobals: true
125
+        avoid_multiple_statements_on_same_line: true
126
+        avoid_length_functions_in_loops: true
127
+        avoid_duplicate_types: true
128
+        avoid_corrupting_byteorder_marks: true
129
+        argument_type_checks: true
130
+        no_underscore_prefix_in_properties: true
131
+        no_underscore_prefix_in_methods: true
132
+        blank_line_after_namespace_declaration: true
133
+        verify_argument_usable_as_reference: true

+ 145
- 145
vendor/caxy/php-htmldiff/CHANGELOG.md View File

@@ -1,145 +1,145 @@
1
-# Change Log
2
-
3
-## [v0.1.1](https://github.com/caxy/php-htmldiff/tree/v0.1.1) (2016-03-16)
4
-[Full Changelog](https://github.com/caxy/php-htmldiff/compare/0.1.0...v0.1.1)
5
-
6
-**Features and Enhancements:**
7
-
8
-- Update TableDiff HTMLPurifier Initialization [\#35](https://github.com/caxy/php-htmldiff/pull/35) ([dbergunder](https://github.com/dbergunder))
9
-
10
-**Miscellaneous:**
11
-
12
-- Update the README and add additional documentation [\#34](https://github.com/caxy/php-htmldiff/pull/34) ([jschroed91](https://github.com/jschroed91))
13
-
14
-## [0.1.0](https://github.com/caxy/php-htmldiff/tree/0.1.0) (2016-03-10)
15
-
16
-[Full Changelog](https://github.com/caxy/php-htmldiff/compare/0.0.14...0.1.0)
17
-
18
-**Features and Enhancements:**
19
-
20
-- Allow caching of the calculated diffs using a doctrine cache provider [\#33](https://github.com/caxy/php-htmldiff/pull/33) ([jschroed91](https://github.com/jschroed91))
21
-- Create configuration class for HtmlDiff config options [\#32](https://github.com/caxy/php-htmldiff/pull/32) ([jschroed91](https://github.com/jschroed91))
22
-- New Feature: Table Diffing [\#31](https://github.com/caxy/php-htmldiff/pull/31) ([jschroed91](https://github.com/jschroed91))
23
-- Detect link changes to resolve [\#28](https://github.com/caxy/php-htmldiff/issues/28) [\#30](https://github.com/caxy/php-htmldiff/pull/30) ([jschroed91](https://github.com/jschroed91))
24
-- Setup PHPUnit testsuite with basic functional test and a few test cases [\#26](https://github.com/caxy/php-htmldiff/pull/26) ([jschroed91](https://github.com/jschroed91))
25
-
26
-## [0.1.0-beta.1](https://github.com/caxy/php-htmldiff/tree/0.1.0-beta.1) (2016-02-26)
27
-[Full Changelog](https://github.com/caxy/php-htmldiff/compare/0.0.14...0.1.0-beta.1)
28
-
29
-**Features and Enhancements:**
30
-
31
-- New Feature: Table Diffing [\#31](https://github.com/caxy/php-htmldiff/pull/31) ([jschroed91](https://github.com/jschroed91))
32
-- Detect link changes to resolve [\#28](https://github.com/caxy/php-htmldiff/issues/28) [\#30](https://github.com/caxy/php-htmldiff/pull/30) ([jschroed91](https://github.com/jschroed91))
33
-- Setup PHPUnit testsuite with basic functional test and a few test cases [\#26](https://github.com/caxy/php-htmldiff/pull/26) ([jschroed91](https://github.com/jschroed91))
34
-
35
-## [0.0.14](https://github.com/caxy/php-htmldiff/tree/0.0.14) (2016-02-03)
36
-[Full Changelog](https://github.com/caxy/php-htmldiff/compare/0.0.13...0.0.14)
37
-
38
-**Fixed bugs:**
39
-
40
-- Fix HtmlDiff matching logic skipping over single word matches [\#25](https://github.com/caxy/php-htmldiff/pull/25) ([jschroed91](https://github.com/jschroed91))
41
-
42
-## [0.0.13](https://github.com/caxy/php-htmldiff/tree/0.0.13) (2016-01-12)
43
-[Full Changelog](https://github.com/caxy/php-htmldiff/compare/0.0.12...0.0.13)
44
-
45
-**Fixed bugs:**
46
-
47
-- Misc. list diffing updates and fixes [\#24](https://github.com/caxy/php-htmldiff/pull/24) ([jschroed91](https://github.com/jschroed91))
48
-- Updated list diff class to maintain the tags on lists. [\#23](https://github.com/caxy/php-htmldiff/pull/23) ([adamCaxy](https://github.com/adamCaxy))
49
-
50
-## [0.0.12](https://github.com/caxy/php-htmldiff/tree/0.0.12) (2015-11-11)
51
-[Full Changelog](https://github.com/caxy/php-htmldiff/compare/0.0.11...0.0.12)
52
-
53
-**Fixed bugs:**
54
-
55
-- feature-list\_diffing-new [\#20](https://github.com/caxy/php-htmldiff/pull/20) ([adamCaxy](https://github.com/adamCaxy))
56
-
57
-## [0.0.11](https://github.com/caxy/php-htmldiff/tree/0.0.11) (2015-11-06)
58
-[Full Changelog](https://github.com/caxy/php-htmldiff/compare/0.0.10...0.0.11)
59
-
60
-**Features and Enhancements:**
61
-
62
-- Feature list diffing new [\#19](https://github.com/caxy/php-htmldiff/pull/19) ([adamCaxy](https://github.com/adamCaxy))
63
-
64
-## [0.0.10](https://github.com/caxy/php-htmldiff/tree/0.0.10) (2015-10-21)
65
-[Full Changelog](https://github.com/caxy/php-htmldiff/compare/0.0.9...0.0.10)
66
-
67
-**Fixed bugs:**
68
-
69
-- Fix: Updated code so that null is not given in list formatting. [\#17](https://github.com/caxy/php-htmldiff/pull/17) ([adamCaxy](https://github.com/adamCaxy))
70
-
71
-## [0.0.9](https://github.com/caxy/php-htmldiff/tree/0.0.9) (2015-10-20)
72
-[Full Changelog](https://github.com/caxy/php-htmldiff/compare/0.0.8...0.0.9)
73
-
74
-**Fixed bugs:**
75
-
76
-- Missed an array\_column in ListDiff. Updated to use ArrayColumn function. [\#16](https://github.com/caxy/php-htmldiff/pull/16) ([jschroed91](https://github.com/jschroed91))
77
-
78
-## [0.0.8](https://github.com/caxy/php-htmldiff/tree/0.0.8) (2015-10-20)
79
-[Full Changelog](https://github.com/caxy/php-htmldiff/compare/0.0.7...0.0.8)
80
-
81
-**Fixed bugs:**
82
-
83
-- Added update for php versions that do not have array\_column as a function. [\#15](https://github.com/caxy/php-htmldiff/pull/15) ([jschroed91](https://github.com/jschroed91))
84
-
85
-## [0.0.7](https://github.com/caxy/php-htmldiff/tree/0.0.7) (2015-10-20)
86
-[Full Changelog](https://github.com/caxy/php-htmldiff/compare/0.0.6...0.0.7)
87
-
88
-**Features and Enhancements:**
89
-
90
-- Created ListDiff class to handle diffing of lists. [\#14](https://github.com/caxy/php-htmldiff/pull/14) ([adamCaxy](https://github.com/adamCaxy))
91
-
92
-## [0.0.6](https://github.com/caxy/php-htmldiff/tree/0.0.6) (2015-09-11)
93
-[Full Changelog](https://github.com/caxy/php-htmldiff/compare/0.0.5...0.0.6)
94
-
95
-**Features and Enhancements:**
96
-
97
-- Feature - html tag isolation [\#12](https://github.com/caxy/php-htmldiff/pull/12) ([jschroed91](https://github.com/jschroed91))
98
-- ICC-4313 | ICC-4314 | Replace Special HTML Elements with placeholder tokens and update diffing logic [\#11](https://github.com/caxy/php-htmldiff/pull/11) ([usaqlain01](https://github.com/usaqlain01))
99
-
100
-## [0.0.5](https://github.com/caxy/php-htmldiff/tree/0.0.5) (2015-03-03)
101
-[Full Changelog](https://github.com/caxy/php-htmldiff/compare/0.0.4...0.0.5)
102
-
103
-**Features and Enhancements:**
104
-
105
-- Support derived classes [\#10](https://github.com/caxy/php-htmldiff/pull/10) ([mkalkbrenner](https://github.com/mkalkbrenner))
106
-
107
-## [0.0.4](https://github.com/caxy/php-htmldiff/tree/0.0.4) (2015-01-09)
108
-[Full Changelog](https://github.com/caxy/php-htmldiff/compare/0.0.3...0.0.4)
109
-
110
-**Fixed bugs:**
111
-
112
-- Check for empty oldText or newText before processing del or ins in processReplaceOperation [\#9](https://github.com/caxy/php-htmldiff/pull/9) ([jschroed91](https://github.com/jschroed91))
113
-
114
-## [0.0.3](https://github.com/caxy/php-htmldiff/tree/0.0.3) (2015-01-08)
115
-[Full Changelog](https://github.com/caxy/php-htmldiff/compare/0.0.2...0.0.3)
116
-
117
-**Features and Enhancements:**
118
-
119
-- Add option to insert a space between del and ins tags [\#8](https://github.com/caxy/php-htmldiff/pull/8) ([jschroed91](https://github.com/jschroed91))
120
-- Updated demo to accept input and diff on the fly [\#5](https://github.com/caxy/php-htmldiff/pull/5) ([jschroed91](https://github.com/jschroed91))
121
-
122
-## [0.0.2](https://github.com/caxy/php-htmldiff/tree/0.0.2) (2014-08-12)
123
-[Full Changelog](https://github.com/caxy/php-htmldiff/compare/0.0.1...0.0.2)
124
-
125
-**Features and Enhancements:**
126
-
127
-- Break out HTML content to individual HTML, CSS, JS files [\#6](https://github.com/caxy/php-htmldiff/pull/6) ([mgersten-caxy](https://github.com/mgersten-caxy))
128
-
129
-**Fixed bugs:**
130
-
131
-- Fix error caused when passing empty array into setSpecialCaseTags [\#7](https://github.com/caxy/php-htmldiff/pull/7) ([jschroed91](https://github.com/jschroed91))
132
-
133
-## [0.0.1](https://github.com/caxy/php-htmldiff/tree/0.0.1) (2014-07-31)
134
-**Features and Enhancements:**
135
-
136
-- Added static properties for the default config variables [\#4](https://github.com/caxy/php-htmldiff/pull/4) ([jschroed91](https://github.com/jschroed91))
137
-- Feature nonpartial word diffing [\#3](https://github.com/caxy/php-htmldiff/pull/3) ([jschroed91](https://github.com/jschroed91))
138
-- Added option to group together diffed words in output [\#2](https://github.com/caxy/php-htmldiff/pull/2) ([jschroed91](https://github.com/jschroed91))
139
-
140
-
141
-
142
-\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
143
-
144
-
145
-\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
1
+# Change Log
2
+
3
+## [v0.1.1](https://github.com/caxy/php-htmldiff/tree/v0.1.1) (2016-03-16)
4
+[Full Changelog](https://github.com/caxy/php-htmldiff/compare/0.1.0...v0.1.1)
5
+
6
+**Features and Enhancements:**
7
+
8
+- Update TableDiff HTMLPurifier Initialization [\#35](https://github.com/caxy/php-htmldiff/pull/35) ([dbergunder](https://github.com/dbergunder))
9
+
10
+**Miscellaneous:**
11
+
12
+- Update the README and add additional documentation [\#34](https://github.com/caxy/php-htmldiff/pull/34) ([jschroed91](https://github.com/jschroed91))
13
+
14
+## [0.1.0](https://github.com/caxy/php-htmldiff/tree/0.1.0) (2016-03-10)
15
+
16
+[Full Changelog](https://github.com/caxy/php-htmldiff/compare/0.0.14...0.1.0)
17
+
18
+**Features and Enhancements:**
19
+
20
+- Allow caching of the calculated diffs using a doctrine cache provider [\#33](https://github.com/caxy/php-htmldiff/pull/33) ([jschroed91](https://github.com/jschroed91))
21
+- Create configuration class for HtmlDiff config options [\#32](https://github.com/caxy/php-htmldiff/pull/32) ([jschroed91](https://github.com/jschroed91))
22
+- New Feature: Table Diffing [\#31](https://github.com/caxy/php-htmldiff/pull/31) ([jschroed91](https://github.com/jschroed91))
23
+- Detect link changes to resolve [\#28](https://github.com/caxy/php-htmldiff/issues/28) [\#30](https://github.com/caxy/php-htmldiff/pull/30) ([jschroed91](https://github.com/jschroed91))
24
+- Setup PHPUnit testsuite with basic functional test and a few test cases [\#26](https://github.com/caxy/php-htmldiff/pull/26) ([jschroed91](https://github.com/jschroed91))
25
+
26
+## [0.1.0-beta.1](https://github.com/caxy/php-htmldiff/tree/0.1.0-beta.1) (2016-02-26)
27
+[Full Changelog](https://github.com/caxy/php-htmldiff/compare/0.0.14...0.1.0-beta.1)
28
+
29
+**Features and Enhancements:**
30
+
31
+- New Feature: Table Diffing [\#31](https://github.com/caxy/php-htmldiff/pull/31) ([jschroed91](https://github.com/jschroed91))
32
+- Detect link changes to resolve [\#28](https://github.com/caxy/php-htmldiff/issues/28) [\#30](https://github.com/caxy/php-htmldiff/pull/30) ([jschroed91](https://github.com/jschroed91))
33
+- Setup PHPUnit testsuite with basic functional test and a few test cases [\#26](https://github.com/caxy/php-htmldiff/pull/26) ([jschroed91](https://github.com/jschroed91))
34
+
35
+## [0.0.14](https://github.com/caxy/php-htmldiff/tree/0.0.14) (2016-02-03)
36
+[Full Changelog](https://github.com/caxy/php-htmldiff/compare/0.0.13...0.0.14)
37
+
38
+**Fixed bugs:**
39
+
40
+- Fix HtmlDiff matching logic skipping over single word matches [\#25](https://github.com/caxy/php-htmldiff/pull/25) ([jschroed91](https://github.com/jschroed91))
41
+
42
+## [0.0.13](https://github.com/caxy/php-htmldiff/tree/0.0.13) (2016-01-12)
43
+[Full Changelog](https://github.com/caxy/php-htmldiff/compare/0.0.12...0.0.13)
44
+
45
+**Fixed bugs:**
46
+
47
+- Misc. list diffing updates and fixes [\#24](https://github.com/caxy/php-htmldiff/pull/24) ([jschroed91](https://github.com/jschroed91))
48
+- Updated list diff class to maintain the tags on lists. [\#23](https://github.com/caxy/php-htmldiff/pull/23) ([adamCaxy](https://github.com/adamCaxy))
49
+
50
+## [0.0.12](https://github.com/caxy/php-htmldiff/tree/0.0.12) (2015-11-11)
51
+[Full Changelog](https://github.com/caxy/php-htmldiff/compare/0.0.11...0.0.12)
52
+
53
+**Fixed bugs:**
54
+
55
+- feature-list\_diffing-new [\#20](https://github.com/caxy/php-htmldiff/pull/20) ([adamCaxy](https://github.com/adamCaxy))
56
+
57
+## [0.0.11](https://github.com/caxy/php-htmldiff/tree/0.0.11) (2015-11-06)
58
+[Full Changelog](https://github.com/caxy/php-htmldiff/compare/0.0.10...0.0.11)
59
+
60
+**Features and Enhancements:**
61
+
62
+- Feature list diffing new [\#19](https://github.com/caxy/php-htmldiff/pull/19) ([adamCaxy](https://github.com/adamCaxy))
63
+
64
+## [0.0.10](https://github.com/caxy/php-htmldiff/tree/0.0.10) (2015-10-21)
65
+[Full Changelog](https://github.com/caxy/php-htmldiff/compare/0.0.9...0.0.10)
66
+
67
+**Fixed bugs:**
68
+
69
+- Fix: Updated code so that null is not given in list formatting. [\#17](https://github.com/caxy/php-htmldiff/pull/17) ([adamCaxy](https://github.com/adamCaxy))
70
+
71
+## [0.0.9](https://github.com/caxy/php-htmldiff/tree/0.0.9) (2015-10-20)
72
+[Full Changelog](https://github.com/caxy/php-htmldiff/compare/0.0.8...0.0.9)
73
+
74
+**Fixed bugs:**
75
+
76
+- Missed an array\_column in ListDiff. Updated to use ArrayColumn function. [\#16](https://github.com/caxy/php-htmldiff/pull/16) ([jschroed91](https://github.com/jschroed91))
77
+
78
+## [0.0.8](https://github.com/caxy/php-htmldiff/tree/0.0.8) (2015-10-20)
79
+[Full Changelog](https://github.com/caxy/php-htmldiff/compare/0.0.7...0.0.8)
80
+
81
+**Fixed bugs:**
82
+
83
+- Added update for php versions that do not have array\_column as a function. [\#15](https://github.com/caxy/php-htmldiff/pull/15) ([jschroed91](https://github.com/jschroed91))
84
+
85
+## [0.0.7](https://github.com/caxy/php-htmldiff/tree/0.0.7) (2015-10-20)
86
+[Full Changelog](https://github.com/caxy/php-htmldiff/compare/0.0.6...0.0.7)
87
+
88
+**Features and Enhancements:**
89
+
90
+- Created ListDiff class to handle diffing of lists. [\#14](https://github.com/caxy/php-htmldiff/pull/14) ([adamCaxy](https://github.com/adamCaxy))
91
+
92
+## [0.0.6](https://github.com/caxy/php-htmldiff/tree/0.0.6) (2015-09-11)
93
+[Full Changelog](https://github.com/caxy/php-htmldiff/compare/0.0.5...0.0.6)
94
+
95
+**Features and Enhancements:**
96
+
97
+- Feature - html tag isolation [\#12](https://github.com/caxy/php-htmldiff/pull/12) ([jschroed91](https://github.com/jschroed91))
98
+- ICC-4313 | ICC-4314 | Replace Special HTML Elements with placeholder tokens and update diffing logic [\#11](https://github.com/caxy/php-htmldiff/pull/11) ([usaqlain01](https://github.com/usaqlain01))
99
+
100
+## [0.0.5](https://github.com/caxy/php-htmldiff/tree/0.0.5) (2015-03-03)
101
+[Full Changelog](https://github.com/caxy/php-htmldiff/compare/0.0.4...0.0.5)
102
+
103
+**Features and Enhancements:**
104
+
105
+- Support derived classes [\#10](https://github.com/caxy/php-htmldiff/pull/10) ([mkalkbrenner](https://github.com/mkalkbrenner))
106
+
107
+## [0.0.4](https://github.com/caxy/php-htmldiff/tree/0.0.4) (2015-01-09)
108
+[Full Changelog](https://github.com/caxy/php-htmldiff/compare/0.0.3...0.0.4)
109
+
110
+**Fixed bugs:**
111
+
112
+- Check for empty oldText or newText before processing del or ins in processReplaceOperation [\#9](https://github.com/caxy/php-htmldiff/pull/9) ([jschroed91](https://github.com/jschroed91))
113
+
114
+## [0.0.3](https://github.com/caxy/php-htmldiff/tree/0.0.3) (2015-01-08)
115
+[Full Changelog](https://github.com/caxy/php-htmldiff/compare/0.0.2...0.0.3)
116
+
117
+**Features and Enhancements:**
118
+
119
+- Add option to insert a space between del and ins tags [\#8](https://github.com/caxy/php-htmldiff/pull/8) ([jschroed91](https://github.com/jschroed91))
120
+- Updated demo to accept input and diff on the fly [\#5](https://github.com/caxy/php-htmldiff/pull/5) ([jschroed91](https://github.com/jschroed91))
121
+
122
+## [0.0.2](https://github.com/caxy/php-htmldiff/tree/0.0.2) (2014-08-12)
123
+[Full Changelog](https://github.com/caxy/php-htmldiff/compare/0.0.1...0.0.2)
124
+
125
+**Features and Enhancements:**
126
+
127
+- Break out HTML content to individual HTML, CSS, JS files [\#6](https://github.com/caxy/php-htmldiff/pull/6) ([mgersten-caxy](https://github.com/mgersten-caxy))
128
+
129
+**Fixed bugs:**
130
+
131
+- Fix error caused when passing empty array into setSpecialCaseTags [\#7](https://github.com/caxy/php-htmldiff/pull/7) ([jschroed91](https://github.com/jschroed91))
132
+
133
+## [0.0.1](https://github.com/caxy/php-htmldiff/tree/0.0.1) (2014-07-31)
134
+**Features and Enhancements:**
135
+
136
+- Added static properties for the default config variables [\#4](https://github.com/caxy/php-htmldiff/pull/4) ([jschroed91](https://github.com/jschroed91))
137
+- Feature nonpartial word diffing [\#3](https://github.com/caxy/php-htmldiff/pull/3) ([jschroed91](https://github.com/jschroed91))
138
+- Added option to group together diffed words in output [\#2](https://github.com/caxy/php-htmldiff/pull/2) ([jschroed91](https://github.com/jschroed91))
139
+
140
+
141
+
142
+\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*
143
+
144
+
145
+\* *This Change Log was automatically generated by [github_changelog_generator](https://github.com/skywinder/Github-Changelog-Generator)*

+ 74
- 74
vendor/caxy/php-htmldiff/CODE_OF_CONDUCT.md View File

@@ -1,74 +1,74 @@
1
-# Contributor Covenant Code of Conduct
2
-
3
-## Our Pledge
4
-
5
-In the interest of fostering an open and welcoming environment, we as
6
-contributors and maintainers pledge to making participation in our project and
7
-our community a harassment-free experience for everyone, regardless of age, body
8
-size, disability, ethnicity, gender identity and expression, level of experience,
9
-nationality, personal appearance, race, religion, or sexual identity and
10
-orientation.
11
-
12
-## Our Standards
13
-
14
-Examples of behavior that contributes to creating a positive environment
15
-include:
16
-
17
-* Using welcoming and inclusive language
18
-* Being respectful of differing viewpoints and experiences
19
-* Gracefully accepting constructive criticism
20
-* Focusing on what is best for the community
21
-* Showing empathy towards other community members
22
-
23
-Examples of unacceptable behavior by participants include:
24
-
25
-* The use of sexualized language or imagery and unwelcome sexual attention or
26
-advances
27
-* Trolling, insulting/derogatory comments, and personal or political attacks
28
-* Public or private harassment
29
-* Publishing others' private information, such as a physical or electronic
30
-  address, without explicit permission
31
-* Other conduct which could reasonably be considered inappropriate in a
32
-  professional setting
33
-
34
-## Our Responsibilities
35
-
36
-Project maintainers are responsible for clarifying the standards of acceptable
37
-behavior and are expected to take appropriate and fair corrective action in
38
-response to any instances of unacceptable behavior.
39
-
40
-Project maintainers have the right and responsibility to remove, edit, or
41
-reject comments, commits, code, wiki edits, issues, and other contributions
42
-that are not aligned to this Code of Conduct, or to ban temporarily or
43
-permanently any contributor for other behaviors that they deem inappropriate,
44
-threatening, offensive, or harmful.
45
-
46
-## Scope
47
-
48
-This Code of Conduct applies both within project spaces and in public spaces
49
-when an individual is representing the project or its community. Examples of
50
-representing a project or community include using an official project e-mail
51
-address, posting via an official social media account, or acting as an appointed
52
-representative at an online or offline event. Representation of a project may be
53
-further defined and clarified by project maintainers.
54
-
55
-## Enforcement
56
-
57
-Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
-reported by contacting the project team at dev@caxy.com. All
59
-complaints will be reviewed and investigated and will result in a response that
60
-is deemed necessary and appropriate to the circumstances. The project team is
61
-obligated to maintain confidentiality with regard to the reporter of an incident.
62
-Further details of specific enforcement policies may be posted separately.
63
-
64
-Project maintainers who do not follow or enforce the Code of Conduct in good
65
-faith may face temporary or permanent repercussions as determined by other
66
-members of the project's leadership.
67
-
68
-## Attribution
69
-
70
-This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
-available at [http://contributor-covenant.org/version/1/4][version]
72
-
73
-[homepage]: http://contributor-covenant.org
74
-[version]: http://contributor-covenant.org/version/1/4/
1
+# Contributor Covenant Code of Conduct
2
+
3
+## Our Pledge
4
+
5
+In the interest of fostering an open and welcoming environment, we as
6
+contributors and maintainers pledge to making participation in our project and
7
+our community a harassment-free experience for everyone, regardless of age, body
8
+size, disability, ethnicity, gender identity and expression, level of experience,
9
+nationality, personal appearance, race, religion, or sexual identity and
10
+orientation.
11
+
12
+## Our Standards
13
+
14
+Examples of behavior that contributes to creating a positive environment
15
+include:
16
+
17
+* Using welcoming and inclusive language
18
+* Being respectful of differing viewpoints and experiences
19
+* Gracefully accepting constructive criticism
20
+* Focusing on what is best for the community
21
+* Showing empathy towards other community members
22
+
23
+Examples of unacceptable behavior by participants include:
24
+
25
+* The use of sexualized language or imagery and unwelcome sexual attention or
26
+advances
27
+* Trolling, insulting/derogatory comments, and personal or political attacks
28
+* Public or private harassment
29
+* Publishing others' private information, such as a physical or electronic
30
+  address, without explicit permission
31
+* Other conduct which could reasonably be considered inappropriate in a
32
+  professional setting
33
+
34
+## Our Responsibilities
35
+
36
+Project maintainers are responsible for clarifying the standards of acceptable
37
+behavior and are expected to take appropriate and fair corrective action in
38
+response to any instances of unacceptable behavior.
39
+
40
+Project maintainers have the right and responsibility to remove, edit, or
41
+reject comments, commits, code, wiki edits, issues, and other contributions
42
+that are not aligned to this Code of Conduct, or to ban temporarily or
43
+permanently any contributor for other behaviors that they deem inappropriate,
44
+threatening, offensive, or harmful.
45
+
46
+## Scope
47
+
48
+This Code of Conduct applies both within project spaces and in public spaces
49
+when an individual is representing the project or its community. Examples of
50
+representing a project or community include using an official project e-mail
51
+address, posting via an official social media account, or acting as an appointed
52
+representative at an online or offline event. Representation of a project may be
53
+further defined and clarified by project maintainers.
54
+
55
+## Enforcement
56
+
57
+Instances of abusive, harassing, or otherwise unacceptable behavior may be
58
+reported by contacting the project team at dev@caxy.com. All
59
+complaints will be reviewed and investigated and will result in a response that
60
+is deemed necessary and appropriate to the circumstances. The project team is
61
+obligated to maintain confidentiality with regard to the reporter of an incident.
62
+Further details of specific enforcement policies may be posted separately.
63
+
64
+Project maintainers who do not follow or enforce the Code of Conduct in good
65
+faith may face temporary or permanent repercussions as determined by other
66
+members of the project's leadership.
67
+
68
+## Attribution
69
+
70
+This Code of Conduct is adapted from the [Contributor Covenant][homepage], version 1.4,
71
+available at [http://contributor-covenant.org/version/1/4][version]
72
+
73
+[homepage]: http://contributor-covenant.org
74
+[version]: http://contributor-covenant.org/version/1/4/

+ 33
- 33
vendor/caxy/php-htmldiff/CONTRIBUTING.md View File

@@ -1,33 +1,33 @@
1
-Contributing
2
-============
3
-
4
-First of all, **thank you** for contributing, **you are awesome**!
5
-
6
-Here are a few rules to follow in order to ease code reviews, and discussions before
7
-maintainers accept and merge your work.
8
-
9
-You MUST follow the [PSR-1](http://www.php-fig.org/psr/1/) and
10
-[PSR-2](http://www.php-fig.org/psr/2/). If you don't know about any of them, you
11
-should really read the recommendations. Can't wait? Use the [PHP-CS-Fixer
12
-tool](http://cs.sensiolabs.org/).
13
-
14
-You MUST run the test suite.
15
-
16
-You MUST write (or update) unit tests.
17
-
18
-You SHOULD write documentation.
19
-
20
-Please, write [commit messages that make
21
-sense](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html),
22
-and [rebase your branch](http://git-scm.com/book/en/Git-Branching-Rebasing)
23
-before submitting your Pull Request.
24
-
25
-One may ask you to [squash your
26
-commits](http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html)
27
-too. This is used to "clean" your Pull Request before merging it (we don't want
28
-commits such as `fix tests`, `fix 2`, `fix 3`, etc.).
29
-
30
-Also, while creating your Pull Request on GitHub, you MUST write a description
31
-which gives the context and/or explains why you are creating it.
32
-
33
-Thank you!
1
+Contributing
2
+============
3
+
4
+First of all, **thank you** for contributing, **you are awesome**!
5
+
6
+Here are a few rules to follow in order to ease code reviews, and discussions before
7
+maintainers accept and merge your work.
8
+
9
+You MUST follow the [PSR-1](http://www.php-fig.org/psr/1/) and
10
+[PSR-2](http://www.php-fig.org/psr/2/). If you don't know about any of them, you
11
+should really read the recommendations. Can't wait? Use the [PHP-CS-Fixer
12
+tool](http://cs.sensiolabs.org/).
13
+
14
+You MUST run the test suite.
15
+
16
+You MUST write (or update) unit tests.
17
+
18
+You SHOULD write documentation.
19
+
20
+Please, write [commit messages that make
21
+sense](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html),
22
+and [rebase your branch](http://git-scm.com/book/en/Git-Branching-Rebasing)
23
+before submitting your Pull Request.
24
+
25
+One may ask you to [squash your
26
+commits](http://gitready.com/advanced/2009/02/10/squashing-commits-with-rebase.html)
27
+too. This is used to "clean" your Pull Request before merging it (we don't want
28
+commits such as `fix tests`, `fix 2`, `fix 3`, etc.).
29
+
30
+Also, while creating your Pull Request on GitHub, you MUST write a description
31
+which gives the context and/or explains why you are creating it.
32
+
33
+Thank you!

+ 130
- 130
vendor/caxy/php-htmldiff/LICENSE View File

@@ -1,130 +1,130 @@
1
-GNU GENERAL PUBLIC LICENSE
2
-
3
-Version 2, June 1991
4
-
5
-Copyright (C) 1989, 1991 Free Software Foundation, Inc.  
6
-51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
7
-
8
-Everyone is permitted to copy and distribute verbatim copies
9
-of this license document, but changing it is not allowed.
10
-Preamble
11
-
12
-The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Lesser General Public License instead.) You can apply it to your programs, too.
13
-
14
-When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things.
15
-
16
-To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it.
17
-
18
-For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
19
-
20
-We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software.
21
-
22
-Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations.
23
-
24
-Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all.
25
-
26
-The precise terms and conditions for copying, distribution and modification follow.
27
-
28
-TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
29
-
30
-0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you".
31
-
32
-Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.
33
-
34
-1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.
35
-
36
-You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.
37
-
38
-2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:
39
-
40
-a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change.
41
-b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.
42
-c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.)
43
-These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.
44
-
45
-Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program.
46
-
47
-In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.
48
-
49
-3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:
50
-
51
-a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
52
-b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
53
-c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.)
54
-The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.
55
-
56
-If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.
57
-
58
-4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.
59
-
60
-5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it.
61
-
62
-6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.
63
-
64
-7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program.
65
-
66
-If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances.
67
-
68
-It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.
69
-
70
-This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.
71
-
72
-8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.
73
-
74
-9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
75
-
76
-Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.
77
-
78
-10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.
79
-
80
-NO WARRANTY
81
-
82
-11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
83
-
84
-12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
85
-
86
-END OF TERMS AND CONDITIONS
87
-
88
-How to Apply These Terms to Your New Programs
89
-
90
-If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.
91
-
92
-To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found.
93
-
94
-one line to give the program's name and an idea of what it does.
95
-Copyright (C) yyyy  name of author
96
-
97
-This program is free software; you can redistribute it and/or
98
-modify it under the terms of the GNU General Public License
99
-as published by the Free Software Foundation; either version 2
100
-of the License, or (at your option) any later version.
101
-
102
-This program is distributed in the hope that it will be useful,
103
-but WITHOUT ANY WARRANTY; without even the implied warranty of
104
-MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
105
-GNU General Public License for more details.
106
-
107
-You should have received a copy of the GNU General Public License
108
-along with this program; if not, write to the Free Software
109
-Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
110
-Also add information on how to contact you by electronic and paper mail.
111
-
112
-If the program is interactive, make it output a short notice like this when it starts in an interactive mode:
113
-
114
-Gnomovision version 69, Copyright (C) year name of author
115
-Gnomovision comes with ABSOLUTELY NO WARRANTY; for details
116
-type `show w'.  This is free software, and you are welcome
117
-to redistribute it under certain conditions; type `show c' 
118
-for details.
119
-The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program.
120
-
121
-You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names:
122
-
123
-Yoyodyne, Inc., hereby disclaims all copyright
124
-interest in the program `Gnomovision'
125
-(which makes passes at compilers) written 
126
-by James Hacker.
127
-
128
-signature of Ty Coon, 1 April 1989
129
-Ty Coon, President of Vice
130
-This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License.
1
+GNU GENERAL PUBLIC LICENSE
2
+
3
+Version 2, June 1991
4
+
5
+Copyright (C) 1989, 1991 Free Software Foundation, Inc.  
6
+51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA
7
+
8
+Everyone is permitted to copy and distribute verbatim copies
9
+of this license document, but changing it is not allowed.
10
+Preamble
11
+
12
+The licenses for most software are designed to take away your freedom to share and change it. By contrast, the GNU General Public License is intended to guarantee your freedom to share and change free software--to make sure the software is free for all its users. This General Public License applies to most of the Free Software Foundation's software and to any other program whose authors commit to using it. (Some other Free Software Foundation software is covered by the GNU Lesser General Public License instead.) You can apply it to your programs, too.
13
+
14
+When we speak of free software, we are referring to freedom, not price. Our General Public Licenses are designed to make sure that you have the freedom to distribute copies of free software (and charge for this service if you wish), that you receive source code or can get it if you want it, that you can change the software or use pieces of it in new free programs; and that you know you can do these things.
15
+
16
+To protect your rights, we need to make restrictions that forbid anyone to deny you these rights or to ask you to surrender the rights. These restrictions translate to certain responsibilities for you if you distribute copies of the software, or if you modify it.
17
+
18
+For example, if you distribute copies of such a program, whether gratis or for a fee, you must give the recipients all the rights that you have. You must make sure that they, too, receive or can get the source code. And you must show them these terms so they know their rights.
19
+
20
+We protect your rights with two steps: (1) copyright the software, and (2) offer you this license which gives you legal permission to copy, distribute and/or modify the software.
21
+
22
+Also, for each author's protection and ours, we want to make certain that everyone understands that there is no warranty for this free software. If the software is modified by someone else and passed on, we want its recipients to know that what they have is not the original, so that any problems introduced by others will not reflect on the original authors' reputations.
23
+
24
+Finally, any free program is threatened constantly by software patents. We wish to avoid the danger that redistributors of a free program will individually obtain patent licenses, in effect making the program proprietary. To prevent this, we have made it clear that any patent must be licensed for everyone's free use or not licensed at all.
25
+
26
+The precise terms and conditions for copying, distribution and modification follow.
27
+
28
+TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
29
+
30
+0. This License applies to any program or other work which contains a notice placed by the copyright holder saying it may be distributed under the terms of this General Public License. The "Program", below, refers to any such program or work, and a "work based on the Program" means either the Program or any derivative work under copyright law: that is to say, a work containing the Program or a portion of it, either verbatim or with modifications and/or translated into another language. (Hereinafter, translation is included without limitation in the term "modification".) Each licensee is addressed as "you".
31
+
32
+Activities other than copying, distribution and modification are not covered by this License; they are outside its scope. The act of running the Program is not restricted, and the output from the Program is covered only if its contents constitute a work based on the Program (independent of having been made by running the Program). Whether that is true depends on what the Program does.
33
+
34
+1. You may copy and distribute verbatim copies of the Program's source code as you receive it, in any medium, provided that you conspicuously and appropriately publish on each copy an appropriate copyright notice and disclaimer of warranty; keep intact all the notices that refer to this License and to the absence of any warranty; and give any other recipients of the Program a copy of this License along with the Program.
35
+
36
+You may charge a fee for the physical act of transferring a copy, and you may at your option offer warranty protection in exchange for a fee.
37
+
38
+2. You may modify your copy or copies of the Program or any portion of it, thus forming a work based on the Program, and copy and distribute such modifications or work under the terms of Section 1 above, provided that you also meet all of these conditions:
39
+
40
+a) You must cause the modified files to carry prominent notices stating that you changed the files and the date of any change.
41
+b) You must cause any work that you distribute or publish, that in whole or in part contains or is derived from the Program or any part thereof, to be licensed as a whole at no charge to all third parties under the terms of this License.
42
+c) If the modified program normally reads commands interactively when run, you must cause it, when started running for such interactive use in the most ordinary way, to print or display an announcement including an appropriate copyright notice and a notice that there is no warranty (or else, saying that you provide a warranty) and that users may redistribute the program under these conditions, and telling the user how to view a copy of this License. (Exception: if the Program itself is interactive but does not normally print such an announcement, your work based on the Program is not required to print an announcement.)
43
+These requirements apply to the modified work as a whole. If identifiable sections of that work are not derived from the Program, and can be reasonably considered independent and separate works in themselves, then this License, and its terms, do not apply to those sections when you distribute them as separate works. But when you distribute the same sections as part of a whole which is a work based on the Program, the distribution of the whole must be on the terms of this License, whose permissions for other licensees extend to the entire whole, and thus to each and every part regardless of who wrote it.
44
+
45
+Thus, it is not the intent of this section to claim rights or contest your rights to work written entirely by you; rather, the intent is to exercise the right to control the distribution of derivative or collective works based on the Program.
46
+
47
+In addition, mere aggregation of another work not based on the Program with the Program (or with a work based on the Program) on a volume of a storage or distribution medium does not bring the other work under the scope of this License.
48
+
49
+3. You may copy and distribute the Program (or a work based on it, under Section 2) in object code or executable form under the terms of Sections 1 and 2 above provided that you also do one of the following:
50
+
51
+a) Accompany it with the complete corresponding machine-readable source code, which must be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
52
+b) Accompany it with a written offer, valid for at least three years, to give any third party, for a charge no more than your cost of physically performing source distribution, a complete machine-readable copy of the corresponding source code, to be distributed under the terms of Sections 1 and 2 above on a medium customarily used for software interchange; or,
53
+c) Accompany it with the information you received as to the offer to distribute corresponding source code. (This alternative is allowed only for noncommercial distribution and only if you received the program in object code or executable form with such an offer, in accord with Subsection b above.)
54
+The source code for a work means the preferred form of the work for making modifications to it. For an executable work, complete source code means all the source code for all modules it contains, plus any associated interface definition files, plus the scripts used to control compilation and installation of the executable. However, as a special exception, the source code distributed need not include anything that is normally distributed (in either source or binary form) with the major components (compiler, kernel, and so on) of the operating system on which the executable runs, unless that component itself accompanies the executable.
55
+
56
+If distribution of executable or object code is made by offering access to copy from a designated place, then offering equivalent access to copy the source code from the same place counts as distribution of the source code, even though third parties are not compelled to copy the source along with the object code.
57
+
58
+4. You may not copy, modify, sublicense, or distribute the Program except as expressly provided under this License. Any attempt otherwise to copy, modify, sublicense or distribute the Program is void, and will automatically terminate your rights under this License. However, parties who have received copies, or rights, from you under this License will not have their licenses terminated so long as such parties remain in full compliance.
59
+
60
+5. You are not required to accept this License, since you have not signed it. However, nothing else grants you permission to modify or distribute the Program or its derivative works. These actions are prohibited by law if you do not accept this License. Therefore, by modifying or distributing the Program (or any work based on the Program), you indicate your acceptance of this License to do so, and all its terms and conditions for copying, distributing or modifying the Program or works based on it.
61
+
62
+6. Each time you redistribute the Program (or any work based on the Program), the recipient automatically receives a license from the original licensor to copy, distribute or modify the Program subject to these terms and conditions. You may not impose any further restrictions on the recipients' exercise of the rights granted herein. You are not responsible for enforcing compliance by third parties to this License.
63
+
64
+7. If, as a consequence of a court judgment or allegation of patent infringement or for any other reason (not limited to patent issues), conditions are imposed on you (whether by court order, agreement or otherwise) that contradict the conditions of this License, they do not excuse you from the conditions of this License. If you cannot distribute so as to satisfy simultaneously your obligations under this License and any other pertinent obligations, then as a consequence you may not distribute the Program at all. For example, if a patent license would not permit royalty-free redistribution of the Program by all those who receive copies directly or indirectly through you, then the only way you could satisfy both it and this License would be to refrain entirely from distribution of the Program.
65
+
66
+If any portion of this section is held invalid or unenforceable under any particular circumstance, the balance of the section is intended to apply and the section as a whole is intended to apply in other circumstances.
67
+
68
+It is not the purpose of this section to induce you to infringe any patents or other property right claims or to contest validity of any such claims; this section has the sole purpose of protecting the integrity of the free software distribution system, which is implemented by public license practices. Many people have made generous contributions to the wide range of software distributed through that system in reliance on consistent application of that system; it is up to the author/donor to decide if he or she is willing to distribute software through any other system and a licensee cannot impose that choice.
69
+
70
+This section is intended to make thoroughly clear what is believed to be a consequence of the rest of this License.
71
+
72
+8. If the distribution and/or use of the Program is restricted in certain countries either by patents or by copyrighted interfaces, the original copyright holder who places the Program under this License may add an explicit geographical distribution limitation excluding those countries, so that distribution is permitted only in or among countries not thus excluded. In such case, this License incorporates the limitation as if written in the body of this License.
73
+
74
+9. The Free Software Foundation may publish revised and/or new versions of the General Public License from time to time. Such new versions will be similar in spirit to the present version, but may differ in detail to address new problems or concerns.
75
+
76
+Each version is given a distinguishing version number. If the Program specifies a version number of this License which applies to it and "any later version", you have the option of following the terms and conditions either of that version or of any later version published by the Free Software Foundation. If the Program does not specify a version number of this License, you may choose any version ever published by the Free Software Foundation.
77
+
78
+10. If you wish to incorporate parts of the Program into other free programs whose distribution conditions are different, write to the author to ask for permission. For software which is copyrighted by the Free Software Foundation, write to the Free Software Foundation; we sometimes make exceptions for this. Our decision will be guided by the two goals of preserving the free status of all derivatives of our free software and of promoting the sharing and reuse of software generally.
79
+
80
+NO WARRANTY
81
+
82
+11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, REPAIR OR CORRECTION.
83
+
84
+12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
85
+
86
+END OF TERMS AND CONDITIONS
87
+
88
+How to Apply These Terms to Your New Programs
89
+
90
+If you develop a new program, and you want it to be of the greatest possible use to the public, the best way to achieve this is to make it free software which everyone can redistribute and change under these terms.
91
+
92
+To do so, attach the following notices to the program. It is safest to attach them to the start of each source file to most effectively convey the exclusion of warranty; and each file should have at least the "copyright" line and a pointer to where the full notice is found.
93
+
94
+one line to give the program's name and an idea of what it does.
95
+Copyright (C) yyyy  name of author
96
+
97
+This program is free software; you can redistribute it and/or
98
+modify it under the terms of the GNU General Public License
99
+as published by the Free Software Foundation; either version 2
100
+of the License, or (at your option) any later version.
101
+
102
+This program is distributed in the hope that it will be useful,
103
+but WITHOUT ANY WARRANTY; without even the implied warranty of
104
+MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
105
+GNU General Public License for more details.
106
+
107
+You should have received a copy of the GNU General Public License
108
+along with this program; if not, write to the Free Software
109
+Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA  02110-1301, USA.
110
+Also add information on how to contact you by electronic and paper mail.
111
+
112
+If the program is interactive, make it output a short notice like this when it starts in an interactive mode:
113
+
114
+Gnomovision version 69, Copyright (C) year name of author
115
+Gnomovision comes with ABSOLUTELY NO WARRANTY; for details
116
+type `show w'.  This is free software, and you are welcome
117
+to redistribute it under certain conditions; type `show c' 
118
+for details.
119
+The hypothetical commands `show w' and `show c' should show the appropriate parts of the General Public License. Of course, the commands you use may be called something other than `show w' and `show c'; they could even be mouse-clicks or menu items--whatever suits your program.
120
+
121
+You should also get your employer (if you work as a programmer) or your school, if any, to sign a "copyright disclaimer" for the program, if necessary. Here is a sample; alter the names:
122
+
123
+Yoyodyne, Inc., hereby disclaims all copyright
124
+interest in the program `Gnomovision'
125
+(which makes passes at compilers) written 
126
+by James Hacker.
127
+
128
+signature of Ty Coon, 1 April 1989
129
+Ty Coon, President of Vice
130
+This General Public License does not permit incorporating your program into proprietary programs. If your program is a subroutine library, you may consider it more useful to permit linking proprietary applications with the library. If this is what you want to do, use the GNU Lesser General Public License instead of this License.

+ 201
- 201
vendor/caxy/php-htmldiff/README.md View File

@@ -1,201 +1,201 @@
1
-php-htmldiff
2
-============
3
-
4
-[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/caxy/php-htmldiff/badges/quality-score.png?b=master)][badge_score]
5
-[![Build Status](https://scrutinizer-ci.com/g/caxy/php-htmldiff/badges/build.png?b=master)][badge_status]
6
-[![Code Coverage](https://scrutinizer-ci.com/g/caxy/php-htmldiff/badges/coverage.png?b=master)][badge_coverage]
7
-[![Packagist](https://img.shields.io/packagist/dt/caxy/php-htmldiff.svg)][badge_packagist]
8
-[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/caxy/php-htmldiff.svg)][badge_resolve]
9
-[![Percentage of issues still open](http://isitmaintained.com/badge/open/caxy/php-htmldiff.svg)][badge_issues]
10
-
11
-php-htmldiff is a library for comparing two HTML files/snippets and highlighting the differences using simple HTML.
12
-
13
-This HTML Diff implementation was forked from [rashid2538/php-htmldiff][upstream] and has been modified with new features,
14
-bug fixes, and enhancements to the original code.
15
-
16
-For more information on these modifications, read the [differences from rashid2538/php-htmldiff][differences] or view the [CHANGELOG][changelog].
17
-
18
-## Installation
19
-
20
-The recommended way to install php-htmldiff is through [Composer][composer].
21
-Require the [caxy/php-htmldiff][badge_packagist] package by running following command:
22
-
23
-```sh
24
-composer require caxy/php-htmldiff
25
-```
26
-
27
-This will resolve the latest stable version.
28
-
29
-Otherwise, install the library and setup the autoloader yourself.
30
-
31
-### Working with Symfony
32
-
33
-If you are using Symfony, you can use the [caxy/HtmlDiffBundle][htmldiffbundle] to make life easy!
34
-
35
-## Usage
36
-
37
-```php
38
-use Caxy\HtmlDiff\HtmlDiff;
39
-
40
-$htmlDiff = new HtmlDiff($oldHtml, $newHtml);
41
-$content = $htmlDiff->build();
42
-```
43
-
44
-## Configuration
45
-
46
-The configuration for HtmlDiff is contained in the `Caxy\HtmlDiff\HtmlDiffConfig` class.
47
-
48
-There are two ways to set the configuration:
49
-
50
-1. [Configure an Existing HtmlDiff Object](#configure-an-existing-htmldiff-object)
51
-2. [Create and Use a HtmlDiffConfig Object](#create-and-use-a-htmldiffconfig-object)
52
-
53
-#### Configure an Existing HtmlDiff Object
54
-
55
-When a new `HtmlDiff` object is created, it creates a `HtmlDiffConfig` object with the default configuration.
56
-You can change the configuration using setters on the object:
57
-
58
-```php
59
-use Caxy\HtmlDiff\HtmlDiff;
60
-
61
-// ...
62
-
63
-$htmlDiff = new HtmlDiff($oldHtml, $newHtml);
64
-
65
-// Set some of the configuration options.
66
-$htmlDiff->getConfig()
67
-    ->setMatchThreshold(80)
68
-    ->setInsertSpaceInReplace(true)
69
-;
70
-
71
-// Calculate the differences using the configuration and get the html diff.
72
-$content = $htmlDiff->build();
73
-
74
-// ...
75
-
76
-```
77
-
78
-#### Create and Use a HtmlDiffConfig Object
79
-
80
-You can also set the configuration by creating an instance of
81
-`Caxy\HtmlDiff\HtmlDiffConfig` and using it when creating a new `HtmlDiff`
82
-object using `HtmlDiff::create`.
83
-
84
-This is useful when creating more than one instance of `HtmlDiff`:
85
-
86
-```php
87
-use Caxy\HtmlDiff\HtmlDiff;
88
-use Caxy\HtmlDiff\HtmlDiffConfig;
89
-
90
-// ...
91
-
92
-$config = new HtmlDiffConfig();
93
-$config
94
-    ->setMatchThreshold(95)
95
-    ->setInsertSpaceInReplace(true)
96
-;
97
-
98
-// Create an HtmlDiff object with the custom configuration.
99
-$firstHtmlDiff = HtmlDiff::create($oldHtml, $newHtml, $config);
100
-$firstContent = $firstHtmlDiff->build();
101
-
102
-$secondHtmlDiff = HtmlDiff::create($oldHtml2, $newHtml2, $config);
103
-$secondHtmlDiff->getConfig()->setMatchThreshold(50);
104
-
105
-$secondContent = $secondHtmlDiff->build();
106
-
107
-// ...
108
-```
109
-
110
-#### Full Configuration with Defaults:
111
-
112
-```php
113
-
114
-$config = new HtmlDiffConfig();
115
-$config
116
-    // Percentage required for list items to be considered a match.
117
-    ->setMatchThreshold(80)
118
-    
119
-    // Set the encoding of the text to be diffed.
120
-    ->setEncoding('UTF-8')
121
-    
122
-    // If true, a space will be added between the <del> and <ins> tags of text that was replaced.
123
-    ->setInsertSpaceInReplace(false)
124
-    
125
-    // Option to disable the new Table Diffing feature and treat tables as regular text.
126
-    ->setUseTableDiffing(true)
127
-    
128
-    // Pass an instance of \Doctrine\Common\Cache\Cache to cache the calculated diffs.
129
-    ->setCacheProvider(null)
130
-    
131
-    // Set the cache directory that HTMLPurifier should use.
132
-    ->setPurifierCacheLocation(null)
133
-    
134
-    // Group consecutive deletions and insertions instead of showing a deletion and insertion for each word individually. 
135
-    ->setGroupDiffs(true)
136
-    
137
-    // List of characters to consider part of a single word when in the middle of text.
138
-    ->setSpecialCaseChars(array('.', ',', '(', ')', '\''))
139
-    
140
-    // List of tags to treat as special case tags.
141
-    ->setSpecialCaseTags(array('strong', 'b', 'i', 'big', 'small', 'u', 'sub', 'sup', 'strike', 's', 'p'))
142
-    
143
-    // List of tags (and their replacement strings) to be diffed in isolation.
144
-    ->setIsolatedDiffTags(array(
145
-        'ol'     => '[[REPLACE_ORDERED_LIST]]',
146
-        'ul'     => '[[REPLACE_UNORDERED_LIST]]',
147
-        'sub'    => '[[REPLACE_SUB_SCRIPT]]',
148
-        'sup'    => '[[REPLACE_SUPER_SCRIPT]]',
149
-        'dl'     => '[[REPLACE_DEFINITION_LIST]]',
150
-        'table'  => '[[REPLACE_TABLE]]',
151
-        'strong' => '[[REPLACE_STRONG]]',
152
-        'b'      => '[[REPLACE_B]]',
153
-        'em'     => '[[REPLACE_EM]]',
154
-        'i'      => '[[REPLACE_I]]',
155
-        'a'      => '[[REPLACE_A]]',
156
-    ))
157
-;
158
-
159
-```
160
-
161
-## Contributing
162
-
163
-See [CONTRIBUTING][contributing] file.
164
-
165
-## Contributor Code of Conduct
166
-
167
-Please note that this project is released with a [Contributor Code of
168
-Conduct][contributor_covenant]. By participating in this project
169
-you agree to abide by its terms. See [CODE_OF_CONDUCT][code_of_conduct] file.
170
-
171
-## Credits
172
-
173
-* [rashid2538][] for the port to PHP and the base for our project: [rashid2538/php-htmldiff][upstream]
174
-* [willdurand][] for an excellent post on [open sourcing libraries][].
175
-Much of this documentation is based off of the examples in the post.
176
-
177
-Did we miss anyone? If we did, let us know or put in a pull request!
178
-
179
-## License
180
-
181
-php-htmldiff is available under [GNU General Public License, version 2][gnu]. See the [LICENSE][license] file for details.
182
-
183
-[badge_score]: https://scrutinizer-ci.com/g/caxy/php-htmldiff/?branch=master
184
-[badge_status]: https://scrutinizer-ci.com/g/caxy/php-htmldiff/build-status/master
185
-[badge_coverage]: https://scrutinizer-ci.com/g/caxy/php-htmldiff/?branch=master
186
-[badge_packagist]: https://packagist.org/packages/caxy/php-htmldiff
187
-[badge_resolve]: http://isitmaintained.com/project/caxy/php-htmldiff "Average time to resolve an issue"
188
-[badge_issues]: http://isitmaintained.com/project/caxy/php-htmldiff "Percentage of issues still open"
189
-[upstream]: https://github.com/rashid2538/php-htmldiff
190
-[htmldiffbundle]: https://github.com/caxy/HtmlDiffBundle
191
-[differences]: https://github.com/caxy/php-htmldiff/blob/master/doc/differences.rst
192
-[changelog]: https://github.com/caxy/php-htmldiff/blob/master/CHANGELOG.md
193
-[contributing]: https://github.com/caxy/php-htmldiff/blob/master/CONTRIBUTING.md
194
-[gnu]: http://www.gnu.org/licenses/gpl-2.0.html
195
-[license]: https://github.com/caxy/php-htmldiff/blob/master/LICENSE
196
-[code_of_conduct]: https://github.com/caxy/php-htmldiff/blob/master/CODE_OF_CONDUCT.md
197
-[composer]: http://getcomposer.org/
198
-[contributor_covenant]: http://contributor-covenant.org/
199
-[rashid2538]: https://github.com/rashid2538
200
-[willdurand]: https://github.com/willdurand
201
-[open sourcing libraries]: http://williamdurand.fr/2013/07/04/on-open-sourcing-libraries/
1
+php-htmldiff
2
+============
3
+
4
+[![Scrutinizer Code Quality](https://scrutinizer-ci.com/g/caxy/php-htmldiff/badges/quality-score.png?b=master)][badge_score]
5
+[![Build Status](https://scrutinizer-ci.com/g/caxy/php-htmldiff/badges/build.png?b=master)][badge_status]
6
+[![Code Coverage](https://scrutinizer-ci.com/g/caxy/php-htmldiff/badges/coverage.png?b=master)][badge_coverage]
7
+[![Packagist](https://img.shields.io/packagist/dt/caxy/php-htmldiff.svg)][badge_packagist]
8
+[![Average time to resolve an issue](http://isitmaintained.com/badge/resolution/caxy/php-htmldiff.svg)][badge_resolve]
9
+[![Percentage of issues still open](http://isitmaintained.com/badge/open/caxy/php-htmldiff.svg)][badge_issues]
10
+
11
+php-htmldiff is a library for comparing two HTML files/snippets and highlighting the differences using simple HTML.
12
+
13
+This HTML Diff implementation was forked from [rashid2538/php-htmldiff][upstream] and has been modified with new features,
14
+bug fixes, and enhancements to the original code.
15
+
16
+For more information on these modifications, read the [differences from rashid2538/php-htmldiff][differences] or view the [CHANGELOG][changelog].
17
+
18
+## Installation
19
+
20
+The recommended way to install php-htmldiff is through [Composer][composer].
21
+Require the [caxy/php-htmldiff][badge_packagist] package by running following command:
22
+
23
+```sh
24
+composer require caxy/php-htmldiff
25
+```
26
+
27
+This will resolve the latest stable version.
28
+
29
+Otherwise, install the library and setup the autoloader yourself.
30
+
31
+### Working with Symfony
32
+
33
+If you are using Symfony, you can use the [caxy/HtmlDiffBundle][htmldiffbundle] to make life easy!
34
+
35
+## Usage
36
+
37
+```php
38
+use Caxy\HtmlDiff\HtmlDiff;
39
+
40
+$htmlDiff = new HtmlDiff($oldHtml, $newHtml);
41
+$content = $htmlDiff->build();
42
+```
43
+
44
+## Configuration
45
+
46
+The configuration for HtmlDiff is contained in the `Caxy\HtmlDiff\HtmlDiffConfig` class.
47
+
48
+There are two ways to set the configuration:
49
+
50
+1. [Configure an Existing HtmlDiff Object](#configure-an-existing-htmldiff-object)
51
+2. [Create and Use a HtmlDiffConfig Object](#create-and-use-a-htmldiffconfig-object)
52
+
53
+#### Configure an Existing HtmlDiff Object
54
+
55
+When a new `HtmlDiff` object is created, it creates a `HtmlDiffConfig` object with the default configuration.
56
+You can change the configuration using setters on the object:
57
+
58
+```php
59
+use Caxy\HtmlDiff\HtmlDiff;
60
+
61
+// ...
62
+
63
+$htmlDiff = new HtmlDiff($oldHtml, $newHtml);
64
+
65
+// Set some of the configuration options.
66
+$htmlDiff->getConfig()
67
+    ->setMatchThreshold(80)
68
+    ->setInsertSpaceInReplace(true)
69
+;
70
+
71
+// Calculate the differences using the configuration and get the html diff.
72
+$content = $htmlDiff->build();
73
+
74
+// ...
75
+
76
+```
77
+
78
+#### Create and Use a HtmlDiffConfig Object
79
+
80
+You can also set the configuration by creating an instance of
81
+`Caxy\HtmlDiff\HtmlDiffConfig` and using it when creating a new `HtmlDiff`
82
+object using `HtmlDiff::create`.
83
+
84
+This is useful when creating more than one instance of `HtmlDiff`:
85
+
86
+```php
87
+use Caxy\HtmlDiff\HtmlDiff;
88
+use Caxy\HtmlDiff\HtmlDiffConfig;
89
+
90
+// ...
91
+
92
+$config = new HtmlDiffConfig();
93
+$config
94
+    ->setMatchThreshold(95)
95
+    ->setInsertSpaceInReplace(true)
96
+;
97
+
98
+// Create an HtmlDiff object with the custom configuration.
99
+$firstHtmlDiff = HtmlDiff::create($oldHtml, $newHtml, $config);
100
+$firstContent = $firstHtmlDiff->build();
101
+
102
+$secondHtmlDiff = HtmlDiff::create($oldHtml2, $newHtml2, $config);
103
+$secondHtmlDiff->getConfig()->setMatchThreshold(50);
104
+
105
+$secondContent = $secondHtmlDiff->build();
106
+
107
+// ...
108
+```
109
+
110
+#### Full Configuration with Defaults:
111
+
112
+```php
113
+
114
+$config = new HtmlDiffConfig();
115
+$config
116
+    // Percentage required for list items to be considered a match.
117
+    ->setMatchThreshold(80)
118
+    
119
+    // Set the encoding of the text to be diffed.
120
+    ->setEncoding('UTF-8')
121
+    
122
+    // If true, a space will be added between the <del> and <ins> tags of text that was replaced.
123
+    ->setInsertSpaceInReplace(false)
124
+    
125
+    // Option to disable the new Table Diffing feature and treat tables as regular text.
126
+    ->setUseTableDiffing(true)
127
+    
128
+    // Pass an instance of \Doctrine\Common\Cache\Cache to cache the calculated diffs.
129
+    ->setCacheProvider(null)
130
+    
131
+    // Set the cache directory that HTMLPurifier should use.
132
+    ->setPurifierCacheLocation(null)
133
+    
134
+    // Group consecutive deletions and insertions instead of showing a deletion and insertion for each word individually. 
135
+    ->setGroupDiffs(true)
136
+    
137
+    // List of characters to consider part of a single word when in the middle of text.
138
+    ->setSpecialCaseChars(array('.', ',', '(', ')', '\''))
139
+    
140
+    // List of tags to treat as special case tags.
141
+    ->setSpecialCaseTags(array('strong', 'b', 'i', 'big', 'small', 'u', 'sub', 'sup', 'strike', 's', 'p'))
142
+    
143
+    // List of tags (and their replacement strings) to be diffed in isolation.
144
+    ->setIsolatedDiffTags(array(
145
+        'ol'     => '[[REPLACE_ORDERED_LIST]]',
146
+        'ul'     => '[[REPLACE_UNORDERED_LIST]]',
147
+        'sub'    => '[[REPLACE_SUB_SCRIPT]]',
148
+        'sup'    => '[[REPLACE_SUPER_SCRIPT]]',
149
+        'dl'     => '[[REPLACE_DEFINITION_LIST]]',
150
+        'table'  => '[[REPLACE_TABLE]]',
151
+        'strong' => '[[REPLACE_STRONG]]',
152
+        'b'      => '[[REPLACE_B]]',
153
+        'em'     => '[[REPLACE_EM]]',
154
+        'i'      => '[[REPLACE_I]]',
155
+        'a'      => '[[REPLACE_A]]',
156
+    ))
157
+;
158
+
159
+```
160
+
161
+## Contributing
162
+
163
+See [CONTRIBUTING][contributing] file.
164
+
165
+## Contributor Code of Conduct
166
+
167
+Please note that this project is released with a [Contributor Code of
168
+Conduct][contributor_covenant]. By participating in this project
169
+you agree to abide by its terms. See [CODE_OF_CONDUCT][code_of_conduct] file.
170
+
171
+## Credits
172
+
173
+* [rashid2538][] for the port to PHP and the base for our project: [rashid2538/php-htmldiff][upstream]
174
+* [willdurand][] for an excellent post on [open sourcing libraries][].
175
+Much of this documentation is based off of the examples in the post.
176
+
177
+Did we miss anyone? If we did, let us know or put in a pull request!
178
+
179
+## License
180
+
181
+php-htmldiff is available under [GNU General Public License, version 2][gnu]. See the [LICENSE][license] file for details.
182
+
183
+[badge_score]: https://scrutinizer-ci.com/g/caxy/php-htmldiff/?branch=master
184
+[badge_status]: https://scrutinizer-ci.com/g/caxy/php-htmldiff/build-status/master
185
+[badge_coverage]: https://scrutinizer-ci.com/g/caxy/php-htmldiff/?branch=master
186
+[badge_packagist]: https://packagist.org/packages/caxy/php-htmldiff
187
+[badge_resolve]: http://isitmaintained.com/project/caxy/php-htmldiff "Average time to resolve an issue"
188
+[badge_issues]: http://isitmaintained.com/project/caxy/php-htmldiff "Percentage of issues still open"
189
+[upstream]: https://github.com/rashid2538/php-htmldiff
190
+[htmldiffbundle]: https://github.com/caxy/HtmlDiffBundle
191
+[differences]: https://github.com/caxy/php-htmldiff/blob/master/doc/differences.rst
192
+[changelog]: https://github.com/caxy/php-htmldiff/blob/master/CHANGELOG.md
193
+[contributing]: https://github.com/caxy/php-htmldiff/blob/master/CONTRIBUTING.md
194
+[gnu]: http://www.gnu.org/licenses/gpl-2.0.html
195
+[license]: https://github.com/caxy/php-htmldiff/blob/master/LICENSE
196
+[code_of_conduct]: https://github.com/caxy/php-htmldiff/blob/master/CODE_OF_CONDUCT.md
197
+[composer]: http://getcomposer.org/
198
+[contributor_covenant]: http://contributor-covenant.org/
199
+[rashid2538]: https://github.com/rashid2538
200
+[willdurand]: https://github.com/willdurand
201
+[open sourcing libraries]: http://williamdurand.fr/2013/07/04/on-open-sourcing-libraries/

+ 43
- 43
vendor/caxy/php-htmldiff/composer.json View File

@@ -1,43 +1,43 @@
1
-{
2
-    "name": "caxy/php-htmldiff",
3
-    "type": "library",
4
-    "description": "A library for comparing two HTML files/snippets and highlighting the differences using simple HTML.",
5
-    "keywords": [
6
-        "diff",
7
-        "html"
8
-    ],
9
-    "homepage": "https://github.com/caxy/php-htmldiff",
10
-    "license": "GPL-2.0",
11
-    "authors": [
12
-        {
13
-            "name": "Josh Schroeder",
14
-            "email": "jschroeder@caxy.com",
15
-            "homepage": "http://www.caxy.com"
16
-        }
17
-    ],
18
-    "support": {
19
-        "issues": "https://github.com/caxy/php-htmldiff/issues"
20
-    },
21
-    "require": {
22
-        "php": ">=5.3.3",
23
-        "ezyang/htmlpurifier": "^4.7"
24
-    },
25
-    "require-dev": {
26
-        "phpunit/phpunit": "~4.8",
27
-        "doctrine/cache": "~1.0"
28
-    },
29
-    "suggest": {
30
-        "doctrine/cache": "Used for caching the calculated diffs using a Doctrine Cache Provider"
31
-    },
32
-    "autoload": {
33
-        "psr-0": { "Caxy\\HtmlDiff": "lib/" }
34
-    },
35
-    "autoload-dev": {
36
-        "psr-4": { "Caxy\\Tests\\": "tests/Caxy/Tests" }
37
-    },
38
-    "extra": {
39
-        "branch-alias": {
40
-            "dev-master": "0.1.x-dev"
41
-        }
42
-    }
43
-}
1
+{
2
+    "name": "caxy/php-htmldiff",
3
+    "type": "library",
4
+    "description": "A library for comparing two HTML files/snippets and highlighting the differences using simple HTML.",
5
+    "keywords": [
6
+        "diff",
7
+        "html"
8
+    ],
9
+    "homepage": "https://github.com/caxy/php-htmldiff",
10
+    "license": "GPL-2.0",
11
+    "authors": [
12
+        {
13
+            "name": "Josh Schroeder",
14
+            "email": "jschroeder@caxy.com",
15
+            "homepage": "http://www.caxy.com"
16
+        }
17
+    ],
18
+    "support": {
19
+        "issues": "https://github.com/caxy/php-htmldiff/issues"
20
+    },
21
+    "require": {
22
+        "php": ">=5.3.3",
23
+        "ezyang/htmlpurifier": "^4.7"
24
+    },
25
+    "require-dev": {
26
+        "phpunit/phpunit": "~4.8",
27
+        "doctrine/cache": "~1.0"
28
+    },
29
+    "suggest": {
30
+        "doctrine/cache": "Used for caching the calculated diffs using a Doctrine Cache Provider"
31
+    },
32
+    "autoload": {
33
+        "psr-0": { "Caxy\\HtmlDiff": "lib/" }
34
+    },
35
+    "autoload-dev": {
36
+        "psr-4": { "Caxy\\Tests\\": "tests/Caxy/Tests" }
37
+    },
38
+    "extra": {
39
+        "branch-alias": {
40
+            "dev-master": "0.1.x-dev"
41
+        }
42
+    }
43
+}

+ 1
- 1
vendor/caxy/php-htmldiff/demo/README.md View File

@@ -1 +1 @@
1
-Just write the code as shown in php file and enjoy.
1
+Just write the code as shown in php file and enjoy.

+ 16
- 16
vendor/caxy/php-htmldiff/demo/bower.json View File

@@ -1,16 +1,16 @@
1
-{
2
-  "name": "php-htmldiff-demo",
3
-  "dependencies": {
4
-    "bootstrap": "v4.0.0-alpha.2",
5
-    "angular": "1.5.0",
6
-    "clipboard": "^1.5.8",
7
-    "font-awesome": "^4.5.0",
8
-    "angular-sanitize": "^1.5.0",
9
-    "tether": "^1.2.0",
10
-    "ng-ckeditor": "^0.2.1",
11
-    "ckeditor": "^4.5.7",
12
-    "angular-ui": "^0.4.0",
13
-    "AngularJS-Toaster": "angularjs-toaster#^1.2.0",
14
-    "angular-bootstrap": "^1.1.2"
15
-  }
16
-}
1
+{
2
+  "name": "php-htmldiff-demo",
3
+  "dependencies": {
4
+    "bootstrap": "v4.0.0-alpha.2",
5
+    "angular": "1.5.0",
6
+    "clipboard": "^1.5.8",
7
+    "font-awesome": "^4.5.0",
8
+    "angular-sanitize": "^1.5.0",
9
+    "tether": "^1.2.0",
10
+    "ng-ckeditor": "^0.2.1",
11
+    "ckeditor": "^4.5.7",
12
+    "angular-ui": "^0.4.0",
13
+    "AngularJS-Toaster": "angularjs-toaster#^1.2.0",
14
+    "angular-bootstrap": "^1.1.2"
15
+  }
16
+}

+ 276
- 276
vendor/caxy/php-htmldiff/demo/codes.css View File

@@ -1,276 +1,276 @@
1
-/*
2
-    Document   : codes
3
-    Created on : Sep 23, 2013, 4:41:58 PM
4
-    Author     : mgersten
5
-    Description: CSS related to I-code specific display
6
-*/
7
-.diff-list > li.normal,
8
-.diff-list > li.removed,
9
-.diff-list > li.replacement{
10
-    display: table-row;
11
-}
12
-.diff-list > li.normal:before,
13
-.diff-list > li.removed:before,
14
-.diff-list > li.replacement:before{
15
-    width: 15px;
16
-    overflow: hidden;
17
-    content: counters(section,".") ". ";
18
-    display: table-cell;
19
-    text-indent: -1em;
20
-    padding-left: 1em;
21
-}
22
-
23
-/* overwrite width of :before on ballot pages */
24
-.ballot-monograph .diff-list > li.normal:before,
25
-.ballot-monograph .diff-list > li.removed:before,
26
-.ballot-monograph .diff-list > li.replacement:before {
27
-    width: 30px;
28
-}
29
-
30
-.diff-list > li.normal:before,
31
-li.replacement + li.replacement:before,
32
-.diff-list > li.replacement:first-child:before{
33
-    counter-increment: section;
34
-}
35
-.diff-list > li.removed:before{
36
-    counter-increment: section;
37
-    text-decoration: line-through;
38
-}
39
-ol.diff-list li.removed + li.replacement {
40
-    counter-increment: none;
41
-}
42
-ol.diff-list li.removed + li.removed + li.replacement {
43
-    counter-increment: section -1;
44
-}
45
-ol.diff-list li.removed + li.removed + li.removed + li.replacement {
46
-    counter-increment: section -2;
47
-}
48
-ol.diff-list li.removed + li.removed + li.removed + li.removed + li.replacement {
49
-    counter-increment: section -3;
50
-}
51
-ol.diff-list li.removed + li.removed + li.removed + li.removed + li.removed + li.replacement {
52
-    counter-increment: section -4;
53
-}
54
-ol.diff-list li.removed + li.removed + li.removed + li.removed + li.removed + li.removed + li.replacement {
55
-    counter-increment: section -5;
56
-}
57
-ol.diff-list li.removed + li.removed + li.removed + li.removed + li.removed + li.removed + li.removed + li.replacement {
58
-    counter-increment: section -6;
59
-}
60
-ol.diff-list li.removed + li.removed + li.removed + li.removed + li.removed + li.removed + li.removed + li.removed + li.replacement {
61
-    counter-increment: section -7;
62
-}
63
-ol.diff-list li.removed + li.removed + li.removed + li.removed + li.removed + li.removed + li.removed + li.removed + li.removed + li.replacement {
64
-    counter-increment: section -8;
65
-}
66
-ol.diff-list li.removed + li.removed + li.removed + li.removed + li.removed + li.removed + li.removed + li.removed + li.removed + li.removed + li.replacement {
67
-    counter-increment: section -9;
68
-}
69
-ol.diff-list li.removed + li.removed + li.removed + li.removed + li.removed + li.removed + li.removed + li.removed + li.removed + li.removed + li.removed + li.replacement{
70
-    counter-increment: section -10;
71
-}
72
-ol.diff-list li.removed + li.removed + li.removed + li.removed + li.removed + li.removed + li.removed + li.removed + li.removed + li.removed + li.removed + li.removed + li.replacement {
73
-    counter-increment: section -11;
74
-}
75
-.diff-list > li.replacement:before,
76
-.diff-list > li.new:before{
77
-    text-decoration: underline;
78
-}
79
-.diff-list > li > div{
80
-    display: inline;
81
-}
82
-.diff-list{
83
-    list-style: none;
84
-    counter-reset: section;
85
-    display: table;
86
-}
87
-.sectionContent ol,
88
-.revision-container ol{
89
-    list-style: none;
90
-    counter-reset: section;
91
-}
92
-.sectionContent ol li,
93
-.revision-container ol li{
94
-    position: relative;
95
-    padding: 0 0 0 30px;
96
-    color: #000000;
97
-    text-indent: 0px;
98
-}
99
-.sectionContent ol ol li,
100
-.revision-container ol ol li{
101
-    padding: 0 0 0 45px;
102
-}
103
-.sectionContent ol ol ol li,
104
-.revision-container ol ol ol li{
105
-    padding: 0 0 0 60px;
106
-}
107
-.sectionContent ol ol ol ol li,
108
-.revision-container ol ol ol ol li{
109
-    padding: 0 0 0 75px;
110
-}
111
-.sectionContent ol ol ol ol ol li,
112
-.revision-container ol ol ol ol ol li{
113
-    padding: 0 0 0 90px;
114
-}
115
-.sectionContent ol ol ol ol ol ol li,
116
-.revision-container ol ol ol ol ol ol li{
117
-    padding: 0 0 0 105px;
118
-}
119
-.sectionContent ol ol ol ol ol ol ol li,
120
-.revision-container ol ol ol ol ol ol ol li{
121
-    padding: 0 0 0 120px;
122
-}
123
-.sectionContent ol ol ol ol ol ol ol ol li,
124
-.revision-container ol ol ol ol ol ol ol ol li{
125
-    padding: 0 0 0 135px;
126
-}
127
-.sectionContent ol ol ol ol ol ol ol ol ol li,
128
-.revision-container ol ol ol ol ol ol ol ol ol li{
129
-    padding: 0 0 0 160px;
130
-}
131
-.sectionContent ol ol ol ol ol ol ol ol ol ol li,
132
-.revision-container ol ol ol ol ol ol ol ol ol ol li{
133
-    padding: 0 0 0 175px;
134
-}
135
-.sectionContent ol li:before,
136
-.revision-container ol li:before{
137
-    counter-increment: section;
138
-    content:counters(section, ".") ".";
139
-    position: absolute;
140
-    left: 0px;
141
-}
142
-li.italic {
143
-    font-style: italic;
144
-}
145
-
146
-.sectionTitle {
147
-    text-align: center;
148
-    margin: 23px 0 15px;
149
-}
150
-
151
-.precontent-title {
152
-    margin-bottom: 10px;
153
-    display: block;
154
-}
155
-
156
-.secondParagraph {
157
-    text-indent: 1em;
158
-}
159
-
160
-.indentedParagraph {
161
-    margin-left: 1em;
162
-}
163
-
164
-.outdentOneLevel {
165
-    margin-left: -75px;
166
-}
167
-
168
-ol.list-alpha-upper > li:before {
169
-    content: counter(section, upper-alpha) ".";
170
-}
171
-
172
-ol.list-alpha-lower > li:before {
173
-    content: counter(section, lower-alpha) ".";
174
-}
175
-
176
-ol.list-roman-upper > li:before {
177
-    content: counter(section, upper-roman) ".";
178
-}
179
-
180
-ol.list-roman-lower > li:before {
181
-    content: counter(section, lower-roman) ".";
182
-}
183
-
184
-ol.list-roman-lower-parentheses > li:before {
185
-    content: "(" counter(section, lower-roman) ")";
186
-}
187
-
188
-ol.list-alpha-lower-parentheses > li:before {
189
-    content: "(" counter(section, lower-alpha) ")";
190
-}
191
-
192
-ol.list-numeric-right-parenthesis > li:before {
193
-    content: counter(section) ")";
194
-}
195
-
196
-.revision-content,
197
-.revision-content p,
198
-.revision-content ol,
199
-.revision-content ul,
200
-.revision-content li,
201
-.revision-content td,
202
-.sectionContent,
203
-.sectionContent p,
204
-.sectionContent ol,
205
-.sectionContent ul,
206
-.sectionContent li,
207
-.sectionContent td,
208
-.revision-notes {
209
-    font-family: "Helvetica Neue",Helvetica,Arial,sans-serif !important;
210
-    font-size: 14px !important;
211
-    font-weight: normal !important;
212
-    line-height: 18px !important;
213
-    color:#404040 !important;
214
-}
215
-
216
-.revision-content .footnotes p,
217
-.revision-content .footnotes ol,
218
-.revision-content .footnotes ul,
219
-.revision-content .footnotes li,
220
-.revision-content .footnotes td,
221
-.sectionContent .footnotes p,
222
-.sectionContent .footnotes ol,
223
-.sectionContent .footnotes ul,
224
-.sectionContent .footnotes li,
225
-.sectionContent .footnotes td {
226
-    font-size: 12px !important;
227
-}
228
-.diff-list ul.exception ol ,
229
-.sectionContent ul.exception ol ,
230
-.revision-container ul.exception ol{
231
-    list-style: none;
232
-    counter-reset: exception-section;
233
-    /* Creates a new instance of the section counter with each ol element */
234
-}
235
-ul.exception,
236
-ul.exception li:before {
237
-    list-style: none;
238
-    content: none;
239
-}
240
-.diff-list ul.exception ol > li:before,
241
-.sectionContent ul.exception ol > li:before,
242
-.revision-container ul.exception ol > li:before {
243
-    counter-increment: exception-section;
244
-    content:counters(exception-section, ".") ".";
245
-}
246
-.sectionContent i > sub,
247
-.revision-container i > sub {
248
-    font-style: italic;
249
-}
250
-div.print-section a {
251
-    text-align: center;
252
-    color: #818181;
253
-    display: block;
254
-    text-decoration: none;
255
-    font-size: 0.8em;
256
-}
257
-div.print-section a.disabled {
258
-    display: none;
259
-}
260
-
261
-.print-link {
262
-    color: #818181;
263
-}
264
-.print-link.disabled {
265
-    cursor: text;
266
-    text-decoration: none;
267
-}
268
-
269
-/* Hack for generic styles that shouldn't exist in the database */
270
-.content_bold {
271
-    font-weight: bold;
272