Compare commits
1021 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
229b63777c | ||
|
|
cb6d16fb38 | ||
|
|
5877034934 | ||
|
|
fa43842729 | ||
|
|
2a6a8ae7d1 | ||
|
|
7064c1d387 | ||
|
|
b837a7c6c1 | ||
|
|
95092cd05b | ||
|
|
96c858f01e | ||
|
|
274a8934e4 | ||
|
|
45cc150454 | ||
|
|
44ee6c6d0f | ||
|
|
09b1c697d3 | ||
|
|
9681cfc3a6 | ||
|
|
fffdc9b114 | ||
|
|
fe7be46dbe | ||
|
|
14399b4401 | ||
|
|
7b412165a6 | ||
|
|
3c034d8861 | ||
|
|
91601e767e | ||
|
|
53091bc6d4 | ||
|
|
aa70c0f18d | ||
|
|
2f7f6b3a3b | ||
|
|
288e84cc64 | ||
|
|
a72d2eec38 | ||
|
|
0bd7659b2a | ||
|
|
be301f3270 | ||
|
|
0500d8282a | ||
|
|
38ee53c222 | ||
|
|
9b6037ff4a | ||
|
|
98effc7bdf | ||
|
|
dc7356929c | ||
|
|
0a433901ac | ||
|
|
465cc1eb91 | ||
|
|
9306e76758 | ||
|
|
b335cb196f | ||
|
|
c2677309fc | ||
|
|
bf1aa53f67 | ||
|
|
33e6ac6628 | ||
|
|
d27259ef88 | ||
|
|
bc1188e4d3 | ||
|
|
f465af24b4 | ||
|
|
f7735427fc | ||
|
|
4296982118 | ||
|
|
226c83256c | ||
|
|
0c2c1db553 | ||
|
|
ef87beed40 | ||
|
|
d3b850558f | ||
|
|
97037f5939 | ||
|
|
372b068f77 | ||
|
|
25a6289a60 | ||
|
|
5fb6bcc040 | ||
|
|
2baf269661 | ||
|
|
5a8ad9cb1d | ||
|
|
8e36d7d247 | ||
|
|
97722fd0d4 | ||
|
|
76533c40bd | ||
|
|
13ec8072ff | ||
|
|
d8422f1896 | ||
|
|
72b7fa3801 | ||
|
|
8116af4917 | ||
|
|
85ff9109ae | ||
|
|
3517cf88db | ||
|
|
675ee2152c | ||
|
|
2171d7ee72 | ||
|
|
2e8597a9ed | ||
|
|
2e4b4ed7cb | ||
|
|
38086c5dc6 | ||
|
|
b5e6f2cb75 | ||
|
|
09c59581da | ||
|
|
d96a1f8fb5 | ||
|
|
7e77ec7258 | ||
|
|
3da78b569d | ||
|
|
42c7b35ef1 | ||
|
|
d010933362 | ||
|
|
4756b73b70 | ||
|
|
1cd96146b2 | ||
|
|
39127bbc3f | ||
|
|
60185f7e03 | ||
|
|
21aaa26b52 | ||
|
|
6591928844 | ||
|
|
0051788824 | ||
|
|
313e67d433 | ||
|
|
7f25509976 | ||
|
|
7cdf8b2753 | ||
|
|
6da93d9b45 | ||
|
|
7c133b80ba | ||
|
|
99295113e2 | ||
|
|
ec55488fae | ||
|
|
939615b3ef | ||
|
|
a28b092c88 | ||
|
|
76f1c9485a | ||
|
|
f35fded601 | ||
|
|
bc3261e0b7 | ||
|
|
9605d8c12f | ||
|
|
3ef352a73c | ||
|
|
499a076ae6 | ||
|
|
6fff757757 | ||
|
|
c9b7edb58f | ||
|
|
7249993a3f | ||
|
|
ac1b512272 | ||
|
|
92cfd73b86 | ||
|
|
508651ba5a | ||
|
|
8f88afd9bc | ||
|
|
e489addaf7 | ||
|
|
43ae95049c | ||
|
|
7f503a946a | ||
|
|
343591ef87 | ||
|
|
5c4e87777d | ||
|
|
51377ddf02 | ||
|
|
c8227b63b5 | ||
|
|
46fd70b267 | ||
|
|
66a0e47042 | ||
|
|
f4e3ba9eae | ||
|
|
c8d4bbb09e | ||
|
|
095e89778d | ||
|
|
c57942fc71 | ||
|
|
241afd9767 | ||
|
|
79d4bd7c1d | ||
|
|
0a16c5d0fd | ||
|
|
ed879df6f6 | ||
|
|
57e4b5f2cf | ||
|
|
02a18a41cf | ||
|
|
9f4e8688f7 | ||
|
|
dae880727e | ||
|
|
9c245e8f2a | ||
|
|
2a9fb74ec5 | ||
|
|
2316a74075 | ||
|
|
7013d26717 | ||
|
|
991d50a4c3 | ||
|
|
0043e9b945 | ||
|
|
35ac5cd809 | ||
|
|
4515866661 | ||
|
|
b693851119 | ||
|
|
d5945ec7fd | ||
|
|
a37133a376 | ||
|
|
84ecba99a7 | ||
|
|
2bd3fe4cb8 | ||
|
|
ae7b4a10ab | ||
|
|
232e8c2cc3 | ||
|
|
4484464620 | ||
|
|
af36d06a26 | ||
|
|
f6659f13a0 | ||
|
|
6e057fadb9 | ||
|
|
8d083d38dd | ||
|
|
2690cf7efe | ||
|
|
f622108d30 | ||
|
|
287acd97a5 | ||
|
|
edee6f6c2d | ||
|
|
7ac8036706 | ||
|
|
fe87fd0f97 | ||
|
|
3e87f2bc45 | ||
|
|
a4d3d16156 | ||
|
|
2a957e615a | ||
|
|
e8ac7d10af | ||
|
|
c9f8d11e3a | ||
|
|
c0f09c9590 | ||
|
|
80b10acb5e | ||
|
|
147e1a8409 | ||
|
|
2efac7fc23 | ||
|
|
d44cecdd50 | ||
|
|
297dd87efc | ||
|
|
61db68ff59 | ||
|
|
0f5c6f264d | ||
|
|
7d724608c4 | ||
|
|
e8b9ba18bc | ||
|
|
e5c75bc0ac | ||
|
|
84e4d6a393 | ||
|
|
f2094d7a9c | ||
|
|
beb14de978 | ||
|
|
2397aed7d9 | ||
|
|
d10418478d | ||
|
|
c209479a7f | ||
|
|
a208d6b5cd | ||
|
|
9cf866070d | ||
|
|
a337f004c1 | ||
|
|
eee9c0dbf0 | ||
|
|
a397a075d1 | ||
|
|
93f3516b35 | ||
|
|
d2ac550c57 | ||
|
|
2dd6b962cc | ||
|
|
7cca21d762 | ||
|
|
92b1427950 | ||
|
|
15e41d0f77 | ||
|
|
0e07893041 | ||
|
|
87a6d574ed | ||
|
|
ab407dd70b | ||
|
|
8f06a18584 | ||
|
|
0fd8a8f32c | ||
|
|
bdd447f0f7 | ||
|
|
5e476eba5a | ||
|
|
99e1772050 | ||
|
|
5508823505 | ||
|
|
ca3ab742f0 | ||
|
|
0d78cfb3d2 | ||
|
|
7038b2674b | ||
|
|
f6e9488e74 | ||
|
|
04b3b0ac5e | ||
|
|
2aeae17ba6 | ||
|
|
d2f89e79ba | ||
|
|
16861c4d03 | ||
|
|
e8a3c10175 | ||
|
|
5768a6c688 | ||
|
|
42e9185a4d | ||
|
|
bf64f9ac21 | ||
|
|
d80b3ffc8b | ||
|
|
7e8d640627 | ||
|
|
aff7e275a6 | ||
|
|
45cc1929d4 | ||
|
|
3b22a2d2e6 | ||
|
|
1a8596a437 | ||
|
|
197474aaaa | ||
|
|
7319f54a9b | ||
|
|
fb7980305e | ||
|
|
f63eccc824 | ||
|
|
0da9ffa601 | ||
|
|
f236fe6494 | ||
|
|
fbbca19d52 | ||
|
|
0c077908a2 | ||
|
|
03cf3efc9c | ||
|
|
9117632139 | ||
|
|
7d169bc0fc | ||
|
|
186ae63083 | ||
|
|
e18450562e | ||
|
|
cadda17361 | ||
|
|
fbb969c028 | ||
|
|
7bac43b93c | ||
|
|
8f8c1e705c | ||
|
|
7a09986e0c | ||
|
|
51e9c6faa1 | ||
|
|
9129bdb0c0 | ||
|
|
05266a9dfd | ||
|
|
f42b9159e5 | ||
|
|
4afe87e550 | ||
|
|
bd24529ef1 | ||
|
|
d1b68c3c47 | ||
|
|
605cc1c938 | ||
|
|
7376be6afe | ||
|
|
5517c5c9af | ||
|
|
7d9b03fd31 | ||
|
|
ab78c51dc5 | ||
|
|
59aeea0b28 | ||
|
|
a5c9e152bc | ||
|
|
597df874a0 | ||
|
|
5062880e68 | ||
|
|
81259e99d7 | ||
|
|
55e9fc7a52 | ||
|
|
c45c357f56 | ||
|
|
560903fefe | ||
|
|
903c84ac8b | ||
|
|
c4233c4c9b | ||
|
|
e7f95cbed0 | ||
|
|
e59f33705a | ||
|
|
d0511c3211 | ||
|
|
4d288f7694 | ||
|
|
c3526bce99 | ||
|
|
0f9613cc65 | ||
|
|
53c1b80ec6 | ||
|
|
2c6e8a41c7 | ||
|
|
d1f8e02485 | ||
|
|
202d6a6a09 | ||
|
|
500d67ef1c | ||
|
|
b74fec078e | ||
|
|
5646de21f3 | ||
|
|
1c7ca064eb | ||
|
|
1f7c5e246b | ||
|
|
9c42712cb8 | ||
|
|
0558a2fd5a | ||
|
|
0f3558ff9c | ||
|
|
30ef82a2bf | ||
|
|
10f22fed70 | ||
|
|
f5ceaaf200 | ||
|
|
beb8fff0be | ||
|
|
8d69864933 | ||
|
|
194c182e8c | ||
|
|
71f2f43ca6 | ||
|
|
99007ec463 | ||
|
|
60fd01ec60 | ||
|
|
683e3fd594 | ||
|
|
b48bdb0ff6 | ||
|
|
e3a5d7fe37 | ||
|
|
96df495dd6 | ||
|
|
2dc8cf5974 | ||
|
|
9924aaf850 | ||
|
|
c197093143 | ||
|
|
74dab4ca50 | ||
|
|
7f1c45e1d9 | ||
|
|
6ab3c0a045 | ||
|
|
8527b9e12f | ||
|
|
92d004241c | ||
|
|
11380aaf32 | ||
|
|
99f6062403 | ||
|
|
9d8452eef0 | ||
|
|
341eefd647 | ||
|
|
ba041f3b20 | ||
|
|
ac441b6ac9 | ||
|
|
88bc90561a | ||
|
|
da53a0471d | ||
|
|
1e1141acc8 | ||
|
|
2b5915b625 | ||
|
|
10a6a2606e | ||
|
|
05a12813c2 | ||
|
|
2a5faa0271 | ||
|
|
5f430e1f97 | ||
|
|
cddb713ba1 | ||
|
|
f1bc6322c3 | ||
|
|
1c6ff9d9a3 | ||
|
|
520867e0fe | ||
|
|
8da11c4662 | ||
|
|
418860718c | ||
|
|
ab214d4c37 | ||
|
|
3be610fdd2 | ||
|
|
6a4eb7e768 | ||
|
|
f1bda28edb | ||
|
|
accd9d0f19 | ||
|
|
4bd908d20a | ||
|
|
923af93fc3 | ||
|
|
631d038526 | ||
|
|
cb00fd4529 | ||
|
|
f39d311242 | ||
|
|
2ce3fdf7ac | ||
|
|
1c382ad069 | ||
|
|
fa3613c5a4 | ||
|
|
bdfa25bc86 | ||
|
|
c26ed8f23d | ||
|
|
fda1332b58 | ||
|
|
b907210950 | ||
|
|
ec93df4efa | ||
|
|
cc7584e340 | ||
|
|
da1326a34d | ||
|
|
59f46ddfe5 | ||
|
|
b0eff944e1 | ||
|
|
372367913b | ||
|
|
25811cee65 | ||
|
|
8ab8ef1fec | ||
|
|
a2b15b4ea4 | ||
|
|
d8b9f6b70e | ||
|
|
4738bda72e | ||
|
|
0f827d6994 | ||
|
|
5b9778bd5f | ||
|
|
76a270ab66 | ||
|
|
f303dabffc | ||
|
|
21927830bf | ||
|
|
d4f2bbc32b | ||
|
|
b3f683ea38 | ||
|
|
9f44210d82 | ||
|
|
9b449a8350 | ||
|
|
cc91b4bd60 | ||
|
|
0ace4281df | ||
|
|
22915d5b12 | ||
|
|
e960e9c413 | ||
|
|
006e3ed14e | ||
|
|
c3dde0b518 | ||
|
|
5866679f7c | ||
|
|
f182be7896 | ||
|
|
d41ea63e31 | ||
|
|
8d159c06da | ||
|
|
8aa88f4aab | ||
|
|
0a3803c941 | ||
|
|
2b9f2027f5 | ||
|
|
bc6b960a80 | ||
|
|
77545868c3 | ||
|
|
cfd6918b70 | ||
|
|
a4956730c3 | ||
|
|
4cd47049fa | ||
|
|
a5f4bb7eec | ||
|
|
f402b12ce3 | ||
|
|
b204c0f896 | ||
|
|
93d945d403 | ||
|
|
ce9948699a | ||
|
|
6a2ee706d9 | ||
|
|
ad79f651d8 | ||
|
|
739e51ce9a | ||
|
|
7a343196f1 | ||
|
|
8099005405 | ||
|
|
9a37a8af4a | ||
|
|
ae64ec2897 | ||
|
|
fd22a6233e | ||
|
|
6bafe02714 | ||
|
|
1ff57cb314 | ||
|
|
07c031260e | ||
|
|
de0585128c | ||
|
|
a089131884 | ||
|
|
22945a1ba9 | ||
|
|
5520f6767e | ||
|
|
f0544da7dc | ||
|
|
e5d53567ae | ||
|
|
f4780b88ef | ||
|
|
bbaa2154de | ||
|
|
272ce10298 | ||
|
|
0cc6fee10b | ||
|
|
c1d793c10f | ||
|
|
eeb6a3b133 | ||
|
|
45044d1a0c | ||
|
|
aa81ca7332 | ||
|
|
86b31d8ba7 | ||
|
|
d30f723f84 | ||
|
|
e25b8b0d95 | ||
|
|
7ef920ce12 | ||
|
|
0d0f43f783 | ||
|
|
8742c90560 | ||
|
|
b8ea4803ca | ||
|
|
6b3fb2d8e4 | ||
|
|
6ff8af5272 | ||
|
|
847883c387 | ||
|
|
7b9a76f748 | ||
|
|
edd23a9517 | ||
|
|
cf9017f05f | ||
|
|
386efe8428 | ||
|
|
2367807440 | ||
|
|
4c5806856e | ||
|
|
09c678e341 | ||
|
|
63688446d5 | ||
|
|
9c7eab66e7 | ||
|
|
9d74a9e989 | ||
|
|
2b38da2edd | ||
|
|
59146657ab | ||
|
|
44e8ed487f | ||
|
|
71d878a99c | ||
|
|
09c22d9083 | ||
|
|
3f3f99bded | ||
|
|
16de8f7129 | ||
|
|
857a59ae9d | ||
|
|
75f92c2846 | ||
|
|
53ba841568 | ||
|
|
50642c518f | ||
|
|
4a32db9c86 | ||
|
|
864c8270ea | ||
|
|
94955a4f56 | ||
|
|
5b498b35dc | ||
|
|
2cc4cc24e0 | ||
|
|
79fce310ae | ||
|
|
3bae3d127a | ||
|
|
9637f7f409 | ||
|
|
23aa8049c6 | ||
|
|
ffa3e5bd09 | ||
|
|
dd0a2863a6 | ||
|
|
336ba829ab | ||
|
|
083f1baf61 | ||
|
|
a6f2e0f638 | ||
|
|
fce0c862bb | ||
|
|
c7fa4db0a5 | ||
|
|
ac09b5e2bc | ||
|
|
a1e0b74fcc | ||
|
|
bb4576c4ab | ||
|
|
b74c003c39 | ||
|
|
e9f57535b5 | ||
|
|
e813ea996d | ||
|
|
449e6f2eb7 | ||
|
|
6840363b9b | ||
|
|
0b1e2ba0a3 | ||
|
|
6ef2e2cc50 | ||
|
|
2576abc756 | ||
|
|
b03bfc5efd | ||
|
|
d7fe661aa4 | ||
|
|
1423fb7cea | ||
|
|
bd9261af97 | ||
|
|
7776b7af6d | ||
|
|
549aff4ce6 | ||
|
|
631e33affe | ||
|
|
94e8022772 | ||
|
|
3fda89d7c4 | ||
|
|
2c6f2da512 | ||
|
|
64d0b39bfa | ||
|
|
984c6c54ba | ||
|
|
c9d150b36b | ||
|
|
ce2a0221e0 | ||
|
|
425b83eff8 | ||
|
|
f00ce25f7b | ||
|
|
c29b3acdc1 | ||
|
|
c8342112c8 | ||
|
|
68c1fb7c5d | ||
|
|
1415a788ad | ||
|
|
49a1282cfb | ||
|
|
3527399c24 | ||
|
|
9fe70bb963 | ||
|
|
cb07593455 | ||
|
|
348d0227f9 | ||
|
|
daa8c7f8c9 | ||
|
|
59fd81a2e2 | ||
|
|
a2ff7db3e2 | ||
|
|
4b15867b80 | ||
|
|
710a5018aa | ||
|
|
7a9648775c | ||
|
|
95eda3498f | ||
|
|
855651d625 | ||
|
|
5af57107f9 | ||
|
|
121a314ef1 | ||
|
|
8fb44e6892 | ||
|
|
33b340dcaa | ||
|
|
67dff10638 | ||
|
|
895437e02d | ||
|
|
d3a3a76421 | ||
|
|
8af781e449 | ||
|
|
5d7a120e50 | ||
|
|
4b8097e154 | ||
|
|
5efc077d8d | ||
|
|
bb28baec68 | ||
|
|
016e7b268f | ||
|
|
bd13b988b1 | ||
|
|
1d2f9e44c4 | ||
|
|
85ed0d2295 | ||
|
|
8f9259c741 | ||
|
|
1c3f989220 | ||
|
|
2c60a188d9 | ||
|
|
4efd103b03 | ||
|
|
327308a9d1 | ||
|
|
1e47744868 | ||
|
|
772147a6ee | ||
|
|
f1af46cfa6 | ||
|
|
9a97abf0e9 | ||
|
|
72db8c8f42 | ||
|
|
7e82f7a9cc | ||
|
|
af51b8aa87 | ||
|
|
91d3e6f391 | ||
|
|
041b1a9f17 | ||
|
|
85916455a6 | ||
|
|
74b6c9c628 | ||
|
|
4e810c850c | ||
|
|
42bad872d7 | ||
|
|
8dff8f9969 | ||
|
|
4d8db42292 | ||
|
|
5720e0190f | ||
|
|
dac7c7795c | ||
|
|
800b9f164d | ||
|
|
373232aa93 | ||
|
|
d66074cdfc | ||
|
|
5e60b5eada | ||
|
|
d601a74b8b | ||
|
|
b7ae37f6d7 | ||
|
|
09d15124b0 | ||
|
|
6d6f46ad4d | ||
|
|
26f835a0ac | ||
|
|
39ee8e03ae | ||
|
|
2139d3983d | ||
|
|
d33fcc2da6 | ||
|
|
9688e7741f | ||
|
|
b432570f9d | ||
|
|
8bca38ad20 | ||
|
|
82419c80aa | ||
|
|
21d4c051bd | ||
|
|
03c143b316 | ||
|
|
f0a1fc667b | ||
|
|
1d545efe66 | ||
|
|
92805dc869 | ||
|
|
d446d77261 | ||
|
|
073e0fbbc4 | ||
|
|
4b4a4bbfce | ||
|
|
538cb58556 | ||
|
|
9038c4ea68 | ||
|
|
8415b8136d | ||
|
|
ccc51353ce | ||
|
|
a15214a04e | ||
|
|
26032dc8bd | ||
|
|
41f7ae4d3a | ||
|
|
896b62978f | ||
|
|
3391591fd2 | ||
|
|
3c7de270c5 | ||
|
|
31f3a71b9d | ||
|
|
5a4bc80867 | ||
|
|
eb14c43722 | ||
|
|
a45921e1ea | ||
|
|
8dbd57dd20 | ||
|
|
3a3684a3ed | ||
|
|
00b878d868 | ||
|
|
e390031c83 | ||
|
|
2ab9ff175d | ||
|
|
c5c699548a | ||
|
|
14f931f6d5 | ||
|
|
6f03353f96 | ||
|
|
d6c85b63d5 | ||
|
|
1d393f8e97 | ||
|
|
879186f936 | ||
|
|
2db96b625d | ||
|
|
8a73986a76 | ||
|
|
b14b35d67f | ||
|
|
5f639b3319 | ||
|
|
2ede4caa48 | ||
|
|
1346ca3e46 | ||
|
|
9a58359cb6 | ||
|
|
db959d2334 | ||
|
|
3381a99a0e | ||
|
|
52df492c25 | ||
|
|
382bcb986b | ||
|
|
4053ce9df6 | ||
|
|
30ae6fc8e2 | ||
|
|
d5f3da5550 | ||
|
|
7d0942bcc2 | ||
|
|
79bf1d6d5c | ||
|
|
b53b621808 | ||
|
|
deb4932850 | ||
|
|
7fcbd00819 | ||
|
|
a252da7448 | ||
|
|
7343f80834 | ||
|
|
b7abb129c8 | ||
|
|
f98bb890cf | ||
|
|
1207ab6607 | ||
|
|
88eb0e2a95 | ||
|
|
fd1ad0f57a | ||
|
|
97a23174af | ||
|
|
b13c0c4bae | ||
|
|
268a14f425 | ||
|
|
259eeb6c27 | ||
|
|
86aa61d3c0 | ||
|
|
13a70e1044 | ||
|
|
af2feac665 | ||
|
|
cb984199fc | ||
|
|
29a90b29d1 | ||
|
|
c3602f3278 | ||
|
|
f5aefc80ad | ||
|
|
5aea0ddca0 | ||
|
|
5d941ccc26 | ||
|
|
664ab24dd7 | ||
|
|
6c7337d2cb | ||
|
|
51e342d140 | ||
|
|
7c2f4774d1 | ||
|
|
c4715dd6a0 | ||
|
|
89213574d0 | ||
|
|
c16aed3424 | ||
|
|
92147c45ee | ||
|
|
efd4132415 | ||
|
|
3fc8ef3d88 | ||
|
|
d905e14fde | ||
|
|
49129f85dc | ||
|
|
3f814a3cf0 | ||
|
|
8bb31dc34a | ||
|
|
de5977a415 | ||
|
|
4e8fa347f7 | ||
|
|
2a888cbd8a | ||
|
|
1f74b8a56e | ||
|
|
313b46212f | ||
|
|
931d79ac7f | ||
|
|
342f6b58b6 | ||
|
|
30b5d4fb82 | ||
|
|
d1fae41a4d | ||
|
|
abc215a343 | ||
|
|
b48c20d1d5 | ||
|
|
6d99193df7 | ||
|
|
b73482843a | ||
|
|
551bce2ac2 | ||
|
|
f037bf9ac3 | ||
|
|
dc29921f7e | ||
|
|
91c95d7146 | ||
|
|
12386a5b57 | ||
|
|
940f886fd3 | ||
|
|
10b112483e | ||
|
|
26c8f164a9 | ||
|
|
082c1440c7 | ||
|
|
405265730d | ||
|
|
086f71a852 | ||
|
|
89df86c166 | ||
|
|
d1b2ed88ad | ||
|
|
668f117382 | ||
|
|
e3d0661240 | ||
|
|
0a1e6cf127 | ||
|
|
d1baa08bf8 | ||
|
|
7661185d2a | ||
|
|
b6b190de65 | ||
|
|
dff66a14cd | ||
|
|
e816494ec2 | ||
|
|
be2c1e4436 | ||
|
|
9424a41bea | ||
|
|
71fcbec454 | ||
|
|
39edd1f064 | ||
|
|
7f19043b63 | ||
|
|
3f5f0bb897 | ||
|
|
e4fe3c41a3 | ||
|
|
178eeb8e26 | ||
|
|
d30b4bea1b | ||
|
|
03bd438c7d | ||
|
|
225c8523e9 | ||
|
|
659cc9235a | ||
|
|
4b0123f750 | ||
|
|
5f4972701c | ||
|
|
29ad584b5c | ||
|
|
3c055ccf7a | ||
|
|
199c3c1990 | ||
|
|
c5177871bd | ||
|
|
7d67b9cc6e | ||
|
|
9329793e65 | ||
|
|
91cb67a25d | ||
|
|
b8f5b693b9 | ||
|
|
5a2d80bd50 | ||
|
|
fddf4fb89b | ||
|
|
c97bac9160 | ||
|
|
ff40a43ac5 | ||
|
|
c426cab2be | ||
|
|
afd73899dd | ||
|
|
0db603d498 | ||
|
|
2fa5744010 | ||
|
|
b1bd3f543d | ||
|
|
c1dd6f2a98 | ||
|
|
bbec0441a2 | ||
|
|
b974418c15 | ||
|
|
6f3972d946 | ||
|
|
d14f750a24 | ||
|
|
0a533f970f | ||
|
|
6f80da5b2b | ||
|
|
415299a7aa | ||
|
|
09bdde2d7b | ||
|
|
85dd573402 | ||
|
|
dc19003820 | ||
|
|
2ad9a12889 | ||
|
|
9dff6c5a8c | ||
|
|
177de86c10 | ||
|
|
6dfdc0c1ef | ||
|
|
a9a4fd7c93 | ||
|
|
5d9b60c3e4 | ||
|
|
7b10cf02a2 | ||
|
|
c0fae8aa5c | ||
|
|
345ad40e3c | ||
|
|
f5496845b6 | ||
|
|
9fef2d5713 | ||
|
|
f006cfa526 | ||
|
|
9dcb132625 | ||
|
|
aaf0127906 | ||
|
|
d93415cfad | ||
|
|
1120a5e2f3 | ||
|
|
d843b14ac6 | ||
|
|
b2c36c562b | ||
|
|
2df30b8f8e | ||
|
|
f75bfca1f4 | ||
|
|
a749dc7ff1 | ||
|
|
bd402c3514 | ||
|
|
41585414aa | ||
|
|
128c5e20a6 | ||
|
|
0ea53c672f | ||
|
|
f76baf34e6 | ||
|
|
a551a424b6 | ||
|
|
319e623727 | ||
|
|
de2e800ebd | ||
|
|
eb40bcf854 | ||
|
|
fa4a59884c | ||
|
|
80ecb65475 | ||
|
|
43ff904c57 | ||
|
|
5b36a76462 | ||
|
|
d0c1239c17 | ||
|
|
dc9fb17b01 | ||
|
|
71b6047692 | ||
|
|
a9670d0f85 | ||
|
|
67643cfc29 | ||
|
|
b56d98b66a | ||
|
|
901def1d12 | ||
|
|
f34e06c20f | ||
|
|
53246d0fcc | ||
|
|
085f64c85f | ||
|
|
e9ee2e68ca | ||
|
|
c5b7e15eb8 | ||
|
|
774533dc94 | ||
|
|
48b1d3b983 | ||
|
|
aaea29d1b0 | ||
|
|
86b65ef6df | ||
|
|
884e7492c1 | ||
|
|
12ea52f4f7 | ||
|
|
56c6105c56 | ||
|
|
af70df72ce | ||
|
|
4b1e7e1082 | ||
|
|
edc0b2c6ca | ||
|
|
4924764888 | ||
|
|
90aa1af213 | ||
|
|
a61b6a31bc | ||
|
|
c1d6e68cd6 | ||
|
|
403d24ff4b | ||
|
|
52c86a9bc3 | ||
|
|
1c2347ddab | ||
|
|
c6fb7aa4f7 | ||
|
|
0d917153da | ||
|
|
fded1dfe2d | ||
|
|
f5bd143eb6 | ||
|
|
c23c2d983b | ||
|
|
7873905bb5 | ||
|
|
4aa4094808 | ||
|
|
814bb7dcc4 | ||
|
|
a2209b5d84 | ||
|
|
f6cf5ff6ed | ||
|
|
c8fc8d1733 | ||
|
|
3d1176686f | ||
|
|
8dcd11f56f | ||
|
|
d171de204f | ||
|
|
a972dae0ae | ||
|
|
1f42bf8d4e | ||
|
|
bfcb15b998 | ||
|
|
f6bad7e3b6 | ||
|
|
eae123dbeb | ||
|
|
f2fbf0687b | ||
|
|
d53a71636d | ||
|
|
9c42a4987d | ||
|
|
85b186a956 | ||
|
|
2b74e1f59a | ||
|
|
c843e9bd84 | ||
|
|
ef44083253 | ||
|
|
a9fafc5147 | ||
|
|
f55a9e04b9 | ||
|
|
bda11e1541 | ||
|
|
53ffa9dace | ||
|
|
1886d7ddfc | ||
|
|
0bf721b108 | ||
|
|
943741871e | ||
|
|
33589430f7 | ||
|
|
5a438d1849 | ||
|
|
a0f69ae398 | ||
|
|
476923cf36 | ||
|
|
65f1c44ae6 | ||
|
|
f24d06977b | ||
|
|
35fea4b692 | ||
|
|
de36bcb13b | ||
|
|
b07dde4585 | ||
|
|
1172e7a8d0 | ||
|
|
5b9e12bba1 | ||
|
|
9e7e47847b | ||
|
|
b6f25900ee | ||
|
|
45f0e2227a | ||
|
|
ec6dc108a9 | ||
|
|
efe13abfd0 | ||
|
|
187aafaf51 | ||
|
|
a96fb0d2e2 | ||
|
|
cdd2121d55 | ||
|
|
6d792ee52b | ||
|
|
6be1ed9428 | ||
|
|
a12255dd1c | ||
|
|
11ba092bca | ||
|
|
623303f7ee | ||
|
|
f784411c4b | ||
|
|
3cf72856ff | ||
|
|
a6779e2057 | ||
|
|
0d65bf62b2 | ||
|
|
5788f1f811 | ||
|
|
221cbae5d9 | ||
|
|
ebbfcab754 | ||
|
|
caf0402115 | ||
|
|
01f0ec6a99 | ||
|
|
a73e408196 | ||
|
|
6bea0782e9 | ||
|
|
5b1642b26e | ||
|
|
1a74889015 | ||
|
|
db15387d07 | ||
|
|
a5c44ac8bc | ||
|
|
31e90d9031 | ||
|
|
07420a2c0d | ||
|
|
8d0f1e156d | ||
|
|
30de26176b | ||
|
|
1fc3cdf043 | ||
|
|
b94606e103 | ||
|
|
394aeab269 | ||
|
|
7576b8f407 | ||
|
|
6255d67944 | ||
|
|
c0ee7a1306 | ||
|
|
fc865e4986 | ||
|
|
4831413af0 | ||
|
|
ce91cd792c | ||
|
|
42b200b870 | ||
|
|
ca79a68011 | ||
|
|
dac14bf3be | ||
|
|
db38a475f1 | ||
|
|
07bac9c56b | ||
|
|
a75ca6c40a | ||
|
|
558c008ece | ||
|
|
772e739829 | ||
|
|
6cefe4465d | ||
|
|
5586dcdc3d | ||
|
|
01b6c28569 | ||
|
|
22fe972530 | ||
|
|
5b7da70eb9 | ||
|
|
b25401ce9e | ||
|
|
e6d6e35b4d | ||
|
|
d56cb00d8d | ||
|
|
2644f4b88d | ||
|
|
86683a963e | ||
|
|
05ceb6ea96 | ||
|
|
9ba2f9b023 | ||
|
|
9527d10ffe | ||
|
|
7d91e29519 | ||
|
|
fe8a28ed54 | ||
|
|
a50b0af067 | ||
|
|
2e8abff9a9 | ||
|
|
9e6940eb4e | ||
|
|
6f1ecda602 | ||
|
|
941ecdac62 | ||
|
|
a2230b0161 | ||
|
|
19656ae993 | ||
|
|
f7250f76d5 | ||
|
|
863ea0d354 | ||
|
|
1cce2fd6cb | ||
|
|
efc5ff8390 | ||
|
|
911c8ad6c4 | ||
|
|
cdb5de9dd3 | ||
|
|
c105c81b52 | ||
|
|
468ca00519 | ||
|
|
c37cf6d657 | ||
|
|
22f2208690 | ||
|
|
d0c46a3d3e | ||
|
|
22031f6a57 | ||
|
|
ca16a8b559 | ||
|
|
1cafb7629b | ||
|
|
203b5ae6ad | ||
|
|
4e47e1e227 | ||
|
|
45132ef7b8 | ||
|
|
57eaa5cddf | ||
|
|
ec0bae7a2e | ||
|
|
63abc464ac | ||
|
|
10f1a846b7 | ||
|
|
43648c6ca2 | ||
|
|
579d012427 | ||
|
|
810dab5d27 | ||
|
|
fc7a452107 | ||
|
|
ed98703212 | ||
|
|
457d9b3e97 | ||
|
|
9cc30dc3fe | ||
|
|
43654ffba1 | ||
|
|
d76998340a | ||
|
|
8bef192fcb | ||
|
|
975a56d3bd | ||
|
|
8a62346471 | ||
|
|
a0a83e9e58 | ||
|
|
16cf709d52 | ||
|
|
465542aac7 | ||
|
|
1123ad3aa1 | ||
|
|
5f3d417441 | ||
|
|
8b618652bb | ||
|
|
8e2102c8ce | ||
|
|
16e07c2766 | ||
|
|
bf9a629c94 | ||
|
|
77664f1056 | ||
|
|
9e72ba7740 | ||
|
|
567c23dafc | ||
|
|
5f103766fc | ||
|
|
10247e8e42 | ||
|
|
4e567f3d31 | ||
|
|
8ae27b7a8a | ||
|
|
394206e9ef | ||
|
|
b2f33740fe | ||
|
|
2ae9a4281b | ||
|
|
1a6fb756eb | ||
|
|
1e8ed9d47e | ||
|
|
e111883814 | ||
|
|
562adfc172 | ||
|
|
0c87d98914 | ||
|
|
bca384dc71 | ||
|
|
29c75d7798 | ||
|
|
8bbd830446 | ||
|
|
a9f425d6b2 | ||
|
|
9152514eb4 | ||
|
|
c1aee41233 | ||
|
|
13bdaf6c3f | ||
|
|
003ac6e01b | ||
|
|
577aa781bc | ||
|
|
8671928caf | ||
|
|
88e6b1ac1a | ||
|
|
2067344c18 | ||
|
|
b08563276b | ||
|
|
a8e8b25194 | ||
|
|
ff3c4b6881 | ||
|
|
72b833fe31 | ||
|
|
02f5a262d9 | ||
|
|
f9c4410e8d | ||
|
|
12261242e3 | ||
|
|
1913786e66 | ||
|
|
dda2735056 | ||
|
|
3ab955a654 | ||
|
|
4188def509 | ||
|
|
c2ce21b43d | ||
|
|
eb2fde29b3 | ||
|
|
314cd37e67 | ||
|
|
a42ab201f0 | ||
|
|
5c61feb04b | ||
|
|
557e05ae01 | ||
|
|
f787bbd3e6 | ||
|
|
2abd646ca4 | ||
|
|
ad65287eeb | ||
|
|
66a0d5e50f | ||
|
|
c5dab89eb5 | ||
|
|
b61478ca1e | ||
|
|
9c7bc59954 | ||
|
|
31bf5b5864 | ||
|
|
2ff4ce919f | ||
|
|
e918d53dfa | ||
|
|
3cae130e9d | ||
|
|
b3bd8b4345 | ||
|
|
51f4b16986 | ||
|
|
71ac9c59ef | ||
|
|
cbd566f6e7 | ||
|
|
1eff4dae73 | ||
|
|
5beb66f50a | ||
|
|
2cba5f3e1a | ||
|
|
9ca2fe4ca5 | ||
|
|
46f9cc5ec5 | ||
|
|
d756559062 | ||
|
|
1d1c9966ea | ||
|
|
b285dad5b5 | ||
|
|
37d215522a | ||
|
|
7577e5ff0f | ||
|
|
e474dc01b5 | ||
|
|
d3cf49aaef | ||
|
|
e62214adaa | ||
|
|
66cbf514f4 | ||
|
|
9b5f3b8c03 | ||
|
|
a3b64f3253 | ||
|
|
bc403e3bf7 | ||
|
|
7fd28f56b6 | ||
|
|
b957188797 | ||
|
|
bd9bcc6729 | ||
|
|
73148dda1d | ||
|
|
6b61051a16 | ||
|
|
95e1518335 | ||
|
|
f9bde30d5c | ||
|
|
ad0cd8e356 | ||
|
|
3a5a061717 | ||
|
|
19749a2102 | ||
|
|
fe435bdeea | ||
|
|
93f4be96b0 | ||
|
|
506773b46c | ||
|
|
447d6a5f01 | ||
|
|
2ed3aeb821 | ||
|
|
0eccf98592 | ||
|
|
af8875217e | ||
|
|
900e9e8148 | ||
|
|
2e005e3c6a | ||
|
|
9aaa7fc7c3 | ||
|
|
39ee88bdf2 | ||
|
|
0a9889f3af | ||
|
|
62422904f3 |
@@ -325,11 +325,11 @@ if (Tools::isSubmit('ajaxProductsPositions'))
|
||||
{
|
||||
if ($product = new Product((int)$pos[2]))
|
||||
if (isset($position) && $product->updatePosition($way, $position))
|
||||
echo "ok position $position for product $pos[2]\r\n";
|
||||
echo "ok position ".(int)$position." for product ".(int)$pos[2]."\r\n";
|
||||
else
|
||||
echo '{"hasError" : true, "errors" : "Can not update product '. $id_product . ' to position '.$position.' "}';
|
||||
echo '{"hasError" : true, "errors" : "Can not update product '. (int)$id_product . ' to position '.(int)$position.' "}';
|
||||
else
|
||||
echo '{"hasError" : true, "errors" : "This product ('.$id_product.') can t be loaded"}';
|
||||
echo '{"hasError" : true, "errors" : "This product ('.(int)$id_product.') can t be loaded"}';
|
||||
|
||||
break;
|
||||
}
|
||||
@@ -562,11 +562,11 @@ if (Tools::isSubmit('getHookableList'))
|
||||
die('{"hasError" : true, "errors" : ["Live Edit : This functionnality has been disabled"]}');
|
||||
/* PrestaShop demo mode*/
|
||||
|
||||
if (!strlen(Tools::getValue('hooks_list')))
|
||||
if (!count(Tools::getValue('hooks_list')))
|
||||
die('{"hasError" : true, "errors" : ["Live Edit : no module on this page"]}');
|
||||
|
||||
$modules_list = explode(',', Tools::getValue('modules_list'));
|
||||
$hooks_list = explode(',', Tools::getValue('hooks_list'));
|
||||
$modules_list = Tools::getValue('modules_list');
|
||||
$hooks_list = Tools::getValue('hooks_list');
|
||||
$hookableList = array();
|
||||
|
||||
foreach ($modules_list as $module)
|
||||
@@ -621,42 +621,48 @@ if (Tools::isSubmit('saveHook'))
|
||||
/* PrestaShop demo mode */
|
||||
if (_PS_MODE_DEMO_)
|
||||
die('{"hasError" : true, "errors" : ["Live Edit : This functionnality has been disabled"]}');
|
||||
/* PrestaShop demo mode*/
|
||||
|
||||
$hooks_list = explode(',', Tools::getValue('hooks_list'));
|
||||
$id_shop = (int)Tools::getValue('id_shop');
|
||||
if ($id_shop)
|
||||
if (!$id_shop)
|
||||
$id_shop = Context::getContext()->shop->getId(true);
|
||||
|
||||
$res = true;
|
||||
$hookableList = array();
|
||||
// $_POST['hook'] is an array of id_module
|
||||
$hooks_list = Tools::getValue('hook');
|
||||
foreach ($hooks_list as $id_hook => $modules)
|
||||
{
|
||||
$hookableList = array();
|
||||
foreach ($hooks_list as $hook)
|
||||
// 1st, drop all previous hooked modules
|
||||
$sql = 'DELETE FROM `'._DB_PREFIX_.'hook_module`
|
||||
WHERE `id_hook` = '.(int)$id_hook.'
|
||||
AND id_shop = '.$id_shop;
|
||||
$res &= Db::getInstance()->execute($sql);
|
||||
|
||||
$i = 1;
|
||||
$value = '';
|
||||
$ids = array();
|
||||
// then prepare sql query to rehook all chosen modules(id_module, id_shop, id_hook, position)
|
||||
// position is i (autoincremented)
|
||||
foreach ($modules as $id_module)
|
||||
{
|
||||
$hook = trim($hook);
|
||||
if (!$hook)
|
||||
continue;
|
||||
|
||||
$sql = 'DELETE FROM '._DB_PREFIX_.'hook_module
|
||||
WHERE id_hook = (SELECT id_hook FROM '._DB_PREFIX_.'hook WHERE `name` = \''.pSQL($hook).'\' LIMIT 1)
|
||||
AND id_shop = '.$id_shop;
|
||||
Db::getInstance()->execute($sql);
|
||||
$hookedModules = explode(',', Tools::getValue($hook));
|
||||
$i = 1;
|
||||
$value = '';
|
||||
$ids = array();
|
||||
foreach ($hookedModules as $module)
|
||||
if (!in_array($id_module, $ids))
|
||||
{
|
||||
$id = explode('_', $module);
|
||||
if (!in_array($id[1], $ids))
|
||||
{
|
||||
$ids[] = $id[1];
|
||||
$value .= '('.(int)$id[1].', (SELECT id_hook FROM `'._DB_PREFIX_.'hook` WHERE `name` = \''.pSQL($hook).'\' LIMIT 0, 1), '.(int)$i.'),';
|
||||
}
|
||||
$i++;
|
||||
$ids[] = $id_module;
|
||||
$value .= '('.(int)$id_module.', '.$id_shop.', '.(int)$id_hook.', '.$i.'),';
|
||||
}
|
||||
$value = rtrim($value, ',');
|
||||
Db::getInstance()->execute('INSERT INTO '._DB_PREFIX_.'hook_module (id_module, id_shop, id_hook, position) VALUES '.$value);
|
||||
|
||||
$i++;
|
||||
}
|
||||
$value = rtrim($value, ',');
|
||||
$res &= Db::getInstance()->execute('INSERT INTO `'._DB_PREFIX_.'hook_module`
|
||||
(id_module, id_shop, id_hook, position)
|
||||
VALUES '.$value);
|
||||
|
||||
}
|
||||
if ($res)
|
||||
$hasError = true;
|
||||
else
|
||||
$hasError = false;
|
||||
die('{"hasError" : false, "errors" : ""}');
|
||||
}
|
||||
|
||||
@@ -670,13 +676,13 @@ if (Tools::isSubmit('getAdminHomeElement'))
|
||||
$stream_context = @stream_context_create(array('http' => array('method'=> 'GET', 'timeout' => 5)));
|
||||
|
||||
// SCREENCAST
|
||||
if (@fsockopen('www.prestashop.com', 80, $errno, $errst, 3))
|
||||
if (@fsockopen('api.prestashop.com', 80, $errno, $errst, 3))
|
||||
$result['screencast'] = 'OK';
|
||||
else
|
||||
$result['screencast'] = 'NOK';
|
||||
|
||||
// PREACTIVATION
|
||||
$content = @file_get_contents($protocol.'://www.prestashop.com/partner/preactivation/preactivation-block.php?version=1.0&shop='.urlencode(Configuration::get('PS_SHOP_NAME')).'&protocol='.$protocol.'&url='.urlencode($_SERVER['HTTP_HOST']).'&iso_country='.$isoCountry.'&iso_lang='.Tools::strtolower($isoUser).'&id_lang='.(int)Context::getContext()->language->id.'&email='.urlencode(Configuration::get('PS_SHOP_EMAIL')).'&date_creation='._PS_CREATION_DATE_.'&v='._PS_VERSION_.'&security='.md5(Configuration::get('PS_SHOP_EMAIL')._COOKIE_IV_), false, $stream_context);
|
||||
$content = @file_get_contents($protocol.'://api.prestashop.com/partner/preactivation/preactivation-block.php?version=1.0&shop='.urlencode(Configuration::get('PS_SHOP_NAME')).'&protocol='.$protocol.'&url='.urlencode($_SERVER['HTTP_HOST']).'&iso_country='.$isoCountry.'&iso_lang='.Tools::strtolower($isoUser).'&id_lang='.(int)Context::getContext()->language->id.'&email='.urlencode(Configuration::get('PS_SHOP_EMAIL')).'&date_creation='._PS_CREATION_DATE_.'&v='._PS_VERSION_.'&security='.md5(Configuration::get('PS_SHOP_EMAIL')._COOKIE_IV_), false, $stream_context);
|
||||
if (!$content)
|
||||
$result['partner_preactivation'] = 'NOK';
|
||||
else
|
||||
@@ -702,7 +708,7 @@ if (Tools::isSubmit('getAdminHomeElement'))
|
||||
}
|
||||
|
||||
// PREACTIVATION PAYPAL WARNING
|
||||
$content = @file_get_contents('https://www.prestashop.com/partner/preactivation/preactivation-warnings.php?version=1.0&partner=paypal&iso_country='.Tools::strtolower(Context::getContext()->country->iso_code).'&iso_lang='.Tools::strtolower(Context::getContext()->language->iso_code).'&id_lang='.(int)Context::getContext()->language->id.'&email='.urlencode(Configuration::get('PS_SHOP_EMAIL')).'&security='.md5(Configuration::get('PS_SHOP_EMAIL')._COOKIE_IV_), false, $stream_context);
|
||||
$content = @file_get_contents('https://api.prestashop.com/partner/preactivation/preactivation-warnings.php?version=1.0&partner=paypal&iso_country='.Tools::strtolower(Context::getContext()->country->iso_code).'&iso_lang='.Tools::strtolower(Context::getContext()->language->iso_code).'&id_lang='.(int)Context::getContext()->language->id.'&email='.urlencode(Configuration::get('PS_SHOP_EMAIL')).'&security='.md5(Configuration::get('PS_SHOP_EMAIL')._COOKIE_IV_), false, $stream_context);
|
||||
$content = explode('|', $content);
|
||||
if ($content[0] == 'OK' && Validate::isCleanHtml($content[1]))
|
||||
Configuration::updateValue('PS_PREACTIVATION_PAYPAL_WARNING', $content[1]);
|
||||
@@ -710,7 +716,7 @@ if (Tools::isSubmit('getAdminHomeElement'))
|
||||
Configuration::updateValue('PS_PREACTIVATION_PAYPAL_WARNING', '');
|
||||
|
||||
// DISCOVER PRESTASHOP
|
||||
$content = @file_get_contents($protocol.'://www.prestashop.com/partner/prestashop/prestashop-link.php?iso_country='.$isoCountry.'&iso_lang='.Tools::strtolower($isoUser).'&id_lang='.(int)Context::getContext()->language->id, false, $stream_context);
|
||||
$content = @file_get_contents($protocol.'://api.prestashop.com/partner/prestashop/prestashop-link.php?iso_country='.$isoCountry.'&iso_lang='.Tools::strtolower($isoUser).'&id_lang='.(int)Context::getContext()->language->id, false, $stream_context);
|
||||
if (!$content)
|
||||
$result['discover_prestashop'] = 'NOK';
|
||||
else
|
||||
@@ -721,10 +727,10 @@ if (Tools::isSubmit('getAdminHomeElement'))
|
||||
else
|
||||
$result['discover_prestashop'] = 'NOK';
|
||||
|
||||
if (@fsockopen('www.prestashop.com', 80, $errno, $errst, 3))
|
||||
$result['discover_prestashop'] .= '<iframe frameborder="no" style="margin: 0px; padding: 0px; width: 315px; height: 290px;" src="'.$protocol.'://www.prestashop.com/rss/news2.php?v='._PS_VERSION_.'&lang='.$isoUser.'"></iframe>';
|
||||
if (@fsockopen('api.prestashop.com', 80, $errno, $errst, 3))
|
||||
$result['discover_prestashop'] .= '<iframe frameborder="no" style="margin: 0px; padding: 0px; width: 315px; height: 290px;" src="'.$protocol.'://api.prestashop.com/rss/news2.php?v='._PS_VERSION_.'&lang='.$isoUser.'"></iframe>';
|
||||
|
||||
$content = @file_get_contents($protocol.'://www.prestashop.com/partner/paypal/paypal-tips.php?protocol='.$protocol.'&iso_country='.$isoCountry.'&iso_lang='.Tools::strtolower($isoUser).'&id_lang='.(int)Context::getContext()->language->id, false, $stream_context);
|
||||
$content = @file_get_contents($protocol.'://api.prestashop.com/partner/paypal/paypal-tips.php?protocol='.$protocol.'&iso_country='.$isoCountry.'&iso_lang='.Tools::strtolower($isoUser).'&id_lang='.(int)Context::getContext()->language->id, false, $stream_context);
|
||||
$content = explode('|', $content);
|
||||
if ($content[0] == 'OK' && Validate::isCleanHtml($content[1]))
|
||||
$result['discover_prestashop'] .= $content[1];
|
||||
@@ -854,11 +860,11 @@ if (Tools::isSubmit('ajaxAttributesPositions'))
|
||||
{
|
||||
if ($attribute = new Attribute((int)$pos[2]))
|
||||
if (isset($position) && $attribute->updatePosition($way, $position))
|
||||
echo "ok position $position for attribute $pos[2]\r\n";
|
||||
echo "ok position ".(int)$position." for attribute ".(int)$pos[2]."\r\n";
|
||||
else
|
||||
echo '{"hasError" : true, "errors" : "Can not update attribute '. $id_attribute . ' to position '.$position.' "}';
|
||||
echo '{"hasError" : true, "errors" : "Can not update attribute '. (int)$id_attribute . ' to position '.(int)$position.' "}';
|
||||
else
|
||||
echo '{"hasError" : true, "errors" : "This attribute ('.$id_attribute.') can t be loaded"}';
|
||||
echo '{"hasError" : true, "errors" : "This attribute ('.(int)$id_attribute.') can t be loaded"}';
|
||||
|
||||
break;
|
||||
}
|
||||
@@ -886,11 +892,11 @@ if (Tools::isSubmit('ajaxGroupsAttributesPositions'))
|
||||
{
|
||||
if ($group_attribute = new AttributeGroup((int)$pos[1]))
|
||||
if (isset($position) && $group_attribute->updatePosition($way, $position))
|
||||
echo "ok position $position for group attribute $pos[1]\r\n";
|
||||
echo "ok position ".(int)$position." for group attribute ".(int)$pos[1]."\r\n";
|
||||
else
|
||||
echo '{"hasError" : true, "errors" : "Can not update group attribute '. $id_attribute_group . ' to position '.$position.' "}';
|
||||
echo '{"hasError" : true, "errors" : "Can not update group attribute '. (int)$id_attribute_group . ' to position '.(int)$position.' "}';
|
||||
else
|
||||
echo '{"hasError" : true, "errors" : "This group attribute ('.$id_attribute_group.') can t be loaded"}';
|
||||
echo '{"hasError" : true, "errors" : "This group attribute ('.(int)$id_attribute_group.') can t be loaded"}';
|
||||
|
||||
break;
|
||||
}
|
||||
@@ -918,11 +924,11 @@ if (Tools::isSubmit('ajaxFeaturesPositions'))
|
||||
{
|
||||
if ($feature = new Feature((int)$pos[2]))
|
||||
if (isset($position) && $feature->updatePosition($way, $position))
|
||||
echo "ok position $position for feature $pos[1]\r\n";
|
||||
echo "ok position ".(int)$position." for feature ".(int)$pos[1]."\r\n";
|
||||
else
|
||||
echo '{"hasError" : true, "errors" : "Can not update feature '. $id_feature . ' to position '.$position.' "}';
|
||||
echo '{"hasError" : true, "errors" : "Can not update feature '. (int)$id_feature . ' to position '.(int)$position.' "}';
|
||||
else
|
||||
echo '{"hasError" : true, "errors" : "This feature ('.$id_feature.') can t be loaded"}';
|
||||
echo '{"hasError" : true, "errors" : "This feature ('.(int)$id_feature.') can t be loaded"}';
|
||||
|
||||
break;
|
||||
}
|
||||
@@ -945,11 +951,11 @@ if (Tools::isSubmit('ajaxCarriersPositions'))
|
||||
{
|
||||
if ($carrier = new Carrier((int)$pos[2]))
|
||||
if (isset($position) && $carrier->updatePosition($way, $position))
|
||||
echo "ok position $position for carrier $pos[1]\r\n";
|
||||
echo "ok position ".(int)$position." for carrier ".(int)$pos[1]."\r\n";
|
||||
else
|
||||
echo '{"hasError" : true, "errors" : "Can not update carrier '. $id_carrier . ' to position '.$position.' "}';
|
||||
echo '{"hasError" : true, "errors" : "Can not update carrier '. (int)$id_carrier . ' to position '.(int)$position.' "}';
|
||||
else
|
||||
echo '{"hasError" : true, "errors" : "This carrier ('.$id_carrier.') can t be loaded"}';
|
||||
echo '{"hasError" : true, "errors" : "This carrier ('.(int)$id_carrier.') can t be loaded"}';
|
||||
|
||||
break;
|
||||
}
|
||||
@@ -996,3 +1002,15 @@ if (Tools::isSubmit('ajaxUpdateTaxRule'))
|
||||
die(Tools::jsonEncode($output));
|
||||
}
|
||||
|
||||
if (Tools::isSubmit('getZones'))
|
||||
{
|
||||
$zones = Zone::getZones();
|
||||
$html = '<select id="zone_to_affect" name="zone_to_affect">';
|
||||
foreach ($zones as $z)
|
||||
{
|
||||
$html .= '<option value="'.$z['id_zone'].'">'.$z['name'].'</option>';
|
||||
}
|
||||
$html .= '</select>';
|
||||
$array = array('hasError' => false, 'errors' => '', 'data' => $html);
|
||||
die(Tools::jsonEncode($html));
|
||||
}
|
||||
|
||||
@@ -54,7 +54,7 @@ echo ' <tr>
|
||||
$(document).ready(function() {
|
||||
$(\'div#categoryList input.categoryBox\').click(function (){
|
||||
if ($(this).is(\':not(:checked)\') && $(\'div#categoryList input.id_category_default\').val() == $(this).val())
|
||||
alert(\''.utf8_encode(html_entity_decode($adminProducts->getL('Consider changing the default category.'))).'\');
|
||||
jAlert(\''.utf8_encode(html_entity_decode($adminProducts->getL('Consider changing the default category.'))).'\');
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
@@ -34,10 +34,10 @@ if(!isset($_GET['iso_lang']) OR empty($_GET['iso_lang']))
|
||||
die('fail:0');
|
||||
if(!isset($_GET['ps_version']) OR empty($_GET['ps_version']))
|
||||
die('fail:0');
|
||||
if(@fsockopen('www.prestashop.com', 80))
|
||||
if(@fsockopen('api.prestashop.com', 80))
|
||||
{
|
||||
// Get all iso code available
|
||||
$lang_packs = Tools::file_get_contents('http://www.prestashop.com/download/lang_packs/get_language_pack.php?version='.(string)$_GET['ps_version'].'&iso_lang='.(string)$_GET['iso_lang']);
|
||||
$lang_packs = Tools::file_get_contents('http://api.prestashop.com/download/lang_packs/get_language_pack.php?version='.(string)$_GET['ps_version'].'&iso_lang='.(string)$_GET['iso_lang']);
|
||||
|
||||
if ($lang_packs !== '' && Tools::jsonDecode($lang_packs) !== NULL)
|
||||
{
|
||||
|
||||
@@ -8,7 +8,6 @@
|
||||
*/
|
||||
|
||||
|
||||
error_reporting(E_ALL);
|
||||
//error_reporting(E_ALL ^ E_NOTICE);
|
||||
|
||||
|
||||
@@ -128,4 +127,4 @@ error_reporting(E_ALL);
|
||||
//LANGAUGAE DECLARATIONNS
|
||||
define('CONFIG_LANG_INDEX', 'language'); //the index in the session
|
||||
define('CONFIG_LANG_DEFAULT', (CONFIG_QUERY_STRING_ENABLE && !empty($_GET['language']) && file_exists(DIR_LANG . secureFileName($_GET['language'] . '.php'))?secureFileName($_GET['language']):'en')); //change it to be your language file base name, such en
|
||||
?>
|
||||
?>
|
||||
|
||||
@@ -1017,7 +1017,7 @@ function getRootPath() {
|
||||
|
||||
|
||||
|
||||
// START ANDR<EFBFBD> SILVA DOWNLOAD CODE
|
||||
// START ANDRE SILVA DOWNLOAD CODE
|
||||
// required for IE, otherwise Content-disposition is ignored
|
||||
if(ini_get('zlib.output_compression'))
|
||||
ini_set('zlib.output_compression', 'Off');
|
||||
@@ -1033,7 +1033,7 @@ function getRootPath() {
|
||||
|
||||
readfile($path);
|
||||
exit();
|
||||
// END ANDR<EFBFBD> SILVA DOWNLOAD CODE
|
||||
// END ANDRE SILVA DOWNLOAD CODE
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
85
admin-dev/csv.php
Normal file
@@ -0,0 +1,85 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/osl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision$
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
/**
|
||||
* @since 1.5.0
|
||||
*/
|
||||
|
||||
define('_PS_ADMIN_DIR_', getcwd());
|
||||
include(_PS_ADMIN_DIR_.'/../config/config.inc.php');
|
||||
|
||||
if (!Context::getContext()->employee->id)
|
||||
Tools::redirectAdmin('index.php?controller=AdminLogin');
|
||||
|
||||
/*
|
||||
* Functions allowed
|
||||
*/
|
||||
$functions = array(
|
||||
'id_supply_order' => 'exportSupplyOrder',
|
||||
);
|
||||
|
||||
/*
|
||||
* Depending on $_GET, call the corresponding function
|
||||
*/
|
||||
foreach ($functions as $var => $function)
|
||||
{
|
||||
if (isset($_GET[$var]))
|
||||
{
|
||||
call_user_func($function);
|
||||
die;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Function used for SupplyOrder
|
||||
*/
|
||||
function exportSupplyOrder()
|
||||
{
|
||||
//@TODO Checks if employee has enough access to export
|
||||
if (!isset($_GET['id_supply_order']))
|
||||
die (Tools::displayError('Missing supply order ID'));
|
||||
|
||||
$id_supply_order = (int)$_GET['id_supply_order'];
|
||||
$supply_order = new SupplyOrder($id_supply_order);
|
||||
|
||||
if (!Validate::isLoadedObject($supply_order))
|
||||
die(Tools::displayError('Cannot find this supply order in the database'));
|
||||
|
||||
$details = $supply_order->getEntriesCollection($supply_order->id_lang);
|
||||
exportCSV($details, 'supply_order_'.$supply_order->reference.'_details');
|
||||
}
|
||||
|
||||
/**
|
||||
* Main function to export CSV
|
||||
* @param object|Array $object
|
||||
* @param string $template
|
||||
*/
|
||||
function exportCSV(&$object, $filename)
|
||||
{
|
||||
$csv = new CSV($object, $filename);
|
||||
$csv->export();
|
||||
}
|
||||
@@ -65,73 +65,81 @@ echo '
|
||||
</style>
|
||||
<script type="text/javascript">
|
||||
function getPush()
|
||||
{
|
||||
$.post("ajax.php",{"getNotifications" : "1"}, function(data) {
|
||||
if (data)
|
||||
{
|
||||
json = jQuery.parseJSON(data);
|
||||
{
|
||||
|
||||
// Add orders notifications to the list
|
||||
html = "";
|
||||
nb_notifs = 0;
|
||||
$.each(json.order, function(property, value) {
|
||||
html += "<li>'.translate('A new order has been made on your shop.').'<br />'.translate('Order number : ').'<strong>#" + parseInt(value.id_order) + "</strong><br />'.translate('Total : ').'<strong>" + value.total_paid_real + "</strong><br />'.translate('From : ').'<strong>" + value.customer_name + "</strong><br /><a href=\"index.php?controller=AdminOrders&token='.Tools::getAdminTokenLite('AdminOrders').'&vieworder&id_order=" + parseInt(value.id_order) + "\">'.translate('Click here to see that order').'</a></li>";
|
||||
});
|
||||
if (html != "")
|
||||
$.post("ajax.php",{"getNotifications" : "1"}, function(data) {
|
||||
if (data)
|
||||
{
|
||||
$("#list_orders_notif").prev("p").hide();
|
||||
$("#list_orders_notif").empty().append(html);
|
||||
nb_notifs = $("#list_orders_notif li").length;
|
||||
$("#orders_notif_value").text(nb_notifs);
|
||||
$("#orders_notif_number_wrapper").show();
|
||||
}
|
||||
else
|
||||
{
|
||||
$("#orders_notif_number_wrapper").hide();
|
||||
}
|
||||
|
||||
// Add customers notifications to the list
|
||||
html = "";
|
||||
nb_notifs = 0;
|
||||
$.each(json.customer, function(property, value) {
|
||||
html += "<li>'.translate('A new customer registered on your shop.').'<br />'.translate('Customer name : ').'<strong>" + value.customer_name + "</strong><br /><a href=\"index.php?controller=AdminCustomers&token='.Tools::getAdminTokenLite('AdminCustomers').'&viewcustomer&id_customer=" + parseInt(value.id_customer) + "\">'.translate('Click here to see that customer').'</a></li>";
|
||||
});
|
||||
if (html != "")
|
||||
{
|
||||
$("#list_customers_notif").prev("p").hide();
|
||||
$("#list_customers_notif").empty().append(html);
|
||||
nb_notifs = $("#list_customers_notif li").length;
|
||||
$("#customers_notif_value").text(nb_notifs);
|
||||
$("#customers_notif_number_wrapper").show();
|
||||
}
|
||||
else
|
||||
{
|
||||
$("#customers_notif_number_wrapper").hide();
|
||||
}
|
||||
json = jQuery.parseJSON(data);
|
||||
|
||||
// Add messages notifications to the list
|
||||
html = "";
|
||||
nb_notifs = 0;
|
||||
$.each(json.message, function(property, value) {
|
||||
html += "<li>'.translate('A new message posted on your shop.').'<br />'.translate('From : ').'<strong>" + value.customer_name + "</strong><br />'.translate('Excerpt : ').'<strong>" + value.message_customer + "</strong><br /><a href=\"index.php?controller=AdminOrders&token='.Tools::getAdminTokenLite('AdminOrders').'&vieworder&id_order=" + parseInt(value.id_order) + "\">'.translate('Click here to see that message').'</a></li>";
|
||||
});
|
||||
if (html != "")
|
||||
{
|
||||
$("#list_messages_notif").prev("p").hide();
|
||||
$("#list_messages_notif").empty().append(html);
|
||||
nb_notifs = $("#list_messages_notif li").length;
|
||||
$("#messages_notif_value").text(nb_notifs);
|
||||
$("#messages_notif_number_wrapper").show();
|
||||
}
|
||||
else
|
||||
{
|
||||
$("#messages_notif_number_wrapper").hide();
|
||||
}
|
||||
// Add orders notifications to the list
|
||||
html = "";
|
||||
nb_notifs = 0;
|
||||
$.each(json.order, function(property, value) {
|
||||
html += "<li>'.translate('A new order has been made on your shop.').'<br />'.translate('Order number : ').'<strong>#" + parseInt(value.id_order) + "</strong><br />'.translate('Total : ').'<strong>" + value.total_paid_real + "</strong><br />'.translate('From : ').'<strong>" + value.customer_name + "</strong><br /><a href=\"index.php?tab=AdminOrders&token='.Tools::getAdminTokenLite('AdminOrders').'&vieworder&id_order=" + parseInt(value.id_order) + "\">'.translate('Click here to see that order').'</a></li>";
|
||||
});
|
||||
|
||||
}
|
||||
setTimeout("getPush()",60000);
|
||||
});
|
||||
}
|
||||
if (html != "")
|
||||
{
|
||||
|
||||
$("#list_orders_notif").prev("p").hide();
|
||||
$("#list_orders_notif").empty().append(html);
|
||||
nb_notifs = $("#list_orders_notif li").length;
|
||||
$("#orders_notif_value").text(nb_notifs);
|
||||
$("#orders_notif_number_wrapper").show();
|
||||
}
|
||||
else
|
||||
{
|
||||
$("#orders_notif_number_wrapper").hide();
|
||||
}
|
||||
|
||||
// Add customers notifications to the list
|
||||
html = "";
|
||||
nb_notifs = 0;
|
||||
$.each(json.customer, function(property, value) {
|
||||
html += "<li>'.translate('A new customer registered on your shop.').'<br />'.translate('Customer name : ').'<strong>" + value.customer_name + "</strong><br /><a href=\"index.php?tab=AdminCustomers&token='.Tools::getAdminTokenLite('AdminCustomers').'&viewcustomer&id_customer=" + parseInt(value.id_customer) + "\">'.translate('Click here to see that customer').'</a></li>";
|
||||
});
|
||||
if (html != "")
|
||||
{
|
||||
$("#list_customers_notif").prev("p").hide();
|
||||
$("#list_customers_notif").empty().append(html);
|
||||
nb_notifs = $("#list_customers_notif li").length;
|
||||
$("#customers_notif_value").text(nb_notifs);
|
||||
$("#customers_notif_number_wrapper").show();
|
||||
}
|
||||
|
||||
else
|
||||
{
|
||||
|
||||
$("#customers_notif_number_wrapper").hide();
|
||||
}
|
||||
|
||||
|
||||
// Add messages notifications to the list
|
||||
html = "";
|
||||
nb_notifs = 0;
|
||||
$.each(json.customer_message, function(property, value) {
|
||||
html += "<li>'.translate('A new message posted on your shop.').'<br />'.translate('From : ').'<strong>" + value.customer_name + "</strong><br /><a href=\"index.php?tab=AdminCustomerThreads&token='.Tools::getAdminTokenLite('AdminCustomerThreads').'&viewcustomer_thread&id_customer_thread=" + parseInt(value.id_customer_thread) + "\">'.translate('Click here to see that message').'</a></li>";
|
||||
});
|
||||
|
||||
if (html != "")
|
||||
{
|
||||
|
||||
$("#list_customer_messages_notif").prev("p").hide();
|
||||
$("#list_customer_messages_notif").empty().append(html);
|
||||
nb_notifs = $("#list_customer_messages_notif li").length;
|
||||
$("#customer_messages_notif_value").text(nb_notifs);
|
||||
$("#customer_messages_notif_number_wrapper").show();
|
||||
}
|
||||
else
|
||||
{
|
||||
$("#customer_messages_notif_number_wrapper").hide();
|
||||
}
|
||||
}
|
||||
setTimeout("getPush()",60000);
|
||||
});
|
||||
}
|
||||
|
||||
$().ready(function()
|
||||
{
|
||||
@@ -193,7 +201,7 @@ echo ' var html = "";
|
||||
<h3>'.translate('Last orders').'</h3>
|
||||
<p class="no_notifs">'.translate('No new orders has been made on your shop').'</p>
|
||||
<ul id="list_orders_notif"></ul>
|
||||
<p><a href="index.php?controller=AdminOrders&token='.Tools::getAdminTokenLite('AdminOrders').'">'.translate('Show all orders').'</a></p>
|
||||
<p><a href="index.php?tab=AdminOrders&token='.Tools::getAdminTokenLite('AdminOrders').'">'.translate('Show all orders').'</a></p>
|
||||
</div>
|
||||
</div>';
|
||||
}
|
||||
@@ -204,23 +212,23 @@ echo ' var html = "";
|
||||
<h3>'.translate('Last customers').'</h3>
|
||||
<p class="no_notifs">'.translate('No new customers registered on your shop').'</p>
|
||||
<ul id="list_customers_notif"></ul>
|
||||
<p><a href="index.php?controller=AdminCustomers&token='.Tools::getAdminTokenLite('AdminCustomers').'">'.translate('Show all customers').'</a></p>
|
||||
<p><a href="index.php?tab=AdminCustomers&token='.Tools::getAdminTokenLite('AdminCustomers').'">'.translate('Show all customers').'</a></p>
|
||||
</div>
|
||||
</div>';
|
||||
}
|
||||
if (Configuration::get('PS_SHOW_NEW_MESSAGES') == 1)
|
||||
{
|
||||
echo '<div id="messages_notif" class="notifs"><span id="messages_notif_number_wrapper" class="number_wrapper"><span id="messages_notif_value">0</span></span>
|
||||
<div id="messages_notif_wrapper" class="notifs_wrapper">
|
||||
echo '<div id="customer_messages_notif" class="notifs"><span id="customer_messages_notif_number_wrapper" class="number_wrapper"><span id="customer_messages_notif_value">0</span></span>
|
||||
<div id="customer_messages_notif_wrapper" class="notifs_wrapper">
|
||||
<h3>'.translate('Last messages').'</h3>
|
||||
<p class="no_notifs">'.translate('No new messages posted on your shop').'</p>
|
||||
<ul id="list_messages_notif"></ul>
|
||||
<p><a href="index.php?controller=AdminMessages&token='.Tools::getAdminTokenLite('AdminMessages').'">'.translate('Show all messages').'</a></p>
|
||||
<ul id="list_customer_messages_notif"></ul>
|
||||
<p><a href="index.php?tab=AdminCustomerThreads&token='.Tools::getAdminTokenLite('AdminCustomerThreads').'">'.translate('Show all messages').'</a></p>
|
||||
</div>
|
||||
</div>';
|
||||
}
|
||||
echo '</div><span id="employee_links">
|
||||
<a href="index.php?controller=AdminEmployees&id_employee='.(int)Context::getContext()->employee->id.'&updateemployee&token='.Tools::getAdminTokenLite('AdminEmployees').'" class="employee" alt="">'.translate('My preferences').'</a>
|
||||
<a href="index.php?controller=AdminEmployees&id_employee='.(int)Context::getContext()->employee->id.'&updateemployee&token='.Tools::getAdminTokenLite('AdminEmployees').'" class="employee">'.translate('My preferences').'</a>
|
||||
<span class="separator"></span>
|
||||
<span class="employee_name">
|
||||
'.Tools::substr(Context::getContext()->employee->firstname, 0, 1).'. '.htmlentities(Context::getContext()->employee->lastname, ENT_COMPAT, 'UTF-8').'
|
||||
@@ -289,7 +297,7 @@ $echoLis = '';
|
||||
$mainsubtablist = '';
|
||||
|
||||
foreach ($tabs AS $t)
|
||||
if (checkTabRights($t['id_tab']) === true)
|
||||
if (checkTabRights($t['id_tab']) === true AND (bool)$t['active'])
|
||||
{
|
||||
$img = (Tools::file_exists_cache(_PS_ADMIN_DIR_.'/themes/'.Context::getContext()->employee->bo_theme.'/img/t/'.$t['class_name'].'.gif') ? 'themes/'.Context::getContext()->employee->bo_theme.'/img/' : _PS_IMG_).'t/'.$t['class_name'].'.gif';
|
||||
if (trim($t['module']) != '')
|
||||
@@ -308,13 +316,13 @@ foreach ($tabs AS $t)
|
||||
array_unshift($subTabs, $t);
|
||||
|
||||
foreach ($subTabs AS $t2)
|
||||
if (checkTabRights($t2['id_tab']) === true)
|
||||
if (checkTabRights($t2['id_tab']) === true AND (bool)$t2['active'])
|
||||
echo '<li><a href="index.php?controller='.$t2['class_name'].'&token='.Tools::getAdminTokenLite($t2['class_name']).'">'.$t2['name'].'</a></li>';
|
||||
|
||||
echo '</ul></li>';
|
||||
$echoLi = '';
|
||||
foreach ($subTabs AS $t2)
|
||||
if (checkTabRights($t2['id_tab']) === true)
|
||||
if (checkTabRights($t2['id_tab']) === true AND (bool)$t2['active'])
|
||||
$echoLi .= '<li class="subitem"><a href="index.php?controller='.$t2['class_name'].'&token='.Tools::getAdminTokenLite($t2['class_name']).'">'.$t2['name'].'</a></li>';
|
||||
|
||||
if ($current)
|
||||
|
||||
@@ -36,6 +36,7 @@ $functionArray = array(
|
||||
'pdf' => 'generateInvoicePDF',
|
||||
'id_order_slip' => 'generateOrderSlipPDF',
|
||||
'id_delivery' => 'generateDeliverySlipPDF',
|
||||
'delivery' => 'generateDeliverySlipPDF',
|
||||
'invoices' => 'generateInvoicesPDF',
|
||||
'invoices2' => 'generateInvoicesPDF2',
|
||||
'slips' => 'generateOrderSlipsPDF',
|
||||
@@ -66,10 +67,10 @@ function generateSupplyOrderFormPDF()
|
||||
|
||||
function generateInvoicePDF()
|
||||
{
|
||||
if (Tools::isSubmit('id_order'))
|
||||
generateInvoicePDFByIdOrder(Tools::getValue('id_order'));
|
||||
elseif (Tools::isSubmit('id_order_invoice'))
|
||||
generateInvoicePDFByIdOrderInvoice(Tools::getValue('id_order_invoice'));
|
||||
if (Tools::isSubmit('id_order'))
|
||||
generateInvoicePDFByIdOrder(Tools::getValue('id_order'));
|
||||
elseif (Tools::isSubmit('id_order_invoice'))
|
||||
generateInvoicePDFByIdOrderInvoice(Tools::getValue('id_order_invoice'));
|
||||
else
|
||||
die (Tools::displayError('Missing order ID or invoice order ID'));
|
||||
exit;
|
||||
@@ -81,7 +82,9 @@ function generateInvoicePDFByIdOrder($id_order)
|
||||
if (!Validate::isLoadedObject($order))
|
||||
die(Tools::displayError('Cannot find order in database'));
|
||||
|
||||
generatePDF($order->getInvoicesCollection(), PDF::TEMPLATE_INVOICE);
|
||||
$order_invoice_list = $order->getInvoicesCollection();
|
||||
Hook::exec('actionPDFInvoiceRender', array('order_invoice_list' => $order_invoice_list));
|
||||
generatePDF($order_invoice_list, PDF::TEMPLATE_INVOICE);
|
||||
}
|
||||
|
||||
function generateInvoicePDFByIdOrderInvoice($id_order_invoice)
|
||||
@@ -90,6 +93,7 @@ function generateInvoicePDFByIdOrderInvoice($id_order_invoice)
|
||||
if (!Validate::isLoadedObject($order_invoice))
|
||||
die(Tools::displayError('Cannot find order invoice in database'));
|
||||
|
||||
Hook::exec('actionPDFInvoiceRender', array('order_invoice_list' => array($order_invoice)));
|
||||
generatePDF($order_invoice, PDF::TEMPLATE_INVOICE);
|
||||
}
|
||||
|
||||
@@ -107,24 +111,47 @@ function generateOrderSlipPDF()
|
||||
|
||||
function generateDeliverySlipPDF()
|
||||
{
|
||||
$order = Order::getByDelivery((int)($_GET['id_delivery']));
|
||||
if (!Validate::isLoadedObject($order))
|
||||
die(Tools::displayError('Cannot find order in database'));
|
||||
if (Tools::isSubmit('id_order'))
|
||||
generateDeliverySlipPDFByIdOrder(Tools::getValue('id_order'));
|
||||
elseif (Tools::isSubmit('id_order_invoice'))
|
||||
generateDeliverySlipPDFByIdOrderInvoice(Tools::getValue('id_order_invoice'));
|
||||
elseif (Tools::isSubmit('id_delivery'))
|
||||
{
|
||||
$order = Order::getByDelivery(Tools::getValue('id_delivery'));
|
||||
generateDeliverySlipPDFByIdOrder($order->id);
|
||||
}
|
||||
else
|
||||
die (Tools::displayError('Missing order ID or invoice order ID'));
|
||||
exit;
|
||||
}
|
||||
|
||||
generatePDF($order, PDF::TEMPLATE_DELIVERY_SLIP);
|
||||
function generateDeliverySlipPDFByIdOrder($id_order)
|
||||
{
|
||||
$order = new Order($id_order);
|
||||
if (!Validate::isLoadedObject($order))
|
||||
throw new PrestashopException('Can\'t load Order object');
|
||||
|
||||
$order_invoice_collection = $order->getInvoicesCollection();
|
||||
generatePDF($order_invoice_collection, PDF::TEMPLATE_DELIVERY_SLIP);
|
||||
}
|
||||
|
||||
function generateDeliverySlipPDFByIdOrderInvoice($id_order_invoice)
|
||||
{
|
||||
$order_invoice = new OrderInvoice($id_order_invoice);
|
||||
if (!Validate::isLoadedObject($order_invoice))
|
||||
throw new PrestashopException('Can\'t load Order Invoice object');
|
||||
|
||||
generatePDF($order_invoice, PDF::TEMPLATE_DELIVERY_SLIP);
|
||||
}
|
||||
|
||||
function generateInvoicesPDF()
|
||||
{
|
||||
$id_orders_list = Order::getOrdersIdInvoiceByDate($_GET['date_from'], $_GET['date_to'], NULL, 'invoice');
|
||||
$id_orders_list = OrderInvoice::getByDateInterval($_GET['date_from'], $_GET['date_to'], NULL, 'invoice');
|
||||
|
||||
if (!is_array($id_orders_list))
|
||||
die (Tools::displayError('No invoices found'));
|
||||
|
||||
$orders = array();
|
||||
foreach ($id_orders_list as $id_order)
|
||||
$orders[] = new Order((int)$id_order);
|
||||
|
||||
generatePDF($orders, PDF::TEMPLATE_INVOICE);
|
||||
generateOrderInvoicesPDF($id_orders_list);
|
||||
}
|
||||
|
||||
function generateInvoicesPDF2()
|
||||
@@ -134,11 +161,19 @@ function generateInvoicesPDF2()
|
||||
if (is_array($id_orders = Order::getOrderIdsByStatus((int)$id_order_state)))
|
||||
$id_orders_list = array_merge($id_orders_list, $id_orders);
|
||||
|
||||
$orders = array();
|
||||
foreach ($id_orders_list as $id_order)
|
||||
$orders[] = new Order((int)$id_order);
|
||||
generateOrderInvoicesPDF($id_orders_list);
|
||||
}
|
||||
|
||||
generatePDF($orders, PDF::TEMPLATE_INVOICE);
|
||||
function generateOrderInvoicesPDF($id_orders_list)
|
||||
{
|
||||
$orders_invoices = array();
|
||||
foreach ($id_orders_list as $id_order)
|
||||
{
|
||||
$order = new Order((int)$id_order);
|
||||
$orders_invoices = array_merge($orders_invoices, $order->getInvoicesCollection());
|
||||
}
|
||||
|
||||
generatePDF($orders_invoices, PDF::TEMPLATE_INVOICE);
|
||||
}
|
||||
|
||||
function generateOrderSlipsPDF()
|
||||
@@ -167,5 +202,4 @@ function generatePDF($object, $template)
|
||||
global $smarty;
|
||||
$pdf = new PDF($object, $template, $smarty);
|
||||
$pdf->render();
|
||||
}
|
||||
|
||||
}
|
||||
@@ -1,170 +0,0 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/osl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 7310 $
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
class AdminMessages extends AdminTab
|
||||
{
|
||||
public function __construct()
|
||||
{
|
||||
$this->table = 'order';
|
||||
$this->className = 'Order';
|
||||
$this->view = 'noActionColumn';
|
||||
$this->colorOnBackground = true;
|
||||
$this->context = Context::getContext();
|
||||
$start = 0;
|
||||
$this->_defaultOrderBy = 'date_add';
|
||||
|
||||
/* Manage default params values */
|
||||
if (empty($limit))
|
||||
$limit = ((!isset($this->context->cookie->{$this->table.'_pagination'})) ? $this->_pagination[0] : $limit = $this->context->cookie->{$this->table.'_pagination'});
|
||||
|
||||
if (!Validate::isTableOrIdentifier($this->table))
|
||||
die (Tools::displayError('Table name is invalid:').' "'.$this->table.'"');
|
||||
|
||||
if (empty($orderBy))
|
||||
$orderBy = Tools::getValue($this->table.'Orderby', $this->_defaultOrderBy);
|
||||
elseif ($orderBy == 'id_order')
|
||||
$orderBy = 'm.id_order';
|
||||
|
||||
if (empty($orderWay))
|
||||
$orderWay = Tools::getValue($this->table.'Orderway', 'ASC');
|
||||
|
||||
$limit = (int)(Tools::getValue('pagination', $limit));
|
||||
$this->context->cookie->{$this->table.'_pagination'} = $limit;
|
||||
|
||||
/* Check params validity */
|
||||
if (!Validate::isOrderBy($orderBy) OR !Validate::isOrderWay($orderWay)
|
||||
OR !is_numeric($start) OR !is_numeric($limit))
|
||||
die(Tools::displayError('get list params is not valid'));
|
||||
|
||||
if ($orderBy == 'id_order')
|
||||
$orderBy = 'm.id_order';
|
||||
|
||||
/* Determine offset from current page */
|
||||
if ((isset($_POST['submitFilter'.$this->table]) OR
|
||||
isset($_POST['submitFilter'.$this->table.'_x']) OR
|
||||
isset($_POST['submitFilter'.$this->table.'_y'])) AND
|
||||
!empty($_POST['submitFilter'.$this->table]) AND
|
||||
is_numeric($_POST['submitFilter'.$this->table]))
|
||||
$start = (int)($_POST['submitFilter'.$this->table] - 1) * $limit;
|
||||
|
||||
$this->_list = Db::getInstance()->executeS('
|
||||
SELECT SQL_CALC_FOUND_ROWS m.id_message, m.id_cart, m.id_employee, IF(m.id_order > 0, m.id_order, \'--\') id_order, m.message, m.private, m.date_add, CONCAT(LEFT(c.`firstname`, 1), \'. \', c.`lastname`) AS customer,
|
||||
c.id_customer, count(m.id_message) nb_messages, (SELECT message FROM '._DB_PREFIX_.'message WHERE id_order = m.id_order ORDER BY date_add DESC LIMIT 1) last_message,
|
||||
(SELECT COUNT(m2.id_message) FROM '._DB_PREFIX_.'message m2 WHERE 1 AND m2.id_customer != 0 AND m2.id_order = m.id_order AND m2.id_message NOT IN
|
||||
(SELECT mr2.id_message FROM '._DB_PREFIX_.'message_readed mr2 WHERE mr2.id_employee = '.(int)$this->context->employee->id.') GROUP BY m2.id_order) nb_messages_not_read_by_me
|
||||
FROM '._DB_PREFIX_.'message m
|
||||
LEFT JOIN '._DB_PREFIX_.'orders o ON (o.id_order = m.id_order)
|
||||
LEFT JOIN '._DB_PREFIX_.'customer c ON (c.id_customer = m.id_customer)
|
||||
GROUP BY m.id_order
|
||||
ORDER BY '.(isset($orderBy) ? pSQL($orderBy) : 'date_add') .' '.(isset($orderWay) ? pSQL($orderWay) : 'DESC').'
|
||||
LIMIT '.(int)($start).','.(int)($limit));
|
||||
$this->_listTotal = Db::getInstance()->getValue('SELECT FOUND_ROWS()');
|
||||
|
||||
$this->fieldsDisplay = array(
|
||||
'id_order' => array('title' => $this->l('Order ID'), 'align' => 'center', 'width' => 30),
|
||||
'id_customer' => array('title' => $this->l('Customer ID'), 'align' => 'center', 'width' => 30),
|
||||
'customer' => array('title' => $this->l('Customer'), 'width' => 100, 'filter_key' => 'customer', 'tmpTableFilter' => true),
|
||||
'last_message' => array('title' => $this->l('Last message'), 'width' => 400, 'orderby' => false),
|
||||
'nb_messages_not_read_by_me' => array('title' => $this->l('Unread message(s)'), 'width' =>30, 'align' => 'center'),
|
||||
'nb_messages' => array('title' => $this->l('Number of messages'), 'width' => 30, 'align' => 'center'));
|
||||
|
||||
parent::__construct();
|
||||
}
|
||||
|
||||
public function display()
|
||||
{
|
||||
if (isset($_GET['ajax']) && !empty($_GET['id_cart']))
|
||||
{
|
||||
ob_clean();
|
||||
|
||||
$messages = Message::getMessagesByCartId(Tools::getValue('id_cart'), true);
|
||||
|
||||
echo '
|
||||
<style type="text/css">
|
||||
* {
|
||||
font-size: 12px;
|
||||
font-family: Arial,Verdana,Helvetica,sans-serif;
|
||||
}
|
||||
</style>
|
||||
<p style="color: #CC0000; font-weight: bold;">'.$this->l('This customer has not finalized their order, however here are their messages:').'</p>';
|
||||
|
||||
foreach ($messages AS $message)
|
||||
{
|
||||
echo '
|
||||
<table cellpadding="5" border="1">
|
||||
<tr>
|
||||
<td>'.$this->l('Cart ID:').'</td>
|
||||
<td>'.(int)$message['id_cart'].'</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>'.$this->l('Customer ID:').'</td>
|
||||
<td>'.(int)$message['id_customer'].'</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>'.$this->l('Date:').'</td>
|
||||
<td>'.Tools::displayDate($message['date_add'], $this->context->language->id, true).'</td>
|
||||
</tr>
|
||||
</table>
|
||||
<p>'.$this->l('Message:').' '.Tools::htmlentitiesUTF8($message['message']).'</p>
|
||||
<hr size="1" noshade style="margin-bottom: 15px;" />';
|
||||
}
|
||||
|
||||
die;
|
||||
}
|
||||
elseif (isset($_GET['view'.$this->table]) AND !empty($_GET['id_order']) AND $_GET['id_order'] != '--')
|
||||
Tools::redirectAdmin('index.php?tab=AdminOrders&id_order='.(int)($_GET['id_order']).'&vieworder'.'&token='.Tools::getAdminToken('AdminOrders'.(int)(Tab::getIdFromClassName('AdminOrders')).(int)$this->context->employee->id));
|
||||
else
|
||||
{
|
||||
if (isset($_GET['id_order']) AND (empty($_GET['id_order']) OR $_GET['id_order'] == '--'))
|
||||
{
|
||||
echo '<p class="warning bold"><img src="../img/admin/warning.gif" alt="" class="middle" /> '.
|
||||
Tools::displayError('Cannot display this message because the customer has not finalized their order.').'</p>';
|
||||
}
|
||||
|
||||
foreach ($this->_list AS $k => &$item)
|
||||
if (Tools::strlen($item['last_message']) > 150 + Tools::strlen('...'))
|
||||
$this->_list[$k]['last_message'] = Tools::substr(html_entity_decode($item['last_message'], ENT_QUOTES, 'UTF-8'), 0, 150, 'UTF-8').'...';
|
||||
|
||||
foreach ($this->_list AS $k => &$item)
|
||||
if ($item['id_order'] == '--')
|
||||
$this->_list[$k]['last_message'] .= ' <a class="iframe" onclick="$(this).parent().attr(\'onclick\', \'return false\');" href="'.self::$currentIndex.'&token='.Tools::getAdminToken('AdminMessages'.(int)(Tab::getIdFromClassName('AdminMessages')).(int)$this->context->employee->id).'&ajax=1&id_cart='.(int)$this->_list[$k]['id_cart'].'" title="'.$this->l('View details').'"><img src="../img/admin/details.gif" alt="'.$this->l('View details').'" /></a>';
|
||||
|
||||
echo '
|
||||
<link href="'._PS_CSS_DIR_.'jquery.fancybox-1.3.4.css" rel="stylesheet" type="text/css" media="screen" />
|
||||
<script type="text/javascript" src="'._PS_JS_DIR_.'jquery/jquery.fancybox-1.3.4.js"></script>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function()
|
||||
{
|
||||
$(\'a.iframe\').fancybox();
|
||||
});
|
||||
</script>';
|
||||
|
||||
$this->displayList();
|
||||
$this->displayOptionsList();
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -1,270 +0,0 @@
|
||||
body {font-family: Arial, Helvetica, sans-serif;}
|
||||
|
||||
|
||||
h1, h2, h3, h4 { font-family: Arial, Helvetica, sans-serif; margin-bottom:.5em; line-height:1.4em; }
|
||||
h2 { font-size:1.7em; }
|
||||
h3 { font-size:1.25em; }
|
||||
h4 { font-size:1.05em; }
|
||||
h6 { font-size:1em; }
|
||||
|
||||
|
||||
/*LIST*/
|
||||
ul,ol {list-style:none; margin: 0; padding: 0;}
|
||||
|
||||
/*FORM*/
|
||||
label {color:#585a69;text-shadow:0 1px 0#fff;}
|
||||
fieldset{background-color:#EBEDF4; border:1px solid #CCCED7;font-size:1.1em;margin:0;padding:1em}
|
||||
legend{background:#EBEDF4;border:1px solid #CCCED7;font-weight:700;margin:0;padding:.2em .5em;text-align:left}
|
||||
input[type="text"],input[type="password"],input[type="file"],textarea {border:1px solid #ccc;}
|
||||
select { border:1px solid #ccc;}
|
||||
select[disabled="disabled"], input[disabled="disabled"],textarea[disabled="disabled"] {border: 1px solid #CCCCCC;color: #AAAAAA}
|
||||
.header_module{background:url(header_module.png);padding-left: 0.5em;padding-top: 0.8em;height:20px;color: #812143;border:solid 1px #CCC;}
|
||||
.double_select select{width:300px;height:160px;}
|
||||
.double_select a{text-align:center;display:block;border:1px solid #aaa;text-decoration:none;background-color:#fafafa;color:#123456;margin:2px;padding:2px}
|
||||
|
||||
/*BUTTON*/
|
||||
.button{background: -moz-linear-gradient(center top , #F9F9F9, #E3E3E3) repeat scroll 0 0 transparent;
|
||||
background: -webkit-gradient(linear, center top ,center bottom, from(#F9F9F9), to(#E3E3E3)) repeat scroll 0 0 transparent;
|
||||
border-color: #CCCCCC #BBBBBB #A0A0A0;border-left: 1px solid #BBBBBB;border-radius: 3px 3px 3px 3px;border-right: 1px solid #BBBBBB;border-style: solid;border-width: 1px;color: #000000;margin: 0; outline: medium none;padding: 3px 8px;text-align: center;vertical-align: middle;white-space: nowrap;}
|
||||
.button[disabled=disabled]{color:#8C8C8C}
|
||||
input.button[disabled=disabled]:hover{background-color:#FFF6D3}
|
||||
.button:hover{border:1px solid #939393;}
|
||||
.button:active{border:1px solid #939393;}
|
||||
|
||||
#top_container{margin:0;padding:0}
|
||||
|
||||
/*HEADER*/
|
||||
#header { background-color: #394049; height:114px; }
|
||||
#header #header_infos{ position:relative; margin: 0; padding:0; height:84px; }
|
||||
#header #header_shopname {float: left; margin:15px 20px 0 20px;}
|
||||
#header #employee_links {float: right; display:block; margin:15px 15px 0 15px; }
|
||||
#header #employee_links a{ float:left; color:#fff; text-transform:capitalize;}
|
||||
#header #employee_links .employee_name { float:left; color:#fff;}
|
||||
#header .separator { background: transparent url(separator.png) no-repeat scroll center top; display: block;float: left;height: 19px; width: 16px;}
|
||||
#header #header_infos #header_shopname span{display:block; font-size:24px; height:28px; overflow:hidden;margin:0; color:#fff; text-shadow: 0 1px 0 #000000;}
|
||||
#header #header_infos #header_logout { background: transparent url(logout.png) no-repeat scroll left top; float:left; padding-left:20px; color:#fff !important; }
|
||||
#header #header_infos #header_logout a { color:#fff !important;}
|
||||
#header #header_infos #header_logout a span {color:#fff;}
|
||||
#header #header_infos #header_foaccess{ text-decoration:none; color:#fff;}
|
||||
#header #header_infos #header_foaccess a {color:#fff !important;}
|
||||
#header #header_search{ float:left; margin-top:15px; }
|
||||
#header #header_search #bo_query{float:left;background: none repeat scroll 0 0 #fff; border-color: #666666 #CCCCCC #CCCCCC;
|
||||
border-style:solid dotted solid solid;
|
||||
border-width: 1px; color: #333; font: 13px Arial,sans-serif; padding: 4px 1px 4px 4px; width: 180px;
|
||||
box-shadow: 0 1px 0 #444444;}
|
||||
#header #header_search #bo_search_type{float:left; margin:0; padding:3px 0 4px; vertical-align:middle;width:auto; border-color: #666666 #CCCCCC #CCCCCC;
|
||||
border-style:solid solid solid none; height:25px;
|
||||
border-width: 1px;}
|
||||
#header #header_search #bo_search_submit { border-color: #CCCCCC #BBBBBB; float:left; font-weight:normal; margin:0; padding: 4px 8px 3px; cursor:pointer; text-shadow: 0 1px 0 #fff; border-bottom-left-radius: 0; border-left: 0 none; border-top-left-radius: 0; }
|
||||
#header #header_quick{float:right; display:block; margin-top:15px;}
|
||||
#header #header_quick #quick_select{margin:0; padding:3px 0 4px; vertical-align:middle;width:140px; height:25px;}
|
||||
#header #header_shoplist{ background-image:none; clear:both; float: right; color:#fff; margin-top:10px; margin-right:15px;}
|
||||
#header #header_shoplist span { float:left; padding:3px;}
|
||||
#header #header_myaccount{background:url(bg-lang.png) no-repeat;display:block;float:right;height:16px;margin:8px 1px 0 0;width:16px}
|
||||
|
||||
|
||||
.path_bar {display:none;}
|
||||
#notifs_icon_wrapper {float: left;position: relative;margin:15px 10px 0; width:90px;}
|
||||
.notifs { float: left;position: relative;cursor: pointer;margin:0; padding:5px; width: 18px;height: 16px;}
|
||||
#orders_notif {background: url("notif_order.png") no-repeat center top;}
|
||||
#customers_notif {background: url("notif_customer.png") no-repeat center top;}
|
||||
#messages_notif {background: url("notif_message.png") no-repeat center top;}
|
||||
#orders_notif.open_notifs,
|
||||
#customers_notif.open_notifs,
|
||||
#messages_notif.open_notifs { background-color: #FFFFFF;border: 1px solid #000000; position: relative; display: block; background-position:center bottom; }
|
||||
|
||||
|
||||
.number_wrapper {color: white;display: none;font-size: 13px;font-weight: bold;position: absolute; right: -8px;top: -10px;z-index: 101;padding: 2px 5px;}
|
||||
.number_wrapper span {background-color: #F03D25; font-size:11px; display: block; padding: 1px 3px;border-color: -moz-use-text-color #DD3822 #DD3822;border-radius: 2px 2px 2px 2px;border-right: 1px solid #DD3822;border-style: none solid solid;border-width: 0 0px;}
|
||||
.notifs_wrapper {background: none repeat scroll 0 0 #FFFFFF; border: 1px solid #000; border-top:none;display: none; cursor:auto; position: absolute; top: 25px; left: -1px; width:300px; padding: 10px;color: black; z-index:9999;}
|
||||
.notifs_wrapper h3 {font-size: 14px;padding-bottom:8px;margin:0;border-bottom: 1px solid #E5E5E5;}
|
||||
.notifs_wrapper ul {padding:6px 0;margin:0;}
|
||||
.notifs_wrapper ul li {text-decoration: none;list-style: none;font-size:12px;padding:5px 0;}
|
||||
#header_infos .notifs_wrapper a {font-weight: bold; font-size:11px; color: black; float:right;}
|
||||
.notifs_wrapper p {font-size: 12px;padding-top:8px;margin:0;border-top: 1px solid #E5E5E5;}
|
||||
.notifs_wrapper p.no_notifs {border: none;}
|
||||
|
||||
|
||||
/*MENU*/
|
||||
#header #menu{ background-color: #f8f8f8; border-bottom:1px solid #e5e5e5; float:left;line-height:normal;margin:0;padding:0;width:100%;}
|
||||
#header #menu li.maintab{float:left;height:29px;list-style:none;margin:0 1px 0 0;list-style:none;display:block; border-left:1px solid #fff; border-right:1px solid #ccc;}
|
||||
#header #menu li#maintab1 { margin-left:20px;}
|
||||
#header #menu li.submenu_size .title{cursor:default;color:#000;display:block; padding:8px 6px 4px 0;font-weight:normal;font-size:12px;}
|
||||
#header #menu li.submenu_size .title{_display:inline;_padding:6px 5px 4px 0}
|
||||
#header #menu li{_height:32px;_padding-top:3px}
|
||||
#header #menu img{display:inline;padding:0 3px 0 6px; margin-top:-4px; vertical-align:middle;width:16px;height:16px}
|
||||
#header #menu li.active, #header #menu li:hover{background-position:0 -38px;white-space:nowrap;}
|
||||
#header #menu li.active a{}
|
||||
#header #menu li:hover, #header #menu li.active {background-color:#49B2FF; }
|
||||
#header #menu li.active span.title, #header #menu li:hover span.title {color:#fff; text-shadow: -1px -1px 0 #3293D6;}
|
||||
#header #menu .withLeftBorder{background:transparent url(separator_subnav.png) no-repeat 0 5px}
|
||||
#header #menu .submenu{background:#f8f8f8;clear:both;margin:0;padding:0;border:1px solid #d9d9d9;z-index:9999; box-shadow: 1px 5px 10px #CCCCCC; -moz-box-shadow:1px 5px 10px #CCCCCC; -webkit-box-shadow:1px 5px 10px #CCCCCC;}
|
||||
#header #menu .submenu li{list-style:none;margin:0;padding:0;display:block;}
|
||||
#header #menu .submenu li a{ font-size:12px;display:block;padding: 5px 15px 5px 10px; color:#666666;border-top:1px solid #fff; border-bottom:1px solid #ccc;}
|
||||
#header #menu .submenu li a:hover { background-color:#eee; text-shadow:0 1px 0 #fff;}
|
||||
|
||||
/*SEPARATION*/
|
||||
.separation { background-color:#ccc;border-bottom:1px solid #fff; width:100%; height:1px; margin:10px 0;}
|
||||
|
||||
/*TABLE*/
|
||||
.table_grid {width:100%;}
|
||||
.table{ background-color:#fff;border:1px solid #ccc;padding:0: border-radius:3px; -moz-border-radius:3px;-webkit-border-radius:3px;}
|
||||
.filter {background-color:#f1f9ff;}
|
||||
.table th a{text-decoration:underline}
|
||||
.table a:hover{text-decoration:none}
|
||||
.table tr th{ background-color: #F1F1F1; text-shadow:0 1px 0 #fff; padding:4px 6px;
|
||||
background-image: -moz-linear-gradient(center top , #F9F9F9, #ECECEC);
|
||||
background: -webkit-gradient(linear, center top ,center bottom, from(#F9F9F9), to(#ECECEC)) repeat scroll 0 0 transparent;}
|
||||
.table tr td{border-bottom:1px solid #ccc;color:#333;font-size:11px;padding: 2px 4px 2px 6px}
|
||||
.table tr.action_details td{background:#FAFAFA;}
|
||||
.table tr.alt_row.action_details td{background:#E8E8E8;}
|
||||
.table tr td.empty{border-bottom:none;background:white!important}
|
||||
.table tr td.first{border-left:1px solid #DEDEDE}
|
||||
.table tr td.last{border-right:1px solid #DEDEDE}
|
||||
.table tr.small td{height:15px}
|
||||
.table tr.last td{border-bottom:none}
|
||||
td.col-left {vertical-align:top; padding-right:10px;}
|
||||
td.col-left label { display:block; width:100%; text-align:right;}
|
||||
.alt_row{background-color:#f8f8f8}
|
||||
.path_bar{background-color:#E2EBEE;border:1px solid #999999;font-family:Trebuchet,Arial,Helvetica,sans-serif;font-size:13px;margin-bottom:20px;padding:5px}
|
||||
.path_bar a{font-weight:700}
|
||||
.cat_bar{background-color:#F4E8CD;border:1px solid #999999;font-family:Trebuchet,Arial,Helvetica,sans-serif;font-size:12px;font-weight:700;margin-bottom:20px;padding:5px}
|
||||
.cat_bar a{font-weight:700}
|
||||
|
||||
a.action_module{color: #268CCD;text-decoration: underline;}
|
||||
a.header_module_toggle{font-weight: bold;color: #268CCD;display:block;}
|
||||
a.module_toggle_all{color: #268CCD;}
|
||||
.nbr_module{float:right;margin-right:10px;font-style:italic;font-size:12px;color: #268CCD;}
|
||||
|
||||
.autoupgradeSteps div { line-height: 30px; }
|
||||
.upgradestep { margin-right: 5px;padding-left: 10px; padding-right: 5px;}
|
||||
#upgradeNow.stepok, .autoupgradeSteps a.stepok { background-image: url("../img/admin/enabled.gif");background-position: left center;background-repeat: no-repeat;padding-left: 15px;}
|
||||
#upgradeNow {-moz-border-bottom-colors: none;-moz-border-image: none;-moz-border-left-colors: none;-moz-border-right-colors: none;-moz-border-top-colors: none;border-color: #FFF6D3 #DFD5AF #DFD5AF #FFF6D3;border-right: 1px solid #DFD5AF;border-style: solid;border-width: 1px;color: #268CCD;font-size: medium;padding: 5px;}
|
||||
.button-autoupgrade {-moz-border-bottom-colors: none;-moz-border-image: none;-moz-border-left-colors: none;-moz-border-right-colors: none;-moz-border-top-colors: none;border-color: #FFF6D3 #DFD5AF #DFD5AF #FFF6D3;border-right: 1px solid #DFD5AF;border-style: solid;border-width: 1px;color: #268CCD;font-size: medium;padding: 5px;}
|
||||
.processing {overflow: auto;}
|
||||
|
||||
/*TABLE STATUS COMMANDE*/
|
||||
.table td span.color_field { font-size:11px; padding:2px 5px; border-radius:3px; text-transform:uppercase; color:#fff; border-radius:3px; -moz-border-radius:3px; -webkit-border-radius:3px;}
|
||||
|
||||
/*toolbarBox*/
|
||||
.toolbarBox { background-color: #F8F8F8; border: 1px solid #CCCCCC; margin-bottom:10px; padding: 10px 0; border-radius:3px; -moz-border-radius:3px; -webkit-border-radius:3px;}
|
||||
.toolbarBox .pageTitle { margin-left:10px; line-height:48px}
|
||||
.toolbarBox .pageTitle h3 {font-size: 2em; font-weight: normal; line-height: 48px; margin: 0; padding: 0;}
|
||||
.toolbarBox ul.cc_button {float:right;margin:0;padding:0;}
|
||||
.toolbarBox ul.cc_button li {color: #666666; float: left; height: 48px; list-style: none outside none; padding: 1px 1px 3px 4px; text-align: center;}
|
||||
.toolbarBox a.toolbar_btn { border-width: 1px;font-size:11px;cursor: pointer; display: block; float: left; padding: 1px 5px; white-space: nowrap; text-shadow: 0 1px 0 #ffffff;;}
|
||||
.toolbarBox a.toolbar_btn:hover {}
|
||||
.toolbarBox .toolbar_btn span{ display: block;float: none;height: 32px;margin: 0 auto;width: 32px;}
|
||||
.toolbarBox .process-icon-delete { background-image: url(process-icon-delete.png);}
|
||||
.toolbarBox .process-icon-duplicate { background-image: url(process-icon-duplicate.png);}
|
||||
.toolbarBox .process-icon-preview { background-image: url(process-icon-preview.png);}
|
||||
.toolbarBox .process-icon-stats { background-image: url(process-icon-stats.png);}
|
||||
.toolbarBox .process-icon-cancel { background-image: url(process-icon-cancel.png);}
|
||||
.toolbarBox .process-icon-new, .toolbarBox .process-icon-newAttributes{ background-image: url(process-icon-new.png);}
|
||||
.toolbarBox .process-icon-save, .toolbarBox .process-icon-save-settings { background-image: url(process-icon-save.png);}
|
||||
.toolbarBox .process-icon-save-and-stay { background-image: url(process-icon-save-and-stay.png);}
|
||||
.toolbarBox .process-icon-edit { background-image: url(process-icon-edit.png);}
|
||||
.toolbarBox .process-icon-back { background-image: url(process-icon-back.png);}
|
||||
.toolbarBox .process-icon-refresh-index { background-image: url(process-icon-refresh-index.png);}
|
||||
.toolbarBox .process-icon-refresh-cache { background-image: url(process-icon-refresh-cache.png);}
|
||||
.toolbarBox .process-icon-save-calendar { background-image: url(process-icon-save-calendar.png);}
|
||||
.toolbarBox .process-icon-new-module { background-image: url(process-icon-new-module.png);}
|
||||
.toolbarBox .process-icon-new-module-addon { background-image: url(process-icon-new-module-addon.png);}
|
||||
.toolbarBox .process-icon-save-and-preview { background-image: url(process-icon-preview.png);}
|
||||
|
||||
div.fix-toolbar {border-bottom: 1px solid #E0E0E0;position:fixed;top:0;opacity:0.9;z-index:1;}
|
||||
|
||||
/*button upload files*/
|
||||
.qq-upload-button {background: -moz-linear-gradient(center top , #F9F9F9, #E3E3E3) repeat scroll 0 0 transparent;
|
||||
background: -webkit-gradient(linear, center top ,center bottom, from(#F9F9F9), to(#E3E3E3)) repeat scroll 0 0 transparent;
|
||||
border-color: #CCCCCC #BBBBBB #A0A0A0;border-left: 1px solid #BBBBBB;border-radius: 3px 3px 3px 3px;border-right: 1px solid #BBBBBB;border-style: solid;border-width: 1px;color: #000000;}
|
||||
.qq-upload-button:hover { border:1px solid #939393;}
|
||||
/*leadin*/
|
||||
.leadin { padding:10px;}
|
||||
|
||||
/*productBox*/
|
||||
#productBox { position:relative; width:100%; float:left;}
|
||||
|
||||
/*tab-pane*/
|
||||
form#product_form, form#access_form, form#cart_rule_form { background-color:#ebedf4; border:1px solid #ccced7; min-height:300px; padding: 5px 10px 10px; margin-left:140px;}
|
||||
/*form.defaultForm{ background-color:#ebedf4; border:1px solid #ccced7; min-height:300px; padding: 5px 10px 10px;}*/
|
||||
.tab-row {}
|
||||
.tab-row .tab {background:#EFEFEF;width:100px;}
|
||||
.tab-row .tab-page.selected {}
|
||||
.tab-row .tab-page {}
|
||||
.productTabs{ background-color:#fafafa; border:1px solid #ccced7; border-right:none; float:left; width:140px;}
|
||||
.productTabs ul{padding:0;margin:0;}
|
||||
.productTabs ul li.tab-row { border:none; }
|
||||
.productTabs ul li.tab-row:first-child a {border-top:none;}
|
||||
.productTabs ul li.tab-row a { display:block; font-weight:normal; color:#666;padding: 7px 10px; border-top:1px solid #CCCED7; border-right:1px solid #CCCED7;}
|
||||
.productTabs ul li.tab-row a.selected { background-color:#EBEDF4;font-weight:bold;color:#000; border-right:none;}
|
||||
.product-tab-content h4.tab { display:none;}
|
||||
|
||||
|
||||
/*FILTER MODULE*/
|
||||
.filter-module { background-color:#ebedf4; border:1px solid #c2c4d9; margin-top:10px; padding:10px; display:block; min-height:25px;}
|
||||
.filter-module #filternameForm {float:left; margin-right:30px;}
|
||||
.filter-module label {width:auto;}
|
||||
.filter-module .select-filter { float:left;}
|
||||
.filter-module .button-filter { float:right;}
|
||||
|
||||
/*FILTER STOCK*/
|
||||
.filter-stock { background-color:#ebedf4; border:1px solid #c2c4d9; margin-bottom:15px; padding:10px; display:block; min-height:25px;}
|
||||
.filter-stock #stock_cover {float:left; margin-right:30px;}
|
||||
.filter-stock #stock_instant_state {float:left; margin-right:30px;}
|
||||
.filter-stock label {width:auto;}
|
||||
.filter-stock .select-filter { float:left;}
|
||||
.filter-stock .button-filter { float:right;}
|
||||
|
||||
/*ADDONS LOGIN*/
|
||||
#addons_login_div { background: #EBEDF4 url(lock.png) no-repeat scroll left 5px;}
|
||||
#addons_login_div form#addons_login_form { float:right;}
|
||||
#addons_login_div p {float:left; font-size:16px; color:#585A69; line-height:24px; text-shadow: 0 1px 0 #fff; margin:0; padding-left:25px;}
|
||||
#addons_login_div label {}
|
||||
#addons_login_div input { float:left; margin-right:10px;}
|
||||
#addons_login_div input#addons_login_button { margin-right: 0px; }
|
||||
|
||||
|
||||
/*SIDEBAR*/
|
||||
.sidebar { position:relative; float:left; width:220px; display:inline;}
|
||||
.sidebar h3 { background-color:#ebedf4; font-weight:bold; display:block; padding:5px;}
|
||||
.sidebar .subHeadline { font-weight:bold; float:right; margin-top:-28px; margin-right:5px;}
|
||||
.sidebar ul.categorieList {}
|
||||
.sidebar ul.categorieList li { border-top:1px solid #ccc; position:relative; line-height:20px;}
|
||||
.sidebar ul.categorieList li:first-child { border-top:none;}
|
||||
.sidebar ul.categorieList li a {color:#3a6ea7;}
|
||||
.sidebar ul.categorieList li div.categorieWidth { width:180px; margin-left:5px; overflow:hidden;}
|
||||
.sidebar ul.categorieList li div.count{ position:absolute; top:0; right:5px;}
|
||||
.sidebar .categorieStatus { display:none;}
|
||||
|
||||
/*MODULECONTAINER*/
|
||||
#moduleContainer { margin-left:220px; padding:13px 0 0 20px;}
|
||||
#moduleContainer .table tr th { height:40px;}
|
||||
#moduleContainer .table tr td { vertical-align:top; padding: 5px 7px 0; border-top:1px dotted #ccc; border-bottom:none;}
|
||||
#moduleContainer .table tr:first-child {border-top:1px solid #ccc}
|
||||
#moduleContainer .table tr td .imgm {width:32px;}
|
||||
#moduleContainer .moduleDesc { font-size:12px; position:relative; margin-bottom:10px;}
|
||||
#moduleContainer .moduleDesc h3 { color:#3A6EA7; margin:0;}
|
||||
#moduleContainer .moduleDesc .metadata { float:left; display:block; margin:5px 0;}
|
||||
#moduleContainer .moduleDesc .metadata dl { float:left; margin:0; padding-right:10px;}
|
||||
#moduleContainer .moduleDesc .metadata dl dt, .moduleDesc .metadata dl dd { float:left; margin:0; padding:0;}
|
||||
#moduleContainer .moduleDesc .metadata dl dd { padding-right:10px;}
|
||||
#moduleContainer .moduleDesc .metadata dl dt { font-weight:bold; padding-right:5px;}
|
||||
#moduleContainer .moduleDesc p.desc { color:#666; font-size:12px; display:block; clear:both;}
|
||||
#moduleContainer .setup {background-color:#6db300; font-size:10px; color:#fff; text-transform:uppercase; position:relative; left:10px; padding:0px 4px; display: inline-block; border-radius:3px;}
|
||||
#moduleContainer .setup.non-install { background-color:#ec7000;}
|
||||
#moduleContainer .setup.off{ background-color:#ccc;}
|
||||
#moduleContainer .row-actions-module span { padding-right:5px;}
|
||||
#moduleContainer .row-actions-module span a { font-size:12px;}
|
||||
#moduleContainer .button.uninstalled,
|
||||
#moduleContainer .button.installed { float:right; clear:both; margin-top:15px; font-size:12px;}
|
||||
#moduleContainer ul.listing-grid-module { position:relative; margin:0; padding:0;}
|
||||
#moduleContainer ul.listing-grid-module li { float:left; border:1px solid #ccc; width:400px; min-height:30px; margin:10px; padding:5px; border-radius:4px;}
|
||||
#moduleContainer .moduleGridDesc { position:relative; display:block; height:30px;}
|
||||
#moduleContainer .moduleGridDesc h3 { color:#3A6EA7; margin:0;}
|
||||
#moduleContainer ul.listing-grid-module li select { position:absolute; top:0; right:0px; }
|
||||
|
||||
|
||||
/*FOOTER*/
|
||||
#footer {height:40px; font-size:12px;clear:both;font-size:0.9em;color:#666666}
|
||||
#footer .footer_link, #footer .footer_link:hover {color:#D41958;}
|
||||
410
admin-dev/themes/default/css/admin.css
Normal file
@@ -0,0 +1,410 @@
|
||||
body {font-family: Arial, Helvetica, sans-serif;}
|
||||
|
||||
|
||||
h1, h2, h3, h4 { font-family: Arial, Helvetica, sans-serif; margin-bottom:.5em; line-height:1.4em; }
|
||||
h2 { font-size:1.7em; }
|
||||
h3 { font-size:1.25em; }
|
||||
h4 { font-size:1.05em; }
|
||||
h6 { font-size:1em; }
|
||||
|
||||
|
||||
/*LIST*/
|
||||
ul,ol {list-style:none; margin: 0; padding: 0;}
|
||||
ul li {color:#585A69;}
|
||||
|
||||
/*FORM*/
|
||||
label {color:#585a69;text-shadow:0 1px 0#fff;}
|
||||
fieldset{background-color:#EBEDF4; border:1px solid #CCCED7; color:#585A69; font-size:1.1em;margin:0;padding:1em}
|
||||
.Bloc {background-color:#EBEDF4; border:1px solid #CCCED7;font-size:1.1em;margin:0;padding:1em}
|
||||
legend{background:#EBEDF4;border:1px solid #CCCED7;font-weight:700;margin:0;padding:.2em .5em;text-align:left}
|
||||
input[type="text"],input[type="password"],input[type="file"],textarea {border:1px solid #ccc;}
|
||||
select { border:1px solid #ccc; font-size: 12px;}
|
||||
select[disabled="disabled"], input[disabled="disabled"],textarea[disabled="disabled"] {border: 1px solid #CCCCCC;color: #AAAAAA}
|
||||
.header_module{background:url('../img/header_module.png');padding-left: 0.5em;padding-top: 0.8em;height:20px;color: #812143;border:solid 1px #CCC;}
|
||||
.double_select select{width:300px;height:160px;}
|
||||
.double_select a{text-align:center;display:block;border:1px solid #aaa;text-decoration:none;background-color:#fafafa;color:#123456;margin:2px;padding:2px}
|
||||
|
||||
/*BUTTON*/
|
||||
.button{background: -moz-linear-gradient(center top , #F9F9F9, #E3E3E3) repeat scroll 0 0 transparent;
|
||||
background: -webkit-gradient(linear, center top ,center bottom, from(#F9F9F9), to(#E3E3E3)) repeat scroll 0 0 transparent;
|
||||
|
||||
border-color: #CCCCCC #BBBBBB #A0A0A0;border-left: 1px solid #BBBBBB;border-radius: 3px 3px 3px 3px;border-right: 1px solid #BBBBBB;border-style: solid;border-width: 1px;color: #000000;margin: 0; outline: medium none;padding: 3px 8px;text-align: center;vertical-align: middle;white-space: nowrap; text-shadow:0 1px 0 #fff;}
|
||||
.button[disabled=disabled]{color:#8C8C8C}
|
||||
.button.bt-icon { display:inline-block; margin-bottom:7px;}
|
||||
.button.bt-icon span {padding-left:5px;}
|
||||
input.button[disabled=disabled]:hover{background-color:#FFF6D3}
|
||||
.button:hover{border:1px solid #939393;}
|
||||
.button:active{border:1px solid #939393;}
|
||||
.button.export-csv span{ background: transparent url('../img/export-csv.png') no-repeat scroll left top; padding:1px 0 1px 20px}
|
||||
|
||||
|
||||
#top_container{margin:0;padding:0}
|
||||
|
||||
/*HEADER*/
|
||||
#header { background-color: #394049; height:114px; }
|
||||
#header #header_infos{ position:relative; margin: 0; padding:0; height:84px; }
|
||||
#header #header_shopname {float: left; margin:15px 20px 0 20px;}
|
||||
#header #employee_links {float: right; display:block; margin:15px 15px 0 15px; }
|
||||
#header #employee_links a{ float:left; color:#fff; text-transform:capitalize;}
|
||||
#header #employee_links .employee_name { float:left; color:#fff;}
|
||||
#header .separator { background: transparent url('../img/separator.png') no-repeat scroll center top; display: block;float: left;height: 19px; width: 16px;}
|
||||
#header #header_infos #header_shopname span{display:block; font-size:24px; height:28px; overflow:hidden;margin:0; color:#fff; text-shadow: 0 1px 0 #000000;}
|
||||
#header #header_infos #header_logout { background: transparent url('../img/logout.png') no-repeat scroll left top; float:left; padding-left:20px; color:#fff !important; }
|
||||
#header #header_infos #header_logout a { color:#fff !important;}
|
||||
#header #header_infos #header_logout a span {color:#fff;}
|
||||
#header #header_infos #header_foaccess{ text-decoration:none; color:#fff;}
|
||||
#header #header_infos #header_foaccess a {color:#fff !important;}
|
||||
#header #header_search{ float:left; margin-top:15px; position:relative; }
|
||||
#header #header_search #bo_query{ font: 13px Arial,sans-serif; float:left;background: none repeat scroll 0 0 #fff; border:1px solid #000; border-radius:4px; padding: 5px 25px 5px 4px; width: 180px; box-shadow: 0 1px 0 #666;}
|
||||
#header #header_search #bo_search_type{ font-size:13px; float:left; margin:0 10px 0 0; padding:3px 0 4px; vertical-align:middle;width:auto; border-color: #666666 #CCCCCC #CCCCCC;border-style:solid solid solid none; height:27px; border-width: 1px;}
|
||||
#header #header_search #bo_search_submit { background: transparent url('../img/icon-search.png') no-repeat scroll center; border:none; width:27px; height:27px; float:left; font-weight:normal; margin:0; padding:0; cursor:pointer; text-indent:-9999em; position:absolute; right:0; display:block; /*hacking ie7*/ font-size:0 !ie7; color: transparent !ie;}
|
||||
#header #header_quick{float:right; display:block; margin-top:15px;}
|
||||
#header #header_quick #quick_select{ font-size:13px; margin:0 10px 0 0; padding:3px 0 4px; vertical-align:middle;width:140px; height:27px;}
|
||||
#header #header_shoplist{ background-image:none; clear:both; float: right; color:#fff; margin-top:10px; margin-right:15px;}
|
||||
#header #header_shoplist span { float:left; padding:3px;}
|
||||
#header #header_myaccount{background:url('../img/bg-lang.png') no-repeat;display:block;float:right;height:16px;margin:8px 1px 0 0;width:16px}
|
||||
|
||||
|
||||
.path_bar {display:none;}
|
||||
#notifs_icon_wrapper {float: left;position: relative;margin:15px 10px 0; width:90px;}
|
||||
.notifs { float: left;position: relative;cursor: pointer;margin:0; padding:5px; width: 18px;height: 16px;}
|
||||
#orders_notif {background: url('../img/notif_order.png') no-repeat center top;}
|
||||
#customers_notif {background: url('../img/notif_customer.png') no-repeat center top;}
|
||||
#customer_messages_notif {background: url('../img/notif_message.png') no-repeat center top;}
|
||||
#orders_notif.open_notifs,
|
||||
#customers_notif.open_notifs,
|
||||
#customer_messages_notif.open_notifs { background-color: #FFFFFF;border: 1px solid #000000; position: relative; display: block; background-position:center bottom; }
|
||||
|
||||
|
||||
.number_wrapper {color: white;display: none;font-size: 13px;font-weight: bold;position: absolute; right: -8px;top: -10px;z-index: 101;padding: 2px 5px;}
|
||||
.number_wrapper span {background-color: #F03D25; font-size:11px; display: block; padding: 1px 3px;border-color: -moz-use-text-color #DD3822 #DD3822;border-radius: 2px 2px 2px 2px;border-right: 1px solid #DD3822;border-style: none solid solid;border-width: 0 0px;}
|
||||
.notifs_wrapper {background: none repeat scroll 0 0 #FFFFFF; border: 1px solid #000; border-top:none;display: none; cursor:auto; position: absolute; top: 25px; left: -1px; width:300px; padding: 10px;color: black; z-index:9999;}
|
||||
.notifs_wrapper h3 {font-size: 14px;padding-bottom:8px;margin:0;border-bottom: 1px solid #E5E5E5;}
|
||||
.notifs_wrapper ul {padding:6px 0;margin:0;}
|
||||
.notifs_wrapper ul li {text-decoration: none;list-style: none;font-size:12px;padding:5px 0;}
|
||||
#header_infos .notifs_wrapper a {font-weight: bold; font-size:11px; color: black; float:right;}
|
||||
.notifs_wrapper p {font-size: 12px;padding-top:8px;margin:0;border-top: 1px solid #E5E5E5;}
|
||||
.notifs_wrapper p.no_notifs {border: none;}
|
||||
|
||||
|
||||
/*MENU*/
|
||||
#header #menu{ background-color: #f8f8f8; border-bottom:1px solid #e5e5e5; float:left;line-height:normal;margin:0;padding:0;width:100%;}
|
||||
#header #menu li.maintab{float:left;height:29px;list-style:none;margin:0 1px 0 0;list-style:none;display:block; border-left:1px solid #fff; border-right:1px solid #ccc;}
|
||||
#header #menu li#maintab1 { margin-left:20px;}
|
||||
#header #menu li.submenu_size .title{cursor:default;color:#000;display:block; padding:8px 6px 4px 0;font-weight:normal;font-size:12px;}
|
||||
#header #menu li.submenu_size .title{_display:inline;_padding:6px 5px 4px 0}
|
||||
#header #menu li{_height:32px;_padding-top:3px}
|
||||
#header #menu img{display:inline;padding:0 3px 0 6px; margin-top:-4px; vertical-align:middle;width:16px;height:16px}
|
||||
#header #menu li.active, #header #menu li:hover{background-position:0 -38px;white-space:nowrap;}
|
||||
#header #menu li.active a{}
|
||||
#header #menu li:hover, #header #menu li.active {background-color:#49B2FF; }
|
||||
#header #menu li.active span.title, #header #menu li:hover span.title {color:#fff; text-shadow: -1px -1px 0 #3293D6;}
|
||||
#header #menu .withLeftBorder{background:transparent url('../img/separator_subnav.png') no-repeat 0 5px}
|
||||
#header #menu .submenu{background:#f8f8f8;clear:both;margin:0;padding:0;border:1px solid #d9d9d9;z-index:9999; box-shadow: 1px 5px 10px #CCCCCC; -moz-box-shadow:1px 5px 10px #CCCCCC; -webkit-box-shadow:1px 5px 10px #CCCCCC;}
|
||||
#header #menu .submenu li{list-style:none;margin:0;padding:0;display:block;}
|
||||
#header #menu .submenu li a{ font-size:12px;display:block;padding: 5px 15px 5px 10px; color:#666666;border-top:1px solid #fff; border-bottom:1px solid #ccc;}
|
||||
#header #menu .submenu li a:hover { background-color:#eee; text-shadow:0 1px 0 #fff;}
|
||||
|
||||
/*SEPARATION*/
|
||||
.separation { background-color:#ccc;border-bottom:1px solid #fff; width:100%; height:1px; margin:10px 0;}
|
||||
|
||||
/*TABLE*/
|
||||
.table_grid {width:100%;}
|
||||
.table{ background-color:#fff;border:1px solid #ccc;padding:0: border-radius:3px; -moz-border-radius:3px;-webkit-border-radius:3px;}
|
||||
.filter {background-color:#f1f9ff;}
|
||||
.table th a{text-decoration:underline}
|
||||
.table a:hover{text-decoration:none}
|
||||
.table tr th{ background-color: #F1F1F1; text-shadow:0 1px 0 #fff; padding:4px 6px;
|
||||
background: #ececec url('../img/bg-degrade-table.png') repeat-x scroll left top;
|
||||
/*background-image: -moz-linear-gradient(center top , #F9F9F9, #ECECEC);
|
||||
background: -webkit-gradient(linear, center top ,center bottom, from(#F9F9F9), to(#ECECEC)) repeat scroll 0 0 transparent;*/
|
||||
font-size:13px; text-align:left; color:#333;}
|
||||
.table tr th.right { text-align:center;}
|
||||
.table tr td{border-bottom:1px solid #ccc;color:#333;font-size:12px;padding: 4px 4px 4px 6px;}
|
||||
.table tr:hover td{background:#fff1b5}
|
||||
.table tr.filter:hover td{background:#F1F9FF}
|
||||
.table tr td:hover table tr td{background:none}
|
||||
.table tr.action_details td{background:#FAFAFA;}
|
||||
.table tr.alt_row.action_details td{background:#E8E8E8;}
|
||||
.table tr td.empty{border-bottom:none;background:white!important}
|
||||
.table tr td.first{border-left:1px solid #DEDEDE}
|
||||
.table tr td.last{border-right:1px solid #DEDEDE}
|
||||
.table tr.small td{height:15px}
|
||||
.table tr.last td{border-bottom:none}
|
||||
td.col-left {vertical-align:top; padding-right:10px;}
|
||||
#tabPane1 td.col-left { width:200px;}
|
||||
td.col-left label { display:block; width:100%; text-align:right;}
|
||||
.alt_row{background-color:#f8f8f8}
|
||||
.path_bar{background-color:#E2EBEE;border:1px solid #999999;font-family:Trebuchet,Arial,Helvetica,sans-serif;font-size:13px;margin-bottom:20px;padding:5px}
|
||||
.path_bar a{font-weight:700}
|
||||
.cat_bar{background-color:#F4E8CD;border:1px solid #999999;font-family:Trebuchet,Arial,Helvetica,sans-serif;font-size:12px;font-weight:700;margin-bottom:20px;padding:5px}
|
||||
.cat_bar a{font-weight:700}
|
||||
|
||||
a.action_module{color: #268CCD;text-decoration: underline;}
|
||||
a.header_module_toggle{font-weight: bold;color: #268CCD;display:block;}
|
||||
a.module_toggle_all{color: #268CCD;}
|
||||
.nbr_module{float:right;margin-right:10px;font-style:italic;font-size:12px;color: #268CCD;}
|
||||
|
||||
.autoupgradeSteps div { line-height: 30px; }
|
||||
.upgradestep { margin-right: 5px;padding-left: 10px; padding-right: 5px;}
|
||||
#upgradeNow.stepok, .autoupgradeSteps a.stepok { background-image: url('../img/admin/enabled.gif');background-position: left center;background-repeat: no-repeat;padding-left: 15px;}
|
||||
#upgradeNow {-moz-border-bottom-colors: none;-moz-border-image: none;-moz-border-left-colors: none;-moz-border-right-colors: none;-moz-border-top-colors: none;border-color: #FFF6D3 #DFD5AF #DFD5AF #FFF6D3;border-right: 1px solid #DFD5AF;border-style: solid;border-width: 1px;color: #268CCD;font-size: medium;padding: 5px;}
|
||||
.button-autoupgrade {-moz-border-bottom-colors: none;-moz-border-image: none;-moz-border-left-colors: none;-moz-border-right-colors: none;-moz-border-top-colors: none;border-color: #FFF6D3 #DFD5AF #DFD5AF #FFF6D3;border-right: 1px solid #DFD5AF;border-style: solid;border-width: 1px;color: #268CCD;font-size: medium;padding: 5px;}
|
||||
.processing {overflow: auto;}
|
||||
|
||||
/*UI ACCORDEON*/
|
||||
.ui-accordion-header { background-color: #ccc; color:#000;}
|
||||
|
||||
/*BLOC*/
|
||||
.Bloc { background: none repeat scroll 0 0 #EBEDF4;}
|
||||
|
||||
|
||||
/*TABLE STATUS COMMANDE*/
|
||||
.table td span.color_field { font-size:11px; padding:2px 5px; border-radius:3px; text-transform:uppercase; color:#fff; border-radius:3px; -moz-border-radius:3px; -webkit-border-radius:3px;}
|
||||
|
||||
/*toolbarBox*/
|
||||
.toolbarBox { background-color: #F8F8F8; border: 1px solid #CCCCCC; margin-bottom:10px; padding: 10px 0; border-radius:3px; -moz-border-radius:3px; -webkit-border-radius:3px;}
|
||||
.toolbarBox .pageTitle { margin-left:10px; line-height:48px}
|
||||
.toolbarBox .pageTitle h3 {font-size: 2em; font-weight: normal; line-height: 52px; margin: 0; padding: 0;}
|
||||
.toolbarBox ul.cc_button {float:right;margin:0 5px 0 0;padding:0;}
|
||||
.toolbarBox ul.cc_button li {color: #666666; float: left; height: 48px; list-style: none outside none; padding: 1px 1px 3px 4px; text-align: center;}
|
||||
.toolbarBox a.toolbar_btn { border:1px solid #f8f8f8; min-width:50px; border-width: 1px; font-size:11px;cursor: pointer; display: block; float: left; padding: 3px 5px; white-space: nowrap; text-shadow: 0 1px 0 #ffffff;}
|
||||
.toolbarBox a.toolbar_btn:hover { background-color:#fff; border:1px inset #ccc; border-radius:3px;}
|
||||
.toolbarBox .toolbar_btn span{ display: block;float: none;height: 32px;margin: 0 auto;width: 32px; /*hacking ie7*/ margin:0 !ie; position:relative !ie;}
|
||||
.toolbarBox .process-icon-delete { background-image: url('../img/process-icon-delete.png');}
|
||||
.toolbarBox .process-icon-duplicate { background-image: url('../img/process-icon-duplicate.png');}
|
||||
.toolbarBox .process-icon-preview { background-image: url('../img/process-icon-preview.png');}
|
||||
.toolbarBox .process-icon-stats { background-image: url('../img/process-icon-stats.png');}
|
||||
.toolbarBox .process-icon-cancel, .toolbarBox .toolbar-cancel { background-image: url('../img/process-icon-cancel.png');}
|
||||
.toolbarBox .process-icon-new, .toolbarBox .toolbar-new{ background-image: url('../img/process-icon-new.png');}
|
||||
.toolbarBox .process-icon-save { background-image: url('../img/process-icon-save.png');}
|
||||
.toolbarBox .process-icon-save-and-stay { background-image: url('../img/process-icon-save-and-stay.png');}
|
||||
.toolbarBox .process-icon-edit { background-image: url('../img/process-icon-edit.png');}
|
||||
.toolbarBox .process-icon-back { background-image: url('../img/process-icon-back.png');}
|
||||
.toolbarBox .process-icon-refresh-index { background-image: url('../img/process-icon-refresh-index.png');}
|
||||
.toolbarBox .process-icon-refresh-cache { background-image: url('../img/process-icon-refresh-cache.png');}
|
||||
.toolbarBox .process-icon-save-calendar { background-image: url('../img/process-icon-save-calendar.png');}
|
||||
.toolbarBox .process-icon-new-module { background-image: url('../img/process-icon-new-module.png');}
|
||||
.toolbarBox .process-icon-new-url { background-image: url('../img/process-icon-new-url.png');}
|
||||
.toolbarBox .process-icon-new-module-addon { background-image: url('../img/process-icon-new-module-addon.png');}
|
||||
.toolbarBox .process-icon-save-and-preview { background-image: url('../img/process-icon-preview.png');}
|
||||
.toolbarBox .process-icon-export-stock-state-quantities-csv { background-image: url('../img/process-icon-export-csv.png');}
|
||||
.toolbarBox .process-icon-export-stock-state-prices-csv { background-image: url('../img/process-icon-export-csv-details.png');}
|
||||
.toolbarBox .process-icon-export-csv-orders { background-image: url('../img/process-icon-export-csv.png');}
|
||||
.toolbarBox .process-icon-export-csv-details { background-image: url('../img/process-icon-export-csv-details.png');}
|
||||
.toolbarBox .process-icon-export-stock-mvt-csv { background-image: url('../img/process-icon-export-csv.png');}
|
||||
.toolbarBox .process-icon-newAttributes, .toolbarBox .toolbar-new{ background-image: url('../img/process-icon-new.png');}
|
||||
.toolbarBox .process-icon-new.add_product{ background-image: url('../img/process-icon-addProduct.png');}
|
||||
.toolbarBox .process-icon-partialRefund{ background-image: url('../img/process-icon-partial-refund.png');}
|
||||
.toolbarBox .process-icon-standardRefund{ background-image: url('../img/process-icon-standard-refund.png');}
|
||||
|
||||
div.fix-toolbar {border-bottom: 1px solid #E0E0E0;position:fixed;top:0;opacity:0.9;z-index:1;}
|
||||
|
||||
/*button upload files*/
|
||||
.qq-upload-button {
|
||||
background: #e4e4e4 url('../img/bg-button-degrade.png') repeat-x scroll left top;
|
||||
background: -moz-linear-gradient(center top , #F9F9F9, #E3E3E3) repeat scroll 0 0 transparent;
|
||||
background: -webkit-gradient(linear, center top ,center bottom, from(#F9F9F9), to(#E3E3E3)) repeat scroll 0 0 transparent;
|
||||
color:#333; width:180px; font-weight:bold; text-shadow: 0 1px 0 #fff;
|
||||
border-color: #CCCCCC #BBBBBB #A0A0A0;border-left: 1px solid #BBBBBB;border-radius: 3px 3px 3px 3px;border-right: 1px solid #BBBBBB;border-style: solid;border-width: 1px;color: #000000;}
|
||||
.qq-upload-button:hover { border:1px solid #939393;}
|
||||
/*leadin*/
|
||||
.leadin { padding:10px;}
|
||||
|
||||
/*productBox*/
|
||||
#productBox { position:relative; width:100%; float:left;}
|
||||
|
||||
/*tab-pane*/
|
||||
form#product_form, form#access_form, form#cart_rule_form { background-color:#ebedf4; border:1px solid #ccced7; min-height:404px; padding: 5px 10px 10px; margin-left:140px;}
|
||||
#content form.adminstockmanagement {margin-left:0px;}
|
||||
form#product_form h4 { font-size:18px; font-weight:normal;}
|
||||
.tab-row {}
|
||||
.tab-row .tab {background:#EFEFEF;width:100px;}
|
||||
.tab-row .tab-page.selected {}
|
||||
.tab-row .tab-page {}
|
||||
.productTabs{ background-color:#fafafa; border:1px solid #ccced7; border-right:none; float:left; width:140px;}
|
||||
.productTabs ul{padding:0;margin:0;}
|
||||
.productTabs ul li.tab-row { border:none; }
|
||||
.productTabs ul li.tab-row:first-child a {border-top:none;}
|
||||
.productTabs ul li.tab-row a { display:block; font-weight:normal; color:#666;padding: 7px 10px; border-top:1px solid #CCCED7; border-right:1px solid #CCCED7;}
|
||||
.productTabs ul li.tab-row a.selected { background-color:#EBEDF4;font-weight:bold;color:#000; border-right:none;}
|
||||
.product-tab-content h4.tab { display:none;}
|
||||
|
||||
|
||||
#categories-treeview { }
|
||||
#product-tab-content-3-Associations .Association td.col-left { width:200px;}
|
||||
|
||||
/*FILTER MODULE*/
|
||||
.filter-module { background-color:#ebedf4; border:1px solid #c2c4d9; margin-top:10px; padding:10px; display:block; min-height:25px;}
|
||||
.filter-module #filternameForm {float:left; margin-right:30px;}
|
||||
.filter-module label {width:auto;}
|
||||
.filter-module .select-filter { float:left;}
|
||||
.filter-module .button-filter { float:right;}
|
||||
|
||||
/*FILTER STOCK*/
|
||||
.filter-stock { background-color:#ebedf4; border:1px solid #c2c4d9; margin-bottom:15px; padding:10px; display:block; min-height:25px;}
|
||||
.filter-stock #stock_instant_state {float:left; margin-right:30px;}
|
||||
.filter-stock label {width:auto;}
|
||||
.filter-stock .select-filter { float:left;}
|
||||
.filter-stock .button-filter { float:right;}
|
||||
.filter-stock-extended { background-color:#ebedf4; border:1px solid #c2c4d9; margin-bottom:15px; padding:10px; display:block; min-height:65px;}
|
||||
.filter-stock-extended #stock_cover {float:left; margin-right:30px;}
|
||||
.filter-stock-extended #supply_orders {float:left; margin-right:30px;}
|
||||
.filter-stock-extended label {width:auto;}
|
||||
.filter-stock-extended .select-filter { float:left;}
|
||||
.filter-stock-extended .button-filter { float:right;}
|
||||
|
||||
/*ADDONS LOGIN*/
|
||||
#addons_login_div { background: #EBEDF4 url('../img/lock.png') no-repeat scroll left 5px;}
|
||||
#addons_login_div form#addons_login_form { float:right;}
|
||||
#addons_login_div p {float:left; font-size:16px; color:#585A69; line-height:24px; text-shadow: 0 1px 0 #fff; margin:0; padding-left:25px;}
|
||||
#addons_login_div label {}
|
||||
#addons_login_div input { float:left; margin-right:10px;}
|
||||
#addons_login_div input#addons_login_button { margin-right: 0px; }
|
||||
|
||||
/*SIDEBAR*/
|
||||
.sidebar { position:relative; float:left; width:220px; display:inline;}
|
||||
.sidebar h3 { background-color:#ebedf4; font-weight:bold; display:block; padding:5px;}
|
||||
.sidebar.navigation h3 {margin:0;}
|
||||
.sidebar .subHeadline { font-weight:bold; float:right; margin-top:-28px; margin-right:5px;}
|
||||
.sidebar ul.categorieList {}
|
||||
.sidebar ul.categorieList li { border-top:1px solid #ccc; position:relative; line-height:20px;}
|
||||
.sidebar ul.categorieList li:first-child { border-top:none;}
|
||||
.sidebar ul.categorieList li a {color:#3a6ea7; padding-left:5px;}
|
||||
.sidebar ul.categorieList li div.categorieWidth { width:180px; margin-left:5px; overflow:hidden;}
|
||||
.sidebar ul.categorieList li div.count{ position:absolute; top:0; right:5px;}
|
||||
.sidebar .categorieStatus { display:none;}
|
||||
|
||||
/*NAVIGATION ENGINE*/
|
||||
.blocEngine { background-color:#eee;}
|
||||
.blocEngine .rowForm { display: block;float: left;margin: 0; padding: 5px 0; }
|
||||
.blocEngine .rowForm label { font-weight:normal;}
|
||||
.blocEngine .rowForm label,
|
||||
.blocEngine .rowForm select {width:220px; float:left; text-align:left;}
|
||||
|
||||
.blocEngine p { margin-top:10px;display:block; float:left;}
|
||||
|
||||
/*STATCONTAINER*/
|
||||
#statsContainer {margin-left:220px; padding:0 0 0 20px;}
|
||||
#statsContainer #calendar { background-color: #EEEEEE;border-top: 1px solid #CCCCCC; display: block; margin: 10px 0;min-height: 25px; padding: 5px;}
|
||||
#statsContainer #calendar form {float:left;}
|
||||
#statsContainer #calendar input, #statsContainer #calendar p { float:left;}
|
||||
#statsContainer #calendar input.submitDateDay { border-top-right-radius: 0px; border-bottom-right-radius:0px; border-right:none;}
|
||||
#statsContainer #calendar input.submitDateMonth { border-radius:0px;}
|
||||
#statsContainer #calendar input.submitDateYear { border-top-left-radius: 0px; border-bottom-left-radius:0px; border-left:none; margin-right:10px;}
|
||||
#statsContainer #calendar input.submitDateDayPrev { border-top-right-radius: 0px; border-bottom-right-radius:0px; border-right:none;}
|
||||
#statsContainer #calendar input.submitDateMonthPrev { border-radius:0px;}
|
||||
#statsContainer #calendar input.submitDateYearPrev { border-top-left-radius: 0px; border-bottom-left-radius:0px; border-left:none; margin-right:10px;}
|
||||
#statsContainer #calendar p { margin:2px;}
|
||||
#statsContainer #calendar p span { float:left; display:block; padding:3px;}
|
||||
#statsContainer .blocStats { background-color: #EBEDF4;border: 1px solid #C2C4D9; display: block; position:relative; padding: 10px;}
|
||||
#statsContainer .blocStats h2 { font-weight:normal; margin:0;}
|
||||
#statsContainer .blocStats h2.icon-statsproduct span,
|
||||
#statsContainer .blocStats h2.icon-statsbestsuppliers span,
|
||||
#statsContainer .blocStats h2.icon-statsforecast span,
|
||||
#statsContainer .blocStats h2.icon-pagesnotfound span,
|
||||
#statsContainer .blocStats h2.icon-sekeywords span,
|
||||
#statsContainer .blocStats h2.icon-guide span,
|
||||
#statsContainer .blocStats h2.icon-statsequipment span,
|
||||
#statsContainer .blocStats h2.icon-statsvisits span,
|
||||
#statsContainer .blocStats h2.icon-statssales span,
|
||||
#statsContainer .blocStats h2.icon-statsregistrations span,
|
||||
#statsContainer .blocStats h2.icon-statspersonalinfos span,
|
||||
#statsContainer .blocStats h2.icon-statscatalog span,
|
||||
#statsContainer .blocStats h2.icon-basket-delete span,
|
||||
#statsContainer .blocStats h2.icon-statsbestcustomers span,
|
||||
#statsContainer .blocStats h2.icon-statsorigin span,
|
||||
#statsContainer .blocStats h2.icon-statsbestproducts span,
|
||||
#statsContainer .blocStats h2.icon-statsbestvouchers span,
|
||||
#statsContainer .blocStats h2.icon-statsbestcategories span,
|
||||
#statsContainer .blocStats h2.icon-statscarrier span,
|
||||
#statsContainer .blocStats h2.icon-statssearch span,
|
||||
#statsContainer .blocStats h2.icon-statsstock span,
|
||||
#statsContainer .blocStats h2.icon-conversion span,
|
||||
#statsContainer .blocStats h2.icon-payment span,
|
||||
#statsContainer .blocStats h2.icon-category span,
|
||||
#statsContainer .blocStats h2.icon-currency span,
|
||||
#statsContainer .blocStats h2.icon-language span,
|
||||
#statsContainer .blocStats h2.icon-attribute span { background: transparent url('../img/icon-sprites-title.png') no-repeat scroll left top; width:16px; height:16px; padding-right:18px; margin-right:3px;}
|
||||
|
||||
#statsContainer .blocStats h2.icon-statsproduct span { background-position :2px 2px;}
|
||||
#statsContainer .blocStats h2.icon-statsforecast span { background-position :-18px 2px;}
|
||||
#statsContainer .blocStats h2.icon-guide span { background-position :-36px 2px;}
|
||||
#statsContainer .blocStats h2.icon-statsbestsuppliers span { background-position :-54px 2px;}
|
||||
#statsContainer .blocStats h2.icon-pagesnotfound span { background-position :-72px 2px;}
|
||||
#statsContainer .blocStats h2.icon-sekeywords span { background-position :-90px 2px;}
|
||||
#statsContainer .blocStats h2.icon-statsequipment span { background-position :-108px 2px;}
|
||||
#statsContainer .blocStats h2.icon-statsvisits span { background-position :-126px 2px;}
|
||||
#statsContainer .blocStats h2.icon-statsregistrations span { background-position :-147px 2px;}
|
||||
#statsContainer .blocStats h2.icon-statssales span { background-position : 0 -16px;}
|
||||
#statsContainer .blocStats h2.icon-statspersonalinfos span { background-position : -18px -16px;}
|
||||
#statsContainer .blocStats h2.icon-statscatalog span { background-position : -36px -16px;}
|
||||
#statsContainer .blocStats h2.icon-category span { background-position : -36px -16px;}
|
||||
#statsContainer .blocStats h2.icon-basket-delete span { background-position : -54px -16px;}
|
||||
#statsContainer .blocStats h2.icon-statsbestcustomers span { background-position : -72px -16px;}
|
||||
#statsContainer .blocStats h2.icon-statsorigin span { background-position : -90px -16px;}
|
||||
#statsContainer .blocStats h2.icon-statsbestproducts span { background-position : -108px -16px;}
|
||||
#statsContainer .blocStats h2.icon-statsbestvouchers span { background-position : -126px -16px;}
|
||||
#statsContainer .blocStats h2.icon-statsbestcategories span { background-position : -147px -17px;}
|
||||
#statsContainer .blocStats h2.icon-statscarrier span { background-position : 2px -36px;}
|
||||
#statsContainer .blocStats h2.icon-statssearch span { background-position : -18px -36px;}
|
||||
#statsContainer .blocStats h2.icon-statsstock span { background-position : -36px -36px;}
|
||||
#statsContainer .blocStats h2.icon-conversion span { background-position : -54px -36px;}
|
||||
#statsContainer .blocStats h2.icon-payment span { background-position : -72px -36px;}
|
||||
#statsContainer .blocStats h2.icon-currency span { background-position : -90px -36px;}
|
||||
#statsContainer .blocStats h2.icon-language span { background-position : -106px -36px;}
|
||||
#statsContainer .blocStats h2.icon-attribute span { background-position : -126px -36px;}
|
||||
#statsContainer .blocStats form { position:absolute; top:10px; right:5px;}
|
||||
#statsContainer .blocStats form.checkup { position:relative; top:0; left:0;}
|
||||
#statsContainer .totalStats { font-size:16px; font-weight:bold;}
|
||||
|
||||
/*MODULECONTAINER*/
|
||||
#moduleContainer { margin-left:220px; padding:13px 0 0 20px;}
|
||||
#moduleContainer .table tr th { height:40px;}
|
||||
#moduleContainer .table tr td { vertical-align:top; padding: 5px 7px 0; border-top:1px dotted #ccc; border-bottom:none;}
|
||||
#moduleContainer .table tr:first-child {border-top:1px solid #ccc}
|
||||
#moduleContainer .table tr td .imgm {width:32px;}
|
||||
#moduleContainer .moduleDesc { font-size:12px; position:relative; margin-bottom:10px;}
|
||||
#moduleContainer .moduleDesc h3 { color:#3A6EA7; margin:0;}
|
||||
#moduleContainer .moduleDesc .metadata { float:left; display:block; margin:5px 0;}
|
||||
#moduleContainer .moduleDesc .metadata dl { float:left; margin:0; padding-right:10px;}
|
||||
#moduleContainer .moduleDesc .metadata dl dt, .moduleDesc .metadata dl dd { float:left; margin:0; padding:0;}
|
||||
#moduleContainer .moduleDesc .metadata dl dd { padding-right:10px;}
|
||||
#moduleContainer .moduleDesc .metadata dl dt { font-weight:bold; padding-right:5px;}
|
||||
#moduleContainer .moduleDesc p.desc { color:#666; font-family: Georgia; font-style: italic; font-size:12px; display:block; clear:both;}
|
||||
#moduleContainer .setup {background-color:#6db300;font-size:10px; color:#fff; text-transform:uppercase; position:relative; left:10px; padding:0px 4px; display: inline-block; border-radius:3px;}
|
||||
#moduleContainer .setup.non-install { background-color:#ec7000;}
|
||||
#moduleContainer .setup.off{ background-color:#ccc;}
|
||||
#moduleContainer .row-actions-module span { padding-right:5px;}
|
||||
#moduleContainer .row-actions-module span a { font-size:12px;}
|
||||
#moduleContainer .button.uninstalled,
|
||||
#moduleContainer .button.installed { float:right; clear:both; margin-top:15px; font-size:12px;}
|
||||
#moduleContainer ul.listing-grid-module { position:relative; margin:0; padding:0;}
|
||||
#moduleContainer ul.listing-grid-module li { float:left; border:1px solid #ccc; width:400px; min-height:30px; margin:10px; padding:5px; border-radius:4px;}
|
||||
#moduleContainer .moduleGridDesc { position:relative; display:block; height:30px;}
|
||||
#moduleContainer .moduleGridDesc h3 { color:#3A6EA7; margin:0;}
|
||||
#moduleContainer ul.listing-grid-module li select { position:absolute; top:0; right:0px; }
|
||||
|
||||
/*MODULE POSITION*/
|
||||
.blocLiveEdit { float:right; clear:right; background-color: #EBEDF4; border: 1px solid #C2C4D9;display: block; width:250px;}
|
||||
.blocLiveEdit h2 { background: transparent url('../img/live_edit.png') no-repeat scroll 10px 10px; height: 40px; line-height: 50px;margin: 0; padding: 0 10px; text-indent: 40px;}
|
||||
.blocLiveEdit p { padding: 0 10px;}
|
||||
.blocLiveEdit a.button {float: left; margin:10px; display: inline-block;}
|
||||
|
||||
|
||||
#modulePosition { width:100%; float:left; clear:left;}
|
||||
#modulePosition .table tr th { height:40px;}
|
||||
#modulePosition form{ margin-right:270px;}
|
||||
#modulePosition .lab_modules_positions h3 { color:#3A6EA7; margin:0 0 0 10px; float:left;}
|
||||
#modulePosition .lab_modules_positions p { font-family:Georgia; font-style: italic; font-size:12px; padding-left:40px;}
|
||||
#modulePosition .lab_modules_positions span { font-size:12px; padding-left:5px;}
|
||||
|
||||
select#show_modules { font-size:12px;}
|
||||
|
||||
/*FOOTER*/
|
||||
#footer {height:40px; font-size:12px;clear:both;font-size:0.9em;color:#666666}
|
||||
#footer .footerLeft { float:left; margin-left:10px;}
|
||||
#footer .footerRight {float:right; margin-right:10px;}
|
||||
|
||||
|
||||
#footer .footer_link, #footer .footer_link:hover { color:#268CCD;}
|
||||
36
admin-dev/themes/default/css/index.php
Executable file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/osl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 8667 $
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
@@ -18,7 +18,7 @@ legend{background:#EBEDF4;border:1px solid #CCCED7;font-weight:700;margin:0;padd
|
||||
input[type="text"],input[type="password"],input[type="file"],textarea {border:1px solid #ccc;}
|
||||
select { border:1px solid #ccc;}
|
||||
select[disabled="disabled"], input[disabled="disabled"],textarea[disabled="disabled"] {border: 1px solid #CCCCCC;color: #AAAAAA}
|
||||
.header_module{background:url(header_module.png);padding-left: 0.5em;padding-top: 0.8em;height:20px;color: #812143;border:solid 1px #CCC;}
|
||||
.header_module{background:url('../img/header_module.png');padding-left: 0.5em;padding-top: 0.8em;height:20px;color: #812143;border:solid 1px #CCC;}
|
||||
|
||||
/*BUTTON*/
|
||||
.button{background: -moz-linear-gradient(center top , #F9F9F9, #E3E3E3) repeat scroll 0 0 transparent;
|
||||
@@ -38,9 +38,9 @@ input.button[disabled=disabled]:hover{background-color:#FFF6D3}
|
||||
#header #employee_links {float: right; display:block; margin:15px 15px 0 15px; }
|
||||
#header #employee_links a{ float:left; color:#fff; text-transform:capitalize;}
|
||||
#header #employee_links .employee_name { float:left; color:#fff;}
|
||||
#header .separator { background: transparent url(separator.png) no-repeat scroll center top; display: block;float: left;height: 19px; width: 16px;}
|
||||
#header .separator { background: transparent url('../img/separator.png') no-repeat scroll center top; display: block;float: left;height: 19px; width: 16px;}
|
||||
#header #header_infos #header_shopname span{display:block; font-size:24px; height:28px; overflow:hidden;margin:0; color:#fff; text-shadow: 0 1px 0 #000000;}
|
||||
#header #header_infos #header_logout { background: transparent url(logout.png) no-repeat scroll left top; float:left; padding-left:20px; color:#fff !important; }
|
||||
#header #header_infos #header_logout { background: transparent url('../img/logout.png') no-repeat scroll left top; float:left; padding-left:20px; color:#fff !important; }
|
||||
#header #header_infos #header_logout a { color:#fff !important;}
|
||||
#header #header_infos #header_logout a span {color:#fff;}
|
||||
#header #header_infos #header_foaccess{ text-decoration:none; color:#fff;}
|
||||
@@ -58,15 +58,15 @@ input.button[disabled=disabled]:hover{background-color:#FFF6D3}
|
||||
#header #header_quick #quick_select{margin:0; padding:3px 0 4px; vertical-align:middle;width:140px; height:25px;}
|
||||
#header #header_shoplist{ background-image:none; clear:both; float: right; color:#fff; margin-top:10px; margin-right:15px;}
|
||||
#header #header_shoplist span { float:left; padding:3px;}
|
||||
#header #header_myaccount{background:url(bg-lang.png) no-repeat;display:block;float:right;height:16px;margin:8px 1px 0 0;width:16px}
|
||||
#header #header_myaccount{background:url('../img/bg-lang.png') no-repeat;display:block;float:right;height:16px;margin:8px 1px 0 0;width:16px}
|
||||
|
||||
|
||||
.path_bar {display:none;}
|
||||
#notifs_icon_wrapper {float: left;position: relative;margin:15px 10px 0; width:90px;}
|
||||
.notifs { float: left;position: relative;cursor: pointer;margin:0; padding:5px; width: 18px;height: 16px;}
|
||||
#orders_notif {background: url("notif_order.png") no-repeat center top;}
|
||||
#customers_notif {background: url("notif_customer.png") no-repeat center top;}
|
||||
#messages_notif {background: url("notif_message.png") no-repeat center top;}
|
||||
#orders_notif {background: url('../img/notif_order.png') no-repeat center top;}
|
||||
#customers_notif {background: url('../img/notif_customer.png') no-repeat center top;}
|
||||
#messages_notif {background: url('../img/notif_message.png') no-repeat center top;}
|
||||
#orders_notif.open_notifs,
|
||||
#customers_notif.open_notifs,
|
||||
#messages_notif.open_notifs { background-color: #FFFFFF;border: 1px solid #000000; position: relative; display: block; background-position:center bottom; }
|
||||
@@ -95,7 +95,7 @@ input.button[disabled=disabled]:hover{background-color:#FFF6D3}
|
||||
#header #menu li.active a{}
|
||||
#header #menu li:hover, #header #menu li.active {background-color:#49B2FF; }
|
||||
#header #menu li.active span.title, #header #menu li:hover span.title {color:#fff; text-shadow: -1px -1px 0 #3293D6;}
|
||||
#header #menu .withLeftBorder{background:transparent url(separator_subnav.png) no-repeat 0 5px}
|
||||
#header #menu .withLeftBorder{background:transparent url('../img/separator_subnav.png') no-repeat 0 5px}
|
||||
#header #menu .submenu{background:#f8f8f8;clear:both;margin:0;padding:0;border:1px solid #d9d9d9;z-index:9999; box-shadow: 1px 5px 10px #CCCCCC; -moz-box-shadow:1px 5px 10px #CCCCCC; -webkit-box-shadow:1px 5px 10px #CCCCCC;}
|
||||
#header #menu .submenu li{list-style:none;margin:0;padding:0;display:block;}
|
||||
#header #menu .submenu li a{ font-size:12px;display:block;padding: 5px 15px 5px 10px; color:#666666;border-top:1px solid #fff; border-bottom:1px solid #ccc;}
|
||||
@@ -136,7 +136,7 @@ a.module_toggle_all{color: #268CCD;}
|
||||
|
||||
.autoupgradeSteps div { line-height: 30px; }
|
||||
.upgradestep { margin-right: 5px;padding-left: 10px; padding-right: 5px;}
|
||||
#upgradeNow.stepok, .autoupgradeSteps a.stepok { background-image: url("../img/admin/enabled.gif");background-position: left center;background-repeat: no-repeat;padding-left: 15px;}
|
||||
#upgradeNow.stepok, .autoupgradeSteps a.stepok { background-image: url('../img/admin/enabled.gif');background-position: left center;background-repeat: no-repeat;padding-left: 15px;}
|
||||
#upgradeNow {-moz-border-bottom-colors: none;-moz-border-image: none;-moz-border-left-colors: none;-moz-border-right-colors: none;-moz-border-top-colors: none;border-color: #FFF6D3 #DFD5AF #DFD5AF #FFF6D3;border-right: 1px solid #DFD5AF;border-style: solid;border-width: 1px;color: #268CCD;font-size: medium;padding: 5px;}
|
||||
.button-autoupgrade {-moz-border-bottom-colors: none;-moz-border-image: none;-moz-border-left-colors: none;-moz-border-right-colors: none;-moz-border-top-colors: none;border-color: #FFF6D3 #DFD5AF #DFD5AF #FFF6D3;border-right: 1px solid #DFD5AF;border-style: solid;border-width: 1px;color: #268CCD;font-size: medium;padding: 5px;}
|
||||
.processing {overflow: auto;}
|
||||
@@ -153,21 +153,21 @@ a.module_toggle_all{color: #268CCD;}
|
||||
.toolbarBox a.toolbar_btn { border-width: 1px;font-size:11px;cursor: pointer; display: block; float: left; padding: 1px 5px; white-space: nowrap; text-shadow: 0 1px 0 #ffffff;;}
|
||||
.toolbarBox a.toolbar_btn:hover {}
|
||||
.toolbarBox .toolbar_btn span{ display: block;float: none;height: 32px;margin: 0 auto;width: 32px;}
|
||||
.toolbarBox .process-icon-delete { background-image: url(process-icon-delete.png);}
|
||||
.toolbarBox .process-icon-duplicate { background-image: url(process-icon-duplicate.png);}
|
||||
.toolbarBox .process-icon-preview { background-image: url(process-icon-preview.png);}
|
||||
.toolbarBox .process-icon-stats { background-image: url(process-icon-stats.png);}
|
||||
.toolbarBox .process-icon-cancel { background-image: url(process-icon-cancel.png);}
|
||||
.toolbarBox .process-icon-new, .toolbarBox .process-icon-newAttributes{ background-image: url(process-icon-new.png);}
|
||||
.toolbarBox .process-icon-save, .toolbarBox .process-icon-save-settings { background-image: url(process-icon-save.png);}
|
||||
.toolbarBox .process-icon-save-and-stay { background-image: url(process-icon-save-and-stay.png);}
|
||||
.toolbarBox .process-icon-edit { background-image: url(process-icon-edit.png);}
|
||||
.toolbarBox .process-icon-back { background-image: url(process-icon-back.png);}
|
||||
.toolbarBox .process-icon-refresh-index { background-image: url(process-icon-refresh-index.png);}
|
||||
.toolbarBox .process-icon-refresh-cache { background-image: url(process-icon-refresh-cache.png);}
|
||||
.toolbarBox .process-icon-save-calendar { background-image: url(process-icon-save-calendar.png);}
|
||||
.toolbarBox .process-icon-new-module { background-image: url(process-icon-new-module.png);}
|
||||
.toolbarBox .process-icon-new-module-addon { background-image: url(process-icon-new-module-addon.png);}
|
||||
.toolbarBox .process-icon-delete { background-image: url('../img/process-icon-delete.png');}
|
||||
.toolbarBox .process-icon-duplicate { background-image: url('../img/process-icon-duplicate.png');}
|
||||
.toolbarBox .process-icon-preview { background-image: url('../img/process-icon-preview.png');}
|
||||
.toolbarBox .process-icon-stats { background-image: url('../img/process-icon-stats.png');}
|
||||
.toolbarBox .process-icon-cancel { background-image: url('../img/process-icon-cancel.png');}
|
||||
.toolbarBox .process-icon-new, .toolbarBox .process-icon-newAttributes{ background-image: url('../img/process-icon-new.png');}
|
||||
.toolbarBox .process-icon-save, .toolbarBox .process-icon-save-settings { background-image: url('../img/process-icon-save.png');}
|
||||
.toolbarBox .process-icon-save-and-stay { background-image: url('../img/process-icon-save-and-stay.png');}
|
||||
.toolbarBox .process-icon-edit { background-image: url('../img/process-icon-edit.png');}
|
||||
.toolbarBox .process-icon-back { background-image: url('../img/process-icon-back.png');}
|
||||
.toolbarBox .process-icon-refresh-index { background-image: url('../img/process-icon-refresh-index.png');}
|
||||
.toolbarBox .process-icon-refresh-cache { background-image: url('../img/process-icon-refresh-cache.png');}
|
||||
.toolbarBox .process-icon-save-calendar { background-image: url('../img/process-icon-save-calendar.png');}
|
||||
.toolbarBox .process-icon-new-module { background-image: url('../img/process-icon-new-module.png');}
|
||||
.toolbarBox .process-icon-new-module-addon { background-image: url('../img/process-icon-new-module-addon.png');}
|
||||
|
||||
div.fix-toolbar {border-bottom: 1px solid #E0E0E0;position:fixed;top:0;opacity:0.9;z-index:1;}
|
||||
|
||||
BIN
admin-dev/themes/default/img/bg-button-degrade.png
Normal file
|
After Width: | Height: | Size: 941 B |
BIN
admin-dev/themes/default/img/bg-degrade-table.png
Normal file
|
After Width: | Height: | Size: 945 B |
|
Before Width: | Height: | Size: 910 B After Width: | Height: | Size: 910 B |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 190 B After Width: | Height: | Size: 190 B |
|
Before Width: | Height: | Size: 249 B After Width: | Height: | Size: 249 B |
|
Before Width: | Height: | Size: 224 B After Width: | Height: | Size: 224 B |
|
Before Width: | Height: | Size: 9.3 KiB After Width: | Height: | Size: 9.3 KiB |
|
Before Width: | Height: | Size: 339 B After Width: | Height: | Size: 339 B |
BIN
admin-dev/themes/default/img/export-csv.png
Executable file
|
After Width: | Height: | Size: 703 B |
|
Before Width: | Height: | Size: 946 B After Width: | Height: | Size: 946 B |
|
Before Width: | Height: | Size: 218 B After Width: | Height: | Size: 218 B |
|
Before Width: | Height: | Size: 4.5 KiB After Width: | Height: | Size: 4.5 KiB |
|
Before Width: | Height: | Size: 4.2 KiB After Width: | Height: | Size: 4.2 KiB |
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
BIN
admin-dev/themes/default/img/icon-sprites-title.png
Normal file
|
After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
36
admin-dev/themes/default/img/index.php
Executable file
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
/*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/osl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 8667 $
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
header("Expires: Mon, 26 Jul 1997 05:00:00 GMT");
|
||||
header("Last-Modified: ".gmdate("D, d M Y H:i:s")." GMT");
|
||||
|
||||
header("Cache-Control: no-store, no-cache, must-revalidate");
|
||||
header("Cache-Control: post-check=0, pre-check=0", false);
|
||||
header("Pragma: no-cache");
|
||||
|
||||
header("Location: ../");
|
||||
exit;
|
||||
BIN
admin-dev/themes/default/img/live_edit.png
Executable file
|
After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 1.2 KiB After Width: | Height: | Size: 1.2 KiB |
|
Before Width: | Height: | Size: 277 B After Width: | Height: | Size: 277 B |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 1.7 KiB |
BIN
admin-dev/themes/default/img/process-icon-addProduct.png
Executable file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
admin-dev/themes/default/img/process-icon-back.png
Normal file
|
After Width: | Height: | Size: 1.2 KiB |
BIN
admin-dev/themes/default/img/process-icon-cancel.png
Normal file
|
After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
BIN
admin-dev/themes/default/img/process-icon-duplicate.png
Normal file
|
After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
BIN
admin-dev/themes/default/img/process-icon-export-csv-details.png
Normal file
|
After Width: | Height: | Size: 2.0 KiB |
BIN
admin-dev/themes/default/img/process-icon-export-csv.png
Executable file
|
After Width: | Height: | Size: 1.1 KiB |
|
Before Width: | Height: | Size: 2.5 KiB After Width: | Height: | Size: 2.5 KiB |
|
Before Width: | Height: | Size: 2.7 KiB After Width: | Height: | Size: 2.7 KiB |
BIN
admin-dev/themes/default/img/process-icon-new.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
admin-dev/themes/default/img/process-icon-partial-refund.png
Executable file
|
After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 2.2 KiB After Width: | Height: | Size: 2.2 KiB |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 1.6 KiB After Width: | Height: | Size: 1.6 KiB |
BIN
admin-dev/themes/default/img/process-icon-save.png
Normal file
|
After Width: | Height: | Size: 1.8 KiB |
BIN
admin-dev/themes/default/img/process-icon-standard-refund.png
Executable file
|
After Width: | Height: | Size: 1.5 KiB |
BIN
admin-dev/themes/default/img/process-icon-stats.png
Normal file
|
After Width: | Height: | Size: 1.0 KiB |
|
Before Width: | Height: | Size: 2.4 KiB After Width: | Height: | Size: 2.4 KiB |
|
Before Width: | Height: | Size: 930 B After Width: | Height: | Size: 930 B |
|
Before Width: | Height: | Size: 1008 B After Width: | Height: | Size: 1008 B |
|
Before Width: | Height: | Size: 120 B After Width: | Height: | Size: 120 B |
|
Before Width: | Height: | Size: 2.1 KiB After Width: | Height: | Size: 2.1 KiB |
|
Before Width: | Height: | Size: 218 B After Width: | Height: | Size: 218 B |
|
Before Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 2.3 KiB |
|
Before Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 1.5 KiB |
|
Before Width: | Height: | Size: 3.7 KiB |
|
Before Width: | Height: | Size: 2.3 KiB |
391
admin-dev/themes/default/template/access/form.tpl
Normal file
@@ -0,0 +1,391 @@
|
||||
{*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 8971 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
|
||||
$('div.productTabs').find('a').each(function() {
|
||||
$(this).attr('href', '#');
|
||||
});
|
||||
|
||||
$('div.productTabs a').click(function() {
|
||||
var id = $(this).attr('id');
|
||||
$('.nav-profile').removeClass('selected');
|
||||
$(this).addClass('selected');
|
||||
$('.tab-profile').hide()
|
||||
$('.'+id).show();
|
||||
});
|
||||
|
||||
$('.ajaxPower').change(function(){
|
||||
var tout = $(this).attr('rel').split('||');
|
||||
var id_tab = tout[0];
|
||||
var id_profile = tout[1];
|
||||
var perm = tout[2];
|
||||
var enabled = $(this).is(':checked')? 1 : 0;
|
||||
var tabsize = tout[3];
|
||||
var tabnumber = tout[4];
|
||||
var table = 'table#table_'+id_profile;
|
||||
|
||||
perfect_access_js_gestion(this, perm, id_tab, tabsize, tabnumber, table);
|
||||
|
||||
$.ajax({
|
||||
url: "{$link->getAdminLink('AdminAccess')}",
|
||||
cache: false,
|
||||
data : {
|
||||
ajaxMode : '1',
|
||||
id_tab: id_tab,
|
||||
id_profile: id_profile,
|
||||
perm: perm,
|
||||
enabled: enabled,
|
||||
submitAddAccess: '1',
|
||||
action: 'updateAccess',
|
||||
ajax: '1',
|
||||
token: '{getAdminToken tab='AdminAccess'}',
|
||||
},
|
||||
success : function(res,textStatus,jqXHR)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (res == 'ok')
|
||||
showSuccessMessage("{l s='Update successful'}");
|
||||
else
|
||||
showErrorMessage("{l s='Update error'}");
|
||||
}
|
||||
catch(e)
|
||||
{
|
||||
jAlert('Technical error');
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$(".changeModuleAccess").change(function(){
|
||||
var tout = $(this).attr('rel').split('||');
|
||||
var id_module = tout[0];
|
||||
var perm = tout[1];
|
||||
var id_profile = tout[2];
|
||||
var enabled = $(this).is(':checked')? 1 : 0;
|
||||
var table = 'table#table_module_'+id_profile;
|
||||
|
||||
if (id_module == -1)
|
||||
$(table+' .ajax-ma-'+perm).each(function(key, value) {
|
||||
$(this).attr("checked", enabled);
|
||||
});
|
||||
else if (!enabled)
|
||||
$(table+' #ajax-ma-'+perm+'-master').each(function(key, value) {
|
||||
$(this).attr("checked", enabled);
|
||||
});
|
||||
|
||||
$.ajax({
|
||||
url: "{$link->getAdminLink('AdminAccess')}",
|
||||
cache: false,
|
||||
data : {
|
||||
ajaxMode: '1',
|
||||
id_module: id_module,
|
||||
perm: perm,
|
||||
enabled: enabled,
|
||||
id_profile: id_profile,
|
||||
changeModuleAccess: '1',
|
||||
action: 'updateModuleAccess',
|
||||
ajax: '1',
|
||||
token: '{getAdminToken tab='AdminAccess'}',
|
||||
},
|
||||
success : function(res,textStatus,jqXHR)
|
||||
{
|
||||
try
|
||||
{
|
||||
if (res == 'ok')
|
||||
showSuccessMessage("{l s='Update successful'}");
|
||||
else
|
||||
showErrorMessage("{l s='Update error'}");
|
||||
}
|
||||
catch(e)
|
||||
{
|
||||
jAlert('Technical error');
|
||||
}
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
|
||||
<div class="toolbarBox">
|
||||
{if $show_toolbar}
|
||||
{include file="toolbar.tpl" toolbar_btn=$toolbar_btn}
|
||||
<div class="pageTitle">
|
||||
<h3>{block name=pageTitle}
|
||||
<span id="current_obj" style="font-weight: normal;">{$title|default:' '}</span>
|
||||
{/block}</h3>
|
||||
</div>
|
||||
{/if}
|
||||
<div class="leadin">{block name="leadin"}{/block}</div>
|
||||
</div>
|
||||
|
||||
<div class="productTabs">
|
||||
<ul class="tab">
|
||||
{foreach $profiles as $profile}
|
||||
<li class="tab-row">
|
||||
<a class="nav-profile {if $profile.id_profile == $current_profile}selected{/if}" id="profile-{$profile.id_profile}" href="{$current}&token={$token}&id_profile={$profile.id_profile}">{$profile.name}</a>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<form id="{$table}_form" class="defaultForm" action="{$current}&{$submit_action}=1&token={$token}" method="post" enctype="multipart/form-data">
|
||||
{if $form_id}
|
||||
<input type="hidden" name="id_{$table}" id="id_{$table}" value="{$form_id}" />
|
||||
{/if}
|
||||
|
||||
{assign var=tabsize value=count($tabs)}
|
||||
{foreach $tabs AS $tab}
|
||||
{if $tab.id_tab > $tabsize}
|
||||
{assign var=tabsize value=$tab.id_tab}
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
{foreach $profiles as $profile}
|
||||
|
||||
<div class="profile-{$profile.id_profile} tab-profile" style="display:{if $profile.id_profile == $current_profile}block{else}none{/if}">
|
||||
|
||||
{if $profile.id_profile != $admin_profile}
|
||||
<table class="table float" cellspacing="0" style="margin-right:50px" id="table_{$profile.id_profile}">
|
||||
<tr>
|
||||
<th class="center">
|
||||
{l s='Tabs'}
|
||||
</th>
|
||||
<th class="center">
|
||||
<input type="checkbox" name="1" id="viewall"
|
||||
{if $access_edit == 1}
|
||||
rel="-1||{$profile.id_profile}||view||{$tabsize}||{count($tabs)}" class="ajaxPower"
|
||||
{else}
|
||||
disabled="disabled"
|
||||
{/if} />
|
||||
{l s='View'}
|
||||
</th>
|
||||
<th class="center">
|
||||
<input type="checkbox" name="1" id="addall"
|
||||
{if $access_edit == 1}
|
||||
rel="-1||{$profile.id_profile}||add||{$tabsize}||{count($tabs)}" class="ajaxPower"
|
||||
{else}
|
||||
disabled="disabled"
|
||||
{/if} />
|
||||
{l s='Add'}
|
||||
</th>
|
||||
<th class="center">
|
||||
<input type="checkbox" name="1" id="editall"
|
||||
{if $access_edit == 1}
|
||||
rel="-1||{$profile.id_profile}||edit||{$tabsize}||{count($tabs)}" class="ajaxPower"
|
||||
{else}
|
||||
disabled="disabled"
|
||||
{/if} />
|
||||
{l s='Edit'}
|
||||
</th>
|
||||
<th class="center">
|
||||
<input type="checkbox" name="1" id="deleteall"
|
||||
{if $access_edit == 1}
|
||||
rel="-1||{$profile.id_profile}||delete||{$tabsize}||{count($tabs)}" class="ajaxPower"
|
||||
{else}
|
||||
disabled="disabled"
|
||||
{/if} />
|
||||
{l s='Delete'}
|
||||
</th>
|
||||
<th class="center">
|
||||
<input type="checkbox" name="1" id="allall"
|
||||
{if $access_edit == 1}
|
||||
rel="-1||{$profile.id_profile}||all||{$tabsize}||{count($tabs)}" class="ajaxPower"
|
||||
{else}
|
||||
disabled="disabled"
|
||||
{/if} />
|
||||
{l s='All'}
|
||||
</th>
|
||||
</tr>
|
||||
{if !count($tabs)}
|
||||
<tr>
|
||||
<td colspan="6">{l s='No tab'}</td>
|
||||
</tr>
|
||||
{else}
|
||||
{foreach $tabs AS $tab}
|
||||
|
||||
{assign var=access value=$accesses[$profile.id_profile]}
|
||||
|
||||
{if !$tab.id_parent OR $tab.id_parent == -1}
|
||||
{assign var=is_child value=false}
|
||||
{assign var=result_accesses value=0}
|
||||
<tr>
|
||||
<td{if !$is_child} class="bold"{/if}>{if $is_child} » {/if}<strong>{$tab.name}</strong></td>
|
||||
{foreach $perms as $perm}
|
||||
{if $access_edit == 1}
|
||||
<td>
|
||||
<input type="checkbox"
|
||||
id="{$perm}{$access[$tab.id_tab]['id_tab']}"
|
||||
rel="{$access[$tab.id_tab]['id_tab']}||{$profile.id_profile}||{$perm}||{$tabsize}||{count($tabs)}"
|
||||
class="ajaxPower {$perm} {$access[$tab.id_tab]['id_tab']}"
|
||||
{if $access[$tab.id_tab][$perm] == 1}checked="checked"{/if}/>
|
||||
</td>
|
||||
{else}
|
||||
<td>
|
||||
<input type="checkbox"
|
||||
disabled="disabled"
|
||||
{if $access[$tab.id_tab][$perm] == 1}checked="checked"{/if}/>
|
||||
</td>
|
||||
{/if}
|
||||
{assign var=result_accesses value=$result_accesses + $access[$tab.id_tab][$perm]}
|
||||
{/foreach}
|
||||
<td>
|
||||
<input type="checkbox"
|
||||
id='all{$access[$tab.id_tab]['id_tab']}'
|
||||
{if $access_edit == 1}
|
||||
rel="{$access[$tab.id_tab]['id_tab']}||{$profile.id_profile}||all||{$tabsize}||{count($tabs)}"
|
||||
class="ajaxPower all {$access[$tab.id_tab]['id_tab']}"
|
||||
{else}
|
||||
class="all {$access[$tab.id_tab]['id_tab']}"
|
||||
disabled="disabled"
|
||||
{/if}
|
||||
{if $result_accesses == 4}checked="checked"{/if}/>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
{foreach $tabs AS $child}
|
||||
{if $child.id_parent === $tab.id_tab}
|
||||
{if isset($access[$child.id_tab])}
|
||||
{assign var=is_child value=true}
|
||||
{assign var=result_accesses value=0}
|
||||
<tr>
|
||||
<td{if !$is_child} class="bold"{/if}>{if $is_child} » {/if}<strong>{$child.name}</strong></td>
|
||||
{foreach $perms as $perm}
|
||||
{if $access_edit == 1}
|
||||
<td>
|
||||
<input type="checkbox"
|
||||
id="{$perm}{$access[$child.id_tab]['id_tab']}"
|
||||
rel="{$access[$child.id_tab]['id_tab']}||{$profile.id_profile}||{$perm}||{$tabsize}||{count($tabs)}"
|
||||
class="ajaxPower {$perm} {$access[$child.id_tab]['id_tab']}"
|
||||
{if $access[$child.id_tab][$perm] == 1}checked="checked"{/if}/>
|
||||
</td>
|
||||
{else}
|
||||
<td>
|
||||
<input type="checkbox"
|
||||
disabled="disabled"
|
||||
{if $access[$child.id_tab][$perm] == 1}checked="checked"{/if}/>
|
||||
</td>
|
||||
{/if}
|
||||
{assign var=result_accesses value=$result_accesses + $access[$child.id_tab][$perm]}
|
||||
{/foreach}
|
||||
<td>
|
||||
<input type="checkbox"
|
||||
id='all{$access[$child.id_tab]['id_tab']}'
|
||||
{if $access_edit == 1}
|
||||
rel="{$access[$child.id_tab]['id_tab']}||{$profile.id_profile}||all||{$tabsize}||{count($tabs)}"
|
||||
class="ajaxPower all {$access[$child.id_tab]['id_tab']}"
|
||||
{else}
|
||||
class="all {$access[$child.id_tab]['id_tab']}"
|
||||
disabled="disabled"
|
||||
{/if}
|
||||
{if $result_accesses == 4}checked="checked"{/if}/>
|
||||
</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
{/if}
|
||||
|
||||
{/foreach}
|
||||
{/if}
|
||||
</table>
|
||||
|
||||
<table class="table" cellspacing="0" style="margin-left:20px" id="table_module_{$profile.id_profile}">
|
||||
<tr>
|
||||
<th>{l s='Modules'}</th>
|
||||
<th class="center">
|
||||
<input type="checkbox"
|
||||
id="ajax-ma-view-master"
|
||||
{if $access_edit == 1}
|
||||
class="changeModuleAccess" rel="-1||view||{$profile.id_profile}"
|
||||
{else}
|
||||
disabled="disabled"
|
||||
{/if} /> {l s='View'}
|
||||
</th>
|
||||
<th class="center">
|
||||
<input type="checkbox"
|
||||
id="ajax-ma-configure-master"
|
||||
{if $access_edit == 1}
|
||||
class="changeModuleAccess" rel="-1||configure||{$profile.id_profile}"
|
||||
{else}
|
||||
disabled="disabled"
|
||||
{/if} /> {l s='Configure'}</th>
|
||||
</tr>
|
||||
|
||||
{if !count($modules)}
|
||||
<tr>
|
||||
<td colspan="3">{l s='No modules installed'}</td>
|
||||
</tr>
|
||||
{else}
|
||||
{foreach $modules[$profile.id_profile] AS $module}
|
||||
<tr>
|
||||
<td>» {$module.name}</td>
|
||||
<td>
|
||||
<input type="checkbox"
|
||||
value="1"
|
||||
{if $module.view == true}checked="checked"{/if}
|
||||
{if $access_edit == 1}
|
||||
class="ajax-ma-view changeModuleAccess"
|
||||
rel="{$module.id_module}||view||{$profile.id_profile}"
|
||||
{else}
|
||||
class="ajax-ma-view"
|
||||
disabled="disabled"
|
||||
{/if}
|
||||
/>
|
||||
</td>
|
||||
<td>
|
||||
<input type="checkbox"
|
||||
value="1"
|
||||
{if $module.configure == true}checked="checked"{/if}
|
||||
{if $access_edit == 1}
|
||||
class="ajax-ma-configure changeModuleAccess"
|
||||
rel="{$module.id_module}||configure||{$profile.id_profile}"
|
||||
{else}
|
||||
class="ajax-ma-configure"
|
||||
disabled="disabled"
|
||||
{/if}
|
||||
/>
|
||||
</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
{/if}
|
||||
</table>
|
||||
|
||||
<div class="clear"> </div>
|
||||
|
||||
{else}
|
||||
{l s='Administrator permissions can\'t be modified.'}
|
||||
{/if}
|
||||
|
||||
</div>
|
||||
|
||||
{/foreach}
|
||||
</form>
|
||||
@@ -26,7 +26,7 @@
|
||||
|
||||
{if $existingExport}
|
||||
<div class="hint" style="display:block;">
|
||||
{l s='The last export has been for this section:'}
|
||||
{l s='The last export has been found for this section:'}
|
||||
<a href="{$smarty.server.REQUEST_URI}&download={$type}">{l s='Click here'}</a>
|
||||
</div>
|
||||
<br />
|
||||
117
admin-dev/themes/default/template/accounting_export/menu.tpl
Normal file
@@ -0,0 +1,117 @@
|
||||
{*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 9856 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
<script type="text/javascript">
|
||||
|
||||
function validateInputDate(input, displayError)
|
||||
{
|
||||
{literal}
|
||||
dateRegex = /^\d{4}-\d{1,2}-\d{1,2}$/
|
||||
{/literal}
|
||||
|
||||
if (!input.val().match(dateRegex))
|
||||
{
|
||||
input.parent().find('span.input-error').fadeIn('fast');
|
||||
return false;
|
||||
}
|
||||
input.parent().find('span.input-error').css('display','none');
|
||||
return true;
|
||||
}
|
||||
|
||||
function validateAccountingForm()
|
||||
{
|
||||
validation = true;
|
||||
|
||||
$('span.input-error').css('display', 'none');
|
||||
$('.datepicker:visible').each(function() {
|
||||
if (!(validateInputDate($(this), true)))
|
||||
validation = false;
|
||||
});
|
||||
|
||||
return validation;
|
||||
}
|
||||
|
||||
$(document).ready(function() {
|
||||
$('#export_menu').find('a').each(function() {
|
||||
$(this).click(function() {
|
||||
blockID = 'block_' + $(this).attr('id');
|
||||
if (!$('#' + blockID).is(':visible'))
|
||||
{
|
||||
|
||||
$('.formAccountingExport:visible').each(function() {
|
||||
$(this).fadeOut('fast', function() {
|
||||
$('#' + blockID).fadeIn('fast');
|
||||
});
|
||||
});
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
$('#' + '{$defaultType}').fadeIn('fast');
|
||||
|
||||
$('.datepicker').each(function() {
|
||||
$(this).change(function() {
|
||||
validateInputDate($(this), true);
|
||||
});
|
||||
$(this).datepicker({
|
||||
prevText: '',
|
||||
nextText: '',
|
||||
dateFormat: 'yy-mm-dd'
|
||||
});
|
||||
});
|
||||
|
||||
$('.formAccountingExport form input[type="submit"]').each(function()
|
||||
{
|
||||
$(this).click(function() {
|
||||
return validateAccountingForm();
|
||||
});
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
{foreach from=$preventList key=name item=preventType}
|
||||
{if !empty($preventType)}
|
||||
<div class="{$name}">
|
||||
{foreach from=$preventType item=translationPrevent}
|
||||
{$translationPrevent}
|
||||
{/foreach}
|
||||
</div>
|
||||
{/if}
|
||||
{/foreach}
|
||||
|
||||
<div id="export_menu">
|
||||
<div class="toolbarBox">
|
||||
<div class="pageTitle">
|
||||
<h3>
|
||||
<span id="current_obj" style="font-weight: normal;">{l s='Export:'}</span>
|
||||
</h3>
|
||||
{l s='Select which export you want to do:'}<br />
|
||||
{foreach from=$exportTypeList item=export}
|
||||
<a id="{$export['type']}" class="button" href="javascript:void(0);">{$export['name']}</a>
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -0,0 +1,63 @@
|
||||
{*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 9856 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
{if !empty($error)}
|
||||
<div class="hint" style="display:block">{$error}</div>
|
||||
{else}
|
||||
<div class="toolbarBox">
|
||||
{include file="toolbar.tpl" toolbar_btn=$toolbar_btn}
|
||||
<div class="pageTitle">
|
||||
<h3>
|
||||
<span id="current_obj" style="font-weight: normal;">{$title|default:' '}</span>
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
<fieldset>
|
||||
<legend>{l s='Account number'}</legend>
|
||||
<div class="hint" style="display:block">
|
||||
{l s='Configure the account number by zone for:'} <b>{$shop_details['name']}</b>
|
||||
</div>
|
||||
<br />
|
||||
<form id="{$table}_form" method="POST" action="{$smarty.server.REQUEST_URI}">
|
||||
<label>{l s='Default number for this shop'}</label>
|
||||
<div class="margin-form">
|
||||
<input type="text" name="default_account_number" value="{$shop_details['default_account_number']}" />
|
||||
<p>{l s='If a zone field is empty it will use this default number.'}</p>
|
||||
</div>
|
||||
{foreach from=$shop_details['zones'] key=id_zone item=currentZone}
|
||||
<label>{$currentZone['name']}</label>
|
||||
<div class="margin-form">
|
||||
<input type="text" name="zone_{$id_zone}" value="{$currentZone['account_number']|escape:htmlall}" />
|
||||
|
||||
</div>
|
||||
{/foreach}
|
||||
<div class="margin-form">
|
||||
<input type="submit" class="button" id="{$table}_form_submit_btn" name="UpdateNumbers" value="{l s='Save'}"/>
|
||||
</div>
|
||||
</form>
|
||||
<div class="separation"></div>
|
||||
</fieldset>
|
||||
{/if}
|
||||
28
admin-dev/themes/default/template/addons_catalog/content.tpl
Normal file
@@ -0,0 +1,28 @@
|
||||
{*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision$
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<iframe frameborder="no" style="margin:0px;padding:0px;width:100%;height:920px" src="http://addons.prestashop.com/iframe/search.php?parentUrl={$parentDomain}"></iframe>
|
||||
<div class="clear"> </div>
|
||||
|
||||
@@ -0,0 +1,27 @@
|
||||
{*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision$
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<iframe frameborder="no" style="margin:0px;padding:0px;width:960px;height:920px" src="http://addons.prestashop.com/iframe/myaccount.php?parentUrl={$parentDomain}"></iframe>
|
||||
<div class="clear"> </div>
|
||||
@@ -0,0 +1,39 @@
|
||||
{*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 9197 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<script>
|
||||
function confirmProductAttached(productList)
|
||||
{
|
||||
var confirm_text = "{l s='This attachment is used by the following products:'}";
|
||||
if (confirm('{$confirm}'))
|
||||
return confirm(confirm_text + product_list);
|
||||
return false;
|
||||
}
|
||||
</script>
|
||||
|
||||
<a href="{$href}" onclick="{if isset($product_attachements[$id])}return confirmProductAttached('{$product_list[$id]}'){else}return confirm('{$confirm}'){/if}">
|
||||
<img src="../img/admin/delete.gif" alt="{$action}" title="{$action}" />
|
||||
</a>
|
||||
|
||||
@@ -0,0 +1,144 @@
|
||||
{*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision$
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
<script type="text/javascript">
|
||||
i18n_tax_exc = "{l s='Tax Excl.:'}";
|
||||
i18n_tax_inc = "{l s='Tax Incl.:'}";
|
||||
|
||||
var product_tax = "{$tax_rates}";
|
||||
function calcPrice(element, element_has_tax)
|
||||
{
|
||||
name = element.attr("name");
|
||||
var element_price = element.val().replace(/,/g, ".");
|
||||
var other_element_price = "0";
|
||||
|
||||
if (!isNaN(element_price) && element_price > 0)
|
||||
{
|
||||
if (element_has_tax)
|
||||
other_element_price = parseFloat(element_price / ((product_tax / 100) + 1));
|
||||
else
|
||||
other_element_price = ps_round(parseFloat(element_price * ((product_tax / 100) + 1)), 2);
|
||||
}
|
||||
|
||||
$("#related_to_"+name).val(other_element_price);
|
||||
}
|
||||
|
||||
|
||||
$(document).ready(function()
|
||||
{
|
||||
$(".price_impact").each(function()
|
||||
{
|
||||
calcPrice($(this), false);
|
||||
});
|
||||
});
|
||||
</script>
|
||||
|
||||
<div class="toolbarBox">
|
||||
{include file="toolbar.tpl" toolbar_btn=$toolbar_btn}
|
||||
<div class="pageTitle">
|
||||
<h3>
|
||||
<span id="current_obj" style="font-weight: normal;">{$title|default:' '}</span>
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
{if $generate}
|
||||
<div class="module_confirmation conf confirm">
|
||||
{$combinations_size} {l s='product(s) successfully created.'}
|
||||
</div>
|
||||
{/if}
|
||||
<script type="text/javascript" src="../js/attributesBack.js"></script>
|
||||
<form enctype="multipart/form-data" method="post" id="generator" action="{$url_generator}">
|
||||
<fieldset style="margin-bottom: 35px;">
|
||||
<legend><img src="../img/admin/asterisk.gif" />{l s='Attributes generator'}</legend>
|
||||
<div style="float: left; margin-right:50px;">
|
||||
<div>
|
||||
<select multiple name="attributes[]" id="attribute_group" style="width: 200px; height: 350px; margin-bottom: 10px;">
|
||||
{foreach $attribute_groups as $k => $attribute_group}
|
||||
{if isset($attribute_js[$attribute_group['id_attribute_group']])}
|
||||
<optgroup name="{$attribute_group['id_attribute_group']}" id="{$attribute_group['id_attribute_group']}" label="{$attribute_group['name']|escape:'htmlall':'UTF-8'}">
|
||||
{foreach $attribute_js[$attribute_group['id_attribute_group']] as $k => $v}
|
||||
<option name="{$k}" id="attr_{$k}" value="{$v|escape:'quotes':'UTF-8'}" title="{$v|escape:'quotes':'UTF-8'}">{$v|escape:'quotes':'UTF-8'}</option>
|
||||
{/foreach}
|
||||
</optgroup>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</select>
|
||||
</div>
|
||||
<div>
|
||||
<p style="text-align: center;">
|
||||
<input class="button" type="button" style="margin: 0 0 10px 20px;" value="{l s='Add'}" class="button" onclick="add_attr_multiple();" />
|
||||
<input class="button" type="button" style="margin: 0 0 10px 20px;" value="{l s='Delete'}" class="button" onclick="del_attr_multiple();" /><br />
|
||||
</p>
|
||||
</div>
|
||||
</div>
|
||||
<br />
|
||||
{l s='Add or modify attributes for product:'} <b>{$product_name}</b>
|
||||
<br /><br />
|
||||
<div style="padding-top:10px; float: left; width: 570px;">
|
||||
<div style="float:left;">
|
||||
<label>{l s='Quantity'}</label>
|
||||
<div class="margin-form">
|
||||
<input type="text" size="20" name="quantity" value="0"/>
|
||||
</div>
|
||||
<label>{l s='Reference'}</label>
|
||||
<div class="margin-form">
|
||||
<input type="text" size="20" name="reference" value="{$product_reference}"/>
|
||||
</div>
|
||||
</div>
|
||||
<div style="float:left; text-align:center; margin-left:20px;">
|
||||
<input type="submit" class="button" style="margin-bottom:5px;" name="generate" value="{l s='Generate'}" /><br />
|
||||
</div>
|
||||
<br style="clear:both;" />
|
||||
<div style="margin-top: 15px;">
|
||||
{foreach $attribute_groups as $k => $attribute_group}
|
||||
{if isset($attribute_js[$attribute_group['id_attribute_group']])}
|
||||
<br class="clear"/>
|
||||
<table class="table" cellpadding="0" cellspacing="0" align="left" style="margin-bottom: 10px; display: none;">
|
||||
<thead>
|
||||
<tr>
|
||||
<th id="tab_h1" style="width: 150px">{$attribute_group['name']|escape:'htmlall':'UTF-8'}</th>
|
||||
<th id="tab_h2" style="width: 350px" colspan="2">{l s='Price impact'} {$currency_sign}</th>
|
||||
<th style="width: 150px">{l s='Weight impact'} ({$weight_unit})</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody id="table_{$attribute_group['id_attribute_group']}" name="result_table">
|
||||
</tbody>
|
||||
</table>
|
||||
{if isset($attributes[$attribute_group['id_attribute_group']])}
|
||||
{foreach $attributes[$attribute_group['id_attribute_group']] AS $k => $attribute}
|
||||
<script type="text/javascript">
|
||||
$('#table_{$attribute_group['id_attribute_group']}').append(create_attribute_row({$k}, {$attribute_group['id_attribute_group']}, '{$attribute['attribute_name']|addslashes}', {$attribute['price']}, {$attribute['weight']}));
|
||||
toggle(getE('table_' + {$attribute_group['id_attribute_group']}).parentNode, true);
|
||||
</script>
|
||||
{/foreach}
|
||||
{/if}
|
||||
{/if}
|
||||
{/foreach}
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form>
|
||||
55
admin-dev/themes/default/template/attributes/form.tpl
Normal file
@@ -0,0 +1,55 @@
|
||||
{*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 8971 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
{extends file="helper/form/form.tpl"}
|
||||
|
||||
{block name="label"}
|
||||
{if $input.type == 'color'}
|
||||
<div id="colorAttributeProperties" style="display:{if $colorAttributeProperties}block{else}none{/if}";>
|
||||
{/if}
|
||||
{if isset($input.label)}
|
||||
<label>{$input.label} </label>
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
|
||||
{block name="end_field_block"}
|
||||
{if $input.type == 'text' && $input.name == 'texture'}
|
||||
</div>
|
||||
{/if}
|
||||
</div>
|
||||
{/block}
|
||||
|
||||
{block name="script"}
|
||||
var attributesGroups = {ldelim}{$strAttributesGroups}{rdelim};
|
||||
$('#id_attribute_group').change(function() {
|
||||
var val = $(this).val();
|
||||
if (attributesGroups[val])
|
||||
$('#colorAttributeProperties').show();
|
||||
else
|
||||
$('#colorAttributeProperties').hide();
|
||||
});
|
||||
{/block}
|
||||
@@ -1,3 +1,28 @@
|
||||
{*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 8971 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<label>{l s='Free shipping'}</label>
|
||||
<div class="margin-form">
|
||||
|
||||
@@ -82,4 +107,4 @@
|
||||
<input type="hidden" id="gift_product" name="gift_product" value="{$currentTab->getFieldValue($currentObject, 'gift_product')|intval}" />
|
||||
<input type="text" id="giftProductFilter" name="giftProductFilter" value="{$giftProductFilter}" style="width:400px" />
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
@@ -1,3 +1,28 @@
|
||||
{*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 8971 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<label>{l s='Limit to a single customer'}</label>
|
||||
<div class="margin-form">
|
||||
<input type="hidden" id="id_customer" name="id_customer" value="{$currentTab->getFieldValue($currentObject, 'id_customer')|intval}" />
|
||||
@@ -185,4 +210,4 @@
|
||||
{$product_rule}
|
||||
{/foreach}
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
@@ -3,10 +3,10 @@
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Open Software License (OSL 3.0)
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/osl-3.0.php
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
@@ -19,8 +19,8 @@
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 6844 $
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* @version Release: $Revision: 7040 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
@@ -327,4 +327,4 @@ $('.datepicker').datepicker({
|
||||
prevText: '',
|
||||
nextText: '',
|
||||
dateFormat: 'yy-mm-dd ' + hours + ':' + mins + ':' + secs
|
||||
});
|
||||
});
|
||||
96
admin-dev/themes/default/template/cart_rules/form.tpl
Normal file
@@ -0,0 +1,96 @@
|
||||
{*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 8971 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
{if $show_toolbar}
|
||||
<div class="toolbar-placeholder">
|
||||
<div class="toolbarBox {if $toolbar_fix}toolbarHead{/if}">
|
||||
{include file="toolbar.tpl" toolbar_btn=$toolbar_btn}
|
||||
<div class="pageTitle">
|
||||
<h3>
|
||||
{block name=pageTitle}
|
||||
<span id="current_obj" style="font-weight: normal;">{$title|default:' '}</span>
|
||||
{/block}
|
||||
</h3>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="leadin">{block name="leadin"}{/block}</div>
|
||||
{/if}
|
||||
|
||||
<div>
|
||||
<div class="productTabs">
|
||||
<ul class="tab">
|
||||
<li class="tab-row">
|
||||
<a class="tab-page" id="cart_rule_link_informations" href="javascript:displayCartRuleTab('informations');">{l s='Informations'}</a>
|
||||
</li>
|
||||
<li class="tab-row">
|
||||
<a class="tab-page" id="cart_rule_link_conditions" href="javascript:displayCartRuleTab('conditions');">{l s='Conditions'}</a>
|
||||
</li>
|
||||
<li class="tab-row">
|
||||
<a class="tab-page" id="cart_rule_link_actions" href="javascript:displayCartRuleTab('actions');">{l s='Actions'}</a>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
<form action="{$currentIndex}&token={$currentToken}&addcart_rule" id="cart_rule_form" method="post">
|
||||
{if $currentObject->id}<input type="hidden" name="id_cart_rule" value="{$currentObject->id|intval}" />{/if}
|
||||
<input type="hidden" id="currentFormTab" name="currentFormTab" value="informations" />
|
||||
<div id="cart_rule_informations" class="cart_rule_tab">
|
||||
<h4>{l s='Cart rule informations'}</h4>
|
||||
<div class="separation"></div>
|
||||
{include file='cart_rules/informations.tpl'}
|
||||
</div>
|
||||
<div id="cart_rule_conditions" class="cart_rule_tab">
|
||||
<h4>{l s='Cart rule conditions'}</h4>
|
||||
<div class="separation"></div>
|
||||
{include file='cart_rules/conditions.tpl'}
|
||||
</div>
|
||||
<div id="cart_rule_actions" class="cart_rule_tab">
|
||||
<h4>{l s='Cart rule actions'}</h4>
|
||||
<div class="separation"></div>
|
||||
{include file='cart_rules/actions.tpl'}
|
||||
</div>
|
||||
<div class="separation"></div>
|
||||
<div style="text-align:center">
|
||||
<input type="submit" value="{l s='Save'}" class="button" name="submitAddcart_rule" id="{$table}_form_submit_btn" />
|
||||
<!--<input type="submit" value="{l s='Save and stay'}" class="button" name="submitAddcart_ruleAndStay" id="" />-->
|
||||
</div>
|
||||
</form>
|
||||
<script type="text/javascript">
|
||||
var product_rules_counter = {if isset($product_rules_counter)}{$product_rules_counter}{else}0{/if};
|
||||
var currentToken = '{$currentToken}';
|
||||
var currentFormTab = '{if isset($smarty.post.currentFormTab)}{$smarty.post.currentFormTab|escape}{else}informations{/if}';
|
||||
|
||||
var languages = new Array();
|
||||
{foreach from=$languages item=language key=k}
|
||||
languages[{$k}] = {
|
||||
id_lang: {$language.id_lang},
|
||||
iso_code: '{$language.iso_code}',
|
||||
name: '{$language.name}'
|
||||
};
|
||||
{/foreach}
|
||||
displayFlags(languages, {$defaultLanguage});
|
||||
</script>
|
||||
<script type="text/javascript" src="themes/template/cart_rules/form.js"></script>
|
||||
@@ -0,0 +1,82 @@
|
||||
{*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 8971 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<table cellpadding="0" cellspacing="0">
|
||||
<tr>
|
||||
<td style="width:50%">
|
||||
<label>{l s='Name'}</label>
|
||||
<div class="margin-form">
|
||||
<div class="translatable">
|
||||
{foreach from=$languages item=language}
|
||||
<div class="lang_{$language.id_lang}" style="display:{if $language.id_lang == $defaultLanguage}block{else}none{/if};float:left">
|
||||
<input type="text" id="name_{$language.id_lang}" name="name_{$language.id_lang}" value="{$currentTab->getFieldValue($currentObject, 'name', $language.id_lang)}" style="width:300px" />
|
||||
</div>
|
||||
{/foreach}
|
||||
</div>
|
||||
<p class="clear">{l s='Will be displayed in the cart summary as well as on the invoice.'}</p>
|
||||
</div>
|
||||
<label>{l s='Code'}</label>
|
||||
<div class="margin-form">
|
||||
<input type="text" id="code" name="code" value="{$currentTab->getFieldValue($currentObject, 'code')}" />
|
||||
<img src="../img/admin/news-new.gif" onclick="gencode(8);" style="cursor:pointer" />
|
||||
<p>{l s='Optional, the rule will automatically be applied if you leave this field blank.'}</p>
|
||||
</div>
|
||||
<label>{l s='Partial use'}</label>
|
||||
<div class="margin-form">
|
||||
|
||||
<input type="radio" name="partial_use" id="partial_use_on" value="1" {if $currentTab->getFieldValue($currentObject, 'partial_use')|intval}checked="checked"{/if} />
|
||||
<label class="t" for="partial_use_on"> <img src="../img/admin/enabled.gif" alt="{l s='Allowed'}" title="{l s='Allowed'}" style="cursor:pointer" /></label>
|
||||
|
||||
<input type="radio" name="partial_use" id="partial_use_off" value="0" {if !$currentTab->getFieldValue($currentObject, 'partial_use')|intval}checked="checked"{/if} />
|
||||
<label class="t" for="partial_use_off"> <img src="../img/admin/disabled.gif" alt="{l s='Not allowed'}" title="{l s='Not allowed'}" style="cursor:pointer" /></label>
|
||||
<p>
|
||||
{l s='Only applicable if the voucher value is greater than the cart total.'}<br />
|
||||
{l s='If you do not allow partial use, the voucher value will be lowered to the total order amount, but if you do, a new voucher will be created with the remainder.'}
|
||||
</p>
|
||||
</div>
|
||||
<label>{l s='Priority'}</label>
|
||||
<div class="margin-form">
|
||||
<input type="text" name="priority" value="{$currentTab->getFieldValue($currentObject, 'priority')|intval}" />
|
||||
<p>{l s='Cart rules are applied to the cart by priority. A cart rule with priority of "1" will be processed before a cart rule with a priority of "2".'}</p>
|
||||
</div>
|
||||
<label>{l s='Status'}</label>
|
||||
<div class="margin-form">
|
||||
|
||||
<input type="radio" name="active" id="active_on" value="1" {if $currentTab->getFieldValue($currentObject, 'active')|intval}checked="checked"{/if} />
|
||||
<label class="t" for="active_on"> <img src="../img/admin/enabled.gif" alt="{l s='Enabled'}" title="{l s='Enabled'}" style="cursor:pointer" /></label>
|
||||
|
||||
<input type="radio" name="active" id="active_off" value="0" {if !$currentTab->getFieldValue($currentObject, 'active')|intval}checked="checked"{/if} />
|
||||
<label class="t" for="active_off"> <img src="../img/admin/disabled.gif" alt="{l s='Disabled'}" title="{l s='Disabled'}" style="cursor:pointer" /></label>
|
||||
</div>
|
||||
</td>
|
||||
<td style="width:50%">
|
||||
<label>{l s='Description'}</label>
|
||||
<div class="margin-form">
|
||||
<textarea name="description" style="width:90%;height:200px">{$currentTab->getFieldValue($currentObject, 'description')}</textarea>
|
||||
<p>{l s='For you only, never displayed to the customer.'}</p>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
@@ -0,0 +1,61 @@
|
||||
{*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 8971 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<tr id="product_rule_{$product_rule_id}_tr">
|
||||
<td>
|
||||
<a href="javascript:removeProductRule({$product_rule_id});">
|
||||
<img src="../img/admin/disabled.gif" alt="{l s='Remove'}" title="{l s='Remove'}" />
|
||||
</a>
|
||||
</td>
|
||||
<td>
|
||||
<input type="hidden" name="product_rule[]" value="{$product_rule_id}" />
|
||||
<input type="hidden" name="product_rule_{$product_rule_id}_type" value="{$product_rule_type}" />
|
||||
[{$product_rule_type}] {l s='The cart must contain at least'}
|
||||
</td>
|
||||
<td style="padding:5px">
|
||||
<input type="text" name="product_rule_{$product_rule_id}_quantity" value="{$product_rule_quantity|intval}" style="width:30px" />
|
||||
</td>
|
||||
<td>
|
||||
{l s='product(s) matching'}
|
||||
</td>
|
||||
<td>
|
||||
<input type="text" id="product_rule_{$product_rule_id}_match" value="" disabled="disabled" />
|
||||
</td>
|
||||
<td>
|
||||
<a id="product_rule_{$product_rule_id}_choose_link" href="#product_rule_{$product_rule_id}_choose_content">
|
||||
<img src="../img/admin/choose.gif" alt="{l s='Choose'}" title="{l s='Choose'}" /> {l s='Choose'}
|
||||
</a>
|
||||
<div>
|
||||
<div id="product_rule_{$product_rule_id}_choose_content">
|
||||
{$product_rule_choose_content}
|
||||
</div>
|
||||
</div>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
<script type="text/javascript">
|
||||
$('#product_rule_{$product_rule_id}_choose_content').parent().hide();
|
||||
$("#product_rule_{$product_rule_id}_choose_link").fancybox();
|
||||
</script>
|
||||
@@ -0,0 +1,57 @@
|
||||
{*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 8971 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
<table>
|
||||
<tr>
|
||||
<td>
|
||||
<p><strong>{l s='Selected'}</strong></p>
|
||||
<select name="product_rule_select_{$product_rule_id}[]" class="product_rule_toselect" id="product_rule_select_{$product_rule_id}_2" style="border:1px solid #AAAAAA;width:400px;height:160px" multiple>
|
||||
{foreach from=$product_rule_itemlist.selected item='item'}
|
||||
<option value="{$item.id|intval}"> {$item.name}</option>
|
||||
{/foreach}
|
||||
</select><br /><br />
|
||||
<a style="cursor:pointer;text-align:center;display:block;border:1px solid #aaa;text-decoration:none;background-color:#fafafa;color:#123456;margin:2px;padding:2px" id="product_rule_select_{$product_rule_id}_remove">
|
||||
{l s='Remove'} >>
|
||||
</a>
|
||||
</td>
|
||||
<td style="padding-left:20px;">
|
||||
<p><strong>{l s='Unselected'}</strong></p>
|
||||
<select id="product_rule_select_{$product_rule_id}_1" style="border:1px solid #AAAAAA;width:400px;height:160px" multiple>
|
||||
{foreach from=$product_rule_itemlist.unselected item='item'}
|
||||
<option value="{$item.id|intval}"> {$item.name}</option>
|
||||
{/foreach}
|
||||
</select><br /><br />
|
||||
<a style="cursor:pointer;text-align:center;display:block;border:1px solid #aaa;text-decoration:none;background-color:#fafafa;color:#123456;margin:2px;padding:2px" id="product_rule_select_{$product_rule_id}_add">
|
||||
<< {l s='Add'}
|
||||
</a>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<script type="text/javascript">
|
||||
$('#product_rule_select_{$product_rule_id}_remove').click(function() { removeCartRuleOption(this); updateProductRuleShortDescription(this); });
|
||||
$('#product_rule_select_{$product_rule_id}_add').click(function() { addCartRuleOption(this); updateProductRuleShortDescription(this); });
|
||||
$(document).ready(function() { updateProductRuleShortDescription($('#product_rule_select_{$product_rule_id}_add')); });
|
||||
</script>
|
||||
190
admin-dev/themes/default/template/carts/view.tpl
Executable file
@@ -0,0 +1,190 @@
|
||||
{*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 9596 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
|
||||
{extends file="helper/view/view.tpl"}
|
||||
|
||||
{block name="override_tpl"}
|
||||
|
||||
<h2>{if $customer->id}{$customer->firstname} {$customer->lastname}{else}{l s='Guest'}{/if} - {l s='Cart #'}{$cart->id|string_format:"%06d"} {l s='from'} {$cart->date_upd}</h2>
|
||||
|
||||
<br />
|
||||
<div style="float: left;">
|
||||
<fieldset style="width: 400px">
|
||||
<legend><img src="../img/admin/tab-customers.gif" />{l s='Customer information'}</legend>
|
||||
<span style="font-weight: bold; font-size: 14px;">
|
||||
{if $customer->id}
|
||||
<a href={$link->getAdminLink('AdminCustomers')}&id_customer={$customer->id}&viewcustomer">{$customer->firstname} {$customer->lastname}</a></span> {l s='#'}{$customer->id}<br />
|
||||
<a href="mailto:{$customer->email}">{$customer->email}</a> <br /><br />
|
||||
{l s='Account registered:'} {dateFormat date=$customer->date_add}<br />
|
||||
{l s='Valid orders placed:'} <b>{$customer_stats.nb_orders}</b><br />
|
||||
{l s='Total paid since registration:'} <b>{displayWtPriceWithCurrency price=$customer_stats.total_orders currency=$currency}</b><br />
|
||||
{else}
|
||||
{l s='Guest not registered'}
|
||||
{/if}
|
||||
</span>
|
||||
</fieldset>
|
||||
</div>
|
||||
<div style="float: left; margin-left: 40px">
|
||||
<fieldset style="width: 400px">
|
||||
<legend><img src="../img/admin/cart.gif" /> {l s='Order information'}</legend>
|
||||
<span style="font-weight: bold; font-size: 14px;">
|
||||
{if $order->id}
|
||||
<a href="{$link->getAdminLink('AdminOrders')}&id_order={$order->id}&vieworder"> {l s='Order #'}{$order->id|string_format:"%06d"}</a></span>
|
||||
<br /><br />
|
||||
{l s='Made on:'} {dateFormat date=$order->date_add}<br /><br /><br /><br />
|
||||
{else}
|
||||
{l s='No order created from this cart'}</span>
|
||||
<p><a href="{$link->getAdminLink('AdminOrders')}&id_cart={$cart->id}&addorder">{l s='Create an order with this cart'}</a></p>
|
||||
{/if}
|
||||
</fieldset>
|
||||
</div>
|
||||
<br style="clear:both;" />
|
||||
<fieldset style="margin-top:25px; width: 715px; ">
|
||||
<legend><img src="../img/admin/cart.gif" alt="{l s='Products'}" />{l s='Cart summary'}</legend>
|
||||
<div style="float:left;">
|
||||
<table style="width: 700px;" cellspacing="0" cellpadding="0" class="table" id="orderProducts">
|
||||
<thead>
|
||||
<tr>
|
||||
<th align="center" style="width: 60px"> </th>
|
||||
<th>{l s='Product'}</th>
|
||||
<th style="width: 80px; text-align: center">{l s='UP'}</th>
|
||||
<th style="width: 20px; text-align: center">{l s='Qty'}</th>
|
||||
<th style="width: 30px; text-align: center">{l s='Stock'}</th>
|
||||
<th style="width: 90px; text-align: right; font-weight:bold;">{l s='Total'}</th>
|
||||
</tr>
|
||||
<tbody>
|
||||
{foreach from=$products item='product'}
|
||||
{if isset($customized_datas[$product.id_product][$product.id_product_attribute])}
|
||||
<tr>
|
||||
<td align="center">{$product.image}</td>
|
||||
<td><a href="{$link->getAdminLink('AdminProducts')}&id_product={$product.id_product}&updateproduct">
|
||||
<span class="productName">{$product.name}</span>{if isset($product.attributes)}<br />{$product.attributes}{/if}<br />
|
||||
{if $product.reference}$this->l('Ref:') {$product.reference}{/if}
|
||||
{if $product.reference && $product.supplier_reference} / {$product.supplier_reference}{/if}
|
||||
</a>
|
||||
</td>
|
||||
<td align="center">{displayWtPriceWithCurrency price=$product.price_wt currency=$currency}</td>
|
||||
<td align="center" class="productQuantity">{$product.customization_quantity}</td>
|
||||
<td align="center" class="productQuantity">{$product.qty_in_stock}</td>
|
||||
<td align="right">{displayWtPriceWithCurrency price=$product.total_customization_wt currency=$currency}</td>
|
||||
</tr>
|
||||
{foreach from=$customized_datas[$product.id_product][$product.id_product_attribute] item='customization'}
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
{foreach from=$customization.datas key='type' item='datas'}
|
||||
{if $type == constant('Product::CUSTOMIZE_FILE')}
|
||||
<ul style="margin: 0; padding: 0; list-style-type: none;">
|
||||
{foreach from=$datas key='index' item='data'}
|
||||
<li style="display: inline; margin: 2px;">
|
||||
<a href="displayImage.php?img={$data.value}&name={$order->id}-file{$smarty.foreach.count.index}" target="_blank">
|
||||
<img src="{$pic_dir}{$data.value}_small" alt="" /></a>
|
||||
</li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{elseif $type == constant('Product::CUSTOMIZE_TEXTFIELD')}
|
||||
<ul style="margin-bottom: 4px; padding: 0; list-style-type: none;">
|
||||
{foreach from=$datas key='index' item='data'}
|
||||
<li>{if $data.name}{$data.name}{else}{l s='Text #'}{$smarty.foreach.count.index}{/if}{l s=':'}<b>{$data.value}</b></li>
|
||||
{/foreach}
|
||||
</ul>
|
||||
{/if}
|
||||
{/foreach}
|
||||
</td>
|
||||
<td align="center"></td>
|
||||
<td align="center" class="productQuantity">{$customization.quantity}</td>
|
||||
<td align="center" class="productQuantity"></td>
|
||||
<td align="center"></td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
{/if}
|
||||
|
||||
{if $product.cart_quantity > $product.customization_quantity}
|
||||
<tr>
|
||||
<td align="center">{$product.image}</td>
|
||||
<td>
|
||||
<a href="{$link->getAdminLink('AdminProducts')}&id_product={$product.id_product}&updateproduct">
|
||||
<span class="productName">{$product.name}</span>{if isset($product.attributes)}<br />{$product.attributes}{/if}<br />
|
||||
{if $product.reference}{l s='Ref:'} {$product.reference}{/if}
|
||||
{if $product.reference && $product.supplier_reference} / {$product.supplier_reference}{/if}
|
||||
</a>
|
||||
</td>
|
||||
<td align="center">{displayWtPriceWithCurrency price=$product.product_price currency=$currency}</td>
|
||||
<td align="center" class="productQuantity">{math equation='x - y' x=$product.cart_quantity y=$product.customization_quantity}</td>
|
||||
<td align="center" class="productQuantity">{$product.qty_in_stock}</td>
|
||||
<td align="right">{displayWtPriceWithCurrency price=$product.product_total currency=$currency}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{/foreach}
|
||||
<tr class="cart_total_product">
|
||||
<td colspan="5">{l s='Total products:'}</td>
|
||||
<td class="price bold right">{displayWtPriceWithCurrency price=$total_products currency=$currency}</td>
|
||||
</tr>
|
||||
|
||||
{if $total_discounts != 0}
|
||||
<tr class="cart_total_voucher">
|
||||
<td colspan="5">{l s='Total vouchers:'}</td>
|
||||
<td class="price-discount bold right">{displayWtPriceWithCurrency price=$total_discounts currency=$currency}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{if $total_wrapping > 0}
|
||||
<tr class="cart_total_voucher">
|
||||
<td colspan="5">{l s='Total gift-wrapping:'}</td>
|
||||
<td class="price-discount bold right">{displayWtPriceWithCurrency price=$total_wrapping currency=$currency}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
{if $cart->getOrderTotal(true, Cart::ONLY_SHIPPING) > 0}
|
||||
<tr class="cart_total_delivery">
|
||||
<td colspan="5">{l s='Total shipping:'}</td>
|
||||
<td class="price bold right">{displayWtPriceWithCurrency price=$total_shipping currency=$currency}</td>
|
||||
</tr>
|
||||
{/if}
|
||||
<tr class="cart_total_price">
|
||||
<td colspan="5" class="bold">{l s='Total:'}</td>
|
||||
<td class="price bold right">{displayWtPriceWithCurrency price=$total_price currency=$currency}</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
{if $discounts}
|
||||
<table cellspacing="0" cellpadding="0" class="table" style="width:280px; margin:15px 0px 0px 420px;">
|
||||
<tr>
|
||||
<th><img src="../img/admin/coupon.gif" alt="{l s='Discounts'}" />{l s='Discount name'}</th>
|
||||
<th align="center" style="width: 100px">{l s='Value'}</th>
|
||||
</tr>
|
||||
{foreach from=$discounts item='discount'}
|
||||
<tr>
|
||||
<td><a href="{$link->getAdminLink('AdminDiscounts')}&id_discount={$discount.id_discount}&updatediscount">{$discount.name}</a></td>
|
||||
<td align="center">- {displayWtPriceWithCurrency price=$discount.value_real currency=$currency}</td>
|
||||
</tr>
|
||||
{/foreach}
|
||||
</table>
|
||||
{/if}
|
||||
<div style="float:left; margin-top:15px;">
|
||||
{l s='According to the group of this customer, prices are printed:'} <b>{if $order->getTaxCalculationMethod() == $smarty.const.PS_TAX_EXC}{l s='tax excluded'}{else}{l s='tax included'}{/if}</b>
|
||||
</div></div>
|
||||
|
||||
</fieldset>
|
||||
<div class="clear" style="height:20px;"> </div>
|
||||
{/block}
|
||||
37
admin-dev/themes/default/template/categories/form.tpl
Normal file
@@ -0,0 +1,37 @@
|
||||
{*
|
||||
* 2007-2011 PrestaShop
|
||||
*
|
||||
* NOTICE OF LICENSE
|
||||
*
|
||||
* This source file is subject to the Academic Free License (AFL 3.0)
|
||||
* that is bundled with this package in the file LICENSE.txt.
|
||||
* It is also available through the world-wide-web at this URL:
|
||||
* http://opensource.org/licenses/afl-3.0.php
|
||||
* If you did not receive a copy of the license and are unable to
|
||||
* obtain it through the world-wide-web, please send an email
|
||||
* to license@prestashop.com so we can send you a copy immediately.
|
||||
*
|
||||
* DISCLAIMER
|
||||
*
|
||||
* Do not edit or add to this file if you wish to upgrade PrestaShop to newer
|
||||
* versions in the future. If you wish to customize PrestaShop for your
|
||||
* needs please refer to http://www.prestashop.com for more information.
|
||||
*
|
||||
* @author PrestaShop SA <contact@prestashop.com>
|
||||
* @copyright 2007-2011 PrestaShop SA
|
||||
* @version Release: $Revision: 8971 $
|
||||
* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*}
|
||||
{extends file="helper/form/form.tpl"}
|
||||
|
||||
{block name="end_field_block"}
|
||||
{if ($input.name == 'groupBox')}
|
||||
<p class="hint" style="display:block">
|
||||
<span>{$input.info_introduction}</span><br />
|
||||
<span>{$input.unidentified}</span><br />
|
||||
<span>{$input.guest}</span><br />
|
||||
<span>{$input.customer}</span><br />
|
||||
</p><br /><br /><br /><br />
|
||||
{/if}</div>
|
||||
{/block}
|
||||