Compare commits
2064 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 8170309cfa | |||
| 8717d76664 | |||
| e58ca980cd | |||
| 4d90475bb1 | |||
| 21069be951 | |||
| 1268bfb92a | |||
| bc016fc498 | |||
| b6b7800c2b | |||
| 66eea2abb5 | |||
| 7d64fa4d60 | |||
| 89286d1b44 | |||
| 45be084be5 | |||
| 8c2a9eb4e8 | |||
| ec0798fe8a | |||
| 1c6b736418 | |||
| 4b9bcd5932 | |||
| e15452ce61 | |||
| f562effdbd | |||
| d92c298178 | |||
| 59de645ec9 | |||
| 1b1a158b6d | |||
| fcc3b4b27d | |||
| a566a2a3d6 | |||
| 54080062f7 | |||
| abd765096a | |||
| bac2f8bd46 | |||
| 7682d57803 | |||
| 6a68b754ce | |||
| 5907fa7806 | |||
| 9ef6ddb636 | |||
| 6263b145fe | |||
| 68b4b1c6bc | |||
| f8750bfafe | |||
| b9de42493c | |||
| 6afacabd7a | |||
| 21e8fabafb | |||
| 983777239f | |||
| 3cde7ea9cd | |||
| 43d56e2faf | |||
| ecc49b160e | |||
| 1259433a28 | |||
| 7fd9e2b3f9 | |||
| 94b88f676e | |||
| f9d982f2dc | |||
| a5d5173438 | |||
| 413a838821 | |||
| 1d115e4c34 | |||
| c67749be7c | |||
| 326b68e490 | |||
| 7a50345060 | |||
| d056b16654 | |||
| ab913b28e5 | |||
| 874f8f23a0 | |||
| 64cdc4aea0 | |||
| f49a1940e5 | |||
| 002556e1bb | |||
| 92d2df2a16 | |||
| aa89627048 | |||
| 5063e03778 | |||
| 92987a0ce3 | |||
| 9d7a798a4c | |||
| e9b908bd4c | |||
| 07856d70db | |||
| 0b176740ab | |||
| b70313b961 | |||
| a1d23ab206 | |||
| bea0732df7 | |||
| 6be0fa412e | |||
| 5e0bcc234d | |||
| 54f2dab85e | |||
| a056a78177 | |||
| 314abcd76c | |||
| 73de37946f | |||
| 54240f00fe | |||
| 5de6e9e268 | |||
| 7c51ccaf88 | |||
| a8de96184b | |||
| 8cd9b92ae5 | |||
| c05b9c6797 | |||
| 5627f75039 | |||
| 3a0862130f | |||
| 2ef5f89bce | |||
| 3409de12d3 | |||
| 5f95dda75d | |||
| 2e9dcf6e80 | |||
| a4ca8031b5 | |||
| 51674b3547 | |||
| 241ddaf652 | |||
| 8714b3253f | |||
| b986f8e005 | |||
| d9e091ff1c | |||
| dad807a267 | |||
| bf6b6cd5ca | |||
| 1cd38d2621 | |||
| 07026f03a5 | |||
| ff367b5642 | |||
| 64b14de8d2 | |||
| 15b4c98b3a | |||
| d562138667 | |||
| 6e56c8f32f | |||
| bb170150c5 | |||
| 78f345fe98 | |||
| c891bbc049 | |||
| 40a3a6ec51 | |||
| f2d8c6c700 | |||
| de544a8be4 | |||
| f4d3ca50f1 | |||
| b8a8eb6e74 | |||
| d16b4bcf1e | |||
| b13cb58eb4 | |||
| 4a4a4a79e5 | |||
| 0d20a7a1db | |||
| f2920c2775 | |||
| 8a5f37be1b | |||
| 732179078e | |||
| 9f9d0fcb15 | |||
| f60b412373 | |||
| 34c23ed3b5 | |||
| 4883a94187 | |||
| 020687d45f | |||
| 91c932f9f9 | |||
| 0ae248a2bc | |||
| eb8f07d510 | |||
| ea66e0076d | |||
| 33f481203b | |||
| 1f615bcc4b | |||
| c01de935dc | |||
| fce0745413 | |||
| 88c10c66ed | |||
| a1a1ea14cc | |||
| 7ffaa9be49 | |||
| 7e03a9b187 | |||
| f6d1badcc8 | |||
| 7e26fbaf4d | |||
| b973003e04 | |||
| ddea6184ef | |||
| 010d4a66f0 | |||
| 749b2d2f57 | |||
| 8dc8455e78 | |||
| 124eb9c676 | |||
| 76e9fa8aa2 | |||
| b5210b376c | |||
| 9b63743dfd | |||
| 11a74c652a | |||
| 29002976ed | |||
| 3f6b317c1b | |||
| af36db31bd | |||
| c3cd9cf40f | |||
| 07186ff3b9 | |||
| 84042be0f3 | |||
| e88d9c39a7 | |||
| c8145aeca4 | |||
| 610a454a1d | |||
| 5afa3b2dd9 | |||
| 2ed626b448 | |||
| 576a9338c0 | |||
| 1785529ea6 | |||
| de4928b0fd | |||
| 08e40dba01 | |||
| 0916e09a04 | |||
| 071edbda7a | |||
| 9a2e5a3053 | |||
| 478c2de557 | |||
| 0a931b8bfe | |||
| 3f61d1b5a3 | |||
| f07898aeae | |||
| 2bdf2f6206 | |||
| e22f837ebc | |||
| 6648b4da8d | |||
| 48e590a257 | |||
| 33df5d5ea7 | |||
| 6a9499b72c | |||
| 118a6eadb9 | |||
| 744bf28826 | |||
| c1bda4b3be | |||
| a73e776822 | |||
| b36947f364 | |||
| 038aa54a2f | |||
| d51002f6fe | |||
| f3b1c0a36b | |||
| 12ba80b447 | |||
| 5e69751519 | |||
| 96c8e763b9 | |||
| a239000042 | |||
| e3c9f3f8ea | |||
| cdbb18038c | |||
| c64a7a55fc | |||
| 380691e0fc | |||
| 670d1cb155 | |||
| 56ba4a183b | |||
| 7da125a4f2 | |||
| e3893f28e3 | |||
| 9ef6be204a | |||
| 84ae5dd342 | |||
| db6cb33b3f | |||
| 9359de0f48 | |||
| 1b290e322f | |||
| f85db2c757 | |||
| c66fd2e3a8 | |||
| ac0236406e | |||
| 1741209cdb | |||
| 9fa90c4183 | |||
| 1a51a9a35b | |||
| efa10195d6 | |||
| ce35fc7311 | |||
| 790abcfc31 | |||
| c99e1f3eb3 | |||
| 3c3f50eaf0 | |||
| 8d6f67508b | |||
| 23a3f50adb | |||
| 0a33e068de | |||
| fb3889e1a6 | |||
| 83515b2b7c | |||
| e3f192430b | |||
| 1209f9695f | |||
| f008bfb5d5 | |||
| 8ab42b0294 | |||
| 87acb76026 | |||
| 402874d24b | |||
| 3ca7fb1ee2 | |||
| 4b5a088b01 | |||
| 3eda780670 | |||
| 3f0e83a7ff | |||
| debbc4480b | |||
| 2afd7e16d2 | |||
| 45a22cf98e | |||
| 53cb367de7 | |||
| fe1b3e7ee9 | |||
| f73379d620 | |||
| 14c318bead | |||
| 5ba2e5e330 | |||
| 9e8421a33c | |||
| 80435eefd5 | |||
| cbef60f9af | |||
| a5a8df50b2 | |||
| 57a5260700 | |||
| 925600d623 | |||
| c8b075f836 | |||
| 791cc22ce0 | |||
| 6394d95fcc | |||
| 2151238e24 | |||
| 5bcabe560d | |||
| bd1436bee8 | |||
| f1a13862d6 | |||
| 132bb576c8 | |||
| 206950d894 | |||
| 182a7ba786 | |||
| b3295892a7 | |||
| 0cf4dd69d0 | |||
| eb82ff8642 | |||
| 82faeec15c | |||
| 9da2d3f127 | |||
| ce4852e1e5 | |||
| 99fc3f45d9 | |||
| a5d024ad84 | |||
| fb02212083 | |||
| cf0a9d02c1 | |||
| e4c9eee04b | |||
| 9136bc5ddb | |||
| cca93f2c6d | |||
| d1afff824a | |||
| 4197ae40dc | |||
| aa35ada6a9 | |||
| 7f3cedeb6c | |||
| 319fcc4c8b | |||
| 4772fad3a3 | |||
| be9e1c1ec1 | |||
| 847d1127d7 | |||
| df075d2d51 | |||
| 7fe9fd241d | |||
| 3f67f95a5c | |||
| d89dbcecc3 | |||
| da352285c2 | |||
| 16f629993b | |||
| 7ce8c790c9 | |||
| bc5fd75a6e | |||
| 904b6ee9ec | |||
| 10ff23f804 | |||
| ecdc4a67db | |||
| e88732e30b | |||
| 7ebff4d7ae | |||
| 4f55989c22 | |||
| 5615dca5c1 | |||
| 558efddd17 | |||
| e26b46ba6f | |||
| 8870ab1daf | |||
| 8c50bee736 | |||
| 131efc02f8 | |||
| 7adda2822f | |||
| c61fb6df53 | |||
| 21bce7a4e4 | |||
| 846eb566c8 | |||
| 1435f340ef | |||
| d23f4c505c | |||
| b7eb4f0a96 | |||
| af56e95330 | |||
| 184be61bb3 | |||
| 9739089c32 | |||
| 03038c4aed | |||
| b36be68154 | |||
| 7f7b7361fb | |||
| ccd7bad05c | |||
| 33426e0d9a | |||
| 781e4ec0e5 | |||
| 7ec00f63d1 | |||
| 34d6f4b9cb | |||
| 9dc2dedc56 | |||
| 8c45f904a0 | |||
| 3be4528c77 | |||
| 569eaf1841 | |||
| 22483a0320 | |||
| 0369213cbb | |||
| a39ec10607 | |||
| a8491d1cc0 | |||
| 5625f92454 | |||
| 1fbf8c1ab4 | |||
| 9ae0bd8726 | |||
| 2d4a9167fa | |||
| 0f27a5b955 | |||
| 8d60520f15 | |||
| 2901a2c80e | |||
| b2293bb146 | |||
| db71e56b85 | |||
| f567b36d0f | |||
| 0b3984f8ca | |||
| 0bbdc8a47b | |||
| 37c92878bc | |||
| 967a025211 | |||
| 703db853f1 | |||
| 3fe2cdabc4 | |||
| 302f820e13 | |||
| 039d19ff97 | |||
| b7eaa19f7e | |||
| 608bc1922b | |||
| 1d888a10d8 | |||
| 2c7cd17ecb | |||
| e5d5443cbe | |||
| 83506695b8 | |||
| 099d5165ba | |||
| 1c6357c1d9 | |||
| ff74e92f0a | |||
| 78087fee18 | |||
| 366d7e5f7b | |||
| 8b74487eac | |||
| 2c688050b6 | |||
| fdb2f11885 | |||
| d8f2908666 | |||
| 22ccb0625b | |||
| 11566e2577 | |||
| c23f882426 | |||
| f1dece04f2 | |||
| 3208810fe6 | |||
| 818ec1b476 | |||
| 113d3a5174 | |||
| d1882d8e77 | |||
| 134c564ae3 | |||
| 3fab234cd9 | |||
| d514b6dc9b | |||
| b50321d328 | |||
| cd726ecb4e | |||
| e82ffe9131 | |||
| 35e6143f5b | |||
| c7aacb77b5 | |||
| 02eee395f6 | |||
| bfcc394fb5 | |||
| a3d42de895 | |||
| 65a9112f08 | |||
| 0d89be2789 | |||
| d9dbb1db75 | |||
| 5b8cb6edb9 | |||
| c6b95a1b51 | |||
| ac0a5b465d | |||
| 9f7622fc6e | |||
| b67ec924c0 | |||
| 8a4b9f7afe | |||
| 558728b031 | |||
| b934cde1d8 | |||
| 52cb7b0bea | |||
| 8a386d2dcb | |||
| ff44291d38 | |||
| 2a21769946 | |||
| 9c823e3cdd | |||
| b274997203 | |||
| 265b61588e | |||
| 2159489ad2 | |||
| acae0cb8aa | |||
| b39c0061a7 | |||
| 5a9ba91f12 | |||
| 840d0476c3 | |||
| 735b3c07c0 | |||
| 1aea427aaa | |||
| cf85d8a712 | |||
| 217ad6106c | |||
| 4325eccc55 | |||
| d1e9dadec8 | |||
| 350f3ec749 | |||
| 93a46c830d | |||
| c05495eade | |||
| 863069f098 | |||
| abfeef382b | |||
| 00c7a1f4b6 | |||
| 494e434a1d | |||
| e47d23bfce | |||
| cd6fa32ec7 | |||
| 4958802ccf | |||
| 359b51d1ea | |||
| b2e21e6ce1 | |||
| 7a30d151e6 | |||
| a15c3ce6eb | |||
| 33cf4fab23 | |||
| b5fca7d839 | |||
| 78294f7085 | |||
| 8018e8057e | |||
| 3eb93e4ad6 | |||
| 6e008f47d9 | |||
| 589ab416da | |||
| c994c25fe1 | |||
| bd7ba6969b | |||
| 8c25b56777 | |||
| 0d16fb2892 | |||
| ddf6aa83bc | |||
| 045ae7c344 | |||
| 709dfb5272 | |||
| 8b7efa75bf | |||
| 291d67d047 | |||
| 1d7aa16dc4 | |||
| 720d8ff457 | |||
| b21f2ad048 | |||
| 563ff8c375 | |||
| e19b1b1e57 | |||
| 85f8326b54 | |||
| 1c0f430600 | |||
| 9522086acc | |||
| f846de7436 | |||
| de4c0733fb | |||
| 85042f653d | |||
| 086230af50 | |||
| d920df5f2a | |||
| 1103425e04 | |||
| 043ed8c17b | |||
| 6743678d0a | |||
| ab949a32fd | |||
| ab58a21ccb | |||
| 4c7e9db289 | |||
| c4ca3d12df | |||
| 643537b640 | |||
| 57ea0d3932 | |||
| 4785e8d645 | |||
| 96f62c4b72 | |||
| 988dd73596 | |||
| 0d0e7f04c5 | |||
| df3a5ce460 | |||
| b2125f0302 | |||
| a03464ada9 | |||
| 249e23bb86 | |||
| b63e0b46c9 | |||
| ee8532a11d | |||
| e9c14379af | |||
| 82abad18ba | |||
| 7ceec49945 | |||
| 42eb6b476c | |||
| a4d97911b1 | |||
| 03083929a1 | |||
| 3dbef1187d | |||
| 658a9af766 | |||
| 2b34be5dc1 | |||
| a164e380c3 | |||
| a8f526a96a | |||
| 0196ee606b | |||
| 441f643fda | |||
| 2227bdc63f | |||
| a04b2af73b | |||
| 10cadb1ef0 | |||
| 76a9ace590 | |||
| 448ba4df1f | |||
| 38f4b196da | |||
| e646dbcce8 | |||
| dae6d476a2 | |||
| a2c5fa87c1 | |||
| 5096c55248 | |||
| 7ced700942 | |||
| b25de8dd7e | |||
| 05dfb8abd4 | |||
| c012fb57e4 | |||
| 24a74a6516 | |||
| 20d9ebd907 | |||
| ebec527630 | |||
| 08a13fcc92 | |||
| 7150ad0ec0 | |||
| 988c9483b8 | |||
| b2a77792d6 | |||
| 0d7b9d119b | |||
| 44511add69 | |||
| 013ac66e62 | |||
| 61d84d563c | |||
| c09956731c | |||
| aa402d73bd | |||
| b9cd6594b7 | |||
| 5dad8f329d | |||
| 820f8a5d94 | |||
| ecfc479c05 | |||
| b7f6ad59d0 | |||
| f6e48114e7 | |||
| 6c09d18d61 | |||
| 70552fb31d | |||
| f6f9324d57 | |||
| c5199f4347 | |||
| 4f2188b12a | |||
| c8e2addee2 | |||
| ef79a74fd6 | |||
| e629ebd5bf | |||
| a2ec21f460 | |||
| 6421cdfc28 | |||
| d26a1057f5 | |||
| 7f5a625e21 | |||
| 2268e14846 | |||
| 17b1f7227d | |||
| a35d136a7a | |||
| 7742cb7f81 | |||
| c502221044 | |||
| 41a0711869 | |||
| 6806cdeab3 | |||
| 6dfdc62f4d | |||
| 5e7d168e5e | |||
| f660c74e76 | |||
| 6887541bdd | |||
| 81832703f2 | |||
| c146fb4251 | |||
| 40e8d5e572 | |||
| ca14d6231b | |||
| 34e6e95d8e | |||
| 37ac5620e0 | |||
| dbd01ba1ad | |||
| 72d347967d | |||
| e01d1de346 | |||
| 2600c7c0a9 | |||
| eaf4c98ae6 | |||
| 93214648e9 | |||
| 853c54aa48 | |||
| 2224bfbc31 | |||
| 0cf96eb8f8 | |||
| af0ff35db8 | |||
| b81429abca | |||
| e2822d339c | |||
| 3b2daa5d3d | |||
| 7514b555c5 | |||
| 74a1896e9f | |||
| 3266384572 | |||
| 4f3903d86d | |||
| 9d5fad8696 | |||
| 209209c592 | |||
| e061ae48d7 | |||
| 4362c38400 | |||
| 8e32a164b2 | |||
| f0ca064723 | |||
| ff1910230a | |||
| 6c74f83968 | |||
| c81ca9b5db | |||
| 89dc009e9a | |||
| 795cb1f5e1 | |||
| 1646906f20 | |||
| 17e69a102e | |||
| a9285d5aaa | |||
| 7d8844037e | |||
| 392ebf0a21 | |||
| c5d46321bc | |||
| c0c4064bb0 | |||
| 6cf15be7f1 | |||
| e044de87b9 | |||
| 91f8db857a | |||
| 8de6eaeed6 | |||
| f12d407acb | |||
| cf28d0a1a7 | |||
| 0d7ae380c9 | |||
| 5ab0595f34 | |||
| 6909d99bc3 | |||
| af2c6ce63e | |||
| 48ce7d8c24 | |||
| 0fb8109745 | |||
| 78a61d9ed7 | |||
| fbd35b5f2f | |||
| 857a8db6d3 | |||
| 266bcd3652 | |||
| 29209bc052 | |||
| 2113badb7d | |||
| acb206d543 | |||
| 0e0e83a453 | |||
| fae14aca88 | |||
| feda3e8a96 | |||
| e317421371 | |||
| fe85516247 | |||
| a749b72c20 | |||
| fb54447d35 | |||
| bf8d795a00 | |||
| 7b1936e7df | |||
| aa65a967ad | |||
| 5921891a22 | |||
| d473ade918 | |||
| 9d481b0b9a | |||
| 6d824dee67 | |||
| 1f88c60d2d | |||
| 90b671a623 | |||
| 2e075adda3 | |||
| 4696d6e4e4 | |||
| f219f3a4c6 | |||
| 6e7f0fea9b | |||
| b8cc100abd | |||
| 8df980fd0d | |||
| a7bee33635 | |||
| 1db3cf3fd5 | |||
| ca23737c04 | |||
| 57b0bd86d4 | |||
| 1969ddb38c | |||
| d452c4dbf8 | |||
| 8ed9c8f807 | |||
| f12b527744 | |||
| 4bbcd581c2 | |||
| 64a33ba694 | |||
| 4e42a7fa2a | |||
| 5865dd7cf7 | |||
| f98e8181d5 | |||
| 32ab792e18 | |||
| 35c50157f5 | |||
| 0f1405e426 | |||
| 59084c0242 | |||
| aa4bc4cad0 | |||
| 4ce3b043cb | |||
| 6699733ec6 | |||
| 6933ecd5cf | |||
| e9520566d1 | |||
| fea0ab635d | |||
| 7088b1b595 | |||
| bfe21a0bc4 | |||
| ef396cabc6 | |||
| a21cd6cd4a | |||
| 1d2906b4ea | |||
| 13e49671ff | |||
| 2bfc7fd2a5 | |||
| 8055c12af9 | |||
| 87991da1cc | |||
| ec8c716292 | |||
| 87ad43efb9 | |||
| a788bdd930 | |||
| e0a7f0e7cf | |||
| 381f399f45 | |||
| a185fd3b0a | |||
| ff76996150 | |||
| e00341fd6e | |||
| 54526def45 | |||
| 47b01211de | |||
| 9127b816a8 | |||
| 1920d8d20b | |||
| 47fc3efde5 | |||
| fdbc4ae6af | |||
| be2ee1b8da | |||
| c869ca4550 | |||
| e9c83be015 | |||
| 7e52ee8a7b | |||
| 1c069ae97f | |||
| 368d3f0371 | |||
| 1a82a98ab5 | |||
| a846758c00 | |||
| f9af2abea1 | |||
| 2a9086b04c | |||
| 5433ebcbde | |||
| 0011e7b050 | |||
| db8670ec24 | |||
| f38edb7c61 | |||
| 3fb27b0b58 | |||
| 53d4262cbf | |||
| 5fcd8d762e | |||
| 78737aec07 | |||
| d8ff3c5b34 | |||
| 8b8b09452d | |||
| 5d87df0942 | |||
| c956b2300a | |||
| c5994e8c2f | |||
| a8193f0cff | |||
| 63dad9369e | |||
| 83ad81fcf0 | |||
| 6e2a3be4d7 | |||
| 86f52585e2 | |||
| 42b799a373 | |||
| ec297e7949 | |||
| 4c22a06ca0 | |||
| 57e8e44e08 | |||
| 1da2c7ff5b | |||
| 7492cd60f8 | |||
| f6cdc90da5 | |||
| 9059708533 | |||
| 5f8843de0b | |||
| f00fe31fcc | |||
| 71882a4f77 | |||
| b135dd18a1 | |||
| 36202ceff8 | |||
| 093e396b68 | |||
| ad1fd29cea | |||
| 3b5be15831 | |||
| ef414f7457 | |||
| 09f0c67cd9 | |||
| d14b8f1db0 | |||
| b8de333b30 | |||
| d6b2cdeab1 | |||
| dd3f0031b6 | |||
| f974830041 | |||
| 6c6aeb7aed | |||
| cc39c8fe15 | |||
| f0065f2ced | |||
| c0523a2f74 | |||
| 425844e717 | |||
| e8d6600aa9 | |||
| c70af3ff5f | |||
| ef6046f1f0 | |||
| 64752e943c | |||
| 3cafc17467 | |||
| f4ba2ee200 | |||
| 61e3c925c3 | |||
| 27b9f6bb94 | |||
| a8c57333d5 | |||
| 327a412fb8 | |||
| 47980aea1f | |||
| bd23c8c433 | |||
| 6ca5f52df3 | |||
| 201c193dd4 | |||
| 0e6fd83ec2 | |||
| dc541e797e | |||
| 81e8f90244 | |||
| c717822c5c | |||
| 41d22576a2 | |||
| d13ecd75af | |||
| 4af34a28b3 | |||
| 1739b144c0 | |||
| 4921c53f35 | |||
| bed3d6a3b2 | |||
| 605d05f5d0 | |||
| 84035510b5 | |||
| 2204ae9d2a | |||
| 9b780a4df3 | |||
| fae7c6d1b6 | |||
| 9dbae21ddc | |||
| 51502a8449 | |||
| 6fb6b29a05 | |||
| b8f6ff16a6 | |||
| a9b4c401bb | |||
| 832dc339ab | |||
| 0de351e25d | |||
| 168c5c2015 | |||
| 008a2127e0 | |||
| ae0f06946c | |||
| 0dda375bd6 | |||
| 87fd511314 | |||
| c5bd068892 | |||
| c5eafd327f | |||
| 8e277e6e17 | |||
| a2138c2e4c | |||
| 744e398a19 | |||
| 81d1c15519 | |||
| e5b88d37d1 | |||
| 32d38e8f87 | |||
| ec804c1f4c | |||
| 71e2fbff16 | |||
| 7c14a5c8e3 | |||
| 71033714c8 | |||
| 18b9b70441 | |||
| 50861653d5 | |||
| 4da68cbf7b | |||
| 52dea8f355 | |||
| e92c1b5849 | |||
| 50457dec2b | |||
| f13e348dcb | |||
| 925c1245e3 | |||
| e6a58a51d8 | |||
| 9cd20fedb1 | |||
| 71ca343035 | |||
| 921a0fadf4 | |||
| 890b9e43eb | |||
| f6c6373a5b | |||
| df68c5975d | |||
| 0a19ce940c | |||
| f86c8818c7 | |||
| 7c21057dc9 | |||
| 499f1816a3 | |||
| cff0477c01 | |||
| db43c28ed2 | |||
| 2c9bd617d6 | |||
| cd360a2ffb | |||
| 5b83729d8e | |||
| b8f8a441d6 | |||
| a944aea411 | |||
| c81f836478 | |||
| 87502c1173 | |||
| 4363af7992 | |||
| acac911f79 | |||
| 568c073582 | |||
| 7b9b511181 | |||
| 9ed427152d | |||
| ee08f88948 | |||
| 8f31d01440 | |||
| a1eb20009a | |||
| 0187d7b498 | |||
| 22d0737fd9 | |||
| 8001df3522 | |||
| b0791f2f31 | |||
| f6235d99d6 | |||
| 079954fb15 | |||
| 77e2df9627 | |||
| db989ce7d7 | |||
| a880921e7a | |||
| 9d7ec6da61 | |||
| 4ab6988b63 | |||
| 80ce978c27 | |||
| 6f46c6ae0c | |||
| c6040b9f12 | |||
| f1dabc398e | |||
| 099c3502be | |||
| 0787c21bd9 | |||
| 402678e118 | |||
| 76bc20a9ab | |||
| b2ba9f4519 | |||
| e318ef18ce | |||
| 6b47a49885 | |||
| 7a655974d8 | |||
| e5535f61c0 | |||
| 302ab96db8 | |||
| 0a0f4d1a0a | |||
| dc63ebd9a4 | |||
| 3a41390d39 | |||
| 00510196f1 | |||
| b9a0f1b71f | |||
| 52ebbe0130 | |||
| ee6cf547f4 | |||
| 227fa72e84 | |||
| 5a20f8f048 | |||
| 138b7661cf | |||
| 3cdce47fca | |||
| 97b84fe044 | |||
| 1b0f925166 | |||
| ab2ebc3853 | |||
| cd6acd8a0e | |||
| f6a3c09825 | |||
| 62071bde81 | |||
| 5a1e8cbf9c | |||
| 4e1c804bc0 | |||
| da301372b9 | |||
| a2eb4fc64d | |||
| 9508211a9a | |||
| 0abdd4269e | |||
| bdad515233 | |||
| 1eca096b9b | |||
| 15b9644aec | |||
| 8305215fbc | |||
| 184a0a8d68 | |||
| 3adb20e946 | |||
| 845b067d6e | |||
| 631309d2d2 | |||
| c5390b036f | |||
| a1534b9165 | |||
| 55ec3997a2 | |||
| 5c97d70002 | |||
| d27a18a71d | |||
| 397d9c6e80 | |||
| 36c92fb84f | |||
| 819f80da42 | |||
| 494205d52e | |||
| c5519c7b70 | |||
| e9a190ff0a | |||
| 5ae13861be | |||
| a58bd0bc74 | |||
| 1fec4e23ea | |||
| ff2b413a48 | |||
| 293e245e6b | |||
| c3aa2dd571 | |||
| f5090e034f | |||
| 7d91e1bb50 | |||
| def3cac8a0 | |||
| c01c61f4a8 | |||
| af3107f454 | |||
| dbce129c44 | |||
| 566f10681a | |||
| d0fc5ef84c | |||
| 67d7e4ebaa | |||
| 82fa9bba37 | |||
| fe439c6a1b | |||
| 4e07ff3602 | |||
| c75cbf4955 | |||
| 96f8878aa5 | |||
| 1f7a76fc04 | |||
| 115518aac5 | |||
| ac0921fa47 | |||
| f8004dd6eb | |||
| 232ff76928 | |||
| f5da0b62c2 | |||
| 995522c3d0 | |||
| f33d42c0e5 | |||
| e155f70095 | |||
| 2d1467a5aa | |||
| 38f959db9a | |||
| ecc1a41e30 | |||
| 253531415f | |||
| 4f1948cc1c | |||
| bef0350b0a | |||
| 7bd3fddc70 | |||
| e5cad60084 | |||
| a6acc82e34 | |||
| cb02fc29d4 | |||
| 743fc2d2b8 | |||
| d3f8c6b28a | |||
| 4d82d9dbe5 | |||
| 0f6acac512 | |||
| f98db640c5 | |||
| d47c13de32 | |||
| 6748479a85 | |||
| 22f661d751 | |||
| 4ab0776e19 | |||
| 0a36981c3a | |||
| 2b09b1ed4e | |||
| 74f0323419 | |||
| 2ff0415e7a | |||
| 870e8e685e | |||
| 204f331ae2 | |||
| 4017f3f60b | |||
| 25818d2c37 | |||
| 7dd1319df1 | |||
| 43be16a803 | |||
| ff68f9b47c | |||
| c6f10b628c | |||
| 7eb31e07ea | |||
| b10b283da1 | |||
| cb343e1e6f | |||
| 229c88838d | |||
| 7cf37df1f6 | |||
| 8768ba8225 | |||
| 1a8d88c91b | |||
| 76f9ff73df | |||
| 6c12806a8f | |||
| 2e54666e06 | |||
| 5d11a7438f | |||
| 5debfaaac8 | |||
| ad2a7f12b2 | |||
| 8c5b03b55d | |||
| 465dd6cec2 | |||
| f9281afe9f | |||
| b6392ef29c | |||
| 6f8f5ae3db | |||
| 7564598f5e | |||
| b62049e8ce | |||
| af6e078a98 | |||
| da17791f3c | |||
| 0d1c6fc8fd | |||
| 9c1537bc15 | |||
| 6f07431542 | |||
| 9600128885 | |||
| bc631a0e42 | |||
| e20374e6f7 | |||
| 8fa12fda5b | |||
| a745ed89f4 | |||
| 8e5a548826 | |||
| 5b346973b0 | |||
| 111c99d85d | |||
| 9393b62dcc | |||
| a812a474f6 | |||
| a573f8c239 | |||
| f75fa48f72 | |||
| b40583eec2 | |||
| ffa419d8cd | |||
| 3df853345f | |||
| 38793a54d2 | |||
| 4277196d14 | |||
| d1ddd006ff | |||
| 07207496d7 | |||
| 6f39d725b2 | |||
| 50e4dff4e5 | |||
| d56b86297c | |||
| 4e9e2c0676 | |||
| 8c2c9507cf | |||
| 273328b8b3 | |||
| 30aa671a5d | |||
| 1c8d3283a1 | |||
| 93dd0f1472 | |||
| 16961d8a2d | |||
| b22394a42f | |||
| 347e5ba45b | |||
| e7e22788e7 | |||
| 2e09799884 | |||
| 05b9584986 | |||
| 9ac97aac36 | |||
| f1a5aa7720 | |||
| cdd0285152 | |||
| 04455420e0 | |||
| 4431647e74 | |||
| b3e6a84cf5 | |||
| 9ff33d65cf | |||
| 1e827f9465 | |||
| 0b83996b74 | |||
| a3d8def0a6 | |||
| 99eccea21f | |||
| f64d1dfd1a | |||
| 868d94c61b | |||
| 597c7dbb33 | |||
| 28f7d8b664 | |||
| d83e4e7d8d | |||
| 155e0ef4a6 | |||
| 3ce9a8705c | |||
| 111882b8ac | |||
| c698ae5210 | |||
| deec59c659 | |||
| cc0d828205 | |||
| 10f1da2bc9 | |||
| 97443c2591 | |||
| 73c59ebe1c | |||
| 45627096c2 | |||
| 00ad6f28db | |||
| 92b2d682f1 | |||
| c07fb96831 | |||
| 504d94ff90 | |||
| 3d54800f89 | |||
| d322d6cbf5 | |||
| 58433f1881 | |||
| 9033c9c294 | |||
| ac85d6166f | |||
| e0a445964e | |||
| c83d236996 | |||
| 1512e78704 | |||
| 45c0e316d0 | |||
| 9509cc987e | |||
| b52e6a7b32 | |||
| f018f18c36 | |||
| bc2c8f97d8 | |||
| e3ccdae6d2 | |||
| af0a718747 | |||
| 364bf9c9ea | |||
| fd48572a94 | |||
| 26ec47eab1 | |||
| 76f1f380a3 | |||
| 6fa4014e19 | |||
| c5814c32fd | |||
| 981880e27e | |||
| 78aabf68d8 | |||
| 2ff9e1f6e3 | |||
| 935fa0a97c | |||
| f171d12131 | |||
| 55de25f4f2 | |||
| 0d4ff730bf | |||
| 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 |
@@ -25,11 +25,14 @@
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
/**
|
||||
* This file will be removed in 1.6
|
||||
* You have to use index.php?controller=page_name instead of this page
|
||||
*
|
||||
* @deprecated 1.5.0
|
||||
*/
|
||||
|
||||
require(dirname(__FILE__).'/config/config.inc.php');
|
||||
Tools::displayFileAsDeprecated();
|
||||
|
||||
// init front controller in order to use Tools::redirect
|
||||
$controller = new FrontController();
|
||||
$controller->init();
|
||||
|
||||
Tools::redirect('index.php?controller=address'.(($_SERVER['QUERY_STRING']) ? '&'.$_SERVER['QUERY_STRING'] : ''));
|
||||
Tools::redirect('index.php?controller=address'.($_REQUEST ? '&'.http_build_query($_REQUEST) : ''), __PS_BASE_URI__, null, 'HTTP/1.1 301 Moved Permanently');
|
||||
@@ -25,11 +25,14 @@
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
/**
|
||||
* This file will be removed in 1.6
|
||||
* You have to use index.php?controller=page_name instead of this page
|
||||
*
|
||||
* @deprecated 1.5.0
|
||||
*/
|
||||
|
||||
require(dirname(__FILE__).'/config/config.inc.php');
|
||||
Tools::displayFileAsDeprecated();
|
||||
|
||||
// init front controller in order to use Tools::redirect
|
||||
$controller = new FrontController();
|
||||
$controller->init();
|
||||
|
||||
Tools::redirect('index.php?controller=addresses'.(($_SERVER['QUERY_STRING']) ? '&'.$_SERVER['QUERY_STRING'] : ''));
|
||||
Tools::redirect('index.php?controller=addresses'.($_REQUEST ? '&'.http_build_query($_REQUEST) : ''), __PS_BASE_URI__, null, 'HTTP/1.1 301 Moved Permanently');
|
||||
@@ -38,6 +38,5 @@ if (!isset($_REQUEST['controller']) && isset($_REQUEST['tab']))
|
||||
$_REQUEST['controller'] = strtolower($_REQUEST['tab']);
|
||||
// Retrocompatibility with 1.4
|
||||
$_REQUEST['ajaxMode'] = $_POST['ajaxMode'] = $_GET['ajaxMode'] = $_REQUEST['ajax'] = $_POST['ajax'] = $_GET['ajax'] = 1;
|
||||
|
||||
Dispatcher::getInstance()->setControllerDirectories(array(_PS_ADMIN_DIR_.'/tabs/', _PS_ADMIN_CONTROLLER_DIR_));
|
||||
|
||||
Dispatcher::getInstance()->dispatch();
|
||||
@@ -71,124 +71,14 @@ function displayJavascriptAlert($s)
|
||||
echo '<script type="text/javascript">alert(\''.addslashes($s).'\');</script>';
|
||||
}
|
||||
|
||||
if (Tools::isSubmit('ajaxProductManufacturers'))
|
||||
{
|
||||
AdminTab::$currentIndex = 'index.php?tab=AdminCatalog';
|
||||
$manufacturers = Manufacturer::getManufacturers();
|
||||
if ($manufacturers)
|
||||
{
|
||||
$jsonArray = array();
|
||||
foreach ($manufacturers AS $manufacturer)
|
||||
$jsonArray[] = '{"optionValue": "'.$manufacturer['id_manufacturer'].'", "optionDisplay": "'.htmlspecialchars(trim($manufacturer['name'])).'"}';
|
||||
die('['.implode(',', $jsonArray).']');
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
if (Tools::isSubmit('ajaxReferrers'))
|
||||
{
|
||||
require(_PS_CONTROLLER_DIR_.'admin/AdminReferrersController.php');
|
||||
}
|
||||
|
||||
if (Tools::isSubmit('ajaxProductSuppliers'))
|
||||
{
|
||||
AdminTab::$currentIndex = 'index.php?tab=AdminCatalog';
|
||||
$suppliers = Supplier::getSuppliers();
|
||||
if ($suppliers)
|
||||
{
|
||||
$jsonArray = array();
|
||||
foreach ($suppliers AS $supplier)
|
||||
$jsonArray[] = '{"optionValue": "'.$supplier['id_supplier'].'", "optionDisplay": "'.htmlspecialchars(trim($supplier['name'])).'"}';
|
||||
die('['.implode(',', $jsonArray).']');
|
||||
}
|
||||
}
|
||||
|
||||
if (Tools::isSubmit('ajaxProductAccessories'))
|
||||
{
|
||||
AdminTab::$currentIndex = 'index.php?tab=AdminCatalog';
|
||||
$jsonArray = array();
|
||||
|
||||
$products = Db::getInstance()->executeS('
|
||||
SELECT p.`id_product`, pl.`name`
|
||||
FROM `'._DB_PREFIX_.'product` p
|
||||
NATURAL LEFT JOIN `'._DB_PREFIX_.'product_lang` pl
|
||||
WHERE pl.`id_lang` = '.(int)(Tools::getValue('id_lang')).'
|
||||
'.Context::getContext()->shop->addSqlRestrictionOnLang('pl').'
|
||||
AND p.`id_product` != '.(int)(Tools::getValue('id_product')).'
|
||||
AND p.`id_product` NOT IN (
|
||||
SELECT a.`id_product_2`
|
||||
FROM `'._DB_PREFIX_.'accessory` a
|
||||
WHERE a.`id_product_1` = '.(int)(Tools::getValue('id_product')).')
|
||||
ORDER BY pl.`name`');
|
||||
|
||||
foreach ($products AS $accessory)
|
||||
$jsonArray[] = '{"value: "'.(int)($accessory['id_product']).'-'.addslashes($accessory['name']).'", "text":"'.(int)($accessory['id_product']).' - '.addslashes($accessory['name']).'"}';
|
||||
die('['.implode(',', $jsonArray).']');
|
||||
}
|
||||
|
||||
if (Tools::isSubmit('ajaxDiscountCustomers'))
|
||||
{
|
||||
AdminTab::$currentIndex = 'index.php?tab=AdminDiscounts';
|
||||
$jsonArray = array();
|
||||
$filter = Tools::getValue('filter');
|
||||
|
||||
if (Validate::isBool_Id($filter))
|
||||
$filterArray = explode('_', $filter);
|
||||
|
||||
$customers = Db::getInstance()->executeS('
|
||||
SELECT `id_customer`, `email`, CONCAT(`lastname`, \' \', `firstname`) as name
|
||||
FROM `'._DB_PREFIX_.'customer`
|
||||
WHERE `deleted` = 0 AND is_guest = 0
|
||||
AND '.(Validate::isUnsignedInt($filter) ? '`id_customer` = '.(int)($filter) : '(`email` LIKE "%'.pSQL($filter).'%"
|
||||
'.((Validate::isBool_Id($filter) AND $filterArray[0] == 0) ? 'OR `id_customer` = '.(int)($filterArray[1]) : '').'
|
||||
'.(Validate::isUnsignedInt($filter) ? '`id_customer` = '.(int)($filter) : '').'
|
||||
OR CONCAT(`firstname`, \' \', `lastname`) LIKE "%'.pSQL($filter).'%"
|
||||
OR CONCAT(`lastname`, \' \', `firstname`) LIKE "%'.pSQL($filter).'%")').'
|
||||
ORDER BY CONCAT(`lastname`, \' \', `firstname`) ASC
|
||||
LIMIT 50');
|
||||
|
||||
$groups = Db::getInstance()->executeS('
|
||||
SELECT g.`id_group`, gl.`name`
|
||||
FROM `'._DB_PREFIX_.'group` g
|
||||
LEFT JOIN `'._DB_PREFIX_.'group_lang` AS gl ON (g.`id_group` = gl.`id_group` AND gl.`id_lang` = '.(int)($context->language->id).')
|
||||
WHERE '.(Validate::isUnsignedInt($filter) ? 'g.`id_group` = '.(int)($filter) : 'gl.`name` LIKE "%'.pSQL($filter).'%"
|
||||
'.((Validate::isBool_Id($filter) AND $filterArray[0] == 1) ? 'OR g.`id_group` = '.(int)($filterArray[1]) : '')).'
|
||||
ORDER BY gl.`name` ASC
|
||||
LIMIT 50');
|
||||
|
||||
$json = '{"customers" : ';
|
||||
foreach ($customers AS $customer)
|
||||
$jsonArray[] = '{"value":"0_'.(int)($customer['id_customer']).'", "text":"'.addslashes($customer['name']).' ('.addslashes($customer['email']).')"}';
|
||||
$json .= '['.implode(',', $jsonArray).'],
|
||||
"groups" : ';
|
||||
$jsonArray = array();
|
||||
foreach ($groups AS $group)
|
||||
$jsonArray[] = '{"value":"1_'.(int)($group['id_group']).'", "text":"'.addslashes($group['name']).'"}';
|
||||
$json .= '['.implode(',', $jsonArray).']}';
|
||||
die($json);
|
||||
}
|
||||
|
||||
if (Tools::getValue('page') == 'prestastore' AND @fsockopen('addons.prestashop.com', 80, $errno, $errst, 3))
|
||||
readfile('http://addons.prestashop.com/adminmodules.php?lang='.$context->language->iso_code);
|
||||
|
||||
if ($step = (int)(Tools::getValue('ajaxProductTab')))
|
||||
{
|
||||
require_once(dirname(__FILE__).'/tabs/AdminCatalog.php');
|
||||
$catalog = new AdminCatalog();
|
||||
$admin = new AdminProducts();
|
||||
|
||||
$languages = Language::getLanguages(false);
|
||||
$defaultLanguage = (int)(Configuration::get('PS_LANG_DEFAULT'));
|
||||
$product = new Product((int)(Tools::getValue('id_product')));
|
||||
if (!Validate::isLoadedObject($product))
|
||||
die (Tools::displayError('Product cannot be loaded'));
|
||||
|
||||
$switchArray = array(3 => 'displayFormPrices', 4 => 'displayFormAttributes', 5 => 'displayFormFeatures', 6 => 'displayFormCustomization', 7 => 'displayFormAttachments');
|
||||
AdminTab::$currentIndex = 'index.php?tab=AdminCatalog';
|
||||
if (key_exists($step, $switchArray))
|
||||
$admin->{$switchArray[$step]}($product, $languages, $defaultLanguage);
|
||||
}
|
||||
|
||||
if (Tools::isSubmit('getAvailableFields') AND Tools::isSubmit('entity'))
|
||||
{
|
||||
$jsonArray = array();
|
||||
@@ -240,7 +130,7 @@ if (Tools::isSubmit('ajaxCategoriesPositions'))
|
||||
{
|
||||
if (isset($position) && $category->updatePosition($way, $position))
|
||||
{
|
||||
Hook::exec('categoryUpdate');
|
||||
Hook::exec('actionCategoryUpdate');
|
||||
die(true);
|
||||
}
|
||||
else
|
||||
@@ -325,11 +215,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;
|
||||
}
|
||||
@@ -543,18 +433,6 @@ if (Tools::isSubmit('toggleScreencast'))
|
||||
}
|
||||
}
|
||||
|
||||
if (Tools::isSubmit('helpAccess'))
|
||||
{
|
||||
$item = Tools::getValue('item');
|
||||
$isoUser = Tools::getValue('isoUser');
|
||||
$country = Tools::getValue('country');
|
||||
$version = Tools::getValue('version');
|
||||
|
||||
if (isset($item) AND isset($isoUser) AND isset($country))
|
||||
die(HelpAccess::displayHelp($item, $isoUser, $country, $version));
|
||||
die('{nohelp}');
|
||||
}
|
||||
|
||||
if (Tools::isSubmit('getHookableList'))
|
||||
{
|
||||
/* PrestaShop demo mode */
|
||||
@@ -562,11 +440,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 +499,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 +554,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 +586,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 +594,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 +605,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];
|
||||
@@ -733,9 +617,9 @@ if (Tools::isSubmit('getAdminHomeElement'))
|
||||
die(Tools::jsonEncode($result));
|
||||
}
|
||||
|
||||
if (Tools::isSubmit('getChildrenCategories') && Tools::getValue('id_category_parent'))
|
||||
if (Tools::isSubmit('getChildrenCategories') && Tools::isSubmit('id_category_parent'))
|
||||
{
|
||||
$children_categories = Category::getChildrenWithNbSelectedSubCat(Tools::getValue('id_category_parent'), Tools::getValue('selectedCat'), Context::getContext()->language->id);
|
||||
$children_categories = Category::getChildrenWithNbSelectedSubCat(Tools::getValue('id_category_parent'), Tools::getValue('selectedCat'), Context::getContext()->language->id, null, Tools::getValue('use_shop_context'));
|
||||
die(Tools::jsonEncode($children_categories));
|
||||
}
|
||||
|
||||
@@ -854,11 +738,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 +770,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 +802,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 +829,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 +880,16 @@ 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));
|
||||
}
|
||||
|
||||
|
||||
@@ -1,83 +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: 6844 $
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
define('_PS_ADMIN_DIR_', getcwd());
|
||||
include_once('../config/config.inc.php');
|
||||
include_once('tabs/AdminCatalog.php');
|
||||
include_once('tabs/AdminProducts.php');
|
||||
include_once('init.php');
|
||||
|
||||
if (Tools::getValue('token') != Tools::getAdminTokenLite('AdminCatalog'))
|
||||
die(1);
|
||||
|
||||
$catalog = new AdminCatalog();
|
||||
$adminProducts = new AdminProducts();
|
||||
|
||||
echo ' <tr>
|
||||
<td class="col-left"><label for="id_category_default" class="t">'.$adminProducts->getL('Default category:').'</label></td>
|
||||
<td>
|
||||
<select id="id_category_default" name="id_category_default" onchange="checkDefaultCategory(this.value);">';
|
||||
$categories = Category::getCategories(Context::getContext()->language->id, false);
|
||||
Category::recurseCategory($categories, $categories[0][1], 1, (int)(Tools::getValue('id_category_default')));
|
||||
echo ' </select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="col-left">'.$adminProducts->getL('Catalog:').'</td>
|
||||
<td>
|
||||
<div style="overflow: auto; min-height: 300px; padding-top: 0.6em;" id="categoryList">
|
||||
<script type="text/javascript">
|
||||
$(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.'))).'\');
|
||||
});
|
||||
});
|
||||
</script>
|
||||
<table cellspacing="0" cellpadding="0" class="table">
|
||||
<tr>
|
||||
<th><input type="checkbox" name="checkme" class="noborder" onclick="checkDelBoxes(this.form, \'categoryBox[]\', this.checked)" /></th>
|
||||
<th>'.$adminProducts->getL('ID').'</th>
|
||||
<th style="width: 600px">'.$adminProducts->getL('Name').'</th>
|
||||
</tr>';
|
||||
$done = array();
|
||||
$index = array();
|
||||
|
||||
$categoryBox = Tools::getValue('categoryBox');
|
||||
if ($categoryBox != '')
|
||||
{
|
||||
$categoryBox = @unserialize($categoryBox);
|
||||
foreach ($categoryBox AS $k => $row)
|
||||
$index[] = $row;
|
||||
}
|
||||
elseif ((int)Tools::getValue('id_product'))
|
||||
$index = Product::getProductCategories((int)Tools::getValue('id_product'));
|
||||
$adminProducts->recurseCategoryForInclude((int)(Tools::getValue('id_product')), $index, $categories, $categories[0][1], 1, (int)(Tools::getValue('id_category_default')));
|
||||
echo ' </table>
|
||||
<p style="padding:0px; margin:0px 0px 10px 0px;">'.$adminProducts->getL('Mark all checkbox(es) of categories in which product is to appear').'<sup> *</sup></p>
|
||||
</div>
|
||||
</tr>';
|
||||
@@ -1,50 +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: 6844 $
|
||||
* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0)
|
||||
* International Registered Trademark & Property of PrestaShop SA
|
||||
*/
|
||||
|
||||
define('_PS_ADMIN_DIR_', getcwd());
|
||||
include(_PS_ADMIN_DIR_.'/../config/config.inc.php');
|
||||
/* Getting cookie or logout */
|
||||
require_once(dirname(__FILE__).'/init.php');
|
||||
|
||||
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))
|
||||
{
|
||||
// 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']);
|
||||
|
||||
if ($lang_packs !== '' && Tools::jsonDecode($lang_packs) !== NULL)
|
||||
{
|
||||
echo $lang_packs;
|
||||
}
|
||||
else
|
||||
die('fail:2');
|
||||
}
|
||||
else
|
||||
die('offline');
|
||||
@@ -30,18 +30,19 @@ include_once(dirname(__FILE__).'/../config/config.inc.php');
|
||||
/* Getting cookie or logout */
|
||||
require_once(dirname(__FILE__).'/init.php');
|
||||
|
||||
$smtpChecked = (trim($_GET['mailMethod']) == 'smtp');
|
||||
$smtpServer = $_GET['smtpSrv'];
|
||||
$content = $_GET['testMsg'];
|
||||
$subject = $_GET['testSubject'];
|
||||
$smtpChecked = (trim($_POST['mailMethod']) == 'smtp');
|
||||
$smtpServer = $_POST['smtpSrv'];
|
||||
$content = urldecode($_POST['testMsg']);
|
||||
$subject = urldecode($_POST['testSubject']);
|
||||
$type = 'text/html';
|
||||
$to = $_GET['testEmail'];
|
||||
$to = $_POST['testEmail'];
|
||||
$from = Configuration::get('PS_SHOP_EMAIL');
|
||||
$smtpLogin = $_GET['smtpLogin'];
|
||||
$smtpPassword = $_GET['smtpPassword'];
|
||||
$smtpPort = $_GET['smtpPort'];
|
||||
$smtpEncryption = $_GET['smtpEnc'];
|
||||
$smtpLogin = $_POST['smtpLogin'];
|
||||
$smtpPassword = (!empty($_POST['smtpPassword'])) ? urldecode($_POST['smtpPassword']) : Configuration::get('PS_MAIL_PASSWD');
|
||||
$smtpPort = $_POST['smtpPort'];
|
||||
$smtpEncryption = $_POST['smtpEnc'];
|
||||
|
||||
$result = Mail::sendMailTest(Tools::htmlentitiesUTF8($smtpChecked), Tools::htmlentitiesUTF8($smtpServer), Tools::htmlentitiesUTF8($content), Tools::htmlentitiesUTF8($subject), Tools::htmlentitiesUTF8($type), Tools::htmlentitiesUTF8($to), Tools::htmlentitiesUTF8($from), Tools::htmlentitiesUTF8($smtpLogin), Tools::htmlentitiesUTF8($smtpPassword), Tools::htmlentitiesUTF8($smtpPort), Tools::htmlentitiesUTF8($smtpEncryption));
|
||||
die($result === true ? 'ok' : $result);
|
||||
|
||||
|
||||
|
||||
@@ -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� 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� SILVA DOWNLOAD CODE
|
||||
// END ANDRE SILVA DOWNLOAD CODE
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
@@ -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();
|
||||
}
|
||||
@@ -27,7 +27,7 @@
|
||||
|
||||
echo ' </div>
|
||||
</div>
|
||||
'.Hook::exec('backOfficeFooter').'
|
||||
'.Hook::exec('displayBackOfficeFooter').'
|
||||
<div id="footer">
|
||||
<div style="float:left;margin-left:10px;padding-top:6px">
|
||||
<a href="http://www.prestashop.com/" target="_blank" style="font-weight:700;color:#666666">PrestaShop™ '._PS_VERSION_.'</a><br />
|
||||
|
||||
@@ -30,7 +30,7 @@ require_once(dirname(__FILE__).'/../images.inc.php');
|
||||
function bindDatepicker($id, $time)
|
||||
{
|
||||
if ($time)
|
||||
echo '
|
||||
echo '
|
||||
var dateObj = new Date();
|
||||
var hours = dateObj.getHours();
|
||||
var mins = dateObj.getMinutes();
|
||||
@@ -42,7 +42,7 @@ function bindDatepicker($id, $time)
|
||||
|
||||
echo '
|
||||
$(function() {
|
||||
$("#'.$id.'").datepicker({
|
||||
$("#'.Tools::htmlentitiesUTF8($id).'").datepicker({
|
||||
prevText:"",
|
||||
nextText:"",
|
||||
dateFormat:"yy-mm-dd"'.($time ? '+time' : '').'});
|
||||
@@ -62,7 +62,7 @@ function includeDatepicker($id, $time = false)
|
||||
echo '<script type="text/javascript" src="'.__PS_BASE_URI__.'js/jquery/jquery-ui-1.8.10.custom.min.js"></script>';
|
||||
$iso = Db::getInstance()->getValue('SELECT iso_code FROM '._DB_PREFIX_.'lang WHERE `id_lang` = '.(int)Context::getContext()->language->id);
|
||||
if ($iso != 'en')
|
||||
echo '<script type="text/javascript" src="'.__PS_BASE_URI__.'js/jquery/ui/i18n/jquery.ui.datepicker-'.$iso.'.js"></script>';
|
||||
echo '<script type="text/javascript" src="'.__PS_BASE_URI__.'js/jquery/ui/i18n/jquery.ui.datepicker-'.Tools::htmlentitiesUTF8($iso).'.js"></script>';
|
||||
echo '<script type="text/javascript">';
|
||||
if (is_array($id))
|
||||
foreach ($id as $id2)
|
||||
@@ -93,7 +93,6 @@ function rewriteSettingsFile($baseUrls = NULL, $theme = NULL, $arrayDB = NULL)
|
||||
$defines['_DB_USER_'] = (($arrayDB AND isset($arrayDB['_DB_USER_'])) ? $arrayDB['_DB_USER_'] : _DB_USER_);
|
||||
$defines['_DB_PREFIX_'] = (($arrayDB AND isset($arrayDB['_DB_PREFIX_'])) ? $arrayDB['_DB_PREFIX_'] : _DB_PREFIX_);
|
||||
$defines['_DB_PASSWD_'] = (($arrayDB AND isset($arrayDB['_DB_PASSWD_'])) ? $arrayDB['_DB_PASSWD_'] : _DB_PASSWD_);
|
||||
$defines['_DB_TYPE_'] = (($arrayDB AND isset($arrayDB['_DB_TYPE_'])) ? $arrayDB['_DB_TYPE_'] : _DB_TYPE_);
|
||||
$defines['_COOKIE_KEY_'] = addslashes(_COOKIE_KEY_);
|
||||
$defines['_COOKIE_IV_'] = addslashes(_COOKIE_IV_);
|
||||
if (defined('_RIJNDAEL_KEY_'))
|
||||
@@ -162,9 +161,9 @@ function getPath($urlBase, $id_category, $path = '', $highlight = '', $categoryT
|
||||
$nCategories = (int)sizeof($categories);
|
||||
foreach ($categories AS $category)
|
||||
{
|
||||
$edit = '<a href="'.$urlBase.'&id_category='.(int)$category['id_category'].'&'.(($category['id_category'] == 1 || $home) ? 'viewcategory' : 'addcategory').'&token='.Tools::getAdminToken('AdminCatalog'.(int)(Tab::getIdFromClassName('AdminCatalog')).(int)$context->employee->id).'" title="'.($category['id_category'] == 1 ? 'Home' : 'Modify').'"><img src="../img/admin/'.(($category['id_category'] == 1 || $home) ? 'home' : 'edit').'.gif" alt="" /></a> ';
|
||||
$edit = '<a href="'.$urlBase.'&id_category='.(int)$category['id_category'].'&'.(($category['id_category'] == 1 || $home) ? 'viewcategory' : 'updatecategory').'&token='.Tools::getAdminToken('AdminCategories'.(int)(Tab::getIdFromClassName('AdminCategories')).(int)$context->employee->id).'" title="'.($category['id_category'] == 1 ? 'Home' : 'Modify').'"><img src="../img/admin/'.(($category['id_category'] == 1 || $home) ? 'home' : 'edit').'.gif" alt="" /></a> ';
|
||||
$fullPath .= $edit.
|
||||
($n < $nCategories ? '<a href="'.$urlBase.'&id_category='.(int)$category['id_category'].'&viewcategory&token='.Tools::getAdminToken('AdminCatalog'.(int)(Tab::getIdFromClassName('AdminCatalog')).(int)$context->employee->id).'" title="'.htmlentities($category['name'], ENT_NOQUOTES, 'UTF-8').'">' : '').
|
||||
($n < $nCategories ? '<a href="'.$urlBase.'&id_category='.(int)$category['id_category'].'&viewcategory&token='.Tools::getAdminToken('AdminCategories'.(int)(Tab::getIdFromClassName('AdminCategories')).(int)$context->employee->id).'" title="'.htmlentities($category['name'], ENT_NOQUOTES, 'UTF-8').'">' : '').
|
||||
(!empty($highlight) ? str_ireplace($highlight, '<span class="highlight">'.htmlentities($highlight, ENT_NOQUOTES, 'UTF-8').'</span>', $category['name']) : $category['name']).
|
||||
($n < $nCategories ? '</a>' : '').
|
||||
(($n++ != $nCategories OR !empty($path)) ? ' > ' : '');
|
||||
|
||||
@@ -40,7 +40,7 @@ echo '
|
||||
<link type="text/css" rel="stylesheet" href="'._PS_JS_DIR_.'jquery/datepicker/datepicker.css" />
|
||||
<link type="text/css" rel="stylesheet" href="'._PS_CSS_DIR_.'admin.css" />
|
||||
<link type="text/css" rel="stylesheet" href="'._PS_CSS_DIR_.'jquery.cluetip.css" />
|
||||
<link type="text/css" rel="stylesheet" href="themes/'.Context::getContext()->employee->bo_theme.'/admin.css" />
|
||||
<link type="text/css" rel="stylesheet" href="themes/'.Context::getContext()->employee->bo_theme.'/css/admin.css" />
|
||||
<title>PrestaShop™ - '.translate('Administration panel').'</title>
|
||||
<script type="text/javascript">
|
||||
var helpboxes = '.Configuration::get('PS_HELPBOX').';
|
||||
@@ -54,7 +54,7 @@ echo '
|
||||
<script type="text/javascript" src="'._PS_JS_DIR_.'tools.js"></script>
|
||||
<script type="text/javascript" src="'._PS_JS_DIR_.'ajax.js"></script>
|
||||
<link rel="shortcut icon" href="'._PS_IMG_.'favicon.ico" />
|
||||
'.Hook::exec('backOfficeHeader').'
|
||||
'.Hook::exec('displayBackOfficeHeader').'
|
||||
<!--[if IE]>
|
||||
<link type="text/css" rel="stylesheet" href="'._PS_CSS_DIR_.'admin-ie.css" />
|
||||
<![endif]-->
|
||||
@@ -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').'
|
||||
@@ -275,7 +283,7 @@ echo ' </select>
|
||||
echo '<div id="header_shoplist">'.translate('Select your shop:').' '.generateShopList().'</div>';
|
||||
|
||||
echo '</div>';
|
||||
echo Hook::exec('backOfficeTop');
|
||||
echo Hook::exec('displayBackOfficeTop');
|
||||
echo '<ul id="menu">';
|
||||
|
||||
if (empty($tab))
|
||||
@@ -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)
|
||||
|
||||
@@ -38,7 +38,4 @@ if (!isset($_REQUEST['controller']) && isset($_REQUEST['tab']))
|
||||
$_REQUEST['controller'] = strtolower($_REQUEST['tab']);
|
||||
|
||||
// Prepare and trigger admin dispatcher
|
||||
Dispatcher::getInstance()->setDefaultController('AdminHome');
|
||||
Dispatcher::getInstance()->setControllerNotFound('AdminNotFound');
|
||||
Dispatcher::getInstance()->setControllerDirectories(array(_PS_ADMIN_DIR_.'/tabs/', _PS_ADMIN_CONTROLLER_DIR_));
|
||||
Dispatcher::getInstance()->dispatch();
|
||||
|
||||
@@ -31,69 +31,86 @@ $timerStart = microtime(true);
|
||||
// $_GET['tab'] = $_GET['controller'];
|
||||
// $_POST['tab'] = $_POST['controller'];
|
||||
// $_REQUEST['tab'] = $_REQUEST['controller'];
|
||||
|
||||
$context = Context::getContext();
|
||||
if (isset($_GET['logout']))
|
||||
$context->employee->logout();
|
||||
|
||||
if (!isset($context->employee) || !$context->employee->isLoggedBack())
|
||||
Tools::redirectAdmin('index.php?controller=AdminLogin&redirect='.$_SERVER['REQUEST_URI']);
|
||||
|
||||
// Set current index
|
||||
$currentIndex = $_SERVER['SCRIPT_NAME'].(($controller = Tools::getValue('controller')) ? '?controller='.$controller: '');
|
||||
|
||||
if ($back = Tools::getValue('back'))
|
||||
$currentIndex .= '&back='.urlencode($back);
|
||||
AdminTab::$currentIndex = $currentIndex;
|
||||
|
||||
$iso = $context->language->iso_code;
|
||||
include(_PS_TRANSLATIONS_DIR_.$iso.'/errors.php');
|
||||
include(_PS_TRANSLATIONS_DIR_.$iso.'/fields.php');
|
||||
include(_PS_TRANSLATIONS_DIR_.$iso.'/admin.php');
|
||||
|
||||
/* Server Params */
|
||||
$protocol_link = (Configuration::get('PS_SSL_ENABLED')) ? 'https://' : 'http://';
|
||||
$protocol_content = (isset($useSSL) AND $useSSL AND Configuration::get('PS_SSL_ENABLED')) ? 'https://' : 'http://';
|
||||
$link = new Link($protocol_link, $protocol_content);
|
||||
$context->link = $link;
|
||||
define('_PS_BASE_URL_', Tools::getShopDomain(true));
|
||||
define('_PS_BASE_URL_SSL_', Tools::getShopDomainSsl(true));
|
||||
|
||||
$path = dirname(__FILE__).'/themes/';
|
||||
if (empty($context->employee->bo_theme) OR !file_exists($path.$context->employee->bo_theme.'/admin.css'))
|
||||
try
|
||||
{
|
||||
if (file_exists($path.'oldschool/admin.css'))
|
||||
$context->employee->bo_theme = 'oldschool';
|
||||
elseif (file_exists($path.'origins/admin.css'))
|
||||
$context->employee->bo_theme = 'origins';
|
||||
else
|
||||
foreach (scandir($path) as $theme)
|
||||
if ($theme[0] != '.' AND file_exists($path.$theme.'/admin.css'))
|
||||
{
|
||||
$employee->bo_theme = $theme;
|
||||
break;
|
||||
}
|
||||
$context->employee->update();
|
||||
}
|
||||
$context = Context::getContext();
|
||||
if (isset($_GET['logout']))
|
||||
$context->employee->logout();
|
||||
|
||||
// Change shop context ?
|
||||
if (Shop::isFeatureActive() && Tools::getValue('setShopContext') !== false)
|
||||
if (!isset($context->employee) || !$context->employee->isLoggedBack())
|
||||
Tools::redirectAdmin('index.php?controller=AdminLogin&redirect='.$_SERVER['REQUEST_URI']);
|
||||
|
||||
// Set current index
|
||||
// @deprecated global will be removed in 1.6
|
||||
global $currentIndex; // retrocompatibility;
|
||||
$currentIndex = $_SERVER['SCRIPT_NAME'].(($controller = Tools::getValue('controller')) ? '?controller='.$controller: '');
|
||||
|
||||
if ($back = Tools::getValue('back'))
|
||||
$currentIndex .= '&back='.urlencode($back);
|
||||
AdminTab::$currentIndex = $currentIndex;
|
||||
|
||||
$iso = $context->language->iso_code;
|
||||
include(_PS_TRANSLATIONS_DIR_.$iso.'/errors.php');
|
||||
include(_PS_TRANSLATIONS_DIR_.$iso.'/fields.php');
|
||||
include(_PS_TRANSLATIONS_DIR_.$iso.'/admin.php');
|
||||
|
||||
/* Server Params */
|
||||
$protocol_link = (Configuration::get('PS_SSL_ENABLED')) ? 'https://' : 'http://';
|
||||
$protocol_content = (isset($useSSL) AND $useSSL AND Configuration::get('PS_SSL_ENABLED')) ? 'https://' : 'http://';
|
||||
$link = new Link($protocol_link, $protocol_content);
|
||||
$context->link = $link;
|
||||
define('_PS_BASE_URL_', Tools::getShopDomain(true));
|
||||
define('_PS_BASE_URL_SSL_', Tools::getShopDomainSsl(true));
|
||||
|
||||
$path = dirname(__FILE__).'/themes/';
|
||||
// if the current employee theme is not valid (check layout.tpl presence),
|
||||
// reset to default theme
|
||||
if (empty($context->employee->bo_theme) ||
|
||||
!file_exists($path.$context->employee->bo_theme.'/template/layout.tpl'))
|
||||
{
|
||||
// default admin theme is "default".
|
||||
$context->employee->bo_theme = '';
|
||||
if (file_exists($path.'default/template/layout.tpl'))
|
||||
$context->employee->bo_theme = 'default';
|
||||
else
|
||||
{
|
||||
// if default theme doesn't exists, try to find one, otherwise throw exception
|
||||
foreach (scandir($path) as $theme)
|
||||
if ($theme[0] != '.' && file_exists($path.$theme.'/template/layout.tpl'))
|
||||
{
|
||||
$context->employee->bo_theme = $theme;
|
||||
break;
|
||||
}
|
||||
// if no theme is found, admin can't work.
|
||||
if (empty($context->employee->bo_theme))
|
||||
throw new PrestaShopException('Unable to load theme for employee, and no valid theme found');
|
||||
}
|
||||
$context->employee->update();
|
||||
}
|
||||
|
||||
// Change shop context ?
|
||||
if (Shop::isFeatureActive() && Tools::getValue('setShopContext') !== false)
|
||||
{
|
||||
$context->cookie->shopContext = Tools::getValue('setShopContext');
|
||||
$url = parse_url($_SERVER['REQUEST_URI']);
|
||||
$query = (isset($url['query'])) ? $url['query'] : '';
|
||||
parse_str($query, $parseQuery);
|
||||
unset($parseQuery['setShopContext']);
|
||||
Tools::redirectAdmin($url['path'] . '?' . http_build_query($parseQuery));
|
||||
}
|
||||
|
||||
$context->currency = new Currency(Configuration::get('PS_CURRENCY_DEFAULT'));
|
||||
|
||||
$shopID = '';
|
||||
if ($context->cookie->shopContext)
|
||||
{
|
||||
$split = explode('-', $context->cookie->shopContext);
|
||||
if (count($split) == 2 && $split[0] == 's')
|
||||
$shopID = (int)$split[1];
|
||||
}
|
||||
$context->shop = new Shop($shopID);
|
||||
}
|
||||
catch(PrestaShopException $e)
|
||||
{
|
||||
$context->cookie->shopContext = Tools::getValue('setShopContext');
|
||||
$url = parse_url($_SERVER['REQUEST_URI']);
|
||||
$query = (isset($url['query'])) ? $url['query'] : '';
|
||||
parse_str($query, $parseQuery);
|
||||
unset($parseQuery['setShopContext']);
|
||||
Tools::redirectAdmin($url['path'] . '?' . http_build_query($parseQuery));
|
||||
$e->displayMessage();
|
||||
}
|
||||
|
||||
$context->currency = new Currency(Configuration::get('PS_CURRENCY_DEFAULT'));
|
||||
|
||||
$shopID = '';
|
||||
if ($context->cookie->shopContext)
|
||||
{
|
||||
$split = explode('-', $context->cookie->shopContext);
|
||||
if (count($split) == 2 && $split[0] == 's')
|
||||
$shopID = (int)$split[1];
|
||||
}
|
||||
$context->shop = new Shop($shopID);
|
||||
@@ -32,10 +32,11 @@ include(_PS_ADMIN_DIR_.'/../config/config.inc.php');
|
||||
if (!Context::getContext()->employee->id)
|
||||
Tools::redirectAdmin('index.php?controller=AdminLogin');
|
||||
|
||||
$functionArray = array(
|
||||
$function_array = array(
|
||||
'pdf' => 'generateInvoicePDF',
|
||||
'id_order_slip' => 'generateOrderSlipPDF',
|
||||
'id_delivery' => 'generateDeliverySlipPDF',
|
||||
'delivery' => 'generateDeliverySlipPDF',
|
||||
'invoices' => 'generateInvoicesPDF',
|
||||
'invoices2' => 'generateInvoicesPDF2',
|
||||
'slips' => 'generateOrderSlipsPDF',
|
||||
@@ -43,7 +44,7 @@ $functionArray = array(
|
||||
'id_supply_order' => 'generateSupplyOrderFormPDF'
|
||||
);
|
||||
|
||||
foreach ($functionArray as $var => $function)
|
||||
foreach ($function_array as $var => $function)
|
||||
if (isset($_GET[$var]))
|
||||
{
|
||||
call_user_func($function);
|
||||
@@ -52,24 +53,24 @@ foreach ($functionArray as $var => $function)
|
||||
|
||||
function generateSupplyOrderFormPDF()
|
||||
{
|
||||
if (!isset($_GET['id_supply_order']))
|
||||
if (!Tools::isSubmit('id_supply_order'))
|
||||
die (Tools::displayError('Missing supply order ID'));
|
||||
|
||||
$id_supply_order = (int)$_GET['id_supply_order'];
|
||||
$id_supply_order = (int)Tools::getValue('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'));
|
||||
|
||||
generatePDF($supply_order, PDF::TEMPLATE_SUPPLY_ORDER_FORM);
|
||||
generatePDF($supply_order, PDF::TEMPLATE_SUPPLY_ORDER_FORM);
|
||||
}
|
||||
|
||||
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;
|
||||
@@ -77,95 +78,119 @@ function generateInvoicePDF()
|
||||
|
||||
function generateInvoicePDFByIdOrder($id_order)
|
||||
{
|
||||
$order = new Order($id_order);
|
||||
$order = new Order((int)$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)
|
||||
{
|
||||
$order_invoice = new OrderInvoice($id_order_invoice);
|
||||
$order_invoice = new OrderInvoice((int)$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);
|
||||
}
|
||||
|
||||
function generateOrderSlipPDF()
|
||||
{
|
||||
$orderSlip = new OrderSlip((int)($_GET['id_order_slip']));
|
||||
$order = new Order((int)($orderSlip->id_order));
|
||||
$orderSlip = new OrderSlip((int)Tools::getValue('id_order_slip'));
|
||||
$order = new Order((int)$orderSlip->id_order);
|
||||
if (!Validate::isLoadedObject($order))
|
||||
die(Tools::displayError('Cannot find order in database'));
|
||||
$order->products = OrderSlip::getOrdersSlipProducts($orderSlip->id, $order);
|
||||
$tmp = NULL;
|
||||
|
||||
generatePDF($orderSlip, PDF::TEMPLATE_ORDER_SLIP);
|
||||
generatePDF($orderSlip, PDF::TEMPLATE_ORDER_SLIP);
|
||||
}
|
||||
|
||||
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((int)Tools::getValue('id_order'));
|
||||
elseif (Tools::isSubmit('id_order_invoice'))
|
||||
generateDeliverySlipPDFByIdOrderInvoice((int)Tools::getValue('id_order_invoice'));
|
||||
elseif (Tools::isSubmit('id_delivery'))
|
||||
{
|
||||
$order = Order::getByDelivery((int)Tools::getValue('id_delivery'));
|
||||
generateDeliverySlipPDFByIdOrder((int)$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((int)$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((int)$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');
|
||||
if (!is_array($id_orders_list))
|
||||
die (Tools::displayError('No invoices found'));
|
||||
$order_invoice_collection = OrderInvoice::getByDateInterval(Tools::getValue('date_from'), Tools::getValue('date_to'));
|
||||
|
||||
$orders = array();
|
||||
foreach ($id_orders_list as $id_order)
|
||||
$orders[] = new Order((int)$id_order);
|
||||
if (!count($order_invoice_collection))
|
||||
die(Tools::displayError('No invoices found'));
|
||||
|
||||
generatePDF($orders, PDF::TEMPLATE_INVOICE);
|
||||
generatePDF($order_invoice_collection, PDF::TEMPLATE_INVOICE);
|
||||
}
|
||||
|
||||
function generateInvoicesPDF2()
|
||||
{
|
||||
$id_orders_list = array();
|
||||
$order_invoice_collection = array();
|
||||
foreach (explode('-', Tools::getValue('id_order_state')) as $id_order_state)
|
||||
if (is_array($id_orders = Order::getOrderIdsByStatus((int)$id_order_state)))
|
||||
$id_orders_list = array_merge($id_orders_list, $id_orders);
|
||||
if (is_array($order_invoices = OrderInvoice::getByStatus((int)$id_order_state)))
|
||||
$order_invoice_collection = array_merge($order_invoices, $order_invoice_collection);
|
||||
|
||||
$orders = array();
|
||||
foreach ($id_orders_list as $id_order)
|
||||
$orders[] = new Order((int)$id_order);
|
||||
if (!count($order_invoice_collection))
|
||||
die(Tools::displayError('No invoices found'));
|
||||
|
||||
generatePDF($orders, PDF::TEMPLATE_INVOICE);
|
||||
generatePDF($order_invoice_collection, PDF::TEMPLATE_INVOICE);
|
||||
}
|
||||
|
||||
function generateOrderSlipsPDF()
|
||||
{
|
||||
$id_order_slips_list = OrderSlip::getSlipsIdByDate($_GET['date_from'], $_GET['date_to']);
|
||||
$id_order_slips_list = OrderSlip::getSlipsIdByDate(Tools::getValue('date_from'), Tools::getValue('date_to'));
|
||||
if (!count($id_order_slips_list))
|
||||
die (Tools::displayError('No order slips found'));
|
||||
|
||||
$order_slips = array();
|
||||
foreach ($id_order_slips_list as $id_order_slips)
|
||||
$order_slips[] = new OrderSlip((int)$id_order_slips);
|
||||
$order_slips = array();
|
||||
foreach ($id_order_slips_list as $id_order_slips)
|
||||
$order_slips[] = new OrderSlip((int)$id_order_slips);
|
||||
|
||||
generatePDF($order_slips, PDF::TEMPLATE_ORDER_SLIP);
|
||||
generatePDF($order_slips, PDF::TEMPLATE_ORDER_SLIP);
|
||||
}
|
||||
|
||||
function generateDeliverySlipsPDF()
|
||||
{
|
||||
$slips = unserialize(urldecode($_GET['deliveryslips']));
|
||||
if (is_array($slips))
|
||||
generatePDF($slips, PDF::TEMPLATE_DELIVERY_SLIP);
|
||||
}
|
||||
$order_invoice_collection = OrderInvoice::getByDeliveryDateInterval(Tools::getValue('date_from'), Tools::getValue('date_to'));
|
||||
|
||||
if (!count($order_invoice_collection))
|
||||
die(Tools::displayError('No invoices found'));
|
||||
|
||||
generatePDF($order_invoice_collection, PDF::TEMPLATE_DELIVERY_SLIP);
|
||||
}
|
||||
|
||||
function generatePDF($object, $template)
|
||||
{
|
||||
global $smarty;
|
||||
$pdf = new PDF($object, $template, $smarty);
|
||||
$pdf->render();
|
||||
}
|
||||
|
||||
$pdf = new PDF($object, $template, Context::getContext()->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;}
|
||||
@@ -0,0 +1,465 @@
|
||||
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; background-color:#fff;}
|
||||
select { border:1px solid #ccc; font-size: 12px;}
|
||||
select[disabled="disabled"], input[disabled="disabled"],textarea[disabled="disabled"], option[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: #e3e3e3 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;
|
||||
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:#BABABA; text-transform:capitalize;}
|
||||
#header #employee_links a:hover {color:#fff;}
|
||||
#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 a#header_logout { background: transparent url('../img/logout.png') no-repeat scroll left top; float:left; padding-left:20px; color:#bababa;}
|
||||
#header #header_infos a#header_logout:hover {color:#fff;}
|
||||
#header #header_infos #header_logout a span {color:#bababa}
|
||||
#header #header_infos #header_foaccess{ text-decoration:none; color:#bababa;}
|
||||
#header #header_infos #header_foaccess a {color:#bababa !important;}
|
||||
#header #header_infos a#header_foaccess:hover { color:#fff;}
|
||||
#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:first-child { margin-left:15px;}
|
||||
#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.maintab:hover, #header #menu li.active {border-left:1px solid #49B2FF;border-right:1px solid #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 5px #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.row_hover:hover td{background:#fff1b5}
|
||||
.table tr.row_hover.filter:hover td{background:#F1F9FF}
|
||||
.table tr td.row_hover: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;}
|
||||
#product-tab-content-wait{display:block;background:url('../img/bg_loaderSpace.png');position:absolute;width:100%;z-index:100;min-height:600px;padding:5px 10px 10px;}
|
||||
div#loading{height:128px;width:128px;background:url('../img/ajax-loader.gif');display:block;text-indent:-9999px;margin:100px auto;}
|
||||
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; text-shadow:0 1px 0 #fff;}
|
||||
.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 { background-image: url('../img/process-icon-export-csv.png');}
|
||||
.toolbarBox .process-icon-export-all { background-image: url('../img/process-icon-export-csv-details.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');}
|
||||
.toolbarBox .process-icon-help{ background-image: url('../img/process-icon-help.png');}
|
||||
.toolbarBox .process-icon-help-new{ background-image: url('../img/process-icon-help-new.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 {}
|
||||
.leadin .bloc-leadin{ padding:10px 3px;}
|
||||
|
||||
/*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 h3 { font-size:14px; font-weight:normal;}
|
||||
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;}
|
||||
#product_list {margin-bottom:0.5em}
|
||||
|
||||
#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; display:block; padding-left:5px;}
|
||||
.sidebar ul.categorieList li a:hover { background-color: #EBEDF4;}
|
||||
.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,
|
||||
#referrersContainer #calendar{ background-color: #EEEEEE;border-top: 1px solid #CCCCCC; display: block; margin: 10px 0;min-height: 25px; padding: 5px;}
|
||||
#statsContainer #calendar form,
|
||||
#referrersContainer #calendar form {float:left;}
|
||||
#statsContainer #calendar input, #statsContainer #calendar p,
|
||||
#referrersContainer #calendar input, #referrersContainer #calendar p { float:left;}
|
||||
#statsContainer #calendar input.submitDateDay, #referrersContainer #calendar input.submitDateDay { border-top-right-radius: 0px; border-bottom-right-radius:0px; border-right:none;}
|
||||
#statsContainer #calendar input.submitDateMonth, #statsContainer #calendar input.submitDateMonth,
|
||||
#referrersContainer #calendar input.submitDateMonth, #referrersContainer #calendar input.submitDateMonth { border-radius:0px;}
|
||||
#statsContainer #calendar input.submitDateYear,
|
||||
#referrersContainer #calendar input.submitDateYear { border-top-left-radius: 0px; border-bottom-left-radius:0px; border-left:none; margin-right:10px;}
|
||||
#statsContainer #calendar input.submitDateDayPrev,
|
||||
#referrersContainer #calendar input.submitDateDayPrev { border-top-right-radius: 0px; border-bottom-right-radius:0px; border-right:none;}
|
||||
#statsContainer #calendar input.submitDateMonthPrev,
|
||||
#referrersContainer #calendar input.submitDateMonthPrev { border-radius:0px;}
|
||||
#statsContainer #calendar input.submitDateYearPrev,
|
||||
#referrersContainer #calendar input.submitDateYearPrev { border-top-left-radius: 0px; border-bottom-left-radius:0px; border-left:none; margin-right:10px;}
|
||||
#statsContainer #calendar p, #referrersContainer #calendar p { margin:2px;}
|
||||
#statsContainer #calendar p span, #referrersContainer #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;}
|
||||
#statsContainer .blocStats .blocConversion { display:block; display:inline-table; min-height:80px !ie; }
|
||||
|
||||
/*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-weight:bold; 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;}
|
||||
|
||||
label.text { padding:1px 12px 0 0;}
|
||||
label.radioCheck {font-weight:normal; padding:0; float:none; margin:0 1em 0 0.25em}
|
||||
|
||||
.listForm {}
|
||||
ul.listForm {}
|
||||
ul.listForm li {padding-bottom:3px;}
|
||||
|
||||
|
||||
/*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;}
|
||||
|
||||
/*DASHBOARD*/
|
||||
.pageTitleHome { font-size: 1.6em; font-weight: normal; margin:0; padding:10px 0;}
|
||||
.pageTitleHome h3 { font-weight: normal; margin:0;}
|
||||
#dashboard { background-color: #EBEDF4; border: 1px solid #C2C4D9; display: block; padding: 10px; position: relative; min-width:1200px;}
|
||||
#dashboard h2 {font-size: 1.4em; font-weight:normal; margin:0 0 15px 0;}
|
||||
#iframe {}
|
||||
#iframe #video-content { float:left;}
|
||||
#iframe {position:relative; display:block; min-height:180px;}
|
||||
#adminpresentation #video { float:left; padding-right:15px; min-height:150px;}
|
||||
#adminpresentation #video a { position:relative; height:128px; width:220px; display:block; padding:6px; }
|
||||
#adminpresentation #video a img { }
|
||||
#adminpresentation #video a span {background: transparent url("../img/play.png") no-repeat scroll left top; height:128px; width:220px; position:absolute; top:0; left:0; z-index:1; display:block; border:6px solid #fff; border-radius:3px; }
|
||||
#adminpresentation #video a span:hover {background-position:left bottom;border:6px solid #C2C4D9; transition:background 0.5s;}
|
||||
#adminpresentation #video-content { padding-left:10px; min-height:150px; }
|
||||
#adminpresentation #video-content p { font-size:20px; line-height: 26px; color:#585A69; text-shadow: 0 1px 0 #fff;}
|
||||
|
||||
.view-modules { float:right; margin: 10px 0;}
|
||||
.view-modules li { float:left;}
|
||||
.view-modules li img { padding-right:5px;}
|
||||
.view-modules li.normal-view-disabled { background: -moz-linear-gradient(center top ,#cccccc, #F9F9F9 ) repeat scroll 0 0 transparent; border-bottom-right-radius: 0; border-right: 1px solid #ccc; border-top-right-radius: 0; color:#999; }
|
||||
.view-modules li.favorites-view-disabled { background: -moz-linear-gradient(center top ,#cccccc, #F9F9F9 ) repeat scroll 0 0 transparent; border-bottom-left-radius: 0; border-left: 1px solid #fff; border-top-left-radius: 0; color:#999; }
|
||||
.view-modules li.normal-view-disabled:hover,
|
||||
.view-modules li.favorites-view-disabled:hover {border-color: #CCCCCC #BBBBBB #A0A0A0;}
|
||||
.view-modules li.favorites-view {border-bottom-left-radius: 0;border-left: 1px solid #fff; border-top-left-radius: 0;}
|
||||
.view-modules li.normal-view {border-bottom-right-radius: 0;border-right: 1px solid #ccc; border-top-right-radius: 0;}
|
||||
@@ -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;}
|
||||
|
||||
|
Before Width: | Height: | Size: 11 KiB After Width: | Height: | Size: 11 KiB |
|
After Width: | Height: | Size: 941 B |
|
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: 109 B After Width: | Height: | Size: 109 B |
|
Before Width: | Height: | Size: 339 B After Width: | Height: | Size: 339 B |
|
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 |
|
After Width: | Height: | Size: 16 KiB |
|
Before Width: | Height: | Size: 4.3 KiB After Width: | Height: | Size: 4.3 KiB |
@@ -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;
|
||||
|
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 |
|
After Width: | Height: | Size: 515 B |
|
After Width: | Height: | Size: 1.4 KiB |
|
After Width: | Height: | Size: 489 B |
|
After Width: | Height: | Size: 1.5 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 |
|
After Width: | Height: | Size: 2.7 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
After Width: | Height: | Size: 1.2 KiB |
|
After Width: | Height: | Size: 1.7 KiB |
|
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
|
After Width: | Height: | Size: 1.4 KiB |
|
Before Width: | Height: | Size: 3.7 KiB After Width: | Height: | Size: 3.7 KiB |
|
After Width: | Height: | Size: 2.0 KiB |
|
After Width: | Height: | Size: 1.1 KiB |
|
After Width: | Height: | Size: 3.4 KiB |
|
After Width: | Height: | Size: 2.6 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 |
|
After Width: | Height: | Size: 1.6 KiB |
|
After Width: | Height: | Size: 1.8 KiB |
|
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 |
|
After Width: | Height: | Size: 1.8 KiB |
|
After Width: | Height: | Size: 1.5 KiB |
|
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 |
@@ -0,0 +1,29 @@
|
||||
{*
|
||||
* 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
|
||||
*}
|
||||
|
||||
{if isset($content)}
|
||||
{$content}
|
||||
{/if}
|
||||
@@ -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 />
|
||||
@@ -34,7 +34,7 @@
|
||||
|
||||
<label for="clientPrefix">{l s='Client prefix:'}</label>
|
||||
<div class="margin-form">
|
||||
<input type="text" value="{$clientPrefix}" name="clientPrefix" />
|
||||
<input type="text" value="{$clientPrefix|htmlentities}" name="clientPrefix" />
|
||||
<span class="input-error"></span>
|
||||
</div>
|
||||
|
||||
@@ -28,10 +28,10 @@
|
||||
<fieldset>
|
||||
<legend>{$title}</legend>
|
||||
<form id="reconfiliation_form" action="{$smarty.server.REQUEST_URI}" method="POST">
|
||||
{include file="$pathAccountExportTpl/common_form.tpl"}
|
||||
{include file="controllers/accounting_export/common_form.tpl"}
|
||||
<label for="clientPrefix">{l s='Journal:'}</label>
|
||||
<div class="margin-form">
|
||||
<input type="text" name="journal" value="{$journal}"/>
|
||||
<input type="text" name="journal" value="{$journal|htmlentities}"/>
|
||||
</div>
|
||||
<div class="margin-form">
|
||||
<input id="submitGlobalExport" type="submit" class="button" name="submitAccountingExportType" />
|
||||
@@ -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>
|
||||
@@ -28,7 +28,7 @@
|
||||
<fieldset>
|
||||
<legend>{$title}</legend>
|
||||
<form id="reconfiliation_form" action="{$smarty.server.REQUEST_URI}" method="POST">
|
||||
{include file="$pathAccountExportTpl/common_form.tpl"}
|
||||
{include file="controllers/accounting_export/common_form.tpl"}
|
||||
|
||||
<div class="margin-form">
|
||||
<input id="submitReconciliationExport" type="submit" class="button" name="submitAccountingExportType" />
|
||||
@@ -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']|htmlentities}" />
|
||||
<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|htmlentities}" />
|
||||
|
||||
</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}
|
||||
@@ -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,105 @@
|
||||
{*
|
||||
* 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
|
||||
*}
|
||||
|
||||
{extends file="helpers/form/form.tpl"}
|
||||
|
||||
{block name="label"}
|
||||
{/block}
|
||||
|
||||
{block name="start_field_block"}
|
||||
{if $input.type == 'text_customer'}
|
||||
{if isset($customer)}
|
||||
<label>{$input.label}</label>
|
||||
<div class="margin-form"><a style="display: block; padding-top: 4px;" href="?tab=AdminCustomers&id_customer={$customer->id}&viewcustomer&token={$tokenCustomer}">{$customer->lastname} {$customer->firstname} ({$customer->email})</a></div>
|
||||
<input type="hidden" name="id_customer" value="{$customer->id}" />
|
||||
<input type="hidden" name="email" value="{$customer->email}" />
|
||||
{else}
|
||||
<script type="text/javascript">
|
||||
$('input[name=email]').live('blur', function(e)
|
||||
{
|
||||
var email = $(this).val();
|
||||
if (email.length > 5)
|
||||
{
|
||||
var data = {};
|
||||
data.email = email;
|
||||
data.token = "{$token}";
|
||||
data.ajax = 1;
|
||||
data.controller = "AdminAddresses";
|
||||
data.action = "loadNames";
|
||||
$.ajax({
|
||||
type: "POST",
|
||||
url: "ajax-tab.php",
|
||||
data: data,
|
||||
dataType: 'json',
|
||||
async : true,
|
||||
success: function(msg)
|
||||
{
|
||||
if (msg)
|
||||
{
|
||||
var infos = msg.infos.split('_');
|
||||
$('input[name=firstname]').val(infos[0]);
|
||||
$('input[name=lastname]').val(infos[1]);
|
||||
}
|
||||
},
|
||||
error: function(msg)
|
||||
{
|
||||
}
|
||||
});
|
||||
}
|
||||
});
|
||||
</script>
|
||||
<label>{l s='Customer e-mail'}</label>
|
||||
<div class="margin-form">
|
||||
<input type="text" size="33" name="email" value="{$fields_value[$input.name]|escape:'htmlall':'UTF-8'|htmlentities}" style="text-transform: lowercase;" /> <sup>*</sup>
|
||||
</div>
|
||||
{/if}
|
||||
{else}
|
||||
{if $input.name == 'vat_number'}
|
||||
{if $vat == 'is_applicable'}
|
||||
<div id="vat_area" style="display: visible">
|
||||
{else if $vat == 'management'}
|
||||
<div id="vat_area" style="display: hidden">
|
||||
{else}
|
||||
<div style="display: none;">
|
||||
{/if}
|
||||
{else if $input.name == 'id_state'}
|
||||
<div id="contains_states" {if $contains_states}style="display:none;"{/if}>
|
||||
{/if}
|
||||
<label>{$input.label} </label>
|
||||
<div class="margin-form">
|
||||
{/if}
|
||||
{/block}
|
||||
|
||||
{block name="end_field_block"}
|
||||
{* close div margin-form *}
|
||||
{if $input.type != 'text_customer'}
|
||||
</div>
|
||||
{/if}
|
||||
{* close hidden div *}
|
||||
{if $input.name == 'vat_number' || $input.name == 'id_state'}
|
||||
</div>
|
||||
{/if}
|
||||
{/block}
|
||||