@@ -1,250 +1,250 @@ |
||
1 | -<?php if ( !defined( 'ABSPATH' ) ) exit; |
|
2 | -$type='TrueTypeUnicode'; |
|
3 | -$name='DejaVuSansMono-BoldOblique'; |
|
4 | -$desc=array('Ascent'=>928,'Descent'=>-236,'CapHeight'=>-70,'Flags'=>97,'FontBBox'=>'[-428 -394 808 1053]','ItalicAngle'=>-11,'StemV'=>120,'MissingWidth'=>602); |
|
5 | -$up=-63; |
|
6 | -$ut=44; |
|
7 | -$dw=602; |
|
8 | -$cw=array( |
|
9 | -0=>602,32=>602,33=>602,34=>602,35=>602,36=>602,37=>602,38=>602,39=>602,40=>602, |
|
10 | -41=>602,42=>602,43=>602,44=>602,45=>602,46=>602,47=>602,48=>602,49=>602,50=>602, |
|
11 | -51=>602,52=>602,53=>602,54=>602,55=>602,56=>602,57=>602,58=>602,59=>602,60=>602, |
|
12 | -61=>602,62=>602,63=>602,64=>602,65=>602,66=>602,67=>602,68=>602,69=>602,70=>602, |
|
13 | -71=>602,72=>602,73=>602,74=>602,75=>602,76=>602,77=>602,78=>602,79=>602,80=>602, |
|
14 | -81=>602,82=>602,83=>602,84=>602,85=>602,86=>602,87=>602,88=>602,89=>602,90=>602, |
|
15 | -91=>602,92=>602,93=>602,94=>602,95=>602,96=>602,97=>602,98=>602,99=>602,100=>602, |
|
16 | -101=>602,102=>602,103=>602,104=>602,105=>602,106=>602,107=>602,108=>602,109=>602,110=>602, |
|
17 | -111=>602,112=>602,113=>602,114=>602,115=>602,116=>602,117=>602,118=>602,119=>602,120=>602, |
|
18 | -121=>602,122=>602,123=>602,124=>602,125=>602,126=>602,8364=>602,8218=>602,402=>602,8222=>602, |
|
19 | -8230=>602,8224=>602,8225=>602,710=>602,8240=>602,352=>602,8249=>602,338=>602,381=>602,8216=>602, |
|
20 | -8217=>602,8220=>602,8221=>602,8226=>602,8211=>602,8212=>602,732=>602,8482=>602,353=>602,8250=>602, |
|
21 | -339=>602,382=>602,376=>602,160=>602,161=>602,162=>602,163=>602,164=>602,165=>602,166=>602, |
|
22 | -167=>602,168=>602,169=>602,170=>602,171=>602,172=>602,173=>602,174=>602,175=>602,176=>602, |
|
23 | -177=>602,178=>602,179=>602,180=>602,181=>602,182=>602,183=>602,184=>602,185=>602,186=>602, |
|
24 | -187=>602,188=>602,189=>602,190=>602,191=>602,192=>602,193=>602,194=>602,195=>602,196=>602, |
|
25 | -197=>602,198=>602,199=>602,200=>602,201=>602,202=>602,203=>602,204=>602,205=>602,206=>602, |
|
26 | -207=>602,208=>602,209=>602,210=>602,211=>602,212=>602,213=>602,214=>602,215=>602,216=>602, |
|
27 | -217=>602,218=>602,219=>602,220=>602,221=>602,222=>602,223=>602,224=>602,225=>602,226=>602, |
|
28 | -227=>602,228=>602,229=>602,230=>602,231=>602,232=>602,233=>602,234=>602,235=>602,236=>602, |
|
29 | -237=>602,238=>602,239=>602,240=>602,241=>602,242=>602,243=>602,244=>602,245=>602,246=>602, |
|
30 | -247=>602,248=>602,249=>602,250=>602,251=>602,252=>602,253=>602,254=>602,255=>602,256=>602, |
|
31 | -257=>602,258=>602,259=>602,260=>602,261=>602,262=>602,263=>602,264=>602,265=>602,266=>602, |
|
32 | -267=>602,268=>602,269=>602,270=>602,271=>602,272=>602,273=>602,274=>602,275=>602,276=>602, |
|
33 | -277=>602,278=>602,279=>602,280=>602,281=>602,282=>602,283=>602,284=>602,285=>602,286=>602, |
|
34 | -287=>602,288=>602,289=>602,290=>602,291=>602,292=>602,293=>602,294=>602,295=>602,296=>602, |
|
35 | -297=>602,298=>602,299=>602,300=>602,301=>602,302=>602,303=>602,304=>602,305=>602,306=>602, |
|
36 | -307=>602,308=>602,309=>602,310=>602,311=>602,312=>602,313=>602,314=>602,315=>602,316=>602, |
|
37 | -317=>602,318=>602,319=>602,320=>602,321=>602,322=>602,323=>602,324=>602,325=>602,326=>602, |
|
38 | -327=>602,328=>602,329=>602,330=>602,331=>602,332=>602,333=>602,334=>602,335=>602,336=>602, |
|
39 | -337=>602,340=>602,341=>602,342=>602,343=>602,344=>602,345=>602,346=>602,347=>602,348=>602, |
|
40 | -349=>602,350=>602,351=>602,354=>602,355=>602,356=>602,357=>602,358=>602,359=>602,360=>602, |
|
41 | -361=>602,362=>602,363=>602,364=>602,365=>602,366=>602,367=>602,368=>602,369=>602,370=>602, |
|
42 | -371=>602,372=>602,373=>602,374=>602,375=>602,377=>602,378=>602,379=>602,380=>602,383=>602, |
|
43 | -384=>602,385=>602,386=>602,387=>602,388=>602,389=>602,390=>602,391=>602,392=>602,393=>602, |
|
44 | -394=>602,395=>602,396=>602,397=>602,398=>602,399=>602,400=>602,401=>602,403=>602,404=>602, |
|
45 | -405=>602,406=>602,407=>602,408=>602,409=>602,410=>602,411=>602,412=>602,413=>602,414=>602, |
|
46 | -415=>602,416=>602,417=>602,418=>602,419=>602,420=>602,421=>602,422=>602,423=>602,424=>602, |
|
47 | -425=>602,426=>602,427=>602,428=>602,429=>602,430=>602,431=>602,432=>602,433=>602,434=>602, |
|
48 | -435=>602,436=>602,437=>602,438=>602,439=>602,440=>602,441=>602,442=>602,443=>602,444=>602, |
|
49 | -445=>602,446=>602,447=>602,448=>602,449=>602,450=>602,451=>602,461=>602,462=>602,463=>602, |
|
50 | -464=>602,465=>602,466=>602,467=>602,468=>602,469=>602,470=>602,471=>602,472=>602,473=>602, |
|
51 | -474=>602,475=>602,476=>602,477=>602,478=>602,479=>602,480=>602,481=>602,482=>602,483=>602, |
|
52 | -486=>602,487=>602,488=>602,489=>602,490=>602,491=>602,492=>602,493=>602,494=>602,495=>602, |
|
53 | -500=>602,501=>602,502=>602,504=>602,505=>602,508=>602,509=>602,510=>602,511=>602,512=>602, |
|
54 | -513=>602,514=>602,515=>602,516=>602,517=>602,518=>602,519=>602,520=>602,521=>602,522=>602, |
|
55 | -523=>602,524=>602,525=>602,526=>602,527=>602,528=>602,529=>602,530=>602,531=>602,532=>602, |
|
56 | -533=>602,534=>602,535=>602,536=>602,537=>602,538=>602,539=>602,540=>602,541=>602,542=>602, |
|
57 | -543=>602,545=>602,548=>602,549=>602,550=>602,551=>602,552=>602,553=>602,554=>602,555=>602, |
|
58 | -556=>602,557=>602,558=>602,559=>602,560=>602,561=>602,562=>602,563=>602,564=>602,565=>602, |
|
59 | -566=>602,567=>602,568=>602,569=>602,570=>602,571=>602,572=>602,573=>602,574=>602,575=>602, |
|
60 | -576=>602,577=>602,580=>602,581=>602,588=>602,589=>602,592=>602,593=>602,594=>602,595=>602, |
|
61 | -596=>602,597=>602,598=>602,599=>602,600=>602,601=>602,602=>602,603=>602,604=>602,605=>602, |
|
62 | -606=>602,607=>602,608=>602,609=>602,610=>602,611=>602,612=>602,613=>602,614=>602,615=>602, |
|
63 | -616=>602,617=>602,618=>602,619=>602,620=>602,621=>602,622=>602,623=>602,624=>602,625=>602, |
|
64 | -626=>602,627=>602,628=>602,629=>602,630=>602,631=>602,632=>602,633=>602,634=>602,635=>602, |
|
65 | -636=>602,637=>602,638=>602,639=>602,640=>602,641=>602,642=>602,643=>602,644=>602,645=>602, |
|
66 | -646=>602,647=>602,648=>602,649=>602,650=>602,651=>602,652=>602,653=>602,654=>602,655=>602, |
|
67 | -656=>602,657=>602,658=>602,659=>602,660=>602,661=>602,662=>602,663=>602,664=>602,665=>602, |
|
68 | -666=>602,667=>602,668=>602,669=>602,670=>602,671=>602,672=>602,673=>602,674=>602,675=>602, |
|
69 | -676=>602,677=>602,678=>602,679=>602,680=>602,681=>602,682=>602,683=>602,684=>602,685=>602, |
|
70 | -686=>602,687=>602,688=>602,689=>602,690=>602,691=>602,692=>602,693=>602,694=>602,695=>602, |
|
71 | -696=>602,697=>602,699=>602,700=>602,701=>602,702=>602,703=>602,704=>602,705=>602,711=>602, |
|
72 | -712=>602,713=>602,716=>602,717=>602,720=>602,721=>602,722=>602,723=>602,726=>602,727=>602, |
|
73 | -728=>602,729=>602,730=>602,731=>602,733=>602,734=>602,736=>602,737=>602,738=>602,739=>602, |
|
74 | -740=>602,741=>602,742=>602,743=>602,744=>602,745=>602,750=>602,755=>602,768=>602,769=>602, |
|
75 | -770=>602,771=>602,772=>602,773=>602,774=>602,775=>602,776=>602,777=>602,778=>602,779=>602, |
|
76 | -780=>602,781=>602,782=>602,783=>602,784=>602,785=>602,786=>602,787=>602,788=>602,789=>602, |
|
77 | -790=>602,791=>602,792=>602,793=>602,794=>602,795=>602,796=>602,797=>602,798=>602,799=>602, |
|
78 | -800=>602,801=>602,802=>602,803=>602,804=>602,805=>602,806=>602,807=>602,808=>602,809=>602, |
|
79 | -810=>602,811=>602,812=>602,813=>602,814=>602,815=>602,816=>602,817=>602,818=>602,819=>602, |
|
80 | -820=>602,821=>602,822=>602,823=>602,824=>602,825=>602,826=>602,827=>602,828=>602,829=>602, |
|
81 | -830=>602,831=>602,835=>602,856=>602,865=>602,884=>602,885=>602,890=>602,894=>602,900=>602, |
|
82 | -901=>602,902=>602,903=>602,904=>602,905=>602,906=>602,908=>602,910=>602,911=>602,912=>602, |
|
83 | -913=>602,914=>602,915=>602,916=>602,917=>602,918=>602,919=>602,920=>602,921=>602,922=>602, |
|
84 | -923=>602,924=>602,925=>602,926=>602,927=>602,928=>602,929=>602,931=>602,932=>602,933=>602, |
|
85 | -934=>602,935=>602,936=>602,937=>602,938=>602,939=>602,940=>602,941=>602,942=>602,943=>602, |
|
86 | -944=>602,945=>602,946=>602,947=>602,948=>602,949=>602,950=>602,951=>602,952=>602,953=>602, |
|
87 | -954=>602,955=>602,956=>602,957=>602,958=>602,959=>602,960=>602,961=>602,962=>602,963=>602, |
|
88 | -964=>602,965=>602,966=>602,967=>602,968=>602,969=>602,970=>602,971=>602,972=>602,973=>602, |
|
89 | -974=>602,976=>602,977=>602,978=>602,979=>602,980=>602,981=>602,982=>602,983=>602,984=>602, |
|
90 | -985=>602,986=>602,987=>602,988=>602,989=>602,990=>602,991=>602,992=>602,993=>602,1008=>602, |
|
91 | -1009=>602,1010=>602,1011=>602,1012=>602,1013=>602,1014=>602,1015=>602,1016=>602,1017=>602,1018=>602, |
|
92 | -1019=>602,1020=>602,1021=>602,1022=>602,1023=>602,1024=>602,1025=>602,1026=>602,1027=>602,1028=>602, |
|
93 | -1029=>602,1030=>602,1031=>602,1032=>602,1033=>602,1034=>602,1035=>602,1036=>602,1037=>602,1038=>602, |
|
94 | -1039=>602,1040=>602,1041=>602,1042=>602,1043=>602,1044=>602,1045=>602,1046=>602,1047=>602,1048=>602, |
|
95 | -1049=>602,1050=>602,1051=>602,1052=>602,1053=>602,1054=>602,1055=>602,1056=>602,1057=>602,1058=>602, |
|
96 | -1059=>602,1060=>602,1061=>602,1062=>602,1063=>602,1064=>602,1065=>602,1066=>602,1067=>602,1068=>602, |
|
97 | -1069=>602,1070=>602,1071=>602,1072=>602,1073=>602,1074=>602,1075=>602,1076=>602,1077=>602,1078=>602, |
|
98 | -1079=>602,1080=>602,1081=>602,1082=>602,1083=>602,1084=>602,1085=>602,1086=>602,1087=>602,1088=>602, |
|
99 | -1089=>602,1090=>602,1091=>602,1092=>602,1093=>602,1094=>602,1095=>602,1096=>602,1097=>602,1098=>602, |
|
100 | -1099=>602,1100=>602,1101=>602,1102=>602,1103=>602,1104=>602,1105=>602,1106=>602,1107=>602,1108=>602, |
|
101 | -1109=>602,1110=>602,1111=>602,1112=>602,1113=>602,1114=>602,1115=>602,1116=>602,1117=>602,1118=>602, |
|
102 | -1119=>602,1122=>602,1123=>602,1138=>602,1139=>602,1168=>602,1169=>602,1170=>602,1171=>602,1172=>602, |
|
103 | -1173=>602,1174=>602,1175=>602,1176=>602,1177=>602,1178=>602,1179=>602,1186=>602,1187=>602,1194=>602, |
|
104 | -1195=>602,1196=>602,1197=>602,1198=>602,1199=>602,1200=>602,1201=>602,1202=>602,1203=>602,1210=>602, |
|
105 | -1211=>602,1216=>602,1217=>602,1218=>602,1219=>602,1220=>602,1223=>602,1224=>602,1227=>602,1228=>602, |
|
106 | -1231=>602,1232=>602,1233=>602,1234=>602,1235=>602,1236=>602,1237=>602,1238=>602,1239=>602,1240=>602, |
|
107 | -1241=>602,1242=>602,1243=>602,1244=>602,1245=>602,1246=>602,1247=>602,1248=>602,1249=>602,1250=>602, |
|
108 | -1251=>602,1252=>602,1253=>602,1254=>602,1255=>602,1256=>602,1257=>602,1258=>602,1259=>602,1260=>602, |
|
109 | -1261=>602,1262=>602,1263=>602,1264=>602,1265=>602,1266=>602,1267=>602,1268=>602,1269=>602,1270=>602, |
|
110 | -1271=>602,1272=>602,1273=>602,1296=>602,1297=>602,1306=>602,1307=>602,1308=>602,1309=>602,3713=>602, |
|
111 | -3714=>602,3716=>602,3719=>602,3720=>602,3722=>602,3725=>602,3732=>602,3733=>602,3734=>602,3735=>602, |
|
112 | -3737=>602,3738=>602,3739=>602,3740=>602,3741=>602,3742=>602,3743=>602,3745=>602,3746=>602,3747=>602, |
|
113 | -3749=>602,3751=>602,3754=>602,3755=>602,3757=>602,3758=>602,3759=>602,3760=>602,3761=>602,3762=>602, |
|
114 | -3763=>602,3764=>602,3765=>602,3766=>602,3767=>602,3768=>602,3769=>602,3771=>602,3772=>602,3784=>602, |
|
115 | -3785=>602,3786=>602,3787=>602,3788=>602,3789=>602,4304=>602,4305=>602,4306=>602,4307=>602,4308=>602, |
|
116 | -4309=>602,4310=>602,4311=>602,4312=>602,4313=>602,4314=>602,4315=>602,4316=>602,4317=>602,4318=>602, |
|
117 | -4319=>602,4320=>602,4321=>602,4322=>602,4323=>602,4324=>602,4325=>602,4326=>602,4327=>602,4328=>602, |
|
118 | -4329=>602,4330=>602,4331=>602,4332=>602,4333=>602,4334=>602,4335=>602,4336=>602,4337=>602,4338=>602, |
|
119 | -4339=>602,4340=>602,4341=>602,4342=>602,4343=>602,4344=>602,4345=>602,4346=>602,4347=>602,4348=>602, |
|
120 | -7426=>602,7432=>602,7433=>602,7444=>602,7446=>602,7447=>602,7453=>602,7454=>602,7455=>602,7468=>602, |
|
121 | -7469=>602,7470=>602,7472=>602,7473=>602,7474=>602,7475=>602,7476=>602,7477=>602,7478=>602,7479=>602, |
|
122 | -7480=>602,7481=>602,7482=>602,7483=>602,7484=>602,7486=>602,7487=>602,7488=>602,7489=>602,7490=>602, |
|
123 | -7491=>602,7492=>602,7493=>602,7494=>602,7495=>602,7496=>602,7497=>602,7498=>602,7499=>602,7500=>602, |
|
124 | -7501=>602,7502=>602,7503=>602,7504=>602,7505=>602,7506=>602,7507=>602,7508=>602,7509=>602,7510=>602, |
|
125 | -7511=>602,7512=>602,7513=>602,7514=>602,7515=>602,7522=>602,7523=>602,7524=>602,7525=>602,7543=>602, |
|
126 | -7544=>602,7547=>602,7557=>602,7579=>602,7580=>602,7581=>602,7582=>602,7583=>602,7584=>602,7585=>602, |
|
127 | -7586=>602,7587=>602,7588=>602,7589=>602,7590=>602,7591=>602,7592=>602,7593=>602,7594=>602,7595=>602, |
|
128 | -7596=>602,7597=>602,7598=>602,7599=>602,7600=>602,7601=>602,7602=>602,7603=>602,7604=>602,7605=>602, |
|
129 | -7606=>602,7607=>602,7609=>602,7610=>602,7611=>602,7612=>602,7613=>602,7614=>602,7615=>602,7680=>602, |
|
130 | -7681=>602,7682=>602,7683=>602,7684=>602,7685=>602,7686=>602,7687=>602,7688=>602,7689=>602,7690=>602, |
|
131 | -7691=>602,7692=>602,7693=>602,7694=>602,7695=>602,7696=>602,7697=>602,7698=>602,7699=>602,7704=>602, |
|
132 | -7705=>602,7706=>602,7707=>602,7708=>602,7709=>602,7710=>602,7711=>602,7712=>602,7713=>602,7714=>602, |
|
133 | -7715=>602,7716=>602,7717=>602,7718=>602,7719=>602,7720=>602,7721=>602,7722=>602,7723=>602,7724=>602, |
|
134 | -7725=>602,7728=>602,7729=>602,7730=>602,7731=>602,7732=>602,7733=>602,7734=>602,7735=>602,7736=>602, |
|
135 | -7737=>602,7738=>602,7739=>602,7740=>602,7741=>602,7742=>602,7743=>602,7744=>602,7745=>602,7746=>602, |
|
136 | -7747=>602,7748=>602,7749=>602,7750=>602,7751=>602,7752=>602,7753=>602,7754=>602,7755=>602,7756=>602, |
|
137 | -7757=>602,7764=>602,7765=>602,7766=>602,7767=>602,7768=>602,7769=>602,7770=>602,7771=>602,7772=>602, |
|
138 | -7773=>602,7774=>602,7775=>602,7776=>602,7777=>602,7778=>602,7779=>602,7784=>602,7785=>602,7786=>602, |
|
139 | -7787=>602,7788=>602,7789=>602,7790=>602,7791=>602,7792=>602,7793=>602,7794=>602,7795=>602,7796=>602, |
|
140 | -7797=>602,7798=>602,7799=>602,7800=>602,7801=>602,7804=>602,7805=>602,7806=>602,7807=>602,7808=>602, |
|
141 | -7809=>602,7810=>602,7811=>602,7812=>602,7813=>602,7814=>602,7815=>602,7816=>602,7817=>602,7818=>602, |
|
142 | -7819=>602,7820=>602,7821=>602,7822=>602,7823=>602,7824=>602,7825=>602,7826=>602,7827=>602,7828=>602, |
|
143 | -7829=>602,7830=>602,7831=>602,7832=>602,7833=>602,7835=>602,7839=>602,7840=>602,7841=>602,7852=>602, |
|
144 | -7853=>602,7856=>602,7857=>602,7862=>602,7863=>602,7864=>602,7865=>602,7868=>602,7869=>602,7878=>602, |
|
145 | -7879=>602,7882=>602,7883=>602,7884=>602,7885=>602,7896=>602,7897=>602,7898=>602,7899=>602,7900=>602, |
|
146 | -7901=>602,7904=>602,7905=>602,7906=>602,7907=>602,7908=>602,7909=>602,7912=>602,7913=>602,7914=>602, |
|
147 | -7915=>602,7918=>602,7919=>602,7920=>602,7921=>602,7922=>602,7923=>602,7924=>602,7925=>602,7928=>602, |
|
148 | -7929=>602,7936=>602,7937=>602,7938=>602,7939=>602,7940=>602,7941=>602,7942=>602,7943=>602,7944=>602, |
|
149 | -7945=>602,7946=>602,7947=>602,7948=>602,7949=>602,7950=>602,7951=>602,7952=>602,7953=>602,7954=>602, |
|
150 | -7955=>602,7956=>602,7957=>602,7960=>602,7961=>602,7962=>602,7963=>602,7964=>602,7965=>602,7968=>602, |
|
151 | -7969=>602,7970=>602,7971=>602,7972=>602,7973=>602,7974=>602,7975=>602,7976=>602,7977=>602,7978=>602, |
|
152 | -7979=>602,7980=>602,7981=>602,7982=>602,7983=>602,7984=>602,7985=>602,7986=>602,7987=>602,7988=>602, |
|
153 | -7989=>602,7990=>602,7991=>602,7992=>602,7993=>602,7994=>602,7995=>602,7996=>602,7997=>602,7998=>602, |
|
154 | -7999=>602,8000=>602,8001=>602,8002=>602,8003=>602,8004=>602,8005=>602,8008=>602,8009=>602,8010=>602, |
|
155 | -8011=>602,8012=>602,8013=>602,8016=>602,8017=>602,8018=>602,8019=>602,8020=>602,8021=>602,8022=>602, |
|
156 | -8023=>602,8025=>602,8027=>602,8029=>602,8031=>602,8032=>602,8033=>602,8034=>602,8035=>602,8036=>602, |
|
157 | -8037=>602,8038=>602,8039=>602,8040=>602,8041=>602,8042=>602,8043=>602,8044=>602,8045=>602,8046=>602, |
|
158 | -8047=>602,8048=>602,8049=>602,8050=>602,8051=>602,8052=>602,8053=>602,8054=>602,8055=>602,8056=>602, |
|
159 | -8057=>602,8058=>602,8059=>602,8060=>602,8061=>602,8064=>602,8065=>602,8066=>602,8067=>602,8068=>602, |
|
160 | -8069=>602,8070=>602,8071=>602,8072=>602,8073=>602,8074=>602,8075=>602,8076=>602,8077=>602,8078=>602, |
|
161 | -8079=>602,8080=>602,8081=>602,8082=>602,8083=>602,8084=>602,8085=>602,8086=>602,8087=>602,8088=>602, |
|
162 | -8089=>602,8090=>602,8091=>602,8092=>602,8093=>602,8094=>602,8095=>602,8096=>602,8097=>602,8098=>602, |
|
163 | -8099=>602,8100=>602,8101=>602,8102=>602,8103=>602,8104=>602,8105=>602,8106=>602,8107=>602,8108=>602, |
|
164 | -8109=>602,8110=>602,8111=>602,8112=>602,8113=>602,8114=>602,8115=>602,8116=>602,8118=>602,8119=>602, |
|
165 | -8120=>602,8121=>602,8122=>602,8123=>602,8124=>602,8125=>602,8126=>602,8127=>602,8128=>602,8129=>602, |
|
166 | -8130=>602,8131=>602,8132=>602,8134=>602,8135=>602,8136=>602,8137=>602,8138=>602,8139=>602,8140=>602, |
|
167 | -8141=>602,8142=>602,8143=>602,8144=>602,8145=>602,8146=>602,8147=>602,8150=>602,8151=>602,8152=>602, |
|
168 | -8153=>602,8154=>602,8155=>602,8157=>602,8158=>602,8159=>602,8160=>602,8161=>602,8162=>602,8163=>602, |
|
169 | -8164=>602,8165=>602,8166=>602,8167=>602,8168=>602,8169=>602,8170=>602,8171=>602,8172=>602,8173=>602, |
|
170 | -8174=>602,8175=>602,8178=>602,8179=>602,8180=>602,8182=>602,8183=>602,8184=>602,8185=>602,8186=>602, |
|
171 | -8187=>602,8188=>602,8189=>602,8190=>602,8192=>602,8193=>602,8194=>602,8195=>602,8196=>602,8197=>602, |
|
172 | -8198=>602,8199=>602,8200=>602,8201=>602,8202=>602,8208=>602,8209=>602,8210=>602,8213=>602,8215=>602, |
|
173 | -8219=>602,8223=>602,8227=>602,8239=>602,8241=>602,8242=>602,8243=>602,8244=>602,8245=>602,8246=>602, |
|
174 | -8247=>602,8252=>602,8253=>602,8254=>602,8261=>602,8262=>602,8263=>602,8264=>602,8265=>602,8287=>602, |
|
175 | -8304=>602,8305=>602,8308=>602,8309=>602,8310=>602,8311=>602,8312=>602,8313=>602,8314=>602,8315=>602, |
|
176 | -8316=>602,8317=>602,8318=>602,8319=>602,8320=>602,8321=>602,8322=>602,8323=>602,8324=>602,8325=>602, |
|
177 | -8326=>602,8327=>602,8328=>602,8329=>602,8330=>602,8331=>602,8332=>602,8333=>602,8334=>602,8336=>602, |
|
178 | -8337=>602,8338=>602,8339=>602,8340=>602,8352=>602,8353=>602,8354=>602,8355=>602,8356=>602,8357=>602, |
|
179 | -8358=>602,8359=>602,8360=>602,8361=>602,8362=>602,8363=>602,8365=>602,8366=>602,8367=>602,8368=>602, |
|
180 | -8369=>602,8370=>602,8371=>602,8372=>602,8373=>602,8450=>602,8453=>602,8461=>602,8462=>602,8463=>602, |
|
181 | -8469=>602,8470=>602,8471=>602,8473=>602,8474=>602,8477=>602,8484=>602,8486=>602,8490=>602,8491=>602, |
|
182 | -8494=>602,8531=>602,8532=>602,8533=>602,8534=>602,8535=>602,8536=>602,8537=>602,8538=>602,8539=>602, |
|
183 | -8540=>602,8541=>602,8542=>602,8543=>602,8592=>602,8593=>602,8594=>602,8595=>602,8596=>602,8597=>602, |
|
184 | -8598=>602,8599=>602,8600=>602,8601=>602,8602=>602,8603=>602,8604=>602,8605=>602,8606=>602,8607=>602, |
|
185 | -8608=>602,8609=>602,8610=>602,8611=>602,8612=>602,8613=>602,8614=>602,8615=>602,8616=>602,8617=>602, |
|
186 | -8618=>602,8619=>602,8620=>602,8621=>602,8622=>602,8623=>602,8624=>602,8625=>602,8626=>602,8627=>602, |
|
187 | -8628=>602,8629=>602,8630=>602,8631=>602,8632=>602,8633=>602,8634=>602,8635=>602,8636=>602,8637=>602, |
|
188 | -8638=>602,8639=>602,8640=>602,8641=>602,8642=>602,8643=>602,8644=>602,8645=>602,8646=>602,8647=>602, |
|
189 | -8648=>602,8649=>602,8650=>602,8651=>602,8652=>602,8653=>602,8654=>602,8655=>602,8656=>602,8657=>602, |
|
190 | -8658=>602,8659=>602,8660=>602,8661=>602,8662=>602,8663=>602,8664=>602,8665=>602,8666=>602,8667=>602, |
|
191 | -8668=>602,8669=>602,8670=>602,8671=>602,8672=>602,8673=>602,8674=>602,8675=>602,8676=>602,8677=>602, |
|
192 | -8678=>602,8679=>602,8680=>602,8681=>602,8682=>602,8683=>602,8684=>602,8685=>602,8686=>602,8687=>602, |
|
193 | -8688=>602,8689=>602,8690=>602,8691=>602,8692=>602,8693=>602,8694=>602,8695=>602,8696=>602,8697=>602, |
|
194 | -8698=>602,8699=>602,8700=>602,8701=>602,8702=>602,8703=>602,8704=>602,8705=>602,8706=>602,8707=>602, |
|
195 | -8708=>602,8709=>602,8710=>602,8711=>602,8712=>602,8713=>602,8714=>602,8715=>602,8716=>602,8717=>602, |
|
196 | -8719=>602,8721=>602,8722=>602,8723=>602,8725=>602,8727=>602,8728=>602,8729=>602,8730=>602,8731=>602, |
|
197 | -8732=>602,8733=>602,8734=>602,8735=>602,8736=>602,8743=>602,8744=>602,8745=>602,8746=>602,8747=>602, |
|
198 | -8748=>602,8749=>602,8760=>602,8761=>602,8762=>602,8763=>602,8764=>602,8765=>602,8769=>602,8770=>602, |
|
199 | -8771=>602,8772=>602,8773=>602,8774=>602,8775=>602,8776=>602,8777=>602,8778=>602,8779=>602,8780=>602, |
|
200 | -8781=>602,8782=>602,8783=>602,8784=>602,8785=>602,8786=>602,8787=>602,8788=>602,8789=>602,8790=>602, |
|
201 | -8791=>602,8792=>602,8793=>602,8794=>602,8795=>602,8796=>602,8797=>602,8798=>602,8799=>602,8800=>602, |
|
202 | -8801=>602,8802=>602,8803=>602,8804=>602,8805=>602,8806=>602,8807=>602,8808=>602,8809=>602,8813=>602, |
|
203 | -8814=>602,8815=>602,8816=>602,8817=>602,8818=>602,8819=>602,8820=>602,8821=>602,8822=>602,8823=>602, |
|
204 | -8824=>602,8825=>602,8826=>602,8827=>602,8828=>602,8829=>602,8830=>602,8831=>602,8832=>602,8833=>602, |
|
205 | -8834=>602,8835=>602,8836=>602,8837=>602,8838=>602,8839=>602,8840=>602,8841=>602,8842=>602,8843=>602, |
|
206 | -8847=>602,8848=>602,8849=>602,8850=>602,8853=>602,8854=>602,8855=>602,8856=>602,8857=>602,8858=>602, |
|
207 | -8859=>602,8860=>602,8861=>602,8862=>602,8863=>602,8864=>602,8865=>602,8901=>602,8902=>602,8909=>602, |
|
208 | -8922=>602,8923=>602,8924=>602,8925=>602,8926=>602,8927=>602,8928=>602,8929=>602,8930=>602,8931=>602, |
|
209 | -8932=>602,8933=>602,8934=>602,8935=>602,8936=>602,8937=>602,8943=>602,8960=>602,8961=>602,8962=>602, |
|
210 | -8963=>602,8964=>602,8965=>602,8966=>602,8968=>602,8969=>602,8970=>602,8971=>602,8972=>602,8973=>602, |
|
211 | -8974=>602,8975=>602,8976=>602,8977=>602,8978=>602,8979=>602,8980=>602,8981=>602,8984=>602,8985=>602, |
|
212 | -8988=>602,8989=>602,8990=>602,8991=>602,8992=>602,8993=>602,8997=>602,8998=>602,8999=>602,9000=>602, |
|
213 | -9003=>602,9013=>602,9015=>602,9016=>602,9017=>602,9018=>602,9019=>602,9020=>602,9021=>602,9022=>602, |
|
214 | -9025=>602,9026=>602,9027=>602,9028=>602,9031=>602,9032=>602,9033=>602,9035=>602,9036=>602,9037=>602, |
|
215 | -9040=>602,9042=>602,9043=>602,9044=>602,9047=>602,9048=>602,9049=>602,9050=>602,9051=>602,9052=>602, |
|
216 | -9054=>602,9055=>602,9056=>602,9059=>602,9060=>602,9061=>602,9064=>602,9065=>602,9067=>602,9068=>602, |
|
217 | -9069=>602,9070=>602,9071=>602,9072=>602,9075=>602,9076=>602,9077=>602,9078=>602,9079=>602,9080=>602, |
|
218 | -9081=>602,9082=>602,9085=>602,9088=>602,9089=>602,9090=>602,9091=>602,9096=>602,9097=>602,9098=>602, |
|
219 | -9099=>602,9109=>602,9115=>602,9116=>602,9117=>602,9118=>602,9119=>602,9120=>602,9121=>602,9122=>602, |
|
220 | -9123=>602,9124=>602,9125=>602,9126=>602,9127=>602,9128=>602,9129=>602,9130=>602,9131=>602,9132=>602, |
|
221 | -9133=>602,9134=>602,9166=>602,9167=>602,9251=>602,9600=>602,9601=>602,9602=>602,9603=>602,9604=>602, |
|
222 | -9605=>602,9606=>602,9607=>602,9608=>602,9609=>602,9610=>602,9611=>602,9612=>602,9613=>602,9614=>602, |
|
223 | -9615=>602,9616=>602,9617=>602,9618=>602,9619=>602,9620=>602,9621=>602,9622=>602,9623=>602,9624=>602, |
|
224 | -9625=>602,9626=>602,9627=>602,9628=>602,9629=>602,9630=>602,9631=>602,9632=>602,9633=>602,9634=>602, |
|
225 | -9635=>602,9636=>602,9637=>602,9638=>602,9639=>602,9640=>602,9641=>602,9642=>602,9643=>602,9644=>602, |
|
226 | -9645=>602,9646=>602,9647=>602,9648=>602,9649=>602,9650=>602,9651=>602,9652=>602,9653=>602,9654=>602, |
|
227 | -9655=>602,9656=>602,9657=>602,9658=>602,9659=>602,9660=>602,9661=>602,9662=>602,9663=>602,9664=>602, |
|
228 | -9665=>602,9666=>602,9667=>602,9668=>602,9669=>602,9670=>602,9671=>602,9672=>602,9673=>602,9674=>602, |
|
229 | -9675=>602,9676=>602,9677=>602,9678=>602,9679=>602,9680=>602,9681=>602,9682=>602,9683=>602,9684=>602, |
|
230 | -9685=>602,9686=>602,9687=>602,9688=>602,9689=>602,9690=>602,9691=>602,9692=>602,9693=>602,9694=>602, |
|
231 | -9695=>602,9696=>602,9697=>602,9698=>602,9699=>602,9700=>602,9701=>602,9702=>602,9703=>602,9704=>602, |
|
232 | -9705=>602,9706=>602,9707=>602,9708=>602,9709=>602,9710=>602,9711=>602,9712=>602,9713=>602,9714=>602, |
|
233 | -9715=>602,9716=>602,9717=>602,9718=>602,9719=>602,9720=>602,9721=>602,9722=>602,9723=>602,9724=>602, |
|
234 | -9725=>602,9726=>602,9727=>602,9728=>602,9784=>602,9785=>602,9786=>602,9787=>602,9788=>602,9791=>602, |
|
235 | -9792=>602,9793=>602,9794=>602,9795=>602,9796=>602,9797=>602,9798=>602,9799=>602,9824=>602,9825=>602, |
|
236 | -9826=>602,9827=>602,9828=>602,9829=>602,9830=>602,9831=>602,9833=>602,9834=>602,9835=>602,9836=>602, |
|
237 | -9837=>602,9838=>602,9839=>602,10181=>602,10182=>602,10208=>602,10216=>602,10217=>602,10731=>602,10746=>602, |
|
238 | -10747=>602,10799=>602,11026=>602,11027=>602,11028=>602,11029=>602,11030=>602,11031=>602,11032=>602,11033=>602, |
|
239 | -11034=>602,11364=>602,11374=>602,11375=>602,11381=>602,11382=>602,11383=>602,11385=>602,11386=>602,11388=>602, |
|
240 | -11389=>602,11800=>602,11810=>602,11811=>602,11812=>602,11813=>602,11822=>602,42760=>602,42761=>602,42762=>602, |
|
241 | -42763=>602,42764=>602,42765=>602,42766=>602,42767=>602,42768=>602,42769=>602,42770=>602,42771=>602,42772=>602, |
|
242 | -42773=>602,42774=>602,42779=>602,42780=>602,42781=>602,42782=>602,42783=>602,42790=>602,42791=>602,42889=>602, |
|
243 | -42890=>602,42891=>602,42892=>602,63173=>602,64257=>602,64258=>602,65529=>602,65530=>602,65531=>602,65532=>602, |
|
1 | +<?php if (!defined('ABSPATH')) exit; |
|
2 | +$type = 'TrueTypeUnicode'; |
|
3 | +$name = 'DejaVuSansMono-BoldOblique'; |
|
4 | +$desc = array('Ascent'=>928, 'Descent'=>-236, 'CapHeight'=>-70, 'Flags'=>97, 'FontBBox'=>'[-428 -394 808 1053]', 'ItalicAngle'=>-11, 'StemV'=>120, 'MissingWidth'=>602); |
|
5 | +$up = -63; |
|
6 | +$ut = 44; |
|
7 | +$dw = 602; |
|
8 | +$cw = array( |
|
9 | +0=>602, 32=>602, 33=>602, 34=>602, 35=>602, 36=>602, 37=>602, 38=>602, 39=>602, 40=>602, |
|
10 | +41=>602, 42=>602, 43=>602, 44=>602, 45=>602, 46=>602, 47=>602, 48=>602, 49=>602, 50=>602, |
|
11 | +51=>602, 52=>602, 53=>602, 54=>602, 55=>602, 56=>602, 57=>602, 58=>602, 59=>602, 60=>602, |
|
12 | +61=>602, 62=>602, 63=>602, 64=>602, 65=>602, 66=>602, 67=>602, 68=>602, 69=>602, 70=>602, |
|
13 | +71=>602, 72=>602, 73=>602, 74=>602, 75=>602, 76=>602, 77=>602, 78=>602, 79=>602, 80=>602, |
|
14 | +81=>602, 82=>602, 83=>602, 84=>602, 85=>602, 86=>602, 87=>602, 88=>602, 89=>602, 90=>602, |
|
15 | +91=>602, 92=>602, 93=>602, 94=>602, 95=>602, 96=>602, 97=>602, 98=>602, 99=>602, 100=>602, |
|
16 | +101=>602, 102=>602, 103=>602, 104=>602, 105=>602, 106=>602, 107=>602, 108=>602, 109=>602, 110=>602, |
|
17 | +111=>602, 112=>602, 113=>602, 114=>602, 115=>602, 116=>602, 117=>602, 118=>602, 119=>602, 120=>602, |
|
18 | +121=>602, 122=>602, 123=>602, 124=>602, 125=>602, 126=>602, 8364=>602, 8218=>602, 402=>602, 8222=>602, |
|
19 | +8230=>602, 8224=>602, 8225=>602, 710=>602, 8240=>602, 352=>602, 8249=>602, 338=>602, 381=>602, 8216=>602, |
|
20 | +8217=>602, 8220=>602, 8221=>602, 8226=>602, 8211=>602, 8212=>602, 732=>602, 8482=>602, 353=>602, 8250=>602, |
|
21 | +339=>602, 382=>602, 376=>602, 160=>602, 161=>602, 162=>602, 163=>602, 164=>602, 165=>602, 166=>602, |
|
22 | +167=>602, 168=>602, 169=>602, 170=>602, 171=>602, 172=>602, 173=>602, 174=>602, 175=>602, 176=>602, |
|
23 | +177=>602, 178=>602, 179=>602, 180=>602, 181=>602, 182=>602, 183=>602, 184=>602, 185=>602, 186=>602, |
|
24 | +187=>602, 188=>602, 189=>602, 190=>602, 191=>602, 192=>602, 193=>602, 194=>602, 195=>602, 196=>602, |
|
25 | +197=>602, 198=>602, 199=>602, 200=>602, 201=>602, 202=>602, 203=>602, 204=>602, 205=>602, 206=>602, |
|
26 | +207=>602, 208=>602, 209=>602, 210=>602, 211=>602, 212=>602, 213=>602, 214=>602, 215=>602, 216=>602, |
|
27 | +217=>602, 218=>602, 219=>602, 220=>602, 221=>602, 222=>602, 223=>602, 224=>602, 225=>602, 226=>602, |
|
28 | +227=>602, 228=>602, 229=>602, 230=>602, 231=>602, 232=>602, 233=>602, 234=>602, 235=>602, 236=>602, |
|
29 | +237=>602, 238=>602, 239=>602, 240=>602, 241=>602, 242=>602, 243=>602, 244=>602, 245=>602, 246=>602, |
|
30 | +247=>602, 248=>602, 249=>602, 250=>602, 251=>602, 252=>602, 253=>602, 254=>602, 255=>602, 256=>602, |
|
31 | +257=>602, 258=>602, 259=>602, 260=>602, 261=>602, 262=>602, 263=>602, 264=>602, 265=>602, 266=>602, |
|
32 | +267=>602, 268=>602, 269=>602, 270=>602, 271=>602, 272=>602, 273=>602, 274=>602, 275=>602, 276=>602, |
|
33 | +277=>602, 278=>602, 279=>602, 280=>602, 281=>602, 282=>602, 283=>602, 284=>602, 285=>602, 286=>602, |
|
34 | +287=>602, 288=>602, 289=>602, 290=>602, 291=>602, 292=>602, 293=>602, 294=>602, 295=>602, 296=>602, |
|
35 | +297=>602, 298=>602, 299=>602, 300=>602, 301=>602, 302=>602, 303=>602, 304=>602, 305=>602, 306=>602, |
|
36 | +307=>602, 308=>602, 309=>602, 310=>602, 311=>602, 312=>602, 313=>602, 314=>602, 315=>602, 316=>602, |
|
37 | +317=>602, 318=>602, 319=>602, 320=>602, 321=>602, 322=>602, 323=>602, 324=>602, 325=>602, 326=>602, |
|
38 | +327=>602, 328=>602, 329=>602, 330=>602, 331=>602, 332=>602, 333=>602, 334=>602, 335=>602, 336=>602, |
|
39 | +337=>602, 340=>602, 341=>602, 342=>602, 343=>602, 344=>602, 345=>602, 346=>602, 347=>602, 348=>602, |
|
40 | +349=>602, 350=>602, 351=>602, 354=>602, 355=>602, 356=>602, 357=>602, 358=>602, 359=>602, 360=>602, |
|
41 | +361=>602, 362=>602, 363=>602, 364=>602, 365=>602, 366=>602, 367=>602, 368=>602, 369=>602, 370=>602, |
|
42 | +371=>602, 372=>602, 373=>602, 374=>602, 375=>602, 377=>602, 378=>602, 379=>602, 380=>602, 383=>602, |
|
43 | +384=>602, 385=>602, 386=>602, 387=>602, 388=>602, 389=>602, 390=>602, 391=>602, 392=>602, 393=>602, |
|
44 | +394=>602, 395=>602, 396=>602, 397=>602, 398=>602, 399=>602, 400=>602, 401=>602, 403=>602, 404=>602, |
|
45 | +405=>602, 406=>602, 407=>602, 408=>602, 409=>602, 410=>602, 411=>602, 412=>602, 413=>602, 414=>602, |
|
46 | +415=>602, 416=>602, 417=>602, 418=>602, 419=>602, 420=>602, 421=>602, 422=>602, 423=>602, 424=>602, |
|
47 | +425=>602, 426=>602, 427=>602, 428=>602, 429=>602, 430=>602, 431=>602, 432=>602, 433=>602, 434=>602, |
|
48 | +435=>602, 436=>602, 437=>602, 438=>602, 439=>602, 440=>602, 441=>602, 442=>602, 443=>602, 444=>602, |
|
49 | +445=>602, 446=>602, 447=>602, 448=>602, 449=>602, 450=>602, 451=>602, 461=>602, 462=>602, 463=>602, |
|
50 | +464=>602, 465=>602, 466=>602, 467=>602, 468=>602, 469=>602, 470=>602, 471=>602, 472=>602, 473=>602, |
|
51 | +474=>602, 475=>602, 476=>602, 477=>602, 478=>602, 479=>602, 480=>602, 481=>602, 482=>602, 483=>602, |
|
52 | +486=>602, 487=>602, 488=>602, 489=>602, 490=>602, 491=>602, 492=>602, 493=>602, 494=>602, 495=>602, |
|
53 | +500=>602, 501=>602, 502=>602, 504=>602, 505=>602, 508=>602, 509=>602, 510=>602, 511=>602, 512=>602, |
|
54 | +513=>602, 514=>602, 515=>602, 516=>602, 517=>602, 518=>602, 519=>602, 520=>602, 521=>602, 522=>602, |
|
55 | +523=>602, 524=>602, 525=>602, 526=>602, 527=>602, 528=>602, 529=>602, 530=>602, 531=>602, 532=>602, |
|
56 | +533=>602, 534=>602, 535=>602, 536=>602, 537=>602, 538=>602, 539=>602, 540=>602, 541=>602, 542=>602, |
|
57 | +543=>602, 545=>602, 548=>602, 549=>602, 550=>602, 551=>602, 552=>602, 553=>602, 554=>602, 555=>602, |
|
58 | +556=>602, 557=>602, 558=>602, 559=>602, 560=>602, 561=>602, 562=>602, 563=>602, 564=>602, 565=>602, |
|
59 | +566=>602, 567=>602, 568=>602, 569=>602, 570=>602, 571=>602, 572=>602, 573=>602, 574=>602, 575=>602, |
|
60 | +576=>602, 577=>602, 580=>602, 581=>602, 588=>602, 589=>602, 592=>602, 593=>602, 594=>602, 595=>602, |
|
61 | +596=>602, 597=>602, 598=>602, 599=>602, 600=>602, 601=>602, 602=>602, 603=>602, 604=>602, 605=>602, |
|
62 | +606=>602, 607=>602, 608=>602, 609=>602, 610=>602, 611=>602, 612=>602, 613=>602, 614=>602, 615=>602, |
|
63 | +616=>602, 617=>602, 618=>602, 619=>602, 620=>602, 621=>602, 622=>602, 623=>602, 624=>602, 625=>602, |
|
64 | +626=>602, 627=>602, 628=>602, 629=>602, 630=>602, 631=>602, 632=>602, 633=>602, 634=>602, 635=>602, |
|
65 | +636=>602, 637=>602, 638=>602, 639=>602, 640=>602, 641=>602, 642=>602, 643=>602, 644=>602, 645=>602, |
|
66 | +646=>602, 647=>602, 648=>602, 649=>602, 650=>602, 651=>602, 652=>602, 653=>602, 654=>602, 655=>602, |
|
67 | +656=>602, 657=>602, 658=>602, 659=>602, 660=>602, 661=>602, 662=>602, 663=>602, 664=>602, 665=>602, |
|
68 | +666=>602, 667=>602, 668=>602, 669=>602, 670=>602, 671=>602, 672=>602, 673=>602, 674=>602, 675=>602, |
|
69 | +676=>602, 677=>602, 678=>602, 679=>602, 680=>602, 681=>602, 682=>602, 683=>602, 684=>602, 685=>602, |
|
70 | +686=>602, 687=>602, 688=>602, 689=>602, 690=>602, 691=>602, 692=>602, 693=>602, 694=>602, 695=>602, |
|
71 | +696=>602, 697=>602, 699=>602, 700=>602, 701=>602, 702=>602, 703=>602, 704=>602, 705=>602, 711=>602, |
|
72 | +712=>602, 713=>602, 716=>602, 717=>602, 720=>602, 721=>602, 722=>602, 723=>602, 726=>602, 727=>602, |
|
73 | +728=>602, 729=>602, 730=>602, 731=>602, 733=>602, 734=>602, 736=>602, 737=>602, 738=>602, 739=>602, |
|
74 | +740=>602, 741=>602, 742=>602, 743=>602, 744=>602, 745=>602, 750=>602, 755=>602, 768=>602, 769=>602, |
|
75 | +770=>602, 771=>602, 772=>602, 773=>602, 774=>602, 775=>602, 776=>602, 777=>602, 778=>602, 779=>602, |
|
76 | +780=>602, 781=>602, 782=>602, 783=>602, 784=>602, 785=>602, 786=>602, 787=>602, 788=>602, 789=>602, |
|
77 | +790=>602, 791=>602, 792=>602, 793=>602, 794=>602, 795=>602, 796=>602, 797=>602, 798=>602, 799=>602, |
|
78 | +800=>602, 801=>602, 802=>602, 803=>602, 804=>602, 805=>602, 806=>602, 807=>602, 808=>602, 809=>602, |
|
79 | +810=>602, 811=>602, 812=>602, 813=>602, 814=>602, 815=>602, 816=>602, 817=>602, 818=>602, 819=>602, |
|
80 | +820=>602, 821=>602, 822=>602, 823=>602, 824=>602, 825=>602, 826=>602, 827=>602, 828=>602, 829=>602, |
|
81 | +830=>602, 831=>602, 835=>602, 856=>602, 865=>602, 884=>602, 885=>602, 890=>602, 894=>602, 900=>602, |
|
82 | +901=>602, 902=>602, 903=>602, 904=>602, 905=>602, 906=>602, 908=>602, 910=>602, 911=>602, 912=>602, |
|
83 | +913=>602, 914=>602, 915=>602, 916=>602, 917=>602, 918=>602, 919=>602, 920=>602, 921=>602, 922=>602, |
|
84 | +923=>602, 924=>602, 925=>602, 926=>602, 927=>602, 928=>602, 929=>602, 931=>602, 932=>602, 933=>602, |
|
85 | +934=>602, 935=>602, 936=>602, 937=>602, 938=>602, 939=>602, 940=>602, 941=>602, 942=>602, 943=>602, |
|
86 | +944=>602, 945=>602, 946=>602, 947=>602, 948=>602, 949=>602, 950=>602, 951=>602, 952=>602, 953=>602, |
|
87 | +954=>602, 955=>602, 956=>602, 957=>602, 958=>602, 959=>602, 960=>602, 961=>602, 962=>602, 963=>602, |
|
88 | +964=>602, 965=>602, 966=>602, 967=>602, 968=>602, 969=>602, 970=>602, 971=>602, 972=>602, 973=>602, |
|
89 | +974=>602, 976=>602, 977=>602, 978=>602, 979=>602, 980=>602, 981=>602, 982=>602, 983=>602, 984=>602, |
|
90 | +985=>602, 986=>602, 987=>602, 988=>602, 989=>602, 990=>602, 991=>602, 992=>602, 993=>602, 1008=>602, |
|
91 | +1009=>602, 1010=>602, 1011=>602, 1012=>602, 1013=>602, 1014=>602, 1015=>602, 1016=>602, 1017=>602, 1018=>602, |
|
92 | +1019=>602, 1020=>602, 1021=>602, 1022=>602, 1023=>602, 1024=>602, 1025=>602, 1026=>602, 1027=>602, 1028=>602, |
|
93 | +1029=>602, 1030=>602, 1031=>602, 1032=>602, 1033=>602, 1034=>602, 1035=>602, 1036=>602, 1037=>602, 1038=>602, |
|
94 | +1039=>602, 1040=>602, 1041=>602, 1042=>602, 1043=>602, 1044=>602, 1045=>602, 1046=>602, 1047=>602, 1048=>602, |
|
95 | +1049=>602, 1050=>602, 1051=>602, 1052=>602, 1053=>602, 1054=>602, 1055=>602, 1056=>602, 1057=>602, 1058=>602, |
|
96 | +1059=>602, 1060=>602, 1061=>602, 1062=>602, 1063=>602, 1064=>602, 1065=>602, 1066=>602, 1067=>602, 1068=>602, |
|
97 | +1069=>602, 1070=>602, 1071=>602, 1072=>602, 1073=>602, 1074=>602, 1075=>602, 1076=>602, 1077=>602, 1078=>602, |
|
98 | +1079=>602, 1080=>602, 1081=>602, 1082=>602, 1083=>602, 1084=>602, 1085=>602, 1086=>602, 1087=>602, 1088=>602, |
|
99 | +1089=>602, 1090=>602, 1091=>602, 1092=>602, 1093=>602, 1094=>602, 1095=>602, 1096=>602, 1097=>602, 1098=>602, |
|
100 | +1099=>602, 1100=>602, 1101=>602, 1102=>602, 1103=>602, 1104=>602, 1105=>602, 1106=>602, 1107=>602, 1108=>602, |
|
101 | +1109=>602, 1110=>602, 1111=>602, 1112=>602, 1113=>602, 1114=>602, 1115=>602, 1116=>602, 1117=>602, 1118=>602, |
|
102 | +1119=>602, 1122=>602, 1123=>602, 1138=>602, 1139=>602, 1168=>602, 1169=>602, 1170=>602, 1171=>602, 1172=>602, |
|
103 | +1173=>602, 1174=>602, 1175=>602, 1176=>602, 1177=>602, 1178=>602, 1179=>602, 1186=>602, 1187=>602, 1194=>602, |
|
104 | +1195=>602, 1196=>602, 1197=>602, 1198=>602, 1199=>602, 1200=>602, 1201=>602, 1202=>602, 1203=>602, 1210=>602, |
|
105 | +1211=>602, 1216=>602, 1217=>602, 1218=>602, 1219=>602, 1220=>602, 1223=>602, 1224=>602, 1227=>602, 1228=>602, |
|
106 | +1231=>602, 1232=>602, 1233=>602, 1234=>602, 1235=>602, 1236=>602, 1237=>602, 1238=>602, 1239=>602, 1240=>602, |
|
107 | +1241=>602, 1242=>602, 1243=>602, 1244=>602, 1245=>602, 1246=>602, 1247=>602, 1248=>602, 1249=>602, 1250=>602, |
|
108 | +1251=>602, 1252=>602, 1253=>602, 1254=>602, 1255=>602, 1256=>602, 1257=>602, 1258=>602, 1259=>602, 1260=>602, |
|
109 | +1261=>602, 1262=>602, 1263=>602, 1264=>602, 1265=>602, 1266=>602, 1267=>602, 1268=>602, 1269=>602, 1270=>602, |
|
110 | +1271=>602, 1272=>602, 1273=>602, 1296=>602, 1297=>602, 1306=>602, 1307=>602, 1308=>602, 1309=>602, 3713=>602, |
|
111 | +3714=>602, 3716=>602, 3719=>602, 3720=>602, 3722=>602, 3725=>602, 3732=>602, 3733=>602, 3734=>602, 3735=>602, |
|
112 | +3737=>602, 3738=>602, 3739=>602, 3740=>602, 3741=>602, 3742=>602, 3743=>602, 3745=>602, 3746=>602, 3747=>602, |
|
113 | +3749=>602, 3751=>602, 3754=>602, 3755=>602, 3757=>602, 3758=>602, 3759=>602, 3760=>602, 3761=>602, 3762=>602, |
|
114 | +3763=>602, 3764=>602, 3765=>602, 3766=>602, 3767=>602, 3768=>602, 3769=>602, 3771=>602, 3772=>602, 3784=>602, |
|
115 | +3785=>602, 3786=>602, 3787=>602, 3788=>602, 3789=>602, 4304=>602, 4305=>602, 4306=>602, 4307=>602, 4308=>602, |
|
116 | +4309=>602, 4310=>602, 4311=>602, 4312=>602, 4313=>602, 4314=>602, 4315=>602, 4316=>602, 4317=>602, 4318=>602, |
|
117 | +4319=>602, 4320=>602, 4321=>602, 4322=>602, 4323=>602, 4324=>602, 4325=>602, 4326=>602, 4327=>602, 4328=>602, |
|
118 | +4329=>602, 4330=>602, 4331=>602, 4332=>602, 4333=>602, 4334=>602, 4335=>602, 4336=>602, 4337=>602, 4338=>602, |
|
119 | +4339=>602, 4340=>602, 4341=>602, 4342=>602, 4343=>602, 4344=>602, 4345=>602, 4346=>602, 4347=>602, 4348=>602, |
|
120 | +7426=>602, 7432=>602, 7433=>602, 7444=>602, 7446=>602, 7447=>602, 7453=>602, 7454=>602, 7455=>602, 7468=>602, |
|
121 | +7469=>602, 7470=>602, 7472=>602, 7473=>602, 7474=>602, 7475=>602, 7476=>602, 7477=>602, 7478=>602, 7479=>602, |
|
122 | +7480=>602, 7481=>602, 7482=>602, 7483=>602, 7484=>602, 7486=>602, 7487=>602, 7488=>602, 7489=>602, 7490=>602, |
|
123 | +7491=>602, 7492=>602, 7493=>602, 7494=>602, 7495=>602, 7496=>602, 7497=>602, 7498=>602, 7499=>602, 7500=>602, |
|
124 | +7501=>602, 7502=>602, 7503=>602, 7504=>602, 7505=>602, 7506=>602, 7507=>602, 7508=>602, 7509=>602, 7510=>602, |
|
125 | +7511=>602, 7512=>602, 7513=>602, 7514=>602, 7515=>602, 7522=>602, 7523=>602, 7524=>602, 7525=>602, 7543=>602, |
|
126 | +7544=>602, 7547=>602, 7557=>602, 7579=>602, 7580=>602, 7581=>602, 7582=>602, 7583=>602, 7584=>602, 7585=>602, |
|
127 | +7586=>602, 7587=>602, 7588=>602, 7589=>602, 7590=>602, 7591=>602, 7592=>602, 7593=>602, 7594=>602, 7595=>602, |
|
128 | +7596=>602, 7597=>602, 7598=>602, 7599=>602, 7600=>602, 7601=>602, 7602=>602, 7603=>602, 7604=>602, 7605=>602, |
|
129 | +7606=>602, 7607=>602, 7609=>602, 7610=>602, 7611=>602, 7612=>602, 7613=>602, 7614=>602, 7615=>602, 7680=>602, |
|
130 | +7681=>602, 7682=>602, 7683=>602, 7684=>602, 7685=>602, 7686=>602, 7687=>602, 7688=>602, 7689=>602, 7690=>602, |
|
131 | +7691=>602, 7692=>602, 7693=>602, 7694=>602, 7695=>602, 7696=>602, 7697=>602, 7698=>602, 7699=>602, 7704=>602, |
|
132 | +7705=>602, 7706=>602, 7707=>602, 7708=>602, 7709=>602, 7710=>602, 7711=>602, 7712=>602, 7713=>602, 7714=>602, |
|
133 | +7715=>602, 7716=>602, 7717=>602, 7718=>602, 7719=>602, 7720=>602, 7721=>602, 7722=>602, 7723=>602, 7724=>602, |
|
134 | +7725=>602, 7728=>602, 7729=>602, 7730=>602, 7731=>602, 7732=>602, 7733=>602, 7734=>602, 7735=>602, 7736=>602, |
|
135 | +7737=>602, 7738=>602, 7739=>602, 7740=>602, 7741=>602, 7742=>602, 7743=>602, 7744=>602, 7745=>602, 7746=>602, |
|
136 | +7747=>602, 7748=>602, 7749=>602, 7750=>602, 7751=>602, 7752=>602, 7753=>602, 7754=>602, 7755=>602, 7756=>602, |
|
137 | +7757=>602, 7764=>602, 7765=>602, 7766=>602, 7767=>602, 7768=>602, 7769=>602, 7770=>602, 7771=>602, 7772=>602, |
|
138 | +7773=>602, 7774=>602, 7775=>602, 7776=>602, 7777=>602, 7778=>602, 7779=>602, 7784=>602, 7785=>602, 7786=>602, |
|
139 | +7787=>602, 7788=>602, 7789=>602, 7790=>602, 7791=>602, 7792=>602, 7793=>602, 7794=>602, 7795=>602, 7796=>602, |
|
140 | +7797=>602, 7798=>602, 7799=>602, 7800=>602, 7801=>602, 7804=>602, 7805=>602, 7806=>602, 7807=>602, 7808=>602, |
|
141 | +7809=>602, 7810=>602, 7811=>602, 7812=>602, 7813=>602, 7814=>602, 7815=>602, 7816=>602, 7817=>602, 7818=>602, |
|
142 | +7819=>602, 7820=>602, 7821=>602, 7822=>602, 7823=>602, 7824=>602, 7825=>602, 7826=>602, 7827=>602, 7828=>602, |
|
143 | +7829=>602, 7830=>602, 7831=>602, 7832=>602, 7833=>602, 7835=>602, 7839=>602, 7840=>602, 7841=>602, 7852=>602, |
|
144 | +7853=>602, 7856=>602, 7857=>602, 7862=>602, 7863=>602, 7864=>602, 7865=>602, 7868=>602, 7869=>602, 7878=>602, |
|
145 | +7879=>602, 7882=>602, 7883=>602, 7884=>602, 7885=>602, 7896=>602, 7897=>602, 7898=>602, 7899=>602, 7900=>602, |
|
146 | +7901=>602, 7904=>602, 7905=>602, 7906=>602, 7907=>602, 7908=>602, 7909=>602, 7912=>602, 7913=>602, 7914=>602, |
|
147 | +7915=>602, 7918=>602, 7919=>602, 7920=>602, 7921=>602, 7922=>602, 7923=>602, 7924=>602, 7925=>602, 7928=>602, |
|
148 | +7929=>602, 7936=>602, 7937=>602, 7938=>602, 7939=>602, 7940=>602, 7941=>602, 7942=>602, 7943=>602, 7944=>602, |
|
149 | +7945=>602, 7946=>602, 7947=>602, 7948=>602, 7949=>602, 7950=>602, 7951=>602, 7952=>602, 7953=>602, 7954=>602, |
|
150 | +7955=>602, 7956=>602, 7957=>602, 7960=>602, 7961=>602, 7962=>602, 7963=>602, 7964=>602, 7965=>602, 7968=>602, |
|
151 | +7969=>602, 7970=>602, 7971=>602, 7972=>602, 7973=>602, 7974=>602, 7975=>602, 7976=>602, 7977=>602, 7978=>602, |
|
152 | +7979=>602, 7980=>602, 7981=>602, 7982=>602, 7983=>602, 7984=>602, 7985=>602, 7986=>602, 7987=>602, 7988=>602, |
|
153 | +7989=>602, 7990=>602, 7991=>602, 7992=>602, 7993=>602, 7994=>602, 7995=>602, 7996=>602, 7997=>602, 7998=>602, |
|
154 | +7999=>602, 8000=>602, 8001=>602, 8002=>602, 8003=>602, 8004=>602, 8005=>602, 8008=>602, 8009=>602, 8010=>602, |
|
155 | +8011=>602, 8012=>602, 8013=>602, 8016=>602, 8017=>602, 8018=>602, 8019=>602, 8020=>602, 8021=>602, 8022=>602, |
|
156 | +8023=>602, 8025=>602, 8027=>602, 8029=>602, 8031=>602, 8032=>602, 8033=>602, 8034=>602, 8035=>602, 8036=>602, |
|
157 | +8037=>602, 8038=>602, 8039=>602, 8040=>602, 8041=>602, 8042=>602, 8043=>602, 8044=>602, 8045=>602, 8046=>602, |
|
158 | +8047=>602, 8048=>602, 8049=>602, 8050=>602, 8051=>602, 8052=>602, 8053=>602, 8054=>602, 8055=>602, 8056=>602, |
|
159 | +8057=>602, 8058=>602, 8059=>602, 8060=>602, 8061=>602, 8064=>602, 8065=>602, 8066=>602, 8067=>602, 8068=>602, |
|
160 | +8069=>602, 8070=>602, 8071=>602, 8072=>602, 8073=>602, 8074=>602, 8075=>602, 8076=>602, 8077=>602, 8078=>602, |
|
161 | +8079=>602, 8080=>602, 8081=>602, 8082=>602, 8083=>602, 8084=>602, 8085=>602, 8086=>602, 8087=>602, 8088=>602, |
|
162 | +8089=>602, 8090=>602, 8091=>602, 8092=>602, 8093=>602, 8094=>602, 8095=>602, 8096=>602, 8097=>602, 8098=>602, |
|
163 | +8099=>602, 8100=>602, 8101=>602, 8102=>602, 8103=>602, 8104=>602, 8105=>602, 8106=>602, 8107=>602, 8108=>602, |
|
164 | +8109=>602, 8110=>602, 8111=>602, 8112=>602, 8113=>602, 8114=>602, 8115=>602, 8116=>602, 8118=>602, 8119=>602, |
|
165 | +8120=>602, 8121=>602, 8122=>602, 8123=>602, 8124=>602, 8125=>602, 8126=>602, 8127=>602, 8128=>602, 8129=>602, |
|
166 | +8130=>602, 8131=>602, 8132=>602, 8134=>602, 8135=>602, 8136=>602, 8137=>602, 8138=>602, 8139=>602, 8140=>602, |
|
167 | +8141=>602, 8142=>602, 8143=>602, 8144=>602, 8145=>602, 8146=>602, 8147=>602, 8150=>602, 8151=>602, 8152=>602, |
|
168 | +8153=>602, 8154=>602, 8155=>602, 8157=>602, 8158=>602, 8159=>602, 8160=>602, 8161=>602, 8162=>602, 8163=>602, |
|
169 | +8164=>602, 8165=>602, 8166=>602, 8167=>602, 8168=>602, 8169=>602, 8170=>602, 8171=>602, 8172=>602, 8173=>602, |
|
170 | +8174=>602, 8175=>602, 8178=>602, 8179=>602, 8180=>602, 8182=>602, 8183=>602, 8184=>602, 8185=>602, 8186=>602, |
|
171 | +8187=>602, 8188=>602, 8189=>602, 8190=>602, 8192=>602, 8193=>602, 8194=>602, 8195=>602, 8196=>602, 8197=>602, |
|
172 | +8198=>602, 8199=>602, 8200=>602, 8201=>602, 8202=>602, 8208=>602, 8209=>602, 8210=>602, 8213=>602, 8215=>602, |
|
173 | +8219=>602, 8223=>602, 8227=>602, 8239=>602, 8241=>602, 8242=>602, 8243=>602, 8244=>602, 8245=>602, 8246=>602, |
|
174 | +8247=>602, 8252=>602, 8253=>602, 8254=>602, 8261=>602, 8262=>602, 8263=>602, 8264=>602, 8265=>602, 8287=>602, |
|
175 | +8304=>602, 8305=>602, 8308=>602, 8309=>602, 8310=>602, 8311=>602, 8312=>602, 8313=>602, 8314=>602, 8315=>602, |
|
176 | +8316=>602, 8317=>602, 8318=>602, 8319=>602, 8320=>602, 8321=>602, 8322=>602, 8323=>602, 8324=>602, 8325=>602, |
|
177 | +8326=>602, 8327=>602, 8328=>602, 8329=>602, 8330=>602, 8331=>602, 8332=>602, 8333=>602, 8334=>602, 8336=>602, |
|
178 | +8337=>602, 8338=>602, 8339=>602, 8340=>602, 8352=>602, 8353=>602, 8354=>602, 8355=>602, 8356=>602, 8357=>602, |
|
179 | +8358=>602, 8359=>602, 8360=>602, 8361=>602, 8362=>602, 8363=>602, 8365=>602, 8366=>602, 8367=>602, 8368=>602, |
|
180 | +8369=>602, 8370=>602, 8371=>602, 8372=>602, 8373=>602, 8450=>602, 8453=>602, 8461=>602, 8462=>602, 8463=>602, |
|
181 | +8469=>602, 8470=>602, 8471=>602, 8473=>602, 8474=>602, 8477=>602, 8484=>602, 8486=>602, 8490=>602, 8491=>602, |
|
182 | +8494=>602, 8531=>602, 8532=>602, 8533=>602, 8534=>602, 8535=>602, 8536=>602, 8537=>602, 8538=>602, 8539=>602, |
|
183 | +8540=>602, 8541=>602, 8542=>602, 8543=>602, 8592=>602, 8593=>602, 8594=>602, 8595=>602, 8596=>602, 8597=>602, |
|
184 | +8598=>602, 8599=>602, 8600=>602, 8601=>602, 8602=>602, 8603=>602, 8604=>602, 8605=>602, 8606=>602, 8607=>602, |
|
185 | +8608=>602, 8609=>602, 8610=>602, 8611=>602, 8612=>602, 8613=>602, 8614=>602, 8615=>602, 8616=>602, 8617=>602, |
|
186 | +8618=>602, 8619=>602, 8620=>602, 8621=>602, 8622=>602, 8623=>602, 8624=>602, 8625=>602, 8626=>602, 8627=>602, |
|
187 | +8628=>602, 8629=>602, 8630=>602, 8631=>602, 8632=>602, 8633=>602, 8634=>602, 8635=>602, 8636=>602, 8637=>602, |
|
188 | +8638=>602, 8639=>602, 8640=>602, 8641=>602, 8642=>602, 8643=>602, 8644=>602, 8645=>602, 8646=>602, 8647=>602, |
|
189 | +8648=>602, 8649=>602, 8650=>602, 8651=>602, 8652=>602, 8653=>602, 8654=>602, 8655=>602, 8656=>602, 8657=>602, |
|
190 | +8658=>602, 8659=>602, 8660=>602, 8661=>602, 8662=>602, 8663=>602, 8664=>602, 8665=>602, 8666=>602, 8667=>602, |
|
191 | +8668=>602, 8669=>602, 8670=>602, 8671=>602, 8672=>602, 8673=>602, 8674=>602, 8675=>602, 8676=>602, 8677=>602, |
|
192 | +8678=>602, 8679=>602, 8680=>602, 8681=>602, 8682=>602, 8683=>602, 8684=>602, 8685=>602, 8686=>602, 8687=>602, |
|
193 | +8688=>602, 8689=>602, 8690=>602, 8691=>602, 8692=>602, 8693=>602, 8694=>602, 8695=>602, 8696=>602, 8697=>602, |
|
194 | +8698=>602, 8699=>602, 8700=>602, 8701=>602, 8702=>602, 8703=>602, 8704=>602, 8705=>602, 8706=>602, 8707=>602, |
|
195 | +8708=>602, 8709=>602, 8710=>602, 8711=>602, 8712=>602, 8713=>602, 8714=>602, 8715=>602, 8716=>602, 8717=>602, |
|
196 | +8719=>602, 8721=>602, 8722=>602, 8723=>602, 8725=>602, 8727=>602, 8728=>602, 8729=>602, 8730=>602, 8731=>602, |
|
197 | +8732=>602, 8733=>602, 8734=>602, 8735=>602, 8736=>602, 8743=>602, 8744=>602, 8745=>602, 8746=>602, 8747=>602, |
|
198 | +8748=>602, 8749=>602, 8760=>602, 8761=>602, 8762=>602, 8763=>602, 8764=>602, 8765=>602, 8769=>602, 8770=>602, |
|
199 | +8771=>602, 8772=>602, 8773=>602, 8774=>602, 8775=>602, 8776=>602, 8777=>602, 8778=>602, 8779=>602, 8780=>602, |
|
200 | +8781=>602, 8782=>602, 8783=>602, 8784=>602, 8785=>602, 8786=>602, 8787=>602, 8788=>602, 8789=>602, 8790=>602, |
|
201 | +8791=>602, 8792=>602, 8793=>602, 8794=>602, 8795=>602, 8796=>602, 8797=>602, 8798=>602, 8799=>602, 8800=>602, |
|
202 | +8801=>602, 8802=>602, 8803=>602, 8804=>602, 8805=>602, 8806=>602, 8807=>602, 8808=>602, 8809=>602, 8813=>602, |
|
203 | +8814=>602, 8815=>602, 8816=>602, 8817=>602, 8818=>602, 8819=>602, 8820=>602, 8821=>602, 8822=>602, 8823=>602, |
|
204 | +8824=>602, 8825=>602, 8826=>602, 8827=>602, 8828=>602, 8829=>602, 8830=>602, 8831=>602, 8832=>602, 8833=>602, |
|
205 | +8834=>602, 8835=>602, 8836=>602, 8837=>602, 8838=>602, 8839=>602, 8840=>602, 8841=>602, 8842=>602, 8843=>602, |
|
206 | +8847=>602, 8848=>602, 8849=>602, 8850=>602, 8853=>602, 8854=>602, 8855=>602, 8856=>602, 8857=>602, 8858=>602, |
|
207 | +8859=>602, 8860=>602, 8861=>602, 8862=>602, 8863=>602, 8864=>602, 8865=>602, 8901=>602, 8902=>602, 8909=>602, |
|
208 | +8922=>602, 8923=>602, 8924=>602, 8925=>602, 8926=>602, 8927=>602, 8928=>602, 8929=>602, 8930=>602, 8931=>602, |
|
209 | +8932=>602, 8933=>602, 8934=>602, 8935=>602, 8936=>602, 8937=>602, 8943=>602, 8960=>602, 8961=>602, 8962=>602, |
|
210 | +8963=>602, 8964=>602, 8965=>602, 8966=>602, 8968=>602, 8969=>602, 8970=>602, 8971=>602, 8972=>602, 8973=>602, |
|
211 | +8974=>602, 8975=>602, 8976=>602, 8977=>602, 8978=>602, 8979=>602, 8980=>602, 8981=>602, 8984=>602, 8985=>602, |
|
212 | +8988=>602, 8989=>602, 8990=>602, 8991=>602, 8992=>602, 8993=>602, 8997=>602, 8998=>602, 8999=>602, 9000=>602, |
|
213 | +9003=>602, 9013=>602, 9015=>602, 9016=>602, 9017=>602, 9018=>602, 9019=>602, 9020=>602, 9021=>602, 9022=>602, |
|
214 | +9025=>602, 9026=>602, 9027=>602, 9028=>602, 9031=>602, 9032=>602, 9033=>602, 9035=>602, 9036=>602, 9037=>602, |
|
215 | +9040=>602, 9042=>602, 9043=>602, 9044=>602, 9047=>602, 9048=>602, 9049=>602, 9050=>602, 9051=>602, 9052=>602, |
|
216 | +9054=>602, 9055=>602, 9056=>602, 9059=>602, 9060=>602, 9061=>602, 9064=>602, 9065=>602, 9067=>602, 9068=>602, |
|
217 | +9069=>602, 9070=>602, 9071=>602, 9072=>602, 9075=>602, 9076=>602, 9077=>602, 9078=>602, 9079=>602, 9080=>602, |
|
218 | +9081=>602, 9082=>602, 9085=>602, 9088=>602, 9089=>602, 9090=>602, 9091=>602, 9096=>602, 9097=>602, 9098=>602, |
|
219 | +9099=>602, 9109=>602, 9115=>602, 9116=>602, 9117=>602, 9118=>602, 9119=>602, 9120=>602, 9121=>602, 9122=>602, |
|
220 | +9123=>602, 9124=>602, 9125=>602, 9126=>602, 9127=>602, 9128=>602, 9129=>602, 9130=>602, 9131=>602, 9132=>602, |
|
221 | +9133=>602, 9134=>602, 9166=>602, 9167=>602, 9251=>602, 9600=>602, 9601=>602, 9602=>602, 9603=>602, 9604=>602, |
|
222 | +9605=>602, 9606=>602, 9607=>602, 9608=>602, 9609=>602, 9610=>602, 9611=>602, 9612=>602, 9613=>602, 9614=>602, |
|
223 | +9615=>602, 9616=>602, 9617=>602, 9618=>602, 9619=>602, 9620=>602, 9621=>602, 9622=>602, 9623=>602, 9624=>602, |
|
224 | +9625=>602, 9626=>602, 9627=>602, 9628=>602, 9629=>602, 9630=>602, 9631=>602, 9632=>602, 9633=>602, 9634=>602, |
|
225 | +9635=>602, 9636=>602, 9637=>602, 9638=>602, 9639=>602, 9640=>602, 9641=>602, 9642=>602, 9643=>602, 9644=>602, |
|
226 | +9645=>602, 9646=>602, 9647=>602, 9648=>602, 9649=>602, 9650=>602, 9651=>602, 9652=>602, 9653=>602, 9654=>602, |
|
227 | +9655=>602, 9656=>602, 9657=>602, 9658=>602, 9659=>602, 9660=>602, 9661=>602, 9662=>602, 9663=>602, 9664=>602, |
|
228 | +9665=>602, 9666=>602, 9667=>602, 9668=>602, 9669=>602, 9670=>602, 9671=>602, 9672=>602, 9673=>602, 9674=>602, |
|
229 | +9675=>602, 9676=>602, 9677=>602, 9678=>602, 9679=>602, 9680=>602, 9681=>602, 9682=>602, 9683=>602, 9684=>602, |
|
230 | +9685=>602, 9686=>602, 9687=>602, 9688=>602, 9689=>602, 9690=>602, 9691=>602, 9692=>602, 9693=>602, 9694=>602, |
|
231 | +9695=>602, 9696=>602, 9697=>602, 9698=>602, 9699=>602, 9700=>602, 9701=>602, 9702=>602, 9703=>602, 9704=>602, |
|
232 | +9705=>602, 9706=>602, 9707=>602, 9708=>602, 9709=>602, 9710=>602, 9711=>602, 9712=>602, 9713=>602, 9714=>602, |
|
233 | +9715=>602, 9716=>602, 9717=>602, 9718=>602, 9719=>602, 9720=>602, 9721=>602, 9722=>602, 9723=>602, 9724=>602, |
|
234 | +9725=>602, 9726=>602, 9727=>602, 9728=>602, 9784=>602, 9785=>602, 9786=>602, 9787=>602, 9788=>602, 9791=>602, |
|
235 | +9792=>602, 9793=>602, 9794=>602, 9795=>602, 9796=>602, 9797=>602, 9798=>602, 9799=>602, 9824=>602, 9825=>602, |
|
236 | +9826=>602, 9827=>602, 9828=>602, 9829=>602, 9830=>602, 9831=>602, 9833=>602, 9834=>602, 9835=>602, 9836=>602, |
|
237 | +9837=>602, 9838=>602, 9839=>602, 10181=>602, 10182=>602, 10208=>602, 10216=>602, 10217=>602, 10731=>602, 10746=>602, |
|
238 | +10747=>602, 10799=>602, 11026=>602, 11027=>602, 11028=>602, 11029=>602, 11030=>602, 11031=>602, 11032=>602, 11033=>602, |
|
239 | +11034=>602, 11364=>602, 11374=>602, 11375=>602, 11381=>602, 11382=>602, 11383=>602, 11385=>602, 11386=>602, 11388=>602, |
|
240 | +11389=>602, 11800=>602, 11810=>602, 11811=>602, 11812=>602, 11813=>602, 11822=>602, 42760=>602, 42761=>602, 42762=>602, |
|
241 | +42763=>602, 42764=>602, 42765=>602, 42766=>602, 42767=>602, 42768=>602, 42769=>602, 42770=>602, 42771=>602, 42772=>602, |
|
242 | +42773=>602, 42774=>602, 42779=>602, 42780=>602, 42781=>602, 42782=>602, 42783=>602, 42790=>602, 42791=>602, 42889=>602, |
|
243 | +42890=>602, 42891=>602, 42892=>602, 63173=>602, 64257=>602, 64258=>602, 65529=>602, 65530=>602, 65531=>602, 65532=>602, |
|
244 | 244 | 65533=>602); |
245 | -$enc=''; |
|
246 | -$diff=''; |
|
247 | -$file='dejavusansmonobi.z'; |
|
248 | -$ctg='dejavusansmonobi.ctg.z'; |
|
249 | -$originalsize=223408; |
|
245 | +$enc = ''; |
|
246 | +$diff = ''; |
|
247 | +$file = 'dejavusansmonobi.z'; |
|
248 | +$ctg = 'dejavusansmonobi.ctg.z'; |
|
249 | +$originalsize = 223408; |
|
250 | 250 | ?> |
251 | 251 | \ No newline at end of file |
@@ -1,4 +1,6 @@ |
||
1 | -<?php if ( !defined( 'ABSPATH' ) ) exit; |
|
1 | +<?php if ( !defined( 'ABSPATH' ) ) { |
|
2 | + exit; |
|
3 | +} |
|
2 | 4 | /** |
3 | 5 | * Fichier de définition du modèle des taxinomies / File for term model definition |
4 | 6 | * |
@@ -34,212 +34,212 @@ |
||
34 | 34 | |
35 | 35 | if (!defined('K_TCPDF_EXTERNAL_CONFIG')) { |
36 | 36 | |
37 | - define('K_TCPDF_EXTERNAL_CONFIG', true); |
|
38 | - |
|
39 | - // DOCUMENT_ROOT fix for IIS Webserver |
|
40 | - if ((!isset($_SERVER['DOCUMENT_ROOT'])) OR (empty($_SERVER['DOCUMENT_ROOT']))) { |
|
41 | - if (isset($_SERVER['SCRIPT_FILENAME'])) { |
|
42 | - $_SERVER['DOCUMENT_ROOT'] = str_replace( |
|
43 | - '\\', |
|
44 | - '/', |
|
45 | - substr($_SERVER['SCRIPT_FILENAME'], 0, 0-strlen($_SERVER['PHP_SELF'])) |
|
46 | - ); |
|
47 | - } elseif (isset($_SERVER['PATH_TRANSLATED'])) { |
|
48 | - $_SERVER['DOCUMENT_ROOT'] = str_replace( |
|
49 | - '\\', |
|
50 | - '/', |
|
51 | - substr(str_replace('\\\\', '\\', $_SERVER['PATH_TRANSLATED']), 0, 0-strlen($_SERVER['PHP_SELF'])) |
|
52 | - ); |
|
53 | - } else { |
|
54 | - // define here your DOCUMENT_ROOT path if the previous fails |
|
55 | - $_SERVER['DOCUMENT_ROOT'] = '/var/www'; |
|
56 | - } |
|
57 | - } |
|
58 | - |
|
59 | - // Automatic calculation for the following K_PATH_MAIN constant |
|
60 | - $kPathMain = str_replace('\\', '/', dirname(__FILE__)); |
|
61 | - $kPathMain = dirname($kPathMain).'/'; // remove the current directory |
|
62 | - $kPathMain.= '_tcpdf_'.HTML2PDF_USED_TCPDF_VERSION.'/'; |
|
63 | - define('K_PATH_MAIN', $kPathMain); |
|
64 | - |
|
65 | - // Automatic calculation for the following K_PATH_URL constant |
|
66 | - if (isset($_SERVER['HTTP_HOST']) AND (!empty($_SERVER['HTTP_HOST']))) { |
|
67 | - if (isset($_SERVER['HTTPS']) AND (!empty($_SERVER['HTTPS'])) AND strtolower($_SERVER['HTTPS'])!='off') { |
|
68 | - $kPathUrl = 'https://'; |
|
69 | - } else { |
|
70 | - $kPathUrl = 'http://'; |
|
71 | - } |
|
72 | - $kPathUrl .= $_SERVER['HTTP_HOST']; |
|
73 | - $kPathUrl .= str_replace('\\', '/', substr(K_PATH_MAIN, (strlen($_SERVER['DOCUMENT_ROOT']) - 1))); |
|
74 | - } |
|
75 | - |
|
76 | - /** |
|
77 | - * URL path to tcpdf installation folder (http://localhost/tcpdf/). |
|
78 | - * By default it is automatically calculated but you can also set it as a fixed string to improve performances. |
|
79 | - */ |
|
80 | - define('K_PATH_URL', $kPathUrl); |
|
81 | - |
|
82 | - /** |
|
83 | - * path for PDF fonts |
|
84 | - * use K_PATH_MAIN.'fonts/old/' for old non-UTF8 fonts |
|
85 | - */ |
|
86 | - define('K_PATH_FONTS', K_PATH_MAIN.'fonts/'); |
|
87 | - |
|
88 | - /** |
|
89 | - * cache directory for temporary files (full path) |
|
90 | - */ |
|
91 | - define('K_PATH_CACHE', K_PATH_MAIN.'cache/'); |
|
92 | - |
|
93 | - /** |
|
94 | - * cache directory for temporary files (url path) |
|
95 | - */ |
|
96 | - define('K_PATH_URL_CACHE', K_PATH_URL.'cache/'); |
|
97 | - |
|
98 | - /** |
|
99 | - *images directory |
|
100 | - */ |
|
101 | - define('K_PATH_IMAGES', K_PATH_MAIN.'images/'); |
|
102 | - |
|
103 | - /** |
|
104 | - * blank image |
|
105 | - */ |
|
106 | - define('K_BLANK_IMAGE', K_PATH_IMAGES.'_blank.png'); |
|
107 | - |
|
108 | - /** |
|
109 | - * page format |
|
110 | - */ |
|
111 | - define('PDF_PAGE_FORMAT', 'A4'); |
|
112 | - |
|
113 | - /** |
|
114 | - * page orientation (P=portrait, L=landscape) |
|
115 | - */ |
|
116 | - define('PDF_PAGE_ORIENTATION', 'P'); |
|
117 | - |
|
118 | - /** |
|
119 | - * document creator |
|
120 | - */ |
|
121 | - define('PDF_CREATOR', 'HTML2PDF - TCPDF'); |
|
122 | - |
|
123 | - /** |
|
124 | - * document author |
|
125 | - */ |
|
126 | - define('PDF_AUTHOR', 'HTML2PDF - TCPDF'); |
|
127 | - |
|
128 | - /** |
|
129 | - * header title |
|
130 | - */ |
|
131 | - define('PDF_HEADER_TITLE', null); |
|
132 | - |
|
133 | - /** |
|
134 | - * header description string |
|
135 | - */ |
|
136 | - define('PDF_HEADER_STRING', null); |
|
137 | - |
|
138 | - /** |
|
139 | - * image logo |
|
140 | - */ |
|
141 | - define('PDF_HEADER_LOGO', null); |
|
142 | - |
|
143 | - /** |
|
144 | - * header logo image width [mm] |
|
145 | - */ |
|
146 | - define('PDF_HEADER_LOGO_WIDTH', null); |
|
147 | - |
|
148 | - /** |
|
149 | - * document unit of measure [pt=point, mm=millimeter, cm=centimeter, in=inch] |
|
150 | - */ |
|
151 | - define('PDF_UNIT', 'mm'); |
|
152 | - |
|
153 | - /** |
|
154 | - * header margin |
|
155 | - */ |
|
156 | - define('PDF_MARGIN_HEADER', 0); |
|
157 | - |
|
158 | - /** |
|
159 | - * footer margin |
|
160 | - */ |
|
161 | - define('PDF_MARGIN_FOOTER', 0); |
|
162 | - |
|
163 | - /** |
|
164 | - * top margin |
|
165 | - */ |
|
166 | - define('PDF_MARGIN_TOP', 0); |
|
167 | - |
|
168 | - /** |
|
169 | - * bottom margin |
|
170 | - */ |
|
171 | - define('PDF_MARGIN_BOTTOM', 0); |
|
172 | - |
|
173 | - /** |
|
174 | - * left margin |
|
175 | - */ |
|
176 | - define('PDF_MARGIN_LEFT', 0); |
|
177 | - |
|
178 | - /** |
|
179 | - * right margin |
|
180 | - */ |
|
181 | - define('PDF_MARGIN_RIGHT', 0); |
|
182 | - |
|
183 | - /** |
|
184 | - * default main font name |
|
185 | - */ |
|
186 | - define('PDF_FONT_NAME_MAIN', 'helvetica'); |
|
187 | - |
|
188 | - /** |
|
189 | - * default main font size |
|
190 | - */ |
|
191 | - define('PDF_FONT_SIZE_MAIN', 10); |
|
192 | - |
|
193 | - /** |
|
194 | - * default data font name |
|
195 | - */ |
|
196 | - define('PDF_FONT_NAME_DATA', 'helvetica'); |
|
197 | - |
|
198 | - /** |
|
199 | - * default data font size |
|
200 | - */ |
|
201 | - define('PDF_FONT_SIZE_DATA', 8); |
|
202 | - |
|
203 | - /** |
|
204 | - * default monospaced font name |
|
205 | - */ |
|
206 | - define('PDF_FONT_MONOSPACED', 'courier'); |
|
207 | - |
|
208 | - /** |
|
209 | - * ratio used to adjust the conversion of pixels to user units |
|
210 | - */ |
|
211 | - define('PDF_IMAGE_SCALE_RATIO', 1); |
|
212 | - |
|
213 | - /** |
|
214 | - * magnification factor for titles |
|
215 | - */ |
|
216 | - define('HEAD_MAGNIFICATION', 1); |
|
217 | - |
|
218 | - /** |
|
219 | - * height of cell repect font height |
|
220 | - */ |
|
221 | - define('K_CELL_HEIGHT_RATIO', 1); |
|
222 | - |
|
223 | - /** |
|
224 | - * title magnification respect main font size |
|
225 | - */ |
|
226 | - define('K_TITLE_MAGNIFICATION', 1); |
|
227 | - |
|
228 | - /** |
|
229 | - * reduction factor for small font |
|
230 | - */ |
|
231 | - define('K_SMALL_RATIO', 2/3); |
|
232 | - |
|
233 | - /** |
|
234 | - * set to true to enable the special procedure used to avoid the overlappind of symbols on Thai language |
|
235 | - */ |
|
236 | - define('K_THAI_TOPCHARS', true); |
|
237 | - |
|
238 | - /** |
|
239 | - * if true allows to call TCPDF methods using HTML syntax |
|
240 | - * IMPORTANT: For security reason, disable this feature if you are printing user HTML content. |
|
241 | - */ |
|
242 | - define('K_TCPDF_CALLS_IN_HTML', false); |
|
37 | + define('K_TCPDF_EXTERNAL_CONFIG', true); |
|
38 | + |
|
39 | + // DOCUMENT_ROOT fix for IIS Webserver |
|
40 | + if ((!isset($_SERVER['DOCUMENT_ROOT'])) OR (empty($_SERVER['DOCUMENT_ROOT']))) { |
|
41 | + if (isset($_SERVER['SCRIPT_FILENAME'])) { |
|
42 | + $_SERVER['DOCUMENT_ROOT'] = str_replace( |
|
43 | + '\\', |
|
44 | + '/', |
|
45 | + substr($_SERVER['SCRIPT_FILENAME'], 0, 0-strlen($_SERVER['PHP_SELF'])) |
|
46 | + ); |
|
47 | + } elseif (isset($_SERVER['PATH_TRANSLATED'])) { |
|
48 | + $_SERVER['DOCUMENT_ROOT'] = str_replace( |
|
49 | + '\\', |
|
50 | + '/', |
|
51 | + substr(str_replace('\\\\', '\\', $_SERVER['PATH_TRANSLATED']), 0, 0-strlen($_SERVER['PHP_SELF'])) |
|
52 | + ); |
|
53 | + } else { |
|
54 | + // define here your DOCUMENT_ROOT path if the previous fails |
|
55 | + $_SERVER['DOCUMENT_ROOT'] = '/var/www'; |
|
56 | + } |
|
57 | + } |
|
58 | + |
|
59 | + // Automatic calculation for the following K_PATH_MAIN constant |
|
60 | + $kPathMain = str_replace('\\', '/', dirname(__FILE__)); |
|
61 | + $kPathMain = dirname($kPathMain).'/'; // remove the current directory |
|
62 | + $kPathMain.= '_tcpdf_'.HTML2PDF_USED_TCPDF_VERSION.'/'; |
|
63 | + define('K_PATH_MAIN', $kPathMain); |
|
64 | + |
|
65 | + // Automatic calculation for the following K_PATH_URL constant |
|
66 | + if (isset($_SERVER['HTTP_HOST']) AND (!empty($_SERVER['HTTP_HOST']))) { |
|
67 | + if (isset($_SERVER['HTTPS']) AND (!empty($_SERVER['HTTPS'])) AND strtolower($_SERVER['HTTPS'])!='off') { |
|
68 | + $kPathUrl = 'https://'; |
|
69 | + } else { |
|
70 | + $kPathUrl = 'http://'; |
|
71 | + } |
|
72 | + $kPathUrl .= $_SERVER['HTTP_HOST']; |
|
73 | + $kPathUrl .= str_replace('\\', '/', substr(K_PATH_MAIN, (strlen($_SERVER['DOCUMENT_ROOT']) - 1))); |
|
74 | + } |
|
75 | + |
|
76 | + /** |
|
77 | + * URL path to tcpdf installation folder (http://localhost/tcpdf/). |
|
78 | + * By default it is automatically calculated but you can also set it as a fixed string to improve performances. |
|
79 | + */ |
|
80 | + define('K_PATH_URL', $kPathUrl); |
|
81 | + |
|
82 | + /** |
|
83 | + * path for PDF fonts |
|
84 | + * use K_PATH_MAIN.'fonts/old/' for old non-UTF8 fonts |
|
85 | + */ |
|
86 | + define('K_PATH_FONTS', K_PATH_MAIN.'fonts/'); |
|
87 | + |
|
88 | + /** |
|
89 | + * cache directory for temporary files (full path) |
|
90 | + */ |
|
91 | + define('K_PATH_CACHE', K_PATH_MAIN.'cache/'); |
|
92 | + |
|
93 | + /** |
|
94 | + * cache directory for temporary files (url path) |
|
95 | + */ |
|
96 | + define('K_PATH_URL_CACHE', K_PATH_URL.'cache/'); |
|
97 | + |
|
98 | + /** |
|
99 | + *images directory |
|
100 | + */ |
|
101 | + define('K_PATH_IMAGES', K_PATH_MAIN.'images/'); |
|
102 | + |
|
103 | + /** |
|
104 | + * blank image |
|
105 | + */ |
|
106 | + define('K_BLANK_IMAGE', K_PATH_IMAGES.'_blank.png'); |
|
107 | + |
|
108 | + /** |
|
109 | + * page format |
|
110 | + */ |
|
111 | + define('PDF_PAGE_FORMAT', 'A4'); |
|
112 | + |
|
113 | + /** |
|
114 | + * page orientation (P=portrait, L=landscape) |
|
115 | + */ |
|
116 | + define('PDF_PAGE_ORIENTATION', 'P'); |
|
117 | + |
|
118 | + /** |
|
119 | + * document creator |
|
120 | + */ |
|
121 | + define('PDF_CREATOR', 'HTML2PDF - TCPDF'); |
|
122 | + |
|
123 | + /** |
|
124 | + * document author |
|
125 | + */ |
|
126 | + define('PDF_AUTHOR', 'HTML2PDF - TCPDF'); |
|
127 | + |
|
128 | + /** |
|
129 | + * header title |
|
130 | + */ |
|
131 | + define('PDF_HEADER_TITLE', null); |
|
132 | + |
|
133 | + /** |
|
134 | + * header description string |
|
135 | + */ |
|
136 | + define('PDF_HEADER_STRING', null); |
|
137 | + |
|
138 | + /** |
|
139 | + * image logo |
|
140 | + */ |
|
141 | + define('PDF_HEADER_LOGO', null); |
|
142 | + |
|
143 | + /** |
|
144 | + * header logo image width [mm] |
|
145 | + */ |
|
146 | + define('PDF_HEADER_LOGO_WIDTH', null); |
|
147 | + |
|
148 | + /** |
|
149 | + * document unit of measure [pt=point, mm=millimeter, cm=centimeter, in=inch] |
|
150 | + */ |
|
151 | + define('PDF_UNIT', 'mm'); |
|
152 | + |
|
153 | + /** |
|
154 | + * header margin |
|
155 | + */ |
|
156 | + define('PDF_MARGIN_HEADER', 0); |
|
157 | + |
|
158 | + /** |
|
159 | + * footer margin |
|
160 | + */ |
|
161 | + define('PDF_MARGIN_FOOTER', 0); |
|
162 | + |
|
163 | + /** |
|
164 | + * top margin |
|
165 | + */ |
|
166 | + define('PDF_MARGIN_TOP', 0); |
|
167 | + |
|
168 | + /** |
|
169 | + * bottom margin |
|
170 | + */ |
|
171 | + define('PDF_MARGIN_BOTTOM', 0); |
|
172 | + |
|
173 | + /** |
|
174 | + * left margin |
|
175 | + */ |
|
176 | + define('PDF_MARGIN_LEFT', 0); |
|
177 | + |
|
178 | + /** |
|
179 | + * right margin |
|
180 | + */ |
|
181 | + define('PDF_MARGIN_RIGHT', 0); |
|
182 | + |
|
183 | + /** |
|
184 | + * default main font name |
|
185 | + */ |
|
186 | + define('PDF_FONT_NAME_MAIN', 'helvetica'); |
|
187 | + |
|
188 | + /** |
|
189 | + * default main font size |
|
190 | + */ |
|
191 | + define('PDF_FONT_SIZE_MAIN', 10); |
|
192 | + |
|
193 | + /** |
|
194 | + * default data font name |
|
195 | + */ |
|
196 | + define('PDF_FONT_NAME_DATA', 'helvetica'); |
|
197 | + |
|
198 | + /** |
|
199 | + * default data font size |
|
200 | + */ |
|
201 | + define('PDF_FONT_SIZE_DATA', 8); |
|
202 | + |
|
203 | + /** |
|
204 | + * default monospaced font name |
|
205 | + */ |
|
206 | + define('PDF_FONT_MONOSPACED', 'courier'); |
|
207 | + |
|
208 | + /** |
|
209 | + * ratio used to adjust the conversion of pixels to user units |
|
210 | + */ |
|
211 | + define('PDF_IMAGE_SCALE_RATIO', 1); |
|
212 | + |
|
213 | + /** |
|
214 | + * magnification factor for titles |
|
215 | + */ |
|
216 | + define('HEAD_MAGNIFICATION', 1); |
|
217 | + |
|
218 | + /** |
|
219 | + * height of cell repect font height |
|
220 | + */ |
|
221 | + define('K_CELL_HEIGHT_RATIO', 1); |
|
222 | + |
|
223 | + /** |
|
224 | + * title magnification respect main font size |
|
225 | + */ |
|
226 | + define('K_TITLE_MAGNIFICATION', 1); |
|
227 | + |
|
228 | + /** |
|
229 | + * reduction factor for small font |
|
230 | + */ |
|
231 | + define('K_SMALL_RATIO', 2/3); |
|
232 | + |
|
233 | + /** |
|
234 | + * set to true to enable the special procedure used to avoid the overlappind of symbols on Thai language |
|
235 | + */ |
|
236 | + define('K_THAI_TOPCHARS', true); |
|
237 | + |
|
238 | + /** |
|
239 | + * if true allows to call TCPDF methods using HTML syntax |
|
240 | + * IMPORTANT: For security reason, disable this feature if you are printing user HTML content. |
|
241 | + */ |
|
242 | + define('K_TCPDF_CALLS_IN_HTML', false); |
|
243 | 243 | } |
244 | 244 | |
245 | 245 | //============================================================+ |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php if ( !defined( 'ABSPATH' ) ) exit; |
|
1 | +<?php if (!defined('ABSPATH')) exit; |
|
2 | 2 | //============================================================+ |
3 | 3 | // File name : tcpdf_config.php |
4 | 4 | // Begin : 2004-06-11 |
@@ -42,13 +42,13 @@ discard block |
||
42 | 42 | $_SERVER['DOCUMENT_ROOT'] = str_replace( |
43 | 43 | '\\', |
44 | 44 | '/', |
45 | - substr($_SERVER['SCRIPT_FILENAME'], 0, 0-strlen($_SERVER['PHP_SELF'])) |
|
45 | + substr($_SERVER['SCRIPT_FILENAME'], 0, 0 - strlen($_SERVER['PHP_SELF'])) |
|
46 | 46 | ); |
47 | 47 | } elseif (isset($_SERVER['PATH_TRANSLATED'])) { |
48 | 48 | $_SERVER['DOCUMENT_ROOT'] = str_replace( |
49 | 49 | '\\', |
50 | 50 | '/', |
51 | - substr(str_replace('\\\\', '\\', $_SERVER['PATH_TRANSLATED']), 0, 0-strlen($_SERVER['PHP_SELF'])) |
|
51 | + substr(str_replace('\\\\', '\\', $_SERVER['PATH_TRANSLATED']), 0, 0 - strlen($_SERVER['PHP_SELF'])) |
|
52 | 52 | ); |
53 | 53 | } else { |
54 | 54 | // define here your DOCUMENT_ROOT path if the previous fails |
@@ -58,13 +58,13 @@ discard block |
||
58 | 58 | |
59 | 59 | // Automatic calculation for the following K_PATH_MAIN constant |
60 | 60 | $kPathMain = str_replace('\\', '/', dirname(__FILE__)); |
61 | - $kPathMain = dirname($kPathMain).'/'; // remove the current directory |
|
62 | - $kPathMain.= '_tcpdf_'.HTML2PDF_USED_TCPDF_VERSION.'/'; |
|
61 | + $kPathMain = dirname($kPathMain) . '/'; // remove the current directory |
|
62 | + $kPathMain .= '_tcpdf_' . HTML2PDF_USED_TCPDF_VERSION . '/'; |
|
63 | 63 | define('K_PATH_MAIN', $kPathMain); |
64 | 64 | |
65 | 65 | // Automatic calculation for the following K_PATH_URL constant |
66 | 66 | if (isset($_SERVER['HTTP_HOST']) AND (!empty($_SERVER['HTTP_HOST']))) { |
67 | - if (isset($_SERVER['HTTPS']) AND (!empty($_SERVER['HTTPS'])) AND strtolower($_SERVER['HTTPS'])!='off') { |
|
67 | + if (isset($_SERVER['HTTPS']) AND (!empty($_SERVER['HTTPS'])) AND strtolower($_SERVER['HTTPS']) != 'off') { |
|
68 | 68 | $kPathUrl = 'https://'; |
69 | 69 | } else { |
70 | 70 | $kPathUrl = 'http://'; |
@@ -83,27 +83,27 @@ discard block |
||
83 | 83 | * path for PDF fonts |
84 | 84 | * use K_PATH_MAIN.'fonts/old/' for old non-UTF8 fonts |
85 | 85 | */ |
86 | - define('K_PATH_FONTS', K_PATH_MAIN.'fonts/'); |
|
86 | + define('K_PATH_FONTS', K_PATH_MAIN . 'fonts/'); |
|
87 | 87 | |
88 | 88 | /** |
89 | 89 | * cache directory for temporary files (full path) |
90 | 90 | */ |
91 | - define('K_PATH_CACHE', K_PATH_MAIN.'cache/'); |
|
91 | + define('K_PATH_CACHE', K_PATH_MAIN . 'cache/'); |
|
92 | 92 | |
93 | 93 | /** |
94 | 94 | * cache directory for temporary files (url path) |
95 | 95 | */ |
96 | - define('K_PATH_URL_CACHE', K_PATH_URL.'cache/'); |
|
96 | + define('K_PATH_URL_CACHE', K_PATH_URL . 'cache/'); |
|
97 | 97 | |
98 | 98 | /** |
99 | 99 | *images directory |
100 | 100 | */ |
101 | - define('K_PATH_IMAGES', K_PATH_MAIN.'images/'); |
|
101 | + define('K_PATH_IMAGES', K_PATH_MAIN . 'images/'); |
|
102 | 102 | |
103 | 103 | /** |
104 | 104 | * blank image |
105 | 105 | */ |
106 | - define('K_BLANK_IMAGE', K_PATH_IMAGES.'_blank.png'); |
|
106 | + define('K_BLANK_IMAGE', K_PATH_IMAGES . '_blank.png'); |
|
107 | 107 | |
108 | 108 | /** |
109 | 109 | * page format |
@@ -228,7 +228,7 @@ discard block |
||
228 | 228 | /** |
229 | 229 | * reduction factor for small font |
230 | 230 | */ |
231 | - define('K_SMALL_RATIO', 2/3); |
|
231 | + define('K_SMALL_RATIO', 2 / 3); |
|
232 | 232 | |
233 | 233 | /** |
234 | 234 | * set to true to enable the special procedure used to avoid the overlappind of symbols on Thai language |
@@ -1,4 +1,6 @@ |
||
1 | -<?php if ( !defined( 'ABSPATH' ) ) exit; |
|
1 | +<?php if ( !defined( 'ABSPATH' ) ) { |
|
2 | + exit; |
|
3 | +} |
|
2 | 4 | /** |
3 | 5 | * Fichier de définition du modèle des taxinomies / File for term model definition |
4 | 6 | * |
@@ -11,158 +11,158 @@ |
||
11 | 11 | |
12 | 12 | class HTML2PDF_exception extends exception |
13 | 13 | { |
14 | - protected $_tag = null; |
|
15 | - protected $_html = null; |
|
16 | - protected $_other = null; |
|
17 | - protected $_image = null; |
|
18 | - protected $_messageHtml = ''; |
|
19 | - |
|
20 | - /** |
|
21 | - * generate a HTML2PDF exception |
|
22 | - * |
|
23 | - * @param int $err error number |
|
24 | - * @param mixed $other additionnal informations |
|
25 | - * @return string $html optionnal code HTML associated to the error |
|
26 | - */ |
|
27 | - final public function __construct($err = 0, $other = null, $html = '') |
|
28 | - { |
|
29 | - // read the error |
|
30 | - switch($err) |
|
31 | - { |
|
32 | - case 1: // Unsupported tag |
|
33 | - $msg = (HTML2PDF_locale::get('err01')); |
|
34 | - $msg = str_replace('[[OTHER]]', $other, $msg); |
|
35 | - $this->_tag = $other; |
|
36 | - break; |
|
37 | - |
|
38 | - case 2: // too long sentence |
|
39 | - $msg = (HTML2PDF_locale::get('err02')); |
|
40 | - $msg = str_replace('[[OTHER_0]]', $other[0], $msg); |
|
41 | - $msg = str_replace('[[OTHER_1]]', $other[1], $msg); |
|
42 | - $msg = str_replace('[[OTHER_2]]', $other[2], $msg); |
|
43 | - break; |
|
44 | - |
|
45 | - case 3: // closing tag in excess |
|
46 | - $msg = (HTML2PDF_locale::get('err03')); |
|
47 | - $msg = str_replace('[[OTHER]]', $other, $msg); |
|
48 | - $this->_tag = $other; |
|
49 | - break; |
|
50 | - |
|
51 | - case 4: // tags closed in the wrong order |
|
52 | - $msg = (HTML2PDF_locale::get('err04')); |
|
53 | - $msg = str_replace('[[OTHER]]', print_r($other, true), $msg); |
|
54 | - break; |
|
55 | - |
|
56 | - case 5: // unclosed tag |
|
57 | - $msg = (HTML2PDF_locale::get('err05')); |
|
58 | - $msg = str_replace('[[OTHER]]', print_r($other, true), $msg); |
|
59 | - break; |
|
60 | - |
|
61 | - case 6: // image can not be loaded |
|
62 | - $msg = (HTML2PDF_locale::get('err06')); |
|
63 | - $msg = str_replace('[[OTHER]]', $other, $msg); |
|
64 | - $this->_image = $other; |
|
65 | - break; |
|
66 | - |
|
67 | - case 7: // too big TD content |
|
68 | - $msg = (HTML2PDF_locale::get('err07')); |
|
69 | - break; |
|
70 | - |
|
71 | - case 8: // SVG tag not in DRAW tag |
|
72 | - $msg = (HTML2PDF_locale::get('err08')); |
|
73 | - $msg = str_replace('[[OTHER]]', $other, $msg); |
|
74 | - $this->_tag = $other; |
|
75 | - break; |
|
76 | - |
|
77 | - case 9: // deprecated |
|
78 | - $msg = (HTML2PDF_locale::get('err09')); |
|
79 | - $msg = str_replace('[[OTHER_0]]', $other[0], $msg); |
|
80 | - $msg = str_replace('[[OTHER_1]]', $other[1], $msg); |
|
81 | - $this->_tag = $other[0]; |
|
82 | - break; |
|
83 | - |
|
84 | - case 0: // specific error |
|
85 | - default: |
|
86 | - $msg = $other; |
|
87 | - break; |
|
88 | - } |
|
89 | - |
|
90 | - // create the HTML message |
|
91 | - $this->_messageHtml = '<span style="color: #AA0000; font-weight: bold;">'.HTML2PDF_locale::get('txt01', 'error: ').$err.'</span><br>'; |
|
92 | - $this->_messageHtml.= HTML2PDF_locale::get('txt02', 'file:').' '.$this->file.'<br>'; |
|
93 | - $this->_messageHtml.= HTML2PDF_locale::get('txt03', 'line:').' '.$this->line.'<br>'; |
|
94 | - $this->_messageHtml.= '<br>'; |
|
95 | - $this->_messageHtml.= $msg; |
|
96 | - |
|
97 | - // create the text message |
|
98 | - $msg = HTML2PDF_locale::get('txt01', 'error: ').$err.' : '.strip_tags($msg); |
|
99 | - |
|
100 | - // add the optionnal html content |
|
101 | - if ($html) { |
|
102 | - $this->_messageHtml.= "<br><br>HTML : ...".trim(htmlentities($html)).'...'; |
|
103 | - $this->_html = $html; |
|
104 | - $msg.= ' HTML : ...'.trim($html).'...'; |
|
105 | - } |
|
106 | - |
|
107 | - // save the other informations |
|
108 | - $this->_other = $other; |
|
109 | - |
|
110 | - // construct the exception |
|
111 | - parent::__construct($msg, $err); |
|
112 | - } |
|
113 | - |
|
114 | - /** |
|
115 | - * get the message as string |
|
116 | - * |
|
117 | - * @access public |
|
118 | - * @return string $messageHtml |
|
119 | - */ |
|
120 | - public function __toString() |
|
121 | - { |
|
122 | - return $this->_messageHtml; |
|
123 | - } |
|
124 | - |
|
125 | - /** |
|
126 | - * get the html tag name |
|
127 | - * |
|
128 | - * @access public |
|
129 | - * @return string $tagName |
|
130 | - */ |
|
131 | - public function getTAG() |
|
132 | - { |
|
133 | - return $this->_tag; |
|
134 | - } |
|
135 | - |
|
136 | - /** |
|
137 | - * get the optional html code |
|
138 | - * |
|
139 | - * @access public |
|
140 | - * @return string $html |
|
141 | - */ |
|
142 | - public function getHTML() |
|
143 | - { |
|
144 | - return $this->_html; |
|
145 | - } |
|
146 | - |
|
147 | - /** |
|
148 | - * get the optional other informations |
|
149 | - * |
|
150 | - * @access public |
|
151 | - * @return mixed $other |
|
152 | - */ |
|
153 | - public function getOTHER() |
|
154 | - { |
|
155 | - return $this->_other; |
|
156 | - } |
|
157 | - |
|
158 | - /** |
|
159 | - * get the image source |
|
160 | - * |
|
161 | - * @access public |
|
162 | - * @return string $imageSrc |
|
163 | - */ |
|
164 | - public function getIMAGE() |
|
165 | - { |
|
166 | - return $this->_image; |
|
167 | - } |
|
14 | + protected $_tag = null; |
|
15 | + protected $_html = null; |
|
16 | + protected $_other = null; |
|
17 | + protected $_image = null; |
|
18 | + protected $_messageHtml = ''; |
|
19 | + |
|
20 | + /** |
|
21 | + * generate a HTML2PDF exception |
|
22 | + * |
|
23 | + * @param int $err error number |
|
24 | + * @param mixed $other additionnal informations |
|
25 | + * @return string $html optionnal code HTML associated to the error |
|
26 | + */ |
|
27 | + final public function __construct($err = 0, $other = null, $html = '') |
|
28 | + { |
|
29 | + // read the error |
|
30 | + switch($err) |
|
31 | + { |
|
32 | + case 1: // Unsupported tag |
|
33 | + $msg = (HTML2PDF_locale::get('err01')); |
|
34 | + $msg = str_replace('[[OTHER]]', $other, $msg); |
|
35 | + $this->_tag = $other; |
|
36 | + break; |
|
37 | + |
|
38 | + case 2: // too long sentence |
|
39 | + $msg = (HTML2PDF_locale::get('err02')); |
|
40 | + $msg = str_replace('[[OTHER_0]]', $other[0], $msg); |
|
41 | + $msg = str_replace('[[OTHER_1]]', $other[1], $msg); |
|
42 | + $msg = str_replace('[[OTHER_2]]', $other[2], $msg); |
|
43 | + break; |
|
44 | + |
|
45 | + case 3: // closing tag in excess |
|
46 | + $msg = (HTML2PDF_locale::get('err03')); |
|
47 | + $msg = str_replace('[[OTHER]]', $other, $msg); |
|
48 | + $this->_tag = $other; |
|
49 | + break; |
|
50 | + |
|
51 | + case 4: // tags closed in the wrong order |
|
52 | + $msg = (HTML2PDF_locale::get('err04')); |
|
53 | + $msg = str_replace('[[OTHER]]', print_r($other, true), $msg); |
|
54 | + break; |
|
55 | + |
|
56 | + case 5: // unclosed tag |
|
57 | + $msg = (HTML2PDF_locale::get('err05')); |
|
58 | + $msg = str_replace('[[OTHER]]', print_r($other, true), $msg); |
|
59 | + break; |
|
60 | + |
|
61 | + case 6: // image can not be loaded |
|
62 | + $msg = (HTML2PDF_locale::get('err06')); |
|
63 | + $msg = str_replace('[[OTHER]]', $other, $msg); |
|
64 | + $this->_image = $other; |
|
65 | + break; |
|
66 | + |
|
67 | + case 7: // too big TD content |
|
68 | + $msg = (HTML2PDF_locale::get('err07')); |
|
69 | + break; |
|
70 | + |
|
71 | + case 8: // SVG tag not in DRAW tag |
|
72 | + $msg = (HTML2PDF_locale::get('err08')); |
|
73 | + $msg = str_replace('[[OTHER]]', $other, $msg); |
|
74 | + $this->_tag = $other; |
|
75 | + break; |
|
76 | + |
|
77 | + case 9: // deprecated |
|
78 | + $msg = (HTML2PDF_locale::get('err09')); |
|
79 | + $msg = str_replace('[[OTHER_0]]', $other[0], $msg); |
|
80 | + $msg = str_replace('[[OTHER_1]]', $other[1], $msg); |
|
81 | + $this->_tag = $other[0]; |
|
82 | + break; |
|
83 | + |
|
84 | + case 0: // specific error |
|
85 | + default: |
|
86 | + $msg = $other; |
|
87 | + break; |
|
88 | + } |
|
89 | + |
|
90 | + // create the HTML message |
|
91 | + $this->_messageHtml = '<span style="color: #AA0000; font-weight: bold;">'.HTML2PDF_locale::get('txt01', 'error: ').$err.'</span><br>'; |
|
92 | + $this->_messageHtml.= HTML2PDF_locale::get('txt02', 'file:').' '.$this->file.'<br>'; |
|
93 | + $this->_messageHtml.= HTML2PDF_locale::get('txt03', 'line:').' '.$this->line.'<br>'; |
|
94 | + $this->_messageHtml.= '<br>'; |
|
95 | + $this->_messageHtml.= $msg; |
|
96 | + |
|
97 | + // create the text message |
|
98 | + $msg = HTML2PDF_locale::get('txt01', 'error: ').$err.' : '.strip_tags($msg); |
|
99 | + |
|
100 | + // add the optionnal html content |
|
101 | + if ($html) { |
|
102 | + $this->_messageHtml.= "<br><br>HTML : ...".trim(htmlentities($html)).'...'; |
|
103 | + $this->_html = $html; |
|
104 | + $msg.= ' HTML : ...'.trim($html).'...'; |
|
105 | + } |
|
106 | + |
|
107 | + // save the other informations |
|
108 | + $this->_other = $other; |
|
109 | + |
|
110 | + // construct the exception |
|
111 | + parent::__construct($msg, $err); |
|
112 | + } |
|
113 | + |
|
114 | + /** |
|
115 | + * get the message as string |
|
116 | + * |
|
117 | + * @access public |
|
118 | + * @return string $messageHtml |
|
119 | + */ |
|
120 | + public function __toString() |
|
121 | + { |
|
122 | + return $this->_messageHtml; |
|
123 | + } |
|
124 | + |
|
125 | + /** |
|
126 | + * get the html tag name |
|
127 | + * |
|
128 | + * @access public |
|
129 | + * @return string $tagName |
|
130 | + */ |
|
131 | + public function getTAG() |
|
132 | + { |
|
133 | + return $this->_tag; |
|
134 | + } |
|
135 | + |
|
136 | + /** |
|
137 | + * get the optional html code |
|
138 | + * |
|
139 | + * @access public |
|
140 | + * @return string $html |
|
141 | + */ |
|
142 | + public function getHTML() |
|
143 | + { |
|
144 | + return $this->_html; |
|
145 | + } |
|
146 | + |
|
147 | + /** |
|
148 | + * get the optional other informations |
|
149 | + * |
|
150 | + * @access public |
|
151 | + * @return mixed $other |
|
152 | + */ |
|
153 | + public function getOTHER() |
|
154 | + { |
|
155 | + return $this->_other; |
|
156 | + } |
|
157 | + |
|
158 | + /** |
|
159 | + * get the image source |
|
160 | + * |
|
161 | + * @access public |
|
162 | + * @return string $imageSrc |
|
163 | + */ |
|
164 | + public function getIMAGE() |
|
165 | + { |
|
166 | + return $this->_image; |
|
167 | + } |
|
168 | 168 | } |
169 | 169 | \ No newline at end of file |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php if ( !defined( 'ABSPATH' ) ) exit; |
|
1 | +<?php if (!defined('ABSPATH')) exit; |
|
2 | 2 | /** |
3 | 3 | * HTML2PDF Librairy - HTML2PDF Exception |
4 | 4 | * |
@@ -27,7 +27,7 @@ discard block |
||
27 | 27 | final public function __construct($err = 0, $other = null, $html = '') |
28 | 28 | { |
29 | 29 | // read the error |
30 | - switch($err) |
|
30 | + switch ($err) |
|
31 | 31 | { |
32 | 32 | case 1: // Unsupported tag |
33 | 33 | $msg = (HTML2PDF_locale::get('err01')); |
@@ -88,20 +88,20 @@ discard block |
||
88 | 88 | } |
89 | 89 | |
90 | 90 | // create the HTML message |
91 | - $this->_messageHtml = '<span style="color: #AA0000; font-weight: bold;">'.HTML2PDF_locale::get('txt01', 'error: ').$err.'</span><br>'; |
|
92 | - $this->_messageHtml.= HTML2PDF_locale::get('txt02', 'file:').' '.$this->file.'<br>'; |
|
93 | - $this->_messageHtml.= HTML2PDF_locale::get('txt03', 'line:').' '.$this->line.'<br>'; |
|
94 | - $this->_messageHtml.= '<br>'; |
|
95 | - $this->_messageHtml.= $msg; |
|
91 | + $this->_messageHtml = '<span style="color: #AA0000; font-weight: bold;">' . HTML2PDF_locale::get('txt01', 'error: ') . $err . '</span><br>'; |
|
92 | + $this->_messageHtml .= HTML2PDF_locale::get('txt02', 'file:') . ' ' . $this->file . '<br>'; |
|
93 | + $this->_messageHtml .= HTML2PDF_locale::get('txt03', 'line:') . ' ' . $this->line . '<br>'; |
|
94 | + $this->_messageHtml .= '<br>'; |
|
95 | + $this->_messageHtml .= $msg; |
|
96 | 96 | |
97 | 97 | // create the text message |
98 | - $msg = HTML2PDF_locale::get('txt01', 'error: ').$err.' : '.strip_tags($msg); |
|
98 | + $msg = HTML2PDF_locale::get('txt01', 'error: ') . $err . ' : ' . strip_tags($msg); |
|
99 | 99 | |
100 | 100 | // add the optionnal html content |
101 | 101 | if ($html) { |
102 | - $this->_messageHtml.= "<br><br>HTML : ...".trim(htmlentities($html)).'...'; |
|
102 | + $this->_messageHtml .= "<br><br>HTML : ..." . trim(htmlentities($html)) . '...'; |
|
103 | 103 | $this->_html = $html; |
104 | - $msg.= ' HTML : ...'.trim($html).'...'; |
|
104 | + $msg .= ' HTML : ...' . trim($html) . '...'; |
|
105 | 105 | } |
106 | 106 | |
107 | 107 | // save the other informations |
@@ -1,4 +1,6 @@ |
||
1 | -<?php if ( !defined( 'ABSPATH' ) ) exit; |
|
1 | +<?php if ( !defined( 'ABSPATH' ) ) { |
|
2 | + exit; |
|
3 | +} |
|
2 | 4 | /** |
3 | 5 | * Fichier de définition du modèle des taxinomies / File for term model definition |
4 | 6 | * |
@@ -11,86 +11,86 @@ |
||
11 | 11 | |
12 | 12 | class HTML2PDF_locale |
13 | 13 | { |
14 | - /** |
|
15 | - * code of the current used locale |
|
16 | - * @var string |
|
17 | - */ |
|
18 | - static protected $_code = null; |
|
14 | + /** |
|
15 | + * code of the current used locale |
|
16 | + * @var string |
|
17 | + */ |
|
18 | + static protected $_code = null; |
|
19 | 19 | |
20 | - /** |
|
21 | - * texts of the current used locale |
|
22 | - * @var array |
|
23 | - */ |
|
24 | - static protected $_list = array(); |
|
20 | + /** |
|
21 | + * texts of the current used locale |
|
22 | + * @var array |
|
23 | + */ |
|
24 | + static protected $_list = array(); |
|
25 | 25 | |
26 | - /** |
|
27 | - * directory where locale files are |
|
28 | - * @var string |
|
29 | - */ |
|
30 | - static protected $_directory = null; |
|
26 | + /** |
|
27 | + * directory where locale files are |
|
28 | + * @var string |
|
29 | + */ |
|
30 | + static protected $_directory = null; |
|
31 | 31 | |
32 | - /** |
|
33 | - * load the locale |
|
34 | - * |
|
35 | - * @access public |
|
36 | - * @param string $code |
|
37 | - */ |
|
38 | - static public function load($code) |
|
39 | - { |
|
40 | - if (self::$_directory===null) { |
|
41 | - self::$_directory = dirname(dirname(__FILE__)).'/locale/'; |
|
42 | - } |
|
32 | + /** |
|
33 | + * load the locale |
|
34 | + * |
|
35 | + * @access public |
|
36 | + * @param string $code |
|
37 | + */ |
|
38 | + static public function load($code) |
|
39 | + { |
|
40 | + if (self::$_directory===null) { |
|
41 | + self::$_directory = dirname(dirname(__FILE__)).'/locale/'; |
|
42 | + } |
|
43 | 43 | |
44 | - // must be in lower case |
|
45 | - $code = strtolower($code); |
|
44 | + // must be in lower case |
|
45 | + $code = strtolower($code); |
|
46 | 46 | |
47 | - // must be [a-z-0-9] |
|
48 | - if (!preg_match('/^([a-z0-9]+)$/isU', $code)) { |
|
49 | - throw new HTML2PDF_exception(0, 'invalid language code ['.self::$_code.']'); |
|
50 | - } |
|
47 | + // must be [a-z-0-9] |
|
48 | + if (!preg_match('/^([a-z0-9]+)$/isU', $code)) { |
|
49 | + throw new HTML2PDF_exception(0, 'invalid language code ['.self::$_code.']'); |
|
50 | + } |
|
51 | 51 | |
52 | - // save the code |
|
53 | - self::$_code = $code; |
|
52 | + // save the code |
|
53 | + self::$_code = $code; |
|
54 | 54 | |
55 | - // get the name of the locale file |
|
56 | - $file = self::$_directory.self::$_code.'.csv'; |
|
55 | + // get the name of the locale file |
|
56 | + $file = self::$_directory.self::$_code.'.csv'; |
|
57 | 57 | |
58 | - // the file must exist |
|
59 | - if (!is_file($file)) { |
|
60 | - throw new HTML2PDF_exception(0, 'language code ['.self::$_code.'] unknown. You can create the translation file ['.$file.'] and send it to the webmaster of html2pdf in order to integrate it into a future release'); |
|
61 | - } |
|
58 | + // the file must exist |
|
59 | + if (!is_file($file)) { |
|
60 | + throw new HTML2PDF_exception(0, 'language code ['.self::$_code.'] unknown. You can create the translation file ['.$file.'] and send it to the webmaster of html2pdf in order to integrate it into a future release'); |
|
61 | + } |
|
62 | 62 | |
63 | - // load the file |
|
64 | - self::$_list = array(); |
|
65 | - $handle = fopen($file, 'r'); |
|
66 | - while (!feof($handle)) { |
|
67 | - $line = fgetcsv($handle); |
|
68 | - if (count($line)!=2) continue; |
|
69 | - self::$_list[trim($line[0])] = trim($line[1]); |
|
70 | - } |
|
71 | - fclose($handle); |
|
72 | - } |
|
63 | + // load the file |
|
64 | + self::$_list = array(); |
|
65 | + $handle = fopen($file, 'r'); |
|
66 | + while (!feof($handle)) { |
|
67 | + $line = fgetcsv($handle); |
|
68 | + if (count($line)!=2) continue; |
|
69 | + self::$_list[trim($line[0])] = trim($line[1]); |
|
70 | + } |
|
71 | + fclose($handle); |
|
72 | + } |
|
73 | 73 | |
74 | - /** |
|
75 | - * clean the locale |
|
76 | - * |
|
77 | - * @access public static |
|
78 | - */ |
|
79 | - static public function clean() |
|
80 | - { |
|
81 | - self::$_code = null; |
|
82 | - self::$_list = array(); |
|
83 | - } |
|
74 | + /** |
|
75 | + * clean the locale |
|
76 | + * |
|
77 | + * @access public static |
|
78 | + */ |
|
79 | + static public function clean() |
|
80 | + { |
|
81 | + self::$_code = null; |
|
82 | + self::$_list = array(); |
|
83 | + } |
|
84 | 84 | |
85 | - /** |
|
86 | - * get a text |
|
87 | - * |
|
88 | - * @access public static |
|
89 | - * @param string $key |
|
90 | - * @return string |
|
91 | - */ |
|
92 | - static public function get($key, $default='######') |
|
93 | - { |
|
94 | - return (isset(self::$_list[$key]) ? self::$_list[$key] : $default); |
|
95 | - } |
|
85 | + /** |
|
86 | + * get a text |
|
87 | + * |
|
88 | + * @access public static |
|
89 | + * @param string $key |
|
90 | + * @return string |
|
91 | + */ |
|
92 | + static public function get($key, $default='######') |
|
93 | + { |
|
94 | + return (isset(self::$_list[$key]) ? self::$_list[$key] : $default); |
|
95 | + } |
|
96 | 96 | } |
97 | 97 | \ No newline at end of file |
@@ -1,4 +1,4 @@ discard block |
||
1 | -<?php if ( !defined( 'ABSPATH' ) ) exit; |
|
1 | +<?php if (!defined('ABSPATH')) exit; |
|
2 | 2 | /** |
3 | 3 | * HTML2PDF Librairy - HTML2PDF Locale |
4 | 4 | * |
@@ -37,8 +37,8 @@ discard block |
||
37 | 37 | */ |
38 | 38 | static public function load($code) |
39 | 39 | { |
40 | - if (self::$_directory===null) { |
|
41 | - self::$_directory = dirname(dirname(__FILE__)).'/locale/'; |
|
40 | + if (self::$_directory === null) { |
|
41 | + self::$_directory = dirname(dirname(__FILE__)) . '/locale/'; |
|
42 | 42 | } |
43 | 43 | |
44 | 44 | // must be in lower case |
@@ -46,18 +46,18 @@ discard block |
||
46 | 46 | |
47 | 47 | // must be [a-z-0-9] |
48 | 48 | if (!preg_match('/^([a-z0-9]+)$/isU', $code)) { |
49 | - throw new HTML2PDF_exception(0, 'invalid language code ['.self::$_code.']'); |
|
49 | + throw new HTML2PDF_exception(0, 'invalid language code [' . self::$_code . ']'); |
|
50 | 50 | } |
51 | 51 | |
52 | 52 | // save the code |
53 | 53 | self::$_code = $code; |
54 | 54 | |
55 | 55 | // get the name of the locale file |
56 | - $file = self::$_directory.self::$_code.'.csv'; |
|
56 | + $file = self::$_directory . self::$_code . '.csv'; |
|
57 | 57 | |
58 | 58 | // the file must exist |
59 | 59 | if (!is_file($file)) { |
60 | - throw new HTML2PDF_exception(0, 'language code ['.self::$_code.'] unknown. You can create the translation file ['.$file.'] and send it to the webmaster of html2pdf in order to integrate it into a future release'); |
|
60 | + throw new HTML2PDF_exception(0, 'language code [' . self::$_code . '] unknown. You can create the translation file [' . $file . '] and send it to the webmaster of html2pdf in order to integrate it into a future release'); |
|
61 | 61 | } |
62 | 62 | |
63 | 63 | // load the file |
@@ -65,7 +65,7 @@ discard block |
||
65 | 65 | $handle = fopen($file, 'r'); |
66 | 66 | while (!feof($handle)) { |
67 | 67 | $line = fgetcsv($handle); |
68 | - if (count($line)!=2) continue; |
|
68 | + if (count($line) != 2) continue; |
|
69 | 69 | self::$_list[trim($line[0])] = trim($line[1]); |
70 | 70 | } |
71 | 71 | fclose($handle); |
@@ -89,7 +89,7 @@ discard block |
||
89 | 89 | * @param string $key |
90 | 90 | * @return string |
91 | 91 | */ |
92 | - static public function get($key, $default='######') |
|
92 | + static public function get($key, $default = '######') |
|
93 | 93 | { |
94 | 94 | return (isset(self::$_list[$key]) ? self::$_list[$key] : $default); |
95 | 95 | } |
@@ -1,4 +1,6 @@ discard block |
||
1 | -<?php if ( !defined( 'ABSPATH' ) ) exit; |
|
1 | +<?php if ( !defined( 'ABSPATH' ) ) { |
|
2 | + exit; |
|
3 | +} |
|
2 | 4 | /** |
3 | 5 | * HTML2PDF Librairy - HTML2PDF Locale |
4 | 6 | * |
@@ -65,7 +67,9 @@ discard block |
||
65 | 67 | $handle = fopen($file, 'r'); |
66 | 68 | while (!feof($handle)) { |
67 | 69 | $line = fgetcsv($handle); |
68 | - if (count($line)!=2) continue; |
|
70 | + if (count($line)!=2) { |
|
71 | + continue; |
|
72 | + } |
|
69 | 73 | self::$_list[trim($line[0])] = trim($line[1]); |
70 | 74 | } |
71 | 75 | fclose($handle); |
@@ -23,10 +23,10 @@ discard block |
||
23 | 23 | class wpshop_permissions { |
24 | 24 | |
25 | 25 | /** |
26 | - * Define the different permission for the plugin. Define an array containing the permission defined with a sub-array |
|
27 | - * |
|
28 | - * @return array $permission An array with the permission list for the plugin |
|
29 | - */ |
|
26 | + * Define the different permission for the plugin. Define an array containing the permission defined with a sub-array |
|
27 | + * |
|
28 | + * @return array $permission An array with the permission list for the plugin |
|
29 | + */ |
|
30 | 30 | function permission_list() { |
31 | 31 | $permission = array(); |
32 | 32 | |
@@ -98,9 +98,9 @@ discard block |
||
98 | 98 | } |
99 | 99 | |
100 | 100 | /** |
101 | - * Set the different permission for the administrator role. Add all existing permission for this role. |
|
102 | - * @see wpshop_permissions::permission_list() |
|
103 | - */ |
|
101 | + * Set the different permission for the administrator role. Add all existing permission for this role. |
|
102 | + * @see wpshop_permissions::permission_list() |
|
103 | + */ |
|
104 | 104 | function set_administrator_role_permission() { |
105 | 105 | $adminRole = get_role('administrator'); |
106 | 106 | $permissionList = wpshop_permissions::permission_list(); |
@@ -1,8 +1,8 @@ discard block |
||
1 | -<?php if ( !defined( 'ABSPATH' ) ) exit; |
|
1 | +<?php if (!defined('ABSPATH')) exit; |
|
2 | 2 | |
3 | 3 | /* Check if file is include. No direct access possible with file url */ |
4 | -if ( !defined( 'WPSHOP_VERSION' ) ) { |
|
5 | - die( __('Access is not allowed by this way', 'wpshop') ); |
|
4 | +if (!defined('WPSHOP_VERSION')) { |
|
5 | + die(__('Access is not allowed by this way', 'wpshop')); |
|
6 | 6 | } |
7 | 7 | |
8 | 8 | /** |
@@ -102,10 +102,10 @@ discard block |
||
102 | 102 | * @see wpshop_permissions::permission_list() |
103 | 103 | */ |
104 | 104 | function set_administrator_role_permission() { |
105 | - $adminRole = get_role('administrator'); |
|
105 | + $adminRole = get_role('administrator'); |
|
106 | 106 | $permissionList = wpshop_permissions::permission_list(); |
107 | 107 | foreach ($permissionList as $permissionName => $permissionDef) { |
108 | - if ( ($adminRole != null) && !$adminRole->has_cap($permissionName) ) { |
|
108 | + if (($adminRole != null) && !$adminRole->has_cap($permissionName)) { |
|
109 | 109 | $adminRole->add_cap($permissionName); |
110 | 110 | } |
111 | 111 | } |
@@ -115,7 +115,7 @@ discard block |
||
115 | 115 | function wpshop_init_roles() { |
116 | 116 | global $wp_roles; |
117 | 117 | |
118 | - if (class_exists('WP_Roles')) if ( ! isset( $wp_roles ) ) $wp_roles = new WP_Roles(); |
|
118 | + if (class_exists('WP_Roles')) if (!isset($wp_roles)) $wp_roles = new WP_Roles(); |
|
119 | 119 | |
120 | 120 | if (is_object($wp_roles)) : |
121 | 121 |
@@ -1,4 +1,6 @@ discard block |
||
1 | -<?php if ( !defined( 'ABSPATH' ) ) exit; |
|
1 | +<?php if ( !defined( 'ABSPATH' ) ) { |
|
2 | + exit; |
|
3 | +} |
|
2 | 4 | |
3 | 5 | /* Check if file is include. No direct access possible with file url */ |
4 | 6 | if ( !defined( 'WPSHOP_VERSION' ) ) { |
@@ -115,7 +117,9 @@ discard block |
||
115 | 117 | function wpshop_init_roles() { |
116 | 118 | global $wp_roles; |
117 | 119 | |
118 | - if (class_exists('WP_Roles')) if ( ! isset( $wp_roles ) ) $wp_roles = new WP_Roles(); |
|
120 | + if (class_exists('WP_Roles')) { |
|
121 | + if ( ! isset( $wp_roles ) ) $wp_roles = new WP_Roles(); |
|
122 | + } |
|
119 | 123 | |
120 | 124 | if (is_object($wp_roles)) : |
121 | 125 |
@@ -1,8 +1,8 @@ discard block |
||
1 | -<?php if ( !defined( 'ABSPATH' ) ) exit; |
|
1 | +<?php if (!defined('ABSPATH')) exit; |
|
2 | 2 | |
3 | 3 | /* Check if file is include. No direct access possible with file url */ |
4 | -if ( !defined( 'WPSHOP_VERSION' ) ) { |
|
5 | - die( __('Access is not allowed by this way', 'wpshop') ); |
|
4 | +if (!defined('WPSHOP_VERSION')) { |
|
5 | + die(__('Access is not allowed by this way', 'wpshop')); |
|
6 | 6 | } |
7 | 7 | |
8 | 8 | /** |
@@ -24,9 +24,9 @@ discard block |
||
24 | 24 | /** |
25 | 25 | * |
26 | 26 | */ |
27 | - function declare_options(){ |
|
27 | + function declare_options() { |
|
28 | 28 | |
29 | - add_settings_section('wpshop_shipping_rules', '<span class="dashicons dashicons-admin-generic"></span>'.__('Shipping general configuration', 'wpshop'), array('wpshop_shipping_options', 'plugin_section_text'), 'wpshop_shipping_rules'); |
|
29 | + add_settings_section('wpshop_shipping_rules', '<span class="dashicons dashicons-admin-generic"></span>' . __('Shipping general configuration', 'wpshop'), array('wpshop_shipping_options', 'plugin_section_text'), 'wpshop_shipping_rules'); |
|
30 | 30 | register_setting('wpshop_options', 'wpshop_shipping_address_choice', array('wpshop_shipping_options', 'wpshop_shipping_address_validator')); |
31 | 31 | add_settings_field('wpshop_shipping_address_choice', __('Shipping address choice', 'wpshop'), array('wpshop_shipping_options', 'wpshop_shipping_address_field'), 'wpshop_shipping_rules', 'wpshop_shipping_rules'); |
32 | 32 | |
@@ -46,9 +46,9 @@ discard block |
||
46 | 46 | echo ''; |
47 | 47 | } |
48 | 48 | |
49 | - public static function wpshop_shipping_address_validator($input){ |
|
50 | - $shipping_option = get_option( 'wpshop_shipping_address_choice' ); |
|
51 | - if( !empty($shipping_option) && !empty($shipping_option['display_model']) ) { |
|
49 | + public static function wpshop_shipping_address_validator($input) { |
|
50 | + $shipping_option = get_option('wpshop_shipping_address_choice'); |
|
51 | + if (!empty($shipping_option) && !empty($shipping_option['display_model'])) { |
|
52 | 52 | $input['display_model'] = $shipping_option['display_model']; |
53 | 53 | } |
54 | 54 | |
@@ -58,10 +58,10 @@ discard block |
||
58 | 58 | public static function wpshop_shipping_address_field() { |
59 | 59 | global $wpdb; |
60 | 60 | $choice = get_option('wpshop_shipping_address_choice', unserialize(WPSHOP_SHOP_CUSTOM_SHIPPING)); |
61 | - $query = $wpdb->prepare('SELECT ID FROM ' .$wpdb->posts. ' WHERE post_name = "%s" AND post_type = "%s"', WPSHOP_NEWTYPE_IDENTIFIER_ADDRESS, WPSHOP_NEWTYPE_IDENTIFIER_ENTITIES); |
|
61 | + $query = $wpdb->prepare('SELECT ID FROM ' . $wpdb->posts . ' WHERE post_name = "%s" AND post_type = "%s"', WPSHOP_NEWTYPE_IDENTIFIER_ADDRESS, WPSHOP_NEWTYPE_IDENTIFIER_ENTITIES); |
|
62 | 62 | $entity_id = $wpdb->get_var($query); |
63 | 63 | |
64 | - $query = $wpdb->prepare('SELECT * FROM ' .WPSHOP_DBT_ATTRIBUTE_SET. ' WHERE entity_id = %d', $entity_id); |
|
64 | + $query = $wpdb->prepare('SELECT * FROM ' . WPSHOP_DBT_ATTRIBUTE_SET . ' WHERE entity_id = %d', $entity_id); |
|
65 | 65 | $content = $wpdb->get_results($query); |
66 | 66 | |
67 | 67 | $input_def['name'] = 'wpshop_shipping_address_choice[choice]'; |
@@ -71,39 +71,39 @@ discard block |
||
71 | 71 | $input_def['value'] = $choice['choice']; |
72 | 72 | |
73 | 73 | $active = !empty($choice['activate']) ? $choice['activate'] : false; |
74 | - $display_model = ( !empty($choice['display_model']) ) ? addslashes( serialize( $choice['display_model'] ) ) : ''; |
|
74 | + $display_model = (!empty($choice['display_model'])) ? addslashes(serialize($choice['display_model'])) : ''; |
|
75 | 75 | |
76 | - echo '<input type="checkbox" name="wpshop_shipping_address_choice[activate]" id="wpshop_shipping_address_choice[activate]" '.($active ? 'checked="checked"' :null).'/> <label for="wpshop_shipping_address_choice[activate]">'.__('Activate shipping address','wpshop').'</label><br/> |
|
77 | - <div>' .wpshop_form::check_input_type($input_def). '</div>'; |
|
76 | + echo '<input type="checkbox" name="wpshop_shipping_address_choice[activate]" id="wpshop_shipping_address_choice[activate]" ' . ($active ? 'checked="checked"' : null) . '/> <label for="wpshop_shipping_address_choice[activate]">' . __('Activate shipping address', 'wpshop') . '</label><br/> |
|
77 | + <div>' .wpshop_form::check_input_type($input_def) . '</div>'; |
|
78 | 78 | |
79 | 79 | } |
80 | 80 | |
81 | 81 | public static function wpshop_shipping_cost_from_fields() { |
82 | 82 | $shipping_cost_from_option = get_option('wpshop_shipping_cost_from'); |
83 | - $output = '<input type="checkbox" id="wpshop_shipping_cost_from" name="wpshop_shipping_cost_from" ' . ( (!empty($shipping_cost_from_option)) ? 'checked="checked"' : '') . ' /> '; |
|
84 | - $output .= '<label for="wpshop_shipping_cost_from">' . __('Display "From" behind Shipping cost in cart while shipping address is undefined', 'wpshop'). '</label>'; |
|
83 | + $output = '<input type="checkbox" id="wpshop_shipping_cost_from" name="wpshop_shipping_cost_from" ' . ((!empty($shipping_cost_from_option)) ? 'checked="checked"' : '') . ' /> '; |
|
84 | + $output .= '<label for="wpshop_shipping_cost_from">' . __('Display "From" behind Shipping cost in cart while shipping address is undefined', 'wpshop') . '</label>'; |
|
85 | 85 | echo $output; |
86 | 86 | } |
87 | 87 | |
88 | - public static function wpshop_shipping_cost_from_validator( $input ) { |
|
88 | + public static function wpshop_shipping_cost_from_validator($input) { |
|
89 | 89 | |
90 | 90 | |
91 | 91 | return $input; |
92 | 92 | } |
93 | 93 | |
94 | - public static function wpshop_limit_country_list_validator( $input ) { |
|
94 | + public static function wpshop_limit_country_list_validator($input) { |
|
95 | 95 | return $input; |
96 | 96 | } |
97 | 97 | |
98 | 98 | public static function wpshop_limit_country_list_fields() { |
99 | 99 | $output = ''; |
100 | - $limit_countries_list = get_option( 'wpshop_limit_country_list' ); |
|
100 | + $limit_countries_list = get_option('wpshop_limit_country_list'); |
|
101 | 101 | $countries = unserialize(WPSHOP_COUNTRY_LIST); |
102 | - if ( !empty ($countries) ) { |
|
102 | + if (!empty ($countries)) { |
|
103 | 103 | $output .= '<select name="wpshop_limit_country_list[]" class="chosen_select" multiple data-placeholder="Choose a Country">'; |
104 | - foreach( $countries as $key => $country ) { |
|
105 | - $is_selected = ( !empty($limit_countries_list) && is_array($limit_countries_list) && in_array($key, $limit_countries_list) ) ? true : false; |
|
106 | - $output .= '<option value="' .$key. '" ' . ( ($is_selected) ? 'selected="selected"' : '' ) . '>' .$country. '</option>'; |
|
104 | + foreach ($countries as $key => $country) { |
|
105 | + $is_selected = (!empty($limit_countries_list) && is_array($limit_countries_list) && in_array($key, $limit_countries_list)) ? true : false; |
|
106 | + $output .= '<option value="' . $key . '" ' . (($is_selected) ? 'selected="selected"' : '') . '>' . $country . '</option>'; |
|
107 | 107 | } |
108 | 108 | $output .= '</select>'; |
109 | 109 | } |
@@ -111,18 +111,18 @@ discard block |
||
111 | 111 | } |
112 | 112 | |
113 | 113 | public static function wpshop_country_default_choice_fields() { |
114 | - $default_country_choice = get_option( 'wpshop_country_default_choice' ); |
|
115 | - $output = '<select name="wpshop_country_default_choice">'; |
|
114 | + $default_country_choice = get_option('wpshop_country_default_choice'); |
|
115 | + $output = '<select name="wpshop_country_default_choice">'; |
|
116 | 116 | $countries = unserialize(WPSHOP_COUNTRY_LIST); |
117 | - foreach( $countries as $key => $country ) { |
|
118 | - $is_selected = ( !empty($default_country_choice) && $key == $default_country_choice ) ? true : false; |
|
119 | - $output .= '<option value="' .$key. '" ' . ( ($is_selected) ? 'selected="selected"' : '' ) . '>' .$country. '</option>'; |
|
117 | + foreach ($countries as $key => $country) { |
|
118 | + $is_selected = (!empty($default_country_choice) && $key == $default_country_choice) ? true : false; |
|
119 | + $output .= '<option value="' . $key . '" ' . (($is_selected) ? 'selected="selected"' : '') . '>' . $country . '</option>'; |
|
120 | 120 | } |
121 | 121 | $output .= '</select>'; |
122 | 122 | echo $output; |
123 | 123 | } |
124 | 124 | |
125 | - public static function wpshop_country_default_choice_validator( $input ) { |
|
125 | + public static function wpshop_country_default_choice_validator($input) { |
|
126 | 126 | return $input; |
127 | 127 | } |
128 | 128 | } |
@@ -23,8 +23,8 @@ |
||
23 | 23 | class wpshop_advanced_settings{ |
24 | 24 | |
25 | 25 | /** |
26 | - * |
|
27 | - */ |
|
26 | + * |
|
27 | + */ |
|
28 | 28 | function declare_options(){ |
29 | 29 | add_settings_section('wpshop_extra_options', '<span class="dashicons dashicons-carrot"></span>'.__('Advanced configurations', 'wpshop'), array('wpshop_advanced_settings', 'plugin_section_text'), 'wpshop_extra_options'); |
30 | 30 | register_setting('wpshop_options', 'wpshop_extra_options', array('wpshop_advanced_settings', 'validate_options')); |
@@ -1,4 +1,6 @@ |
||
1 | -<?php if ( !defined( 'ABSPATH' ) ) exit; |
|
1 | +<?php if ( !defined( 'ABSPATH' ) ) { |
|
2 | + exit; |
|
3 | +} |
|
2 | 4 | /** |
3 | 5 | * Fichier de définition du modèle des taxinomies / File for term model definition |
4 | 6 | * |
@@ -1,8 +1,8 @@ discard block |
||
1 | -<?php if ( !defined( 'ABSPATH' ) ) exit; |
|
1 | +<?php if (!defined('ABSPATH')) exit; |
|
2 | 2 | |
3 | 3 | /* Check if file is include. No direct access possible with file url */ |
4 | -if ( !defined( 'WPSHOP_VERSION' ) ) { |
|
5 | - die( __('Access is not allowed by this way', 'wpshop') ); |
|
4 | +if (!defined('WPSHOP_VERSION')) { |
|
5 | + die(__('Access is not allowed by this way', 'wpshop')); |
|
6 | 6 | } |
7 | 7 | |
8 | 8 | /** |
@@ -25,8 +25,8 @@ discard block |
||
25 | 25 | /** |
26 | 26 | * |
27 | 27 | */ |
28 | - public static function declare_options(){ |
|
29 | - add_settings_section('wpshop_company_info', '<span class="dashicons dashicons-admin-home"></span>'.__('Company info', 'wpshop'), array('wpshop_company_options', 'plugin_section_text'), 'wpshop_company_info'); |
|
28 | + public static function declare_options() { |
|
29 | + add_settings_section('wpshop_company_info', '<span class="dashicons dashicons-admin-home"></span>' . __('Company info', 'wpshop'), array('wpshop_company_options', 'plugin_section_text'), 'wpshop_company_info'); |
|
30 | 30 | register_setting('wpshop_options', 'wpshop_company_info', array('wpshop_company_options', 'wpshop_options_validate_company_info')); |
31 | 31 | add_settings_field('wpshop_company_legal_statut', __('Legal status', 'wpshop'), array('wpshop_company_options', 'wpshop_company_legal_statut_field'), 'wpshop_company_info', 'wpshop_company_info'); |
32 | 32 | add_settings_field('wpshop_company_capital', __('Capital', 'wpshop'), array('wpshop_company_options', 'wpshop_company_capital_field'), 'wpshop_company_info', 'wpshop_company_info'); |
@@ -44,7 +44,7 @@ discard block |
||
44 | 44 | } |
45 | 45 | |
46 | 46 | /**/ |
47 | - public static function plugin_section_text(){ |
|
47 | + public static function plugin_section_text() { |
|
48 | 48 | |
49 | 49 | } |
50 | 50 | |
@@ -55,76 +55,76 @@ discard block |
||
55 | 55 | $options = get_option('wpshop_company_info'); |
56 | 56 | |
57 | 57 | $legal_status = self::get_legal_status(); |
58 | - $legal_status = apply_filters( 'wps_legal_status_extender', $legal_status ); |
|
58 | + $legal_status = apply_filters('wps_legal_status_extender', $legal_status); |
|
59 | 59 | |
60 | 60 | $select_legal_statut = '<select name="wpshop_company_info[company_legal_statut]">'; |
61 | - foreach($legal_status as $key=>$value) { |
|
62 | - $selected = $options['company_legal_statut']==$key ? ' selected="selected"' : null; |
|
63 | - $select_legal_statut .= '<option value="'.$key.'"'.$selected.'>'.__($value,'wpshop').'</option>'; |
|
61 | + foreach ($legal_status as $key=>$value) { |
|
62 | + $selected = $options['company_legal_statut'] == $key ? ' selected="selected"' : null; |
|
63 | + $select_legal_statut .= '<option value="' . $key . '"' . $selected . '>' . __($value, 'wpshop') . '</option>'; |
|
64 | 64 | } |
65 | 65 | $select_legal_statut .= '</select>'; |
66 | - $select_legal_statut .= ' <a href="#" title="'.__('Legal status will appear in invoices','wpshop').'" class="wpshop_infobulle_marker">?</a>'; |
|
66 | + $select_legal_statut .= ' <a href="#" title="' . __('Legal status will appear in invoices', 'wpshop') . '" class="wpshop_infobulle_marker">?</a>'; |
|
67 | 67 | echo $select_legal_statut; |
68 | 68 | } |
69 | 69 | public static function wpshop_company_capital_field() { |
70 | 70 | $options = get_option('wpshop_company_info'); |
71 | - echo '<input name="wpshop_company_info[company_capital]" type="text" value="'.$options['company_capital'].'" /> |
|
72 | - <a href="#" title="'.__('Capital of your company','wpshop').'" class="wpshop_infobulle_marker">?</a>'; |
|
71 | + echo '<input name="wpshop_company_info[company_capital]" type="text" value="' . $options['company_capital'] . '" /> |
|
72 | + <a href="#" title="'.__('Capital of your company', 'wpshop') . '" class="wpshop_infobulle_marker">?</a>'; |
|
73 | 73 | } |
74 | 74 | public static function wpshop_company_name_field() { |
75 | 75 | $options = get_option('wpshop_company_info'); |
76 | - echo '<input name="wpshop_company_info[company_name]" type="text" value="'.$options['company_name'].'" /> |
|
77 | - <a href="#" title="'.__('Name of your company','wpshop').'" class="wpshop_infobulle_marker">?</a>'; |
|
76 | + echo '<input name="wpshop_company_info[company_name]" type="text" value="' . $options['company_name'] . '" /> |
|
77 | + <a href="#" title="'.__('Name of your company', 'wpshop') . '" class="wpshop_infobulle_marker">?</a>'; |
|
78 | 78 | } |
79 | 79 | public static function wpshop_company_street_field() { |
80 | 80 | $options = get_option('wpshop_company_info'); |
81 | - echo '<input name="wpshop_company_info[company_street]" type="text" value="'.$options['company_street'].'" /> |
|
82 | - <a href="#" title="'.__('Street of your company','wpshop').'" class="wpshop_infobulle_marker">?</a>'; |
|
81 | + echo '<input name="wpshop_company_info[company_street]" type="text" value="' . $options['company_street'] . '" /> |
|
82 | + <a href="#" title="'.__('Street of your company', 'wpshop') . '" class="wpshop_infobulle_marker">?</a>'; |
|
83 | 83 | } |
84 | 84 | public static function wpshop_company_postcode_field() { |
85 | 85 | $options = get_option('wpshop_company_info'); |
86 | - echo '<input name="wpshop_company_info[company_postcode]" type="text" value="'.$options['company_postcode'].'" /> |
|
87 | - <a href="#" title="'.__('Postcode of your company','wpshop').'" class="wpshop_infobulle_marker">?</a>'; |
|
86 | + echo '<input name="wpshop_company_info[company_postcode]" type="text" value="' . $options['company_postcode'] . '" /> |
|
87 | + <a href="#" title="'.__('Postcode of your company', 'wpshop') . '" class="wpshop_infobulle_marker">?</a>'; |
|
88 | 88 | } |
89 | 89 | public static function wpshop_company_city_field() { |
90 | 90 | $options = get_option('wpshop_company_info'); |
91 | - echo '<input name="wpshop_company_info[company_city]" type="text" value="'.$options['company_city'].'" /> |
|
92 | - <a href="#" title="'.__('The city in which your company is based','wpshop').'" class="wpshop_infobulle_marker">?</a>'; |
|
91 | + echo '<input name="wpshop_company_info[company_city]" type="text" value="' . $options['company_city'] . '" /> |
|
92 | + <a href="#" title="'.__('The city in which your company is based', 'wpshop') . '" class="wpshop_infobulle_marker">?</a>'; |
|
93 | 93 | } |
94 | 94 | public static function wpshop_company_country_field() { |
95 | 95 | $options = get_option('wpshop_company_info'); |
96 | - echo '<input name="wpshop_company_info[company_country]" type="text" value="'.$options['company_country'].'" /> |
|
97 | - <a href="#" title="'.__('Country of your company','wpshop').'" class="wpshop_infobulle_marker">?</a>'; |
|
96 | + echo '<input name="wpshop_company_info[company_country]" type="text" value="' . $options['company_country'] . '" /> |
|
97 | + <a href="#" title="'.__('Country of your company', 'wpshop') . '" class="wpshop_infobulle_marker">?</a>'; |
|
98 | 98 | } |
99 | 99 | public static function wpshop_company_tva_intra_field() { |
100 | 100 | $options = get_option('wpshop_company_info'); |
101 | - echo '<input name="wpshop_company_info[company_tva_intra]" type="text" value="'.$options['company_tva_intra'].'" /> |
|
102 | - <a href="#" title="'.__('Intracommunity VAT of your company','wpshop').'" class="wpshop_infobulle_marker">?</a>'; |
|
101 | + echo '<input name="wpshop_company_info[company_tva_intra]" type="text" value="' . $options['company_tva_intra'] . '" /> |
|
102 | + <a href="#" title="'.__('Intracommunity VAT of your company', 'wpshop') . '" class="wpshop_infobulle_marker">?</a>'; |
|
103 | 103 | } |
104 | 104 | public static function wpshop_company_phone_field() { |
105 | 105 | $options = get_option('wpshop_company_info'); |
106 | - echo '<input name="wpshop_company_info[company_phone]" type="text" value="'.$options['company_phone'].'" /> |
|
107 | - <a href="#" title="'.__('Phone number of your company','wpshop').'" class="wpshop_infobulle_marker">?</a>'; |
|
106 | + echo '<input name="wpshop_company_info[company_phone]" type="text" value="' . $options['company_phone'] . '" /> |
|
107 | + <a href="#" title="'.__('Phone number of your company', 'wpshop') . '" class="wpshop_infobulle_marker">?</a>'; |
|
108 | 108 | } |
109 | 109 | public static function wpshop_company_rcs_field() { |
110 | 110 | $options = get_option('wpshop_company_info'); |
111 | - echo '<input name="wpshop_company_info[company_rcs]" type="text" value="'.$options['company_rcs'].'" /> |
|
112 | - <a href="#" title="'.__('RCS of your company','wpshop').'" class="wpshop_infobulle_marker">?</a>'; |
|
111 | + echo '<input name="wpshop_company_info[company_rcs]" type="text" value="' . $options['company_rcs'] . '" /> |
|
112 | + <a href="#" title="'.__('RCS of your company', 'wpshop') . '" class="wpshop_infobulle_marker">?</a>'; |
|
113 | 113 | } |
114 | 114 | public static function wpshop_company_siret_field() { |
115 | 115 | $options = get_option('wpshop_company_info'); |
116 | - echo '<input name="wpshop_company_info[company_siret]" type="text" value="'.$options['company_siret'].'" /> |
|
117 | - <a href="#" title="'.__('SIRET of your company','wpshop').'" class="wpshop_infobulle_marker">?</a>'; |
|
116 | + echo '<input name="wpshop_company_info[company_siret]" type="text" value="' . $options['company_siret'] . '" /> |
|
117 | + <a href="#" title="'.__('SIRET of your company', 'wpshop') . '" class="wpshop_infobulle_marker">?</a>'; |
|
118 | 118 | } |
119 | 119 | public static function wpshop_company_siren_field() { |
120 | 120 | $options = get_option('wpshop_company_info'); |
121 | - echo '<input name="wpshop_company_info[company_siren]" type="text" value="'.$options['company_siren'].'" /> |
|
122 | - <a href="#" title="'.__('SIREN of your company','wpshop').'" class="wpshop_infobulle_marker">?</a>'; |
|
121 | + echo '<input name="wpshop_company_info[company_siren]" type="text" value="' . $options['company_siren'] . '" /> |
|
122 | + <a href="#" title="'.__('SIREN of your company', 'wpshop') . '" class="wpshop_infobulle_marker">?</a>'; |
|
123 | 123 | } |
124 | 124 | public static function wpshop_company_fax_field() { |
125 | 125 | $options = get_option('wpshop_company_info'); |
126 | - echo '<input name="wpshop_company_info[company_fax]" type="text" value="'.$options['company_fax'].'" /> |
|
127 | - <a href="#" title="'.__('Fax number of your company','wpshop').'" class="wpshop_infobulle_marker">?</a>'; |
|
126 | + echo '<input name="wpshop_company_info[company_fax]" type="text" value="' . $options['company_fax'] . '" /> |
|
127 | + <a href="#" title="'.__('Fax number of your company', 'wpshop') . '" class="wpshop_infobulle_marker">?</a>'; |
|
128 | 128 | } |
129 | 129 | |
130 | 130 | /* Processing */ |
@@ -147,7 +147,7 @@ discard block |
||
147 | 147 | 'sa' => 'SA', |
148 | 148 | 'sas' => 'SAS', |
149 | 149 | 'sasu' => 'SASU', |
150 | - 'association' => __( 'Assocation', 'wpshop'), |
|
150 | + 'association' => __('Assocation', 'wpshop'), |
|
151 | 151 | 'sci' => 'SCI', |
152 | 152 | 'scp' => 'SCP', |
153 | 153 | 'scm' => 'SCM', |
@@ -23,8 +23,8 @@ |
||
23 | 23 | class wpshop_advanced_settings{ |
24 | 24 | |
25 | 25 | /** |
26 | - * |
|
27 | - */ |
|
26 | + * |
|
27 | + */ |
|
28 | 28 | function declare_options(){ |
29 | 29 | add_settings_section('wpshop_extra_options', '<span class="dashicons dashicons-carrot"></span>'.__('Advanced configurations', 'wpshop'), array('wpshop_advanced_settings', 'plugin_section_text'), 'wpshop_extra_options'); |
30 | 30 | register_setting('wpshop_options', 'wpshop_extra_options', array('wpshop_advanced_settings', 'validate_options')); |
@@ -1,4 +1,6 @@ |
||
1 | -<?php if ( !defined( 'ABSPATH' ) ) exit; |
|
1 | +<?php if ( !defined( 'ABSPATH' ) ) { |
|
2 | + exit; |
|
3 | +} |
|
2 | 4 | /** |
3 | 5 | * Fichier de définition du modèle des taxinomies / File for term model definition |
4 | 6 | * |
@@ -162,8 +162,8 @@ |
||
162 | 162 | |
163 | 163 | |
164 | 164 | /** |
165 | - * Declare the different options for the plugin |
|
166 | - */ |
|
165 | + * Declare the different options for the plugin |
|
166 | + */ |
|
167 | 167 | public static function add_options(){ |
168 | 168 | global $wpshop_display_option; |
169 | 169 |
@@ -1,4 +1,6 @@ |
||
1 | -<?php if ( !defined( 'ABSPATH' ) ) exit; |
|
1 | +<?php if ( !defined( 'ABSPATH' ) ) { |
|
2 | + exit; |
|
3 | +} |
|
2 | 4 | /** |
3 | 5 | * Fichier de définition du modèle des taxinomies / File for term model definition |
4 | 6 | * |
@@ -1,8 +1,8 @@ discard block |
||
1 | -<?php if ( !defined( 'ABSPATH' ) ) exit; |
|
1 | +<?php if (!defined('ABSPATH')) exit; |
|
2 | 2 | |
3 | 3 | /* Check if file is include. No direct access possible with file url */ |
4 | -if ( !defined( 'WPSHOP_VERSION' ) ) { |
|
5 | - die( __('Access is not allowed by this way', 'wpshop') ); |
|
4 | +if (!defined('WPSHOP_VERSION')) { |
|
5 | + die(__('Access is not allowed by this way', 'wpshop')); |
|
6 | 6 | } |
7 | 7 | |
8 | 8 | /** |
@@ -43,14 +43,14 @@ discard block |
||
43 | 43 | $groups = array(); |
44 | 44 | |
45 | 45 | $groups['wpshop_general_option'] = |
46 | - array( 'label' => __('General', 'wpshop'), |
|
46 | + array('label' => __('General', 'wpshop'), |
|
47 | 47 | 'subgroups' => array( |
48 | 48 | 'wpshop_general_config' => array('class' => 'wpshop_admin_box_options_general'), |
49 | 49 | 'wpshop_company_info' => array('class' => 'wpshop_admin_box_options_company'), |
50 | 50 | ), |
51 | 51 | ); |
52 | 52 | $groups['wpshop_catalog_option'] = |
53 | - array( 'label' => __('Catalog', 'wpshop'), |
|
53 | + array('label' => __('Catalog', 'wpshop'), |
|
54 | 54 | 'subgroups' => array( |
55 | 55 | 'wpshop_catalog_product_option' => array('class' => ' wpshop_admin_box_options_product'), |
56 | 56 | 'wpshop_catalog_main_option' => array('class' => ' wpshop_admin_box_options_catalog'), |
@@ -58,13 +58,13 @@ discard block |
||
58 | 58 | ), |
59 | 59 | ); |
60 | 60 | $groups['wpshop_pages_option'] = |
61 | - array( 'label' => __('Pages', 'wpshop'), |
|
61 | + array('label' => __('Pages', 'wpshop'), |
|
62 | 62 | 'subgroups' => array( |
63 | 63 | 'wpshop_pages_option' => array('class' => ' wpshop_admin_box_options_pages'), |
64 | 64 | ), |
65 | 65 | ); |
66 | 66 | $groups['wpshop_display_option'] = |
67 | - array( 'label' => __('Display', 'wpshop'), |
|
67 | + array('label' => __('Display', 'wpshop'), |
|
68 | 68 | 'subgroups' => array( |
69 | 69 | 'wpshop_display_option' => array('class' => ' wpshop_admin_box_options_display'), |
70 | 70 | 'wpshop_customize_display_option' => array('class' => ' wpshop_admin_box_options_display'), |
@@ -72,32 +72,32 @@ discard block |
||
72 | 72 | ), |
73 | 73 | ); |
74 | 74 | $groups['wpshop_emails_option'] = |
75 | - array( 'label' => __('Emails', 'wpshop'), |
|
75 | + array('label' => __('Emails', 'wpshop'), |
|
76 | 76 | 'subgroups' => array( |
77 | 77 | 'wpshop_emails' => array('class' => ' wpshop_admin_box_options_email'), |
78 | 78 | 'wpshop_messages' => array('class' => ' wpshop_admin_box_options_message'), |
79 | 79 | ), |
80 | 80 | ); |
81 | 81 | |
82 | - $wpshop_shop_type = !empty( $_POST['wpshop_shop_type'] ) ? sanitize_text_field( $_POST['wpshop_shop_type'] ) : ''; |
|
82 | + $wpshop_shop_type = !empty($_POST['wpshop_shop_type']) ? sanitize_text_field($_POST['wpshop_shop_type']) : ''; |
|
83 | 83 | |
84 | 84 | /** Some options are available only when sale mode is active */ |
85 | - if((WPSHOP_DEFINED_SHOP_TYPE == 'sale') && !isset($wpshop_shop_type) || (isset($wpshop_shop_type) && ($wpshop_shop_type != 'presentation'))) : |
|
85 | + if ((WPSHOP_DEFINED_SHOP_TYPE == 'sale') && !isset($wpshop_shop_type) || (isset($wpshop_shop_type) && ($wpshop_shop_type != 'presentation'))) : |
|
86 | 86 | $groups['wpshop_cart_option'] = |
87 | - array( 'label' => __('Cart', 'wpshop'), |
|
87 | + array('label' => __('Cart', 'wpshop'), |
|
88 | 88 | 'subgroups' => array( |
89 | 89 | 'wpshop_cart_info' => array('class' => ' wpshop_admin_box_options_cart'), |
90 | 90 | ), |
91 | 91 | ); |
92 | 92 | $groups['wpshop_payments_option'] = |
93 | - array( 'label' => __('Payments', 'wpshop'), |
|
93 | + array('label' => __('Payments', 'wpshop'), |
|
94 | 94 | 'subgroups' => array( |
95 | 95 | 'wpshop_paymentMethod' => array('class' => ' wpshop_admin_box_options_payment_method'), |
96 | 96 | 'wpshop_payment_partial_on_command' => array('class' => ' wpshop_admin_box_options_payment_partial'), |
97 | 97 | ), |
98 | 98 | ); |
99 | 99 | $groups['wpshop_shipping_option'] = |
100 | - array( 'label' => __('Shipping', 'wpshop'), |
|
100 | + array('label' => __('Shipping', 'wpshop'), |
|
101 | 101 | 'subgroups' => array( |
102 | 102 | 'wpshop_shipping_rules' => array('class' => ' wpshop_admin_box_options_shipping_rules') |
103 | 103 | ), |
@@ -105,14 +105,14 @@ discard block |
||
105 | 105 | endif; |
106 | 106 | |
107 | 107 | $groups['wpshop_addons_option'] = |
108 | - array( 'label' => __('Addons', 'wpshop'), |
|
108 | + array('label' => __('Addons', 'wpshop'), |
|
109 | 109 | 'subgroups' => array( |
110 | 110 | 'wpshop_addons_options' => array('class' => ' wpshop_admin_box_options_addons'), |
111 | 111 | ), |
112 | 112 | ); |
113 | 113 | |
114 | 114 | $groups['wpshop_advanced_options'] = |
115 | - array( 'label' => __('Advanced options', 'wpshop'), |
|
115 | + array('label' => __('Advanced options', 'wpshop'), |
|
116 | 116 | 'subgroups' => array( |
117 | 117 | 'wpshop_extra_options' => array('class' => ' wpshop_admin_box_options_advanced'), |
118 | 118 | ), |
@@ -138,17 +138,17 @@ discard block |
||
138 | 138 | ob_end_clean(); |
139 | 139 | $tpl_component['ADMIN_OPTIONS_TAB_LIST'] = ''; |
140 | 140 | $tpl_component['ADMIN_OPTIONS_TAB_CONTENT_LIST'] = ''; |
141 | - if ( !empty($options_list) ) { |
|
142 | - foreach ( $options_list as $group_key => $group_content) { |
|
141 | + if (!empty($options_list)) { |
|
142 | + foreach ($options_list as $group_key => $group_content) { |
|
143 | 143 | $sub_tpl_component = array(); |
144 | - if ( !empty($group_content['subgroups']) && is_array($group_content['subgroups']) ) { |
|
144 | + if (!empty($group_content['subgroups']) && is_array($group_content['subgroups'])) { |
|
145 | 145 | $sub_tpl_component['ADMIN_OPTIONS_GROUP_CONTENT'] = ''; |
146 | 146 | $sub_tpl_component['ADMIN_OPTIONS_TAB_KEY'] = $group_key; |
147 | - $sub_tpl_component['ADMIN_OPTIONS_TAB_LABEL'] = ( !empty($group_content['label']) ) ? $group_content['label'] : ''; |
|
147 | + $sub_tpl_component['ADMIN_OPTIONS_TAB_LABEL'] = (!empty($group_content['label'])) ? $group_content['label'] : ''; |
|
148 | 148 | $tpl_component['ADMIN_OPTIONS_TAB_LIST'] .= wpshop_display::display_template_element('wpshop_admin_options_group_tab', $sub_tpl_component, array(), 'admin'); |
149 | - foreach ( $group_content['subgroups'] as $subgroup_key => $subgroup_def) { |
|
149 | + foreach ($group_content['subgroups'] as $subgroup_key => $subgroup_def) { |
|
150 | 150 | ob_start(); |
151 | - do_settings_sections( $subgroup_key ); |
|
151 | + do_settings_sections($subgroup_key); |
|
152 | 152 | $sub_tpl_component['ADMIN_OPTIONS_SUBGROUP_CONTENT'] = ob_get_contents(); |
153 | 153 | ob_end_clean(); |
154 | 154 | $sub_tpl_component['ADMIN_OPTIONS_SUBGROUP_CLASS'] = $subgroup_def['class']; |
@@ -166,21 +166,21 @@ discard block |
||
166 | 166 | /** |
167 | 167 | * Declare the different options for the plugin |
168 | 168 | */ |
169 | - public static function add_options(){ |
|
169 | + public static function add_options() { |
|
170 | 170 | global $wpshop_display_option; |
171 | 171 | |
172 | 172 | |
173 | 173 | /*Catalog - Main */ |
174 | 174 | register_setting('wpshop_options', 'wpshop_catalog_main_option', array('wpshop_options', 'wpshop_options_validate_catalog_main_option')); |
175 | - add_settings_section('wpshop_catalog_main_section', '<span class="dashicons dashicons-category"></span>'.__('Catalog', 'wpshop'), array('wpshop_options', 'plugin_section_text'), 'wpshop_catalog_main_option'); |
|
175 | + add_settings_section('wpshop_catalog_main_section', '<span class="dashicons dashicons-category"></span>' . __('Catalog', 'wpshop'), array('wpshop_options', 'plugin_section_text'), 'wpshop_catalog_main_option'); |
|
176 | 176 | add_settings_field('wpshop_catalog_empty_price_behaviour', __('Empty price', 'wpshop'), array('wpshop_options', 'wpshop_catalog_empty_price_behaviour'), 'wpshop_catalog_main_option', 'wpshop_catalog_main_section'); |
177 | 177 | /* Catalog - Product */ |
178 | 178 | register_setting('wpshop_options', 'wpshop_catalog_product_option', array('wpshop_options', 'wpshop_options_validate_catalog_product_option')); |
179 | - add_settings_section('wpshop_catalog_product_section', '<span class="dashicons dashicons-archive"></span>'.__('Products', 'wpshop'), array('wpshop_options', 'plugin_section_text'), 'wpshop_catalog_product_option'); |
|
179 | + add_settings_section('wpshop_catalog_product_section', '<span class="dashicons dashicons-archive"></span>' . __('Products', 'wpshop'), array('wpshop_options', 'plugin_section_text'), 'wpshop_catalog_product_option'); |
|
180 | 180 | add_settings_field('wpshop_catalog_product_slug', __('Products common rewrite param', 'wpshop'), array('wpshop_options', 'wpshop_catalog_product_slug_field'), 'wpshop_catalog_product_option', 'wpshop_catalog_product_section'); |
181 | 181 | /* Catalog - Categories */ |
182 | 182 | register_setting('wpshop_options', 'wpshop_catalog_categories_option', array('wpshop_options', 'wpshop_options_validate_catalog_categories_option')); |
183 | - add_settings_section('wpshop_catalog_categories_section', '<span class="dashicons dashicons-portfolio"></span>'.__('Categories', 'wpshop'), array('wpshop_options', 'plugin_section_text'), 'wpshop_catalog_categories_option'); |
|
183 | + add_settings_section('wpshop_catalog_categories_section', '<span class="dashicons dashicons-portfolio"></span>' . __('Categories', 'wpshop'), array('wpshop_options', 'plugin_section_text'), 'wpshop_catalog_categories_option'); |
|
184 | 184 | add_settings_field('wpshop_catalog_categories_slug', __('Categories common rewrite param', 'wpshop'), array('wpshop_options', 'wpshop_catalog_categories_slug_field'), 'wpshop_catalog_categories_option', 'wpshop_catalog_categories_section'); |
185 | 185 | add_settings_field('wpshop_catalog_no_category_slug', __('Default category slug for unassociated product', 'wpshop'), array('wpshop_options', 'wpshop_catalog_no_category_slug_field'), 'wpshop_catalog_categories_option', 'wpshop_catalog_categories_section'); |
186 | 186 | |
@@ -191,16 +191,16 @@ discard block |
||
191 | 191 | wpshop_company_options::declare_options(); |
192 | 192 | |
193 | 193 | /* Payments */ |
194 | - $wpshop_shop_type = !empty( $_POST['wpshop_shop_type'] ) ? sanitize_text_field( $_POST['wpshop_shop_type'] ) : ''; |
|
195 | - $old_wpshop_shop_type = !empty( $_POST['old_wpshop_shop_type'] ) ? sanitize_text_field( $_POST['old_wpshop_shop_type'] ) : ''; |
|
196 | - if((WPSHOP_DEFINED_SHOP_TYPE == 'sale') && !isset($wpshop_shop_type) || (isset($wpshop_shop_type) && ($wpshop_shop_type != 'presentation')) && !isset($old_wpshop_shop_type) || (isset($old_wpshop_shop_type) && ($old_wpshop_shop_type != 'presentation'))){ |
|
194 | + $wpshop_shop_type = !empty($_POST['wpshop_shop_type']) ? sanitize_text_field($_POST['wpshop_shop_type']) : ''; |
|
195 | + $old_wpshop_shop_type = !empty($_POST['old_wpshop_shop_type']) ? sanitize_text_field($_POST['old_wpshop_shop_type']) : ''; |
|
196 | + if ((WPSHOP_DEFINED_SHOP_TYPE == 'sale') && !isset($wpshop_shop_type) || (isset($wpshop_shop_type) && ($wpshop_shop_type != 'presentation')) && !isset($old_wpshop_shop_type) || (isset($old_wpshop_shop_type) && ($old_wpshop_shop_type != 'presentation'))) { |
|
197 | 197 | wpshop_payment_options::declare_options(); |
198 | 198 | } |
199 | 199 | |
200 | 200 | /* Cart */ |
201 | - if((WPSHOP_DEFINED_SHOP_TYPE == 'sale') && !isset($wpshop_shop_type) || (isset($wpshop_shop_type) && ($wpshop_shop_type != 'presentation')) && !isset($old_wpshop_shop_type) || (isset($old_wpshop_shop_type) && ($old_wpshop_shop_type != 'presentation'))){ |
|
201 | + if ((WPSHOP_DEFINED_SHOP_TYPE == 'sale') && !isset($wpshop_shop_type) || (isset($wpshop_shop_type) && ($wpshop_shop_type != 'presentation')) && !isset($old_wpshop_shop_type) || (isset($old_wpshop_shop_type) && ($old_wpshop_shop_type != 'presentation'))) { |
|
202 | 202 | register_setting('wpshop_options', 'wpshop_cart_option', array('wpshop_options', 'wpshop_options_validate_cart')); |
203 | - add_settings_section('wpshop_cart_info', '<span class="dashicons dashicons-cart"></span>'.__('Cart', 'wpshop'), array('wpshop_options', 'plugin_section_text'), 'wpshop_cart_info'); |
|
203 | + add_settings_section('wpshop_cart_info', '<span class="dashicons dashicons-cart"></span>' . __('Cart', 'wpshop'), array('wpshop_options', 'plugin_section_text'), 'wpshop_cart_info'); |
|
204 | 204 | add_settings_field('wpshop_cart_product_added_behaviour', __('Action when produt is added succesfully into cart', 'wpshop'), array('wpshop_options', 'wpshop_cart_product_added_behaviour_field'), 'wpshop_cart_info', 'wpshop_cart_info'); |
205 | 205 | add_settings_field('wpshop_cart_product_added_to_quotation_behaviour', __('Action when produt is added succesfully into a quotation', 'wpshop'), array('wpshop_options', 'wpshop_cart_product_added_to_quotation_behaviour_field'), 'wpshop_cart_info', 'wpshop_cart_info'); |
206 | 206 | add_settings_field('wpshop_cart_total_item_nb', __('Allow only one product into cart', 'wpshop'), array('wpshop_options', 'wpshop_cart_total_item_nb_field'), 'wpshop_cart_info', 'wpshop_cart_info'); |
@@ -227,7 +227,7 @@ discard block |
||
227 | 227 | $wpshop_advanced_settings->declare_options(); |
228 | 228 | |
229 | 229 | /* Shipping section */ |
230 | - if((WPSHOP_DEFINED_SHOP_TYPE == 'sale') && !isset($wpshop_shop_type) || (isset($wpshop_shop_type) && ($wpshop_shop_type != 'presentation')) && !isset($old_wpshop_shop_type) || (isset($old_wpshop_shop_type) && ($old_wpshop_shop_type != 'presentation'))){ |
|
230 | + if ((WPSHOP_DEFINED_SHOP_TYPE == 'sale') && !isset($wpshop_shop_type) || (isset($wpshop_shop_type) && ($wpshop_shop_type != 'presentation')) && !isset($old_wpshop_shop_type) || (isset($old_wpshop_shop_type) && ($old_wpshop_shop_type != 'presentation'))) { |
|
231 | 231 | $wpshop_shipping_options = new wpshop_shipping_options(); |
232 | 232 | $wpshop_shipping_options->declare_options(); |
233 | 233 | } |
@@ -245,7 +245,7 @@ discard block |
||
245 | 245 | $options = get_option('wpshop_catalog_main_option'); |
246 | 246 | echo '<input type="checkbox"' . (!empty($options['wpshop_catalog_empty_price_behaviour']) ? ' checked="checked" ' : '') . ' value="yes" name="wpshop_catalog_main_option[wpshop_catalog_empty_price_behaviour]" id="wpshop_catalog_empty_price_behaviour" /> <label for="wpshop_catalog_empty_price_behaviour" >' . __('Hide price and add to cart button when price is empty or equal to 0', 'wpshop') . '</label>'; |
247 | 247 | } |
248 | - public static function wpshop_catalog_product_slug_field(){ |
|
248 | + public static function wpshop_catalog_product_slug_field() { |
|
249 | 249 | $options = get_option('wpshop_catalog_product_option'); |
250 | 250 | $catalog_cat_options = get_option('wpshop_catalog_categories_option'); |
251 | 251 | echo '<input type="checkbox"' . (!empty($options['wpshop_catalog_product_slug_with_category']) ? ' checked="checked" ' : '') . ' value="yes" name="wpshop_catalog_product_option[wpshop_catalog_product_slug_with_category]" id="wpshop_catalog_product_slug_with_category" /> <label for="wpshop_catalog_product_slug_with_category">' . __('Use product category in url', 'wpshop') . '</label><br/> |
@@ -253,24 +253,24 @@ discard block |
||
253 | 253 | <div class="alignleft wpshop_options_catalog_product_rewrite" ><input type="text" name="wpshop_catalog_product_option[wpshop_catalog_product_slug]" value="' . (!empty($options['wpshop_catalog_product_slug']) ? $options['wpshop_catalog_product_slug'] : WPSHOP_CATALOG_PRODUCT_SLUG) . '" /></div> |
254 | 254 | <div class="alignleft wpshop_options_catalog_product_rewrite" ><span class="wpshop_catalog_product_slug_category' . (empty($options['wpshop_catalog_product_slug_with_category']) ? ' disable' : '') . '" >/' . (!empty($catalog_cat_options['wpshop_catalog_categories_slug']) ? $catalog_cat_options['wpshop_catalog_categories_slug'] : WPSHOP_CATALOG_CATEGORIES_SLUG) . '</span></div> |
255 | 255 | <div class="alignleft wpshop_options_catalog_product_rewrite" >/' . __('Your_product_slug', 'wpshop') . '</div> |
256 | - <div class="alignleft" ><a href="#" title="'.__('This slug will be used in url to describe products page','wpshop').'" class="wpshop_infobulle_marker">?</a></div><br /><br /> |
|
257 | - <div><span style="color: red;" class="dashicons dashicons-megaphone"></span> '.__('"/" permit to disable slug of products (<b>but don\'t work with rewrites plugins</b>)','wpshop').'</div>'; |
|
256 | + <div class="alignleft" ><a href="#" title="'.__('This slug will be used in url to describe products page', 'wpshop') . '" class="wpshop_infobulle_marker">?</a></div><br /><br /> |
|
257 | + <div><span style="color: red;" class="dashicons dashicons-megaphone"></span> '.__('"/" permit to disable slug of products (<b>but don\'t work with rewrites plugins</b>)', 'wpshop') . '</div>'; |
|
258 | 258 | } |
259 | - public static function wpshop_catalog_categories_slug_field(){ |
|
259 | + public static function wpshop_catalog_categories_slug_field() { |
|
260 | 260 | $options = get_option('wpshop_catalog_categories_option'); |
261 | 261 | echo '<input type="text" name="wpshop_catalog_categories_option[wpshop_catalog_categories_slug]" value="' . (!empty($options['wpshop_catalog_categories_slug']) ? $options['wpshop_catalog_categories_slug'] : WPSHOP_CATALOG_CATEGORIES_SLUG) . '" /> |
262 | - <a href="#" title="'.__('This slug will be used in url to describe catagories page','wpshop').'" class="wpshop_infobulle_marker">?</a>'; |
|
262 | + <a href="#" title="'.__('This slug will be used in url to describe catagories page', 'wpshop') . '" class="wpshop_infobulle_marker">?</a>'; |
|
263 | 263 | } |
264 | - public static function wpshop_catalog_no_category_slug_field(){ |
|
264 | + public static function wpshop_catalog_no_category_slug_field() { |
|
265 | 265 | $options = get_option('wpshop_catalog_categories_option'); |
266 | 266 | echo '<input type="text" name="wpshop_catalog_categories_option[wpshop_catalog_no_category_slug]" value="' . (!empty($options['wpshop_catalog_no_category_slug']) ? $options['wpshop_catalog_no_category_slug'] : WPSHOP_CATALOG_PRODUCT_NO_CATEGORY) . '" /> |
267 | - <a href="#" title="'.__('This slug will be used for products not being related to any category ','wpshop').'" class="wpshop_infobulle_marker">?</a>'; |
|
267 | + <a href="#" title="'.__('This slug will be used for products not being related to any category ', 'wpshop') . '" class="wpshop_infobulle_marker">?</a>'; |
|
268 | 268 | } |
269 | 269 | |
270 | 270 | /* Processing */ |
271 | - public static function wpshop_options_validate_catalog_product_option($input){ |
|
272 | - foreach($input as $option_key => $option_value){ |
|
273 | - switch($option_key){ |
|
271 | + public static function wpshop_options_validate_catalog_product_option($input) { |
|
272 | + foreach ($input as $option_key => $option_value) { |
|
273 | + switch ($option_key) { |
|
274 | 274 | default: |
275 | 275 | $new_input[$option_key] = $option_value; |
276 | 276 | break; |
@@ -279,9 +279,9 @@ discard block |
||
279 | 279 | |
280 | 280 | return $new_input; |
281 | 281 | } |
282 | - public static function wpshop_options_validate_catalog_categories_option($input){ |
|
283 | - foreach($input as $option_key => $option_value){ |
|
284 | - switch($option_key){ |
|
282 | + public static function wpshop_options_validate_catalog_categories_option($input) { |
|
283 | + foreach ($input as $option_key => $option_value) { |
|
284 | + switch ($option_key) { |
|
285 | 285 | default: |
286 | 286 | $new_input[$option_key] = $option_value; |
287 | 287 | break; |
@@ -290,11 +290,11 @@ discard block |
||
290 | 290 | |
291 | 291 | return $new_input; |
292 | 292 | } |
293 | - public static function wpshop_options_validate_catalog_main_option($input){ |
|
293 | + public static function wpshop_options_validate_catalog_main_option($input) { |
|
294 | 294 | $new_input = $input; |
295 | - if ( !empty($input) && is_array( $input ) ) { |
|
296 | - foreach($input as $option_key => $option_value){ |
|
297 | - switch($option_key){ |
|
295 | + if (!empty($input) && is_array($input)) { |
|
296 | + foreach ($input as $option_key => $option_value) { |
|
297 | + switch ($option_key) { |
|
298 | 298 | default: |
299 | 299 | $new_input[$option_key] = $option_value; |
300 | 300 | break; |
@@ -305,16 +305,16 @@ discard block |
||
305 | 305 | return $new_input; |
306 | 306 | } |
307 | 307 | |
308 | - public static function wpshop_catalog_varition_product_field () { |
|
308 | + public static function wpshop_catalog_varition_product_field() { |
|
309 | 309 | $catalog_product_option = get_option('wpshop_catalog_product_option'); |
310 | - $output = '<input type="checkbox" name="wpshop_catalog_product_option[price_display][text_from]" id="wpshop_catalog_product_option_price_display_text_from" ' .( ( !empty($catalog_product_option) && !empty($catalog_product_option['price_display']) && !empty($catalog_product_option['price_display']['text_from']) ) ? 'checked="checked"' : '' ). ' /> '; |
|
311 | - $output .= '<label for="wpshop_catalog_product_option_price_display_text_from">'. __('Display "price from" before basic price of product', 'wpshop').'</label><br/>'; |
|
312 | - $output .= '<input type="checkbox" name="wpshop_catalog_product_option[price_display][lower_price]" id="wpshop_catalog_product_option_price_display_lower_price" ' .( ( !empty($catalog_product_option) && !empty($catalog_product_option['price_display']) && !empty($catalog_product_option['price_display']['lower_price']) ) ? 'checked="checked"' : '' ). ' /> '; |
|
313 | - $output .= '<label for="wpshop_catalog_product_option_price_display_lower_price">'. __('Display the lowest price of variation', 'wpshop').'</label>'; |
|
310 | + $output = '<input type="checkbox" name="wpshop_catalog_product_option[price_display][text_from]" id="wpshop_catalog_product_option_price_display_text_from" ' . ((!empty($catalog_product_option) && !empty($catalog_product_option['price_display']) && !empty($catalog_product_option['price_display']['text_from'])) ? 'checked="checked"' : '') . ' /> '; |
|
311 | + $output .= '<label for="wpshop_catalog_product_option_price_display_text_from">' . __('Display "price from" before basic price of product', 'wpshop') . '</label><br/>'; |
|
312 | + $output .= '<input type="checkbox" name="wpshop_catalog_product_option[price_display][lower_price]" id="wpshop_catalog_product_option_price_display_lower_price" ' . ((!empty($catalog_product_option) && !empty($catalog_product_option['price_display']) && !empty($catalog_product_option['price_display']['lower_price'])) ? 'checked="checked"' : '') . ' /> '; |
|
313 | + $output .= '<label for="wpshop_catalog_product_option_price_display_lower_price">' . __('Display the lowest price of variation', 'wpshop') . '</label>'; |
|
314 | 314 | echo $output; |
315 | 315 | } |
316 | 316 | |
317 | - public static function wpshop_catalog_product_variation_option_validate ($input) { |
|
317 | + public static function wpshop_catalog_product_variation_option_validate($input) { |
|
318 | 318 | return $input; |
319 | 319 | } |
320 | 320 | |
@@ -332,7 +332,7 @@ discard block |
||
332 | 332 | $input_def['valueToPut'] = 'index'; |
333 | 333 | $input_def['value'] = !empty($cart_option['total_nb_of_item_allowed']) ? $cart_option['total_nb_of_item_allowed'][0] : ''; |
334 | 334 | $input_def['possible_value'] = 'yes'; |
335 | - $output .= wpshop_form::check_input_type($input_def, 'wpshop_cart_option[total_nb_of_item_allowed]') . '<a href="#" title="'.__('Check this box if you want to allow the user to add only one product into cart','wpshop').'" class="wpshop_infobulle_marker">?</a>'; |
|
335 | + $output .= wpshop_form::check_input_type($input_def, 'wpshop_cart_option[total_nb_of_item_allowed]') . '<a href="#" title="' . __('Check this box if you want to allow the user to add only one product into cart', 'wpshop') . '" class="wpshop_infobulle_marker">?</a>'; |
|
336 | 336 | |
337 | 337 | echo $output; |
338 | 338 | } |
@@ -345,7 +345,7 @@ discard block |
||
345 | 345 | $input_def['id'] = 'wpshop_cart_option_nb_of_same_item_allowed'; |
346 | 346 | $input_def['type'] = 'text'; |
347 | 347 | $input_def['value'] = $cart_option['total_nb_of_same_item_allowed'][0]; |
348 | - $output .= wpshop_form::check_input_type($input_def, 'wpshop_cart_option[total_nb_of_same_item_allowed]') . '<a href="#" title="'.__('Empty for no restriction','wpshop').'" class="wpshop_infobulle_marker">?</a>'; |
|
348 | + $output .= wpshop_form::check_input_type($input_def, 'wpshop_cart_option[total_nb_of_same_item_allowed]') . '<a href="#" title="' . __('Empty for no restriction', 'wpshop') . '" class="wpshop_infobulle_marker">?</a>'; |
|
349 | 349 | |
350 | 350 | echo $output; |
351 | 351 | } |
@@ -364,11 +364,11 @@ discard block |
||
364 | 364 | $input_def['options_label']['container'] = true; |
365 | 365 | $output .= wpshop_form::check_input_type($input_def, 'wpshop_cart_option[product_added_to_cart]'); |
366 | 366 | |
367 | - $hide = ( (!empty($cart_option) && !empty($cart_option['product_added_to_cart'][0]) && $cart_option['product_added_to_cart'][0] == 'cart_page') ? 'wpshopHide' : null); |
|
368 | - $output .= '<div id="wpshop_cart_option_animation_cart_type" class="' .$hide. '"><label for="wpshop_cart_option[animation_cart_type]">' .__('Cart animation type', 'wpshop'). '</label>'; |
|
367 | + $hide = ((!empty($cart_option) && !empty($cart_option['product_added_to_cart'][0]) && $cart_option['product_added_to_cart'][0] == 'cart_page') ? 'wpshopHide' : null); |
|
368 | + $output .= '<div id="wpshop_cart_option_animation_cart_type" class="' . $hide . '"><label for="wpshop_cart_option[animation_cart_type]">' . __('Cart animation type', 'wpshop') . '</label>'; |
|
369 | 369 | $output .= '<select name="wpshop_cart_option[animation_cart_type]" id="wpshop_cart_option[animation_cart_type]">'; |
370 | - $output .= '<option value="pop-in" ' .( ( !empty($cart_option['animation_cart_type']) && $cart_option['animation_cart_type'] == 'pop-in') ? 'selected="selected"' : null). '>' .__('Dialog box', 'wpshop'). '</option>'; |
|
371 | - $output .= '<option value="animation" ' .( ( !empty($cart_option['animation_cart_type']) && $cart_option['animation_cart_type'] == 'animation') ? 'selected="selected"' : null). '>' .__('Image animation', 'wpshop'). '</option>'; |
|
370 | + $output .= '<option value="pop-in" ' . ((!empty($cart_option['animation_cart_type']) && $cart_option['animation_cart_type'] == 'pop-in') ? 'selected="selected"' : null) . '>' . __('Dialog box', 'wpshop') . '</option>'; |
|
371 | + $output .= '<option value="animation" ' . ((!empty($cart_option['animation_cart_type']) && $cart_option['animation_cart_type'] == 'animation') ? 'selected="selected"' : null) . '>' . __('Image animation', 'wpshop') . '</option>'; |
|
372 | 372 | $output .= '</select></div>'; |
373 | 373 | |
374 | 374 | echo $output; |
@@ -386,7 +386,7 @@ discard block |
||
386 | 386 | $input_def['id'] = 'wpshop_cart_option_action_after_product_added_to_quotation'; |
387 | 387 | $input_def['type'] = 'radio'; |
388 | 388 | $input_def['valueToPut'] = 'index'; |
389 | - $input_def['value'] = ( !empty($cart_option['product_added_to_quotation']) ? $cart_option['product_added_to_quotation'] : null ); |
|
389 | + $input_def['value'] = (!empty($cart_option['product_added_to_quotation']) ? $cart_option['product_added_to_quotation'] : null); |
|
390 | 390 | $input_def['possible_value'] = array('dialog_msg' => __('Display the dialog allowing to choose between continue shopping or go to cart', 'wpshop'), 'cart_page' => __('Automaticaly send user to cart page', 'wpshop')); |
391 | 391 | $input_def['options_label']['original'] = true; |
392 | 392 | $input_def['options_label']['container'] = true; |
@@ -394,14 +394,14 @@ discard block |
||
394 | 394 | |
395 | 395 | echo $output; |
396 | 396 | } |
397 | - public static function wpshop_options_validate_cart( $input ) { |
|
397 | + public static function wpshop_options_validate_cart($input) { |
|
398 | 398 | |
399 | - if ( empty( $input ) || empty( $input[ 'display_newsletter' ] ) || empty( $input[ 'display_newsletter' ][ 'partner_subscription' ] ) ) { |
|
400 | - $input[ 'display_newsletter' ][ 'partner_subscription' ] = 'no'; |
|
399 | + if (empty($input) || empty($input['display_newsletter']) || empty($input['display_newsletter']['partner_subscription'])) { |
|
400 | + $input['display_newsletter']['partner_subscription'] = 'no'; |
|
401 | 401 | } |
402 | 402 | |
403 | - if ( empty( $input ) || empty( $input[ 'display_newsletter' ] ) || empty( $input[ 'display_newsletter' ][ 'site_subscription' ] ) ) { |
|
404 | - $input[ 'display_newsletter' ][ 'site_subscription' ] = 'no'; |
|
403 | + if (empty($input) || empty($input['display_newsletter']) || empty($input['display_newsletter']['site_subscription'])) { |
|
404 | + $input['display_newsletter']['site_subscription'] = 'no'; |
|
405 | 405 | } |
406 | 406 | |
407 | 407 | return $input; |
@@ -1,8 +1,8 @@ discard block |
||
1 | -<?php if ( !defined( 'ABSPATH' ) ) exit; |
|
1 | +<?php if (!defined('ABSPATH')) exit; |
|
2 | 2 | |
3 | 3 | /* Check if file is include. No direct access possible with file url */ |
4 | -if ( !defined( 'WPSHOP_VERSION' ) ) { |
|
5 | - die( __('Access is not allowed by this way', 'wpshop') ); |
|
4 | +if (!defined('WPSHOP_VERSION')) { |
|
5 | + die(__('Access is not allowed by this way', 'wpshop')); |
|
6 | 6 | } |
7 | 7 | |
8 | 8 | /** |
@@ -20,12 +20,12 @@ discard block |
||
20 | 20 | * @package wpshop |
21 | 21 | * @subpackage librairies |
22 | 22 | */ |
23 | -class wpshop_addons_settings{ |
|
23 | +class wpshop_addons_settings { |
|
24 | 24 | |
25 | 25 | /** |
26 | 26 | * Déclaration des différentes options |
27 | 27 | */ |
28 | - function declare_options(){ |
|
28 | + function declare_options() { |
|
29 | 29 | // add_settings_section('wpshop_addons_options', __('Wpshop "addons"', 'wpshop'), array('wpshop_advanced_settings', 'plugin_section_text'), 'wpshop_addons_options'); |
30 | 30 | // register_setting('wpshop_options', 'wpshop_addons_options', array('wpshop_addons_settings', 'validate_options')); |
31 | 31 | // add_settings_field('wpshop_addons_settings_field', '', array('wpshop_addons_settings', 'addons_definition_fields'), 'wpshop_addons_options', 'wpshop_addons_options'); |
@@ -42,33 +42,33 @@ discard block |
||
42 | 42 | * |
43 | 43 | * @param unknown_type $input |
44 | 44 | */ |
45 | - public static function validate_options($input){ |
|
45 | + public static function validate_options($input) { |
|
46 | 46 | |
47 | 47 | } |
48 | 48 | |
49 | 49 | /** |
50 | 50 | * Définition des champs pour l'activation des addons |
51 | 51 | */ |
52 | - function addons_definition_fields () { |
|
52 | + function addons_definition_fields() { |
|
53 | 53 | $content = ''; |
54 | 54 | |
55 | - $content .= '<input type="hidden" name="wpshop_ajax_addons_nonce" id="wpshop_ajax_addons_nonce" value="'.wp_create_nonce('wpshop_ajax_activate_addons').'" />'; |
|
55 | + $content .= '<input type="hidden" name="wpshop_ajax_addons_nonce" id="wpshop_ajax_addons_nonce" value="' . wp_create_nonce('wpshop_ajax_activate_addons') . '" />'; |
|
56 | 56 | |
57 | 57 | $addons_options = get_option('wpshop_addons', array()); |
58 | 58 | $addons_list = unserialize(WPSHOP_ADDONS_LIST); |
59 | 59 | foreach ($addons_list as $addon => $addon_def) { |
60 | 60 | $activated_status = false; |
61 | - if ( array_key_exists($addon, $addons_options) && ( $addons_options[$addon]['activate'] )) { |
|
61 | + if (array_key_exists($addon, $addons_options) && ($addons_options[$addon]['activate'])) { |
|
62 | 62 | $activated_status = true; |
63 | 63 | } |
64 | - $activated_string = $activated_status ? __('Activated','wpshop') : __('Desactivated','wpshop'); |
|
64 | + $activated_string = $activated_status ? __('Activated', 'wpshop') : __('Desactivated', 'wpshop'); |
|
65 | 65 | $activated_class = unserialize(WPSHOP_ADDONS_STATES_CLASS); |
66 | - $content .= '<strong>' . __($addon_def[0], 'wpshop') . '</strong>: <span class="'.$activated_class[$activated_status].'" id="addon_'.$addon.'_state" >'.$activated_string.'</span>'; |
|
66 | + $content .= '<strong>' . __($addon_def[0], 'wpshop') . '</strong>: <span class="' . $activated_class[$activated_status] . '" id="addon_' . $addon . '_state" >' . $activated_string . '</span>'; |
|
67 | 67 | if (!$activated_status) { |
68 | - $content .= ' <input type="text" name="'.$addon.'" id="'.$addon.'" value="" /> <input type="button" name="'.$addon.'_button" id="'.$addon.'_button" class="addons_activating_button button-primary" value="'.__('Activate this addon','wpshop').'" />'; |
|
68 | + $content .= ' <input type="text" name="' . $addon . '" id="' . $addon . '" value="" /> <input type="button" name="' . $addon . '_button" id="' . $addon . '_button" class="addons_activating_button button-primary" value="' . __('Activate this addon', 'wpshop') . '" />'; |
|
69 | 69 | } |
70 | 70 | else { |
71 | - $content .= ' <input type="button" name="'.$addon.'_button" id="'.$addon.'_button" class="addons_desactivating_button button-secondary" value="'.__('Desactivate this addon','wpshop').'" />'; |
|
71 | + $content .= ' <input type="button" name="' . $addon . '_button" id="' . $addon . '_button" class="addons_desactivating_button button-secondary" value="' . __('Desactivate this addon', 'wpshop') . '" />'; |
|
72 | 72 | } |
73 | 73 | $content .= '<br/>'; |
74 | 74 | } |
@@ -1,4 +1,6 @@ discard block |
||
1 | -<?php if ( !defined( 'ABSPATH' ) ) exit; |
|
1 | +<?php if ( !defined( 'ABSPATH' ) ) { |
|
2 | + exit; |
|
3 | +} |
|
2 | 4 | ?> |
3 | 5 | <span class="wps-mini-cart-body-title"> |
4 | 6 | <strong><?php echo $total_cart_item; ?></strong><?php _e( 'item(s)', 'wpshop'); ?><span><strong><?php echo number_format( $total_cart, 2, '.', ''); ?></strong><?php echo $currency; ?></span> |
@@ -12,8 +14,7 @@ discard block |
||
12 | 14 | $parent_post = $parent_def['parent_post']; |
13 | 15 | $item_id = $parent_post->ID; |
14 | 16 | $item_title = $parent_post->post_title; |
15 | - } |
|
16 | - else { |
|
17 | + } else { |
|
17 | 18 | $item_title = $item['item_name']; |
18 | 19 | } |
19 | 20 | ?> |