From ba9cdcf2950e4f28a4bfbe7a5248605a6d69543c Mon Sep 17 00:00:00 2001 From: rGaillard Date: Wed, 6 Jul 2011 10:11:35 +0000 Subject: [PATCH] git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@7523 b9a71923-0436-4b27-9f14-aed3839534dd --- my-account.php | 40 - new-products.php | 40 - order-confirmation.php | 40 - order-detail.php | 40 - order-follow.php | 40 - order-opc.php | 40 - order-return.php | 40 - order-slip.php | 40 - order.php | 40 - override/classes/_FrontController.php | 342 -- override/classes/_Module.php | 44 - override/classes/_MySQL.php | 209 - pagination.php | 29 - password.php | 40 - pdf-invoice.php | 45 - pdf-order-return.php | 45 - pdf-order-slip.php | 47 - prices-drop.php | 40 - product-sort.php | 40 - product.php | 40 - products-comparison.php | 40 - readme_de.txt | 82 - readme_en.txt | 70 - readme_es.txt | 70 - readme_fr.txt | 70 - readme_it.txt | 70 - search.php | 40 - sitemap.php | 40 - sitemap.xml | 0 statistics.php | 58 - stores.php | 40 - supplier.php | 40 - themes/debug.tpl | 90 - themes/index.php | 36 - themes/live_edit.tpl | 53 - themes/prestashop/404.tpl | 46 - themes/prestashop/address.tpl | 216 - themes/prestashop/addresses.tpl | 73 - themes/prestashop/authentication.tpl | 455 -- themes/prestashop/best-sales.tpl | 38 - themes/prestashop/breadcrumb.tpl | 32 - .../prestashop/category-cms-tree-branch.tpl | 53 - themes/prestashop/category-tree-branch.tpl | 40 - themes/prestashop/category.tpl | 93 - themes/prestashop/cms.tpl | 73 - themes/prestashop/config.xml | 9 - themes/prestashop/contact-form.tpl | 121 - themes/prestashop/css/addresses.css | 68 - themes/prestashop/css/authentication.css | 50 - themes/prestashop/css/category.css | 5 - themes/prestashop/css/cms.css | 10 - themes/prestashop/css/comparator.css | 122 - themes/prestashop/css/contact-form.css | 8 - themes/prestashop/css/global.css | 1496 ------ themes/prestashop/css/history.css | 45 - themes/prestashop/css/identity.css | 5 - themes/prestashop/css/maintenance.css | 39 - .../blockadvertising/blockadvertising.css | 2 - .../blockbestsellers/blockbestsellers.css | 5 - .../css/modules/blockcart/blockcart.css | 113 - .../blockcategories/blockcategories.css | 47 - .../css/modules/blockcms/blockcms.css | 14 - .../blockcurrencies/blockcurrencies.css | 38 - .../modules/blocklanguages/blocklanguages.css | 17 - .../blockmanufacturer/blockmanufacturer.css | 6 - .../modules/blockmyaccount/blockmyaccount.css | 14 - .../blocknewproducts/blocknewproducts.css | 8 - .../blocknewsletter/blocknewsletter.css | 4 - .../blockpaymentlogo/blockpaymentlogo.css | 4 - .../blockpermanentlinks.css | 24 - .../css/modules/blockrss/blockrss.css | 2 - .../css/modules/blocksearch/blocksearch.css | 24 - .../modules/blockspecials/blockspecials.css | 16 - .../css/modules/blockstore/blockstore.css | 3 - .../modules/blocksupplier/blocksupplier.css | 7 - .../css/modules/blocktags/blocktags.css | 18 - .../modules/blockuserinfo/blockuserinfo.css | 27 - .../css/modules/blockviewed/blockviewed.css | 6 - .../modules/blockwishlist/blockwishlist.css | 16 - .../css/modules/crossselling/crossselling.css | 43 - .../css/modules/editorial/editorial.css | 30 - themes/prestashop/css/my-account.css | 6 - themes/prestashop/css/order-opc.css | 66 - themes/prestashop/css/product.css | 159 - themes/prestashop/css/product_list.css | 73 - themes/prestashop/css/restricted-country.css | 39 - themes/prestashop/css/scenes.css | 134 - themes/prestashop/css/sitemap.css | 20 - themes/prestashop/css/stores.css | 65 - themes/prestashop/discount.tpl | 95 - themes/prestashop/errors.tpl | 39 - themes/prestashop/footer.tpl | 41 - themes/prestashop/guest-tracking.tpl | 85 - themes/prestashop/header.tpl | 90 - themes/prestashop/history.tpl | 92 - themes/prestashop/identity.tpl | 139 - themes/prestashop/img/address_alias_left.gif | Bin 928 -> 0 bytes themes/prestashop/img/address_alias_right.gif | Bin 928 -> 0 bytes themes/prestashop/img/ajax-loader.gif | Bin 3208 -> 0 bytes .../img/arrow_rotate_anticlockwise.png | Bin 608 -> 0 bytes themes/prestashop/img/bg_account.jpg | Bin 415 -> 0 bytes themes/prestashop/img/block_bg.jpg | Bin 361 -> 0 bytes themes/prestashop/img/block_bg_myaccount.jpg | Bin 394 -> 0 bytes .../prestashop/img/block_category_item_bg.jpg | Bin 380 -> 0 bytes themes/prestashop/img/block_exclusive_bg.jpg | Bin 375 -> 0 bytes .../prestashop/img/block_exclusive_footer.jpg | Bin 744 -> 0 bytes themes/prestashop/img/block_footer.gif | Bin 261 -> 0 bytes themes/prestashop/img/block_footer.png | Bin 207 -> 0 bytes .../prestashop/img/block_footer_myaccount.jpg | Bin 852 -> 0 bytes themes/prestashop/img/block_header.gif | Bin 1286 -> 0 bytes themes/prestashop/img/block_header.png | Bin 966 -> 0 bytes .../prestashop/img/block_header_exclusive.gif | Bin 1273 -> 0 bytes .../prestashop/img/block_header_exclusive.png | Bin 960 -> 0 bytes .../img/block_header_exclusive_cart.gif | Bin 1431 -> 0 bytes .../img/block_header_exclusive_cart.png | Bin 1134 -> 0 bytes themes/prestashop/img/block_header_large.gif | Bin 1417 -> 0 bytes themes/prestashop/img/block_header_large.png | Bin 777 -> 0 bytes .../prestashop/img/block_header_myaccount.jpg | Bin 1851 -> 0 bytes .../img/block_myaccount_header_large.gif | Bin 2253 -> 0 bytes themes/prestashop/img/block_search_bg.jpg | Bin 1104 -> 0 bytes themes/prestashop/img/bullet.gif | Bin 85 -> 0 bytes themes/prestashop/img/bullet_alt.jpg | Bin 710 -> 0 bytes themes/prestashop/img/bullet_myaccount.gif | Bin 56 -> 0 bytes themes/prestashop/img/bullet_price.gif | Bin 64 -> 0 bytes .../prestashop/img/button-account-large.gif | Bin 1739 -> 0 bytes themes/prestashop/img/button-account-mini.gif | Bin 932 -> 0 bytes .../prestashop/img/button-account-small.gif | Bin 1192 -> 0 bytes themes/prestashop/img/button-account.gif | Bin 1456 -> 0 bytes themes/prestashop/img/button-large.gif | Bin 2737 -> 0 bytes themes/prestashop/img/button-large.png | Bin 1777 -> 0 bytes .../prestashop/img/button-large_exclusive.gif | Bin 2099 -> 0 bytes themes/prestashop/img/button-medium.gif | Bin 2521 -> 0 bytes themes/prestashop/img/button-medium.png | Bin 1733 -> 0 bytes .../img/button-medium_exclusive.gif | Bin 1860 -> 0 bytes .../img/button-medium_exclusive.png | Bin 1144 -> 0 bytes themes/prestashop/img/button-mini.gif | Bin 1877 -> 0 bytes themes/prestashop/img/button-mini.png | Bin 1703 -> 0 bytes .../prestashop/img/button-mini_exclusive.gif | Bin 1248 -> 0 bytes themes/prestashop/img/button-small.gif | Bin 2163 -> 0 bytes themes/prestashop/img/button-small.png | Bin 1727 -> 0 bytes .../prestashop/img/button-small_exclusive.gif | Bin 1507 -> 0 bytes themes/prestashop/img/flag_new_bg.jpg | Bin 359 -> 0 bytes themes/prestashop/img/footer_account.gif | Bin 243 -> 0 bytes themes/prestashop/img/form-input-bg.gif | Bin 93 -> 0 bytes themes/prestashop/img/form_bg.jpg | Bin 512 -> 0 bytes themes/prestashop/img/header_account.gif | Bin 1231 -> 0 bytes themes/prestashop/img/icon/add.gif | Bin 598 -> 0 bytes themes/prestashop/img/icon/addrbook.gif | Bin 632 -> 0 bytes themes/prestashop/img/icon/available.gif | Bin 610 -> 0 bytes themes/prestashop/img/icon/cancel.gif | Bin 614 -> 0 bytes themes/prestashop/img/icon/cancel_16x18.gif | Bin 565 -> 0 bytes themes/prestashop/img/icon/cart.gif | Bin 636 -> 0 bytes themes/prestashop/img/icon/cible.gif | Bin 736 -> 0 bytes themes/prestashop/img/icon/contact.gif | Bin 616 -> 0 bytes themes/prestashop/img/icon/delete.gif | Bin 103 -> 0 bytes .../prestashop/img/icon/download_product.gif | Bin 580 -> 0 bytes themes/prestashop/img/icon/error.gif | Bin 1391 -> 0 bytes themes/prestashop/img/icon/gift.gif | Bin 641 -> 0 bytes themes/prestashop/img/icon/home.gif | Bin 625 -> 0 bytes themes/prestashop/img/icon/infos.gif | Bin 778 -> 0 bytes themes/prestashop/img/icon/less.gif | Bin 58 -> 0 bytes themes/prestashop/img/icon/magnify.gif | Bin 379 -> 0 bytes themes/prestashop/img/icon/more.gif | Bin 58 -> 0 bytes themes/prestashop/img/icon/my-account.gif | Bin 692 -> 0 bytes themes/prestashop/img/icon/next.gif | Bin 83 -> 0 bytes themes/prestashop/img/icon/no.gif | Bin 613 -> 0 bytes themes/prestashop/img/icon/order.gif | Bin 382 -> 0 bytes themes/prestashop/img/icon/pdf.gif | Bin 616 -> 0 bytes themes/prestashop/img/icon/previous.gif | Bin 82 -> 0 bytes themes/prestashop/img/icon/quantity_down.gif | Bin 73 -> 0 bytes .../prestashop/img/icon/quantity_down_off.gif | Bin 73 -> 0 bytes themes/prestashop/img/icon/quantity_up.gif | Bin 73 -> 0 bytes themes/prestashop/img/icon/recyclable.gif | Bin 1065 -> 0 bytes themes/prestashop/img/icon/return.gif | Bin 1062 -> 0 bytes themes/prestashop/img/icon/search.gif | Bin 662 -> 0 bytes .../img/icon/serial_scroll_left.gif | Bin 258 -> 0 bytes .../img/icon/serial_scroll_right.gif | Bin 259 -> 0 bytes themes/prestashop/img/icon/sitemap.gif | Bin 600 -> 0 bytes themes/prestashop/img/icon/slip.gif | Bin 1027 -> 0 bytes themes/prestashop/img/icon/sort_asc.gif | Bin 55 -> 0 bytes .../prestashop/img/icon/sort_asc_disabled.gif | Bin 55 -> 0 bytes themes/prestashop/img/icon/sort_asc_white.gif | Bin 444 -> 0 bytes themes/prestashop/img/icon/sort_asc_white.png | Bin 118 -> 0 bytes themes/prestashop/img/icon/sort_desc.gif | Bin 63 -> 0 bytes .../img/icon/sort_desc_disabled.gif | Bin 54 -> 0 bytes .../prestashop/img/icon/sort_desc_white.gif | Bin 447 -> 0 bytes .../prestashop/img/icon/sort_desc_white.png | Bin 132 -> 0 bytes themes/prestashop/img/icon/star.gif | Bin 369 -> 0 bytes themes/prestashop/img/icon/unavailable.gif | Bin 610 -> 0 bytes themes/prestashop/img/icon/up.gif | Bin 55 -> 0 bytes themes/prestashop/img/icon/update.gif | Bin 568 -> 0 bytes themes/prestashop/img/icon/userinfo.gif | Bin 589 -> 0 bytes themes/prestashop/img/icon/voucher.gif | Bin 592 -> 0 bytes themes/prestashop/img/icon/yes.gif | Bin 622 -> 0 bytes themes/prestashop/img/jquery/macFFBgHack.png | Bin 207 -> 0 bytes .../img/logo_paiement_mastercard.jpg | Bin 1880 -> 0 bytes .../prestashop/img/logo_paiement_paypal.jpg | Bin 2426 -> 0 bytes themes/prestashop/img/logo_paiement_visa.jpg | Bin 1700 -> 0 bytes themes/prestashop/img/nav-logout.gif | Bin 371 -> 0 bytes themes/prestashop/img/onsale_en.gif | Bin 1962 -> 0 bytes themes/prestashop/img/onsale_es.gif | Bin 1688 -> 0 bytes themes/prestashop/img/onsale_fr.gif | Bin 2183 -> 0 bytes .../prestashop/img/pagination-bg-current.gif | Bin 146 -> 0 bytes .../prestashop/img/pagination-next-border.gif | Bin 510 -> 0 bytes .../prestashop/img/pagination-prev-border.gif | Bin 518 -> 0 bytes .../prestashop/img/pagination-prevnext-bg.gif | Bin 147 -> 0 bytes themes/prestashop/img/pagination_bg.gif | Bin 146 -> 0 bytes themes/prestashop/img/product-buy-bg.gif | Bin 184 -> 0 bytes .../prestashop/img/product-short-desc-bg.gif | Bin 332 -> 0 bytes themes/prestashop/img/rss.gif | Bin 209 -> 0 bytes themes/prestashop/img/sitemap-horizontal.gif | Bin 427 -> 0 bytes themes/prestashop/img/sitemap-horizontal.png | Bin 100 -> 0 bytes themes/prestashop/img/sitemap-last.gif | Bin 76 -> 0 bytes themes/prestashop/img/sitemap-top.gif | Bin 393 -> 0 bytes themes/prestashop/img/sitemap_long.gif | Bin 584 -> 0 bytes themes/prestashop/img/step_current.gif | Bin 230 -> 0 bytes themes/prestashop/img/step_end.gif | Bin 190 -> 0 bytes themes/prestashop/img/step_end_current.gif | Bin 196 -> 0 bytes themes/prestashop/img/step_standard.gif | Bin 210 -> 0 bytes themes/prestashop/img/step_start.gif | Bin 95 -> 0 bytes themes/prestashop/img/tab_bg.jpg | Bin 1073 -> 0 bytes themes/prestashop/img/tab_bg_selected.jpg | Bin 1434 -> 0 bytes .../prestashop/img/tab_bg_selected_short.jpg | Bin 8577 -> 0 bytes themes/prestashop/img/tab_bg_short.jpg | Bin 8314 -> 0 bytes themes/prestashop/img/table_footer.gif | Bin 105 -> 0 bytes themes/prestashop/img/table_header.gif | Bin 1262 -> 0 bytes themes/prestashop/img/thumbs_left.gif | Bin 201 -> 0 bytes themes/prestashop/img/thumbs_right.gif | Bin 197 -> 0 bytes themes/prestashop/img/title_bg.gif | Bin 1385 -> 0 bytes themes/prestashop/img/title_bg.png | Bin 574 -> 0 bytes themes/prestashop/img/title_bg_large.gif | Bin 1428 -> 0 bytes themes/prestashop/index.php | 37 - themes/prestashop/index.tpl | 27 - themes/prestashop/js/cart-summary.js | 392 -- themes/prestashop/js/cms.js | 41 - themes/prestashop/js/history.js | 127 - themes/prestashop/js/order-address.js | 123 - themes/prestashop/js/order-opc.js | 674 --- themes/prestashop/js/product.js | 521 -- themes/prestashop/js/products-comparison.js | 53 - themes/prestashop/js/scenes.js | 92 - themes/prestashop/js/stores.js | 217 - themes/prestashop/js/tools.js | 210 - .../prestashop/js/tools/statesManagement.js | 61 - themes/prestashop/js/tools/treeManagement.js | 57 - themes/prestashop/lang/de.php | 702 --- themes/prestashop/lang/en.php | 6 - themes/prestashop/lang/es.php | 722 --- themes/prestashop/lang/fr.php | 722 --- themes/prestashop/lang/it.php | 702 --- themes/prestashop/maintenance.tpl | 51 - themes/prestashop/manufacturer-list.tpl | 85 - themes/prestashop/manufacturer.tpl | 41 - themes/prestashop/my-account.tpl | 51 - themes/prestashop/new-products.tpl | 38 - themes/prestashop/order-address.tpl | 214 - themes/prestashop/order-carrier.tpl | 184 - themes/prestashop/order-confirmation.tpl | 54 - themes/prestashop/order-detail.tpl | 353 -- themes/prestashop/order-follow.tpl | 84 - themes/prestashop/order-opc-new-account.tpl | 379 -- themes/prestashop/order-opc.tpl | 101 - themes/prestashop/order-payment.tpl | 66 - themes/prestashop/order-return.tpl | 106 - themes/prestashop/order-slip.tpl | 71 - themes/prestashop/order-steps.tpl | 72 - themes/prestashop/pagination.tpl | 102 - themes/prestashop/password.tpl | 54 - themes/prestashop/preview.jpg | Bin 12628 -> 0 bytes themes/prestashop/prices-drop.tpl | 38 - themes/prestashop/product-compare.tpl | 41 - themes/prestashop/product-list.tpl | 63 - themes/prestashop/product-sort.tpl | 56 - themes/prestashop/product.tpl | 541 --- themes/prestashop/products-comparison.tpl | 143 - themes/prestashop/restricted-country.tpl | 51 - themes/prestashop/scenes.tpl | 92 - themes/prestashop/search.tpl | 51 - .../prestashop/shopping-cart-product-line.tpl | 80 - themes/prestashop/shopping-cart.tpl | 339 -- themes/prestashop/sitemap.tpl | 90 - themes/prestashop/store_infos.tpl | 45 - themes/prestashop/stores.tpl | 99 - themes/prestashop/supplier-list.tpl | 106 - themes/prestashop/supplier.tpl | 41 - tools/.htaccess | 2 - tools/fpdf/font/courier.php | 7 - tools/fpdf/font/helvetica.php | 15 - tools/fpdf/font/helveticab.php | 15 - tools/fpdf/font/helveticabi.php | 15 - tools/fpdf/font/helveticai.php | 15 - tools/fpdf/font/index.php | 11 - tools/fpdf/font/makefont/cp1250.map | 251 - tools/fpdf/font/makefont/cp1251.map | 255 - tools/fpdf/font/makefont/cp1252.map | 251 - tools/fpdf/font/makefont/cp1253.map | 239 - tools/fpdf/font/makefont/cp1254.map | 249 - tools/fpdf/font/makefont/cp1255.map | 233 - tools/fpdf/font/makefont/cp1257.map | 244 - tools/fpdf/font/makefont/cp1258.map | 247 - tools/fpdf/font/makefont/cp874.map | 225 - tools/fpdf/font/makefont/index.php | 11 - tools/fpdf/font/makefont/iso-8859-1.map | 256 - tools/fpdf/font/makefont/iso-8859-11.map | 248 - tools/fpdf/font/makefont/iso-8859-15.map | 256 - tools/fpdf/font/makefont/iso-8859-16.map | 256 - tools/fpdf/font/makefont/iso-8859-2.map | 256 - tools/fpdf/font/makefont/iso-8859-4.map | 256 - tools/fpdf/font/makefont/iso-8859-5.map | 256 - tools/fpdf/font/makefont/iso-8859-7.map | 250 - tools/fpdf/font/makefont/iso-8859-9.map | 256 - tools/fpdf/font/makefont/koi8-r.map | 256 - tools/fpdf/font/makefont/koi8-u.map | 256 - tools/fpdf/font/makefont/makefont.php | 416 -- tools/fpdf/font/symbol.php | 15 - tools/fpdf/font/times.php | 15 - tools/fpdf/font/timesb.php | 15 - tools/fpdf/font/timesbi.php | 15 - tools/fpdf/font/timesi.php | 15 - tools/fpdf/font/zapfdingbats.php | 15 - tools/fpdf/fpdf.php | 1729 ------- tools/fpdf/index.php | 11 - tools/geoip/geoip.inc | 556 --- tools/geoip/geoipcity.inc | 217 - tools/geoip/geoipregionvars.php | 4191 ----------------- tools/index.php | 11 - tools/js_minify/jsmin.php | 291 -- tools/minify_html/minify_html.class.php | 220 - tools/pear/PEAR.php | 1396 ------ tools/pear_xml_parser/Parser.php | 351 -- tools/pear_xml_parser/Parser/Atom.php | 365 -- tools/pear_xml_parser/Parser/AtomElement.php | 261 - tools/pear_xml_parser/Parser/Exception.php | 42 - tools/pear_xml_parser/Parser/RSS09.php | 214 - tools/pear_xml_parser/Parser/RSS09Element.php | 62 - tools/pear_xml_parser/Parser/RSS1.php | 277 -- tools/pear_xml_parser/Parser/RSS11.php | 276 -- tools/pear_xml_parser/Parser/RSS11Element.php | 151 - tools/pear_xml_parser/Parser/RSS1Element.php | 116 - tools/pear_xml_parser/Parser/RSS2.php | 334 -- tools/pear_xml_parser/Parser/RSS2Element.php | 171 - tools/pear_xml_parser/Parser/Type.php | 441 -- tools/pear_xml_parser/Parser/index.php | 11 - tools/pear_xml_parser/index.php | 11 - tools/smarty/Smarty.class.php | 822 ---- tools/smarty/cache/index.php | 11 - tools/smarty/compile/index.php | 11 - tools/smarty/debug.tpl | 133 - tools/smarty/plugins/block.php.php | 27 - tools/smarty/plugins/block.textformat.php | 102 - tools/smarty/plugins/function.counter.php | 78 - tools/smarty/plugins/function.cycle.php | 106 - tools/smarty/plugins/function.fetch.php | 216 - .../plugins/function.html_checkboxes.php | 143 - tools/smarty/plugins/function.html_image.php | 137 - .../smarty/plugins/function.html_options.php | 133 - tools/smarty/plugins/function.html_radios.php | 154 - .../plugins/function.html_select_date.php | 330 -- .../plugins/function.html_select_time.php | 194 - tools/smarty/plugins/function.html_table.php | 177 - tools/smarty/plugins/function.mailto.php | 156 - tools/smarty/plugins/function.math.php | 83 - tools/smarty/plugins/modifier.capitalize.php | 37 - tools/smarty/plugins/modifier.date_format.php | 61 - .../plugins/modifier.debug_print_var.php | 87 - tools/smarty/plugins/modifier.escape.php | 91 - .../smarty/plugins/modifier.regex_replace.php | 46 - tools/smarty/plugins/modifier.replace.php | 29 - tools/smarty/plugins/modifier.spacify.php | 37 - tools/smarty/plugins/modifier.truncate.php | 67 - tools/smarty/plugins/modifiercompiler.cat.php | 29 - .../modifiercompiler.count_characters.php | 39 - .../modifiercompiler.count_paragraphs.php | 27 - .../modifiercompiler.count_sentences.php | 27 - .../plugins/modifiercompiler.count_words.php | 31 - .../plugins/modifiercompiler.default.php | 33 - .../plugins/modifiercompiler.indent.php | 32 - .../smarty/plugins/modifiercompiler.lower.php | 31 - .../plugins/modifiercompiler.noprint.php | 24 - .../modifiercompiler.string_format.php | 26 - .../smarty/plugins/modifiercompiler.strip.php | 33 - .../plugins/modifiercompiler.strip_tags.php | 34 - .../smarty/plugins/modifiercompiler.upper.php | 30 - .../plugins/modifiercompiler.wordwrap.php | 35 - .../plugins/outputfilter.trimwhitespace.php | 77 - .../plugins/shared.escape_special_chars.php | 29 - .../smarty/plugins/shared.make_timestamp.php | 43 - .../smarty/plugins/shared.mb_str_replace.php | 38 - .../variablefilter.htmlspecialchars.php | 22 - .../smarty_internal_cacheresource_file.php | 205 - .../smarty_internal_compile_append.php | 50 - .../smarty_internal_compile_assign.php | 64 - .../smarty_internal_compile_block.php | 187 - .../smarty_internal_compile_break.php | 65 - .../smarty_internal_compile_call.php | 108 - .../smarty_internal_compile_capture.php | 81 - .../smarty_internal_compile_config_load.php | 64 - .../smarty_internal_compile_continue.php | 64 - .../smarty_internal_compile_debug.php | 38 - .../smarty_internal_compile_eval.php | 51 - .../smarty_internal_compile_extends.php | 90 - .../smarty_internal_compile_for.php | 147 - .../smarty_internal_compile_foreach.php | 219 - .../smarty_internal_compile_function.php | 134 - .../sysplugins/smarty_internal_compile_if.php | 179 - .../smarty_internal_compile_include.php | 176 - .../smarty_internal_compile_include_php.php | 90 - .../smarty_internal_compile_insert.php | 123 - .../smarty_internal_compile_ldelim.php | 37 - .../smarty_internal_compile_nocache.php | 63 - ..._internal_compile_private_block_plugin.php | 78 - ...ternal_compile_private_function_plugin.php | 58 - ...arty_internal_compile_private_modifier.php | 69 - ..._compile_private_object_block_function.php | 80 - ...ternal_compile_private_object_function.php | 71 - ...ernal_compile_private_print_expression.php | 77 - ...ernal_compile_private_registered_block.php | 95 - ...al_compile_private_registered_function.php | 67 - ...ernal_compile_private_special_variable.php | 99 - .../smarty_internal_compile_rdelim.php | 37 - .../smarty_internal_compile_section.php | 173 - .../smarty_internal_compile_while.php | 82 - .../smarty_internal_compilebase.php | 150 - .../sysplugins/smarty_internal_config.php | 288 -- .../smarty_internal_config_file_compiler.php | 106 - .../smarty_internal_configfilelexer.php | 526 --- .../smarty_internal_configfileparser.php | 870 ---- .../sysplugins/smarty_internal_data.php | 479 -- .../sysplugins/smarty_internal_debug.php | 170 - .../sysplugins/smarty_internal_filter.php | 89 - .../smarty_internal_filter_handler.php | 67 - .../smarty_internal_function_call_handler.php | 40 - .../smarty_internal_get_include_path.php | 44 - .../smarty_internal_nocache_insert.php | 49 - .../sysplugins/smarty_internal_parsetree.php | 236 - .../sysplugins/smarty_internal_register.php | 156 - .../smarty_internal_resource_eval.php | 89 - .../smarty_internal_resource_extends.php | 176 - .../smarty_internal_resource_file.php | 128 - .../smarty_internal_resource_php.php | 127 - .../smarty_internal_resource_registered.php | 143 - .../smarty_internal_resource_stream.php | 99 - .../smarty_internal_resource_string.php | 133 - ...smarty_internal_smartytemplatecompiler.php | 72 - .../sysplugins/smarty_internal_template.php | 999 ---- .../smarty_internal_templatecompilerbase.php | 435 -- .../smarty_internal_templatelexer.php | 1182 ----- .../smarty_internal_templateparser.php | 2966 ------------ .../sysplugins/smarty_internal_utility.php | 300 -- .../sysplugins/smarty_internal_wrapper.php | 131 - .../sysplugins/smarty_internal_write_file.php | 56 - tools/smarty/sysplugins/smarty_security.php | 229 - tools/smarty_v2/Config_File.class.php | 389 -- tools/smarty_v2/Smarty.class.php | 1968 -------- tools/smarty_v2/Smarty_Compiler.class.php | 2330 --------- tools/smarty_v2/cache/index.php | 11 - tools/smarty_v2/compile/index.php | 11 - tools/smarty_v2/configs/index.php | 11 - tools/smarty_v2/index.php | 11 - .../core.assemble_plugin_filepath.php | 126 - .../core.assign_smarty_interface.php | 43 - .../internals/core.create_dir_structure.php | 79 - .../internals/core.display_debug_console.php | 61 - .../internals/core.get_include_path.php | 44 - .../internals/core.get_microtime.php | 23 - .../internals/core.get_php_resource.php | 80 - tools/smarty_v2/internals/core.is_secure.php | 59 - tools/smarty_v2/internals/core.is_trusted.php | 47 - .../smarty_v2/internals/core.load_plugins.php | 125 - .../internals/core.load_resource_plugin.php | 74 - .../internals/core.process_cached_inserts.php | 71 - .../core.process_compiled_include.php | 37 - .../internals/core.read_cache_file.php | 101 - tools/smarty_v2/internals/core.rm_auto.php | 74 - tools/smarty_v2/internals/core.rmdir.php | 54 - .../internals/core.run_insert_handler.php | 71 - .../internals/core.smarty_include_php.php | 50 - .../internals/core.write_cache_file.php | 96 - .../internals/core.write_compiled_include.php | 91 - .../core.write_compiled_resource.php | 35 - tools/smarty_v2/internals/core.write_file.php | 54 - tools/smarty_v2/internals/index.php | 11 - tools/smarty_v2/plugins/block.textformat.php | 103 - tools/smarty_v2/plugins/compiler.assign.php | 40 - .../plugins/function.assign_debug_info.php | 40 - .../plugins/function.config_load.php | 142 - tools/smarty_v2/plugins/function.counter.php | 80 - tools/smarty_v2/plugins/function.cycle.php | 102 - tools/smarty_v2/plugins/function.debug.php | 35 - tools/smarty_v2/plugins/function.eval.php | 49 - tools/smarty_v2/plugins/function.fetch.php | 221 - .../plugins/function.html_checkboxes.php | 143 - .../smarty_v2/plugins/function.html_image.php | 142 - .../plugins/function.html_options.php | 122 - .../plugins/function.html_radios.php | 156 - .../plugins/function.html_select_date.php | 331 -- .../plugins/function.html_select_time.php | 194 - .../smarty_v2/plugins/function.html_table.php | 177 - tools/smarty_v2/plugins/function.mailto.php | 165 - tools/smarty_v2/plugins/function.math.php | 84 - tools/smarty_v2/plugins/function.popup.php | 119 - .../smarty_v2/plugins/function.popup_init.php | 40 - tools/smarty_v2/plugins/index.php | 11 - .../smarty_v2/plugins/modifier.capitalize.php | 43 - tools/smarty_v2/plugins/modifier.cat.php | 33 - .../plugins/modifier.count_characters.php | 32 - .../plugins/modifier.count_paragraphs.php | 29 - .../plugins/modifier.count_sentences.php | 29 - .../plugins/modifier.count_words.php | 33 - .../plugins/modifier.date_format.php | 58 - .../plugins/modifier.debug_print_var.php | 90 - tools/smarty_v2/plugins/modifier.default.php | 32 - tools/smarty_v2/plugins/modifier.escape.php | 93 - tools/smarty_v2/plugins/modifier.indent.php | 28 - tools/smarty_v2/plugins/modifier.lower.php | 26 - tools/smarty_v2/plugins/modifier.nl2br.php | 35 - .../plugins/modifier.regex_replace.php | 48 - tools/smarty_v2/plugins/modifier.replace.php | 30 - tools/smarty_v2/plugins/modifier.spacify.php | 30 - .../plugins/modifier.string_format.php | 29 - tools/smarty_v2/plugins/modifier.strip.php | 33 - .../smarty_v2/plugins/modifier.strip_tags.php | 32 - tools/smarty_v2/plugins/modifier.truncate.php | 51 - tools/smarty_v2/plugins/modifier.upper.php | 26 - tools/smarty_v2/plugins/modifier.wordwrap.php | 29 - .../plugins/outputfilter.trimwhitespace.php | 75 - .../plugins/shared.escape_special_chars.php | 31 - .../plugins/shared.make_timestamp.php | 46 - tools/swift/EasySwift.php | 949 ---- tools/swift/Swift.php | 489 -- tools/swift/Swift/Address.php | 104 - tools/swift/Swift/AddressContainer.php | 8 - tools/swift/Swift/Authenticator.php | 33 - .../swift/Swift/Authenticator/@PopB4Smtp.php | 86 - tools/swift/Swift/Authenticator/CRAMMD5.php | 73 - tools/swift/Swift/Authenticator/LOGIN.php | 49 - tools/swift/Swift/Authenticator/PLAIN.php | 50 - .../PopB4Smtp/Pop3Connection.php | 176 - .../Swift/Authenticator/PopB4Smtp/index.php | 11 - tools/swift/Swift/Authenticator/index.php | 13 - tools/swift/Swift/BadResponseException.php | 22 - tools/swift/Swift/BatchMailer.php | 229 - tools/swift/Swift/Cache.php | 55 - tools/swift/Swift/Cache/Disk.php | 130 - tools/swift/Swift/Cache/JointOutputStream.php | 74 - tools/swift/Swift/Cache/Memory.php | 78 - tools/swift/Swift/Cache/OutputStream.php | 60 - tools/swift/Swift/Cache/index.php | 11 - tools/swift/Swift/CacheFactory.php | 47 - tools/swift/Swift/ClassLoader.php | 38 - tools/swift/Swift/Connection.php | 81 - tools/swift/Swift/Connection/Multi.php | 161 - tools/swift/Swift/Connection/NativeMail.php | 136 - tools/swift/Swift/Connection/Rotator.php | 194 - tools/swift/Swift/Connection/SMTP.php | 452 -- tools/swift/Swift/Connection/Sendmail.php | 352 -- tools/swift/Swift/Connection/index.php | 11 - tools/swift/Swift/ConnectionBase.php | 102 - tools/swift/Swift/ConnectionException.php | 22 - tools/swift/Swift/Events.php | 41 - .../Swift/Events/BeforeCommandListener.php | 25 - .../swift/Swift/Events/BeforeSendListener.php | 25 - tools/swift/Swift/Events/CommandEvent.php | 74 - tools/swift/Swift/Events/CommandListener.php | 25 - tools/swift/Swift/Events/ConnectEvent.php | 42 - tools/swift/Swift/Events/ConnectListener.php | 25 - tools/swift/Swift/Events/DisconnectEvent.php | 42 - .../swift/Swift/Events/DisconnectListener.php | 25 - tools/swift/Swift/Events/Listener.php | 17 - tools/swift/Swift/Events/ListenerMapper.php | 47 - tools/swift/Swift/Events/ResponseEvent.php | 71 - tools/swift/Swift/Events/ResponseListener.php | 25 - tools/swift/Swift/Events/SendEvent.php | 116 - tools/swift/Swift/Events/SendListener.php | 24 - tools/swift/Swift/Events/index.php | 11 - tools/swift/Swift/Exception.php | 36 - tools/swift/Swift/File.php | 208 - tools/swift/Swift/FileException.php | 22 - tools/swift/Swift/Iterator.php | 44 - tools/swift/Swift/Iterator/Array.php | 111 - tools/swift/Swift/Iterator/MySQLResult.php | 121 - tools/swift/Swift/Iterator/index.php | 11 - tools/swift/Swift/Log.php | 152 - tools/swift/Swift/Log/DefaultLog.php | 58 - tools/swift/Swift/Log/index.php | 11 - tools/swift/Swift/LogContainer.php | 47 - tools/swift/Swift/Message.php | 797 ---- tools/swift/Swift/Message/Attachment.php | 161 - tools/swift/Swift/Message/EmbeddedFile.php | 77 - tools/swift/Swift/Message/Encoder.php | 455 -- tools/swift/Swift/Message/Headers.php | 573 --- tools/swift/Swift/Message/Image.php | 55 - tools/swift/Swift/Message/Mime.php | 500 -- tools/swift/Swift/Message/MimeException.php | 22 - tools/swift/Swift/Message/Part.php | 134 - tools/swift/Swift/Message/index.php | 11 - tools/swift/Swift/Plugin/AntiFlood.php | 105 - tools/swift/Swift/Plugin/BandwidthMonitor.php | 107 - .../swift/Swift/Plugin/ConnectionRotator.php | 113 - tools/swift/Swift/Plugin/Decorator.php | 259 - .../Swift/Plugin/Decorator/Replacements.php | 77 - tools/swift/Swift/Plugin/Decorator/index.php | 11 - .../Swift/Plugin/EasySwiftResponseTracker.php | 46 - tools/swift/Swift/Plugin/FileEmbedder.php | 428 -- tools/swift/Swift/Plugin/MailSend.php | 170 - tools/swift/Swift/Plugin/Throttler.php | 168 - tools/swift/Swift/Plugin/VerboseSending.php | 88 - .../Plugin/VerboseSending/AbstractView.php | 26 - .../Plugin/VerboseSending/DefaultView.php | 50 - .../Swift/Plugin/VerboseSending/index.php | 11 - tools/swift/Swift/Plugin/index.php | 11 - tools/swift/Swift/RecipientList.php | 234 - tools/swift/Swift/index.php | 11 - tools/swift/index.php | 11 - .../taasc/AddressStandardizationSolution.php | 1684 ------- tools/tar/Archive_Tar.php | 1764 ------- translations/de/admin.php | 2986 ------------ translations/de/errors.php | 511 -- translations/de/fields.php | 514 -- translations/de/index.php | 11 - translations/de/pdf.php | 67 - translations/en/admin.php | 2923 ------------ translations/en/errors.php | 7 - translations/en/fields.php | 120 - translations/en/index.php | 11 - translations/en/pdf.php | 7 - translations/es/admin.php | 2987 ------------ translations/es/errors.php | 508 -- translations/es/fields.php | 516 -- translations/es/index.php | 11 - translations/es/pdf.php | 67 - translations/export/index.php | 11 - translations/fr/admin.php | 2987 ------------ translations/fr/errors.php | 508 -- translations/fr/fields.php | 514 -- translations/fr/index.php | 11 - translations/fr/pdf.php | 67 - translations/index.php | 11 - translations/it/admin.php | 2986 ------------ translations/it/errors.php | 511 -- translations/it/fields.php | 514 -- translations/it/index.php | 11 - translations/it/pdf.php | 67 - upload/index.php | 11 - webservice/dispatcher.php | 94 - webservice/index.php | 36 - 646 files changed, 94688 deletions(-) delete mode 100644 my-account.php delete mode 100644 new-products.php delete mode 100644 order-confirmation.php delete mode 100644 order-detail.php delete mode 100644 order-follow.php delete mode 100755 order-opc.php delete mode 100644 order-return.php delete mode 100644 order-slip.php delete mode 100644 order.php delete mode 100755 override/classes/_FrontController.php delete mode 100644 override/classes/_Module.php delete mode 100644 override/classes/_MySQL.php delete mode 100644 pagination.php delete mode 100644 password.php delete mode 100644 pdf-invoice.php delete mode 100644 pdf-order-return.php delete mode 100644 pdf-order-slip.php delete mode 100644 prices-drop.php delete mode 100644 product-sort.php delete mode 100644 product.php delete mode 100644 products-comparison.php delete mode 100644 readme_de.txt delete mode 100644 readme_en.txt delete mode 100644 readme_es.txt delete mode 100644 readme_fr.txt delete mode 100644 readme_it.txt delete mode 100644 search.php delete mode 100644 sitemap.php delete mode 100644 sitemap.xml delete mode 100644 statistics.php delete mode 100644 stores.php delete mode 100644 supplier.php delete mode 100644 themes/debug.tpl delete mode 100644 themes/index.php delete mode 100644 themes/live_edit.tpl delete mode 100644 themes/prestashop/404.tpl delete mode 100644 themes/prestashop/address.tpl delete mode 100644 themes/prestashop/addresses.tpl delete mode 100644 themes/prestashop/authentication.tpl delete mode 100644 themes/prestashop/best-sales.tpl delete mode 100644 themes/prestashop/breadcrumb.tpl delete mode 100644 themes/prestashop/category-cms-tree-branch.tpl delete mode 100644 themes/prestashop/category-tree-branch.tpl delete mode 100644 themes/prestashop/category.tpl delete mode 100644 themes/prestashop/cms.tpl delete mode 100644 themes/prestashop/config.xml delete mode 100644 themes/prestashop/contact-form.tpl delete mode 100755 themes/prestashop/css/addresses.css delete mode 100755 themes/prestashop/css/authentication.css delete mode 100755 themes/prestashop/css/category.css delete mode 100644 themes/prestashop/css/cms.css delete mode 100644 themes/prestashop/css/comparator.css delete mode 100755 themes/prestashop/css/contact-form.css delete mode 100644 themes/prestashop/css/global.css delete mode 100755 themes/prestashop/css/history.css delete mode 100755 themes/prestashop/css/identity.css delete mode 100644 themes/prestashop/css/maintenance.css delete mode 100755 themes/prestashop/css/modules/blockadvertising/blockadvertising.css delete mode 100755 themes/prestashop/css/modules/blockbestsellers/blockbestsellers.css delete mode 100755 themes/prestashop/css/modules/blockcart/blockcart.css delete mode 100755 themes/prestashop/css/modules/blockcategories/blockcategories.css delete mode 100755 themes/prestashop/css/modules/blockcms/blockcms.css delete mode 100755 themes/prestashop/css/modules/blockcurrencies/blockcurrencies.css delete mode 100755 themes/prestashop/css/modules/blocklanguages/blocklanguages.css delete mode 100755 themes/prestashop/css/modules/blockmanufacturer/blockmanufacturer.css delete mode 100755 themes/prestashop/css/modules/blockmyaccount/blockmyaccount.css delete mode 100755 themes/prestashop/css/modules/blocknewproducts/blocknewproducts.css delete mode 100755 themes/prestashop/css/modules/blocknewsletter/blocknewsletter.css delete mode 100755 themes/prestashop/css/modules/blockpaymentlogo/blockpaymentlogo.css delete mode 100755 themes/prestashop/css/modules/blockpermanentlinks/blockpermanentlinks.css delete mode 100755 themes/prestashop/css/modules/blockrss/blockrss.css delete mode 100755 themes/prestashop/css/modules/blocksearch/blocksearch.css delete mode 100755 themes/prestashop/css/modules/blockspecials/blockspecials.css delete mode 100644 themes/prestashop/css/modules/blockstore/blockstore.css delete mode 100755 themes/prestashop/css/modules/blocksupplier/blocksupplier.css delete mode 100755 themes/prestashop/css/modules/blocktags/blocktags.css delete mode 100755 themes/prestashop/css/modules/blockuserinfo/blockuserinfo.css delete mode 100755 themes/prestashop/css/modules/blockviewed/blockviewed.css delete mode 100755 themes/prestashop/css/modules/blockwishlist/blockwishlist.css delete mode 100644 themes/prestashop/css/modules/crossselling/crossselling.css delete mode 100755 themes/prestashop/css/modules/editorial/editorial.css delete mode 100755 themes/prestashop/css/my-account.css delete mode 100755 themes/prestashop/css/order-opc.css delete mode 100755 themes/prestashop/css/product.css delete mode 100755 themes/prestashop/css/product_list.css delete mode 100644 themes/prestashop/css/restricted-country.css delete mode 100644 themes/prestashop/css/scenes.css delete mode 100755 themes/prestashop/css/sitemap.css delete mode 100644 themes/prestashop/css/stores.css delete mode 100644 themes/prestashop/discount.tpl delete mode 100644 themes/prestashop/errors.tpl delete mode 100644 themes/prestashop/footer.tpl delete mode 100644 themes/prestashop/guest-tracking.tpl delete mode 100644 themes/prestashop/header.tpl delete mode 100644 themes/prestashop/history.tpl delete mode 100644 themes/prestashop/identity.tpl delete mode 100644 themes/prestashop/img/address_alias_left.gif delete mode 100644 themes/prestashop/img/address_alias_right.gif delete mode 100644 themes/prestashop/img/ajax-loader.gif delete mode 100644 themes/prestashop/img/arrow_rotate_anticlockwise.png delete mode 100644 themes/prestashop/img/bg_account.jpg delete mode 100644 themes/prestashop/img/block_bg.jpg delete mode 100644 themes/prestashop/img/block_bg_myaccount.jpg delete mode 100644 themes/prestashop/img/block_category_item_bg.jpg delete mode 100644 themes/prestashop/img/block_exclusive_bg.jpg delete mode 100644 themes/prestashop/img/block_exclusive_footer.jpg delete mode 100644 themes/prestashop/img/block_footer.gif delete mode 100755 themes/prestashop/img/block_footer.png delete mode 100644 themes/prestashop/img/block_footer_myaccount.jpg delete mode 100644 themes/prestashop/img/block_header.gif delete mode 100755 themes/prestashop/img/block_header.png delete mode 100644 themes/prestashop/img/block_header_exclusive.gif delete mode 100755 themes/prestashop/img/block_header_exclusive.png delete mode 100644 themes/prestashop/img/block_header_exclusive_cart.gif delete mode 100755 themes/prestashop/img/block_header_exclusive_cart.png delete mode 100644 themes/prestashop/img/block_header_large.gif delete mode 100755 themes/prestashop/img/block_header_large.png delete mode 100644 themes/prestashop/img/block_header_myaccount.jpg delete mode 100644 themes/prestashop/img/block_myaccount_header_large.gif delete mode 100644 themes/prestashop/img/block_search_bg.jpg delete mode 100644 themes/prestashop/img/bullet.gif delete mode 100644 themes/prestashop/img/bullet_alt.jpg delete mode 100644 themes/prestashop/img/bullet_myaccount.gif delete mode 100644 themes/prestashop/img/bullet_price.gif delete mode 100644 themes/prestashop/img/button-account-large.gif delete mode 100644 themes/prestashop/img/button-account-mini.gif delete mode 100644 themes/prestashop/img/button-account-small.gif delete mode 100644 themes/prestashop/img/button-account.gif delete mode 100644 themes/prestashop/img/button-large.gif delete mode 100755 themes/prestashop/img/button-large.png delete mode 100644 themes/prestashop/img/button-large_exclusive.gif delete mode 100644 themes/prestashop/img/button-medium.gif delete mode 100755 themes/prestashop/img/button-medium.png delete mode 100644 themes/prestashop/img/button-medium_exclusive.gif delete mode 100755 themes/prestashop/img/button-medium_exclusive.png delete mode 100644 themes/prestashop/img/button-mini.gif delete mode 100755 themes/prestashop/img/button-mini.png delete mode 100644 themes/prestashop/img/button-mini_exclusive.gif delete mode 100644 themes/prestashop/img/button-small.gif delete mode 100755 themes/prestashop/img/button-small.png delete mode 100644 themes/prestashop/img/button-small_exclusive.gif delete mode 100644 themes/prestashop/img/flag_new_bg.jpg delete mode 100644 themes/prestashop/img/footer_account.gif delete mode 100644 themes/prestashop/img/form-input-bg.gif delete mode 100644 themes/prestashop/img/form_bg.jpg delete mode 100644 themes/prestashop/img/header_account.gif delete mode 100644 themes/prestashop/img/icon/add.gif delete mode 100644 themes/prestashop/img/icon/addrbook.gif delete mode 100644 themes/prestashop/img/icon/available.gif delete mode 100644 themes/prestashop/img/icon/cancel.gif delete mode 100644 themes/prestashop/img/icon/cancel_16x18.gif delete mode 100644 themes/prestashop/img/icon/cart.gif delete mode 100644 themes/prestashop/img/icon/cible.gif delete mode 100644 themes/prestashop/img/icon/contact.gif delete mode 100644 themes/prestashop/img/icon/delete.gif delete mode 100644 themes/prestashop/img/icon/download_product.gif delete mode 100644 themes/prestashop/img/icon/error.gif delete mode 100644 themes/prestashop/img/icon/gift.gif delete mode 100644 themes/prestashop/img/icon/home.gif delete mode 100644 themes/prestashop/img/icon/infos.gif delete mode 100644 themes/prestashop/img/icon/less.gif delete mode 100644 themes/prestashop/img/icon/magnify.gif delete mode 100644 themes/prestashop/img/icon/more.gif delete mode 100644 themes/prestashop/img/icon/my-account.gif delete mode 100644 themes/prestashop/img/icon/next.gif delete mode 100644 themes/prestashop/img/icon/no.gif delete mode 100644 themes/prestashop/img/icon/order.gif delete mode 100644 themes/prestashop/img/icon/pdf.gif delete mode 100644 themes/prestashop/img/icon/previous.gif delete mode 100644 themes/prestashop/img/icon/quantity_down.gif delete mode 100755 themes/prestashop/img/icon/quantity_down_off.gif delete mode 100644 themes/prestashop/img/icon/quantity_up.gif delete mode 100644 themes/prestashop/img/icon/recyclable.gif delete mode 100644 themes/prestashop/img/icon/return.gif delete mode 100644 themes/prestashop/img/icon/search.gif delete mode 100644 themes/prestashop/img/icon/serial_scroll_left.gif delete mode 100644 themes/prestashop/img/icon/serial_scroll_right.gif delete mode 100644 themes/prestashop/img/icon/sitemap.gif delete mode 100644 themes/prestashop/img/icon/slip.gif delete mode 100644 themes/prestashop/img/icon/sort_asc.gif delete mode 100644 themes/prestashop/img/icon/sort_asc_disabled.gif delete mode 100644 themes/prestashop/img/icon/sort_asc_white.gif delete mode 100755 themes/prestashop/img/icon/sort_asc_white.png delete mode 100644 themes/prestashop/img/icon/sort_desc.gif delete mode 100644 themes/prestashop/img/icon/sort_desc_disabled.gif delete mode 100644 themes/prestashop/img/icon/sort_desc_white.gif delete mode 100755 themes/prestashop/img/icon/sort_desc_white.png delete mode 100644 themes/prestashop/img/icon/star.gif delete mode 100644 themes/prestashop/img/icon/unavailable.gif delete mode 100644 themes/prestashop/img/icon/up.gif delete mode 100644 themes/prestashop/img/icon/update.gif delete mode 100644 themes/prestashop/img/icon/userinfo.gif delete mode 100644 themes/prestashop/img/icon/voucher.gif delete mode 100644 themes/prestashop/img/icon/yes.gif delete mode 100644 themes/prestashop/img/jquery/macFFBgHack.png delete mode 100644 themes/prestashop/img/logo_paiement_mastercard.jpg delete mode 100644 themes/prestashop/img/logo_paiement_paypal.jpg delete mode 100644 themes/prestashop/img/logo_paiement_visa.jpg delete mode 100755 themes/prestashop/img/nav-logout.gif delete mode 100644 themes/prestashop/img/onsale_en.gif delete mode 100644 themes/prestashop/img/onsale_es.gif delete mode 100644 themes/prestashop/img/onsale_fr.gif delete mode 100644 themes/prestashop/img/pagination-bg-current.gif delete mode 100644 themes/prestashop/img/pagination-next-border.gif delete mode 100644 themes/prestashop/img/pagination-prev-border.gif delete mode 100644 themes/prestashop/img/pagination-prevnext-bg.gif delete mode 100644 themes/prestashop/img/pagination_bg.gif delete mode 100644 themes/prestashop/img/product-buy-bg.gif delete mode 100644 themes/prestashop/img/product-short-desc-bg.gif delete mode 100644 themes/prestashop/img/rss.gif delete mode 100644 themes/prestashop/img/sitemap-horizontal.gif delete mode 100755 themes/prestashop/img/sitemap-horizontal.png delete mode 100644 themes/prestashop/img/sitemap-last.gif delete mode 100644 themes/prestashop/img/sitemap-top.gif delete mode 100644 themes/prestashop/img/sitemap_long.gif delete mode 100644 themes/prestashop/img/step_current.gif delete mode 100644 themes/prestashop/img/step_end.gif delete mode 100644 themes/prestashop/img/step_end_current.gif delete mode 100644 themes/prestashop/img/step_standard.gif delete mode 100644 themes/prestashop/img/step_start.gif delete mode 100644 themes/prestashop/img/tab_bg.jpg delete mode 100644 themes/prestashop/img/tab_bg_selected.jpg delete mode 100644 themes/prestashop/img/tab_bg_selected_short.jpg delete mode 100644 themes/prestashop/img/tab_bg_short.jpg delete mode 100644 themes/prestashop/img/table_footer.gif delete mode 100644 themes/prestashop/img/table_header.gif delete mode 100644 themes/prestashop/img/thumbs_left.gif delete mode 100644 themes/prestashop/img/thumbs_right.gif delete mode 100644 themes/prestashop/img/title_bg.gif delete mode 100755 themes/prestashop/img/title_bg.png delete mode 100644 themes/prestashop/img/title_bg_large.gif delete mode 100644 themes/prestashop/index.php delete mode 100644 themes/prestashop/index.tpl delete mode 100644 themes/prestashop/js/cart-summary.js delete mode 100644 themes/prestashop/js/cms.js delete mode 100644 themes/prestashop/js/history.js delete mode 100644 themes/prestashop/js/order-address.js delete mode 100755 themes/prestashop/js/order-opc.js delete mode 100644 themes/prestashop/js/product.js delete mode 100644 themes/prestashop/js/products-comparison.js delete mode 100644 themes/prestashop/js/scenes.js delete mode 100644 themes/prestashop/js/stores.js delete mode 100644 themes/prestashop/js/tools.js delete mode 100644 themes/prestashop/js/tools/statesManagement.js delete mode 100644 themes/prestashop/js/tools/treeManagement.js delete mode 100644 themes/prestashop/lang/de.php delete mode 100644 themes/prestashop/lang/en.php delete mode 100644 themes/prestashop/lang/es.php delete mode 100644 themes/prestashop/lang/fr.php delete mode 100755 themes/prestashop/lang/it.php delete mode 100644 themes/prestashop/maintenance.tpl delete mode 100644 themes/prestashop/manufacturer-list.tpl delete mode 100644 themes/prestashop/manufacturer.tpl delete mode 100644 themes/prestashop/my-account.tpl delete mode 100644 themes/prestashop/new-products.tpl delete mode 100644 themes/prestashop/order-address.tpl delete mode 100644 themes/prestashop/order-carrier.tpl delete mode 100644 themes/prestashop/order-confirmation.tpl delete mode 100644 themes/prestashop/order-detail.tpl delete mode 100644 themes/prestashop/order-follow.tpl delete mode 100644 themes/prestashop/order-opc-new-account.tpl delete mode 100755 themes/prestashop/order-opc.tpl delete mode 100644 themes/prestashop/order-payment.tpl delete mode 100644 themes/prestashop/order-return.tpl delete mode 100644 themes/prestashop/order-slip.tpl delete mode 100644 themes/prestashop/order-steps.tpl delete mode 100644 themes/prestashop/pagination.tpl delete mode 100644 themes/prestashop/password.tpl delete mode 100644 themes/prestashop/preview.jpg delete mode 100644 themes/prestashop/prices-drop.tpl delete mode 100644 themes/prestashop/product-compare.tpl delete mode 100644 themes/prestashop/product-list.tpl delete mode 100644 themes/prestashop/product-sort.tpl delete mode 100644 themes/prestashop/product.tpl delete mode 100644 themes/prestashop/products-comparison.tpl delete mode 100644 themes/prestashop/restricted-country.tpl delete mode 100644 themes/prestashop/scenes.tpl delete mode 100644 themes/prestashop/search.tpl delete mode 100644 themes/prestashop/shopping-cart-product-line.tpl delete mode 100644 themes/prestashop/shopping-cart.tpl delete mode 100644 themes/prestashop/sitemap.tpl delete mode 100644 themes/prestashop/store_infos.tpl delete mode 100644 themes/prestashop/stores.tpl delete mode 100644 themes/prestashop/supplier-list.tpl delete mode 100644 themes/prestashop/supplier.tpl delete mode 100755 tools/.htaccess delete mode 100644 tools/fpdf/font/courier.php delete mode 100644 tools/fpdf/font/helvetica.php delete mode 100644 tools/fpdf/font/helveticab.php delete mode 100644 tools/fpdf/font/helveticabi.php delete mode 100644 tools/fpdf/font/helveticai.php delete mode 100644 tools/fpdf/font/index.php delete mode 100644 tools/fpdf/font/makefont/cp1250.map delete mode 100644 tools/fpdf/font/makefont/cp1251.map delete mode 100644 tools/fpdf/font/makefont/cp1252.map delete mode 100644 tools/fpdf/font/makefont/cp1253.map delete mode 100644 tools/fpdf/font/makefont/cp1254.map delete mode 100644 tools/fpdf/font/makefont/cp1255.map delete mode 100644 tools/fpdf/font/makefont/cp1257.map delete mode 100644 tools/fpdf/font/makefont/cp1258.map delete mode 100644 tools/fpdf/font/makefont/cp874.map delete mode 100644 tools/fpdf/font/makefont/index.php delete mode 100644 tools/fpdf/font/makefont/iso-8859-1.map delete mode 100644 tools/fpdf/font/makefont/iso-8859-11.map delete mode 100644 tools/fpdf/font/makefont/iso-8859-15.map delete mode 100644 tools/fpdf/font/makefont/iso-8859-16.map delete mode 100644 tools/fpdf/font/makefont/iso-8859-2.map delete mode 100644 tools/fpdf/font/makefont/iso-8859-4.map delete mode 100644 tools/fpdf/font/makefont/iso-8859-5.map delete mode 100644 tools/fpdf/font/makefont/iso-8859-7.map delete mode 100644 tools/fpdf/font/makefont/iso-8859-9.map delete mode 100644 tools/fpdf/font/makefont/koi8-r.map delete mode 100644 tools/fpdf/font/makefont/koi8-u.map delete mode 100644 tools/fpdf/font/makefont/makefont.php delete mode 100644 tools/fpdf/font/symbol.php delete mode 100644 tools/fpdf/font/times.php delete mode 100644 tools/fpdf/font/timesb.php delete mode 100644 tools/fpdf/font/timesbi.php delete mode 100644 tools/fpdf/font/timesi.php delete mode 100644 tools/fpdf/font/zapfdingbats.php delete mode 100644 tools/fpdf/fpdf.php delete mode 100644 tools/fpdf/index.php delete mode 100755 tools/geoip/geoip.inc delete mode 100755 tools/geoip/geoipcity.inc delete mode 100755 tools/geoip/geoipregionvars.php delete mode 100644 tools/index.php delete mode 100644 tools/js_minify/jsmin.php delete mode 100755 tools/minify_html/minify_html.class.php delete mode 100644 tools/pear/PEAR.php delete mode 100644 tools/pear_xml_parser/Parser.php delete mode 100644 tools/pear_xml_parser/Parser/Atom.php delete mode 100644 tools/pear_xml_parser/Parser/AtomElement.php delete mode 100644 tools/pear_xml_parser/Parser/Exception.php delete mode 100644 tools/pear_xml_parser/Parser/RSS09.php delete mode 100644 tools/pear_xml_parser/Parser/RSS09Element.php delete mode 100644 tools/pear_xml_parser/Parser/RSS1.php delete mode 100644 tools/pear_xml_parser/Parser/RSS11.php delete mode 100644 tools/pear_xml_parser/Parser/RSS11Element.php delete mode 100644 tools/pear_xml_parser/Parser/RSS1Element.php delete mode 100644 tools/pear_xml_parser/Parser/RSS2.php delete mode 100644 tools/pear_xml_parser/Parser/RSS2Element.php delete mode 100644 tools/pear_xml_parser/Parser/Type.php delete mode 100644 tools/pear_xml_parser/Parser/index.php delete mode 100644 tools/pear_xml_parser/index.php delete mode 100644 tools/smarty/Smarty.class.php delete mode 100644 tools/smarty/cache/index.php delete mode 100644 tools/smarty/compile/index.php delete mode 100644 tools/smarty/debug.tpl delete mode 100644 tools/smarty/plugins/block.php.php delete mode 100644 tools/smarty/plugins/block.textformat.php delete mode 100644 tools/smarty/plugins/function.counter.php delete mode 100644 tools/smarty/plugins/function.cycle.php delete mode 100644 tools/smarty/plugins/function.fetch.php delete mode 100644 tools/smarty/plugins/function.html_checkboxes.php delete mode 100644 tools/smarty/plugins/function.html_image.php delete mode 100644 tools/smarty/plugins/function.html_options.php delete mode 100644 tools/smarty/plugins/function.html_radios.php delete mode 100644 tools/smarty/plugins/function.html_select_date.php delete mode 100644 tools/smarty/plugins/function.html_select_time.php delete mode 100644 tools/smarty/plugins/function.html_table.php delete mode 100644 tools/smarty/plugins/function.mailto.php delete mode 100644 tools/smarty/plugins/function.math.php delete mode 100644 tools/smarty/plugins/modifier.capitalize.php delete mode 100644 tools/smarty/plugins/modifier.date_format.php delete mode 100644 tools/smarty/plugins/modifier.debug_print_var.php delete mode 100644 tools/smarty/plugins/modifier.escape.php delete mode 100644 tools/smarty/plugins/modifier.regex_replace.php delete mode 100644 tools/smarty/plugins/modifier.replace.php delete mode 100644 tools/smarty/plugins/modifier.spacify.php delete mode 100644 tools/smarty/plugins/modifier.truncate.php delete mode 100644 tools/smarty/plugins/modifiercompiler.cat.php delete mode 100644 tools/smarty/plugins/modifiercompiler.count_characters.php delete mode 100644 tools/smarty/plugins/modifiercompiler.count_paragraphs.php delete mode 100644 tools/smarty/plugins/modifiercompiler.count_sentences.php delete mode 100644 tools/smarty/plugins/modifiercompiler.count_words.php delete mode 100644 tools/smarty/plugins/modifiercompiler.default.php delete mode 100644 tools/smarty/plugins/modifiercompiler.indent.php delete mode 100644 tools/smarty/plugins/modifiercompiler.lower.php delete mode 100644 tools/smarty/plugins/modifiercompiler.noprint.php delete mode 100644 tools/smarty/plugins/modifiercompiler.string_format.php delete mode 100644 tools/smarty/plugins/modifiercompiler.strip.php delete mode 100644 tools/smarty/plugins/modifiercompiler.strip_tags.php delete mode 100644 tools/smarty/plugins/modifiercompiler.upper.php delete mode 100644 tools/smarty/plugins/modifiercompiler.wordwrap.php delete mode 100644 tools/smarty/plugins/outputfilter.trimwhitespace.php delete mode 100644 tools/smarty/plugins/shared.escape_special_chars.php delete mode 100644 tools/smarty/plugins/shared.make_timestamp.php delete mode 100644 tools/smarty/plugins/shared.mb_str_replace.php delete mode 100644 tools/smarty/plugins/variablefilter.htmlspecialchars.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_cacheresource_file.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_compile_append.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_compile_assign.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_compile_block.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_compile_break.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_compile_call.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_compile_capture.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_compile_config_load.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_compile_continue.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_compile_debug.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_compile_eval.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_compile_extends.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_compile_for.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_compile_foreach.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_compile_function.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_compile_if.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_compile_include.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_compile_include_php.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_compile_insert.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_compile_ldelim.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_compile_nocache.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_compile_private_block_plugin.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_compile_private_function_plugin.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_compile_private_modifier.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_compile_private_object_block_function.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_compile_private_object_function.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_compile_private_print_expression.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_compile_private_registered_block.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_compile_private_registered_function.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_compile_private_special_variable.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_compile_rdelim.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_compile_section.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_compile_while.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_compilebase.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_config.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_config_file_compiler.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_configfilelexer.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_configfileparser.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_data.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_debug.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_filter.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_filter_handler.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_function_call_handler.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_get_include_path.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_nocache_insert.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_parsetree.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_register.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_resource_eval.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_resource_extends.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_resource_file.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_resource_php.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_resource_registered.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_resource_stream.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_resource_string.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_smartytemplatecompiler.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_template.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_templatecompilerbase.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_templatelexer.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_templateparser.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_utility.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_wrapper.php delete mode 100644 tools/smarty/sysplugins/smarty_internal_write_file.php delete mode 100644 tools/smarty/sysplugins/smarty_security.php delete mode 100644 tools/smarty_v2/Config_File.class.php delete mode 100644 tools/smarty_v2/Smarty.class.php delete mode 100644 tools/smarty_v2/Smarty_Compiler.class.php delete mode 100644 tools/smarty_v2/cache/index.php delete mode 100644 tools/smarty_v2/compile/index.php delete mode 100644 tools/smarty_v2/configs/index.php delete mode 100644 tools/smarty_v2/index.php delete mode 100644 tools/smarty_v2/internals/core.assemble_plugin_filepath.php delete mode 100644 tools/smarty_v2/internals/core.assign_smarty_interface.php delete mode 100644 tools/smarty_v2/internals/core.create_dir_structure.php delete mode 100644 tools/smarty_v2/internals/core.display_debug_console.php delete mode 100644 tools/smarty_v2/internals/core.get_include_path.php delete mode 100644 tools/smarty_v2/internals/core.get_microtime.php delete mode 100644 tools/smarty_v2/internals/core.get_php_resource.php delete mode 100644 tools/smarty_v2/internals/core.is_secure.php delete mode 100644 tools/smarty_v2/internals/core.is_trusted.php delete mode 100644 tools/smarty_v2/internals/core.load_plugins.php delete mode 100644 tools/smarty_v2/internals/core.load_resource_plugin.php delete mode 100644 tools/smarty_v2/internals/core.process_cached_inserts.php delete mode 100644 tools/smarty_v2/internals/core.process_compiled_include.php delete mode 100644 tools/smarty_v2/internals/core.read_cache_file.php delete mode 100644 tools/smarty_v2/internals/core.rm_auto.php delete mode 100644 tools/smarty_v2/internals/core.rmdir.php delete mode 100644 tools/smarty_v2/internals/core.run_insert_handler.php delete mode 100644 tools/smarty_v2/internals/core.smarty_include_php.php delete mode 100644 tools/smarty_v2/internals/core.write_cache_file.php delete mode 100644 tools/smarty_v2/internals/core.write_compiled_include.php delete mode 100644 tools/smarty_v2/internals/core.write_compiled_resource.php delete mode 100644 tools/smarty_v2/internals/core.write_file.php delete mode 100644 tools/smarty_v2/internals/index.php delete mode 100644 tools/smarty_v2/plugins/block.textformat.php delete mode 100644 tools/smarty_v2/plugins/compiler.assign.php delete mode 100644 tools/smarty_v2/plugins/function.assign_debug_info.php delete mode 100644 tools/smarty_v2/plugins/function.config_load.php delete mode 100644 tools/smarty_v2/plugins/function.counter.php delete mode 100644 tools/smarty_v2/plugins/function.cycle.php delete mode 100644 tools/smarty_v2/plugins/function.debug.php delete mode 100644 tools/smarty_v2/plugins/function.eval.php delete mode 100644 tools/smarty_v2/plugins/function.fetch.php delete mode 100644 tools/smarty_v2/plugins/function.html_checkboxes.php delete mode 100644 tools/smarty_v2/plugins/function.html_image.php delete mode 100644 tools/smarty_v2/plugins/function.html_options.php delete mode 100644 tools/smarty_v2/plugins/function.html_radios.php delete mode 100644 tools/smarty_v2/plugins/function.html_select_date.php delete mode 100644 tools/smarty_v2/plugins/function.html_select_time.php delete mode 100644 tools/smarty_v2/plugins/function.html_table.php delete mode 100644 tools/smarty_v2/plugins/function.mailto.php delete mode 100644 tools/smarty_v2/plugins/function.math.php delete mode 100644 tools/smarty_v2/plugins/function.popup.php delete mode 100644 tools/smarty_v2/plugins/function.popup_init.php delete mode 100644 tools/smarty_v2/plugins/index.php delete mode 100644 tools/smarty_v2/plugins/modifier.capitalize.php delete mode 100644 tools/smarty_v2/plugins/modifier.cat.php delete mode 100644 tools/smarty_v2/plugins/modifier.count_characters.php delete mode 100644 tools/smarty_v2/plugins/modifier.count_paragraphs.php delete mode 100644 tools/smarty_v2/plugins/modifier.count_sentences.php delete mode 100644 tools/smarty_v2/plugins/modifier.count_words.php delete mode 100644 tools/smarty_v2/plugins/modifier.date_format.php delete mode 100644 tools/smarty_v2/plugins/modifier.debug_print_var.php delete mode 100644 tools/smarty_v2/plugins/modifier.default.php delete mode 100644 tools/smarty_v2/plugins/modifier.escape.php delete mode 100644 tools/smarty_v2/plugins/modifier.indent.php delete mode 100644 tools/smarty_v2/plugins/modifier.lower.php delete mode 100644 tools/smarty_v2/plugins/modifier.nl2br.php delete mode 100644 tools/smarty_v2/plugins/modifier.regex_replace.php delete mode 100644 tools/smarty_v2/plugins/modifier.replace.php delete mode 100644 tools/smarty_v2/plugins/modifier.spacify.php delete mode 100644 tools/smarty_v2/plugins/modifier.string_format.php delete mode 100644 tools/smarty_v2/plugins/modifier.strip.php delete mode 100644 tools/smarty_v2/plugins/modifier.strip_tags.php delete mode 100644 tools/smarty_v2/plugins/modifier.truncate.php delete mode 100644 tools/smarty_v2/plugins/modifier.upper.php delete mode 100644 tools/smarty_v2/plugins/modifier.wordwrap.php delete mode 100644 tools/smarty_v2/plugins/outputfilter.trimwhitespace.php delete mode 100644 tools/smarty_v2/plugins/shared.escape_special_chars.php delete mode 100644 tools/smarty_v2/plugins/shared.make_timestamp.php delete mode 100644 tools/swift/EasySwift.php delete mode 100644 tools/swift/Swift.php delete mode 100644 tools/swift/Swift/Address.php delete mode 100644 tools/swift/Swift/AddressContainer.php delete mode 100644 tools/swift/Swift/Authenticator.php delete mode 100644 tools/swift/Swift/Authenticator/@PopB4Smtp.php delete mode 100644 tools/swift/Swift/Authenticator/CRAMMD5.php delete mode 100644 tools/swift/Swift/Authenticator/LOGIN.php delete mode 100644 tools/swift/Swift/Authenticator/PLAIN.php delete mode 100644 tools/swift/Swift/Authenticator/PopB4Smtp/Pop3Connection.php delete mode 100644 tools/swift/Swift/Authenticator/PopB4Smtp/index.php delete mode 100644 tools/swift/Swift/Authenticator/index.php delete mode 100644 tools/swift/Swift/BadResponseException.php delete mode 100644 tools/swift/Swift/BatchMailer.php delete mode 100644 tools/swift/Swift/Cache.php delete mode 100644 tools/swift/Swift/Cache/Disk.php delete mode 100644 tools/swift/Swift/Cache/JointOutputStream.php delete mode 100644 tools/swift/Swift/Cache/Memory.php delete mode 100644 tools/swift/Swift/Cache/OutputStream.php delete mode 100644 tools/swift/Swift/Cache/index.php delete mode 100644 tools/swift/Swift/CacheFactory.php delete mode 100644 tools/swift/Swift/ClassLoader.php delete mode 100644 tools/swift/Swift/Connection.php delete mode 100644 tools/swift/Swift/Connection/Multi.php delete mode 100644 tools/swift/Swift/Connection/NativeMail.php delete mode 100644 tools/swift/Swift/Connection/Rotator.php delete mode 100644 tools/swift/Swift/Connection/SMTP.php delete mode 100644 tools/swift/Swift/Connection/Sendmail.php delete mode 100644 tools/swift/Swift/Connection/index.php delete mode 100644 tools/swift/Swift/ConnectionBase.php delete mode 100644 tools/swift/Swift/ConnectionException.php delete mode 100644 tools/swift/Swift/Events.php delete mode 100644 tools/swift/Swift/Events/BeforeCommandListener.php delete mode 100644 tools/swift/Swift/Events/BeforeSendListener.php delete mode 100644 tools/swift/Swift/Events/CommandEvent.php delete mode 100644 tools/swift/Swift/Events/CommandListener.php delete mode 100644 tools/swift/Swift/Events/ConnectEvent.php delete mode 100644 tools/swift/Swift/Events/ConnectListener.php delete mode 100644 tools/swift/Swift/Events/DisconnectEvent.php delete mode 100644 tools/swift/Swift/Events/DisconnectListener.php delete mode 100644 tools/swift/Swift/Events/Listener.php delete mode 100644 tools/swift/Swift/Events/ListenerMapper.php delete mode 100644 tools/swift/Swift/Events/ResponseEvent.php delete mode 100644 tools/swift/Swift/Events/ResponseListener.php delete mode 100644 tools/swift/Swift/Events/SendEvent.php delete mode 100644 tools/swift/Swift/Events/SendListener.php delete mode 100644 tools/swift/Swift/Events/index.php delete mode 100644 tools/swift/Swift/Exception.php delete mode 100644 tools/swift/Swift/File.php delete mode 100644 tools/swift/Swift/FileException.php delete mode 100644 tools/swift/Swift/Iterator.php delete mode 100644 tools/swift/Swift/Iterator/Array.php delete mode 100644 tools/swift/Swift/Iterator/MySQLResult.php delete mode 100644 tools/swift/Swift/Iterator/index.php delete mode 100644 tools/swift/Swift/Log.php delete mode 100644 tools/swift/Swift/Log/DefaultLog.php delete mode 100644 tools/swift/Swift/Log/index.php delete mode 100644 tools/swift/Swift/LogContainer.php delete mode 100644 tools/swift/Swift/Message.php delete mode 100644 tools/swift/Swift/Message/Attachment.php delete mode 100644 tools/swift/Swift/Message/EmbeddedFile.php delete mode 100644 tools/swift/Swift/Message/Encoder.php delete mode 100644 tools/swift/Swift/Message/Headers.php delete mode 100644 tools/swift/Swift/Message/Image.php delete mode 100644 tools/swift/Swift/Message/Mime.php delete mode 100644 tools/swift/Swift/Message/MimeException.php delete mode 100644 tools/swift/Swift/Message/Part.php delete mode 100644 tools/swift/Swift/Message/index.php delete mode 100644 tools/swift/Swift/Plugin/AntiFlood.php delete mode 100644 tools/swift/Swift/Plugin/BandwidthMonitor.php delete mode 100644 tools/swift/Swift/Plugin/ConnectionRotator.php delete mode 100644 tools/swift/Swift/Plugin/Decorator.php delete mode 100644 tools/swift/Swift/Plugin/Decorator/Replacements.php delete mode 100644 tools/swift/Swift/Plugin/Decorator/index.php delete mode 100644 tools/swift/Swift/Plugin/EasySwiftResponseTracker.php delete mode 100644 tools/swift/Swift/Plugin/FileEmbedder.php delete mode 100644 tools/swift/Swift/Plugin/MailSend.php delete mode 100644 tools/swift/Swift/Plugin/Throttler.php delete mode 100644 tools/swift/Swift/Plugin/VerboseSending.php delete mode 100644 tools/swift/Swift/Plugin/VerboseSending/AbstractView.php delete mode 100644 tools/swift/Swift/Plugin/VerboseSending/DefaultView.php delete mode 100644 tools/swift/Swift/Plugin/VerboseSending/index.php delete mode 100644 tools/swift/Swift/Plugin/index.php delete mode 100644 tools/swift/Swift/RecipientList.php delete mode 100644 tools/swift/Swift/index.php delete mode 100644 tools/swift/index.php delete mode 100644 tools/taasc/AddressStandardizationSolution.php delete mode 100644 tools/tar/Archive_Tar.php delete mode 100644 translations/de/admin.php delete mode 100644 translations/de/errors.php delete mode 100644 translations/de/fields.php delete mode 100644 translations/de/index.php delete mode 100644 translations/de/pdf.php delete mode 100644 translations/en/admin.php delete mode 100644 translations/en/errors.php delete mode 100644 translations/en/fields.php delete mode 100644 translations/en/index.php delete mode 100644 translations/en/pdf.php delete mode 100644 translations/es/admin.php delete mode 100644 translations/es/errors.php delete mode 100644 translations/es/fields.php delete mode 100644 translations/es/index.php delete mode 100644 translations/es/pdf.php delete mode 100644 translations/export/index.php delete mode 100644 translations/fr/admin.php delete mode 100644 translations/fr/errors.php delete mode 100644 translations/fr/fields.php delete mode 100644 translations/fr/index.php delete mode 100644 translations/fr/pdf.php delete mode 100644 translations/index.php delete mode 100644 translations/it/admin.php delete mode 100644 translations/it/errors.php delete mode 100644 translations/it/fields.php delete mode 100644 translations/it/index.php delete mode 100644 translations/it/pdf.php delete mode 100644 upload/index.php delete mode 100644 webservice/dispatcher.php delete mode 100644 webservice/index.php diff --git a/my-account.php b/my-account.php deleted file mode 100644 index f02551870..000000000 --- a/my-account.php +++ /dev/null @@ -1,40 +0,0 @@ - -* @copyright 2007-2011 PrestaShop SA -* @version Release: $Revision: 1.4 $ -* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -require(dirname(__FILE__).'/config/config.inc.php'); -Tools::displayFileAsDeprecated(); - -// init front controller in order to use Tools::redirect -$controller = new FrontController(); -$controller->init(); - -$params = $_SERVER['QUERY_STRING']; -if (!empty($params)) - $params = '?'.$params; - -Tools::redirect('index.php/my-account'.$params); - diff --git a/new-products.php b/new-products.php deleted file mode 100644 index 1736dbbea..000000000 --- a/new-products.php +++ /dev/null @@ -1,40 +0,0 @@ - -* @copyright 2007-2011 PrestaShop SA -* @version Release: $Revision: 1.4 $ -* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -require(dirname(__FILE__).'/config/config.inc.php'); -Tools::displayFileAsDeprecated(); - -// init front controller in order to use Tools::redirect -$controller = new FrontController(); -$controller->init(); - -$params = $_SERVER['QUERY_STRING']; -if (!empty($params)) - $params = '?'.$params; - -Tools::redirect('index.php/new-products'.$params); - diff --git a/order-confirmation.php b/order-confirmation.php deleted file mode 100644 index 213231451..000000000 --- a/order-confirmation.php +++ /dev/null @@ -1,40 +0,0 @@ - -* @copyright 2007-2011 PrestaShop SA -* @version Release: $Revision: 1.4 $ -* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -require(dirname(__FILE__).'/config/config.inc.php'); -Tools::displayFileAsDeprecated(); - -// init front controller in order to use Tools::redirect -$controller = new FrontController(); -$controller->init(); - -$params = $_SERVER['QUERY_STRING']; -if (!empty($params)) - $params = '?'.$params; - -Tools::redirect('index.php/order-confirmation'.$params); - diff --git a/order-detail.php b/order-detail.php deleted file mode 100644 index 4f401758b..000000000 --- a/order-detail.php +++ /dev/null @@ -1,40 +0,0 @@ - -* @copyright 2007-2011 PrestaShop SA -* @version Release: $Revision: 1.4 $ -* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -require(dirname(__FILE__).'/config/config.inc.php'); -Tools::displayFileAsDeprecated(); - -// init front controller in order to use Tools::redirect -$controller = new FrontController(); -$controller->init(); - -$params = $_SERVER['QUERY_STRING']; -if (!empty($params)) - $params = '?'.$params; - -Tools::redirect('index.php/order-detail'.$params); - diff --git a/order-follow.php b/order-follow.php deleted file mode 100644 index 3c1768fc4..000000000 --- a/order-follow.php +++ /dev/null @@ -1,40 +0,0 @@ - -* @copyright 2007-2011 PrestaShop SA -* @version Release: $Revision: 1.4 $ -* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -require(dirname(__FILE__).'/config/config.inc.php'); -Tools::displayFileAsDeprecated(); - -// init front controller in order to use Tools::redirect -$controller = new FrontController(); -$controller->init(); - -$params = $_SERVER['QUERY_STRING']; -if (!empty($params)) - $params = '?'.$params; - -Tools::redirect('index.php/order-follow'.$params); - diff --git a/order-opc.php b/order-opc.php deleted file mode 100755 index 267b865c5..000000000 --- a/order-opc.php +++ /dev/null @@ -1,40 +0,0 @@ - -* @copyright 2007-2011 PrestaShop SA -* @version Release: $Revision: 1.4 $ -* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -require(dirname(__FILE__).'/config/config.inc.php'); -Tools::displayFileAsDeprecated(); - -// init front controller in order to use Tools::redirect -$controller = new FrontController(); -$controller->init(); - -$params = $_SERVER['QUERY_STRING']; -if (!empty($params)) - $params = '?'.$params; - -Tools::redirect('index.php/order-opc'.$params); - diff --git a/order-return.php b/order-return.php deleted file mode 100644 index 46b12abd5..000000000 --- a/order-return.php +++ /dev/null @@ -1,40 +0,0 @@ - -* @copyright 2007-2011 PrestaShop SA -* @version Release: $Revision: 1.4 $ -* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -require(dirname(__FILE__).'/config/config.inc.php'); -Tools::displayFileAsDeprecated(); - -// init front controller in order to use Tools::redirect -$controller = new FrontController(); -$controller->init(); - -$params = $_SERVER['QUERY_STRING']; -if (!empty($params)) - $params = '?'.$params; - -Tools::redirect('index.php/order-return'.$params); - diff --git a/order-slip.php b/order-slip.php deleted file mode 100644 index d81c70e79..000000000 --- a/order-slip.php +++ /dev/null @@ -1,40 +0,0 @@ - -* @copyright 2007-2011 PrestaShop SA -* @version Release: $Revision: 1.4 $ -* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -require(dirname(__FILE__).'/config/config.inc.php'); -Tools::displayFileAsDeprecated(); - -// init front controller in order to use Tools::redirect -$controller = new FrontController(); -$controller->init(); - -$params = $_SERVER['QUERY_STRING']; -if (!empty($params)) - $params = '?'.$params; - -Tools::redirect('index.php/order-slip'.$params); - diff --git a/order.php b/order.php deleted file mode 100644 index aeb11c09f..000000000 --- a/order.php +++ /dev/null @@ -1,40 +0,0 @@ - -* @copyright 2007-2011 PrestaShop SA -* @version Release: $Revision: 1.4 $ -* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -require(dirname(__FILE__).'/config/config.inc.php'); -Tools::displayFileAsDeprecated(); - -// init front controller in order to use Tools::redirect -$controller = new FrontController(); -$controller->init(); - -$params = $_SERVER['QUERY_STRING']; -if (!empty($params)) - $params = '?'.$params; - -Tools::redirect('index.php/order'.$params); - diff --git a/override/classes/_FrontController.php b/override/classes/_FrontController.php deleted file mode 100755 index c5e63dadc..000000000 --- a/override/classes/_FrontController.php +++ /dev/null @@ -1,342 +0,0 @@ - -* @copyright 2007-2011 PrestaShop SA -* @version Release: $Revision: 1.4 $ -* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - - -function developpementErrorHandler($errno, $errstr, $errfile, $errline) -{ - if (!(error_reporting() & $errno)) - return; - switch($errno) - { - case E_ERROR: - echo '[PHP Error #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')'; - break; - case E_WARNING: - echo '[PHP Warning #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')'; - break; - case E_PARSE: - echo '[PHP Parse #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')'; - break; - case E_NOTICE: - echo '[PHP Notice #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')'; - break; - case E_CORE_ERROR: - echo '[PHP Core #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')'; - break; - case E_CORE_WARNING: - echo '[PHP Core warning #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')'; - break; - case E_COMPILE_ERROR: - echo '[PHP Compile #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')'; - break; - case E_COMPILE_WARNING: - echo '[PHP Compile warning #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')'; - break; - case E_USER_ERROR: - echo '[PHP Error #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')'; - break; - case E_USER_WARNING: - echo '[PHP User warning #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')'; - break; - case E_USER_NOTICE: - echo '[PHP User notice #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')'; - break; - case E_STRICT: - echo '[PHP Strict #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')'; - break; - case E_RECOVERABLE_ERROR: - echo '[PHP Recoverable error #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')'; - break; - default: - echo '[PHP Unknown error #'.$errno.'] '.$errstr.' ('.$errfile.', line '.$errline.')'; - } - die; - return true; -} - - -class FrontController extends FrontControllerCore -{ - public $_memory = array(); - public $_time = array(); - - private function displayMemoryColor($n) - { - $n /= 1048576; - if ($n > 3) - return ''.round($n, 2).' Mb'; - if ($n > 1) - return ''.round($n, 2).' Mb'; - return ''.round($n, 2).' Mb'; - } - - private function displaySQLQueries($n) - { - if ($n > 150) - return ''.$n.' queries'; - if ($n > 100) - return ''.$n.' queries'; - return ''.$n.' quer'.($n == 1 ? 'y' : 'ies').''; - } - - private function displayLoadTimeColor($n, $kikoo = false) - { - if ($n > 1) - return ''.round($n, 3).'s'.($kikoo ? '
You\'d better run your shop on a toaster' : ''); - if ($n > 0.5) - return ''.round($n * 1000).'ms'.($kikoo ? '
I hope it is a shared hosting' : ''); - return ''.round($n * 1000).'ms'.($kikoo ? '
Good boy! That\'s what I call a webserver!' : ''); - } - - private function getTimeColor($n) - { - if ($n > 4) - return 'style="color:red"'; - if ($n > 2) - return 'style="color:orange"'; - return 'style="color:green"'; - } - - private function getQueryColor($n) - { - if ($n > 5) - return 'style="color:red"'; - if ($n > 2) - return 'style="color:orange"'; - return 'style="color:green"'; - } - - private function getTableColor($n) - { - if ($n > 30) - return 'style="color:red"'; - if ($n > 20) - return 'style="color:orange"'; - return 'style="color:green"'; - } - - public function __construct() - { - // error management - set_error_handler('developpementErrorHandler'); - ini_set('html_errors', 'on'); - ini_set('display_errors', 'on'); - error_reporting(E_ALL | E_STRICT); - - $this->_memory = array_fill(0, 10, 0); - $this->_time = array_fill(0, 10, 0); - - // Usually set in the parent constructor, but here I need it to evaluate init() - $useSSL = $this->ssl; - - $this->_memory[-3] = memory_get_usage(); - $this->_time[-3] = microtime(true); - $this->init(); - $this->_memory[-2] = memory_get_usage(); - $this->_time[-2] = microtime(true); - parent::__construct(); - $this->_memory[-1] = memory_get_usage(); - $this->_time[-1] = microtime(true); - } - - public function run() - { - $this->_memory[0] = memory_get_usage(); - $this->_time[0] = microtime(true); - $this->preProcess(); - $this->_memory[1] = memory_get_usage(); - $this->_time[1] = microtime(true); - $this->setMedia(); - $this->_memory[2] = memory_get_usage(); - $this->_time[2] = microtime(true); - $this->displayHeader(); - $this->_memory[3] = memory_get_usage(); - $this->_time[3] = microtime(true); - $this->process(); - $this->_memory[4] = memory_get_usage(); - $this->_time[4] = microtime(true); - $this->displayContent(); - $this->_memory[5] = memory_get_usage(); - $this->_time[5] = microtime(true); - $this->displayFooter(); - } - - function ini_get_display_errors() - { - $a = 'display_errors'; - $b = ini_get($a); - switch (strtolower($b)) - { - case 'on': - case 'yes': - case 'true': - return 'assert.active' !== $a; - case 'stdout': - case 'stderr': - return 'display_errors' === $a; - default: - return (bool)(int)$b; - } - } - - private function sizeofvar($var) - { - $start_memory = memory_get_usage(); - $tmp = unserialize(serialize($var)); - $size = memory_get_usage() - $start_memory; - return $size; - } - - public function displayFooter() - { - global $start_time; - parent::displayFooter(); - if (!$this->ini_get_display_errors()) - return; - - $this->_memory[6] = memory_get_usage(); - $this->_time[6] = microtime(true); - - $hr = '
'; - - $totalSize = 0; - foreach (get_included_files() as $file) - $totalSize += filesize($file); - - $totalQueryTime = 0; - foreach (Db::getInstance()->queriesTime as $time) - $totalQueryTime += $time; - - $hooktime = Module::getHookTime(); - arsort($hooktime); - $totalHookTime = 0; - foreach ($hooktime as $time) - $totalHookTime += $time; - - $globalSize = array(); - $totalGlobalSize = 0; - foreach ($GLOBALS as $key => $value) - if ($key != 'GLOBALS') - { - $totalGlobalSize += ($size = $this->sizeofvar($value)); - if ($size > 1024) - $globalSize[$key] = round($size / 1024, 1); - } - arsort($globalSize); - - echo '

-
- Load time: '.$this->displayLoadTimeColor($this->_time[6] - $start_time, true).' - -
-
- Hook processing: '.$this->displayLoadTimeColor($totalHookTime).' - -
-
- Memory peak usage: '.$this->displayMemoryColor(memory_get_peak_usage()).' - -
'; - - $countByTypes = ''; - foreach (Db::getInstance()->countTypes as $type => $count) - if ($count) - $countByTypes .= '
  • '.$count.' x '.$type.'
  • '; - $countByTypes = rtrim($countByTypes, ' |'); - - echo ' -
    - SQL Queries: '.$this->displaySQLQueries(Db::getInstance()->count).' - -
    Time spent querying: '.$this->displayLoadTimeColor($totalQueryTime).' -
    -
    - Included files: '.sizeof(get_included_files()).'
    - Size of included files: '.$this->displayMemoryColor($totalSize).' -
    -
    - Globals (> 1 Ko only): '.round($totalGlobalSize / 1024).' Ko - -
    '; - - echo ' -
    - -
    -
    -

    Stopwatch (with SQL_NO_CACHE)

    '; - $queries = Db::getInstance()->queriesTime; - arsort($queries); - foreach ($queries as $q => $time) - echo $hr.'getTimeColor($time * 1000).'>'.round($time * 1000, 3).' ms '.$q; - echo '
    -
    -

    Doubles (IDs replaced by "XX")

    '; - $queries = Db::getInstance()->queries; - arsort($queries); - foreach ($queries as $q => $nb) - echo $hr.'getQueryColor($nb).'>'.$nb.' '.$q; - echo '
    -
    -

    Tables stress

    '; - $tables = Db::getInstance()->tables; - arsort($tables); - foreach ($tables as $table => $nb) - echo $hr.'getTableColor($nb).'>'.$nb.' '.$table; - echo '
    '; - } -} diff --git a/override/classes/_Module.php b/override/classes/_Module.php deleted file mode 100644 index 2ef07ab41..000000000 --- a/override/classes/_Module.php +++ /dev/null @@ -1,44 +0,0 @@ - -* @copyright 2007-2011 PrestaShop SA -* @version Release: $Revision: 1.4 $ -* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -class Module extends ModuleCore -{ - private static $hookTime = array(); - - public static function getHookTime() - { - return self::$hookTime; - } - - public static function hookExec($hook_name, $hookArgs = array(), $id_module = NULL) - { - $t0 = microtime(true); - $result = parent::hookExec($hook_name, $hookArgs, $id_module); - self::$hookTime[$hook_name] = microtime(true) - $t0; - return $result; - } -} diff --git a/override/classes/_MySQL.php b/override/classes/_MySQL.php deleted file mode 100644 index 4dfbf5507..000000000 --- a/override/classes/_MySQL.php +++ /dev/null @@ -1,209 +0,0 @@ - -* @copyright 2007-2011 PrestaShop SA -* @version Release: $Revision: 1.4 $ -* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -class MySQL extends MySQLCore -{ - public $count = 0; - public $queries = array(); - public $queriesTime = array(); - public $tables = array(); - public $countTypes = array('getRow' => 0, 'getValue' => 0, 'Execute' => 0, 'ExecuteS' => 0, 'delete' => 0, 'q' => 0); - - private function disableCache($query) - { - return preg_replace('/^select /', 'SELECT SQL_NO_CACHE', trim($query)); - } - - public function getRow($query, $use_cache = 1) - { - $this->count++; - $this->countTypes['getRow']++; - $query2 = preg_replace('/[0-9]+/', 'XX', $query); - if (!isset($this->queries[$query2])) - $this->queries[$query2] = 0; - $this->queries[$query2]++; - preg_match_all('/(from|join)\s+`?'.preg_replace('/[0-9]+/', 'XX', _DB_PREFIX_).'([a-z0-9_-]+)/ui', $query2, $matches); - foreach ($matches[2] as $table) - { - if (!isset($this->tables[$table])) - $this->tables[$table] = 0; - $this->tables[$table]++; - } - - $query = $this->disableCache($query); - $t0 = microtime(true); - - $return = parent::getRow($query, $use_cache); - - if (!isset($this->queriesTime[$query])) - $this->queriesTime[$query] = microtime(true)-$t0; - - return $return; - } - - public function getValue($query, $use_cache = 1) - { - $this->count++; - $this->countTypes['getValue']++; - $query2 = preg_replace('/[0-9]+/', 'XX', $query); - if (!isset($this->queries[$query2])) - $this->queries[$query2] = 0; - $this->queries[$query2]++; - preg_match_all('/(from|join)\s+`?'.preg_replace('/[0-9]+/', 'XX', _DB_PREFIX_).'([a-z0-9_-]+)/ui', $query2, $matches); - foreach ($matches[2] as $table) - { - if (!isset($this->tables[$table])) - $this->tables[$table] = 0; - $this->tables[$table]++; - } - - $query = $this->disableCache($query); - $t0 = microtime(true); - - $return = parent::getValue($query, $use_cache); - - if (!isset($this->queriesTime[$query])) - $this->queriesTime[$query] = microtime(true)-$t0; - - return $return; - } - - public function Execute($query, $use_cache = 1) - { - $this->count++; - $this->countTypes['Execute']++; - $query2 = preg_replace('/[0-9]+/', 'XX', $query); - if (!isset($this->queries[$query2])) - $this->queries[$query2] = 0; - $this->queries[$query2]++; - preg_match_all('/(from|join)\s+`?'.preg_replace('/[0-9]+/', 'XX', _DB_PREFIX_).'([a-z0-9_-]+)/ui', $query2, $matches); - foreach ($matches[2] as $table) - { - if (!isset($this->tables[$table])) - $this->tables[$table] = 0; - $this->tables[$table]++; - } - - $query = $this->disableCache($query); - $t0 = microtime(true); - - $return = parent::Execute($query, $use_cache); - - if (!isset($this->queriesTime[$query])) - $this->queriesTime[$query] = microtime(true)-$t0; - - return $return; - } - - public function ExecuteS($query, $array = true, $use_cache = 1) - { - $this->count++; - $this->countTypes['ExecuteS']++; - $query2 = preg_replace('/[0-9]+/', 'XX', $query); - if (!isset($this->queries[$query2])) - $this->queries[$query2] = 0; - $this->queries[$query2]++; - preg_match_all('/(from|join)\s+`?'.preg_replace('/[0-9]+/', 'XX', _DB_PREFIX_).'([a-z0-9_-]+)/ui', $query2, $matches); - foreach ($matches[2] as $table) - { - if (!isset($this->tables[$table])) - $this->tables[$table] = 0; - $this->tables[$table]++; - } - - $query = $this->disableCache($query); - $t0 = microtime(true); - - $return = parent::ExecuteS($query, $array, $use_cache); - - if (!isset($this->queriesTime[$query])) - $this->queriesTime[$query] = microtime(true)-$t0; - - return $return; - } - - public function delete($table, $where = false, $limit = false, $use_cache = 1) - { - $this->_result = false; - if ($this->_link) - { - $query = 'DELETE FROM `'.pSQL($table).'`'.($where ? ' WHERE '.$where : '').($limit ? ' LIMIT '.(int)($limit) : ''); - - $this->count++; - $this->countTypes['delete']++; - $query2 = preg_replace('/[0-9]+/', 'XX', $query); - if (!isset($this->queries[$query2])) - $this->queries[$query2] = 0; - $this->queries[$query2]++; - preg_match_all('/(from|join)\s+`?'.preg_replace('/[0-9]+/', 'XX', _DB_PREFIX_).'([a-z0-9_-]+)/ui', $query2, $matches); - foreach ($matches[2] as $table) - { - if (!isset($this->tables[$table])) - $this->tables[$table] = 0; - $this->tables[$table]++; - } - - $query = $this->disableCache($query); - $t0 = microtime(true); - - $return = parent::delete($table, $where, $limit, $use_cache); - - if (!isset($this->queriesTime[$query])) - $this->queriesTime[$query] = microtime(true)-$t0; - - return $return; - } - return false; - } - - protected function q($query, $use_cache = 1) - { - $this->count++; - $this->countTypes['q']++; - $query2 = preg_replace('/[0-9]+/', 'XX', $query); - if (!isset($this->queries[$query2])) - $this->queries[$query2] = 0; - $this->queries[$query2]++; - preg_match_all('/(from|join)\s+`?'.preg_replace('/[0-9]+/', 'XX', _DB_PREFIX_).'([a-z0-9_-]+)/ui', $query2, $matches); - foreach ($matches[2] as $table) - { - if (!isset($this->tables[$table])) - $this->tables[$table] = 0; - $this->tables[$table]++; - } - - $query = $this->disableCache($query); - $t0 = microtime(true); - - $return = parent::q($query, $use_cache); - - if (!isset($this->queriesTime[$query])) - $this->queriesTime[$query] = microtime(true)-$t0; - - return $return; - } -} diff --git a/pagination.php b/pagination.php deleted file mode 100644 index 959db90d0..000000000 --- a/pagination.php +++ /dev/null @@ -1,29 +0,0 @@ - -* @copyright 2007-2011 PrestaShop SA -* @version Release: $Revision: 1.4 $ -* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -$controller = new FrontController(); -$controller->pagination(); diff --git a/password.php b/password.php deleted file mode 100644 index 84c2cbd2f..000000000 --- a/password.php +++ /dev/null @@ -1,40 +0,0 @@ - -* @copyright 2007-2011 PrestaShop SA -* @version Release: $Revision: 1.4 $ -* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -require(dirname(__FILE__).'/config/config.inc.php'); -Tools::displayFileAsDeprecated(); - -// init front controller in order to use Tools::redirect -$controller = new FrontController(); -$controller->init(); - -$params = $_SERVER['QUERY_STRING']; -if (!empty($params)) - $params = '?'.$params; - -Tools::redirect('index.php/password'.$params); - diff --git a/pdf-invoice.php b/pdf-invoice.php deleted file mode 100644 index e77c38d48..000000000 --- a/pdf-invoice.php +++ /dev/null @@ -1,45 +0,0 @@ - -* @copyright 2007-2011 PrestaShop SA -* @version Release: $Revision: 1.4 $ -* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -include(dirname(__FILE__).'/config/config.inc.php'); -include(dirname(__FILE__).'/init.php'); - -$cookie = new Cookie('ps'); -if (!$cookie->isLogged() AND !Tools::getValue('secure_key')) - Tools::redirect('index.php/authentication?back=pdf-invoice.php'); -if (!(int)(Configuration::get('PS_INVOICE'))) - die(Tools::displayError('Invoices are disabled in this shop.')); -if (isset($_GET['id_order']) AND Validate::isUnsignedId($_GET['id_order'])) - $order = new Order((int)($_GET['id_order'])); -if (!isset($order) OR !Validate::isLoadedObject($order)) - die(Tools::displayError('Invoice not found')); -elseif ((isset($cookie->id_customer) AND $order->id_customer != $cookie->id_customer) OR (Tools::isSubmit('secure_key') AND $order->secure_key != Tools::getValue('secure_key'))) - die(Tools::displayError('Invoice not found')); -elseif (!OrderState::invoiceAvailable($order->getCurrentState()) AND !$order->invoice_number) - die(Tools::displayError('No invoice available')); -else - PDF::invoice($order); diff --git a/pdf-order-return.php b/pdf-order-return.php deleted file mode 100644 index f1dc5bbaf..000000000 --- a/pdf-order-return.php +++ /dev/null @@ -1,45 +0,0 @@ - -* @copyright 2007-2011 PrestaShop SA -* @version Release: $Revision: 1.4 $ -* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -include(dirname(__FILE__).'/config/config.inc.php'); -include(dirname(__FILE__).'/init.php'); - -$cookie = new Cookie('ps'); -if (!$cookie->isLogged()) - Tools::redirect('index.php/authentication?back=order-follow.php'); - -if (isset($_GET['id_order_return']) AND Validate::isUnsignedId($_GET['id_order_return'])) - $orderReturn = new OrderReturn((int)($_GET['id_order_return'])); -if (!isset($orderReturn) OR !Validate::isLoadedObject($orderReturn)) - die(Tools::displayError('Order return not found')); -elseif ($orderReturn->id_customer != $cookie->id_customer) - die(Tools::displayError('Order return not found')); -elseif ($orderReturn->state < 2) - die(Tools::displayError('Order return not confirmed')); -else - PDF::orderReturn($orderReturn); - diff --git a/pdf-order-slip.php b/pdf-order-slip.php deleted file mode 100644 index 2e9842ba6..000000000 --- a/pdf-order-slip.php +++ /dev/null @@ -1,47 +0,0 @@ - -* @copyright 2007-2011 PrestaShop SA -* @version Release: $Revision: 1.4 $ -* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -include(dirname(__FILE__).'/config/config.inc.php'); -include(dirname(__FILE__).'/init.php'); - -$cookie = new Cookie('ps'); -if (!$cookie->isLogged()) - Tools::redirect('index.php/authentication?back=order-follow.php'); - -if (isset($_GET['id_order_slip']) AND Validate::isUnsignedId($_GET['id_order_slip'])) - $orderSlip = new OrderSlip((int)($_GET['id_order_slip'])); -if (!isset($orderSlip) OR !Validate::isLoadedObject($orderSlip)) - die(Tools::displayError('Order return not found')); -elseif ($orderSlip->id_customer != $cookie->id_customer) - die(Tools::displayError('Order return not found')); -$order = new Order((int)($orderSlip->id_order)); -if (!Validate::isLoadedObject($order)) - die(Tools::displayError('Order not found')); -$order->products = OrderSlip::getOrdersSlipProducts((int)($orderSlip->id), $order); -$ref = NULL; -PDF::invoice($order, 'D', false, $ref, $orderSlip); - diff --git a/prices-drop.php b/prices-drop.php deleted file mode 100644 index 78170edaf..000000000 --- a/prices-drop.php +++ /dev/null @@ -1,40 +0,0 @@ - -* @copyright 2007-2011 PrestaShop SA -* @version Release: $Revision: 1.4 $ -* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -require(dirname(__FILE__).'/config/config.inc.php'); -Tools::displayFileAsDeprecated(); - -// init front controller in order to use Tools::redirect -$controller = new FrontController(); -$controller->init(); - -$params = $_SERVER['QUERY_STRING']; -if (!empty($params)) - $params = '?'.$params; - -Tools::redirect('index.php/prices-drop'.$params); - diff --git a/product-sort.php b/product-sort.php deleted file mode 100644 index b15c42ef0..000000000 --- a/product-sort.php +++ /dev/null @@ -1,40 +0,0 @@ - -* @copyright 2007-2011 PrestaShop SA -* @version Release: $Revision: 1.4 $ -* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -require(dirname(__FILE__).'/config/config.inc.php'); -Tools::displayFileAsDeprecated(); - -// init front controller in order to use Tools::redirect -$controller = new FrontController(); -$controller->init(); - -$params = $_SERVER['QUERY_STRING']; -if (!empty($params)) - $params = '?'.$params; - -Tools::redirect('index.php/product-sort'.$params); - diff --git a/product.php b/product.php deleted file mode 100644 index e14a93c33..000000000 --- a/product.php +++ /dev/null @@ -1,40 +0,0 @@ - -* @copyright 2007-2011 PrestaShop SA -* @version Release: $Revision: 1.4 $ -* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -require(dirname(__FILE__).'/config/config.inc.php'); -Tools::displayFileAsDeprecated(); - -// init front controller in order to use Tools::redirect -$controller = new FrontController(); -$controller->init(); - -$params = $_SERVER['QUERY_STRING']; -if (!empty($params)) - $params = '?'.$params; - -Tools::redirect('index.php/product'.$params); - diff --git a/products-comparison.php b/products-comparison.php deleted file mode 100644 index 1bbce2cb0..000000000 --- a/products-comparison.php +++ /dev/null @@ -1,40 +0,0 @@ - -* @copyright 2007-2011 PrestaShop SA -* @version Release: $Revision: 1.4 $ -* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -require(dirname(__FILE__).'/config/config.inc.php'); -Tools::displayFileAsDeprecated(); - -// init front controller in order to use Tools::redirect -$controller = new FrontController(); -$controller->init(); - -$params = $_SERVER['QUERY_STRING']; -if (!empty($params)) - $params = '?'.$params; - -Tools::redirect('index.php/products-comparison'.$params); - diff --git a/readme_de.txt b/readme_de.txt deleted file mode 100644 index 0ebec42c2..000000000 --- a/readme_de.txt +++ /dev/null @@ -1,82 +0,0 @@ -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 -@copyright 2007-2011 PrestaShop SA -@license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) -International Registered Trademark & Property of PrestaShop SA - -NAME: Prestashop 1.4.1.0 -VERSION: 1.4.1.0 - -VORBEREITUNG -=========== - -Zur Installation von PrestaShop bentigen Sie einen Remote-Web-Server oder -Ihren Computer (MAMP) mit Zugriff auf eine Datenbank wie MySQL. -Sie bentigen Zugriff auf phpMyAdmin, um eine Datenbank zu erstellen und die -Informationen in der Datenbank im Installer anzuzeigen. - -Wenn Sie keinen Hosting-Provider haben und Ihren Shop selbst nicht erstellen -knnen, bieten wir einen schlsselfertigen Shop, mit dem Sie Ihren eigenen -Online-Shop in weniger als 10 Minuten ohne jegliche technische Kenntnisse -erstellen knnen. -Besuchen Sie: - http://www.prestabox.com/ - -INSTALLATION -============ - -Gehen Sie einfach zu Ihrem PrestaShop Web-Verzeichnis und verwenden Sie den -Installer :-) - -Falls ein PHP-Fehler auftritt, haben Sie vielleicht kein PHP5 oder mssen es -auf Ihrem Web-Host aktivieren. -Die Vorinstallationseinstellungen (PHP 5, htaccess) fr bestimmte -Hosting-Dienste (1&1, Free, Lycos, OVH, Infomaniak, Amen, GoDaddy, etc.) -finden Sie in unserem Forum. - -Spezifische englische Webhosting-Einstellungen: - http://www.prestashop.com/forums/viewthread/2946/installation_configuration___upgrade/preinstallation_settings_php_5_htaccess_for_certain_hosting_servi -ces - -Wenn Sie keine Lsung zum Starten des Installers finden, posten Sie bitte -Ihr Problem in unserem Forum: - http://www.prestashop.com/forums/viewforum/7/installation_configuration___upgrade - -Es gibt immer Lsungen fr Ihre Fragen ;-) - -DOKUMENTATION -============= - -Fr zustzliche Benutzerhinweise (how-to), lesen Sie bitte unser Wiki: - http://www.prestashop.com/wiki/ - -FOREN -====== - -Sie knnen auerdem mit der PrestaShop Community in unseren Foren -diskutieren, Hilfe finden und eigene Beitrge liefern unter: - http://www.prestashop.com/forums/ - -Danke fr Ihren Download und die Nutzung der PrestaShop E-Commerce-Open-Source-Lsung! - -========================== -= The PrestaTeam' = -= www.PrestaShop.com = -========================== diff --git a/readme_en.txt b/readme_en.txt deleted file mode 100644 index 51811b09d..000000000 --- a/readme_en.txt +++ /dev/null @@ -1,70 +0,0 @@ -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 -@copyright 2007-2011 PrestaShop SA -@license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) -International Registered Trademark & Property of PrestaShop SA - -NAME: Prestashop 1.4.1.0 -VERSION: 1.4.1.0 - -PREPARATION -=========== - -To install PrestaShop, you need a remote web server or on your computer (MAMP), with access to a database like MySQL. -You'll need access to phpMyAdmin to create a database and to indicate the information in the database in the installer. - -If you do not host and unable to create your store, we offer a turnkey store, which lets you create your online store in less than 10 minutes without any technical knowledge. -We invite you to visit: - http://www.prestabox.com/ - -INSTALLATION -============ - -Simply go to your PrestaShop web directory and use installer :-) - -If you have any PHP error, perhaps you don't have PHP5 or you need to activate it on your web host. -Please go to our forum to find pre-installation settings (PHP 5, htaccess) for certain hosting services (1&1, Free, Lycos, OVH, Infomaniak, Amen, GoDaddy, etc). - -English webhost specifics settings : - http://www.prestashop.com/forums/viewthread/2946/installation_configuration___upgrade/preinstallation_settings_php_5_htaccess_for_certain_hosting_services - -If you don't find any solution to launch installer, please post on our forum : - http://www.prestashop.com/forums/viewforum/7/installation_configuration___upgrade - -There are always solutions for your issues ;-) - -DOCUMENTATION -============= - -For any extra documentation (how-to), please read our wiki : - http://www.prestashop.com/wiki/ - -FORUMS -====== - -You can also discute, help and contribute with PrestaShop community on our forums : - http://www.prestashop.com/forums/ - -Thanks for downloading and using PrestaShop e-commerce open-source solution ! - -========================== -= The PrestaTeam' = -= www.PrestaShop.com = -========================== diff --git a/readme_es.txt b/readme_es.txt deleted file mode 100644 index 3df70e258..000000000 --- a/readme_es.txt +++ /dev/null @@ -1,70 +0,0 @@ -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 -@copyright 2007-2011 PrestaShop SA -@license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) -International Registered Trademark & Property of PrestaShop SA - -NAME: Prestashop 1.4.1.0 -VERSION: 1.4.1.0 - -PREPARACI�N -=========== - -Para instalar PrestaShop, necesita un servidor web remoto o en su ordenador (MAMP), con acceso a una base de datos como MySQL. -Tendr� acceso a phpMyAdmin para crear una base de datos y para indicar la informaci�n en la base de datos en el instalador. - -Si no de acogida y no puede crear su tienda, le ofrecemos una tienda "llave en mano, que le permite crear su tienda en l�nea en menos de 10 minutos sin ning�n conocimiento t�cnico. -Le invitamos a visitar: - http://www.prestabox.com/ - -INSTALACI�N -============ - -Simplemente vaya a su directorio web y el uso PrestaShop instalador :-) - -Si usted tiene cualquier error de PHP, tal vez usted no tiene PHP5 o necesitas activarlo en su web host. -Por favor, vaya a nuestro foro para encontrar la configuraci�n de la instalaci�n pre-(PHP 5, htaccess) para determinados servicios de hospedaje (1 & 1, gratis, Lycos, OVH, Infomaniak, Am�n, GoDaddy, etc.) - -Ingl�s webhost ajustes espec�ficos: - http://www.prestashop.com/forums/viewthread/2946/installation_configuration___upgrade/preinstallation_settings_php_5_htaccess_for_certain_hosting_services - -Si usted no encuentra ninguna soluci�n para lanzar el instalador, por favor enviar en nuestro foro: - http://www.prestashop.com/forums/viewforum/7/installation_configuration___upgrade - -Siempre hay soluciones para sus problemas ;-) - -DOCUMENTACI�N -============= - -Para cualquier documentaci�n adicional (procedimientos), por favor lea nuestra wiki: - http://www.prestashop.com/wiki/ - -FOROS -====== - -Usted puede tambi�n discute, ayudar y contribuir con la comunidad PrestaShop en nuestros foros: - http://www.prestashop.com/forums/ - -Gracias por descargar y utilizar el comercio electr�nico PrestaShop soluci�n de c�digo abierto! - -========================== -= The PrestaTeam' = -= www.PrestaShop.com = -========================== diff --git a/readme_fr.txt b/readme_fr.txt deleted file mode 100644 index 074968894..000000000 --- a/readme_fr.txt +++ /dev/null @@ -1,70 +0,0 @@ -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 -@copyright 2007-2011 PrestaShop SA -@license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) -International Registered Trademark & Property of PrestaShop SA - -NAME: Prestashop 1.4.1.0 -VERSION: 1.4.1.0 - -PREPARATION -=========== - -Pour installer PrestaShop, vous avez besoin d'un serveur web distant ou sur votre ordinateur (MAMP), avec un acc�s � une base de donn�es de type MySQL. -Vous aurez besoin d'un acc�s � PhpMyAdmin afin de cr�er un base de donn�es, et d'indiquer les informations de la base de donn�es dans l'installeur. - -Si vous n'avez pas d'h�bergeur et pas la possibilit� de cr�er votre boutique, nous vous proposons un service de boutique cl� en main, qui vous permet de cr�er votre boutique en ligne en moins de 10 minutes sans aucunes notions techniques. -Nous vous invitons � vous rendre sur: - http://www.prestabox.com/ - -INSTALLATION -============ - -Il suffit d'aller dans votre r�pertoire web PrestaShop et de lancer l'installateur (dans /install) :-) - -Si vous avez des erreurs de PHP, peut-�tre que vous n'avez pas PHP5 ou peut �tre devez vous l'activer via votre h�bergeur. -Merci de vous rendre sur notre forum pour trouver les param�tres de pr�-installation (PHP 5, htaccess) pour certains services d'h�bergement (1 & 1, Free, Lycos, OVH, Infomaniak, Amen, GoDaddy, etc.) - -Topic fran�ais sur notre forum officiel : - http://www.prestashop.com/forums/viewthread/446/installation_configuration_et_mise_a_jour/preinstallation_settings_php_5_htaccess_for_certain_hosting_services - -Si vous ne trouvez pas de solution pour lancer l'installateur, merci de vous rendre � cette adresse: - http://www.prestashop.com/forums/viewforum/7/installation_configuration___upgrade - -Il ya toujours des solutions pour vos questions ;-) - -DOCUMENTATION -============= - -Pour toute documentation suppl�mentaire (how-to), vous trouverez notre wiki � cette adresse: - http://www.prestashop.com/wiki/ - -FORUMS -====== - -Vous pouvez �galement discuter, aider et contribuer avec la communaut� PrestaShop sur nos forums: - http://www.prestashop.com/forums/ - -Merci d'avoir t�l�charger et d'utiliser PrestaShop, solution e-commerce open-source ! - -========================== -= The PrestaTeam' = -= www.PrestaShop.com = -========================== diff --git a/readme_it.txt b/readme_it.txt deleted file mode 100644 index bd1c1f1b5..000000000 --- a/readme_it.txt +++ /dev/null @@ -1,70 +0,0 @@ -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 -@copyright 2007-2011 PrestaShop SA -@license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) -International Registered Trademark & Property of PrestaShop SA - -NAME: Prestashop 1.4.1.0 -VERSION: 1.4.1.0 - -PREPARAZIONE -=========== - -Per installare PrestaShop, hai bisogno di un server remoto o nel tuo computer (MAMP), con accesso ad un database come MySQL. -Dovrai accedere a phpMyAdmin per creare un database e per indicare le informazioni nel database all'installatore. - -Sei non hai un host e non sai come creare il tuo negozio, ti offriamo un negozio gi pronto che ti far realizzare il tuo negozio online in meno di 10 minuti senza nessun bisogno di competenze tecniche. -Ti invitiamo a visitare: - http://www.prestabox.com/ - -INSTALLAZIONE -============ - -Devi solo andare nella tua directory PrestaShop e usare l'installatore :-) - -Se si verifica un qualsiasi errore PHP, forse non hai PHP5 oppure devi attivarlo nel tuo web host. -Vai nel nostro forum e cerca le impostazioni di pre-installazione (PHP 5, htaccess) per alcuni hosting services (1&1, Free, Lycos, OVH, Infomaniak, Amen, GoDaddy, etc). - -Impostazioni specifiche per web host in inglese: - http://www.prestashop.com/forums/viewthread/2946/installation_configuration___upgrade/preinstallation_settings_php_5_htaccess_for_certain_hosting_services - -Se non trovi nessuna soluzione per lanciare l'installatore, scrivi un post sul nostro forum: - http://www.prestashop.com/forums/viewforum/7/installation_configuration___upgrade - -Troverai sempre una soluzione ai tuoi problemi :-) - -INFORMAZIONI -============= - -Per qualsiasi informazione ulteriore (come fare per?), leggi il nostro wiki: - http://www.prestashop.com/wiki/ - -FORUM -====== - -Puoi anche inserirti, chattare, e contribuire alla community PrestaShop nei nostri forum: - http://www.prestashop.com/forums/ - -Ti ringraziamo per l'uso della soluzione open-source PrestaShop per il commercio online! - -========================== -= The PrestaTeam' = -= www.PrestaShop.com = -========================== diff --git a/search.php b/search.php deleted file mode 100644 index 3e8f1ad26..000000000 --- a/search.php +++ /dev/null @@ -1,40 +0,0 @@ - -* @copyright 2007-2011 PrestaShop SA -* @version Release: $Revision: 1.4 $ -* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -require(dirname(__FILE__).'/config/config.inc.php'); -Tools::displayFileAsDeprecated(); - -// init front controller in order to use Tools::redirect -$controller = new FrontController(); -$controller->init(); - -$params = $_SERVER['QUERY_STRING']; -if (!empty($params)) - $params = '?'.$params; - -Tools::redirect('index.php/search'.$params); - diff --git a/sitemap.php b/sitemap.php deleted file mode 100644 index 636fc58b4..000000000 --- a/sitemap.php +++ /dev/null @@ -1,40 +0,0 @@ - -* @copyright 2007-2011 PrestaShop SA -* @version Release: $Revision: 1.4 $ -* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -require(dirname(__FILE__).'/config/config.inc.php'); -Tools::displayFileAsDeprecated(); - -// init front controller in order to use Tools::redirect -$controller = new FrontController(); -$controller->init(); - -$params = $_SERVER['QUERY_STRING']; -if (!empty($params)) - $params = '?'.$params; - -Tools::redirect('index.php/sitemap'.$params); - diff --git a/sitemap.xml b/sitemap.xml deleted file mode 100644 index e69de29bb..000000000 diff --git a/statistics.php b/statistics.php deleted file mode 100644 index 542b9b3f0..000000000 --- a/statistics.php +++ /dev/null @@ -1,58 +0,0 @@ - -* @copyright 2007-2011 PrestaShop SA -* @version Release: $Revision: 1.4 $ -* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -if (!isset($_POST['token']) OR !isset($_POST['type'])) - die; - -include(dirname(__FILE__).'/config/config.inc.php'); - -if ($_POST['type'] == 'navinfo') -{ - if (sha1($_POST['id_guest']._COOKIE_KEY_) != $_POST['token']) - die; - - $guest = new Guest((int)$_POST['id_guest']); - $guest->javascript = true; - $guest->screen_resolution_x = (int)($_POST['screen_resolution_x']); - $guest->screen_resolution_y = (int)($_POST['screen_resolution_y']); - $guest->screen_color = (int)($_POST['screen_color']); - $guest->sun_java = (int)($_POST['sun_java']); - $guest->adobe_flash = (int)($_POST['adobe_flash']); - $guest->adobe_director = (int)($_POST['adobe_director']); - $guest->apple_quicktime = (int)($_POST['apple_quicktime']); - $guest->real_player = (int)($_POST['real_player']); - $guest->windows_media = (int)($_POST['windows_media']); - $guest->update(); -} -elseif ($_POST['type'] == 'pagetime') -{ - if (sha1($_POST['id_connections'].$_POST['id_page'].$_POST['time_start']._COOKIE_KEY_) != $_POST['token']) - die; - if (!Validate::isInt($_POST['time']) OR $_POST['time'] <= 0) - die; - Connection::setPageTime((int)$_POST['id_connections'], (int)$_POST['id_page'], substr($_POST['time_start'], 0, 19), intval($_POST['time'])); -} \ No newline at end of file diff --git a/stores.php b/stores.php deleted file mode 100644 index 8e955b5ee..000000000 --- a/stores.php +++ /dev/null @@ -1,40 +0,0 @@ - -* @copyright 2007-2011 PrestaShop SA -* @version Release: $Revision: 1.4 $ -* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -require(dirname(__FILE__).'/config/config.inc.php'); -Tools::displayFileAsDeprecated(); - -// init front controller in order to use Tools::redirect -$controller = new FrontController(); -$controller->init(); - -$params = $_SERVER['QUERY_STRING']; -if (!empty($params)) - $params = '?'.$params; - -Tools::redirect('index.php/stores'.$params); - diff --git a/supplier.php b/supplier.php deleted file mode 100644 index 2f8509ac1..000000000 --- a/supplier.php +++ /dev/null @@ -1,40 +0,0 @@ - -* @copyright 2007-2011 PrestaShop SA -* @version Release: $Revision: 1.4 $ -* @license http://opensource.org/licenses/osl-3.0.php Open Software License (OSL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*/ - -require(dirname(__FILE__).'/config/config.inc.php'); -Tools::displayFileAsDeprecated(); - -// init front controller in order to use Tools::redirect -$controller = new FrontController(); -$controller->init(); - -$params = $_SERVER['QUERY_STRING']; -if (!empty($params)) - $params = '?'.$params; - -Tools::redirect('index.php/supplier'.$params); - diff --git a/themes/debug.tpl b/themes/debug.tpl deleted file mode 100644 index 27227baf8..000000000 --- a/themes/debug.tpl +++ /dev/null @@ -1,90 +0,0 @@ -{* -* 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 -* @copyright 2007-2011 PrestaShop SA -* @version Release: $Revision: 1.4 $ -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*} - -{* Smarty *} - -{* debug.tpl, last updated version 2.0.1 *} - -{assign_debug_info} - -{if isset($_smarty_debug_output) and $_smarty_debug_output eq "html"} - - - - {section name=templates loop=$_debug_tpls} - - {sectionelse} - - {/section} - - {section name=vars loop=$_debug_keys} - - {sectionelse} - - {/section} - - {section name=config_vars loop=$_debug_config_keys} - - {sectionelse} - - {/section} -
    Smarty Debug Console
    included templates & config files (load time in seconds):
    {section name=indent loop=$_debug_tpls[templates].depth}   {/section}{$_debug_tpls[templates].filename|escape:html}{if isset($_debug_tpls[templates].exec_time)} ({$_debug_tpls[templates].exec_time|string_format:"%.5f"}){if %templates.index% eq 0} (total){/if}{/if}
    no templates included
    assigned template variables:
    {ldelim}${$_debug_keys[vars]}{rdelim}{$_debug_vals[vars]|@debug_print_var}
    no template variables assigned
    assigned config file variables (outer template scope):
    {ldelim}#{$_debug_config_keys[config_vars]}#{rdelim}{$_debug_config_vals[config_vars]|@debug_print_var}
    no config vars assigned
    - -{else} - -{/if} \ No newline at end of file diff --git a/themes/index.php b/themes/index.php deleted file mode 100644 index c2835ab3f..000000000 --- a/themes/index.php +++ /dev/null @@ -1,36 +0,0 @@ - -* @copyright 2007-2011 PrestaShop SA -* @version Release: $Revision: 1.4 $ -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 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; diff --git a/themes/live_edit.tpl b/themes/live_edit.tpl deleted file mode 100644 index b352b7626..000000000 --- a/themes/live_edit.tpl +++ /dev/null @@ -1,53 +0,0 @@ -{* -* 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 -* @copyright 2007-2011 PrestaShop SA -* @version Release: $Revision: 1.4 $ -* @license http://opensource.org/licenses/afl-3.0.php Academic Free License (AFL 3.0) -* International Registered Trademark & Property of PrestaShop SA -*} - - -
    - - -
    -
    - -
    -

    -

    - -
    diff --git a/themes/prestashop/404.tpl b/themes/prestashop/404.tpl deleted file mode 100644 index fe98b0c38..000000000 --- a/themes/prestashop/404.tpl +++ /dev/null @@ -1,46 +0,0 @@ -{* -* 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 -* @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 -*} - -

    {l s='Page not available'}

    - -

    - {l s='Error'} - {l s='We\'re sorry, but the Web address you entered is no longer available'} -

    - -

    {l s='To find a product, please type its name in the field below'}

    - -
    -
    -

    - - - -

    -
    -
    - -

    {l s='Home'}{l s='Home'}

    diff --git a/themes/prestashop/address.tpl b/themes/prestashop/address.tpl deleted file mode 100644 index 4b995a927..000000000 --- a/themes/prestashop/address.tpl +++ /dev/null @@ -1,216 +0,0 @@ -{* -* 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 -* @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 -*} - - - - - -{capture name=path}{l s='Your addresses'}{/capture} -{include file="$tpl_dir./breadcrumb.tpl"} - -

    {l s='Your addresses'}

    - -

    {if isset($id_address)}{l s='Modify address'} {if isset($smarty.post.alias)}"{$smarty.post.alias}"{elseif isset($address->alias)}"{$address->alias|escape:'htmlall':'UTF-8'}"{/if}{else}{l s='To add a new address, please fill out the form below.'}{/if}

    - -{include file="$tpl_dir./errors.tpl"} - -
    -
    -

    {if isset($id_address)}{l s='Your address'}{else}{l s='New address'}{/if}

    -

    - - - -

    -

    - - - {l s='DNI / NIF / NIE'} -

    - {if $vat_display == 2} -
    - {elseif $vat_display == 1} -
    -

    - {if isset($id_address)}{/if} - {if isset($back)}{/if} - {if isset($mod)}{/if} - {if isset($select_address)}{/if} - -

    -

    *{l s='Required field'}

    -
    diff --git a/themes/prestashop/addresses.tpl b/themes/prestashop/addresses.tpl deleted file mode 100644 index 03d909526..000000000 --- a/themes/prestashop/addresses.tpl +++ /dev/null @@ -1,73 +0,0 @@ -{* -* 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 -* @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 -*} - - - -{capture name=path}{l s='My account'}{$navigationPipe}{l s='My addresses'}{/capture} -{include file="$tpl_dir./breadcrumb.tpl"} - -

    {l s='My addresses'}

    -

    {l s='Please configure the desired billing and delivery addresses to be preselected when placing an order. You may also add additional addresses, useful for sending gifts or receiving your order at the office.'}

    - -{if $ordered_fields} -
    -

    {l s='Your addresses are listed below.'}

    -

    {l s='Be sure to update them if they have changed.'}

    - {assign var="adrs_style" value=$addresses_style} - {foreach from=$addresses item=address name=myLoop} -
      -
    • {$address.alias}
    • - {foreach from=$ordered_fields name=adr_loop item=field_item} - {if $field_item eq "company" && $address.company}
    • {$address.company}
    • - {elseif $field_item eq "vat_number" && $address.vat_number}
    • {$address.vat_number}
    • - {elseif $field_item eq "address2" && $address.address2}
    • {$address.address2}
    • - {elseif $field_item eq "phone" && $address.phone}
    • {$address.phone}
    • - {elseif $field_item eq "phone_mobile" && $address.phone_mobile}
    • {$address.phone_mobile}
    • - {else} - {assign var=address_words value=" "|explode:$field_item} -
    • {foreach from=$address_words item=word_item name="word_loop"}{if !$smarty.foreach.word_loop.first} {/if}{$address.$word_item|escape:'htmlall':'UTF-8'}{/foreach}
    • - {/if} - {/foreach} -
    • {l s='Update'}
    • -
    • {l s='Delete'}
    • -
    - {/foreach} -

    -

    -{else} -

    {l s='No addresses available.'} {l s='Add new address'}

    -{/if} - - - - diff --git a/themes/prestashop/authentication.tpl b/themes/prestashop/authentication.tpl deleted file mode 100644 index 7ed3325a8..000000000 --- a/themes/prestashop/authentication.tpl +++ /dev/null @@ -1,455 +0,0 @@ -{* -* 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 -* @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 -*} - -{capture name=path}{l s='Login'}{/capture} -{include file="$tpl_dir./breadcrumb.tpl"} - - -

    {if !isset($email_create)}{l s='Log in'}{else}{l s='Create your account'}{/if}

    - -{assign var='current_step' value='login'} -{include file="$tpl_dir./order-steps.tpl"} - -{include file="$tpl_dir./errors.tpl"} - -{if !isset($email_create)} -
    -
    -

    {l s='Create your account'}

    -

    {l s='Enter your e-mail address to create an account'}.

    -

    - - -

    -

    - {if isset($back)}{/if} - - -

    -
    -
    -
    -
    -

    {l s='Already registered ?'}

    -

    - - -

    -

    - - -

    -

    - {if isset($back)}{/if} - -

    -

    {l s='Forgot your password?'}

    -
    -
    - {if isset($inOrderProcess) && $inOrderProcess && $PS_GUEST_CHECKOUT_ENABLED} -
    -
    -

    {l s='Instant Checkout'}

    -
    - -

    - - - * -

    -

    - {l s='Title'} - - - - -

    -

    - - - - * -

    -

    - - - - * -

    -

    - {l s='Date of Birth'} - - {* - {l s='January'} - {l s='February'} - {l s='March'} - {l s='April'} - {l s='May'} - {l s='June'} - {l s='July'} - {l s='August'} - {l s='September'} - {l s='October'} - {l s='November'} - {l s='December'} - *} - - -

    - {if $newsletter} -

    - - -

    -

    - - -

    - {/if} -

    {l s='Delivery address'}

    - {foreach from=$dlv_all_fields item=field_name} - {if $field_name eq "company"} -

    - - -

    - {elseif $field_name eq "vat_number"} - - {elseif $field_name eq "address1"} -

    - - - * -

    - {elseif $field_name eq "postcode"} -

    - - - * -

    - {elseif $field_name eq "city"} -

    - - - * -

    - {elseif $field_name eq "country"} -

    - - - * -

    -

    - - - * -

    - {elseif $field_name eq "phone"} -

    - - * -

    - {/if}{/foreach} - - - - - -
    -
    - -

    - *{l s='Required field'} - -

    -
    - {/if} -{else} -
    - {$HOOK_CREATE_ACCOUNT_TOP} - - - - {$HOOK_CREATE_ACCOUNT_FORM} -

    - - - {if isset($back)}{/if} - - *{l s='Required field'} -

    - -
    -{/if} diff --git a/themes/prestashop/best-sales.tpl b/themes/prestashop/best-sales.tpl deleted file mode 100644 index f76e974ef..000000000 --- a/themes/prestashop/best-sales.tpl +++ /dev/null @@ -1,38 +0,0 @@ -{* -* 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 -* @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 -*} - -{capture name=path}{l s='Top sellers'}{/capture} -{include file="$tpl_dir./breadcrumb.tpl"} - -

    {l s='Top sellers'}

    - -{if $products} - {include file="$tpl_dir./product-sort.tpl"} - {include file="$tpl_dir./product-list.tpl" products=$products} - {include file="$tpl_dir./pagination.tpl"} -{else} -

    {l s='No top sellers.'}

    -{/if} diff --git a/themes/prestashop/breadcrumb.tpl b/themes/prestashop/breadcrumb.tpl deleted file mode 100644 index 8cc8b6fc7..000000000 --- a/themes/prestashop/breadcrumb.tpl +++ /dev/null @@ -1,32 +0,0 @@ -{* -* 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 -* @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($smarty.capture.path)}{assign var='path' value=$smarty.capture.path}{/if} - - \ No newline at end of file diff --git a/themes/prestashop/category-cms-tree-branch.tpl b/themes/prestashop/category-cms-tree-branch.tpl deleted file mode 100644 index c79fc6701..000000000 --- a/themes/prestashop/category-cms-tree-branch.tpl +++ /dev/null @@ -1,53 +0,0 @@ -{* -* 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 -* @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 -*} - -
  • - {$node.name|escape:'htmlall':'UTF-8'} - {if isset($node.children) && $node.children|@count > 0} -
      - {foreach from=$node.children item=child name=categoryCmsTreeBranch} - {if isset($child.children) && $child.children|@count > 0 || isset($child.cms) && $child.cms|@count > 0} - {if $smarty.foreach.categoryCmsTreeBranch.last && $node.cms|@count == 0} - {include file="$tpl_dir./category-cms-tree-branch.tpl" node=$child last='true'} - {else} - {include file="$tpl_dir./category-cms-tree-branch.tpl" node=$child} - {/if} - {/if} - {/foreach} - {if isset($node.cms) && $node.cms|@count > 0} - {foreach from=$node.cms item=cms name=cmsTreeBranch} -
    • {$cms.meta_title|escape:'htmlall':'UTF-8'}
    • - {/foreach} - {/if} -
    - {elseif isset($node.cms) && $node.cms|@count > 0} - - {/if} -
  • diff --git a/themes/prestashop/category-tree-branch.tpl b/themes/prestashop/category-tree-branch.tpl deleted file mode 100644 index 812469c58..000000000 --- a/themes/prestashop/category-tree-branch.tpl +++ /dev/null @@ -1,40 +0,0 @@ -{* -* 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 -* @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 -*} - -
  • - {$node.name|escape:'htmlall':'UTF-8'} - {if $node.children|@count > 0} -
      - {foreach from=$node.children item=child name=categoryTreeBranch} - {if $smarty.foreach.categoryTreeBranch.last} - {include file="$tpl_dir./category-tree-branch.tpl" node=$child last='true'} - {else} - {include file="$tpl_dir./category-tree-branch.tpl" node=$child last='false'} - {/if} - {/foreach} -
    - {/if} -
  • \ No newline at end of file diff --git a/themes/prestashop/category.tpl b/themes/prestashop/category.tpl deleted file mode 100644 index d4ce92b2b..000000000 --- a/themes/prestashop/category.tpl +++ /dev/null @@ -1,93 +0,0 @@ -{* -* 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 -* @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 -*} - -{include file="$tpl_dir./breadcrumb.tpl"} -{include file="$tpl_dir./errors.tpl"} - -{if isset($category)} - {if $category->id AND $category->active} -

    {strip} - {$category->name|escape:'htmlall':'UTF-8'} - - {if $category->id == 1 OR $nb_products == 0}{l s='There are no products.'} - {else} - {if $nb_products == 1}{l s='There is'}{else}{l s='There are'}{/if}  - {$nb_products}  - {if $nb_products == 1}{l s='product.'}{else}{l s='products.'}{/if} - {/if} - {/strip} -

    - - {if $scenes} - - {include file="$tpl_dir./scenes.tpl" scenes=$scenes} - {else} - - {if $category->id_image} -
    - {$category->name|escape:'htmlall':'UTF-8'} -
    - {/if} - {/if} - - {if $category->description} -
    {$category->description}
    - {/if} - {if isset($subcategories)} - -
    -

    {l s='Subcategories'}

    - -
    -
    - {/if} - - {if $products} - {include file="$tpl_dir./product-compare.tpl"} - {include file="$tpl_dir./product-sort.tpl"} - {include file="$tpl_dir./product-list.tpl" products=$products} - {include file="$tpl_dir./product-compare.tpl"} - {include file="$tpl_dir./pagination.tpl"} - {elseif !isset($subcategories)} -

    {l s='There are no products in this category.'}

    - {/if} - {elseif $category->id} -

    {l s='This category is currently unavailable.'}

    - {/if} -{/if} \ No newline at end of file diff --git a/themes/prestashop/cms.tpl b/themes/prestashop/cms.tpl deleted file mode 100644 index 104647970..000000000 --- a/themes/prestashop/cms.tpl +++ /dev/null @@ -1,73 +0,0 @@ -{* -* 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 -* @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($cms) && $cms->id != $cgv_id} - {include file="$tpl_dir./breadcrumb.tpl"} -{/if} -{if isset($cms) && !isset($category)} - {if !$cms->active} -
    -
    -

    {l s='This CMS page is not visible to your customers.'} - - - -

    -
    -

    -

    -
    - {/if} -
    - {$cms->content} -
    -{elseif isset($category)} -
    -

    {$category->name|escape:'htmlall':'UTF-8'}

    - {if isset($sub_category) & !empty($sub_category)} -

    {l s='List of sub categories in '}{$category->name}{l s=':'}

    - - {/if} - {if isset($cms_pages) & !empty($cms_pages)} -

    {l s='List of pages in '}{$category->name}{l s=':'}

    - - {/if} -
    -{else} - {l s='This page does not exist.'} -{/if} -
    \ No newline at end of file diff --git a/themes/prestashop/config.xml b/themes/prestashop/config.xml deleted file mode 100644 index 98e1ec50a..000000000 --- a/themes/prestashop/config.xml +++ /dev/null @@ -1,9 +0,0 @@ - - - - - - - - - diff --git a/themes/prestashop/contact-form.tpl b/themes/prestashop/contact-form.tpl deleted file mode 100644 index 5f33b6ad0..000000000 --- a/themes/prestashop/contact-form.tpl +++ /dev/null @@ -1,121 +0,0 @@ -{* -* 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 -* @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 -*} - -{capture name=path}{l s='Contact'}{/capture} -{include file="$tpl_dir./breadcrumb.tpl"} - -

    {l s='Customer Service'} - {if isset($customerThread) && $customerThread}{l s='Your reply'}{else}{l s='Contact us'}{/if}

    - -{if isset($confirmation)} -

    {l s='Your message has been successfully sent to our team.'}

    - -{elseif isset($alreadySent)} -

    {l s='Your message has already been sent.'}

    - -{else} -

    {l s='For questions about an order or for more information about our products'}.

    - {include file="$tpl_dir./errors.tpl"} -
    -
    -

    {l s='Send a message'}

    -

    - - {if isset($customerThread.id_contact)} - {foreach from=$contacts item=contact} - {if $contact.id_contact == $customerThread.id_contact} - - - {/if} - {/foreach} -

    - {else} - -

    -

     

    - {foreach from=$contacts item=contact} - - {/foreach} - {/if} -

    - - {if isset($customerThread.email)} - - {else} - - {/if} -

    - {if !$PS_CATALOG_MODE} - {if (!isset($customerThread.id_order) || $customerThread.id_order > 0)} -

    - - {if !isset($customerThread.id_order) && isset($isLogged) && $isLogged == 1} - - {elseif !isset($customerThread.id_order) && !isset($isLogged)} - - {elseif $customerThread.id_order > 0} - - {/if} -

    - {/if} - {if isset($isLogged) && $isLogged} -

    - - {if !isset($customerThread.id_product)} - - {elseif $customerThread.id_product > 0} - - {/if} -

    - {/if} - {/if} - {if $fileupload == 1} -

    - - - -

    - {/if} -

    - - -

    -

    - -

    -
    -
    -{/if} diff --git a/themes/prestashop/css/addresses.css b/themes/prestashop/css/addresses.css deleted file mode 100755 index 62318e203..000000000 --- a/themes/prestashop/css/addresses.css +++ /dev/null @@ -1,68 +0,0 @@ -/* adresses */ -div.addresses { - border: 1px solid #d0d3d8; - background: #D0D1D5 url('../img/form_bg.jpg') repeat-x top left; - padding: 0.6em; - position: relative; - width: 544px -} -div.addresses h3 { margin: 0 } -div.addresses p.checkbox input { - margin-top: 0!important; - margin-top: -3px -} -div.addresses ul.item { clear: both } -ul.address { - background-color: white; - float: left; - list-style-image: none; - list-style-position: outside; - list-style-type: none; - margin-left: 0.25em; - padding-bottom: 0.6em; - margin-bottom: 1em; - position: relative; - width: 268px -} -ul.address li { - padding-left: 1.4em; - margin-top: 0.6em -} -li.address_title { - margin-top: 0!important; - background-color: #d0d1d5; - color: #374853; - font-weight: bold; - height: 27px; - font-size: 1.2em; - line-height: 1.9em -} -ul.item li.address_title { background-image: url('../img/address_alias_left.gif') } -ul.alternate_item li.address_title { background-image: url('../img/address_alias_right.gif') } -li.address_name, -li.address_firstname, -li.address_lastname, - li.address_update a, - li.address_delete a { color: #dd2a81 } -li.address_name, -li.address_firstname, -li.address_lastname, - li.address_company { font-weight: bold } - -span.address_name, -span.address_firstname, -span.address_lastname, -span.address_update a, -span.address_delete a { color: #dd2a81 } -span.address_name, -span.address_firstname, -span.address_lastname, -span.address_company { font-weight: bold } - -li.address_update, - li.address_delete { - background: transparent url('../img/bullet_myaccount.gif') no-repeat 0 0.5em!important; - background: transparent url('../img/bullet_myaccount.gif') no-repeat 0 0.4em; - margin-left: 1.4em -} -#center_column .address_add { padding: 1em 0 } diff --git a/themes/prestashop/css/authentication.css b/themes/prestashop/css/authentication.css deleted file mode 100755 index cc3df661b..000000000 --- a/themes/prestashop/css/authentication.css +++ /dev/null @@ -1,50 +0,0 @@ - -/* authentication.tpl */ -#create-account_form, - #authentication #login_form { - width: 49%; - height: 20em; - clear: none; - float: left -} -#create-account_form h4 { - height: 3.4em; - padding: 0.3em 3em 0 4em -} -#create-account_form p.text, - #authentication #login_form p.text { - height: 3.4em; - margin-left: 4em; - padding-left: 0; - padding-right: 0 -} -#authentication #login_form a { color: #374853 } -#create-account_form { margin-right: 11px } -#create-account_form p.text { - text-align: left; - width: 100px -} -#authentication #create-account_form p.text label { width: 100px } -#authentication input#SubmitCreate, - #authentication input#SubmitLogin { margin: 0 } -#authentication p.submit { - margin-right: 0; - text-align: left; - padding-left: 17%!important -} -#authentication p.lost_password { padding-left: 4em } -#authentication #create-account_form fieldset, - #authentication #login_form fieldset { height: 18em } -#authentication p.submit span { padding-right: 0.5em } -#create-account_form label, #authentication #login_form label { - float: none; - clear: both; - display: block; - text-align: left; - width: 100%; - margin-bottom: 0.3em -} -#account-creation_form input.text, -#account-creation_form #id_country, -#account-creation_form #id_state, - #authentication textarea { width: 17em } diff --git a/themes/prestashop/css/category.css b/themes/prestashop/css/category.css deleted file mode 100755 index b0d8b3c3d..000000000 --- a/themes/prestashop/css/category.css +++ /dev/null @@ -1,5 +0,0 @@ -/* category.tpl */ -body#category #subcategories li { height: 136px; width: 108px; margin-right: 3px } -div.cat_desc { margin: 0 1em } -body#category div#subcategories .inline_list a img { display: inline } -#category img#categoryImage { margin-top: 1em } \ No newline at end of file diff --git a/themes/prestashop/css/cms.css b/themes/prestashop/css/cms.css deleted file mode 100644 index f5c13955d..000000000 --- a/themes/prestashop/css/cms.css +++ /dev/null @@ -1,10 +0,0 @@ -#admin-action-cms { - background-color: #DFFAD3; - border: 1px solid #72CB67; - color: #374853; - margin-bottom: 10px; - padding: 4px; -} - -#admin-action-cms input.exclusive { float:right } - diff --git a/themes/prestashop/css/comparator.css b/themes/prestashop/css/comparator.css deleted file mode 100644 index 136688c8a..000000000 --- a/themes/prestashop/css/comparator.css +++ /dev/null @@ -1,122 +0,0 @@ -.comparison_feature_value -{ - padding: 5px; - margin-top: 5px -} - -.comparison_feature -{ - padding: 5px; - color: red; - font-weight: bold -} - -.comparison_feature_odd -{ - background-color: #F1F2F4; - padding: 3px; -} - -.comparison_feature_even -{ - padding: 3px; -} - -.comparison_infos -{ - border-left: 1px dotted #595A5E; - vertical-align: top; -} - -.comparison_infos_first -{ - border-left: 1px dotted #595A5E; - border-right: 1px dotted #595A5E -} - -#product_comparison -{ - border-collapse: collapse; -} - -tr.comparison_header td -{ - background-color: #595A5E; - color: #FFFFFF; - font-weight: bold; - padding: 3px -} - -.product_desc a -{ - text-decoration: none; -} - -.comparison_comment -{ - background-color: #FFFFFF; - -} - - -.cluetip-comparison_comments { - text-align: justify; - background-color:white; - padding:10px; - border:1px solid gray; - background-color:#F1F2F4; - opacity:0.95; - width: 430px - } - -.comment .customer_name -{ - font-weight: bold; -} - - -.cmp_remove -{ - margin: auto; - text-align: center; - display: block; - width: 120px; - cursor: pointer; - display: block; - line-height: 22px; - height: 22px; - background: url('../../../../img/admin/delete.gif') no-repeat; -} - -.comparison_availability_statut -{ - height: 27px; -} - -.comparison_old_price -{ - height: 13px; -} - -.comparison_product_infos -{ - width: 100%; - text-align: center; -} - -.comparison_unit_price -{ - color:gray; - font-size:0.75em; -} - -.product_discount -{ - height: 13px; - color:#DA0F00; - font-weight:bold; - text-transform:uppercase; -} - - - diff --git a/themes/prestashop/css/contact-form.css b/themes/prestashop/css/contact-form.css deleted file mode 100755 index d6e2cee9f..000000000 --- a/themes/prestashop/css/contact-form.css +++ /dev/null @@ -1,8 +0,0 @@ -/* contact-form.tpl */ -body#contact-form div#center_column form input#email, - body#contact-form div#center_column form select#id_contact, - body#contact-form div#center_column form textarea#message { width: 50% } -form.std p.desc_contact span.like_input { - width: 366px; - text-align: left -} \ No newline at end of file diff --git a/themes/prestashop/css/global.css b/themes/prestashop/css/global.css deleted file mode 100644 index 4a2e94ad2..000000000 --- a/themes/prestashop/css/global.css +++ /dev/null @@ -1,1496 +0,0 @@ -/* - PrestaShop CSS - 18 used colors: - 10 grays: #374853 #595a5e #5d717e #76839b #888 #bdc2c9 #d0d1d5 #d0d3d8 #e5e6e7 #f1f2f4 - 4 fushias: #f6dce8 #dd2a81 #971d58 #5d0630 - 2 yellows: #f8e1a0 #f9e400 - 1 green: #488c40 - 1 red: #da0f00 -*/ - -* { - padding: 0; - margin: 0 -} -body { - background-color: white; - font-size: 11px; - font-family: Verdana, Arial, Helvetica, Sans-Serif; - color: #5d717e; - text-align: center -} - -/* Useful */ -.align_center { text-align: center } -.align_right { text-align: right } -.middle { vertical-align: middle } -.align_justify { text-align: justify } -.uppercase { text-transform: uppercase } -.hidden, .collapsed, .block_hidden_only_for_screen { display: none } -.wrap { white-space: normal } -.bold { font-weight: bold } -.strike { text-decoration: line-through } -.italic { font-style: italic } -.top { vertical-align: top } -.span_link { cursor: pointer } -.span_link:hover { text-decoration: underline } -.clear { clear: both } -br.clear { - clear: both; - line-height: 0; - font-size: 0; - height: 0 -} -noscript ul { list-style-type: none; background: black; color: white; padding: 10px; border: 1px solid gray } -/* new clearfix */ -.clearfix:after { - clear: both; - display: block; - height: 0; - font-size: 0; - visibility: hidden; - content: "."; -} -* html .clearfix { zoom: 1 } -*:first-child+html .clearfix { zoom: 1 } - -/* Footer links */ -.footer_links { - list-style-type: none; - clear: both; - height: 2em; - margin-top: 2em -} -.footer_links li { - float: left; - margin-right: 2em; - height: 2em -} -.footer_links a { text-decoration: none } -.footer_links a:hover { color: black } -.footer_links img.icon { vertical-align: -2px } - -/* transfert effect*/ -.transferProduct { border: 2px solid #888 } - -/* simple list inline */ -.inline_list { list-style-type: none; margin-top: 1em } -.inline_list li { float: left; text-align: center } -.inline_list img { display: block } -ul.half { - width: 45%; - margin-right: 1em; - float: left -} - -/* Category tree (i.e. in sitemap) */ -div.tree_top { - background: url('../img/sitemap-top.gif') no-repeat -1px -3px; - padding-left: 24px; - padding-bottom: 5px; - padding-top: 3px -} -ul.tree, ul.tree ul { list-style-type: none } -ul.tree li { - padding-left: 1.2em; - border-left: 1px gray dotted; - background: url(../img/sitemap-horizontal.png) no-repeat left 10px; - margin-left: 1em -} -ul.tree a { padding-left: 0.2em } -ul.tree a.selected { font-weight: bold } -ul.tree li.last { - background: url(../img/sitemap-last.gif) no-repeat -12px -2px; - border: none -} -span.grower { cursor: pointer } - -/* Tabs */ -.idTabs { - list-style-type: none; - border-bottom: solid 1px #76839b; - height: 21px; - margin-top: 1em -} -ul.idTabs li { - float: left; - margin-right: 1px -} -.idTabs a { - background-image: url('../img/tab_bg.jpg'); - display: block; - width: 173px; - height: 18px; - text-align: center; - text-decoration: none; - text-transform: uppercase; - font-weight: bold; - padding-top: 3px; - color: #374853 -} -.idTabs .selected { - background-image: url('../img/tab_bg_selected.jpg'); - color: white -} - -/* IdTabs Short*/ -.idTabsShort a { - background-image: url('../img/tab_bg_short.jpg'); - width: 138px -} -.idTabsShort .selected { - background-image: url('../img/tab_bg_selected_short.jpg'); - color: white -} -div.sheets { - clear: both; - padding: 1em -} -#more_info_sheets li { - background-position: 6px 4px; - margin-bottom: 0.4em -} - -/* global style */ -a { - color: #5d717e; - text-decoration: underline; - outline: none -} -a:hover { text-decoration: none } -.input:focus { outline: 0 } -a img { - outline: none; - border: none; - text-decoration: none -} -h1 { - font-size: 1.1em; - line-height: 1.6em; - padding-left: 0.5em; - margin: 0.5em 0; - text-transform: uppercase; - font-weight: bold; - color: #374853; - background: transparent url('../img/title_bg.png') no-repeat top left; - height: 21px -} -h1 span { - font-size: 0.9em; - text-transform: none; - font-weight: normal; - font-style: italic; - color: #374853; - margin-left: 1em -} -h2 { - font-size: 1.1em; - line-height: 1.6em; - padding-left: 0.5em; - margin: 0.5em 0; - text-transform: uppercase; - font-weight: bold; - color: #374853; - background: transparent url('../img/title_bg.png') no-repeat top left; - height: 21px -} -h2 span { - font-size: 0.9em; - text-transform: none; - font-weight: normal; - font-style: italic; - color: #374853; - margin-left: 1em -} -h3 { font-size: 1.1em; margin: 1em 0 } -h4 { font-size: 1em } - -/* global layout */ -#page { - width: 980px; - margin: 0 auto 2px auto; - text-align: left -} -#header_logo { - float: left; - width: 264px; - display:block -} -img.logo { - float: left; - margin-top: 0.5em; - font-size: 2em; - font-weight: bold -} -#header_right { - float: left; - margin-bottom: 15px; - width: 73%; - text-align: right -} -#left_column, #center_column, #right_column { float: left } -#left_column { - clear: left; - width: 191px; - margin-right: 21px; - overflow: hidden -} -#center_column { - width: 556px; - margin: 0 0 30px 0; - overflow: hidden -} -#old_center_column { display: none } - -.ac_results_instant { - display: none; - visibility: hidden -} -#instant_search_results a.close { - background: url("../img/nav-logout.gif") no-repeat scroll right 2px transparent; - float: right; - margin-right: 7px; - padding-right: 21px; - text-transform: none -} -#right_column { - width: 191px; - margin-left: 21px; - overflow: hidden -} - -/* global RTE fields */ -.rte, - .mceContentBody { - text-align: left; - background: white; - color: black -} -body.mceContentBody { - margin: 9px 6px; - width: 556px -} -.rte html,.rte div,.rte span,.rte applet,.rte object,.rte iframe,.rte h1,.rte h2,.rte h3,.rte h4,.rte h5,.rte h6,.rte p,.rte blockquote,.rte pre,.rte a,.rte abbr,.rte acronym,.rte address,.rte big,.rte cite,.rte code,.rte del, .rte dfn, .rte em,.rte font,.rte img,.rte ins,.rte kbd,.rte q,.rte s,.rte samp,.rte small,.rte strike,.rte strong,.rte sub,.rte sup,.rte tt,.rte var,.rte dl,.rte dt,.rte dd,.rte ol,.rte ul,.rte li,.rte fieldset,.rte form,.rte label,.rte legend,.rte table,.rte caption,.rte tbody,.rte tfoot,.rte thead,.rte tr, .rte th,.rte td, -.mceContentBody html, .mceContentBody div, .mceContentBody span, .mceContentBody applet, .mceContentBody object, .mceContentBody iframe, .mceContentBody h1, .mceContentBody h2, .mceContentBody h3, .mceContentBody h4, .mceContentBody h5, .mceContentBody h6, .mceContentBody p, .mceContentBody blockquote, .mceContentBody pre, .mceContentBody a, .mceContentBody abbr, .mceContentBody acronym, .mceContentBody address, .mceContentBody big, .mceContentBody cite, .mceContentBody code, .mceContentBody del, .mceContentBody dfn, .mceContentBody em, .mceContentBody font, .mceContentBody img, .mceContentBody ins, .mceContentBody kbd, .mceContentBody q, .mceContentBody s, .mceContentBody samp, .mceContentBody small, .mceContentBody strike, .mceContentBody strong, .mceContentBody sub, .mceContentBody sup, .mceContentBody tt, .mceContentBody var, .mceContentBody dl, .mceContentBody dt, .mceContentBody dd, .mceContentBody ol, .mceContentBody ul, .mceContentBody li, .mceContentBody fieldset, .mceContentBody form, .mceContentBody label, .mceContentBody legend, .mceContentBody table, .mceContentBody caption, .mceContentBody tbody, .mceContentBody tfoot, .mceContentBody thead, .mceContentBody tr, .mceContentBody th, .mceContentBody td { - margin: 0; - padding: 0; - border: 0; - outline: 0; - font-weight: inherit; - font-style: inherit; - font-size: 100%; - font-family: inherit; - vertical-align: baseline -} -.rte h1,.rte h2,.rte h3,.rte h4,.rte h5,.rte h6, - .mceContentBody h1, .mceContentBody h2, .mceContentBody h3, .mceContentBody h4, .mceContentBody h5, .mceContentBody h6 { - margin: 0.75em 0 0.3em 0; - color: #374853 -} -.rte h1, - .mceContentBody h1 { - font-size: 25px; - font-weight: bold; - background:inherit; -} -.rte h2, - .mceContentBody h2 { - font-size: 20px; - background: none; - text-transform: none; - height: auto -} -.rte h3, .mceContentBody h3 { font-size: 16px } -.rte h4, .mceContentBody h4 { font-size: 14px } -.rte h5,.mceContentBody h5 { font-size: 12px } -.rte h6, div.rte h6 { font-size: 8px } -.rte ol, .mceContentBody ul, div.rte ol, .mceContentBody ul { padding-left: 2em } -.rte ul, .mceContentBody ul { - list-style-type: square; - margin-left: 10px -} -.rte strong, .mceContentBody strong { font-weight: bold } -.rte em, .mceContentBody em { font-style: italic } - -/* tables still need 'cellspacing="0"' in the markup */ -.rte table,.mceContentBody table { - border-collapse: separate; - border-spacing: 1px; - width: auto -} -.rte caption, .rte th, .rte td, .rte table, - .mceContentBody caption, .mceContentBody th, .mceContentBody td, .mceContentBody table { - text-align: left; - font-weight: normal; - background: none; - height: inherit; - border: 1px #e5e6e7 solid; - text-align: center -} -.rte th, .mceContentBody th { - padding-left: 1em; - padding-right: 1em; - background: #e5e6e7 -} -#center_column .rte p, - .mceContentBody p { padding-left: 0; margin: 0.5em 0 } -.rte ol, .mceContentBody ol { - list-style-type: decimal; - margin-left: 10px -} - -/* /global RTE fields */ - -/* global table style */ -div.table_block { - background: transparent url('../img/table_footer.gif') no-repeat bottom left; - padding-bottom: 6px; - margin: 0 auto 2em; - width: 541px -} -.std {font-size: 11px;} -table.std { - border-spacing: 0; - border-collapse: collapse; - width: 100% -} -/*class table.std */ -.std td,.std th { padding: 0.4em 0.5em } -.std th { white-space: nowrap } -.std tr.item td,.std .item th { background-color: white } -.std tr.alternate_item td, -.std tr.alternate_item th { background-color: #f1f2f4 } -.std tbody td,.std tfoot td { border-top: 1px solid #bdc2c9 } -.std thead th { - background-color: transparent; - background-image: url('../img/table_header.gif'); - background-repeat: no-repeat; - height: 24px; - color: #374853; - font-weight: bold; - text-align: left; - white-space: nowrap -} -.std th.first_item { background-position: top left } -.std th.last_item { background-position: top right } -.std th.item { background-position: -5px 0 } -.std tfoot td { - color: #374853; - text-align: right; - white-space: nowrap -} - -/* /global table style */ - -/* global form style */ -form.std { clear: both } -form.std h3 { - color: #555; - font-size: 1.4em; - font-weight: normal; - border-bottom: 1px solid #d0d1d5; - padding: 0.5em; - margin: 0 0 0.5em 0 -} -form.std fieldset { - border: 1px solid #d0d3d8; - background: #D0D1D5 url('../img/form_bg.jpg') repeat-x top left; - margin-bottom: 1em; - padding-bottom: 1em -} -form.std legend { - padding: 0.3em 0.6em; - margin: 1em 0 1em 0.5em; - font-size: 1.6em; - font-weight: 100; - border-color: #d0d1d5; - border-style: solid; - border-width: 1px -} -form.std h4, form.std p { - padding: 0.3em 1em; - clear: both -} -form.std label, form.std p span { - float: left; - text-align: right; - width: 30% -} -form.std p span.like_input { - width: auto; - margin-left: 0.7em -} -input, textarea, select, span.editable { - margin-left: 0.7em; - font-size: 12px; - font-family: Verdana, Arial, Helvetica, Sans-Serif; - outline: none -} -input, textarea, select { border: 1px solid #bdc2c9 } -input.text { - height: 18px; - padding-left: 2px; - padding-right: 2px -} -.checkbox input, .radio input { border: none } -form.std .checkbox label, form.std .radio label, form.std span.form_info { - margin: 0; - float: none; - text-align: left -} -.required sup { color: #da0f00 } -form.std p.checkbox { padding-left: 30% } -form.std p.submit { - padding-left: 31%!important; - margin-bottom: 1.5em -} -#center_column form.std p.submit2 { - padding-left: 170px; - margin-bottom: 1.5em -} - -/* START OF BUTTONS SECTION - * -tags: input, a, span - * -sizes: mini, small, normal, large - * -types: button, exlusive - * -status: normal, hover, disabled - * -rule: the span.button is a a.button disabled -*/ - -/* global button */ -input.button_mini, input.button_small, input.button, input.button_large, -input.button_mini_disabled, input.button_small_disabled, input.button_disabled, input.button_large_disabled, -input.exclusive_mini, input.exclusive_small, input.exclusive, input.exclusive_large, -input.exclusive_mini_disabled, input.exclusive_small_disabled, input.exclusive_disabled, input.exclusive_large_disabled, -a.button_mini, a.button_small, a.button, a.button_large, -a.exclusive_mini, a.exclusive_small, a.exclusive, a.exclusive_large, -span.button_mini, span.button_small, span.button, span.button_large, -span.exclusive_mini, span.exclusive_small, span.exclusive, span.exclusive_large, span.exclusive_large_disabled { - background-repeat: no-repeat; - background-position: top left; - border: none; - color: black!important; - font-weight: bold; - font-size: 10px!important; - text-align: center; - text-decoration: none!important; - cursor: pointer; - display: block; - line-height: 18px; - height: 18px -} - -/* input button */ -input.button_mini, input.button_small, input.button, input.button_large, -input.button_mini_disabled, input.button_small_disabled, input.button_disabled, input.button_large_disabled, -input.exclusive_mini, input.exclusive_small, input.exclusive, input.exclusive_large, -input.exclusive_mini_disabled, input.exclusive_small_disabled, input.exclusive_disabled, input.exclusive_large_disabled { - padding-bottom: 2px -} - -/* disabled button */ -input.button_mini_disabled, input.button_small_disabled, input.button_disabled, input.button_large_disabled, -input.exclusive_mini_disabled, input.exclusive_small_disabled, input.exclusive_disabled, input.exclusive_large_disabled, -span.button_mini, span.button_small, span.button, span.button_large, -span.exclusive_mini, span.exclusive_small, span.exclusive, span.exclusive_large, span.exclusive_large_disabled { - background-position: left -36px; - cursor: default; - color: #888!important -} - -/* exclusive button */ -input.exclusive_mini, input.exclusive_small, input.exclusive, input.exclusive_large, -input.exclusive_mini_disabled, input.exclusive_small_disabled, input.exclusive_disabled, input.exclusive_large_disabled, -a.exclusive_mini, a.exclusive_small, a.exclusive, a.exclusive_large, -span.exclusive_mini, span.exclusive_small, span.exclusive, span.exclusive_large, span.exclusive_large_disabled { - color: white!important -} - -/* exclusive disabled button */ -input.exclusive_mini_disabled, input.exclusive_small_disabled, input.exclusive_disabled, input.exclusive_large_disabled, span.exclusive_mini, span.exclusive_small, span.exclusive, span.exclusive_large { - color: #488c40!important -} - -/* hover button */ -input.button_mini:hover, input.button_small:hover, input.button:hover, input.button_large:hover, -input.exclusive_mini:hover, input.exclusive_small:hover, input.exclusive:hover, input.exclusive_large:hover, -a.button_mini:hover, a.button_small:hover, a.button:hover, a.button_large:hover, -a.exclusive_mini:hover, a.exclusive_small:hover, a.exclusive:hover, a.exclusive_large:hover { - background-position: left -18px -} - -/* exclusive hover button */ -input.exclusive_mini:hover, input.exclusive_small:hover, input.exclusive:hover, input.exclusive_large:hover, a.exclusive_mini:hover, a.exclusive_small:hover, a.exclusive:hover, a.exclusive_large:hover { - color: white!important -} - -/* classic buttons */ -input.button_mini, input.button_mini_disabled, input.exclusive_mini, input.exclusive_mini_disabled, a.button_mini, a.exclusive_mini, span.button_mini, span.exclusive_mini { - width: 30px; - background-image: url('../img/button-mini.png') -} -input.button_small, input.button_small_disabled, input.exclusive_small, input.exclusive_small_disabled, a.button_small, a.exclusive_small, span.button_small, span.exclusive_small { - width: 60px; - background-image: url('../img/button-small.png') -} -input.button, input.button_disabled, input.exclusive, input.exclusive_disabled, a.button, a.exclusive, span.button, span.exclusive { - width: 120px; - background-image: url('../img/button-medium.png') -} -input.button_large, input.button_large_disabled, input.exclusive_large, input.exclusive_large_disabled, a.button_large, a.exclusive_large, span.button_large, span.exclusive_large, span.exclusive_large_disabled { - width: 180px; - background-image: url('../img/button-large.png') -} - -/* exclusive button */ -input.exclusive, input.exclusive_disabled, a.exclusive, span.exclusive { background-image: url('../img/button-medium_exclusive.png') } -input.exclusive_mini, input.exclusive_mini_disabled, a.exclusive_mini, span.exclusive_mini { background-image: url('../img/button-mini_exclusive.gif') } -input.exclusive_small, input.exclusive_small_disabled, a.exclusive_small, span.exclusive_small { background-image: url('../img/button-small_exclusive.gif') } -input.exclusive_large, input.exclusive_large_disabled, a.exclusive_large, span.exclusive_large, span.exclusive_large_disabled { background-image: url('../img/button-large_exclusive.gif') } - -/* id_state field in managed via JS and is firstly hidden */ -form p.id_state { display: none } - -/* generic style */ -ul.bullet li, .block ul.bullet li, li.bullet { - padding-left: 2em; - background: transparent url('../img/bullet.gif') no-repeat 6px 6px; - list-style-type: none -} - -.price-discount { text-decoration: line-through } -.price-pretax { color: gray } -.price-ecotax { color: #488c40 } -img.icon { margin-right: 0.5em; vertical-align: middle } -.weight-price { - font-size: 0.75em; - text-align: right; - color: gray -} - -.volume-price { - font-size: 0.75em; - text-align: right; - color: gray -} - -.unity-price { - font-size: 0.75em; - text-align: right; - color: gray -} - -.price, .price-shipping, .price-wrapping { - color: #da0f00; - font-size: 1.1em; - font-weight: bold; - white-space: nowrap -} - -/* errors */ -.error { - width: 90%; - color: #da0f00; - margin: 0.3em auto 1.5em auto; - padding: 0.3em 0.8em 1em -} -.error p { font-weight: bold } -.error li { - list-style-position: inside; - list-style-type: decimal-leading-zero; - padding-left: 3em -} - -/* warning */ -.warning { - color: black; - font-size: 1.2em; - background-color: #F8E1A0; - border: 1px dashed #F9E400; - font-weight: bold; - margin: 0.2em 2em; - padding: 0.6em 1em -} -.warning_inline { - color: #da0f00; - font-weight: bold -} - -/* success */ -.success { - color: green; - font-weight: bold; - margin: 0.2em 1em; - padding: 0.3em 0.8em 1em -} -.success_inline { - color: green; - font-weight: bold -} - -/* breadcrumb.tpl */ -.breadcrumb { - font-size: 1em; - color: #888 -} -.breadcrumb .navigation-pipe { padding: 0 0.6em } -.breadcrumb a { - text-decoration: none; - color: #5d717e -} -.breadcrumb a:hover { text-decoration: underline } - -/* pagination.tpl */ -div.pagination { padding: 1em 0 } -ul.pagination { - list-style: none; - float: left -} -ul.pagination li { - display: inline; - float: left; - margin-right: 0.3em -} -ul.pagination li, ul.pagination a, ul.pagination span { - font-weight: bold; - color: #374853 -} -ul.pagination a, ul.pagination span { - border: 1px solid #888; - padding: 0em 0.4em; - display: block; - line-height: 17px; - background: #bdc2c9 url('../img/pagination_bg.gif') repeat-x top right -} -ul.pagination a { text-decoration: none } -ul.pagination .current span { - background-color: #595a5e; - background-image: url('../img/pagination-bg-current.gif'); - color: white; - border: 1px solid #595a5e -} -ul.pagination li.truncate { - padding: 0.3em; - background: none -} -#pagination_previous a, #pagination_previous span, #pagination_next a, #pagination_next span { - background-image: url('../img/pagination-prevnext-bg.gif'); - border: none; - line-height: 19px; - border-color: #d0d1d5; - border-style: solid; - border-width: 0 1px -} -#pagination_previous { - background: transparent url('../img/pagination-prev-border.gif') no-repeat top left; - padding-left: 6px -} -#pagination_previous a, #pagination_previous span { border-left: none } -#pagination_next { - background: transparent url('../img/pagination-next-border.gif') no-repeat top right; - padding-right: 6px -} -#pagination_next a, #pagination_next span { border-right: none } -li.disabled span { - color: #888; - background-color: #f1f2f4 -} -form.pagination { text-align: right } -form.pagination label { - line-height: 1.4em; - vertical-align: bottom; - float: right; - margin-left: 0.3em -} -form.pagination select { float: right } -form.pagination select option { - font-size: 0.9em; - padding-right: 1em -} -form.pagination input { float: right } - -/* steps (like order step) */ -ul.step { - background: transparent url('../img/step_start.gif') no-repeat bottom left; - list-style: none; - margin: 0.8em auto 2em; - padding-left: 40px; - height: 25px; - width: 465px -} -ul.step li { - height: 25px; - float: left; - width: 100px; - text-align: center; - background: transparent url('../img/step_standard.gif') no-repeat bottom left -} -ul.step li.step_current { - background: transparent url('../img/step_current.gif') no-repeat bottom left; - font-weight: bold -} -ul.step li.step_todo { font-style: italic } -ul.step li#step_end { width: 40px } -ul.step li#step_end { background: transparent url('../img/step_end.gif') no-repeat bottom left } -ul.step li#step_end.step_current { background: transparent url('../img/step_end_current.gif') no-repeat bottom left } -ul#order_step { background-color: white } - -/* product-sort.tpl */ -#productsSortForm p { - height: 1em; - margin: 0.5em 0 0 0 -} -#productsSortForm label, #productsSortForm select { float: right } -#productsSortForm select { font-size: 1em } - -/* Header */ -#header_right ul { list-style: none } -#header_right form { - border: none; - margin-bottom: 0!important; - display: inline -} -#header_right label { - margin: 0; - float: none -} - -/* Footer */ -#footer { - border-top: 1px solid #d0d3d8; - padding: 0.5em 0; - clear: both -} - -/* Default block style */ -div.block { - margin-bottom: 1em; - width: 191px -} -#left_column div.block, - #right_column div.block { - padding-bottom: 5px; - background: transparent url('../img/block_footer.png') no-repeat bottom left -} -div.block h4 { - text-transform: uppercase; - font-family: Arial, Helvetica, Sans-Serif; - font-weight: bold; - font-size: 1.2em; - padding-left: 0.5em; - border-bottom: 1px solid #595A5E; - padding-top: 2px; - line-height: 1.3em; - color: #374853; - height: 19px; - background: transparent url('../img/block_header.png') no-repeat top left -} -div.block h4 a { color: #374853 } -div.block ul { list-style: none } -div.block ul.tree li { padding-left: 1.2em } -div.block a:hover { text-decoration: underline } -#left_column div.block .block_content a.button_large, - #right_column div.block .block_content a.button_large { margin: 0 0 0 -3px } -div.block .block_content { - border-left: 1px #d0d3d8; - border-right: 1px #d0d3d8; - padding: 0 0.7em; - background: #f1f2f4 url('../img/block_bg.jpg') repeat-x bottom left; - min-height: 16px -} -div.block li { - padding: 0.2em 0 0.2em 0em; - list-style-position: outside -} -div.block a { - color: #595a5e; - text-decoration: none -} - -/* block exclusive */ -#left_column div.exclusive, #right_column div.exclusive { - background: transparent url('../img/block_exclusive_footer.jpg') no-repeat bottom left -} -div.exclusive h4 { - background: transparent url('../img/block_header_exclusive.png') no-repeat top left; - color: white -} -div.exclusive h4 a { color: white } -div.exclusive li { margin-top: 0 } -div.exclusive, div.exclusive a { color: white } -div.exclusive .block_content { - background: #bdc2c9 url('../img/block_exclusive_bg.jpg') repeat-x bottom left; - border-left: 1px solid #595a5e; - border-right: 1px solid #595a5e -} - -/* block in the center column */ -#center_column p { margin: 0.5em 0; padding-left: 0.7em } -#center_column div.block { width: 536px; margin: auto } -#center_column div.block h4 { - background: transparent url('../img/block_header_large.png') no-repeat top left; - height: 17px; - color: white -} - -/* Styles for products blocks */ - -/* block products (new, features, viewed, etc...) on left and right column */ -.products_block li { margin-top: 0.2em } -.products_block li.item img { margin-right: 5px } -.products_block li.last_item { border: none } -.products_block li img { - float: left; - margin-right: 0.2em -} -.products_block p img { - float: none; - margin: 0 0 0 0.4em -} -.products_block li h5 { - display: inline; - font-size: 0.9em -} -.products_block li p a { - font-weight: bold; - font-size: 0.8em -} -.products_block dl { - clear: both; - border-top: 1px solid #374853; - padding: 0 4px 4px -} -.products_block dl dt { - margin-top: 0.3em; - color: #595a5e -} -.products_block a.button_large { margin: 0.4em 0.4em 0 0.4em } -.products_block ul.product_images li { - border: none; - float: left; - clear: none -} - -/* Special style for block products in center column */ -#center_column .products_block { border: none } -#center_column .products_block { color: #595a5e } -#center_column .products_block h4 { line-height: 1.3em } -#center_column .products_block .block_content { - background: #d0d3d8 none; - padding: 0 -} -#center_column .products_block ul li:hover { background-color: #bdc2c9 } -#center_column .products_block ul li { - float: left; - background-color: #d0d3d8; - margin-top: 0; - padding: 0 0 1px; - width: 133px; - border-right: 1px solid white; - border-bottom: 1px solid white -} -#center_column .products_block ul .product_accessories_description { - margin: 0; - padding: 0; - height: 280px -} - -/*#center_column .products_block li.last_item { float: none; clear: both }*/ -#center_column .products_block li.last_item_of_line { border-right: none } -#center_column .products_block li.first_item_of_line { clear: both } -#center_column .products_block li.last_line { border-bottom: none } -#center_column .products_block p, #center_column .products_block h5 { margin: 0.5em 0.1em } -#center_column div.products_block h5 { - display: block; - margin-top: 8px; - height: 2.57em -} -#center_column div.products_block h5 a { - color: #374853; - font-size: 1.1em -} -#center_column div.products_block ul li p { - margin: 0; - padding: 0 -} -#center_column div.products_block div.product_desc { - height: 9em; - color: #595a5e; - overflow: hidden -} -#center_column div.products_block a.product_image { - display: block; - background-color: transparent; - margin-bottom: 2px; - margin-left: 2px; - width: 129px; - height: 129px -} -#center_column div.products_block .product_accessories_description a.product_image { - width: 118px; - height: 85px -} -#center_column div.products_block a.product_description { - display: block; - width: 118px; - height: 50px; - margin-left: 2px; - margin-bottom: 8px; - overflow:hidden -} - -#center_column div.products_block a.product_image img { - float: none; - margin: 0 -} -#center_column div.products_block h5 { margin: 10px 5px 3px 5px } -#center_column div.products_block div.product_desc { margin: 0 5px } -#center_column div.products_block ul li div.product_desc a { font-weight: normal } -#center_column .products_block span.price { - text-align: center; - font-size: 1.5em; - padding: 0.5em 0; - /*display: block;*/ -} -p.price_container { text-align: center } -#center_column .products_block .featured_price { margin-top: 2.5em } -#center_column .products_block a.button, - #center_column .products_block a.exclusive, - #center_column .products_block span.exclusive { margin: 0.5em auto } - -/* Special style for block accessories in center column (product page) */ -#center_column .products_block.accessories_block .block_content { background: none } -#center_column div.products_block.accessories_block div.product_desc { - margin-right: 0; - height: 150px; - border-right: 1px solid #d0d3d8 -} -#center_column .products_block.accessories_block .block_content li { background: none; text-align: center } -#center_column .products_block.accessories_block .block_content li h5, - #center_column .products_block.accessories_block .block_content li a.product_description { text-align:left } -#center_column .products_block.accessories_block .block_content li.last_item a.product_image { border: none } - -/* discount.tpl */ -td.discount_value { white-space: nowrap } - -/* shopping cart */ -.cart_last_product { - width: 300px; - margin: 0 auto 12px -} -.cart_last_product_header, -.cart_last_product_header .left { - background: url('../img/table_header.gif') right 0; -} -.cart_last_product_header .left { - background-color:#fff; - background-position:0 0; - margin-bottom:5px; - padding-left: 27px; - width: 249px; - height: 24px; - line-height: 24px; - color: #374853; - font-weight: bold -} -.cart_last_product_img { float:left } -.cart_last_product_img img { - margin:0 6px; - border:1px solid #D0D1D5; - width: 45px; - height: 45px -} - .cart_last_product_content { - float:right; - width:241px -} -.cart_last_product_content a { text-decoration:none } -.cart_last_product_content h5 { font-size:9px } -.cart_last_product_content h5 a { color:#595A5E } - -p.cart_navigation { padding: 1em 0!important } -p.cart_navigation .button, - p.cart_navigation .button_large { float: left } -p.cart_navigation .exclusive, - p.cart_navigation .exclusive_large, - p.cart_navigation .exclusive_large_disabled { float: right } -p.cart_navigation_extra { - text-align: center; - width: auto -} -form.std p.cart_navigation span { - float: none; - text-align: left; - width: auto -} -#cart_summary tfoot td { - border-top: none; - line-height: 1.5em -} -#cart_summary tfoot tr.cart_total_product td { border-top: 1px solid #bdc2c9 } -#cart_summary tfoot tr.cart_total_price td { border-bottom: 2px solid #bdc2c9 } -#cart_summary .price, #cart_summary .price-discount { - color: #595A5E; - font-size: 1em; - text-decoration: none -} -tr.cart_item td { padding: 0.5em 0 } -td.cart_product a { margin: 0 0.6em } -td.cart_product a img { - border: 1px solid #d0d1d5; - width: 45px; - height: 45px -} -td.cart_product a:hover img { border: 1px solid #888 } -td.cart_description a { text-decoration: none } -td.cart_description a:hover { text-decoration: underline } -td.cart_description h5 a, td.cart_ref, td.cart_total { color: #595a5e } -td.cart_unit, td.cart_total, td.cart_discount_price { text-align: right } -td.cart_availability, td.cart_ref { text-align: center } -td.cart_total .price { font-weight: bold } -tr.cart_item td.cart_unit { padding-right: 1em } -td.cart_quantity { - width: 7.5em; - text-align: right -} -.cart_quantity_input { float: right; margin: 5px 10px 0 0; } -td.cart_quantity p, td.cart_quantity a { - float: left; - display: inline -} -td.cart_quantity p { padding-right: 0.3em } -td.cart_quantity .icon { margin-top: 0.6em } -td.cart_quantity a.cart_quantity_up, - td.cart_quantity a.cart_quantity_down { display: block } -tr.cart_free_shipping { white-space: normal } -tr.cart_total_price { font-weight: bold } -#order tfoot p { - margin: 0; - float: left; - width: 85% -} -#order tfoot span { - float: right; - width: 15%; - display: block -} -#order #voucher fieldset { - border: 1px solid #bdc2c9; - padding: 0.7em -} -#order form#voucher fieldset #display_cart_vouchers { - margin-top:5px; - clear:both; - float:left; -} -#order form#voucher fieldset #display_cart_vouchers .voucher_name { - color:#DD2A81; - font-weight:bold; - cursor:pointer; -} -#order form#voucher h4, - #order form#voucher p, - #order form#voucher .button { display: inline } -#order form#voucher h4 { - float: left; - line-height: 1.5em; - margin-right: 6em -} -#order #order_carrier { - clear: both; - margin-top: 1em; - border: 1px solid #bdc2c9; - padding: 0.5em -} -#order #order_carrier h4 { - width: 50%; - display: inline -} -#order #order_carrier img { vertical-align: middle } -#order #order_carrier span { margin: 0 0.2em } -#order #gift_div { display: none } -#order #gift_div label, #order #gift_div textarea { - display: block; - width: 100%; - margin: 1em 0 -} - -#order-opc tfoot p { - margin: 0; - float: left; - width: 85% -} -#order-opc tfoot span { - float: right; - width: 15%; - display: block -} -#order-opc #voucher fieldset { - border: 1px solid #bdc2c9; - padding: 0.7em -} -#order-opc form#voucher fieldset #display_cart_vouchers { - margin-top:5px; - clear:both; - float:left; -} -#order-opc form#voucher fieldset #display_cart_vouchers .voucher_name { - color:#DD2A81; - font-weight:bold; - cursor:pointer; -} -#order-opc form#voucher h4, - #order-opc form#voucher p, - #order-opc form#voucher .button { display: inline } -#order-opc form#voucher h4 { - float: left; - line-height: 1.5em; - margin-right: 6em -} -#order-opc #order_carrier { - clear: both; - margin-top: 1em; - border: 1px solid #bdc2c9; - padding: 0.5em -} -#order-opc #order_carrier h4 { - width: 50%; - display: inline -} -#order-opc #order_carrier img { vertical-align: middle } -#order-opc #order_carrier span { margin: 0 0.2em } - -#order-opc #gift_div label, #order #gift_div textarea { - display: block; - width: 100%; - margin: 1em 0 -} - -/* views block */ -#views_block { - margin: 0 auto; - width: 290px -} -#thumbs_list { - overflow: hidden; - float: left; - width: 255px -} -#thumbs_list ul { - padding-left: 0; - list-style-type: none; - margin-top: 5px -} -#thumbs_list li { - float: left; - cursor: pointer; - width: 80px; - height: 80px; - margin-right: 5px; -} -#view_scroll_left, #view_scroll_right { - background: url('../img/thumbs_left.gif') no-repeat center; - text-indent: -3000px; - width: 9px; - height: 18px; - float: left; - margin-top: 30px; - padding-right: 4px; - padding-left: 4px -} -#view_scroll_right { background-image: url('../img/thumbs_right.gif') } -span.view_scroll_spacer { - float: left; - width: 17px; - height: 80px -} - -/* manufacturers-list.tpl && suppliers-list.tpl */ -#manufacturers_list, #suppliers_list { - margin-top: 2em; - list-style-type: none -} -#suppliers_list li, #manufacturers_list li { - background: #d0d3d8 url('../img/block_category_item_bg.jpg') repeat-x; - border: solid 1px #d0d3d8; - padding: 0.6em; - margin-bottom: 1.5em -} -#suppliers_list li a, #manufacturers_list li a { - text-decoration: none; - color: #374853 -} -#suppliers_list li h3, #manufacturers_list li h3 { margin: 0.4em 0 } -#suppliers_list .left_side, #manufacturers_list .left_side { - float: left; - width: 75% -} -#suppliers_list .logo, #manufacturers_list .logo { - border: solid 1px #d0d3d8; - float: left; - margin-right: 0.6em -} -#suppliers_list li p.description, -#manufacturers_list li p.description { font-size: 0.92em } -#suppliers_list li .right_side, -#manufacturers_list li .right_side { - float: right; - text-align: right -} -#suppliers_list .right_side span, -#manufacturers_list .right_side span { - font-size: 1.7em; - color: #da0f00 -} -#suppliers_list li a.button, -#manufacturers_list li a.button { margin-top: 4em } - -/* conditions & legal */ -ul.shop_info { - list-style-type: square!important; - list-style-position: inside; - padding: 0.6em; - margin-top: 0.6em; - margin-left: 2em; - border: 1px solid #888 -} -ul.shop_info li { - padding-left: 0.5em!important; - padding-bottom: 0.5em!important -} - -/* conditions.tpl */ -#conditions #right_column { display: none } -#conditions h2 { background: transparent url('../img/title_bg_large.gif') no-repeat top left } -#conditions #center_column { - width: 730px; - text-align: justify -} -#conditions #center_column ul, - #conditions #center_column ol { - margin-left: 2em; - padding: 0.6em -} -#conditions #center_column ul { list-style-type: circle } -#conditions #center_column li { padding-bottom: 0.5em } -#conditions #center_column { line-height: 1.3em } - -/* order step 3: PAYMENT */ -.payment_module { display: block } -.payment_module img { - vertical-align: middle; - margin-right: 1em -} -.payment_module a { - display: block; - border: 1px solid #595a5e; - padding: 0.6em; - text-decoration: none -} -.payment_module a:hover, .payment_module a:focus, .payment_module a:active { - border: 1px solid #488c40; - background-color: #e5e6e7; - color: #374853 -} - -/* Printable version */ -@media print { - div#left_column, div#right_column, div#footer, a.button, span.button , .button, ul#usefull_link_block, div#header_user, #languages_block_top, #search_block_top, #currencies_block_top, ul#header_links, ul.idTabs, #availability_statut br { - display: none - } - div#center_column { width: 100% } - input.text { border: 1px solid gray } - .block_hidden_only_for_screen { - display: block; - margin-top: 1em - } - #more_info_sheets #idTab1 { width: 530px } - * { - background: none!important; - background-color: white!important; - } -} - -/* Customizable product */ -#customization_block { width: 556px } -.customization_block_title { margin: 4px 4px 4px 2px } -#customization_block ul { margin: 6px 6px 0 6px } -.customization_block_input { vertical-align: inherit } -img.customization_delete_icon { margin: 2px } -li.customizationUploadLine { - text-align: right; - margin-right: 40px; - clear: left; - padding: 4px; - display: block -} -div.customizationUploadBrowse { float: left } -div.customizationUploadBrowseDescription { padding: 6px } -img.customizationUploaded { - margin: 2px; - border: 1px solid #888888 -} -ul.customizationUploaded { - list-style-type: none; - margin-left: 4px -} -ul.customizationUploaded li { display: inline } -ul.customizationUploaded a { text-decoration: none } -div.customizationUploaded { clear: left } -div.deletePictureUploaded { float: right } -div.deleteCustomizableProduct { float: right } -ul.typedText { - padding-left: 6px; - list-style-type: none -} -/* mywishlist */ -#mywishlist div#block-order-detail form.wl_send fieldset p input { margin-left: 60px } -#mywishlist div#block-order-detail { - margin-top: 10px; - display: block -} -#mywishlist form.std fieldset label { width: 30px } -#mywishlist form.std fieldset input#submitWishlist { display: inline } -#mywishlist table.std thead th.mywishlist_first { - text-align: center; - width: 40px -} -#mywishlist table.std thead th.mywishlist_second { - text-align: center; - width: 80px -} -#mywishlist table.std thead th.first_item, -#mywishlist table.std tbody tr td { width: 200px } -#mywishlist div#block-order-detail ul li span.wishlist_product_detail select { margin: 0 } -#mywishlist div#block-order-detail { margin-top: 10px } -#mywishlist #hideBoughtProducts, -#mywishlist #showBoughtProducts { - float: left; - margin: -18px 0 0 5px -} -#mywishlist #showBoughtProducts, -#mywishlist #hideBoughtProductsInfos, -#mywishlist #hideSendWishlist { display: none } -#mywishlist #showBoughtProductsInfos, -#mywishlist #hideBoughtProductsInfos { margin-left: 5px } -#mywishlist #showSendWishlist, -#mywishlist #hideSendWishlist, -#mywishlist div#block-order-detail ul li a.exclusive { - float: right; - margin: -18px 0 0 0 -} -#mywishlist div#block-order-detail table.wlp_bought_infos thead tr th { text-align: center } -#mywishlist div#block-order-detail table.wlp_bought_infos thead tr th.first_item { width: 300px } -#mywishlist div#block-order-detail table.wlp_bought_infos { margin: 0 0 0 10px } -#mywishlist div#block-order-detail ul li img { float: left } - -/* View wishlish */ -#view_wishlist #featured-products_block_center ul div li a img { float: left } -#view_wishlist #featured-products_block_center ul div li a, - #view_wishlist #featured-products_block_center ul div li span { - text-decoration: none; - float: left -} -#view_wishlist #featured-products_block_center ul div li span.wishlist_product_detail, - div#mywishlist div#block-order-detail ul li span.wishlist_product_detail { - margin-left: 30px; - float: left -} -div#mywishlist div#block-order-detail ul li span.wishlist_product_detail { margin-bottom: 5px } -#view_wishlist #featured-products_block_center ul div li a.exclusive, - #view_wishlist #featured-products_block_center ul div li span.exclusive { - margin-left: 55px -} -#view_wishlist #featured-products_block_center ul div li.address_name input.text { - color: #999; - font-weight: bold; - font-size: 11px; - border: 0 -} - -/* module reversoform*/ -.account_creation #reverso-form { width: 100% } -.account_creation #reverso-form label { - width: 250px; - text-align: left; - margin-left: 10px -} -.account_creation #reverso-form label#legend_reverso { - clear: both; - width: 100%; - font-size: 10px; - text-align: left -} -.account_creation #reverso-form input#reverso_form { margin-top: 20px } - -/* module productcomments */ -.rating { - cursor: pointer; - margin: 2em; - clear: both; - display: block -} -.rating:after { - content: '.'; - display: block; - height: 0; - width: 0; - clear: both; - visibility: hidden -} -.cancel, .star { - float: left; - width: 17px; - height: 15px; - overflow: hidden; - text-indent: -999em; - cursor: pointer -} -.cancel, .cancel a { background: url(../../../modules/productcomments/img/delete.gif) no-repeat 0 -16px } -.star, .star a { background: url(../../../modules/productcomments/img/star.gif) no-repeat 0 0 } -.cancel a, .star a { - display: block; - width: 100%; - height: 100%; - background-position: 0 0 -} -div.star_on a { background-position: 0 -16px } -div.star_hover a, div.star a:hover { background-position: 0 -32px } -.pack_content { margin: 10px 0 10px 0 } -.pack_price { - float: right; - margin-right: 3px; - font-size: 12px -} -.confirmation { - color: #808000; - font-weight: bold -} -#page .rte { background: transparent none repeat scroll 0 0 } - -/* module paypalapi */ -.paypalapi_about { text-align: justify } -.paypalapi_about ul { padding-left: 20px } - -/* cms pages */ -#cms div.content_only { - text-align: left; - padding: 10px -} -.live_edit_feed_back_ok { - color: #374853; - background-color: #DFFAD3; - padding: 4px; - border: 2px solid #72CB67 -} -.live_edit_feed_back_ko { - color: #374853; - background-color: #FAE2E3; - padding: 4px; - border: 2px solid #EC9B9B -} -.add_module_live_edit { - background-color: #F1F2F4; - padding: 4px; - border: 2px solid #D0D3D8; -} diff --git a/themes/prestashop/css/history.css b/themes/prestashop/css/history.css deleted file mode 100755 index 4e639ceb0..000000000 --- a/themes/prestashop/css/history.css +++ /dev/null @@ -1,45 +0,0 @@ -/* history.tpl*/ -#block-history { color: #374853 } -.color-myaccount { color: #dd2a81 } -#block-history table#order-list { border: none } -#block-history table#order-list thead th { background-image: url('../img/block_myaccount_header_large.gif') } -#block-history table#order-list thead th { color: white } -#block-history table#order-list tbody { background: #D0D1D5 url('../img/form_bg.jpg') repeat-x top left } -#block-history table#order-list tbody tr td { background-color: white } -#block-history table#order-list td.history_link { - white-space: nowrap; - text-align: right -} -#block-history #block-order-detail { - border-top: 2px #dd2a81 solid; - border-bottom: 2px #dd2a81 solid; - padding: 0.5em; - background: #D0D1D5 url('../img/form_bg.jpg') repeat-x top left -} -#block-history #block-order-detail p { - padding-left: 0; - padding-right: 0 -} -#order-detail-content { - clear: both; - margin-top: 1.5em -} -#order-detail-content tbody tr { height: 3em } -#order-detail-content tfoot td { border: none } -#order-detail-content table td input.order_qte_input { display: none } -#order-detail-content table td.order_cb input { border: none } -#order-detail-content table td span.order_qte_span { - width: 100%; - display: block -} -#block-history #block-order-detail h4 { font-size: 1.4em } -#block-history #block-order-detail #sendOrderMessage p { padding: 0 4px 0 1px } -#block-history #block-order-detail textarea { - margin: 0 auto; - width: 100% -} -#ordermsg textarea { - margin: 0; - padding: 0; - width: 528px; -} \ No newline at end of file diff --git a/themes/prestashop/css/identity.css b/themes/prestashop/css/identity.css deleted file mode 100755 index 3f53e91d1..000000000 --- a/themes/prestashop/css/identity.css +++ /dev/null @@ -1,5 +0,0 @@ -/* identity.tpl */ -p#security_informations { - font-size: 0.85em; - margin: 0 3em -} \ No newline at end of file diff --git a/themes/prestashop/css/maintenance.css b/themes/prestashop/css/maintenance.css deleted file mode 100644 index cf98b9577..000000000 --- a/themes/prestashop/css/maintenance.css +++ /dev/null @@ -1,39 +0,0 @@ -*, body{margin:0;padding:0} -body -{ - font-family:90%/1em 'Lucida Grande', Verdana, sans-serif; -} - -#maintenance -{ - width:450px; - margin:35px auto 0 auto; - padding:12px 0; - background:#fff; - text-align:center; - text-transform:none; - font-weight:normal; - letter-spacing:0; - color: #C73178; -} - -#message -{ - width:450px; - margin-top:35px; - padding:12px 15px; - border-top:1px dotted #666; - border-bottom:1px dotted #666; - background:#F9E3EE; - text-align:justify; - font:90%/1em 'Lucida Grande', Verdana, sans-serif; - text-transform:none; - font-weight:normal; - letter-spacing:0; - color:#C73178; -} - -#message img -{ - padding:30px; -} diff --git a/themes/prestashop/css/modules/blockadvertising/blockadvertising.css b/themes/prestashop/css/modules/blockadvertising/blockadvertising.css deleted file mode 100755 index 211305c85..000000000 --- a/themes/prestashop/css/modules/blockadvertising/blockadvertising.css +++ /dev/null @@ -1,2 +0,0 @@ -/* Block advertising */ -.advertising_block { width: 191px; margin-bottom: 1em; text-align: center } \ No newline at end of file diff --git a/themes/prestashop/css/modules/blockbestsellers/blockbestsellers.css b/themes/prestashop/css/modules/blockbestsellers/blockbestsellers.css deleted file mode 100755 index deb473ad2..000000000 --- a/themes/prestashop/css/modules/blockbestsellers/blockbestsellers.css +++ /dev/null @@ -1,5 +0,0 @@ -/* Block best sellers */ -#best-sellers_block_right p { - margin: 0; - padding-top:3px -} \ No newline at end of file diff --git a/themes/prestashop/css/modules/blockcart/blockcart.css b/themes/prestashop/css/modules/blockcart/blockcart.css deleted file mode 100755 index 4340df9a4..000000000 --- a/themes/prestashop/css/modules/blockcart/blockcart.css +++ /dev/null @@ -1,113 +0,0 @@ -/* Special style for block cart*/ -#cart_block .block_content { padding: 6px 6px 2px } -#cart_block h4 { background-image: url('../../../img/block_header_exclusive_cart.png') } -#cart_block h4 span { - text-transform: none; - font-size: 0.8em; - cursor: pointer; - background-repeat: no-repeat; - background-position: left top; - padding-left: 10px -} -#cart_block h4 span#block_cart_collapse { background-image: url('../../../img/icon/sort_asc_white.png') } -#cart_block h4 span#block_cart_expand { background-image: url('../../../img/icon/sort_desc_white.png') } -#cart_block #cart_block_no_products { margin: 0.5em 0 } -#cart_block dl dt a, - #cart_block dl dt span.quantity-formated { float: left } -#cart_block dl { font-size: 0.9em } -#cart_block dt { padding-top: 0.4em } -#cart_block dl span.quantity-formated { padding-right: 1px } -#cart_block dt, #cart_block dd { - clear: both; - margin-top: 0.2em -} -#cart_block dt { - width: 175px; - text-align: right -} -#cart_block dd { width: 155px } -#cart_block dd { - margin-left: 1em; - margin-right: 1em; - font-style: italic -} -#cart_block dl dt a { font-weight: bold } -#cart_block a.ajax_cart_block_remove_link { - width: 11px; - height: 13px; - margin-left: 6px; - float: right; - font-size: 0; - display: block; - background: transparent url('../../../img/icon/delete.gif') no-repeat left bottom -} -#cart_block a.ajax_cart_block_remove_link:hover { text-decoration: none } -#cart_block p { clear: both } -#cart_block p span { - clear: right; - float: left; - text-align: right -} -#cart_block li { clear: both } -#cart_block span.price { - color: white; - float: right -} -#cart_block dl span.price { - font-weight: normal; - color: white; - float: none -} - -#cart_block_wrapping_cost, #cart_block_shipping_cost, #cart_block_tax_cost, #cart_block_total { padding-right: 1.3em } - -#cart_block table#vouchers { - margin-top: 0.5em; - border-top: 1px solid white; - height: 3em; - padding-top: 0.4em; - margin-bottom: 0.5em; - clear: both -} - #cart_block p#cart-prices { - clear: both; - margin-top: 8px; - margin-bottom: 2em; - display: block; - padding-top: 0.4em; - border-top: 1px solid white -} -#cart_block table#vouchers td { - padding: 0; - border: 0; - height: 1.5em -} -#cart_block table#vouchers td.price { - color: white; - font-size: 1em; - font-weight: normal; - width: 37%; - text-align: right -} -#cart_block table#vouchers td.delete { - width: 9%; - text-align: right -} -#cart_block table#vouchers td.delete img { margin: 0 } -#cart_block p#cart-buttons { - height: 1.6em; - margin: 0 -0.3em -} -#cart_block p#cart-buttons a { float: left } -#cart_block p#cart-buttons a#button_order_cart { float: right } -#cart_block .cart_block_customizations { - margin-left: 6px; - list-style-type: square -} -#cart_block #cart-price-precisions { - margin-top: 0.5em; - padding-top: 0.4em; - border-top: 1px solid white; - font-size: 0.9em; - height: 2em -} \ No newline at end of file diff --git a/themes/prestashop/css/modules/blockcategories/blockcategories.css b/themes/prestashop/css/modules/blockcategories/blockcategories.css deleted file mode 100755 index bf9e347cd..000000000 --- a/themes/prestashop/css/modules/blockcategories/blockcategories.css +++ /dev/null @@ -1,47 +0,0 @@ -/* Block categories */ -#categories_block_left .tree { padding-left: 0.5em } -#categories_block_left .tree li { - border: none; - padding-top: 5px; - padding-left: 15px; - background: none; - margin-left: 0; - font-weight: bold; - font-size: 13px; - line-height: 13px -} -#categories_block_left .tree li.last { padding-bottom: 0 } -#categories_block_left .tree ul { padding: 2px 0 0 } -#categories_block_left .tree li li { - padding: 1px 0 1px 15px; - background: none; - font-size: 11px; - font-weight: normal -} -#categories_block_left .tree li li.last { padding-bottom: 0 } -#categories_block_left .tree li li li { - padding-left: 15px; - font-size: 9px -} -#categories_block_left .tree a { - padding-left: 0; - color: #374853 -} -#categories_block_left .tree a:hover { text-decoration: none } -#categories_block_left ul.tree a.selected { - color: #488c40; - font-weight: bold -} -#categories_block_left span.grower { - display: block; - float: left; - background-position: 0 3px; - background-repeat: no-repeat; - width: 9px; - height: 15px; - margin: 0 0 0 -12px!important; - margin: 0 0 0 -8px; - padding: 0 -} -#categories_block_left span.OPEN { background-image: url('../../../img/icon/less.gif') } -#categories_block_left span.CLOSE { background-image: url('../../../img/icon/more.gif') } \ No newline at end of file diff --git a/themes/prestashop/css/modules/blockcms/blockcms.css b/themes/prestashop/css/modules/blockcms/blockcms.css deleted file mode 100755 index 26d90fb8d..000000000 --- a/themes/prestashop/css/modules/blockcms/blockcms.css +++ /dev/null @@ -1,14 +0,0 @@ -#footer .block_various_links { list-style: none } -#footer .block_various_links li a { text-decoration: none } -#footer .block_various_links li { - display: inline; - border-left: 1px solid #888; - padding: 0 2px 0 4px -} -#footer .block_various_links li.first_item { - border: none; - padding-left: 0 -} - -/* Block CMS links */ -.informations_block_left .block_content { padding-top: 3px } diff --git a/themes/prestashop/css/modules/blockcurrencies/blockcurrencies.css b/themes/prestashop/css/modules/blockcurrencies/blockcurrencies.css deleted file mode 100755 index 7443e9b8f..000000000 --- a/themes/prestashop/css/modules/blockcurrencies/blockcurrencies.css +++ /dev/null @@ -1,38 +0,0 @@ -/* block top currencies */ -#currencies_block_top { - margin: 0.4em 0.5em 0 0; - float: left; - width: 8em; - text-align: left -} -#currencies_block_top li { - float: left; - margin-right: 0.2em; - margin-bottom: 2px -} -#currencies_block_top a { - display: block; - font-size: 0.8em; - background-color: #f1f2f4; - border: #595a5e 1px solid; - text-decoration: none; - min-width: 1em; - padding: 0 2px 0 3px; - line-height: 1.5em; - text-align: center; - vertical-align: middle -} -#currencies_block_top a:hover { - background-color: white; - color: black -} -#currencies_block_top .selected a { - border: none; - background-color: transparent; - font-size: 11px; - line-height: 1.2em; - font-weight: bold; - color: black; - border: 1px solid white -} -#currencies_block_top p { clear: left } diff --git a/themes/prestashop/css/modules/blocklanguages/blocklanguages.css b/themes/prestashop/css/modules/blocklanguages/blocklanguages.css deleted file mode 100755 index fe9f81abd..000000000 --- a/themes/prestashop/css/modules/blocklanguages/blocklanguages.css +++ /dev/null @@ -1,17 +0,0 @@ -/* block top languages */ -#header_right #languages_block_top { - margin: 0.4em 0.1em 0 0; - float: left -} -#header_right #languages_block_top p { clear: left } -#languages_block_top { - width: 80px -} -#languages_block_top ul#first-languages li { - float: left; - margin-right: 3px -} -#languages_block_top ul#first-languages li.selected_language { - float: left; - margin-right: 0.3em -} \ No newline at end of file diff --git a/themes/prestashop/css/modules/blockmanufacturer/blockmanufacturer.css b/themes/prestashop/css/modules/blockmanufacturer/blockmanufacturer.css deleted file mode 100755 index 6661819dc..000000000 --- a/themes/prestashop/css/modules/blockmanufacturer/blockmanufacturer.css +++ /dev/null @@ -1,6 +0,0 @@ -/* Block manufacturer */ -.blockmanufacturer ul { padding: 4px 0 6px } -.blockmanufacturer select { - width: 100%; - margin: 0 -} \ No newline at end of file diff --git a/themes/prestashop/css/modules/blockmyaccount/blockmyaccount.css b/themes/prestashop/css/modules/blockmyaccount/blockmyaccount.css deleted file mode 100755 index 209e785a6..000000000 --- a/themes/prestashop/css/modules/blockmyaccount/blockmyaccount.css +++ /dev/null @@ -1,14 +0,0 @@ -/* block myaccount */ -#left_column div.myaccount, #right_column div.myaccount { background: #f6dce8 url('../../../img/block_footer_myaccount.jpg') no-repeat bottom left } -div.myaccount h4 { background: #971d58 url('../../../img/block_header_myaccount.jpg') no-repeat top left } -div.myaccount h4 a, div.myaccount h4 { color: white } -div.myaccount, div.myaccount a { color: #5d0630 } -div.myaccount ul.bullet { margin-top: 0.6em } -div.myaccount ul.bullet li { background-image: url('../../../img/bullet_myaccount.gif') } -div.myaccount ul.bullet .icon { display: none } -div.myaccount p.logout { padding: 0.3em 0 0.3em 2em } -div.myaccount p.logout, div.myaccount p.logout a { color: #dd2a81 } -div.myaccount p.logout a { text-decoration: underline } -div.myaccount p.logout a:hover { text-decoration: none } -div.myaccount .block_content { background: #f6dce8 url('../../../img/block_bg_myaccount.jpg') repeat-x bottom left; border-left: 1px solid #f6dce8; border-right: 1px solid #f6dce8; } -.account_input { margin-left: 0; width: 15em; } \ No newline at end of file diff --git a/themes/prestashop/css/modules/blocknewproducts/blocknewproducts.css b/themes/prestashop/css/modules/blocknewproducts/blocknewproducts.css deleted file mode 100755 index a9edbcef7..000000000 --- a/themes/prestashop/css/modules/blocknewproducts/blocknewproducts.css +++ /dev/null @@ -1,8 +0,0 @@ -/* Block new products */ -#new-products_block_right ul { padding: 5px 0 } -#new-products_block_right li { - margin-top: 0; - padding:0 -} -#new-products_block_right .product_images li.first { margin-right: 11px } -#new-products_block_right dt a { font-size: 0.8em; font-weight: bold } diff --git a/themes/prestashop/css/modules/blocknewsletter/blocknewsletter.css b/themes/prestashop/css/modules/blocknewsletter/blocknewsletter.css deleted file mode 100755 index e6bfe2f93..000000000 --- a/themes/prestashop/css/modules/blocknewsletter/blocknewsletter.css +++ /dev/null @@ -1,4 +0,0 @@ -/* Block newsletter */ -div#newsletter_block_left div.block_content { padding: 1em 0; text-align: center } -div#newsletter_block_left div.block_content p { padding: 0.3em 0; text-align: center } -div#newsletter_block_left div.block_content input.button_mini { margin: 1em auto 0em auto } \ No newline at end of file diff --git a/themes/prestashop/css/modules/blockpaymentlogo/blockpaymentlogo.css b/themes/prestashop/css/modules/blockpaymentlogo/blockpaymentlogo.css deleted file mode 100755 index 5d4c86085..000000000 --- a/themes/prestashop/css/modules/blockpaymentlogo/blockpaymentlogo.css +++ /dev/null @@ -1,4 +0,0 @@ -/* Block logo payment */ -.paiement_logo_block { width: 191px; text-align: center; margin-bottom: 1.5em } -.paiement_logo_block a { text-decoration: none } -.paiement_logo_block img { margin: 0 0.5em } \ No newline at end of file diff --git a/themes/prestashop/css/modules/blockpermanentlinks/blockpermanentlinks.css b/themes/prestashop/css/modules/blockpermanentlinks/blockpermanentlinks.css deleted file mode 100755 index 21d2af419..000000000 --- a/themes/prestashop/css/modules/blockpermanentlinks/blockpermanentlinks.css +++ /dev/null @@ -1,24 +0,0 @@ -/* block top links */ -ul#header_links { - margin: 0.4em 0.3em 0 0; - list-style-type: none; - float: left -} -#header_links li { - float: left; - width: 66px -} -#header_links a { - display: block; - height: 15px; - color: #595a5e; - padding-top: 19px; - text-align: center; - text-decoration: none; - background-repeat: no-repeat; - background-position: top center; - background-color: transparent -} -#header_links #header_link_sitemap a { background-image: url('../../../img/icon/sitemap.gif') } -#header_links #header_link_contact a { background-image: url('../../../img/icon/contact.gif') } -#header_links #header_link_bookmark a { background-image: url('../../../img/icon/star.gif') } \ No newline at end of file diff --git a/themes/prestashop/css/modules/blockrss/blockrss.css b/themes/prestashop/css/modules/blockrss/blockrss.css deleted file mode 100755 index 78ee7d2ca..000000000 --- a/themes/prestashop/css/modules/blockrss/blockrss.css +++ /dev/null @@ -1,2 +0,0 @@ -/* Block RSS */ -#rss_block_left p { margin: 0.5em 0; text-align: center } \ No newline at end of file diff --git a/themes/prestashop/css/modules/blocksearch/blocksearch.css b/themes/prestashop/css/modules/blocksearch/blocksearch.css deleted file mode 100755 index a02ad7a89..000000000 --- a/themes/prestashop/css/modules/blocksearch/blocksearch.css +++ /dev/null @@ -1,24 +0,0 @@ -/* block top search */ -#header_right #search_block_top { - float: right; - background: #e5e6e7 url('../../../img/block_search_bg.jpg') no-repeat top right; - margin-bottom: 11px; - width: 336px; - height: 28px -} -#header_right #search_block_top p { padding: 0.4em 0 0.4em 1em } -#header_right #search_block_top label, #header_right #search_block_top input { float: left } -#header_right #search_block_top label { - background: transparent url('../../../img/icon/search.gif') no-repeat 0 2px; - float: left; - width: 19px; - height: 18px; - display: block -} -#header_right #search_block_top input.search_query { width: 12em } - - -/* block left column "Quick search" */ -#search_block_left input { margin: 2px 0 0 0 } -#search_block_left .search_query { width: 11em } -#search_button { display: inline } diff --git a/themes/prestashop/css/modules/blockspecials/blockspecials.css b/themes/prestashop/css/modules/blockspecials/blockspecials.css deleted file mode 100755 index 0600de59f..000000000 --- a/themes/prestashop/css/modules/blockspecials/blockspecials.css +++ /dev/null @@ -1,16 +0,0 @@ -/* Block specials */ -.blockspecials ul { padding-top: 5px } -.blockspecials ul li { - float: left; - clear: none; - padding: 0; - width: 48% -} -.blockspecials p.product_image { margin-right: 0.3em } -.blockspecials p { - padding: 0.3em 0 0 0; - margin: 0; - text-align: center; - clear: both -} -.blockspecials p a { margin: 0 auto } \ No newline at end of file diff --git a/themes/prestashop/css/modules/blockstore/blockstore.css b/themes/prestashop/css/modules/blockstore/blockstore.css deleted file mode 100644 index cc8a81ad5..000000000 --- a/themes/prestashop/css/modules/blockstore/blockstore.css +++ /dev/null @@ -1,3 +0,0 @@ -/* Block store */ -.blockstore img { margin: 10px 0 0 0; } -.blockstore p { text-align: center; font-weight: 10px; } \ No newline at end of file diff --git a/themes/prestashop/css/modules/blocksupplier/blocksupplier.css b/themes/prestashop/css/modules/blocksupplier/blocksupplier.css deleted file mode 100755 index edf181f86..000000000 --- a/themes/prestashop/css/modules/blocksupplier/blocksupplier.css +++ /dev/null @@ -1,7 +0,0 @@ -/* Block supplier */ -.blocksupplier ul { padding: 4px 0 6px } -.blocksupplier select { - width: 100%; - margin: 0 -} - diff --git a/themes/prestashop/css/modules/blocktags/blocktags.css b/themes/prestashop/css/modules/blocktags/blocktags.css deleted file mode 100755 index 6c3466466..000000000 --- a/themes/prestashop/css/modules/blocktags/blocktags.css +++ /dev/null @@ -1,18 +0,0 @@ -/* Block tags */ -div.tags_block .block_content { padding: 3px 6px 0 } -div.tags_block p { - text-align: justify; - font-size: 0.9em -} -div.tags_block p a { - margin: 0 0.1em; - line-height: 1.5em -} -div.tags_block p a:hover { - color: white!important; - background-color: #5D717E; - text-decoration: none -} -a.tag_level3 { font-size: 1.8em; font-weight: bold } -a.tag_level2 { font-size: 1.4em } -a.tag_level1 { font-size: 1em; color: #888!important } diff --git a/themes/prestashop/css/modules/blockuserinfo/blockuserinfo.css b/themes/prestashop/css/modules/blockuserinfo/blockuserinfo.css deleted file mode 100755 index 084e99b30..000000000 --- a/themes/prestashop/css/modules/blockuserinfo/blockuserinfo.css +++ /dev/null @@ -1,27 +0,0 @@ -/* block top user information */ -#header_right #header_user { - float: right; - width: 535px; - text-align: right; - margin-right: 6px -} -#header_user p { color: #595a5e } -#header_user span { font-weight: bold } -#header_user ul { margin-top: 0.3em } -#header_user li { - float: right; - line-height: 2em; - margin-left: 0.5em; - white-space: nowrap -} -#header_user #shopping_cart, #header_user #your_account { font-size: 0.9em } -#header_user li#your_account { margin-left: 0 } -#header_user #shopping_cart a, #header_user #your_account a { - background-repeat: no-repeat; - background-position: top left; - padding: 2px 0 4px 26px; - height: 20px; - text-decoration: none -} -#header_user #shopping_cart a { background-image: url('../../../img/icon/cart.gif') } -#header_user #your_account a { background-image: url('../../../img/icon/my-account.gif') } \ No newline at end of file diff --git a/themes/prestashop/css/modules/blockviewed/blockviewed.css b/themes/prestashop/css/modules/blockviewed/blockviewed.css deleted file mode 100755 index 6674ab5dc..000000000 --- a/themes/prestashop/css/modules/blockviewed/blockviewed.css +++ /dev/null @@ -1,6 +0,0 @@ -/* Block Viewed Products */ -div#viewed-products_block_left div.block_content ul.products li { - margin-top: 0; - padding: 4px 0 0 -} -div#viewed-products_block_left div.block_content ul.products li img { margin-right: 7px } \ No newline at end of file diff --git a/themes/prestashop/css/modules/blockwishlist/blockwishlist.css b/themes/prestashop/css/modules/blockwishlist/blockwishlist.css deleted file mode 100755 index db2a2de78..000000000 --- a/themes/prestashop/css/modules/blockwishlist/blockwishlist.css +++ /dev/null @@ -1,16 +0,0 @@ -/* module blockwishlist */ -#wishlist_block #wishlist_block_list dl.products { - font-size: 10px; - border-bottom: 1px solid #fff; - margin: 0 0 5px 0; - padding: 3px 0 5px -} -#wishlist_block div.block_content #wishlist_block_list dl.products dt a.cart_block_product_name { font-weight: bold } -#wishlist_block div.block_content #wishlist_block_list dl.products dt { margin: 2px 0 } -#wishlist_block div.block_content #wishlist_block_list dl.products dt a.ajax_cart_block_remove_link { float: right } -#wishlist_block div.block_content #wishlist_block_list dl.products dd { - font-style: italic; - margin: 0 0 0 10px -} -#wishlist_block div.block_content p select#wishlists { width: 140px } -#wishlist_block div.block_content p a.exclusive { margin: 5px auto 0 auto } \ No newline at end of file diff --git a/themes/prestashop/css/modules/crossselling/crossselling.css b/themes/prestashop/css/modules/crossselling/crossselling.css deleted file mode 100644 index c03a9a2e2..000000000 --- a/themes/prestashop/css/modules/crossselling/crossselling.css +++ /dev/null @@ -1,43 +0,0 @@ -div#crossselling { - padding-top: 10px; - clear: both; -} -#crossselling { - margin: 0 auto 0; - height: 170px; - width: 100% -} -#crossselling_noscroll { - margin: 0 auto 0; - height: 120px; - width: 100% -} -#crossselling_list { - overflow: hidden; - float: left; - width: 96% -} -#crossselling_list ul { - padding-left: 0; - list-style-type: none -} -#crossselling_list li { - float: left; - margin: 0 3px; - cursor: pointer; - text-align: center; - width: 100px; - overflow: hidden -} -#crossselling_list li a { margin: auto } -#crossselling_scroll_left, - #crossselling_scroll_right { - background: url('../../../img/thumbs_left.gif') no-repeat center; - text-indent: -3000px; - display: block; - width: 9px; - height: 18px; - float: left; - margin-top: 30px -} -#crossselling_scroll_right { background-image: url('../../../img/thumbs_right.gif') } \ No newline at end of file diff --git a/themes/prestashop/css/modules/editorial/editorial.css b/themes/prestashop/css/modules/editorial/editorial.css deleted file mode 100755 index 602c6a012..000000000 --- a/themes/prestashop/css/modules/editorial/editorial.css +++ /dev/null @@ -1,30 +0,0 @@ -/* Block editorial */ -.editorial_block { margin-bottom: 2em } -.editorial_block .rte { background: transparent none repeat scroll 0 0 } -.editorial_block h1 { - background: none; - padding: 0; - margin-bottom: 1em -} -.editorial_block h2 { - font-size: 1.1em; - margin: 1em 0; - text-transform: none; - line-height: 1.2em; - padding: 0; - padding-bottom: 10px; - background: none; - color: #5D717E -} -.editorial_block p { padding-top: 0.4em } -#editorial_block_center p { padding-left: 0 } - -#editorial_image_legend { - color: #AAAAAA; - font-size: 6pt; - font-style: italic; - margin: 0; - padding-left: 0; - text-align: center; -} - diff --git a/themes/prestashop/css/my-account.css b/themes/prestashop/css/my-account.css deleted file mode 100755 index 2aa301f7a..000000000 --- a/themes/prestashop/css/my-account.css +++ /dev/null @@ -1,6 +0,0 @@ -/* my-account.tpl */ -#my-account #center_column ul { margin: 2em 0 } -#my-account #center_column li { - list-style: none; - margin: 2em 1.5em -} \ No newline at end of file diff --git a/themes/prestashop/css/order-opc.css b/themes/prestashop/css/order-opc.css deleted file mode 100755 index b44fa1dea..000000000 --- a/themes/prestashop/css/order-opc.css +++ /dev/null @@ -1,66 +0,0 @@ -#order-opc .opc_status { - border: 1px solid #d0d3d8; - background: #D0D1D5 url('../img/form_bg.jpg') repeat-x top left; - font-size: 12px; -} - -.opc_float { - float:left; - width: 49%; -} - -.opc_float_status { - float: left; - width: 45%; - padding: 10px; -} - -#order-opc #login_form { - width: 100%; - clear: none; -} - -#order-opc #login_form p.text { - height: 3.4em; - margin-left: 4em; - padding-left: 0; - padding-right: 0; -} - -#order-opc #login_form a { color: #374853 } -#order-opc input#SubmitLogin { margin: 0 } -#order-opc #login_form p.submit { - margin-right: 0; - text-align: left; - padding-left: 17%!important; -} -#order-opc p.lost_password { padding-left: 4em } -#order-opc p.submit span { padding-right: 0.5em } -#order-opc #login_form label { - float: none; - clear: both; - display: block; - text-align: left; - width: 100%; - margin-bottom: 0.3em; -} - -#order-opc textarea#message { width: 42em } - -#order-opc sup { color: red; } - -#order-opc div.opc-overlay { - position: absolute; - width: 100%; - height: 100%; - top: 0; - left: 0; - background: url('../img/ajax-loader.gif') #666 no-repeat center center; - opacity: 0.7; - filter : alpha(opacity=70); /* IE < 8 */ - -moz-opacity : 0.7; - -ms-filter: "alpha(opacity=70)"; /* IE 8 */ - z-index: 99; -} - -#order-opc div.opc-main-block { position: relative } diff --git a/themes/prestashop/css/product.css b/themes/prestashop/css/product.css deleted file mode 100755 index 42a430f74..000000000 --- a/themes/prestashop/css/product.css +++ /dev/null @@ -1,159 +0,0 @@ - -/* product.tpl */ -#primary_block #pb-right-column { - width: 310px; - float: left -} -#primary_block #image-block { - border: #d0d1d5 solid 1px; - height: 300px; - width: 300px -} -#primary_block #image-block img#bigpic { - cursor: pointer; - height: 300px; - width: 300px -} -#primary_block ul#usefull_link_block { - list-style-type: none; - margin-top: 1em -} -#primary_block ul#usefull_link_block li { margin: 0.5em 1em 0.5em 0; display: block } -#primary_block ul#usefull_link_block li a, -#primary_block ul#usefull_link_block span.span_link, -#primary_block ul#usefull_link_block span.span_link:hover { - text-decoration: none; - color: #76839b; - font-size: 0.9em; - background: white url('../img/bullet_alt.jpg') no-repeat top left; - padding-left: 15px; - height: 15px -} -#primary_block #pb-left-column { - float: left; - margin-left: 1.1em; - width: 233px -} -#primary_block #short_description_block { - background: #e5e6e7 url('../img/product-short-desc-bg.gif') repeat-x top left; - border: 1px #d0d3d8 solid; - padding: 0.7em; - margin-bottom: 1.5em -} -#primary_block #color_picker p { - margin-bottom: 0.4em; - padding: 0 -} -#primary_block #color_picker { - padding: 0.6em 0.7em 0.4em 0.7em; - background: #e5e6e7 url('../img/product-short-desc-bg.gif') repeat-x top left; - border: 1px #d0d3d8 solid; - margin-bottom: 1.5em -} -#primary_block #color_to_pick_list li { - display: inline; - float: left; - margin: 0 0.4em 0.4em 0 -} -#primary_block a.color_pick { - display: block; - width: 20px; - height: 20px; - border: 1px solid #666; - cursor: pointer -} -#primary_block a.color_pick:hover { border: 1px solid #000 } -#primary_block a#color_all { cursor: pointer } -#primary_block #image-block img#bigpic.jqzoom { - cursor: crosshair; - position: relative -} -#primary_block p.buttons_bottom_block { margin: 0 } -#primary_block p.buttons_bottom_block a, - #primary_block p.buttons_bottom_block input { margin: 0.9em auto 0 auto } -#primary_block #short_description_content { margin-bottom: 0.5em } -#primary_block #buy_block { - background: #f1f2f4 url('../img/product-buy-bg.gif') repeat-x top left; - font-size: 1.1em; - padding: 0.7em; - color: #374853; - border: 1px #d0d3d8 solid; - margin-bottom: 1.5em -} -#primary_block #buy_block p { - padding: 0; - margin-top: 0; - clear: both -} -#primary_block #buy_block img.on_sale_img { float: left } -#primary_block #buy_block span.on_sale { - color: #da0f00; - text-transform: uppercase; - font-weight: bold; - float: right -} -#primary_block #buy_block span.discount { - color: #da0f00; - text-transform: uppercase; - font-weight: bold; - float: right -} -#primary_block #buy_block span.our_price_display { float: right } -#primary_block #buy_block span#availability_label { - float: left; - margin-right: 1em -} -#primary_block #buy_block label { text-align: right } -#primary_block #buy_block label,#primary_block #buy_block select { - display: block; - width: 47%; - float: left -} -#primary_block div#attributes p, #quantity_wanted_p { - clear: left; - height: 2em -} -#primary_block div#attributes p, #minimal_quantity_wanted_p { - clear: left; - text-align: center -} - -/* prices */ -#primary_block #buy_block p.price { - font-size: 1.05em; - text-align: right -} -#primary_block #buy_block span#pretaxe_price { - font-size: 0.75em; - text-align: right -} -#primary_block #buy_block p#old_price { - font-size: 0.8em; - text-align: right; - text-decoration: line-through -} -#primary_block #buy_block p#reduction_percent { - color: #da0f00; - font-size: 0.75em; - text-align: right -} -#primary_block #buy_block p.price-ecotax { - font-size: 0.75em; - text-align: right -} -#admin-action { - color: #374853; - background-color: #DFFAD3; - margin-bottom:10px; - padding: 4px; - border: 1px solid #72CB67 -} -#admin-action input.exclusive -{ - float: right -} - -.product_accessories_price -{ - margin-top: 5px -} diff --git a/themes/prestashop/css/product_list.css b/themes/prestashop/css/product_list.css deleted file mode 100755 index 87f4c855b..000000000 --- a/themes/prestashop/css/product_list.css +++ /dev/null @@ -1,73 +0,0 @@ -/* product-list.tpl */ -ul#product_list { margin-top: 2em; list-style-type: none } -ul#product_list li { - background: #d0d3d8 url('../img/block_category_item_bg.jpg') repeat-x; - border: solid 1px #d0d3d8; - padding: 6px; - min-height: 130px; - height: auto; - clear: both; - margin-bottom: 0.3em -} -* html ul#product_list li { - height: auto !important; - height: 130px -} -ul#product_list li a { - text-decoration: none; - color: #374853 -} -ul#product_list a.product_img_link { - border: solid 1px #d0d3d8; - float: left; - margin-right: 0.6em -} -ul#product_list a.product_img_link img { vertical-align: bottom; display: block } -ul#product_list li h3 { margin: 0.4em 0 } -ul#product_list li .new { - background: transparent url(../img/flag_new_bg.jpg) repeat-x scroll 0%; - border: 1px solid #488C40; - color: white; - font-size: 0.6em; - font-weight: bold; - margin: 0 1em 0 0; - padding: 0 0.4em; - text-transform: uppercase; - vertical-align: 0.3em -} -ul#product_list li p.product_desc { - margin-bottom: 0; - font-size: 0.92em -} -ul#product_list li div.center_block { - float: left; - width: 74% -} -ul#product_list li div.right_block { - float: left; - width: 11em; - text-align: right; - margin-left: 1em; - margin-top: 0 -} -ul#product_list li .discount, ul#product_list li .on_sale, ul#product_list li .online_only { - color: #da0f00; - text-transform: uppercase; - font-weight: bold; - display: block -} -ul#product_list li .reduction { - display: block; - margin-bottom: 0.3em -} -ul#product_list li .price { - display: block; - font-size: 1.5em; - margin-bottom: 0.2em -} -ul#product_list li span.availability { - color: #488c40; - font-size: 0.9em -} -ul#product_list li a.button { margin-top: 0.5em } -ul#product_list li p.compare input { vertical-align: text-bottom } diff --git a/themes/prestashop/css/restricted-country.css b/themes/prestashop/css/restricted-country.css deleted file mode 100644 index 8c129fa33..000000000 --- a/themes/prestashop/css/restricted-country.css +++ /dev/null @@ -1,39 +0,0 @@ -*, body{margin:0;padding:0} -body -{ - font-family:90%/1em 'Lucida Grande', Verdana, sans-serif; -} - -#restricted-country -{ - width:450px; - margin:35px auto 0 auto; - padding:12px 0; - background:#fff; - text-align:center; - text-transform:none; - font-weight:normal; - letter-spacing:0; - color: #C73178; -} - -#message -{ - width:450px; - margin-top:35px; - padding:12px 15px; - border-top:1px dotted #666; - border-bottom:1px dotted #666; - background:#F9E3EE; - text-align:justify; - font:90%/1em 'Lucida Grande', Verdana, sans-serif; - text-transform:none; - font-weight:normal; - letter-spacing:0; - color:#C73178; -} - -#message img -{ - padding:5px; -} diff --git a/themes/prestashop/css/scenes.css b/themes/prestashop/css/scenes.css deleted file mode 100644 index 70ae82d10..000000000 --- a/themes/prestashop/css/scenes.css +++ /dev/null @@ -1,134 +0,0 @@ -/* Cluetip design */ - -.cluetip-product_scene { - text-align:left; - background-color:white; - padding:10px; - border:1px solid gray; - background:#F1F2F4 url(../img/block_bg.jpg) repeat-x scroll left bottom; - opacity:0.95; - } - - .cluetip-product_scene #cluetip-close{ - text-align:right; - float:right; - } - - .cluetip-product_scene h4{ - float:left; - font-size:1.6em; - margin-bottom:5px; - width:175px; - } - - .cluetip-product_scene a{ - float:left; - margin-top:2px; - } - - .cluetip-product_scene p.description{ - float:left; - width:170px; - margin-left:15px; - } - - .cluetip-product_scene div.prices{ - float:left; - width:90px; - text-align:right; - } - - .cluetip-product_scene .new { - background:transparent url(../img/flag_new_bg.jpg) repeat-x scroll 0% 50%; - border:1px solid #488C40; - clear:both; - color:white; - display:inline; - font-size:0.45em; - font-weight:bold; - margin:8px; - padding:0pt 0.4em; - text-transform:uppercase; - vertical-align:0.3em; - } - .cluetip-product_scene .on_sale, .cluetip-product_scene .discount { - color:#DA0F00; - display:block; - font-weight:bold; - text-transform:uppercase; - } - -/* END Cluetip design */ - -#scenes .screen_scene { - margin:0 auto; -} - -#scenes a.cluetip{ - display:block; - position:absolute; - text-decoration:none; -} - -/*TMP*/ -#scenes .cluetip span{ - background:transparent url(../img/icon/cible.gif) no-repeat scroll center center; - color:black; - display:block; - font-size:1.1em; - font-weight:bold; - height:23px; - padding-top:5px; - text-align:center; - width:23px; -} -/*TMP*/ -.thumbs_banner{ - margin:10px auto; - width:100%; -} - -.thumbs_banner .space-keeper{ - width:25px; - float:left; - display:block; - height:100%; -} - -.thumbs_banner .space-keeper a.prev{ - background:transparent url(../img/icon/serial_scroll_left.gif); - display:none; - width:25px; - text-align:center; - font-size:1.5em; - text-decoration:none; - background-color:#EEE; -} -#scenes_list{ - overflow:hidden; - width:504px; - float:left; - border:1px solid #EEE; -} -#scenes_list ul{ - list-style-type:none; -} - -#scenes_list li{ - float:left; -} - -#scenes_list a{ - display:block; -} - -.thumbs_banner a.next { - background:transparent url(../img/icon/serial_scroll_right.gif); - width:25px; - float:left; - display:block; - text-align:center; - font-size:1.5em; - text-decoration:none; - background-color:#DDD; -} diff --git a/themes/prestashop/css/sitemap.css b/themes/prestashop/css/sitemap.css deleted file mode 100755 index 58b30305c..000000000 --- a/themes/prestashop/css/sitemap.css +++ /dev/null @@ -1,20 +0,0 @@ -/* sitemap.tpl */ -#sitemap_content { margin-left: 5em } -div.sitemap_block { - padding: 0; - float: left; - width: 33%; - min-height: 120px; - _height: 120px; -} -div.sitemap_block ul { text-align: left } -div.sitemap_block h3, .categTree h3 { - margin-top: 1em; - margin-bottom: 1em -} -div.categTree { - float: left; - margin-top: 25px; - margin-bottom: 1em; - margin-left: 5em -} diff --git a/themes/prestashop/css/stores.css b/themes/prestashop/css/stores.css deleted file mode 100644 index f85cc3efb..000000000 --- a/themes/prestashop/css/stores.css +++ /dev/null @@ -1,65 +0,0 @@ -#stores-table { - border: 1px solid #999; - width: 100%; - border-collapse: collapse; - display: none; -} - -#stores-table tr td { - height: 95px; -} - -#stores-table tr th, #stores-table tr td { - border-right: 1px solid #999; - border-bottom: 1px solid #999; - padding: 5px; -} - -#stores-table tr td.num { - font-size: 16px; -} - -#stores-table tr td.distance, #stores-table tr td.num { - text-align: center; -} - -#stores-table tr th { - text-align: center; - height: 20px; - line-height: 20px; -} - -div.store-small { - border: 1px solid #CCC; - padding: 5px; - width: 200px; - margin-bottom: 10px; -} - -#map { - width: 556px; - height: 375px; - margin: 15px auto; -} - -#locationSelect { - width: 350px; - visibility: hidden; -} - -#stores_loader { - margin-left: 5px; - display: none; -} - -#store_hours { - font-weight: bold; - text-decoration: underline; - width: 80px; - height: 15px; - display: block; -} - -#addressInput { - width: 350px; -} diff --git a/themes/prestashop/discount.tpl b/themes/prestashop/discount.tpl deleted file mode 100644 index 75d2a8018..000000000 --- a/themes/prestashop/discount.tpl +++ /dev/null @@ -1,95 +0,0 @@ -{* -* 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 -* @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 -*} - - - -{capture name=path}{l s='My account'}{$navigationPipe}{l s='My Vouchers'}{/capture} -{include file="$tpl_dir./breadcrumb.tpl"} - -

    {l s='My Vouchers'}

    - -{if isset($discount) && count($discount) && $nbDiscounts} - - - - - - - - - - - - - - {foreach from=$discount item=discountDetail name=myLoop} - - - - - - - - - - {/foreach} - -
    {l s='Code'}{l s='Description'}{l s='Quantity'}{l s='Value'}*{l s='Minimum'}{l s='Cumulative'}{l s='Expiration date'}
    {$discountDetail.name}{$discountDetail.description}{$discountDetail.quantity_for_user} - {if $discountDetail.id_discount_type == 1} - {$discountDetail.value|escape:'htmlall':'UTF-8'}% - {elseif $discountDetail.id_discount_type == 2} - {convertPrice price=$discountDetail.value} - {else} - {l s='Free shipping'} - {/if} - - {if $discountDetail.minimal == 0} - {l s='none'} - {else} - {convertPrice price=$discountDetail.minimal} - {/if} - - {if $discountDetail.cumulable == 1} - {l s='Yes'} - {else} - {l s='No'} - {/if} - {dateFormat date=$discountDetail.date_to}
    -

    - *{l s='Tax included'} -

    -{else} -

    {l s='You do not possess any vouchers.'}

    -{/if} - - diff --git a/themes/prestashop/errors.tpl b/themes/prestashop/errors.tpl deleted file mode 100644 index d5c36a369..000000000 --- a/themes/prestashop/errors.tpl +++ /dev/null @@ -1,39 +0,0 @@ -{* -* 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 -* @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($errors) && $errors} -
    -

    {if $errors|@count > 1}{l s='There are'}{else}{l s='There is'}{/if} {$errors|@count} {if $errors|@count > 1}{l s='errors'}{else}{l s='error'}{/if} :

    -
      - {foreach from=$errors key=k item=error} -
    1. {$error}
    2. - {/foreach} -
    - {if isset($smarty.server.HTTP_REFERER) && !strstr($request_uri, 'authentication')} -

    « {l s='Back'}

    - {/if} -
    -{/if} \ No newline at end of file diff --git a/themes/prestashop/footer.tpl b/themes/prestashop/footer.tpl deleted file mode 100644 index 80edabcd9..000000000 --- a/themes/prestashop/footer.tpl +++ /dev/null @@ -1,41 +0,0 @@ -{* -* 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 -* @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 !$content_only} - - - -
    - {$HOOK_RIGHT_COLUMN} -
    - - - - - - {/if} - - diff --git a/themes/prestashop/guest-tracking.tpl b/themes/prestashop/guest-tracking.tpl deleted file mode 100644 index e3fc769d0..000000000 --- a/themes/prestashop/guest-tracking.tpl +++ /dev/null @@ -1,85 +0,0 @@ -{* -* 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 -* @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 -*} - -{capture name=path}{l s='Guest tracking'}{/capture} -{include file="$tpl_dir./breadcrumb.tpl"} - -

    {l s='Guest Tracking'}

    - -{if isset($order)} -
    -
    - {include file="$tpl_dir./order-detail.tpl"} -
    -
    - -

    {l s='For more advantages...'}

    - - {include file="$tpl_dir./errors.tpl"} - - {if isset($transformSuccess)} -

    {l s='Your guest account has been successfully transformed into a customer account. You can now log in on this'} {l s='page'}

    - {else} -
    -
    -

    {l s='Transform your guest account to a customer account and enjoy :'}

    -
      -
    • {l s='Personalized and secure access'}
    • -
    • {l s='Fast and easy check out'}
    • -
    • {l s='Easier merchandise return'}
    • -
    -

    - - -

    - - - - -

    -
    -
    - {/if} -{else} - {include file="$tpl_dir./errors.tpl"} -
    -
    -

    {l s='To track your order, please enter the following information:'}

    -

    - - - {l s='For example: 010123'} -

    - -

    - - -

    - -

    -
    -
    -{/if} diff --git a/themes/prestashop/header.tpl b/themes/prestashop/header.tpl deleted file mode 100644 index e980c6747..000000000 --- a/themes/prestashop/header.tpl +++ /dev/null @@ -1,90 +0,0 @@ -{* -* 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 -* @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 -*} - - - - - {$meta_title|escape:'htmlall':'UTF-8'} -{if isset($meta_description) AND $meta_description} - -{/if} -{if isset($meta_keywords) AND $meta_keywords} - -{/if} - - - - - - -{if isset($css_files)} - {foreach from=$css_files key=css_uri item=media} - - {/foreach} -{/if} -{if isset($js_files)} - {foreach from=$js_files item=js_uri} - - {/foreach} -{/if} - {$HOOK_HEADER} - - - - {if !$content_only} - {if isset($restricted_country_mode) && $restricted_country_mode} -
    -

    {l s='You cannot place a new order from your country.'} {$geolocation_country}

    -
    - {/if} -
    - - - - -
    - -
    - {$HOOK_LEFT_COLUMN} -
    - - -
    - {/if} diff --git a/themes/prestashop/history.tpl b/themes/prestashop/history.tpl deleted file mode 100644 index 1418c50bc..000000000 --- a/themes/prestashop/history.tpl +++ /dev/null @@ -1,92 +0,0 @@ -{* -* 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 -* @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 -*} - - - -{capture name=path}{l s='My account'}{$navigationPipe}{l s='Order history'}{/capture} -{include file="$tpl_dir./breadcrumb.tpl"} -{include file="$tpl_dir./errors.tpl"} - -

    {l s='Order history'}

    -

    {l s='Here are the orders you have placed since the creation of your account'}.

    - -{if $slowValidation}

    {l s='If you have just placed an order, it may take a few minutes for it to be validated. Please refresh the page if your order is missing.'}

    {/if} - -
    - {if $orders && count($orders)} - - - - - - - - - - - - - - {foreach from=$orders item=order name=myLoop} - - - - - - - - - - {/foreach} - -
    {l s='Order'}{l s='Date'}{l s='Total price'}{l s='Payment'}{l s='Status'}{l s='Invoice'} 
    {dateFormat date=$order.date_add full=0}{displayPrice price=$order.total_paid_real currency=$order.id_currency no_utf8=false convert=false}{$order.payment|escape:'htmlall':'UTF-8'}{if isset($order.order_state)}{$order.order_state|escape:'htmlall':'UTF-8'}{/if} - {if (isset($order.invoice) && $order.invoice && isset($order.invoice_number) && $order.invoice_number) && isset($invoiceAllowed) && $invoiceAllowed == true} - {l s='Invoice'} - {l s='PDF'} - {else}-{/if} - - {l s='details'} - - {l s='Reorder'} - -
    - - {else} -

    {l s='You have not placed any orders.'}

    - {/if} -
    - - diff --git a/themes/prestashop/identity.tpl b/themes/prestashop/identity.tpl deleted file mode 100644 index 834796f66..000000000 --- a/themes/prestashop/identity.tpl +++ /dev/null @@ -1,139 +0,0 @@ -{* -* 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 -* @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 -*} - - - -{capture name=path}{l s='My account'}{$navigationPipe}{l s='Your personal information'}{/capture} -{include file="$tpl_dir./breadcrumb.tpl"} - -

    {l s='Your personal information'}

    - -{include file="$tpl_dir./errors.tpl"} - -{if isset($confirmation) && $confirmation} -

    - {l s='Your personal information has been successfully updated.'} - {if isset($pwd_changed)}
    {l s='Your password has been sent to your e-mail:'} {$email|escape:'htmlall':'UTF-8'}{/if} -

    -{else} -

    {l s='Please do not hesitate to update your personal information if it has changed.'}

    -

    *{l s='Required field'}

    -
    -
    -

    - {l s='Title'} - - - - -

    -

    - - * -

    -

    - - * -

    -

    - - * -

    -

    - - * -

    -

    - - -

    -

    - - -

    -

    - - - {* - {l s='January'} - {l s='February'} - {l s='March'} - {l s='April'} - {l s='May'} - {l s='June'} - {l s='July'} - {l s='August'} - {l s='September'} - {l s='October'} - {l s='November'} - {l s='December'} - *} - - -

    - {if $newsletter} -

    - - -

    -

    - - -

    - {/if} -

    - -

    -
    -
    -

    - {l s='[Insert customer data privacy clause or law here, if applicable]'} -

    -{/if} - - diff --git a/themes/prestashop/img/address_alias_left.gif b/themes/prestashop/img/address_alias_left.gif deleted file mode 100644 index df0d6399d5ea856b3ceac0a2817ae07b7228ccc1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 928 zcmb`?2~Sf80KoA_?0~9?m>Gf#YuN?{I3zSJM``I@OACynEv4;yuXDw9QjDu_@jLAQ0e;E9yt1t1^B=aS zy$5*l0BA6ZrAnDXV>DTu?pfC}uiNAE%+AgF7BCE3UJ0a9DXkuwoHAMMF0;jMfTkTT zkIpdV@y>4~lNxZ+?(`@%pv~cijAoPBX0|viHm5?R6NqF|xmqMqsC5P{2pJ%gP%M8s zAqD=|K6r&o0{}d*_pSQ&2}sBEv>JEbgHH3v<(Ufy=`PNdswdwI=EoajyY}aI;(x6E zq~8fkuGxQ9`_~oMj|djy$al>B2RE^%8#kM2w^~};Znt;bx!c**eed_yf~_B>_dR;t zKQK5%XACo0Bctpw4wuItXBK4bct<3bNM&+`Ql-{tb)eob2~8QNH3j)QaW=cd>2g2w z%zAxu^9z40E-kP41HSU?wQwW~BWUc;=YPf5U;Lf;=jBFnGhUwaZ|V&OY}uMyA!Hbu zGv6hhGz*8J)~p?bAbEmm?8rG#zhs_ZnY!}6Y0s?`jm-2Eeoa`=i$<*v_nos0REpX5 z{*qtNr5W*<6Qh$a65M17$IYtfA)T^FxSp{ZR@GpYl;`E2pc8iMrTjU;S*ZQ}!?N)O zF~!3>WtBZylwWcZX2|lV%W7%@UAD>vez0lFHbS*R7=+p|!fu0NB4q0R=2z`c^G_zNk1u+-XqD<9>bfHsTSD;zh{Z z^YIynMwy7Zx`_BgTGh+gytu*d(5jR10MtP|s?)qmz#vhn*J)oT*F#qNQBaq9y_tyl zogj!|z{;VNr2)B(ur}D5*HXCJmfuTR zyFIwv^&8}O!SMi2g3RD*(Ydtk( zMdAC$YwN-fPMqh4drvkZ;fH5WU&Uqq)LR#ML}7Cyk1xoONdKkjqUgXCUtM&Ns=JEA zU*ABY^rmzY%%El0!^3TRcrf!$F$%M~3D;;D_iO8s(Z2IMggwxRB4dme63Q9rtw*_> V-z-MnxC}-4!f8?i{}2Ft@gD}s`Yiwe diff --git a/themes/prestashop/img/address_alias_right.gif b/themes/prestashop/img/address_alias_right.gif deleted file mode 100644 index a0c0779cbee3481e4d863cd5d6e0398efebe709c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 928 zcmb`?2~Sf80KoA_?0~i=V&(`M<_WIt*kmLx`G02p{4Xt>3z4ak4I_gU3&oIXiI7PTBgNyQVpwJ{0{qnfM4?erlzXmlZ)GP z_5eOK076EIOeI%pjV6oJ?R7ozxjlZ5ch2iy$Y!(4E5S@Aqcgx$(&n`NXTiNy-H#^9;I=i}W_w@GNxl17*dIw#aOB)!x|6pi% zgw9}&j269J1`-lXw2AKbhK&7EMl1``@ilft`W0mskkpO3kLDHb>PS)%W#c^V;`#c zC9yOsnQ&$q#Gf#3qLk}qRZ|J)EK;6l;uNcPq*liF3C=JuyA3kI+~ftg=iTG-hYJ#t zhkwp0f3&D*abjkPipR^Ewp3!-s+bIb?c1<>>y*L}+?~bjhLobPssGS%dYwufu?`+> zUa_epF(>mQYz|Q^jeEG?2^#Eb+4`LDl9hf!BY(Q6JdfQ8X%xwTp#!_`TdneW*i3!@ zyhE!>#at9D`j}4rVtroH9B}9~>0}V@-FH&2eU(B$tjeI*ZKXHDR>nzCpV@kuS`Rou zFq;Kd-mA<*6_SEC@(*)^H@BA~!H$9|T!_4@o)o%O^aYL#6t^O}P}lxW+-i3TjkJ0j z$KkH_l*y6R-XnC}bl%5)Qut0qlpDVL`6d#k5OeWs{gs7{Yrj>$##I7!fcKs=iRGsijNOo=Eph1t%>*qvy+hEvT02T9{1O4 UM*c&2A|VjY5Sj(Y0N}I#0A|bdod5s; diff --git a/themes/prestashop/img/ajax-loader.gif b/themes/prestashop/img/ajax-loader.gif deleted file mode 100644 index 6f1fb335a9636874c4236ba949cc9c3fcc1fa042..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3208 zcmc(ic~Dc=9>*`aH#f_@`t;sl1A!Wph)@ebfwHO)AV5GC0YN|{Mg(zX5eQpYLIScS zgf*ZfkQkyB5f{*ES)?Eq2J3>_hYx7$g1FVO&(_ZKft@$=W*&dMnK#pS{ycN$ocVlz z-|u(kaDBZUo#L1P6LPr zAYk?@M4`@~TDNe+!lMB6c-gRTVw`4n^f8|&HgEPu4O>G9?uyW}>qwgQTW74;_BJ-x z_p1+?39I|QWg8KextI^KIR;JE1Yaw&-+ef1-8U~kXaE(OZEy;;zZ8Ab(NecW(z3Jf z#ksQr8Yw-4>lO)7_t2oibRT}P=@Ho7P0pr-M>j=FT_^-1*rsVZ?xN8veRQSjlc$=y zOzYVf&Zn|uJ}D(flOtVy@~rdm!IF!$l&f<7*Z6j0{!pOT9%raNj~f|d-Rt(i{cnN6 zO)15XfZ1sNK!UZ?oLkDCw|U2QmA%oJf)F}FgYs7IWlN|Pw0&jVJz4Bru*5ar zl~NR?j*=wEGBhe~J4DTFSGS+&khET?jXK7zyTtg4drrpCX@iP|P1sPv^{c9D^-02h zEYY~`IytkV<>p92w(w4ZoI6=G6F#W!$bSkv?|BxTfIp7vsCWqswMk3guBrJ<*0Sx` z7Z)9;jE2n!i{ZbR$G5bd$A4_gwHL&Q*Vd>)hR!NN*Ow{w`WIyl+;U~&QRDVg0ko@A zRQ9-$rPzqd^zUBL=1VAkwO>5yr5oBwI|mUDVVW>1k`L{Or?JQdJ35KOKbjKYG}Hwr z2!(_kc2NX_LM_?K26v~MWq$U>ScwlR5Ni{{L6}IWKMpVNTR**RpdD(-Za6ojef>wAvcj6AqHU;{OWc!gl9|H-r7Vk(re+*% zQ6WT1g}BU3rAM_VnopvwniCt2UEtQTdK8B)U14jf4S1Jd$U(6^K3vT9y{6rtnIwe< zGDdN7s5CZbcx@#hp4c%nlgVqYNI8$qH9g&!7^`Dd+<9@}H@ExP%!84`_w06$ejd=@ zwz&I0j^9c*J8EI+r4hu`RN-{(Ku`$9ovd&+`|`aoSzb`x#80nY!g3I;;N6jx;qNrj(}cs&CdHDs_Vv;kT&QH+Fi0)l~r?iaMLh&KvjiAe91@ zltqAhQ8-U+$4aq8dN0e;3ZX);4YY2w6^INI865>uAJjg2B>Tp*)clcOV!(6PsmLjp z(tBrcQN6&mni)taNR9Z}^{~Zf%RQDZKK?fg1rX9cUjVE8Sj^_yDw;~`6}(+vbsGB) zd+9Hbm;U|p$kSTt+k}GJq$k0uY*7(rKb?kMMeQQr`O*pv3{SQYpe;-I+Ym{)C`~4@ zS5jZ}B^UfcImOE4Gd|h4gGD%KlYGQqssuizQBV$6;ktbqm}eZdK@= zKoP6lgoq&E(L|@NF1Q)fF*#&X4?|qL`9uVAf-ZKTSq>)e*rh#KSBB1yj^B~Fu zn&tm+QxGtMA_`@o9e_-X_j=uW1N|gdhCef>cRw0gZXf^%e&eexG4Wpxg)i^#HD9y| zp8cB+;(04D4OJoi+qaZh1z8!KoOZcm9+YLJ*iz8@Jlbo#>Sr@@o^4p*`bkepLu|5x z?=O6+s_m!S*L><49Vs4lE|jyUR#}ksP20bJka|VVHxcnxb1Zn$5*#cmC#L6Yl9nq# znVeSxRwfD^N?V-4i~=46!^Avyj!s89z9z>hk8~O)r3#}>iAXebL8te$r@Lf;2-1TS zb)CWag0<*ffN}%rU-`f20f4lxV^?mH`*8}_`8|zD~_IV z28BeGA8qGme=f9G6TbX2__;#*Jg~IVF-KS;FIVK2Dp?UlJOT(hnHD;$b@}X^HWr1b z1Bnad5bQzjY}-fQg@VQ)43qrT{NQ{TMTd}^0A&!ak`l*Iqniju92_b^#`=LtoHW?Q z1IHd>Pq6Mm>5u5#CvTar^T7|FvPa24w$)qB8 zoB8a6oE$m>LbTfAv}hdeK;bS10Zho@YqSW_v)>p3!GV~SZbYpPCn1Oqp7+2om>+I= z3o*J2W7G$w@U8I~oH*>n0dM_)J@b6TdxBH}Z?WfJ@w8%fS~=w+He_YOW>;Bu%c^%sI zumeCIG>)Q?SGqxZO*af{zzJYm#v04pu+hYKzD`oo?Nh+?=7SvKZ4y2kx{3Gjo2U11 z!S{@pw4Y<%^?7`u>IDi~9LV(Xlb(wP;mQAG0y6rI$nawkEMt>5tRU*U6bW~_@j_)> zZ{1#I7)C_0IKD|H`}w@pl3hHR91}TGin8M5HI5Ajlr{AFhH8zZAiT<1YD0wK!_EQu z3@WLkgOeu81uk}zN{qb{x{^+JkQ@LCcm-HcA-1El5Ck29Ty4V0_rXXXZ~3&-CM=+z zMV;o}`1UDhI_V8?M8~-QdZTsBZw|EfS7s8+rJoSOrTN5X(K4-S6xTph#F!Bj6g0961=UO`D)(&dH866{+01K-V z?)TG3X=$Wn8wX~DJzVJP5?gGNiVy==dr`6il}f2oI0;s_HXUmxX`8$MsLm CZnPr+ diff --git a/themes/prestashop/img/arrow_rotate_anticlockwise.png b/themes/prestashop/img/arrow_rotate_anticlockwise.png deleted file mode 100644 index 46c75aa859671e2d1366f2aed7f5792b371091f1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 608 zcmV-m0-ybfP)*nn(6-Ko08>y5Bipj zFuyiPrdN8pDqvvkw%oSbD|$YUB3aMBizpn!0@bH?0kAfUJ+m=Vt{!e1UD z_AQ7AnZ&Yq3oU^QbQ$1o#v~>3AqYSCl3VwJuGp2*ve%Mr?A16`oZg&5Nc6*_Q~a<`f+n=r+3NUh>M=H*cV_-chG}N7Vspn9Y`Se z0C&>eX!bRrM=;=eq7!GFC$R4w=n|A@e`7&l%LDhi6W$FLp7k-fKe@oJG0^dCs2ftC zB0v*S$*EwIXr4EM`7n&hl5iB`A4lL?b)cQ2aNKqjRZp2DO_QVx^C5UDGKfoZ!!H~hg$jm6nz$D1XEXer(2++BV zj6gRc0X9yMRSe8XLQIUz3~ZbNK&>py$jTWfihM}icrh?2X(7-+2B4#m%@R~(EKHmz z6!`xZ0}oJwNsw8P!Jc7F(fi)Hmv&Y?(KWSPrg5%9WY(O^Y==tZ%`g4YwvQ5=w|C`X zMoZo~dpAX;Tk*{;I8b$==DydNMG;AO^2+YvcE!Z`}j}n LvdVcB{r@HaL+egR diff --git a/themes/prestashop/img/block_bg.jpg b/themes/prestashop/img/block_bg.jpg deleted file mode 100644 index 12d87c9d8a482e5a92f792313f7bc1f6989677ae..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 361 zcmex=C*tJ8G-$GM6Lu|8D{SU#c{h diff --git a/themes/prestashop/img/block_bg_myaccount.jpg b/themes/prestashop/img/block_bg_myaccount.jpg deleted file mode 100644 index 5ec840993ad113ecb3d07a484f4e0d899536071c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 394 zcmex=C5UDGKfoZ!!BD`!$jm6nz$D1XEXer(2tyLk zVL&$`0TwQZRY*cW-?Fd^FaYgkW<^ph#F!ZPVc|x>!p4V5!h(zp%s_|)7zGsr8=3y! zV&GwB1X{=}$Y9T~MZEj^g1N o&YTDNlB_5CqkoCoY*O~C5Pc%L&h=2j+dDDh%v($D%pfoF!LQaTcu7Jm@3xa;2i!3yBHYhAcf*YxmUj>Q20J H^8ZZ$?0GtC diff --git a/themes/prestashop/img/block_exclusive_bg.jpg b/themes/prestashop/img/block_exclusive_bg.jpg deleted file mode 100644 index 0c2ee9f6d7f3feab243c433e6005fd58736d441d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 375 zcmex=6+}!OQxCM~+wD-Nj3UwHnvU`5l! zogT3~@dA6_x8CjdPt7_Nym9OEmM?z|Vyd4Obofi&%rT-rUb;v!CDie-i*lV)zIE diff --git a/themes/prestashop/img/block_footer.gif b/themes/prestashop/img/block_footer.gif deleted file mode 100644 index 47c8de4ff566c5f10b4fb123a365679be744bd85..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 261 zcmZ?wbhEHb+|R(qaD;*3$+H(vp1u12|NqC2pZ@*(_vGobhmW2^2yWZ3`79MpDbWiIv^5cCj)C!g0kmmaka3YW12W?6K1o8LR=eOLqwX diff --git a/themes/prestashop/img/block_footer.png b/themes/prestashop/img/block_footer.png deleted file mode 100755 index dc055ece11cb7fb60defd96e80bf38cbc4a07a5c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 207 zcmV;=05JcFP)uky<>u$;{QUgm<>=<-=i%e!=(* z>Ez|-IP-*50000^Nkl?;Sc}-002ov JPDHLkV1mGfY+wKY diff --git a/themes/prestashop/img/block_footer_myaccount.jpg b/themes/prestashop/img/block_footer_myaccount.jpg deleted file mode 100644 index 84df35ea964b4656fda45088dcf73a29a57a8ff9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 852 zcmex=C5UDGKfoZ!!NA6_pP5mRfk}{&S&;Gn5r!g= z!+?%N0&HAB5oT0DMiy3f0R{$ER*)1-Eh7`NFbl(^%OR|SY>GxAf(#7I9Lx-itZ=PN z%#48>FA6QXBrK>H{K3#siABWe|1Aa{py5n{%z_N|4A=MHJot0R-AK1bWsAR9zFN2N z@q~?48oHv!62}q~Ci99+Vc8#Gm1ZEbfceK42b0L#_IAA=4=<@(|7F#+t!Y_*=hd4@ zZwvjN8RfNa?fbTkbIhj|T@<_H+jL`{Rgn8Jr*B(ph4wS#sU6G-m(^5$tZ;4pqVNa2 zM{ekLJzlC(lOlEXi`O5<9kW?C#*{4S?`e+O*BRenE}XDUyKlE{b|7Q?k=)M@_vajLulW7uMN7^zvR6>s|6EvFF z(ZJsLqQklB#oWE?((gZK>e_$7^^{A6)v;{J(^iV!|8Cu@Fpl=OHQ4VLeV-?}{{Kw? DEnyxj diff --git a/themes/prestashop/img/block_header.gif b/themes/prestashop/img/block_header.gif deleted file mode 100644 index 98a450a5b05dca1e30735f355773c8ac39e24291..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1286 zcmV+h1^N0%Nk%w1VZQ(w0Oo%H*V^9D($?DD;o9Eh+}`5c-{W?Jo7vsu*4yOO+T*pj zyVKa>(bnIzx4YKcn#)5*=$$jsHu(AU)1-qhIP z&C%4?+TYC3)!E$Q*xlpU+~U;P;nCLM#mUgm)ZEwF;m*<4($v|?&eYA(*1p2Y$ji{j z%Ffu_;l;?z)7Rg|$&yn)7#6?*xBCX*WBaB%+=T1 zpa?(A3+^&ePA**v87z!pG3b&DO-m%+b`?)z{n1&(qG) z)Y;tN#K+9W$<4*b%*)Nu*4W+1%Fff(*~!b$!p6+O#?7j&umAu5A^8LW004ggEC2ui z0KWhk000O7fPa4!5KR((h>41ejE#(BTJr4Suq$Z8j=)2 zRN{ycA$UTI9!C>oFt6t5zwd>cgW2Y8kPXyJtzW~kwY9Cqm8haiS1 z;)o=cxFHuOsF1-Eh;;FU2TpJx$BZ=AXyc7I=BVS2Jof10k3a?~0+o_zLMXANgWVF4m*;K0Hjh$gD&qKr1`=%bKED(R$@R%+>`m`ch54r?F+ z1PL*;kjJQ`mTKy$sHUpws;su^>Z`EED(kGPwh#jeKp^r16jDSGK^?#bE9|hu7HjOW z$R?}ovdlK??6c4s>#Gz{{D24>Q_x_?3wCtt?YH2DEAF`DmTT_0=%%agy6m<)F1IvH z!3H7^450)aZqT9czWny<@4o;CEbzbt7i{ps2q&yC!1*dM!~^tR(FY$CS8VZP#TaL- z@x~l??D5AShb;2QBzxS)6%hM@MHyxEK}H`i$1L;AG}mnN%{b?*^Ugf??DNk++x#-i wSRleg0}Uvkv>ygE?ex=7M=kZ#R99{F)mUe(_10W>{j?uSD}Xc;egpylJIc%a{{R30 diff --git a/themes/prestashop/img/block_header.png b/themes/prestashop/img/block_header.png deleted file mode 100755 index 3dbdc2c56ac102e57e85584b51d34f3d862b7112..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 966 zcmc&y>u(fw6dg2(EtV!FRj5T;TT)4QL{LGp6sue5gH%!%N>e`2M5Uq<$NC8`C+kJJOyYt+6{pPvdoefe+wT)5|ch_l;l{^P_#6|%Slm0{mvvj6OPiH6lWBKU|kWEU}kZK7XZ-bWHlARm@vvs!P7JkfRSaBGReqr2$_VZ z71aV}R+RPWP$Y^n5tNm+3`r$9QKuMzO#&>QjNu$f%LqpCB5-X{tibT1YRn-xg^@Ih zQwjG^U=ndgkW@0k#V{(0(Ldg}Hf3`(<0`mcgnGy_?2Q)SmvpGd6r*^uK-S z)#7`Hd&f#j&rU&!>IL<|gTq}-)z;k#=EMFMp8d9d*O6UlF>>|H*i7da%X{{$z35*W zXgK%R8uqKu&)YHQNPAaLmA_);Cp#`UqhI>7tH+!2u^|V4XFi9l_5^Z&3orkB{b)_D z)Vn;=dfus<+&j7Cu8*nFLL|HWU+^MB_02D-JSM@#$Os|SS(J&z-mG3VH8+pnC9)Li-PPD6g< z(O?}@e%GzRF@}YlDlJf{2owps1{{xR{-!xxL1?zsk0~ z%dxu4y1&Tx`1rZM$hf`6l9rjOv%#32s(ONstF*(fxyqECuBouSf{dGmidxSXP`hmDz+ouqn% zmW`2_pQNpjn53|}%Cfr3qpiN)-{7XMyoHXQi;41ejE#g(OcgW6PdRySDAyxO3~?&Aaz(9jePPIaGy76e&~c zC|}OJx%21Hqf4Joy}I@5*t2VgK1E6tCRGkmNwML?i8<)gt6$H)z5Dm@0+o_zM{=bwNED(Iku7HX)USIp_eAx$WO#0NjzA?c))R%+>`m}aW!rkr-_ z>8GHEDk`Qwe1L=!O&oGW2Rs1q#;dT#D(kGY)@tjmxaO+suDtf@>#w&0z(WT|9D>0B z8Dx;hvdlK??6c5DEA6z@R%`9G*k-Hkw$mm%00xJMfdc{L%3=?z`~D zEAPDY)@v`jCS2#tLERA@INi7i{ps2q&!Y!VEX;@WT*CEV062tU$(A42QJg z0SqsILC41+hb;2QB$sUR$tb6+^2#i??DEScgYg0k9<*@?8#VY~#vVNP?DNk+2QBo_ jL>F!J(MTt)^wLZdZH5muuz|_cR99{F)mUd8Ngx0_z2(0X diff --git a/themes/prestashop/img/block_header_exclusive.png b/themes/prestashop/img/block_header_exclusive.png deleted file mode 100755 index c19ec41e7b1dbf93f18ffd3bf3dcd476a5f7f745..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 960 zcmc(d`%fDM0LO0_BYOZEAL($@xGW=N$uf)?KJZoBx$4&8AYuZ;bw+Tjf=xhU*HKp5 zE2UiR^?iLnS#Mp-mFw%;UXQjXbcOD^jVO}3EMuL~C>c%`Gwc#V?SJ7n`F_9o{`~!@ zn)&ZnZL8e|06-P*29TiLK32{)QO!I6Y#D4m+R7b<%&`=6x?4D;w#bHccBjV| zAT16wo}43TCYsCzsT@UT|1B2dbe2rc=}gFEc*Zg|DVAw4BJGbe1_$m9BxR#Eh1z(@ zKjU-7^N{kX}>t7gb=d>70XQ!jEtjGS_>MW zm=MLdrc%py3T`~1(2S{JTaZkv;4zKS>GZ^gVW-;QvN^qw+3oU1+!%4$M<5qN_Dhke zSXOIvbP2!y{A>?FWuns=Unqfx6JBBti_A;puoTn{j#!Dr)d8i+g^^;p0gGg{RXRw8s3#y9(t3P^pGZKkB|4o3M|4t!Ry?FPAWqn5 z?+|pAN~PBJ1F`ZYgMBCXE#>)t3V8ML54+1;^zu0Gwz3wNZm8HZ01GHI+!owF$h91) z-|9O3+APQ*)om+Jo}_Y}NqW9W*A**2GPFEwINbliff2byr`dJvcB;Sn>3b=Bg~e;x z^O9MYr#Ou)Yi92=tNZ%$Xe+OAHG)D1NXhTw7rUJ|1xcM8=1hlySv>r)ur~ea(gH3igmr&mn5vfIyV1A^hW}}l z+*sJLa;&($?Umigl{)rfTgAry*&jtK&yN4}0B*h@z4_HQ@y<0-{M!AOHo1P3?)tW}RI!jBXqbE;*|Pbl zqpN;hbNtJCeJ)-4A@p9;DbDIA)dl*UT43MJ&8x@gJ=Dn zJu}h(c~=Onoq2TVxhK}>JInXZfA;gOTPfw+JyK9q^#}KPKv2d2;BomJoPA36AK2MP AMF0Q* diff --git a/themes/prestashop/img/block_header_exclusive_cart.gif b/themes/prestashop/img/block_header_exclusive_cart.gif deleted file mode 100644 index 8315b8c3172fcc1a369edf532731df5788e6e656..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1431 zcmV;I1!($5Nk%w1VZQ(w0Oo%HwYFVsh!pVJxmA$~lvAW8ltGbq)rh0^y z`uh8gk(#Ww$da3>*4W#*zQ}rpnz6OI)YjRRp0AOZqk)K&h>e%2u)V6Tx0#=+oujRV zig?{{;pDfvzqPo)prov}yThEIsHCW{tgyJRw7j#ozxVj~`}_Q-t+=qYzMrJ5 zjhCjQt-gtop0KyX^YrzyxWbm5tF*eqr>wNDw!*Nu#(jvIm!PnpsJNM-u9KXsf{dH0 zv%#yh!{+Gfj+LN=j-HR0q@$;>rmnoBskNr7w2P6OvbMg6k)Vr|qnMqfiH((wk(jx? z#=5`AhKiDunV_+{%eKACxWCGgm7IcykbHxXe}#~GgOglgX8-^HA^8LW004ggEC2ui z0KWhk000O7fPa5W0}6hJh>41ejE#CxTzd)(g9;NKqyPYS$jQpf%+1cv(9zP<)YaD4*viHjG9D8O zgfkHy7{_?$=;`X~?CtLF@bU8V^!4`l>vsSc9uYHzB_e2f03bw&IS3OfT*$DY!-o(f zN}NcsqQ#3C6&eKaKud%YhGK}B@}Nk80&-HST*C>oFt6t5zwd>cgW6PdR8#M_66-qm~L0|y`0w4kq7-NG#4b+~| zWH{6%LlYH9qD!Any}I@5*t2Wj&b_<$@8GLbxPjyXkOT|HI9L#bI0FhehEP}0Btw@& z2N0xDgGGS<{{RLk;D7`cXyAbeCaB0+o_zM{=bwNED(Iku7HVjpXY>F<1r7)>f&)Sb;DQc))@j8ThkWpX1{%EK z>8GHED(a}DmTKy$sHUpws;stJ>Iek55QGD?IuL{prE;q2AyAlMLLI;cE9|hu7HjOW z$R?}ovdlK??6b*U00IdKBrq)rM<8p08BiSJ1{q}JA?~>3mTT_0=%%agy6m>=?z`~D z%kBw@dXA#F&pMh6|lA@INi7i{ps2q&!Y!VEX;@WT*CoUjcv{4hfF2MN${ z!wv`oyoMBQ98v}hFrWa($tb6+^2#i??DESn$1L;AG}mnN%QX;?W*s_f=rRf?ex=7M=kZ#R99{F)lg4JfDmxFKmZdtJZq{R1SjyogC18Pi!`s%E=?)vMn$A0?f7HlBG=A3WP$L_rM?)&e+ l2QU2a#20V;@yI8y{PM$ZVEgTuL@)jH)K_o)^^gPt06RZ?{(t}g diff --git a/themes/prestashop/img/block_header_exclusive_cart.png b/themes/prestashop/img/block_header_exclusive_cart.png deleted file mode 100755 index 26add9ea2a3224391af190e4da7a0a651e465507..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1134 zcmc&y`!gE`9FM8lsG+ngT{n8OwPx4d+G&rr9;IZIH1n8sMRC&UbfUeQv<^W8^++U< zh(}1sQ-nN3h)57Zx_Vbi=2E1J(^Y9gl4bcX_PP5!zQ2AypE6KXn1h|W9RL7u0EUNv zEiSRp?IUZ8#zP%P0RXE4P-ILfzh9wHPSaRCG>%|4n}y<$>DdJ$g-fDxRWHM(v?d%Bt%`zT zff6(_F3#5ayU7`o%U2`Nq;MJZjFu9;X-oQ%+vI8+SnUJII^!4-Uzm+}n?=%L&tD$Q z#k+Ztt}0Q^dQ3q$R&M@LgvK!G_^;F%jg+-9Xa-Ac&4_x!r%`s^E_ z1JV0u7ZM*#hqOdF=B08xWy&nyl0Qz;%(Gp`5~M`0zLc|I5h5r)0||?`2NhnM|BOmY zB8&S1K*=4Aaj%lehd+(GHJMnvulX}8pE@^Ya?iZ$cK?*?{fyPdUqFUz)N*PB6J@vx z=~_5AqTMBU*}KlwxR1}A^xTwJf%!lS3JdxVp%vALO^rHhZ4o}#LTi41ejE#zMNIKR1Pv5JGMcam zqhgNd&!9t#9!C>oFt6t5zwd>cgW6PdRySDAyxO3~?jax++7ENRvf+6L^iXv^2 zD__pMx%21Hqf4Joy}I@5*t2Wj&b_<$@8H9WA5Xr#`SC?ooR9+J5D5@TcvO)?zrOwZ z`19-E&%eL_{{RLk;D7`cXyAbeCaBM?haiS1 z;)o=cXyS<|rl{hIEVk(4i!jD00+o_zM{=bwNED(Iku7Ha6Bh$gD&qKr1`=%bKED(Ry!jG;pbM;x+*8A42O z$ETo%D(a}DmTKy$sHUpws;su^>Z`EED(kGY)@tjmxaO+suDtF#fe>aaamW=&-0+1R z$R?}ovdlK??6c5DEA6z@R%`9G*k-Hkw%m5>?YH2DEAF`DmP_szHz0AvAsdWv#t>Az zA@98O)@$#*_~xtczWny<@4o;CEbzbt7i{ps2q&!Y!VEX;@WTvKF~k`oY;XwX84rMw z0}yd^?D5AShb;2QB$sUR$tb6+^2#i??DESn$1L;AG}mnN%{b?*^UXly0LBAk98v)W zK0uHH9Y`mw^wLZ>?ex=7M=kZ#R99{F)mUe(_10W>?e*7Shb{KlWS1>=3J~~!K?R3g z5JC+-)FJoWbk}Y7-FWA%_uhQ>?f2h+2QK*Fgcol3;fN=$_~MK=?)c-5_fSI!7aX#H z1~k|(0~?%o?)m4Shc5c)q?c~`>8Pi!`s%E=?)vMn$1eNqwAXI??YQS|`wTYFpuqyA X1TXyX#20V;@yI8y{PN5%9|!!lS3JdxVp%vALO^rHhZ4o}#LTiDuya7ms z=-!x{i7SUb=jlCwbn5gSR+#ww%+Y6h0gz06jh0#5)^ps_lcV&eVl?SXHA zj)Cp#eI_pLu2jDOI;tzXB_A<4fzG03GW~;}#~?+C$612LLI!9I|Vf7~l^-T0WgHD`#1)00000NkvXX Hu0mjf(9oKG diff --git a/themes/prestashop/img/block_header_myaccount.jpg b/themes/prestashop/img/block_header_myaccount.jpg deleted file mode 100644 index 9af1a82a20a6d292acbf83076299ab81bec8c339..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1851 zcmex=|R%SLvCUy=1phsCDo`Gr+Visl;WD;Q&WpPk8WD^92 z8Bie$JHkK~#*0iwlT8H;SsfGul_x4qS|p-kA_TO6frTB(3dV^>4uXnI35Je^jT?m) z3Ii1|vLL&H@q=KZV&TD$4u*~k11D~5{C|sq2k1s7L1sZ<@L&3Ne&dU14XCx;&$d3> zr@yq<0Lo_xN_;r?4Dy;3GHJtvdn_K7TJWR*Ik^ix@XzIT%5siR_POV%>l$+?ko3$Z}ch8tjH0-SnS$%&o z#6wJM_DrWc>>=&}aemxf7Qb}Pw4%t9>8b=M{dL(Pzh17~z5DQbyWYF^Ol53Z(|P=ZL`e8zf47S-?qAi?$iN2j)ZAaB zr#05~9xk|J&WoM6vVC{-+M4;02m)E|6ntzI2&_{M{?;xQnK}&_Mcm@q^z`&}y_lUv z$W&=1G*UqZT(#R(a&gnQ+ducO_ju!;WG#53??{>QM%fOmoN}dk*WMqnZ~T32)&Bb# zy){1`Ffi0j{>AlO?N1fh9U-5hfsR9DegT(Bo+=>ZG&^_OZ4lZr4NPsjode6_3}Eko z!crjHb?GIIt!r8m?)Q9seSLl0-YO)j%A`f)C2OchvYPLsI-}cDU3eNN7_m8=kYrX! z!DLFzum1etuTkTE&mh%J(fEd&h~@(##jt_PRBz0In&?9A+|mx6>mh39#mS9w0E_@w2N zIiLJ0)omu@5h$GhqD`nhy8h85W8>_QDQzoeu0PJez;vKIa+S4}@nXDa(aO4+ztSiF GzX06SC0>!D+mkiUIG{-Rqt#QlBr%cV3!6jM3##>%BuT46YnOe~@);M*qJEn+; zxMqeciW_FRMT$EhDv4VziJ*X@2!f*K=xx5=KjEIQ=gWD1&p8Kde{*w zz%vF=X;M6+|L3IXn}y3yYbLPt#Ya_>gpgU}^~b^fLJkGH)~s=AOw{(tHuS965F zWVWM-T$g0t5Lok&zthi9kh@8>_*^urgu2w#z^h0ZpnkOjib0`ZU}{!+B$STaXP74`RDtUIQs1U z@*x6a@EL82*ft8oanE2EM5 zQI^yqK#^FU8AFkEk{5N8n2K3vyb@C>aKK8?=|iXERN*y>kh0!0*ri*=3%;*s&Lwri zlEiT0>YwkY?BY5N9)bR^|3$!bU1J9bqz$t9+x&YIAn-OwAM8(?i7Jf&e`oE_q~*6` z^$w$Q5j6#!NrtCFCYUva-6>GlL}TRJTb;lq1F-*Hp$^2xFh}nUthS{0mE+_2305to z{|zig`w;3~>8C-@Ju;B*;8LV)e^aDPxuE>N`~nbrz}qz)ZN74Fr5T)A-|pN$vPGK zh0|Co?kBq@nRqn4o8y&UE&sK*>AiG>cC#n%ukR7NPaK|@d07K%H?j0OaM~}G>=-R% zrX9V}M{iV$xrLYBT>jX!A|0&_o$CAeLA}IpPul+Rm*(e6!ESH6D{h)>6CGVi5tpZ# zs;>osNT&K*zMTR{%aR|dVGzuZ0-KleqapSZevF>G<#g-;@8Ib;L+yk&`Uy|+;o46O zRT|I$8qIZ=4umX7w5gK_l5D#yg*dz6U}3VOs8onQw<-~)z_hGp2yO;AmCa`OhtJJs2E<#5vTkME6=esPl!gGhRFkM#S+$Y1= zg7o*fne93P96H&(=OQ_hMUFKHk>n?sQzZpB`*}$r!QFbUh~ynISDY0@oh!)=pP!?U zn5pFjhIOYuj2{@oqRoTG=3?N~`Fr^U`XD*3ku8he7B<4b!}Q z;Vs90T&iU)kAfQjlTenv{<~CG-9)%_v7R4)RMs$)5h`nxl$6Vw7V4z35Av>~OLWz6 z=+ehE(X0DE==+{PH39 zTlYrDW1x_HFdWggKSv&GiO$#dVYV5B(=?sd7@9U10-ONb4Q0YC!kO(R8*(fRQlPhu zMRb@MDH0Iqg8iAy4s$2POHW+E0Scni+E0<_%lU2pDbUWJ2>gA(z7E|wvesEI0WKI_ zXf(p?vTsr(V{nDWVnnyom;(QdQ)r@Qc3;>~q(nlBpa7ETGW=<8$Y`6c#zTU!Dp32W zrJJQWl7;eHCT4Mp%pF*)%Mr_IWJs|k9Lc_tvrH;Q7hC(V*xpUc=``GJ%RLXVRw`2f zD2vj?KzIJE!OvtsN^G%6&TmG_EGD|-WG0If0E!!J zq#}bof-j^oG+k)Fvk)=l&%7;CW z(WEN2O)f*UF2;Ne!NgVoxf~E}5sw-yFj^@^cu=oovIk3?R?0k+sa_P+ z5Y=ym>f1~8u4fNbMXZzu=!AM@^J7oh769hRa=#Jwa9z_%B__GtUyK@QGCu+Zo&7JB C_A}-H diff --git a/themes/prestashop/img/block_search_bg.jpg b/themes/prestashop/img/block_search_bg.jpg deleted file mode 100644 index b496335c729e95a9ab562776f5b828bb6d04ac94..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1104 zcmex=uI=H%w(=K}(Mey}1a#RK7?>VxzCA7BvVV31)9U}h9#U=n0x7G(T?gdv-O5d?tF zgaa04R!$5-pof_SfNI&;m>8K^VQPgF7Xp1D!gz5~vPy`ckYZrrL#Iu~tfGQwMlvt} zExX0Q!^{Y@nOTs*p5fcMu1S-uqAC_In<^6M)hw~-7)Rl8nZkB9S;^2;*Q=8k$#goM z>RzqxV#y^I5*ulycp_laqE{y`@;S9m6%X_4C=$_Gv1?O_^Mr*E)verGdTZtiJkf{@ zEKPaQt~jDJPun(W5?55mf@M>A0#5ZyBpu=?IL=ehE+&%hZhlnPPTn)1?hfaorL$bc zGFWFZrZq$^pf00PH|4&`R*BkF_uqwj%5&Ay3{FnvvzIu`Vv*c_o53_fV*_i04r2m0 zLj=C5UDGKfoZ!!NAMF%giXqz$D1XEXer(2tyGA z12ZGgkqE%T%Fe~ez{rXa0kRkwn3!2u1%SdJ7F>#n5h%*WF2W%!DkjLl$jrpb%naAa zD99wF$jo3ED9lo*r0nRF)HrdWk;wmB3_L&^nFN^y8SEKu=KEYSKfW_hdqum^lU-|M z&5~H&t^2kudvXTTTppDW(4KD)!rA$PTq>GP`Z zdQTh6UdQin4)T+nC2(26q&xPq&xzYxkEK4&yFHUpwZoFDDWh&l>48bR-TCEQUEgf@ z+#B&ZeCNFNDenp`rZrkIuW`TlSo87hIUhCbp8Vq!nyauW?An5C8EunUQ&l!k*}CUy zy?FTW2YBoJG4CrM{Xm#eIr*0#qrb9$HG z!+bLEs%l18US_T6ej=x diff --git a/themes/prestashop/img/button-account-large.gif b/themes/prestashop/img/button-account-large.gif deleted file mode 100644 index ffb311741b6481952a850b5ce6dc42202d15fdb0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1739 zcmdVXi&xTz0>E)9k9w4vXLZ$inz`kSe3a+L)V0pN9W%jV*=?6(&Na4q^O@DwtnKdH zG)XKeF%7#u@&}?QkfQSNjfn!Hre=wm4-k3tlZOiOQ102Eale1T=bSGhDKYMgAJ~u> zhzbq?+b71KwrN{O!Lr`6{a;zTXAS98)%VYPek_&K1d8Hz%|q_fkG{6|zOy{xTSJFtU=|brx;)|#(=H(dH7a{|P5E&r!|?0DfiYuY@rpdkxY7prH# ztsU|ISxMqU{!jYE?y(C3fkPty^#1t-;^i)Y$0XwJ7voDFJS-(VdR#^J6Ro+0&Ul^>ofy>K(aGj;d0pK-y?y-y{K1!8oacy8Bp#KFjZeIq zoSJ?;^X9Dt=k;#>{lenXvP{0BSXHXj8toF!A6zq<%$D_yO{;Co?r^%cEjZY2pMyvi z@UqBze|VahMHb-w4hMw}lPM#mfhV#T#O)2DvXCa`6XXAKiJmsv(KuEW{gb3N zsk3RKChnJ>&|75MWc}$PpO4S6o2MI)72)4W*ew_14^z(7o#W8oGBBOlixLh)+J+UR zepX3gzU$1Kp?^2Vees@m!>y3io#(Zt#s^w-i(|aDWq!dP-(XZ1OD-tc@BA#C(ykB@ z51)UI>h4gEJv))JG~V5r9uJK#4gRW!t(|H9nsH^KhohIWeyRye0Jz}$u3z*^6TLj+ z@?eqgp$mOod52G5?Zdq4>t0t+HJq=%(BHGEpXIC&Opze z0_4R9^EGmONHJ`sB$Sl7@&MMUdT&`AC zb3=GkU3+UbOI>$I)uOHe%Vp~N0?%*_fb-ARkW0eo8VVssrvboUL$uV&%h}q-XIJUk zrrLa+mIf4u>l(ppSY1nV6J1AVa&bo@0hd*8Xgl}K6%~W>6yF$_I#lUfX<&$#}6jn|2%Alw$Ew*17bmN56gm7yBjn=JG)6`x~Mt+rlmB zHQVAH^$Xk5AN-GTPy{?=ONI-`+me?YY28{O#I9{Ah=^l$IXVDqS3b*VwX14xui4cA z{+L5Ut;%z#(8+*9$KjC$U%Vu=DAy5F~g&f=+WGe7R0lVEP9FI6tp&tS8ID&lXlWMvbI1YHmieK*g{l-1? z{z7jAa_GZq6Ap$V`=p46{CiCIqX}eaGUjuiIa6`mICmx{P4)(PlIma z(Gi6oR*8qhPMRNFBv1~}kR#!#=7*SZihn)kbMHImQY^F~P=plzwc1R`L^T9S#lo1L zn*{Wp!h>q0=;XZl@tyI8V4GOb!--uH3bE J_b$kn{{z8;n+^Z~ diff --git a/themes/prestashop/img/button-account-mini.gif b/themes/prestashop/img/button-account-mini.gif deleted file mode 100644 index 97cc1732503cc709922d0c3cf31f9ea3446d53a8..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 932 zcmdVX3r~_!0DxgETUSk2nQa}#Y-P*V=7rU2>*7?*%+%HFYE~<1*0Q#?Rx7cS(ruuX zEfvKiMMMSRAc#OkkOD$PL82(|g?^@FNor(e^)q^Z!Mi=lDM_0)=Y|nTgh3L)Bj{$Y z$sKO)8qBHk&}D9}#wY7>)~m20ft}i@f7CKwszgVNP+b1#Nj7~+TKn<4=5l0VN=%n) z`fHU<8_x7+Kek@2mv6oDMf66OUtwd(l&2Z$yt45#+;44WLn_Uh$fqk;?@o`G zZ<1!yMtI#5mZ34Z)#n}?xGwOTu&?UAilBXOAGF%?>O4?_*JvzBh#l)|tGfGMyl*Y#-g*_>+sAN{bz?!GE>}Pdw zb_2JO*VGI{1g%0562k~-yR1X5fW#LsRj-*EA)1uMyX){e-y0#SA+zeZIYNPTnc zA?Io0&X~Lpcm})nHJzAHIGP)&VJwfz;vVk0=w^f_W_DJl26bxLa>%|L?>?QZ38p$oy^p> zX1fe*!R@-XmH{Q$JTGjwgzr>=h^V7_i2!>IR*gmnVIYnD>y;X=d;D0UdbiQkULuw5c2%y!tg!Uz6XRRFN(@BbV$8JD3x5jN8Ua$ zg0@ix4074j7>cEZrz<*qUgXEgF)HNKQ)o_Sb-GgVYZ@)Y2aHPP%nSlVM}dC`#X&_G zEJxuY67IN(&Jmq(>3)jy7D{0`i&kF7oy91T=%TGIqquIP5|-;uv>12YMeB&zy*LX6 hyPq5s3>R#j#4-Bz-=Y4&^5Ih-OVEpB34TPvmOnb`u(tpJ diff --git a/themes/prestashop/img/button-account-small.gif b/themes/prestashop/img/button-account-small.gif deleted file mode 100644 index aa6aa735f88e7290e7d0039631648d28b2f7d47f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1192 zcmdVXi&N4E0KjonW}G^YJB`cBW;>ko)w#Ka?$%XP4^3xzb91bkT9!lfcDC)fwsz&? zCnDNOK9GEcf`Et$iio1(3siiN+VC+SAj%uTNEB%2)}OKOU+}&A#9u>3e{ts$2mw+f zKql^d=YlC3lkF8yX=3FYVqZE=OW@muYf8pMnRkNyxrCke#5uAqtzsYj+_jEr(@@0H@Fylf&;b2T zolA9L69=<-{QV%RTx zBoXL;(ua1i3+O+J@OQuOOhBhj3J{l(KnboCUq&deKwd^fUW}-&sU_8spVv1;T#Q8e zwX{-cZFB~+y%lip?CR!ldwO|&U4ZMrpm1n-L^L`!2*AXWsp%Q%?A*Kr_-Juy`PE{R zQd%ZTq431U1a50=jBg}nW135ysyrWy39O;eW~zfzS+{3;+OEZT-IX?8>!r^(ME@!c zjH57QFRm7QoJ-^}Z@^>FOq7(@zRXCWCN{B(aL|OOJ(x{G0`C2@u>}0NBtCns7ro57 z5IN~y;TLwYBW+6R@7feTw04nQsE{&Ift%+CUkfmBAG7ojuZ6BpGK?EFt3b*{K?9z?jgIxI9Sf^vv^Bp?1|SEo?^E; z1sSqe^KDwrea|bC`CyORSlwP-CN4xxzK6AEfzkAKb$uRRr*6on+f}Z=$#XPK57q6O z=0D|jl}mwpsFni2FxnQpy8{lYK<$xuBh5*LC~#r>f?ZPX{(u(eghPyc!@kfW2{RA9;XC23$LbFA$XlDiECOjB mfuT`?Ov@PLW42}7E6T|6i~?~3t9-xDJ9v-y=_(Wg`to1Y$4p)T diff --git a/themes/prestashop/img/button-account.gif b/themes/prestashop/img/button-account.gif deleted file mode 100644 index 8b423948697012304dedb9bfd32e2ac99d6bb475..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1456 zcmdVX2UC*=0D$37L4rssM-Q@aCK@+{qjCc?DAyj5JQL~u zcc(KN^!Xe?DMMP%6{D%f*0JopA*PpHV&uaO_9QQ#xSHHJ30BMTJv`XMrJgArOE`kS zP9kdzl#$WrO^OQc>_1e)h*(V=ltsMKq8KKrt}PlK(^EUjt8S2qq8vCIk``sKFh;CJ?`gw#v51k@>Ow3X<0eG z;&mndjBoJ4y7~qpsgX>fHZ{}eG?YbKdk2%n=5)S!+tuCEje_*^_ydFQhK5H*$Hw1} zqmF!-{5Ul|Gb@^#7fYlP)Lx}Zt3-rrQs$N9wZN({p0m9TSU^ST=C%o<3`-Y`0|@n3h%#-0p>wGHkqL8;58TEa1D(?pb6E~( z=sd=`FkwC$T7z)}?P!YmTpun}{KQ|7AbuJk!#IIo8x`Wbvlea=Y>;iD?k3tzR&=W{QT8&SCffzvM^nm*Q@L*Pk~Bf0 zy!5^-+ZD7lD&^(r7VZi>$`({qU|e#bppCyuQHc$9S5_57g39Wm+c|FFu{4#EfJeKl zYO4xCRb6dO4*2B>;LY0x3fEmtqzOPZi6N_3H!^m{nkCbBd1xrzw)Xbc)k~?}O#>&? zn&#nP4=rsx@{X21uJ;MFK1ma4TSaJ(1%{;X&O)1_reUG&WOr(i*&^3N$21D==vZsA z1|55Ip#!-CfWQ_z&FzqjZ!BGji*K#HnMf-e1Z=5$e-v_QyXQbWafy2;XCa=(;UK#t<4A}r$vAq>o2A(u zf$&@&zY>+S{60FKv@E!u!b0x6ndP}MaSNBU@*#mhTA4(WS+HHHy`HO6X~Lw{>HBih z>dXTj3kFGtc&&+0cFAjV7}v(N`6u3N;%+R$%Ooj?N;XN0;u}q}k`y-59G~U2uBgH# zuPbW_jq55RnXQ3Pdc8I@G-2|FmLYH4SYYbdNT3tqy}8(Jm$JFk=Stqx4|qQe+8e-d p*fNesrED!v#FMvHrvA`vtprFYo?o;`a4DZmip%z0))@eB>ObMq-GTrB diff --git a/themes/prestashop/img/button-large.gif b/themes/prestashop/img/button-large.gif deleted file mode 100644 index b1a2bcda00ab195b79e323b039780b382062a1b5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2737 zcmWlYhgZ`F0)P{UECHjaAdaF{L5fNd7kDi~)yO)vp1U5lRXMdv)hb7AAF@IrASwbP zYJ@-n1QIgH4%zdUBsWJ9w+dGxoj=Fk+RNWy}S;T;)O=jiG+F5)R zhc9Pvi@h}9w)?k%`T@sa1tZ3(o)GUFfwM|XsC9DnlbtYSH6IDQ@2}x|VzTMJFXR?JVrN+b+0zG{LUEOvDSHk3q z4c2}%rcrI^l&CwUY8zXmZMSr@1sb!h&uH!fbtV~L(6o1pIQwIkYyVSY;(L0UBG3C$&~%8W}tlgQu41>?+WxHFZ_I#)%|KP;VwO8|PtA2&51a2Kk%+KLPPrg!sRlIzmMAvpxJmFUW{*gh=?8@l}XP zJLAw*FanZ4KgS=nsmM!)4(?u>oJ^AF{X~WGAO~DyWSnLW;0peL^eVLQd7c8rb5FP?3s#Nn7rxkbMu%;^K;2qhZ_nOTJtEpZ>>)t@Zs+688-E zKRp&Z4B0(mj)VUrH`O&EV%y!}f%25RZG#m*m;Gn(d1_t#VC9X5=iXt~m9fhX=D?j=+%SS;i1==ZlMlz&gyH9H~CvLQuo|C;OD&&Rrp8Y!vV10cJUxvN*B>WJjHlzw2400Fxt$X9T_F?+`bAUws5UQ-!443 z&4WHg+uxGG!(WY245zM-QO#Ex$69UoI>t6D|Eykic-6D(?--7{#&?XfVI+@;Pol5J z+0(}B;~eK;<2d)@?C5wK#659mMB$kp`34B(lIN~}MZTR7!jFVaidLS!F)0qXil3CM z`w2j8`2|8m2A`VF4tKv0HX%}k(cZpShD*byfJoDgDb>Cq{4Vvr*)_0qbK0lZLGHXf2HqBaZ(8gvv z(xltxY`-d(%Xh2;{B}nDhF^Rv*?t_h!)ed)zv=AB4{mn$qV~RX_LW5cnGks0@GzM@ z_@G7kW%aaueh7`+vEaaz-&`2RVVf65@H8$nvFF}>80Wd~ z{5T=unXGiY*?CdYU^?80k&yR6k ze#7q;^g*Ux>=tggwfM<7L|FX%ac+EZ5#o)8xFceqH_=P&_Bd$oGoeaN0Lx_(* zE}eJAu>+U8oKNQm#v*D0O)|+I=44SCs%G5~LK}IDF!Xr0bgz>VVA(;jK z0q;xl6EU0o<+8(3?;n?-Fq?yq%Hxw)tXdfkS?vKQz~C`~bMS*chmR^wRK738CDw+X zmMcy%-#;UwYQrvV%laLW4e@j!*F1QfnFddRo%E;+M;--!44kTvCDuih%YiFVQ_sP> zgB~96Vwh9ly~M9#4^6JRnKAXkM#*A9CLi6doT_ppVxvrQ^*!d)%Lx?rz|c`mMztTj zknR#p-?;cN=0M8o6CSu2_joWXa2oBAgp2i8fO%2VZ{U|5VH@Bco@v>Br=7?E#c|Y5 zgU~(5ryg-6UiYMO8WWOKAAee*D`QUAZf}zM7aaHfx>Uc+P?)Hd8#c+}D1sAuy z`S_oM6D*2zv!n_Y{>omZMV&EAMlad!y+aGVRjT*gfH)MHcqzxooTUW8=&&wY zXIts2rknSb=Q}Gm1=dew`YE0-i*!`4VU#?)U9PkZM$Iw6qUO8UgwBz3b4;`9-EVia z-anu>elc(%&p(;x7X8uAb|eupOv@56XL2R&Nyk0kc4c;OU< zB)1ft26|VsoZ|3%Eo)uuzFuk7Rhx;B{R)WBI;T?_<4Y<*CiZVyJ1;{dlb)0V{abgg z3A`MHT!J{JUP=+Vta1pwTY-Tczt1aEe90Bk#KDLc^FV4cxl(IGdYwTRulElLcH5De z`4c6}GhI!7H3tlR^I=|-=}SSoCplu*E`Yf=#b3kIpx&k5y9NX-*_N|BJO2EFu0l%5gGja)y)kGUDrfQvZFqqUDu_90b z6{xr%U|5c2k-cE=W$(B9_U*pi_x2roy*)WaAt8m?L`l?^KcnB7@Av!Tcji0usVgeT zOIW>OHH}6~U@;j-ms+;uJ@Lzz^7vohCuy|hw4x)Wxh6-*VnhGk!Moea6)0_53#rgM z>+f;p8jvT22yfWs9m73g2OjKyB!ER9v#nMhre`{y2FA(tt zCv|3&@C2o5Gfw)9X1mF3Rp=d5c*;wKK*;F}j5fFR3=E1$f0PPOpza8YxxG}>?r>Rb zxKgcik(5>sxV-_uhJ#jz)s9MJDkq9-3|2eh)`2+Y8%MCEsY%Ec63R?NYMY%H<@5{W zO0`7esI9*%keN&n?j%Q1f--`b9Sg~nIz5P~&7Q^wk5op?WN~!!gi?(iuo0fXI8Us_ zy`wNff@s7ByV|>W!%~$Iu=+xixNn^FMPNLPxZDE*8CRqkG2;Uwl?I~Bu-5?CwN|fO zkLXQ+*%>fFF2RuMUMIh!TllbFIs#xSolUI;G&*2v`U$(UZ+OIEb6{?2404igYGPQf zYiQ|}t4)I^Olwyg9Rj8G=ABL|7&3r_FElQc14Bx)M2nIh zN}(Fjnh}S~r#CytCZ;0MQMKMWq6gi9NlqUhb%(8J7(zo@3+|z!TEOKGO?dqgjPTi< zZkH!&v12AP%o)^JV4{z&Vn2K&QJEDgozma{k-*T1Q>g_75=BoRUu{IxM$|@(BA6HV zMcTRsELI0b`iInZfmqth6AL6dGlUs!zP>?O2dDq*UV+Z)8L@a9*aHU0ZGgOX)ITVP zo;-azJNu0efQ@#)38wBp=mZ=A2j=JW4{>;MlnluHzw;LS@KCCdYANF3UtP&1MzGy{Dmyoz!akQZ1zyCj?mH#Sp3DxE6 zSd8q_H%Jeg;8kKbw3)wSAidI1e|H z>AyKs*&vD@{B!Eu;#0+cQoe2bFm_WBw<^%svn!AJX7$i_g>#3`EM)Ds(1^X4w)9T7 z(#tDljLbL!xIWx{dVf>=Yj<9zRmbe2H@%6Okr#>lN*W+L)zi+Ijh$^P69{|1%~wzIzt=y!l+_)#T@|5kE_CeSFH5H!gQb zYiZ0Ni?yY8+o8<|ia&sVL43#MCM5VapFWqK@$%G>S7kQX>ddAe{&3GkV)u$OWh>To zw=-KEp zwwTbAzSZon{Kv)J`n7fCe5mW<7RIIg=Hss_4ki^k9@P6bg?UY>f0M0WMPE#<$zpEZ znp!A6af{)Jm90F>e0CwNO^{1^F9^_8Dq#B74*PrnHYvmgFpKJAdI^ rd`({Qn$^2^?bW=RIAUUW|~-Kqd`J;IC86Lr^%C5giLX> zOkb5lp~Ix7%BEqeIFqrEX0AY5h*OZQlWMR@ezbLttC&@eG*X8;V3|j%&76I@Wt_a6 zn!1ylyN#d0r#^WkuF|2e)0;|sNqM+jON2RYrD0Q7fFcD7Y%sYF6Jx`M-Q;IiOlQutnAf(2TqQj3rcP*>Wm#@^Fsmzr^fgMGMAFk4w zcD7SVh9+K^P+p2(a;{)qkWpWxJ)y#uqr#F-ghfVqK9{wTW2i!=$e^jrq;s)VQIjlf ztx#N=LX@(SNPIn3he=qBMOlzPnYWcwlQmY8KUJABXQEG6m^q@ws9Byim9&+1wOXjl zmaWm6M}sY}%AiY#EThGero)t=!J3k=m!`>@o4kiNc@Rs7DF6TeA^8LW004ggEC2ui z0JH!$000O7fPV{pgoTEOh>41ejE#{YB>-U)5b5gc?CtLF@bU8V^!4`l`1ljyC4_8jT(~$GNU)&6g9sBUT*$DY!-o(f zN|YGzpT8Scti0IBv7^V2AVZ2ANwTELlPFWFRGIMx8$wdV2zle9rp=o;bL!m5v!~CW zK!XY$N|fjuA!4M!6w_vniKkGbN}Wozs@1DlvufSSwX0XJYuY3wR7Fi1FkptLUCXwu z+qZE4(BTJr4c`^+e7Iw4% ze8El>C!j-%9!C>oFt6t5zwd>cfqu9Byxla}nbY?W!&AYen-@txqCaB0+o_zM{=bwNED(Iku61pV?I0#8W4ls=1=%bKED(R$@R%+>`m}aW!rkr-_ zDGV^=K!K2q!Vm`!JV2r9s;su^>Z`EED(kGY)@tjmxaL|bs&RmtgOCSM@x>Pk6l?6U z$R?}ovdlK??6c5DEA6z@Qadaa2LMY&7-6j7?YH2DEAF`DmTT_0=%%agy6m>wF1OeU zSq=a_)NAj(_~xtczWny<@4o;CEbzbt7u-WLCCCc^8wE7%@WT*CEb+t?S8VbB#TaL- z@x~l?TmTyYBF!J(MTt)^wLZ>?ex=7KP`qB7)Y`6$WkoeLJ?ed?e*7Shb{KlWS4FB*=VP&_S$Q^ zuz=M?f2h+2QK*Fgcn{o-EzlWg&8dn;rQc_M=tr~lvi%~ z<(Ox#`R1H=-gygVB<{x)5tPxw1*oU4`s%E=?)vMn$1eNqwAXI??YFm3Mg&s`NqXri z1TXyX#20V;@yI8y{PN5<@BH)7L%%!kez?GU1Q8^l{r22<@BR1ShcEvB_~e&w{`u&q zpFZ}ayI|#%@W(Iz{Pfo^zx#jG!N>mm_wWDz01Ti22S~sI8t{M!OrQc6=)XGr0Sg=O zfE(PTiOrsjt$i_Ch@r`hdqa5c*M>&E(2N~$X7x}<|FzVn5Aqb=( z2T9068uE~cOr#iJY3-j2uPPd40Si|E z=>B5B0U6Yw21p30NJmQ2lA83SC{3wKSIW|sy7Z+mb?HZCz=0TS6b&7fflhbI)1LbD zr$7y=P=`v?q8jz6NKL9zIe-S6@<9)9*a8PSK-H>R^{QBq&8k+n%GIuV^{ZeFt60Z6 zRt{_d4tm&M1@th6Eui47aE+^6=StVQ+V!q@&8uGb%GbX7)vsF^gB~iN)(S}A0fC%iG*y;SYfT06TbrLLdMD diff --git a/themes/prestashop/img/button-medium.gif b/themes/prestashop/img/button-medium.gif deleted file mode 100644 index cf429515fca19d41f9a82632e11e6072ee5c9bf3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2521 zcmWlYdsLGJ1I9O*Fs?39AS41qCB^b16Cz7Qk*nmTPmAaisw0M0l%62;^l?#G2uP`b zTw*X_1IDf}#@NQ*-QL~z?tWp6aUU1seu+>%zvs{A{Lb^o@0=$t;aubg8M&|%u=Ok$ zAhQa@%0KFG71gbTUNK9crE}z^k6U~Cg*Y0hF$}2;BWnGSOg-4vP6CyKpu#Man+L=e zK&`Ai{(izNFkwn?t+F`WVw5DOUP~ATuQfbXfolUJZ()#!o+c;z#RX|3bSgkWy zx=1v+Qf(d@Gg|D`^;i~%XBZqen1_X+oXuBCWGaDJ&E-qz99eH4TcXejMY7*(n(Hxb z)NTg8gQ(FD0(_BqXaZDOySf31#!l`NW7-IEt-ZLkqNlfy+AmXT%!F^P%Hhj9dO#*$EmYci`T+BwRRI~EKC4&hhnWI{KmuuvHmO3(ms=h^ zYoC~M&{$HvX|Nx(5J)-`oCw9%M6h`|<v~+aS8B7*m0V=I(gT0R%X`(2V>lO>o9Ft9LX^~&0q;;XXgfZ60XEV zWhr?wiwrVh+Q^XBMCcWD_k(~?!4oOuDkF)?U~`3l)KY^X$~8mvEtEdKo-dU4^P!Tm zM>2()LI#UF7W9W)>Ckt6M#~zKzCW|?)SHFh21h!lKFfh$!G9^EcMbMt zk4YPndWl0laNE;@6U9NUF?-8KF2^v)BYd>?k^jgUlrgZr3xR8cQs_W@Bymy6D${oi@Nl z+R6)GO$H#2zQ=_fctRFn?)zjpn$QP39L;4XW*pf2&YM%=FCDifaF>&XytewEXQpwO z;=?oema43o_CG%^oIbF5VUN0#EZROiOYqESD)wiuU}uS}wV7EG*ZIgCS>SVXj?Bhq z?EEkXmR}sAy%7AoTX*H=^B&Xn&gXRN&$CDOYU2x?VL9ZlV^3LNTwt%e$^KXWg6POR zYsGMLp1m>IIp6P|2Ebt!$6?^e)exE+3VDdI!1IWhTi~PO!WIR44zUu$ud?qu)p0q5$44)!%PU<8j2z8A9)0o3rF<4&a0S^m0BiGZ{J^^@YIx&pg-V-K_6<>dzZPBOs2o(#s7Q2tJFa$9({M1DPL`59E!b{vp+f%^%$D`RjxczE>)em~-l!3H&tVEnQ&*b(6!>!yQgub%3O2~I zJ@)y+{e(N|`|jQ=a0#b)T^zT!9xHE8&P>$ST2|U3740cGZkI0--trF21p=2xJg*T7 zeBX=jxKu6GwMDJAUnuYR6ql&)IQ-Q2=E8%BB?_2vZv^op@{F4((Lk+TCEPgQnQD|8 z=*-owZ#>Tgq%1thm|OIF6A3%EMk(TKu9EUS3F$6LCZ7Kq8GW8`Z5>_)yJz>it3&Lx zzLtLtHA1aX5Uxka%*wnq8pgBhM%+X5H3avKJ&+(UAszk^8t{)nciqZN8nn-!wppiOG<{|YMF8BYe?yZJlzhL*fmC9_UOt@lCY#5=g8p_$Zmru=B!&M>ILeeN|U z-)L^+C3w+N?K;bGo|I>l+18lr?1ggDFPH!2g-C-r-POUIKfZ{Jh3o?`FLJ(1vVF(C z4K6Z;TG&^t43HgZE-3@+_7X=-cJi5DXLvUG~?OfYb akox4S-_d21vdrW$fA4VjEF=>4;r{>**|dHD diff --git a/themes/prestashop/img/button-medium.png b/themes/prestashop/img/button-medium.png deleted file mode 100755 index 061df6085f7d4d5f168bcddbe459e8a29e201eb1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1733 zcmchW`%_Z~9>wEewLmQaJ1W9b8Q4 zU}04dEU|`H5<=cD@_yZWb8~ZZZ*uc~69Q3U?K-$nmJTy){)#;_=bV`{-=DrSpF2m& z_AX0VokAj!mX+?KlqdRf!rNa@N@V^dXP!h#A{{wcQLIOUpb5X zaYSylv`I$fLM4jZeQdE_4-<$jsDo@jJYir~ryfK_O2p-lY5)sM0xJLl!ow1|-WLdB zHh1SEs?{~B0No&Bb9lmL%mG;Z?T?0H&n87Gv&$P$!hSYS^ziYJ+F;h3eFBk8qc`Yb zE1NHSKppPsW#HMKCvN^@vpnjUiEJASPR^h3p)OfhPrII-A4g8yk-eu*6cC zLIq$j9wgimxyI-TMxFi%+Q2aG4Dl5fBOVHmMs$Y6K0#wC2Zm*XTqTpI5Ra%`i6>)z zZ*bi04cqJ}7-+W3b+`&7e(Y!K0rQ9!mCDqFCrWt2tq+;FBghcw z`UZwIP~sS63)KK@Gub0LlLs)nK_hA=LVP)*Ho8C(Iriy`RCG zjK^gv@TZ?%Xbp%C@d{PA0rjIcFOAN(IlSxVQBFxB$qk1Z=nOwxbv!km?^k?!R*V28S;c2iqDGNYq{^FZ=Vt|4pRJkBY|<2qu?O z_EfBLK-khe*Eg$3kSI<`wUw0g@tmw!*mfrSx z&gPuV*>L#qRQOryhfU{Ce)DZo@f+OsKisIjKz1#Dzl57bcBkH|eh{yu&<}licjdc= zTvqwaC3nfh3tsgXiv@oXVO#zCDdH2`u}X4n(?0FOrEEewYhSyX%$Qn#DE4?yM_wn` zwL~!A7mB=H(Ri`-6?vsJxP`T=g(;n^Jg^p=ySeCrhC!YyTk_V^B5L=K*$rRi_tgrJ z_#N`XZ?ecczTbc9(NHt5S~&4yey$fybkU!uP71 zYnqxM<(j8+8K1J5t^0@%qN!7~}xf(6+U0)A$QhRCzcp_O+3?R^I(H6Nvc_diQp{0XmQx;pY*cMf=> z^X2oa+}#sH4OMgRfIGKL6}(+nH2vSbs+Kpw`cd=Gqi1(d8#VKRY|!=8&s~A0ACrCA zQ&lv-r?XPdPa+D}ADT%5lgpQjTN<0UoLOF;Os+Lu{#g2Quk&2|_x+0mFAitMdx7R# z17BP>7rwg@&FfaLIQq+)C+uu6<@`|Z(X901n{@MLerd^fg^j8^$dzpyHoRJv@>*t7 g?y353*UtR*=UiV_%jpdV6D*QSi_0k7!jm`t2f$}N-T(jq diff --git a/themes/prestashop/img/button-medium_exclusive.gif b/themes/prestashop/img/button-medium_exclusive.gif deleted file mode 100644 index ebe67091fc99cb9e514d81c489298db815703b16..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1860 zcmV-K2fO%3Nk%w1VR!&G0Oo%Haj{=qnK@>fSbw>1Zn9LX&!cjyX=S59LUuS`l|!M! zq^HS~RfJ4hh*NR1On$U=r^=>bsyL3Tm}ag(ld+IpnnsYVlWMR@s?D67yquc4lb^w- zRgN@LhdN4pNlSz|Z=_;ngoTEOh>41ejE#p+OyO2wkZ##7&ToAVZ2ANwTELlPFWFTq)AckP25cR#>AZh0U8dbL!m5v!~CW zK!Xa+sb&pKLRQkC2@{5h)2C3QN}Wozs@1DlvucGJ22C0(gjo3Ca6^dMvuM+*UCXwu z+qZE4cgW6PdRySDAyxO2l+k>fNW4|-OY7*4#n@#Dyo zD__pMx%217dF%1;+d~%wMzU+)&b_<$@8H9WA5XqKcLZHLQ1_GGI)eA`LfrXD}kjAnBx(R%+>`m}aW!rkr-_ zX{91eZ`EED(kGQia-Mh4VK!*0lfC=>#x8DE9|hu7HjOW z$Oan_u6_tW&=Al@EA6z@R%`9G*k-Hkw%k^WkpK+}uu%ZymTT_0=%%agy6m>=?z`}& z3lq4_UXg$cN93#TzWny<@4o;CEbzbt7tF5<30y(16;|Yt2L}*GEb+t?S8VbB#TaL- z@x~la>@dR(GRy)CP?T))$tb6+^2#i??DESn$BgpGAp4O;17@($!OlGQ?DNk+2QBo_ zL>F!J(LS?aMgv(icr(s1L@o8yR99{F)mUe(_10W>P4&`D`{4r94K%>O*=VP&_S$T> z?e^Pn$1V5VYL|Vp3ms~x_uhQ>?YD(^|3L;Hgcol3;fN=$_~MK=?)c-7H%`VMTV${S z8*D(J`R1H=?)m4Shc5c)q?c}b=a_Gh!4`a64nY-F6d?QTwAXI??YQTz`|iB=?)&Vp zL%_xcge$;C>?S0y{PN5<@BH)7M=$;K)K|}Z0adV}K=EH-(1Qt2gfIU8_~e&w{`u&q zum1Y%w=cd4Jz(&~_IxPNeGf^Tp#T2-_wWDz01Ti22S~sI8gPF}h~NCUhXD-CAqfzS zpadsK!3tXNf*8!81~}IqZRO64(O;sL+CD zI`f&(jHWcFNzH0n^P1SqCN!x)fjvk7nG&!71;$Cva+>p;=uD?N*U8Ryy7Qgrw15P@ yc?WsU(*pR+r#|<|&wl#zp8yT0KnF_Dea?mL;yT=vzG_ZJop9 zjT2&LxlLF*IctOGsssm^N3w)oV7G+ z{{BAKCN-a4jfDp%y4D({Ec9vEQeCwvZ|#M7fxR|m+rl$fx3)? z!Me`F5+?#d1J9HKw zowV%ml=QXkkrV7aYHTNMm_B_|NpmUC7cFENkd7HUoen6kbuF0)jOSm zfl1xd#W6(U^3k)|(U%fr8a}Fbs$Od1$dG2w6cJsQ$XX=f<*IJgzClr#CB!DTDP8c! zzFp^y*R9)kuztVz_uJAl*RAA@QCp=Y(%KL>CCD}S&t7hx`O7P89>^bl^^w`g@AKZ* z?hDpc*UakqTJ~FUMOn0Z^4<#>dswe#h?LlbF+F|!eL>%8#-md5vin#{D^hx&Hvi50 zuDs;kzs8>9hoUTgGX|MS#|fXXC<^?`x~fW0@$uQCpQp}W5Oz-7d~KoKPtFjd{NBap zKc5%}oc!ZErDyTlpXV1miw?9gi+aM-CBvH%w%lyRtP?RtIU7=x4AngO5+;cVPgJaw z=~G`I!`Gjpa5&g!Z^KkCQQL|bpQT<)_cwT{)*MUD+IzW@Vb$fxaft~E;W4~+@cA3t*%$=IRTHDt%^?+;wW2#wMXS_qFUbfEZ#eou6GE`1qixBwN zAjFcr$MJhBhsHwx{D|aT|D{6at0hl7_WbvP57WgaYD$?2_@=z`$=Q&sG?h1VmiUxq ztr4QWPP4Yhl{2lnzBekPNsT+|?o5WKYqGgh_8eWKR>$nM#why#v8m4+wEiDI6Ull( z(pZ}RarGJVfHQG59mn4oytDhs_~MAH{HAL=cD`lXdUsCm&1F?TMK3J9m2$FT=IJLz z_ZgoSN#@P$Dc{LskT<>O_;S;Cni}iMtd1q$zY$-}y6Tzy?-Mt~zc6$E`tXD6x;Tq# hTlk3(b+dr8(dXg=n-)w<{|QXK44$rjF6*2UngFR;STO(q diff --git a/themes/prestashop/img/button-mini.gif b/themes/prestashop/img/button-mini.gif deleted file mode 100644 index 53cc95649333bee532014a719df984ef690b1c31..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1877 zcmV-b2del-Nk%w1VIBZB0QX`5!OPsl$j*|Rr;eAUthdO##M8FE%!-qxwY$Zqv&Yib z-OtwH(be6{(c7k}ugA{Y$IaQr%-O%l+QG=xyTQ%9!O6M4$*;G?s$%w7AaD)R&y2k(i>|-sHT# z!q?i~&eY!2*4ozFvjb#>=g*v#6@B z$;;28rK+v8!O7C#$IslbxyZ7+%Z7@M!N<|g(%H$-+_ks4pr)+A#n7y@!OYX(%+lSK zovGpD<%^c6%+J@=+Tz5?(4?xgz{1AF%F>{!yQQwXv9q|v&Dy%d(VL;I=;`T?nW@6d z+MA%Jvbe*yzst3`!PD2?!^hCd(cQep*2>M(z{%Lb%G%Y~+rh`rzQMwloTQwjvAV+0 zxV^}^yu#(@=*`g9n4hSyxyiS@#fy}qnxChGjhwN%%d@-5)Y;+3(BIVA}4x5Ki$ z&c)8&m7ArkvbN6B+tbzAwz#^y!_B|P*15pV$ji{Vz|Pg#-_h6JsIIut*5IeHz`4H0 zxxmZ1zQwGvy`ZPHz{uCs+T@_5tDd8*&eYwwz|g(M)w8_Hw70##$JDjH&DY%IzQfGW z)7Zw&-O0|_$IjfNr?0!m+0WJA>+9^^-{8N($=BTC!OGdHwa2`|&)D4K*4Ww7bW_#m&OT&9=C`qNJ#GKD1ugAefVR>gw2~cbKW%b=ff*21Rvo- zW-b7eqezn~MH;{yGF*=ck|0z89KI%4vufR%6(6_?gh&u9g&-F@G)K~^UCUN28g{u5 zlp>gcpPfQJ^6K5omv13E{4x*}rRy89b2btyUd&kWIbz>*i6R(^mbi6na%kSnx$|Z= z>%`FtMR3;{N|WR{SqSLKFrb!8ig0pbE63z5Dm@-3LOIJ`TY#0|t~R z!K1(b{{Z^8Uw&iwqfa9T9Iyxq3^wTCgAXo}U?ci4l+cA35_E+aVx-c~haiS1;)o)q zA_f=XI0L{bk-Rg-i!jD0;}q{iatZ*>gu_KYDsu3}0!subD9=*9#cXp=<@$R?}o zvdLzlO$QUW@nJBZc#sJhH)N~rw%lqTm&~BQ?j>npk&iJS zIue34UEoo~zWny zMgtjf-Kwt?2C#Ycf;fN=G_z4VH0)Z<-PXK``3SjfY<(Ox# zIp)|Xpb7*N3|&kImAK$X3aF>9`s%6s;X)-H6f?9D9%z!xDnaC~`|iB!zDhEhcwofP z`LwgmA=wb2{PN5F?>+bF>|sI|u?$_u2LZsc&kO9g z@BaJk?*mH!AJj4QCKQwt05?$d@BjY*^dC0@P!0-gVrV3=z&-5Yjv6@dfe?(~1KnYd zdsu)3L%RSuEKmVy(BOk0450`?D2)nOfE*VX8U`+a07cva1~81F3}+a_TPOkn7r?;K zG=PCol!6XQ2%-=&he$*r(xDWiz<>t+!HP9#z!n+sf)}Jf#VT6yic*kb25g~$HLzl7 PNDHGFhqeVV1Oxy(%+EG6 diff --git a/themes/prestashop/img/button-mini.png b/themes/prestashop/img/button-mini.png deleted file mode 100755 index 8035b7f2aa33f0279d8592432ad2a56a0d6cae2d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1703 zcmcJO`BxJM0>|UAEoHrEJr==sfr_tK;gu@xV=2nvR%*d|RG$iMZ2@a#-D0II)u*f0 zsvK%X1SMz;34sujkb~SIlgVUeGMULtj!7mL5yAsGYP%G7+ge=yiT%F!{eFJ^{_?r@ zLCL#IW7o#ASgfT*I}7*D^VRug#VnfNu{Z`}u@i2#fitA)Ci&A#`TPz#ySC*d%I1riE{|c0xAF?F%>F=F&`%W`@iN<@HCH(5TZB zuoIMS(CTn829Q8;w+Tcc*sjtTaMH`>bjcKIf^@gCJHKz^`omGZ(d_ky33u2{`{_WG z35`%LuLYqD5CwqN0VC$}4aqei=^eJB1Z2hfB=T;d7{wf1zOYXLpw0;F2ud}GOox3} ze;t4+!pWdyP^r>zxT#ct+WkynNS~K^Lu;& z0CpGw^Bp#i&Fj~iNwopd=*^>J<2XsTJ?NHdP?a8PxZQd0f#6aTyI+gRb*P(p1d~H< zW<)5KcZ(Fbld(Gku-ygPXcVV0hgYFTwHDe4k)Yi_2sx!%JFizQkm&oAW)0|(sz8~Z zfQWEQJ6|LlAe;f0hZ#_7^&mb7(;5?wV5G)Gc$gu|8}1gXDLNwPH))JkjS15lA(70$ z5hzWF*X@sTc)j;KMT9$~HjxIaN3ORiRE9y=tu*4^VAKfONte$`giyi<6Twb_L>5}R#RKL;yfHslJDw3+1 zKv1EB0SGr+@d34g%j?A*Zpu3>k*N(P$c#8GRt#}Qn%TW=9I;3uZ@J4RT)~bmIbgvI zW*Z3EbRc=9@dk!d{R6+JG#g?n-;N-yWvP4#7NJaTB$8O2onSl)r6 zoECCB-x8YrB>)?q8^8S(9i7~;qw)N)Oo?%8Vff>U%DJr6;9uXz%bWjjwMdpav#j;Y zrr6D5-(=F$gPUU;IVtZ=Y;!$LQ8;GT$C26IXzsIj{`KtlKi3w&m|ej8d9tSr>5=f0 zL0W|y(mTnNtP2mtCsugL?d@^nUoBk77$@U~suo=M ziX6CjQL9Z@QC60hcO?CnHK}hVX4bxtWHujt9#df-#oChHWy?OUeZxF)BKgpsZP$xu zQqmeW&-TX%u5};2HeFy5?Js)e%9p%^zVFghNi78jnw(@fov<}>J=dPN;FxBk$A-`Pn?1pTgW_~phiGQT>b z_`@YDR=HZM^GPD}i%{3DIM>N7@yEuGsXQao2U5QNX+rfN&s);QHfjTEW1 zvij(TQvkOkep&I>d+Xa(OVH+yioz?a`7atsf79oN7;eL<7;MkaOUr&+%q>2jGJzzo zYyj6ZB;Q_sBjdIDwhgI8L$}V>oV|DOmWtQ>GX7FVXi{`{cD2PnB|4aWkx^4ndOnw%ajqckwZng#2u~6C&atU8do#%`UwD_MI||YhN)Ps4$lAaA zbA+jnZhpNxA%FMTGYO<}(c{>E{`U8Uzh1a}e=L$+PVRFIFHq=Sn4XJ%TK@0cVsKsd zo~N%&hmJL`Zn9NMdr4fGIZK2&Z=_;Eb~vQQoO7&e zdbMLhd@85OlU0OFT#`JMvzc+TOk<(jx?dckwtwnREa`T zhdOPmRC26jYOqOtx@BaeNPx6^VUk#zyNzn6UR#?*K6xar(xG{{TvLTYt46+qr#F#c|Kf^O_#NiSCC3;txj>VVsETnQIjm9 z#i*3Bl2(UFSd2welQmY8KUJABSC~1b$(mW7HkGuMrN))8%AiMsElh_gS&%W5?EU8m}h+6h!FW&AWH+Q>pN>>H?&=@#Dym z*Sdul!vhyWqD!Any}A$=4=^-8X03qt@8H9Ommy8NA1Zc67+KH0z5Dk@M%bZ(m&ynR zBrNFP&%b|v5)6z$pC2?-K>`R%B>m3^E7;302U57Y$m#0Y?fLW~kwY8(OG^gam3q z1`AM>XyS<|qR0XnAL1oP0AqO6!i+T5Xk(2mj1hnwE(QSO4nPJe%><(FWF31%CAU;%*yVF;k+nryb|rT}3`0090+o_r1frvzOZaOVIy6l&<9h$4!o00snlCl5I|A?c))Ryt`8JowotAA&l- z0|B6hD(a}C^56iYfokA@1EjXv>Z%%Ss)q(?IPk=+xaO*>t`4N3fgW8#Fslc7Bw_5a z$R>Mi9v=J(L9lvE!G;IaR%`9G*RnB%9?$Xt0R&TEF-H^RmTT_0<<5b{6yJ6kLIgjk zpaK*0)@$#*^~(E01R=P)2fRN7Ebzbt7aYMJ{qhmQ8e2qA!^03qEV0B9Y_Uc?!U~ii z#uh?pB`DCP0t%Q=!pbbS?DEScn1C`LbjXad2{`Ah^Ugb?oH89{iYfHa KU1IS^AOJf*fj%ez diff --git a/themes/prestashop/img/button-small.gif b/themes/prestashop/img/button-small.gif deleted file mode 100644 index 998f601cadd10a37ec5b6de7f1ba990f011871c3..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2163 zcmV-(2#ohfNk%w1VLSjf0QYGC!OPsl$j*|Rr;eAUthdO##M8FE%!-qxwY$Zqv&Yib z-OtwH(be6{(c7k}ugA{Y$IaQr%-O%l+QG=xyTQ%9!O6M4$*;G?s? z*4on5+q=KUyuQND)ZWa_(b?VO*4f|0$kD>c(X+Y3x4FI0*W$&-%h}!KoS>$%w7AjJ z*V^9X*V^9J+vJy=qrJn<$<5Tj!^yV3%f-jc#>vj2rK;1|-_6k1&d}7Yud~n7*}cWl z!NbO=s;;fH!N+~SsZO#nQ04%(1%5v%AT%xWkK-qtw~q)Y;?J+TyCNv#6}J&C=P- z(%Y!6xVXU3$<5Zw&)4DO<+QxXyu{Jb*5J_7*uKTkkC~~}*xRtT!>6yjxx>|#oTRq6 zy2#7Wyu;1D!_2w9#+sj}psKsGyvn4jxYXL@x4gyP-{8f~+MuMXtg^Pw)ZMwj&DY%I zxxmhcjE~07-NVeUd_6->({VVR|A6w%_xGdEWwM1t%vX5z=I1PPQ3VUZ1Lb(az(Hi zuSt^7HJMJmy7lYWvumf0PSPY^%?R56OSjEIl=JA*t6$H)y?gZzwxzR2klr9Vv$Q4I z&%eL_{{RLkAb;A-LdPKV5G05j!>ker4-iHu;e-@cXyJts2C~X9ZU{mUC;|wOM=3&- zXyS<|rl{hIESgwK9wCB4&>aH|P(leT+*pHz@@4I2Rbp$-@Q%*jC(3*_MFqmV`_>7ZqiaYU-(|raI~?#$=(31Z0Z;!$B~R+_J;1xaO+suDtf@E3UUd5)238kO_zwokUX1 z56m{}?6c5DEA6z+786M)VgN#BI9~+wNE*)NJ$3IOnYM&OF;}#Tp$v@<1I^gfIU1<-fe?(K1Si-) zU)17a(`X(wAW#Vgn1BW#450`|NWv1D@Pr{W0Rt)l0ctdF0ubnh0+0cO8rtxNILx6A zcgRB2ds$2!{aj(E(Y9`{(sWQ;=@<;X|#aNz|M z0OK7@NTebc$;d`J@{y2KSk08X(F8F=!OpbVubM@h<3esUkD2*3xR z(Y#GifE@u?Mha$0%Uas__2u-L$7s}9vIuxOe5XBiVpn-pwLJk@jLk6&b p1u1y+qaY2bNJmQ2l1hQ285n~GIS?{GVjcN3@kcNN&06S`z*319^ diff --git a/themes/prestashop/img/button-small.png b/themes/prestashop/img/button-small.png deleted file mode 100755 index 16f58d0bb0604cbebd6670be1440c6479dbffd81..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1727 zcmchW`&Uzk0mrk6*0MSe&La~QHGSaDS~9ng> z+Xj??fIJe25(tDqLLTIKliVaX_m$k-d-J%tc_IWAu~NlHw^kj0#lGi!zTe-zzkR+d z-M?p9a#}Kn!&z2Tm|wQAe_9}G>7s>}>672!a29b&_m&rcc*KDaE!~nU*ZO5z#N_af zn_axC{Td@AQNeT|>IvMW{85|=4-Cm+A`H7($i-Ta5QzAVpc?>Dy&08jA*sqftg?#b zAmt08WX$OfK$zd`AdEK8xP{OFm|TY_4KV*&pD!3|Y`ppBCg=m~ z1nTx#?dZ4}hhUczC2sUfy}`JfWC+qXB3F65EC5lU-8m>79Z`d@CxX%w3Oz#5EC^FF zHR$qAT;g5PX!W82nbL?`Ard7cYApadaEyvd#;jgHE7ia*4>O{%$&|qK?K`l`i<3c! zh%u4LcHxl05ippch3o!NBT58&`eZN>@w4%U_Q5d?(AM3r(Su48VFqm$*az4!Bh1?H zP`7B{s$jVL`iO8qWw29vlg*9=E?gE^AX;H?jTvy25moB!4Xu4X_NI@W@`om+qpCrf z+D)@AIy^Y4(^*N>9l$-z&8ca%2{kz=DlkEMgJy_q>KyV1!wRikA~)&n{&sX6LgqjVqPYOxxF5L++_1~^bWG&NH8)*F_Tt=2?S##%^)rxf_bbqr%0l4pd@I= zv=$t2`W+Z;at17LU|a`i%x;*BkEwKeD}F;f+$WLWnVD(p6wJ=vv)E888U!&G#6oT| zfY1{*gmyS_g&vj3RiXifOzR}P5fF0QVbbPwyFEUcLMK=104t<6!X2Vf7abLd$LtVh zu#rYPsRIz)O^uC%?ZUn@=gyBPl-xP)}7X9Z980!^%M*>re7Ctn!kQz_@(|WzfU~a zkVY%^)YbtnE$bjW`gQ%L7J4`D2g^?> z*KYMJ+LY_w?3l~x{r2Z?do;E!uPy#GcQS*^_2BejM41A&WD{*IXg@10Tpat3Wn z21@wPmS;faqr0SyMceKz*S~Y{BwPE7mf7j#L#c`CX>*ypv+(`?vzVX1ro43}?&4!B z+se~6lqAn9Xw6Pq^KfZ*Qg;5nI9vU8OPk7Eu{81H(hEuOy22|jFG+d8-?8_^8etYU z`wyoww(m3}XO2BRokEuwZwnguGw0E}tJm z`CY|zA67kh8A>hst|SHf8~61Oc)>S%O5ZAb5^0(odQV)>rP>SWZSxmjo#+4g>;DLk ztl%Cg`%8VfVcpQ9=9c2$Bkl&-F3_5JXlU1V`IphjC$EUZ ztC+{0-Q!zz&Ht*&qN&81CGGr-?M#iO;_@S@@z#7&Lh|{oX-ggV+2*&kUnJ{e{PyQ{ z+v#{s*P+}*{^Rv(#@qb9_uODcUKV9KaR*-|&irQcKf88TEk9CS^I6_ql3ZK4J5Y&F z=XP9pw4vn6$l|~6nLSwTTOl6weN?e+#i_YgBIRiM@%70~lC$}@eYtsTvH0*i&t7_H XHD6x6F*j+!LQYY^{`}Fr56}M(R%}P< diff --git a/themes/prestashop/img/button-small_exclusive.gif b/themes/prestashop/img/button-small_exclusive.gif deleted file mode 100644 index c56c233610a558599445a230014b84c635e8023c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1507 zcmV<91swWENk%w1VLSjf0Oo%HWurlIt7%=9Lt&~ocD7Smh*M^+KwYIXf4Og=!=!Gq zRIAUUT$wpSb~t{tb&ji;V3|j&%$;$dR-C+?r^%C=x|3CeOrOE3N_$C4f;n!bVR5re zqsE)3%BGXCkdUpDYOqN{d@59nL{*M7QinQSl0AB~W0tj=eY$0vyNzU>P(FDiZmvkK z(xI=@n|ZigQ<*D8f+m-?j#Gs~OpPd^!I4FMGHj|mYBAZrpTaMkW5a5MXAlBqr#F#c|LNlVPKJ1WtduOtxi#sENP=xZ>wBt zon2OkNv6q~Q41ejC}%sP*DK^K$Vu4n39SckPzC(N`^KumT29|wX4^!V8eEe(I$fxLRM{rAi}n- z+qZE4V#v|}iQ~tRBTJr4xpL$NSuiB_ zlX-E2&!9t#9!c2p#1qG!H@0RxO3~?&AYd6KN9|w(2yesg5$`O zD__pMxpU^lHI(p^!@+SB*t2Wj&b_<$@7s?%$YI-o4ihiZt6$H)z5Dm@+nX?u{+@OJq)}RBxk3a?~`m}Xk32x%~C zn;Hd(Ap!}cmTKy$sHUpws;7z|MgeMkT0p2X)N1RkxaO+suDs&?YH2DEAF^_MDPa|6I@V79UZjm?z`~D zEAPDY!n^JT6JWuIx*c3`#R32aEbzbt7i{ps0sGrQ9T#kyKpp?KAo0W$S8VbB#TaK? z@d8)Wk$}TgT(Lt7Pn2x($tb6+^2#im+`_~e%#{uFrJ z@j&(ueBiKtR>;J+301Ti22S~sI8c=}xYu_BsMXm-q@PXgL J!XE+w06Wbx@-qMc diff --git a/themes/prestashop/img/flag_new_bg.jpg b/themes/prestashop/img/flag_new_bg.jpg deleted file mode 100644 index 7a5e68457e7fe155d48252b19a25f920bc6afe7b..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 359 zcmex=C5UDGKfoZ!!NASH$jm6nz$D1XEXer(2tzW^ zVL&$`0d@|MRY(F13~U^n0t`$H>?ndPm#3(Priv{S1cn7OC$bbHQ=szV#EBOt1+$2x zi2lFDz{AW4w2@hm!Jc8`clNyZej6oDz7u<;zt_Y0X5H$|dWyC7(wF<6mcC+2jSTpI F695XxGll>F diff --git a/themes/prestashop/img/footer_account.gif b/themes/prestashop/img/footer_account.gif deleted file mode 100644 index f8126d010f3ebc6304593f6ab5fe460ae863c113..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 243 zcmZ?wbhEHb+|R(qaD;*3|NsC0e*Jki>(F`o?rl0nm%Juz(=J+VSN!wYhs_2>tE>xG zTNf_zC_bTBxzxS*m~`pofT@>#Cm$6nTI621$fIbnXE6g_p!k!85u`u|M1bsMU@drX zI3y)=UdF0*Ij{E>=$zm3#^h+=`79%Twgx(CA9mFEt-t;L$DX?L?|=VqsNiDD%FbpI5bEmg>Fw*EFmcl4 TDO0CSpD}aRB*B<$MFwjCY{+A8 diff --git a/themes/prestashop/img/form-input-bg.gif b/themes/prestashop/img/form-input-bg.gif deleted file mode 100644 index 5aca1c7241e35fe56fed3e5eece1d5d5994fe572..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 93 zcmZ?wbhEHbWMmLx*v!Ci;K0F;pFY<&G<^B;_0#7sSFc|C{N?NCFJC@?{=$F_DE?#t a3+sSLkQodtTmcPC5UDGKfoZ!!D!6D$jm6nz$D1XEXer(2ty{= zVL(^H0W%8|7t}Ji7|;_;%q*+|42&#Hj4aFuaYn&Jp$~x@3mYdc{KzaU2-62wA;_pG z6v&iVsPz990}nGJ&|YRi2789L#h-tDX}|FGSLO1ji_Ha8N>aAV9CCNO$sI9E-6^krCLOYzX^nBBqwC4vSIZZm>v+dgFoN`}j@)vO#TlEs-um?H29~3;$ z*`R13?s@L0JJc zd(x{rtkY^{J&J!|eq2SZmUZ#Xw7)jJM-RPVcG~3e+Rp7+-qwS+xFtWCt6tk-tuoEn Jv}w!#n*h!TfA9bR diff --git a/themes/prestashop/img/header_account.gif b/themes/prestashop/img/header_account.gif deleted file mode 100644 index 082590bfc568f2e82e548f6779bbd436beff75a1..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1231 zcmV;=1TgzYNk%w1VZQ(w0Ok?^^s&+LoW$BYi_v_f`Q+}`oVe??&iUTz`||e2b({U@ z^8NVw`}g_n)!^%Dr~dl={OX8QId-luYP2+Ps3~Q~M1lYR|M~It|Nj2i zW1;@|`}b|G>sg@s@%86lpWZ`|l`{(iKxX1U+wZK~vUs?U?J=y+A^8LW000sIEC2ui z0KWhk000O7fD(c&8-Ip}h>41ejE#9d%eEDz`?@9#Kp$P$jQpf%+1L&9uh4AdDYg}*xB0K+}+;a z;NjxqU4;@HN-vWd*b@B4^^!4`l`1$(#{Qds_0Qos^vZTWkDgaz0>7tKDAsKce zN}NcsqQ#3CGiuz(v7^V2AUAReK)}To2N3}<5u#CsAw4i-%A85Frp=o;bL!m5v!~CW zJHbE*QUO5B2nr(TG<2t_)2C3QN}Wozs@1DlvufSS6>EqC2R`TsaYqW0HeRk8io>?8 z+qZE4=`S}-Pr0X9Gk zY?6@MP>Sc!qf4Joy}I@5*t2Wj&b_;L?5PEXx$wZqfGo?g8=Awuz5Dm@iEO09uyrl{hIEVk(4i!jD08GHED(a}DmTKy$sHQq<7@MFmK?5tC@x^kZ8bZRYxaO+suDtf@>#x8DE9|hu7Hcf9 z7Hp!%1Q|dfMxL7hYls}wR%`9G*k-Hkw%m5>?YH2DEAF`6UahV-HE!VEX;@WT*CEb+t?S8VYt#TaL- tvBrk*;qk{Hhb;2QB$sUR$tb6+^2#i??6S+3#4Pj7G}mnN&5#5F06Qe~#`FLH diff --git a/themes/prestashop/img/icon/add.gif b/themes/prestashop/img/icon/add.gif deleted file mode 100644 index df08c0b6b93e51661981722c0f8514a8bb2748af..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 598 zcmZ?wbhEHb6krfwc*ekB(`vH$=912x71!Tg%G(kVH#>CJ!D;{h|KELeXZ6nHma`Qn z?jD|VV`A&Jg6AKedh|J_uL_!ergPH1x>Z+Z*X&NsKajNa#QeRFw%&Ys(SL?R!vOo@`xmd)CzbO}%HD9eYgAJ~+Pg z{M4o`xj|EXcHLQ5us1Gwe#oP@52s!2N?8@M<@WM*_m@^4&3gas&5;-TPd_`f_3rB8 zt;sbzvU>JbWv-5L?zSr19Y66%{j}pPJ=a=#j#ekk4L@>c=YvmouD!q3dA_D+YjN0I zm*TbA41*OY{$ycfXJBX00XYy9Ck*VH8`ztgTUuMq-PCz?n5323*d>ItEtxI#Y-F@r zB~Rn^o?Eo|kuo6UtxYZgUDO|~W_8Ji57 zZ309ao-()h;zl^7pPXXjqjnY1_pq8(RMV|6jV`NL0&8r{qZ~6E}y|JFGwb zsBPV)u$KI5cb|urES$3EO2@pt%l6K!TyWScd&<-2ue*1rtU380w0r-B>koU^pNsEW zXBj)OaPfi6Imc(NJ|5JqUbXmKT-~ac6{j{|nc`5Sk~bx`f6JA`#?>W@&t%NpzVyiL zo~_C6-@kwO=1c74gY);@%AGkerpd7EzxW7DmqwPh;1Map3%* z%ruotA(LT+#pA=rv?j26Q%v4k&*bGcO?wjkw~EHiw27Wz?Yl*&WNu8#TC38d z?qO4m+KwisPW3EZ5xM+USM8pNW6!sguZcMFY-8`~%%)?}rH4IdU##svk(agEF?ET< z)YD}N(;c$s`(@4W&zSF#zsa+5dsz4mh4M|IAAY{R{N_mGzS!dZ9_+IMFKZj;Dc<$d05c;p|lUwoq_WuM{q-(Ny^$o~KTpJ5~F7U zYN}@+B?k7L*o w#Kg_26wpvp@ZbTnfJ&f-K~RwE!5$XQG>sLLS}rb-H4{+SurYb!0tW_b0B$(HQ~&?~ diff --git a/themes/prestashop/img/icon/cancel.gif b/themes/prestashop/img/icon/cancel.gif deleted file mode 100644 index fc4c2ce83bf483105c8947cdc9616d09989fcc19..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 614 zcmZ?wbhEHb6k!l!c*ejGQY(-;LoQ*0RMvc@+$E~PH3E@sqT$WL$x~!9<|w4kR!EsH z7v3c7mcg1dStf0keBwmuvNZ;QReZ@)WdkbsVtXV!b2%bgMRFD?_wNmD*leFRQ$D^= zvTeJ2)*RL1RXQPcg8t>adCOFzJH)Ein^mqeX;|+R+8`9xD3rfkEn|*i=i0EMm0A(4 zB1MZ0Tei5aIn^BBFXdmxGviQlM2kq?0?od)aXv-dc}vuG9$nbE&2PfKu#CBi(+?%| z>f7R`tD%sWApGS>247lxw2-2B>Lu?apVbc>=J!a) z+Vn)6c-F}%#m*$rl<@G#Y+iOFqlV`!E{x2rTqX=3o+&m=X5IIJo3T-#l}$l0wB^e( NN4{AW!mLaT)&L$F(scj; diff --git a/themes/prestashop/img/icon/cancel_16x18.gif b/themes/prestashop/img/icon/cancel_16x18.gif deleted file mode 100644 index 64a59b287a567aeb5718a0819acd66ce7441e1aa..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 565 zcmZ?wbhEHb6krfyIF`>4QY(-;LoQ*0RMvc@+$E~PH3E@sqT$WL$x~!9<|w4kR!EsH z7v3c7mcg1dStf0keBwmuvNZ;QReZ@)WdkbsVtXV!b2%bgMRFD?_wNmD*leFRQ$D^= zvTeJ2)*RL1RXQPcg8t>adCOFzJH)Ein^mqeX;|+R+8`9xD3rfkEn|*i=i0EMm0A(4 zB1MZ0Tei5aIn^BBFXdmxGviQlM2kq?0?od)aXv-dc}vuG9$nbE&2PfKu#CBi(+?%| z>kSU}0XB?8zjT10#iW;b1h zyi_J{Lm5ZDwrKNMIc4P>e>Qf;Rsr>TX?AuV4Fv^OwiZ@~dNvaV2G)Ho9E^zqt!%yj OA_}H&P+aK1U=0A?De1WY diff --git a/themes/prestashop/img/icon/cart.gif b/themes/prestashop/img/icon/cart.gif deleted file mode 100644 index e1e1ab4e55faabc7435c8525b767b91f924a5e02..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 636 zcmV-?0)zcWNk%w1VHW@r0Oo%H4Gs-=d2U8VMP6Q4A0HoFU0>tll_~?#0E$=H}+&;^KOGdSPN&U0zj>kB+OXrc_l> zO-)TvQd5(YlZS_f9UUFu;NOCSgexp3#KgjdhKO@>bGW#;&CSh-h=+4@Z)9X*)YR01 zf`V9CR2Uf!M@LEE;o!>3%W`sYU0qd6OH04MznGYqFfcGtQcM+Ab98BRb!uQ?Vr6Az7Z(;*S5Dg7+5G(c@9*#W`ug79+~42dk&%(J zv$U$Ks90E7$;rva#>R1Sa@g3|g@uK|!NJnf(tm({NJvN}CMCYUzE4k2T3S|JUSFA+ znKLspQBhHMcx|Mlq^qo}Iy*U~rKEd%d-nGBHa0eokB^IsivR!rA^8LW004ggEC2ui z02crf000NsfPaF6goTEOh>3!H1UM0jiDzUzbcK5ce_NP;1`vM~O@wL*a)Spv2n|07 zH%kapC?ITw9tkXhT}S{EdH_B_0ApzYbA}u{e+@MjZVy*BQV%C4Z+4G`6<8TX069Fyu7BSrl6ppm6n#0l9JBO&YPQ?;o#x9xVhru z;@{uj+S=ON+uPRG*4*6OI*Voswva-s`%I4FK|~zsAPK($dn=(b47Q<>KSxudlD) z;Nafh-k8)32_s%G>+6q?kI2c$%*@T&+uOs!!?(A$tE#K(>+9p=K|i+1SIw#NXcDy}iBY=ji6<=jZ3>=ji9+;^CvCqvGM>)zsC8 zh=|qI)t#N4kdTnj&(P%Kgnm~>g(!+g@ufajNsqk3%JeSVG$5`2;m4-E_xAPyNQgp7_Y3od+2k~w#mKMp)- zgbJR13y_k0l?)pfAYz=0UyYzwe1m&MX%iO?KuxW#2#ziigL1VKUji9|jIm&>5tMqy`-TD&QfMWd)xqHtfu?Fet)@8b}0q@$iC> zAD{+3I?Rv}fkvDVNCgbYbAUhrLLkIhkP+p>4H5tV=pFOIuaFpoh@3EyK*N%(13Y-> STY!w47-8B(98KC#AOJg;lc+oZ diff --git a/themes/prestashop/img/icon/contact.gif b/themes/prestashop/img/icon/contact.gif deleted file mode 100644 index 72f1de6e63848b95b668c6b46952841eefdd1123..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 616 zcmV-u0+;`Egwt{ zJ3DA;X~o6GTz7oFzP?IKOp}+FLseNKCMMX~*+*n+Vq;|P@9!fcBO4fC=S3z-oT!fBLP*4*gBqv^LNR6Hi4GsVQ{{R30A^8LW004dfEC2ui z01^NY000NYfPR95goTEKBXL-65?P0YV|jg(eF#4@hhR8!l$}>ygij?Qls*pxs48Jg@^faZt_7Yj^OP|!eupch2Q ze7F!GfDtW10?1f1#7+P~EAYtKLvoLRlOWeG&|oaAH<-KIHDfQQMjPHk1yo0;pD{+Z-peR!*PvpCP%$DRxf)&S}mA1eR= diff --git a/themes/prestashop/img/icon/download_product.gif b/themes/prestashop/img/icon/download_product.gif deleted file mode 100644 index f25a6121fd061b816c3b7ca9263e0973ef24ac1d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 580 zcmZ?wbhEHb6krfwc$UR5Z{EC#6DQuid$+f@ckS6JZf(_({6Am0WP+eWU z>h#2wD_8pZ`lhC)c64+E1_l-u7JmQ!{qp6@ZEbA}k9Apea_`-{ciz#CwQJW-KhzYz z(AlV6WX7T9jHPaAOFfbnySepAcJ9c&apOkxY|X~T#_$;$NplTLR{PJMJv(*2Va@u` z{H3-(fB*RY>)VeXKPK!c$zE*kK1Hu@SN?_#8-D%yx$@KmS6A1{%F3lDde^O6H|=1< z`Sa(qv$H>b{CM!-L6?adhYlSoC@ARe?p|?vLhH6HmkHuQGnA9(8~*=lqpk= z96565&YkoHCR$Bw_wV1At7i7_@Q9mlm6@6O=g*(kZE3bWf*a0Fd-39h&s5{4t?4lf zY#KL5B_<}GJ9o}&lI*Qpw{G9Q-LN?^caeonujr&nlQwPIwD5RW<{Zoa|Nk>k1{8m? zFfuS?G3bDd0mTUe`@)8-rskH`w)T$Bu5KYVW(MZ~yMAUip=Ndl#z-c6M$JSfA4UfD zCQdG8eqO#b3qD@{bS};&4iRDfAn|xd$xJO_5soGvK^s+bRsjK4uUIufo+hRcZxbt> z6hC!sZVg4>rqHA~TPMQ^7H$`V3^}oO4;Evku;ggj82>gEGfPnek&7P~JGh7_0#$R^&|p diff --git a/themes/prestashop/img/icon/error.gif b/themes/prestashop/img/icon/error.gif deleted file mode 100644 index 8167058157851354e175a787ca05731137de8447..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1391 zcmZ?wbhEHbRA5kGXlDQcPBAfFK|xIo4S!CKSb4c9Ev;A^n=}T7G(mw>aj|S!=^{pk zB5uxVF_8il_hMGi|#oRgKh$IpFDi0`Vb zoLkJsUts5|a1_aY;Xq$Hh5OFLVTf3&LNYDL+t zlA`C%4ljK?pT|VK4G;Mi8vG+R`bk#i^WviaX=(rSa=uno{FC|EG-2X|mX?__XD;jQ zUD?>MdgjdSO^vHot=hVE>)yS4cON-&V&a5T%a%QDX@1hx`DV)G&;5O$X3luLZ{PQ| zYyYoUe*ECUGiT1+K7Rb#)vI^!-u-pt(9bKEf8M?O?Afyy-+z36`t-wx58uCk|M2I} z|NsBNkuXXOOb96cWMO7th+)tHSr5t+3>^O%c5=vgY*=uxnM1fpP zc&7=}D!F}OR_=4x^-9TT;aJvrTsLw{&jw>5#p7MMn@-FTTKv?}K;-5EA1Bw-U6y8? zzbZGT^-5`nS!_As#OijTF(GS3VDZvZQ+Z`pL=*--TPZK#KhI&I($ljNyiRKZ7(a@f z;nDD&;xW^x(TP(iXw?pZ9 z7>@K_tYl+5T-taN>Trv3kyGY^i|-rVB* z>gw#5o4rr;+FxB7@axI?-*=inKfikWP{*Gi&+cq5|9G|k>G_HOAI>^4!Q}1Hw*RlU zeSdfH@hZy~d!24>OuoCb^1`&Bj|W2U%`?2U#{cVu@~E6ks5&HDfC z?uR{Ae|~=W|Nijn1C9UgPdPW+?#Jyp-{0SPf871Uh3@ayyPlk!dVO)+smX>9ms^kb8r|KI@%G-{|DVp?+7|lr;mX?^6Ys6HdV6!p|F?S| z?63L%e9ftT&rjE;TwDBg4ekLO$8Y&HM!>G{vY?*IQkd%7<4 z>-oCt>wQm5wmLo4;@{2c7yI0=uM7Qur~5>&&b96NpYE>v{{Gs%lT)5-D*pd?-jfY3 zA0F-a_H^IFW%f_^!pP2$&!7X+0g4j__InNaP0dE^ zoJP%^%{m?~-0acZI$cd!1!BU&Dg3qxtew)FoYHo7&dR2)zHV~N`C?oi(oShY$&R8? zhOUx)@?2WdqU^Z|G17rj`iwRL7B0ep{2@^)mi+eOi~%g7vB4JuJxx`45);Ei4 zUvzdprRcA1ENf*YDG_~lGQ!F+st?d|RB+{bXVW{{AO zq@<*JKqsuMtj3d4;NINBjZ3K3q2l7=o}QjghDeudR?3@VvV>4^adEqaJH(JpUZho` zbw{~-Hld-Rqi{aMoM+|p;>4F#Vy{_Pj#8FnI?$$SeZO)zb~CYnL&lL%!iz||emuU3 zLS>s_ZM0&?j$uxpa72MiEnc2iyMIEifK9uNRcUEy zx`R8skyW{cJidiLw1YuPct&`5c*mu8w|6zMj9jF_qL0dijEsz#nVH6wRQC4vq{yJb zh(~mEbiJBubGd4Au4-F#Sz?i1yNN|xidm_tspH|_(W!2xc0GQ)cEZ=d@$vCKdpdi2 zdyR{Vetv%L?(U|hrjd`0=H}+clTnC=KJU484K9P!jJs}MZ0tF6enu2`-;egCtjitMRk7H1~y4qHYOP= z3`QWx*Vk)G2^|)H88LTXeqsXyR(=q3Nb7?eaDD?_dM?--fJc#p2!7;{c%i^viVA{c z1OZS(O9VO`>;#A)f<_rIZ^&rC0pv^t1!_D{7~y8i5f(WBEcsEz%!L3HByf2mq{NRn LX(S096bJx25jZS} diff --git a/themes/prestashop/img/icon/infos.gif b/themes/prestashop/img/icon/infos.gif deleted file mode 100644 index 12cd1aef900803abba99b26920337ec01ad5c267..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 778 zcmV+l1NHogP)BVme|mWaqy4$_pJm?y9KM{-*hp?1+Ey3e-CEDooTa!B;e(Q>TSF?bj>5At13y1p zriN3w3x~5SfZj{@J4M{kp{?=M_Lh2bV+5LH)Q)5W!-ePA$RgE1@5f1cyHki0Y}JyVEYZF(LD$xXlt$7A5CgE@ zpV-&l%vf;=5kZ2-2gi@Y6J&=cuwt>!vJ^#(&n|LcZyUzi6Duj$$hJ1s*HD-#;k-w@ zpdrwAuoDG_N2bvb07G$Zk*?Hc)JLtW4yqOnic_$zO7NZ#l>Fm){;fE?b$IbOaX2fe z0la4g0Dfw2xk7Wi7NapVD8YMPCZu?A1QCK*67dgsvRKBLFtrM>?$%&_lD1882mzdO zWPdw5KWw6IT`m1b_8=lS5jt8D3=RDa=&jWzR-)S@56WMslZ~mKu1)-wpXB>rNBQ>N zU#K`#1B&v|_AQK;7I~B}OdGiUT9LX>f0xm6<;LeP!=vFjPsUQF*wCJ*dO)4YBypgdiuF!=i@6Zyi7F|q#K zz?tlSZULa@t1D?$e;f@b36&N!V2mjOHw|*0fhcXNk%w1VG#fi0M$PL<>lq=?d=sA8G?d>Vq|2>(bKoSz^t&bN>x{xot>Pk zuXS~H8a6y5BqS9lDk@T3EH^mZ+}tWZLuqMg&d<+HO-U3m;o?R`MpI{O zuCA|%l9eDzR1FOc%F4@<0 ZLm34H8AL82AtW?-L@X*iE!ads06WbMnQZ_7 diff --git a/themes/prestashop/img/icon/more.gif b/themes/prestashop/img/icon/more.gif deleted file mode 100644 index 072e49dfdf1ae1537b0fb5d27010b97ab2096e59..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 58 zcmZ?wbhEHbFTr3)}W!Hr>CbwRa#G4T{2o^IXgUKW@cewVqaoo$jQma$HzTNOfWMvgM)+l`S~|G zI>W=mY=MSgi(WP+P6Ewz9XmO-oGT;^M8Yuv=?x z=kD*x$;!&h%hT1?!NI|&r>H7EM4g_VpR2A%SY5=##P#*{-{a#rIXPu$XsWus>FMbb z6%|2EP)15hf{u`6WMqVdgeD~>)7aV?8X6fQB*@6fCp9?U;NgsojXpy}K14*An3#u% zi5C|b?eFh0F)}eYIe>wKA2mAo`1sDw&J7O_%gf6R4h{_s4gdfDA^8LW004ggEC2ui z02crf000O7fPaF6goTEKFll~^jE#+DhI0u&T6~t5n3he3ejkEGCwiizq#slOM}vMp ze?t`ru(7aV5D>8xW`cb=TNi!5z`=7B!CitFIUp2!%+1UfaUfuB63h;Q5Njb80uc^0 z6A}VpRfJap0uzD=INJhaH8)-n0zQR3I|2%Vb5SA(0S+)=V24BiIEEAicq2%H6cHXc z*jYhf#Q_c;+7Ozeh64dXXFAYf^Pr^3k}|jmBBGm#VZuNI4M>qTF!BeD5+*2?sKf$

    UHGvTjK7Wsr#kHVO~LG^Y+3VsVD58V?{;11XIJoeU;DkO^@3yTZd&^4 z=lHas_K9oeWmfTeU-N!p{nyUrVpZ~~pW=+mxT1DlHpxa?wE%7wWarlZ1k+5{p{)Uucq*yj_se7^qGX~ zucGUTeeue{{lm5Cf@=Tn>*;-H@u-{j&c^4Fh39Nt&RtC7VN~O0Tk?Qq_|eGk$G_^0 zd+wl>hkfy#koAst_`b2xVNlLwPWOy;;dETkSwY==Z~EEO z^?_pZjdtB|UG95f<#Ji^rJ3xDf7ozY-l3K4fobD}b@%7v_U7X0!MNaaVET@C-FXglE-Y zNBY0A^{}J$glhS@rrvN_@sonoWK#H|iNjPq;iQ-Fw5b38|NsC0A^8LW004ggEC2ui z01yBW000NVfPaF6goTANFhM4DM@T4!e-K|{A`1%@Gg&-^5Nsg_7Yqz~L?Bc(gK0~j z2nc?D4+3^RObUW?Wd{gQ6t4~j1SL`}f>9M_6tS-a0|0m=SAtU*aRR@u00{wMG);mX zA3MMUPksRw1vgb~f-x#A%?U;+1q~4{HcEnhUT)eJuOj4_AR!4KK??48pi^(dh6y7i zfO*4Z&(;kSOxJ~kz6%Ik+|&Y;bp12O~TCkD3J2c~{tu;OTyX#AK_F+*)q`@)|lo~>-6DNK=b{JL|m zH}GaMNqH^4XqoM$n&aluq492o;DI2;^*ov?($buALw0kBqv5E_`Pw-yQ%QTTkcp}G&{?)=VjN2GD_O0gG*2_3=*bG%do%N}U%7gXo!N3#c-?cKZg#;nHh#4Q2fclD#F0TpaXI{C{7sIk2Wwh@rbpy zwX!#LF$oC>_KQl$af)#^Nhzpm>FVkm7?>+Ea7s**)i*Y^w6U?ZbI@d1EXJx}WMXEu z*4ExxPF-C|j>p3J*zseIti1d}XS)P>czHQ>I5~NE_<2Mx+?b}#&dkcm%Pw|-os*f% zP@L&859^C2LDo(g7D*ANC!a4cv*{E#Ha2mKYnbsYP*-qr5atu$;c!Se)KUMHXTk}F t^$a_UrYxxaVep_~R}PPgK#&R}!=6I*t!qV865A)twkUkJLV$z88USl4vTy(Z diff --git a/themes/prestashop/img/icon/previous.gif b/themes/prestashop/img/icon/previous.gif deleted file mode 100644 index aa59060c9bccb2fe0721e1f4caa25cf3a34c862e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 82 zcmZ?wbhEHb<{9 diff --git a/themes/prestashop/img/icon/quantity_down_off.gif b/themes/prestashop/img/icon/quantity_down_off.gif deleted file mode 100755 index fe6de305e8455ec3fbe2a0ed9ec0654b4ada4650..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 73 zcmZ?wbhEHbUCIA2c diff --git a/themes/prestashop/img/icon/quantity_up.gif b/themes/prestashop/img/icon/quantity_up.gif deleted file mode 100644 index 3c2dcce602544ff0380b1fc70a804da47b2f259f..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 73 zcmZ?wbhEHb1kb?=;mn_BkPUVgR3?qZqi zh0M4W>pZ*Mnon<8cYWg7=j&EpIGla4|LXgzWowH9mfk8nnzG{E$*vRE{bsvouS&{X zakT$p>zpIAYAzPdzqCJX_wLQNj-+lV51hH9VbhVc+of+lzbQF+I{wDe)z_C^es$sa zi?vNR8qyX;Mz6b-HZ?MJ!rwZn-x-b@SP-Tid5xzP0TBnXG;B85^!o zI9@sBTzAgl&H0OSijQWuZp%-Z*HCb6X6?b^%qP9NO#OGUeG6~Q%-wx7 zV6xBB+gBaCZTk0BTz-3Q%Fz~vkpvWfvM{nU%xBO6c^Z@_7&!hj*mM5*qSndIEheWr z(_llQ7I#Nc30I-ItC$|IeWAjWltbE5O&>%$8M;p%Ftb|rWoAN4sHCL?!`+)r4GUUb zf_P?T1wHOk_U5Z_IKiOKIn~u(@5Bs~m0TQ#?q|+KIv;dya&quGS-|qxrPHEtnt|h% zQ-?&v=5Zu+x*X@?V&$&MXqa$(4Lj!?rJWBJuW}b>V~%pz@R7qwBgDU8M}gqdNezO{ zNj!>&pB~gy37GQ0BDhgxwqRmRpwD?8y=eaf%;bb9~h(8g0C&8NZ|&xJLg32#0V)_OX;?My`T z>4^3-k?m(<+Rmo;pUj+cId8_L!ue+lrd}?beYs%4nc9`t>epPaU3qIpvclXft$8`R z3-k1rl$tLsv;OUVdv$}?#*WbKlalw$%0JuVd#=y#{KSCslLBr}b-Xjx>CQADa=tU& z|_?yRf0vmxWortG_$bM9@;zrU^E?xyMo zJ4+tzt^9DMv~lhA#&y>l*WPGZf3suvtH}r7tiSkq%jK`TuYcQf^ZUb{4UhJ>+H z*^!QC$2y;%?0$K=@4?BbFV9YVd3N&aOEcbHoA>#4!~0uHA70w`@$RZmkJf#9xZ&@+ zt^eL{J9Ovgp*z2h-2Hjv-p`}={+zh~>&T;D#~=JY_2Ad($G=ZM`hVup@3W8ooPGS~ z!jnH2f#~VqOHcn?diwv$v%goL|GWD9|F!3TuRs5P_vP1{FaO_u_5byQ%kQ4vdi?&^ zllQ-#e|-Pq)BEQiem(yLM1Nm={PptV?^mCGzXqbuzg~R$^YZiG7oY#V`uz9J=Rfbh z{(k@M_uH@k-hKJ|;oH9t-~WI7{_o@W|DV49|NP_k=b!(+{rLUk*Pnm?|1*qup!k!8 znSnu`K?f8Ppgh6A@t?uICSc0KgoC_H!dyNoO3v+OX=k=PoRG*O-YR!!MdiU~Cxy-Q z4)k1HU~pJUT{mJ)z(l52UVTZgWtp2)I45Za>cy;3NMv9QkvEzXSaiglUt^^~=B_Oq zLZTeYjixv%v3T@r&UQOQn6XSW{ig=~UcN1mUX?Zai1GgI+# z3n%wtK1Hh#4uN@roJJX)jEh+~x#xszF1!2Ep+m{1M?kV^;ly{>Dr6)bm=7hivCmeq do#oOQwA7zlglkR%g98I2;~`<@0s#RAYXIpN-sAuP diff --git a/themes/prestashop/img/icon/search.gif b/themes/prestashop/img/icon/search.gif deleted file mode 100644 index e32a989f13c60bd75cd71e7aadce57f2e418d148..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 662 zcmV;H0%`q6Nk%w1VG{rn0OkMy>+J0f4Grq*?CI+3>g(+lCn~nLxDF2x88tk&z{4qN zco{Z44Gs<&H9Nt=!yzFdp`)cuQBzG#P14lW93mqU93H&E!^h6hD^pw`N>oZxRJggi zeu#>AczJE8wvC{rOkrhRWM(H(TiM#%tFg1k$jP?6zs=6iB_$ht8bLroadC1^S6Fp*ch}h2)z#O&zrd-ftHs908X6jro}$#<-+6m`y}iF8A|hK` zT$rAqDk>_du(M)eV_{)pICFrZqNGh>XP%^{AWBmsJwwRO(bLq`yuZPtqof@;KHc8m zMn^}Dk&`JZDrI+kXlQ7FfPrFjci!OQsl>}eLPVdduRKdmbbf&l5D*j;6h?fBBqSwE zOG~-ByA&B36%`e_$IG*`w9CxR+uYvg=;|ynGAL16uCcQ!IzE1gixU+VMNm_loSkWF zZRqLi@bU8S@$>KS@$BsG?(gyK?(gX6>g?_B?(gvD=;`tD^XBL2A^8LV00000EC2ui z022Tb000N`fPR95goT84h>3_aFkk@zKr%Clbd{ELW)A^jRaH;{C^eOKq@^b~Qevfc z20af;c6hS0K3xv8vpfMqcznLTBVH`O#C$Dee0j>s8w^d$(0OqTd3)B@1_w6R+@MJwy~J_)obmV8elTVc=F`QvuDq)UAy+;#fvLfuADe= z;?=8Hmo8n}w{PFkqeu7d-Mf4D?h6+#96x@1&z?O;jvP67@ZjOYhu^$;vw#2oW5wN_}=Sy<$SFC$q^Zx&Vscy-a zH9AZlvua-U5aU+!nd}&`RIm5&0n>y?DX&DEf2&NUHCE;NWiouQSkQZk<=qd4ze`qf z{A;MLkzi?UZK~mA?`H4llTVc=F`QvuDq)UAy+;#fvLfuADe= z;?=8Hmo8n}w{PFkqeu7d-Mf4D?h6+#96x@1&z?O;jvP67@ZjOYhu^$;vw#2oW5wN_}=Sy<$SFC$q^ZviXWVhnW z8Xcx*pU#NUQSq3`=6Kd6QL6dcgB`m}S_@`8O3h?@v1RF+OAPl47_66a-gw_=>81SQ zw|14f6iZ8sL}L?s7dvl96X%3pV<{dU{=RBK;ThEebE@Y%E?T@~>9XZ3R<2sTX04$j GgEatW@P)eo diff --git a/themes/prestashop/img/icon/sitemap.gif b/themes/prestashop/img/icon/sitemap.gif deleted file mode 100644 index 594afa56eb4889339af947c8ec5eb88613e8f54a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 600 zcmZ?wbhEHb6l4%!cvi+BB_$;-Egg{{(ikdWYis-S=g$WZ9vB)Lc64-Hzkc1t#U(8* zO+6vc+1c5nZ@#IishXOath4vNef#d;zkl!Ez3AxZ+qZ9DzOt{fvg+EkYjft#GBY!? zu&~fdDsXpqe|m1+g4G#ImMq!XZ0zgnw`kF#ty{OwnlL>C>m~-Myovq_lBSU+*;MuU|j+^z@jTS!il%u3o)5J3D*tvEwQ#Dr=U^ID7W& z)oa&wH0ato3p{)M^3U&|${rz2J^HrJ{Jgxp|NsAIzzr0CvM@3*lriXllz`%dfqiR3 zSyOXMYg-w2EF%LWqjP$D6MLzEG(STr$HX$3QV;GR{?e4$lharn6K2j9?a6Xt&{mnP zljEl9;>S6W)m4nmH$%;g&BVA>#Day3SC2tJj+cwYhqc+GP_ArQ0YYG!B+OU=0{Tu*(**&k=OU6?G{T zb14vWEt2vmk@6~+^{JHetx^c6RSc|E4zAaWs8b1PQVVaIBP-$rhQ@EwX3W7R-yPo$XY%*tvYEXYFdQy48No8~vL%#I>&u z?%W>Iu`Q}|V{G^4*xs!Xy}Kg%_QXuwm(;yJzh`OMge_T9c4ST6UEIH_WWws0$p;gr z9!i*gG-<}Md-v|W zd-pc1xzM!k^7GYM$XRcm3d+qA^8#gXrzI^4%m8(~;UcY|*!i{SeZ(hG}^X7$HH!t40b?L_48#iv; zxpU{TOXzJ2@d-Mjbi-+%o0@zbYIpFe;8 z^5x6duU~)s`0?}S&tJcO{rU5UVH6BR2q^w!VP;@(XV3vz4$2b@91j@!Ib=LGEO0R8 zxV(TTMge(a7M%SCA%Q`FtM1T2%?-1%h8qH1mkxp*v?T)*T*gCOe!ZwDzimY;$i zr$x1@uN@GaaLEMJrrC^4?oK?!SJs%ez?~`^AGGkaMsBwC#X7ZE`ADfqYO}6JZ z_)#F}ael64@}!)z!OPFiXBEj>!*HdzOJZwnp3%={g+o0e4QEaXHZSp!w<)^jph9i?pJC9h!n~Vhq7#JBDg;sPN-1U`(V{Np&#lf4#8G?!) Wv)y Vbhmc*HTO;Im^i6@T2mu~H2`Dj5{m!; diff --git a/themes/prestashop/img/icon/sort_asc_white.png b/themes/prestashop/img/icon/sort_asc_white.png deleted file mode 100755 index d73f00a2148545ff772892b0f92d11abcef6a10a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 118 zcmeAS@N?(olHy`uVBq!ia0vp^oFL4|3?y&GPYDK6YymzYuK)l42QotsU9JOCOeH~n z!T%YaZa44(@?EFhEEkV-(Oc1QdU=FfuSOG3bCS1;q&iyG#R9 hQ*%peGjm60Clft+4`~UxcAP-1xT{L+i zki}dQzopr00PS`rvLx| diff --git a/themes/prestashop/img/icon/star.gif b/themes/prestashop/img/icon/star.gif deleted file mode 100644 index 182e7d42cc6f38115d5ecc45a71a2ba7dcbeeff0..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 369 zcmV-%0gnDhNk%w1VGsZi0M$PL3JMB2IXMLd1r-$)4-XG8FfjS~`6MJHsHmtG78ZYh zf02=q5D*YpSXd$=BJ=a}TwGjHQBfTo9pd8REiEnR=;;3b{_ybdQ&Us)^z;}Q7@nS< z%*@QKt*yny#ZXXC6B858&d#Q$rc_i^jEszU1vIy!`egl}(eX=!Ny00960 z|NsC0A^8LW002J#EC2ui01yBW000J#z@KpV<8+8fYV6Dct{1cs?l@$%_< z4di3fxDf_6AL<|g93qPe1uFAgeE3X=1nmue4m~1xgm^4a3^6|j5&|cMJ~IhD02Mh>izV6v`Usv~LlKah;yzjnFpZ#6_e)#arM&nszOC6cl!YuEG*?e*| z{g4**z(M^^d;aT;xSLf8R~u6vRis~=RC>88=DCCJ*Ra6fF=1~!-ENnre2EFV=jC#@ zD*aJ@waa@w`0eiR%JYiaQ^%C>(kKCcatVP_V9RUZvOxOe};hoia%Kx85klMbU>Da z;)H>He?vr5FeeWyD-UOIQ;&X_wIDOIpmmsj51+QCGK+)+i?XIRUxY}wj*+5@gM*5q zkxsZsD3hFmIh&aoo4JAqZET~pn-v>O^}_H ztgMxtn~iIDh`gn#t*WS~s;#M|d`PIXj5wnqFK-gdjsuAvQ(437R?H|!INZi89P($! wCI)UkH5ZW`6BG`%GO79&7&IlZwss1u`z+W{)N)aQMNH0SLqo#E1r7|>0N%>Wh5!Hn diff --git a/themes/prestashop/img/icon/up.gif b/themes/prestashop/img/icon/up.gif deleted file mode 100644 index 67345103c2c56780647290326f0e06473b3b9150..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 55 zcmZ?wbhEHb9|5tW6UEJ3H z_uIjjFJG?BQvG^A>i+%v&-Zs--&xv{rh9Vl`VWtHe*gac#?0X7d&}NEy7K?igO4vC zyt`6!dU@WR=^jr`hMa71cz0vNnW+(9U*F$bDf#pG9M^A`*It^J`u0@L|Ibg4_qxBk*6{cH@eh|aKfSW<`l6((TPu5# zH9tMwb9YX_m4#V%XL@~m_vG8%?C;OEzP(V+Ff@VUPZmaY1`Y-tkn=%t!oWVYfrFpD zrL~oxqqCD;w5v~)siTXXLv)%bBO?!oIg7fU0>_l;(`IRkn;GdVE}FVTl+DCZKws5% zZNG>#w}YXDf&GpyYbR4aK4~rC?mlzoV<+r%rySA|(qsL1n5EcwjAV5Kdy%kt6l6$`ezv5AH*Fgr29*{Oqxk--`O@;Jcx diff --git a/themes/prestashop/img/icon/userinfo.gif b/themes/prestashop/img/icon/userinfo.gif deleted file mode 100644 index dee5739e98df54c6ec3f6de9fb244f9e666e98c4..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 589 zcmZ?wbhEHb6krfwc*ejGVkl6u=!|vw8msi_ch@&8&(?W$X4RHSg$u;wc_2`WfKa67S<O)OxmKl} z@Z!RdmbI7XrRrRW^7JZSl3>ced+XstlhV>=9uMx_zy8#t*O#|BR;@c(uJ?9(?TaJx zK7Rd~)3-i<($1b$$GtoEo?TG9CDy6kgFnMU==+s*^Y`A^ykXtkO{d~4L|$zwFKC>4 zzR|eYT+q67MMa?5rFj3iiiM8#n=6){`*CKrSM$~v=Qpoyj99w=#{1n(8M9A3e(`o@ zML@ib)Z3GbY%12Ct5Of|*;}{j;ZJ=K+P5{h@V&pj z=l#}}zSXC)odg!`ybxg_{p{M-+|`t9eoWmYZ)U)Gp9J677q=l5CbJHS6NXFk>-SOHF0rnc?Sb0gP=f* zrT{Bv*`O$X3DA QkDdLDJO-U2A{-3X0QCdhU;qFB diff --git a/themes/prestashop/img/icon/voucher.gif b/themes/prestashop/img/icon/voucher.gif deleted file mode 100644 index 020a5a783c11314f867a090d57b2fffa86d1561a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 592 zcmZ?wbhEHb6krfwcoxEN_Uzd&U%veM_3P%%n-3m5*uH)HxpU`!e7N%C)s9Dx9({i} zW!tuGU+*;k{Q2|Bl`Fr0|GsqT(vv4o-oAbN{rmS%pFX{N_wK@l3*R41`u=Ffms^cr zzkWS^`t*$(H%^{B`TF(iFSi;tY}oMY+q0kFKkwVO@7AqbhYuhA^W){W2NN$|y!id$ zwByH*f4Nn?b?eseFM+l+e*XOV<;$0sFJJ!f;luUo*LUyUedo@dFZU;G*|O#D@9%&9 z{P}ce($~AKd-v{r|Ni~A`~5$D{J3}T-uoNvJ9q9pdi3bir%#_hfBx(1vu}6XuU@_S z_s{Q-A3q*Cbm;4?>L2ef{`heD#fuj|UhO<^;K0}0O@IIX{r~?z!$1SYpDc_F3?U3U zAcuhBgn@l+g9o30h8PVd%FMR^##E2sRDm?Pib*W^xO%Vsj)!MAjhKS6f};>;Yz{ zOCrwx!R(UaxAk;`jdkq1yu4kXJkxY{^kin0>NZk#c_Lr-LSUl4!%{gDC7;41X7__$ iU0Na@A2JRwH47-;Q#kN2$<0m3q2domQT$Q|25SI36A_sJ diff --git a/themes/prestashop/img/icon/yes.gif b/themes/prestashop/img/icon/yes.gif deleted file mode 100644 index 7902938e95f869a59031e04271bb03d0f491b973..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 622 zcmV-!0+IbkNk%w1VGsZi0Oo%H=k?;@?crR)JdwMPYs5-&$7XKCVw%c_uH2=4y=Rxq zhBbaMZ?#yo+NQ79p>4NUL!mQ2j61a6tG3a#tJ9mI*Oi~rk#)#uZ^L19w_Kgrl5)ss z{Qdio&VPf>cemlMddzLL;jVJITXDW$x7oFY#dVm>hv4hrdBJ3Hxm&*Dwy@)$f4FIy z$A`D!u$ISzU9~?yg*$P?W9j(i%k992$$5jmZL!^_>G$RR{{585kGk8nCWIrI(Twr= z@OH^**6z}y*OqX&S;6DBz~s5h?7wioS9iQ%eYa+<-S zzvH-x#CBD)HCnzmHIFf}+o-kMs9~*2aKU3tmpx9KL3G1pbGlsP@!{n1;eg6>fXs4I zphA(rk7mV5Z^mS4$V#)>rJL80zTdT~+?OYEBqo0&DR(6)dL?qpRhG?&e#dV=nLH|w zC5y;-n$(Rup(lL0Wc2#-?f2_;%4*r{)OpEkhr)83&Wr#5|NsC0A^8LW004ggEC2ui z01yBW000NefPaF6goTAOD{cZ)1Ze<7!FK?n#HPEtdKMFJfk8Xg`RA#-(TgE(Uy zAs~4h7Z-aHQ4n2%Nk$(a8)OCsGAeKqS2}_O6=y%b7#Ku;06l$if=V}F1uj5XP<|Xe zOb$GPPY6w4K7M%KZz%~5Yl1KqbXzrdemM#cA_^@Lf-GE-fMP@mJ$)W9$k0H`06|_L z@Tqcyix372&9GPyV9*XZHmsOPV8?_RBx)uUB0(k00SXjeWLconPyjIz+OUZ+-~^4nJ za0`Jjl>Qs8<JF;+Fd5q0wCR k?u=~bH}2*0f`J3~k>FVdQ&MBb@0BAfpf&c&j diff --git a/themes/prestashop/img/logo_paiement_mastercard.jpg b/themes/prestashop/img/logo_paiement_mastercard.jpg deleted file mode 100644 index 6022d872f8555333b3b32fe9a9918e11ae2b7fa7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1880 zcma)2dpOezAOG!w*>M}2kkZ^Q=gno!rHhO)t;yYx+%FCB(u5vlu0s}z! zRsoVl0D(^mi%A7Q02KHk0+J;_0T&)08UciNZYdxMAIJhg{~X|-fc%ZW#=#)amb=w| z8~>C@IspU>KmofTAOrwLfFKBvqzB0R5o{~uPsqaHKW_aLwirxCRtW&4z)&fWjMQHi z7y^}&2FWNRRbc=^1+`7qTpOdSr>};_>8Qgs5L+LDLZqc25UKxf0&g8uhDxa*r2%u4 zstgRRZK1ObhtYMHRk!yDbx@Ox19A}1Rxk(xI0$4M2<@PlG!l~Q6vL|IFd01u34K>P zY=||rBun1Y07eDd^QJ$aTj_@`KHzTs0=+ZDT=q(q%uO9bN(B56H?Vs3>iOtqwt_%T zU(c}bCG&lyv61pJK2KX06^3+avSRJ--# zA)L#RuL@q2BH>h7VR?f0bRI5JIoj}1p@>$*e75cyNjJgHwqJ96^VsN7v+z%vfV?K6xoc)fUqSPrQ3g4%=~fi6pb5;!!4v4>0Om6&%5p<%hf)`!3-5dfLaQ^6>gl zn&9Do_OhyY$(q%t7^3FHl4HYo0`LS*dYB6;N4RBiU|}d63Wa|`V8jVMVhJayA@Y1a zs3m%Gsm&vGF>w*O`b^M<@jdbD-si**GpU|jC+ADe{W-0v(cT7@cauhJhG`%>5A;eX zcb(;We4wTF9=nB6(z@a(a&itaIZ@})rdCm*+t-+@pJ|^M?-GA^# zZ{l#njDXD;r5Onsb=R5L5YG2GuR?ZkzDe<#5yDEJ)6p)*kB=1B3!RyRZ&hal>P_zy z-nq;Fw^uAx1|SxM*{e$XhNt54Yfcvqdo!`G3r%TVJ7kZ9dUYYM`iRNZdtP~_J$A+> zG+Qj0H+qSpbElk->?&>j9f?tc_qfqv_Q$SJna}o>(_5|$KCV^t;aQB>WhIfZ=FvgMITp<3Rr{F>RVEu$q9ccu`}-&@HF}`mdXD;rTTl(MF}Jm! z+LJH1bVuefh_4#B1bG}sn^vKAJfZp};iw?~#4qVJp(~a1#-bWCl2nCJgA9ehw^G_I z*L8Q2NWbCJ#fuWL9Uu;Q#f&*m|+~Pc87QB4q9K zuIT_d!_N*z4mENB+_hOgB6MCrbD_{gV{;Aa(QGfzQYkF<07fic_IUWw%&Sw@4cUKK zliV>x=tLn9mYC0qbiqrXvm@lPCjwLPXu%`v%eK=ZQPXoS3rgUgGsq4 zZ+}d>R<^BT%EtVPRn}VWy1;KByj`GT;U7fhiCtZ_9GWr+())KV?bcW?EBWGg@<`By zUY&fHi-@{T-_%`;&mIoExWRit+W4jStI$5%p3?YG|EUDL$AJzG%v z-DPNE8n!sNKwUl9w{*IUlWHonny7Btg1j7`ojx3QD>Hg$N8ub*%wi%_KAF zwYW%t@qk86lbnzBrtw+^*RKT0o;-N9eMrl4?o1iFFauSsemaHT6z6sz|8RKwPO?(l zOnc_QMu6|v^a+x0$I|KJmf15*PuiD-i>ra~h(znu0PB0>Pgc{a_UwCydfZVE}RnONKX65w5~a6&fh&98c^-SLvKKLM>T5=;O9 diff --git a/themes/prestashop/img/logo_paiement_paypal.jpg b/themes/prestashop/img/logo_paiement_paypal.jpg deleted file mode 100644 index c94c46c0d702dcf9ff5056e1cd47c7867069f300..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 2426 zcma)1c{J1u8~*)f##pM!FeobPL?a|*DF)dhvP_l?$-XbyWf>ubv4=~g$t3Fx(~zaB zsVswvJ9or1lx*1|x>_-x?>qN&zd!Hup7)&hJkR^Q3vY}!2?$%7oiPJI2mpBR1i)Jc zkS5VyLGb_xz<~df0B;3A7^o6y z*EM#l_gd%PJ$30K`%m3*UpV1^jZ9QG_w+U^d+Xws6MGCFX(_`Nl0v0F&sCeYz2KK% zBWI?EFyF%ipybB0Md8<4NcTr1^zI4RXxmN_4x+P{+jluAJZJI%HdiT^#yEq1S_2pw zUHoM9&Vi`-1KLXt3=^2h%+)1YbN+I(c^_qfD`|0+$g-Icj>$Nh(TVZ2h}xW+sVg8Q zsrVbuk-$I^l>d!mp71$3Vl%o}PJfI=x_CqG6J6D{?SncMLnxQHEZU7y>YyL&64rJ} z=&o@3=-SY{4EB)3P8BV7=2sCC~a)HFj=y$t=om_Pxq0uF#$SftW&a zbEuWfk<_cqOeZVHuBsrGF$x(I`>-lZs8pY#iV1sKrR(C`=xB!)Fcda@fD1df5O=-J z-vyso8=pvQWiL6Y5?BFFx}-^XRxbkam&Y6Fn&U<6&iB()X9Se7&0OWWI0}EqWbY z$vwpl&rhTpa2DP*uWUVid%J&h)5kUPVEvfe-o67=^9B8rT|8iA!^X8XoCl;mdG_o9C;XQAW+cr`|-H+V$r!1ZJ!4gWM0h`-9sDa z6O7ob7l@A4$*)#%hi;0)C6^4oggu_%%V5*nXQU4gTM_(VcefBUR>Ji9?}eKU*$2No z4IriK2;G9>f&&4`c2m76{c8zRZOt@|oEEkE7gw6OYd%xm5eYA9RJB~a8pB)(WZ%Al z9L+(>5gehPwDu}<#Nw=P9h+oGUfaEX`fj#((MH$Mt|KwHSDeFt44xQ9RwhrxG}f_Q zL++KA6vn_(n?Kn39;111o28&WQ((MyMaW;{DFVCtai-Qx{(_pN++>Q%JgolB#K$Br zQdzT|Rnyhsy7_N2bK8Dh=d}vIqM+#+oT))O)gtETr@d(poZGGP?FsO<-SqeDdptlq z-hhL!zGa4$R^*oVe_3&hJX&FyYY06OWWFu~r>;4)vuvA=tKgYdrGBHi^Aw+^rK?j) zg9YzUNc{8e!5u!oUs)#w2$RFwiC9CF+C`5;-ixor&49k>i~uL z=xhva9L6ljSI&mYBA844*f71i@crhh+HN>$>N*|R){c#GYTtHYKEljT=vhf+hE!`& z#WPI%XD)=&?!sS6AyCO34U5v*5i7ld`mGwbOQT11nkF=_QM0nc$VHvGABy!H-N#DH z@^q!H7!UPI9h&HaE4eJ|q(T~Kf~|zR$|dyR_q#A3oCh^N@4Hwjbe_^tYfM(S)siCW zkRuss7~rTAIylnkK^ok@3mHl6#Boc#_8$)|T$MRA*HQ8SAtcE*vXvQ~?O63`uP8+^ zo+!cxanBzG8s;4ugLap+ysRA@w3N`rkzoGn+}8&7<_gIzQ$>sQ_Zf@I;={~Ssqqe& ztEx6HJ@oro6;gS1CLFZmNMMM%!Dq;vlCrsh}TY}@R zg0ZKTMiB4xg68)~NoofBv$_^PJ<6Kn0nP4epGr-&ncIOM&xw6mMcu((`8u?rn%(z) z^)nAJ+g=^|Fzq|}^X}9jv5n_ErG*=JZna>;47e|L*>yx#}X1^B-u) BEFu5^ diff --git a/themes/prestashop/img/logo_paiement_visa.jpg b/themes/prestashop/img/logo_paiement_visa.jpg deleted file mode 100644 index be8cc9ed2dc88da2952fbdbbfb9aefd30f564db5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1700 zcma)2c~BE}7XIbp2m%QqK`PiLBp^z;v*OAj1Ua;z5Cp+OB@w}5IE@J5Pzje@8j6t^ zr4-#pI)ns_2&f!di%3vF5)}jt7?uTsMFVT0q}kcl&h)Q-Z{EzC@4fH6Z=UA4W)h(G z_yzg_2o!)L+5nn)fc9n56Egt>z`_4Wpiu!M?<2{yIB=v(%Rn@vfDIsjAJ9Jm`-tD= zPzXfZ)#k^>-z_v<0IdhG01tzp0Tc~^p&^&5^e|^nMut9qeiiV+q7Z{G2W*IlTKF*e;)z=m_=v@Dbd9Q1q zb(K6ka~tzaB=U?L+E36L{oyGtEz8Ep&9n_^Z!>ljbs z9luCEBeko!^H%m|gSSh}wWt5S9n!I+FJp~(ki5B5Gh&rB2IG5+Gq0fV_3&z|*Tvpp ztn#tdWB2_`2=%jq;Z~8fN`xH}*@RWaVYXZ>I3OtdQk@#~f%J$|bELnd>%joP)qGF< zzPrt?Yx8D``VQ{C?`Y|jkp0VtY!6!B!RfRMk8(zzinec2r?p}I=+~A?`75E4<~I^` z)fHF(alx^;1mAnjH|j*n#Q?Y)VNM<)k+zH*^nA_p&HrL6^5G3$l%7L5>yrEEV9?|5 zzD0vJta*(W{sLRzDk>t)B1uo*vu%8zTOnlT^j-sLF12T#pEY6EM}9YF;~dkk)DOPS zUm*q|?lK<#tmWHlFEKa-F+DYXQRlOa7DNdx6g$WWY*yE%KBTUJ>N z$G_`6Wr?UP+jP3tX{8NAY_7YqGwl^w+=KFML^MRmf9^XJVcmFpoE5Q${`nJQ=U4nB zLwj((v#t+?3d^z`^zUyqdfwm_pDWnrkYJN24rg#bZ+ampDJxO`c#HV#rFeINIk(W+ zmxq%Ke$6rUAO0t?90+IKf*m2QkzFo)UAGeo3t3CiIpF}++VfwBq6|tL%k0hks2j z>yC^~Fq=!K_MB~g9V@%)Z$D>2DkK|HvS>?VCPUXl%1rGxhER}Zq}77uccY1plJppuq4}7>bfdTwYPOKuBkG?WLm z<;BwXn-!F^$uk1f(AHn#=QvJo=c7-Si|5S}gpAXYEj^M8u$_EA~`1!>}YXIf$rIyFlduh!R4f8i8)|m{CX2pjj zp6*_DUrlKK!J$gS1RqMU_W@PW{K{BIzH(pt*zuckWJzpoNNOE@QW_PxHGM1)ev?Bf z4Gi5wEFG%+DvP>*5hr>1%S`<7cLoxN(1Yr#=-nwL>&MJkjPpNP7{uHtS40z{m@(rM z@*VNTM*}Fd0-Cb>FfN@xqWCoL-Z*P8H{<5}Fs`k|)#;Uev4T3&8mdT|l4_KidNvaB z{6-kyAo_Df3lZ}flR&FiaSmR!PEB4C!$$zN_ zb9-UEl|fjSk7PI(8D>YYvXbMcvN_w6JBki?N$$QMoL$ubwz&|xtMj2->Dubsq?JNe z6L!k$Go|v0*Tw(jy;5a%W-x!{=XSzU99~zdSMnDzP4xJ7xyOI+HIU`3MrOBX#2P1m zt)uVc1UDnSbzji6b+(tGu(r^$lJ^jm;=YKTAgbK+IEv(0*+PfP1J7Iy&Rd*%s+^f# zw>Y(4t2^*>^!vv3iAPMvZk@$G+GtE?HLYl=;Z14Us!DcLwix%#G1E_q>A|%%=$sIj NZez9+^;6A@-vIN6!IA&~ diff --git a/themes/prestashop/img/nav-logout.gif b/themes/prestashop/img/nav-logout.gif deleted file mode 100755 index 1d7775de61cda690803945feb2d6dc69b92b69e5..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 371 zcmZ?wbhEHb6krfwxXQrro`K=-kt5$74S#AV{|gNK|MBBTDdBfQLjT>Iz8e|+KXc|k z1H->pul{Go{P42=X=U|IM*Me}$G^moubiC!g@u3VX?~TL{Qv#?cQ2>^#>RiVy#B@o zeiIP*mlpX)L*u=;_%9W??+grotj+&h8U9gI{2lK3E6DkOR5$~bfZ|UUMs@~q1|5)j zAU`p%O*qh9;GrX?*}Y^^(w+dD-o7o$iiLdvE@{z%xennEHx~v8Xo>bZ2{Uqw%eE{E zxR4>i>Uxx=qTGn3qNIdhfUj1ZTSzjqiIrbQrafOsPOiLp!lVvvX*rHQRvu1ara97* z#XS7{6^sJQoMaSKi)L{$ax$^WJ8xEFo+u-{VUMef7~d(TGsoQ687^L8_r2=s$Y2cs DaprA8 diff --git a/themes/prestashop/img/onsale_en.gif b/themes/prestashop/img/onsale_en.gif deleted file mode 100644 index 48bfa342de2fc6938b5b68205a37573faa80a089..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1962 zcmeH`SyNL707mbN>*F(I8ZF&@g!neV0&CUQu6P*V9}x|GEf$cTuk?L_d_EbC>kf_t3fD z4fBs%nw$H2U!l4-bg5@_Wcb~bW_IR-VP#aOThOmBp(qOczyAyT*8+B{7^9D_+edu- z1VBImkiZluN)gtUXe*B37XNYv#bGZ-I}&t}=0~2W4LMcTobA6~r!l|9C#Pb}_t$FaO;yEL0C&Gy$bXU;Ei(Awu2b$#1v$#}w?T$b`k?smB==o)KJ*=qKz{QaH^r21rirOg3rQ5wKhsY|$ z;So>uRaRP?Y+urLlDW+L_~0}cG~N~%AU_gA=SRrX&F`EDExQ+{a@{*!Ec1Oj@kaKE zda&3pBjzQ?W8v=_Se!asTlb<+n#Ru_ZVsYYiS=iQ)MpM$TBM;a!HfV|q1sY5oI0!N zMptV6&n1{ZPm*PSC>u7isLAyjr11jY1dCxK(B^a}76xRhhf>K)%g}l3R4@Ai4kH9W z(796yU{K~%@ScHMFem6VVZ6{!#qK29q`Syv%ow-=5U74YaJcl4$jpd9 z#e^*WVv-8x7F1W>NGYt2x-skmNC13H-uJoI!Bz;A?AtbZ+EeFJ{hQ}`iaaNn)vAO9 zQC={BarT-j_oV5JWIuJahRcGY^1z$%-=M#^7CY4(5}Mr4eI!n@nRY#fYdFl1S7OLT z$4!jK6(FwN_r2SFIzu~U^o;sGCZFWy1w$RaMfp6J_^lo|Iw=pvJwN*1Efcc$Izhrc z6-%&|J;!Gomd}eoDLz=N#CE?8Wr5b}2 zv`7M(@tFt!r3hn-EWgvjsf+R)&w8Loq-^);4O@WbOt=dG-7HUn-D)fJmYT8Qs^>lq z#!%P3(9Up(6QGzavv{E|>+x=6AT7o|Z#gD*!R)2J$jko4SZi7-jNR&_wTI~S$6zeY zSqnB=7r6Uko!U_^O5fS*M>qqKaROcnDTMMZ1X5w%pd_m_k0<)HVc`{qt&K}8A;}UZ zv7(H`z@AK3b6BEbpd$j diff --git a/themes/prestashop/img/onsale_es.gif b/themes/prestashop/img/onsale_es.gif deleted file mode 100644 index 787f007f2207e9fe6a7867ba5a3a8ef21678c641..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1688 zcmV;J250$4Nk%w1VKV?V0Oo%H{NWq?wh{jBa`pA~^78W3)YSRj5dQYU{qBYO-xJNv z&HCg!{bC9J^tJx+i1^4Z>FMeF<09tf=Kbw?|N7SZ!x6f-v-!{w{pwu){{H{{@%`sQ z{pBs*-roHD{QJ@r{_>{(`{Vxi#M#-|`uh6+@}d2H3$(Pf{F)B^=}-NP45_NA?(XjW zx;_}dBn;vD$f3i#X!{|*88+zk2M4*A^;`Q8uo%MtzJ8~4-- z`rZ-q!x-|q9q_Rs|M)DD9{w{_AG`@}BWV1`QJzR z;hgo#X7j!){pTF+-M#0RR90A^8LW004ggEC2ui z05bqJ000O7fPaF6goT4SH-?2bIf{;tkbfZ@E@>2s6lpFTA(5Vu0tk0qHa8lB8aFmx zcL)NXu!bQvSRhzf7&TOXR5cj4wlf9*q5}aKbL4Qsv7^V295rGT;Gp6SC#O6CaFeFSh7>SU)Br%Urp=o)Ys5^kp+*`v z0AK--69=c!qeub7krVV&9v3$9NS#Wxs@1DgZMet-D-WCqSi@5FLAI>f2ynQ5szD}? z*|%{2p&!9u^>GPpa9~6G9nC8Pr@Mc1cMav#-x_0dteo*lFphJg>3VQTRevQMn@#Dx@ zvo^gaK>{9rkOUwdLx&$7y7?H#F#-8;<=Xo+PY}Gel^qvO`4h z`1v?5U)#B9Aj(xH18Ydgpu-G-eW0KpGOWg03#T*?+=LT4m%x9@y~kQ<;_VRw5*74O zU1c%svBQC>@d3ny4Ge+-5HQ9FgmXeD$DCk#n1BQWwS9m@4183!gCBnU76T92sR#uB z283u3frZXNf#Y$30bv4>D#R#*A2jHp0}?9WrW%ZTn3g~UDGdSwlnF>#C3rEK_Q867 zOb0|Cg<0vx2Ykp-nsxv>2ZADTKxtfXtjT}`n0)}j!=oT-XGLxm6lvUY3B;j@2vBq? zrEz3hcVvnx)OlcOm6;G^ANcj*DHI|UqCp(51_oYyA8Z+7fvh4iq#r=efCPu8AgU`((y(l4;3tD+SYm`;WyiW|BywCku30oi69CafC@91jbGr9Zw>J$StPNC zfETcLfs7RT?fK`Rf1U*_K?GsihYws(0hCI}So-U*#~wTBrITiu;o~JhbON&X?mH|; z1P@;2fhAB^@W>~x{PMxWV#M>$i`*gf)K_o4^{^13{r22<@BR1S6Yut2ONM!Az(aV|NZ#qk3SfNU=hEv*q}ob21vjH8nA$L_=hLn5QPRhuz?SF z-~->FKu@Sa3K-1b7{ZW&FpMFC8B{|BJ<*0Km~aYWSVIO@xCSwta0+c0p&>Hh0TR4m z00bz*7PfGPIY2-HKm;NL=5U4`mVp2RcmWAKu)=m^fCK|z!4Eqyf&vr(4R)}=30Av6i|Q>bl?jTU;zPMkO6FX-~|Mb;uolBMFrG>4KRR#7QqMuHq=1@WHcih iA%H|CR&a$ie8CNINPtE?+D+!&WM!wiGLxQp6GxmB_=QLG$cOSNfJ(JCpM&OUZmH9{zb2eGXq zx8t}KWl2g+VMZm_Rf?L65gM1d-+#Z~8T)=-&-V}bJkK}uyFCHhj&B8gfm{Gc(*-V* zU6wtZmOY$Td>mJ44yzG%q6m9YgoEgio%oQw_^`t&jUrC46(^DP0NU}G070W`!BC6SzYBotTXssMIQ~qtN8Z}dmtyg`-s-}%p z)5fY9Bh`$FYQ|LcX`OnFnfmj3)fiqqX09IBBWT8nnh8to-z4>Cocc3fqsKAVa4a+& zf|f&&zwy;_30f{u%eB(!@klzJwT@?_d0txnW^i@` zDA)kbd4h8rb%M>>St=;-1_fJnbH3o54>;$mp537l1cLM1;nnT3fx~J}sA4=u{`wR+ zzYClX)qV*F7ec|sFmNFfT-*mP#(;|lpf$1Z>H+ZUVcp`7kT4MvCV@*S;L` z5QHEI)`MY3H5vuz+qibtegeS400K)6Yv(e5=r*)o+f6Wet2V94|A7v>6+;`e@Kjf)@hC!Omfd!`15x)U|wWZMzN_~D;tl7oE`j=h6nHNd;aW_<{RX~l~jY9 zwn5Zw7dQ-bRdl~K9?eA>AudwxI@|w|m2XXmP2%N{Vh{DB5QH&0@I!?+5>GsF;#RQv z?Hc~|ja>`;>xbj3Imi&4H-K_~n&d>^@N8kW(9;P=Gx54reGI@BaQU~&i+F;Ps6888 zOE(o1VXQa#gv}vCgQ#<^RS_E+Dtxil0P0{6m04zI%1f|xPtDIPts1RklhVI5%~xf- zYv*A7Z+V9R>!~!4DtGQ?96} z28>mH(>HegntojL!k{hH1=V}%MtkqB^vrvxA3c@;1mEdws=e{ii2*hxYl#MUHc}YK zqf@r%!PrXO&lqIJ#(IF9O_um##%%plgE0uaNqcKQ(waooq#^+(oW zfd>&any(3LYL2kky1GB$%MZ3yuvESZCXW0n%fL=Wtv z(9DO0{&aKJPi>%r<&LEJ=7%^wQ&F+038=6TZ#u9ugr_r%rj63Hv+vKtAm2S^9i1D@ z`<4(kN<+xL2V5wb0On#98e%gIwzp?$(!!{MQJQlS1z5*;X|i%Eh!7~sGAj+H21*QJ zYXlN1p#cTebo6Z?n=0ct#5?7>2l6n8BBn(+4j@d4a%rZuI5@|{up)q$7s;qZ46#uz z+r{}&1$_L?g^)o!6BRR5Yxy6b#4TNXBi^)*#13P*F|&=5BI<1353>AvijAm;uaf7( z*xNsfZ>7h*3~i{%4$_DV8K(6V!=~)h=?V7ZMJzw#U3ty{lH#HQ7Z;=Gq7;`4_E+#> zJ`Coo$loL-RRw$8oMZAFDkP;11e9m=;k@WQXd9or|87j9-ncU4WcaYu)hEunn9k*v z2T(({LG+;uBxFSZ3BB25yzmmY&t4qQ_BtD%W!vpU=BlpwJ;$3JoMGH)i(>B(WENf$ z^*N-7LxVok&3;awwSF6Au;rI()Pc&YggR_a&~AFd^_YrXhC2fGY^mTCoMW6Me{DDX zw*BGy-&;?Tc?$-C<(Z}@adpJjL%ThrGOzD%ttIw*u)Is@qvtY$$%~BKAdUCy%c5Y1 hky7@KnHOgNuAgo2Kal&+9#gaS8mjwVXLB5|cuK<-K)0t!@$MT?3`F;C{SF2U(UlpurYcD9@?cGWJIUV&Kp4LU123n}c@r9wb z26}&P(c4I`@AUXC=+?n@FVnHPvBr$8^sO?xv)jka@chIGGt)mg%6L5CJ*GP{eZVyP c{YS57Q=Orgz;f?19qihAqL&_`^gR{%0~y@Px&QzG diff --git a/themes/prestashop/img/pagination-prev-border.gif b/themes/prestashop/img/pagination-prev-border.gif deleted file mode 100644 index 903d7afa489c39d886030b187fb4976c554f7dfd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 518 zcmdUs$5O&T06-T-us7_zSL_XYjgFt;_#?{23nx#W@+m4HZ7?Pw*=&-{X43>b>D3dC z{)O-G&Tr;jT%Jd^uL2+hiU2&tlLe?*wo{NG#|w#MN+X_bzQ2ixx*xo#sD@`+o+#^> zdWPw|3Mif9MG573XjsJ@2UTp#2ovXnP>Ww~Xj5=p_Fpa_yCBVE-g zwM&XhOs7n&(n~s%=an2MX@-rktr{+MiaK$z>BN&6q*K!_YM2T#&g4ZA>Xus)B$bzR z5gMGJLXD;}*;F>q3Gnmt>+v~JsZ_wfV)Wbp*Bk!z?-LNbzG0%L)ko2)pB)_So?y4OeLi+? ge7F7KptiRDKGHgN5(Ay{p}V!Va5PpucMEoZ06yf(>;M1& diff --git a/themes/prestashop/img/pagination-prevnext-bg.gif b/themes/prestashop/img/pagination-prevnext-bg.gif deleted file mode 100644 index d144484586f02f37c162e5f1c9d0eaf8666ef62d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 147 zcmZ?wbhEHbWMmL#IKsg2;PJ}`kDlFs{OaN3=NB(uzkKz^y$4V3-hcG)@yoLpu3o=+ z=hV5Y=PzD8eg4YL+xKtZeQ@>qt$ha$F%S(Df3kqp>VQa)oeZo32`UUH1SF0>)(CJk L@Z9X8$Y2csAjCIm diff --git a/themes/prestashop/img/pagination_bg.gif b/themes/prestashop/img/pagination_bg.gif deleted file mode 100644 index 824748ea409059d79570e6e3c8bfa0754203e4e7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 146 zcmZ?wbhEHbWMmLzIKsfNVau*Vr*G`qcVy}6Eho-iJ9g&AvD23puGq9~*TFryiy?*=b#T$>DIDg{Ybp}#^;!hT^avcx}vXg<8KS4-DAkl_fS%K>UPrEP^ GgEauTAT2Tg diff --git a/themes/prestashop/img/product-buy-bg.gif b/themes/prestashop/img/product-buy-bg.gif deleted file mode 100644 index 626fb3f63a9a8da884b9e1ee68d60934c6c46838..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 184 zcmZ?wbhEHbWMoKSIKsg2>GPM*U%q_${Q1YvpI^Uy`}pb0j~~Cj|M>Cc>(}o;etrA? z(_5TfByRT=`)c3<;&O4pTGS0`Rm7zpPxQ`X21Z7KUu(H zIv^5cCj+Z#LQ>51lvycOJQ1&x{Qt;=Wf=ef diff --git a/themes/prestashop/img/product-short-desc-bg.gif b/themes/prestashop/img/product-short-desc-bg.gif deleted file mode 100644 index dda67ed0a526fd1836bc1cafb8e8e972de9e57a9..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 332 zcmb7YI{9aI#5gib15y6EKOP*fB;2o6ONsvWeh zBAwhE1UI2SAi1wR?kg#{h^ha;Gn{kae9PI`TrV!~4uBi*1%T`Mp3hX+^8-%ZxCef~ z2=x#qm{6%gAyvRQ`3w`f@0>cNT3+>397`mT5 z8?3A}&hh)&b7#D}UHLdHmL99G<(Iq9y;^5!UmvS(?aa(|M<0%pZ<_Iw$e-jVwOZyh pV;H&1T(X`@Sy$G`wXQET8rj=yIz8WP7FsRSTzqP`r>4tb^%q5YvW@@% diff --git a/themes/prestashop/img/rss.gif b/themes/prestashop/img/rss.gif deleted file mode 100644 index 12c1d33b5788527dbfb7bca114eefd80e13b9e60..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 209 zcmZ?wbhEHblw%NJXl4KbLqmpSLx%s!K;-p5x%mGahW~St|L^tsf35ic);0g%&-wp< z@Bh8`{=feZ1d2adm_eF!Km^DP29`R36P~O0TD)Gh>wkiV)*-_=8LQUioZMIN>ev@6 z{-cXupIG^Z|L}wD!t?TW9&LD#z$4!oeE35*-!hFS&NGYuO<9qDy5!W`183$MuPshH zxnu3k3a{wtd@rP@)>ui~`g1hc@i#I@CGhg|bX(i@*%%d=PBouu%EUN(&fIzP7cepj HGFSruv7=uh diff --git a/themes/prestashop/img/sitemap-horizontal.gif b/themes/prestashop/img/sitemap-horizontal.gif deleted file mode 100644 index 2cea2f7724a1c5adf7b0664fc7d7cc5fdb3d7729..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 427 zcmZ?wbhEHb&X#Yff~OvdUK^-^#%$vc)I$ztaD0e0stzc7;OLm diff --git a/themes/prestashop/img/sitemap-last.gif b/themes/prestashop/img/sitemap-last.gif deleted file mode 100644 index ee3a5ef3f06bd058ec1c2c61084a23b650680d7e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 76 zcmZ?wbhEHblw^=%XkcJyXlVHV|G(l-7DjdkMg|=QAOOiQFe&%+vz>g)f3a)JrOeG? dyQAN<@@h=G)5NBkx$PbI@lQV2%|aO%tO0#}8dd-R diff --git a/themes/prestashop/img/sitemap-top.gif b/themes/prestashop/img/sitemap-top.gif deleted file mode 100644 index 98a27e4a0b4af0d8a28d93c28be95207b0c1fb57..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 393 zcmZ?wbhEHblw^=%xXQrr|NsBrzkmPw{pbJxrT_oW{QrN>{~wdzzkmP#edp`fufKoj z{QtV;$&)AlpVWVNQuY6K>Hq63f3FrCJ9g~g!Gn(u2He`8vwi#aZQHh8-{J6Rv-7fL z%g!%SJGnsd%uJKhGmMYTk~}s`>f|)T6H^Ti^=s|zQr*?Aw7o@sYm@BeM(GW85)BOv zYpO(+m+~(y=3P?6v$&9ZQ32P2JdSxeY;&?$W@RwVOlJhTkO4PP{K>+|&S1u%15yI= z69d~ahuH-lI#T^7mK2@Lv6_EDW1}-~D_>&<`vFl7x1Ke{(HhekmrOd@;w3vpuA%bW z({(DR1P&Z{|C?J!%u~LlwXH>jTVK4HrMO>IUcj)&L!O1Du9lTcUeIW&JNtBwrOTEw z%Sak8bYq;(!n<^ zUw(g{pT57|-~R8Nynyru8nky1UqXEg`8D+S5MV@s2rDYI$PlALjsFliO7uwaqR5OR zHh#I;r_i883xYJd5-ClkJDCD?IuvSA zZ1boRv^r6$R;)+4CiS`$Y*VpM$woCh6;wR;wCT5qZN2J_pk zN?*Z$2?xef81Z2=gB4fR+ZOO+$yXt>y=*x%<+Yj(Pxf4S^IOqzNzXN17xi7$d0FoT z&DnKi*rREewtX6RYTc`OxAy(oacJPPg~uk2S$1;dosHLaej9pj>AR`-w*DJ?aK?$b zFLv`;dvWjK$qyI59DQ^1$JHxe5B@y+=kuf2pMJl3{_Fd*_aEOLUwi+J7a)BF+IJv+ W3F@~Xe+~NgAb@&&^WFmm0028n6d(lv diff --git a/themes/prestashop/img/step_current.gif b/themes/prestashop/img/step_current.gif deleted file mode 100644 index 2b63ceced336ef38323c7dd64d6326ad5476a177..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 230 zcmZ?wbhEHbOkv<=IKsei`s~H4*Kd9N`04A{Z~y-Nd;H|tt=o5h|NedA)VU{5pI^Cp zwN_}=Sy<$SL6wwY+_}eTX4fD zqfg3Z!ik(bjpLmTi#RP}Ppm0B{kCc|AFp$XXWjW1TdK}pi!f<8v24M~E$^RazrN6* b-N#zhWWmJX!N$_uWy&rf%HOS}$Y2csC=-0b diff --git a/themes/prestashop/img/step_end.gif b/themes/prestashop/img/step_end.gif deleted file mode 100644 index fd181fd5090ca1c30989ede6a7d47d8b148a368c..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 190 zcmZ?wbhEHb)L`IdIKsei^Y+~nr_TNU{rl_JZ~y-Nd-C-8<0sEPe*ARd($&{*-d??S z^Yqz^XU<-H@$%KFGZ#L6{&MyDtq&hQo;i2v_{p>X|Nmzo1QdU=fR*TgNRXWjtkw#u zeJPpqGFGk2dA-lTN2G(9w~)u@kH~|aVN0$D2XvfRQnZstX6A(zK|(p4Vjj+0OB22@ Ow5&C~SkdFeU=09cQ&t=R diff --git a/themes/prestashop/img/step_end_current.gif b/themes/prestashop/img/step_end_current.gif deleted file mode 100644 index e1a6c42e5412d6fc26759b8a32788532c9cd1b92..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 196 zcmZ?wbhEHb)L`IdIKsei^Y+~nr_TNU{rl_JZ~y-Nd-C-8<0sEPe*ARd($&{*-d??S z^Yqz^XU<-H@$%KFGZ#L6{&MyDtq&hQo;i2v_{p>X|Nmzo1av?OKz1>(dMc>)rDV>_ zShX(a^*#e1kq&0wLLQ$#A`f$hINdHdnR$4{TX96x#X|Ns9CL;%H~EMQeSAQEIJ1FQc7mA;hB zc^RwL<-FckpmV+?_kKklze}?P)7*j^OdfrcTqc~z@l)`4a_D7O)cPB1%1*zn+W%lf gg%4kFG-K=5g1pB(>?#Ql)?H`fcRR9f**oAi}meD~j;IyuGWz@m+T3=Gx)f~+Mc diff --git a/themes/prestashop/img/tab_bg.jpg b/themes/prestashop/img/tab_bg.jpg deleted file mode 100644 index 79f1e23ae01bdf44a97dd83dda191fc65920b994..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1073 zcmex=BN0W%z=M-S*#*HygA9V1!YHU1 zC?w2e$n5z476T8^S|&keK?Zw&b^7cDi^g9(GLnsn(@w z;&zzjFq=!7Yv(+*w6x@xfBqalV^eJWRd=nG`svdPCSH)6xWaPMix8NpStAyML84Z?>|xgw6ajHaMp_* z{T3oI?sK^Gl+Uq>3qEJ+?)cp3dZhBeqDM9l0t@8|G)PjQ5jHnD&^!ER?Hs>s`zOl< z{xdAx^3V7`L(HR?J2#eY`sCj=*>e)d?u_dhJ*OW;NKT%t^sDd8BVqZK`RcJQNm4h3 zvrc>}z2c_0cEV=mlh*?!+O|2J>4!*h8`;b)73|1P(HRU%x)vALf3tD6)AElgvg6sG V&z%0G&wlls`u-c4M(zJ^0s!}qcs>9C diff --git a/themes/prestashop/img/tab_bg_selected.jpg b/themes/prestashop/img/tab_bg_selected.jpg deleted file mode 100644 index 18610f21abbd6218510141cc4b63728b46606d7a..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1434 zcmex=^8JK}q z!bO4pU}j-rV-;XvU}EKAVq{{6$}zG64PX;r$RZMQC3Nc5Y3$(~f|Ob>;Eghdn$9hnmgKWsdxWW@6S76T8^AxwhIf(-TyU$>UG zY~FI8@8kQFt9=j7&p#S!rc{0|az#RvL#$nh)LAuQ&cz9_-K-LZv7us-p|!Vk-|Tv= zv+0oLo7%Y5wq|;r+xqQmzgO$kdLES9U2uEpa_=`UrN6xlagX*(;`n;I?XIp>e7d{R zU9FB>%MRu1dD10YUe?Z)=`LBNxaFBbf9#IjOP7~^D=E^ww4&|uj3(Q%hugjVrr*4H zV!PKO>5*iFYwg6>2UcxhJ7?u!U;p{&x00#vfkB}7YtEVOKcz-#=hx=myIgtg(w+mm zkA=PJT=GEeviy&_&6*brI80ct>Cffd%=XwcGBIU!n8K!2?VAqR?*H`b^Xi8WzkHNy z*S=e0bo}J8-R?V@BDY0X8vopzal}>UPvu|XFvp*&asL@!=U@8EZEJh~=Eg@0uBrO8 zHHxxr)MDsrj+n~e>bSw18uUX=eaSh}4l4Oj^82A&g`yY*NTJ<~<;~ zJ@Asj&*pC)^VI6@)lVz)*#33-#oe2J)o+|w{^zHq>E${5wRZV!+U!)>?YU^_Wr5kI z5hpiw>zscWd?hSIO}lB4;*SO$JG)17@0NeurdbwOpuN#zhyUl3wO)6mC+ru^pT5*` z%G3hgW|6fAcXEFW`&nhIsr5kNsCGe~)1T0NaXqKJc5oQN)Gjufw2p}QRmHk-}~O3_x^bE*qO=s?X}lFd#$zinOU>8_@THP z$j$NKcmN27!94T_#4i|$95y?`FTmG>2mr=HAAv9lmIEMBm?jGFbY(6G4P)YO z0T>Vg4wwND#Z66~8|V=P(8h6RGgDC|3IA+kT>yO(0C!nleoW?1`M*UJZn7v10LTy3 zw&3woxhStfIUzGGSt5UjGA%k@!Z0FX5o#dHiV}{QV&m^RQ|u&RUZRkP>I9;k%uD1+ zxEbZO8R>kK5pR?WG6eiglsi$@Nk~r=pgf8)Es-CU3IK*Ek*D#wu_&`pmJ$U8uu--H zfFKp~ou%9*9Q~bX{t`~(XQ6fiz)nie771cv)0hTaL#COXoh{RgpP9f?)pE8|&0LbP8P}lK`KXl1)iA_sOwl_7+%*-?q z@VO?Ec>ZYrrNR%*e-6K_XChheN9>qx{KZk}32978P`OD7N$DbHYH}2p&t(1QGyJzF z{$kcIcFYLiFXoH*LUgHM^pFXJG3ag!d4e=Sl8`A7{<9tao6~-=0f4DPjf$uTCjl+O z1ju#J0P?0CV5nq(gzrH|pdY*DLktFz&n`rxf9lYGf7SO-8U0|2(H{I=@*jVxf*7U* z*#SXJZn`LAN{o>_uz&<)0Szbvb)XFl01KD{8{hz(fjgK3d_fQh1&aU|#DYX10-0bL z$OQ$U2y6n|!A`Ij90XOM2Al@<;5@hju7Ngi8{7v^KsV?EufZ@F0}~Jg;UQ^=3MoSx zkS=5lnM1bFY{(t*fdZgVC=!Z+git!P3|a*hL0h1m(0-^2It87Bu0S`SPUsQT0}Vp& zp)W83OTjc)4c3EAVO!V*_J)Jtg>Vd<0xyB{;f-)9Tmc`0>)$e9W)drnWnhi5_E-*f0X7Dki7mjEU=L$!u~)J8v3=Mv91cgv z>Emp0Ubs+P9BwIYJ#IJd1nx4f6W5Cy#pChHcw@XH-WMN*Ps11B%kanWm+*J+efUoV zGC_l2PVgXv5rl+1LJ6UoaFK9_&`+2k$`N&m_C#MIkC;s?CLSa<5<7@}#0e6Gq)&1r z1(D)NxujB34e2WBDd_{5Ox7aXk^RX6@=9_k`6T%|xrh8&N?yuHiY*l`l`geW>WI{3 zsYg;Dq@|_xq@AV1q|>A~N>@oYOFx(XBtw-kk>SYjWO8K6W$I+^$h?&$%IeCx$S#sy zB3mMRMz%wCNRB9{C&!kHl3O8HE_Y7uf!rvCN-?AOQW7caDb(fJWoDf z{(yY5d@mKDYE#)%E_D_4AoVJ>kA|b^(>Sy^S`qCy?G|lVL0-X9Ay^?xp(M#%1bQ+3G`)-dMNv)BMUk(#PO(Puj^enIs*(gwlPbFUm}1cjb8H&C2!4 z&r~ofMk@X)nJRl!uBr^F(o`K(xvGV#r&S*_V1^MRfU%TufYHtvRZ~~7;m`S@U{_bWMvd#Y;3ygOgch11h zu$v*AQ8D8ION!;f%3vL3^_b92d`$98>P_C7>X?R^ZZ>T-ot$YkGhybznNQ5*&E}Zp znKhcdH#aipnwOj3vyis%u*k7!uo$s4w&Yvxv3zJnwVG?S#;VEco3)L#$hyXQ&_>55 z(q@;<16!J{pY3|v>vmW>SGyd$^LC%@t?kq7Pust9U^&D)R67jJ(x1hjb#PX%qn2Zo z<9^5P+05CIv-i#JcG7f;a;k88;jHb^ssr~7jcEsq$FqaMSaR-Q{eFMDCVyuCJiJ>aNuxST4^@En^t%jdLs zOL+%+@AQ7*W8@?9X`Bnsoilgq+^6$&=LzT4`vPB%?^fSue)@hXe!u(U{QdmP{a*%{ z1uP3_4WtG}1Xc%*1-S+l2R)f@Fh6~MQ?P7scyLwlc!*obmXPiRrVExYXbV*d6@)f~ z;lqN%4u_5Y=KkCE-}=I>!VAK?7V0m|T6klT%A$lt7b0XMq9V>jVk1K$t0TWg`9@Vl zjYe~#cSR3#+1wr6*F0z5Hr^oLk-vrCzu0l{mc;`xjxk$f24kIKOJauvY{5>!NSs&P z-nj92-}oc(;)IZd6N!Yx$i#C(d11V;B}qLgE2%TtIJqFXJH>n00%g*S_47L^ozUC&*AbA#E2(hcH`i#OgXwl3bY3AahO zscW;-=E^OUElalaZk@ZeZX0u3;kJ+4Bevftu`JoUgR~=kM|Y`DX+xP#*`~6uJ7ag= zFLy0Jv5T>5-LCQ7yxn*9IPa<1tG2gj@0WdoeGm70?ysxRt0*~uJCJeU<-y>Ct%qz6 zRUKA2Ty*%`5#f>U%7Dt2Dx0dRYDRVOQTS;3(ZOTk$8H~YJKj*ks@Z>nexm3kIGKL( z)v3r+U8lWIH=VIPQ*&1L?5Tnb=CXo^=ls2np<63FI{)M ze*T92jdM3`Z`QY2x7D>sxglHXRMO?QS=A&g#5)$LY?MyKZ-{-Q(PA zyFc%KXV?6$hY!LZbU)-h9C(!QXykFmU*91dSa;H4duM@`ocIEk8Dm`i(vxOB|aRFZ`tZsq(Y!=hiPFU-~C9zv91^ zelz^mIO#q4RGcUlPv-*DxxjQTFr5ob=K|BYz;rG!oeNCY1*Yo)({+LAy1;Z@V7e|a zT^IQOTNe;t1{4BN0EGxd0WbwZD3JIG$OkwK7Kg>)a9A83k0X#MWD=1`QjnFCqA1f< zRFvpSimDn0nyPBL>WWHQrrNrOMl)D5R5i^kXBt}?7|$?<(DFBlNTQL+G-HMmgJJyN zZQ>RPz1D)T=#>K6rqUI(4qa2CHd?lXvmQN2O4;%yS7e*UkG+T_I{)1Pm)gi#kbk z9m^iw5s6FRJ^J??%KKX${cz}qKjOzg3W3mLgHV7Ic;_?tf)S@ueZ0+gqGe;$x#+;_ z^YOX4pSuQi*4HLP4DHsR%pHpu@5yN@s%e(}wY%^CN{>3B&k=)t%XfVH6fs;efK1G8 zf_2X38Het8+a|2Ai8vr57`R%wVWi;IjSa`fQaUX0ZP~u6*SqWRH5LmR;zBI!zG+Rg z-DN2{YPx(O-5<&?+WXk)O@LBPtQgcfZ#PEm7;tejpk_!eik2|w1G(;@pcM+}a8nuE!w zNuPVfpjZq>D_=TmJlP-yvz$i6V6v8R9hpeE)W2rZNesFUlz|+f&DUWuXcdDm_fna% zZ?1{K9*s|8AO>L@dC<3pKR=)gX^6pV|Mrzm|Jw`lAA>qUH$9=G5ITh3L3)#311KF7QGp~tC;>tf8-j=mt|%%ZSQbPSadB;c ztQAo#EC>oJmIYZvlvP|sRMfm1d4tZI*?s$V=FR)#ags?s_ji8h-t+yPb7y|@JEFUy z0U+(;$@T;g41@XT2Z$akC9~b!mIeg*d$RpJ00aS`wAha?NP(pRNET!WgS=c>3l>JO z@SOk#M1TXP07P@rQ|ASHh5)p&J=|F7sFRq#wzqu%y%PYpjJyL_tgrUJL{v_yFarQ6 z0QENK^3pjduSGd2J0n$We~B_9CQ-~VB4!~vL6l|195>AdUwo$7NzB}20T=ZNMmd$6 z%oXz`ls9B$@=!*6Q7+8l^RiLyMp-i{GntR_1j>wLUUWJD7^2vo!Q;fEY=kmJ7!u@$ zvMm4vO57Kwc!)XX3o`=6oWWa$&JzH)l++v{KQ2ClrOVM{ncCXgu)KNMNxX~=gP$T`@dbah!hdtvH*)}BdQ+n&dd+9R zSZWNUyBGlZtpi}_WPn8OMSGx`Rr4c;0r6`Wt~xTk>A&3S%d3pOFeT^}{KfLmpLBj4 zON?$oAuLX&Fl*Y35&vNU2}l73kOwM21Ly)HUy|0UQtyl7SFp zgOwl;6oO)~1?&J7U>~Rfb)W$p2TkA%xCpL*8{j7B1^2-K7zWS5ICu-DAPB-k5)d7d zhg2ag$N(~fY#>L-1M-7{poLHr6bA{QOlT#v7Al5Hp$e!9s)LR}r=g3`HK-f92Mt1_ z(C^R(7=bA;16GE$VH4N}c7c825O^^h2dBZy;R1LwTn<;mN8m>IB76hxg$Lm0@B{)7 zGQvdE5F^9}aYOu(2qYE}BCC-iqztJ>8ju#G9l3=JAY;gT3=TuburNj#dyF?G6vM%! zVOC={VJa|(FpZct%q`3yW*qYwD}hzQ8er|PZ0rJT95x$Uh%Lj`VozZ&V|%f~*ta+w zj)~L3S>wEM3vmg!6}U~fJ-DN|3%G9F5N-mG$IIgl@D6x?d^A1-Ux?p@KY~Ax@4*k_ z-x0_JRe~A8lMq1=5b_CSgu{e$gdV~OVTveC)FRpu{fS&+4zYw-Lu?^-5r>IWBq~XV zEYI^d0F5DxGRd^`|CNH&G8$uTh`U@HB0j2aQWB zpzWt!q7Bgzx(3~i&Y`cR*U&H1hZ#7A4uj1|U=%ZcV01FZWoR-MGGQ{yWGZFO$_y|O zrZ$t!Ok$QWk2Cw2A7qtfU1WK(8)X}0dt@i&6y==dcydK@N9B6uKFG7=J>(PRx5_uk zKUBad=qm&&WGn1dxU4Xy$WXLbNA!M%Y~K1DrdE^#?_S6ywx(*s?<8wrqp%R zL)G)ukE%b^AZgfW#A!Sx=y-jy4AY3^>BJNdWm{_^ls|I`j-0f`jz@!2C#vZ0pDPcLAN2+ z(AH33SZ#R6h+^bolx0+JG-%8;_A|~mZZdvhqG=Lgvel&BnfjRK zo3@z#Zl-U>F{?DYZ7yN%X`XA|Z2ro^z=CJ7*W#`v-EyAgddpVJPgd4eLaPR=QEN@> zDC^zUcWf9o0XCa#uG(U4U2Su1&)B}Vv$D&uJ8t*V-pD@D{;>VixjJ)sb8F@fIjB2C zJ5)IgII`g!gY?T(Djt-q??`FDz^*n zh`X12k$a~H%_G#K!sC&rx@Vkcz2~@>rPm6t3*K07U+=Bnci75o4!e#$?qlt<%BRhj z;v4K+;rrN6-%se*G7p~TGjH3x2lKV&3+6ZZ1An&vHvfkKIss_`KLz3f0|F}pp9Gl( ztqf`prUx$#J{1B@Je|ju@14Nu}|Y1;oNzk9J4C3-erenpIAm+CRo;yqo1=eXJonO@&hX{D>y4!SE{YdTRFJO zWmVN`Xm!l$)?AI;g52RXUTY5Jk@6Dre$JnhUz-1BZTQ-j0_B1=1w-q+*3}nE777dR zthZmkZv$one?#X+^NqVUelFq`T`!(fTvq&X6KB))?@Yfd|4y_yc5`QmRmt8hxGjP$ zeOsNj9xA1lE-xM0Hg8+wcGmWy?QeE0-EpnVqHNzz($37C1Lc0@&AT*rZQ1p)BEF)x z(zWvFZl&EDcTeu&?&;aj|3^4JWlu?mk67Rn!PI<}{8s#WxK!FKq5U?Q^=d#lGd#PsTqTJfn7| z@~q6+l5?bU1?NQPm!F@wka}V4V%)`{)}^iYFDX~bH*G^xzx!!cc>PBOSWyh(XEq^}MY1P@-W!=?$)AnXd_uTGtJx)CrZ@J&Pa+`ho zM(_OI?!M5zyLTe*4BX}3eR?nH-mCts{;B(G9$+67J(PY}_DJbb^)GtA938M4I6LS* z*zq{{@%NC*@)^$-BYutXGT3oZ$4Y}Z1{QV^Qp1I->ARsexdu~ zCK>Z&O!YpKY}shenM>FFC987iuoTFf!9&^0hLfY9_&^~~nVrgooE;xE% zG+sT8VV1YGilE_o?4nFi_qe8cj4+=_V#>isnbY7ZW&JAC}a z$y1F@&8J&hFST91(th>Y^`2X|d;9L(z1KhZc<9&RCnHZspS}A1^_z*elkeVtfB-Tr zXGYOCdeHDgFb0EQ@M1j>oGlhh#bDJ;aWt1ed~_OJ-7Js5aNSyU>>^RaJZM}dM%Yba zYFZ3xy%J0MqUf&)%Kux6W(3XX5%mKK0-@Ump#mo``P<`3dL*QlTaNoxcMQ~PI{ut2 z0&~?x;2c&KOj$O4954R-juDBB_5Jd?)nsZQFjeZrqTDXR`ImVf7yhTt+6?>s9^bWl zx|}R&3xHMWY^v!QmwS#uk7}|HM4g`BpWOJW#6$IZC5AoHBbW0A{Kc>QyIP!byEScJ zm{VsS?Lc2|=>40LZ@~FPrw5*hxzXF;y$-ai1?p%Kym diff --git a/themes/prestashop/img/table_footer.gif b/themes/prestashop/img/table_footer.gif deleted file mode 100644 index 01f1e34f46a97d4f5bc86fd050899dec01cea2cd..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 105 zcmZ?wbhEHblx1RLXkcXc4+e@qSr{1@7#VaJfB+=Jz~s=5{)-0I$ZZ_jW3 zwnrY*o^>vJb!yu??&F_)u7B%&{_EWLfBZaL?MEJ|CirMgKeKGIc!%BcE33YC`MPj3 GSOWm|-Y_r# diff --git a/themes/prestashop/img/table_header.gif b/themes/prestashop/img/table_header.gif deleted file mode 100644 index 0c25ee4d7cdefa1dc0cd3b75c68a8ecf103860bf..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1262 zcmb`?c~6rE0D$p#+R=*4F%LA02NQ!Fg_vlNZT>+bp@^s?GiVm3m^mzGh#EwPOBI9) zs5n$mxdbew_uWDZEwr?ycP(vUT!ljK11R*MvMzpyJs;qgJg{>asXyL0wC#I9y93~k zj8W+W3>IfhBvGm-RG+kJjZQP6pU_Q(LZR6?!`9Z;5RX495J}}Ku|z(?7b;Ym;SqsG zJL&cLINVXWQZvBe$`oq;m{=s1i6sh&OvxG?CQ=x5CYwTIv4=;7xcm{mh(u))$aLU; z?S}y9D*)I5K)$w{rb7M_x5~jPeCzLXmh}B9+M%N|pMPWrwnzbRfiwSqM_A2nav6K`=Dw~UrtX}dlns|#a^Wr%}VH4Ju#nOf9N~|H${bO zFuzH?w(oY88zt@MnS@z(rN=faWfJGPi0wNMXR}BPeB_?QYcdwu$bqF~c4QAwmZhyH zi|1qmRI{?{Y{TITgEXrK{R{S*e2{L}lTIH|r?DB%Y1SS4oSe;c&-1Ex9=XV2ts2G6 ziPsgJ0gqYLbKd>%CSt=rNiCjN46%J~1Ha+OrD0CMW6@x*D~E@Iz7?ai^HM1IGQ#h% z&nvmyPzVT%Gax`waKj@=EZXomBE@2;j?9Q#sM(tfzkz@?b}iH%tgwU@>Y{7o7Lmu^ zz!#s!q0o!!UI_xucrC^kX<_k8P3cjEOD{8H`JP$I)~}c09|3u@g96o1MrbJV*x%qKX}4aV*wBk)_xjR8>Zz zlQxlC?4(Z?V4aMa3cHhOs7)-R!XWvs0SgKnat%5db{Bg^nCRxL>x$h&eiPO`{Ml=F za{(}Pg$LsPDF8!`<5or^PCHikkud10VDFWZ)v*J&aI3(1y z>4x^|E&PTq@1Ao*pI?{coxIsn>Yal3;VZPTCWCjnT$JRSxvMYr%~qQ6zPT!&(>IR* zC;JUG`^)?b$m0b6V&nY78gLUVIk5EVN?BmJ^%fyuYP;tOn7itdH!Zy_Wt&!XA7Rsm dW4a!g3IxeP2TfnLGw5WQ2|*V}dKd)!{2y}X&jbJf diff --git a/themes/prestashop/img/thumbs_left.gif b/themes/prestashop/img/thumbs_left.gif deleted file mode 100644 index 2830a5fc8fe7f8ed6e754fe6324c236d2362b76d..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 201 zcmZ?wbhEHb#mkp3|NHmv+O=ypZ{ECp`}VJ2zwX|>`~Uxc25dm_ zCkrD3g9L*PND^cx1FM^YTHlN>6BbR0SdkL*MnhLr$2vsT`^c2rlbnw%pB$rbcs{G3 qgHU2)TF~+ai>WglQ?gDQ%`@a#&?w8OWhL_9k}4-hV!0va8l^XJch{P^+n=g%iko_ziK z_3G8D4VjryY}zjzsr{|U%Ytn{Q2`|&z}AM{rms_{~2%t#h)yU3=Con zIv^z=I~iD=6c{2?GDFX0%nMmOP1KZA-`exA^nJm_?I284@;~5Z4J@qc!=!siuJS&J5N7EjL_V diff --git a/themes/prestashop/img/title_bg.gif b/themes/prestashop/img/title_bg.gif deleted file mode 100644 index 44fd38e9a7378f10054211ddc940922e910062f6..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1385 zcmdUs`A^da7{<%7mMgA9he$k%5-bAFOe1W%gvkU1+*n-HY)nOsRu0!hqAt3HD;5Dy z5O5+?KqxI>5h#^IkZLJ%Iws&i+d{wh-Imf~rK^9&-XGrg&6_8mym_A3eKC<=rG&YD z&H_DHFpNSlLNN;zV+J7Sj*_&AX3P$U1H~x-!YJB^lMF?hKp3MKXGb9fXN<<>uAH7&AZ^K^hU1wA<|l0K^Fz#YqDQlavv~NQ|Ixf&u{00HH8~ zBOfme?$l!hf>DGMf>R)bQnZ<*jWlBfKm>pglA>wGM9~aRkQh!9q*H^y2!^0IZ8W1! zgwgy?t7HAID$wTc!eV)_!ajceF%uTYk>!!&>$hgFDF13fVbQhgH*Vg#U0iafw5Fnz6dD`3etY7u~g?d0U_;P4? zWOQu&Rac9fzh^{|ksCSXET6*Sh#NenQ!&0sdJ(YW9wBzOIhHAKxy0Ej!$r`u1hJZ0gZ5 zRl&LhMdO=R!G!eJAw|tLUQ7PA}@>hl)8CJH; z58T|8P?`ATF)&oVee>uqHF=_FpW}jYc}*KKAvqvBGSb%HN~rA!~T=;v*cq(G4g8m~#H`o5=g0h?}3(~kCZEmAsF;f5cccH2zwgzV_p zyItql;VUwxdHtdf@2w_GJJ#FlaIn~XU6#9_K$q+!($-Z`DSA|7B4S zPvyy{b$Su+3V$v?s8ld_m0u^BD+p7-bA{W~{Q06ClY;qck)UM$`tHvBe$Ow1gdX0( zMdPYlals7+$L++Oh@m(sCIl$?>EIdQ&f!xHKxy)M1SmUpB?K%#S$Y@n2$l;qoG*Oz z;60%_1gglKJOkao2sS{Kmn{fXmBroyi}Urc8DsFR= z`R~LC!aR|*@*6i7FJ)ri>&TN$3zNwgh=r+RqHxRf$+8T~8$o@O<=^xU!ZITq2w$Ad zoXS{yd*S->P)%_>=<4q9^YHQX|NsB$?C<60>+kUL?C$aJ@bl*A>+kXN=IH9@>Fn|H z^8Wt*<>u<`?(pX4=;-S0?(p>A;NkA?@$2pI=jiL?=j-k6^6BdC{QUgn<>u_|@apXD zut)>geh0>Fe(6?eXmH^6BgC>Fe+9@A2#G@8;*~@9^~Q z@bd8S^5y2~<>%?{@9^;P^Y8HS?CtLB?C$OE@8;*}=;`a}>g@3H^y=&F@$&TE-{1&r z3qSw>010$bPE-H?|NsC0|Nj6}Pk0gl009z7L_t&-)9t|pcEUgu1<>D4WMTw3aiIry zhf%7E0niEqYm*cA#%Ira z1kmuj^SH;v{=O()0kn!@?=$h*kK<tXw9Yvhly8{ z;X6Qs;bg_c58EGrM%xD_PSbCIMrq2#o#humqh*JQJ5^Rn=kQR;z8AcK{lu z*>1I%*foxy01b|Y%fzl>7*7CNhGDo&T-S>zx&UZI(W0)I7~r3N0iv>Z^wm}OdjJ3c M07*qoM6N<$f*zD#3jhEB diff --git a/themes/prestashop/img/title_bg_large.gif b/themes/prestashop/img/title_bg_large.gif deleted file mode 100644 index d06f6e6ba7565424e15a89cec915ab42cb004f84..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1428 zcmdUs`A^da7{)swf{2Dhhh$*_!5|h?;v8aThz2GoI!Sb5GE^1~RH=kSgDzPzL~I$L zpeP`sl)JR$5NcbbToyUn3TP2Tu0q@Ief9)e>B^t6H%~tKJiook6MynV^pQWmx_!?8 z7!0S=xxT*ca5!kAkusVo+DvcIMA1f)wve=$q)jAcCMg$p@iSss=z0KzakPs9joE)H428 z7rg4h@MJg{5gT7`Y{Kw#<}h;IkHr1T&HuNcu;}5V;*!TtN}oO}E3bH7`J(FOt7=|N zZC!msV-vqw@a%~DcWrIQkB9hrOE$~8-ge7-di(kZ-YEv(4-Jou4oJL}W8)JaKWQdE zPfdTB`8qo{Kcn^ziHUK`jg9h!eLY+&xmGor%oeL{Wp&N&__pq3xO)dAwDSh;du?Z? zjI`G%xOTSB=E!3Sd4>L4S#u+=>xPSiVhaLJcGQoShMg0njCM4r$|J8Tt4?+{es~dm z3z-}3Og|Nzmz1i8I{6>#5=xnul;UPhQ&Qcj-wSF>IKm&cvF4R;gwt)Qih>^#C8C*5 zmPT+%C25(JW;u1rmxCWagBxJ*?v{^>P)u;pOxK07d~`L$;JNrTLOQR z%V^z5Y50{fd6x;Cs7tJlaZGU0z%bV0SWmZ&)G7)C&-Th!O^`--WxTh?ZliRn>a%^l z-|Q0~ZV_+UYnK>WE{q%s(-j?>V(A`61AN`1qgF^)d~DNReMy|(b^YUn&}O~! z$>}IqUz+6hSAzHX%2dO%i)qb_MrxQWMM zG8?$<{kdECjRHg+ZR_6@j=ckO-@#rl;k#jUeh+!ph;+on|8{9Ulcw(z$N zw=L#)?qAX7?aW+R%HPwvvRrhSSkaZl?_bqFP0n03RHR>yp1&PvRDjjRA!|^5dFC3- zZ)#mbL{ef6Z6Drm$Hdc_c3cLw+6lRhu#^3s2OQL(rdLUi>}hit)rU!kX(Il>H}hn2 KaY7K|m;V6ZBq{p< diff --git a/themes/prestashop/index.php b/themes/prestashop/index.php deleted file mode 100644 index 97e018453..000000000 --- a/themes/prestashop/index.php +++ /dev/null @@ -1,37 +0,0 @@ - -* @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 -*/ - -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; -?> \ No newline at end of file diff --git a/themes/prestashop/index.tpl b/themes/prestashop/index.tpl deleted file mode 100644 index 4b3ac542f..000000000 --- a/themes/prestashop/index.tpl +++ /dev/null @@ -1,27 +0,0 @@ -{* -* 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 -* @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 -*} - -{$HOOK_HOME} \ No newline at end of file diff --git a/themes/prestashop/js/cart-summary.js b/themes/prestashop/js/cart-summary.js deleted file mode 100644 index e98908360..000000000 --- a/themes/prestashop/js/cart-summary.js +++ /dev/null @@ -1,392 +0,0 @@ -/* -* 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 -* @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 -*/ - -$(document).ready(function() -{ - $('.cart_quantity_up').unbind('click').click(function(){ upQuantity($(this).attr('id').replace('cart_quantity_up_', '')); return false; }); - $('.cart_quantity_down').unbind('click').click(function(){ downQuantity($(this).attr('id').replace('cart_quantity_down_', '')); return false; }); - $('.cart_quantity_delete' ).unbind('click').click(function(){ deletProductFromSummary($(this).attr('id')); return false; }); - $('.cart_quantity_input').typeWatch({ highlight: true, wait: 600, captureLength: 0, callback: updateQty }); -}); - -function updateQty(val) -{ - var id = $(this.el).attr('name'); - var exp = new RegExp("^[0-9]+$"); - - if (exp.test(val) == true) - { - var hidden = $('input[name='+ id +'_hidden]').val(); - var input = $('input[name='+ id +']').val(); - var QtyToUp = parseInt(input) - parseInt(hidden); - - if (parseInt(QtyToUp) > 0) - upQuantity(id.replace('quantity_', ''),QtyToUp); - else if(parseInt(QtyToUp) < 0) - downQuantity(id.replace('quantity_', ''),QtyToUp); - } - else - $('input[name='+ id +']').val($('input[name='+ id +'_hidden]').val()); -} - -function deletProductFromSummary(id) -{ - var customizationId = 0; - var productId = 0; - var productAttributeId = 0; - var ids = 0; - ids = id.split('_'); - productId = parseInt(ids[0]); - if (typeof(ids[1]) != 'undefined') - productAttributeId = parseInt(ids[1]); - if (typeof(ids[2]) != 'undefined') - customizationId = parseInt(ids[2]); - $.ajax({ - type: 'GET', - url: baseDir + 'cart.php', - async: true, - cache: false, - dataType: 'json', - data: 'ajax=true&delete&summary&id_product='+productId+'&ipa='+productAttributeId+ ( (customizationId != 0) ? '&id_customization='+customizationId : '') + '&token=' + static_token , - success: function(jsonData) - { - if (jsonData.hasError) - { - var errors = ''; - for(error in jsonData.errors) - //IE6 bug fix - if(error != 'indexOf') - errors += jsonData.errors[error] + "\n"; - } - else - { - if (parseInt(jsonData.summary.products.length) == 0) - { - $('#center_column').children().each(function() { - if ($(this).attr('id') != 'emptyCartWarning' && $(this).attr('class') != 'breadcrumb' && $(this).attr('id') != 'cart_title') - { - $(this).fadeOut('slow', function () { - $(this).remove(); - }); - } - }); - $('#summary_products_label').remove(); - $('#emptyCartWarning').fadeIn('slow'); - } - else - { - $('#product_'+ id).fadeOut('slow', function() { - $(this).remove(); - }); - - var exist = false; - for (i=0;i delete product line - if (!exist) - $('#product_'+ productId+'_'+productAttributeId).fadeOut('slow', function() { - $(this).remove(); - }); - } - updateCartSummary(jsonData.summary); - updateHookShoppingCart(jsonData.HOOK_SHOPPING_CART); - updateHookShoppingCartExtra(jsonData.HOOK_SHOPPING_CART_EXTRA); - updateCustomizedDatas(jsonData.customizedDatas); - if (jsonData.carriers != null) - updateCarrierList(jsonData); - - } - }, - error: function(XMLHttpRequest, textStatus, errorThrown) {alert("TECHNICAL ERROR: unable to save update quantity \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus);} - }); -} - -function upQuantity(id, qty) -{ - if(typeof(qty)=='undefined' || !qty) - qty = 1; - var customizationId = 0; - var productId = 0; - var productAttributeId = 0; - var ids = 0; - ids = id.split('_'); - productId = parseInt(ids[0]); - if (typeof(ids[1]) != 'undefined') - productAttributeId = parseInt(ids[1]); - if (typeof(ids[2]) != 'undefined') - customizationId = parseInt(ids[2]); - $.ajax({ - type: 'GET', - url: baseDir + 'cart.php', - async: true, - cache: false, - dataType: 'json', - data: 'ajax=true&add&summary&id_product='+productId+'&ipa='+productAttributeId + ( (customizationId != 0) ? '&id_customization='+customizationId : '') + '&qty='+qty+'&token=' + static_token , - success: function(jsonData) - { - if (jsonData.hasError) - { - var errors = ''; - for(error in jsonData.errors) - //IE6 bug fix - if(error != 'indexOf') - errors += jsonData.errors[error] + "\n"; - alert(errors); - $('input[name=quantity_'+ id +']').val($('input[name=quantity_'+ id +'_hidden]').val()); - } - else - { - updateCustomizedDatas(jsonData.customizedDatas); - updateCartSummary(jsonData.summary); - updateHookShoppingCart(jsonData.HOOK_SHOPPING_CART); - updateHookShoppingCartExtra(jsonData.HOOK_SHOPPING_CART_EXTRA); - if (jsonData.carriers != null) - updateCarrierList(jsonData); - } - }, - error: function(XMLHttpRequest, textStatus, errorThrown) {alert("TECHNICAL ERROR: unable to save update quantity \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus);} - }); -} - -function downQuantity(id, qty) -{ - var val = $('input[name=quantity_'+id+']').val(); - var newVal = val; - if(typeof(qty)=='undefined' || !qty) - { - qty = 1; - newVal = val - 1; - } - else if (qty < 0) - qty = -qty; - var customizationId = 0; - var productId = 0; - var productAttributeId = 0; - var ids = 0; - if (newVal > 0) - { - ids = id.split('_'); - productId = parseInt(ids[0]); - if (typeof(ids[1]) != 'undefined') - productAttributeId = parseInt(ids[1]); - if (typeof(ids[2]) != 'undefined') - customizationId = parseInt(ids[2]); - $.ajax({ - type: 'GET', - url: baseDir + 'cart.php', - async: true, - cache: false, - dataType: 'json', - data: 'ajax=true&add&summary&id_product='+productId+'&ipa='+productAttributeId+'&op=down' + ( (customizationId != 0) ? '&id_customization='+customizationId : '') + '&qty='+qty+'&token=' + static_token , - success: function(jsonData) - { - if (jsonData.hasError) - { - var errors = ''; - for(error in jsonData.errors) - //IE6 bug fix - if(error != 'indexOf') - errors += jsonData.errors[error] + "\n"; - alert(errors); - $('input[name=quantity_'+ id +']').val($('input[name=quantity_'+ id +'_hidden]').val()); - } - else - { - updateCustomizedDatas(jsonData.customizedDatas); - updateCartSummary(jsonData.summary); - updateHookShoppingCart(jsonData.HOOK_SHOPPING_CART); - updateHookShoppingCartExtra(jsonData.HOOK_SHOPPING_CART_EXTRA); - if (jsonData.carriers != null) - updateCarrierList(jsonData); - } - }, - error: function(XMLHttpRequest, textStatus, errorThrown) {alert("TECHNICAL ERROR: unable to save update quantity \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus);} - }); - - } - else - { - deletProductFromSummary(id); - } -} - -function updateCartSummary(json) -{ - // Update products prices + discount - var i; - var nbrProducts = 0; - for (i=0;i 1 ? txtProducts : txtProduct)); - if (priceDisplayMethod != 0) - $('#total_product').html(formatCurrency(json.total_products, currencyFormat, currencySign, currencyBlank)); - else - $('#total_product').html(formatCurrency(json.total_products_wt, currencyFormat, currencySign, currencyBlank)); - $('#total_price').html(formatCurrency(json.total_price, currencyFormat, currencySign, currencyBlank)); - $('#total_price_without_tax').html(formatCurrency(json.total_price_without_tax, currencyFormat, currencySign, currencyBlank)); - $('#total_tax').html(formatCurrency(json.total_tax, currencyFormat, currencySign, currencyBlank)); - - if (json.total_shipping <= 0) - $('.cart_total_delivery').fadeOut(); - else - { - $('.cart_total_delivery').fadeIn(); - if (priceDisplayMethod != 0) - { - $('#total_shipping').html(formatCurrency(json.total_shipping_tax_exc, currencyFormat, currencySign, currencyBlank)); - } - else - { - $('#total_shipping').html(formatCurrency(json.total_shipping, currencyFormat, currencySign, currencyBlank)); - } - } - - if (json.free_ship > 0 && !json.is_virtual_cart) - { - $('.cart_free_shipping').fadeIn(); - $('#free_shipping').html(formatCurrency(json.free_ship, currencyFormat, currencySign, currencyBlank)); - } - else - $('.cart_free_shipping').hide(); - - if (json.total_wrapping > 0) - { - $('#total_wrapping').html(formatCurrency(json.total_wrapping, currencyFormat, currencySign, currencyBlank)); - $('#total_wrapping').parent().show(); - } - else - { - $('#total_wrapping').html(formatCurrency(json.total_wrapping, currencyFormat, currencySign, currencyBlank)); - $('#total_wrapping').parent().hide(); - } - if (window.ajaxCart !== undefined) - ajaxCart.refresh(); -} - -function updateCustomizedDatas(json) -{ - for(i in json) - for(j in json[i]) - for(k in json[i][j]) - { - $('input[name=quantity_'+i+'_'+j+'_'+k+'_hidden]').val(json[i][j][k]['quantity']); - $('input[name=quantity_'+i+'_'+j+'_'+k+']').val(json[i][j][k]['quantity']); - } -} - -function updateHookShoppingCart(html) -{ - $('#HOOK_SHOPPING_CART').html(html); -} - -function updateHookShoppingCartExtra(html) -{ - $('#HOOK_SHOPPING_CART_EXTRA').html(html); -} - diff --git a/themes/prestashop/js/cms.js b/themes/prestashop/js/cms.js deleted file mode 100644 index ec17959b2..000000000 --- a/themes/prestashop/js/cms.js +++ /dev/null @@ -1,41 +0,0 @@ -/* -* 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 -* @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 -*/ - -function submitPublishCMS(url, redirect) -{ - var id_cms = $('#admin-action-cms-id').val(); - - $.ajaxSetup({async: false}); - $.post(url+'/ajax.php', { submitPublishCMS: '1', id_cms: id_cms, status: 1, redirect: redirect }, - function(data) - { - if (data.indexOf('error') === -1) - document.location.href = data; - } - ); - - return true; -} \ No newline at end of file diff --git a/themes/prestashop/js/history.js b/themes/prestashop/js/history.js deleted file mode 100644 index 8213cfb7f..000000000 --- a/themes/prestashop/js/history.js +++ /dev/null @@ -1,127 +0,0 @@ -/* -* 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 -* @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 -*/ - -//show the order-details with ajax -function showOrder(mode, var_content, file) -{ - var url; - if (file.match(/^https?:\/\//)) - url = file; - else - url = baseDir + file + '.php'; - - $.get( - url, - ((mode == 1) ? {'id_order': var_content, 'ajax': true} : {'id_order_return': var_content, 'ajax': true}), - function(data) - { - $('#block-order-detail').fadeOut('slow', function() - { - $(this).html(data); - /* if return is allowed*/ - if ($('div#order-detail-content table td.order_cb').length > 0) - { - //return slip : check or uncheck every checkboxes - $('form div#order-detail-content th input[type=checkbox]').click(function() - { - $('form div#order-detail-content td input[type=checkbox]').each(function() - { - this.checked = $('form div#order-detail-content th input[type=checkbox]').is(':checked'); - updateOrderLineDisplay(this); - }); - }); - //return slip : enable or disable 'global' quantity editing - $('form div#order-detail-content td input[type=checkbox]').click(function() - { - updateOrderLineDisplay(this); - }); - //return slip : limit quantities - $('form div#order-detail-content td input.order_qte_input').keyup(function() - { - var maxQuantity = parseInt($(this).parent().find('span.order_qte_span').text()); - var quantity = parseInt($(this).val()); - if (isNaN($(this).val()) && $(this).val() != '') - { - $(this).val(maxQuantity); - } - else - { - if (quantity > maxQuantity) - $(this).val(maxQuantity); - else if (quantity < 1) - $(this).val(1); - } - }); - } - //catch the submit event of sendOrderMessage form - $('form#sendOrderMessage').submit(function(){ - return sendOrderMessage(); - }); - $(this).fadeIn('slow'); - $.scrollTo(this, 1200); - }); - }); -} - -function updateOrderLineDisplay(domCheckbox){ - var lineQuantitySpan = $(domCheckbox).parent().parent().find('span.order_qte_span'); - var lineQuantityInput = $(domCheckbox).parent().parent().find('input.order_qte_input'); - if($(domCheckbox).is(':checked')) - { - lineQuantitySpan.hide(); - lineQuantityInput.show(); - } - else - { - lineQuantityInput.hide(); - lineQuantityInput.val(lineQuantitySpan.text()); - lineQuantitySpan.show(); - } -} - -//send a message in relation to the order with ajax -function sendOrderMessage (){ - paramString = "ajax=true"; - $('form#sendOrderMessage').find('input, textarea').each(function(){ - paramString += '&' + $(this).attr('name') + '=' + encodeURI($(this).val()); - }); - $.ajax({ - type: "POST", - url: baseDir + "order-detail.php", - data: paramString, - success: function (msg){ - $('#block-order-detail').fadeOut('slow', function() { - $(this).html(msg); - //catch the submit event of sendOrderMessage form - $('form#sendOrderMessage').submit(function(){ - return sendOrderMessage(); - }); - $(this).fadeIn('slow'); - }); - } - }); - return false; -} diff --git a/themes/prestashop/js/order-address.js b/themes/prestashop/js/order-address.js deleted file mode 100644 index 74c5bcb1a..000000000 --- a/themes/prestashop/js/order-address.js +++ /dev/null @@ -1,123 +0,0 @@ -/* -* 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 -* @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 -*/ - -$(document).ready(function() -{ - updateAddressesDisplay(true); -}); - -//update the display of the addresses -function updateAddressesDisplay(first_view) -{ - // update content of delivery address - updateAddressDisplay('delivery'); - - var txtInvoiceTitle = ""; - - try{ - var adrs_titles = getAddressesTitles(); - txtInvoiceTitle = adrs_titles.invoice; - } - catch (e) - { - - } - - // update content of invoice address - //if addresses have to be equals... - - if ($('input[type=checkbox]#addressesAreEquals:checked').length == 1) - { - $('#address_invoice_form:visible').hide('fast'); - $('ul#address_invoice').html($('ul#address_delivery').html()); - $('ul#address_invoice li.address_title').html(txtInvoiceTitle); - } - else - { - $('#address_invoice_form:hidden').show('fast'); - if ($('select#id_address_invoice').val()) - updateAddressDisplay('invoice'); - else - { - $('ul#address_invoice').html($('ul#address_delivery').html()); - $('ul#address_invoice li.address_title').html(txtInvoiceTitle); - } - } - - if(!first_view) - { - if (orderProcess == 'order') - updateAddresses(); - } - - return true; -} - -function updateAddressDisplay(addressType) -{ - if (typeof(addresses) == 'undefined') - return false; - - if (addresses.length <= 0) - return false; - - var idAddress = $('select#id_address_' + addressType + '').val(); - buildAddressBlock(idAddress, addressType, $('#address_'+ addressType)); - - // change update link - var link = $('ul#address_' + addressType + ' li.address_update a').attr('href'); - var expression = /id_address=\d+/; - link = link.replace(expression, 'id_address='+idAddress); - $('ul#address_' + addressType + ' li.address_update a').attr('href', link); -} - -function updateAddresses() -{ - var idAddress_delivery = $('select#id_address_delivery').val(); - var idAddress_invoice = $('input[type=checkbox]#addressesAreEquals:checked').length == 1 ? idAddress_delivery : $('select#id_address_invoice').val(); - - $.ajax({ - type: 'POST', - url: baseDir + 'order.php', - async: true, - cache: false, - dataType : "json", - data: 'processAddress=true&step=2&ajax=true&id_address_delivery=' + idAddress_delivery + '&id_address_invoice=' + idAddress_invoice+ '&token=' + static_token , - success: function(jsonData) - { - if (jsonData.hasError) - { - var errors = ''; - for(error in jsonData.errors) - //IE6 bug fix - if(error != 'indexOf') - errors += jsonData.errors[error] + "\n"; - alert(errors); - } - }, - error: function(XMLHttpRequest, textStatus, errorThrown) {alert("TECHNICAL ERROR: unable to save adresses \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus);} - }); -} diff --git a/themes/prestashop/js/order-opc.js b/themes/prestashop/js/order-opc.js deleted file mode 100755 index f147a1166..000000000 --- a/themes/prestashop/js/order-opc.js +++ /dev/null @@ -1,674 +0,0 @@ -/* -* 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 -* @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 -*/ - -function updateCarrierList(json) -{ - var carriers = json.carriers; - - /* contains all carrier available for this address */ - if (carriers.length == 0) - { - checkedCarrier = 0; - $('input[name=id_carrier]:checked').attr('checked', false); - $('#noCarrierWarning').show(); - $('#extra_carrier').hide(); - $('#recyclable_block').hide(); - $('table#carrierTable:visible').hide(); - } - else - { - checkedCarrier = json.checked; - var html = ''; - for (i=0;i'; - - html = html + - ''+ - ''+ - ''+ - ''+carriers[i].delay+''+ - ''+formatCurrency(carriers[i].price, currencyFormat, currencySign, currencyBlank)+''; - if (taxEnabled && displayPrice == 0) - html = html + ' ' + txtWithTax; - else - html = html + ' ' + txtWithoutTax; - html = html + ''+ - ''; - } - if (json.HOOK_EXTRACARRIER !== null && json.HOOK_EXTRACARRIER != undefined) html += json.HOOK_EXTRACARRIER; - $('#noCarrierWarning').hide(); - $('#extra_carrier:hidden').show(); - $('table#carrierTable tbody').html(html); - $('table#carrierTable:hidden').show(); - $('#recyclable_block:hidden').show(); - } - - /* update hooks for carrier module */ - $('#HOOK_BEFORECARRIER').html(json.HOOK_BEFORECARRIER); -} - -function updatePaymentMethods(json) -{ - $('#HOOK_TOP_PAYMENT').html(json.HOOK_TOP_PAYMENT); - $('#opc_payment_methods-content div#HOOK_PAYMENT').html(json.HOOK_PAYMENT); -} - -function updateAddressSelection() -{ - var idAddress_delivery = ($('input#opc_id_address_delivery').length == 1 ? $('input#opc_id_address_delivery').val() : $('select#id_address_delivery').val()); - var idAddress_invoice = ($('input#opc_id_address_invoice').length == 1 ? $('input#opc_id_address_invoice').val() : ($('input[type=checkbox]#addressesAreEquals:checked').length == 1 ? idAddress_delivery : ($('select#id_address_invoice').length == 1 ? $('select#id_address_invoice').val() : idAddress_delivery))); - - $('#opc_account-overlay').fadeIn('slow'); - $('#opc_delivery_methods-overlay').fadeIn('slow'); - $('#opc_payment_methods-overlay').fadeIn('slow'); - - $.ajax({ - type: 'POST', - url: orderOpcUrl, - async: true, - cache: false, - dataType : "json", - data: 'ajax=true&method=updateAddressesSelected&id_address_delivery=' + idAddress_delivery + '&id_address_invoice=' + idAddress_invoice + '&token=' + static_token, - success: function(jsonData) - { - if (jsonData.hasError) - { - var errors = ''; - for(error in jsonData.errors) - //IE6 bug fix - if(error != 'indexOf') - errors += jsonData.errors[error] + "\n"; - alert(errors); - } - else - { - updateCarrierList(jsonData); - updatePaymentMethods(jsonData); - updateCartSummary(jsonData.summary); - updateHookShoppingCart(jsonData.HOOK_SHOPPING_CART); - updateHookShoppingCartExtra(jsonData.HOOK_SHOPPING_CART_EXTRA); - if ($('#gift-price').length == 1) - $('#gift-price').html(jsonData.gift_price); - $('#opc_account-overlay').fadeOut('slow'); - $('#opc_delivery_methods-overlay').fadeOut('slow'); - $('#opc_payment_methods-overlay').fadeOut('slow'); - } - }, - error: function(XMLHttpRequest, textStatus, errorThrown) {alert("TECHNICAL ERROR: unable to save adresses \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus);} - }); -} - -function getCarrierListAndUpdate() -{ - $('#opc_delivery_methods-overlay').fadeIn('slow'); - $.ajax({ - type: 'POST', - url: orderOpcUrl, - async: true, - cache: false, - dataType : "json", - data: 'ajax=true&method=getCarrierList&token=' + static_token, - success: function(jsonData) - { - if (jsonData.hasError) - { - var errors = ''; - for(error in jsonData.errors) - //IE6 bug fix - if(error != 'indexOf') - errors += jsonData.errors[error] + "\n"; - alert(errors); - } - else - updateCarrierList(jsonData); - $('#opc_delivery_methods-overlay').fadeOut('slow'); - } - }); -} - -function updateCarrierSelectionAndGift() -{ - var recyclablePackage = 0; - var gift = 0; - var giftMessage = ''; - var idCarrier = 0; - - if ($('input#recyclable:checked').length) - recyclablePackage = 1; - if ($('input#gift:checked').length) - { - gift = 1; - giftMessage = encodeURIComponent($('textarea#gift_message').val()); - } - - if ($('input[name=id_carrier]:checked').length) - { - idCarrier = $('input[name=id_carrier]:checked').val(); - checkedCarrier = idCarrier; - } - - $('#opc_payment_methods-overlay').fadeIn('slow'); - $('#opc_delivery_methods-overlay').fadeIn('slow'); - $.ajax({ - type: 'POST', - url: orderOpcUrl, - async: false, - cache: false, - dataType : "json", - data: 'ajax=true&method=updateCarrierAndGetPayments&id_carrier=' + idCarrier + '&recyclable=' + recyclablePackage + '&gift=' + gift + '&gift_message=' + giftMessage + '&token=' + static_token , - success: function(jsonData) - { - if (jsonData.hasError) - { - var errors = ''; - for(error in jsonData.errors) - //IE6 bug fix - if(error != 'indexOf') - errors += jsonData.errors[error] + "\n"; - alert(errors); - } - else - { - updateCartSummary(jsonData.summary); - updatePaymentMethods(jsonData); - updateHookShoppingCart(jsonData.summary.HOOK_SHOPPING_CART); - updateHookShoppingCartExtra(jsonData.summary.HOOK_SHOPPING_CART_EXTRA); - $('#opc_payment_methods-overlay').fadeOut('slow'); - $('#opc_delivery_methods-overlay').fadeOut('slow'); - } - }, - error: function(XMLHttpRequest, textStatus, errorThrown) {alert("TECHNICAL ERROR: unable to save carrier \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus);} - }); -} - -function confirmFreeOrder() -{ - if ($('#opc_new_account-overlay').length != 0) - $('#opc_new_account-overlay').fadeIn('slow'); - else - $('#opc_account-overlay').fadeIn('slow'); - $('#opc_delivery_methods-overlay').fadeIn('slow'); - $('#opc_payment_methods-overlay').fadeIn('slow'); - $.ajax({ - type: 'POST', - url: orderOpcUrl, - async: true, - cache: false, - dataType : "html", - data: 'ajax=true&method=makeFreeOrder&token=' + static_token , - success: function(html) - { - var array_split = html.split(':'); - if (array_split[0] === 'freeorder') - { - if (isGuest) - document.location.href = guestTrackingUrl+'?id_order='+encodeURIComponent(array_split[1])+'&email='+encodeURIComponent(array_split[2]); - else - document.location.href = historyUrl; - } - }, - error: function(XMLHttpRequest, textStatus, errorThrown) {alert("TECHNICAL ERROR: unable to confirm the order \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus);} - }); -} - -function saveAddress(type) -{ - if (type != 'delivery' && type != 'invoice') - return false; - - var params = 'firstname='+encodeURIComponent($('#firstname'+(type == 'invoice' ? '_invoice' : '')).val())+'&lastname='+encodeURIComponent($('#lastname'+(type == 'invoice' ? '_invoice' : '')).val())+'&'; - params += 'company='+encodeURIComponent($('#company'+(type == 'invoice' ? '_invoice' : '')).val())+'&'; - params += 'vat_number='+encodeURIComponent($('#vat_number'+(type == 'invoice' ? '_invoice' : '')).val())+'&'; - params += 'dni='+encodeURIComponent($('#dni'+(type == 'invoice' ? '_invoice' : '')).val())+'&'; - params += 'address1='+encodeURIComponent($('#address1'+(type == 'invoice' ? '_invoice' : '')).val())+'&'; - params += 'address2='+encodeURIComponent($('#address2'+(type == 'invoice' ? '_invoice' : '')).val())+'&'; - params += 'postcode='+encodeURIComponent($('#postcode'+(type == 'invoice' ? '_invoice' : '')).val())+'&'; - params += 'city='+encodeURIComponent($('#city'+(type == 'invoice' ? '_invoice' : '')).val())+'&'; - params += 'id_country='+encodeURIComponent($('#id_country'+(type == 'invoice' ? '_invoice' : '')).val())+'&'; - params += 'id_state='+encodeURIComponent($('#id_state'+(type == 'invoice' ? '_invoice' : '')).val())+'&'; - params += 'other='+encodeURIComponent($('#other'+(type == 'invoice' ? '_invoice' : '')).val())+'&'; - params += 'phone='+encodeURIComponent($('#phone'+(type == 'invoice' ? '_invoice' : '')).val())+'&'; - params += 'phone_mobile='+encodeURIComponent($('#phone_mobile'+(type == 'invoice' ? '_invoice' : '')).val())+'&'; - params += 'alias='+encodeURIComponent($('#alias'+(type == 'invoice' ? '_invoice' : '')).val())+'&'; - // Clean the last & - params = params.substr(0, params.length-1); - - var result = false; - - $.ajax({ - type: 'POST', - url: addressUrl, - async: false, - cache: false, - dataType : "json", - data: 'ajax=true&submitAddress=true&type='+type+'&'+params+'&token=' + static_token, - success: function(jsonData) - { - if (jsonData.hasError) - { - var tmp = ''; - var i = 0; - for(error in jsonData.errors) - //IE6 bug fix - if(error != 'indexOf') - { - i = i+1; - tmp += '

  • '+jsonData.errors[error]+'
  • '; - } - tmp += ''; - var errors = ''+txtThereis+' '+i+' '+txtErrors+':
      '+tmp; - $('#opc_account_errors').html(errors).slideDown('slow'); - $.scrollTo('#opc_account_errors', 800); - $('#opc_new_account-overlay').fadeOut('slow'); - $('#opc_delivery_methods-overlay').fadeOut('slow'); - $('#opc_payment_methods-overlay').fadeOut('slow'); - result = false; - } - else - { - // update addresses id - $('input#opc_id_address_delivery').val(jsonData.id_address_delivery); - $('input#opc_id_address_invoice').val(jsonData.id_address_invoice); - - result = true; - } - }, - error: function(XMLHttpRequest, textStatus, errorThrown) {alert("TECHNICAL ERROR: unable to save adresses \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus);} - }); - - return result; -} - -function updateNewAccountToAddressBlock() -{ - $('#opc_new_account-overlay').fadeIn('slow'); - $('#opc_delivery_methods-overlay').fadeIn('slow'); - $('#opc_payment_methods-overlay').fadeIn('slow'); - $.ajax({ - type: 'POST', - url: orderOpcUrl, - async: true, - cache: false, - dataType : "json", - data: 'ajax=true&method=getAddressBlockAndCarriersAndPayments&token=' + static_token , - success: function(json) - { - $('#opc_new_account').fadeOut('fast', function() { - $('#opc_new_account').html(json.order_opc_adress); - // update block user info - if (json.block_user_info != '' && $('#header_user').length == 1) - { - $('#header_user').fadeOut('slow', function() { - $(this).attr('id', 'header_user_old').after(json.block_user_info).fadeIn('slow'); - $('#header_user_old').remove(); - }); - } - $('#opc_new_account').fadeIn('fast', function() { - updateAddressesDisplay(true); - updateCarrierList(json.carrier_list); - updatePaymentMethods(json); - if ($('#gift-price').length == 1) - $('#gift-price').html(json.gift_price); - $('#opc_delivery_methods-overlay').fadeOut('slow'); - $('#opc_payment_methods-overlay').fadeOut('slow'); - }); - }); - }, - error: function(XMLHttpRequest, textStatus, errorThrown) {alert("TECHNICAL ERROR: unable to send login informations \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus);} - }); -} - -$(function() { - // GUEST CHECKOUT / NEW ACCOUNT MANAGEMENT - if ((!isLogged) || (isGuest)) - { - if (guestCheckoutEnabled && !isLogged) - { - $('#opc_account_choice').show(); - $('#opc_account_form').hide(); - $('#opc_invoice_address').hide(); - - $('#opc_createAccount').click(function() { - $('.is_customer_param').show(); - $('#opc_account_form').slideDown('slow'); - $('#is_new_customer').val('1'); - $('#opc_account_choice').hide(); - $('#opc_invoice_address').hide(); - updateState(); - updateNeedIDNumber(); - updateZipCode(); - }); - $('#opc_guestCheckout').click(function() { - $('.is_customer_param').hide(); - $('#opc_account_form').slideDown('slow'); - $('#is_new_customer').val('0'); - $('#opc_account_choice').hide(); - $('#opc_invoice_address').hide(); - $('#new_account_title').html(txtInstantCheckout); - updateState(); - updateNeedIDNumber(); - updateZipCode(); - }); - } - else if (isGuest) - { - $('.is_customer_param').hide(); - $('#opc_account_form').show('slow'); - $('#is_new_customer').val('0'); - $('#opc_account_choice').hide(); - $('#opc_invoice_address').hide(); - $('#new_account_title').html(txtInstantCheckout); - updateState(); - updateNeedIDNumber(); - updateZipCode(); - } - else - { - $('#opc_account_choice').hide(); - $('#is_new_customer').val('1'); - $('.is_customer_param').show(); - $('#opc_account_form').show(); - $('#opc_invoice_address').hide(); - updateState(); - updateNeedIDNumber(); - updateZipCode(); - } - - // LOGIN FORM - $('#openLoginFormBlock').click(function() { - $('#openNewAccountBlock').show(); - $(this).hide(); - $('#login_form_content').slideDown('slow'); - $('#new_account_form_content').slideUp('slow'); - return false; - }); - // LOGIN FORM SENDING - $('#SubmitLogin').click(function() { - $.ajax({ - type: 'POST', - url: authenticationUrl, - async: false, - cache: false, - dataType : "json", - data: 'SubmitLogin=true&ajax=true&email='+encodeURIComponent($('#login_email').val())+'&passwd='+encodeURIComponent($('#passwd').val())+'&token=' + static_token , - success: function(jsonData) - { - if (jsonData.hasError) - { - var errors = ''+txtThereis+' '+jsonData.errors.length+' '+txtErrors+':
        '; - for(error in jsonData.errors) - //IE6 bug fix - if(error != 'indexOf') - errors += '
      1. '+jsonData.errors[error]+'
      2. '; - errors += '
      '; - $('#opc_login_errors').html(errors).slideDown('slow'); - } - else - { - // update token - static_token = jsonData.token; - updateNewAccountToAddressBlock(); - } - }, - error: function(XMLHttpRequest, textStatus, errorThrown) {alert("TECHNICAL ERROR: unable to send login informations \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus);} - }); - return false; - }); - - // INVOICE ADDRESS - $('#invoice_address').click(function() { - if ($('#invoice_address:checked').length > 0) - { - $('#opc_invoice_address').slideDown('slow'); - if ($('#company_invoice').val() == '') - $('#vat_number_block_invoice').hide(); - updateState('invoice'); - updateNeedIDNumber('invoice'); - updateZipCode('invoice'); - } - else - $('#opc_invoice_address').slideUp('slow'); - }); - - // VALIDATION / CREATION AJAX - $('#submitAccount').click(function() { - $('#opc_new_account-overlay').fadeIn('slow'); - $('#opc_delivery_methods-overlay').fadeIn('slow'); - $('#opc_payment_methods-overlay').fadeIn('slow'); - - // RESET ERROR(S) MESSAGE(S) - $('#opc_account_errors').html('').slideUp('slow'); - - if ($('input#opc_id_customer').val() == 0) - { - var callingFile = authenticationUrl; - var params = 'submitAccount=true&'; - } - else - { - var callingFile = orderOpcUrl; - var params = 'method=editCustomer&'; - } - - $('#opc_account_form input:visible').each(function() { - if ($(this).is('input[type=checkbox]')) - { - if ($(this).is(':checked')) - params += encodeURIComponent($(this).attr('name'))+'=1&'; - } - else if ($(this).is('input[type=radio]')) - { - if ($(this).is(':checked')) - params += encodeURIComponent($(this).attr('name'))+'='+encodeURIComponent($(this).val())+'&'; - } - else - params += encodeURIComponent($(this).attr('name'))+'='+encodeURIComponent($(this).val())+'&'; - }); - $('#opc_account_form select:visible').each(function() { - params += encodeURIComponent($(this).attr('name'))+'='+encodeURIComponent($(this).val())+'&'; - }); - params += 'customer_lastname='+encodeURIComponent($('#customer_lastname').val())+'&'; - params += 'customer_firstname='+encodeURIComponent($('#customer_firstname').val())+'&'; - params += 'alias='+encodeURIComponent($('#alias').val())+'&'; - params += 'is_new_customer='+encodeURIComponent($('#is_new_customer').val())+'&'; - // Clean the last & - params = params.substr(0, params.length-1); - - $.ajax({ - type: 'POST', - url: callingFile, - async: false, - cache: false, - dataType : "json", - data: 'ajax=true&'+params+'&token=' + static_token , - success: function(jsonData) - { - if (jsonData.hasError) - { - var tmp = ''; - var i = 0; - for(error in jsonData.errors) - //IE6 bug fix - if(error != 'indexOf') - { - i = i+1; - tmp += '
    1. '+jsonData.errors[error]+'
    2. '; - } - tmp += '
    '; - var errors = ''+txtThereis+' '+i+' '+txtErrors+':
      '+tmp; - $('#opc_account_errors').html(errors).slideDown('slow'); - $.scrollTo('#opc_account_errors', 800); - } - - isGuest = ($('#is_new_customer').val() == 1 ? 0 : 1); - - if (jsonData.id_customer != undefined && jsonData.id_customer != 0 && jsonData.isSaved) - { - // update token - static_token = jsonData.token; - - // update addresses id - $('input#opc_id_address_delivery').val(jsonData.id_address_delivery); - $('input#opc_id_address_invoice').val(jsonData.id_address_invoice); - - // It's not a new customer - if ($('input#opc_id_customer').val() != '0') - { - if (!saveAddress('delivery')) - return false; - } - - // update id_customer - $('input#opc_id_customer').val(jsonData.id_customer); - - if ($('#invoice_address:checked').length != 0) - { - if (!saveAddress('invoice')) - return false; - } - - // update id_customer - $('input#opc_id_customer').val(jsonData.id_customer); - - // force to refresh carrier list - if (isGuest) - { - $('#opc_account_saved').fadeIn('slow'); - $('#submitAccount').hide(); - updateAddressSelection(); - } - else - updateNewAccountToAddressBlock(); - } - $('#opc_new_account-overlay').fadeOut('slow'); - $('#opc_delivery_methods-overlay').fadeOut('slow'); - $('#opc_payment_methods-overlay').fadeOut('slow'); - }, - error: function(XMLHttpRequest, textStatus, errorThrown) {alert("TECHNICAL ERROR: unable to save account \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus);} - }); - return false; - }); - } - - // Order message update - $('#message').blur(function() { - $('#opc_delivery_methods-overlay').fadeIn('slow'); - $.ajax({ - type: 'POST', - url: orderOpcUrl, - async: false, - cache: false, - dataType : "json", - data: 'ajax=true&method=updateMessage&message=' + encodeURIComponent($('#message').val()) + '&token=' + static_token , - success: function(jsonData) - { - if (jsonData.hasError) - { - var errors = ''; - for(error in jsonData.errors) - //IE6 bug fix - if(error != 'indexOf') - errors += jsonData.errors[error] + "\n"; - alert(errors); - } - else - $('#opc_delivery_methods-overlay').fadeOut('slow'); - }, - error: function(XMLHttpRequest, textStatus, errorThrown) {alert("TECHNICAL ERROR: unable to save message \n\nDetails:\nError thrown: " + XMLHttpRequest + "\n" + 'Text status: ' + textStatus);} - }); - }); - - // Recyclable checkbox - $('input#recyclable').click(function() { - updateCarrierSelectionAndGift(); - }); - - // Gift checkbox update - $('input#gift').click(function() { - if ($('input#gift').is(':checked')) - $('p#gift_div').show(); - else - $('p#gift_div').hide(); - updateCarrierSelectionAndGift(); - }); - - if ($('input#gift').is(':checked')) - $('p#gift_div').show(); - else - $('p#gift_div').hide(); - - // Gift message update - $('textarea#gift_message').blur(function() { - updateCarrierSelectionAndGift(); - }); - - // TOS - $('#cgv').click(function() { - if ($('#cgv:checked').length != 0) - var checked = 1; - else - var checked = 0; - - $('#opc_payment_methods-overlay').fadeIn('slow'); - $.ajax({ - type: 'POST', - url: orderOpcUrl, - async: true, - cache: false, - dataType : "json", - data: 'ajax=true&method=updateTOSStatusAndGetPayments&checked=' + checked + '&token=' + static_token, - success: function(json) - { - $('div#HOOK_TOP_PAYMENT').html(json.HOOK_TOP_PAYMENT); - $('#opc_payment_methods-content div#HOOK_PAYMENT').html(json.HOOK_PAYMENT); - $('#opc_payment_methods-overlay').fadeOut('slow'); - } - }); - }); - - $('#opc_account_form input,select,textarea').change(function() { - if ($(this).is(':visible')) - { - $('#opc_account_saved').fadeOut('slow'); - $('#submitAccount').show(); - } - }); - -}); diff --git a/themes/prestashop/js/product.js b/themes/prestashop/js/product.js deleted file mode 100644 index e781b79e5..000000000 --- a/themes/prestashop/js/product.js +++ /dev/null @@ -1,521 +0,0 @@ -/* -* 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 -* @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 -*/ - - -//global variables -var combinations = new Array(); -var selectedCombination = new Array(); -var globalQuantity = new Number; -var colors = new Array(); - -//check if a function exists -function function_exists(function_name) -{ - if (typeof function_name == 'string') - return (typeof window[function_name] == 'function'); - return (function_name instanceof Function); -} - -//execute oosHook js code -function oosHookJsCode() -{ - for (var i = 0; i < oosHookJsCodeFunctions.length; i++) - { - if (function_exists(oosHookJsCodeFunctions[i])) - setTimeout(oosHookJsCodeFunctions[i]+'()', 0); - } -} - -//add a combination of attributes in the global JS sytem -function addCombination(idCombination, arrayOfIdAttributes, quantity, price, ecotax, id_image, reference, unit_price, minimal_quantity) -{ - globalQuantity += quantity; - - var combination = new Array(); - combination['idCombination'] = idCombination; - combination['quantity'] = quantity; - combination['idsAttributes'] = arrayOfIdAttributes; - combination['price'] = price; - combination['ecotax'] = ecotax; - combination['image'] = id_image; - combination['reference'] = reference; - combination['unit_price'] = unit_price; - combination['minimal_quantity'] = minimal_quantity; - combinations.push(combination); - -} - -// search the combinations' case of attributes and update displaying of availability, prices, ecotax, and image -function findCombination(firstTime) -{ - $('#minimal_quantity_wanted_p').fadeOut(); - $('#quantity_wanted').val(1); - //create a temporary 'choice' array containing the choices of the customer - var choice = new Array(); - $('div#attributes select').each(function(){ - choice.push($(this).val()); - }); - var nbAttributesEquals = 0; - - //testing every combination to find the conbination's attributes' case of the user - for (var combination = 0; combination < combinations.length; ++combination) - { - //verify if this combinaison is the same that the user's choice - nbAttributesEquals = 0; - for (idAttribute in combinations[combination]['idsAttributes']) - { - //ie6 bug fix - if (idAttribute != 'indexOf'){ - //if this attribute has been choose by user - if (in_array(combinations[combination]['idsAttributes'][idAttribute], choice)) - { - - //we are in a good way to find the good combination ! - nbAttributesEquals++; - } - } - } - - if (nbAttributesEquals == choice.length) - { - if (combinations[combination]['minimal_quantity'] > 1) - { - $('#minimal_quantity_label').html(combinations[combination]['minimal_quantity']); - $('#minimal_quantity_wanted_p').fadeIn(); - $('#quantity_wanted').val(combinations[combination]['minimal_quantity']); - $('#quantity_wanted').bind('keyup', function() {checkMinimalQuantity(combinations[combination]['minimal_quantity'])}); - } - //combination of the user has been found in our specifications of combinations (created in back office) - selectedCombination['unavailable'] = false; - selectedCombination['reference'] = combinations[combination]['reference']; - $('#idCombination').val(combinations[combination]['idCombination']); - - //get the data of product with these attributes - quantityAvailable = combinations[combination]['quantity']; - selectedCombination['price'] = combinations[combination]['price']; - selectedCombination['unit_price'] = combinations[combination]['unit_price']; - if (combinations[combination]['ecotax']) - selectedCombination['ecotax'] = combinations[combination]['ecotax']; - else - selectedCombination['ecotax'] = default_eco_tax; - - //show the large image in relation to the selected combination - if (combinations[combination]['image'] && combinations[combination]['image'] != -1) - displayImage( $('#thumb_'+combinations[combination]['image']).parent() ); - - //update the display - updateDisplay(); - - if(typeof(firstTime) != 'undefined' && firstTime) - refreshProductImages(0); - else - refreshProductImages(combinations[combination]['idCombination']); - //leave the function because combination has been found - return; - } - } - //this combination doesn't exist (not created in back office) - selectedCombination['unavailable'] = true; - updateDisplay(); -} - -function updateColorSelect(id_attribute) -{ - if (id_attribute == 0) - { - refreshProductImages(0); - return ; - } - // Visual effect - $('#color_'+id_attribute).fadeTo('fast', 1, function(){ $(this).fadeTo('slow', 0, function(){ $(this).fadeTo('slow', 1, function(){}); }); }); - // Attribute selection - $('#group_'+id_color_default+' option[value='+id_attribute+']').attr('selected', 'selected'); - $('#group_'+id_color_default+' option[value!='+id_attribute+']').removeAttr('selected'); - findCombination(); -} - -//update display of the availability of the product AND the prices of the product -function updateDisplay() -{ - if (!selectedCombination['unavailable'] && quantityAvailable > 0 && productAvailableForOrder == 1) - { - //show the choice of quantities - $('#quantity_wanted_p:hidden').show('slow'); - - //show the "add to cart" button ONLY if it was hidden - $('#add_to_cart:hidden').fadeIn(600); - - //hide the hook out of stock - $('#oosHook').hide(); - - //availability value management - if (availableNowValue != '') - { - //update the availability statut of the product - $('#availability_value').removeClass('warning-inline'); - $('#availability_value').text(availableNowValue); - $('#availability_statut:hidden').show(); - } - else - { - //hide the availability value - $('#availability_statut:visible').hide(); - } - - //'last quantities' message management - if (quantityAvailable <= maxQuantityToAllowDisplayOfLastQuantityMessage && !allowBuyWhenOutOfStock) - { - //display the 'last quantities' message - $('#last_quantities').show('slow'); - $('#pQuantityAvailable:hidden').show('slow'); - $('#quantityAvailable').text(quantityAvailable); - - if(quantityAvailable < 2) - { - $('#quantityAvailableTxt').show(); - $('#quantityAvailableTxtMultiple').hide(); - } - else - { - $('#quantityAvailableTxt').hide(); - $('#quantityAvailableTxtMultiple').show(); - } - } - else - { - //hide the 'last quantities' message - $('#last_quantities').hide('slow'); - } - } - else - { - //show the hook out of stock - if (productAvailableForOrder == 1) - { - $('#oosHook').show(); - if ($('#oosHook').length > 0 && function_exists('oosHookJsCode')) - oosHookJsCode(); - } - - //hide 'last quantities' message if it was previously visible - $('#last_quantities:visible').hide('slow'); - - //hide the quantity of pieces if it was previously visible - $('#pQuantityAvailable:visible').hide('slow'); - - //hide the choice of quantities - if (!allowBuyWhenOutOfStock) - $('#quantity_wanted_p:visible').hide('slow'); - - //display that the product is unavailable with theses attributes - if (!selectedCombination['unavailable']) - $('#availability_value').text(doesntExistNoMore + (globalQuantity > 0 ? ' ' + doesntExistNoMoreBut : '')).addClass('warning-inline'); - else - { - $('#availability_value').text(doesntExist).addClass('warning-inline'); - $('#oosHook').hide(); - } - $('#availability_statut:hidden').show(); - - - //show the 'add to cart' button ONLY IF it's possible to buy when out of stock AND if it was previously invisible - if (allowBuyWhenOutOfStock && !selectedCombination['unavailable'] && productAvailableForOrder == 1) - { - $('#add_to_cart:hidden').fadeIn(600); - - if (availableLaterValue != '') - { - $('#availability_value').text(availableLaterValue); - $('p#availability_statut:hidden').show('slow'); - } - else - $('p#availability_statut:visible').hide('slow'); - } - else - { - $('#add_to_cart:visible').fadeOut(600); - $('p#availability_statut:hidden').show('slow'); - } - - if (productAvailableForOrder == 0) - $('p#availability_statut:visible').hide(); - } - - if (selectedCombination['reference'] || productReference) - { - if (selectedCombination['reference']) - $('#product_reference span').text(selectedCombination['reference']); - else if (productReference) - $('#product_reference span').text(productReference); - $('#product_reference:hidden').show('slow'); - } - else - $('#product_reference:visible').hide('slow'); - - //update display of the the prices in relation to tax, discount, ecotax, and currency criteria - if (!selectedCombination['unavailable'] && productShowPrice == 1) - { - var tax = (taxRate / 100) + 1; - var taxExclPrice = (specific_price ? (specific_currency ? specific_price : specific_price * currencyRate) : productPriceTaxExcluded) + selectedCombination['price'] * currencyRate; - - if (specific_price) - var productPriceWithoutReduction = productPriceTaxExcluded + selectedCombination['price'] * currencyRate; - - if (!displayPrice && !noTaxForThisProduct) - { - - var productPrice = ps_round(taxExclPrice * tax, 2); - if (specific_price) - productPriceWithoutReduction = ps_round(productPriceWithoutReduction * tax, 2); - } - else - { - var productPrice = ps_round(taxExclPrice, 2); - if (specific_price) - productPriceWithoutReduction = ps_round(productPriceWithoutReduction, 2); - } - - var reduction = 0; - if (reduction_price || reduction_percent) - { - reduction = productPrice * (parseFloat(reduction_percent) / 100) + reduction_price; - if (reduction_price && (displayPrice || noTaxForThisProduct)) - reduction = reduction / tax; - } - - if (!specific_price) - productPriceWithoutReduction = productPrice; - productPrice -= reduction; - - var ecotaxAmount = !displayPrice ? ps_round(selectedCombination['ecotax'] * (1 + ecotaxTax_rate / 100), 2) : selectedCombination['ecotax']; - productPrice += ecotaxAmount; - productPriceWithoutReduction += ecotaxAmount; - - //productPrice = ps_round(productPrice * currencyRate, 2); - if (productPrice > 0) - $('#our_price_display').text(formatCurrency(productPrice, currencyFormat, currencySign, currencyBlank)); - else - $('#our_price_display').text(formatCurrency(0, currencyFormat, currencySign, currencyBlank)); - - $('#old_price_display').text(formatCurrency(productPriceWithoutReduction, currencyFormat, currencySign, currencyBlank)); - - /* Special feature: "Display product price tax excluded on product page" */ - if (!noTaxForThisProduct) - var productPricePretaxed = productPrice / tax; - else - var productPricePretaxed = productPrice; - $('#pretaxe_price_display').text(formatCurrency(productPricePretaxed, currencyFormat, currencySign, currencyBlank)); - /* Unit price */ - productUnitPriceRatio = parseFloat(productUnitPriceRatio); - if (productUnitPriceRatio > 0 ) - { - newUnitPrice = (productPrice / parseFloat(productUnitPriceRatio)) + selectedCombination['unit_price']; - $('#unit_price_display').text(formatCurrency(newUnitPrice, currencyFormat, currencySign, currencyBlank)); - } - - /* Ecotax */ - var ecotaxAmount = !displayPrice ? ps_round(selectedCombination['ecotax'] * (1 + ecotaxTax_rate / 100), 2) : selectedCombination['ecotax']; - $('#ecotax_price_display').text(formatCurrency(ecotaxAmount, currencyFormat, currencySign, currencyBlank)); - } -} - -//update display of the large image -function displayImage(domAAroundImgThumb) -{ - if (domAAroundImgThumb.attr('href')) - { - var newSrc = domAAroundImgThumb.attr('href').replace('thickbox','large'); - if ($('#bigpic').attr('src') != newSrc) - { - $('#bigpic').fadeOut('fast', function(){ - $(this).attr('src', newSrc).show(); - if (typeof(jqZoomEnabled) != 'undefined' && jqZoomEnabled) - $(this).attr('alt', domAAroundImgThumb.attr('href')); - }); - } - $('#views_block li a').removeClass('shown'); - $(domAAroundImgThumb).addClass('shown'); - } -} - -// Serialscroll exclude option bug ? -function serialScrollFixLock(event, targeted, scrolled, items, position) -{ - serialScrollNbImages = $('#thumbs_list li:visible').length; - serialScrollNbImagesDisplayed = 3; - - var leftArrow = position == 0 ? true : false; - var rightArrow = position + serialScrollNbImagesDisplayed >= serialScrollNbImages ? true : false; - - $('a#view_scroll_left').css('cursor', leftArrow ? 'default' : 'pointer').css('display', leftArrow ? 'none' : 'block').fadeTo(0, leftArrow ? 0 : 1); - $('a#view_scroll_right').css('cursor', rightArrow ? 'default' : 'pointer').fadeTo(0, rightArrow ? 0 : 1).css('display', rightArrow ? 'none' : 'block'); - return true; -} - -// Change the current product images regarding the combination selected -function refreshProductImages(id_product_attribute) -{ - $('#thumbs_list_frame').scrollTo('li:eq(0)', 700, {axis:'x'}); - $('#thumbs_list li').hide(); - id_product_attribute = parseInt(id_product_attribute); - - if (typeof(combinationImages) != 'undefined' && typeof(combinationImages[id_product_attribute]) != 'undefined') - { - for (var i = 0; i < combinationImages[id_product_attribute].length; i++) - $('#thumbnail_' + parseInt(combinationImages[id_product_attribute][i])).show(); - } - if (i > 0) - { - var thumb_width = $('#thumbs_list_frame >li').width()+parseInt($('#thumbs_list_frame >li').css('marginRight')); - $('#thumbs_list_frame').width((parseInt((thumb_width)* i) + 3) + 'px'); // Bug IE6, needs 3 pixels more ? - } - else - { - $('#thumbnail_' + idDefaultImage).show(); - displayImage($('#thumbnail_'+ idDefaultImage +' a')); - } - $('#thumbs_list').trigger('goto', 0); - serialScrollFixLock('', '', '', '', 0);// SerialScroll Bug on goto 0 ? -} - -//To do after loading HTML -$(document).ready(function() -{ - //init the serialScroll for thumbs - $('#thumbs_list').serialScroll({ - items:'li:visible', - prev:'a#view_scroll_left', - next:'a#view_scroll_right', - axis:'x', - offset:0, - start:0, - stop:true, - onBefore:serialScrollFixLock, - duration:700, - step: 2, - lazy: true, - lock: false, - force:false, - cycle:false - }); - - $('#thumbs_list').trigger('goto', 1);// SerialScroll Bug on goto 0 ? - $('#thumbs_list').trigger('goto', 0); - - //hover 'other views' images management - $('#views_block li a').hover( - function(){displayImage($(this));}, - function(){} - ); - - //set jqZoom parameters if needed - if (typeof(jqZoomEnabled) != 'undefined' && jqZoomEnabled) - { - $('img.jqzoom').jqueryzoom({ - xzoom: 200, //zooming div default width(default width value is 200) - yzoom: 200, //zooming div default width(default height value is 200) - offset: 21 //zooming div default offset(default offset value is 10) - //position: "right" //zooming div position(default position value is "right") - }); - } - - //add a link on the span 'view full size' and on the big image - $('span#view_full_size, div#image-block img').click(function(){ - $('#views_block li a.shown').click(); - }); - - //catch the click on the "more infos" button at the top of the page - $('div#short_description_block p a.button').click(function(){ - $('#more_info_tab_more_info').click(); - $.scrollTo( '#more_info_tabs', 1200 ); - }); - - // Hide the customization submit button and display some message - $('p#customizedDatas input').click(function() { - $('p#customizedDatas input').hide(); - $('#ajax-loader').fadeIn(); - $('p#customizedDatas').append(uploading_in_progress); - }); - - //init the price in relation of the selected attributes - if (typeof productHasAttributes != 'undefined' && productHasAttributes) - findCombination(true); - else if (typeof productHasAttributes != 'undefined' && !productHasAttributes) - refreshProductImages(0); - - // - $('a#resetImages').click(function() { - updateColorSelect(0); - }); - - $('.thickbox').fancybox({ - 'hideOnContentClick': true, - 'transitionIn' : 'elastic', - 'transitionOut' : 'elastic' - }); -}); - -function saveCustomization() -{ - $('#quantityBackup').val($('#quantity_wanted').val()); - customAction = $('#customizationForm').attr('action'); - $('body select[id^="group_"]').each(function() { - customAction = customAction.replace(new RegExp(this.id + '=\\d+'), this.id +'='+this.value); - }); - $('#customizationForm').attr('action', customAction); - $('#customizationForm').submit(); -} - -function submitPublishProduct(url, redirect) -{ - var id_product = $('#admin-action-product-id').val(); - - $.ajaxSetup({async: false}); - $.post(url+'/ajax.php', { submitPublishProduct: '1', id_product: id_product, status: 1, redirect: redirect }, - function(data) - { - if (data.indexOf('error') === -1) - document.location.href = data; - } - ); - - return true; -} - -function checkMinimalQuantity(minimal_quantity) -{ - if ($('#quantity_wanted').val() < minimal_quantity) - { - $('#quantity_wanted').css('border', '1px solid red'); - $('#minimal_quantity_wanted_p').css('color', 'red'); - } - else - { - $('#quantity_wanted').css('border', '1px solid #BDC2C9'); - $('#minimal_quantity_wanted_p').css('color', '#374853'); - } -} - diff --git a/themes/prestashop/js/products-comparison.js b/themes/prestashop/js/products-comparison.js deleted file mode 100644 index a000307bf..000000000 --- a/themes/prestashop/js/products-comparison.js +++ /dev/null @@ -1,53 +0,0 @@ -/* -* 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 -* @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 -*/ - -function checkBeforeComparison() -{ - var id_list = ''; - $('.comparator:checked').each( - function() - { - id_list += $(this).val() + '|'; - } - ); - - $('.compare_product_list').val(id_list); - - if ($('.comparator:checked').length == 0) - { - alert(min_item); - return false; - } - - return true; -} - -function checkForComparison(nb_max_item) -{ - if ($('.comparator:checked').length > nb_max_item) - alert(max_item); -} - diff --git a/themes/prestashop/js/scenes.js b/themes/prestashop/js/scenes.js deleted file mode 100644 index 72a2a136a..000000000 --- a/themes/prestashop/js/scenes.js +++ /dev/null @@ -1,92 +0,0 @@ -/* -* 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 -* @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 -*/ - -nb_move_available = null; -current_move = 0; -next_scene_is_at_right = true; - -function loadScene(id_scene){ - $('#scenes').find('.screen_scene:visible').fadeTo(300, 0, function(){ - $(this).hide(); - $('#scenes').find('#screen_scene_' + id_scene).css('opacity', '0').show().fadeTo(500, 1); - }); - return false; -} - -function onSceneMove(){ - if (next_scene_is_at_right) current_move++; - else current_move--; - if (current_move == nb_move_available - 1) $('#scenes .next').fadeOut(); - else $('#scenes .next:hidden').fadeIn().css('display','block'); - if (current_move == 0) $('#scenes .prev').fadeOut().css('display','block'); - else $('#scenes .prev').fadeIn().css('display','block'); - return true; -} - -$(function () { - /* calcul nb of click to see every scenes */ - var ul_width = parseInt($('#scenes_list ul').width()); - var div_width = parseInt($('#scenes_list').width()); - nb_move_available = Math.ceil((ul_width-div_width)/li_width)+1; - if (nb_move_available < 2) - $('#scenes .next').hide(); - - /* set cluetip parameters */ - $('a.cluetip') - .cluetip({ - local:true, - cursor: 'pointer', - attribute:'accesskey', - cluetipClass: 'product_scene', - dropShadow: false, - dropShadowSteps: 0, - showTitle: false, - tracking: true, - sticky: false, - mouseOutClose: true, - closeText: i18n_scene_close, - fx: { - open: 'fadeIn', - openSpeed: 'fast' - } - }) - .css('opacity', 0.8); - - /* set serialscroll parameters */ - $('#scenes_list').serialScroll({ - items:'a', - duration:1000, - lock:false, - axis:'x', - cycle:false, - force:true, - lazy:true, - step:1, - onBefore:onSceneMove - }); - $('#scenes_list').trigger( 'goto', 0); - -}); diff --git a/themes/prestashop/js/stores.js b/themes/prestashop/js/stores.js deleted file mode 100644 index a73694cfa..000000000 --- a/themes/prestashop/js/stores.js +++ /dev/null @@ -1,217 +0,0 @@ -/* -* 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 -* @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 -*/ - -function initMarkers() -{ - var searchUrl = baseDir+'stores.php?ajax=1&all=1'; - downloadUrl(searchUrl, function(data) { - var xml = parseXml(data); - var markerNodes = xml.documentElement.getElementsByTagName('marker'); - var bounds = new google.maps.LatLngBounds(); - for (var i = 0; i < markerNodes.length; i++) - { - var name = markerNodes[i].getAttribute('name'); - var address = markerNodes[i].getAttribute('address'); - var addressNoHtml = markerNodes[i].getAttribute('addressNoHtml'); - var other = markerNodes[i].getAttribute('other'); - var id_store = markerNodes[i].getAttribute('id_store'); - var has_store_picture = markerNodes[i].getAttribute('has_store_picture'); - var latlng = new google.maps.LatLng( - parseFloat(markerNodes[i].getAttribute('lat')), - parseFloat(markerNodes[i].getAttribute('lng'))); - createMarker(latlng, name, address, addressNoHtml, other, id_store, has_store_picture); - bounds.extend(latlng); - } - }); -} - -function searchLocations() -{ - $('#stores_loader').show(); - var address = document.getElementById('addressInput').value; - var geocoder = new google.maps.Geocoder(); - geocoder.geocode({address: address}, function(results, status) { - if (status == google.maps.GeocoderStatus.OK) - searchLocationsNear(results[0].geometry.location); - else - alert(address+' '+translation_6); - $('#stores_loader').hide(); - }); -} - -function clearLocations(n) -{ - infoWindow.close(); - for (var i = 0; i < markers.length; i++) - markers[i].setMap(null); - - markers.length = 0; - - locationSelect.innerHTML = ''; - var option = document.createElement('option'); - option.value = 'none'; - if (!n) - option.innerHTML = translation_1; - else - { - if (n == 1) - option.innerHTML = '1'+' '+translation_2; - else - option.innerHTML = n+' '+translation_3; - } - locationSelect.appendChild(option); - $('#stores-table tr.node').remove(); - initMarkers(); -} - -function searchLocationsNear(center) -{ - var radius = document.getElementById('radiusSelect').value; - var searchUrl = baseDir+'stores.php?ajax=1&latitude=' + center.lat() + '&longitude=' + center.lng() + '&radius=' + radius; - downloadUrl(searchUrl, function(data) { - var xml = parseXml(data); - var markerNodes = xml.documentElement.getElementsByTagName('marker'); - var bounds = new google.maps.LatLngBounds(); - - clearLocations(markerNodes.length); - for (var i = 0; i < markerNodes.length; i++) - { - var name = markerNodes[i].getAttribute('name'); - var address = markerNodes[i].getAttribute('address'); - var addressNoHtml = markerNodes[i].getAttribute('addressNoHtml'); - var other = markerNodes[i].getAttribute('other'); - var distance = parseFloat(markerNodes[i].getAttribute('distance')); - var id_store = parseFloat(markerNodes[i].getAttribute('id_store')); - var phone = markerNodes[i].getAttribute('phone'); - var has_store_picture = markerNodes[i].getAttribute('has_store_picture'); - var latlng = new google.maps.LatLng( - parseFloat(markerNodes[i].getAttribute('lat')), - parseFloat(markerNodes[i].getAttribute('lng'))); - - createOption(name, distance, i); - createMarker(latlng, name, address, addressNoHtml, other, id_store, has_store_picture); - bounds.extend(latlng); - - $('#stores-table tr:last').after(''+parseInt(i + 1)+''+name+''+(has_store_picture == 1 ? '
      ' : '')+''+address+(phone != '' ? '

      '+translation_4+' '+phone : '')+''+distance+' '+distance_unit+''); - $('#stores-table').show(); - } - - if (markerNodes.length) - { - map.fitBounds(bounds); - var listener = google.maps.event.addListener(map, "idle", function() { - if (map.getZoom() > 13) map.setZoom(13); - google.maps.event.removeListener(listener); - }); - } - locationSelect.style.visibility = 'visible'; - locationSelect.onchange = function() { - var markerNum = locationSelect.options[locationSelect.selectedIndex].value; - google.maps.event.trigger(markers[markerNum], 'click'); - }; - }); -} - -function createMarker(latlng, name, address, addressNoHtml, other, id_store, has_store_picture) -{ - var html = ''+name+'
      '+address+(has_store_picture == 1 ? '

      ' : '')+other+'
      '+translation_5+'<\/a>'; - var image = new google.maps.MarkerImage(img_ps_dir+'logo_stores.gif'); - if (hasStoreIcon) - var marker = new google.maps.Marker({ map: map, icon: image, position: latlng }); - else - var marker = new google.maps.Marker({ map: map, position: latlng }); - google.maps.event.addListener(marker, 'click', function() { - infoWindow.setContent(html); - infoWindow.open(map, marker); - }); - markers.push(marker); -} - -function createOption(name, distance, num) -{ - var option = document.createElement('option'); - option.value = num; - option.innerHTML = name+' ('+distance.toFixed(1)+' '+distance_unit+')'; - locationSelect.appendChild(option); -} - -function downloadUrl(url, callback) -{ - var request = window.ActiveXObject ? - new ActiveXObject('Microsoft.XMLHTTP') : - new XMLHttpRequest; - - request.onreadystatechange = function() { - if (request.readyState == 4) { - request.onreadystatechange = doNothing; - callback(request.responseText, request.status); - } - }; - - request.open('GET', url, true); - request.send(null); -} - -function parseXml(str) -{ - if (window.ActiveXObject) { - var doc = new ActiveXObject('Microsoft.XMLDOM'); - doc.loadXML(str); - return doc; - } - else if (window.DOMParser) { - return (new DOMParser).parseFromString(str, 'text/xml'); - } -} - -function doNothing() {} - -$(document).ready(function() -{ - map = new google.maps.Map(document.getElementById('map'), { - center: new google.maps.LatLng(defaultLat, defaultLong), - zoom: 10, - mapTypeId: 'roadmap', - mapTypeControlOptions: {style: google.maps.MapTypeControlStyle.DROPDOWN_MENU} - }); - infoWindow = new google.maps.InfoWindow(); - - locationSelect = document.getElementById('locationSelect'); - locationSelect.onchange = function() { - var markerNum = locationSelect.options[locationSelect.selectedIndex].value; - if (markerNum != 'none') - google.maps.event.trigger(markers[markerNum], 'click'); - }; - - $('#addressInput').keypress(function(e) { - code = e.keyCode ? e.keyCode : e.which; - if(code.toString() == 13) - searchLocations(); - }); - - - initMarkers(); -}); diff --git a/themes/prestashop/js/tools.js b/themes/prestashop/js/tools.js deleted file mode 100644 index 129d469b4..000000000 --- a/themes/prestashop/js/tools.js +++ /dev/null @@ -1,210 +0,0 @@ -/* -* 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 -* @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 -*/ - -function ps_round(value, precision) -{ - if (typeof(roundMode) == 'undefined') - roundMode = 2; - if (typeof(precision) == 'undefined') - precision = 2; - - method = roundMode; - if (method == 0) - return ceilf(value, precision); - else if (method == 1) - return floorf(value, precision); - precisionFactor = precision == 0 ? 1 : Math.pow(10, precision); - return Math.round(value * precisionFactor) / precisionFactor; -} - -function ceilf(value, precision) -{ - if (typeof(precision) == 'undefined') - precision = 0; - precisionFactor = precision == 0 ? 1 : Math.pow(10, precision); - tmp = value * precisionFactor; - tmp2 = tmp.toString(); - if (tmp2[tmp2.length - 1] == 0) - return value; - return Math.ceil(value * precisionFactor) / precisionFactor; -} - -function floorf(value, precision) -{ - if (typeof(precision) == 'undefined') - precision = 0; - precisionFactor = precision == 0 ? 1 : Math.pow(10, precision); - tmp = value * precisionFactor; - tmp2 = tmp.toString(); - if (tmp2[tmp2.length - 1] == 0) - return value; - return Math.floor(value * precisionFactor) / precisionFactor; -} - -function formatedNumberToFloat(price, currencyFormat, currencySign) -{ - price = price.replace(currencySign, ''); - if (currencyFormat == 1) - return parseFloat(price.replace(',', '').replace(' ', '')); - else if (currencyFormat == 2) - return parseFloat(price.replace(' ', '').replace(',', '.')); - else if (currencyFormat == 3) - return parseFloat(price.replace('.', '').replace(' ', '').replace(',', '.')); - else if (currencyFormat == 4) - return parseFloat(price.replace(',', '').replace(' ', '')); - return price; -} - -//return a formatted price -function formatCurrency(price, currencyFormat, currencySign, currencyBlank) -{ - // if you modified this function, don't forget to modify the PHP function displayPrice (in the Tools.php class) - blank = ''; - price = parseFloat(price.toFixed(6)); - price = ps_round(price, priceDisplayPrecision); - if (currencyBlank > 0) - blank = ' '; - if (currencyFormat == 1) - return currencySign + blank + formatNumber(price, priceDisplayPrecision, ',', '.'); - if (currencyFormat == 2) - return (formatNumber(price, priceDisplayPrecision, ' ', ',') + blank + currencySign); - if (currencyFormat == 3) - return (currencySign + blank + formatNumber(price, priceDisplayPrecision, '.', ',')); - if (currencyFormat == 4) - return (formatNumber(price, priceDisplayPrecision, ',', '.') + blank + currencySign); - return price; -} - -//return a formatted number -function formatNumber(value, numberOfDecimal, thousenSeparator, virgule) -{ - value = value.toFixed(numberOfDecimal); - var val_string = value+''; - var tmp = val_string.split('.'); - var abs_val_string = (tmp.length == 2) ? tmp[0] : val_string; - var deci_string = ('0.' + (tmp.length == 2 ? tmp[1] : 0)).substr(2); - var nb = abs_val_string.length; - - for (var i = 1 ; i < 4; i++) - if (value >= Math.pow(10, (3 * i))) - abs_val_string = abs_val_string.substring(0, nb - (3 * i)) + thousenSeparator + abs_val_string.substring(nb - (3 * i)); - - if (parseInt(numberOfDecimal) == 0) - return abs_val_string; - return abs_val_string + virgule + (deci_string > 0 ? deci_string : '00'); -} - -//change the text of a jQuery element with a sliding effect (velocity could be a number in ms, 'slow' or 'fast', effect1 and effect2 could be slide, fade, hide, show) -function updateTextWithEffect(jQueryElement, text, velocity, effect1, effect2, newClass) -{ - if(jQueryElement.text() != text) - if(effect1 == 'fade') - jQueryElement.fadeOut(velocity, function(){ - $(this).addClass(newClass); - if(effect2 == 'fade') $(this).text(text).fadeIn(velocity); - else if(effect2 == 'slide') $(this).text(text).slideDown(velocity); - else if(effect2 == 'show') $(this).text(text).show(velocity, function(){}); - }); - else if(effect1 == 'slide') - jQueryElement.slideUp(velocity, function(){ - $(this).addClass(newClass); - if(effect2 == 'fade') $(this).text(text).fadeIn(velocity); - else if(effect2 == 'slide') $(this).text(text).slideDown(velocity); - else if(effect2 == 'show') $(this).text(text).show(velocity); - }); - else if(effect1 == 'hide') - jQueryElement.hide(velocity, function(){ - $(this).addClass(newClass); - if(effect2 == 'fade') $(this).text(text).fadeIn(velocity); - else if(effect2 == 'slide') $(this).text(text).slideDown(velocity); - else if(effect2 == 'show') $(this).text(text).show(velocity); - }); -} - -//show a JS debug -function dbg(value) -{ - var active = false;//true for active - var firefox = true;//true if debug under firefox - - if (active) - if (firefox) - console.log(value); - else - alert(value); -} - -/** -* Function : print_r() -* Arguments: The data - array,hash(associative array),object -* The level - OPTIONAL -* Returns : The textual representation of the array. -* This function was inspired by the print_r function of PHP. -* This will accept some data as the argument and return a -* text that will be a more readable version of the -* array/hash/object that is given. -*/ -function print_r(arr, level) -{ - var dumped_text = ""; - if (!level) - level = 0; - - //The padding given at the beginning of the line. - var level_padding = ""; - for (var j = 0 ; j < level + 1; j++) - level_padding += " "; - - if (typeof(arr) == 'object') - { //Array/Hashes/Objects - for (var item in arr) - { - var value = arr[item]; - if (typeof(value) == 'object') { //If it is an array, - dumped_text += level_padding + "'" + item + "' ...\n"; - dumped_text += dump(value,level+1); - } - else - { - dumped_text += level_padding + "'" + item + "' => \"" + value + "\"\n"; - } - } - } - else - { //Stings/Chars/Numbers etc. - dumped_text = "===>" + arr + "<===("+typeof(arr)+")"; - } - return dumped_text; -} - -//verify if value is in the array -function in_array(value, array) -{ - for (var i in array) - if (array[i] == value) - return true; - return false; -} diff --git a/themes/prestashop/js/tools/statesManagement.js b/themes/prestashop/js/tools/statesManagement.js deleted file mode 100644 index 94317f785..000000000 --- a/themes/prestashop/js/tools/statesManagement.js +++ /dev/null @@ -1,61 +0,0 @@ -$(document).ready(function(){ - $('select#id_country').change(function(){ - updateState(); - updateNeedIDNumber(); - updateZipCode(); - }); - updateState(); - updateNeedIDNumber(); - updateZipCode(); - - if ($('select#id_country_invoice').length != 0) - { - $('select#id_country_invoice').change(function(){ - updateState('invoice'); - updateNeedIDNumber('invoice'); - updateZipCode(); - }); - if ($('select#id_country_invoice:visible').length != 0) - { - updateState('invoice'); - updateNeedIDNumber('invoice'); - updateZipCode('invoice'); - } - } -}); - -function updateState(suffix) -{ - $('select#id_state'+(suffix !== undefined ? '_'+suffix : '')+' option:not(:first-child)').remove(); - var states = countries[$('select#id_country'+(suffix !== undefined ? '_'+suffix : '')).val()]; - if(typeof(states) != 'undefined') - { - $(states).each(function (key, item){ - $('select#id_state'+(suffix !== undefined ? '_'+suffix : '')).append(''); - }); - - $('p.id_state'+(suffix !== undefined ? '_'+suffix : '')+':hidden').slideDown('slow'); - } - else - $('p.id_state'+(suffix !== undefined ? '_'+suffix : '')).slideUp('fast'); -} - -function updateNeedIDNumber(suffix) -{ - var idCountry = parseInt($('select#id_country'+(suffix !== undefined ? '_'+suffix : '')).val()); - - if ($.inArray(idCountry, countriesNeedIDNumber) >= 0) - $('.dni'+(suffix !== undefined ? '_'+suffix : '')).slideDown('slow'); - else - $('.dni'+(suffix !== undefined ? '_'+suffix : '')).slideUp('fast'); -} - -function updateZipCode(suffix) -{ - var idCountry = parseInt($('select#id_country'+(suffix !== undefined ? '_'+suffix : '')).val()); - - if (countriesNeedZipCode[idCountry] != 0) - $('.postcode'+(suffix !== undefined ? '_'+suffix : '')).slideDown('slow'); - else - $('.postcode'+(suffix !== undefined ? '_'+suffix : '')).slideUp('fast'); -} diff --git a/themes/prestashop/js/tools/treeManagement.js b/themes/prestashop/js/tools/treeManagement.js deleted file mode 100644 index dc308b578..000000000 --- a/themes/prestashop/js/tools/treeManagement.js +++ /dev/null @@ -1,57 +0,0 @@ -//animate the opening of the branch (span.grower jQueryElement) -function openBranch(jQueryElement, noAnimation) { - jQueryElement.addClass('OPEN').removeClass('CLOSE'); - if(noAnimation) - jQueryElement.parent().find('ul:first').show(); - else - jQueryElement.parent().find('ul:first').slideDown(); -} -//animate the closing of the branch (span.grower jQueryElement) -function closeBranch(jQueryElement, noAnimation) { - jQueryElement.addClass('CLOSE').removeClass('OPEN'); - if(noAnimation) - jQueryElement.parent().find('ul:first').hide(); - else - jQueryElement.parent().find('ul:first').slideUp(); -} - -//animate the closing or opening of the branch (ul jQueryElement) -function toggleBranch(jQueryElement, noAnimation) { - if(jQueryElement.hasClass('OPEN')) - closeBranch(jQueryElement, noAnimation); - else - openBranch(jQueryElement, noAnimation); -} - -//when the page is loaded... -$(document).ready(function () { - //to do not execute this script as much as it's called... - if(!$('ul.tree.dhtml').hasClass('dynamized')) - { - //add growers to each ul.tree elements - $('ul.tree.dhtml ul').prev().before(" "); - - //dynamically add the '.last' class on each last item of a branch - $('ul.tree.dhtml ul li:last-child, ul.tree.dhtml li:last-child').addClass('last'); - - //collapse every expanded branch - $('ul.tree.dhtml span.grower.OPEN').addClass('CLOSE').removeClass('OPEN').parent().find('ul:first').hide(); - $('ul.tree.dhtml').show(); - - //open the tree for the selected branch - $('ul.tree.dhtml .selected').parents().each( function() { - if ($(this).is('ul')) - toggleBranch($(this).prev().prev(), true); - }); - toggleBranch( $('ul.tree.dhtml .selected').prev(), true); - - //add a fonction on clicks on growers - $('ul.tree.dhtml span.grower').click(function(){ - toggleBranch($(this)); - }); - //mark this 'ul.tree' elements as already 'dynamized' - $('ul.tree.dhtml').addClass('dynamized'); - - $('ul.tree.dhtml').removeClass('dhtml'); - } -}); diff --git a/themes/prestashop/lang/de.php b/themes/prestashop/lang/de.php deleted file mode 100644 index edc9b3784..000000000 --- a/themes/prestashop/lang/de.php +++ /dev/null @@ -1,702 +0,0 @@ - \ No newline at end of file diff --git a/themes/prestashop/lang/en.php b/themes/prestashop/lang/en.php deleted file mode 100644 index 697d7f9b4..000000000 --- a/themes/prestashop/lang/en.php +++ /dev/null @@ -1,6 +0,0 @@ - diff --git a/themes/prestashop/lang/es.php b/themes/prestashop/lang/es.php deleted file mode 100644 index 0413e332a..000000000 --- a/themes/prestashop/lang/es.php +++ /dev/null @@ -1,722 +0,0 @@ - \ No newline at end of file diff --git a/themes/prestashop/lang/fr.php b/themes/prestashop/lang/fr.php deleted file mode 100644 index c623283de..000000000 --- a/themes/prestashop/lang/fr.php +++ /dev/null @@ -1,722 +0,0 @@ - \ No newline at end of file diff --git a/themes/prestashop/lang/it.php b/themes/prestashop/lang/it.php deleted file mode 100755 index b532809fa..000000000 --- a/themes/prestashop/lang/it.php +++ /dev/null @@ -1,702 +0,0 @@ - \ No newline at end of file diff --git a/themes/prestashop/maintenance.tpl b/themes/prestashop/maintenance.tpl deleted file mode 100644 index 0c17768ec..000000000 --- a/themes/prestashop/maintenance.tpl +++ /dev/null @@ -1,51 +0,0 @@ -{* -* 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 -* @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 -*} - - - - - {$meta_title|escape:'htmlall':'UTF-8'} - -{if isset($meta_description)} - -{/if} -{if isset($meta_keywords)} - -{/if} - - - - - -
      -

      logo

      -

      - {l s='In order to perform site maintenance, our online shop has shut down temporarily. We apologize for the inconvenience and ask that you please try again later.'} -

      -   -
      - - diff --git a/themes/prestashop/manufacturer-list.tpl b/themes/prestashop/manufacturer-list.tpl deleted file mode 100644 index 72e4415ee..000000000 --- a/themes/prestashop/manufacturer-list.tpl +++ /dev/null @@ -1,85 +0,0 @@ -{* -* 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 -* @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 -*} - -{capture name=path}{l s='Manufacturers'}{/capture} -{include file="$tpl_dir./breadcrumb.tpl"} - -

      {l s='Manufacturers'}

      - -{if isset($errors) AND $errors} - {include file="$tpl_dir./errors.tpl"} -{else} -

      {strip} - - {if $nbManufacturers == 0}{l s='There are no manufacturers.'} - {else} - {if $nbManufacturers == 1}{l s='There is'}{else}{l s='There are'}{/if}  - {$nbManufacturers}  - {if $nbManufacturers == 1}{l s='manufacturer.'}{else}{l s='manufacturers.'}{/if} - {/if} - {/strip} -

      - - {if $nbManufacturers > 0} -
      - {include file="$tpl_dir./pagination.tpl"} - {/if} -{/if} diff --git a/themes/prestashop/manufacturer.tpl b/themes/prestashop/manufacturer.tpl deleted file mode 100644 index ae82a176f..000000000 --- a/themes/prestashop/manufacturer.tpl +++ /dev/null @@ -1,41 +0,0 @@ -{* -* 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 -* @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 -*} - -{include file="$tpl_dir./breadcrumb.tpl"} - -{include file="$tpl_dir./errors.tpl"} - -{if !isset($errors) OR !sizeof($errors)} -

      {l s='List of products by manufacturer:'} {$manufacturer->name|escape:'htmlall':'UTF-8'}

      - - {if $products} - {include file="$tpl_dir./product-sort.tpl"} - {include file="$tpl_dir./product-list.tpl" products=$products} - {include file="$tpl_dir./pagination.tpl"} - {else} -

      {l s='No products for this manufacturer.'}

      - {/if} -{/if} diff --git a/themes/prestashop/my-account.tpl b/themes/prestashop/my-account.tpl deleted file mode 100644 index 2c7d2e20a..000000000 --- a/themes/prestashop/my-account.tpl +++ /dev/null @@ -1,51 +0,0 @@ -{* -* 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 -* @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 -*} - - - -{capture name=path}{l s='My account'}{/capture} -{include file="$tpl_dir./breadcrumb.tpl"} - -

      {l s='My account'}

      -

      {l s='Welcome to your account. Here you can manage your addresses and orders.'}

      - -

      {l s='Home'}{l s='Home'}

      diff --git a/themes/prestashop/new-products.tpl b/themes/prestashop/new-products.tpl deleted file mode 100644 index 3f12a51f1..000000000 --- a/themes/prestashop/new-products.tpl +++ /dev/null @@ -1,38 +0,0 @@ -{* -* 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 -* @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 -*} - -{capture name=path}{l s='New products'}{/capture} -{include file="$tpl_dir./breadcrumb.tpl"} - -

      {l s='New products'}

      - -{if $products} - {include file="$tpl_dir./product-sort.tpl"} - {include file="$tpl_dir./product-list.tpl" products=$products} - {include file="$tpl_dir./pagination.tpl"} -{else} -

      {l s='No new products.'}

      -{/if} diff --git a/themes/prestashop/order-address.tpl b/themes/prestashop/order-address.tpl deleted file mode 100644 index 757501c7c..000000000 --- a/themes/prestashop/order-address.tpl +++ /dev/null @@ -1,214 +0,0 @@ -{* -* 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 -* @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 !$opc} -{capture name=path}{l s='Addresses'}{/capture} -{include file="$tpl_dir./breadcrumb.tpl"} -{/if} - -{if !$opc}

      {l s='Addresses'}

      {else}

      1. {l s='Addresses'}

      {/if} - -{if !$opc} -{assign var='current_step' value='address'} -{include file="$tpl_dir./order-steps.tpl"} -{include file="$tpl_dir./errors.tpl"} - -
      -{else} -
      - -{/if} -
      -

      - - -

      -

      - id_address_invoice == $cart->id_address_delivery || $addresses|@count == 1}checked="checked"{/if} /> - -

      -

      id_address_invoice == $cart->id_address_delivery}style="display: none;"{/if}> - {if $addresses|@count > 1} - - - {else} - {l s='Add a new address'} - {/if} -

      -
      - - -
      -

      - {l s='Add a new address'} -

      - {if !$opc} -
      -

      {l s='If you would like to add a comment about your order, please write it below.'}

      -

      -
      - {/if} -
      -{if !$opc} -

      - - - « {l s='Previous'} - -

      - -{else} -
      -{/if} - diff --git a/themes/prestashop/order-carrier.tpl b/themes/prestashop/order-carrier.tpl deleted file mode 100644 index bb9c7b4a4..000000000 --- a/themes/prestashop/order-carrier.tpl +++ /dev/null @@ -1,184 +0,0 @@ -{* -* 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 -* @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 !$opc} - - -{/if} - -{if !$virtual_cart && $giftAllowed && $cart->gift == 1} - -{/if} - -{if !$opc} -{capture name=path}{l s='Shipping'}{/capture} -{include file="$tpl_dir./breadcrumb.tpl"} -{/if} - -{if !$opc}

      {l s='Shipping'}

      {else}

      2. {l s='Delivery methods'}

      {/if} - -{if !$opc} -{assign var='current_step' value='shipping'} -{include file="$tpl_dir./order-steps.tpl"} - -{include file="$tpl_dir./errors.tpl"} - -
      -{else} -
      - -{/if} - -{if $conditions AND $cms_id} -

      {l s='Terms of service'}

      -

      - - {l s='(read)'} -

      - -{/if} - -{if $virtual_cart} - -{else} -

      {l s='Choose your delivery method'}

      - -
      {if isset($carriers)}{$HOOK_BEFORECARRIER}{/if}
      - {if isset($isVirtualCart) && $isVirtualCart} -

      {l s='No carrier needed for this order'}

      - {else} - {if $recyclablePackAllowed} -

      - - -

      - {/if} -

      {l s='There are no carriers available that deliver to this address.'}

      - - - - - - - - - - - {if isset($carriers)} - {foreach from=$carriers item=carrier name=myLoop} - - - - - - - {/foreach} - {$HOOK_EXTRACARRIER} - {/if} - -
      {l s='Carrier'}{l s='Information'}{l s='Price'}
      - - - - {$carrier.delay|escape:'htmlall':'UTF-8'} - {if $carrier.price} - - {if $priceDisplay == 1}{convertPrice price=$carrier.price_tax_exc}{else}{convertPrice price=$carrier.price}{/if} - - {if $use_taxes}{if $priceDisplay == 1} {l s='(tax excl.)'}{else} {l s='(tax incl.)'}{/if}{/if} - {else} - {l s='Free!'} - {/if} -
      - - - {if $giftAllowed} -

      {l s='Gift'}

      -

      - gift == 1}checked="checked"{/if} onclick="$('#gift_div').toggle('slow');" /> - -
      -       - {if $gift_wrapping_price > 0} - ({l s='Additional cost of'} - - {if $priceDisplay == 1}{convertPrice price=$total_wrapping_tax_exc_cost}{else}{convertPrice price=$total_wrapping_cost}{/if} - - {if $use_taxes}{if $priceDisplay == 1} {l s='(tax excl.)'}{else} {l s='(tax incl.)'}{/if}{/if}) - {/if} -

      -

      - - -

      - {/if} - {/if} -{/if} - -{if !$opc} -

      - - - « {l s='Previous'} - -

      - -{else} -

      {l s='Leave a message'}

      -
      -

      {l s='If you would like to add a comment about your order, please write it below.'}

      -

      -
      -
      -{/if} diff --git a/themes/prestashop/order-confirmation.tpl b/themes/prestashop/order-confirmation.tpl deleted file mode 100644 index d47f6921d..000000000 --- a/themes/prestashop/order-confirmation.tpl +++ /dev/null @@ -1,54 +0,0 @@ -{* -* 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 -* @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 -*} - - - -{capture name=path}{l s='Order confirmation'}{/capture} -{include file="$tpl_dir./breadcrumb.tpl"} - -

      {l s='Order confirmation'}

      - -{assign var='current_step' value='payment'} -{include file="$tpl_dir./order-steps.tpl"} - -{include file="$tpl_dir./errors.tpl"} - -{$HOOK_ORDER_CONFIRMATION} -{$HOOK_PAYMENT_RETURN} - -
      -{if $is_guest} -

      {l s='Your order ID is:'} {$id_order_formatted} . {l s='Your order ID has been sent to your e-mail.'}

      - {l s='Follow my order'} - {l s='Follow my order'} -{else} - {l s='Back to orders'} - {l s='Back to orders'} -{/if} diff --git a/themes/prestashop/order-detail.tpl b/themes/prestashop/order-detail.tpl deleted file mode 100644 index 6cb6c7fdb..000000000 --- a/themes/prestashop/order-detail.tpl +++ /dev/null @@ -1,353 +0,0 @@ -{* -* 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 -* @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 -*} - -
      - -

      - {l s='Order placed on'} {dateFormat date=$order->date_add full=0} - -

      -
      - -{if count($order_history)} -

      {l s='Follow your order step by step'}

      -
      - - - - - - - - - {foreach from=$order_history item=state name="orderStates"} - - - - - {/foreach} - -
      {l s='Date'}{l s='Status'}
      {dateFormat date=$state.date_add full=1}{$state.ostate_name|escape:'htmlall':'UTF-8'}
      -
      -{/if} - -{if isset($followup)} -

      {l s='Click the following link to track the delivery of your order'}

      -{$followup|escape:'htmlall':'UTF-8'} -{/if} - -

      {l s='Order:'} {l s='#'}{$order->id|string_format:"%06d"}

      -{if $carrier->id}

      {l s='Carrier:'} {if $carrier->name == "0"}{$shop_name|escape:'htmlall':'UTF-8'}{else}{$carrier->name|escape:'htmlall':'UTF-8'}{/if}

      {/if} -

      {l s='Payment method:'} {$order->payment|escape:'htmlall':'UTF-8'}

      -{if $invoice AND $invoiceAllowed} -

      - - {l s='Download your invoice as a .PDF file'} -

      -{/if} -{if $order->recyclable} -

       {l s='You have given permission to receive your order in recycled packaging.'}

      -{/if} -{if $order->gift} -

       {l s='You requested gift-wrapping for your order.'}

      -

      {l s='Message:'} {$order->gift_message|nl2br}

      -{/if} -
      -
        -
      • {l s='Invoice'}
      • - {foreach from=$inv_adr_fields name=inv_loop item=field_item} - {if $field_item eq "company" && isset($address_invoice->company)}
      • {$address_invoice->company|escape:'htmlall':'UTF-8'}
      • - {elseif $field_item eq "address2" && $address_invoice->address2}
      • {$address_invoice->address2|escape:'htmlall':'UTF-8'}
      • - {elseif $field_item eq "phone_mobile" && $address_invoice->phone_mobile}
      • {$address_invoice->phone_mobile|escape:'htmlall':'UTF-8'}
      • - {else} - {assign var=address_words value=" "|explode:$field_item} -
      • {foreach from=$address_words item=word_item name="word_loop"}{if !$smarty.foreach.word_loop.first} {/if}{$address_invoice->$word_item|escape:'htmlall':'UTF-8'}{/foreach}
      • - {/if} - - {/foreach} -
      -
        -
      • {l s='Delivery'}
      • - {foreach from=$dlv_adr_fields name=dlv_loop item=field_item} - {if $field_item eq "company" && isset($address_delivery->company)}
      • {$address_delivery->company|escape:'htmlall':'UTF-8'}
      • - {elseif $field_item eq "address2" && $address_delivery->address2}
      • {$address_delivery->address2|escape:'htmlall':'UTF-8'}
      • - {elseif $field_item eq "phone_mobile" && $address_delivery->phone_mobile}
      • {$address_delivery->phone_mobile|escape:'htmlall':'UTF-8'}
      • - {else} - {assign var=address_words value=" "|explode:$field_item} -
      • {foreach from=$address_words item=word_item name="word_loop"}{if !$smarty.foreach.word_loop.first} {/if}{$address_delivery->$word_item|escape:'htmlall':'UTF-8'}{/foreach}
      • - {/if} - {/foreach} -
      -{$HOOK_ORDERDETAILDISPLAYED} -{if !$is_guest}
      {/if} -
      - - - - {if $return_allowed}{/if} - - - - - - - - - {if $priceDisplay && $use_tax} - - - - {/if} - - - - {if $order->total_discounts > 0} - - - - {/if} - {if $order->total_wrapping > 0} - - - - {/if} - - - - - - - - - {foreach from=$products item=product name=products} - {if !isset($product.deleted)} - {assign var='productId' value=$product.product_id} - {assign var='productAttributeId' value=$product.product_attribute_id} - {if isset($customizedDatas.$productId.$productAttributeId)}{assign var='productQuantity' value=$product.product_quantity-$product.customizationQuantityTotal}{else}{assign var='productQuantity' value=$product.product_quantity}{/if} - - {if isset($customizedDatas.$productId.$productAttributeId)} - - {if $return_allowed}{/if} - - - - - - - {foreach from=$customizedDatas.$productId.$productAttributeId item='customization' key='customizationId'} - - {if $return_allowed}{/if} - - - - - {/foreach} - {/if} - - {if $product.product_quantity > $product.customizationQuantityTotal} - - {if $return_allowed}{/if} - - - - - - - {/if} - {/if} - {/foreach} - {foreach from=$discounts item=discount} - - - - - - - {if $return_allowed} - - {/if} - - {/foreach} - -
      {l s='Reference'}{l s='Product'}{l s='Quantity'}{l s='Unit price'}{l s='Total price'}
      - {l s='Total products (tax excl.):'} {displayWtPriceWithCurrency price=$order->getTotalProductsWithoutTaxes() currency=$currency convert=0} -
      - {l s='Total products'} {if $use_tax}{l s='(tax incl.)'}{/if}: {displayWtPriceWithCurrency price=$order->getTotalProductsWithTaxes() currency=$currency convert=0} -
      - {l s='Total vouchers:'} {displayWtPriceWithCurrency price=$order->total_discounts currency=$currency convert=1} -
      - {l s='Total gift-wrapping:'} {displayWtPriceWithCurrency price=$order->total_wrapping currency=$currency convert=0} -
      - {l s='Total shipping'} {if $use_tax}{l s='(tax incl.)'}{/if}: {displayWtPriceWithCurrency price=$order->total_shipping currency=$currency convert=0} -
      - {l s='Total:'} {displayWtPriceWithCurrency price=$order->total_paid currency=$currency convert=0} -
      - - - - - -
      - {foreach from=$customization.datas key='type' item='datas'} - {if $type == $CUSTOMIZE_FILE} -
        - {foreach from=$datas item='data'} -
      • - {/foreach} -
      - {elseif $type == $CUSTOMIZE_TEXTFIELD} -
        {counter start=0 print=false} - {foreach from=$datas item='data'} - {assign var='customizationFieldName' value="Text #"|cat:$data.id_customization_field} -
      • {$data.name|default:$customizationFieldName}{l s=':'} {$data.value}
      • - {/foreach} -
      - {/if} - {/foreach} -
      - -
      - - - - - -
      {$discount.name|escape:'htmlall':'UTF-8'}{l s='Voucher:'} {$discount.name|escape:'htmlall':'UTF-8'}1 {if $discount.value != 0.00}{l s='-'}{/if}{convertPriceWithCurrency price=$discount.value currency=$currency convert=0} 
      -
      -
      -{if !$is_guest} - {if $return_allowed} -

      {l s='Merchandise return'}

      -

      {l s='If you wish to return one or more products, please mark the corresponding boxes and provide an explanation for the return. Then click the button below.'}

      -

      - -

      -

      - - -

      -
      - {/if} -
      - - {if count($messages)} -

      {l s='Messages'}

      -
      - - - - - - - - - {foreach from=$messages item=message name="messageList"} - - - - - {/foreach} - -
      {l s='From'}{l s='Message'}
      - {if isset($message.ename) && $message.ename} - {$message.efirstname|escape:'htmlall':'UTF-8'} {$message.elastname|escape:'htmlall':'UTF-8'} - {elseif $message.clastname} - {$message.cfirstname|escape:'htmlall':'UTF-8'} {$message.clastname|escape:'htmlall':'UTF-8'} - {else} - {$shop_name|escape:'htmlall':'UTF-8'} - {/if} -
      - {dateFormat date=$message.date_add full=1} -
      {$message.message|nl2br}
      -
      - {/if} - {if isset($errors) && $errors} -
      -

      {if $errors|@count > 1}{l s='There are'}{else}{l s='There is'}{/if} {$errors|@count} {if $errors|@count > 1}{l s='errors'}{else}{l s='error'}{/if} :

      -
        - {foreach from=$errors key=k item=error} -
      1. {$error}
      2. - {/foreach} -
      -
      - {/if} -
      -

      {l s='Add a message:'}

      -

      {l s='If you would like to add a comment about your order, please write it below.'}

      -

      - -

      -

      - - -

      -
      -{else} -

       {l s='You can\'t make a merchandise return with a guest account'}

      -{/if} diff --git a/themes/prestashop/order-follow.tpl b/themes/prestashop/order-follow.tpl deleted file mode 100644 index df09750a3..000000000 --- a/themes/prestashop/order-follow.tpl +++ /dev/null @@ -1,84 +0,0 @@ -{* -* 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 -* @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 -*} - - - -{capture name=path}{l s='My account'}{$navigationPipe}{l s='Return Merchandise Authorization (RMA)'}{/capture} -{include file="$tpl_dir./breadcrumb.tpl"} - -

      {l s='Return Merchandise Authorization (RMA)'}

      -{if isset($errorQuantity) && $errorQuantity}

      {l s='You do not have enough products to request another merchandise return.'}

      {/if} -{if isset($errorMsg) && $errorMsg}

      {l s='Please provide an explanation for your RMA.'}

      {/if} -{if isset($errorDetail1) && $errorDetail1}

      {l s='Please check at least one product you would like to return.'}

      {/if} -{if isset($errorDetail2) && $errorDetail2}

      {l s='Please provide a quantity for the product you checked.'}

      {/if} -{if isset($errorNotReturnable) && $errorNotReturnable}

      {l s='This order cannot be returned.'}

      {/if} - -

      {l s='Here are the merchandise returns you have made'}.

      -
      - {if $ordersReturn && count($ordersReturn)} - - - - - - - - - - - - {foreach from=$ordersReturn item=return name=myLoop} - - - - - - - - {/foreach} - -
      {l s='Return'}{l s='Order'}{l s='Package status'}{l s='Date issued'}{l s='Return slip'}
      {l s='#'}{$return.id_order_return|string_format:"%06d"}{l s='#'}{$return.id_order|string_format:"%06d"}{$return.state_name|escape:'htmlall':'UTF-8'}{dateFormat date=$return.date_add full=0} - {if $return.state == 2} - {l s='Order return'} {l s='#'}{$return.id_order_return|string_format: - {l s='Print out'} - {else} - -- - {/if} -
      - - {else} -

      {l s='You have no return merchandise authorizations.'}

      - {/if} -
      - - diff --git a/themes/prestashop/order-opc-new-account.tpl b/themes/prestashop/order-opc-new-account.tpl deleted file mode 100644 index 7df778135..000000000 --- a/themes/prestashop/order-opc-new-account.tpl +++ /dev/null @@ -1,379 +0,0 @@ -
      - -

      1. {l s='Account'}

      -
      -
      -

      {l s='Already registered?'} {l s='Click here'}

      - -
      -
      -
      -
      -

      {l s='New Customer'}

      -
      -
      -

      {l s='Instant Checkout'}

      -

      - -

      -
      - -
      -

      {l s='Create your account today and enjoy:'}

      -
        -
      • {l s='Personalized and secure access'}
      • -
      • {l s='Fast and easy check out'}
      • -
      -

      - -

      -
      -
      -
      -
      - - - - - - - - - -

      - - - * -

      -

      - - - * - {l s='(5 characters min.)'} -

      -

      - {l s='Title'} - - - - -

      -

      - - - * -

      -

      - - - * -

      -

      - {l s='Date of Birth'} - - {* - {l s='January'} - {l s='February'} - {l s='March'} - {l s='April'} - {l s='May'} - {l s='June'} - {l s='July'} - {l s='August'} - {l s='September'} - {l s='October'} - {l s='November'} - {l s='December'} - *} - - -

      - {if $newsletter} -

      - - -

      -

      - - -

      - {/if} -

      {l s='Delivery address'}

      - {foreach from=$dlv_all_fields item=field_name} - {if $field_name eq "company"} -

      - - -

      - {elseif $field_name eq "firstname"} -

      - - - * -

      - {elseif $field_name eq "lastname"} -

      - - - * -

      - {elseif $field_name eq "address1"} -

      - - - * -

      - {elseif $field_name eq "address2"} -

      - - -

      - {elseif $field_name eq "postcode"} -

      - - - * -

      - {elseif $field_name eq "city"} -

      - - - * -

      - {elseif $field_name eq "country"} -

      - - - * -

      - {elseif $field_name eq "vat_number"} - - {/if} - {/foreach} -

      - - - {l s='DNI / NIF / NIE'} -

      -

      - - - * -

      -

      - - -

      -

      - - * -

      -

      - - -

      - - -

      - - -

      - -
      -

      {l s='Invoice address'}

      - {foreach from=$inv_all_fields item=field_name} - {if $field_name eq "company"} -

      - - -

      - {elseif $field_name eq "vat_number"} - -

      - - - {l s='DNI / NIF / NIE'} -

      - {elseif $field_name eq "firstname"} -

      - - - * -

      - {elseif $field_name eq "lastname"} -

      - - - * -

      - {elseif $field_name eq "address1"} -

      - - - * -

      - {elseif $field_name eq "address2"} -

      - - -

      - {elseif $field_name eq "postcode"} -

      - - - * -

      - {elseif $field_name eq "city"} -

      - - - * -

      - {elseif $field_name eq "country"} -

      - - - * -

      - {elseif $field_name eq "state"} - - {/if} - {/foreach} -

      - - -

      -

      - - * -

      -

      - - -

      - -
      -

      - -

      - -

      - *{l s='Required field'} -

      - -
      -
      -
      -
      -
      diff --git a/themes/prestashop/order-opc.tpl b/themes/prestashop/order-opc.tpl deleted file mode 100755 index a4ae07730..000000000 --- a/themes/prestashop/order-opc.tpl +++ /dev/null @@ -1,101 +0,0 @@ -{* -* 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 -* @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 $PS_CATALOG_MODE} -

      {l s='Your shopping cart'}

      -

      {l s='This store has not accepted your new order.'}

      -{else} - - {if $productNumber} - - {include file="$tpl_dir./shopping-cart.tpl"} - - {if $isLogged AND !$isGuest} - {include file="$tpl_dir./order-address.tpl"} - {else} - - {include file="$tpl_dir./order-opc-new-account.tpl"} - - {/if} - - {include file="$tpl_dir./order-carrier.tpl"} - - - - {include file="$tpl_dir./order-payment.tpl"} - - {else} -

      {l s='Your shopping cart'}

      -

      {l s='Your shopping cart is empty.'}

      - {/if} -{/if} diff --git a/themes/prestashop/order-payment.tpl b/themes/prestashop/order-payment.tpl deleted file mode 100644 index e36eaf640..000000000 --- a/themes/prestashop/order-payment.tpl +++ /dev/null @@ -1,66 +0,0 @@ -{* -* 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 -* @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 !$opc} - - - {capture name=path}{l s='Your payment method'}{/capture} - {include file="$tpl_dir./breadcrumb.tpl"} -{/if} - -{if !$opc}

      {l s='Choose your payment method'}

      {else}

      3. {l s='Choose your payment method'}

      {/if} - -{if !$opc} - {assign var='current_step' value='payment'} - {include file="$tpl_dir./order-steps.tpl"} - - {include file="$tpl_dir./errors.tpl"} -{else} -
      - -{/if} - -
      {$HOOK_TOP_PAYMENT}
      - -{if $HOOK_PAYMENT} - {if !$opc}

      {l s='Please select your preferred payment method to pay the amount of'} {convertPrice price=$total_price} {if $taxes_enabled}{l s='(tax incl.)'}{/if}


      {/if} - {if $opc}
      {/if} -
      {$HOOK_PAYMENT}
      - {if $opc}
      {/if} -{else} -

      {l s='No payment modules have been installed.'}

      -{/if} - -{if !$opc} -

      « {l s='Previous'}

      -{else} -
      -{/if} - diff --git a/themes/prestashop/order-return.tpl b/themes/prestashop/order-return.tpl deleted file mode 100644 index 930f2702d..000000000 --- a/themes/prestashop/order-return.tpl +++ /dev/null @@ -1,106 +0,0 @@ -{* -* 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 -* @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 -*} - -

      {l s='RE#'}{$orderRet->id|string_format:"%06d"} {l s='on'} {dateFormat date=$order->date_add full=0}

      -
      -

      {l s='We have logged your return request.'}

      -

      {l s='Your package must be returned to us within'} {$nbdaysreturn} {l s='days of receiving your order.'}

      -

      {l s='Current status of your merchandise return:'} {$state_name|escape:'htmlall':'UTF-8'}

      -

      {l s='List of items marked as returned:'}

      -
      -
      - - - - - - - - - - {foreach from=$products item=product name=products} - - {assign var='quantityDisplayed' value=0} - {foreach from=$returnedCustomizations item='customization' name=products} - {if $customization.product_id == $product.product_id} - - - - - - {assign var='productId' value=$customization.product_id} - {assign var='productAttributeId' value=$customization.product_attribute_id} - {assign var='customizationId' value=$customization.id_customization} - {foreach from=$customizedDatas.$productId.$productAttributeId.$customizationId.datas key='type' item='datas'} - - - - {/foreach} - {assign var='quantityDisplayed' value=$quantityDisplayed+$customization.product_quantity} - {/if} - {/foreach} - - {if $product.product_quantity > $quantityDisplayed} - - - - - - {/if} - {/foreach} - -
      {l s='Reference'}{l s='Product'}{l s='Quantity'}
      {if $customization.reference}{$customization.reference|escape:'htmlall':'UTF-8'}{else}--{/if}{$customization.name|escape:'htmlall':'UTF-8'}{$customization.product_quantity|intval}
      - {if $type == $smarty.const._CUSTOMIZE_FILE_} -
        - {foreach from=$datas item='data'} -
      • WAHOU
      • - {/foreach} -
      - {elseif $type == $smarty.const._CUSTOMIZE_TEXTFIELD_} -
        {counter start=0 print=false} - {foreach from=$datas item='data'} - {assign var='customizationFieldName' value="Text #"|cat:$data.id_customization_field} -
      • {$data.name|default:$customizationFieldName}{l s=':'} {$data.value}
      • - {/foreach} -
      - {/if} -
      {if $product.product_reference}{$product.product_reference|escape:'htmlall':'UTF-8'}{else}--{/if}{$product.product_name|escape:'htmlall':'UTF-8'}{$product.product_quantity|intval}
      -
      -{if $orderRet->state == 2} -

      {l s='REMINDER:'}

      -
      - - {l s='All products must be returned in their original packaging without damage or wear.'} -
      - {l s='Please print out the'} {l s='PDF document'} {l s='and slip it into your package.'} -
      - {l s='Please see PDF document'} ({l s='for the correct address'}) -

      - {l s='Upon receiving your package, you will be notified by e-mail. We will then begin processing the reimbursement of your order total.'} -

      {l s='Let us know if you have any questions.'} -
      -

      {l s='If the conditions of return listed above are not respected, we reserve the right to refuse your package and/or reimbursement.'}

      -
      -{elseif $orderRet->state == 1} -

      {l s='You must wait for our confirmation before returning any merchandise.'}

      -{/if} diff --git a/themes/prestashop/order-slip.tpl b/themes/prestashop/order-slip.tpl deleted file mode 100644 index 71441898e..000000000 --- a/themes/prestashop/order-slip.tpl +++ /dev/null @@ -1,71 +0,0 @@ -{* -* 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 -* @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 -*} - - - -{capture name=path}{l s='My account'}{$navigationPipe}{l s='Credit slips'}{/capture} -{include file="$tpl_dir./breadcrumb.tpl"} - -

      {l s='Credit slips'}

      -

      {l s='Credit slips you have received after cancelled orders'}.

      -
      - {if $ordersSlip && count($ordersSlip)} - - - - - - - - - - - {foreach from=$ordersSlip item=slip name=myLoop} - - - - - - - {/foreach} - -
      {l s='Credit slip'}{l s='Order'}{l s='Date issued'}{l s='View credit slip'}
      {l s='#'}{$slip.id_order_slip|string_format:"%06d"}{l s='#'}{$slip.id_order|string_format:"%06d"}{dateFormat date=$slip.date_add full=0} - {l s='Order slip'} {l s='#'}{$slip.id_order_slip|string_format: - {l s='PDF'} -
      - - {else} -

      {l s='You have not received any credit slips.'}

      - {/if} -
      - diff --git a/themes/prestashop/order-steps.tpl b/themes/prestashop/order-steps.tpl deleted file mode 100644 index 3e36de93a..000000000 --- a/themes/prestashop/order-steps.tpl +++ /dev/null @@ -1,72 +0,0 @@ -{* -* 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 -* @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 -*} - -{* Assign a value to 'current_step' to display current style *} -{if !$opc} - -
        -
      • - {if $current_step=='payment' || $current_step=='shipping' || $current_step=='address' || $current_step=='login'} - - {l s='Summary'} - - {else} - {l s='Summary'} - {/if} -
      • -
      • - {if $current_step=='payment' || $current_step=='shipping' || $current_step=='address'} - - {l s='Login'} - - {else} - {l s='Login'} - {/if} -
      • -
      • - {if $current_step=='payment' || $current_step=='shipping'} - - {l s='Address'} - - {else} - {l s='Address'} - {/if} -
      • -
      • - {if $current_step=='payment'} - - {l s='Shipping'} - - {else} - {l s='Shipping'} - {/if} -
      • -
      • - {l s='Payment'} -
      • -
      - -{/if} diff --git a/themes/prestashop/pagination.tpl b/themes/prestashop/pagination.tpl deleted file mode 100644 index 6352f98b2..000000000 --- a/themes/prestashop/pagination.tpl +++ /dev/null @@ -1,102 +0,0 @@ -{* -* 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 -* @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($p) AND $p} - {if isset($smarty.get.id_category) && $smarty.get.id_category && isset($category)} - {assign var='requestPage' value=$link->getPaginationLink('category', $category, false, false, true, false)} - {assign var='requestNb' value=$link->getPaginationLink('category', $category, true, false, false, true)} - {elseif isset($smarty.get.id_manufacturer) && $smarty.get.id_manufacturer && isset($manufacturer)} - {assign var='requestPage' value=$link->getPaginationLink('manufacturer', $manufacturer, false, false, true, false)} - {assign var='requestNb' value=$link->getPaginationLink('manufacturer', $manufacturer, true, false, false, true)} - {elseif isset($smarty.get.id_supplier) && $smarty.get.id_supplier && isset($supplier)} - {assign var='requestPage' value=$link->getPaginationLink('supplier', $supplier, false, false, true, false)} - {assign var='requestNb' value=$link->getPaginationLink('supplier', $supplier, true, false, false, true)} - {else} - {assign var='requestPage' value=$link->getPaginationLink(false, false, false, false, true, false)} - {assign var='requestNb' value=$link->getPaginationLink(false, false, true, false, false, true)} - {/if} - - - -{/if} diff --git a/themes/prestashop/password.tpl b/themes/prestashop/password.tpl deleted file mode 100644 index 3e2edfc31..000000000 --- a/themes/prestashop/password.tpl +++ /dev/null @@ -1,54 +0,0 @@ -{* -* 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 -* @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 -*} - -{capture name=path}{l s='Forgot your password'}{/capture} -{include file="$tpl_dir./breadcrumb.tpl"} - -

      {l s='Forgot your password'}

      - -{include file="$tpl_dir./errors.tpl"} - -{if isset($confirmation) && $confirmation == 1} -

      {l s='Your password has been successfully reset and has been sent to your e-mail address:'} {$email|escape:'htmlall':'UTF-8'}

      -{elseif isset($confirmation) && $confirmation == 2} -

      {l s='A confirmation e-mail has been sent to your address:'} {$email|escape:'htmlall':'UTF-8'}

      -{else} -

      {l s='Please enter the e-mail address used to register. We will e-mail you your new password.'}

      -
      -
      -

      - - -

      -

      - -

      -
      -
      -{/if} -

      - {l s='Return to Login'}{l s='Back to Login'} -

      diff --git a/themes/prestashop/preview.jpg b/themes/prestashop/preview.jpg deleted file mode 100644 index 22a3cf9f5a01e19864fe14fe04a0f3e1c73a0385..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 12628 zcma*NWmH^2vo5>`cZc9Q5Ind;aCdhI?(PJ4hrtQ%HW1t;NN{%sNYDfi1Puv%yyu*I z*0=7jTYGI;U8{FjcXe0Q(_Js?FW&(iMOg(|00ajBR<9TEat7c^ds{mC10Vna005EK zq6+{^!phac8n7CCEdjm2fJgud0RaIK0SOTi2^Hz}Mn^$HLP5tsLqkVH!@$A#FT%mV z!p6bI!obHTAi&2bCnF;xr}|$4AtNJWVqg;E;1H7%;u4bnFXR99<7E)QMFA#(R(KFD z0EY{L#|6EN0MJ(fkwKu>=l>EMJOUyTG6)6qKlHzh*G~V3g#*BW;1J;d(-|}*0Qt3p zaPYVY01X}@Cq9yd#s^wtcP?&%urx_JLX?uG1x<@D9uTP|9&KKtH@`|3wbH?so)K0u zIt;H;z=7c5K}d)QaPa@t2nZJro`w@oLIdGLSQ;%CKH@L;rUinMFT0YObQau%FPi`c zJm^(+cwFE;aH{}@6R$ZVhUYWWb~U^uFkqIwMsT|(0x5wq2|bA)ST0r%JG72o0N&ZJ zG4zM|YExN$ixN^L1ronW*`@FDqs6Xn!YSsQ$z4j|2XgwV)Iu(;LkS*x45NO~%Y!kc zLWR^^gY~DH4Hf7?u52VXtP3p=ZANp|VrChZuQ@Dh_T;GzJnH74P$YmDNY5QnHrKHa z9{14kyGz9a;yYlC=l5jWqXZ&rad^G&I1d|{ixHoCYwA*5T@diL`5d46_NLqw%2N&; zOA(5sT^sV+YLcF6(smO{$P-)wO@H`$yR!0IY%<3Bm#QnI#``N-AMS62$yuzb0|!I) zFx`JS^0;Z=<5jhbSRv{ZnDnGEVI`Er@Cj@^aN3)x++YRM&EOVgAaCbWu%+L)EE>hwcsj}MPkAPNbX=1)=Ozxl?u+b*JYwxm4M%@d}ppV6m~qVeA9 zu&N_jB;yxn5WkVbVb|X|v$&YyXWrvX{&YRPlNSKpu3+x{0ZNFcy?6b|-x!7dsqr$W&t z0Ew(2L0*<~@!QSD=I@$)c*J7u4i;e7^ameZClF^~^3+tb6OM5L~}vn&feEEnf6gM|vM z5;zPaHs9k@epK@o=0JXr?NozV{cm@2|2qde z&DU_LWez-q917$SoX8BE8m1!3sPXI;i~M`+JTdKn1;8wtkNcK9TJW9cz*(@5zsKt9 z=k%D+(NfEjI3YO{W7W^~MtR2Ge2=Iig4x+hf4%_UX=Y%^7VkI6VWqcSYShWS1ggKl~KVd)AYRdD`5ckLQgAX#0T9yMb%NY%S1&U z13HFLKo+7W0u{zD__w#nD=fE(&PI(IEcln0L)UKK6GQJk2XUJM(ocGuiT6&NuN4Ru z(p+5<;Dk}IL*I!d-&WN$|7lvxGFpA?6)ia2i*E1f>f)TtFn56PWgC9Sw(EZZ&`8j? z3?gN%YBIu!Pv+}U#tQ^MoXel_2-K`pvux0XIYCI3Jm`ZM0PTsu1?r={Gq`val=fv_ z9{9YZeIG*(;&k=3byFOr?Wsl#&s*$rA0%{X>)$$WbV97exT34ZrFEKjImvXt5C;Kie>H~Vw(13N zdyqs-DEFnfb}4R8{z?3uLtzHVHeEYBx?BI(SEp8H9&+>fq}_^^BHPnJLdMPMPXQmR zI(Zi8Np$*#x4*lWTPK_+b$p61?)Xvt)PfQuZi6E9m*WH8<`o+7m!k3?{V#4rVPn#%}k#-DES>YMs6y@(N^THGjOJD->AQU**^Qp$Y{BMpGCL~ zEIo!;9<|c~>p`TGtXa4V{aR;lgfJ3dys_ndsS3W=octDRm?f+EaqG4ea^`>yudF+R z9ZgzmXwFB88y*q0EnNC62>3)Pp$aOwPB;j{V(LUvR5+ctAWiK0$zgL;TywP4@ z!lzeEGpzp3nVYU66|s6@g-MS|R30WXCuDo?7s{fz8%wEKmjl??7v1{7Ls>IdTg%A5 z06|n3`M}Ytro0N>cHMjU?WbA}M7c(n!}dPdCcUjCMjM(u&vH>u(()7w{Ko-|naOm8 ziEQJHnydXJ2?YB7en{fNxVly5vN*+HKA?XuJiRI!bXKd@B4mzw5#QaJUGu?UIGi>k z$-5C`Dv-5az1TE8zw>u-QR?iUA6z}@T^fXaF4dtvb+t|Gma8%LYhnspmJDde-ncn_ zj7h7i<1Ahet|Z7W^kg6>P!^a9QV@UcK4NPO=M856|8tC7c=Au+bmnn{&ypJ+Z~ZuRA$AuKB}}E z2j_1-Z!=ZR?$a(b3r)}5Y)dFJZ{OGR7eZhqz3c6M9SKiy2o@_x2Y8D@Uo$LFcx`7} zM--*pY<-{qvzClLeR>XyMuA5e=3Spv;7VfAy5vQ4ZvY=K1O?q1B0MJa$F?QUGK)?p ze2lC&e;hC2rS`Sxb;h-lD<+I!{4f~5pWDKH>vEyw2(2jdNVNFG%Oj%ILspZez7*7r z7vo>Z%VM6OoQ#5xIO)p`;vuL|t|5@! z&8de{|K|jGZ#dK$N-3H-HT#j~`RXG?I!JQOEuNWgW5&dpWDM>p}3kh&ng!^Ye$ zb9=RJ2My2S>pMNNXbbgH@0hC3gqieqvmYodMY~9GI;HU9Znk`~WxTiu+(=ZkIAmnO zq!=AA)3%3RIS1ce;A@cQ3Fp#t^V$7Zns+b2%r~H|q+a!RsPGiA*U}g+l5NL8USVBt zbLxhZqNa*Q94~nr_BPt~zlYkK)rqI+ko9}Vt@mAjM`W5VJYdd!yc9azQ_I1z1KV#rPLgwkqfdho7Q@P;mJM`;nxqcJh-bve zs`>&$(&w^~lmwyMUgv9_5^F(7XCbyi|6*e}8fw=5m$=&%W!(>CqIgdBDv-jM0_+SAO|; zUel#}o9NUd_l`{IlR{;djXfQGo?rzl!FZm3#tJO4d(+FAGS7Bwl*JNS*3j}N`@P!z z&wH%)o2(7C(l*>3Q{(HB>)N;r6Um?OtR>Ju$0W975>g*$Mw1@OlGC3h-CIs2nFwie z{_S*MJ&`|oj6~eXaw>D>p2$vwxGr6P@elOuk?M5uxt4<;!!VAt&qVB1p^WBTld-%_ zw3(?)E59Mz3~>Ey_{S`$JHep1FU7G?H|{7iv=f)mrZ`Xkw{=6|w1*$(&g416>h$rg ztMH-wUA0>wx9Y2wm0> z2wC%fK5f%`0bYHcsmKd3_ySBki&lz-U+4#k{_L-U1vFl<%{W_zN`ODGf`~WL<|C?p z@{Tz{Q>~Y~@K{s@@{$n0!rGQt?2b3G@bocyd^U-3okGJI?IUAFrXDAncIZzV3Oixv z4fLGO(}L~Cbc7=JQ<@l^`}7=0uz+R>1*dnPgqFWBy)U7S`Vy*T`B5E{MwuIj zktwxO+y?_JUXHrDI^G1^G#ewHu8uY&ddq#WOA9}_?J3l&wRwRJA5JQ!-1_TD^g%w1 z7#h$ogxEBoj);|0sr3gKQh>8`KFPGPyE|QG8%kAVI=kMb-!l; z>l0s`A@9}^cWoV}iPc&UF7v9=xg_H|5%Rc37d^gka`CB)bI?#J!H{}1%%rbL8>Pv8 zUlH8zV#Kg--FJ&wx5Xv-q-FFu32%=?Dkd$9Fo2QLkW!$f91o?T;O5O5Vo!V1H=!Z< zZl@EYQze#~oK|OD&T`c{3W}7x&dFLMQXf~(rPLmRr$L+uab_&3utCg5OLog*=$kvs z_P2QMQ}c;i6-L6ABFzbYtCb4I+K4*rTOm;@oIPeu@j9ZD@1MfDcbt9SkeS5)UD`$$ zmTwr3%E+0n)YFs^Hy&@0B0q;r3=6T^*BE9L_H1|0-d#-YVa^+9H0*i9Y+aPV9?V}A z5Dms>D|0RT(LC#%Zv7ru93|O|JPWQnihslvvhUvqPRBgltFN%jK5|WO7twQhOY)wQ$XKLHp zzBYyk04e(;6k%1eF4Oz!P7fe8;4dDLW2;V)7s_cb_DY^5fVu%km*`HL6>Z!xvWX|= zP@-aE@+4Hl`LIwN`+%}+R0FtrR*DONtFXexW4z&W6Uy}|*&wyk zu!cs-x+ups6h~uKoa^JxH@YS;qyfWGBekmUux8pEd5-UD+FOB5**ZB~2?^aWu~Rn( zbl#gxBjFBq79dD1DNX;59SvxGdUM&h$^jVA1^hH$-j~DzssqA~x3l&8Ql>BXeW<|T zh3mw+#!po{%h;GCmRZK=4CiGhK^+%szaHJ8&XZ!+>-9zfxNYa3P0&TZKL1hbTtvmY z_GYYZ0oPAeFcbe=IuppaIyHr+Pe1jm(ST14$E*ZG)O^8w&Sc829|}59ZGSYfU91rC zU?Dh|GE+Cg-{7Yxzjc*5=x`BcH`{8seOJ=cp(~m+``GspdRR2=z?bzM>Bo3OE4bK% z#$M&Us_@!->~u>=MPYluAN-x%011BC%hE@o@ZWA79258ksrs9FBSJ@-5jN zO&kIQjcjJL$X{Vp7a#2763R#gP;RB$m3*d+Ch6V2H=(uEjJ&8{^C~>h_O{i($sD36 zvCIPI9KW;2?~b<1)z1V6R>riTfa8OO-#olpwc>9bD0trd<5Sf{3#+AtvX^(eh>+2b zsNu!BkyPGhF%dYNki^xu^C+>QE3CaaPr!bWiyu&lH(QY!H6Fz=dI%gAxPc;-m&w~T zJ=i9aGtQ8?w?j$6zwI%eK7KDI4U2{|tZGhCB?j3=jK^OajdRnyg8EhxP&(CGC_yrb zq#fEIKUG(v&tWxus1O~b{%<9gw(Uf6n;_-R7HAmVXJqE^1!$s_;}9sEG>0cHQePqC zd^@LaSwg*}G1mbQ4DGAy=ODR^Tk?<`j)?$mr4!^MgwCwoPpuM$dR$n5^$OY1Tq{hD z;kXWR2A7HPaSOSp$c0&&#j@cKW=8QUJXh28WSa#F$r=it7%U*Y!u6KEoK>aInwSDO>-#QSVTL_L^?|Vpkz) zG7h+KgfVl2c6)qJz#JpO=k%f`TDZrgU)AM+h_}strk8`nrjeb)xWpetQxa524hbmS zGR17x%1iG1<8q^>qL^J7T=OTX_fLdli;LdS59de6j!rfN`LA|m^hB|>`%)NBS6y}M zW7*#iuQmdb(m_K3C2>M$tF+Y1$^mO}5`NzH5ai;`P_qP0*dZf^>`=r!gPmScJ z2nYE8+*_HdTVg_Mu>PXH0Ec>5@M%k{Jp%O4x@e2h$&V4clf$70M5f)Fmazj9(tknH zwyX|;UHWe1(La`*%NKhzcnB!(vH$wHkw?g!=)&+FQk)o0Kby3myfc)p%lZXJ89NCJI zj;2b&yzS@<(DK^8syE>oQ|oBwC+&jx68Xb3Jgp8A*~F=ue+Dg^^~IlDH`shh7}838 z5f^v3q7$L)@s5ofqxE7{r8|^5&yDu5Di6|cYp2*ZVpl7A6oPmRuvcHYAVKmr&sK8t z@q4M+lci`G!)IG4pfodF!d|uk24j8&RbvWrmVro0&W=71#YJSVRF@Ua+HOS{mOn^8Vqv91WMhVuM=d+CD!0Kp7ozW{nn# z&_p|)wjJDslm3$|{FIXUC_L7FEr@89Co0{n+1uu>Leu$U8x{vAIc9A?8CAaZE;7D0 zrPMzjf>nyC$Eo#-a4iPYber4I&R|JT;F2&Tdy%gA%+eM4vmu0}dqh!E0=;C5h| z72BgJm*y^*A#!)gMOJ#om}ptf!Ltt!XBM;aB}<46^E(kzg~gWaIDnb*~R0-T)L zTPyvZZ#&VcL|z7!Of}H~GF(+QIAGn`)t#L~1J_F%rv=MGJ--<_J7y#taMmrpPxGb_ zU(n)XtKr61$fRGoBmnqiSpdY7JpQfTD(zPtW1r(N8;&~-L_7I4kDHAGg|;X7nc$Bh zX}GnmE1HO^oFCb!Dz5skqD=VmYCpDXapH1!w9NZ1r8>hp%3$3ymBO~$^#z;ajNg2= zypi^kZz?D5#E^>)SaV&y+v-(~E_x8N<>Xq1=B_Y`>xTE5y8VQI3eY6^3wXDQ`#2;tEK{FSW!ehnxa=p6{VIfrhvkx%6q%3|RZ zFf&a{8Q$wruq4k}&J<0K#S3<(%iUbAk`>l%*=%-T74>i2E7_IXr>!bDqkrwLnIknp zJ=2vk9ZnQfCE3h|)m4j1CsNsrYi$}6I?{}0+JbhG#36HbL=+dL%jG^+Y zXr0<{R=i@( z?vxqF#rR=#goZrzcAnuBMjU04SGC|;uWc4JnW-}@-ION{CO@S^9YvB_?9;qAK`Kl% z;|b26DDgG~P0Y&xyGOEfs5tK*9aCFzMS-gB_2`&?3LVa{9Y%+j3=#cGB&zv_pOy*6<3M)~DR_C-I0gnJuHu+`MSL?12k|3VWdIjjtw}dqIHS)7 zy#cs|$X2Qwu7)Ag(h%eG!T54PN<}xPg%;&tem5M@^0AH7jcr#ehC!9F#p~-*`?)(S znRlyC)+|Oi%KVtD3pm_JMD}1&UH>&+xQ`Eh<84ab-nbHuoYPHJ9pL&Q-W!#7#PfP; zigc6>!AVN?l+F=O@o128I*>V2E#=6fU*2BPEW6Ed;eHEpv*fm2eoI2bVP^oYAMhp0i_#&OZ5<ii);7UT&4y)D}RbR%U=*v0s0kdWl z&v>1f+h@nP3q-M6?(u&PVW&|O2>5oIT_Z}i#&6`Z>hygB*V4$KDy-Z$LmV=R4!asfU1u(fWnLY38#WNWWr0?!)CSER1<_ButPNSzqpe)JZ$7)fZnCW-dIdyEm zbGke4-$SPu3PfQQY-u}-b7hRHWFqB?T1hmbHRP^v7j{U{tNQ2MciGdS?)0=$QPK81 zayLQKlzWuaZ^KQG>Mg5ls2La>6?2`?;D@&->lU_x8vFv07 zp^`=xmj8Lwl4TY(7F5l~GB$>Q77Xk165E}AWU=xjL@4sa!_~Co)_Ce%Ql7L+jlH>H zw~Ahup&9RHRU8QvM}|xI_`LA~j6Oql;Z&h_Yc(F}vFE0Lsfj>WWb5y+SY*c%2q`;cao6+10g(iG1Ebnl|5?Gdq4!|sDF{I-Q%6K*w zx8C;s`Pal?c|W*o+r|74WrWO6()sz^UO}A~jNxdQf?D*Td!CzFfiDu~A1`rzj9_bQHzC@})xP0031|@)!-Zl4oFwW?{%_MU84gIXd#?)@ zvOlptm}??m@+wrh7dK`&gf6rN_Fo1Y?4^PkzJJ~12hps0i*=GIp{)c>1GT9Bmbu*? z2c=0;X+=3dF8-Ar{^11iw-)tDH0B;WS}V&LN;h z>IDXl$2->(aDr-tAQC*+OUZl|s^5A!OeR0W^jmR`mzxC*6zDiJ?WK0ZF?46n%2mB* z3d;G$=rh4J)fM7i#R)x5FoS$jNucQ$Pn3u2|fuEcpI2JIa0VJqHoo_JIS4rbsi zhuy@Vo_TDA?#60%-}8lw{(#ec;wrcDFva=kN|W_+_8`o~e^d*?1i}nMM`S1l2h3wy zA`mL>@lA)BjWc*aKl-?1xzKGchH4{{VAeN9x{qr6-l%W!Zlvw-rqSJP!rd!=QQqN< zkesnbGy+pP{U7c^0pbFaUxDbG$%MTmj~Vb{i$@r0e*FQc`hWv5-{q4Z)Q02-?1>}P z_sV48`PZM6*H9?`ub%4*&?{Eyp!OgIOXB7eMrjh7&iZciWdbD))I|hDC zWXen8fe)>OxRWwjjxfU9pAX-)v~a&J*GTz_QS>Bg(O_jJABV3|7@;r5iuL(&b}t#v$}j<~hV)Sz8sYrbbYQ(((>%#3!uTiLDS?|)+p#)ccM zugdEXlg;py5OTcJdyuo?t3%FaFx4nkFLrnDG8kH@Pm!WUmQbbsH5!qN$*@75hGOJ3 zpa}=nJ{FX!CjD3cX#4T|ZLh z-M+(Te-G;eNMzaP>x<`Aro8Q~`U-IXt%zfa2+Mw$#`&((!b9~(r~D=<7dj5e@5Z6( z65G#jKkq+(|9flw0yHF;?zB9k3b>x_%0mrhxfrz(zhEegKM z8vr;K`ST0`moDFeZRC^+izdhD{?b9; zNhnfgH&k6E2(Kr@D6wz+phtNdcP}^VkN0!pUswI5GhI*e#;yXh27?rN22yB-VEj@C z`B}-A+AdA;+rISeDW~}AU6EM`5_Jm4l)M8uv#ze{FoSk`DB$^!FWgVb3yz5Skgg(T zxRvKFGO4#QHKc$LasGEoNx&*uFxbSaJHx!KYU4UzGLE8Dq{fku8~N=EP=<<3W}8?7 zw@INr5$jphB8!K0A#Aj*g6>h8Mi(h79sfNV`E!)hXJt&)VNOA#L9VLX7_k>1CIK9g z)TE@tg4oSrE>&oW1FD(I;z)zyyb^+ee)&y}tEkkv-?3$Ry< zdtEbnkq~&frpfeC+AjzJ6#AX3UqkP72=q`{-%wWcbhmD3I_e!xBYZFny`pyG{fb*g zb@EMHXj8P5r66nnuuQG5w=36q$2!K04Q%9Q@TmF%I5qkP)Aj`vsl5Q{Su@PTuD^E} z=&OqqSmyt%ofwX)*#>~>CfpmSZQ^r%)WVD9bm=H)7Owc)>U#`}00G=?^H1A7?o^uB4S z^9`=vP~Go#<`3i@PnVlCwFf7G+P+R!8*o?UN;C*k?p^&?KFfclM^pqvSl#;)F*l1C zVj7hFKw2{7Kq6AKep(@3q+?kP6pi1cHOoEhRFS77>Q$p7T}(V16BGEXK>2zGtuft! z!ah}&t;1!^6-`n^<1E_C6p4y|qJ-KQte4I`r~_WqHip-=5_3_iKqNSD!y^){v&9{r zHpdtjBVvc`QvffoI1JMP+Y!xb7 zlS!1ZpIc*Tf{N2 zQa86Qx9@%bokPUUvuFdr3o6;~heGIrHs5w{{m2sB5vuo+_#J=_ltL%c-bDF<3gP6W zoHi2PSasQ^5~V9`Wv~uUd!5j2M4}S4zKR7K7Dix?eMO8 z|7y7K`~eIDFjB`lzf8JDyB(uLVgebihSVKsNE*w9k8EO<+I4?qu{8P_B0nr-D_4WJOnSE0F(oLa0@rY`4K($@)-(ct%il zSQx_dHRnHpn&=32*ns*;vSLl`Q;c5NHQEP8DS`->ov!Z6s3H4%L}G`=-x5=>Sfu+; z4CnMPC5jsB>r}hUYIU*2*Xqr($zw}vYH#`WR^p1uOJgU2U0F2f>!}h|FjW9iIC3!o zyut|6yH3xjR`QA!YMtwB&cn=)uUJi7nyg?-I|72D{N=|ubKCxfdnF@EHY_@PQIa?P z09~ZCu84GO3=U0B><8mJ2kN^#!JoWt6uzGhv_DHR;%9}7wn>3UuUU$guS;>M_Es!s6v8{6Q!_Yvc zXX`wveU3is(B0Cx)x#QcSQ@VJhIdQ3w)|>Q+j^M%GE-+*XbHVJ!>Et{ROKmfr#szd zr*J5+Alk_8+0tc|j=^tZn^;&7o5Td{yKg@+Q~l2IKX6U_R87-YwdjPVU84O9Z_!j- z;UC9j&GN{D}^fzFPE?W`sBDRiHgqicld5&e>OE${Jp((ez&-#LS5FI zg4e>0hA|;{n9LV9f2;dJb-!;>%*m~?N-@-1R zw6k1*&4zQa10ht#TS?O>PVk?}I!NC60&!8m|7UncX2rZXflx-C9-w?)@p#&hcT-^K zsQ93VgO~G~Mn??%m!V~RNIIjM3Kf|;tunlMURu#>{{=HL_Ess}r%X&puc72mMAH~!plmmxD$JWvJZbt>zReBvTGZ!+5hA;Elcmm z-C49DsY$kUuPGAE^6#Lm8Q!{-+yyWdb zN_$Y4Xg}W{v+mWQwdu-7mbBbH?>W(0*xNnJsE8^3_LE37t+rvs6{$ZLPwlra+>|fC z*6N#>wOGj(q#y0EV6HjRW}Z@O8(PJPgLxz#tNcx?qw}n5-R^nPCwCI{si1?8y&}KP zsj?YwPoTPmKRzWRvPAJgJ#_`c*pAAzo;FiH(Mhrt>X+lkvwfEQL!`f?SNM60iLEH# z-r>i$+wT(cYc@FSokwY24OyrjSOs!wcxruGF91AT7F+&U1G_%0m{}_6Y6d|={d2Fl z@*cteXoeWnHhSCEx@lukk%5~gTGa#C^eO!8DC<+`Q|oi-u~Z82ysA)mo5;DVNf_GT zSDsH>s3d%8pn^}$!{$vtQiG! zi*xe)Dqnwi^shTt_4TGzcIA{8_a-|`d!;g~k@JGnDVUZD5Em6Z3Pe8;ZFNME{>Vtt z;|wRNXd`bU{Q#%1+pCYoMgIHV=W3j@a_GA>#K_r;7Kytts~S!lW(4Neb^}Nt2KlTs~=YvT9J^7B5y4gaT)~k*Flzm*^Lc%86d}Icv{)*91O3~F_ zks6zmUXOT}x9_$`LKSb$|BcS>(ki$tl+sH_nMmRJVVavSXjpw!{2vE`0Wvs&Jq0rD zLOd%>ydttm(>G;#(n!>|*xF5oLh`a4Gr6cimbp4Swe26gtOiAFx9uSLxDGhZq8 zuRNRyg`YaWwh!?X?(0bL>B|0sQ5YRf;i|^Owj5d`lFewg!TSo&4RUK_qlrX!zvV~d z+$zchZID|Z_SM}XM9*W^eVvYRRb9G}1|q>s0wirsapVUiK^U5gnh#Z{8HHbknM2_V z(D_Gn%<;2*PR|Q)HonByF8iC3nsl{b@YmNB>g$8)OZ?|rWZ%Hiq#o(!HjJkFxIurT z7(7n%Bgv`uvqfoY$lj%5lyQ~JE=erDB(v9ZzQ-SyuFJ+Pm;4Gd-})5uflViyEQmtG zVP>q4-uDtjOh@HTJqp7A{Q3eCgxmpxX7&vmPL5hzllTYE7vCqdk}pL|8l4A{bK$jY zbN{qUu33v1EB^JNFn=uNvn6CG?Q&qN*+5#)|1nUIo_f3eCjy`156!3~(1Mn6Ot<|l zhPO_npKGwL^DPgV`#o+5XNWEbBBStUp!i}CE}{oO`#;+GkC!LBs9nG8;P2oY;%YkD zlTi0NRBR09$t9&$lXltAB-1ERmE+vL+`9(D|HJJ$E{BfPeSRj7#Bvc*^3B?u zrQqaj*KBqK>a;=X@Ya#BWR$Vn*X6pUnGJI9AAcQC?|X^;Qm-9zsF#612Cwz!9mmkX zf7*d;Ux1^+C8x+~84P4T4xhsjYoX%si{kba;uN(vz>VxxR?c}DP1tg+La}J( zM?nA#@jQ`A+Tf80H}9Z++5nf_}2x+m;~ zaxzjZ6pI{6e?6QUevg+KM{uPB{DUXvA^SgJ4v_(Zdut>f4xTunpf4zt^qC3KzSQh5 z*9)+efRGOD8iGnTyI~N^&=82xs0I^@rx(Q=Wnv&iw-p~MX{lifh^GcKVTJF~Q@`f! zE7XZ?3ppxN%j0{6T`w^g64;d!h>00fD=cq)_YgN=E^Xx;FHgZ#7P~=a;05*R#KG{C^KD)yu~J2k~IVuK)l5 diff --git a/themes/prestashop/prices-drop.tpl b/themes/prestashop/prices-drop.tpl deleted file mode 100644 index ba6383f97..000000000 --- a/themes/prestashop/prices-drop.tpl +++ /dev/null @@ -1,38 +0,0 @@ -{* -* 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 -* @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 -*} - -{capture name=path}{l s='Price drop'}{/capture} -{include file="$tpl_dir./breadcrumb.tpl"} - -

      {l s='Price drop'}

      - -{if $products} - {include file="$tpl_dir./product-sort.tpl"} - {include file="$tpl_dir./product-list.tpl" products=$products} - {include file="$tpl_dir./pagination.tpl"} -{else} -

      {l s='No price drop.'}

      -{/if} diff --git a/themes/prestashop/product-compare.tpl b/themes/prestashop/product-compare.tpl deleted file mode 100644 index c08020338..000000000 --- a/themes/prestashop/product-compare.tpl +++ /dev/null @@ -1,41 +0,0 @@ -{* -* 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 -* @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 $comparator_max_item} - -
      -

      - - -

      -
      -{/if} - diff --git a/themes/prestashop/product-list.tpl b/themes/prestashop/product-list.tpl deleted file mode 100644 index b777bf5ae..000000000 --- a/themes/prestashop/product-list.tpl +++ /dev/null @@ -1,63 +0,0 @@ -{* -* 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 -* @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($products)} - -
        - {foreach from=$products item=product name=products} -
      • - -
        - {if isset($product.on_sale) && $product.on_sale && isset($product.show_price) && $product.show_price && !$PS_CATALOG_MODE}{l s='On sale!'} - {elseif isset($product.reduction) && $product.reduction && isset($product.show_price) && $product.show_price && !$PS_CATALOG_MODE}{l s='Reduced price!'}{/if} - {if isset($product.online_only) && $product.online_only}{l s='Online only!'}{/if} - {if (!$PS_CATALOG_MODE AND ((isset($product.show_price) && $product.show_price) || (isset($product.available_for_order) && $product.available_for_order)))} -
        - {if isset($product.show_price) && $product.show_price && !isset($restricted_country_mode)}{if !$priceDisplay}{convertPrice price=$product.price}{else}{convertPrice price=$product.price_tax_exc}{/if}
        {/if} - {if isset($product.available_for_order) && $product.available_for_order && !isset($restricted_country_mode)}{if ($product.allow_oosp || $product.quantity > 0)}{l s='Available'}{elseif (isset($product.quantity_all_versions) && $product.quantity_all_versions > 0)}{l s='Product available with different options'}{else}{l s='Out of stock'}{/if}{/if} -
        - {/if} - {if ($product.id_product_attribute == 0 || (isset($add_prod_display) && ($add_prod_display == 1))) && $product.available_for_order && !isset($restricted_country_mode) && !$PS_CATALOG_MODE} - {if ($product.allow_oosp || $product.quantity > 0) && $product.customizable != 2} - {l s='Add to cart'} - {else} - {l s='Add to cart'} - {/if} - {/if} - {l s='View'} - {if isset($comparator_max_item) && $comparator_max_item} -

        - {/if} -
        -
      • - {/foreach} -
      - -{/if} diff --git a/themes/prestashop/product-sort.tpl b/themes/prestashop/product-sort.tpl deleted file mode 100644 index fdca499a9..000000000 --- a/themes/prestashop/product-sort.tpl +++ /dev/null @@ -1,56 +0,0 @@ -{* -* 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 -* @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($orderby) AND isset($orderway)} - -{if isset($smarty.get.id_category) && $smarty.get.id_category} - {assign var='request' value=$link->getPaginationLink('category', $category, false, true)} -{elseif isset($smarty.get.id_manufacturer) && $smarty.get.id_manufacturer} - {assign var='request' value=$link->getPaginationLink('manufacturer', $manufacturer, false, true)} -{elseif isset($smarty.get.id_supplier) && $smarty.get.id_supplier} - {assign var='request' value=$link->getPaginationLink('supplier', $supplier, false, true)} -{else} - {assign var='request' value=$link->getPaginationLink(false, false, false, true)} -{/if} -
      -

      - - -

      -
      - -{/if} diff --git a/themes/prestashop/product.tpl b/themes/prestashop/product.tpl deleted file mode 100644 index 9086e93b7..000000000 --- a/themes/prestashop/product.tpl +++ /dev/null @@ -1,541 +0,0 @@ -{* -* 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 -* @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 -*} - -{include file="$tpl_dir./errors.tpl"} -{if $errors|@count == 0} - - -{include file="$tpl_dir./breadcrumb.tpl"} -
      -

      {$product->name|escape:'htmlall':'UTF-8'}

      - - {if isset($adminActionDisplay) && $adminActionDisplay} -
      -

      {l s='This product is not visible to your customers.'} - - - -

      -
      -

      -

      -
      - {/if} - - {if isset($confirmation) && $confirmation} -

      - {$confirmation} -

      - {/if} - - -
      - -
      - {if $have_image} - {$link->getImageLink($product->link_rewrite, $cover.id_image, 'thickbox')} - {else} - - {/if} -
      - - {if isset($images) && count($images) > 0} - -
      - {if isset($images) && count($images) > 3}{/if} -
      -
        - {if isset($images)} - {foreach from=$images item=image name=thumbnails} - {assign var=imageIds value="`$product->id`-`$image.id_image`"} -
      • - - {$image.legend|htmlspecialchars} - -
      • - {/foreach} - {/if} -
      -
      - {if isset($images) && count($images) > 3}{l s='Next'}{/if} -
      - {/if} - {if isset($images) && count($images) > 1}

      {/if} - - -
      - - -
      - {if $product->description_short OR $packItems|@count > 0} -
      - {if $product->description_short} -
      {$product->description_short}
      - {/if} - {if $product->description} -

      {l s='More details'}

      - {/if} - {if $packItems|@count > 0} -

      {l s='Pack content'}

      - {foreach from=$packItems item=packItem} -
      - {$packItem.pack_quantity} x {$packItem.name|escape:'htmlall':'UTF-8'} -

      {$packItem.description_short}

      -
      - {/foreach} - {/if} -
      - {/if} - - {if isset($colors) && $colors} - -
      -

      {l s='Pick a color:' js=1}

      -
      - -
      -
      - {/if} - - {if ($product->show_price AND !isset($restricted_country_mode)) OR isset($groups) OR $product->reference OR (isset($HOOK_PRODUCT_ACTIONS) && $HOOK_PRODUCT_ACTIONS)} - -
      quantity > 0}class="hidden"{/if} action="{$link->getPageLink('cart')}" method="post"> - - - - - - {if $product->show_price AND !isset($restricted_country_mode) AND !$PS_CATALOG_MODE} -

      - {if !$priceDisplay || $priceDisplay == 2} - {assign var='productPrice' value=$product->getPrice(true, $smarty.const.NULL)} - {assign var='productPriceWithoutRedution' value=$product->getPriceWithoutReduct(false, $smarty.const.NULL)} - {elseif $priceDisplay == 1} - {assign var='productPrice' value=$product->getPrice(false, $smarty.const.NULL)} - {assign var='productPriceWithoutRedution' value=$product->getPriceWithoutReduct(true, $smarty.const.NULL)} - {/if} - {if $product->on_sale} - {l s='On sale'} - {l s='On sale!'} - {elseif $product->specificPrice AND $product->specificPrice.reduction AND $productPriceWithoutRedution > $productPrice} - {l s='Reduced price!'} - {/if} -
      - - {if $priceDisplay >= 0 && $priceDisplay <= 2} - {convertPrice price=$productPrice} - {if $tax_enabled && $display_tax_label == 1} - {if $priceDisplay == 1}{l s='tax excl.'}{else}{l s='tax incl.'}{/if} - {/if} - {/if} - - {if $priceDisplay == 2} -
      - {convertPrice price=$product->getPrice(false, $smarty.const.NULL)} {l s='tax excl.'} - {/if} -
      -

      - {if $product->specificPrice AND $product->specificPrice.reduction} -

      - {if $priceDisplay >= 0 && $priceDisplay <= 2} - {if $productPriceWithoutRedution > $productPrice} - {convertPrice price=$productPriceWithoutRedution} - {if $tax_enabled && $display_tax_label == 1} - {if $priceDisplay == 1}{l s='tax excl.'}{else}{l s='tax incl.'}{/if} - {/if} - {/if} - {/if} - -

      - {/if} - {if $product->specificPrice AND $product->specificPrice.reduction_type == 'percentage'} -

      {l s='(price reduced by'} {$product->specificPrice.reduction*100} %{l s=')'}

      - {/if} - {if $packItems|@count} -

      {l s='instead of'} {convertPrice price=$product->getNoPackPrice()}

      -
      - {/if} - {if $product->ecotax != 0} -

      {l s='include'} {if $priceDisplay == 2}{$ecotax_tax_exc|convertAndFormatPrice}{else}{$ecotax_tax_inc|convertAndFormatPrice}{/if} {l s='for green tax'} - {if $product->specificPrice AND $product->specificPrice.reduction} -
      {l s='(not impacted by the discount)'} - {/if} -

      - {/if} - {if !empty($product->unity) && $product->unit_price_ratio > 0.000000} - {math equation="pprice / punit_price" pprice=$productPrice punit_price=$product->unit_price_ratio assign=unit_price} -

      {convertPrice price=$unit_price} {l s='per'} {$product->unity|escape:'htmlall':'UTF-8'}

      - {/if} - {*close if for show price*} - {/if} - - {if isset($groups)} - -
      - {foreach from=$groups key=id_attribute_group item=group} - {if $group.attributes|@count} -

      - - {assign var="groupName" value="group_$id_attribute_group"} - -

      - {/if} - {/foreach} -
      - {/if} - -

      reference}style="display: none;"{/if}>{$product->reference|escape:'htmlall':'UTF-8'}

      - - -

      quantity <= 0) OR $virtual OR !$product->available_for_order OR $PS_CATALOG_MODE} style="display: none;"{/if}> - - minimal_quantity > 1}onkeyup="checkMinimalQuantity({$product->minimal_quantity});"{/if} /> -

      - - -

      minimal_quantity <= 1 OR !$product->available_for_order OR $PS_CATALOG_MODE} style="display: none;"{/if}>{l s='You must add '}{$product->minimal_quantity}{l s=' as a minimum quantity to buy this product.'}

      - {if $product->minimal_quantity > 1} - - {/if} - - -

      quantity <= 0 && !$product->available_later && $allow_oosp) OR ($product->quantity > 0 && !$product->available_now) OR !$product->available_for_order OR $PS_CATALOG_MODE} style="display: none;"{/if}> - {l s='Availability:'} - quantity <= 0} class="warning_inline"{/if}> - {if $product->quantity <= 0}{if $allow_oosp}{$product->available_later}{else}{l s='This product is no longer in stock'}{/if}{else}{$product->available_now}{/if} - -

      - - - {if (($display_qties == 1 OR $product->quantity <= $last_qties) && !$PS_CATALOG_MODE && $product->available_for_order)} -

      quantity <= 0} style="display: none;"{/if}> - {$product->quantity|intval} - quantity > 1} style="display: none;"{/if} id="quantityAvailableTxt">{l s='item in stock'} - quantity == 1} style="display: none;"{/if} id="quantityAvailableTxtMultiple">{l s='items in stock'} -

      - {/if} - -

      quantity > 0} style="display: none;"{/if}> - {$HOOK_PRODUCT_OOS} -

      - -

      quantity > $last_qties OR $product->quantity <= 0) OR $allow_oosp OR !$product->available_for_order OR $PS_CATALOG_MODE} style="display: none;"{/if} >{l s='Warning: Last items in stock!'}

      - - {if $product->online_only} -

      {l s='Online only'}

      - {/if} - - quantity <= 0) OR !$product->available_for_order OR (isset($restricted_country_mode) AND $restricted_country_mode) OR $PS_CATALOG_MODE} style="display: none;"{/if} id="add_to_cart" class="buttons_bottom_block">

      - {if isset($HOOK_PRODUCT_ACTIONS) && $HOOK_PRODUCT_ACTIONS}{$HOOK_PRODUCT_ACTIONS}{/if} -
      - - {/if} - {if $HOOK_EXTRA_RIGHT}{$HOOK_EXTRA_RIGHT}{/if} -
      -
      - -{if $quantity_discounts} - - -
      - - - {foreach from=$quantity_discounts item='quantity_discount' name='quantity_discounts'} - - {/foreach} - - - {foreach from=$quantity_discounts item='quantity_discount' name='quantity_discounts'} - - {/foreach} - -
      {$quantity_discount.quantity|intval} - {if $quantity_discount.quantity|intval > 1} - {l s='quantities'} - {else} - {l s='quantity'} - {/if} -
      - {if $quantity_discount.price != 0 OR $quantity_discount.reduction_type == 'amount'} - -{convertPrice price=$quantity_discount.real_value|floatval} - {else} - -{$quantity_discount.real_value|floatval}% - {/if} -
      -
      -{/if} - -{$HOOK_PRODUCT_FOOTER} - - -{if $product->description || $features || $accessories || $HOOK_PRODUCT_TAB || $attachments} -
      - -
      - {if $product->description} - -
      {$product->description}
      - {/if} - {if $features} - -
        - {foreach from=$features item=feature} -
      • {$feature.name|escape:'htmlall':'UTF-8'} {$feature.value|escape:'htmlall':'UTF-8'}
      • - {/foreach} -
      - {/if} - {if $attachments} - - {/if} - {if isset($accessories) AND $accessories} - -
        -
        -
        -
          - {foreach from=$accessories item=accessory name=accessories_list} - {assign var='accessoryLink' value=$link->getProductLink($accessory.id_product, $accessory.link_rewrite, $accessory.category)} -
        • -
          {$accessory.name|truncate:22:'...':true|escape:'htmlall':'UTF-8'}
          - -

          - {if $accessory.show_price AND !isset($restricted_country_mode) AND !$PS_CATALOG_MODE}{if $priceDisplay != 1}{displayWtPrice p=$accessory.price}{else}{displayWtPrice p=$accessory.price_tax_exc}{/if}{/if} - {l s='View'} - {if ($accessory.allow_oosp || $accessory.quantity > 0) AND $accessory.available_for_order AND !isset($restricted_country_mode) AND !$PS_CATALOG_MODE} - {l s='Add to cart'} - {else} - {l s='Add to cart'} - {if (isset($accessory.quantity_all_versions) && $accessory.quantity_all_versions > 0)}{l s='Product available with different options'}{else}{l s='Out of stock'}{/if} - {/if} -

          -
        • - - {/foreach} -
        -
        -
        -
      - {/if} - {$HOOK_PRODUCT_TAB_CONTENT} -
      -
      -{/if} - - -{if $product->customizable} - -
      -
      -

      - Informations - {l s='After saving your customized product, remember to add it to your cart.'} - {if $product->uploadable_files}
      {l s='Allowed file formats are: GIF, JPG, PNG'}{/if} -

      - {if $product->uploadable_files|intval} -

      {l s='Pictures'}

      -
        - {counter start=0 assign='customizationField'} - {foreach from=$customizationFields item='field' name='customizationFields'} - {if $field.type == 0} -
      • {assign var='key' value='pictures_'|cat:$product->id|cat:'_'|cat:$field.id_customization_field} - {if isset($pictures.$key)}
        - - - {l s='Delete'} - -
        {/if} -
        {if $field.required}*{/if} -
        {if !empty($field.name)}{$field.name}{else}{l s='Please select an image file from your hard drive'}{/if}
        -
      • - {counter} - {/if} - {/foreach} -
      - {/if} -
      - {if $product->text_fields|intval} -

      {l s='Texts'}

      -
        - {counter start=0 assign='customizationField'} - {foreach from=$customizationFields item='field' name='customizationFields'} - {if $field.type == 1} -
      • {assign var='key' value='textFields_'|cat:$product->id|cat:'_'|cat:$field.id_customization_field} - {if !empty($field.name)}{$field.name}{/if}{if $field.required}*{/if} -
      • - {counter} - {/if} - {/foreach} -
      - {/if} -

      - - - - -

      -
      -

      * {l s='required fields'}

      -
      -{/if} - -{if $packItems|@count > 0} -
      -

      {l s='Pack content'}

      - {include file="$tpl_dir./product-list.tpl" products=$packItems} -
      -{/if} - -{/if} - diff --git a/themes/prestashop/products-comparison.tpl b/themes/prestashop/products-comparison.tpl deleted file mode 100644 index d100d32f3..000000000 --- a/themes/prestashop/products-comparison.tpl +++ /dev/null @@ -1,143 +0,0 @@ -{* -* 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 -* @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 -*} - -{capture name=path}{l s='Product Comparison'}{/capture} - -{include file="$tpl_dir./breadcrumb.tpl"} -

      {l s='Product Comparison'}

      - -{if $hasProduct} -
      - - - {assign var='taxes_behavior' value=false} - {if $use_taxes && (!$priceDisplay || $priceDisplay == 2)} - {assign var='taxes_behavior' value=true} - {/if} - {foreach from=$products item=product name=for_products} - {assign var='replace_id' value=$product->id|cat:'|'} - - - {/foreach} - - - - - {section loop=$products|count step=1 start=0 name=td} - - {/section} - - - {if $ordered_features} - {foreach from=$ordered_features item=feature} - - {cycle values='comparison_feature_odd,comparison_feature_even' assign='classname'} - - - {foreach from=$products item=product name=for_products} - {assign var='product_id' value=$product->id} - {assign var='feature_id' value=$feature.id_feature} - {if isset($product_features[$product_id])} - {assign var='tab' value=$product_features[$product_id]} - - {else} - - {/if} - {/foreach} - - {/foreach} - {else} - - - - - {/if} - - {$HOOK_EXTRA_PRODUCT_COMPARISON} -
      -
      {$product->name|truncate:27:'...'|escape:'htmlall':'UTF-8'}
      - -
      - - {$product->name|escape:html:'UTF-8'} - - - {if isset($product->show_price) && $product->show_price && !isset($restricted_country_mode) && !$PS_CATALOG_MODE} -

      {convertPrice price=$product->getPrice($taxes_behavior)}

      -
      - {if $product->on_sale} - {l s='On sale!'} - {elseif $product->specificPrice AND $product->specificPrice.reduction} - {l s='Reduced price!'} - {/if} -
      - - {if !empty($product->unity) && $product->unit_price_ratio > 0.000000} - {math equation="pprice / punit_price" pprice=$product->getPrice($taxes_behavior) punit_price=$product->unit_price_ratio assign=unit_price} -

      {convertPrice price=$unit_price} {l s='per'} {$product->unity|escape:'htmlall':'UTF-8'}

      - {else} -   - {/if} - {/if} - -

      - {if !(($product->quantity <= 0 && !$product->available_later) OR ($product->quantity != 0 && !$product->available_now) OR !$product->available_for_order OR $PS_CATALOG_MODE)} - {l s='Availability:'} - quantity <= 0} class="warning-inline"{/if}> - {if $product->quantity <= 0} - {if $allow_oosp} - {$product->available_later|escape:'htmlall':'UTF-8'} - {else} - {l s='This product is no longer in stock'} - {/if} - {else} - {$product->available_now|escape:'htmlall':'UTF-8'} - {/if} - - {/if} -

      - {l s='Remove'} - {l s='View'} - {if (!$product->hasAttributes() OR (isset($add_prod_display) AND ($add_prod_display == 1))) AND !$PS_CATALOG_MODE} - {if ($product->quantity > 0 OR $product->allow_oosp) AND $product->customizable != 2} - {l s='Add to cart'} - {else} - {l s='Add to cart'} - {/if} - {else} -
      - {/if} -
      -
      - {l s='Features'} -
      - {$feature.name|escape:'htmlall':'UTF-8'} - {$tab[$feature_id]|escape:'htmlall':'UTF-8'}
      {l s='No features to compare'}
      -
      -{else} -

      {l s='There is no product in the comparator'}

      -{/if} - diff --git a/themes/prestashop/restricted-country.tpl b/themes/prestashop/restricted-country.tpl deleted file mode 100644 index 7ff4a6f88..000000000 --- a/themes/prestashop/restricted-country.tpl +++ /dev/null @@ -1,51 +0,0 @@ -{* -* 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 -* @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 -*} - - - - - {$meta_title|escape:'htmlall':'UTF-8'} - -{if isset($meta_description)} - -{/if} -{if isset($meta_keywords)} - -{/if} - - - - - -
      -

      logo

      -

      - {l s='You cannot access our store from your country. We apologize for the inconvenience.'} -

      -   -
      - - \ No newline at end of file diff --git a/themes/prestashop/scenes.tpl b/themes/prestashop/scenes.tpl deleted file mode 100644 index acef7e516..000000000 --- a/themes/prestashop/scenes.tpl +++ /dev/null @@ -1,92 +0,0 @@ -{* -* 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 -* @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 scenes} - - - - - -
      -
      - {foreach from=$scenes key='scene_key' item='scene' name='scenes'} -
      - {foreach from=$scene->products key='product_key' item='product'} - {assign var=imageIds value="`$product.id_product`-`$product.id_image`"} - -   - - - {/foreach} -
      - {/foreach} -
      - {if isset($scenes.1)} -
      - - - -
      -
        - {foreach from=$scenes item='scene' name='scenes_list'} -
      • - - {$scene->name|escape:'htmlall':'UTF-8'} - -
      • - {/foreach} -
      -
      - - - -
      - {/if} -
      -{/if} diff --git a/themes/prestashop/search.tpl b/themes/prestashop/search.tpl deleted file mode 100644 index dd989e286..000000000 --- a/themes/prestashop/search.tpl +++ /dev/null @@ -1,51 +0,0 @@ -{* -* 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 -* @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 -*} - -{capture name=path}{l s='Search'}{/capture} -{include file="$tpl_dir./breadcrumb.tpl"} - -

      -{l s='Search'} {if $nbProducts > 0}"{if isset($search_query) && $search_query}{$search_query|escape:'htmlall':'UTF-8'}{elseif $search_tag}{$search_tag|escape:'htmlall':'UTF-8'}{elseif $ref}{$ref|escape:'htmlall':'UTF-8'}{/if}"{/if} -{if isset($instantSearch) && $instantSearch}{l s='Return to previous page'}{/if} -

      - -{include file="$tpl_dir./errors.tpl"} -{if !$nbProducts} -

      - {if isset($search_query) && $search_query} - {l s='No results found for your search'} "{if isset($search_query)}{$search_query|escape:'htmlall':'UTF-8'}{/if}" - {elseif isset($search_tag) && $search_tag} - {l s='No results found for your search'} "{$search_tag|escape:'htmlall':'UTF-8'}" - {else} - {l s='Please type a search keyword'} - {/if} -

      -{else} -

      {$nbProducts|intval} {if $nbProducts == 1}{l s='result has been found.'}{else}{l s='results have been found.'}{/if}

      - {if !isset($instantSearch) || (isset($instantSearch) && !$instantSearch)}{include file="$tpl_dir./product-sort.tpl"}{/if} - {include file="$tpl_dir./product-list.tpl" products=$search_products} - {if !isset($instantSearch) || (isset($instantSearch) && !$instantSearch)}{include file="$tpl_dir./pagination.tpl"}{/if} -{/if} diff --git a/themes/prestashop/shopping-cart-product-line.tpl b/themes/prestashop/shopping-cart-product-line.tpl deleted file mode 100644 index 5139e0b08..000000000 --- a/themes/prestashop/shopping-cart-product-line.tpl +++ /dev/null @@ -1,80 +0,0 @@ -{* -* 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 -* @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 -*} - - - - {$product.name|escape:'htmlall':'UTF-8'} - - -
      {$product.name|escape:'htmlall':'UTF-8'}
      - {if isset($product.attributes) && $product.attributes}{$product.attributes|escape:'htmlall':'UTF-8'}{/if} - - {if $product.reference}{$product.reference|escape:'htmlall':'UTF-8'}{else}--{/if} - - {if $product.active AND ($product.allow_oosp OR ($product.quantity <= $product.stock_quantity)) AND $product.available_for_order AND !$PS_CATALOG_MODE} - {l s='Available'} - {else} - {l s='Out of stock'} - {/if} - - - - {if !$priceDisplay}{convertPrice price=$product.price_wt}{else}{convertPrice price=$product.price}{/if} - - - - {if isset($customizedDatas.$productId.$productAttributeId) AND $quantityDisplayed == 0}{$product.customizationQuantityTotal}{/if} - {if !isset($customizedDatas.$productId.$productAttributeId) OR $quantityDisplayed > 0} -
      - {l s='Delete'} -
      -
      - {l s='Add'}
      - {if $product.minimal_quantity < ($product.cart_quantity-$quantityDisplayed) OR $product.minimal_quantity <= 1} - - {l s='Subtract'} - - {else} - - {l s='Subtract'} - - {/if} -
      - - - - {/if} - - - - {if $quantityDisplayed == 0 AND isset($customizedDatas.$productId.$productAttributeId)} - {if !$priceDisplay}{displayPrice price=$product.total_customization_wt}{else}{displayPrice price=$product.total_customization}{/if} - {else} - {if !$priceDisplay}{displayPrice price=$product.total_wt}{else}{displayPrice price=$product.total}{/if} - {/if} - - - diff --git a/themes/prestashop/shopping-cart.tpl b/themes/prestashop/shopping-cart.tpl deleted file mode 100644 index 855cdcabe..000000000 --- a/themes/prestashop/shopping-cart.tpl +++ /dev/null @@ -1,339 +0,0 @@ -{* -* 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 -* @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 -*} - -{capture name=path}{l s='Your shopping cart'}{/capture} -{include file="$tpl_dir./breadcrumb.tpl"} - -

      {l s='Shopping cart summary'}

      - -{assign var='current_step' value='summary'} -{include file="$tpl_dir./order-steps.tpl"} -{include file="$tpl_dir./errors.tpl"} - -{if isset($empty)} -

      {l s='Your shopping cart is empty.'}

      -{elseif $PS_CATALOG_MODE} -

      {l s='This store has not accepted your new order.'}

      -{else} - - -{if isset($lastProductAdded) AND $lastProductAdded} - {foreach from=$products item=product} - {if $product.id_product == $lastProductAdded.id_product AND (!$product.id_product_attribute OR ($product.id_product_attribute == $lastProductAdded.id_product_attribute))} -
      -
      -
      {l s='Last added product'}
      -
      - {$product.name|escape:'htmlall':'UTF-8'} -
      -
      {$product.name|escape:'htmlall':'UTF-8'}
      - {if isset($product.attributes) && $product.attributes}{$product.attributes|escape:'htmlall':'UTF-8'}{/if} -
      -
      -
      - {/if} - {/foreach} -{/if} -

      {l s='Your shopping cart contains'} {$productNumber} {if $productNumber == 1}{l s='product'}{else}{l s='products'}{/if}

      -
      - - - - - - - - - - - - - - {if $use_taxes} - {if $priceDisplay} - - - - - {else} - - - - - {/if} - {else} - - - - - {/if} - - - - - - - - - {if $use_taxes} - {if $priceDisplay} - - - - - {else} - - - - - {/if} - {else} - - - - - {/if} - - {if $use_taxes} - - - - - - - - - - - - - {else} - - - - - {/if} - - - - - - - {foreach from=$products item=product name=productLoop} - {assign var='productId' value=$product.id_product} - {assign var='productAttributeId' value=$product.id_product_attribute} - {assign var='quantityDisplayed' value=0} - {* Display the product line *} - {include file="$tpl_dir./shopping-cart-product-line.tpl"} - {* Then the customized datas ones*} - {if isset($customizedDatas.$productId.$productAttributeId)} - {foreach from=$customizedDatas.$productId.$productAttributeId key='id_customization' item='customization'} - - - - - - {assign var='quantityDisplayed' value=$quantityDisplayed+$customization.quantity} - {/foreach} - {* If it exists also some uncustomized products *} - {if $product.quantity-$quantityDisplayed > 0}{include file="$tpl_dir./shopping-cart-product-line.tpl"}{/if} - {/if} - {/foreach} - - {if sizeof($discounts)} - - {foreach from=$discounts item=discount name=discountLoop} - - - - - - - {/foreach} - - {/if} -
      {l s='Product'}{l s='Description'}{l s='Ref.'}{l s='Avail.'}{l s='Unit price'}{l s='Qty'}{l s='Total'}
      {l s='Total products'}{if $display_tax_label} {l s='(tax excl.)'}{/if}{l s=':'}{displayPrice price=$total_products}
      {l s='Total products'}{if $display_tax_label} {l s='(tax incl.)'}{/if}{l s=':'}{displayPrice price=$total_products_wt}
      {l s='Total products:'}{displayPrice price=$total_products}
      - {if $use_taxes} - {if $priceDisplay} - {l s='Total vouchers'}{if $display_tax_label} {l s='(tax excl.)'}{/if}{l s=':'} - {else} - {l s='Total vouchers'}{if $display_tax_label} {l s='(tax incl.)'}{/if}{l s=':'} - {/if} - {else} - {l s='Total vouchers:'} - {/if} - - {if $use_taxes} - {if $priceDisplay} - {displayPrice price=$total_discounts_tax_exc} - {else} - {displayPrice price=$total_discounts} - {/if} - {else} - {displayPrice price=$total_discounts_tax_exc} - {/if} -
      - {if $use_taxes} - {if $priceDisplay} - {l s='Total gift-wrapping'}{if $display_tax_label} {l s='(tax excl.)'}{/if}{l s=':'} - {else} - {l s='Total gift-wrapping'}{if $display_tax_label} {l s='(tax incl.)'}{/if}{l s=':'} - {/if} - {else} - {l s='Total gift-wrapping:'} - {/if} - - {if $use_taxes} - {if $priceDisplay} - {displayPrice price=$total_wrapping_tax_exc} - {else} - {displayPrice price=$total_wrapping} - {/if} - {else} - {displayPrice price=$total_wrapping_tax_exc} - {/if} -
      {l s='Total (tax excl.):'}{displayPrice price=$total_price_without_tax}
      {l s='Total tax:'}{displayPrice price=$total_tax}
      {l s='Total (tax incl.):'}{displayPrice price=$total_price}
      {l s='Total:'}{displayPrice price=$total_price_without_tax}
      - {foreach from=$customization.datas key='type' item='datas'} - {if $type == $CUSTOMIZE_FILE} -
      -
        - {foreach from=$datas item='picture'}
      • {/foreach} -
      -
      - {elseif $type == $CUSTOMIZE_TEXTFIELD} -
        - {foreach from=$datas item='textField' name='typedText'}
      • {if $textField.name}{$textField.name}{else}{l s='Text #'}{$smarty.foreach.typedText.index+1}{/if}{l s=':'} {$textField.value}
      • {/foreach} -
      - {/if} - {/foreach} -
      -
      - {l s='Delete'} -
      -
      - {l s='Add'}
      - {if $product.minimal_quantity < ($customization.quantity -$quantityDisplayed) OR $product.minimal_quantity <= 1} - - {l s='Subtract'} - - {else} - - {l s='Subtract'} - - {/if} -
      - - -
      {$discount.name}{$discount.description}{l s='Delete'} - {if $discount.value_real > 0} - {if !$priceDisplay}{displayPrice price=$discount.value_real*-1}{else}{displayPrice price=$discount.value_tax_exc*-1}{/if} - {/if} -
      -
      - -{if $voucherAllowed} -
      - {if isset($errors_discount) && $errors_discount} -
        - {foreach from=$errors_discount key=k item=error} -
      • {$error|escape:'htmlall':'UTF-8'}
      • - {/foreach} -
      - {/if} -
      -
      -

      {l s='Vouchers'}

      -

      - - -

      -

      - {if $displayVouchers} -

      {l s='Take advantage of our offers:'}

      -
      - {foreach from=$displayVouchers item=voucher} - {$voucher.name} - {$voucher.description}
      - {/foreach} -
      - {/if} -
      -
      -
      -{/if} -
      {$HOOK_SHOPPING_CART}
      -{if (($carrier->id AND !isset($virtualCart)) OR $delivery->id OR $invoice->id) AND !$opc} -
      - {if $delivery->id} -
        -
      • {l s='Delivery address'}
      • - {if $delivery->company}
      • {$delivery->company|escape:'htmlall':'UTF-8'}
      • {/if} -
      • {$delivery->firstname|escape:'htmlall':'UTF-8'} {$delivery->lastname|escape:'htmlall':'UTF-8'}
      • -
      • {$delivery->address1|escape:'htmlall':'UTF-8'}
      • - {if $delivery->address2}
      • {$delivery->address2|escape:'htmlall':'UTF-8'}
      • {/if} -
      • {$delivery->postcode|escape:'htmlall':'UTF-8'} {$delivery->city|escape:'htmlall':'UTF-8'}
      • -
      • {$delivery->country|escape:'htmlall':'UTF-8'} {if $delivery_state}({$delivery_state|escape:'htmlall':'UTF-8'}){/if}
      • -
      - {/if} - {if $invoice->id} -
        -
      • {l s='Invoice address'}
      • - {if $invoice->company}
      • {$invoice->company|escape:'htmlall':'UTF-8'}
      • {/if} -
      • {$invoice->firstname|escape:'htmlall':'UTF-8'} {$invoice->lastname|escape:'htmlall':'UTF-8'}
      • -
      • {$invoice->address1|escape:'htmlall':'UTF-8'}
      • - {if $invoice->address2}
      • {$invoice->address2|escape:'htmlall':'UTF-8'}
      • {/if} -
      • {$invoice->postcode|escape:'htmlall':'UTF-8'} {$invoice->city|escape:'htmlall':'UTF-8'}
      • -
      • {$invoice->country|escape:'htmlall':'UTF-8'} {if $invoice_state}({$invoice_state|escape:'htmlall':'UTF-8'}){/if}
      • -
      - {/if} - {if $carrier->id AND !isset($virtualCart)} -
      -

      {l s='Carrier:'}

      - {if isset($carrierPicture)}{l s='Carrier'}{/if} - {$carrier->name|escape:'htmlall':'UTF-8'} -
      - {/if} -
      -{/if} -

      - {if !$opc}{l s='Next'} »{/if} - « {l s='Continue shopping'} -

      -



      -

      - {$HOOK_SHOPPING_CART_EXTRA} -

      -{/if} - diff --git a/themes/prestashop/sitemap.tpl b/themes/prestashop/sitemap.tpl deleted file mode 100644 index e697eba1f..000000000 --- a/themes/prestashop/sitemap.tpl +++ /dev/null @@ -1,90 +0,0 @@ -{* -* 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 -* @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 -*} - -{capture name=path}{l s='Sitemap'}{/capture} -{include file="$tpl_dir./breadcrumb.tpl"} - -

      {l s='Sitemap'}

      -
      -
      -

      {l s='Our offers'}

      - -
      -
      -

      {l s='Your Account'}

      - -
      -
      -
      -
      -
      -

      {l s='Categories'}

      - -
        - {if isset($categoriesTree.children)} - {foreach from=$categoriesTree.children item=child name=sitemapTree} - {if $smarty.foreach.sitemapTree.last} - {include file="$tpl_dir./category-tree-branch.tpl" node=$child last='true'} - {else} - {include file="$tpl_dir./category-tree-branch.tpl" node=$child} - {/if} - {/foreach} - {/if} -
      -
      -
      -

      {l s='Pages'}

      - -
        - {if isset($categoriescmsTree.children)} - {foreach from=$categoriescmsTree.children item=child name=sitemapCmsTree} - {if (isset($child.children) && $child.children|@count > 0) || $child.cms|@count > 0} - {include file="$tpl_dir./category-cms-tree-branch.tpl" node=$child} - {/if} - {/foreach} - {/if} - {foreach from=$categoriescmsTree.cms item=cms name=cmsTree} -
      • {$cms.meta_title|escape:'htmlall':'UTF-8'}
      • - {/foreach} -
      • {l s='Contact'}
      • - {if $display_store}
      • {l s='Our stores'}
      • {/if} -
      -
      -
      diff --git a/themes/prestashop/store_infos.tpl b/themes/prestashop/store_infos.tpl deleted file mode 100644 index b382c220f..000000000 --- a/themes/prestashop/store_infos.tpl +++ /dev/null @@ -1,45 +0,0 @@ -{* -* 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 -* @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 -*} -{* - {l s='Monday'} - {l s='Tuesday'} - {l s='Wednesday'} - {l s='Thursday'} - {l s='Friday'} - {l s='Saturday'} - {l s='Sunday'} -*} -
      -
      -{l s='Hours:'} - - {foreach from=$days_datas item=one_day} - - - - - {/foreach} -
      {$one_day.day}{$one_day.hours}
      diff --git a/themes/prestashop/stores.tpl b/themes/prestashop/stores.tpl deleted file mode 100644 index 6498db99a..000000000 --- a/themes/prestashop/stores.tpl +++ /dev/null @@ -1,99 +0,0 @@ -{* -* 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 -* @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 -*} - -{capture name=path}{l s='Our stores'}{/capture} -{include file="$tpl_dir./breadcrumb.tpl"} - - - -

      {l s='Our stores'}

      - -{if $simplifiedStoresDiplay} - {if $stores|@count} -

      {l s='Here are the details of our stores, feel free to contact us:'}

      - {foreach from=$stores item=store} -
      - {if $store.has_picture}

      {/if} -

      - {$store.name|escape:'htmlall':'UTF-8'}
      - {$store.address1|escape:'htmlall':'UTF-8'}
      - {if $store.address2}{$store.address2|escape:'htmlall':'UTF-8'}{/if}
      - {$store.postcode} {$store.city|escape:'htmlall':'UTF-8'}{if $store.state}, {$store.state}{/if}
      - {$store.country|escape:'htmlall':'UTF-8'}
      - {if $store.phone}{l s='Phone:' js=0} {$store.phone}{/if} -

      -
      - {/foreach} - {/if} -{else} - - -

      {l s='Enter a location (eg.: a zip/postal code, an address, a city or a country) in order to find the nearest stores.'}

      -

      {l s='Your location:'}

      -

      - {l s='Radius:'} - {$distance_unit} - - -

      -
      -
      - - - - - - - -
      {l s='#'}{l s='Store'}{l s='Address'}{l s='Distance'}
      -{/if} diff --git a/themes/prestashop/supplier-list.tpl b/themes/prestashop/supplier-list.tpl deleted file mode 100644 index 89281d1fd..000000000 --- a/themes/prestashop/supplier-list.tpl +++ /dev/null @@ -1,106 +0,0 @@ -{* -* 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 -* @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 -*} - -{capture name=path}{l s='Suppliers'}{/capture} -{include file="$tpl_dir./breadcrumb.tpl"} - -

      {l s='Suppliers'}

      - -{if isset($errors) AND $errors} - {include file="$tpl_dir./errors.tpl"} -{else} - -

      {strip} - - {if $nbSuppliers == 0}{l s='There are no suppliers.'} - {else} - {if $nbSuppliers == 1}{l s='There is'}{else}{l s='There are'}{/if}  - {$nbSuppliers}  - {if $nbSuppliers == 1}{l s='supplier.'}{else}{l s='suppliers.'}{/if} - {/if} - {/strip} -

      - -{if $nbSuppliers > 0} - - {include file="$tpl_dir./pagination.tpl"} -{/if} -{/if} diff --git a/themes/prestashop/supplier.tpl b/themes/prestashop/supplier.tpl deleted file mode 100644 index 110bac1a6..000000000 --- a/themes/prestashop/supplier.tpl +++ /dev/null @@ -1,41 +0,0 @@ -{* -* 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 -* @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 -*} - -{include file="$tpl_dir./breadcrumb.tpl"} - -{include file="$tpl_dir./errors.tpl"} - -{if !isset($errors) OR !sizeof($errors)} -

      {l s='List of products by supplier:'} {$supplier->name|escape:'htmlall':'UTF-8'}

      - - {if $products} - {include file="$tpl_dir./product-sort.tpl"} - {include file="$tpl_dir./product-list.tpl" products=$products} - {include file="$tpl_dir./pagination.tpl"} - {else} -

      {l s='No products for this supplier.'}

      - {/if} -{/if} \ No newline at end of file diff --git a/tools/.htaccess b/tools/.htaccess deleted file mode 100755 index 93169e4eb..000000000 --- a/tools/.htaccess +++ /dev/null @@ -1,2 +0,0 @@ -Order deny,allow -Deny from all diff --git a/tools/fpdf/font/courier.php b/tools/fpdf/font/courier.php deleted file mode 100644 index 4c009f39b..000000000 --- a/tools/fpdf/font/courier.php +++ /dev/null @@ -1,7 +0,0 @@ - diff --git a/tools/fpdf/font/helvetica.php b/tools/fpdf/font/helvetica.php deleted file mode 100644 index 8fa7683e7..000000000 --- a/tools/fpdf/font/helvetica.php +++ /dev/null @@ -1,15 +0,0 @@ -278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278, - chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>278,'"'=>355,'#'=>556,'$'=>556,'%'=>889,'&'=>667,'\''=>191,'('=>333,')'=>333,'*'=>389,'+'=>584, - ','=>278,'-'=>333,'.'=>278,'/'=>278,'0'=>556,'1'=>556,'2'=>556,'3'=>556,'4'=>556,'5'=>556,'6'=>556,'7'=>556,'8'=>556,'9'=>556,':'=>278,';'=>278,'<'=>584,'='=>584,'>'=>584,'?'=>556,'@'=>1015,'A'=>667, - 'B'=>667,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>722,'I'=>278,'J'=>500,'K'=>667,'L'=>556,'M'=>833,'N'=>722,'O'=>778,'P'=>667,'Q'=>778,'R'=>722,'S'=>667,'T'=>611,'U'=>722,'V'=>667,'W'=>944, - 'X'=>667,'Y'=>667,'Z'=>611,'['=>278,'\\'=>278,']'=>278,'^'=>469,'_'=>556,'`'=>333,'a'=>556,'b'=>556,'c'=>500,'d'=>556,'e'=>556,'f'=>278,'g'=>556,'h'=>556,'i'=>222,'j'=>222,'k'=>500,'l'=>222,'m'=>833, - 'n'=>556,'o'=>556,'p'=>556,'q'=>556,'r'=>333,'s'=>500,'t'=>278,'u'=>556,'v'=>500,'w'=>722,'x'=>500,'y'=>500,'z'=>500,'{'=>334,'|'=>260,'}'=>334,'~'=>584,chr(127)=>350,chr(128)=>556,chr(129)=>350,chr(130)=>222,chr(131)=>556, - chr(132)=>333,chr(133)=>1000,chr(134)=>556,chr(135)=>556,chr(136)=>333,chr(137)=>1000,chr(138)=>667,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>222,chr(146)=>222,chr(147)=>333,chr(148)=>333,chr(149)=>350,chr(150)=>556,chr(151)=>1000,chr(152)=>333,chr(153)=>1000, - chr(154)=>500,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>260,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333, - chr(176)=>400,chr(177)=>584,chr(178)=>333,chr(179)=>333,chr(180)=>333,chr(181)=>556,chr(182)=>537,chr(183)=>278,chr(184)=>333,chr(185)=>333,chr(186)=>365,chr(187)=>556,chr(188)=>834,chr(189)=>834,chr(190)=>834,chr(191)=>611,chr(192)=>667,chr(193)=>667,chr(194)=>667,chr(195)=>667,chr(196)=>667,chr(197)=>667, - chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722, - chr(220)=>722,chr(221)=>667,chr(222)=>667,chr(223)=>611,chr(224)=>556,chr(225)=>556,chr(226)=>556,chr(227)=>556,chr(228)=>556,chr(229)=>556,chr(230)=>889,chr(231)=>500,chr(232)=>556,chr(233)=>556,chr(234)=>556,chr(235)=>556,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>556,chr(241)=>556, - chr(242)=>556,chr(243)=>556,chr(244)=>556,chr(245)=>556,chr(246)=>556,chr(247)=>584,chr(248)=>611,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>500,chr(254)=>556,chr(255)=>500); -?> diff --git a/tools/fpdf/font/helveticab.php b/tools/fpdf/font/helveticab.php deleted file mode 100644 index a8473c94d..000000000 --- a/tools/fpdf/font/helveticab.php +++ /dev/null @@ -1,15 +0,0 @@ -278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278, - chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>333,'"'=>474,'#'=>556,'$'=>556,'%'=>889,'&'=>722,'\''=>238,'('=>333,')'=>333,'*'=>389,'+'=>584, - ','=>278,'-'=>333,'.'=>278,'/'=>278,'0'=>556,'1'=>556,'2'=>556,'3'=>556,'4'=>556,'5'=>556,'6'=>556,'7'=>556,'8'=>556,'9'=>556,':'=>333,';'=>333,'<'=>584,'='=>584,'>'=>584,'?'=>611,'@'=>975,'A'=>722, - 'B'=>722,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>722,'I'=>278,'J'=>556,'K'=>722,'L'=>611,'M'=>833,'N'=>722,'O'=>778,'P'=>667,'Q'=>778,'R'=>722,'S'=>667,'T'=>611,'U'=>722,'V'=>667,'W'=>944, - 'X'=>667,'Y'=>667,'Z'=>611,'['=>333,'\\'=>278,']'=>333,'^'=>584,'_'=>556,'`'=>333,'a'=>556,'b'=>611,'c'=>556,'d'=>611,'e'=>556,'f'=>333,'g'=>611,'h'=>611,'i'=>278,'j'=>278,'k'=>556,'l'=>278,'m'=>889, - 'n'=>611,'o'=>611,'p'=>611,'q'=>611,'r'=>389,'s'=>556,'t'=>333,'u'=>611,'v'=>556,'w'=>778,'x'=>556,'y'=>556,'z'=>500,'{'=>389,'|'=>280,'}'=>389,'~'=>584,chr(127)=>350,chr(128)=>556,chr(129)=>350,chr(130)=>278,chr(131)=>556, - chr(132)=>500,chr(133)=>1000,chr(134)=>556,chr(135)=>556,chr(136)=>333,chr(137)=>1000,chr(138)=>667,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>278,chr(146)=>278,chr(147)=>500,chr(148)=>500,chr(149)=>350,chr(150)=>556,chr(151)=>1000,chr(152)=>333,chr(153)=>1000, - chr(154)=>556,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>280,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333, - chr(176)=>400,chr(177)=>584,chr(178)=>333,chr(179)=>333,chr(180)=>333,chr(181)=>611,chr(182)=>556,chr(183)=>278,chr(184)=>333,chr(185)=>333,chr(186)=>365,chr(187)=>556,chr(188)=>834,chr(189)=>834,chr(190)=>834,chr(191)=>611,chr(192)=>722,chr(193)=>722,chr(194)=>722,chr(195)=>722,chr(196)=>722,chr(197)=>722, - chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722, - chr(220)=>722,chr(221)=>667,chr(222)=>667,chr(223)=>611,chr(224)=>556,chr(225)=>556,chr(226)=>556,chr(227)=>556,chr(228)=>556,chr(229)=>556,chr(230)=>889,chr(231)=>556,chr(232)=>556,chr(233)=>556,chr(234)=>556,chr(235)=>556,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>611,chr(241)=>611, - chr(242)=>611,chr(243)=>611,chr(244)=>611,chr(245)=>611,chr(246)=>611,chr(247)=>584,chr(248)=>611,chr(249)=>611,chr(250)=>611,chr(251)=>611,chr(252)=>611,chr(253)=>556,chr(254)=>611,chr(255)=>556); -?> diff --git a/tools/fpdf/font/helveticabi.php b/tools/fpdf/font/helveticabi.php deleted file mode 100644 index 41379537d..000000000 --- a/tools/fpdf/font/helveticabi.php +++ /dev/null @@ -1,15 +0,0 @@ -278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278, - chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>333,'"'=>474,'#'=>556,'$'=>556,'%'=>889,'&'=>722,'\''=>238,'('=>333,')'=>333,'*'=>389,'+'=>584, - ','=>278,'-'=>333,'.'=>278,'/'=>278,'0'=>556,'1'=>556,'2'=>556,'3'=>556,'4'=>556,'5'=>556,'6'=>556,'7'=>556,'8'=>556,'9'=>556,':'=>333,';'=>333,'<'=>584,'='=>584,'>'=>584,'?'=>611,'@'=>975,'A'=>722, - 'B'=>722,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>722,'I'=>278,'J'=>556,'K'=>722,'L'=>611,'M'=>833,'N'=>722,'O'=>778,'P'=>667,'Q'=>778,'R'=>722,'S'=>667,'T'=>611,'U'=>722,'V'=>667,'W'=>944, - 'X'=>667,'Y'=>667,'Z'=>611,'['=>333,'\\'=>278,']'=>333,'^'=>584,'_'=>556,'`'=>333,'a'=>556,'b'=>611,'c'=>556,'d'=>611,'e'=>556,'f'=>333,'g'=>611,'h'=>611,'i'=>278,'j'=>278,'k'=>556,'l'=>278,'m'=>889, - 'n'=>611,'o'=>611,'p'=>611,'q'=>611,'r'=>389,'s'=>556,'t'=>333,'u'=>611,'v'=>556,'w'=>778,'x'=>556,'y'=>556,'z'=>500,'{'=>389,'|'=>280,'}'=>389,'~'=>584,chr(127)=>350,chr(128)=>556,chr(129)=>350,chr(130)=>278,chr(131)=>556, - chr(132)=>500,chr(133)=>1000,chr(134)=>556,chr(135)=>556,chr(136)=>333,chr(137)=>1000,chr(138)=>667,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>278,chr(146)=>278,chr(147)=>500,chr(148)=>500,chr(149)=>350,chr(150)=>556,chr(151)=>1000,chr(152)=>333,chr(153)=>1000, - chr(154)=>556,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>280,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333, - chr(176)=>400,chr(177)=>584,chr(178)=>333,chr(179)=>333,chr(180)=>333,chr(181)=>611,chr(182)=>556,chr(183)=>278,chr(184)=>333,chr(185)=>333,chr(186)=>365,chr(187)=>556,chr(188)=>834,chr(189)=>834,chr(190)=>834,chr(191)=>611,chr(192)=>722,chr(193)=>722,chr(194)=>722,chr(195)=>722,chr(196)=>722,chr(197)=>722, - chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722, - chr(220)=>722,chr(221)=>667,chr(222)=>667,chr(223)=>611,chr(224)=>556,chr(225)=>556,chr(226)=>556,chr(227)=>556,chr(228)=>556,chr(229)=>556,chr(230)=>889,chr(231)=>556,chr(232)=>556,chr(233)=>556,chr(234)=>556,chr(235)=>556,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>611,chr(241)=>611, - chr(242)=>611,chr(243)=>611,chr(244)=>611,chr(245)=>611,chr(246)=>611,chr(247)=>584,chr(248)=>611,chr(249)=>611,chr(250)=>611,chr(251)=>611,chr(252)=>611,chr(253)=>556,chr(254)=>611,chr(255)=>556); -?> diff --git a/tools/fpdf/font/helveticai.php b/tools/fpdf/font/helveticai.php deleted file mode 100644 index d5bb6e094..000000000 --- a/tools/fpdf/font/helveticai.php +++ /dev/null @@ -1,15 +0,0 @@ -278,chr(1)=>278,chr(2)=>278,chr(3)=>278,chr(4)=>278,chr(5)=>278,chr(6)=>278,chr(7)=>278,chr(8)=>278,chr(9)=>278,chr(10)=>278,chr(11)=>278,chr(12)=>278,chr(13)=>278,chr(14)=>278,chr(15)=>278,chr(16)=>278,chr(17)=>278,chr(18)=>278,chr(19)=>278,chr(20)=>278,chr(21)=>278, - chr(22)=>278,chr(23)=>278,chr(24)=>278,chr(25)=>278,chr(26)=>278,chr(27)=>278,chr(28)=>278,chr(29)=>278,chr(30)=>278,chr(31)=>278,' '=>278,'!'=>278,'"'=>355,'#'=>556,'$'=>556,'%'=>889,'&'=>667,'\''=>191,'('=>333,')'=>333,'*'=>389,'+'=>584, - ','=>278,'-'=>333,'.'=>278,'/'=>278,'0'=>556,'1'=>556,'2'=>556,'3'=>556,'4'=>556,'5'=>556,'6'=>556,'7'=>556,'8'=>556,'9'=>556,':'=>278,';'=>278,'<'=>584,'='=>584,'>'=>584,'?'=>556,'@'=>1015,'A'=>667, - 'B'=>667,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>722,'I'=>278,'J'=>500,'K'=>667,'L'=>556,'M'=>833,'N'=>722,'O'=>778,'P'=>667,'Q'=>778,'R'=>722,'S'=>667,'T'=>611,'U'=>722,'V'=>667,'W'=>944, - 'X'=>667,'Y'=>667,'Z'=>611,'['=>278,'\\'=>278,']'=>278,'^'=>469,'_'=>556,'`'=>333,'a'=>556,'b'=>556,'c'=>500,'d'=>556,'e'=>556,'f'=>278,'g'=>556,'h'=>556,'i'=>222,'j'=>222,'k'=>500,'l'=>222,'m'=>833, - 'n'=>556,'o'=>556,'p'=>556,'q'=>556,'r'=>333,'s'=>500,'t'=>278,'u'=>556,'v'=>500,'w'=>722,'x'=>500,'y'=>500,'z'=>500,'{'=>334,'|'=>260,'}'=>334,'~'=>584,chr(127)=>350,chr(128)=>556,chr(129)=>350,chr(130)=>222,chr(131)=>556, - chr(132)=>333,chr(133)=>1000,chr(134)=>556,chr(135)=>556,chr(136)=>333,chr(137)=>1000,chr(138)=>667,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>222,chr(146)=>222,chr(147)=>333,chr(148)=>333,chr(149)=>350,chr(150)=>556,chr(151)=>1000,chr(152)=>333,chr(153)=>1000, - chr(154)=>500,chr(155)=>333,chr(156)=>944,chr(157)=>350,chr(158)=>500,chr(159)=>667,chr(160)=>278,chr(161)=>333,chr(162)=>556,chr(163)=>556,chr(164)=>556,chr(165)=>556,chr(166)=>260,chr(167)=>556,chr(168)=>333,chr(169)=>737,chr(170)=>370,chr(171)=>556,chr(172)=>584,chr(173)=>333,chr(174)=>737,chr(175)=>333, - chr(176)=>400,chr(177)=>584,chr(178)=>333,chr(179)=>333,chr(180)=>333,chr(181)=>556,chr(182)=>537,chr(183)=>278,chr(184)=>333,chr(185)=>333,chr(186)=>365,chr(187)=>556,chr(188)=>834,chr(189)=>834,chr(190)=>834,chr(191)=>611,chr(192)=>667,chr(193)=>667,chr(194)=>667,chr(195)=>667,chr(196)=>667,chr(197)=>667, - chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>278,chr(205)=>278,chr(206)=>278,chr(207)=>278,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>584,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722, - chr(220)=>722,chr(221)=>667,chr(222)=>667,chr(223)=>611,chr(224)=>556,chr(225)=>556,chr(226)=>556,chr(227)=>556,chr(228)=>556,chr(229)=>556,chr(230)=>889,chr(231)=>500,chr(232)=>556,chr(233)=>556,chr(234)=>556,chr(235)=>556,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>556,chr(241)=>556, - chr(242)=>556,chr(243)=>556,chr(244)=>556,chr(245)=>556,chr(246)=>556,chr(247)=>584,chr(248)=>611,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>500,chr(254)=>556,chr(255)=>500); -?> diff --git a/tools/fpdf/font/index.php b/tools/fpdf/font/index.php deleted file mode 100644 index 15aba8204..000000000 --- a/tools/fpdf/font/index.php +++ /dev/null @@ -1,11 +0,0 @@ -Error: encoding not found: '.$enc); - $cc2gn=array(); - foreach($a as $l) - { - if($l[0]=='!') - { - $e=preg_split('/[ \\t]+/',rtrim($l)); - $cc=hexdec(substr($e[0],1)); - $gn=$e[2]; - $cc2gn[$cc]=$gn; - } - } - for($i=0;$i<=255;$i++) - { - if(!isset($cc2gn[$i])) - $cc2gn[$i]='.notdef'; - } - return $cc2gn; -} - -function ReadAFM($file, &$map) -{ - //Read a font metric file - $a=file($file); - if(empty($a)) - die('File not found'); - $widths=array(); - $fm=array(); - $fix=array('Edot'=>'Edotaccent','edot'=>'edotaccent','Idot'=>'Idotaccent','Zdot'=>'Zdotaccent','zdot'=>'zdotaccent', - 'Odblacute'=>'Ohungarumlaut','odblacute'=>'ohungarumlaut','Udblacute'=>'Uhungarumlaut','udblacute'=>'uhungarumlaut', - 'Gcedilla'=>'Gcommaaccent','gcedilla'=>'gcommaaccent','Kcedilla'=>'Kcommaaccent','kcedilla'=>'kcommaaccent', - 'Lcedilla'=>'Lcommaaccent','lcedilla'=>'lcommaaccent','Ncedilla'=>'Ncommaaccent','ncedilla'=>'ncommaaccent', - 'Rcedilla'=>'Rcommaaccent','rcedilla'=>'rcommaaccent','Scedilla'=>'Scommaaccent','scedilla'=>'scommaaccent', - 'Tcedilla'=>'Tcommaaccent','tcedilla'=>'tcommaaccent','Dslash'=>'Dcroat','dslash'=>'dcroat','Dmacron'=>'Dcroat','dmacron'=>'dcroat', - 'combininggraveaccent'=>'gravecomb','combininghookabove'=>'hookabovecomb','combiningtildeaccent'=>'tildecomb', - 'combiningacuteaccent'=>'acutecomb','combiningdotbelow'=>'dotbelowcomb','dongsign'=>'dong'); - foreach($a as $l) - { - $e=explode(' ',rtrim($l)); - if(count($e)<2) - continue; - $code=$e[0]; - $param=$e[1]; - if($code=='C') - { - //Character metrics - $cc=(int)$e[1]; - $w=$e[4]; - $gn=$e[7]; - if(substr($gn,-4)=='20AC') - $gn='Euro'; - if(isset($fix[$gn])) - { - //Fix incorrect glyph name - foreach($map as $c=>$n) - { - if($n==$fix[$gn]) - $map[$c]=$gn; - } - } - if(empty($map)) - { - //Symbolic font: use built-in encoding - $widths[$cc]=$w; - } - else - { - $widths[$gn]=$w; - if($gn=='X') - $fm['CapXHeight']=$e[13]; - } - if($gn=='.notdef') - $fm['MissingWidth']=$w; - } - elseif($code=='FontName') - $fm['FontName']=$param; - elseif($code=='Weight') - $fm['Weight']=$param; - elseif($code=='ItalicAngle') - $fm['ItalicAngle']=(double)$param; - elseif($code=='Ascender') - $fm['Ascender']=(int)$param; - elseif($code=='Descender') - $fm['Descender']=(int)$param; - elseif($code=='UnderlineThickness') - $fm['UnderlineThickness']=(int)$param; - elseif($code=='UnderlinePosition') - $fm['UnderlinePosition']=(int)$param; - elseif($code=='IsFixedPitch') - $fm['IsFixedPitch']=($param=='true'); - elseif($code=='FontBBox') - $fm['FontBBox']=array($e[1],$e[2],$e[3],$e[4]); - elseif($code=='CapHeight') - $fm['CapHeight']=(int)$param; - elseif($code=='StdVW') - $fm['StdVW']=(int)$param; - } - if(!isset($fm['FontName'])) - die('FontName not found'); - if(!empty($map)) - { - if(!isset($widths['.notdef'])) - $widths['.notdef']=600; - if(!isset($widths['Delta']) && isset($widths['increment'])) - $widths['Delta']=$widths['increment']; - //Order widths according to map - for($i=0;$i<=255;$i++) - { - if(!isset($widths[$map[$i]])) - { - echo 'Warning: character '.$map[$i].' is missing
      '; - $widths[$i]=$widths['.notdef']; - } - else - $widths[$i]=$widths[$map[$i]]; - } - } - $fm['Widths']=$widths; - return $fm; -} - -function MakeFontDescriptor($fm, $symbolic) -{ - //Ascent - $asc=(isset($fm['Ascender']) ? $fm['Ascender'] : 1000); - $fd="array('Ascent'=>".$asc; - //Descent - $desc=(isset($fm['Descender']) ? $fm['Descender'] : -200); - $fd.=",'Descent'=>".$desc; - //CapHeight - if(isset($fm['CapHeight'])) - $ch=$fm['CapHeight']; - elseif(isset($fm['CapXHeight'])) - $ch=$fm['CapXHeight']; - else - $ch=$asc; - $fd.=",'CapHeight'=>".$ch; - //Flags - $flags=0; - if(isset($fm['IsFixedPitch']) && $fm['IsFixedPitch']) - $flags+=1<<0; - if($symbolic) - $flags+=1<<2; - if(!$symbolic) - $flags+=1<<5; - if(isset($fm['ItalicAngle']) && $fm['ItalicAngle']!=0) - $flags+=1<<6; - $fd.=",'Flags'=>".$flags; - //FontBBox - if(isset($fm['FontBBox'])) - $fbb=$fm['FontBBox']; - else - $fbb=array(0,$desc-100,1000,$asc+100); - $fd.=",'FontBBox'=>'[".$fbb[0].' '.$fbb[1].' '.$fbb[2].' '.$fbb[3]."]'"; - //ItalicAngle - $ia=(isset($fm['ItalicAngle']) ? $fm['ItalicAngle'] : 0); - $fd.=",'ItalicAngle'=>".$ia; - //StemV - if(isset($fm['StdVW'])) - $stemv=$fm['StdVW']; - elseif(isset($fm['Weight']) && preg_match('/bold|black/i',$fm['Weight'])) - $stemv=120; - else - $stemv=70; - $fd.=",'StemV'=>".$stemv; - //MissingWidth - if(isset($fm['MissingWidth'])) - $fd.=",'MissingWidth'=>".$fm['MissingWidth']; - $fd.=')'; - return $fd; -} - -function MakeWidthArray($fm) -{ - //Make character width array - $s="array(\n\t"; - $cw=$fm['Widths']; - for($i=0;$i<=255;$i++) - { - if(chr($i)=="'") - $s.="'\\''"; - elseif(chr($i)=="\\") - $s.="'\\\\'"; - elseif($i>=32 && $i<=126) - $s.="'".chr($i)."'"; - else - $s.="chr($i)"; - $s.='=>'.$fm['Widths'][$i]; - if($i<255) - $s.=','; - if(($i+1)%22==0) - $s.="\n\t"; - } - $s.=')'; - return $s; -} - -function MakeFontEncoding($map) -{ - //Build differences from reference encoding - $ref=ReadMap('cp1252'); - $s=''; - $last=0; - for($i=32;$i<=255;$i++) - { - if($map[$i]!=$ref[$i]) - { - if($i!=$last+1) - $s.=$i.' '; - $last=$i; - $s.='/'.$map[$i].' '; - } - } - return rtrim($s); -} - -function SaveToFile($file, $s, $mode) -{ - $f=fopen($file,'w'.$mode); - if(!$f) - die('Can\'t write to file '.$file); - fwrite($f,$s,strlen($s)); - fclose($f); -} - -function ReadShort($f) -{ - $a=unpack('n1n',fread($f,2)); - return $a['n']; -} - -function ReadLong($f) -{ - $a=unpack('N1N',fread($f,4)); - return $a['N']; -} - -function CheckTTF($file) -{ - //Check if font license allows embedding - $f=fopen($file,'rb'); - if(!$f) - die('Error: Can\'t open '.$file); - //Extract number of tables - fseek($f,4,SEEK_CUR); - $nb=ReadShort($f); - fseek($f,6,SEEK_CUR); - //Seek OS/2 table - $found=false; - for($i=0;$i<$nb;$i++) - { - if(fread($f,4)=='OS/2') - { - $found=true; - break; - } - fseek($f,12,SEEK_CUR); - } - if(!$found) - { - fclose($f); - return; - } - fseek($f,4,SEEK_CUR); - $offset=ReadLong($f); - fseek($f,$offset,SEEK_SET); - //Extract fsType flags - fseek($f,8,SEEK_CUR); - $fsType=ReadShort($f); - $rl=($fsType & 0x02)!=0; - $pp=($fsType & 0x04)!=0; - $e=($fsType & 0x08)!=0; - fclose($f); - if($rl && !$pp && !$e) - echo 'Warning: font license does not allow embedding'; -} - -/******************************************************************************* -* fontfile : chemin du fichier TTF (ou chane vide si pas d'incorporation) * -* afmfile : chemin du fichier AFM * -* enc : encodage (ou chane vide si la police est symbolique) * -* patch : patch optionnel pour l'encodage * -* type : type de la police si fontfile est vide * -*******************************************************************************/ -function MakeFont($fontfile, $afmfile, $enc='cp1252', $patch=array(), $type='TrueType') -{ - ini_set('auto_detect_line_endings','1'); - if($enc) - { - $map=ReadMap($enc); - foreach($patch as $cc=>$gn) - $map[$cc]=$gn; - } - else - $map=array(); - if(!file_exists($afmfile)) - die('Error: AFM file not found: '.$afmfile); - $fm=ReadAFM($afmfile,$map); - if($enc) - $diff=MakeFontEncoding($map); - else - $diff=''; - $fd=MakeFontDescriptor($fm,empty($map)); - //Find font type - if($fontfile) - { - $ext=strtolower(substr($fontfile,-3)); - if($ext=='ttf') - $type='TrueType'; - elseif($ext=='pfb') - $type='Type1'; - else - die('Error: unrecognized font file extension: '.$ext); - } - else - { - if($type!='TrueType' && $type!='Type1') - die('Error: incorrect font type: '.$type); - } - //Start generation - $s='Error: font file not found: '.$fontfile); - if($type=='TrueType') - CheckTTF($fontfile); - $f=fopen($fontfile,'rb'); - if(!$f) - die('Error: Can\'t open '.$fontfile); - $file=fread($f,filesize($fontfile)); - fclose($f); - if($type=='Type1') - { - //Find first two sections and discard third one - $header=(ord($file[0])==128); - if($header) - { - //Strip first binary header - $file=substr($file,6); - } - $pos=strpos($file,'eexec'); - if(!$pos) - die('Error: font file does not seem to be valid Type1'); - $size1=$pos+6; - if($header && ord($file[$size1])==128) - { - //Strip second binary header - $file=substr($file,0,$size1).substr($file,$size1+6); - } - $pos=strpos($file,'00000000'); - if(!$pos) - die('Error: font file does not seem to be valid Type1'); - $size2=$pos-$size1; - $file=substr($file,0,$size1+$size2); - } - if(function_exists('gzcompress')) - { - $cmp=$basename.'.z'; - SaveToFile($cmp,gzcompress($file),'b'); - $s.='$file=\''.$cmp."';\n"; - echo 'Font file compressed ('.$cmp.')
      '; - } - else - { - $s.='$file=\''.basename($fontfile)."';\n"; - echo 'Notice: font file could not be compressed (zlib extension not available)
      '; - } - if($type=='Type1') - { - $s.='$size1='.$size1.";\n"; - $s.='$size2='.$size2.";\n"; - } - else - $s.='$originalsize='.filesize($fontfile).";\n"; - } - else - { - //Not embedded font - $s.='$file='."'';\n"; - } - $s.="?>\n"; - SaveToFile($basename.'.php',$s,'t'); - echo 'Font definition file generated ('.$basename.'.php'.')
      '; -} -?> diff --git a/tools/fpdf/font/symbol.php b/tools/fpdf/font/symbol.php deleted file mode 100644 index b556ed84c..000000000 --- a/tools/fpdf/font/symbol.php +++ /dev/null @@ -1,15 +0,0 @@ -250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250, - chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>333,'"'=>713,'#'=>500,'$'=>549,'%'=>833,'&'=>778,'\''=>439,'('=>333,')'=>333,'*'=>500,'+'=>549, - ','=>250,'-'=>549,'.'=>250,'/'=>278,'0'=>500,'1'=>500,'2'=>500,'3'=>500,'4'=>500,'5'=>500,'6'=>500,'7'=>500,'8'=>500,'9'=>500,':'=>278,';'=>278,'<'=>549,'='=>549,'>'=>549,'?'=>444,'@'=>549,'A'=>722, - 'B'=>667,'C'=>722,'D'=>612,'E'=>611,'F'=>763,'G'=>603,'H'=>722,'I'=>333,'J'=>631,'K'=>722,'L'=>686,'M'=>889,'N'=>722,'O'=>722,'P'=>768,'Q'=>741,'R'=>556,'S'=>592,'T'=>611,'U'=>690,'V'=>439,'W'=>768, - 'X'=>645,'Y'=>795,'Z'=>611,'['=>333,'\\'=>863,']'=>333,'^'=>658,'_'=>500,'`'=>500,'a'=>631,'b'=>549,'c'=>549,'d'=>494,'e'=>439,'f'=>521,'g'=>411,'h'=>603,'i'=>329,'j'=>603,'k'=>549,'l'=>549,'m'=>576, - 'n'=>521,'o'=>549,'p'=>549,'q'=>521,'r'=>549,'s'=>603,'t'=>439,'u'=>576,'v'=>713,'w'=>686,'x'=>493,'y'=>686,'z'=>494,'{'=>480,'|'=>200,'}'=>480,'~'=>549,chr(127)=>0,chr(128)=>0,chr(129)=>0,chr(130)=>0,chr(131)=>0, - chr(132)=>0,chr(133)=>0,chr(134)=>0,chr(135)=>0,chr(136)=>0,chr(137)=>0,chr(138)=>0,chr(139)=>0,chr(140)=>0,chr(141)=>0,chr(142)=>0,chr(143)=>0,chr(144)=>0,chr(145)=>0,chr(146)=>0,chr(147)=>0,chr(148)=>0,chr(149)=>0,chr(150)=>0,chr(151)=>0,chr(152)=>0,chr(153)=>0, - chr(154)=>0,chr(155)=>0,chr(156)=>0,chr(157)=>0,chr(158)=>0,chr(159)=>0,chr(160)=>750,chr(161)=>620,chr(162)=>247,chr(163)=>549,chr(164)=>167,chr(165)=>713,chr(166)=>500,chr(167)=>753,chr(168)=>753,chr(169)=>753,chr(170)=>753,chr(171)=>1042,chr(172)=>987,chr(173)=>603,chr(174)=>987,chr(175)=>603, - chr(176)=>400,chr(177)=>549,chr(178)=>411,chr(179)=>549,chr(180)=>549,chr(181)=>713,chr(182)=>494,chr(183)=>460,chr(184)=>549,chr(185)=>549,chr(186)=>549,chr(187)=>549,chr(188)=>1000,chr(189)=>603,chr(190)=>1000,chr(191)=>658,chr(192)=>823,chr(193)=>686,chr(194)=>795,chr(195)=>987,chr(196)=>768,chr(197)=>768, - chr(198)=>823,chr(199)=>768,chr(200)=>768,chr(201)=>713,chr(202)=>713,chr(203)=>713,chr(204)=>713,chr(205)=>713,chr(206)=>713,chr(207)=>713,chr(208)=>768,chr(209)=>713,chr(210)=>790,chr(211)=>790,chr(212)=>890,chr(213)=>823,chr(214)=>549,chr(215)=>250,chr(216)=>713,chr(217)=>603,chr(218)=>603,chr(219)=>1042, - chr(220)=>987,chr(221)=>603,chr(222)=>987,chr(223)=>603,chr(224)=>494,chr(225)=>329,chr(226)=>790,chr(227)=>790,chr(228)=>786,chr(229)=>713,chr(230)=>384,chr(231)=>384,chr(232)=>384,chr(233)=>384,chr(234)=>384,chr(235)=>384,chr(236)=>494,chr(237)=>494,chr(238)=>494,chr(239)=>494,chr(240)=>0,chr(241)=>329, - chr(242)=>274,chr(243)=>686,chr(244)=>686,chr(245)=>686,chr(246)=>384,chr(247)=>384,chr(248)=>384,chr(249)=>384,chr(250)=>384,chr(251)=>384,chr(252)=>494,chr(253)=>494,chr(254)=>494,chr(255)=>0); -?> diff --git a/tools/fpdf/font/times.php b/tools/fpdf/font/times.php deleted file mode 100644 index b9be1b21d..000000000 --- a/tools/fpdf/font/times.php +++ /dev/null @@ -1,15 +0,0 @@ -250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250, - chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>333,'"'=>408,'#'=>500,'$'=>500,'%'=>833,'&'=>778,'\''=>180,'('=>333,')'=>333,'*'=>500,'+'=>564, - ','=>250,'-'=>333,'.'=>250,'/'=>278,'0'=>500,'1'=>500,'2'=>500,'3'=>500,'4'=>500,'5'=>500,'6'=>500,'7'=>500,'8'=>500,'9'=>500,':'=>278,';'=>278,'<'=>564,'='=>564,'>'=>564,'?'=>444,'@'=>921,'A'=>722, - 'B'=>667,'C'=>667,'D'=>722,'E'=>611,'F'=>556,'G'=>722,'H'=>722,'I'=>333,'J'=>389,'K'=>722,'L'=>611,'M'=>889,'N'=>722,'O'=>722,'P'=>556,'Q'=>722,'R'=>667,'S'=>556,'T'=>611,'U'=>722,'V'=>722,'W'=>944, - 'X'=>722,'Y'=>722,'Z'=>611,'['=>333,'\\'=>278,']'=>333,'^'=>469,'_'=>500,'`'=>333,'a'=>444,'b'=>500,'c'=>444,'d'=>500,'e'=>444,'f'=>333,'g'=>500,'h'=>500,'i'=>278,'j'=>278,'k'=>500,'l'=>278,'m'=>778, - 'n'=>500,'o'=>500,'p'=>500,'q'=>500,'r'=>333,'s'=>389,'t'=>278,'u'=>500,'v'=>500,'w'=>722,'x'=>500,'y'=>500,'z'=>444,'{'=>480,'|'=>200,'}'=>480,'~'=>541,chr(127)=>350,chr(128)=>500,chr(129)=>350,chr(130)=>333,chr(131)=>500, - chr(132)=>444,chr(133)=>1000,chr(134)=>500,chr(135)=>500,chr(136)=>333,chr(137)=>1000,chr(138)=>556,chr(139)=>333,chr(140)=>889,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>333,chr(146)=>333,chr(147)=>444,chr(148)=>444,chr(149)=>350,chr(150)=>500,chr(151)=>1000,chr(152)=>333,chr(153)=>980, - chr(154)=>389,chr(155)=>333,chr(156)=>722,chr(157)=>350,chr(158)=>444,chr(159)=>722,chr(160)=>250,chr(161)=>333,chr(162)=>500,chr(163)=>500,chr(164)=>500,chr(165)=>500,chr(166)=>200,chr(167)=>500,chr(168)=>333,chr(169)=>760,chr(170)=>276,chr(171)=>500,chr(172)=>564,chr(173)=>333,chr(174)=>760,chr(175)=>333, - chr(176)=>400,chr(177)=>564,chr(178)=>300,chr(179)=>300,chr(180)=>333,chr(181)=>500,chr(182)=>453,chr(183)=>250,chr(184)=>333,chr(185)=>300,chr(186)=>310,chr(187)=>500,chr(188)=>750,chr(189)=>750,chr(190)=>750,chr(191)=>444,chr(192)=>722,chr(193)=>722,chr(194)=>722,chr(195)=>722,chr(196)=>722,chr(197)=>722, - chr(198)=>889,chr(199)=>667,chr(200)=>611,chr(201)=>611,chr(202)=>611,chr(203)=>611,chr(204)=>333,chr(205)=>333,chr(206)=>333,chr(207)=>333,chr(208)=>722,chr(209)=>722,chr(210)=>722,chr(211)=>722,chr(212)=>722,chr(213)=>722,chr(214)=>722,chr(215)=>564,chr(216)=>722,chr(217)=>722,chr(218)=>722,chr(219)=>722, - chr(220)=>722,chr(221)=>722,chr(222)=>556,chr(223)=>500,chr(224)=>444,chr(225)=>444,chr(226)=>444,chr(227)=>444,chr(228)=>444,chr(229)=>444,chr(230)=>667,chr(231)=>444,chr(232)=>444,chr(233)=>444,chr(234)=>444,chr(235)=>444,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>500,chr(241)=>500, - chr(242)=>500,chr(243)=>500,chr(244)=>500,chr(245)=>500,chr(246)=>500,chr(247)=>564,chr(248)=>500,chr(249)=>500,chr(250)=>500,chr(251)=>500,chr(252)=>500,chr(253)=>500,chr(254)=>500,chr(255)=>500); -?> diff --git a/tools/fpdf/font/timesb.php b/tools/fpdf/font/timesb.php deleted file mode 100644 index c3eb9fa75..000000000 --- a/tools/fpdf/font/timesb.php +++ /dev/null @@ -1,15 +0,0 @@ -250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250, - chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>333,'"'=>555,'#'=>500,'$'=>500,'%'=>1000,'&'=>833,'\''=>278,'('=>333,')'=>333,'*'=>500,'+'=>570, - ','=>250,'-'=>333,'.'=>250,'/'=>278,'0'=>500,'1'=>500,'2'=>500,'3'=>500,'4'=>500,'5'=>500,'6'=>500,'7'=>500,'8'=>500,'9'=>500,':'=>333,';'=>333,'<'=>570,'='=>570,'>'=>570,'?'=>500,'@'=>930,'A'=>722, - 'B'=>667,'C'=>722,'D'=>722,'E'=>667,'F'=>611,'G'=>778,'H'=>778,'I'=>389,'J'=>500,'K'=>778,'L'=>667,'M'=>944,'N'=>722,'O'=>778,'P'=>611,'Q'=>778,'R'=>722,'S'=>556,'T'=>667,'U'=>722,'V'=>722,'W'=>1000, - 'X'=>722,'Y'=>722,'Z'=>667,'['=>333,'\\'=>278,']'=>333,'^'=>581,'_'=>500,'`'=>333,'a'=>500,'b'=>556,'c'=>444,'d'=>556,'e'=>444,'f'=>333,'g'=>500,'h'=>556,'i'=>278,'j'=>333,'k'=>556,'l'=>278,'m'=>833, - 'n'=>556,'o'=>500,'p'=>556,'q'=>556,'r'=>444,'s'=>389,'t'=>333,'u'=>556,'v'=>500,'w'=>722,'x'=>500,'y'=>500,'z'=>444,'{'=>394,'|'=>220,'}'=>394,'~'=>520,chr(127)=>350,chr(128)=>500,chr(129)=>350,chr(130)=>333,chr(131)=>500, - chr(132)=>500,chr(133)=>1000,chr(134)=>500,chr(135)=>500,chr(136)=>333,chr(137)=>1000,chr(138)=>556,chr(139)=>333,chr(140)=>1000,chr(141)=>350,chr(142)=>667,chr(143)=>350,chr(144)=>350,chr(145)=>333,chr(146)=>333,chr(147)=>500,chr(148)=>500,chr(149)=>350,chr(150)=>500,chr(151)=>1000,chr(152)=>333,chr(153)=>1000, - chr(154)=>389,chr(155)=>333,chr(156)=>722,chr(157)=>350,chr(158)=>444,chr(159)=>722,chr(160)=>250,chr(161)=>333,chr(162)=>500,chr(163)=>500,chr(164)=>500,chr(165)=>500,chr(166)=>220,chr(167)=>500,chr(168)=>333,chr(169)=>747,chr(170)=>300,chr(171)=>500,chr(172)=>570,chr(173)=>333,chr(174)=>747,chr(175)=>333, - chr(176)=>400,chr(177)=>570,chr(178)=>300,chr(179)=>300,chr(180)=>333,chr(181)=>556,chr(182)=>540,chr(183)=>250,chr(184)=>333,chr(185)=>300,chr(186)=>330,chr(187)=>500,chr(188)=>750,chr(189)=>750,chr(190)=>750,chr(191)=>500,chr(192)=>722,chr(193)=>722,chr(194)=>722,chr(195)=>722,chr(196)=>722,chr(197)=>722, - chr(198)=>1000,chr(199)=>722,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>389,chr(205)=>389,chr(206)=>389,chr(207)=>389,chr(208)=>722,chr(209)=>722,chr(210)=>778,chr(211)=>778,chr(212)=>778,chr(213)=>778,chr(214)=>778,chr(215)=>570,chr(216)=>778,chr(217)=>722,chr(218)=>722,chr(219)=>722, - chr(220)=>722,chr(221)=>722,chr(222)=>611,chr(223)=>556,chr(224)=>500,chr(225)=>500,chr(226)=>500,chr(227)=>500,chr(228)=>500,chr(229)=>500,chr(230)=>722,chr(231)=>444,chr(232)=>444,chr(233)=>444,chr(234)=>444,chr(235)=>444,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>500,chr(241)=>556, - chr(242)=>500,chr(243)=>500,chr(244)=>500,chr(245)=>500,chr(246)=>500,chr(247)=>570,chr(248)=>500,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>500,chr(254)=>556,chr(255)=>500); -?> diff --git a/tools/fpdf/font/timesbi.php b/tools/fpdf/font/timesbi.php deleted file mode 100644 index 161f6302c..000000000 --- a/tools/fpdf/font/timesbi.php +++ /dev/null @@ -1,15 +0,0 @@ -250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250, - chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>389,'"'=>555,'#'=>500,'$'=>500,'%'=>833,'&'=>778,'\''=>278,'('=>333,')'=>333,'*'=>500,'+'=>570, - ','=>250,'-'=>333,'.'=>250,'/'=>278,'0'=>500,'1'=>500,'2'=>500,'3'=>500,'4'=>500,'5'=>500,'6'=>500,'7'=>500,'8'=>500,'9'=>500,':'=>333,';'=>333,'<'=>570,'='=>570,'>'=>570,'?'=>500,'@'=>832,'A'=>667, - 'B'=>667,'C'=>667,'D'=>722,'E'=>667,'F'=>667,'G'=>722,'H'=>778,'I'=>389,'J'=>500,'K'=>667,'L'=>611,'M'=>889,'N'=>722,'O'=>722,'P'=>611,'Q'=>722,'R'=>667,'S'=>556,'T'=>611,'U'=>722,'V'=>667,'W'=>889, - 'X'=>667,'Y'=>611,'Z'=>611,'['=>333,'\\'=>278,']'=>333,'^'=>570,'_'=>500,'`'=>333,'a'=>500,'b'=>500,'c'=>444,'d'=>500,'e'=>444,'f'=>333,'g'=>500,'h'=>556,'i'=>278,'j'=>278,'k'=>500,'l'=>278,'m'=>778, - 'n'=>556,'o'=>500,'p'=>500,'q'=>500,'r'=>389,'s'=>389,'t'=>278,'u'=>556,'v'=>444,'w'=>667,'x'=>500,'y'=>444,'z'=>389,'{'=>348,'|'=>220,'}'=>348,'~'=>570,chr(127)=>350,chr(128)=>500,chr(129)=>350,chr(130)=>333,chr(131)=>500, - chr(132)=>500,chr(133)=>1000,chr(134)=>500,chr(135)=>500,chr(136)=>333,chr(137)=>1000,chr(138)=>556,chr(139)=>333,chr(140)=>944,chr(141)=>350,chr(142)=>611,chr(143)=>350,chr(144)=>350,chr(145)=>333,chr(146)=>333,chr(147)=>500,chr(148)=>500,chr(149)=>350,chr(150)=>500,chr(151)=>1000,chr(152)=>333,chr(153)=>1000, - chr(154)=>389,chr(155)=>333,chr(156)=>722,chr(157)=>350,chr(158)=>389,chr(159)=>611,chr(160)=>250,chr(161)=>389,chr(162)=>500,chr(163)=>500,chr(164)=>500,chr(165)=>500,chr(166)=>220,chr(167)=>500,chr(168)=>333,chr(169)=>747,chr(170)=>266,chr(171)=>500,chr(172)=>606,chr(173)=>333,chr(174)=>747,chr(175)=>333, - chr(176)=>400,chr(177)=>570,chr(178)=>300,chr(179)=>300,chr(180)=>333,chr(181)=>576,chr(182)=>500,chr(183)=>250,chr(184)=>333,chr(185)=>300,chr(186)=>300,chr(187)=>500,chr(188)=>750,chr(189)=>750,chr(190)=>750,chr(191)=>500,chr(192)=>667,chr(193)=>667,chr(194)=>667,chr(195)=>667,chr(196)=>667,chr(197)=>667, - chr(198)=>944,chr(199)=>667,chr(200)=>667,chr(201)=>667,chr(202)=>667,chr(203)=>667,chr(204)=>389,chr(205)=>389,chr(206)=>389,chr(207)=>389,chr(208)=>722,chr(209)=>722,chr(210)=>722,chr(211)=>722,chr(212)=>722,chr(213)=>722,chr(214)=>722,chr(215)=>570,chr(216)=>722,chr(217)=>722,chr(218)=>722,chr(219)=>722, - chr(220)=>722,chr(221)=>611,chr(222)=>611,chr(223)=>500,chr(224)=>500,chr(225)=>500,chr(226)=>500,chr(227)=>500,chr(228)=>500,chr(229)=>500,chr(230)=>722,chr(231)=>444,chr(232)=>444,chr(233)=>444,chr(234)=>444,chr(235)=>444,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>500,chr(241)=>556, - chr(242)=>500,chr(243)=>500,chr(244)=>500,chr(245)=>500,chr(246)=>500,chr(247)=>570,chr(248)=>500,chr(249)=>556,chr(250)=>556,chr(251)=>556,chr(252)=>556,chr(253)=>444,chr(254)=>500,chr(255)=>444); -?> diff --git a/tools/fpdf/font/timesi.php b/tools/fpdf/font/timesi.php deleted file mode 100644 index de171fd19..000000000 --- a/tools/fpdf/font/timesi.php +++ /dev/null @@ -1,15 +0,0 @@ -250,chr(1)=>250,chr(2)=>250,chr(3)=>250,chr(4)=>250,chr(5)=>250,chr(6)=>250,chr(7)=>250,chr(8)=>250,chr(9)=>250,chr(10)=>250,chr(11)=>250,chr(12)=>250,chr(13)=>250,chr(14)=>250,chr(15)=>250,chr(16)=>250,chr(17)=>250,chr(18)=>250,chr(19)=>250,chr(20)=>250,chr(21)=>250, - chr(22)=>250,chr(23)=>250,chr(24)=>250,chr(25)=>250,chr(26)=>250,chr(27)=>250,chr(28)=>250,chr(29)=>250,chr(30)=>250,chr(31)=>250,' '=>250,'!'=>333,'"'=>420,'#'=>500,'$'=>500,'%'=>833,'&'=>778,'\''=>214,'('=>333,')'=>333,'*'=>500,'+'=>675, - ','=>250,'-'=>333,'.'=>250,'/'=>278,'0'=>500,'1'=>500,'2'=>500,'3'=>500,'4'=>500,'5'=>500,'6'=>500,'7'=>500,'8'=>500,'9'=>500,':'=>333,';'=>333,'<'=>675,'='=>675,'>'=>675,'?'=>500,'@'=>920,'A'=>611, - 'B'=>611,'C'=>667,'D'=>722,'E'=>611,'F'=>611,'G'=>722,'H'=>722,'I'=>333,'J'=>444,'K'=>667,'L'=>556,'M'=>833,'N'=>667,'O'=>722,'P'=>611,'Q'=>722,'R'=>611,'S'=>500,'T'=>556,'U'=>722,'V'=>611,'W'=>833, - 'X'=>611,'Y'=>556,'Z'=>556,'['=>389,'\\'=>278,']'=>389,'^'=>422,'_'=>500,'`'=>333,'a'=>500,'b'=>500,'c'=>444,'d'=>500,'e'=>444,'f'=>278,'g'=>500,'h'=>500,'i'=>278,'j'=>278,'k'=>444,'l'=>278,'m'=>722, - 'n'=>500,'o'=>500,'p'=>500,'q'=>500,'r'=>389,'s'=>389,'t'=>278,'u'=>500,'v'=>444,'w'=>667,'x'=>444,'y'=>444,'z'=>389,'{'=>400,'|'=>275,'}'=>400,'~'=>541,chr(127)=>350,chr(128)=>500,chr(129)=>350,chr(130)=>333,chr(131)=>500, - chr(132)=>556,chr(133)=>889,chr(134)=>500,chr(135)=>500,chr(136)=>333,chr(137)=>1000,chr(138)=>500,chr(139)=>333,chr(140)=>944,chr(141)=>350,chr(142)=>556,chr(143)=>350,chr(144)=>350,chr(145)=>333,chr(146)=>333,chr(147)=>556,chr(148)=>556,chr(149)=>350,chr(150)=>500,chr(151)=>889,chr(152)=>333,chr(153)=>980, - chr(154)=>389,chr(155)=>333,chr(156)=>667,chr(157)=>350,chr(158)=>389,chr(159)=>556,chr(160)=>250,chr(161)=>389,chr(162)=>500,chr(163)=>500,chr(164)=>500,chr(165)=>500,chr(166)=>275,chr(167)=>500,chr(168)=>333,chr(169)=>760,chr(170)=>276,chr(171)=>500,chr(172)=>675,chr(173)=>333,chr(174)=>760,chr(175)=>333, - chr(176)=>400,chr(177)=>675,chr(178)=>300,chr(179)=>300,chr(180)=>333,chr(181)=>500,chr(182)=>523,chr(183)=>250,chr(184)=>333,chr(185)=>300,chr(186)=>310,chr(187)=>500,chr(188)=>750,chr(189)=>750,chr(190)=>750,chr(191)=>500,chr(192)=>611,chr(193)=>611,chr(194)=>611,chr(195)=>611,chr(196)=>611,chr(197)=>611, - chr(198)=>889,chr(199)=>667,chr(200)=>611,chr(201)=>611,chr(202)=>611,chr(203)=>611,chr(204)=>333,chr(205)=>333,chr(206)=>333,chr(207)=>333,chr(208)=>722,chr(209)=>667,chr(210)=>722,chr(211)=>722,chr(212)=>722,chr(213)=>722,chr(214)=>722,chr(215)=>675,chr(216)=>722,chr(217)=>722,chr(218)=>722,chr(219)=>722, - chr(220)=>722,chr(221)=>556,chr(222)=>611,chr(223)=>500,chr(224)=>500,chr(225)=>500,chr(226)=>500,chr(227)=>500,chr(228)=>500,chr(229)=>500,chr(230)=>667,chr(231)=>444,chr(232)=>444,chr(233)=>444,chr(234)=>444,chr(235)=>444,chr(236)=>278,chr(237)=>278,chr(238)=>278,chr(239)=>278,chr(240)=>500,chr(241)=>500, - chr(242)=>500,chr(243)=>500,chr(244)=>500,chr(245)=>500,chr(246)=>500,chr(247)=>675,chr(248)=>500,chr(249)=>500,chr(250)=>500,chr(251)=>500,chr(252)=>500,chr(253)=>444,chr(254)=>500,chr(255)=>444); -?> diff --git a/tools/fpdf/font/zapfdingbats.php b/tools/fpdf/font/zapfdingbats.php deleted file mode 100644 index f2bdfd5c9..000000000 --- a/tools/fpdf/font/zapfdingbats.php +++ /dev/null @@ -1,15 +0,0 @@ -0,chr(1)=>0,chr(2)=>0,chr(3)=>0,chr(4)=>0,chr(5)=>0,chr(6)=>0,chr(7)=>0,chr(8)=>0,chr(9)=>0,chr(10)=>0,chr(11)=>0,chr(12)=>0,chr(13)=>0,chr(14)=>0,chr(15)=>0,chr(16)=>0,chr(17)=>0,chr(18)=>0,chr(19)=>0,chr(20)=>0,chr(21)=>0, - chr(22)=>0,chr(23)=>0,chr(24)=>0,chr(25)=>0,chr(26)=>0,chr(27)=>0,chr(28)=>0,chr(29)=>0,chr(30)=>0,chr(31)=>0,' '=>278,'!'=>974,'"'=>961,'#'=>974,'$'=>980,'%'=>719,'&'=>789,'\''=>790,'('=>791,')'=>690,'*'=>960,'+'=>939, - ','=>549,'-'=>855,'.'=>911,'/'=>933,'0'=>911,'1'=>945,'2'=>974,'3'=>755,'4'=>846,'5'=>762,'6'=>761,'7'=>571,'8'=>677,'9'=>763,':'=>760,';'=>759,'<'=>754,'='=>494,'>'=>552,'?'=>537,'@'=>577,'A'=>692, - 'B'=>786,'C'=>788,'D'=>788,'E'=>790,'F'=>793,'G'=>794,'H'=>816,'I'=>823,'J'=>789,'K'=>841,'L'=>823,'M'=>833,'N'=>816,'O'=>831,'P'=>923,'Q'=>744,'R'=>723,'S'=>749,'T'=>790,'U'=>792,'V'=>695,'W'=>776, - 'X'=>768,'Y'=>792,'Z'=>759,'['=>707,'\\'=>708,']'=>682,'^'=>701,'_'=>826,'`'=>815,'a'=>789,'b'=>789,'c'=>707,'d'=>687,'e'=>696,'f'=>689,'g'=>786,'h'=>787,'i'=>713,'j'=>791,'k'=>785,'l'=>791,'m'=>873, - 'n'=>761,'o'=>762,'p'=>762,'q'=>759,'r'=>759,'s'=>892,'t'=>892,'u'=>788,'v'=>784,'w'=>438,'x'=>138,'y'=>277,'z'=>415,'{'=>392,'|'=>392,'}'=>668,'~'=>668,chr(127)=>0,chr(128)=>390,chr(129)=>390,chr(130)=>317,chr(131)=>317, - chr(132)=>276,chr(133)=>276,chr(134)=>509,chr(135)=>509,chr(136)=>410,chr(137)=>410,chr(138)=>234,chr(139)=>234,chr(140)=>334,chr(141)=>334,chr(142)=>0,chr(143)=>0,chr(144)=>0,chr(145)=>0,chr(146)=>0,chr(147)=>0,chr(148)=>0,chr(149)=>0,chr(150)=>0,chr(151)=>0,chr(152)=>0,chr(153)=>0, - chr(154)=>0,chr(155)=>0,chr(156)=>0,chr(157)=>0,chr(158)=>0,chr(159)=>0,chr(160)=>0,chr(161)=>732,chr(162)=>544,chr(163)=>544,chr(164)=>910,chr(165)=>667,chr(166)=>760,chr(167)=>760,chr(168)=>776,chr(169)=>595,chr(170)=>694,chr(171)=>626,chr(172)=>788,chr(173)=>788,chr(174)=>788,chr(175)=>788, - chr(176)=>788,chr(177)=>788,chr(178)=>788,chr(179)=>788,chr(180)=>788,chr(181)=>788,chr(182)=>788,chr(183)=>788,chr(184)=>788,chr(185)=>788,chr(186)=>788,chr(187)=>788,chr(188)=>788,chr(189)=>788,chr(190)=>788,chr(191)=>788,chr(192)=>788,chr(193)=>788,chr(194)=>788,chr(195)=>788,chr(196)=>788,chr(197)=>788, - chr(198)=>788,chr(199)=>788,chr(200)=>788,chr(201)=>788,chr(202)=>788,chr(203)=>788,chr(204)=>788,chr(205)=>788,chr(206)=>788,chr(207)=>788,chr(208)=>788,chr(209)=>788,chr(210)=>788,chr(211)=>788,chr(212)=>894,chr(213)=>838,chr(214)=>1016,chr(215)=>458,chr(216)=>748,chr(217)=>924,chr(218)=>748,chr(219)=>918, - chr(220)=>927,chr(221)=>928,chr(222)=>928,chr(223)=>834,chr(224)=>873,chr(225)=>828,chr(226)=>924,chr(227)=>924,chr(228)=>917,chr(229)=>930,chr(230)=>931,chr(231)=>463,chr(232)=>883,chr(233)=>836,chr(234)=>836,chr(235)=>867,chr(236)=>867,chr(237)=>696,chr(238)=>696,chr(239)=>874,chr(240)=>0,chr(241)=>874, - chr(242)=>760,chr(243)=>946,chr(244)=>771,chr(245)=>865,chr(246)=>771,chr(247)=>888,chr(248)=>967,chr(249)=>888,chr(250)=>831,chr(251)=>873,chr(252)=>927,chr(253)=>970,chr(254)=>918,chr(255)=>0); -?> diff --git a/tools/fpdf/fpdf.php b/tools/fpdf/fpdf.php deleted file mode 100644 index 76495eb64..000000000 --- a/tools/fpdf/fpdf.php +++ /dev/null @@ -1,1729 +0,0 @@ -_dochecks(); - //Initialization of properties - $this->page=0; - $this->n=2; - $this->buffer=''; - $this->pages=array(); - $this->PageSizes=array(); - $this->state=0; - $this->fonts=array(); - $this->FontFiles=array(); - $this->diffs=array(); - $this->images=array(); - $this->links=array(); - $this->InHeader=false; - $this->InFooter=false; - $this->lasth=0; - $this->FontFamily=''; - $this->FontStyle=''; - $this->FontSizePt=12; - $this->underline=false; - $this->DrawColor='0 G'; - $this->FillColor='0 g'; - $this->TextColor='0 g'; - $this->ColorFlag=false; - $this->ws=0; - //Standard fonts - $this->CoreFonts=array('courier'=>'Courier', 'courierB'=>'Courier-Bold', 'courierI'=>'Courier-Oblique', 'courierBI'=>'Courier-BoldOblique', - 'helvetica'=>'Helvetica', 'helveticaB'=>'Helvetica-Bold', 'helveticaI'=>'Helvetica-Oblique', 'helveticaBI'=>'Helvetica-BoldOblique', - 'times'=>'Times-Roman', 'timesB'=>'Times-Bold', 'timesI'=>'Times-Italic', 'timesBI'=>'Times-BoldItalic', - 'symbol'=>'Symbol', 'zapfdingbats'=>'ZapfDingbats'); - //Scale factor - if($unit=='pt') - $this->k=1; - elseif($unit=='mm') - $this->k=72/25.4; - elseif($unit=='cm') - $this->k=72/2.54; - elseif($unit=='in') - $this->k=72; - else - $this->Error('Incorrect unit: '.$unit); - //Page format - $this->PageFormats=array('a3'=>array(841.89,1190.55), 'a4'=>array(595.28,841.89), 'a5'=>array(420.94,595.28), - 'letter'=>array(612,792), 'legal'=>array(612,1008)); - if(is_string($format)) - $format=$this->_getpageformat($format); - $this->DefPageFormat=$format; - $this->CurPageFormat=$format; - //Page orientation - $orientation=strtolower($orientation); - if($orientation=='p' || $orientation=='portrait') - { - $this->DefOrientation='P'; - $this->w=$this->DefPageFormat[0]; - $this->h=$this->DefPageFormat[1]; - } - elseif($orientation=='l' || $orientation=='landscape') - { - $this->DefOrientation='L'; - $this->w=$this->DefPageFormat[1]; - $this->h=$this->DefPageFormat[0]; - } - else - $this->Error('Incorrect orientation: '.$orientation); - $this->CurOrientation=$this->DefOrientation; - $this->wPt=$this->w*$this->k; - $this->hPt=$this->h*$this->k; - //Page margins (1 cm) - $margin=28.35/$this->k; - $this->SetMargins($margin,$margin); - //Interior cell margin (1 mm) - $this->cMargin=$margin/10; - //Line width (0.2 mm) - $this->LineWidth=.567/$this->k; - //Automatic page break - $this->SetAutoPageBreak(true,2*$margin); - //Full width display mode - $this->SetDisplayMode('fullwidth'); - //Enable compression - $this->SetCompression(true); - //Set default PDF version number - $this->PDFVersion='1.3'; -} - -function SetMargins($left, $top, $right=null) -{ - //Set left, top and right margins - $this->lMargin=$left; - $this->tMargin=$top; - if($right===null) - $right=$left; - $this->rMargin=$right; -} - -function SetLeftMargin($margin) -{ - //Set left margin - $this->lMargin=$margin; - if($this->page>0 && $this->x<$margin) - $this->x=$margin; -} - -function SetTopMargin($margin) -{ - //Set top margin - $this->tMargin=$margin; -} - -function SetRightMargin($margin) -{ - //Set right margin - $this->rMargin=$margin; -} - -function SetAutoPageBreak($auto, $margin=0) -{ - //Set auto page break mode and triggering margin - $this->AutoPageBreak=$auto; - $this->bMargin=$margin; - $this->PageBreakTrigger=$this->h-$margin; -} - -function SetDisplayMode($zoom, $layout='continuous') -{ - //Set display mode in viewer - if($zoom=='fullpage' || $zoom=='fullwidth' || $zoom=='real' || $zoom=='default' || !is_string($zoom)) - $this->ZoomMode=$zoom; - else - $this->Error('Incorrect zoom display mode: '.$zoom); - if($layout=='single' || $layout=='continuous' || $layout=='two' || $layout=='default') - $this->LayoutMode=$layout; - else - $this->Error('Incorrect layout display mode: '.$layout); -} - -function SetCompression($compress) -{ - //Set page compression - if(function_exists('gzcompress')) - $this->compress=$compress; - else - $this->compress=false; -} - -function SetTitle($title, $isUTF8=false) -{ - //Title of document - if($isUTF8) - $title=$this->_UTF8toUTF16($title); - $this->title=$title; -} - -function SetSubject($subject, $isUTF8=false) -{ - //Subject of document - if($isUTF8) - $subject=$this->_UTF8toUTF16($subject); - $this->subject=$subject; -} - -function SetAuthor($author, $isUTF8=false) -{ - //Author of document - if($isUTF8) - $author=$this->_UTF8toUTF16($author); - $this->author=$author; -} - -function SetKeywords($keywords, $isUTF8=false) -{ - //Keywords of document - if($isUTF8) - $keywords=$this->_UTF8toUTF16($keywords); - $this->keywords=$keywords; -} - -function SetCreator($creator, $isUTF8=false) -{ - //Creator of document - if($isUTF8) - $creator=$this->_UTF8toUTF16($creator); - $this->creator=$creator; -} - -function AliasNbPages($alias='{nb}') -{ - //Define an alias for total number of pages - $this->AliasNbPages=$alias; -} - -function Error($msg) -{ - //Fatal error - die('FPDF error: '.$msg); -} - -function Open() -{ - //Begin document - $this->state=1; -} - -function Close() -{ - //Terminate document - if($this->state==3) - return; - if($this->page==0) - $this->AddPage(); - //Page footer - $this->InFooter=true; - $this->Footer(); - $this->InFooter=false; - //Close page - $this->_endpage(); - //Close document - $this->_enddoc(); -} - -function AddPage($orientation='', $format='') -{ - //Start a new page - if($this->state==0) - $this->Open(); - $family=$this->FontFamily; - $style=$this->FontStyle.($this->underline ? 'U' : ''); - $size=$this->FontSizePt; - $lw=$this->LineWidth; - $dc=$this->DrawColor; - $fc=$this->FillColor; - $tc=$this->TextColor; - $cf=$this->ColorFlag; - if($this->page>0) - { - //Page footer - $this->InFooter=true; - $this->Footer(); - $this->InFooter=false; - //Close page - $this->_endpage(); - } - //Start new page - $this->_beginpage($orientation,$format); - //Set line cap style to square - $this->_out('2 J'); - //Set line width - $this->LineWidth=$lw; - $this->_out(sprintf('%.2F w',$lw*$this->k)); - //Set font - if($family) - $this->SetFont($family,$style,$size); - //Set colors - $this->DrawColor=$dc; - if($dc!='0 G') - $this->_out($dc); - $this->FillColor=$fc; - if($fc!='0 g') - $this->_out($fc); - $this->TextColor=$tc; - $this->ColorFlag=$cf; - //Page header - $this->InHeader=true; - $this->Header(); - $this->InHeader=false; - //Restore line width - if($this->LineWidth!=$lw) - { - $this->LineWidth=$lw; - $this->_out(sprintf('%.2F w',$lw*$this->k)); - } - //Restore font - if($family) - $this->SetFont($family,$style,$size); - //Restore colors - if($this->DrawColor!=$dc) - { - $this->DrawColor=$dc; - $this->_out($dc); - } - if($this->FillColor!=$fc) - { - $this->FillColor=$fc; - $this->_out($fc); - } - $this->TextColor=$tc; - $this->ColorFlag=$cf; -} - -function Header() -{ - //To be implemented in your own inherited class -} - -function Footer() -{ - //To be implemented in your own inherited class -} - -function PageNo() -{ - //Get current page number - return $this->page; -} - -function SetDrawColor($r, $g=null, $b=null) -{ - //Set color for all stroking operations - if(($r==0 && $g==0 && $b==0) || $g===null) - $this->DrawColor=sprintf('%.3F G',$r/255); - else - $this->DrawColor=sprintf('%.3F %.3F %.3F RG',$r/255,$g/255,$b/255); - if($this->page>0) - $this->_out($this->DrawColor); -} - -function SetFillColor($r, $g=null, $b=null) -{ - //Set color for all filling operations - if(($r==0 && $g==0 && $b==0) || $g===null) - $this->FillColor=sprintf('%.3F g',$r/255); - else - $this->FillColor=sprintf('%.3F %.3F %.3F rg',$r/255,$g/255,$b/255); - $this->ColorFlag=($this->FillColor!=$this->TextColor); - if($this->page>0) - $this->_out($this->FillColor); -} - -function SetTextColor($r, $g=null, $b=null) -{ - //Set color for text - if(($r==0 && $g==0 && $b==0) || $g===null) - $this->TextColor=sprintf('%.3F g',$r/255); - else - $this->TextColor=sprintf('%.3F %.3F %.3F rg',$r/255,$g/255,$b/255); - $this->ColorFlag=($this->FillColor!=$this->TextColor); -} - -function GetStringWidth($s) -{ - //Get width of a string in the current font - $s=(string)$s; - $cw=&$this->CurrentFont['cw']; - $w=0; - $l=strlen($s); - for($i=0;$i<$l;$i++) - $w+=$cw[$s[$i]]; - return $w*$this->FontSize/1000; -} - -function SetLineWidth($width) -{ - //Set line width - $this->LineWidth=$width; - if($this->page>0) - $this->_out(sprintf('%.2F w',$width*$this->k)); -} - -function Line($x1, $y1, $x2, $y2) -{ - //Draw a line - $this->_out(sprintf('%.2F %.2F m %.2F %.2F l S',$x1*$this->k,($this->h-$y1)*$this->k,$x2*$this->k,($this->h-$y2)*$this->k)); -} - -function Rect($x, $y, $w, $h, $style='') -{ - //Draw a rectangle - if($style=='F') - $op='f'; - elseif($style=='FD' || $style=='DF') - $op='B'; - else - $op='S'; - $this->_out(sprintf('%.2F %.2F %.2F %.2F re %s',$x*$this->k,($this->h-$y)*$this->k,$w*$this->k,-$h*$this->k,$op)); -} - -function AddFont($family, $style='', $file='') -{ - //Add a TrueType or Type1 font - $family=strtolower($family); - if($file=='') - $file=str_replace(' ','',$family).strtolower($style).'.php'; - if($family=='arial') - $family='helvetica'; - $style=strtoupper($style); - if($style=='IB') - $style='BI'; - $fontkey=$family.$style; - if(isset($this->fonts[$fontkey])) - return; - include($this->_getfontpath().$file); - if(!isset($name)) - $this->Error('Could not include font definition file'); - $i=count($this->fonts)+1; - $this->fonts[$fontkey]=array('i'=>$i, 'type'=>$type, 'name'=>$name, 'desc'=>$desc, 'up'=>$up, 'ut'=>$ut, 'cw'=>$cw, 'enc'=>$enc, 'file'=>$file); - if($diff) - { - //Search existing encodings - $d=0; - $nb=count($this->diffs); - for($i=1;$i<=$nb;$i++) - { - if($this->diffs[$i]==$diff) - { - $d=$i; - break; - } - } - if($d==0) - { - $d=$nb+1; - $this->diffs[$d]=$diff; - } - $this->fonts[$fontkey]['diff']=$d; - } - if($file) - { - if($type=='TrueType') - $this->FontFiles[$file]=array('length1'=>$originalsize); - else - $this->FontFiles[$file]=array('length1'=>$size1, 'length2'=>$size2); - } -} - -function SetFont($family, $style='', $size=0) -{ - //Select a font; size given in points - global $fpdf_charwidths; - - $family=strtolower($family); - if($family=='') - $family=$this->FontFamily; - if($family=='arial') - $family='helvetica'; - elseif($family=='symbol' || $family=='zapfdingbats') - $style=''; - $style=strtoupper($style); - if(strpos($style,'U')!==false) - { - $this->underline=true; - $style=str_replace('U','',$style); - } - else - $this->underline=false; - if($style=='IB') - $style='BI'; - if($size==0) - $size=$this->FontSizePt; - //Test if font is already selected - if($this->FontFamily==$family && $this->FontStyle==$style && $this->FontSizePt==$size) - return; - //Test if used for the first time - $fontkey=$family.$style; - if(!isset($this->fonts[$fontkey])) - { - //Check if one of the standard fonts - if(isset($this->CoreFonts[$fontkey])) - { - if(!isset($fpdf_charwidths[$fontkey])) - { - //Load metric file - $file=$family; - if($family=='times' || $family=='helvetica') - $file.=strtolower($style); - include($this->_getfontpath().$file.'.php'); - if(!isset($fpdf_charwidths[$fontkey])) - $this->Error('Could not include font metric file'); - } - $i=count($this->fonts)+1; - $name=$this->CoreFonts[$fontkey]; - $cw=$fpdf_charwidths[$fontkey]; - $this->fonts[$fontkey]=array('i'=>$i, 'type'=>'core', 'name'=>$name, 'up'=>-100, 'ut'=>50, 'cw'=>$cw); - } - else - $this->Error('Undefined font: '.$family.' '.$style); - } - //Select it - $this->FontFamily=$family; - $this->FontStyle=$style; - $this->FontSizePt=$size; - $this->FontSize=$size/$this->k; - $this->CurrentFont=&$this->fonts[$fontkey]; - if($this->page>0) - $this->_out(sprintf('BT /F%d %.2F Tf ET',$this->CurrentFont['i'],$this->FontSizePt)); -} - -function SetFontSize($size) -{ - //Set font size in points - if($this->FontSizePt==$size) - return; - $this->FontSizePt=$size; - $this->FontSize=$size/$this->k; - if($this->page>0) - $this->_out(sprintf('BT /F%d %.2F Tf ET',$this->CurrentFont['i'],$this->FontSizePt)); -} - -function AddLink() -{ - //Create a new internal link - $n=count($this->links)+1; - $this->links[$n]=array(0, 0); - return $n; -} - -function SetLink($link, $y=0, $page=-1) -{ - //Set destination of internal link - if($y==-1) - $y=$this->y; - if($page==-1) - $page=$this->page; - $this->links[$link]=array($page, $y); -} - -function Link($x, $y, $w, $h, $link) -{ - //Put a link on the page - $this->PageLinks[$this->page][]=array($x*$this->k, $this->hPt-$y*$this->k, $w*$this->k, $h*$this->k, $link); -} - -function Text($x, $y, $txt) -{ - //Output a string - $s=sprintf('BT %.2F %.2F Td (%s) Tj ET',$x*$this->k,($this->h-$y)*$this->k,$this->_escape($txt)); - if($this->underline && $txt!='') - $s.=' '.$this->_dounderline($x,$y,$txt); - if($this->ColorFlag) - $s='q '.$this->TextColor.' '.$s.' Q'; - $this->_out($s); -} - -function AcceptPageBreak() -{ - //Accept automatic page break or not - return $this->AutoPageBreak; -} - -function Cell($w, $h=0, $txt='', $border=0, $ln=0, $align='', $fill=false, $link='') -{ - //Output a cell - $k=$this->k; - if($this->y+$h>$this->PageBreakTrigger && !$this->InHeader && !$this->InFooter && $this->AcceptPageBreak()) - { - //Automatic page break - $x=$this->x; - $ws=$this->ws; - if($ws>0) - { - $this->ws=0; - $this->_out('0 Tw'); - } - $this->AddPage($this->CurOrientation,$this->CurPageFormat); - $this->x=$x; - if($ws>0) - { - $this->ws=$ws; - $this->_out(sprintf('%.3F Tw',$ws*$k)); - } - } - if($w==0) - $w=$this->w-$this->rMargin-$this->x; - $s=''; - if($fill || $border==1) - { - if($fill) - $op=($border==1) ? 'B' : 'f'; - else - $op='S'; - $s=sprintf('%.2F %.2F %.2F %.2F re %s ',$this->x*$k,($this->h-$this->y)*$k,$w*$k,-$h*$k,$op); - } - if(is_string($border)) - { - $x=$this->x; - $y=$this->y; - if(strpos($border,'L')!==false) - $s.=sprintf('%.2F %.2F m %.2F %.2F l S ',$x*$k,($this->h-$y)*$k,$x*$k,($this->h-($y+$h))*$k); - if(strpos($border,'T')!==false) - $s.=sprintf('%.2F %.2F m %.2F %.2F l S ',$x*$k,($this->h-$y)*$k,($x+$w)*$k,($this->h-$y)*$k); - if(strpos($border,'R')!==false) - $s.=sprintf('%.2F %.2F m %.2F %.2F l S ',($x+$w)*$k,($this->h-$y)*$k,($x+$w)*$k,($this->h-($y+$h))*$k); - if(strpos($border,'B')!==false) - $s.=sprintf('%.2F %.2F m %.2F %.2F l S ',$x*$k,($this->h-($y+$h))*$k,($x+$w)*$k,($this->h-($y+$h))*$k); - } - if($txt!=='') - { - if($align=='R') - $dx=$w-$this->cMargin-$this->GetStringWidth($txt); - elseif($align=='C') - $dx=($w-$this->GetStringWidth($txt))/2; - else - $dx=$this->cMargin; - if($this->ColorFlag) - $s.='q '.$this->TextColor.' '; - $txt2=str_replace(')','\\)',str_replace('(','\\(',str_replace('\\','\\\\',$txt))); - $s.=sprintf('BT %.2F %.2F Td (%s) Tj ET',($this->x+$dx)*$k,($this->h-($this->y+.5*$h+.3*$this->FontSize))*$k,$txt2); - if($this->underline) - $s.=' '.$this->_dounderline($this->x+$dx,$this->y+.5*$h+.3*$this->FontSize,$txt); - if($this->ColorFlag) - $s.=' Q'; - if($link) - $this->Link($this->x+$dx,$this->y+.5*$h-.5*$this->FontSize,$this->GetStringWidth($txt),$this->FontSize,$link); - } - if($s) - $this->_out($s); - $this->lasth=$h; - if($ln>0) - { - //Go to next line - $this->y+=$h; - if($ln==1) - $this->x=$this->lMargin; - } - else - $this->x+=$w; -} - -function MultiCell($w, $h, $txt, $border=0, $align='J', $fill=false) -{ - //Output text with automatic or explicit line breaks - $cw=&$this->CurrentFont['cw']; - if($w==0) - $w=$this->w-$this->rMargin-$this->x; - $wmax=($w-2*$this->cMargin)*1000/$this->FontSize; - $s=str_replace("\r",'',$txt); - $nb=strlen($s); - if($nb>0 && $s[$nb-1]=="\n") - $nb--; - $b=0; - if($border) - { - if($border==1) - { - $border='LTRB'; - $b='LRT'; - $b2='LR'; - } - else - { - $b2=''; - if(strpos($border,'L')!==false) - $b2.='L'; - if(strpos($border,'R')!==false) - $b2.='R'; - $b=(strpos($border,'T')!==false) ? $b2.'T' : $b2; - } - } - $sep=-1; - $i=0; - $j=0; - $l=0; - $ns=0; - $nl=1; - while($i<$nb) - { - //Get next character - $c=$s[$i]; - if($c=="\n") - { - //Explicit line break - if($this->ws>0) - { - $this->ws=0; - $this->_out('0 Tw'); - } - $this->Cell($w,$h,substr($s,$j,$i-$j),$b,2,$align,$fill); - $i++; - $sep=-1; - $j=$i; - $l=0; - $ns=0; - $nl++; - if($border && $nl==2) - $b=$b2; - continue; - } - if($c==' ') - { - $sep=$i; - $ls=$l; - $ns++; - } - $l+=$cw[$c]; - if($l>$wmax) - { - //Automatic line break - if($sep==-1) - { - if($i==$j) - $i++; - if($this->ws>0) - { - $this->ws=0; - $this->_out('0 Tw'); - } - $this->Cell($w,$h,substr($s,$j,$i-$j),$b,2,$align,$fill); - } - else - { - if($align=='J') - { - $this->ws=($ns>1) ? ($wmax-$ls)/1000*$this->FontSize/($ns-1) : 0; - $this->_out(sprintf('%.3F Tw',$this->ws*$this->k)); - } - $this->Cell($w,$h,substr($s,$j,$sep-$j),$b,2,$align,$fill); - $i=$sep+1; - } - $sep=-1; - $j=$i; - $l=0; - $ns=0; - $nl++; - if($border && $nl==2) - $b=$b2; - } - else - $i++; - } - //Last chunk - if($this->ws>0) - { - $this->ws=0; - $this->_out('0 Tw'); - } - if($border && strpos($border,'B')!==false) - $b.='B'; - $this->Cell($w,$h,substr($s,$j,$i-$j),$b,2,$align,$fill); - $this->x=$this->lMargin; -} - -function Write($h, $txt, $link='') -{ - //Output text in flowing mode - $cw=&$this->CurrentFont['cw']; - $w=$this->w-$this->rMargin-$this->x; - $wmax=($w-2*$this->cMargin)*1000/$this->FontSize; - $s=str_replace("\r",'',$txt); - $nb=strlen($s); - $sep=-1; - $i=0; - $j=0; - $l=0; - $nl=1; - while($i<$nb) - { - //Get next character - $c=$s[$i]; - if($c=="\n") - { - //Explicit line break - $this->Cell($w,$h,substr($s,$j,$i-$j),0,2,'',0,$link); - $i++; - $sep=-1; - $j=$i; - $l=0; - if($nl==1) - { - $this->x=$this->lMargin; - $w=$this->w-$this->rMargin-$this->x; - $wmax=($w-2*$this->cMargin)*1000/$this->FontSize; - } - $nl++; - continue; - } - if($c==' ') - $sep=$i; - $l+=$cw[$c]; - if($l>$wmax) - { - //Automatic line break - if($sep==-1) - { - if($this->x>$this->lMargin) - { - //Move to next line - $this->x=$this->lMargin; - $this->y+=$h; - $w=$this->w-$this->rMargin-$this->x; - $wmax=($w-2*$this->cMargin)*1000/$this->FontSize; - $i++; - $nl++; - continue; - } - if($i==$j) - $i++; - $this->Cell($w,$h,substr($s,$j,$i-$j),0,2,'',0,$link); - } - else - { - $this->Cell($w,$h,substr($s,$j,$sep-$j),0,2,'',0,$link); - $i=$sep+1; - } - $sep=-1; - $j=$i; - $l=0; - if($nl==1) - { - $this->x=$this->lMargin; - $w=$this->w-$this->rMargin-$this->x; - $wmax=($w-2*$this->cMargin)*1000/$this->FontSize; - } - $nl++; - } - else - $i++; - } - //Last chunk - if($i!=$j) - $this->Cell($l/1000*$this->FontSize,$h,substr($s,$j),0,0,'',0,$link); -} - -function Ln($h=null) -{ - //Line feed; default value is last cell height - $this->x=$this->lMargin; - if($h===null) - $this->y+=$this->lasth; - else - $this->y+=$h; -} - -function Image($file, $x=null, $y=null, $w=0, $h=0, $type='', $link='') -{ - //Put an image on the page - if(!isset($this->images[$file])) - { - //First use of this image, get info - if($type=='') - { - $pos=strrpos($file,'.'); - if(!$pos) - $this->Error('Image file has no extension and no type was specified: '.$file); - $type=substr($file,$pos+1); - } - $type=strtolower($type); - if($type=='jpeg') - $type='jpg'; - $mtd='_parse'.$type; - if(!method_exists($this,$mtd)) - $this->Error('Unsupported image type: '.$type); - $info=$this->$mtd($file); - $info['i']=count($this->images)+1; - $this->images[$file]=$info; - } - else - $info=$this->images[$file]; - //Automatic width and height calculation if needed - if($w==0 && $h==0) - { - //Put image at 72 dpi - $w=$info['w']/$this->k; - $h=$info['h']/$this->k; - } - elseif($w==0) - $w=$h*$info['w']/$info['h']; - elseif($h==0) - $h=$w*$info['h']/$info['w']; - //Flowing mode - if($y===null) - { - if($this->y+$h>$this->PageBreakTrigger && !$this->InHeader && !$this->InFooter && $this->AcceptPageBreak()) - { - //Automatic page break - $x2=$this->x; - $this->AddPage($this->CurOrientation,$this->CurPageFormat); - $this->x=$x2; - } - $y=$this->y; - $this->y+=$h; - } - if($x===null) - $x=$this->x; - $this->_out(sprintf('q %.2F 0 0 %.2F %.2F %.2F cm /I%d Do Q',$w*$this->k,$h*$this->k,$x*$this->k,($this->h-($y+$h))*$this->k,$info['i'])); - if($link) - $this->Link($x,$y,$w,$h,$link); -} - -function GetX() -{ - //Get x position - return $this->x; -} - -function SetX($x) -{ - //Set x position - if($x>=0) - $this->x=$x; - else - $this->x=$this->w+$x; -} - -function GetY() -{ - //Get y position - return $this->y; -} - -function SetY($y) -{ - //Set y position and reset x - $this->x=$this->lMargin; - if($y>=0) - $this->y=$y; - else - $this->y=$this->h+$y; -} - -function SetXY($x, $y) -{ - //Set x and y positions - $this->SetY($y); - $this->SetX($x); -} - -function Output($name='', $dest='') -{ - //Output PDF to some destination - if($this->state<3) - $this->Close(); - $dest=strtoupper($dest); - if($dest=='') - { - if($name=='') - { - $name='doc.pdf'; - $dest='I'; - } - else - $dest='F'; - } - switch($dest) - { - case 'I': - //Send to standard output - if(ob_get_length()) - $this->Error('Some data has already been output, can\'t send PDF file'); - if(php_sapi_name()!='cli') - { - //We send to a browser - header('Content-Type: application/pdf'); - if(headers_sent()) - $this->Error('Some data has already been output, can\'t send PDF file'); - header('Content-Length: '.strlen($this->buffer)); - header('Content-Disposition: inline; filename="'.$name.'"'); - header('Cache-Control: private, max-age=0, must-revalidate'); - header('Pragma: public'); - ini_set('zlib.output_compression','0'); - } - echo $this->buffer; - break; - case 'D': - //Download file - if(ob_get_length()) - $this->Error('Some data has already been output, can\'t send PDF file'); - header('Content-Type: application/x-download'); - if(headers_sent()) - $this->Error('Some data has already been output, can\'t send PDF file'); - header('Content-Length: '.strlen($this->buffer)); - header('Content-Disposition: attachment; filename="'.$name.'"'); - header('Cache-Control: private, max-age=0, must-revalidate'); - header('Pragma: public'); - ini_set('zlib.output_compression','0'); - echo $this->buffer; - break; - case 'F': - //Save to local file - $f=fopen($name,'wb'); - if(!$f) - $this->Error('Unable to create output file: '.$name); - fwrite($f,$this->buffer,strlen($this->buffer)); - fclose($f); - break; - case 'S': - //Return as a string - return $this->buffer; - default: - $this->Error('Incorrect output destination: '.$dest); - } - return ''; -} - -/******************************************************************************* -* * -* Protected methods * -* * -*******************************************************************************/ -function _dochecks() -{ - //Check availability of %F - if(sprintf('%.1F',1.0)!='1.0') - $this->Error('This version of PHP is not supported'); - //Check mbstring overloading - if(ini_get('mbstring.func_overload') & 2) - $this->Error('mbstring overloading must be disabled'); -} - -function _getpageformat($format) -{ - $format=strtolower($format); - if(!isset($this->PageFormats[$format])) - $this->Error('Unknown page format: '.$format); - $a=$this->PageFormats[$format]; - return array($a[0]/$this->k, $a[1]/$this->k); -} - -function _getfontpath() -{ - if(!defined('FPDF_FONTPATH') && is_dir(dirname(__FILE__).'/font')) - define('FPDF_FONTPATH',dirname(__FILE__).'/font/'); - return defined('FPDF_FONTPATH') ? FPDF_FONTPATH : ''; -} - -function _beginpage($orientation, $format) -{ - $this->page++; - $this->pages[$this->page]=''; - $this->state=2; - $this->x=$this->lMargin; - $this->y=$this->tMargin; - $this->FontFamily=''; - //Check page size - if($orientation=='') - $orientation=$this->DefOrientation; - else - $orientation=strtoupper($orientation[0]); - if($format=='') - $format=$this->DefPageFormat; - else - { - if(is_string($format)) - $format=$this->_getpageformat($format); - } - if($orientation!=$this->CurOrientation || $format[0]!=$this->CurPageFormat[0] || $format[1]!=$this->CurPageFormat[1]) - { - //New size - if($orientation=='P') - { - $this->w=$format[0]; - $this->h=$format[1]; - } - else - { - $this->w=$format[1]; - $this->h=$format[0]; - } - $this->wPt=$this->w*$this->k; - $this->hPt=$this->h*$this->k; - $this->PageBreakTrigger=$this->h-$this->bMargin; - $this->CurOrientation=$orientation; - $this->CurPageFormat=$format; - } - if($orientation!=$this->DefOrientation || $format[0]!=$this->DefPageFormat[0] || $format[1]!=$this->DefPageFormat[1]) - $this->PageSizes[$this->page]=array($this->wPt, $this->hPt); -} - -function _endpage() -{ - $this->state=1; -} - -function _escape($s) -{ - //Escape special characters in strings - $s=str_replace('\\','\\\\',$s); - $s=str_replace('(','\\(',$s); - $s=str_replace(')','\\)',$s); - $s=str_replace("\r",'\\r',$s); - return $s; -} - -function _textstring($s) -{ - //Format a text string - return '('.$this->_escape($s).')'; -} - -function _UTF8toUTF16($s) -{ - //Convert UTF-8 to UTF-16BE with BOM - $res="\xFE\xFF"; - $nb=strlen($s); - $i=0; - while($i<$nb) - { - $c1=ord($s[$i++]); - if($c1>=224) - { - //3-byte character - $c2=ord($s[$i++]); - $c3=ord($s[$i++]); - $res.=chr((($c1 & 0x0F)<<4) + (($c2 & 0x3C)>>2)); - $res.=chr((($c2 & 0x03)<<6) + ($c3 & 0x3F)); - } - elseif($c1>=192) - { - //2-byte character - $c2=ord($s[$i++]); - $res.=chr(($c1 & 0x1C)>>2); - $res.=chr((($c1 & 0x03)<<6) + ($c2 & 0x3F)); - } - else - { - //Single-byte character - $res.="\0".chr($c1); - } - } - return $res; -} - -function _dounderline($x, $y, $txt) -{ - //Underline text - $up=$this->CurrentFont['up']; - $ut=$this->CurrentFont['ut']; - $w=$this->GetStringWidth($txt)+$this->ws*substr_count($txt,' '); - return sprintf('%.2F %.2F %.2F %.2F re f',$x*$this->k,($this->h-($y-$up/1000*$this->FontSize))*$this->k,$w*$this->k,-$ut/1000*$this->FontSizePt); -} - -function _parsejpg($file) -{ - //Extract info from a JPEG file - $a=GetImageSize($file); - if(!$a) - $this->Error('Missing or incorrect image file: '.$file); - if($a[2]!=2) - $this->Error('Not a JPEG file: '.$file); - if(!isset($a['channels']) || $a['channels']==3) - $colspace='DeviceRGB'; - elseif($a['channels']==4) - $colspace='DeviceCMYK'; - else - $colspace='DeviceGray'; - $bpc=isset($a['bits']) ? $a['bits'] : 8; - //Read whole file - $f=fopen($file,'rb'); - $data=''; - while(!feof($f)) - $data.=fread($f,8192); - fclose($f); - return array('w'=>$a[0], 'h'=>$a[1], 'cs'=>$colspace, 'bpc'=>$bpc, 'f'=>'DCTDecode', 'data'=>$data); -} - -function _parsepng($file) -{ - //Extract info from a PNG file - $f=fopen($file,'rb'); - if(!$f) - $this->Error('Can\'t open image file: '.$file); - //Check signature - if($this->_readstream($f,8)!=chr(137).'PNG'.chr(13).chr(10).chr(26).chr(10)) - $this->Error('Not a PNG file: '.$file); - //Read header chunk - $this->_readstream($f,4); - if($this->_readstream($f,4)!='IHDR') - $this->Error('Incorrect PNG file: '.$file); - $w=$this->_readint($f); - $h=$this->_readint($f); - $bpc=ord($this->_readstream($f,1)); - if($bpc>8) - $this->Error('16-bit depth not supported: '.$file); - $ct=ord($this->_readstream($f,1)); - if($ct==0) - $colspace='DeviceGray'; - elseif($ct==2) - $colspace='DeviceRGB'; - elseif($ct==3) - $colspace='Indexed'; - else - $this->Error('Alpha channel not supported: '.$file); - if(ord($this->_readstream($f,1))!=0) - $this->Error('Unknown compression method: '.$file); - if(ord($this->_readstream($f,1))!=0) - $this->Error('Unknown filter method: '.$file); - if(ord($this->_readstream($f,1))!=0) - $this->Error('Interlacing not supported: '.$file); - $this->_readstream($f,4); - $parms='/DecodeParms <>'; - //Scan chunks looking for palette, transparency and image data - $pal=''; - $trns=''; - $data=''; - do - { - $n=$this->_readint($f); - $type=$this->_readstream($f,4); - if($type=='PLTE') - { - //Read palette - $pal=$this->_readstream($f,$n); - $this->_readstream($f,4); - } - elseif($type=='tRNS') - { - //Read transparency info - $t=$this->_readstream($f,$n); - if($ct==0) - $trns=array(ord(substr($t,1,1))); - elseif($ct==2) - $trns=array(ord(substr($t,1,1)), ord(substr($t,3,1)), ord(substr($t,5,1))); - else - { - $pos=strpos($t,chr(0)); - if($pos!==false) - $trns=array($pos); - } - $this->_readstream($f,4); - } - elseif($type=='IDAT') - { - //Read image data block - $data.=$this->_readstream($f,$n); - $this->_readstream($f,4); - } - elseif($type=='IEND') - break; - else - $this->_readstream($f,$n+4); - } - while($n); - if($colspace=='Indexed' && empty($pal)) - $this->Error('Missing palette in '.$file); - fclose($f); - return array('w'=>$w, 'h'=>$h, 'cs'=>$colspace, 'bpc'=>$bpc, 'f'=>'FlateDecode', 'parms'=>$parms, 'pal'=>$pal, 'trns'=>$trns, 'data'=>$data); -} - -function _readstream($f, $n) -{ - //Read n bytes from stream - $res=''; - while($n>0 && !feof($f)) - { - $s=fread($f,$n); - if($s===false) - $this->Error('Error while reading stream'); - $n-=strlen($s); - $res.=$s; - } - if($n>0) - $this->Error('Unexpected end of stream'); - return $res; -} - -function _readint($f) -{ - //Read a 4-byte integer from stream - $a=unpack('Ni',$this->_readstream($f,4)); - return $a['i']; -} - -function _parsegif($file) -{ - //Extract info from a GIF file (via PNG conversion) - if(!function_exists('imagepng')) - $this->Error('GD extension is required for GIF support'); - if(!function_exists('imagecreatefromgif')) - $this->Error('GD has no GIF read support'); - $im=imagecreatefromgif($file); - if(!$im) - $this->Error('Missing or incorrect image file: '.$file); - imageinterlace($im,0); - $tmp=tempnam('.','gif'); - if(!$tmp) - $this->Error('Unable to create a temporary file'); - if(!imagepng($im,$tmp)) - $this->Error('Error while saving to temporary file'); - imagedestroy($im); - $info=$this->_parsepng($tmp); - unlink($tmp); - return $info; -} - -function _newobj() -{ - //Begin a new object - $this->n++; - $this->offsets[$this->n]=strlen($this->buffer); - $this->_out($this->n.' 0 obj'); -} - -function _putstream($s) -{ - $this->_out('stream'); - $this->_out($s); - $this->_out('endstream'); -} - -function _out($s) -{ - //Add a line to the document - if($this->state==2) - $this->pages[$this->page].=$s."\n"; - else - $this->buffer.=$s."\n"; -} - -function _putpages() -{ - $nb=$this->page; - if(!empty($this->AliasNbPages)) - { - //Replace number of pages - for($n=1;$n<=$nb;$n++) - $this->pages[$n]=str_replace($this->AliasNbPages,$nb,$this->pages[$n]); - } - if($this->DefOrientation=='P') - { - $wPt=$this->DefPageFormat[0]*$this->k; - $hPt=$this->DefPageFormat[1]*$this->k; - } - else - { - $wPt=$this->DefPageFormat[1]*$this->k; - $hPt=$this->DefPageFormat[0]*$this->k; - } - $filter=($this->compress) ? '/Filter /FlateDecode ' : ''; - for($n=1;$n<=$nb;$n++) - { - //Page - $this->_newobj(); - $this->_out('<_out('/Parent 1 0 R'); - if(isset($this->PageSizes[$n])) - $this->_out(sprintf('/MediaBox [0 0 %.2F %.2F]',$this->PageSizes[$n][0],$this->PageSizes[$n][1])); - $this->_out('/Resources 2 0 R'); - if(isset($this->PageLinks[$n])) - { - //Links - $annots='/Annots ['; - foreach($this->PageLinks[$n] as $pl) - { - $rect=sprintf('%.2F %.2F %.2F %.2F',$pl[0],$pl[1],$pl[0]+$pl[2],$pl[1]-$pl[3]); - $annots.='<_textstring($pl[4]).'>>>>'; - else - { - $l=$this->links[$pl[4]]; - $h=isset($this->PageSizes[$l[0]]) ? $this->PageSizes[$l[0]][1] : $hPt; - $annots.=sprintf('/Dest [%d 0 R /XYZ 0 %.2F null]>>',1+2*$l[0],$h-$l[1]*$this->k); - } - } - $this->_out($annots.']'); - } - $this->_out('/Contents '.($this->n+1).' 0 R>>'); - $this->_out('endobj'); - //Page content - $p=($this->compress) ? gzcompress($this->pages[$n]) : $this->pages[$n]; - $this->_newobj(); - $this->_out('<<'.$filter.'/Length '.strlen($p).'>>'); - $this->_putstream($p); - $this->_out('endobj'); - } - //Pages root - $this->offsets[1]=strlen($this->buffer); - $this->_out('1 0 obj'); - $this->_out('<_out($kids.']'); - $this->_out('/Count '.$nb); - $this->_out(sprintf('/MediaBox [0 0 %.2F %.2F]',$wPt,$hPt)); - $this->_out('>>'); - $this->_out('endobj'); -} - -function _putfonts() -{ - $nf=$this->n; - foreach($this->diffs as $diff) - { - //Encodings - $this->_newobj(); - $this->_out('<>'); - $this->_out('endobj'); - } - foreach($this->FontFiles as $file=>$info) - { - //Font file embedding - $this->_newobj(); - $this->FontFiles[$file]['n']=$this->n; - $font=''; - $f=fopen($this->_getfontpath().$file,'rb',1); - if(!$f) - $this->Error('Font file not found'); - while(!feof($f)) - $font.=fread($f,8192); - fclose($f); - $compressed=(substr($file,-2)=='.z'); - if(!$compressed && isset($info['length2'])) - { - $header=(ord($font[0])==128); - if($header) - { - //Strip first binary header - $font=substr($font,6); - } - if($header && ord($font[$info['length1']])==128) - { - //Strip second binary header - $font=substr($font,0,$info['length1']).substr($font,$info['length1']+6); - } - } - $this->_out('<_out('/Filter /FlateDecode'); - $this->_out('/Length1 '.$info['length1']); - if(isset($info['length2'])) - $this->_out('/Length2 '.$info['length2'].' /Length3 0'); - $this->_out('>>'); - $this->_putstream($font); - $this->_out('endobj'); - } - foreach($this->fonts as $k=>$font) - { - //Font objects - $this->fonts[$k]['n']=$this->n+1; - $type=$font['type']; - $name=$font['name']; - if($type=='core') - { - //Standard font - $this->_newobj(); - $this->_out('<_out('/BaseFont /'.$name); - $this->_out('/Subtype /Type1'); - if($name!='Symbol' && $name!='ZapfDingbats') - $this->_out('/Encoding /WinAnsiEncoding'); - $this->_out('>>'); - $this->_out('endobj'); - } - elseif($type=='Type1' || $type=='TrueType') - { - //Additional Type1 or TrueType font - $this->_newobj(); - $this->_out('<_out('/BaseFont /'.$name); - $this->_out('/Subtype /'.$type); - $this->_out('/FirstChar 32 /LastChar 255'); - $this->_out('/Widths '.($this->n+1).' 0 R'); - $this->_out('/FontDescriptor '.($this->n+2).' 0 R'); - if($font['enc']) - { - if(isset($font['diff'])) - $this->_out('/Encoding '.($nf+$font['diff']).' 0 R'); - else - $this->_out('/Encoding /WinAnsiEncoding'); - } - $this->_out('>>'); - $this->_out('endobj'); - //Widths - $this->_newobj(); - $cw=&$font['cw']; - $s='['; - for($i=32;$i<=255;$i++) - $s.=$cw[chr($i)].' '; - $this->_out($s.']'); - $this->_out('endobj'); - //Descriptor - $this->_newobj(); - $s='<$v) - $s.=' /'.$k.' '.$v; - $file=$font['file']; - if($file) - $s.=' /FontFile'.($type=='Type1' ? '' : '2').' '.$this->FontFiles[$file]['n'].' 0 R'; - $this->_out($s.'>>'); - $this->_out('endobj'); - } - else - { - //Allow for additional types - $mtd='_put'.strtolower($type); - if(!method_exists($this,$mtd)) - $this->Error('Unsupported font type: '.$type); - $this->$mtd($font); - } - } -} - -function _putimages() -{ - $filter=($this->compress) ? '/Filter /FlateDecode ' : ''; - reset($this->images); - while(list($file,$info)=each($this->images)) - { - $this->_newobj(); - $this->images[$file]['n']=$this->n; - $this->_out('<_out('/Subtype /Image'); - $this->_out('/Width '.$info['w']); - $this->_out('/Height '.$info['h']); - if($info['cs']=='Indexed') - $this->_out('/ColorSpace [/Indexed /DeviceRGB '.(strlen($info['pal'])/3-1).' '.($this->n+1).' 0 R]'); - else - { - $this->_out('/ColorSpace /'.$info['cs']); - if($info['cs']=='DeviceCMYK') - $this->_out('/Decode [1 0 1 0 1 0 1 0]'); - } - $this->_out('/BitsPerComponent '.$info['bpc']); - if(isset($info['f'])) - $this->_out('/Filter /'.$info['f']); - if(isset($info['parms'])) - $this->_out($info['parms']); - if(isset($info['trns']) && is_array($info['trns'])) - { - $trns=''; - for($i=0;$i_out('/Mask ['.$trns.']'); - } - $this->_out('/Length '.strlen($info['data']).'>>'); - $this->_putstream($info['data']); - unset($this->images[$file]['data']); - $this->_out('endobj'); - //Palette - if($info['cs']=='Indexed') - { - $this->_newobj(); - $pal=($this->compress) ? gzcompress($info['pal']) : $info['pal']; - $this->_out('<<'.$filter.'/Length '.strlen($pal).'>>'); - $this->_putstream($pal); - $this->_out('endobj'); - } - } -} - -function _putxobjectdict() -{ - foreach($this->images as $image) - $this->_out('/I'.$image['i'].' '.$image['n'].' 0 R'); -} - -function _putresourcedict() -{ - $this->_out('/ProcSet [/PDF /Text /ImageB /ImageC /ImageI]'); - $this->_out('/Font <<'); - foreach($this->fonts as $font) - $this->_out('/F'.$font['i'].' '.$font['n'].' 0 R'); - $this->_out('>>'); - $this->_out('/XObject <<'); - $this->_putxobjectdict(); - $this->_out('>>'); -} - -function _putresources() -{ - $this->_putfonts(); - $this->_putimages(); - //Resource dictionary - $this->offsets[2]=strlen($this->buffer); - $this->_out('2 0 obj'); - $this->_out('<<'); - $this->_putresourcedict(); - $this->_out('>>'); - $this->_out('endobj'); -} - -function _putinfo() -{ - $this->_out('/Producer '.$this->_textstring('FPDF '.FPDF_VERSION)); - if(!empty($this->title)) - $this->_out('/Title '.$this->_textstring($this->title)); - if(!empty($this->subject)) - $this->_out('/Subject '.$this->_textstring($this->subject)); - if(!empty($this->author)) - $this->_out('/Author '.$this->_textstring($this->author)); - if(!empty($this->keywords)) - $this->_out('/Keywords '.$this->_textstring($this->keywords)); - if(!empty($this->creator)) - $this->_out('/Creator '.$this->_textstring($this->creator)); - $this->_out('/CreationDate '.$this->_textstring('D:'.@date('YmdHis'))); -} - -function _putcatalog() -{ - $this->_out('/Type /Catalog'); - $this->_out('/Pages 1 0 R'); - if($this->ZoomMode=='fullpage') - $this->_out('/OpenAction [3 0 R /Fit]'); - elseif($this->ZoomMode=='fullwidth') - $this->_out('/OpenAction [3 0 R /FitH null]'); - elseif($this->ZoomMode=='real') - $this->_out('/OpenAction [3 0 R /XYZ null null 1]'); - elseif(!is_string($this->ZoomMode)) - $this->_out('/OpenAction [3 0 R /XYZ null null '.($this->ZoomMode/100).']'); - if($this->LayoutMode=='single') - $this->_out('/PageLayout /SinglePage'); - elseif($this->LayoutMode=='continuous') - $this->_out('/PageLayout /OneColumn'); - elseif($this->LayoutMode=='two') - $this->_out('/PageLayout /TwoColumnLeft'); -} - -function _putheader() -{ - $this->_out('%PDF-'.$this->PDFVersion); -} - -function _puttrailer() -{ - $this->_out('/Size '.($this->n+1)); - $this->_out('/Root '.$this->n.' 0 R'); - $this->_out('/Info '.($this->n-1).' 0 R'); -} - -function _enddoc() -{ - $this->_putheader(); - $this->_putpages(); - $this->_putresources(); - //Info - $this->_newobj(); - $this->_out('<<'); - $this->_putinfo(); - $this->_out('>>'); - $this->_out('endobj'); - //Catalog - $this->_newobj(); - $this->_out('<<'); - $this->_putcatalog(); - $this->_out('>>'); - $this->_out('endobj'); - //Cross-ref - $o=strlen($this->buffer); - $this->_out('xref'); - $this->_out('0 '.($this->n+1)); - $this->_out('0000000000 65535 f '); - for($i=1;$i<=$this->n;$i++) - $this->_out(sprintf('%010d 00000 n ',$this->offsets[$i])); - //Trailer - $this->_out('trailer'); - $this->_out('<<'); - $this->_puttrailer(); - $this->_out('>>'); - $this->_out('startxref'); - $this->_out($o); - $this->_out('%%EOF'); - $this->state=3; -} -//End of class -} - -//Handle special IE contype request -if(isset($_SERVER['HTTP_USER_AGENT']) && $_SERVER['HTTP_USER_AGENT']=='contype') -{ - header('Content-Type: application/pdf'); - exit; -} - -?> diff --git a/tools/fpdf/index.php b/tools/fpdf/index.php deleted file mode 100644 index 15aba8204..000000000 --- a/tools/fpdf/index.php +++ /dev/null @@ -1,11 +0,0 @@ - 0, "AP" => 1, "EU" => 2, "AD" => 3, "AE" => 4, "AF" => 5, -"AG" => 6, "AI" => 7, "AL" => 8, "AM" => 9, "AN" => 10, "AO" => 11, -"AQ" => 12, "AR" => 13, "AS" => 14, "AT" => 15, "AU" => 16, "AW" => 17, -"AZ" => 18, "BA" => 19, "BB" => 20, "BD" => 21, "BE" => 22, "BF" => 23, -"BG" => 24, "BH" => 25, "BI" => 26, "BJ" => 27, "BM" => 28, "BN" => 29, -"BO" => 30, "BR" => 31, "BS" => 32, "BT" => 33, "BV" => 34, "BW" => 35, -"BY" => 36, "BZ" => 37, "CA" => 38, "CC" => 39, "CD" => 40, "CF" => 41, -"CG" => 42, "CH" => 43, "CI" => 44, "CK" => 45, "CL" => 46, "CM" => 47, -"CN" => 48, "CO" => 49, "CR" => 50, "CU" => 51, "CV" => 52, "CX" => 53, -"CY" => 54, "CZ" => 55, "DE" => 56, "DJ" => 57, "DK" => 58, "DM" => 59, -"DO" => 60, "DZ" => 61, "EC" => 62, "EE" => 63, "EG" => 64, "EH" => 65, -"ER" => 66, "ES" => 67, "ET" => 68, "FI" => 69, "FJ" => 70, "FK" => 71, -"FM" => 72, "FO" => 73, "FR" => 74, "FX" => 75, "GA" => 76, "GB" => 77, -"GD" => 78, "GE" => 79, "GF" => 80, "GH" => 81, "GI" => 82, "GL" => 83, -"GM" => 84, "GN" => 85, "GP" => 86, "GQ" => 87, "GR" => 88, "GS" => 89, -"GT" => 90, "GU" => 91, "GW" => 92, "GY" => 93, "HK" => 94, "HM" => 95, -"HN" => 96, "HR" => 97, "HT" => 98, "HU" => 99, "ID" => 100, "IE" => 101, -"IL" => 102, "IN" => 103, "IO" => 104, "IQ" => 105, "IR" => 106, "IS" => 107, -"IT" => 108, "JM" => 109, "JO" => 110, "JP" => 111, "KE" => 112, "KG" => 113, -"KH" => 114, "KI" => 115, "KM" => 116, "KN" => 117, "KP" => 118, "KR" => 119, -"KW" => 120, "KY" => 121, "KZ" => 122, "LA" => 123, "LB" => 124, "LC" => 125, -"LI" => 126, "LK" => 127, "LR" => 128, "LS" => 129, "LT" => 130, "LU" => 131, -"LV" => 132, "LY" => 133, "MA" => 134, "MC" => 135, "MD" => 136, "MG" => 137, -"MH" => 138, "MK" => 139, "ML" => 140, "MM" => 141, "MN" => 142, "MO" => 143, -"MP" => 144, "MQ" => 145, "MR" => 146, "MS" => 147, "MT" => 148, "MU" => 149, -"MV" => 150, "MW" => 151, "MX" => 152, "MY" => 153, "MZ" => 154, "NA" => 155, -"NC" => 156, "NE" => 157, "NF" => 158, "NG" => 159, "NI" => 160, "NL" => 161, -"NO" => 162, "NP" => 163, "NR" => 164, "NU" => 165, "NZ" => 166, "OM" => 167, -"PA" => 168, "PE" => 169, "PF" => 170, "PG" => 171, "PH" => 172, "PK" => 173, -"PL" => 174, "PM" => 175, "PN" => 176, "PR" => 177, "PS" => 178, "PT" => 179, -"PW" => 180, "PY" => 181, "QA" => 182, "RE" => 183, "RO" => 184, "RU" => 185, -"RW" => 186, "SA" => 187, "SB" => 188, "SC" => 189, "SD" => 190, "SE" => 191, -"SG" => 192, "SH" => 193, "SI" => 194, "SJ" => 195, "SK" => 196, "SL" => 197, -"SM" => 198, "SN" => 199, "SO" => 200, "SR" => 201, "ST" => 202, "SV" => 203, -"SY" => 204, "SZ" => 205, "TC" => 206, "TD" => 207, "TF" => 208, "TG" => 209, -"TH" => 210, "TJ" => 211, "TK" => 212, "TM" => 213, "TN" => 214, "TO" => 215, -"TL" => 216, "TR" => 217, "TT" => 218, "TV" => 219, "TW" => 220, "TZ" => 221, -"UA" => 222, "UG" => 223, "UM" => 224, "US" => 225, "UY" => 226, "UZ" => 227, -"VA" => 228, "VC" => 229, "VE" => 230, "VG" => 231, "VI" => 232, "VN" => 233, -"VU" => 234, "WF" => 235, "WS" => 236, "YE" => 237, "YT" => 238, "RS" => 239, -"ZA" => 240, "ZM" => 241, "ME" => 242, "ZW" => 243, "A1" => 244, "A2" => 245, -"O1" => 246, "AX" => 247, "GG" => 248, "IM" => 249, "JE" => 250, "BL" => 251, -"MF" => 252 -); - var $GEOIP_COUNTRY_CODES = array( -"", "AP", "EU", "AD", "AE", "AF", "AG", "AI", "AL", "AM", "AN", "AO", "AQ", -"AR", "AS", "AT", "AU", "AW", "AZ", "BA", "BB", "BD", "BE", "BF", "BG", "BH", -"BI", "BJ", "BM", "BN", "BO", "BR", "BS", "BT", "BV", "BW", "BY", "BZ", "CA", -"CC", "CD", "CF", "CG", "CH", "CI", "CK", "CL", "CM", "CN", "CO", "CR", "CU", -"CV", "CX", "CY", "CZ", "DE", "DJ", "DK", "DM", "DO", "DZ", "EC", "EE", "EG", -"EH", "ER", "ES", "ET", "FI", "FJ", "FK", "FM", "FO", "FR", "FX", "GA", "GB", -"GD", "GE", "GF", "GH", "GI", "GL", "GM", "GN", "GP", "GQ", "GR", "GS", "GT", -"GU", "GW", "GY", "HK", "HM", "HN", "HR", "HT", "HU", "ID", "IE", "IL", "IN", -"IO", "IQ", "IR", "IS", "IT", "JM", "JO", "JP", "KE", "KG", "KH", "KI", "KM", -"KN", "KP", "KR", "KW", "KY", "KZ", "LA", "LB", "LC", "LI", "LK", "LR", "LS", -"LT", "LU", "LV", "LY", "MA", "MC", "MD", "MG", "MH", "MK", "ML", "MM", "MN", -"MO", "MP", "MQ", "MR", "MS", "MT", "MU", "MV", "MW", "MX", "MY", "MZ", "NA", -"NC", "NE", "NF", "NG", "NI", "NL", "NO", "NP", "NR", "NU", "NZ", "OM", "PA", -"PE", "PF", "PG", "PH", "PK", "PL", "PM", "PN", "PR", "PS", "PT", "PW", "PY", -"QA", "RE", "RO", "RU", "RW", "SA", "SB", "SC", "SD", "SE", "SG", "SH", "SI", -"SJ", "SK", "SL", "SM", "SN", "SO", "SR", "ST", "SV", "SY", "SZ", "TC", "TD", -"TF", "TG", "TH", "TJ", "TK", "TM", "TN", "TO", "TL", "TR", "TT", "TV", "TW", -"TZ", "UA", "UG", "UM", "US", "UY", "UZ", "VA", "VC", "VE", "VG", "VI", "VN", -"VU", "WF", "WS", "YE", "YT", "RS", "ZA", "ZM", "ME", "ZW", "A1", "A2", "O1", -"AX", "GG", "IM", "JE", "BL", "MF" -); - var $GEOIP_COUNTRY_CODES3 = array( -"","AP","EU","AND","ARE","AFG","ATG","AIA","ALB","ARM","ANT","AGO","ATA","ARG", -"ASM","AUT","AUS","ABW","AZE","BIH","BRB","BGD","BEL","BFA","BGR","BHR","BDI", -"BEN","BMU","BRN","BOL","BRA","BHS","BTN","BVT","BWA","BLR","BLZ","CAN","CCK", -"COD","CAF","COG","CHE","CIV","COK","CHL","CMR","CHN","COL","CRI","CUB","CPV", -"CXR","CYP","CZE","DEU","DJI","DNK","DMA","DOM","DZA","ECU","EST","EGY","ESH", -"ERI","ESP","ETH","FIN","FJI","FLK","FSM","FRO","FRA","FX","GAB","GBR","GRD", -"GEO","GUF","GHA","GIB","GRL","GMB","GIN","GLP","GNQ","GRC","SGS","GTM","GUM", -"GNB","GUY","HKG","HMD","HND","HRV","HTI","HUN","IDN","IRL","ISR","IND","IOT", -"IRQ","IRN","ISL","ITA","JAM","JOR","JPN","KEN","KGZ","KHM","KIR","COM","KNA", -"PRK","KOR","KWT","CYM","KAZ","LAO","LBN","LCA","LIE","LKA","LBR","LSO","LTU", -"LUX","LVA","LBY","MAR","MCO","MDA","MDG","MHL","MKD","MLI","MMR","MNG","MAC", -"MNP","MTQ","MRT","MSR","MLT","MUS","MDV","MWI","MEX","MYS","MOZ","NAM","NCL", -"NER","NFK","NGA","NIC","NLD","NOR","NPL","NRU","NIU","NZL","OMN","PAN","PER", -"PYF","PNG","PHL","PAK","POL","SPM","PCN","PRI","PSE","PRT","PLW","PRY","QAT", -"REU","ROU","RUS","RWA","SAU","SLB","SYC","SDN","SWE","SGP","SHN","SVN","SJM", -"SVK","SLE","SMR","SEN","SOM","SUR","STP","SLV","SYR","SWZ","TCA","TCD","ATF", -"TGO","THA","TJK","TKL","TLS","TKM","TUN","TON","TUR","TTO","TUV","TWN","TZA", -"UKR","UGA","UMI","USA","URY","UZB","VAT","VCT","VEN","VGB","VIR","VNM","VUT", -"WLF","WSM","YEM","MYT","SRB","ZAF","ZMB","MNE","ZWE","A1","A2","O1", -"ALA","GGY","IMN","JEY","BLM","MAF" - ); - var $GEOIP_COUNTRY_NAMES = array( -"", "Asia/Pacific Region", "Europe", "Andorra", "United Arab Emirates", -"Afghanistan", "Antigua and Barbuda", "Anguilla", "Albania", "Armenia", -"Netherlands Antilles", "Angola", "Antarctica", "Argentina", "American Samoa", -"Austria", "Australia", "Aruba", "Azerbaijan", "Bosnia and Herzegovina", -"Barbados", "Bangladesh", "Belgium", "Burkina Faso", "Bulgaria", "Bahrain", -"Burundi", "Benin", "Bermuda", "Brunei Darussalam", "Bolivia", "Brazil", -"Bahamas", "Bhutan", "Bouvet Island", "Botswana", "Belarus", "Belize", -"Canada", "Cocos (Keeling) Islands", "Congo, The Democratic Republic of the", -"Central African Republic", "Congo", "Switzerland", "Cote D'Ivoire", "Cook Islands", -"Chile", "Cameroon", "China", "Colombia", "Costa Rica", "Cuba", "Cape Verde", -"Christmas Island", "Cyprus", "Czech Republic", "Germany", "Djibouti", -"Denmark", "Dominica", "Dominican Republic", "Algeria", "Ecuador", "Estonia", -"Egypt", "Western Sahara", "Eritrea", "Spain", "Ethiopia", "Finland", "Fiji", -"Falkland Islands (Malvinas)", "Micronesia, Federated States of", "Faroe Islands", -"France", "France, Metropolitan", "Gabon", "United Kingdom", -"Grenada", "Georgia", "French Guiana", "Ghana", "Gibraltar", "Greenland", -"Gambia", "Guinea", "Guadeloupe", "Equatorial Guinea", "Greece", "South Georgia and the South Sandwich Islands", -"Guatemala", "Guam", "Guinea-Bissau", -"Guyana", "Hong Kong", "Heard Island and McDonald Islands", "Honduras", -"Croatia", "Haiti", "Hungary", "Indonesia", "Ireland", "Israel", "India", -"British Indian Ocean Territory", "Iraq", "Iran, Islamic Republic of", -"Iceland", "Italy", "Jamaica", "Jordan", "Japan", "Kenya", "Kyrgyzstan", -"Cambodia", "Kiribati", "Comoros", "Saint Kitts and Nevis", "Korea, Democratic People's Republic of", -"Korea, Republic of", "Kuwait", "Cayman Islands", -"Kazakhstan", "Lao People's Democratic Republic", "Lebanon", "Saint Lucia", -"Liechtenstein", "Sri Lanka", "Liberia", "Lesotho", "Lithuania", "Luxembourg", -"Latvia", "Libyan Arab Jamahiriya", "Morocco", "Monaco", "Moldova, Republic of", -"Madagascar", "Marshall Islands", "Macedonia", -"Mali", "Myanmar", "Mongolia", "Macau", "Northern Mariana Islands", -"Martinique", "Mauritania", "Montserrat", "Malta", "Mauritius", "Maldives", -"Malawi", "Mexico", "Malaysia", "Mozambique", "Namibia", "New Caledonia", -"Niger", "Norfolk Island", "Nigeria", "Nicaragua", "Netherlands", "Norway", -"Nepal", "Nauru", "Niue", "New Zealand", "Oman", "Panama", "Peru", "French Polynesia", -"Papua New Guinea", "Philippines", "Pakistan", "Poland", "Saint Pierre and Miquelon", -"Pitcairn Islands", "Puerto Rico", "Palestinian Territory", -"Portugal", "Palau", "Paraguay", "Qatar", "Reunion", "Romania", -"Russian Federation", "Rwanda", "Saudi Arabia", "Solomon Islands", -"Seychelles", "Sudan", "Sweden", "Singapore", "Saint Helena", "Slovenia", -"Svalbard and Jan Mayen", "Slovakia", "Sierra Leone", "San Marino", "Senegal", -"Somalia", "Suriname", "Sao Tome and Principe", "El Salvador", "Syrian Arab Republic", -"Swaziland", "Turks and Caicos Islands", "Chad", "French Southern Territories", -"Togo", "Thailand", "Tajikistan", "Tokelau", "Turkmenistan", -"Tunisia", "Tonga", "Timor-Leste", "Turkey", "Trinidad and Tobago", "Tuvalu", -"Taiwan", "Tanzania, United Republic of", "Ukraine", -"Uganda", "United States Minor Outlying Islands", "United States", "Uruguay", -"Uzbekistan", "Holy See (Vatican City State)", "Saint Vincent and the Grenadines", -"Venezuela", "Virgin Islands, British", "Virgin Islands, U.S.", -"Vietnam", "Vanuatu", "Wallis and Futuna", "Samoa", "Yemen", "Mayotte", -"Serbia", "South Africa", "Zambia", "Montenegro", "Zimbabwe", -"Anonymous Proxy","Satellite Provider","Other", -"Aland Islands","Guernsey","Isle of Man","Jersey","Saint Barthelemy","Saint Martin" -); - - var $GEOIP_CONTINENT_CODES = array( - "--", "AS", "EU", "EU", "AS", "AS", "NA", "NA", "EU", "AS", - "NA", "AF", "AN", "SA", "OC", "EU", "OC", "NA", "AS", "EU", - "NA", "AS", "EU", "AF", "EU", "AS", "AF", "AF", "NA", "AS", - "SA", "SA", "NA", "AS", "AN", "AF", "EU", "NA", "NA", "AS", - "AF", "AF", "AF", "EU", "AF", "OC", "SA", "AF", "AS", "SA", - "NA", "NA", "AF", "AS", "AS", "EU", "EU", "AF", "EU", "NA", - "NA", "AF", "SA", "EU", "AF", "AF", "AF", "EU", "AF", "EU", - "OC", "SA", "OC", "EU", "EU", "EU", "AF", "EU", "NA", "AS", - "SA", "AF", "EU", "NA", "AF", "AF", "NA", "AF", "EU", "AN", - "NA", "OC", "AF", "SA", "AS", "AN", "NA", "EU", "NA", "EU", - "AS", "EU", "AS", "AS", "AS", "AS", "AS", "EU", "EU", "NA", - "AS", "AS", "AF", "AS", "AS", "OC", "AF", "NA", "AS", "AS", - "AS", "NA", "AS", "AS", "AS", "NA", "EU", "AS", "AF", "AF", - "EU", "EU", "EU", "AF", "AF", "EU", "EU", "AF", "OC", "EU", - "AF", "AS", "AS", "AS", "OC", "NA", "AF", "NA", "EU", "AF", - "AS", "AF", "NA", "AS", "AF", "AF", "OC", "AF", "OC", "AF", - "NA", "EU", "EU", "AS", "OC", "OC", "OC", "AS", "NA", "SA", - "OC", "OC", "AS", "AS", "EU", "NA", "OC", "NA", "AS", "EU", - "OC", "SA", "AS", "AF", "EU", "EU", "AF", "AS", "OC", "AF", - "AF", "EU", "AS", "AF", "EU", "EU", "EU", "AF", "EU", "AF", - "AF", "SA", "AF", "NA", "AS", "AF", "NA", "AF", "AN", "AF", - "AS", "AS", "OC", "AS", "AF", "OC", "AS", "EU", "NA", "OC", - "AS", "AF", "EU", "AF", "OC", "NA", "SA", "AS", "EU", "NA", - "SA", "NA", "NA", "AS", "OC", "OC", "OC", "AS", "AF", "EU", - "AF", "AF", "EU", "AF", "--", "--", "--", "EU", "EU", "EU", - "EU", "NA", "NA" -); - -} -function geoip_load_shared_mem ($file) { - - $fp = fopen($file, "rb"); - if (!$fp) { - print "error opening $file: $php_errormsg\n"; - exit; - } - $s_array = fstat($fp); - $size = $s_array['size']; - if ($shmid = @shmop_open (GEOIP_SHM_KEY, "w", 0, 0)) { - shmop_delete ($shmid); - shmop_close ($shmid); - } - $shmid = shmop_open (GEOIP_SHM_KEY, "c", 0644, $size); - shmop_write ($shmid, fread($fp, $size), 0); - shmop_close ($shmid); -} - -function _setup_segments($gi){ - $gi->databaseType = GEOIP_COUNTRY_EDITION; - $gi->record_length = STANDARD_RECORD_LENGTH; - if ($gi->flags & GEOIP_SHARED_MEMORY) { - $offset = @shmop_size ($gi->shmid) - 3; - for ($i = 0; $i < STRUCTURE_INFO_MAX_SIZE; $i++) { - $delim = @shmop_read ($gi->shmid, $offset, 3); - $offset += 3; - if ($delim == (chr(255).chr(255).chr(255))) { - $gi->databaseType = ord(@shmop_read ($gi->shmid, $offset, 1)); - $offset++; - - if ($gi->databaseType == GEOIP_REGION_EDITION_REV0){ - $gi->databaseSegments = GEOIP_STATE_BEGIN_REV0; - } else if ($gi->databaseType == GEOIP_REGION_EDITION_REV1){ - $gi->databaseSegments = GEOIP_STATE_BEGIN_REV1; - } else if (($gi->databaseType == GEOIP_CITY_EDITION_REV0)|| - ($gi->databaseType == GEOIP_CITY_EDITION_REV1) - || ($gi->databaseType == GEOIP_ORG_EDITION) - || ($gi->databaseType == GEOIP_DOMAIN_EDITION) - || ($gi->databaseType == GEOIP_ISP_EDITION) - || ($gi->databaseType == GEOIP_LOCATIONA_EDITION) - || ($gi->databaseType == GEOIP_ACCURACYRADIUS_EDITION) - || ($gi->databaseType == GEOIP_ASNUM_EDITION)){ - $gi->databaseSegments = 0; - $buf = @shmop_read ($gi->shmid, $offset, SEGMENT_RECORD_LENGTH); - for ($j = 0;$j < SEGMENT_RECORD_LENGTH;$j++){ - $gi->databaseSegments += (ord($buf[$j]) << ($j * 8)); - } - if (($gi->databaseType == GEOIP_ORG_EDITION) - || ($gi->databaseType == GEOIP_DOMAIN_EDITION) - || ($gi->databaseType == GEOIP_ISP_EDITION)) { - $gi->record_length = ORG_RECORD_LENGTH; - } - } - break; - } else { - $offset -= 4; - } - } - if (($gi->databaseType == GEOIP_COUNTRY_EDITION)|| - ($gi->databaseType == GEOIP_PROXY_EDITION)|| - ($gi->databaseType == GEOIP_NETSPEED_EDITION)){ - $gi->databaseSegments = GEOIP_COUNTRY_BEGIN; - } - } else { - $filepos = ftell($gi->filehandle); - fseek($gi->filehandle, -3, SEEK_END); - for ($i = 0; $i < STRUCTURE_INFO_MAX_SIZE; $i++) { - $delim = fread($gi->filehandle,3); - if ($delim == (chr(255).chr(255).chr(255))){ - $gi->databaseType = ord(fread($gi->filehandle,1)); - if ($gi->databaseType == GEOIP_REGION_EDITION_REV0){ - $gi->databaseSegments = GEOIP_STATE_BEGIN_REV0; - } - else if ($gi->databaseType == GEOIP_REGION_EDITION_REV1){ - $gi->databaseSegments = GEOIP_STATE_BEGIN_REV1; - } else if (($gi->databaseType == GEOIP_CITY_EDITION_REV0) - || ($gi->databaseType == GEOIP_CITY_EDITION_REV1) - || ($gi->databaseType == GEOIP_ORG_EDITION) - || ($gi->databaseType == GEOIP_DOMAIN_EDITION) - || ($gi->databaseType == GEOIP_ISP_EDITION) - || ($gi->databaseType == GEOIP_LOCATIONA_EDITION) - || ($gi->databaseType == GEOIP_ACCURACYRADIUS_EDITION) - || ($gi->databaseType == GEOIP_ASNUM_EDITION)){ - $gi->databaseSegments = 0; - $buf = fread($gi->filehandle,SEGMENT_RECORD_LENGTH); - for ($j = 0;$j < SEGMENT_RECORD_LENGTH;$j++){ - $gi->databaseSegments += (ord($buf[$j]) << ($j * 8)); - } - if ( ( $gi->databaseType == GEOIP_ORG_EDITION ) - || ( $gi->databaseType == GEOIP_DOMAIN_EDITION ) - || ( $gi->databaseType == GEOIP_ISP_EDITION ) ) { - $gi->record_length = ORG_RECORD_LENGTH; - } - } - break; - } else { - fseek($gi->filehandle, -4, SEEK_CUR); - } - } - if (($gi->databaseType == GEOIP_COUNTRY_EDITION)|| - ($gi->databaseType == GEOIP_PROXY_EDITION)|| - ($gi->databaseType == GEOIP_NETSPEED_EDITION)){ - $gi->databaseSegments = GEOIP_COUNTRY_BEGIN; - } - fseek($gi->filehandle,$filepos,SEEK_SET); - } - return $gi; -} - -function geoip_open($filename, $flags) { - $gi = new GeoIP; - $gi->flags = $flags; - if ($gi->flags & GEOIP_SHARED_MEMORY) { - $gi->shmid = @shmop_open (GEOIP_SHM_KEY, "a", 0, 0); - } else { - $gi->filehandle = fopen($filename,"rb") or die( "Can not open $filename\n" ); - if ($gi->flags & GEOIP_MEMORY_CACHE) { - $s_array = fstat($gi->filehandle); - $gi->memory_buffer = fread($gi->filehandle, $s_array['size']); - } - } - - $gi = _setup_segments($gi); - return $gi; -} - -function geoip_close($gi) { - if ($gi->flags & GEOIP_SHARED_MEMORY) { - return true; - } - - return fclose($gi->filehandle); -} - -function geoip_country_id_by_name($gi, $name) { - $addr = gethostbyname($name); - if (!$addr || $addr == $name) { - return false; - } - return geoip_country_id_by_addr($gi, $addr); -} - -function geoip_country_code_by_name($gi, $name) { - $country_id = geoip_country_id_by_name($gi,$name); - if ($country_id !== false) { - return $gi->GEOIP_COUNTRY_CODES[$country_id]; - } - return false; -} - -function geoip_country_name_by_name($gi, $name) { - $country_id = geoip_country_id_by_name($gi,$name); - if ($country_id !== false) { - return $gi->GEOIP_COUNTRY_NAMES[$country_id]; - } - return false; -} - -function geoip_country_id_by_addr($gi, $addr) { - $ipnum = ip2long($addr); - return _geoip_seek_country($gi, $ipnum) - GEOIP_COUNTRY_BEGIN; -} - -function geoip_country_code_by_addr($gi, $addr) { - if ($gi->databaseType == GEOIP_CITY_EDITION_REV1) { - $record = geoip_record_by_addr($gi,$addr); - if ( $record !== false ) { - return $record->country_code; - } - } else { - $country_id = geoip_country_id_by_addr($gi,$addr); - if ($country_id !== false) { - return $gi->GEOIP_COUNTRY_CODES[$country_id]; - } - } - return false; -} - -function geoip_country_name_by_addr($gi, $addr) { - if ($gi->databaseType == GEOIP_CITY_EDITION_REV1) { - $record = geoip_record_by_addr($gi,$addr); - return $record->country_name; - } else { - $country_id = geoip_country_id_by_addr($gi,$addr); - if ($country_id !== false) { - return $gi->GEOIP_COUNTRY_NAMES[$country_id]; - } - } - return false; -} - -function _geoip_seek_country($gi, $ipnum) { - $offset = 0; - for ($depth = 31; $depth >= 0; --$depth) { - if ($gi->flags & GEOIP_MEMORY_CACHE) { - // workaround php's broken substr, strpos, etc handling with - // mbstring.func_overload and mbstring.internal_encoding - $enc = mb_internal_encoding(); - mb_internal_encoding('ISO-8859-1'); - - $buf = substr($gi->memory_buffer, - 2 * $gi->record_length * $offset, - 2 * $gi->record_length); - - mb_internal_encoding($enc); - } elseif ($gi->flags & GEOIP_SHARED_MEMORY) { - $buf = @shmop_read ($gi->shmid, - 2 * $gi->record_length * $offset, - 2 * $gi->record_length ); - } else { - fseek($gi->filehandle, 2 * $gi->record_length * $offset, SEEK_SET) == 0 - or die("fseek failed"); - $buf = fread($gi->filehandle, 2 * $gi->record_length); - } - $x = array(0,0); - for ($i = 0; $i < 2; ++$i) { - for ($j = 0; $j < $gi->record_length; ++$j) { - $x[$i] += ord($buf[$gi->record_length * $i + $j]) << ($j * 8); - } - } - if ($ipnum & (1 << $depth)) { - if ($x[1] >= $gi->databaseSegments) { - return $x[1]; - } - $offset = $x[1]; - } else { - if ($x[0] >= $gi->databaseSegments) { - return $x[0]; - } - $offset = $x[0]; - } - } - trigger_error("error traversing database - perhaps it is corrupt?", E_USER_ERROR); - return false; -} - -function _get_org($gi,$ipnum){ - $seek_org = _geoip_seek_country($gi,$ipnum); - if ($seek_org == $gi->databaseSegments) { - return NULL; - } - $record_pointer = $seek_org + (2 * $gi->record_length - 1) * $gi->databaseSegments; - if ($gi->flags & GEOIP_SHARED_MEMORY) { - $org_buf = @shmop_read ($gi->shmid, $record_pointer, MAX_ORG_RECORD_LENGTH); - } else { - fseek($gi->filehandle, $record_pointer, SEEK_SET); - $org_buf = fread($gi->filehandle,MAX_ORG_RECORD_LENGTH); - } - // workaround php's broken substr, strpos, etc handling with - // mbstring.func_overload and mbstring.internal_encoding - $enc = mb_internal_encoding(); - mb_internal_encoding('ISO-8859-1'); - $org_buf = substr($org_buf, 0, strpos($org_buf, "\0")); - mb_internal_encoding($enc); - return $org_buf; -} - -function geoip_org_by_addr ($gi,$addr) { - if ($addr == NULL) { - return 0; - } - $ipnum = ip2long($addr); - return _get_org($gi, $ipnum); -} - -function _get_region($gi,$ipnum){ - if ($gi->databaseType == GEOIP_REGION_EDITION_REV0){ - $seek_region = _geoip_seek_country($gi,$ipnum) - GEOIP_STATE_BEGIN_REV0; - if ($seek_region >= 1000){ - $country_code = "US"; - $region = chr(($seek_region - 1000)/26 + 65) . chr(($seek_region - 1000)%26 + 65); - } else { - $country_code = $gi->GEOIP_COUNTRY_CODES[$seek_region]; - $region = ""; - } - return array ($country_code,$region); - } else if ($gi->databaseType == GEOIP_REGION_EDITION_REV1) { - $seek_region = _geoip_seek_country($gi,$ipnum) - GEOIP_STATE_BEGIN_REV1; - //print $seek_region; - if ($seek_region < US_OFFSET){ - $country_code = ""; - $region = ""; - } else if ($seek_region < CANADA_OFFSET) { - $country_code = "US"; - $region = chr(($seek_region - US_OFFSET)/26 + 65) . chr(($seek_region - US_OFFSET)%26 + 65); - } else if ($seek_region < WORLD_OFFSET) { - $country_code = "CA"; - $region = chr(($seek_region - CANADA_OFFSET)/26 + 65) . chr(($seek_region - CANADA_OFFSET)%26 + 65); - } else { - $country_code = $gi->GEOIP_COUNTRY_CODES[($seek_region - WORLD_OFFSET) / FIPS_RANGE]; - $region = ""; - } - return array ($country_code,$region); - } -} - -function geoip_region_by_addr ($gi,$addr) { - if ($addr == NULL) { - return 0; - } - $ipnum = ip2long($addr); - return _get_region($gi, $ipnum); -} - -function getdnsattributes ($l,$ip){ - $r = new Net_DNS_Resolver(); - $r->nameservers = array("ws1.maxmind.com"); - $p = $r->search($l."." . $ip .".s.maxmind.com","TXT","IN"); - $str = is_object($p->answer[0])?$p->answer[0]->string():''; - ereg("\"(.*)\"",$str,$regs); - $str = $regs[1]; - return $str; -} - -?> diff --git a/tools/geoip/geoipcity.inc b/tools/geoip/geoipcity.inc deleted file mode 100755 index 08efe52d9..000000000 --- a/tools/geoip/geoipcity.inc +++ /dev/null @@ -1,217 +0,0 @@ -country_code = $value; - } - if ($key == "ci"){ - $record->city = $value; - } - if ($key == "re"){ - $record->region = $value; - } - if ($key == "ac"){ - $record->areacode = $value; - } - if ($key == "dm" || $key == "me" ){ - $record->dmacode = $value; - $record->metrocode = $value; - } - if ($key == "is"){ - $record->isp = $value; - } - if ($key == "or"){ - $record->org = $value; - } - if ($key == "zi"){ - $record->postal_code = $value; - } - if ($key == "la"){ - $record->latitude = $value; - } - if ($key == "lo"){ - $record->longitude = $value; - } - } - $number = $GLOBALS['GEOIP_COUNTRY_CODE_TO_NUMBER'][$record->country_code]; - $record->country_code3 = $GLOBALS['GEOIP_COUNTRY_CODES3'][$number]; - $record->country_name = $GLOBALS['GEOIP_COUNTRY_NAMES'][$number]; - if ($record->region != "") { - if (($record->country_code == "US") || ($record->country_code == "CA")){ - $record->regionname = $GLOBALS['ISO'][$record->country_code][$record->region]; - } else { - $record->regionname = $GLOBALS['FIPS'][$record->country_code][$record->region]; - } - } - return $record; -} - -function _get_record($gi,$ipnum){ - $seek_country = _geoip_seek_country($gi,$ipnum); - if ($seek_country == $gi->databaseSegments) { - return NULL; - } - - // workaround php's broken substr, strpos, etc handling with - // mbstring.func_overload and mbstring.internal_encoding - $enc = mb_internal_encoding(); - mb_internal_encoding('ISO-8859-1'); - - $record_pointer = $seek_country + (2 * $gi->record_length - 1) * $gi->databaseSegments; - - if ($gi->flags & GEOIP_MEMORY_CACHE) { - $record_buf = substr($gi->memory_buffer,$record_pointer,FULL_RECORD_LENGTH); - } elseif ($gi->flags & GEOIP_SHARED_MEMORY){ - $record_buf = @shmop_read($gi->shmid,$record_pointer,FULL_RECORD_LENGTH); - } else { - fseek($gi->filehandle, $record_pointer, SEEK_SET); - $record_buf = fread($gi->filehandle,FULL_RECORD_LENGTH); - } - $record = new geoiprecord; - $record_buf_pos = 0; - $char = ord(substr($record_buf,$record_buf_pos,1)); - $record->country_code = $gi->GEOIP_COUNTRY_CODES[$char]; - $record->country_code3 = $gi->GEOIP_COUNTRY_CODES3[$char]; - $record->country_name = $gi->GEOIP_COUNTRY_NAMES[$char]; - $record->continent_code = $gi->GEOIP_CONTINENT_CODES[$char]; - $record_buf_pos++; - $str_length = 0; - // Get region - $char = ord(substr($record_buf,$record_buf_pos+$str_length,1)); - while ($char != 0){ - $str_length++; - $char = ord(substr($record_buf,$record_buf_pos+$str_length,1)); - } - if ($str_length > 0){ - $record->region = substr($record_buf,$record_buf_pos,$str_length); - } - $record_buf_pos += $str_length + 1; - $str_length = 0; - // Get city - $char = ord(substr($record_buf,$record_buf_pos+$str_length,1)); - while ($char != 0){ - $str_length++; - $char = ord(substr($record_buf,$record_buf_pos+$str_length,1)); - } - if ($str_length > 0){ - $record->city = substr($record_buf,$record_buf_pos,$str_length); - } - $record_buf_pos += $str_length + 1; - $str_length = 0; - // Get postal code - $char = ord(substr($record_buf,$record_buf_pos+$str_length,1)); - while ($char != 0){ - $str_length++; - $char = ord(substr($record_buf,$record_buf_pos+$str_length,1)); - } - if ($str_length > 0){ - $record->postal_code = substr($record_buf,$record_buf_pos,$str_length); - } - $record_buf_pos += $str_length + 1; - $str_length = 0; - // Get latitude and longitude - $latitude = 0; - $longitude = 0; - for ($j = 0;$j < 3; ++$j){ - $char = ord(substr($record_buf,$record_buf_pos++,1)); - $latitude += ($char << ($j * 8)); - } - $record->latitude = ($latitude/10000) - 180; - for ($j = 0;$j < 3; ++$j){ - $char = ord(substr($record_buf,$record_buf_pos++,1)); - $longitude += ($char << ($j * 8)); - } - $record->longitude = ($longitude/10000) - 180; - if (GEOIP_CITY_EDITION_REV1 == $gi->databaseType){ - $metroarea_combo = 0; - if ($record->country_code == "US"){ - for ($j = 0;$j < 3;++$j){ - $char = ord(substr($record_buf,$record_buf_pos++,1)); - $metroarea_combo += ($char << ($j * 8)); - } - $record->metro_code = $record->dma_code = floor($metroarea_combo/1000); - $record->area_code = $metroarea_combo%1000; - } - } - mb_internal_encoding($enc); - return $record; -} - -function GeoIP_record_by_addr ($gi,$addr){ - if ($addr == NULL){ - return 0; - } - $ipnum = ip2long($addr); - return _get_record($gi, $ipnum); -} - -?> diff --git a/tools/geoip/geoipregionvars.php b/tools/geoip/geoipregionvars.php deleted file mode 100755 index 4f34d2fd1..000000000 --- a/tools/geoip/geoipregionvars.php +++ /dev/null @@ -1,4191 +0,0 @@ - array( - "02" => "Canillo", - "03" => "Encamp", - "04" => "La Massana", - "05" => "Ordino", - "06" => "Sant Julia de Loria", - "07" => "Andorra la Vella", - "08" => "Escaldes-Engordany"), -"AE" => array( - "01" => "Abu Dhabi", - "02" => "Ajman", - "03" => "Dubai", - "04" => "Fujairah", - "05" => "Ras Al Khaimah", - "06" => "Sharjah", - "07" => "Umm Al Quwain"), -"AF" => array( - "01" => "Badakhshan", - "02" => "Badghis", - "03" => "Baghlan", - "05" => "Bamian", - "06" => "Farah", - "07" => "Faryab", - "08" => "Ghazni", - "09" => "Ghowr", - "10" => "Helmand", - "11" => "Herat", - "13" => "Kabol", - "14" => "Kapisa", - "17" => "Lowgar", - "18" => "Nangarhar", - "19" => "Nimruz", - "23" => "Kandahar", - "24" => "Kondoz", - "26" => "Takhar", - "27" => "Vardak", - "28" => "Zabol", - "29" => "Paktika", - "30" => "Balkh", - "31" => "Jowzjan", - "32" => "Samangan", - "33" => "Sar-e Pol", - "34" => "Konar", - "35" => "Laghman", - "36" => "Paktia", - "37" => "Khowst", - "38" => "Nurestan", - "39" => "Oruzgan", - "40" => "Parvan", - "41" => "Daykondi", - "42" => "Panjshir"), -"AG" => array( - "01" => "Barbuda", - "03" => "Saint George", - "04" => "Saint John", - "05" => "Saint Mary", - "06" => "Saint Paul", - "07" => "Saint Peter", - "08" => "Saint Philip", - "09" => "Redonda"), -"AL" => array( - "40" => "Berat", - "41" => "Diber", - "42" => "Durres", - "43" => "Elbasan", - "44" => "Fier", - "45" => "Gjirokaster", - "46" => "Korce", - "47" => "Kukes", - "48" => "Lezhe", - "49" => "Shkoder", - "50" => "Tirane", - "51" => "Vlore"), -"AM" => array( - "01" => "Aragatsotn", - "02" => "Ararat", - "03" => "Armavir", - "04" => "Geghark'unik'", - "05" => "Kotayk'", - "06" => "Lorri", - "07" => "Shirak", - "08" => "Syunik'", - "09" => "Tavush", - "10" => "Vayots' Dzor", - "11" => "Yerevan"), -"AO" => array( - "01" => "Benguela", - "02" => "Bie", - "03" => "Cabinda", - "04" => "Cuando Cubango", - "05" => "Cuanza Norte", - "06" => "Cuanza Sul", - "07" => "Cunene", - "08" => "Huambo", - "09" => "Huila", - "12" => "Malanje", - "13" => "Namibe", - "14" => "Moxico", - "15" => "Uige", - "16" => "Zaire", - "17" => "Lunda Norte", - "18" => "Lunda Sul", - "19" => "Bengo", - "20" => "Luanda"), -"AR" => array( - "01" => "Buenos Aires", - "02" => "Catamarca", - "03" => "Chaco", - "04" => "Chubut", - "05" => "Cordoba", - "06" => "Corrientes", - "07" => "Distrito Federal", - "08" => "Entre Rios", - "09" => "Formosa", - "10" => "Jujuy", - "11" => "La Pampa", - "12" => "La Rioja", - "13" => "Mendoza", - "14" => "Misiones", - "15" => "Neuquen", - "16" => "Rio Negro", - "17" => "Salta", - "18" => "San Juan", - "19" => "San Luis", - "20" => "Santa Cruz", - "21" => "Santa Fe", - "22" => "Santiago del Estero", - "23" => "Tierra del Fuego", - "24" => "Tucuman"), -"AT" => array( - "01" => "Burgenland", - "02" => "Karnten", - "03" => "Niederosterreich", - "04" => "Oberosterreich", - "05" => "Salzburg", - "06" => "Steiermark", - "07" => "Tirol", - "08" => "Vorarlberg", - "09" => "Wien"), -"AU" => array( - "01" => "Australian Capital Territory", - "02" => "New South Wales", - "03" => "Northern Territory", - "04" => "Queensland", - "05" => "South Australia", - "06" => "Tasmania", - "07" => "Victoria", - "08" => "Western Australia"), -"AZ" => array( - "01" => "Abseron", - "02" => "Agcabadi", - "03" => "Agdam", - "04" => "Agdas", - "05" => "Agstafa", - "06" => "Agsu", - "07" => "Ali Bayramli", - "08" => "Astara", - "09" => "Baki", - "10" => "Balakan", - "11" => "Barda", - "12" => "Beylaqan", - "13" => "Bilasuvar", - "14" => "Cabrayil", - "15" => "Calilabad", - "16" => "Daskasan", - "17" => "Davaci", - "18" => "Fuzuli", - "19" => "Gadabay", - "20" => "Ganca", - "21" => "Goranboy", - "22" => "Goycay", - "23" => "Haciqabul", - "24" => "Imisli", - "25" => "Ismayilli", - "26" => "Kalbacar", - "27" => "Kurdamir", - "28" => "Lacin", - "29" => "Lankaran", - "30" => "Lankaran", - "31" => "Lerik", - "32" => "Masalli", - "33" => "Mingacevir", - "34" => "Naftalan", - "35" => "Naxcivan", - "36" => "Neftcala", - "37" => "Oguz", - "38" => "Qabala", - "39" => "Qax", - "40" => "Qazax", - "41" => "Qobustan", - "42" => "Quba", - "43" => "Qubadli", - "44" => "Qusar", - "45" => "Saatli", - "46" => "Sabirabad", - "47" => "Saki", - "48" => "Saki", - "49" => "Salyan", - "50" => "Samaxi", - "51" => "Samkir", - "52" => "Samux", - "53" => "Siyazan", - "54" => "Sumqayit", - "55" => "Susa", - "56" => "Susa", - "57" => "Tartar", - "58" => "Tovuz", - "59" => "Ucar", - "60" => "Xacmaz", - "61" => "Xankandi", - "62" => "Xanlar", - "63" => "Xizi", - "64" => "Xocali", - "65" => "Xocavand", - "66" => "Yardimli", - "67" => "Yevlax", - "68" => "Yevlax", - "69" => "Zangilan", - "70" => "Zaqatala", - "71" => "Zardab"), -"BA" => array( - "01" => "Federation of Bosnia and Herzegovina", - "02" => "Republika Srpska"), -"BB" => array( - "01" => "Christ Church", - "02" => "Saint Andrew", - "03" => "Saint George", - "04" => "Saint James", - "05" => "Saint John", - "06" => "Saint Joseph", - "07" => "Saint Lucy", - "08" => "Saint Michael", - "09" => "Saint Peter", - "10" => "Saint Philip", - "11" => "Saint Thomas"), -"BD" => array( - "81" => "Dhaka", - "82" => "Khulna", - "83" => "Rajshahi", - "84" => "Chittagong", - "85" => "Barisal", - "86" => "Sylhet"), -"BE" => array( - "01" => "Antwerpen", - "03" => "Hainaut", - "04" => "Liege", - "05" => "Limburg", - "06" => "Luxembourg", - "07" => "Namur", - "08" => "Oost-Vlaanderen", - "09" => "West-Vlaanderen", - "10" => "Brabant Wallon", - "11" => "Brussels Hoofdstedelijk Gewest", - "12" => "Vlaams-Brabant"), -"BF" => array( - "15" => "Bam", - "19" => "Boulkiemde", - "20" => "Ganzourgou", - "21" => "Gnagna", - "28" => "Kouritenga", - "33" => "Oudalan", - "34" => "Passore", - "36" => "Sanguie", - "40" => "Soum", - "42" => "Tapoa", - "44" => "Zoundweogo", - "45" => "Bale", - "46" => "Banwa", - "47" => "Bazega", - "48" => "Bougouriba", - "49" => "Boulgou", - "50" => "Gourma", - "51" => "Houet", - "52" => "Ioba", - "53" => "Kadiogo", - "54" => "Kenedougou", - "55" => "Komoe", - "56" => "Komondjari", - "57" => "Kompienga", - "58" => "Kossi", - "59" => "Koulpelogo", - "60" => "Kourweogo", - "61" => "Leraba", - "62" => "Loroum", - "63" => "Mouhoun", - "64" => "Namentenga", - "65" => "Naouri", - "66" => "Nayala", - "67" => "Noumbiel", - "68" => "Oubritenga", - "69" => "Poni", - "70" => "Sanmatenga", - "71" => "Seno", - "72" => "Sissili", - "73" => "Sourou", - "74" => "Tuy", - "75" => "Yagha", - "76" => "Yatenga", - "77" => "Ziro", - "78" => "Zondoma"), -"BG" => array( - "33" => "Mikhaylovgrad", - "38" => "Blagoevgrad", - "39" => "Burgas", - "40" => "Dobrich", - "41" => "Gabrovo", - "42" => "Grad Sofiya", - "43" => "Khaskovo", - "44" => "Kurdzhali", - "45" => "Kyustendil", - "46" => "Lovech", - "47" => "Montana", - "48" => "Pazardzhik", - "49" => "Pernik", - "50" => "Pleven", - "51" => "Plovdiv", - "52" => "Razgrad", - "53" => "Ruse", - "54" => "Shumen", - "55" => "Silistra", - "56" => "Sliven", - "57" => "Smolyan", - "58" => "Sofiya", - "59" => "Stara Zagora", - "60" => "Turgovishte", - "61" => "Varna", - "62" => "Veliko Turnovo", - "63" => "Vidin", - "64" => "Vratsa", - "65" => "Yambol"), -"BH" => array( - "01" => "Al Hadd", - "02" => "Al Manamah", - "05" => "Jidd Hafs", - "06" => "Sitrah", - "08" => "Al Mintaqah al Gharbiyah", - "09" => "Mintaqat Juzur Hawar", - "10" => "Al Mintaqah ash Shamaliyah", - "11" => "Al Mintaqah al Wusta", - "12" => "Madinat", - "13" => "Ar Rifa", - "14" => "Madinat Hamad", - "15" => "Al Muharraq", - "16" => "Al Asimah", - "17" => "Al Janubiyah", - "18" => "Ash Shamaliyah", - "19" => "Al Wusta"), -"BI" => array( - "02" => "Bujumbura", - "09" => "Bubanza", - "10" => "Bururi", - "11" => "Cankuzo", - "12" => "Cibitoke", - "13" => "Gitega", - "14" => "Karuzi", - "15" => "Kayanza", - "16" => "Kirundo", - "17" => "Makamba", - "18" => "Muyinga", - "19" => "Ngozi", - "20" => "Rutana", - "21" => "Ruyigi", - "22" => "Muramvya", - "23" => "Mwaro"), -"BJ" => array( - "07" => "Alibori", - "08" => "Atakora", - "09" => "Atlanyique", - "10" => "Borgou", - "11" => "Collines", - "12" => "Kouffo", - "13" => "Donga", - "14" => "Littoral", - "15" => "Mono", - "16" => "Oueme", - "17" => "Plateau", - "18" => "Zou"), -"BM" => array( - "01" => "Devonshire", - "02" => "Hamilton", - "03" => "Hamilton", - "04" => "Paget", - "05" => "Pembroke", - "06" => "Saint George", - "07" => "Saint George's", - "08" => "Sandys", - "09" => "Smiths", - "10" => "Southampton", - "11" => "Warwick"), -"BN" => array( - "07" => "Alibori", - "08" => "Belait", - "09" => "Brunei and Muara", - "10" => "Temburong", - "11" => "Collines", - "12" => "Kouffo", - "13" => "Donga", - "14" => "Littoral", - "15" => "Tutong", - "16" => "Oueme", - "17" => "Plateau", - "18" => "Zou"), -"BO" => array( - "01" => "Chuquisaca", - "02" => "Cochabamba", - "03" => "El Beni", - "04" => "La Paz", - "05" => "Oruro", - "06" => "Pando", - "07" => "Potosi", - "08" => "Santa Cruz", - "09" => "Tarija"), -"BR" => array( - "01" => "Acre", - "02" => "Alagoas", - "03" => "Amapa", - "04" => "Amazonas", - "05" => "Bahia", - "06" => "Ceara", - "07" => "Distrito Federal", - "08" => "Espirito Santo", - "11" => "Mato Grosso do Sul", - "13" => "Maranhao", - "14" => "Mato Grosso", - "15" => "Minas Gerais", - "16" => "Para", - "17" => "Paraiba", - "18" => "Parana", - "20" => "Piaui", - "21" => "Rio de Janeiro", - "22" => "Rio Grande do Norte", - "23" => "Rio Grande do Sul", - "24" => "Rondonia", - "25" => "Roraima", - "26" => "Santa Catarina", - "27" => "Sao Paulo", - "28" => "Sergipe", - "29" => "Goias", - "30" => "Pernambuco", - "31" => "Tocantins"), -"BS" => array( - "05" => "Bimini", - "06" => "Cat Island", - "10" => "Exuma", - "13" => "Inagua", - "15" => "Long Island", - "16" => "Mayaguana", - "18" => "Ragged Island", - "22" => "Harbour Island", - "23" => "New Providence", - "24" => "Acklins and Crooked Islands", - "25" => "Freeport", - "26" => "Fresh Creek", - "27" => "Governor's Harbour", - "28" => "Green Turtle Cay", - "29" => "High Rock", - "30" => "Kemps Bay", - "31" => "Marsh Harbour", - "32" => "Nichollstown and Berry Islands", - "33" => "Rock Sound", - "34" => "Sandy Point", - "35" => "San Salvador and Rum Cay"), -"BT" => array( - "05" => "Bumthang", - "06" => "Chhukha", - "07" => "Chirang", - "08" => "Daga", - "09" => "Geylegphug", - "10" => "Ha", - "11" => "Lhuntshi", - "12" => "Mongar", - "13" => "Paro", - "14" => "Pemagatsel", - "15" => "Punakha", - "16" => "Samchi", - "17" => "Samdrup", - "18" => "Shemgang", - "19" => "Tashigang", - "20" => "Thimphu", - "21" => "Tongsa", - "22" => "Wangdi Phodrang"), -"BW" => array( - "01" => "Central", - "03" => "Ghanzi", - "04" => "Kgalagadi", - "05" => "Kgatleng", - "06" => "Kweneng", - "08" => "North-East", - "09" => "South-East", - "10" => "Southern", - "11" => "North-West"), -"BY" => array( - "01" => "Brestskaya Voblasts'", - "02" => "Homyel'skaya Voblasts'", - "03" => "Hrodzyenskaya Voblasts'", - "04" => "Minsk", - "05" => "Minskaya Voblasts'", - "06" => "Mahilyowskaya Voblasts'", - "07" => "Vitsyebskaya Voblasts'"), -"BZ" => array( - "01" => "Belize", - "02" => "Cayo", - "03" => "Corozal", - "04" => "Orange Walk", - "05" => "Stann Creek", - "06" => "Toledo"), -"CA" => array( - "AB" => "Alberta", - "BC" => "British Columbia", - "MB" => "Manitoba", - "NB" => "New Brunswick", - "NL" => "Newfoundland", - "NS" => "Nova Scotia", - "NT" => "Northwest Territories", - "NU" => "Nunavut", - "ON" => "Ontario", - "PE" => "Prince Edward Island", - "QC" => "Quebec", - "SK" => "Saskatchewan", - "YT" => "Yukon Territory"), -"CD" => array( - "01" => "Bandundu", - "02" => "Equateur", - "04" => "Kasai-Oriental", - "05" => "Katanga", - "06" => "Kinshasa", - "08" => "Bas-Congo", - "09" => "Orientale", - "10" => "Maniema", - "11" => "Nord-Kivu", - "12" => "Sud-Kivu"), -"CF" => array( - "01" => "Bamingui-Bangoran", - "02" => "Basse-Kotto", - "03" => "Haute-Kotto", - "04" => "Mambere-Kadei", - "05" => "Haut-Mbomou", - "06" => "Kemo", - "07" => "Lobaye", - "08" => "Mbomou", - "09" => "Nana-Mambere", - "11" => "Ouaka", - "12" => "Ouham", - "13" => "Ouham-Pende", - "14" => "Cuvette-Ouest", - "15" => "Nana-Grebizi", - "16" => "Sangha-Mbaere", - "17" => "Ombella-Mpoko", - "18" => "Bangui"), -"CG" => array( - "01" => "Bouenza", - "04" => "Kouilou", - "05" => "Lekoumou", - "06" => "Likouala", - "07" => "Niari", - "08" => "Plateaux", - "10" => "Sangha", - "11" => "Pool", - "12" => "Brazzaville", - "13" => "Cuvette", - "14" => "Cuvette-Ouest"), -"CH" => array( - "01" => "Aargau", - "02" => "Ausser-Rhoden", - "03" => "Basel-Landschaft", - "04" => "Basel-Stadt", - "05" => "Bern", - "06" => "Fribourg", - "07" => "Geneve", - "08" => "Glarus", - "09" => "Graubunden", - "10" => "Inner-Rhoden", - "11" => "Luzern", - "12" => "Neuchatel", - "13" => "Nidwalden", - "14" => "Obwalden", - "15" => "Sankt Gallen", - "16" => "Schaffhausen", - "17" => "Schwyz", - "18" => "Solothurn", - "19" => "Thurgau", - "20" => "Ticino", - "21" => "Uri", - "22" => "Valais", - "23" => "Vaud", - "24" => "Zug", - "25" => "Zurich", - "26" => "Jura"), -"CI" => array( - "74" => "Agneby", - "75" => "Bafing", - "76" => "Bas-Sassandra", - "77" => "Denguele", - "78" => "Dix-Huit Montagnes", - "79" => "Fromager", - "80" => "Haut-Sassandra", - "81" => "Lacs", - "82" => "Lagunes", - "83" => "Marahoue", - "84" => "Moyen-Cavally", - "85" => "Moyen-Comoe", - "86" => "N'zi-Comoe", - "87" => "Savanes", - "88" => "Sud-Bandama", - "89" => "Sud-Comoe", - "90" => "Vallee du Bandama", - "91" => "Worodougou", - "92" => "Zanzan"), -"CL" => array( - "01" => "Valparaiso", - "02" => "Aisen del General Carlos Ibanez del Campo", - "03" => "Antofagasta", - "04" => "Araucania", - "05" => "Atacama", - "06" => "Bio-Bio", - "07" => "Coquimbo", - "08" => "Libertador General Bernardo O'Higgins", - "09" => "Los Lagos", - "10" => "Magallanes y de la Antartica Chilena", - "11" => "Maule", - "12" => "Region Metropolitana", - "13" => "Tarapaca", - "14" => "Los Lagos", - "15" => "Tarapaca", - "16" => "Arica y Parinacota", - "17" => "Los Rios"), -"CM" => array( - "04" => "Est", - "05" => "Littoral", - "07" => "Nord-Ouest", - "08" => "Ouest", - "09" => "Sud-Ouest", - "10" => "Adamaoua", - "11" => "Centre", - "12" => "Extreme-Nord", - "13" => "Nord", - "14" => "Sud"), -"CN" => array( - "01" => "Anhui", - "02" => "Zhejiang", - "03" => "Jiangxi", - "04" => "Jiangsu", - "05" => "Jilin", - "06" => "Qinghai", - "07" => "Fujian", - "08" => "Heilongjiang", - "09" => "Henan", - "10" => "Hebei", - "11" => "Hunan", - "12" => "Hubei", - "13" => "Xinjiang", - "14" => "Xizang", - "15" => "Gansu", - "16" => "Guangxi", - "18" => "Guizhou", - "19" => "Liaoning", - "20" => "Nei Mongol", - "21" => "Ningxia", - "22" => "Beijing", - "23" => "Shanghai", - "24" => "Shanxi", - "25" => "Shandong", - "26" => "Shaanxi", - "28" => "Tianjin", - "29" => "Yunnan", - "30" => "Guangdong", - "31" => "Hainan", - "32" => "Sichuan", - "33" => "Chongqing"), -"CO" => array( - "01" => "Amazonas", - "02" => "Antioquia", - "03" => "Arauca", - "04" => "Atlantico", - "05" => "Bolivar Department", - "06" => "Boyaca Department", - "07" => "Caldas Department", - "08" => "Caqueta", - "09" => "Cauca", - "10" => "Cesar", - "11" => "Choco", - "12" => "Cordoba", - "14" => "Guaviare", - "15" => "Guainia", - "16" => "Huila", - "17" => "La Guajira", - "18" => "Magdalena Department", - "19" => "Meta", - "20" => "Narino", - "21" => "Norte de Santander", - "22" => "Putumayo", - "23" => "Quindio", - "24" => "Risaralda", - "25" => "San Andres y Providencia", - "26" => "Santander", - "27" => "Sucre", - "28" => "Tolima", - "29" => "Valle del Cauca", - "30" => "Vaupes", - "31" => "Vichada", - "32" => "Casanare", - "33" => "Cundinamarca", - "34" => "Distrito Especial", - "35" => "Bolivar", - "36" => "Boyaca", - "37" => "Caldas", - "38" => "Magdalena"), -"CR" => array( - "01" => "Alajuela", - "02" => "Cartago", - "03" => "Guanacaste", - "04" => "Heredia", - "06" => "Limon", - "07" => "Puntarenas", - "08" => "San Jose"), -"CU" => array( - "01" => "Pinar del Rio", - "02" => "Ciudad de la Habana", - "03" => "Matanzas", - "04" => "Isla de la Juventud", - "05" => "Camaguey", - "07" => "Ciego de Avila", - "08" => "Cienfuegos", - "09" => "Granma", - "10" => "Guantanamo", - "11" => "La Habana", - "12" => "Holguin", - "13" => "Las Tunas", - "14" => "Sancti Spiritus", - "15" => "Santiago de Cuba", - "16" => "Villa Clara"), -"CV" => array( - "01" => "Boa Vista", - "02" => "Brava", - "04" => "Maio", - "05" => "Paul", - "07" => "Ribeira Grande", - "08" => "Sal", - "10" => "Sao Nicolau", - "11" => "Sao Vicente", - "13" => "Mosteiros", - "14" => "Praia", - "15" => "Santa Catarina", - "16" => "Santa Cruz", - "17" => "Sao Domingos", - "18" => "Sao Filipe", - "19" => "Sao Miguel", - "20" => "Tarrafal"), -"CY" => array( - "01" => "Famagusta", - "02" => "Kyrenia", - "03" => "Larnaca", - "04" => "Nicosia", - "05" => "Limassol", - "06" => "Paphos"), -"CZ" => array( - "52" => "Hlavni mesto Praha", - "78" => "Jihomoravsky kraj", - "79" => "Jihocesky kraj", - "80" => "Vysocina", - "81" => "Karlovarsky kraj", - "82" => "Kralovehradecky kraj", - "83" => "Liberecky kraj", - "84" => "Olomoucky kraj", - "85" => "Moravskoslezsky kraj", - "86" => "Pardubicky kraj", - "87" => "Plzensky kraj", - "88" => "Stredocesky kraj", - "89" => "Ustecky kraj", - "90" => "Zlinsky kraj"), -"DE" => array( - "01" => "Baden-Wurttemberg", - "02" => "Bayern", - "03" => "Bremen", - "04" => "Hamburg", - "05" => "Hessen", - "06" => "Niedersachsen", - "07" => "Nordrhein-Westfalen", - "08" => "Rheinland-Pfalz", - "09" => "Saarland", - "10" => "Schleswig-Holstein", - "11" => "Brandenburg", - "12" => "Mecklenburg-Vorpommern", - "13" => "Sachsen", - "14" => "Sachsen-Anhalt", - "15" => "Thuringen", - "16" => "Berlin"), -"DJ" => array( - "01" => "Ali Sabieh", - "04" => "Obock", - "05" => "Tadjoura", - "06" => "Dikhil", - "07" => "Djibouti", - "08" => "Arta"), -"DK" => array( - "17" => "Hovedstaden", - "18" => "Midtjylland", - "19" => "Nordjylland", - "20" => "Sjelland", - "21" => "Syddanmark"), -"DM" => array( - "02" => "Saint Andrew", - "03" => "Saint David", - "04" => "Saint George", - "05" => "Saint John", - "06" => "Saint Joseph", - "07" => "Saint Luke", - "08" => "Saint Mark", - "09" => "Saint Patrick", - "10" => "Saint Paul", - "11" => "Saint Peter"), -"DO" => array( - "01" => "Azua", - "02" => "Baoruco", - "03" => "Barahona", - "04" => "Dajabon", - "05" => "Distrito Nacional", - "06" => "Duarte", - "08" => "Espaillat", - "09" => "Independencia", - "10" => "La Altagracia", - "11" => "Elias Pina", - "12" => "La Romana", - "14" => "Maria Trinidad Sanchez", - "15" => "Monte Cristi", - "16" => "Pedernales", - "17" => "Peravia", - "18" => "Puerto Plata", - "19" => "Salcedo", - "20" => "Samana", - "21" => "Sanchez Ramirez", - "23" => "San Juan", - "24" => "San Pedro De Macoris", - "25" => "Santiago", - "26" => "Santiago Rodriguez", - "27" => "Valverde", - "28" => "El Seibo", - "29" => "Hato Mayor", - "30" => "La Vega", - "31" => "Monsenor Nouel", - "32" => "Monte Plata", - "33" => "San Cristobal", - "34" => "Distrito Nacional", - "35" => "Peravia", - "36" => "San Jose de Ocoa", - "37" => "Santo Domingo"), -"DZ" => array( - "01" => "Alger", - "03" => "Batna", - "04" => "Constantine", - "06" => "Medea", - "07" => "Mostaganem", - "09" => "Oran", - "10" => "Saida", - "12" => "Setif", - "13" => "Tiaret", - "14" => "Tizi Ouzou", - "15" => "Tlemcen", - "18" => "Bejaia", - "19" => "Biskra", - "20" => "Blida", - "21" => "Bouira", - "22" => "Djelfa", - "23" => "Guelma", - "24" => "Jijel", - "25" => "Laghouat", - "26" => "Mascara", - "27" => "M'sila", - "29" => "Oum el Bouaghi", - "30" => "Sidi Bel Abbes", - "31" => "Skikda", - "33" => "Tebessa", - "34" => "Adrar", - "35" => "Ain Defla", - "36" => "Ain Temouchent", - "37" => "Annaba", - "38" => "Bechar", - "39" => "Bordj Bou Arreridj", - "40" => "Boumerdes", - "41" => "Chlef", - "42" => "El Bayadh", - "43" => "El Oued", - "44" => "El Tarf", - "45" => "Ghardaia", - "46" => "Illizi", - "47" => "Khenchela", - "48" => "Mila", - "49" => "Naama", - "50" => "Ouargla", - "51" => "Relizane", - "52" => "Souk Ahras", - "53" => "Tamanghasset", - "54" => "Tindouf", - "55" => "Tipaza", - "56" => "Tissemsilt"), -"EC" => array( - "01" => "Galapagos", - "02" => "Azuay", - "03" => "Bolivar", - "04" => "Canar", - "05" => "Carchi", - "06" => "Chimborazo", - "07" => "Cotopaxi", - "08" => "El Oro", - "09" => "Esmeraldas", - "10" => "Guayas", - "11" => "Imbabura", - "12" => "Loja", - "13" => "Los Rios", - "14" => "Manabi", - "15" => "Morona-Santiago", - "17" => "Pastaza", - "18" => "Pichincha", - "19" => "Tungurahua", - "20" => "Zamora-Chinchipe", - "22" => "Sucumbios", - "23" => "Napo", - "24" => "Orellana"), -"EE" => array( - "01" => "Harjumaa", - "02" => "Hiiumaa", - "03" => "Ida-Virumaa", - "04" => "Jarvamaa", - "05" => "Jogevamaa", - "06" => "Kohtla-Jarve", - "07" => "Laanemaa", - "08" => "Laane-Virumaa", - "09" => "Narva", - "10" => "Parnu", - "11" => "Parnumaa", - "12" => "Polvamaa", - "13" => "Raplamaa", - "14" => "Saaremaa", - "15" => "Sillamae", - "16" => "Tallinn", - "17" => "Tartu", - "18" => "Tartumaa", - "19" => "Valgamaa", - "20" => "Viljandimaa", - "21" => "Vorumaa"), -"EG" => array( - "01" => "Ad Daqahliyah", - "02" => "Al Bahr al Ahmar", - "03" => "Al Buhayrah", - "04" => "Al Fayyum", - "05" => "Al Gharbiyah", - "06" => "Al Iskandariyah", - "07" => "Al Isma'iliyah", - "08" => "Al Jizah", - "09" => "Al Minufiyah", - "10" => "Al Minya", - "11" => "Al Qahirah", - "12" => "Al Qalyubiyah", - "13" => "Al Wadi al Jadid", - "14" => "Ash Sharqiyah", - "15" => "As Suways", - "16" => "Aswan", - "17" => "Asyut", - "18" => "Bani Suwayf", - "19" => "Bur Sa'id", - "20" => "Dumyat", - "21" => "Kafr ash Shaykh", - "22" => "Matruh", - "23" => "Qina", - "24" => "Suhaj", - "26" => "Janub Sina'", - "27" => "Shamal Sina'"), -"ER" => array( - "01" => "Anseba", - "02" => "Debub", - "03" => "Debubawi K'eyih Bahri", - "04" => "Gash Barka", - "05" => "Ma'akel", - "06" => "Semenawi K'eyih Bahri"), -"ES" => array( - "07" => "Islas Baleares", - "27" => "La Rioja", - "29" => "Madrid", - "31" => "Murcia", - "32" => "Navarra", - "34" => "Asturias", - "39" => "Cantabria", - "51" => "Andalucia", - "52" => "Aragon", - "53" => "Canarias", - "54" => "Castilla-La Mancha", - "55" => "Castilla y Leon", - "56" => "Catalonia", - "57" => "Extremadura", - "58" => "Galicia", - "59" => "Pais Vasco", - "60" => "Comunidad Valenciana"), -"ET" => array( - "44" => "Adis Abeba", - "45" => "Afar", - "46" => "Amara", - "47" => "Binshangul Gumuz", - "48" => "Dire Dawa", - "49" => "Gambela Hizboch", - "50" => "Hareri Hizb", - "51" => "Oromiya", - "52" => "Sumale", - "53" => "Tigray", - "54" => "YeDebub Biheroch Bihereseboch na Hizboch"), -"FI" => array( - "01" => "Aland", - "06" => "Lapland", - "08" => "Oulu", - "13" => "Southern Finland", - "14" => "Eastern Finland", - "15" => "Western Finland"), -"FJ" => array( - "01" => "Central", - "02" => "Eastern", - "03" => "Northern", - "04" => "Rotuma", - "05" => "Western"), -"FM" => array( - "01" => "Kosrae", - "02" => "Pohnpei", - "03" => "Chuuk", - "04" => "Yap"), -"FR" => array( - "97" => "Aquitaine", - "98" => "Auvergne", - "99" => "Basse-Normandie", - "A1" => "Bourgogne", - "A2" => "Bretagne", - "A3" => "Centre", - "A4" => "Champagne-Ardenne", - "A5" => "Corse", - "A6" => "Franche-Comte", - "A7" => "Haute-Normandie", - "A8" => "Ile-de-France", - "A9" => "Languedoc-Roussillon", - "B1" => "Limousin", - "B2" => "Lorraine", - "B3" => "Midi-Pyrenees", - "B4" => "Nord-Pas-de-Calais", - "B5" => "Pays de la Loire", - "B6" => "Picardie", - "B7" => "Poitou-Charentes", - "B8" => "Provence-Alpes-Cote d'Azur", - "B9" => "Rhone-Alpes", - "C1" => "Alsace"), -"GA" => array( - "01" => "Estuaire", - "02" => "Haut-Ogooue", - "03" => "Moyen-Ogooue", - "04" => "Ngounie", - "05" => "Nyanga", - "06" => "Ogooue-Ivindo", - "07" => "Ogooue-Lolo", - "08" => "Ogooue-Maritime", - "09" => "Woleu-Ntem"), -"GB" => array( - "A1" => "Barking and Dagenham", - "A2" => "Barnet", - "A3" => "Barnsley", - "A4" => "Bath and North East Somerset", - "A5" => "Bedfordshire", - "A6" => "Bexley", - "A7" => "Birmingham", - "A8" => "Blackburn with Darwen", - "A9" => "Blackpool", - "B1" => "Bolton", - "B2" => "Bournemouth", - "B3" => "Bracknell Forest", - "B4" => "Bradford", - "B5" => "Brent", - "B6" => "Brighton and Hove", - "B7" => "Bristol, City of", - "B8" => "Bromley", - "B9" => "Buckinghamshire", - "C1" => "Bury", - "C2" => "Calderdale", - "C3" => "Cambridgeshire", - "C4" => "Camden", - "C5" => "Cheshire", - "C6" => "Cornwall", - "C7" => "Coventry", - "C8" => "Croydon", - "C9" => "Cumbria", - "D1" => "Darlington", - "D2" => "Derby", - "D3" => "Derbyshire", - "D4" => "Devon", - "D5" => "Doncaster", - "D6" => "Dorset", - "D7" => "Dudley", - "D8" => "Durham", - "D9" => "Ealing", - "E1" => "East Riding of Yorkshire", - "E2" => "East Sussex", - "E3" => "Enfield", - "E4" => "Essex", - "E5" => "Gateshead", - "E6" => "Gloucestershire", - "E7" => "Greenwich", - "E8" => "Hackney", - "E9" => "Halton", - "F1" => "Hammersmith and Fulham", - "F2" => "Hampshire", - "F3" => "Haringey", - "F4" => "Harrow", - "F5" => "Hartlepool", - "F6" => "Havering", - "F7" => "Herefordshire", - "F8" => "Hertford", - "F9" => "Hillingdon", - "G1" => "Hounslow", - "G2" => "Isle of Wight", - "G3" => "Islington", - "G4" => "Kensington and Chelsea", - "G5" => "Kent", - "G6" => "Kingston upon Hull, City of", - "G7" => "Kingston upon Thames", - "G8" => "Kirklees", - "G9" => "Knowsley", - "H1" => "Lambeth", - "H2" => "Lancashire", - "H3" => "Leeds", - "H4" => "Leicester", - "H5" => "Leicestershire", - "H6" => "Lewisham", - "H7" => "Lincolnshire", - "H8" => "Liverpool", - "H9" => "London, City of", - "I1" => "Luton", - "I2" => "Manchester", - "I3" => "Medway", - "I4" => "Merton", - "I5" => "Middlesbrough", - "I6" => "Milton Keynes", - "I7" => "Newcastle upon Tyne", - "I8" => "Newham", - "I9" => "Norfolk", - "J1" => "Northamptonshire", - "J2" => "North East Lincolnshire", - "J3" => "North Lincolnshire", - "J4" => "North Somerset", - "J5" => "North Tyneside", - "J6" => "Northumberland", - "J7" => "North Yorkshire", - "J8" => "Nottingham", - "J9" => "Nottinghamshire", - "K1" => "Oldham", - "K2" => "Oxfordshire", - "K3" => "Peterborough", - "K4" => "Plymouth", - "K5" => "Poole", - "K6" => "Portsmouth", - "K7" => "Reading", - "K8" => "Redbridge", - "K9" => "Redcar and Cleveland", - "L1" => "Richmond upon Thames", - "L2" => "Rochdale", - "L3" => "Rotherham", - "L4" => "Rutland", - "L5" => "Salford", - "L6" => "Shropshire", - "L7" => "Sandwell", - "L8" => "Sefton", - "L9" => "Sheffield", - "M1" => "Slough", - "M2" => "Solihull", - "M3" => "Somerset", - "M4" => "Southampton", - "M5" => "Southend-on-Sea", - "M6" => "South Gloucestershire", - "M7" => "South Tyneside", - "M8" => "Southwark", - "M9" => "Staffordshire", - "N1" => "St. Helens", - "N2" => "Stockport", - "N3" => "Stockton-on-Tees", - "N4" => "Stoke-on-Trent", - "N5" => "Suffolk", - "N6" => "Sunderland", - "N7" => "Surrey", - "N8" => "Sutton", - "N9" => "Swindon", - "O1" => "Tameside", - "O2" => "Telford and Wrekin", - "O3" => "Thurrock", - "O4" => "Torbay", - "O5" => "Tower Hamlets", - "O6" => "Trafford", - "O7" => "Wakefield", - "O8" => "Walsall", - "O9" => "Waltham Forest", - "P1" => "Wandsworth", - "P2" => "Warrington", - "P3" => "Warwickshire", - "P4" => "West Berkshire", - "P5" => "Westminster", - "P6" => "West Sussex", - "P7" => "Wigan", - "P8" => "Wiltshire", - "P9" => "Windsor and Maidenhead", - "Q1" => "Wirral", - "Q2" => "Wokingham", - "Q3" => "Wolverhampton", - "Q4" => "Worcestershire", - "Q5" => "York", - "Q6" => "Antrim", - "Q7" => "Ards", - "Q8" => "Armagh", - "Q9" => "Ballymena", - "R1" => "Ballymoney", - "R2" => "Banbridge", - "R3" => "Belfast", - "R4" => "Carrickfergus", - "R5" => "Castlereagh", - "R6" => "Coleraine", - "R7" => "Cookstown", - "R8" => "Craigavon", - "R9" => "Down", - "S1" => "Dungannon", - "S2" => "Fermanagh", - "S3" => "Larne", - "S4" => "Limavady", - "S5" => "Lisburn", - "S6" => "Derry", - "S7" => "Magherafelt", - "S8" => "Moyle", - "S9" => "Newry and Mourne", - "T1" => "Newtownabbey", - "T2" => "North Down", - "T3" => "Omagh", - "T4" => "Strabane", - "T5" => "Aberdeen City", - "T6" => "Aberdeenshire", - "T7" => "Angus", - "T8" => "Argyll and Bute", - "T9" => "Scottish Borders, The", - "U1" => "Clackmannanshire", - "U2" => "Dumfries and Galloway", - "U3" => "Dundee City", - "U4" => "East Ayrshire", - "U5" => "East Dunbartonshire", - "U6" => "East Lothian", - "U7" => "East Renfrewshire", - "U8" => "Edinburgh, City of", - "U9" => "Falkirk", - "V1" => "Fife", - "V2" => "Glasgow City", - "V3" => "Highland", - "V4" => "Inverclyde", - "V5" => "Midlothian", - "V6" => "Moray", - "V7" => "North Ayrshire", - "V8" => "North Lanarkshire", - "V9" => "Orkney", - "W1" => "Perth and Kinross", - "W2" => "Renfrewshire", - "W3" => "Shetland Islands", - "W4" => "South Ayrshire", - "W5" => "South Lanarkshire", - "W6" => "Stirling", - "W7" => "West Dunbartonshire", - "W8" => "Eilean Siar", - "W9" => "West Lothian", - "X1" => "Isle of Anglesey", - "X2" => "Blaenau Gwent", - "X3" => "Bridgend", - "X4" => "Caerphilly", - "X5" => "Cardiff", - "X6" => "Ceredigion", - "X7" => "Carmarthenshire", - "X8" => "Conwy", - "X9" => "Denbighshire", - "Y1" => "Flintshire", - "Y2" => "Gwynedd", - "Y3" => "Merthyr Tydfil", - "Y4" => "Monmouthshire", - "Y5" => "Neath Port Talbot", - "Y6" => "Newport", - "Y7" => "Pembrokeshire", - "Y8" => "Powys", - "Y9" => "Rhondda Cynon Taff", - "Z1" => "Swansea", - "Z2" => "Torfaen", - "Z3" => "Vale of Glamorgan, The", - "Z4" => "Wrexham"), -"GD" => array( - "01" => "Saint Andrew", - "02" => "Saint David", - "03" => "Saint George", - "04" => "Saint John", - "05" => "Saint Mark", - "06" => "Saint Patrick"), -"GE" => array( - "01" => "Abashis Raioni", - "02" => "Abkhazia", - "03" => "Adigenis Raioni", - "04" => "Ajaria", - "05" => "Akhalgoris Raioni", - "06" => "Akhalk'alak'is Raioni", - "07" => "Akhalts'ikhis Raioni", - "08" => "Akhmetis Raioni", - "09" => "Ambrolauris Raioni", - "10" => "Aspindzis Raioni", - "11" => "Baghdat'is Raioni", - "12" => "Bolnisis Raioni", - "13" => "Borjomis Raioni", - "14" => "Chiat'ura", - "15" => "Ch'khorotsqus Raioni", - "16" => "Ch'okhatauris Raioni", - "17" => "Dedop'listsqaros Raioni", - "18" => "Dmanisis Raioni", - "19" => "Dushet'is Raioni", - "20" => "Gardabanis Raioni", - "21" => "Gori", - "22" => "Goris Raioni", - "23" => "Gurjaanis Raioni", - "24" => "Javis Raioni", - "25" => "K'arelis Raioni", - "26" => "Kaspis Raioni", - "27" => "Kharagaulis Raioni", - "28" => "Khashuris Raioni", - "29" => "Khobis Raioni", - "30" => "Khonis Raioni", - "31" => "K'ut'aisi", - "32" => "Lagodekhis Raioni", - "33" => "Lanch'khut'is Raioni", - "34" => "Lentekhis Raioni", - "35" => "Marneulis Raioni", - "36" => "Martvilis Raioni", - "37" => "Mestiis Raioni", - "38" => "Mts'khet'is Raioni", - "39" => "Ninotsmindis Raioni", - "40" => "Onis Raioni", - "41" => "Ozurget'is Raioni", - "42" => "P'ot'i", - "43" => "Qazbegis Raioni", - "44" => "Qvarlis Raioni", - "45" => "Rust'avi", - "46" => "Sach'kheris Raioni", - "47" => "Sagarejos Raioni", - "48" => "Samtrediis Raioni", - "49" => "Senakis Raioni", - "50" => "Sighnaghis Raioni", - "51" => "T'bilisi", - "52" => "T'elavis Raioni", - "53" => "T'erjolis Raioni", - "54" => "T'et'ritsqaros Raioni", - "55" => "T'ianet'is Raioni", - "56" => "Tqibuli", - "57" => "Ts'ageris Raioni", - "58" => "Tsalenjikhis Raioni", - "59" => "Tsalkis Raioni", - "60" => "Tsqaltubo", - "61" => "Vanis Raioni", - "62" => "Zestap'onis Raioni", - "63" => "Zugdidi", - "64" => "Zugdidis Raioni"), -"GH" => array( - "01" => "Greater Accra", - "02" => "Ashanti", - "03" => "Brong-Ahafo", - "04" => "Central", - "05" => "Eastern", - "06" => "Northern", - "08" => "Volta", - "09" => "Western", - "10" => "Upper East", - "11" => "Upper West"), -"GL" => array( - "01" => "Nordgronland", - "02" => "Ostgronland", - "03" => "Vestgronland"), -"GM" => array( - "01" => "Banjul", - "02" => "Lower River", - "03" => "Central River", - "04" => "Upper River", - "05" => "Western", - "07" => "North Bank"), -"GN" => array( - "01" => "Beyla", - "02" => "Boffa", - "03" => "Boke", - "04" => "Conakry", - "05" => "Dabola", - "06" => "Dalaba", - "07" => "Dinguiraye", - "09" => "Faranah", - "10" => "Forecariah", - "11" => "Fria", - "12" => "Gaoual", - "13" => "Gueckedou", - "15" => "Kerouane", - "16" => "Kindia", - "17" => "Kissidougou", - "18" => "Koundara", - "19" => "Kouroussa", - "21" => "Macenta", - "22" => "Mali", - "23" => "Mamou", - "25" => "Pita", - "27" => "Telimele", - "28" => "Tougue", - "29" => "Yomou", - "30" => "Coyah", - "31" => "Dubreka", - "32" => "Kankan", - "33" => "Koubia", - "34" => "Labe", - "35" => "Lelouma", - "36" => "Lola", - "37" => "Mandiana", - "38" => "Nzerekore", - "39" => "Siguiri"), -"GQ" => array( - "03" => "Annobon", - "04" => "Bioko Norte", - "05" => "Bioko Sur", - "06" => "Centro Sur", - "07" => "Kie-Ntem", - "08" => "Litoral", - "09" => "Wele-Nzas"), -"GR" => array( - "01" => "Evros", - "02" => "Rodhopi", - "03" => "Xanthi", - "04" => "Drama", - "05" => "Serrai", - "06" => "Kilkis", - "07" => "Pella", - "08" => "Florina", - "09" => "Kastoria", - "10" => "Grevena", - "11" => "Kozani", - "12" => "Imathia", - "13" => "Thessaloniki", - "14" => "Kavala", - "15" => "Khalkidhiki", - "16" => "Pieria", - "17" => "Ioannina", - "18" => "Thesprotia", - "19" => "Preveza", - "20" => "Arta", - "21" => "Larisa", - "22" => "Trikala", - "23" => "Kardhitsa", - "24" => "Magnisia", - "25" => "Kerkira", - "26" => "Levkas", - "27" => "Kefallinia", - "28" => "Zakinthos", - "29" => "Fthiotis", - "30" => "Evritania", - "31" => "Aitolia kai Akarnania", - "32" => "Fokis", - "33" => "Voiotia", - "34" => "Evvoia", - "35" => "Attiki", - "36" => "Argolis", - "37" => "Korinthia", - "38" => "Akhaia", - "39" => "Ilia", - "40" => "Messinia", - "41" => "Arkadhia", - "42" => "Lakonia", - "43" => "Khania", - "44" => "Rethimni", - "45" => "Iraklion", - "46" => "Lasithi", - "47" => "Dhodhekanisos", - "48" => "Samos", - "49" => "Kikladhes", - "50" => "Khios", - "51" => "Lesvos"), -"GT" => array( - "01" => "Alta Verapaz", - "02" => "Baja Verapaz", - "03" => "Chimaltenango", - "04" => "Chiquimula", - "05" => "El Progreso", - "06" => "Escuintla", - "07" => "Guatemala", - "08" => "Huehuetenango", - "09" => "Izabal", - "10" => "Jalapa", - "11" => "Jutiapa", - "12" => "Peten", - "13" => "Quetzaltenango", - "14" => "Quiche", - "15" => "Retalhuleu", - "16" => "Sacatepequez", - "17" => "San Marcos", - "18" => "Santa Rosa", - "19" => "Solola", - "20" => "Suchitepequez", - "21" => "Totonicapan", - "22" => "Zacapa"), -"GW" => array( - "01" => "Bafata", - "02" => "Quinara", - "04" => "Oio", - "05" => "Bolama", - "06" => "Cacheu", - "07" => "Tombali", - "10" => "Gabu", - "11" => "Bissau", - "12" => "Biombo"), -"GY" => array( - "10" => "Barima-Waini", - "11" => "Cuyuni-Mazaruni", - "12" => "Demerara-Mahaica", - "13" => "East Berbice-Corentyne", - "14" => "Essequibo Islands-West Demerara", - "15" => "Mahaica-Berbice", - "16" => "Pomeroon-Supenaam", - "17" => "Potaro-Siparuni", - "18" => "Upper Demerara-Berbice", - "19" => "Upper Takutu-Upper Essequibo"), -"HN" => array( - "01" => "Atlantida", - "02" => "Choluteca", - "03" => "Colon", - "04" => "Comayagua", - "05" => "Copan", - "06" => "Cortes", - "07" => "El Paraiso", - "08" => "Francisco Morazan", - "09" => "Gracias a Dios", - "10" => "Intibuca", - "11" => "Islas de la Bahia", - "12" => "La Paz", - "13" => "Lempira", - "14" => "Ocotepeque", - "15" => "Olancho", - "16" => "Santa Barbara", - "17" => "Valle", - "18" => "Yoro"), -"HR" => array( - "01" => "Bjelovarsko-Bilogorska", - "02" => "Brodsko-Posavska", - "03" => "Dubrovacko-Neretvanska", - "04" => "Istarska", - "05" => "Karlovacka", - "06" => "Koprivnicko-Krizevacka", - "07" => "Krapinsko-Zagorska", - "08" => "Licko-Senjska", - "09" => "Medimurska", - "10" => "Osjecko-Baranjska", - "11" => "Pozesko-Slavonska", - "12" => "Primorsko-Goranska", - "13" => "Sibensko-Kninska", - "14" => "Sisacko-Moslavacka", - "15" => "Splitsko-Dalmatinska", - "16" => "Varazdinska", - "17" => "Viroviticko-Podravska", - "18" => "Vukovarsko-Srijemska", - "19" => "Zadarska", - "20" => "Zagrebacka", - "21" => "Grad Zagreb"), -"HT" => array( - "03" => "Nord-Ouest", - "06" => "Artibonite", - "07" => "Centre", - "09" => "Nord", - "10" => "Nord-Est", - "11" => "Ouest", - "12" => "Sud", - "13" => "Sud-Est", - "14" => "Grand' Anse", - "15" => "Nippes"), -"HU" => array( - "01" => "Bacs-Kiskun", - "02" => "Baranya", - "03" => "Bekes", - "04" => "Borsod-Abauj-Zemplen", - "05" => "Budapest", - "06" => "Csongrad", - "07" => "Debrecen", - "08" => "Fejer", - "09" => "Gyor-Moson-Sopron", - "10" => "Hajdu-Bihar", - "11" => "Heves", - "12" => "Komarom-Esztergom", - "13" => "Miskolc", - "14" => "Nograd", - "15" => "Pecs", - "16" => "Pest", - "17" => "Somogy", - "18" => "Szabolcs-Szatmar-Bereg", - "19" => "Szeged", - "20" => "Jasz-Nagykun-Szolnok", - "21" => "Tolna", - "22" => "Vas", - "23" => "Veszprem", - "24" => "Zala", - "25" => "Gyor", - "26" => "Bekescsaba", - "27" => "Dunaujvaros", - "28" => "Eger", - "29" => "Hodmezovasarhely", - "30" => "Kaposvar", - "31" => "Kecskemet", - "32" => "Nagykanizsa", - "33" => "Nyiregyhaza", - "34" => "Sopron", - "35" => "Szekesfehervar", - "36" => "Szolnok", - "37" => "Szombathely", - "38" => "Tatabanya", - "39" => "Veszprem", - "40" => "Zalaegerszeg", - "41" => "Salgotarjan", - "42" => "Szekszard", - "43" => "Erd"), -"ID" => array( - "01" => "Aceh", - "02" => "Bali", - "03" => "Bengkulu", - "04" => "Jakarta Raya", - "05" => "Jambi", - "06" => "Jawa Barat", - "07" => "Jawa Tengah", - "08" => "Jawa Timur", - "09" => "Papua", - "10" => "Yogyakarta", - "11" => "Kalimantan Barat", - "12" => "Kalimantan Selatan", - "13" => "Kalimantan Tengah", - "14" => "Kalimantan Timur", - "15" => "Lampung", - "16" => "Maluku", - "17" => "Nusa Tenggara Barat", - "18" => "Nusa Tenggara Timur", - "19" => "Riau", - "20" => "Sulawesi Selatan", - "21" => "Sulawesi Tengah", - "22" => "Sulawesi Tenggara", - "23" => "Sulawesi Utara", - "24" => "Sumatera Barat", - "25" => "Sumatera Selatan", - "26" => "Sumatera Utara", - "28" => "Maluku", - "29" => "Maluku Utara", - "30" => "Jawa Barat", - "31" => "Sulawesi Utara", - "32" => "Sumatera Selatan", - "33" => "Banten", - "34" => "Gorontalo", - "35" => "Kepulauan Bangka Belitung", - "36" => "Papua", - "37" => "Riau", - "38" => "Sulawesi Selatan", - "39" => "Irian Jaya Barat", - "40" => "Kepulauan Riau", - "41" => "Sulawesi Barat"), -"IE" => array( - "01" => "Carlow", - "02" => "Cavan", - "03" => "Clare", - "04" => "Cork", - "06" => "Donegal", - "07" => "Dublin", - "10" => "Galway", - "11" => "Kerry", - "12" => "Kildare", - "13" => "Kilkenny", - "14" => "Leitrim", - "15" => "Laois", - "16" => "Limerick", - "18" => "Longford", - "19" => "Louth", - "20" => "Mayo", - "21" => "Meath", - "22" => "Monaghan", - "23" => "Offaly", - "24" => "Roscommon", - "25" => "Sligo", - "26" => "Tipperary", - "27" => "Waterford", - "29" => "Westmeath", - "30" => "Wexford", - "31" => "Wicklow"), -"IL" => array( - "01" => "HaDarom", - "02" => "HaMerkaz", - "03" => "HaZafon", - "04" => "Hefa", - "05" => "Tel Aviv", - "06" => "Yerushalayim"), -"IN" => array( - "01" => "Andaman and Nicobar Islands", - "02" => "Andhra Pradesh", - "03" => "Assam", - "05" => "Chandigarh", - "06" => "Dadra and Nagar Haveli", - "07" => "Delhi", - "09" => "Gujarat", - "10" => "Haryana", - "11" => "Himachal Pradesh", - "12" => "Jammu and Kashmir", - "13" => "Kerala", - "14" => "Lakshadweep", - "16" => "Maharashtra", - "17" => "Manipur", - "18" => "Meghalaya", - "19" => "Karnataka", - "20" => "Nagaland", - "21" => "Orissa", - "22" => "Puducherry", - "23" => "Punjab", - "24" => "Rajasthan", - "25" => "Tamil Nadu", - "26" => "Tripura", - "28" => "West Bengal", - "29" => "Sikkim", - "30" => "Arunachal Pradesh", - "31" => "Mizoram", - "32" => "Daman and Diu", - "33" => "Goa", - "34" => "Bihar", - "35" => "Madhya Pradesh", - "36" => "Uttar Pradesh", - "37" => "Chhattisgarh", - "38" => "Jharkhand", - "39" => "Uttarakhand"), -"IQ" => array( - "01" => "Al Anbar", - "02" => "Al Basrah", - "03" => "Al Muthanna", - "04" => "Al Qadisiyah", - "05" => "As Sulaymaniyah", - "06" => "Babil", - "07" => "Baghdad", - "08" => "Dahuk", - "09" => "Dhi Qar", - "10" => "Diyala", - "11" => "Arbil", - "12" => "Karbala'", - "13" => "At Ta'mim", - "14" => "Maysan", - "15" => "Ninawa", - "16" => "Wasit", - "17" => "An Najaf", - "18" => "Salah ad Din"), -"IR" => array( - "01" => "Azarbayjan-e Bakhtari", - "03" => "Chahar Mahall va Bakhtiari", - "04" => "Sistan va Baluchestan", - "05" => "Kohkiluyeh va Buyer Ahmadi", - "07" => "Fars", - "08" => "Gilan", - "09" => "Hamadan", - "10" => "Ilam", - "11" => "Hormozgan", - "12" => "Kerman", - "13" => "Bakhtaran", - "15" => "Khuzestan", - "16" => "Kordestan", - "17" => "Mazandaran", - "18" => "Semnan Province", - "19" => "Markazi", - "21" => "Zanjan", - "22" => "Bushehr", - "23" => "Lorestan", - "24" => "Markazi", - "25" => "Semnan", - "26" => "Tehran", - "27" => "Zanjan", - "28" => "Esfahan", - "29" => "Kerman", - "30" => "Khorasan", - "31" => "Yazd", - "32" => "Ardabil", - "33" => "East Azarbaijan", - "34" => "Markazi", - "35" => "Mazandaran", - "36" => "Zanjan", - "37" => "Golestan", - "38" => "Qazvin", - "39" => "Qom", - "40" => "Yazd", - "41" => "Khorasan-e Janubi", - "42" => "Khorasan-e Razavi", - "43" => "Khorasan-e Shemali"), -"IS" => array( - "03" => "Arnessysla", - "05" => "Austur-Hunavatnssysla", - "06" => "Austur-Skaftafellssysla", - "07" => "Borgarfjardarsysla", - "09" => "Eyjafjardarsysla", - "10" => "Gullbringusysla", - "15" => "Kjosarsysla", - "17" => "Myrasysla", - "20" => "Nordur-Mulasysla", - "21" => "Nordur-Tingeyjarsysla", - "23" => "Rangarvallasysla", - "28" => "Skagafjardarsysla", - "29" => "Snafellsnes- og Hnappadalssysla", - "30" => "Strandasysla", - "31" => "Sudur-Mulasysla", - "32" => "Sudur-Tingeyjarsysla", - "34" => "Vestur-Bardastrandarsysla", - "35" => "Vestur-Hunavatnssysla", - "36" => "Vestur-Isafjardarsysla", - "37" => "Vestur-Skaftafellssysla", - "40" => "Norourland Eystra", - "41" => "Norourland Vestra", - "42" => "Suourland", - "43" => "Suournes", - "44" => "Vestfiroir", - "45" => "Vesturland"), -"IT" => array( - "01" => "Abruzzi", - "02" => "Basilicata", - "03" => "Calabria", - "04" => "Campania", - "05" => "Emilia-Romagna", - "06" => "Friuli-Venezia Giulia", - "07" => "Lazio", - "08" => "Liguria", - "09" => "Lombardia", - "10" => "Marche", - "11" => "Molise", - "12" => "Piemonte", - "13" => "Puglia", - "14" => "Sardegna", - "15" => "Sicilia", - "16" => "Toscana", - "17" => "Trentino-Alto Adige", - "18" => "Umbria", - "19" => "Valle d'Aosta", - "20" => "Veneto"), -"JM" => array( - "01" => "Clarendon", - "02" => "Hanover", - "04" => "Manchester", - "07" => "Portland", - "08" => "Saint Andrew", - "09" => "Saint Ann", - "10" => "Saint Catherine", - "11" => "Saint Elizabeth", - "12" => "Saint James", - "13" => "Saint Mary", - "14" => "Saint Thomas", - "15" => "Trelawny", - "16" => "Westmoreland", - "17" => "Kingston"), -"JO" => array( - "02" => "Al Balqa'", - "07" => "Ma", - "09" => "Al Karak", - "10" => "Al Mafraq", - "11" => "Amman Governorate", - "12" => "At Tafilah", - "13" => "Az Zarqa", - "14" => "Irbid", - "16" => "Amman"), -"JP" => array( - "01" => "Aichi", - "02" => "Akita", - "03" => "Aomori", - "04" => "Chiba", - "05" => "Ehime", - "06" => "Fukui", - "07" => "Fukuoka", - "08" => "Fukushima", - "09" => "Gifu", - "10" => "Gumma", - "11" => "Hiroshima", - "12" => "Hokkaido", - "13" => "Hyogo", - "14" => "Ibaraki", - "15" => "Ishikawa", - "16" => "Iwate", - "17" => "Kagawa", - "18" => "Kagoshima", - "19" => "Kanagawa", - "20" => "Kochi", - "21" => "Kumamoto", - "22" => "Kyoto", - "23" => "Mie", - "24" => "Miyagi", - "25" => "Miyazaki", - "26" => "Nagano", - "27" => "Nagasaki", - "28" => "Nara", - "29" => "Niigata", - "30" => "Oita", - "31" => "Okayama", - "32" => "Osaka", - "33" => "Saga", - "34" => "Saitama", - "35" => "Shiga", - "36" => "Shimane", - "37" => "Shizuoka", - "38" => "Tochigi", - "39" => "Tokushima", - "40" => "Tokyo", - "41" => "Tottori", - "42" => "Toyama", - "43" => "Wakayama", - "44" => "Yamagata", - "45" => "Yamaguchi", - "46" => "Yamanashi", - "47" => "Okinawa"), -"KE" => array( - "01" => "Central", - "02" => "Coast", - "03" => "Eastern", - "05" => "Nairobi Area", - "06" => "North-Eastern", - "07" => "Nyanza", - "08" => "Rift Valley", - "09" => "Western"), -"KG" => array( - "01" => "Bishkek", - "02" => "Chuy", - "03" => "Jalal-Abad", - "04" => "Naryn", - "05" => "Osh", - "06" => "Talas", - "07" => "Ysyk-Kol", - "08" => "Osh", - "09" => "Batken"), -"KH" => array( - "01" => "Batdambang", - "02" => "Kampong Cham", - "03" => "Kampong Chhnang", - "04" => "Kampong Speu", - "05" => "Kampong Thum", - "06" => "Kampot", - "07" => "Kandal", - "08" => "Koh Kong", - "09" => "Kracheh", - "10" => "Mondulkiri", - "11" => "Phnum Penh", - "12" => "Pursat", - "13" => "Preah Vihear", - "14" => "Prey Veng", - "15" => "Ratanakiri Kiri", - "16" => "Siem Reap", - "17" => "Stung Treng", - "18" => "Svay Rieng", - "19" => "Takeo", - "25" => "Banteay Meanchey", - "29" => "Batdambang", - "30" => "Pailin"), -"KI" => array( - "01" => "Gilbert Islands", - "02" => "Line Islands", - "03" => "Phoenix Islands"), -"KM" => array( - "01" => "Anjouan", - "02" => "Grande Comore", - "03" => "Moheli"), -"KN" => array( - "01" => "Christ Church Nichola Town", - "02" => "Saint Anne Sandy Point", - "03" => "Saint George Basseterre", - "04" => "Saint George Gingerland", - "05" => "Saint James Windward", - "06" => "Saint John Capisterre", - "07" => "Saint John Figtree", - "08" => "Saint Mary Cayon", - "09" => "Saint Paul Capisterre", - "10" => "Saint Paul Charlestown", - "11" => "Saint Peter Basseterre", - "12" => "Saint Thomas Lowland", - "13" => "Saint Thomas Middle Island", - "15" => "Trinity Palmetto Point"), -"KP" => array( - "01" => "Chagang-do", - "03" => "Hamgyong-namdo", - "06" => "Hwanghae-namdo", - "07" => "Hwanghae-bukto", - "08" => "Kaesong-si", - "09" => "Kangwon-do", - "11" => "P'yongan-bukto", - "12" => "P'yongyang-si", - "13" => "Yanggang-do", - "14" => "Namp'o-si", - "15" => "P'yongan-namdo", - "17" => "Hamgyong-bukto", - "18" => "Najin Sonbong-si"), -"KR" => array( - "01" => "Cheju-do", - "03" => "Cholla-bukto", - "05" => "Ch'ungch'ong-bukto", - "06" => "Kangwon-do", - "10" => "Pusan-jikhalsi", - "11" => "Seoul-t'ukpyolsi", - "12" => "Inch'on-jikhalsi", - "13" => "Kyonggi-do", - "14" => "Kyongsang-bukto", - "15" => "Taegu-jikhalsi", - "16" => "Cholla-namdo", - "17" => "Ch'ungch'ong-namdo", - "18" => "Kwangju-jikhalsi", - "19" => "Taejon-jikhalsi", - "20" => "Kyongsang-namdo", - "21" => "Ulsan-gwangyoksi"), -"KW" => array( - "01" => "Al Ahmadi", - "02" => "Al Kuwayt", - "05" => "Al Jahra", - "07" => "Al Farwaniyah", - "08" => "Hawalli", - "09" => "Mubarak al Kabir"), -"KY" => array( - "01" => "Creek", - "02" => "Eastern", - "03" => "Midland", - "04" => "South Town", - "05" => "Spot Bay", - "06" => "Stake Bay", - "07" => "West End", - "08" => "Western"), -"KZ" => array( - "01" => "Almaty", - "02" => "Almaty City", - "03" => "Aqmola", - "04" => "Aqtobe", - "05" => "Astana", - "06" => "Atyrau", - "07" => "West Kazakhstan", - "08" => "Bayqonyr", - "09" => "Mangghystau", - "10" => "South Kazakhstan", - "11" => "Pavlodar", - "12" => "Qaraghandy", - "13" => "Qostanay", - "14" => "Qyzylorda", - "15" => "East Kazakhstan", - "16" => "North Kazakhstan", - "17" => "Zhambyl"), -"LA" => array( - "01" => "Attapu", - "02" => "Champasak", - "03" => "Houaphan", - "04" => "Khammouan", - "05" => "Louang Namtha", - "07" => "Oudomxai", - "08" => "Phongsali", - "09" => "Saravan", - "10" => "Savannakhet", - "11" => "Vientiane", - "13" => "Xaignabouri", - "14" => "Xiangkhoang", - "17" => "Louangphrabang"), -"LB" => array( - "01" => "Beqaa", - "02" => "Al Janub", - "03" => "Liban-Nord", - "04" => "Beyrouth", - "05" => "Mont-Liban", - "06" => "Liban-Sud", - "07" => "Nabatiye", - "08" => "Beqaa", - "09" => "Liban-Nord", - "10" => "Aakk,r", - "11" => "Baalbek-Hermel"), -"LC" => array( - "01" => "Anse-la-Raye", - "02" => "Dauphin", - "03" => "Castries", - "04" => "Choiseul", - "05" => "Dennery", - "06" => "Gros-Islet", - "07" => "Laborie", - "08" => "Micoud", - "09" => "Soufriere", - "10" => "Vieux-Fort", - "11" => "Praslin"), -"LI" => array( - "01" => "Balzers", - "02" => "Eschen", - "03" => "Gamprin", - "04" => "Mauren", - "05" => "Planken", - "06" => "Ruggell", - "07" => "Schaan", - "08" => "Schellenberg", - "09" => "Triesen", - "10" => "Triesenberg", - "11" => "Vaduz", - "21" => "Gbarpolu", - "22" => "River Gee"), -"LK" => array( - "01" => "Amparai", - "02" => "Anuradhapura", - "03" => "Badulla", - "04" => "Batticaloa", - "06" => "Galle", - "07" => "Hambantota", - "09" => "Kalutara", - "10" => "Kandy", - "11" => "Kegalla", - "12" => "Kurunegala", - "14" => "Matale", - "15" => "Matara", - "16" => "Moneragala", - "17" => "Nuwara Eliya", - "18" => "Polonnaruwa", - "19" => "Puttalam", - "20" => "Ratnapura", - "21" => "Trincomalee", - "23" => "Colombo", - "24" => "Gampaha", - "25" => "Jaffna", - "26" => "Mannar", - "27" => "Mullaittivu", - "28" => "Vavuniya", - "29" => "Central", - "30" => "North Central", - "31" => "Northern", - "32" => "North Western", - "33" => "Sabaragamuwa", - "34" => "Southern", - "35" => "Uva", - "36" => "Western"), -"LR" => array( - "01" => "Bong", - "04" => "Grand Cape Mount", - "05" => "Lofa", - "06" => "Maryland", - "07" => "Monrovia", - "09" => "Nimba", - "10" => "Sino", - "11" => "Grand Bassa", - "12" => "Grand Cape Mount", - "13" => "Maryland", - "14" => "Montserrado", - "17" => "Margibi", - "18" => "River Cess", - "19" => "Grand Gedeh", - "20" => "Lofa", - "21" => "Gbarpolu", - "22" => "River Gee"), -"LS" => array( - "10" => "Berea", - "11" => "Butha-Buthe", - "12" => "Leribe", - "13" => "Mafeteng", - "14" => "Maseru", - "15" => "Mohales Hoek", - "16" => "Mokhotlong", - "17" => "Qachas Nek", - "18" => "Quthing", - "19" => "Thaba-Tseka"), -"LT" => array( - "56" => "Alytaus Apskritis", - "57" => "Kauno Apskritis", - "58" => "Klaipedos Apskritis", - "59" => "Marijampoles Apskritis", - "60" => "Panevezio Apskritis", - "61" => "Siauliu Apskritis", - "62" => "Taurages Apskritis", - "63" => "Telsiu Apskritis", - "64" => "Utenos Apskritis", - "65" => "Vilniaus Apskritis"), -"LU" => array( - "01" => "Diekirch", - "02" => "Grevenmacher", - "03" => "Luxembourg"), -"LV" => array( - "01" => "Aizkraukles", - "02" => "Aluksnes", - "03" => "Balvu", - "04" => "Bauskas", - "05" => "Cesu", - "06" => "Daugavpils", - "07" => "Daugavpils", - "08" => "Dobeles", - "09" => "Gulbenes", - "10" => "Jekabpils", - "11" => "Jelgava", - "12" => "Jelgavas", - "13" => "Jurmala", - "14" => "Kraslavas", - "15" => "Kuldigas", - "16" => "Liepaja", - "17" => "Liepajas", - "18" => "Limbazu", - "19" => "Ludzas", - "20" => "Madonas", - "21" => "Ogres", - "22" => "Preilu", - "23" => "Rezekne", - "24" => "Rezeknes", - "25" => "Riga", - "26" => "Rigas", - "27" => "Saldus", - "28" => "Talsu", - "29" => "Tukuma", - "30" => "Valkas", - "31" => "Valmieras", - "32" => "Ventspils", - "33" => "Ventspils"), -"LY" => array( - "03" => "Al Aziziyah", - "05" => "Al Jufrah", - "08" => "Al Kufrah", - "13" => "Ash Shati'", - "30" => "Murzuq", - "34" => "Sabha", - "41" => "Tarhunah", - "42" => "Tubruq", - "45" => "Zlitan", - "47" => "Ajdabiya", - "48" => "Al Fatih", - "49" => "Al Jabal al Akhdar", - "50" => "Al Khums", - "51" => "An Nuqat al Khams", - "52" => "Awbari", - "53" => "Az Zawiyah", - "54" => "Banghazi", - "55" => "Darnah", - "56" => "Ghadamis", - "57" => "Gharyan", - "58" => "Misratah", - "59" => "Sawfajjin", - "60" => "Surt", - "61" => "Tarabulus", - "62" => "Yafran"), -"MA" => array( - "45" => "Grand Casablanca", - "46" => "Fes-Boulemane", - "47" => "Marrakech-Tensift-Al Haouz", - "48" => "Meknes-Tafilalet", - "49" => "Rabat-Sale-Zemmour-Zaer", - "50" => "Chaouia-Ouardigha", - "51" => "Doukkala-Abda", - "52" => "Gharb-Chrarda-Beni Hssen", - "53" => "Guelmim-Es Smara", - "54" => "Oriental", - "55" => "Souss-Massa-Dr,a", - "56" => "Tadla-Azilal", - "57" => "Tanger-Tetouan", - "58" => "Taza-Al Hoceima-Taounate", - "59" => "La,youne-Boujdour-Sakia El Hamra"), -"MC" => array( - "01" => "La Condamine", - "02" => "Monaco", - "03" => "Monte-Carlo"), -"MD" => array( - "51" => "Gagauzia", - "57" => "Chisinau", - "58" => "Stinga Nistrului", - "59" => "Anenii Noi", - "60" => "Balti", - "61" => "Basarabeasca", - "62" => "Bender", - "63" => "Briceni", - "64" => "Cahul", - "65" => "Cantemir", - "66" => "Calarasi", - "67" => "Causeni", - "68" => "Cimislia", - "69" => "Criuleni", - "70" => "Donduseni", - "71" => "Drochia", - "72" => "Dubasari", - "73" => "Edinet", - "74" => "Falesti", - "75" => "Floresti", - "76" => "Glodeni", - "77" => "Hincesti", - "78" => "Ialoveni", - "79" => "Leova", - "80" => "Nisporeni", - "81" => "Ocnita", - "83" => "Rezina", - "84" => "Riscani", - "85" => "Singerei", - "86" => "Soldanesti", - "87" => "Soroca", - "88" => "Stefan-Voda", - "89" => "Straseni", - "90" => "Taraclia", - "91" => "Telenesti", - "92" => "Ungheni"), -"MG" => array( - "01" => "Antsiranana", - "02" => "Fianarantsoa", - "03" => "Mahajanga", - "04" => "Toamasina", - "05" => "Antananarivo", - "06" => "Toliara"), -"MK" => array( - "01" => "Aracinovo", - "02" => "Bac", - "03" => "Belcista", - "04" => "Berovo", - "05" => "Bistrica", - "06" => "Bitola", - "07" => "Blatec", - "08" => "Bogdanci", - "09" => "Bogomila", - "10" => "Bogovinje", - "11" => "Bosilovo", - "12" => "Brvenica", - "13" => "Cair", - "14" => "Capari", - "15" => "Caska", - "16" => "Cegrane", - "17" => "Centar", - "18" => "Centar Zupa", - "19" => "Cesinovo", - "20" => "Cucer-Sandevo", - "21" => "Debar", - "22" => "Delcevo", - "23" => "Delogozdi", - "24" => "Demir Hisar", - "25" => "Demir Kapija", - "26" => "Dobrusevo", - "27" => "Dolna Banjica", - "28" => "Dolneni", - "29" => "Dorce Petrov", - "30" => "Drugovo", - "31" => "Dzepciste", - "32" => "Gazi Baba", - "33" => "Gevgelija", - "34" => "Gostivar", - "35" => "Gradsko", - "36" => "Ilinden", - "37" => "Izvor", - "38" => "Jegunovce", - "39" => "Kamenjane", - "40" => "Karbinci", - "41" => "Karpos", - "42" => "Kavadarci", - "43" => "Kicevo", - "44" => "Kisela Voda", - "45" => "Klecevce", - "46" => "Kocani", - "47" => "Konce", - "48" => "Kondovo", - "49" => "Konopiste", - "50" => "Kosel", - "51" => "Kratovo", - "52" => "Kriva Palanka", - "53" => "Krivogastani", - "54" => "Krusevo", - "55" => "Kuklis", - "56" => "Kukurecani", - "57" => "Kumanovo", - "58" => "Labunista", - "59" => "Lipkovo", - "60" => "Lozovo", - "61" => "Lukovo", - "62" => "Makedonska Kamenica", - "63" => "Makedonski Brod", - "64" => "Mavrovi Anovi", - "65" => "Meseista", - "66" => "Miravci", - "67" => "Mogila", - "68" => "Murtino", - "69" => "Negotino", - "70" => "Negotino-Polosko", - "71" => "Novaci", - "72" => "Novo Selo", - "73" => "Oblesevo", - "74" => "Ohrid", - "75" => "Orasac", - "76" => "Orizari", - "77" => "Oslomej", - "78" => "Pehcevo", - "79" => "Petrovec", - "80" => "Plasnica", - "81" => "Podares", - "82" => "Prilep", - "83" => "Probistip", - "84" => "Radovis", - "85" => "Rankovce", - "86" => "Resen", - "87" => "Rosoman", - "88" => "Rostusa", - "89" => "Samokov", - "90" => "Saraj", - "91" => "Sipkovica", - "92" => "Sopiste", - "93" => "Sopotnica", - "94" => "Srbinovo", - "95" => "Staravina", - "96" => "Star Dojran", - "97" => "Staro Nagoricane", - "98" => "Stip", - "99" => "Struga", - "A1" => "Strumica", - "A2" => "Studenicani", - "A3" => "Suto Orizari", - "A4" => "Sveti Nikole", - "A5" => "Tearce", - "A6" => "Tetovo", - "A7" => "Topolcani", - "A8" => "Valandovo", - "A9" => "Vasilevo", - "B1" => "Veles", - "B2" => "Velesta", - "B3" => "Vevcani", - "B4" => "Vinica", - "B5" => "Vitoliste", - "B6" => "Vranestica", - "B7" => "Vrapciste", - "B8" => "Vratnica", - "B9" => "Vrutok", - "C1" => "Zajas", - "C2" => "Zelenikovo", - "C3" => "Zelino", - "C4" => "Zitose", - "C5" => "Zletovo", - "C6" => "Zrnovci"), -"ML" => array( - "01" => "Bamako", - "03" => "Kayes", - "04" => "Mopti", - "05" => "Segou", - "06" => "Sikasso", - "07" => "Koulikoro", - "08" => "Tombouctou", - "09" => "Gao", - "10" => "Kidal"), -"MM" => array( - "01" => "Rakhine State", - "02" => "Chin State", - "03" => "Irrawaddy", - "04" => "Kachin State", - "05" => "Karan State", - "06" => "Kayah State", - "07" => "Magwe", - "08" => "Mandalay", - "09" => "Pegu", - "10" => "Sagaing", - "11" => "Shan State", - "12" => "Tenasserim", - "13" => "Mon State", - "14" => "Rangoon", - "17" => "Yangon"), -"MN" => array( - "01" => "Arhangay", - "02" => "Bayanhongor", - "03" => "Bayan-Olgiy", - "05" => "Darhan", - "06" => "Dornod", - "07" => "Dornogovi", - "08" => "Dundgovi", - "09" => "Dzavhan", - "10" => "Govi-Altay", - "11" => "Hentiy", - "12" => "Hovd", - "13" => "Hovsgol", - "14" => "Omnogovi", - "15" => "Ovorhangay", - "16" => "Selenge", - "17" => "Suhbaatar", - "18" => "Tov", - "19" => "Uvs", - "20" => "Ulaanbaatar", - "21" => "Bulgan", - "22" => "Erdenet", - "23" => "Darhan-Uul", - "24" => "Govisumber", - "25" => "Orhon"), -"MO" => array( - "01" => "Ilhas", - "02" => "Macau"), -"MR" => array( - "01" => "Hodh Ech Chargui", - "02" => "Hodh El Gharbi", - "03" => "Assaba", - "04" => "Gorgol", - "05" => "Brakna", - "06" => "Trarza", - "07" => "Adrar", - "08" => "Dakhlet Nouadhibou", - "09" => "Tagant", - "10" => "Guidimaka", - "11" => "Tiris Zemmour", - "12" => "Inchiri"), -"MS" => array( - "01" => "Saint Anthony", - "02" => "Saint Georges", - "03" => "Saint Peter"), -"MU" => array( - "12" => "Black River", - "13" => "Flacq", - "14" => "Grand Port", - "15" => "Moka", - "16" => "Pamplemousses", - "17" => "Plaines Wilhems", - "18" => "Port Louis", - "19" => "Riviere du Rempart", - "20" => "Savanne", - "21" => "Agalega Islands", - "22" => "Cargados Carajos", - "23" => "Rodrigues"), -"MV" => array( - "01" => "Seenu", - "05" => "Laamu", - "30" => "Alifu", - "31" => "Baa", - "32" => "Dhaalu", - "33" => "Faafu ", - "34" => "Gaafu Alifu", - "35" => "Gaafu Dhaalu", - "36" => "Haa Alifu", - "37" => "Haa Dhaalu", - "38" => "Kaafu", - "39" => "Lhaviyani", - "40" => "Maale", - "41" => "Meemu", - "42" => "Gnaviyani", - "43" => "Noonu", - "44" => "Raa", - "45" => "Shaviyani", - "46" => "Thaa", - "47" => "Vaavu"), -"MW" => array( - "02" => "Chikwawa", - "03" => "Chiradzulu", - "04" => "Chitipa", - "05" => "Thyolo", - "06" => "Dedza", - "07" => "Dowa", - "08" => "Karonga", - "09" => "Kasungu", - "11" => "Lilongwe", - "12" => "Mangochi", - "13" => "Mchinji", - "15" => "Mzimba", - "16" => "Ntcheu", - "17" => "Nkhata Bay", - "18" => "Nkhotakota", - "19" => "Nsanje", - "20" => "Ntchisi", - "21" => "Rumphi", - "22" => "Salima", - "23" => "Zomba", - "24" => "Blantyre", - "25" => "Mwanza", - "26" => "Balaka", - "27" => "Likoma", - "28" => "Machinga", - "29" => "Mulanje", - "30" => "Phalombe"), -"MX" => array( - "01" => "Aguascalientes", - "02" => "Baja California", - "03" => "Baja California Sur", - "04" => "Campeche", - "05" => "Chiapas", - "06" => "Chihuahua", - "07" => "Coahuila de Zaragoza", - "08" => "Colima", - "09" => "Distrito Federal", - "10" => "Durango", - "11" => "Guanajuato", - "12" => "Guerrero", - "13" => "Hidalgo", - "14" => "Jalisco", - "15" => "Mexico", - "16" => "Michoacan de Ocampo", - "17" => "Morelos", - "18" => "Nayarit", - "19" => "Nuevo Leon", - "20" => "Oaxaca", - "21" => "Puebla", - "22" => "Queretaro de Arteaga", - "23" => "Quintana Roo", - "24" => "San Luis Potosi", - "25" => "Sinaloa", - "26" => "Sonora", - "27" => "Tabasco", - "28" => "Tamaulipas", - "29" => "Tlaxcala", - "30" => "Veracruz-Llave", - "31" => "Yucatan", - "32" => "Zacatecas"), -"MY" => array( - "01" => "Johor", - "02" => "Kedah", - "03" => "Kelantan", - "04" => "Melaka", - "05" => "Negeri Sembilan", - "06" => "Pahang", - "07" => "Perak", - "08" => "Perlis", - "09" => "Pulau Pinang", - "11" => "Sarawak", - "12" => "Selangor", - "13" => "Terengganu", - "14" => "Kuala Lumpur", - "15" => "Labuan", - "16" => "Sabah", - "17" => "Putrajaya"), -"MZ" => array( - "01" => "Cabo Delgado", - "02" => "Gaza", - "03" => "Inhambane", - "04" => "Maputo", - "05" => "Sofala", - "06" => "Nampula", - "07" => "Niassa", - "08" => "Tete", - "09" => "Zambezia", - "10" => "Manica", - "11" => "Maputo"), -"NA" => array( - "01" => "Bethanien", - "02" => "Caprivi Oos", - "03" => "Boesmanland", - "04" => "Gobabis", - "05" => "Grootfontein", - "06" => "Kaokoland", - "07" => "Karibib", - "08" => "Keetmanshoop", - "09" => "Luderitz", - "10" => "Maltahohe", - "11" => "Okahandja", - "12" => "Omaruru", - "13" => "Otjiwarongo", - "14" => "Outjo", - "15" => "Owambo", - "16" => "Rehoboth", - "17" => "Swakopmund", - "18" => "Tsumeb", - "20" => "Karasburg", - "21" => "Windhoek", - "22" => "Damaraland", - "23" => "Hereroland Oos", - "24" => "Hereroland Wes", - "25" => "Kavango", - "26" => "Mariental", - "27" => "Namaland", - "28" => "Caprivi", - "29" => "Erongo", - "30" => "Hardap", - "31" => "Karas", - "32" => "Kunene", - "33" => "Ohangwena", - "34" => "Okavango", - "35" => "Omaheke", - "36" => "Omusati", - "37" => "Oshana", - "38" => "Oshikoto", - "39" => "Otjozondjupa"), -"NE" => array( - "01" => "Agadez", - "02" => "Diffa", - "03" => "Dosso", - "04" => "Maradi", - "05" => "Niamey", - "06" => "Tahoua", - "07" => "Zinder", - "08" => "Niamey"), -"NG" => array( - "05" => "Lagos", - "11" => "Federal Capital Territory", - "16" => "Ogun", - "21" => "Akwa Ibom", - "22" => "Cross River", - "23" => "Kaduna", - "24" => "Katsina", - "25" => "Anambra", - "26" => "Benue", - "27" => "Borno", - "28" => "Imo", - "29" => "Kano", - "30" => "Kwara", - "31" => "Niger", - "32" => "Oyo", - "35" => "Adamawa", - "36" => "Delta", - "37" => "Edo", - "39" => "Jigawa", - "40" => "Kebbi", - "41" => "Kogi", - "42" => "Osun", - "43" => "Taraba", - "44" => "Yobe", - "45" => "Abia", - "46" => "Bauchi", - "47" => "Enugu", - "48" => "Ondo", - "49" => "Plateau", - "50" => "Rivers", - "51" => "Sokoto", - "52" => "Bayelsa", - "53" => "Ebonyi", - "54" => "Ekiti", - "55" => "Gombe", - "56" => "Nassarawa", - "57" => "Zamfara"), -"NI" => array( - "01" => "Boaco", - "02" => "Carazo", - "03" => "Chinandega", - "04" => "Chontales", - "05" => "Esteli", - "06" => "Granada", - "07" => "Jinotega", - "08" => "Leon", - "09" => "Madriz", - "10" => "Managua", - "11" => "Masaya", - "12" => "Matagalpa", - "13" => "Nueva Segovia", - "14" => "Rio San Juan", - "15" => "Rivas", - "16" => "Zelaya", - "17" => "Autonoma Atlantico Norte", - "18" => "Region Autonoma Atlantico Sur"), -"NL" => array( - "01" => "Drenthe", - "02" => "Friesland", - "03" => "Gelderland", - "04" => "Groningen", - "05" => "Limburg", - "06" => "Noord-Brabant", - "07" => "Noord-Holland", - "08" => "Overijssel", - "09" => "Utrecht", - "10" => "Zeeland", - "11" => "Zuid-Holland", - "15" => "Overijssel", - "16" => "Flevoland"), -"NO" => array( - "01" => "Akershus", - "02" => "Aust-Agder", - "04" => "Buskerud", - "05" => "Finnmark", - "06" => "Hedmark", - "07" => "Hordaland", - "08" => "More og Romsdal", - "09" => "Nordland", - "10" => "Nord-Trondelag", - "11" => "Oppland", - "12" => "Oslo", - "13" => "Ostfold", - "14" => "Rogaland", - "15" => "Sogn og Fjordane", - "16" => "Sor-Trondelag", - "17" => "Telemark", - "18" => "Troms", - "19" => "Vest-Agder", - "20" => "Vestfold"), -"NP" => array( - "01" => "Bagmati", - "02" => "Bheri", - "03" => "Dhawalagiri", - "04" => "Gandaki", - "05" => "Janakpur", - "06" => "Karnali", - "07" => "Kosi", - "08" => "Lumbini", - "09" => "Mahakali", - "10" => "Mechi", - "11" => "Narayani", - "12" => "Rapti", - "13" => "Sagarmatha", - "14" => "Seti"), -"NR" => array( - "01" => "Aiwo", - "02" => "Anabar", - "03" => "Anetan", - "04" => "Anibare", - "05" => "Baiti", - "06" => "Boe", - "07" => "Buada", - "08" => "Denigomodu", - "09" => "Ewa", - "10" => "Ijuw", - "11" => "Meneng", - "12" => "Nibok", - "13" => "Uaboe", - "14" => "Yaren"), -"NZ" => array( - "10" => "Chatham Islands", - "E7" => "Auckland", - "E8" => "Bay of Plenty", - "E9" => "Canterbury", - "F1" => "Gisborne", - "F2" => "Hawke's Bay", - "F3" => "Manawatu-Wanganui", - "F4" => "Marlborough", - "F5" => "Nelson", - "F6" => "Northland", - "F7" => "Otago", - "F8" => "Southland", - "F9" => "Taranaki", - "G1" => "Waikato", - "G2" => "Wellington", - "G3" => "West Coast"), -"OM" => array( - "01" => "Ad Dakhiliyah", - "02" => "Al Batinah", - "03" => "Al Wusta", - "04" => "Ash Sharqiyah", - "05" => "Az Zahirah", - "06" => "Masqat", - "07" => "Musandam", - "08" => "Zufar"), -"PA" => array( - "01" => "Bocas del Toro", - "02" => "Chiriqui", - "03" => "Cocle", - "04" => "Colon", - "05" => "Darien", - "06" => "Herrera", - "07" => "Los Santos", - "08" => "Panama", - "09" => "San Blas", - "10" => "Veraguas"), -"PE" => array( - "01" => "Amazonas", - "02" => "Ancash", - "03" => "Apurimac", - "04" => "Arequipa", - "05" => "Ayacucho", - "06" => "Cajamarca", - "07" => "Callao", - "08" => "Cusco", - "09" => "Huancavelica", - "10" => "Huanuco", - "11" => "Ica", - "12" => "Junin", - "13" => "La Libertad", - "14" => "Lambayeque", - "15" => "Lima", - "16" => "Loreto", - "17" => "Madre de Dios", - "18" => "Moquegua", - "19" => "Pasco", - "20" => "Piura", - "21" => "Puno", - "22" => "San Martin", - "23" => "Tacna", - "24" => "Tumbes", - "25" => "Ucayali"), -"PG" => array( - "01" => "Central", - "02" => "Gulf", - "03" => "Milne Bay", - "04" => "Northern", - "05" => "Southern Highlands", - "06" => "Western", - "07" => "North Solomons", - "08" => "Chimbu", - "09" => "Eastern Highlands", - "10" => "East New Britain", - "11" => "East Sepik", - "12" => "Madang", - "13" => "Manus", - "14" => "Morobe", - "15" => "New Ireland", - "16" => "Western Highlands", - "17" => "West New Britain", - "18" => "Sandaun", - "19" => "Enga", - "20" => "National Capital"), -"PH" => array( - "01" => "Abra", - "02" => "Agusan del Norte", - "03" => "Agusan del Sur", - "04" => "Aklan", - "05" => "Albay", - "06" => "Antique", - "07" => "Bataan", - "08" => "Batanes", - "09" => "Batangas", - "10" => "Benguet", - "11" => "Bohol", - "12" => "Bukidnon", - "13" => "Bulacan", - "14" => "Cagayan", - "15" => "Camarines Norte", - "16" => "Camarines Sur", - "17" => "Camiguin", - "18" => "Capiz", - "19" => "Catanduanes", - "20" => "Cavite", - "21" => "Cebu", - "22" => "Basilan", - "23" => "Eastern Samar", - "24" => "Davao", - "25" => "Davao del Sur", - "26" => "Davao Oriental", - "27" => "Ifugao", - "28" => "Ilocos Norte", - "29" => "Ilocos Sur", - "30" => "Iloilo", - "31" => "Isabela", - "32" => "Kalinga-Apayao", - "33" => "Laguna", - "34" => "Lanao del Norte", - "35" => "Lanao del Sur", - "36" => "La Union", - "37" => "Leyte", - "38" => "Marinduque", - "39" => "Masbate", - "40" => "Mindoro Occidental", - "41" => "Mindoro Oriental", - "42" => "Misamis Occidental", - "43" => "Misamis Oriental", - "44" => "Mountain", - "45" => "Negros Occidental", - "46" => "Negros Oriental", - "47" => "Nueva Ecija", - "48" => "Nueva Vizcaya", - "49" => "Palawan", - "50" => "Pampanga", - "51" => "Pangasinan", - "53" => "Rizal", - "54" => "Romblon", - "55" => "Samar", - "56" => "Maguindanao", - "57" => "North Cotabato", - "58" => "Sorsogon", - "59" => "Southern Leyte", - "60" => "Sulu", - "61" => "Surigao del Norte", - "62" => "Surigao del Sur", - "63" => "Tarlac", - "64" => "Zambales", - "65" => "Zamboanga del Norte", - "66" => "Zamboanga del Sur", - "67" => "Northern Samar", - "68" => "Quirino", - "69" => "Siquijor", - "70" => "South Cotabato", - "71" => "Sultan Kudarat", - "72" => "Tawitawi", - "A1" => "Angeles", - "A2" => "Bacolod", - "A3" => "Bago", - "A4" => "Baguio", - "A5" => "Bais", - "A6" => "Basilan City", - "A7" => "Batangas City", - "A8" => "Butuan", - "A9" => "Cabanatuan", - "B1" => "Cadiz", - "B2" => "Cagayan de Oro", - "B3" => "Calbayog", - "B4" => "Caloocan", - "B5" => "Canlaon", - "B6" => "Cavite City", - "B7" => "Cebu City", - "B8" => "Cotabato", - "B9" => "Dagupan", - "C1" => "Danao", - "C2" => "Dapitan", - "C3" => "Davao City", - "C4" => "Dipolog", - "C5" => "Dumaguete", - "C6" => "General Santos", - "C7" => "Gingoog", - "C8" => "Iligan", - "C9" => "Iloilo City", - "D1" => "Iriga", - "D2" => "La Carlota", - "D3" => "Laoag", - "D4" => "Lapu-Lapu", - "D5" => "Legaspi", - "D6" => "Lipa", - "D7" => "Lucena", - "D8" => "Mandaue", - "D9" => "Manila", - "E1" => "Marawi", - "E2" => "Naga", - "E3" => "Olongapo", - "E4" => "Ormoc", - "E5" => "Oroquieta", - "E6" => "Ozamis", - "E7" => "Pagadian", - "E8" => "Palayan", - "E9" => "Pasay", - "F1" => "Puerto Princesa", - "F2" => "Quezon City", - "F3" => "Roxas", - "F4" => "San Carlos", - "F5" => "San Carlos", - "F6" => "San Jose", - "F7" => "San Pablo", - "F8" => "Silay", - "F9" => "Surigao", - "G1" => "Tacloban", - "G2" => "Tagaytay", - "G3" => "Tagbilaran", - "G4" => "Tangub", - "G5" => "Toledo", - "G6" => "Trece Martires", - "G7" => "Zamboanga", - "G8" => "Aurora", - "H2" => "Quezon", - "H3" => "Negros Occidental"), -"PK" => array( - "01" => "Federally Administered Tribal Areas", - "02" => "Balochistan", - "03" => "North-West Frontier", - "04" => "Punjab", - "05" => "Sindh", - "06" => "Azad Kashmir", - "07" => "Northern Areas", - "08" => "Islamabad"), -"PL" => array( - "72" => "Dolnoslaskie", - "73" => "Kujawsko-Pomorskie", - "74" => "Lodzkie", - "75" => "Lubelskie", - "76" => "Lubuskie", - "77" => "Malopolskie", - "78" => "Mazowieckie", - "79" => "Opolskie", - "80" => "Podkarpackie", - "81" => "Podlaskie", - "82" => "Pomorskie", - "83" => "Slaskie", - "84" => "Swietokrzyskie", - "85" => "Warminsko-Mazurskie", - "86" => "Wielkopolskie", - "87" => "Zachodniopomorskie"), -"PS" => array( - "GZ" => "Gaza", - "WE" => "West Bank"), -"PT" => array( - "02" => "Aveiro", - "03" => "Beja", - "04" => "Braga", - "05" => "Braganca", - "06" => "Castelo Branco", - "07" => "Coimbra", - "08" => "Evora", - "09" => "Faro", - "10" => "Madeira", - "11" => "Guarda", - "13" => "Leiria", - "14" => "Lisboa", - "16" => "Portalegre", - "17" => "Porto", - "18" => "Santarem", - "19" => "Setubal", - "20" => "Viana do Castelo", - "21" => "Vila Real", - "22" => "Viseu", - "23" => "Azores"), -"PY" => array( - "01" => "Alto Parana", - "02" => "Amambay", - "03" => "Boqueron", - "04" => "Caaguazu", - "05" => "Caazapa", - "06" => "Central", - "07" => "Concepcion", - "08" => "Cordillera", - "10" => "Guaira", - "11" => "Itapua", - "12" => "Misiones", - "13" => "Neembucu", - "15" => "Paraguari", - "16" => "Presidente Hayes", - "17" => "San Pedro", - "19" => "Canindeyu", - "20" => "Chaco", - "21" => "Nueva Asuncion", - "23" => "Alto Paraguay"), -"QA" => array( - "01" => "Ad Dawhah", - "02" => "Al Ghuwariyah", - "03" => "Al Jumaliyah", - "04" => "Al Khawr", - "05" => "Al Wakrah Municipality", - "06" => "Ar Rayyan", - "08" => "Madinat ach Shamal", - "09" => "Umm Salal", - "10" => "Al Wakrah", - "11" => "Jariyan al Batnah", - "12" => "Umm Sa'id"), -"RO" => array( - "01" => "Alba", - "02" => "Arad", - "03" => "Arges", - "04" => "Bacau", - "05" => "Bihor", - "06" => "Bistrita-Nasaud", - "07" => "Botosani", - "08" => "Braila", - "09" => "Brasov", - "10" => "Bucuresti", - "11" => "Buzau", - "12" => "Caras-Severin", - "13" => "Cluj", - "14" => "Constanta", - "15" => "Covasna", - "16" => "Dambovita", - "17" => "Dolj", - "18" => "Galati", - "19" => "Gorj", - "20" => "Harghita", - "21" => "Hunedoara", - "22" => "Ialomita", - "23" => "Iasi", - "25" => "Maramures", - "26" => "Mehedinti", - "27" => "Mures", - "28" => "Neamt", - "29" => "Olt", - "30" => "Prahova", - "31" => "Salaj", - "32" => "Satu Mare", - "33" => "Sibiu", - "34" => "Suceava", - "35" => "Teleorman", - "36" => "Timis", - "37" => "Tulcea", - "38" => "Vaslui", - "39" => "Valcea", - "40" => "Vrancea", - "41" => "Calarasi", - "42" => "Giurgiu", - "43" => "Ilfov"), -"RS" => array( - "01" => "Kosovo", - "02" => "Vojvodina"), -"RU" => array( - "01" => "Adygeya, Republic of", - "02" => "Aginsky Buryatsky AO", - "03" => "Gorno-Altay", - "04" => "Altaisky krai", - "05" => "Amur", - "06" => "Arkhangel'sk", - "07" => "Astrakhan'", - "08" => "Bashkortostan", - "09" => "Belgorod", - "10" => "Bryansk", - "11" => "Buryat", - "12" => "Chechnya", - "13" => "Chelyabinsk", - "14" => "Chita", - "15" => "Chukot", - "16" => "Chuvashia", - "17" => "Dagestan", - "18" => "Evenk", - "19" => "Ingush", - "20" => "Irkutsk", - "21" => "Ivanovo", - "22" => "Kabardin-Balkar", - "23" => "Kaliningrad", - "24" => "Kalmyk", - "25" => "Kaluga", - "26" => "Kamchatka", - "27" => "Karachay-Cherkess", - "28" => "Karelia", - "29" => "Kemerovo", - "30" => "Khabarovsk", - "31" => "Khakass", - "32" => "Khanty-Mansiy", - "33" => "Kirov", - "34" => "Komi", - "35" => "Komi-Permyak", - "36" => "Koryak", - "37" => "Kostroma", - "38" => "Krasnodar", - "39" => "Krasnoyarsk", - "40" => "Kurgan", - "41" => "Kursk", - "42" => "Leningrad", - "43" => "Lipetsk", - "44" => "Magadan", - "45" => "Mariy-El", - "46" => "Mordovia", - "47" => "Moskva", - "48" => "Moscow City", - "49" => "Murmansk", - "50" => "Nenets", - "51" => "Nizhegorod", - "52" => "Novgorod", - "53" => "Novosibirsk", - "54" => "Omsk", - "55" => "Orenburg", - "56" => "Orel", - "57" => "Penza", - "58" => "Perm'", - "59" => "Primor'ye", - "60" => "Pskov", - "61" => "Rostov", - "62" => "Ryazan'", - "63" => "Sakha", - "64" => "Sakhalin", - "65" => "Samara", - "66" => "Saint Petersburg City", - "67" => "Saratov", - "68" => "North Ossetia", - "69" => "Smolensk", - "70" => "Stavropol'", - "71" => "Sverdlovsk", - "72" => "Tambovskaya oblast", - "73" => "Tatarstan", - "74" => "Taymyr", - "75" => "Tomsk", - "76" => "Tula", - "77" => "Tver'", - "78" => "Tyumen'", - "79" => "Tuva", - "80" => "Udmurt", - "81" => "Ul'yanovsk", - "82" => "Ust-Orda Buryat", - "83" => "Vladimir", - "84" => "Volgograd", - "85" => "Vologda", - "86" => "Voronezh", - "87" => "Yamal-Nenets", - "88" => "Yaroslavl'", - "89" => "Yevrey", - "90" => "Permskiy Kray", - "91" => "Krasnoyarskiy Kray", - "CI" => "Chechnya Republic"), -"RW" => array( - "01" => "Butare", - "06" => "Gitarama", - "07" => "Kibungo", - "09" => "Kigali", - "11" => "Est", - "12" => "Kigali", - "13" => "Nord", - "14" => "Ouest", - "15" => "Sud"), -"SA" => array( - "02" => "Al Bahah", - "03" => "Al Jawf", - "05" => "Al Madinah", - "06" => "Ash Sharqiyah", - "08" => "Al Qasim", - "09" => "Al Qurayyat", - "10" => "Ar Riyad", - "13" => "Ha'il", - "14" => "Makkah", - "15" => "Al Hudud ash Shamaliyah", - "16" => "Najran", - "17" => "Jizan", - "19" => "Tabuk", - "20" => "Al Jawf"), -"SB" => array( - "03" => "Malaita", - "06" => "Guadalcanal", - "07" => "Isabel", - "08" => "Makira", - "09" => "Temotu", - "10" => "Central", - "11" => "Western", - "12" => "Choiseul", - "13" => "Rennell and Bellona"), -"SC" => array( - "01" => "Anse aux Pins", - "02" => "Anse Boileau", - "03" => "Anse Etoile", - "04" => "Anse Louis", - "05" => "Anse Royale", - "06" => "Baie Lazare", - "07" => "Baie Sainte Anne", - "08" => "Beau Vallon", - "09" => "Bel Air", - "10" => "Bel Ombre", - "11" => "Cascade", - "12" => "Glacis", - "13" => "Grand' Anse", - "14" => "Grand' Anse", - "15" => "La Digue", - "16" => "La Riviere Anglaise", - "17" => "Mont Buxton", - "18" => "Mont Fleuri", - "19" => "Plaisance", - "20" => "Pointe La Rue", - "21" => "Port Glaud", - "22" => "Saint Louis", - "23" => "Takamaka"), -"SD" => array( - "27" => "Al Wusta", - "28" => "Al Istiwa'iyah", - "29" => "Al Khartum", - "30" => "Ash Shamaliyah", - "31" => "Ash Sharqiyah", - "32" => "Bahr al Ghazal", - "33" => "Darfur", - "34" => "Kurdufan", - "35" => "Upper Nile", - "40" => "Al Wahadah State", - "44" => "Central Equatoria State"), -"SE" => array( - "02" => "Blekinge Lan", - "03" => "Gavleborgs Lan", - "05" => "Gotlands Lan", - "06" => "Hallands Lan", - "07" => "Jamtlands Lan", - "08" => "Jonkopings Lan", - "09" => "Kalmar Lan", - "10" => "Dalarnas Lan", - "12" => "Kronobergs Lan", - "14" => "Norrbottens Lan", - "15" => "Orebro Lan", - "16" => "Ostergotlands Lan", - "18" => "Sodermanlands Lan", - "21" => "Uppsala Lan", - "22" => "Varmlands Lan", - "23" => "Vasterbottens Lan", - "24" => "Vasternorrlands Lan", - "25" => "Vastmanlands Lan", - "26" => "Stockholms Lan", - "27" => "Skane Lan", - "28" => "Vastra Gotaland"), -"SH" => array( - "01" => "Ascension", - "02" => "Saint Helena", - "03" => "Tristan da Cunha"), -"SI" => array( - "01" => "Ajdovscina", - "02" => "Beltinci", - "03" => "Bled", - "04" => "Bohinj", - "05" => "Borovnica", - "06" => "Bovec", - "07" => "Brda", - "08" => "Brezice", - "09" => "Brezovica", - "11" => "Celje", - "12" => "Cerklje na Gorenjskem", - "13" => "Cerknica", - "14" => "Cerkno", - "15" => "Crensovci", - "16" => "Crna na Koroskem", - "17" => "Crnomelj", - "19" => "Divaca", - "20" => "Dobrepolje", - "22" => "Dol pri Ljubljani", - "24" => "Dornava", - "25" => "Dravograd", - "26" => "Duplek", - "27" => "Gorenja Vas-Poljane", - "28" => "Gorisnica", - "29" => "Gornja Radgona", - "30" => "Gornji Grad", - "31" => "Gornji Petrovci", - "32" => "Grosuplje", - "34" => "Hrastnik", - "35" => "Hrpelje-Kozina", - "36" => "Idrija", - "37" => "Ig", - "38" => "Ilirska Bistrica", - "39" => "Ivancna Gorica", - "40" => "Izola-Isola", - "42" => "Jursinci", - "44" => "Kanal", - "45" => "Kidricevo", - "46" => "Kobarid", - "47" => "Kobilje", - "49" => "Komen", - "50" => "Koper-Capodistria", - "51" => "Kozje", - "52" => "Kranj", - "53" => "Kranjska Gora", - "54" => "Krsko", - "55" => "Kungota", - "57" => "Lasko", - "61" => "Ljubljana", - "62" => "Ljubno", - "64" => "Logatec", - "66" => "Loski Potok", - "68" => "Lukovica", - "71" => "Medvode", - "72" => "Menges", - "73" => "Metlika", - "74" => "Mezica", - "76" => "Mislinja", - "77" => "Moravce", - "78" => "Moravske Toplice", - "79" => "Mozirje", - "80" => "Murska Sobota", - "81" => "Muta", - "82" => "Naklo", - "83" => "Nazarje", - "84" => "Nova Gorica", - "86" => "Odranci", - "87" => "Ormoz", - "88" => "Osilnica", - "89" => "Pesnica", - "91" => "Pivka", - "92" => "Podcetrtek", - "94" => "Postojna", - "97" => "Puconci", - "98" => "Racam", - "99" => "Radece", - "A1" => "Radenci", - "A2" => "Radlje ob Dravi", - "A3" => "Radovljica", - "A6" => "Rogasovci", - "A7" => "Rogaska Slatina", - "A8" => "Rogatec", - "B1" => "Semic", - "B2" => "Sencur", - "B3" => "Sentilj", - "B4" => "Sentjernej", - "B6" => "Sevnica", - "B7" => "Sezana", - "B8" => "Skocjan", - "B9" => "Skofja Loka", - "C1" => "Skofljica", - "C2" => "Slovenj Gradec", - "C4" => "Slovenske Konjice", - "C5" => "Smarje pri Jelsah", - "C6" => "Smartno ob Paki", - "C7" => "Sostanj", - "C8" => "Starse", - "C9" => "Store", - "D1" => "Sveti Jurij", - "D2" => "Tolmin", - "D3" => "Trbovlje", - "D4" => "Trebnje", - "D5" => "Trzic", - "D6" => "Turnisce", - "D7" => "Velenje", - "D8" => "Velike Lasce", - "E1" => "Vipava", - "E2" => "Vitanje", - "E3" => "Vodice", - "E5" => "Vrhnika", - "E6" => "Vuzenica", - "E7" => "Zagorje ob Savi", - "E9" => "Zavrc", - "F1" => "Zelezniki", - "F2" => "Ziri", - "F3" => "Zrece", - "G4" => "Dobrova-Horjul-Polhov Gradec", - "G7" => "Domzale", - "H4" => "Jesenice", - "H6" => "Kamnik", - "H7" => "Kocevje", - "I2" => "Kuzma", - "I3" => "Lenart", - "I5" => "Litija", - "I6" => "Ljutomer", - "I7" => "Loska Dolina", - "I9" => "Luce", - "J1" => "Majsperk", - "J2" => "Maribor", - "J5" => "Miren-Kostanjevica", - "J7" => "Novo Mesto", - "J9" => "Piran", - "K5" => "Preddvor", - "K7" => "Ptuj", - "L1" => "Ribnica", - "L3" => "Ruse", - "L7" => "Sentjur pri Celju", - "L8" => "Slovenska Bistrica", - "N2" => "Videm", - "N3" => "Vojnik", - "N5" => "Zalec"), -"SK" => array( - "01" => "Banska Bystrica", - "02" => "Bratislava", - "03" => "Kosice", - "04" => "Nitra", - "05" => "Presov", - "06" => "Trencin", - "07" => "Trnava", - "08" => "Zilina"), -"SL" => array( - "01" => "Eastern", - "02" => "Northern", - "03" => "Southern", - "04" => "Western Area"), -"SM" => array( - "01" => "Acquaviva", - "02" => "Chiesanuova", - "03" => "Domagnano", - "04" => "Faetano", - "05" => "Fiorentino", - "06" => "Borgo Maggiore", - "07" => "San Marino", - "08" => "Monte Giardino", - "09" => "Serravalle"), -"SN" => array( - "01" => "Dakar", - "03" => "Diourbel", - "05" => "Tambacounda", - "07" => "Thies", - "09" => "Fatick", - "10" => "Kaolack", - "11" => "Kolda", - "12" => "Ziguinchor", - "13" => "Louga", - "14" => "Saint-Louis", - "15" => "Matam"), -"SO" => array( - "01" => "Bakool", - "02" => "Banaadir", - "03" => "Bari", - "04" => "Bay", - "05" => "Galguduud", - "06" => "Gedo", - "07" => "Hiiraan", - "08" => "Jubbada Dhexe", - "09" => "Jubbada Hoose", - "10" => "Mudug", - "11" => "Nugaal", - "12" => "Sanaag", - "13" => "Shabeellaha Dhexe", - "14" => "Shabeellaha Hoose", - "16" => "Woqooyi Galbeed", - "18" => "Nugaal", - "19" => "Togdheer", - "20" => "Woqooyi Galbeed", - "21" => "Awdal", - "22" => "Sool"), -"SR" => array( - "10" => "Brokopondo", - "11" => "Commewijne", - "12" => "Coronie", - "13" => "Marowijne", - "14" => "Nickerie", - "15" => "Para", - "16" => "Paramaribo", - "17" => "Saramacca", - "18" => "Sipaliwini", - "19" => "Wanica"), -"ST" => array( - "01" => "Principe", - "02" => "Sao Tome"), -"SV" => array( - "01" => "Ahuachapan", - "02" => "Cabanas", - "03" => "Chalatenango", - "04" => "Cuscatlan", - "05" => "La Libertad", - "06" => "La Paz", - "07" => "La Union", - "08" => "Morazan", - "09" => "San Miguel", - "10" => "San Salvador", - "11" => "Santa Ana", - "12" => "San Vicente", - "13" => "Sonsonate", - "14" => "Usulutan"), -"SY" => array( - "01" => "Al Hasakah", - "02" => "Al Ladhiqiyah", - "03" => "Al Qunaytirah", - "04" => "Ar Raqqah", - "05" => "As Suwayda'", - "06" => "Dar", - "07" => "Dayr az Zawr", - "08" => "Rif Dimashq", - "09" => "Halab", - "10" => "Hamah", - "11" => "Hims", - "12" => "Idlib", - "13" => "Dimashq", - "14" => "Tartus"), -"SZ" => array( - "01" => "Hhohho", - "02" => "Lubombo", - "03" => "Manzini", - "04" => "Shiselweni", - "05" => "Praslin"), -"TD" => array( - "01" => "Batha", - "02" => "Biltine", - "03" => "Borkou-Ennedi-Tibesti", - "04" => "Chari-Baguirmi", - "05" => "Guera", - "06" => "Kanem", - "07" => "Lac", - "08" => "Logone Occidental", - "09" => "Logone Oriental", - "10" => "Mayo-Kebbi", - "11" => "Moyen-Chari", - "12" => "Ouaddai", - "13" => "Salamat", - "14" => "Tandjile"), -"TG" => array( - "22" => "Centrale", - "23" => "Kara", - "24" => "Maritime", - "25" => "Plateaux", - "26" => "Savanes"), -"TH" => array( - "01" => "Mae Hong Son", - "02" => "Chiang Mai", - "03" => "Chiang Rai", - "04" => "Nan", - "05" => "Lamphun", - "06" => "Lampang", - "07" => "Phrae", - "08" => "Tak", - "09" => "Sukhothai", - "10" => "Uttaradit", - "11" => "Kamphaeng Phet", - "12" => "Phitsanulok", - "13" => "Phichit", - "14" => "Phetchabun", - "15" => "Uthai Thani", - "16" => "Nakhon Sawan", - "17" => "Nong Khai", - "18" => "Loei", - "20" => "Sakon Nakhon", - "21" => "Nakhon Phanom", - "22" => "Khon Kaen", - "23" => "Kalasin", - "24" => "Maha Sarakham", - "25" => "Roi Et", - "26" => "Chaiyaphum", - "27" => "Nakhon Ratchasima", - "28" => "Buriram", - "29" => "Surin", - "30" => "Sisaket", - "31" => "Narathiwat", - "32" => "Chai Nat", - "33" => "Sing Buri", - "34" => "Lop Buri", - "35" => "Ang Thong", - "36" => "Phra Nakhon Si Ayutthaya", - "37" => "Saraburi", - "38" => "Nonthaburi", - "39" => "Pathum Thani", - "40" => "Krung Thep", - "41" => "Phayao", - "42" => "Samut Prakan", - "43" => "Nakhon Nayok", - "44" => "Chachoengsao", - "45" => "Prachin Buri", - "46" => "Chon Buri", - "47" => "Rayong", - "48" => "Chanthaburi", - "49" => "Trat", - "50" => "Kanchanaburi", - "51" => "Suphan Buri", - "52" => "Ratchaburi", - "53" => "Nakhon Pathom", - "54" => "Samut Songkhram", - "55" => "Samut Sakhon", - "56" => "Phetchaburi", - "57" => "Prachuap Khiri Khan", - "58" => "Chumphon", - "59" => "Ranong", - "60" => "Surat Thani", - "61" => "Phangnga", - "62" => "Phuket", - "63" => "Krabi", - "64" => "Nakhon Si Thammarat", - "65" => "Trang", - "66" => "Phatthalung", - "67" => "Satun", - "68" => "Songkhla", - "69" => "Pattani", - "70" => "Yala", - "71" => "Ubon Ratchathani", - "72" => "Yasothon", - "73" => "Nakhon Phanom", - "75" => "Ubon Ratchathani", - "76" => "Udon Thani", - "77" => "Amnat Charoen", - "78" => "Mukdahan", - "79" => "Nong Bua Lamphu", - "80" => "Sa Kaeo"), -"TJ" => array( - "01" => "Kuhistoni Badakhshon", - "02" => "Khatlon", - "03" => "Sughd"), -"TM" => array( - "01" => "Ahal", - "02" => "Balkan", - "03" => "Dashoguz", - "04" => "Lebap", - "05" => "Mary"), -"TN" => array( - "02" => "Kasserine", - "03" => "Kairouan", - "06" => "Jendouba", - "10" => "Qafsah", - "14" => "El Kef", - "15" => "Al Mahdia", - "16" => "Al Munastir", - "17" => "Bajah", - "18" => "Bizerte", - "19" => "Nabeul", - "22" => "Siliana", - "23" => "Sousse", - "27" => "Ben Arous", - "28" => "Madanin", - "29" => "Gabes", - "31" => "Kebili", - "32" => "Sfax", - "33" => "Sidi Bou Zid", - "34" => "Tataouine", - "35" => "Tozeur", - "36" => "Tunis", - "37" => "Zaghouan", - "38" => "Aiana", - "39" => "Manouba"), -"TO" => array( - "01" => "Ha", - "02" => "Tongatapu", - "03" => "Vava"), -"TR" => array( - "02" => "Adiyaman", - "03" => "Afyonkarahisar", - "04" => "Agri", - "05" => "Amasya", - "07" => "Antalya", - "08" => "Artvin", - "09" => "Aydin", - "10" => "Balikesir", - "11" => "Bilecik", - "12" => "Bingol", - "13" => "Bitlis", - "14" => "Bolu", - "15" => "Burdur", - "16" => "Bursa", - "17" => "Canakkale", - "19" => "Corum", - "20" => "Denizli", - "21" => "Diyarbakir", - "22" => "Edirne", - "23" => "Elazig", - "24" => "Erzincan", - "25" => "Erzurum", - "26" => "Eskisehir", - "28" => "Giresun", - "31" => "Hatay", - "32" => "Mersin", - "33" => "Isparta", - "34" => "Istanbul", - "35" => "Izmir", - "37" => "Kastamonu", - "38" => "Kayseri", - "39" => "Kirklareli", - "40" => "Kirsehir", - "41" => "Kocaeli", - "43" => "Kutahya", - "44" => "Malatya", - "45" => "Manisa", - "46" => "Kahramanmaras", - "48" => "Mugla", - "49" => "Mus", - "50" => "Nevsehir", - "52" => "Ordu", - "53" => "Rize", - "54" => "Sakarya", - "55" => "Samsun", - "57" => "Sinop", - "58" => "Sivas", - "59" => "Tekirdag", - "60" => "Tokat", - "61" => "Trabzon", - "62" => "Tunceli", - "63" => "Sanliurfa", - "64" => "Usak", - "65" => "Van", - "66" => "Yozgat", - "68" => "Ankara", - "69" => "Gumushane", - "70" => "Hakkari", - "71" => "Konya", - "72" => "Mardin", - "73" => "Nigde", - "74" => "Siirt", - "75" => "Aksaray", - "76" => "Batman", - "77" => "Bayburt", - "78" => "Karaman", - "79" => "Kirikkale", - "80" => "Sirnak", - "81" => "Adana", - "82" => "Cankiri", - "83" => "Gaziantep", - "84" => "Kars", - "85" => "Zonguldak", - "86" => "Ardahan", - "87" => "Bartin", - "88" => "Igdir", - "89" => "Karabuk", - "90" => "Kilis", - "91" => "Osmaniye", - "92" => "Yalova", - "93" => "Duzce"), -"TT" => array( - "01" => "Arima", - "02" => "Caroni", - "03" => "Mayaro", - "04" => "Nariva", - "05" => "Port-of-Spain", - "06" => "Saint Andrew", - "07" => "Saint David", - "08" => "Saint George", - "09" => "Saint Patrick", - "10" => "San Fernando", - "11" => "Tobago", - "12" => "Victoria"), -"TW" => array( - "01" => "Fu-chien", - "02" => "Kao-hsiung", - "03" => "T'ai-pei", - "04" => "T'ai-wan"), -"TZ" => array( - "02" => "Pwani", - "03" => "Dodoma", - "04" => "Iringa", - "05" => "Kigoma", - "06" => "Kilimanjaro", - "07" => "Lindi", - "08" => "Mara", - "09" => "Mbeya", - "10" => "Morogoro", - "11" => "Mtwara", - "12" => "Mwanza", - "13" => "Pemba North", - "14" => "Ruvuma", - "15" => "Shinyanga", - "16" => "Singida", - "17" => "Tabora", - "18" => "Tanga", - "19" => "Kagera", - "20" => "Pemba South", - "21" => "Zanzibar Central", - "22" => "Zanzibar North", - "23" => "Dar es Salaam", - "24" => "Rukwa", - "25" => "Zanzibar Urban", - "26" => "Arusha", - "27" => "Manyara"), -"UA" => array( - "01" => "Cherkas'ka Oblast'", - "02" => "Chernihivs'ka Oblast'", - "03" => "Chernivets'ka Oblast'", - "04" => "Dnipropetrovs'ka Oblast'", - "05" => "Donets'ka Oblast'", - "06" => "Ivano-Frankivs'ka Oblast'", - "07" => "Kharkivs'ka Oblast'", - "08" => "Khersons'ka Oblast'", - "09" => "Khmel'nyts'ka Oblast'", - "10" => "Kirovohrads'ka Oblast'", - "11" => "Krym", - "12" => "Kyyiv", - "13" => "Kyyivs'ka Oblast'", - "14" => "Luhans'ka Oblast'", - "15" => "L'vivs'ka Oblast'", - "16" => "Mykolayivs'ka Oblast'", - "17" => "Odes'ka Oblast'", - "18" => "Poltavs'ka Oblast'", - "19" => "Rivnens'ka Oblast'", - "20" => "Sevastopol'", - "21" => "Sums'ka Oblast'", - "22" => "Ternopil's'ka Oblast'", - "23" => "Vinnyts'ka Oblast'", - "24" => "Volyns'ka Oblast'", - "25" => "Zakarpats'ka Oblast'", - "26" => "Zaporiz'ka Oblast'", - "27" => "Zhytomyrs'ka Oblast'"), -"UG" => array( - "26" => "Apac", - "28" => "Bundibugyo", - "29" => "Bushenyi", - "30" => "Gulu", - "31" => "Hoima", - "33" => "Jinja", - "36" => "Kalangala", - "37" => "Kampala", - "38" => "Kamuli", - "39" => "Kapchorwa", - "40" => "Kasese", - "41" => "Kibale", - "42" => "Kiboga", - "43" => "Kisoro", - "45" => "Kotido", - "46" => "Kumi", - "47" => "Lira", - "50" => "Masindi", - "52" => "Mbarara", - "56" => "Mubende", - "58" => "Nebbi", - "59" => "Ntungamo", - "60" => "Pallisa", - "61" => "Rakai", - "65" => "Adjumani", - "66" => "Bugiri", - "67" => "Busia", - "69" => "Katakwi", - "70" => "Luwero", - "71" => "Masaka", - "72" => "Moyo", - "73" => "Nakasongola", - "74" => "Sembabule", - "76" => "Tororo", - "77" => "Arua", - "78" => "Iganga", - "79" => "Kabarole", - "80" => "Kaberamaido", - "81" => "Kamwenge", - "82" => "Kanungu", - "83" => "Kayunga", - "84" => "Kitgum", - "85" => "Kyenjojo", - "86" => "Mayuge", - "87" => "Mbale", - "88" => "Moroto", - "89" => "Mpigi", - "90" => "Mukono", - "91" => "Nakapiripirit", - "92" => "Pader", - "93" => "Rukungiri", - "94" => "Sironko", - "95" => "Soroti", - "96" => "Wakiso", - "97" => "Yumbe"), -"US" => array( - "AA" => "Armed Forces Americas", - "AE" => "Armed Forces Europe, Middle East, & Canada", - "AK" => "Alaska", - "AL" => "Alabama", - "AP" => "Armed Forces Pacific", - "AR" => "Arkansas", - "AS" => "American Samoa", - "AZ" => "Arizona", - "CA" => "California", - "CO" => "Colorado", - "CT" => "Connecticut", - "DC" => "District of Columbia", - "DE" => "Delaware", - "FL" => "Florida", - "FM" => "Federated States of Micronesia", - "GA" => "Georgia", - "GU" => "Guam", - "HI" => "Hawaii", - "IA" => "Iowa", - "ID" => "Idaho", - "IL" => "Illinois", - "IN" => "Indiana", - "KS" => "Kansas", - "KY" => "Kentucky", - "LA" => "Louisiana", - "MA" => "Massachusetts", - "MD" => "Maryland", - "ME" => "Maine", - "MH" => "Marshall Islands", - "MI" => "Michigan", - "MN" => "Minnesota", - "MO" => "Missouri", - "MP" => "Northern Mariana Islands", - "MS" => "Mississippi", - "MT" => "Montana", - "NC" => "North Carolina", - "ND" => "North Dakota", - "NE" => "Nebraska", - "NH" => "New Hampshire", - "NJ" => "New Jersey", - "NM" => "New Mexico", - "NV" => "Nevada", - "NY" => "New York", - "OH" => "Ohio", - "OK" => "Oklahoma", - "OR" => "Oregon", - "PA" => "Pennsylvania", - "PR" => "Puerto Rico", - "PW" => "Palau", - "RI" => "Rhode Island", - "SC" => "South Carolina", - "SD" => "South Dakota", - "TN" => "Tennessee", - "TX" => "Texas", - "UT" => "Utah", - "VA" => "Virginia", - "VI" => "Virgin Islands", - "VT" => "Vermont", - "WA" => "Washington", - "WI" => "Wisconsin", - "WV" => "West Virginia", - "WY" => "Wyoming"), -"UY" => array( - "01" => "Artigas", - "02" => "Canelones", - "03" => "Cerro Largo", - "04" => "Colonia", - "05" => "Durazno", - "06" => "Flores", - "07" => "Florida", - "08" => "Lavalleja", - "09" => "Maldonado", - "10" => "Montevideo", - "11" => "Paysandu", - "12" => "Rio Negro", - "13" => "Rivera", - "14" => "Rocha", - "15" => "Salto", - "16" => "San Jose", - "17" => "Soriano", - "18" => "Tacuarembo", - "19" => "Treinta y Tres"), -"UZ" => array( - "01" => "Andijon", - "02" => "Bukhoro", - "03" => "Farghona", - "04" => "Jizzakh", - "05" => "Khorazm", - "06" => "Namangan", - "07" => "Nawoiy", - "08" => "Qashqadaryo", - "09" => "Qoraqalpoghiston", - "10" => "Samarqand", - "11" => "Sirdaryo", - "12" => "Surkhondaryo", - "13" => "Toshkent", - "14" => "Toshkent"), -"VC" => array( - "01" => "Charlotte", - "02" => "Saint Andrew", - "03" => "Saint David", - "04" => "Saint George", - "05" => "Saint Patrick", - "06" => "Grenadines"), -"VE" => array( - "01" => "Amazonas", - "02" => "Anzoategui", - "03" => "Apure", - "04" => "Aragua", - "05" => "Barinas", - "06" => "Bolivar", - "07" => "Carabobo", - "08" => "Cojedes", - "09" => "Delta Amacuro", - "11" => "Falcon", - "12" => "Guarico", - "13" => "Lara", - "14" => "Merida", - "15" => "Miranda", - "16" => "Monagas", - "17" => "Nueva Esparta", - "18" => "Portuguesa", - "19" => "Sucre", - "20" => "Tachira", - "21" => "Trujillo", - "22" => "Yaracuy", - "23" => "Zulia", - "24" => "Dependencias Federales", - "25" => "Distrito Federal", - "26" => "Vargas"), -"VN" => array( - "01" => "An Giang", - "03" => "Ben Tre", - "05" => "Cao Bang", - "09" => "Dong Thap", - "13" => "Hai Phong", - "20" => "Ho Chi Minh", - "21" => "Kien Giang", - "23" => "Lam Dong", - "24" => "Long An", - "30" => "Quang Ninh", - "32" => "Son La", - "33" => "Tay Ninh", - "34" => "Thanh Hoa", - "35" => "Thai Binh", - "37" => "Tien Giang", - "39" => "Lang Son", - "43" => "An Giang", - "44" => "Dac Lac", - "45" => "Dong Nai", - "46" => "Dong Thap", - "47" => "Kien Giang", - "49" => "Song Be", - "50" => "Vinh Phu", - "51" => "Ha Noi", - "52" => "Ho Chi Minh", - "53" => "Ba Ria-Vung Tau", - "54" => "Binh Dinh", - "55" => "Binh Thuan", - "58" => "Ha Giang", - "59" => "Ha Tay", - "60" => "Ha Tinh", - "61" => "Hoa Binh", - "62" => "Khanh Hoa", - "63" => "Kon Tum", - "64" => "Quang Tri", - "65" => "Nam Ha", - "66" => "Nghe An", - "67" => "Ninh Binh", - "68" => "Ninh Thuan", - "69" => "Phu Yen", - "70" => "Quang Binh", - "71" => "Quang Ngai", - "72" => "Quang Tri", - "73" => "Soc Trang", - "74" => "Thua Thien", - "75" => "Tra Vinh", - "76" => "Tuyen Quang", - "77" => "Vinh Long", - "78" => "Da Nang", - "79" => "Hai Duong", - "80" => "Ha Nam", - "81" => "Hung Yen", - "82" => "Nam Dinh", - "83" => "Phu Tho", - "84" => "Quang Nam", - "85" => "Thai Nguyen", - "86" => "Vinh Puc Province", - "87" => "Can Tho", - "88" => "Dak Lak", - "89" => "Lai Chau", - "90" => "Lao Cai", - "91" => "Dak Nong", - "92" => "Dien Bien", - "93" => "Hau Giang"), -"VU" => array( - "05" => "Ambrym", - "06" => "Aoba", - "07" => "Torba", - "08" => "Efate", - "09" => "Epi", - "10" => "Malakula", - "11" => "Paama", - "12" => "Pentecote", - "13" => "Sanma", - "14" => "Shepherd", - "15" => "Tafea", - "16" => "Malampa", - "17" => "Penama", - "18" => "Shefa"), -"WS" => array( - "02" => "Aiga-i-le-Tai", - "03" => "Atua", - "04" => "Fa", - "05" => "Gaga", - "06" => "Va", - "07" => "Gagaifomauga", - "08" => "Palauli", - "09" => "Satupa", - "10" => "Tuamasaga", - "11" => "Vaisigano"), -"YE" => array( - "01" => "Abyan", - "02" => "Adan", - "03" => "Al Mahrah", - "04" => "Hadramawt", - "05" => "Shabwah", - "06" => "Al Ghaydah", - "08" => "Al Hudaydah", - "10" => "Al Mahwit", - "11" => "Dhamar", - "14" => "Ma'rib", - "15" => "Sa", - "16" => "San", - "20" => "Al Bayda'", - "21" => "Al Jawf", - "22" => "Hajjah", - "23" => "Ibb", - "24" => "Lahij", - "25" => "Ta"), -"ZA" => array( - "01" => "North-Western Province", - "02" => "KwaZulu-Natal", - "03" => "Free State", - "05" => "Eastern Cape", - "06" => "Gauteng", - "07" => "Mpumalanga", - "08" => "Northern Cape", - "09" => "Limpopo", - "10" => "North-West", - "11" => "Western Cape"), -"ZM" => array( - "01" => "Western", - "02" => "Central", - "03" => "Eastern", - "04" => "Luapula", - "05" => "Northern", - "06" => "North-Western", - "07" => "Southern", - "08" => "Copperbelt", - "09" => "Lusaka"), -"ZW" => array( - "01" => "Manicaland", - "02" => "Midlands", - "03" => "Mashonaland Central", - "04" => "Mashonaland East", - "05" => "Mashonaland West", - "06" => "Matabeleland North", - "07" => "Matabeleland South", - "08" => "Masvingo", - "09" => "Bulawayo", - "10" => "Harare") -); -?> diff --git a/tools/index.php b/tools/index.php deleted file mode 100644 index 15aba8204..000000000 --- a/tools/index.php +++ /dev/null @@ -1,11 +0,0 @@ - - * @copyright 2002 Douglas Crockford (jsmin.c) - * @copyright 2008 Ryan Grove (PHP port) - * @license http://opensource.org/licenses/mit-license.php MIT License - * @version 1.1.1 (2008-03-02) - * @link http://code.google.com/p/jsmin-php/ - */ - -class JSMin { - const ORD_LF = 10; - const ORD_SPACE = 32; - - protected $a = ''; - protected $b = ''; - protected $input = ''; - protected $inputIndex = 0; - protected $inputLength = 0; - protected $lookAhead = null; - protected $output = ''; - - // -- Public Static Methods -------------------------------------------------- - - public static function minify($js) { - $jsmin = new JSMin($js); - return $jsmin->min(); - } - - // -- Public Instance Methods ------------------------------------------------ - - public function __construct($input) { - $this->input = str_replace("\r\n", "\n", $input); - $this->inputLength = strlen($this->input); - } - - // -- Protected Instance Methods --------------------------------------------- - - protected function action($d) { - switch($d) { - case 1: - $this->output .= $this->a; - - case 2: - $this->a = $this->b; - - if ($this->a === "'" || $this->a === '"') { - for (;;) { - $this->output .= $this->a; - $this->a = $this->get(); - - if ($this->a === $this->b) { - break; - } - - if (ord($this->a) <= self::ORD_LF) { - throw new JSMinException('Unterminated string literal.'); - } - - if ($this->a === '\\') { - $this->output .= $this->a; - $this->a = $this->get(); - } - } - } - - case 3: - $this->b = $this->next(); - - if ($this->b === '/' && ( - $this->a === '(' || $this->a === ',' || $this->a === '=' || - $this->a === ':' || $this->a === '[' || $this->a === '!' || - $this->a === '&' || $this->a === '|' || $this->a === '?')) { - - $this->output .= $this->a . $this->b; - - for (;;) { - $this->a = $this->get(); - - if ($this->a === '/') { - break; - } elseif ($this->a === '\\') { - $this->output .= $this->a; - $this->a = $this->get(); - } elseif (ord($this->a) <= self::ORD_LF) { - throw new JSMinException('Unterminated regular expression '. - 'literal.'); - } - - $this->output .= $this->a; - } - - $this->b = $this->next(); - } - } - } - - protected function get() { - $c = $this->lookAhead; - $this->lookAhead = null; - - if ($c === null) { - if ($this->inputIndex < $this->inputLength) { - $c = substr($this->input, $this->inputIndex, 1); - $this->inputIndex += 1; - } else { - $c = null; - } - } - - if ($c === "\r") { - return "\n"; - } - - if ($c === null || $c === "\n" || ord($c) >= self::ORD_SPACE) { - return $c; - } - - return ' '; - } - - protected function isAlphaNum($c) { - return ord($c) > 126 || $c === '\\' || preg_match('/^[\w\$]$/', $c) === 1; - } - - protected function min() { - $this->a = "\n"; - $this->action(3); - - while ($this->a !== null) { - switch ($this->a) { - case ' ': - if ($this->isAlphaNum($this->b)) { - $this->action(1); - } else { - $this->action(2); - } - break; - - case "\n": - switch ($this->b) { - case '{': - case '[': - case '(': - case '+': - case '-': - $this->action(1); - break; - - case ' ': - $this->action(3); - break; - - default: - if ($this->isAlphaNum($this->b)) { - $this->action(1); - } - else { - $this->action(2); - } - } - break; - - default: - switch ($this->b) { - case ' ': - if ($this->isAlphaNum($this->a)) { - $this->action(1); - break; - } - - $this->action(3); - break; - - case "\n": - switch ($this->a) { - case '}': - case ']': - case ')': - case '+': - case '-': - case '"': - case "'": - $this->action(1); - break; - - default: - if ($this->isAlphaNum($this->a)) { - $this->action(1); - } - else { - $this->action(3); - } - } - break; - - default: - $this->action(1); - break; - } - } - } - - return $this->output; - } - - protected function next() { - $c = $this->get(); - - if ($c === '/') { - switch($this->peek()) { - case '/': - for (;;) { - $c = $this->get(); - - if (ord($c) <= self::ORD_LF) { - return $c; - } - } - - case '*': - $this->get(); - - for (;;) { - switch($this->get()) { - case '*': - if ($this->peek() === '/') { - $this->get(); - return ' '; - } - break; - - case null: - throw new JSMinException('Unterminated comment.'); - } - } - - default: - return $c; - } - } - - return $c; - } - - protected function peek() { - $this->lookAhead = $this->get(); - return $this->lookAhead; - } -} - -// -- Exceptions --------------------------------------------------------------- -class JSMinException extends Exception {} -?> diff --git a/tools/minify_html/minify_html.class.php b/tools/minify_html/minify_html.class.php deleted file mode 100755 index e7b06c972..000000000 --- a/tools/minify_html/minify_html.class.php +++ /dev/null @@ -1,220 +0,0 @@ - - */ -class Minify_HTML { - - /** - * Defines which class to call as part of callbacks, change this - * if you extend Minify_HTML - * @var string - */ - protected static $className = 'Minify_HTML'; - - /** - * "Minify" an HTML page - * - * @param string $html - * - * @param array $options - * - * 'cssMinifier' : (optional) callback function to process content of STYLE - * elements. - * - * 'jsMinifier' : (optional) callback function to process content of SCRIPT - * elements. Note: the type attribute is ignored. - * - * 'xhtml' : (optional boolean) should content be treated as XHTML1.0? If - * unset, minify will sniff for an XHTML doctype. - * - * @return string - */ - public static function minify($html, $options = array()) { - - if (isset($options['cssMinifier'])) { - self::$_cssMinifier = $options['cssMinifier']; - } - if (isset($options['jsMinifier'])) { - self::$_jsMinifier = $options['jsMinifier']; - } - - $html = str_replace("\r\n", "\n", trim($html)); - - self::$_isXhtml = ( - isset($options['xhtml']) - ? (bool)$options['xhtml'] - : (false !== strpos($html, ']*?>)([\\s\\S]*?)<\\/script>\\s*/i' - ,array(self::$className, '_removeScriptCB') - ,$html); - - // replace STYLEs (and minify) with placeholders - $html = preg_replace_callback( - '/\\s*(]*?>)([\\s\\S]*?)<\\/style>\\s*/i' - ,array(self::$className, '_removeStyleCB') - ,$html); - - // remove HTML comments (not containing IE conditional comments). - $html = preg_replace_callback( - '//' - ,array(self::$className, '_commentCB') - ,$html); - - // replace PREs with placeholders - $html = preg_replace_callback('/\\s*(]*?>[\\s\\S]*?<\\/pre>)\\s*/i' - ,array(self::$className, '_removePreCB') - , $html); - - // replace TEXTAREAs with placeholders - $html = preg_replace_callback( - '/\\s*(]*?>[\\s\\S]*?<\\/textarea>)\\s*/i' - ,array(self::$className, '_removeTaCB') - , $html); - - // trim each line. - // @todo take into account attribute values that span multiple lines. - $html = preg_replace('/^\\s+|\\s+$/m', '', $html); - - // remove ws around block/undisplayed elements - $html = preg_replace('/\\s+(<\\/?(?:area|base(?:font)?|blockquote|body' - .'|caption|center|cite|col(?:group)?|dd|dir|div|dl|dt|fieldset|form' - .'|frame(?:set)?|h[1-6]|head|hr|html|legend|li|link|map|menu|meta' - .'|ol|opt(?:group|ion)|p|param|t(?:able|body|head|d|h||r|foot|itle)' - .'|ul)\\b[^>]*>)/i', '$1', $html); - - // remove ws outside of all elements - $html = preg_replace_callback( - '/>([^<]+)]+>)/i', "$1\n$2", $html); - - // fill placeholders - $html = str_replace( - array_keys(self::$_placeholders) - ,array_values(self::$_placeholders) - ,$html - ); - self::$_placeholders = array(); - - self::$_cssMinifier = self::$_jsMinifier = null; - return $html; - } - - protected static function _commentCB($m) - { - return (0 === strpos($m[1], '[') || false !== strpos($m[1], '' . preg_replace('/^\\s+|\\s+$/', ' ', $m[1]) . '<'; - } - - protected static function _removePreCB($m) - { - return self::_reservePlace($m[1]); - } - - protected static function _removeTaCB($m) - { - return self::_reservePlace($m[1]); - } - - protected static function _removeStyleCB($m) - { - $openStyle = $m[1]; - $css = $m[2]; - // remove HTML comments - $css = preg_replace('/(?:^\\s*\\s*$)/', '', $css); - - // remove CDATA section markers - $css = self::_removeCdata($css); - - // minify - $minifier = self::$_cssMinifier - ? self::$_cssMinifier - : 'trim'; - $css = call_user_func($minifier, $css); - - return self::_reservePlace(self::_needsCdata($css) - ? "{$openStyle}/**/" - : "{$openStyle}{$css}" - ); - } - - protected static function _removeScriptCB($m) - { - $openScript = $m[1]; - $js = $m[2]; - - // remove HTML comments (and ending "//" if present) - $js = preg_replace('/(?:^\\s*\\s*$)/', '', $js); - - // remove CDATA section markers - $js = self::_removeCdata($js); - - // minify - $minifier = self::$_jsMinifier - ? self::$_jsMinifier - : 'trim'; - $js = call_user_func($minifier, $js); - - return self::_reservePlace(self::_needsCdata($js) - ? "{$openScript}/**/" - : "{$openScript}{$js}" - ); - } - - - protected static function _removeCdata($str) - { - return (false !== strpos($str, ''), '', $str) - : $str; - } - - protected static function _needsCdata($str) - { - return (self::$_isXhtml && preg_match('/(?:[<&]|\\-\\-|\\]\\]>)/', $str)); - } -} - diff --git a/tools/pear/PEAR.php b/tools/pear/PEAR.php deleted file mode 100644 index cb1bdd17e..000000000 --- a/tools/pear/PEAR.php +++ /dev/null @@ -1,1396 +0,0 @@ - - * @author Stig Bakken - * @author Tomas V.V.Cox - * @author Greg Beaver - * @copyright 1997-2006 The PHP Group - * @license http://www.php.net/license/3_0.txt PHP License 3.0 - * @version CVS: $Id: PEAR.php,v 1.98 2006/01/23 05:38:05 cellog Exp $ - * @link http://pear.php.net/package/PEAR - * @since File available since Release 0.1 - */ - -/**#@+ - * ERROR constants - */ -define('PEAR_ERROR_RETURN', 1); -define('PEAR_ERROR_PRINT', 2); -define('PEAR_ERROR_TRIGGER', 4); -define('PEAR_ERROR_DIE', 8); -define('PEAR_ERROR_CALLBACK', 16); -/** - * WARNING: obsolete - * @deprecated - */ -define('PEAR_ERROR_EXCEPTION', 32); -/**#@-*/ -define('PEAR_ZE2', (function_exists('version_compare') && - version_compare(zend_version(), "2-dev", "ge"))); - -if (substr(PHP_OS, 0, 3) == 'WIN') { - define('OS_WINDOWS', true); - define('OS_UNIX', false); - define('PEAR_OS', 'Windows'); -} else { - define('OS_WINDOWS', false); - define('OS_UNIX', true); - define('PEAR_OS', 'Unix'); // blatant assumption -} - -// instant backwards compatibility -if (!defined('PATH_SEPARATOR')) { - if (OS_WINDOWS) { - define('PATH_SEPARATOR', ';'); - } else { - define('PATH_SEPARATOR', ':'); - } -} - -$GLOBALS['_PEAR_default_error_mode'] = PEAR_ERROR_RETURN; -$GLOBALS['_PEAR_default_error_options'] = E_USER_NOTICE; -$GLOBALS['_PEAR_destructor_object_list'] = array(); -$GLOBALS['_PEAR_shutdown_funcs'] = array(); -$GLOBALS['_PEAR_error_handler_stack'] = array(); - -@ini_set('track_errors', true); - -/** - * Base class for other PEAR classes. Provides rudimentary - * emulation of destructors. - * - * If you want a destructor in your class, inherit PEAR and make a - * destructor method called _yourclassname (same name as the - * constructor, but with a "_" prefix). Also, in your constructor you - * have to call the PEAR constructor: $this->PEAR();. - * The destructor method will be called without parameters. Note that - * at in some SAPI implementations (such as Apache), any output during - * the request shutdown (in which destructors are called) seems to be - * discarded. If you need to get any debug information from your - * destructor, use error_log(), syslog() or something similar. - * - * IMPORTANT! To use the emulated destructors you need to create the - * objects by reference: $obj =& new PEAR_child; - * - * @category pear - * @package PEAR - * @author Stig Bakken - * @author Tomas V.V. Cox - * @author Greg Beaver - * @copyright 1997-2006 The PHP Group - * @license http://www.php.net/license/3_0.txt PHP License 3.0 - * @version Release: 1.4.9 - * @link http://pear.php.net/package/PEAR - * @see PEAR_Error - * @since Class available since PHP 4.0.2 - * @link http://pear.php.net/manual/en/core.pear.php#core.pear.pear - */ -class PEAR -{ - // {{{ properties - - /** - * Whether to enable internal debug messages. - * - * @var bool - * @access private - */ - var $_debug = false; - - /** - * Default error mode for this object. - * - * @var int - * @access private - */ - var $_default_error_mode = null; - - /** - * Default error options used for this object when error mode - * is PEAR_ERROR_TRIGGER. - * - * @var int - * @access private - */ - var $_default_error_options = null; - - /** - * Default error handler (callback) for this object, if error mode is - * PEAR_ERROR_CALLBACK. - * - * @var string - * @access private - */ - var $_default_error_handler = ''; - - /** - * Which class to use for error objects. - * - * @var string - * @access private - */ - var $_error_class = 'PEAR_Error'; - - /** - * An array of expected errors. - * - * @var array - * @access private - */ - var $_expected_errors = array(); - - // }}} - - // {{{ constructor - - /** - * Constructor. Registers this object in - * $_PEAR_destructor_object_list for destructor emulation if a - * destructor object exists. - * - * @param string $error_class (optional) which class to use for - * error objects, defaults to PEAR_Error. - * @access public - * @return void - */ - function PEAR($error_class = null) - { - $classname = strtolower(get_class($this)); - if ($this->_debug) { - print "PEAR constructor called, class=$classname\n"; - } - if ($error_class !== null) { - $this->_error_class = $error_class; - } - while ($classname && strcasecmp($classname, "pear")) { - $destructor = "_$classname"; - if (method_exists($this, $destructor)) { - global $_PEAR_destructor_object_list; - $_PEAR_destructor_object_list[] = &$this; - if (!isset($GLOBALS['_PEAR_SHUTDOWN_REGISTERED'])) { - register_shutdown_function("_PEAR_call_destructors"); - $GLOBALS['_PEAR_SHUTDOWN_REGISTERED'] = true; - } - break; - } else { - $classname = get_parent_class($classname); - } - } - } - - // }}} - // {{{ destructor - - /** - * Destructor (the emulated type of...). Does nothing right now, - * but is included for forward compatibility, so subclass - * destructors should always call it. - * - * See the note in the class desciption about output from - * destructors. - * - * @access public - * @return void - */ - function _PEAR() { - if ($this->_debug) { - printf("PEAR destructor called, class=%s\n", strtolower(get_class($this))); - } - } - - // }}} - // {{{ getStaticProperty() - - /** - * If you have a class that's mostly/entirely static, and you need static - * properties, you can use this method to simulate them. Eg. in your method(s) - * do this: $myVar = &PEAR::getStaticProperty('myclass', 'myVar'); - * You MUST use a reference, or they will not persist! - * - * @access public - * @param string $class The calling classname, to prevent clashes - * @param string $var The variable to retrieve. - * @return mixed A reference to the variable. If not set it will be - * auto initialised to NULL. - */ - function &getStaticProperty($class, $var) - { - static $properties; - return $properties[$class][$var]; - } - - // }}} - // {{{ registerShutdownFunc() - - /** - * Use this function to register a shutdown method for static - * classes. - * - * @access public - * @param mixed $func The function name (or array of class/method) to call - * @param mixed $args The arguments to pass to the function - * @return void - */ - function registerShutdownFunc($func, $args = array()) - { - // if we are called statically, there is a potential - // that no shutdown func is registered. Bug #6445 - if (!isset($GLOBALS['_PEAR_SHUTDOWN_REGISTERED'])) { - register_shutdown_function("_PEAR_call_destructors"); - $GLOBALS['_PEAR_SHUTDOWN_REGISTERED'] = true; - } - $GLOBALS['_PEAR_shutdown_funcs'][] = array($func, $args); - } - - // }}} - // {{{ isError() - - /** - * Tell whether a value is a PEAR error. - * - * @param mixed $data the value to test - * @param int $code if $data is an error object, return true - * only if $code is a string and - * $obj->getMessage() == $code or - * $code is an integer and $obj->getCode() == $code - * @access public - * @return bool true if parameter is an error - */ - function isError($data, $code = null) - { - if (is_a($data, 'PEAR_Error')) { - if (is_null($code)) { - return true; - } elseif (is_string($code)) { - return $data->getMessage() == $code; - } else { - return $data->getCode() == $code; - } - } - return false; - } - - // }}} - // {{{ setErrorHandling() - - /** - * Sets how errors generated by this object should be handled. - * Can be invoked both in objects and statically. If called - * statically, setErrorHandling sets the default behaviour for all - * PEAR objects. If called in an object, setErrorHandling sets - * the default behaviour for that object. - * - * @param int $mode - * One of PEAR_ERROR_RETURN, PEAR_ERROR_PRINT, - * PEAR_ERROR_TRIGGER, PEAR_ERROR_DIE, - * PEAR_ERROR_CALLBACK or PEAR_ERROR_EXCEPTION. - * - * @param mixed $options - * When $mode is PEAR_ERROR_TRIGGER, this is the error level (one - * of E_USER_NOTICE, E_USER_WARNING or E_USER_ERROR). - * - * When $mode is PEAR_ERROR_CALLBACK, this parameter is expected - * to be the callback function or method. A callback - * function is a string with the name of the function, a - * callback method is an array of two elements: the element - * at index 0 is the object, and the element at index 1 is - * the name of the method to call in the object. - * - * When $mode is PEAR_ERROR_PRINT or PEAR_ERROR_DIE, this is - * a printf format string used when printing the error - * message. - * - * @access public - * @return void - * @see PEAR_ERROR_RETURN - * @see PEAR_ERROR_PRINT - * @see PEAR_ERROR_TRIGGER - * @see PEAR_ERROR_DIE - * @see PEAR_ERROR_CALLBACK - * @see PEAR_ERROR_EXCEPTION - * - * @since PHP 4.0.5 - */ - - function setErrorHandling($mode = null, $options = null) - { - if (isset($this) && is_a($this, 'PEAR')) { - $setmode = &$this->_default_error_mode; - $setoptions = &$this->_default_error_options; - } else { - $setmode = &$GLOBALS['_PEAR_default_error_mode']; - $setoptions = &$GLOBALS['_PEAR_default_error_options']; - } - - switch ($mode) { - case PEAR_ERROR_EXCEPTION: - case PEAR_ERROR_RETURN: - case PEAR_ERROR_PRINT: - case PEAR_ERROR_TRIGGER: - case PEAR_ERROR_DIE: - case null: - $setmode = $mode; - $setoptions = $options; - break; - - case PEAR_ERROR_CALLBACK: - $setmode = $mode; - // class/object method callback - if (is_callable($options)) { - $setoptions = $options; - } else { - trigger_error("invalid error callback", E_USER_WARNING); - } - break; - - default: - trigger_error("invalid error mode", E_USER_WARNING); - break; - } - } - - // }}} - // {{{ expectError() - - /** - * This method is used to tell which errors you expect to get. - * Expected errors are always returned with error mode - * PEAR_ERROR_RETURN. Expected error codes are stored in a stack, - * and this method pushes a new element onto it. The list of - * expected errors are in effect until they are popped off the - * stack with the popExpect() method. - * - * Note that this method can not be called statically - * - * @param mixed $code a single error code or an array of error codes to expect - * - * @return int the new depth of the "expected errors" stack - * @access public - */ - function expectError($code = '*') - { - if (is_array($code)) { - array_push($this->_expected_errors, $code); - } else { - array_push($this->_expected_errors, array($code)); - } - return sizeof($this->_expected_errors); - } - - // }}} - // {{{ popExpect() - - /** - * This method pops one element off the expected error codes - * stack. - * - * @return array the list of error codes that were popped - */ - function popExpect() - { - return array_pop($this->_expected_errors); - } - - // }}} - // {{{ _checkDelExpect() - - /** - * This method checks unsets an error code if available - * - * @param mixed error code - * @return bool true if the error code was unset, false otherwise - * @access private - * @since PHP 4.3.0 - */ - function _checkDelExpect($error_code) - { - $deleted = false; - - foreach ($this->_expected_errors AS $key => $error_array) { - if (in_array($error_code, $error_array)) { - unset($this->_expected_errors[$key][array_search($error_code, $error_array)]); - $deleted = true; - } - - // clean up empty arrays - if (0 == sizeof($this->_expected_errors[$key])) { - unset($this->_expected_errors[$key]); - } - } - return $deleted; - } - - // }}} - // {{{ delExpect() - - /** - * This method deletes all occurences of the specified element from - * the expected error codes stack. - * - * @param mixed $error_code error code that should be deleted - * @return mixed list of error codes that were deleted or error - * @access public - * @since PHP 4.3.0 - */ - function delExpect($error_code) - { - $deleted = false; - - if ((is_array($error_code) && (0 != sizeof($error_code)))) { - // $error_code is a non-empty array here; - // we walk through it trying to unset all - // values - foreach($error_code as $key => $error) { - if ($this->_checkDelExpect($error)) { - $deleted = true; - } else { - $deleted = false; - } - } - return $deleted ? true : PEAR::raiseError("The expected error you submitted does not exist"); // IMPROVE ME - } elseif (!empty($error_code)) { - // $error_code comes alone, trying to unset it - if ($this->_checkDelExpect($error_code)) { - return true; - } else { - return PEAR::raiseError("The expected error you submitted does not exist"); // IMPROVE ME - } - } else { - // $error_code is empty - return PEAR::raiseError("The expected error you submitted is empty"); // IMPROVE ME - } - } - - // }}} - // {{{ raiseError() - - /** - * This method is a wrapper that returns an instance of the - * configured error class with this object's default error - * handling applied. If the $mode and $options parameters are not - * specified, the object's defaults are used. - * - * @param mixed $message a text error message or a PEAR error object - * - * @param int $code a numeric error code (it is up to your class - * to define these if you want to use codes) - * - * @param int $mode One of PEAR_ERROR_RETURN, PEAR_ERROR_PRINT, - * PEAR_ERROR_TRIGGER, PEAR_ERROR_DIE, - * PEAR_ERROR_CALLBACK, PEAR_ERROR_EXCEPTION. - * - * @param mixed $options If $mode is PEAR_ERROR_TRIGGER, this parameter - * specifies the PHP-internal error level (one of - * E_USER_NOTICE, E_USER_WARNING or E_USER_ERROR). - * If $mode is PEAR_ERROR_CALLBACK, this - * parameter specifies the callback function or - * method. In other error modes this parameter - * is ignored. - * - * @param string $userinfo If you need to pass along for example debug - * information, this parameter is meant for that. - * - * @param string $error_class The returned error object will be - * instantiated from this class, if specified. - * - * @param bool $skipmsg If true, raiseError will only pass error codes, - * the error message parameter will be dropped. - * - * @access public - * @return object a PEAR error object - * @see PEAR::setErrorHandling - * @since PHP 4.0.5 - */ - function &raiseError($message = null, - $code = null, - $mode = null, - $options = null, - $userinfo = null, - $error_class = null, - $skipmsg = false) - { - // The error is yet a PEAR error object - if (is_object($message)) { - $code = $message->getCode(); - $userinfo = $message->getUserInfo(); - $error_class = $message->getType(); - $message->error_message_prefix = ''; - $message = $message->getMessage(); - } - - if (isset($this) && isset($this->_expected_errors) && sizeof($this->_expected_errors) > 0 && sizeof($exp = end($this->_expected_errors))) { - if ($exp[0] == "*" || - (is_int(reset($exp)) && in_array($code, $exp)) || - (is_string(reset($exp)) && in_array($message, $exp))) { - $mode = PEAR_ERROR_RETURN; - } - } - // No mode given, try global ones - if ($mode === null) { - // Class error handler - if (isset($this) && isset($this->_default_error_mode)) { - $mode = $this->_default_error_mode; - $options = $this->_default_error_options; - // Global error handler - } elseif (isset($GLOBALS['_PEAR_default_error_mode'])) { - $mode = $GLOBALS['_PEAR_default_error_mode']; - $options = $GLOBALS['_PEAR_default_error_options']; - } - } - - if ($error_class !== null) { - $ec = $error_class; - } elseif (isset($this) && isset($this->_error_class)) { - $ec = $this->_error_class; - } else { - $ec = 'PEAR_Error'; - } - if ($skipmsg) { - $a = new $ec($code, $mode, $options, $userinfo); - return $a; - } else { - $a = new $ec($message, $code, $mode, $options, $userinfo); - return $a; - } - } - - // }}} - // {{{ throwError() - - /** - * Simpler form of raiseError with fewer options. In most cases - * message, code and userinfo are enough. - * - * @param string $message - * - */ - function &throwError($message = null, - $code = null, - $userinfo = null) - { - if (isset($this) && is_a($this, 'PEAR')) { - $a = &$this->raiseError($message, $code, null, null, $userinfo); - return $a; - } else { - $a = &PEAR::raiseError($message, $code, null, null, $userinfo); - return $a; - } - } - - // }}} - function staticPushErrorHandling($mode, $options = null) - { - $stack = &$GLOBALS['_PEAR_error_handler_stack']; - $def_mode = &$GLOBALS['_PEAR_default_error_mode']; - $def_options = &$GLOBALS['_PEAR_default_error_options']; - $stack[] = array($def_mode, $def_options); - switch ($mode) { - case PEAR_ERROR_EXCEPTION: - case PEAR_ERROR_RETURN: - case PEAR_ERROR_PRINT: - case PEAR_ERROR_TRIGGER: - case PEAR_ERROR_DIE: - case null: - $def_mode = $mode; - $def_options = $options; - break; - - case PEAR_ERROR_CALLBACK: - $def_mode = $mode; - // class/object method callback - if (is_callable($options)) { - $def_options = $options; - } else { - trigger_error("invalid error callback", E_USER_WARNING); - } - break; - - default: - trigger_error("invalid error mode", E_USER_WARNING); - break; - } - $stack[] = array($mode, $options); - return true; - } - - function staticPopErrorHandling() - { - $stack = &$GLOBALS['_PEAR_error_handler_stack']; - $setmode = &$GLOBALS['_PEAR_default_error_mode']; - $setoptions = &$GLOBALS['_PEAR_default_error_options']; - array_pop($stack); - list($mode, $options) = $stack[sizeof($stack) - 1]; - array_pop($stack); - switch ($mode) { - case PEAR_ERROR_EXCEPTION: - case PEAR_ERROR_RETURN: - case PEAR_ERROR_PRINT: - case PEAR_ERROR_TRIGGER: - case PEAR_ERROR_DIE: - case null: - $setmode = $mode; - $setoptions = $options; - break; - - case PEAR_ERROR_CALLBACK: - $setmode = $mode; - // class/object method callback - if (is_callable($options)) { - $setoptions = $options; - } else { - trigger_error("invalid error callback", E_USER_WARNING); - } - break; - - default: - trigger_error("invalid error mode", E_USER_WARNING); - break; - } - return true; - } - - // {{{ pushErrorHandling() - - /** - * Push a new error handler on top of the error handler options stack. With this - * you can easily override the actual error handler for some code and restore - * it later with popErrorHandling. - * - * @param mixed $mode (same as setErrorHandling) - * @param mixed $options (same as setErrorHandling) - * - * @return bool Always true - * - * @see PEAR::setErrorHandling - */ - function pushErrorHandling($mode, $options = null) - { - $stack = &$GLOBALS['_PEAR_error_handler_stack']; - if (isset($this) && is_a($this, 'PEAR')) { - $def_mode = &$this->_default_error_mode; - $def_options = &$this->_default_error_options; - } else { - $def_mode = &$GLOBALS['_PEAR_default_error_mode']; - $def_options = &$GLOBALS['_PEAR_default_error_options']; - } - $stack[] = array($def_mode, $def_options); - - if (isset($this) && is_a($this, 'PEAR')) { - $this->setErrorHandling($mode, $options); - } else { - PEAR::setErrorHandling($mode, $options); - } - $stack[] = array($mode, $options); - return true; - } - - // }}} - // {{{ popErrorHandling() - - /** - * Pop the last error handler used - * - * @return bool Always true - * - * @see PEAR::pushErrorHandling - */ - function popErrorHandling() - { - $stack = &$GLOBALS['_PEAR_error_handler_stack']; - array_pop($stack); - list($mode, $options) = $stack[sizeof($stack) - 1]; - array_pop($stack); - if (isset($this) && is_a($this, 'PEAR')) { - $this->setErrorHandling($mode, $options); - } else { - PEAR::setErrorHandling($mode, $options); - } - return true; - } - - // }}} - // {{{ loadExtension() - - /** - * OS independant PHP extension load. Remember to take care - * on the correct extension name for case sensitive OSes. - * - * @param string $ext The extension name - * @return bool Success or not on the dl() call - */ - function loadExtension($ext) - { - if (!extension_loaded($ext)) { - // if either returns true dl() will produce a FATAL error, stop that - if ((ini_get('enable_dl') != 1) || (ini_get('safe_mode') == 1)) { - return false; - } - if (OS_WINDOWS) { - $suffix = '.dll'; - } elseif (PHP_OS == 'HP-UX') { - $suffix = '.sl'; - } elseif (PHP_OS == 'AIX') { - $suffix = '.a'; - } elseif (PHP_OS == 'OSX') { - $suffix = '.bundle'; - } else { - $suffix = '.so'; - } - return @dl('php_'.$ext.$suffix) || @dl($ext.$suffix); - } - return true; - } - - // }}} -} - -// {{{ _PEAR_call_destructors() - -function _PEAR_call_destructors() -{ - global $_PEAR_destructor_object_list; - if (is_array($_PEAR_destructor_object_list) && - sizeof($_PEAR_destructor_object_list)) - { - reset($_PEAR_destructor_object_list); - if (@PEAR::getStaticProperty('PEAR', 'destructlifo')) { - $_PEAR_destructor_object_list = array_reverse($_PEAR_destructor_object_list); - } - while (list($k, $objref) = each($_PEAR_destructor_object_list)) { - $classname = get_class($objref); - while ($classname) { - $destructor = "_$classname"; - if (method_exists($objref, $destructor)) { - $objref->$destructor(); - break; - } else { - $classname = get_parent_class($classname); - } - } - } - // Empty the object list to ensure that destructors are - // not called more than once. - $_PEAR_destructor_object_list = array(); - } - - // Now call the shutdown functions - if (is_array($GLOBALS['_PEAR_shutdown_funcs']) AND !empty($GLOBALS['_PEAR_shutdown_funcs'])) { - foreach ($GLOBALS['_PEAR_shutdown_funcs'] as $value) { - call_user_func_array($value[0], $value[1]); - } - } -} - -// }}} -/** - * Standard PEAR error class for PHP 4 - * - * This class is supserseded by {@link PEAR_Exception} in PHP 5 - * - * @category pear - * @package PEAR - * @author Stig Bakken - * @author Tomas V.V. Cox - * @author Gregory Beaver - * @copyright 1997-2006 The PHP Group - * @license http://www.php.net/license/3_0.txt PHP License 3.0 - * @version Release: 1.4.9 - * @link http://pear.php.net/manual/en/core.pear.pear-error.php - * @see PEAR::raiseError(), PEAR::throwError() - * @since Class available since PHP 4.0.2 - */ -class PEAR_Error -{ - // {{{ properties - - var $error_message_prefix = ''; - var $mode = PEAR_ERROR_RETURN; - var $level = E_USER_NOTICE; - var $code = -1; - var $message = ''; - var $userinfo = ''; - var $backtrace = null; - - // }}} - // {{{ constructor - - /** - * PEAR_Error constructor - * - * @param string $message message - * - * @param int $code (optional) error code - * - * @param int $mode (optional) error mode, one of: PEAR_ERROR_RETURN, - * PEAR_ERROR_PRINT, PEAR_ERROR_DIE, PEAR_ERROR_TRIGGER, - * PEAR_ERROR_CALLBACK or PEAR_ERROR_EXCEPTION - * - * @param mixed $options (optional) error level, _OR_ in the case of - * PEAR_ERROR_CALLBACK, the callback function or object/method - * tuple. - * - * @param string $userinfo (optional) additional user/debug info - * - * @access public - * - */ - function PEAR_Error($message = 'unknown error', $code = null, - $mode = null, $options = null, $userinfo = null) - { - if ($mode === null) { - $mode = PEAR_ERROR_RETURN; - } - $this->message = $message; - $this->code = $code; - $this->mode = $mode; - $this->userinfo = $userinfo; - if (function_exists("debug_backtrace")) { - if (@!PEAR::getStaticProperty('PEAR_Error', 'skiptrace')) { - $this->backtrace = debug_backtrace(); - } - } - if ($mode & PEAR_ERROR_CALLBACK) { - $this->level = E_USER_NOTICE; - $this->callback = $options; - } else { - if ($options === null) { - $options = E_USER_NOTICE; - } - $this->level = $options; - $this->callback = null; - } - if ($this->mode & PEAR_ERROR_PRINT) { - if (is_null($options) || is_int($options)) { - $format = "%s"; - } else { - $format = $options; - } - printf($format, $this->getMessage()); - } - if ($this->mode & PEAR_ERROR_TRIGGER) { - trigger_error($this->getMessage(), $this->level); - } - if ($this->mode & PEAR_ERROR_DIE) { - $msg = $this->getMessage(); - if (is_null($options) || is_int($options)) { - $format = "%s"; - if (substr($msg, -1) != "\n") { - $msg .= "\n"; - } - } else { - $format = $options; - } - die(sprintf($format, $msg)); - } - if ($this->mode & PEAR_ERROR_CALLBACK) { - if (is_callable($this->callback)) { - call_user_func($this->callback, $this); - } - } - if ($this->mode & PEAR_ERROR_EXCEPTION) { - trigger_error("PEAR_ERROR_EXCEPTION is obsolete, use class PEAR_Exception for exceptions", E_USER_WARNING); - eval('$e = new Exception($this->message, $this->code);throw($e);'); - } - } - - // }}} - // {{{ getMode() - - /** - * Get the error mode from an error object. - * - * @return int error mode - * @access public - */ - function getMode() { - return $this->mode; - } - - // }}} - // {{{ getCallback() - - /** - * Get the callback function/method from an error object. - * - * @return mixed callback function or object/method array - * @access public - */ - function getCallback() { - return $this->callback; - } - - // }}} - // {{{ getMessage() - - - /** - * Get the error message from an error object. - * - * @return string full error message - * @access public - */ - function getMessage() - { - return ($this->error_message_prefix . $this->message); - } - - - // }}} - // {{{ getCode() - - /** - * Get error code from an error object - * - * @return int error code - * @access public - */ - function getCode() - { - return $this->code; - } - - // }}} - // {{{ getType() - - /** - * Get the name of this error/exception. - * - * @return string error/exception name (type) - * @access public - */ - function getType() - { - return get_class($this); - } - - // }}} - // {{{ getUserInfo() - - /** - * Get additional user-supplied information. - * - * @return string user-supplied information - * @access public - */ - function getUserInfo() - { - return $this->userinfo; - } - - // }}} - // {{{ getDebugInfo() - - /** - * Get additional debug information supplied by the application. - * - * @return string debug information - * @access public - */ - function getDebugInfo() - { - return $this->getUserInfo(); - } - - // }}} - // {{{ getBacktrace() - - /** - * Get the call backtrace from where the error was generated. - * Supported with PHP 4.3.0 or newer. - * - * @param int $frame (optional) what frame to fetch - * @return array Backtrace, or NULL if not available. - * @access public - */ - function getBacktrace($frame = null) - { - if (defined('PEAR_IGNORE_BACKTRACE')) { - return null; - } - if ($frame === null) { - return $this->backtrace; - } - return $this->backtrace[$frame]; - } - - // }}} - // {{{ addUserInfo() - - function addUserInfo($info) - { - if (empty($this->userinfo)) { - $this->userinfo = $info; - } else { - $this->userinfo .= " ** $info"; - } - } - - // }}} - // {{{ toString() - - /** - * Make a string representation of this object. - * - * @return string a string with an object summary - * @access public - */ - function toString() { - $modes = array(); - $levels = array(E_USER_NOTICE => 'notice', - E_USER_WARNING => 'warning', - E_USER_ERROR => 'error'); - if ($this->mode & PEAR_ERROR_CALLBACK) { - if (is_array($this->callback)) { - $callback = (is_object($this->callback[0]) ? - strtolower(get_class($this->callback[0])) : - $this->callback[0]) . '::' . - $this->callback[1]; - } else { - $callback = $this->callback; - } - return sprintf('[%s: message="%s" code=%d mode=callback '. - 'callback=%s prefix="%s" info="%s"]', - strtolower(get_class($this)), $this->message, $this->code, - $callback, $this->error_message_prefix, - $this->userinfo); - } - if ($this->mode & PEAR_ERROR_PRINT) { - $modes[] = 'print'; - } - if ($this->mode & PEAR_ERROR_TRIGGER) { - $modes[] = 'trigger'; - } - if ($this->mode & PEAR_ERROR_DIE) { - $modes[] = 'die'; - } - if ($this->mode & PEAR_ERROR_RETURN) { - $modes[] = 'return'; - } - return sprintf('[%s: message="%s" code=%d mode=%s level=%s '. - 'prefix="%s" info="%s"]', - strtolower(get_class($this)), $this->message, $this->code, - implode("|", $modes), $levels[$this->level], - $this->error_message_prefix, - $this->userinfo); - } - - // }}} -} - -class PEAR_Exception extends Exception -{ - const OBSERVER_PRINT = -2; - const OBSERVER_TRIGGER = -4; - const OBSERVER_DIE = -8; - protected $cause; - private static $_observers = array(); - private static $_uniqueid = 0; - private $_trace; - - /** - * Supported signatures: - * - PEAR_Exception(string $message); - * - PEAR_Exception(string $message, int $code); - * - PEAR_Exception(string $message, Exception $cause); - * - PEAR_Exception(string $message, Exception $cause, int $code); - * - PEAR_Exception(string $message, PEAR_Error $cause); - * - PEAR_Exception(string $message, PEAR_Error $cause, int $code); - * - PEAR_Exception(string $message, array $causes); - * - PEAR_Exception(string $message, array $causes, int $code); - * @param string exception message - * @param int|Exception|PEAR_Error|array|null exception cause - * @param int|null exception code or null - */ - public function __construct($message, $p2 = null, $p3 = null) - { - if (is_int($p2)) { - $code = $p2; - $this->cause = null; - } elseif (is_object($p2) || is_array($p2)) { - // using is_object allows both Exception and PEAR_Error - if (is_object($p2) && !($p2 instanceof Exception)) { - if (!class_exists('PEAR_Error') || !($p2 instanceof PEAR_Error)) { - throw new PEAR_Exception('exception cause must be Exception, ' . - 'array, or PEAR_Error'); - } - } - $code = $p3; - if (is_array($p2) && isset($p2['message'])) { - // fix potential problem of passing in a single warning - $p2 = array($p2); - } - $this->cause = $p2; - } else { - $code = null; - $this->cause = null; - } - parent::__construct($message, $code); - $this->signal(); - } - - /** - * @param mixed $callback - A valid php callback, see php func is_callable() - * - A PEAR_Exception::OBSERVER_* constant - * - An array(const PEAR_Exception::OBSERVER_*, - * mixed $options) - * @param string $label The name of the observer. Use this if you want - * to remove it later with removeObserver() - */ - public static function addObserver($callback, $label = 'default') - { - self::$_observers[$label] = $callback; - } - - public static function removeObserver($label = 'default') - { - unset(self::$_observers[$label]); - } - - /** - * @return int unique identifier for an observer - */ - public static function getUniqueId() - { - return self::$_uniqueid++; - } - - private function signal() - { - foreach (self::$_observers as $func) { - if (is_callable($func)) { - call_user_func($func, $this); - continue; - } - settype($func, 'array'); - switch ($func[0]) { - case self::OBSERVER_PRINT : - $f = (isset($func[1])) ? $func[1] : '%s'; - printf($f, $this->getMessage()); - break; - case self::OBSERVER_TRIGGER : - $f = (isset($func[1])) ? $func[1] : E_USER_NOTICE; - trigger_error($this->getMessage(), $f); - break; - case self::OBSERVER_DIE : - $f = (isset($func[1])) ? $func[1] : '%s'; - die(printf($f, $this->getMessage())); - break; - default: - trigger_error('invalid observer type', E_USER_WARNING); - } - } - } - - /** - * Return specific error information that can be used for more detailed - * error messages or translation. - * - * This method may be overridden in child exception classes in order - * to add functionality not present in PEAR_Exception and is a placeholder - * to define API - * - * The returned array must be an associative array of parameter => value like so: - *
      -     * array('name' => $name, 'context' => array(...))
      -     * 
      - * @return array - */ - public function getErrorData() - { - return array(); - } - - /** - * Returns the exception that caused this exception to be thrown - * @access public - * @return Exception|array The context of the exception - */ - public function getCause() - { - return $this->cause; - } - - /** - * Function must be public to call on caused exceptions - * @param array - */ - public function getCauseMessage(&$causes) - { - $trace = $this->getTraceSafe(); - $cause = array('class' => get_class($this), - 'message' => $this->message, - 'file' => 'unknown', - 'line' => 'unknown'); - if (isset($trace[0])) { - if (isset($trace[0]['file'])) { - $cause['file'] = $trace[0]['file']; - $cause['line'] = $trace[0]['line']; - } - } - $causes[] = $cause; - if ($this->cause instanceof PEAR_Exception) { - $this->cause->getCauseMessage($causes); - } elseif ($this->cause instanceof Exception) { - $causes[] = array('class' => get_class($this->cause), - 'message' => $this->cause->getMessage(), - 'file' => $this->cause->getFile(), - 'line' => $this->cause->getLine()); - } elseif (class_exists('PEAR_Error') && $this->cause instanceof PEAR_Error) { - $causes[] = array('class' => get_class($this->cause), - 'message' => $this->cause->getMessage(), - 'file' => 'unknown', - 'line' => 'unknown'); - } elseif (is_array($this->cause)) { - foreach ($this->cause as $cause) { - if ($cause instanceof PEAR_Exception) { - $cause->getCauseMessage($causes); - } elseif ($cause instanceof Exception) { - $causes[] = array('class' => get_class($cause), - 'message' => $cause->getMessage(), - 'file' => $cause->getFile(), - 'line' => $cause->getLine()); - } elseif (class_exists('PEAR_Error') && $cause instanceof PEAR_Error) { - $causes[] = array('class' => get_class($cause), - 'message' => $cause->getMessage(), - 'file' => 'unknown', - 'line' => 'unknown'); - } elseif (is_array($cause) && isset($cause['message'])) { - // PEAR_ErrorStack warning - $causes[] = array( - 'class' => $cause['package'], - 'message' => $cause['message'], - 'file' => isset($cause['context']['file']) ? - $cause['context']['file'] : - 'unknown', - 'line' => isset($cause['context']['line']) ? - $cause['context']['line'] : - 'unknown', - ); - } - } - } - } - - public function getTraceSafe() - { - if (!isset($this->_trace)) { - $this->_trace = $this->getTrace(); - if (empty($this->_trace)) { - $backtrace = debug_backtrace(); - $this->_trace = array($backtrace[sizeof($backtrace)-1]); - } - } - return $this->_trace; - } - - public function getErrorClass() - { - $trace = $this->getTraceSafe(); - return $trace[0]['class']; - } - - public function getErrorMethod() - { - $trace = $this->getTraceSafe(); - return $trace[0]['function']; - } - - public function __toString() - { - if (isset($_SERVER['REQUEST_URI'])) { - return $this->toHtml(); - } - return $this->toText(); - } - - public function toHtml() - { - $trace = $this->getTraceSafe(); - $causes = array(); - $this->getCauseMessage($causes); - $html = '' . "\n"; - foreach ($causes as $i => $cause) { - $html .= '\n"; - } - $html .= '' . "\n" - . '' - . '' - . '' . "\n"; - - foreach ($trace as $k => $v) { - $html .= '' - . '' - . '' . "\n"; - } - $html .= '' - . '' - . '' . "\n" - . '
      ' - . str_repeat('-', $i) . ' ' . $cause['class'] . ': ' - . htmlspecialchars($cause['message']) . ' in ' . $cause['file'] . ' ' - . 'on line ' . $cause['line'] . '' - . "
      Exception trace
      #FunctionLocation
      ' . $k . ''; - if (!empty($v['class'])) { - $html .= $v['class'] . $v['type']; - } - $html .= $v['function']; - $args = array(); - if (!empty($v['args'])) { - foreach ($v['args'] as $arg) { - if (is_null($arg)) $args[] = 'null'; - elseif (is_array($arg)) $args[] = 'Array'; - elseif (is_object($arg)) $args[] = 'Object('.get_class($arg).')'; - elseif (is_bool($arg)) $args[] = $arg ? 'true' : 'false'; - elseif (is_int($arg) || is_double($arg)) $args[] = $arg; - else { - $arg = (string)$arg; - $str = htmlspecialchars(substr($arg, 0, 16)); - if (strlen($arg) > 16) $str .= '…'; - $args[] = "'" . $str . "'"; - } - } - } - $html .= '(' . implode(', ',$args) . ')' - . '' . (isset($v['file']) ? $v['file'] : 'unknown') - . ':' . (isset($v['line']) ? $v['line'] : 'unknown') - . '
      ' . ($k+1) . '{main} 
      '; - return $html; - } - - public function toText() - { - $causes = array(); - $this->getCauseMessage($causes); - $causeMsg = ''; - foreach ($causes as $i => $cause) { - $causeMsg .= str_repeat(' ', $i) . $cause['class'] . ': ' - . $cause['message'] . ' in ' . $cause['file'] - . ' on line ' . $cause['line'] . "\n"; - } - return $causeMsg . $this->getTraceAsString(); - } -} - - -/* - * Local Variables: - * mode: php - * tab-width: 4 - * c-basic-offset: 4 - * End: - */ -?> diff --git a/tools/pear_xml_parser/Parser.php b/tools/pear_xml_parser/Parser.php deleted file mode 100644 index d869771f6..000000000 --- a/tools/pear_xml_parser/Parser.php +++ /dev/null @@ -1,351 +0,0 @@ - - * @copyright 2005 James Stewart - * @license http://www.gnu.org/copyleft/lesser.html GNU LGPL - * @version CVS: $Id: Parser.php,v 1.24 2006/08/15 13:04:00 jystewart Exp $ - * @link http://pear.php.net/package/XML_Feed_Parser/ - */ - -/** - * XML_Feed_Parser_Type is an abstract class required by all of our - * feed types. It makes sense to load it here to keep the other files - * clean. - */ -require_once (_PS_PEAR_XML_PARSER_PATH_.'Parser/Type.php'); - -/** - * We will throw exceptions when errors occur. - */ -require_once (_PS_PEAR_XML_PARSER_PATH_.'Parser/Exception.php'); - -/** - * This is the core of the XML_Feed_Parser package. It identifies feed types - * and abstracts access to them. It is an iterator, allowing for easy access - * to the entire feed. - * - * @author James Stewart - * @version Release: 1.0.2 - * @package XML_Feed_Parser - */ -class XML_Feed_Parser implements Iterator -{ - /** - * This is where we hold the feed object - * @var Object - */ - private $feed; - - /** - * To allow for extensions, we make a public reference to the feed model - * @var DOMDocument - */ - public $model; - - /** - * A map between entry ID and offset - * @var array - */ - protected $idMappings = array(); - - /** - * A storage space for Namespace URIs. - * @var array - */ - private $feedNamespaces = array( - 'rss2' => array( - 'http://backend.userland.com/rss', - 'http://backend.userland.com/rss2', - 'http://blogs.law.harvard.edu/tech/rss')); - /** - * Detects feed types and instantiate appropriate objects. - * - * Our constructor takes care of detecting feed types and instantiating - * appropriate classes. For now we're going to treat Atom 0.3 as Atom 1.0 - * but raise a warning. I do not intend to introduce full support for - * Atom 0.3 as it has been deprecated, but others are welcome to. - * - * @param string $feed XML serialization of the feed - * @param bool $strict Whether or not to validate the feed - * @param bool $suppressWarnings Trigger errors for deprecated feed types? - * @param bool $tidy Whether or not to try and use the tidy library on input - */ - function __construct($feed, $strict = false, $suppressWarnings = false, $tidy = false) - { - $this->model = new DOMDocument; - if (! $this->model->loadXML($feed)) { - if (extension_loaded('tidy') && $tidy) { - $tidy = new tidy; - $tidy->parseString($feed, - array('input-xml' => true, 'output-xml' => true)); - $tidy->cleanRepair(); - if (! $this->model->loadXML((string) $tidy)) { - throw new XML_Feed_Parser_Exception('Invalid input: this is not ' . - 'valid XML'); - } - } else { - throw new XML_Feed_Parser_Exception('Invalid input: this is not valid XML'); - } - - } - - /* detect feed type */ - $doc_element = $this->model->documentElement; - $error = false; - - switch (true) { - case ($doc_element->namespaceURI == 'http://www.w3.org/2005/Atom'): - require_once (_PS_PEAR_XML_PARSER_PATH_.'Parser/Atom.php'); - require_once (_PS_PEAR_XML_PARSER_PATH_.'Parser/AtomElement.php'); - $class = 'XML_Feed_Parser_Atom'; - break; - case ($doc_element->namespaceURI == 'http://purl.org/atom/ns#'): - require_once (_PS_PEAR_XML_PARSER_PATH_.'Parser/Atom.php'); - require_once (_PS_PEAR_XML_PARSER_PATH_.'Parser/AtomElement.php'); - $class = 'XML_Feed_Parser_Atom'; - $error = 'Atom 0.3 deprecated, using 1.0 parser which won\'t provide ' . - 'all options'; - break; - case ($doc_element->namespaceURI == 'http://purl.org/rss/1.0/' || - ($doc_element->hasChildNodes() && $doc_element->childNodes->length > 1 - && $doc_element->childNodes->item(1)->namespaceURI == - 'http://purl.org/rss/1.0/')): - require_once (_PS_PEAR_XML_PARSER_PATH_.'Parser/RSS1.php'); - require_once (_PS_PEAR_XML_PARSER_PATH_.'Parser/RSS1Element.php'); - $class = 'XML_Feed_Parser_RSS1'; - break; - case ($doc_element->namespaceURI == 'http://purl.org/rss/1.1/' || - ($doc_element->hasChildNodes() && $doc_element->childNodes->length > 1 - && $doc_element->childNodes->item(1)->namespaceURI == - 'http://purl.org/rss/1.1/')): - require_once (_PS_PEAR_XML_PARSER_PATH_.'Parser/RSS11.php'); - require_once (_PS_PEAR_XML_PARSER_PATH_.'Parser/RSS11Element.php'); - $class = 'XML_Feed_Parser_RSS11'; - break; - case (($doc_element->hasChildNodes() && $doc_element->childNodes->length > 1 - && $doc_element->childNodes->item(1)->namespaceURI == - 'http://my.netscape.com/rdf/simple/0.9/') || - $doc_element->namespaceURI == 'http://my.netscape.com/rdf/simple/0.9/'): - require_once (_PS_PEAR_XML_PARSER_PATH_.'Parser/RSS09.php'); - require_once (_PS_PEAR_XML_PARSER_PATH_.'Parser/RSS09Element.php'); - $class = 'XML_Feed_Parser_RSS09'; - break; - case ($doc_element->tagName == 'rss' and - $doc_element->hasAttribute('version') && - $doc_element->getAttribute('version') == 0.91): - $error = 'RSS 0.91 has been superceded by RSS2.0. Using RSS2.0 parser.'; - require_once (_PS_PEAR_XML_PARSER_PATH_.'Parser/RSS2.php'); - require_once (_PS_PEAR_XML_PARSER_PATH_.'Parser/RSS2Element.php'); - $class = 'XML_Feed_Parser_RSS2'; - break; - case ($doc_element->tagName == 'rss' and - $doc_element->hasAttribute('version') && - $doc_element->getAttribute('version') == 0.92): - $error = 'RSS 0.92 has been superceded by RSS2.0. Using RSS2.0 parser.'; - require_once (_PS_PEAR_XML_PARSER_PATH_.'Parser/RSS2.php'); - require_once (_PS_PEAR_XML_PARSER_PATH_.'Parser/RSS2Element.php'); - $class = 'XML_Feed_Parser_RSS2'; - break; - case (in_array($doc_element->namespaceURI, $this->feedNamespaces['rss2']) - || $doc_element->tagName == 'rss'): - if (! $doc_element->hasAttribute('version') || - $doc_element->getAttribute('version') != 2) { - $error = 'RSS version not specified. Parsing as RSS2.0'; - } - require_once (_PS_PEAR_XML_PARSER_PATH_.'Parser/RSS2.php'); - require_once (_PS_PEAR_XML_PARSER_PATH_.'Parser/RSS2Element.php'); - $class = 'XML_Feed_Parser_RSS2'; - break; - default: - throw new XML_Feed_Parser_Exception('Feed type unknown'); - break; - } - - if (! $suppressWarnings && ! empty($error)) { - trigger_error($error, E_USER_WARNING); - } - - /* Instantiate feed object */ - $this->feed = new $class($this->model, $strict); - } - - /** - * Proxy to allow feed element names to be used as method names - * - * For top-level feed elements we will provide access using methods or - * attributes. This function simply passes on a request to the appropriate - * feed type object. - * - * @param string $call - the method being called - * @param array $attributes - */ - function __call($call, $attributes) - { - $attributes = array_pad($attributes, 5, false); - list($a, $b, $c, $d, $e) = $attributes; - return $this->feed->$call($a, $b, $c, $d, $e); - } - - /** - * Proxy to allow feed element names to be used as attribute names - * - * To allow variable-like access to feed-level data we use this - * method. It simply passes along to __call() which in turn passes - * along to the relevant object. - * - * @param string $val - the name of the variable required - */ - function __get($val) - { - return $this->feed->$val; - } - - /** - * Provides iteration functionality. - * - * Of course we must be able to iterate... This function simply increases - * our internal counter. - */ - function next() - { - if (isset($this->current_item) && - $this->current_item <= $this->feed->numberEntries - 1) { - ++$this->current_item; - } else if (! isset($this->current_item)) { - $this->current_item = 0; - } else { - return false; - } - } - - /** - * Return XML_Feed_Type object for current element - * - * @return XML_Feed_Parser_Type Object - */ - function current() - { - return $this->getEntryByOffset($this->current_item); - } - - /** - * For iteration -- returns the key for the current stage in the array. - * - * @return int - */ - function key() - { - return $this->current_item; - } - - /** - * For iteration -- tells whether we have reached the - * end. - * - * @return bool - */ - function valid() - { - return $this->current_item < $this->feed->numberEntries; - } - - /** - * For iteration -- resets the internal counter to the beginning. - */ - function rewind() - { - $this->current_item = 0; - } - - /** - * Provides access to entries by ID if one is specified in the source feed. - * - * As well as allowing the items to be iterated over we want to allow - * users to be able to access a specific entry. This is one of two ways of - * doing that, the other being by offset. This method can be quite slow - * if dealing with a large feed that hasn't yet been processed as it - * instantiates objects for every entry until it finds the one needed. - * - * @param string $id Valid ID for the given feed format - * @return XML_Feed_Parser_Type|false - */ - function getEntryById($id) - { - if (isset($this->idMappings[$id])) { - return $this->getEntryByOffset($this->idMappings[$id]); - } - - /* - * Since we have not yet encountered that ID, let's go through all the - * remaining entries in order till we find it. - * This is a fairly slow implementation, but it should work. - */ - return $this->feed->getEntryById($id); - } - - /** - * Retrieve entry by numeric offset, starting from zero. - * - * As well as allowing the items to be iterated over we want to allow - * users to be able to access a specific entry. This is one of two ways of - * doing that, the other being by ID. - * - * @param int $offset The position of the entry within the feed, starting from 0 - * @return XML_Feed_Parser_Type|false - */ - function getEntryByOffset($offset) - { - if ($offset < $this->feed->numberEntries) { - if (isset($this->feed->entries[$offset])) { - return $this->feed->entries[$offset]; - } else { - try { - $this->feed->getEntryByOffset($offset); - } catch (Exception $e) { - return false; - } - $id = $this->feed->entries[$offset]->getID(); - $this->idMappings[$id] = $offset; - return $this->feed->entries[$offset]; - } - } else { - return false; - } - } - - /** - * Retrieve version details from feed type class. - * - * @return void - * @author James Stewart - */ - function version() - { - return $this->feed->version; - } - - /** - * Returns a string representation of the feed. - * - * @return String - **/ - function __toString() - { - return $this->feed->__toString(); - } -} -?> \ No newline at end of file diff --git a/tools/pear_xml_parser/Parser/Atom.php b/tools/pear_xml_parser/Parser/Atom.php deleted file mode 100644 index 9b70beab3..000000000 --- a/tools/pear_xml_parser/Parser/Atom.php +++ /dev/null @@ -1,365 +0,0 @@ - - * @copyright 2005 James Stewart - * @license http://www.gnu.org/copyleft/lesser.html GNU LGPL 2.1 - * @version CVS: $Id: Atom.php,v 1.25 2007/03/26 12:49:05 jystewart Exp $ - * @link http://pear.php.net/package/XML_Feed_Parser/ -*/ - -/** - * This is the class that determines how we manage Atom 1.0 feeds - * - * How we deal with constructs: - * date - return as unix datetime for use with the 'date' function unless specified otherwise - * text - return as is. optional parameter will give access to attributes - * person - defaults to name, but parameter based access - * - * @author James Stewart - * @version Release: 1.0.2 - * @package XML_Feed_Parser - */ -class XML_Feed_Parser_Atom extends XML_Feed_Parser_Type -{ - /** - * The URI of the RelaxNG schema used to (optionally) validate the feed - * @var string - */ - private $relax = 'atom.rnc'; - - /** - * We're likely to use XPath, so let's keep it global - * @var DOMXPath - */ - public $xpath; - - /** - * When performing XPath queries we will use this prefix - * @var string - */ - private $xpathPrefix = '//'; - - /** - * The feed type we are parsing - * @var string - */ - public $version = 'Atom 1.0'; - - /** - * The class used to represent individual items - * @var string - */ - protected $itemClass = 'XML_Feed_Parser_AtomElement'; - - /** - * The element containing entries - * @var string - */ - protected $itemElement = 'entry'; - - /** - * Here we map those elements we're not going to handle individually - * to the constructs they are. The optional second parameter in the array - * tells the parser whether to 'fall back' (not apt. at the feed level) or - * fail if the element is missing. If the parameter is not set, the function - * will simply return false and leave it to the client to decide what to do. - * @var array - */ - protected $map = array( - 'author' => array('Person'), - 'contributor' => array('Person'), - 'icon' => array('Text'), - 'logo' => array('Text'), - 'id' => array('Text', 'fail'), - 'rights' => array('Text'), - 'subtitle' => array('Text'), - 'title' => array('Text', 'fail'), - 'updated' => array('Date', 'fail'), - 'link' => array('Link'), - 'generator' => array('Text'), - 'category' => array('Category')); - - /** - * Here we provide a few mappings for those very special circumstances in - * which it makes sense to map back to the RSS2 spec. Key is RSS2 version - * value is an array consisting of the equivalent in atom and any attributes - * needed to make the mapping. - * @var array - */ - protected $compatMap = array( - 'guid' => array('id'), - 'links' => array('link'), - 'tags' => array('category'), - 'contributors' => array('contributor')); - - /** - * Our constructor does nothing more than its parent. - * - * @param DOMDocument $xml A DOM object representing the feed - * @param bool (optional) $string Whether or not to validate this feed - */ - function __construct(DOMDocument $model, $strict = false) - { - $this->model = $model; - - if ($strict) { - if (! $this->model->relaxNGValidateSource($this->relax)) { - throw new XML_Feed_Parser_Exception('Failed required validation'); - } - } - - $this->xpath = new DOMXPath($this->model); - $this->xpath->registerNamespace('atom', 'http://www.w3.org/2005/Atom'); - $this->numberEntries = $this->count('entry'); - } - - /** - * Implement retrieval of an entry based on its ID for atom feeds. - * - * This function uses XPath to get the entry based on its ID. If DOMXPath::evaluate - * is available, we also use that to store a reference to the entry in the array - * used by getEntryByOffset so that method does not have to seek out the entry - * if it's requested that way. - * - * @param string $id any valid Atom ID. - * @return XML_Feed_Parser_AtomElement - */ - function getEntryById($id) - { - if (isset($this->idMappings[$id])) { - return $this->entries[$this->idMappings[$id]]; - } - - $entries = $this->xpath->query("//atom:entry[atom:id='$id']"); - - if ($entries->length > 0) { - $xmlBase = $entries->item(0)->baseURI; - $entry = new $this->itemElement($entries->item(0), $this, $xmlBase); - - if (in_array('evaluate', get_class_methods($this->xpath))) { - $offset = $this->xpath->evaluate("count(preceding-sibling::atom:entry)", $entries->item(0)); - $this->entries[$offset] = $entry; - } - - $this->idMappings[$id] = $entry; - - return $entry; - } - - } - - /** - * Retrieves data from a person construct. - * - * Get a person construct. We default to the 'name' element but allow - * access to any of the elements. - * - * @param string $method The name of the person construct we want - * @param array $arguments An array which we hope gives a 'param' - * @return string|false - */ - protected function getPerson($method, $arguments) - { - $offset = empty($arguments[0]) ? 0 : $arguments[0]; - $parameter = empty($arguments[1]['param']) ? 'name' : $arguments[1]['param']; - $section = $this->model->getElementsByTagName($method); - - if ($parameter == 'url') { - $parameter = 'uri'; - } - - if ($section->length <= $offset) { - return false; - } - - $param = $section->item($offset)->getElementsByTagName($parameter); - if ($param->length == 0) { - return false; - } - return $param->item(0)->nodeValue; - } - - /** - * Retrieves an element's content where that content is a text construct. - * - * Get a text construct. When calling this method, the two arguments - * allowed are 'offset' and 'attribute', so $parser->subtitle() would - * return the content of the element, while $parser->subtitle(false, 'type') - * would return the value of the type attribute. - * - * @todo Clarify overlap with getContent() - * @param string $method The name of the text construct we want - * @param array $arguments An array which we hope gives a 'param' - * @return string - */ - protected function getText($method, $arguments) - { - $offset = empty($arguments[0]) ? 0: $arguments[0]; - $attribute = empty($arguments[1]) ? false : $arguments[1]; - $tags = $this->model->getElementsByTagName($method); - - if ($tags->length <= $offset) { - return false; - } - - $content = $tags->item($offset); - - if (! $content->hasAttribute('type')) { - $content->setAttribute('type', 'text'); - } - $type = $content->getAttribute('type'); - - if (! empty($attribute) and - ! ($method == 'generator' and $attribute == 'name')) { - if ($content->hasAttribute($attribute)) { - return $content->getAttribute($attribute); - } else if ($attribute == 'href' and $content->hasAttribute('uri')) { - return $content->getAttribute('uri'); - } - return false; - } - return $this->parseTextConstruct($content); - } - - /** - * Extract content appropriately from atom text constructs - * - * Because of different rules applied to the content element and other text - * constructs, they are deployed as separate functions, but they share quite - * a bit of processing. This method performs the core common process, which is - * to apply the rules for different mime types in order to extract the content. - * - * @param DOMNode $content the text construct node to be parsed - * @return String - * @author James Stewart - **/ - protected function parseTextConstruct(DOMNode $content) - { - if ($content->hasAttribute('type')) { - $type = $content->getAttribute('type'); - } else { - $type = 'text'; - } - - if (strpos($type, 'text/') === 0) { - $type = 'text'; - } - switch ($type) { - case 'text': - return $content->nodeValue; - break; - case 'html': - return str_replace('<', '<', $content->nodeValue); - break; - case 'xhtml': - $container = $content->getElementsByTagName('div'); - if ($container->length == 0) { - return false; - } - $contents = $container->item(0); - if ($contents->hasChildNodes()) { - /* Iterate through, applying xml:base and store the result */ - $result = ''; - foreach ($contents->childNodes as $node) { - $result .= $this->traverseNode($node); - } - return utf8_decode($result); - } - break; - case preg_match('@^[a-zA-Z]+/[a-zA-Z+]*xml@i', $type) > 0: - return $content; - break; - case 'application/octet-stream': - default: - return base64_decode(trim($content->nodeValue)); - break; - } - return false; - } - /** - * Get a category from the entry. - * - * A feed or entry can have any number of categories. A category can have the - * attributes term, scheme and label. - * - * @param string $method The name of the text construct we want - * @param array $arguments An array which we hope gives a 'param' - * @return string - */ - function getCategory($method, $arguments) - { - $offset = empty($arguments[0]) ? 0: $arguments[0]; - $attribute = empty($arguments[1]) ? 'term' : $arguments[1]; - $categories = $this->model->getElementsByTagName('category'); - if ($categories->length <= $offset) { - $category = $categories->item($offset); - if ($category->hasAttribute($attribute)) { - return $category->getAttribute($attribute); - } - } - return false; - } - - /** - * This element must be present at least once with rel="feed". This element may be - * present any number of further times so long as there is no clash. If no 'rel' is - * present and we're asked for one, we follow the example of the Universal Feed - * Parser and presume 'alternate'. - * - * @param int $offset the position of the link within the container - * @param string $attribute the attribute name required - * @param array an array of attributes to search by - * @return string the value of the attribute - */ - function getLink($offset = 0, $attribute = 'href', $params = false) - { - if (is_array($params) and !empty($params)) { - $terms = array(); - $alt_predicate = ''; - $other_predicate = ''; - - foreach ($params as $key => $value) { - if ($key == 'rel' && $value == 'alternate') { - $alt_predicate = '[not(@rel) or @rel="alternate"]'; - } else { - $terms[] = "@$key='$value'"; - } - } - if (!empty($terms)) { - $other_predicate = '[' . join(' and ', $terms) . ']'; - } - $query = $this->xpathPrefix . 'atom:link' . $alt_predicate . $other_predicate; - $links = $this->xpath->query($query); - } else { - $links = $this->model->getElementsByTagName('link'); - } - if ($links->length > $offset) { - if ($links->item($offset)->hasAttribute($attribute)) { - $value = $links->item($offset)->getAttribute($attribute); - if ($attribute == 'href') { - $value = $this->addBase($value, $links->item($offset)); - } - return $value; - } else if ($attribute == 'rel') { - return 'alternate'; - } - } - return false; - } -} - -?> \ No newline at end of file diff --git a/tools/pear_xml_parser/Parser/AtomElement.php b/tools/pear_xml_parser/Parser/AtomElement.php deleted file mode 100644 index d8a39fe38..000000000 --- a/tools/pear_xml_parser/Parser/AtomElement.php +++ /dev/null @@ -1,261 +0,0 @@ - - * @copyright 2005 James Stewart - * @license http://www.gnu.org/copyleft/lesser.html GNU LGPL 2.1 - * @version CVS: $Id: AtomElement.php,v 1.19 2007/03/26 12:43:11 jystewart Exp $ - * @link http://pear.php.net/package/XML_Feed_Parser/ - */ - -/** - * This class provides support for atom entries. It will usually be called by - * XML_Feed_Parser_Atom with which it shares many methods. - * - * @author James Stewart - * @version Release: 1.0.2 - * @package XML_Feed_Parser - */ -class XML_Feed_Parser_AtomElement extends XML_Feed_Parser_Atom -{ - /** - * This will be a reference to the parent object for when we want - * to use a 'fallback' rule - * @var XML_Feed_Parser_Atom - */ - protected $parent; - - /** - * When performing XPath queries we will use this prefix - * @var string - */ - private $xpathPrefix = ''; - - /** - * xml:base values inherited by the element - * @var string - */ - protected $xmlBase; - - /** - * Here we provide a few mappings for those very special circumstances in - * which it makes sense to map back to the RSS2 spec or to manage other - * compatibilities (eg. with the Univeral Feed Parser). Key is the other version's - * name for the command, value is an array consisting of the equivalent in our atom - * api and any attributes needed to make the mapping. - * @var array - */ - protected $compatMap = array( - 'guid' => array('id'), - 'links' => array('link'), - 'tags' => array('category'), - 'contributors' => array('contributor')); - - /** - * Our specific element map - * @var array - */ - protected $map = array( - 'author' => array('Person', 'fallback'), - 'contributor' => array('Person'), - 'id' => array('Text', 'fail'), - 'published' => array('Date'), - 'updated' => array('Date', 'fail'), - 'title' => array('Text', 'fail'), - 'rights' => array('Text', 'fallback'), - 'summary' => array('Text'), - 'content' => array('Content'), - 'link' => array('Link'), - 'enclosure' => array('Enclosure'), - 'category' => array('Category')); - - /** - * Store useful information for later. - * - * @param DOMElement $element - this item as a DOM element - * @param XML_Feed_Parser_Atom $parent - the feed of which this is a member - */ - function __construct(DOMElement $element, $parent, $xmlBase = '') - { - $this->model = $element; - $this->parent = $parent; - $this->xmlBase = $xmlBase; - $this->xpathPrefix = "//atom:entry[atom:id='" . $this->id . "']/"; - $this->xpath = $this->parent->xpath; - } - - /** - * Provides access to specific aspects of the author data for an atom entry - * - * Author data at the entry level is more complex than at the feed level. - * If atom:author is not present for the entry we need to look for it in - * an atom:source child of the atom:entry. If it's not there either, then - * we look to the parent for data. - * - * @param array - * @return string - */ - function getAuthor($arguments) - { - /* Find out which part of the author data we're looking for */ - if (isset($arguments['param'])) { - $parameter = $arguments['param']; - } else { - $parameter = 'name'; - } - - $test = $this->model->getElementsByTagName('author'); - if ($test->length > 0) { - $item = $test->item(0); - return $item->getElementsByTagName($parameter)->item(0)->nodeValue; - } - - $source = $this->model->getElementsByTagName('source'); - if ($source->length > 0) { - $test = $this->model->getElementsByTagName('author'); - if ($test->length > 0) { - $item = $test->item(0); - return $item->getElementsByTagName($parameter)->item(0)->nodeValue; - } - } - return $this->parent->getAuthor($arguments); - } - - /** - * Returns the content of the content element or info on a specific attribute - * - * This element may or may not be present. It cannot be present more than - * once. It may have a 'src' attribute, in which case there's no content - * If not present, then the entry must have link with rel="alternate". - * If there is content we return it, if not and there's a 'src' attribute - * we return the value of that instead. The method can take an 'attribute' - * argument, in which case we return the value of that attribute if present. - * eg. $item->content("type") will return the type of the content. It is - * recommended that all users check the type before getting the content to - * ensure that their script is capable of handling the type of returned data. - * (data carried in the content element can be either 'text', 'html', 'xhtml', - * or any standard MIME type). - * - * @return string|false - */ - protected function getContent($method, $arguments = array()) - { - $attribute = empty($arguments[0]) ? false : $arguments[0]; - $tags = $this->model->getElementsByTagName('content'); - - if ($tags->length == 0) { - return false; - } - - $content = $tags->item(0); - - if (! $content->hasAttribute('type')) { - $content->setAttribute('type', 'text'); - } - if (! empty($attribute)) { - return $content->getAttribute($attribute); - } - - $type = $content->getAttribute('type'); - - if (! empty($attribute)) { - if ($content->hasAttribute($attribute)) - { - return $content->getAttribute($attribute); - } - return false; - } - - if ($content->hasAttribute('src')) { - return $content->getAttribute('src'); - } - - return $this->parseTextConstruct($content); - } - - /** - * For compatibility, this method provides a mapping to access enclosures. - * - * The Atom spec doesn't provide for an enclosure element, but it is - * generally supported using the link element with rel='enclosure'. - * - * @param string $method - for compatibility with our __call usage - * @param array $arguments - for compatibility with our __call usage - * @return array|false - */ - function getEnclosure($method, $arguments = array()) - { - $offset = isset($arguments[0]) ? $arguments[0] : 0; - $query = "//atom:entry[atom:id='" . $this->getText('id', false) . - "']/atom:link[@rel='enclosure']"; - - $encs = $this->parent->xpath->query($query); - if ($encs->length > $offset) { - try { - if (! $encs->item($offset)->hasAttribute('href')) { - return false; - } - $attrs = $encs->item($offset)->attributes; - $length = $encs->item($offset)->hasAttribute('length') ? - $encs->item($offset)->getAttribute('length') : false; - return array( - 'url' => $attrs->getNamedItem('href')->value, - 'type' => $attrs->getNamedItem('type')->value, - 'length' => $length); - } catch (Exception $e) { - return false; - } - } - return false; - } - - /** - * Get details of this entry's source, if available/relevant - * - * Where an atom:entry is taken from another feed then the aggregator - * is supposed to include an atom:source element which replicates at least - * the atom:id, atom:title, and atom:updated metadata from the original - * feed. Atom:source therefore has a very similar structure to atom:feed - * and if we find it we will return it as an XML_Feed_Parser_Atom object. - * - * @return XML_Feed_Parser_Atom|false - */ - function getSource() - { - $test = $this->model->getElementsByTagName('source'); - if ($test->length == 0) { - return false; - } - $source = new XML_Feed_Parser_Atom($test->item(0)); - } - - /** - * Get the entry as an XML string - * - * Return an XML serialization of the feed, should it be required. Most - * users however, will already have a serialization that they used when - * instantiating the object. - * - * @return string XML serialization of element - */ - function __toString() - { - $simple = simplexml_import_dom($this->model); - return $simple->asXML(); - } -} - -?> \ No newline at end of file diff --git a/tools/pear_xml_parser/Parser/Exception.php b/tools/pear_xml_parser/Parser/Exception.php deleted file mode 100644 index 5557a81b2..000000000 --- a/tools/pear_xml_parser/Parser/Exception.php +++ /dev/null @@ -1,42 +0,0 @@ - - * @copyright 2005 James Stewart - * @license http://www.gnu.org/copyleft/lesser.html GNU LGPL - * @version CVS: $Id: Exception.php,v 1.3 2005/11/07 01:52:35 jystewart Exp $ - * @link http://pear.php.net/package/XML_Feed_Parser/ - */ - -/** - * We are extending PEAR_Exception - */ -require_once(dirname(__FILE__).'/../../pear/PEAR.php'); - -/** - * XML_Feed_Parser_Exception is a simple extension of PEAR_Exception, existing - * to help with identification of the source of exceptions. - * - * @author James Stewart - * @version Release: 1.0.2 - * @package XML_Feed_Parser - */ -class XML_Feed_Parser_Exception extends PEAR_Exception -{ - -} - -?> \ No newline at end of file diff --git a/tools/pear_xml_parser/Parser/RSS09.php b/tools/pear_xml_parser/Parser/RSS09.php deleted file mode 100644 index 7004e0126..000000000 --- a/tools/pear_xml_parser/Parser/RSS09.php +++ /dev/null @@ -1,214 +0,0 @@ - - * @copyright 2005 James Stewart - * @license http://www.gnu.org/copyleft/lesser.html GNU LGPL 2.1 - * @version CVS: $Id: RSS09.php,v 1.5 2006/07/26 21:18:46 jystewart Exp $ - * @link http://pear.php.net/package/XML_Feed_Parser/ - */ - -/** - * This class handles RSS0.9 feeds. - * - * @author James Stewart - * @version Release: 1.0.2 - * @package XML_Feed_Parser - * @todo Find a Relax NG URI we can use - */ -class XML_Feed_Parser_RSS09 extends XML_Feed_Parser_Type -{ - /** - * The URI of the RelaxNG schema used to (optionally) validate the feed - * @var string - */ - private $relax = ''; - - /** - * We're likely to use XPath, so let's keep it global - * @var DOMXPath - */ - protected $xpath; - - /** - * The feed type we are parsing - * @var string - */ - public $version = 'RSS 0.9'; - - /** - * The class used to represent individual items - * @var string - */ - protected $itemClass = 'XML_Feed_Parser_RSS09Element'; - - /** - * The element containing entries - * @var string - */ - protected $itemElement = 'item'; - - /** - * Here we map those elements we're not going to handle individually - * to the constructs they are. The optional second parameter in the array - * tells the parser whether to 'fall back' (not apt. at the feed level) or - * fail if the element is missing. If the parameter is not set, the function - * will simply return false and leave it to the client to decide what to do. - * @var array - */ - protected $map = array( - 'title' => array('Text'), - 'link' => array('Text'), - 'description' => array('Text'), - 'image' => array('Image'), - 'textinput' => array('TextInput')); - - /** - * Here we map some elements to their atom equivalents. This is going to be - * quite tricky to pull off effectively (and some users' methods may vary) - * but is worth trying. The key is the atom version, the value is RSS2. - * @var array - */ - protected $compatMap = array( - 'title' => array('title'), - 'link' => array('link'), - 'subtitle' => array('description')); - - /** - * We will be working with multiple namespaces and it is useful to - * keep them together - * @var array - */ - protected $namespaces = array( - 'rdf' => 'http://www.w3.org/1999/02/22-rdf-syntax-ns#'); - - /** - * Our constructor does nothing more than its parent. - * - * @todo RelaxNG validation - * @param DOMDocument $xml A DOM object representing the feed - * @param bool (optional) $string Whether or not to validate this feed - */ - function __construct(DOMDocument $model, $strict = false) - { - $this->model = $model; - - $this->xpath = new DOMXPath($model); - foreach ($this->namespaces as $key => $value) { - $this->xpath->registerNamespace($key, $value); - } - $this->numberEntries = $this->count('item'); - } - - /** - * Included for compatibility -- will not work with RSS 0.9 - * - * This is not something that will work with RSS0.9 as it does not have - * clear restrictions on the global uniqueness of IDs. - * - * @param string $id any valid ID. - * @return false - */ - function getEntryById($id) - { - return false; - } - - /** - * Get details of the image associated with the feed. - * - * @return array|false an array simply containing the child elements - */ - protected function getImage() - { - $images = $this->model->getElementsByTagName('image'); - if ($images->length > 0) { - $image = $images->item(0); - $details = array(); - if ($image->hasChildNodes()) { - $details = array( - 'title' => $image->getElementsByTagName('title')->item(0)->value, - 'link' => $image->getElementsByTagName('link')->item(0)->value, - 'url' => $image->getElementsByTagName('url')->item(0)->value); - } else { - $details = array('title' => false, - 'link' => false, - 'url' => $image->attributes->getNamedItem('resource')->nodeValue); - } - $details = array_merge($details, - array('description' => false, 'height' => false, 'width' => false)); - if (! empty($details)) { - return $details; - } - } - return false; - } - - /** - * The textinput element is little used, but in the interests of - * completeness we will support it. - * - * @return array|false - */ - protected function getTextInput() - { - $inputs = $this->model->getElementsByTagName('textinput'); - if ($inputs->length > 0) { - $input = $inputs->item(0); - $results = array(); - $results['title'] = isset( - $input->getElementsByTagName('title')->item(0)->value) ? - $input->getElementsByTagName('title')->item(0)->value : null; - $results['description'] = isset( - $input->getElementsByTagName('description')->item(0)->value) ? - $input->getElementsByTagName('description')->item(0)->value : null; - $results['name'] = isset( - $input->getElementsByTagName('name')->item(0)->value) ? - $input->getElementsByTagName('name')->item(0)->value : null; - $results['link'] = isset( - $input->getElementsByTagName('link')->item(0)->value) ? - $input->getElementsByTagName('link')->item(0)->value : null; - if (empty($results['link']) && - $input->attributes->getNamedItem('resource')) { - $results['link'] = $input->attributes->getNamedItem('resource')->nodeValue; - } - if (! empty($results)) { - return $results; - } - } - return false; - } - - /** - * Get details of a link from the feed. - * - * In RSS1 a link is a text element but in order to ensure that we resolve - * URLs properly we have a special function for them. - * - * @return string - */ - function getLink($offset = 0, $attribute = 'href', $params = false) - { - $links = $this->model->getElementsByTagName('link'); - if ($links->length <= $offset) { - return false; - } - $link = $links->item($offset); - return $this->addBase($link->nodeValue, $link); - } -} - -?> \ No newline at end of file diff --git a/tools/pear_xml_parser/Parser/RSS09Element.php b/tools/pear_xml_parser/Parser/RSS09Element.php deleted file mode 100644 index 6ec8c8dd4..000000000 --- a/tools/pear_xml_parser/Parser/RSS09Element.php +++ /dev/null @@ -1,62 +0,0 @@ - - * @copyright 2005 James Stewart - * @license http://www.gnu.org/copyleft/lesser.html GNU LGPL 2.1 - * @version CVS: $Id: RSS09Element.php,v 1.4 2006/06/30 17:41:56 jystewart Exp $ - * @link http://pear.php.net/package/XML_Feed_Parser/ - */ - -/* - * This class provides support for RSS 0.9 entries. It will usually be called by - * XML_Feed_Parser_RSS09 with which it shares many methods. - * - * @author James Stewart - * @version Release: 1.0.2 - * @package XML_Feed_Parser - */ -class XML_Feed_Parser_RSS09Element extends XML_Feed_Parser_RSS09 -{ - /** - * This will be a reference to the parent object for when we want - * to use a 'fallback' rule - * @var XML_Feed_Parser_RSS09 - */ - protected $parent; - - /** - * Our specific element map - * @var array - */ - protected $map = array( - 'title' => array('Text'), - 'link' => array('Link')); - - /** - * Store useful information for later. - * - * @param DOMElement $element - this item as a DOM element - * @param XML_Feed_Parser_RSS1 $parent - the feed of which this is a member - */ - function __construct(DOMElement $element, $parent, $xmlBase = '') - { - $this->model = $element; - $this->parent = $parent; - } -} - -?> \ No newline at end of file diff --git a/tools/pear_xml_parser/Parser/RSS1.php b/tools/pear_xml_parser/Parser/RSS1.php deleted file mode 100644 index 952f60e23..000000000 --- a/tools/pear_xml_parser/Parser/RSS1.php +++ /dev/null @@ -1,277 +0,0 @@ - - * @copyright 2005 James Stewart - * @license http://www.gnu.org/copyleft/lesser.html GNU LGPL 2.1 - * @version CVS: $Id: RSS1.php,v 1.10 2006/07/27 13:52:05 jystewart Exp $ - * @link http://pear.php.net/package/XML_Feed_Parser/ - */ - -/** - * This class handles RSS1.0 feeds. - * - * @author James Stewart - * @version Release: 1.0.2 - * @package XML_Feed_Parser - * @todo Find a Relax NG URI we can use - */ -class XML_Feed_Parser_RSS1 extends XML_Feed_Parser_Type -{ - /** - * The URI of the RelaxNG schema used to (optionally) validate the feed - * @var string - */ - private $relax = 'rss10.rnc'; - - /** - * We're likely to use XPath, so let's keep it global - * @var DOMXPath - */ - protected $xpath; - - /** - * The feed type we are parsing - * @var string - */ - public $version = 'RSS 1.0'; - - /** - * The class used to represent individual items - * @var string - */ - protected $itemClass = 'XML_Feed_Parser_RSS1Element'; - - /** - * The element containing entries - * @var string - */ - protected $itemElement = 'item'; - - /** - * Here we map those elements we're not going to handle individually - * to the constructs they are. The optional second parameter in the array - * tells the parser whether to 'fall back' (not apt. at the feed level) or - * fail if the element is missing. If the parameter is not set, the function - * will simply return false and leave it to the client to decide what to do. - * @var array - */ - protected $map = array( - 'title' => array('Text'), - 'link' => array('Text'), - 'description' => array('Text'), - 'image' => array('Image'), - 'textinput' => array('TextInput'), - 'updatePeriod' => array('Text'), - 'updateFrequency' => array('Text'), - 'updateBase' => array('Date'), - 'rights' => array('Text'), # dc:rights - 'description' => array('Text'), # dc:description - 'creator' => array('Text'), # dc:creator - 'publisher' => array('Text'), # dc:publisher - 'contributor' => array('Text'), # dc:contributor - 'date' => array('Date') # dc:contributor - ); - - /** - * Here we map some elements to their atom equivalents. This is going to be - * quite tricky to pull off effectively (and some users' methods may vary) - * but is worth trying. The key is the atom version, the value is RSS2. - * @var array - */ - protected $compatMap = array( - 'title' => array('title'), - 'link' => array('link'), - 'subtitle' => array('description'), - 'author' => array('creator'), - 'updated' => array('date')); - - /** - * We will be working with multiple namespaces and it is useful to - * keep them together - * @var array - */ - protected $namespaces = array( - 'rdf' => 'http://www.w3.org/1999/02/22-rdf-syntax-ns#', - 'rss' => 'http://purl.org/rss/1.0/', - 'dc' => 'http://purl.org/rss/1.0/modules/dc/', - 'content' => 'http://purl.org/rss/1.0/modules/content/', - 'sy' => 'http://web.resource.org/rss/1.0/modules/syndication/'); - - /** - * Our constructor does nothing more than its parent. - * - * @param DOMDocument $xml A DOM object representing the feed - * @param bool (optional) $string Whether or not to validate this feed - */ - function __construct(DOMDocument $model, $strict = false) - { - $this->model = $model; - if ($strict) { - $validate = $this->model->relaxNGValidate(self::getSchemaDir . - DIRECTORY_SEPARATOR . $this->relax); - if (! $validate) { - throw new XML_Feed_Parser_Exception('Failed required validation'); - } - } - - $this->xpath = new DOMXPath($model); - foreach ($this->namespaces as $key => $value) { - $this->xpath->registerNamespace($key, $value); - } - $this->numberEntries = $this->count('item'); - } - - /** - * Allows retrieval of an entry by ID where the rdf:about attribute is used - * - * This is not really something that will work with RSS1 as it does not have - * clear restrictions on the global uniqueness of IDs. We will employ the - * _very_ hit and miss method of selecting entries based on the rdf:about - * attribute. If DOMXPath::evaluate is available, we also use that to store - * a reference to the entry in the array used by getEntryByOffset so that - * method does not have to seek out the entry if it's requested that way. - * - * @param string $id any valid ID. - * @return XML_Feed_Parser_RSS1Element - */ - function getEntryById($id) - { - if (isset($this->idMappings[$id])) { - return $this->entries[$this->idMappings[$id]]; - } - - $entries = $this->xpath->query("//rss:item[@rdf:about='$id']"); - if ($entries->length > 0) { - $classname = $this->itemClass; - $entry = new $classname($entries->item(0), $this); - if (in_array('evaluate', get_class_methods($this->xpath))) { - $offset = $this->xpath->evaluate("count(preceding-sibling::rss:item)", $entries->item(0)); - $this->entries[$offset] = $entry; - } - $this->idMappings[$id] = $entry; - return $entry; - } - return false; - } - - /** - * Get details of the image associated with the feed. - * - * @return array|false an array simply containing the child elements - */ - protected function getImage() - { - $images = $this->model->getElementsByTagName('image'); - if ($images->length > 0) { - $image = $images->item(0); - $details = array(); - if ($image->hasChildNodes()) { - $details = array( - 'title' => $image->getElementsByTagName('title')->item(0)->value, - 'link' => $image->getElementsByTagName('link')->item(0)->value, - 'url' => $image->getElementsByTagName('url')->item(0)->value); - } else { - $details = array('title' => false, - 'link' => false, - 'url' => $image->attributes->getNamedItem('resource')->nodeValue); - } - $details = array_merge($details, array('description' => false, 'height' => false, 'width' => false)); - if (! empty($details)) { - return $details; - } - } - return false; - } - - /** - * The textinput element is little used, but in the interests of - * completeness we will support it. - * - * @return array|false - */ - protected function getTextInput() - { - $inputs = $this->model->getElementsByTagName('textinput'); - if ($inputs->length > 0) { - $input = $inputs->item(0); - $results = array(); - $results['title'] = isset( - $input->getElementsByTagName('title')->item(0)->value) ? - $input->getElementsByTagName('title')->item(0)->value : null; - $results['description'] = isset( - $input->getElementsByTagName('description')->item(0)->value) ? - $input->getElementsByTagName('description')->item(0)->value : null; - $results['name'] = isset( - $input->getElementsByTagName('name')->item(0)->value) ? - $input->getElementsByTagName('name')->item(0)->value : null; - $results['link'] = isset( - $input->getElementsByTagName('link')->item(0)->value) ? - $input->getElementsByTagName('link')->item(0)->value : null; - if (empty($results['link']) and - $input->attributes->getNamedItem('resource')) { - $results['link'] = - $input->attributes->getNamedItem('resource')->nodeValue; - } - if (! empty($results)) { - return $results; - } - } - return false; - } - - /** - * Employs various techniques to identify the author - * - * Dublin Core provides the dc:creator, dc:contributor, and dc:publisher - * elements for defining authorship in RSS1. We will try each of those in - * turn in order to simulate the atom author element and will return it - * as text. - * - * @return array|false - */ - function getAuthor() - { - $options = array('creator', 'contributor', 'publisher'); - foreach ($options as $element) { - $test = $this->model->getElementsByTagName($element); - if ($test->length > 0) { - return $test->item(0)->value; - } - } - return false; - } - - /** - * Retrieve a link - * - * In RSS1 a link is a text element but in order to ensure that we resolve - * URLs properly we have a special function for them. - * - * @return string - */ - function getLink($offset = 0, $attribute = 'href', $params = false) - { - $links = $this->model->getElementsByTagName('link'); - if ($links->length <= $offset) { - return false; - } - $link = $links->item($offset); - return $this->addBase($link->nodeValue, $link); - } -} - -?> \ No newline at end of file diff --git a/tools/pear_xml_parser/Parser/RSS11.php b/tools/pear_xml_parser/Parser/RSS11.php deleted file mode 100644 index 74babc18e..000000000 --- a/tools/pear_xml_parser/Parser/RSS11.php +++ /dev/null @@ -1,276 +0,0 @@ - - * @copyright 2005 James Stewart - * @license http://www.gnu.org/copyleft/lesser.html GNU LGPL 2.1 - * @version CVS: $Id: RSS11.php,v 1.6 2006/07/27 13:52:05 jystewart Exp $ - * @link http://pear.php.net/package/XML_Feed_Parser/ - */ - -/** - * This class handles RSS1.1 feeds. RSS1.1 is documented at: - * http://inamidst.com/rss1.1/ - * - * @author James Stewart - * @version Release: 1.0.2 - * @package XML_Feed_Parser - * @todo Support for RDF:List - * @todo Ensure xml:lang is accessible to users - */ -class XML_Feed_Parser_RSS11 extends XML_Feed_Parser_Type -{ - /** - * The URI of the RelaxNG schema used to (optionally) validate the feed - * @var string - */ - private $relax = 'rss11.rnc'; - - /** - * We're likely to use XPath, so let's keep it global - * @var DOMXPath - */ - protected $xpath; - - /** - * The feed type we are parsing - * @var string - */ - public $version = 'RSS 1.0'; - - /** - * The class used to represent individual items - * @var string - */ - protected $itemClass = 'XML_Feed_Parser_RSS1Element'; - - /** - * The element containing entries - * @var string - */ - protected $itemElement = 'item'; - - /** - * Here we map those elements we're not going to handle individually - * to the constructs they are. The optional second parameter in the array - * tells the parser whether to 'fall back' (not apt. at the feed level) or - * fail if the element is missing. If the parameter is not set, the function - * will simply return false and leave it to the client to decide what to do. - * @var array - */ - protected $map = array( - 'title' => array('Text'), - 'link' => array('Text'), - 'description' => array('Text'), - 'image' => array('Image'), - 'updatePeriod' => array('Text'), - 'updateFrequency' => array('Text'), - 'updateBase' => array('Date'), - 'rights' => array('Text'), # dc:rights - 'description' => array('Text'), # dc:description - 'creator' => array('Text'), # dc:creator - 'publisher' => array('Text'), # dc:publisher - 'contributor' => array('Text'), # dc:contributor - 'date' => array('Date') # dc:contributor - ); - - /** - * Here we map some elements to their atom equivalents. This is going to be - * quite tricky to pull off effectively (and some users' methods may vary) - * but is worth trying. The key is the atom version, the value is RSS2. - * @var array - */ - protected $compatMap = array( - 'title' => array('title'), - 'link' => array('link'), - 'subtitle' => array('description'), - 'author' => array('creator'), - 'updated' => array('date')); - - /** - * We will be working with multiple namespaces and it is useful to - * keep them together. We will retain support for some common RSS1.0 modules - * @var array - */ - protected $namespaces = array( - 'rdf' => 'http://www.w3.org/1999/02/22-rdf-syntax-ns#', - 'rss' => 'http://purl.org/net/rss1.1#', - 'dc' => 'http://purl.org/rss/1.0/modules/dc/', - 'content' => 'http://purl.org/rss/1.0/modules/content/', - 'sy' => 'http://web.resource.org/rss/1.0/modules/syndication/'); - - /** - * Our constructor does nothing more than its parent. - * - * @param DOMDocument $xml A DOM object representing the feed - * @param bool (optional) $string Whether or not to validate this feed - */ - function __construct(DOMDocument $model, $strict = false) - { - $this->model = $model; - - if ($strict) { - $validate = $this->model->relaxNGValidate(self::getSchemaDir . - DIRECTORY_SEPARATOR . $this->relax); - if (! $validate) { - throw new XML_Feed_Parser_Exception('Failed required validation'); - } - } - - $this->xpath = new DOMXPath($model); - foreach ($this->namespaces as $key => $value) { - $this->xpath->registerNamespace($key, $value); - } - $this->numberEntries = $this->count('item'); - } - - /** - * Attempts to identify an element by ID given by the rdf:about attribute - * - * This is not really something that will work with RSS1.1 as it does not have - * clear restrictions on the global uniqueness of IDs. We will employ the - * _very_ hit and miss method of selecting entries based on the rdf:about - * attribute. Please note that this is even more hit and miss with RSS1.1 than - * with RSS1.0 since RSS1.1 does not require the rdf:about attribute for items. - * - * @param string $id any valid ID. - * @return XML_Feed_Parser_RSS1Element - */ - function getEntryById($id) - { - if (isset($this->idMappings[$id])) { - return $this->entries[$this->idMappings[$id]]; - } - - $entries = $this->xpath->query("//rss:item[@rdf:about='$id']"); - if ($entries->length > 0) { - $classname = $this->itemClass; - $entry = new $classname($entries->item(0), $this); - return $entry; - } - return false; - } - - /** - * Get details of the image associated with the feed. - * - * @return array|false an array simply containing the child elements - */ - protected function getImage() - { - $images = $this->model->getElementsByTagName('image'); - if ($images->length > 0) { - $image = $images->item(0); - $details = array(); - if ($image->hasChildNodes()) { - $details = array( - 'title' => $image->getElementsByTagName('title')->item(0)->value, - 'url' => $image->getElementsByTagName('url')->item(0)->value); - if ($image->getElementsByTagName('link')->length > 0) { - $details['link'] = - $image->getElementsByTagName('link')->item(0)->value; - } - } else { - $details = array('title' => false, - 'link' => false, - 'url' => $image->attributes->getNamedItem('resource')->nodeValue); - } - $details = array_merge($details, - array('description' => false, 'height' => false, 'width' => false)); - if (! empty($details)) { - return $details; - } - } - return false; - } - - /** - * The textinput element is little used, but in the interests of - * completeness we will support it. - * - * @return array|false - */ - protected function getTextInput() - { - $inputs = $this->model->getElementsByTagName('textinput'); - if ($inputs->length > 0) { - $input = $inputs->item(0); - $results = array(); - $results['title'] = isset( - $input->getElementsByTagName('title')->item(0)->value) ? - $input->getElementsByTagName('title')->item(0)->value : null; - $results['description'] = isset( - $input->getElementsByTagName('description')->item(0)->value) ? - $input->getElementsByTagName('description')->item(0)->value : null; - $results['name'] = isset( - $input->getElementsByTagName('name')->item(0)->value) ? - $input->getElementsByTagName('name')->item(0)->value : null; - $results['link'] = isset( - $input->getElementsByTagName('link')->item(0)->value) ? - $input->getElementsByTagName('link')->item(0)->value : null; - if (empty($results['link']) and - $input->attributes->getNamedItem('resource')) { - $results['link'] = $input->attributes->getNamedItem('resource')->nodeValue; - } - if (! empty($results)) { - return $results; - } - } - return false; - } - - /** - * Attempts to discern authorship - * - * Dublin Core provides the dc:creator, dc:contributor, and dc:publisher - * elements for defining authorship in RSS1. We will try each of those in - * turn in order to simulate the atom author element and will return it - * as text. - * - * @return array|false - */ - function getAuthor() - { - $options = array('creator', 'contributor', 'publisher'); - foreach ($options as $element) { - $test = $this->model->getElementsByTagName($element); - if ($test->length > 0) { - return $test->item(0)->value; - } - } - return false; - } - - /** - * Retrieve a link - * - * In RSS1 a link is a text element but in order to ensure that we resolve - * URLs properly we have a special function for them. - * - * @return string - */ - function getLink($offset = 0, $attribute = 'href', $params = false) - { - $links = $this->model->getElementsByTagName('link'); - if ($links->length <= $offset) { - return false; - } - $link = $links->item($offset); - return $this->addBase($link->nodeValue, $link); - } -} - -?> \ No newline at end of file diff --git a/tools/pear_xml_parser/Parser/RSS11Element.php b/tools/pear_xml_parser/Parser/RSS11Element.php deleted file mode 100644 index 9de641702..000000000 --- a/tools/pear_xml_parser/Parser/RSS11Element.php +++ /dev/null @@ -1,151 +0,0 @@ - - * @copyright 2005 James Stewart - * @license http://www.gnu.org/copyleft/lesser.html GNU LGPL 2.1 - * @version CVS: $Id: RSS11Element.php,v 1.4 2006/06/30 17:41:56 jystewart Exp $ - * @link http://pear.php.net/package/XML_Feed_Parser/ - */ - -/* - * This class provides support for RSS 1.1 entries. It will usually be called by - * XML_Feed_Parser_RSS11 with which it shares many methods. - * - * @author James Stewart - * @version Release: 1.0.2 - * @package XML_Feed_Parser - */ -class XML_Feed_Parser_RSS11Element extends XML_Feed_Parser_RSS11 -{ - /** - * This will be a reference to the parent object for when we want - * to use a 'fallback' rule - * @var XML_Feed_Parser_RSS1 - */ - protected $parent; - - /** - * Our specific element map - * @var array - */ - protected $map = array( - 'id' => array('Id'), - 'title' => array('Text'), - 'link' => array('Link'), - 'description' => array('Text'), # or dc:description - 'category' => array('Category'), - 'rights' => array('Text'), # dc:rights - 'creator' => array('Text'), # dc:creator - 'publisher' => array('Text'), # dc:publisher - 'contributor' => array('Text'), # dc:contributor - 'date' => array('Date'), # dc:date - 'content' => array('Content') - ); - - /** - * Here we map some elements to their atom equivalents. This is going to be - * quite tricky to pull off effectively (and some users' methods may vary) - * but is worth trying. The key is the atom version, the value is RSS1. - * @var array - */ - protected $compatMap = array( - 'content' => array('content'), - 'updated' => array('lastBuildDate'), - 'published' => array('pubdate'), - 'subtitle' => array('description'), - 'updated' => array('date'), - 'author' => array('creator'), - 'contributor' => array('contributor') - ); - - /** - * Store useful information for later. - * - * @param DOMElement $element - this item as a DOM element - * @param XML_Feed_Parser_RSS1 $parent - the feed of which this is a member - */ - function __construct(DOMElement $element, $parent, $xmlBase = '') - { - $this->model = $element; - $this->parent = $parent; - } - - /** - * If an rdf:about attribute is specified, return that as an ID - * - * There is no established way of showing an ID for an RSS1 entry. We will - * simulate it using the rdf:about attribute of the entry element. This cannot - * be relied upon for unique IDs but may prove useful. - * - * @return string|false - */ - function getId() - { - if ($this->model->attributes->getNamedItem('about')) { - return $this->model->attributes->getNamedItem('about')->nodeValue; - } - return false; - } - - /** - * Return the entry's content - * - * The official way to include full content in an RSS1 entry is to use - * the content module's element 'encoded'. Often, however, the 'description' - * element is used instead. We will offer that as a fallback. - * - * @return string|false - */ - function getContent() - { - $options = array('encoded', 'description'); - foreach ($options as $element) { - $test = $this->model->getElementsByTagName($element); - if ($test->length == 0) { - continue; - } - if ($test->item(0)->hasChildNodes()) { - $value = ''; - foreach ($test->item(0)->childNodes as $child) { - if ($child instanceof DOMText) { - $value .= $child->nodeValue; - } else { - $simple = simplexml_import_dom($child); - $value .= $simple->asXML(); - } - } - return $value; - } else if ($test->length > 0) { - return $test->item(0)->nodeValue; - } - } - return false; - } - - /** - * How RSS1.1 should support for enclosures is not clear. For now we will return - * false. - * - * @return false - */ - function getEnclosure() - { - return false; - } -} - -?> \ No newline at end of file diff --git a/tools/pear_xml_parser/Parser/RSS1Element.php b/tools/pear_xml_parser/Parser/RSS1Element.php deleted file mode 100644 index f43ae46c1..000000000 --- a/tools/pear_xml_parser/Parser/RSS1Element.php +++ /dev/null @@ -1,116 +0,0 @@ - - * @copyright 2005 James Stewart - * @license http://www.gnu.org/copyleft/lesser.html GNU LGPL 2.1 - * @version CVS: $Id: RSS1Element.php,v 1.6 2006/06/30 17:41:56 jystewart Exp $ - * @link http://pear.php.net/package/XML_Feed_Parser/ - */ - -/* - * This class provides support for RSS 1.0 entries. It will usually be called by - * XML_Feed_Parser_RSS1 with which it shares many methods. - * - * @author James Stewart - * @version Release: 1.0.2 - * @package XML_Feed_Parser - */ -class XML_Feed_Parser_RSS1Element extends XML_Feed_Parser_RSS1 -{ - /** - * This will be a reference to the parent object for when we want - * to use a 'fallback' rule - * @var XML_Feed_Parser_RSS1 - */ - protected $parent; - - /** - * Our specific element map - * @var array - */ - protected $map = array( - 'id' => array('Id'), - 'title' => array('Text'), - 'link' => array('Link'), - 'description' => array('Text'), # or dc:description - 'category' => array('Category'), - 'rights' => array('Text'), # dc:rights - 'creator' => array('Text'), # dc:creator - 'publisher' => array('Text'), # dc:publisher - 'contributor' => array('Text'), # dc:contributor - 'date' => array('Date'), # dc:date - 'content' => array('Content') - ); - - /** - * Here we map some elements to their atom equivalents. This is going to be - * quite tricky to pull off effectively (and some users' methods may vary) - * but is worth trying. The key is the atom version, the value is RSS1. - * @var array - */ - protected $compatMap = array( - 'content' => array('content'), - 'updated' => array('lastBuildDate'), - 'published' => array('pubdate'), - 'subtitle' => array('description'), - 'updated' => array('date'), - 'author' => array('creator'), - 'contributor' => array('contributor') - ); - - /** - * Store useful information for later. - * - * @param DOMElement $element - this item as a DOM element - * @param XML_Feed_Parser_RSS1 $parent - the feed of which this is a member - */ - function __construct(DOMElement $element, $parent, $xmlBase = '') - { - $this->model = $element; - $this->parent = $parent; - } - - /** - * If an rdf:about attribute is specified, return it as an ID - * - * There is no established way of showing an ID for an RSS1 entry. We will - * simulate it using the rdf:about attribute of the entry element. This cannot - * be relied upon for unique IDs but may prove useful. - * - * @return string|false - */ - function getId() - { - if ($this->model->attributes->getNamedItem('about')) { - return $this->model->attributes->getNamedItem('about')->nodeValue; - } - return false; - } - - /** - * How RSS1 should support for enclosures is not clear. For now we will return - * false. - * - * @return false - */ - function getEnclosure() - { - return false; - } -} - -?> \ No newline at end of file diff --git a/tools/pear_xml_parser/Parser/RSS2.php b/tools/pear_xml_parser/Parser/RSS2.php deleted file mode 100644 index c5d79d1a3..000000000 --- a/tools/pear_xml_parser/Parser/RSS2.php +++ /dev/null @@ -1,334 +0,0 @@ - - * @copyright 2005 James Stewart - * @license http://www.gnu.org/copyleft/lesser.html GNU LGPL 2.1 - * @version CVS: $Id: RSS2.php,v 1.11 2006/07/27 13:52:05 jystewart Exp $ - * @link http://pear.php.net/package/XML_Feed_Parser/ - */ - -/** - * This class handles RSS2 feeds. - * - * @author James Stewart - * @version Release: 1.0.2 - * @package XML_Feed_Parser - */ -class XML_Feed_Parser_RSS2 extends XML_Feed_Parser_Type -{ - /** - * The URI of the RelaxNG schema used to (optionally) validate the feed - * @var string - */ - private $relax = 'rss20.rnc'; - - /** - * We're likely to use XPath, so let's keep it global - * @var DOMXPath - */ - protected $xpath; - - /** - * The feed type we are parsing - * @var string - */ - public $version = 'RSS 2.0'; - - /** - * The class used to represent individual items - * @var string - */ - protected $itemClass = 'XML_Feed_Parser_RSS2Element'; - - /** - * The element containing entries - * @var string - */ - protected $itemElement = 'item'; - - /** - * Here we map those elements we're not going to handle individually - * to the constructs they are. The optional second parameter in the array - * tells the parser whether to 'fall back' (not apt. at the feed level) or - * fail if the element is missing. If the parameter is not set, the function - * will simply return false and leave it to the client to decide what to do. - * @var array - */ - protected $map = array( - 'ttl' => array('Text'), - 'pubDate' => array('Date'), - 'lastBuildDate' => array('Date'), - 'title' => array('Text'), - 'link' => array('Link'), - 'description' => array('Text'), - 'language' => array('Text'), - 'copyright' => array('Text'), - 'managingEditor' => array('Text'), - 'webMaster' => array('Text'), - 'category' => array('Text'), - 'generator' => array('Text'), - 'docs' => array('Text'), - 'ttl' => array('Text'), - 'image' => array('Image'), - 'skipDays' => array('skipDays'), - 'skipHours' => array('skipHours')); - - /** - * Here we map some elements to their atom equivalents. This is going to be - * quite tricky to pull off effectively (and some users' methods may vary) - * but is worth trying. The key is the atom version, the value is RSS2. - * @var array - */ - protected $compatMap = array( - 'title' => array('title'), - 'rights' => array('copyright'), - 'updated' => array('lastBuildDate'), - 'subtitle' => array('description'), - 'date' => array('pubDate'), - 'author' => array('managingEditor')); - - protected $namespaces = array( - 'dc' => 'http://purl.org/rss/1.0/modules/dc/', - 'content' => 'http://purl.org/rss/1.0/modules/content/'); - - /** - * Our constructor does nothing more than its parent. - * - * @param DOMDocument $xml A DOM object representing the feed - * @param bool (optional) $string Whether or not to validate this feed - */ - function __construct(DOMDocument $model, $strict = false) - { - $this->model = $model; - - if ($strict) { - if (! $this->model->relaxNGValidate($this->relax)) { - throw new XML_Feed_Parser_Exception('Failed required validation'); - } - } - - $this->xpath = new DOMXPath($this->model); - foreach ($this->namespaces as $key => $value) { - $this->xpath->registerNamespace($key, $value); - } - $this->numberEntries = $this->count('item'); - } - - /** - * Retrieves an entry by ID, if the ID is specified with the guid element - * - * This is not really something that will work with RSS2 as it does not have - * clear restrictions on the global uniqueness of IDs. But we can emulate - * it by allowing access based on the 'guid' element. If DOMXPath::evaluate - * is available, we also use that to store a reference to the entry in the array - * used by getEntryByOffset so that method does not have to seek out the entry - * if it's requested that way. - * - * @param string $id any valid ID. - * @return XML_Feed_Parser_RSS2Element - */ - function getEntryById($id) - { - if (isset($this->idMappings[$id])) { - return $this->entries[$this->idMappings[$id]]; - } - - $entries = $this->xpath->query("//item[guid='$id']"); - if ($entries->length > 0) { - $entry = new $this->itemElement($entries->item(0), $this); - if (in_array('evaluate', get_class_methods($this->xpath))) { - $offset = $this->xpath->evaluate("count(preceding-sibling::item)", $entries->item(0)); - $this->entries[$offset] = $entry; - } - $this->idMappings[$id] = $entry; - return $entry; - } - } - - /** - * Get a category from the element - * - * The category element is a simple text construct which can occur any number - * of times. We allow access by offset or access to an array of results. - * - * @param string $call for compatibility with our overloading - * @param array $arguments - arg 0 is the offset, arg 1 is whether to return as array - * @return string|array|false - */ - function getCategory($call, $arguments = array()) - { - $categories = $this->model->getElementsByTagName('category'); - $offset = empty($arguments[0]) ? 0 : $arguments[0]; - $array = empty($arguments[1]) ? false : true; - if ($categories->length <= $offset) { - return false; - } - if ($array) { - $list = array(); - foreach ($categories as $category) { - array_push($list, $category->nodeValue); - } - return $list; - } - return $categories->item($offset)->nodeValue; - } - - /** - * Get details of the image associated with the feed. - * - * @return array|false an array simply containing the child elements - */ - protected function getImage() - { - $images = $this->model->getElementsByTagName('image'); - if ($images->length > 0) { - $image = $images->item(0); - $desc = $image->getElementsByTagName('description'); - $description = $desc->length ? $desc->item(0)->nodeValue : false; - $heigh = $image->getElementsByTagName('height'); - $height = $heigh->length ? $heigh->item(0)->nodeValue : false; - $widt = $image->getElementsByTagName('width'); - $width = $widt->length ? $widt->item(0)->nodeValue : false; - return array( - 'title' => $image->getElementsByTagName('title')->item(0)->nodeValue, - 'link' => $image->getElementsByTagName('link')->item(0)->nodeValue, - 'url' => $image->getElementsByTagName('url')->item(0)->nodeValue, - 'description' => $description, - 'height' => $height, - 'width' => $width); - } - return false; - } - - /** - * The textinput element is little used, but in the interests of - * completeness... - * - * @return array|false - */ - function getTextInput() - { - $inputs = $this->model->getElementsByTagName('input'); - if ($inputs->length > 0) { - $input = $inputs->item(0); - return array( - 'title' => $input->getElementsByTagName('title')->item(0)->value, - 'description' => - $input->getElementsByTagName('description')->item(0)->value, - 'name' => $input->getElementsByTagName('name')->item(0)->value, - 'link' => $input->getElementsByTagName('link')->item(0)->value); - } - return false; - } - - /** - * Utility function for getSkipDays and getSkipHours - * - * This is a general function used by both getSkipDays and getSkipHours. It simply - * returns an array of the values of the children of the appropriate tag. - * - * @param string $tagName The tag name (getSkipDays or getSkipHours) - * @return array|false - */ - protected function getSkips($tagName) - { - $hours = $this->model->getElementsByTagName($tagName); - if ($hours->length == 0) { - return false; - } - $skipHours = array(); - foreach($hours->item(0)->childNodes as $hour) { - if ($hour instanceof DOMElement) { - array_push($skipHours, $hour->nodeValue); - } - } - return $skipHours; - } - - /** - * Retrieve skipHours data - * - * The skiphours element provides a list of hours on which this feed should - * not be checked. We return an array of those hours (integers, 24 hour clock) - * - * @return array - */ - function getSkipHours() - { - return $this->getSkips('skipHours'); - } - - /** - * Retrieve skipDays data - * - * The skipdays element provides a list of days on which this feed should - * not be checked. We return an array of those days. - * - * @return array - */ - function getSkipDays() - { - return $this->getSkips('skipDays'); - } - - /** - * Return content of the little-used 'cloud' element - * - * The cloud element is rarely used. It is designed to provide some details - * of a location to update the feed. - * - * @return array an array of the attributes of the element - */ - function getCloud() - { - $cloud = $this->model->getElementsByTagName('cloud'); - if ($cloud->length == 0) { - return false; - } - $cloudData = array(); - foreach ($cloud->item(0)->attributes as $attribute) { - $cloudData[$attribute->name] = $attribute->value; - } - return $cloudData; - } - - /** - * Get link URL - * - * In RSS2 a link is a text element but in order to ensure that we resolve - * URLs properly we have a special function for them. We maintain the - * parameter used by the atom getLink method, though we only use the offset - * parameter. - * - * @param int $offset The position of the link within the feed. Starts from 0 - * @param string $attribute The attribute of the link element required - * @param array $params An array of other parameters. Not used. - * @return string - */ - function getLink($offset, $attribute = 'href', $params = array()) - { - $links = $this->model->getElementsByTagName('link'); - - if ($links->length <= $offset) { - return false; - } - $link = $links->item($offset); - return $this->addBase($link->nodeValue, $link); - } -} - -?> \ No newline at end of file diff --git a/tools/pear_xml_parser/Parser/RSS2Element.php b/tools/pear_xml_parser/Parser/RSS2Element.php deleted file mode 100644 index 156e9bc44..000000000 --- a/tools/pear_xml_parser/Parser/RSS2Element.php +++ /dev/null @@ -1,171 +0,0 @@ - - * @copyright 2005 James Stewart - * @license http://www.gnu.org/copyleft/lesser.html GNU LGPL 2.1 - * @version CVS: $Id: RSS2Element.php,v 1.11 2006/07/26 21:18:47 jystewart Exp $ - * @link http://pear.php.net/package/XML_Feed_Parser/ - */ - -/** - * This class provides support for RSS 2.0 entries. It will usually be - * called by XML_Feed_Parser_RSS2 with which it shares many methods. - * - * @author James Stewart - * @version Release: 1.0.2 - * @package XML_Feed_Parser - */ -class XML_Feed_Parser_RSS2Element extends XML_Feed_Parser_RSS2 -{ - /** - * This will be a reference to the parent object for when we want - * to use a 'fallback' rule - * @var XML_Feed_Parser_RSS2 - */ - protected $parent; - - /** - * Our specific element map - * @var array - */ - protected $map = array( - 'title' => array('Text'), - 'guid' => array('Guid'), - 'description' => array('Text'), - 'author' => array('Text'), - 'comments' => array('Text'), - 'enclosure' => array('Enclosure'), - 'pubDate' => array('Date'), - 'source' => array('Source'), - 'link' => array('Text'), - 'content' => array('Content')); - - /** - * Here we map some elements to their atom equivalents. This is going to be - * quite tricky to pull off effectively (and some users' methods may vary) - * but is worth trying. The key is the atom version, the value is RSS2. - * @var array - */ - protected $compatMap = array( - 'id' => array('guid'), - 'updated' => array('lastBuildDate'), - 'published' => array('pubdate'), - 'guidislink' => array('guid', 'ispermalink'), - 'summary' => array('description')); - - /** - * Store useful information for later. - * - * @param DOMElement $element - this item as a DOM element - * @param XML_Feed_Parser_RSS2 $parent - the feed of which this is a member - */ - function __construct(DOMElement $element, $parent, $xmlBase = '') - { - $this->model = $element; - $this->parent = $parent; - } - - /** - * Get the value of the guid element, if specified - * - * guid is the closest RSS2 has to atom's ID. It is usually but not always a - * URI. The one attribute that RSS2 can posess is 'ispermalink' which specifies - * whether the guid is itself dereferencable. Use of guid is not obligatory, - * but is advisable. To get the guid you would call $item->id() (for atom - * compatibility) or $item->guid(). To check if this guid is a permalink call - * $item->guid("ispermalink"). - * - * @param string $method - the method name being called - * @param array $params - parameters required - * @return string the guid or value of ispermalink - */ - protected function getGuid($method, $params) - { - $attribute = (isset($params[0]) and $params[0] == 'ispermalink') ? - true : false; - $tag = $this->model->getElementsByTagName('guid'); - if ($tag->length > 0) { - if ($attribute) { - if ($tag->hasAttribute("ispermalink")) { - return $tag->getAttribute("ispermalink"); - } - } - return $tag->item(0)->nodeValue; - } - return false; - } - - /** - * Access details of file enclosures - * - * The RSS2 spec is ambiguous as to whether an enclosure element must be - * unique in a given entry. For now we will assume it needn't, and allow - * for an offset. - * - * @param string $method - the method being called - * @param array $parameters - we expect the first of these to be our offset - * @return array|false - */ - protected function getEnclosure($method, $parameters) - { - $encs = $this->model->getElementsByTagName('enclosure'); - $offset = isset($parameters[0]) ? $parameters[0] : 0; - if ($encs->length > $offset) { - try { - if (! $encs->item($offset)->hasAttribute('url')) { - return false; - } - $attrs = $encs->item($offset)->attributes; - return array( - 'url' => $attrs->getNamedItem('url')->value, - 'length' => $attrs->getNamedItem('length')->value, - 'type' => $attrs->getNamedItem('type')->value); - } catch (Exception $e) { - return false; - } - } - return false; - } - - /** - * Get the entry source if specified - * - * source is an optional sub-element of item. Like atom:source it tells - * us about where the entry came from (eg. if it's been copied from another - * feed). It is not a rich source of metadata in the same way as atom:source - * and while it would be good to maintain compatibility by returning an - * XML_Feed_Parser_RSS2 element, it makes a lot more sense to return an array. - * - * @return array|false - */ - protected function getSource() - { - $get = $this->model->getElementsByTagName('source'); - if ($get->length) { - $source = $get->item(0); - $array = array( - 'content' => $source->nodeValue); - foreach ($source->attributes as $attribute) { - $array[$attribute->name] = $attribute->value; - } - return $array; - } - return false; - } -} - -?> \ No newline at end of file diff --git a/tools/pear_xml_parser/Parser/Type.php b/tools/pear_xml_parser/Parser/Type.php deleted file mode 100644 index 9799df028..000000000 --- a/tools/pear_xml_parser/Parser/Type.php +++ /dev/null @@ -1,441 +0,0 @@ - - * @copyright 2005 James Stewart - * @license http://www.gnu.org/copyleft/lesser.html GNU LGPL 2.1 - * @version CVS: $Id: Type.php,v 1.22 2006/08/15 13:02:36 jystewart Exp $ - * @link http://pear.php.net/package/XML_Feed_Parser/ - */ - -/** - * This abstract class provides some general methods that are likely to be - * implemented exactly the same way for all feed types. - * - * @package XML_Feed_Parser - * @author James Stewart - * @version Release: 1.0.2 - */ -abstract class XML_Feed_Parser_Type -{ - /** - * Where we store our DOM object for this feed - * @var DOMDocument - */ - public $model; - - /** - * For iteration we'll want a count of the number of entries - * @var int - */ - public $numberEntries; - - /** - * Where we store our entry objects once instantiated - * @var array - */ - public $entries = array(); - - /** - * Proxy to allow use of element names as method names - * - * We are not going to provide methods for every entry type so this - * function will allow for a lot of mapping. We rely pretty heavily - * on this to handle our mappings between other feed types and atom. - * - * @param string $call - the method attempted - * @param array $arguments - arguments to that method - * @return mixed - */ - function __call($call, $arguments = array()) - { - if (! is_array($arguments)) { - $arguments = array(); - } - - if (isset($this->compatMap[$call])) { - $tempMap = $this->compatMap; - $tempcall = array_pop($tempMap[$call]); - if (! empty($tempMap)) { - $arguments = array_merge($arguments, $tempMap[$call]); - } - $call = $tempcall; - } - - /* To be helpful, we allow a case-insensitive search for this method */ - if (! isset($this->map[$call])) { - foreach (array_keys($this->map) as $key) { - if (strtoupper($key) == strtoupper($call)) { - $call = $key; - break; - } - } - } - - if (empty($this->map[$call])) { - return false; - } - - $method = 'get' . $this->map[$call][0]; - if ($method == 'getLink') { - $offset = empty($arguments[0]) ? 0 : $arguments[0]; - $attribute = empty($arguments[1]) ? 'href' : $arguments[1]; - $params = isset($arguments[2]) ? $arguments[2] : array(); - return $this->getLink($offset, $attribute, $params); - } - if (method_exists($this, $method)) { - return $this->$method($call, $arguments); - } - - return false; - } - - /** - * Proxy to allow use of element names as attribute names - * - * For many elements variable-style access will be desirable. This function - * provides for that. - * - * @param string $value - the variable required - * @return mixed - */ - function __get($value) - { - return $this->__call($value, array()); - } - - /** - * Utility function to help us resolve xml:base values - * - * We have other methods which will traverse the DOM and work out the different - * xml:base declarations we need to be aware of. We then need to combine them. - * If a declaration starts with a protocol then we restart the string. If it - * starts with a / then we add on to the domain name. Otherwise we simply tag - * it on to the end. - * - * @param string $base - the base to add the link to - * @param string $link - */ - function combineBases($base, $link) - { - if (preg_match('/^[A-Za-z]+:\/\//', $link)) { - return $link; - } else if (preg_match('/^\//', $link)) { - /* Extract domain and suffix link to that */ - preg_match('/^([A-Za-z]+:\/\/.*)?\/*/', $base, $results); - $firstLayer = $results[0]; - return $firstLayer . "/" . $link; - } else if (preg_match('/^\.\.\//', $base)) { - /* Step up link to find place to be */ - preg_match('/^((\.\.\/)+)(.*)$/', $link, $bases); - $suffix = $bases[3]; - $count = preg_match_all('/\.\.\//', $bases[1], $steps); - $url = explode("/", $base); - for ($i = 0; $i <= $count; $i++) { - array_pop($url); - } - return implode("/", $url) . "/" . $suffix; - } else if (preg_match('/^(?!\/$)/', $base)) { - $base = preg_replace('/(.*\/).*$/', '$1', $base) ; - return $base . $link; - } else { - /* Just stick it on the end */ - return $base . $link; - } - } - - /** - * Determine whether we need to apply our xml:base rules - * - * Gets us the xml:base data and then processes that with regard - * to our current link. - * - * @param string - * @param DOMElement - * @return string - */ - function addBase($link, $element) - { - if (preg_match('/^[A-Za-z]+:\/\//', $link)) { - return $link; - } - - return $this->combineBases($element->baseURI, $link); - } - - /** - * Get an entry by its position in the feed, starting from zero - * - * As well as allowing the items to be iterated over we want to allow - * users to be able to access a specific entry. This is one of two ways of - * doing that, the other being by ID. - * - * @param int $offset - * @return XML_Feed_Parser_RSS1Element - */ - function getEntryByOffset($offset) - { - if (! isset($this->entries[$offset])) { - $entries = $this->model->getElementsByTagName($this->itemElement); - if ($entries->length > $offset) { - $xmlBase = $entries->item($offset)->baseURI; - $this->entries[$offset] = new $this->itemClass( - $entries->item($offset), $this, $xmlBase); - if ($id = $this->entries[$offset]->id) { - @$this->idMappings[$id] = $this->entries[$offset]; - } - } else { - throw new XML_Feed_Parser_Exception('No entries found'); - } - } - - return $this->entries[$offset]; - } - - /** - * Return a date in seconds since epoch. - * - * Get a date construct. We use PHP's strtotime to return it as a unix datetime, which - * is the number of seconds since 1970-01-01 00:00:00. - * - * @link http://php.net/strtotime - * @param string $method The name of the date construct we want - * @param array $arguments Included for compatibility with our __call usage - * @return int|false datetime - */ - protected function getDate($method, $arguments) - { - $time = $this->model->getElementsByTagName($method); - if ($time->length == 0) { - return false; - } - return strtotime($time->item(0)->nodeValue); - } - - /** - * Get a text construct. - * - * @param string $method The name of the text construct we want - * @param array $arguments Included for compatibility with our __call usage - * @return string - */ - protected function getText($method, $arguments = array()) - { - $tags = $this->model->getElementsByTagName($method); - if ($tags->length > 0) { - $value = $tags->item(0)->nodeValue; - return $value; - } - return false; - } - - /** - * Apply various rules to retrieve category data. - * - * There is no single way of declaring a category in RSS1/1.1 as there is in RSS2 - * and Atom. Instead the usual approach is to use the dublin core namespace to - * declare categories. For example delicious use both: - * PEAR and: - * - * to declare a categorisation of 'PEAR'. - * - * We need to be sensitive to this where possible. - * - * @param string $call for compatibility with our overloading - * @param array $arguments - arg 0 is the offset, arg 1 is whether to return as array - * @return string|array|false - */ - protected function getCategory($call, $arguments) - { - $categories = $this->model->getElementsByTagName('subject'); - $offset = empty($arguments[0]) ? 0 : $arguments[0]; - $array = empty($arguments[1]) ? false : true; - if ($categories->length <= $offset) { - return false; - } - if ($array) { - $list = array(); - foreach ($categories as $category) { - array_push($list, $category->nodeValue); - } - return $list; - } - return $categories->item($offset)->nodeValue; - } - - /** - * Count occurrences of an element - * - * This function will tell us how many times the element $type - * appears at this level of the feed. - * - * @param string $type the element we want to get a count of - * @return int - */ - protected function count($type) - { - if ($tags = $this->model->getElementsByTagName($type)) { - return $tags->length; - } - return 0; - } - - /** - * Part of our xml:base processing code - * - * We need a couple of methods to access XHTML content stored in feeds. - * This is because we dereference all xml:base references before returning - * the element. This method handles the attributes. - * - * @param DOMElement $node The DOM node we are iterating over - * @return string - */ - function processXHTMLAttributes($node) { - $return = ''; - foreach ($node->attributes as $attribute) { - if ($attribute->name == 'src' or $attribute->name == 'href') { - $attribute->value = $this->addBase($attribute->value, $attribute); - } - if ($attribute->name == 'base') { - continue; - } - $return .= $attribute->name . '="' . $attribute->value .'" '; - } - if (! empty($return)) { - return ' ' . trim($return); - } - return ''; - } - - /** - * Part of our xml:base processing code - * - * We need a couple of methods to access XHTML content stored in feeds. - * This is because we dereference all xml:base references before returning - * the element. This method recurs through the tree descending from the node - * and builds our string - * - * @param DOMElement $node The DOM node we are processing - * @return string - */ - function traverseNode($node) - { - $content = ''; - - /* Add the opening of this node to the content */ - if ($node instanceof DOMElement) { - $content .= '<' . $node->tagName . - $this->processXHTMLAttributes($node) . '>'; - } - - /* Process children */ - if ($node->hasChildNodes()) { - foreach ($node->childNodes as $child) { - $content .= $this->traverseNode($child); - } - } - - if ($node instanceof DOMText) { - $content .= htmlentities($node->nodeValue); - } - - /* Add the closing of this node to the content */ - if ($node instanceof DOMElement) { - $content .= 'tagName . '>'; - } - - return $content; - } - - /** - * Get content from RSS feeds (atom has its own implementation) - * - * The official way to include full content in an RSS1 entry is to use - * the content module's element 'encoded', and RSS2 feeds often duplicate that. - * Often, however, the 'description' element is used instead. We will offer that - * as a fallback. Atom uses its own approach and overrides this method. - * - * @return string|false - */ - protected function getContent() - { - $options = array('encoded', 'description'); - foreach ($options as $element) { - $test = $this->model->getElementsByTagName($element); - if ($test->length == 0) { - continue; - } - if ($test->item(0)->hasChildNodes()) { - $value = ''; - foreach ($test->item(0)->childNodes as $child) { - if ($child instanceof DOMText) { - $value .= $child->nodeValue; - } else { - $simple = simplexml_import_dom($child); - $value .= $simple->asXML(); - } - } - return $value; - } else if ($test->length > 0) { - return $test->item(0)->nodeValue; - } - } - return false; - } - - /** - * Checks if this element has a particular child element. - * - * @param String - * @param Integer - * @return bool - **/ - function hasKey($name, $offset = 0) - { - $search = $this->model->getElementsByTagName($name); - return $search->length > $offset; - } - - /** - * Return an XML serialization of the feed, should it be required. Most - * users however, will already have a serialization that they used when - * instantiating the object. - * - * @return string XML serialization of element - */ - function __toString() - { - $simple = simplexml_import_dom($this->model); - return $simple->asXML(); - } - - /** - * Get directory holding RNG schemas. Method is based on that - * found in Contact_AddressBook. - * - * @return string PEAR data directory. - * @access public - * @static - */ - static function getSchemaDir() - { - require_once 'PEAR/Config.php'; - $config = new PEAR_Config; - return $config->get('data_dir') . '/XML_Feed_Parser/schemas'; - } -} - -?> \ No newline at end of file diff --git a/tools/pear_xml_parser/Parser/index.php b/tools/pear_xml_parser/Parser/index.php deleted file mode 100644 index 15aba8204..000000000 --- a/tools/pear_xml_parser/Parser/index.php +++ /dev/null @@ -1,11 +0,0 @@ - - * @author Uwe Tews - * @package Smarty - * @version 3.0.7 - */ - -/** - * define shorthand directory separator constant - */ -if (!defined('DS')) { - define('DS', DIRECTORY_SEPARATOR); -} - -/** - * set SMARTY_DIR to absolute path to Smarty library files. - * Sets SMARTY_DIR only if user application has not already defined it. - */ -if (!defined('SMARTY_DIR')) { - define('SMARTY_DIR', dirname(__FILE__) . DS); -} - -/** - * set SMARTY_SYSPLUGINS_DIR to absolute path to Smarty internal plugins. - * Sets SMARTY_SYSPLUGINS_DIR only if user application has not already defined it. - */ -if (!defined('SMARTY_SYSPLUGINS_DIR')) { - define('SMARTY_SYSPLUGINS_DIR', SMARTY_DIR . 'sysplugins' . DS); -} -if (!defined('SMARTY_PLUGINS_DIR')) { - define('SMARTY_PLUGINS_DIR', SMARTY_DIR . 'plugins' . DS); -} -if (!defined('SMARTY_RESOURCE_CHAR_SET')) { - define('SMARTY_RESOURCE_CHAR_SET', 'UTF-8'); -} -if (!defined('SMARTY_RESOURCE_DATE_FORMAT')) { - define('SMARTY_RESOURCE_DATE_FORMAT', '%b %e, %Y'); -} - -/** - * register the class autoloader - */ -if (!defined('SMARTY_SPL_AUTOLOAD')) { - define('SMARTY_SPL_AUTOLOAD', 0); -} - -/* PrestaShop -if (SMARTY_SPL_AUTOLOAD && set_include_path(get_include_path() . PATH_SEPARATOR . SMARTY_SYSPLUGINS_DIR) !== false) { - $registeredAutoLoadFunctions = spl_autoload_functions(); - if (!isset($registeredAutoLoadFunctions['spl_autoload'])) { - spl_autoload_register(); - } -} else { - spl_autoload_register('smartyAutoload'); -} - End */ -/** - * This is the main Smarty class - */ -class Smarty extends Smarty_Internal_Data { - /** - * constant definitions - */ - // smarty version - const SMARTY_VERSION = 'Smarty-3.0.7'; - //define variable scopes - const SCOPE_LOCAL = 0; - const SCOPE_PARENT = 1; - const SCOPE_ROOT = 2; - const SCOPE_GLOBAL = 3; - // define caching modes - const CACHING_OFF = 0; - const CACHING_LIFETIME_CURRENT = 1; - const CACHING_LIFETIME_SAVED = 2; - /** modes for handling of "" tags in templates. **/ - const PHP_PASSTHRU = 0; //-> print tags as plain text - const PHP_QUOTE = 1; //-> escape tags as entities - const PHP_REMOVE = 2; //-> escape tags as entities - const PHP_ALLOW = 3; //-> escape tags as entities - // filter types - const FILTER_POST = 'post'; - const FILTER_PRE = 'pre'; - const FILTER_OUTPUT = 'output'; - const FILTER_VARIABLE = 'variable'; - // plugin types - const PLUGIN_FUNCTION = 'function'; - const PLUGIN_BLOCK = 'block'; - const PLUGIN_COMPILER = 'compiler'; - const PLUGIN_MODIFIER = 'modifier'; - - /** - * static variables - */ - // assigned global tpl vars - static $global_tpl_vars = array(); - - /** - * variables - */ - // auto literal on delimiters with whitspace - public $auto_literal = true; - // display error on not assigned variables - public $error_unassigned = false; - // template directory - public $template_dir = null; - // default template handler - public $default_template_handler_func = null; - // compile directory - public $compile_dir = null; - // plugins directory - public $plugins_dir = null; - // cache directory - public $cache_dir = null; - // config directory - public $config_dir = null; - // force template compiling? - public $force_compile = false; - // check template for modifications? - public $compile_check = true; - // locking concurrent compiles - public $compile_locking = true; - // use sub dirs for compiled/cached files? - public $use_sub_dirs = false; - // compile_error? - public $compile_error = false; - // caching enabled - public $caching = false; - // merge compiled includes - public $merge_compiled_includes = false; - // cache lifetime - public $cache_lifetime = 3600; - // force cache file creation - public $force_cache = false; - // cache_id - public $cache_id = null; - // compile_id - public $compile_id = null; - // template delimiters - public $left_delimiter = "{"; - public $right_delimiter = "}"; - // security - public $security_class = 'Smarty_Security'; - public $security_policy = null; - public $php_handling = self::PHP_PASSTHRU; - public $allow_php_tag = false; - public $allow_php_templates = false; - public $direct_access_security = true; - public $trusted_dir = array(); - // debug mode - public $debugging = false; - public $debugging_ctrl = 'NONE'; - public $smarty_debug_id = 'SMARTY_DEBUG'; - public $debug_tpl = null; - // When set, smarty does uses this value as error_reporting-level. - public $error_reporting = null; - // config var settings - public $config_overwrite = true; //Controls whether variables with the same name overwrite each other. - public $config_booleanize = true; //Controls whether config values of on/true/yes and off/false/no get converted to boolean - public $config_read_hidden = false; //Controls whether hidden config sections/vars are read from the file. - // config vars - public $config_vars = array(); - // assigned tpl vars - public $tpl_vars = array(); - // dummy parent object - public $parent = null; - // global template functions - public $template_functions = array(); - // resource type used if none given - public $default_resource_type = 'file'; - // caching type - public $caching_type = 'file'; - // internal cache resource types - public $cache_resource_types = array('file'); - // internal config properties - public $properties = array(); - // config type - public $default_config_type = 'file'; - // cached template objects - public $template_objects = null; - // check If-Modified-Since headers - public $cache_modified_check = false; - // registered plugins - public $registered_plugins = array(); - // plugin search order - public $plugin_search_order = array('function', 'block', 'compiler', 'class'); - // registered objects - public $registered_objects = array(); - // registered classes - public $registered_classes = array(); - // registered filters - public $registered_filters = array(); - // registered resources - public $registered_resources = array(); - // autoload filter - public $autoload_filters = array(); - // status of filter on variable output - public $variable_filter = true; - // default modifier - public $default_modifiers = array(); - // global internal smarty vars - static $_smarty_vars = array(); - // start time for execution time calculation - public $start_time = 0; - // default file permissions - public $_file_perms = 0644; - // default dir permissions - public $_dir_perms = 0771; - // block tag hierarchy - public $_tag_stack = array(); - // flag if {block} tag is compiled for template inheritance - public $inheritance = false; - // generate deprecated function call notices? - public $deprecation_notices = true; - // Smarty 2 BC - public $_version = self::SMARTY_VERSION; - // self pointer to Smarty object - public $smarty; - - /** - * Class constructor, initializes basic smarty properties - */ - public function __construct() - { - // selfpointer need by some other class methods - $this->smarty = $this; - if (is_callable('mb_internal_encoding')) { - mb_internal_encoding(SMARTY_RESOURCE_CHAR_SET); - } - $this->start_time = microtime(true); - // set default dirs - $this->template_dir = array('.' . DS . 'templates' . DS); - $this->compile_dir = '.' . DS . 'templates_c' . DS; - $this->plugins_dir = array(SMARTY_PLUGINS_DIR); - $this->cache_dir = '.' . DS . 'cache' . DS; - $this->config_dir = '.' . DS . 'configs' . DS; - $this->debug_tpl = SMARTY_DIR . 'debug.tpl'; - if (isset($_SERVER['SCRIPT_NAME'])) { - $this->assignGlobal('SCRIPT_NAME', $_SERVER['SCRIPT_NAME']); - } - } - - /** - * Class destructor - */ - public function __destruct() - { - } - - /** - * fetches a rendered Smarty template - * - * @param string $template the resource handle of the template file or template object - * @param mixed $cache_id cache id to be used with this template - * @param mixed $compile_id compile id to be used with this template - * @param object $ |null $parent next higher level of Smarty variables - * @return string rendered template output - */ - public function fetch($template, $cache_id = null, $compile_id = null, $parent = null, $display = false) - { - if (!empty($cache_id) && is_object($cache_id)) { - $parent = $cache_id; - $cache_id = null; - } - if ($parent === null) { - // get default Smarty data object - $parent = $this; - } - // create template object if necessary - ($template instanceof $this->template_class)? $_template = $template : - $_template = $this->createTemplate ($template, $cache_id, $compile_id, $parent, false); - if (isset($this->error_reporting)) { - $_smarty_old_error_level = error_reporting($this->error_reporting); - } - // check URL debugging control - if (!$this->debugging && $this->debugging_ctrl == 'URL') { - if (isset($_SERVER['QUERY_STRING'])) { - $_query_string = $_SERVER['QUERY_STRING']; - } else { - $_query_string = ''; - } - if (false !== strpos($_query_string, $this->smarty_debug_id)) { - if (false !== strpos($_query_string, $this->smarty_debug_id . '=on')) { - // enable debugging for this browser session - setcookie('SMARTY_DEBUG', true); - $this->debugging = true; - } elseif (false !== strpos($_query_string, $this->smarty_debug_id . '=off')) { - // disable debugging for this browser session - setcookie('SMARTY_DEBUG', false); - $this->debugging = false; - } else { - // enable debugging for this page - $this->debugging = true; - } - } else { - if (isset($_COOKIE['SMARTY_DEBUG'])) { - $this->debugging = true; - } - } - } - // obtain data for cache modified check - if ($this->cache_modified_check && $this->caching && $display) { - $_isCached = $_template->isCached() && !$_template->has_nocache_code; - if ($_isCached) { - $_gmt_mtime = gmdate('D, d M Y H:i:s', $_template->getCachedTimestamp()) . ' GMT'; - } else { - $_gmt_mtime = ''; - } - } - // return rendered template - if ((!$this->caching || $_template->resource_object->isEvaluated) && (isset($this->autoload_filters['output']) || isset($this->registered_filters['output']))) { - $_output = Smarty_Internal_Filter_Handler::runFilter('output', $_template->getRenderedTemplate(), $_template); - } else { - $_output = $_template->getRenderedTemplate(); - } - $_template->rendered_content = null; - if (isset($this->error_reporting)) { - error_reporting($_smarty_old_error_level); - } - // display or fetch - if ($display) { - if ($this->caching && $this->cache_modified_check) { - $_last_modified_date = @substr($_SERVER['HTTP_IF_MODIFIED_SINCE'], 0, strpos($_SERVER['HTTP_IF_MODIFIED_SINCE'], 'GMT') + 3); - if ($_isCached && $_gmt_mtime == $_last_modified_date) { - if (php_sapi_name() == 'cgi') - header('Status: 304 Not Modified'); - else - header('HTTP/1.1 304 Not Modified'); - } else { - header('Last-Modified: ' . gmdate('D, d M Y H:i:s', $_template->getCachedTimestamp()) . ' GMT'); - echo $_output; - } - } else { - echo $_output; - } - // debug output - if ($this->debugging) { - Smarty_Internal_Debug::display_debug($this); - } - return; - } else { - // return fetched content - return $_output; - } - } - - /** - * displays a Smarty template - * - * @param string $ |object $template the resource handle of the template file or template object - * @param mixed $cache_id cache id to be used with this template - * @param mixed $compile_id compile id to be used with this template - * @param object $parent next higher level of Smarty variables - */ - public function display($template, $cache_id = null, $compile_id = null, $parent = null) - { - // display template - $this->fetch ($template, $cache_id, $compile_id, $parent, true); - } - - /** - * test if cache i valid - * - * @param string $ |object $template the resource handle of the template file or template object - * @param mixed $cache_id cache id to be used with this template - * @param mixed $compile_id compile id to be used with this template - * @param object $parent next higher level of Smarty variables - * @return boolean cache status - */ - public function isCached($template, $cache_id = null, $compile_id = null, $parent = null) - { - if ($parent === null) { - $parent = $this; - } - if (!($template instanceof $this->template_class)) { - $template = $this->createTemplate ($template, $cache_id, $compile_id, $parent, false); - } - // return cache status of template - return $template->isCached(); - } - - /** - * creates a data object - * - * @param object $parent next higher level of Smarty variables - * @returns object data object - */ - public function createData($parent = null) - { - return new Smarty_Data($parent, $this); - } - - /** - * creates a template object - * - * @param string $template the resource handle of the template file - * @param mixed $cache_id cache id to be used with this template - * @param mixed $compile_id compile id to be used with this template - * @param object $parent next higher level of Smarty variables - * @param boolean $do_clone flag is Smarty object shall be cloned - * @returns object template object - */ - public function createTemplate($template, $cache_id = null, $compile_id = null, $parent = null, $do_clone = true) - { - if (!empty($cache_id) && (is_object($cache_id) || is_array($cache_id))) { - $parent = $cache_id; - $cache_id = null; - } - if (!empty($parent) && is_array($parent)) { - $data = $parent; - $parent = null; - } else { - $data = null; - } - if (!is_object($template)) { - // we got a template resource - // already in template cache? - $_templateId = sha1($template . $cache_id . $compile_id); - if (isset($this->template_objects[$_templateId]) && $this->caching) { - // return cached template object - $tpl = $this->template_objects[$_templateId]; - } else { - // create new template object - if ($do_clone) { - $tpl = new $this->template_class($template, clone $this, $parent, $cache_id, $compile_id); - } else { - $tpl = new $this->template_class($template, $this, $parent, $cache_id, $compile_id); - } - } - } else { - // just return a copy of template class - $tpl = $template; - } - // fill data if present - if (!empty($data) && is_array($data)) { - // set up variable values - foreach ($data as $_key => $_val) { - $tpl->tpl_vars[$_key] = new Smarty_variable($_val); - } - } - return $tpl; - } - - - - /** - * Check if a template resource exists - * - * @param string $resource_name template name - * @return boolean status - */ - function templateExists($resource_name) - { - // create template object - $save = $this->template_objects; - $tpl = new $this->template_class($resource_name, $this); - // check if it does exists - $result = $tpl->isExisting(); - $this->template_objects = $save; - return $result; - } - - /** - * Returns a single or all global variables - * - * @param object $smarty - * @param string $varname variable name or null - * @return string variable value or or array of variables - */ - function getGlobal($varname = null) - { - if (isset($varname)) { - if (isset(self::$global_tpl_vars[$varname])) { - return self::$global_tpl_vars[$varname]->value; - } else { - return ''; - } - } else { - $_result = array(); - foreach (self::$global_tpl_vars AS $key => $var) { - $_result[$key] = $var->value; - } - return $_result; - } - } - - /** - * Empty cache folder - * - * @param integer $exp_time expiration time - * @param string $type resource type - * @return integer number of cache files deleted - */ - function clearAllCache($exp_time = null, $type = null) - { - // load cache resource and call clearAll - return $this->loadCacheResource($type)->clearAll($exp_time); - } - - /** - * Empty cache for a specific template - * - * @param string $template_name template name - * @param string $cache_id cache id - * @param string $compile_id compile id - * @param integer $exp_time expiration time - * @param string $type resource type - * @return integer number of cache files deleted - */ - function clearCache($template_name, $cache_id = null, $compile_id = null, $exp_time = null, $type = null) - { - // load cache resource and call clear - return $this->loadCacheResource($type)->clear($template_name, $cache_id, $compile_id, $exp_time); - } - - /** - * Loads security class and enables security - */ - public function enableSecurity($security_class = null) - { - if ($security_class instanceof Smarty_Security) { - $this->security_policy = $security_class; - return; - } - if ($security_class == null) { - $security_class = $this->security_class; - } - if (class_exists($security_class)) { - $this->security_policy = new $security_class($this); - } else { - throw new SmartyException("Security class '$security_class' is not defined"); - } - } - - /** - * Disable security - */ - public function disableSecurity() - { - $this->security_policy = null; - } - - /** - * Loads cache resource. - * - * @param string $type cache resource type - * @return object of cache resource - */ - public function loadCacheResource($type = null) { - if (!isset($type)) { - $type = $this->caching_type; - } - if (in_array($type, $this->cache_resource_types)) { - $cache_resource_class = 'Smarty_Internal_CacheResource_' . ucfirst($type); - return new $cache_resource_class($this); - } - else { - // try plugins dir - $cache_resource_class = 'Smarty_CacheResource_' . ucfirst($type); - if ($this->loadPlugin($cache_resource_class)) { - return new $cache_resource_class($this); - } - else { - throw new SmartyException("Unable to load cache resource '{$type}'"); - } - } - } - - - /** - * Set template directory - * - * @param string $ |array $template_dir folder(s) of template sorces - */ - public function setTemplateDir($template_dir) - { - $this->template_dir = (array)$template_dir; - return; - } - - /** - * Adds template directory(s) to existing ones - * - * @param string $ |array $template_dir folder(s) of template sources - */ - public function addTemplateDir($template_dir) - { - $this->template_dir = array_unique(array_merge((array)$this->template_dir, (array)$template_dir)); - return; - } - - /** - * Adds directory of plugin files - * - * @param object $smarty - * @param string $ |array $ plugins folder - * @return - */ - function addPluginsDir($plugins_dir) - { - $this->plugins_dir = array_unique(array_merge((array)$this->plugins_dir, (array)$plugins_dir)); - return; - } - - - /** - * return a reference to a registered object - * - * @param string $name object name - * @return object - */ - function getRegisteredObject($name) - { - if (!isset($this->registered_objects[$name])) - throw new SmartyException("'$name' is not a registered object"); - - if (!is_object($this->registered_objects[$name][0])) - throw new SmartyException("registered '$name' is not an object"); - - return $this->registered_objects[$name][0]; - } - - - /** - * return name of debugging template - * - * @return string - */ - function getDebugTemplate() - { - return $this->debug_tpl; - } - - /** - * set the debug template - * - * @param string $tpl_name - * @return bool - */ - function setDebugTemplate($tpl_name) - { - return $this->debug_tpl = $tpl_name; - } - - /** - * Takes unknown classes and loads plugin files for them - * class name format: Smarty_PluginType_PluginName - * plugin filename format: plugintype.pluginname.php - * - * @param string $plugin_name class plugin name to load - * @return string |boolean filepath of loaded file or false - */ - public function loadPlugin($plugin_name, $check = true) - { - // if function or class exists, exit silently (already loaded) - if ($check && (is_callable($plugin_name) || class_exists($plugin_name, false))) - return true; - // Plugin name is expected to be: Smarty_[Type]_[Name] - $_plugin_name = strtolower($plugin_name); - $_name_parts = explode('_', $_plugin_name, 3); - // class name must have three parts to be valid plugin - if (count($_name_parts) < 3 || $_name_parts[0] !== 'smarty') { - throw new SmartyException("plugin {$plugin_name} is not a valid name format"); - return false; - } - // if type is "internal", get plugin from sysplugins - if ($_name_parts[1] == 'internal') { - $file = SMARTY_SYSPLUGINS_DIR . $_plugin_name . '.php'; - if (file_exists($file)) { - require_once($file); - return $file; - } else { - return false; - } - } - // plugin filename is expected to be: [type].[name].php - $_plugin_filename = "{$_name_parts[1]}.{$_name_parts[2]}.php"; - // loop through plugin dirs and find the plugin - foreach((array)$this->plugins_dir as $_plugin_dir) { - if (strpos('/\\', substr($_plugin_dir, -1)) === false) { - $_plugin_dir .= DS; - } - $file = $_plugin_dir . $_plugin_filename; - if (file_exists($file)) { - require_once($file); - return $file; - } - } - // no plugin loaded - return false; - } - - /** - * clean up properties on cloned object - */ - public function __clone() - { - // clear config vars - $this->config_vars = array(); - // clear assigned tpl vars - $this->tpl_vars = array(); - // clear objects for external methods - unset($this->register); - unset($this->filter); - } - - - /** - * Handle unknown class methods - * - * @param string $name unknown methode name - * @param array $args aurgument array - */ - public function __call($name, $args) - { - static $camel_func; - if (!isset($camel_func)) - $camel_func = create_function('$c', 'return "_" . strtolower($c[1]);'); - // see if this is a set/get for a property - $first3 = strtolower(substr($name, 0, 3)); - if (in_array($first3, array('set', 'get')) && substr($name, 3, 1) !== '_') { - // try to keep case correct for future PHP 6.0 case-sensitive class methods - // lcfirst() not available < PHP 5.3.0, so improvise - $property_name = strtolower(substr($name, 3, 1)) . substr($name, 4); - // convert camel case to underscored name - $property_name = preg_replace_callback('/([A-Z])/', $camel_func, $property_name); - if (!property_exists($this, $property_name)) { - throw new SmartyException("property '$property_name' does not exist."); - return false; - } - if ($first3 == 'get') - return $this->$property_name; - else - return $this->$property_name = $args[0]; - } - // Smarty Backward Compatible wrapper - if (strpos($name,'_') !== false) { - if (!isset($this->wrapper)) { - $this->wrapper = new Smarty_Internal_Wrapper($this); - } - return $this->wrapper->convert($name, $args); - } - // external Smarty methods ? - foreach(array('filter','register') as $external) { - /* PrestaShop */ - if ((PHP_VERSION_ID <= 50100 AND is_callable(array("Smarty_Internal_{$external}", $name))) OR method_exists("Smarty_Internal_{$external}",$name)) { - if (!isset($this->$external)) { - $class = "Smarty_Internal_{$external}"; - $this->$external = new $class($this); - } - return call_user_func_array(array($this->$external,$name), $args); - } - /* End */ - } - if (in_array($name,array('clearCompiledTemplate','compileAllTemplates','compileAllConfig','testInstall','getTags'))) { - if (!isset($this->utility)) { - $this->utility = new Smarty_Internal_Utility($this); - } - return call_user_func_array(array($this->utility,$name), $args); - } - // PHP4 call to constructor? - if (strtolower($name) == 'smarty') { - throw new SmartyException('Please use parent::__construct() to call parent constuctor'); - return false; - } - throw new SmartyException("Call of unknown function '$name'."); - } -} - -/** - * Autoloader - */ -function smartyAutoload($class) -{ - $_class = strtolower($class); - /* PrestaShop */ - if (substr($_class, 0, 16) === 'smarty_internal_' || $_class == 'smarty_security' && file_exists(SMARTY_SYSPLUGINS_DIR.$_class.'.php')) { - include SMARTY_SYSPLUGINS_DIR . $_class . '.php'; - return true; - } - return false; - /* End */ -} - -/** - * Smarty exception class - */ -Class SmartyException extends Exception { -} - -/** - * Smarty compiler exception class - */ -Class SmartyCompilerException extends SmartyException { -} - -?> diff --git a/tools/smarty/cache/index.php b/tools/smarty/cache/index.php deleted file mode 100644 index 15aba8204..000000000 --- a/tools/smarty/cache/index.php +++ /dev/null @@ -1,11 +0,0 @@ - - - - Smarty Debug Console - - - - -

      Smarty Debug Console - {if isset($template_name)}{$template_name|debug_print_var}{else}Total Time {$execution_time|string_format:"%.5f"}{/if}

      - -{if !empty($template_data)} -

      included templates & config files (load time in seconds)

      - -
      -{foreach $template_data as $template} - {$template.name} - - (compile {$template['compile_time']|string_format:"%.5f"}) (render {$template['render_time']|string_format:"%.5f"}) (cache {$template['cache_time']|string_format:"%.5f"}) - -
      -{/foreach} -
      -{/if} - -

      assigned template variables

      - - - {foreach $assigned_vars as $vars} - - - - {/foreach} -
      ${$vars@key|escape:'html'}{$vars|debug_print_var}
      - -

      assigned config file variables (outer template scope)

      - - - {foreach $config_vars as $vars} - - - - {/foreach} - -
      {$vars@key|escape:'html'}{$vars|debug_print_var}
      - - -{/capture} - diff --git a/tools/smarty/plugins/block.php.php b/tools/smarty/plugins/block.php.php deleted file mode 100644 index 8fedd8b43..000000000 --- a/tools/smarty/plugins/block.php.php +++ /dev/null @@ -1,27 +0,0 @@ -allow_php_tag) { - throw new SmartyException("{php} is deprecated, set allow_php_tag = true to enable"); - } - eval($content); - return ''; -} - -?> \ No newline at end of file diff --git a/tools/smarty/plugins/block.textformat.php b/tools/smarty/plugins/block.textformat.php deleted file mode 100644 index 517fd62dd..000000000 --- a/tools/smarty/plugins/block.textformat.php +++ /dev/null @@ -1,102 +0,0 @@ - - * Name: textformat
      - * Purpose: format text a certain way with preset styles - * or custom wrap/indent settings
      - * - * @link http://smarty.php.net/manual/en/language.function.textformat.php {textformat} - * (Smarty online manual) - * @param array $params parameters - *
      - * Params:   style: string (email)
      - *            indent: integer (0)
      - *            wrap: integer (80)
      - *            wrap_char string ("\n")
      - *            indent_char: string (" ")
      - *            wrap_boundary: boolean (true)
      - * 
      - * @author Monte Ohrt - * @param string $content contents of the block - * @param object $template template object - * @param boolean &$repeat repeat flag - * @return string content re-formatted - */ -function smarty_block_textformat($params, $content, $template, &$repeat) -{ - if (is_null($content)) { - return; - } - - $style = null; - $indent = 0; - $indent_first = 0; - $indent_char = ' '; - $wrap = 80; - $wrap_char = "\n"; - $wrap_cut = false; - $assign = null; - - foreach ($params as $_key => $_val) { - switch ($_key) { - case 'style': - case 'indent_char': - case 'wrap_char': - case 'assign': - $$_key = (string)$_val; - break; - - case 'indent': - case 'indent_first': - case 'wrap': - $$_key = (int)$_val; - break; - - case 'wrap_cut': - $$_key = (bool)$_val; - break; - - default: - trigger_error("textformat: unknown attribute '$_key'"); - } - } - - if ($style == 'email') { - $wrap = 72; - } - // split into paragraphs - $_paragraphs = preg_split('![\r\n][\r\n]!', $content); - $_output = ''; - - for($_x = 0, $_y = count($_paragraphs); $_x < $_y; $_x++) { - if ($_paragraphs[$_x] == '') { - continue; - } - // convert mult. spaces & special chars to single space - $_paragraphs[$_x] = preg_replace(array('!\s+!', '!(^\s+)|(\s+$)!'), array(' ', ''), $_paragraphs[$_x]); - // indent first line - if ($indent_first > 0) { - $_paragraphs[$_x] = str_repeat($indent_char, $indent_first) . $_paragraphs[$_x]; - } - // wordwrap sentences - $_paragraphs[$_x] = wordwrap($_paragraphs[$_x], $wrap - $indent, $wrap_char, $wrap_cut); - // indent lines - if ($indent > 0) { - $_paragraphs[$_x] = preg_replace('!^!m', str_repeat($indent_char, $indent), $_paragraphs[$_x]); - } - } - $_output = implode($wrap_char . $wrap_char, $_paragraphs); - - return $assign ? $template->assign($assign, $_output) : $_output; -} - -?> \ No newline at end of file diff --git a/tools/smarty/plugins/function.counter.php b/tools/smarty/plugins/function.counter.php deleted file mode 100644 index 7c50bd44b..000000000 --- a/tools/smarty/plugins/function.counter.php +++ /dev/null @@ -1,78 +0,0 @@ - - * Name: counter
      - * Purpose: print out a counter value - * @author Monte Ohrt - * @link http://smarty.php.net/manual/en/language.function.counter.php {counter} - * (Smarty online manual) - * @param array parameters - * @param Smarty - * @param object $template template object - * @return string|null - */ -function smarty_function_counter($params, $template) -{ - static $counters = array(); - - $name = (isset($params['name'])) ? $params['name'] : 'default'; - if (!isset($counters[$name])) { - $counters[$name] = array( - 'start'=>1, - 'skip'=>1, - 'direction'=>'up', - 'count'=>1 - ); - } - $counter =& $counters[$name]; - - if (isset($params['start'])) { - $counter['start'] = $counter['count'] = (int)$params['start']; - } - - if (!empty($params['assign'])) { - $counter['assign'] = $params['assign']; - } - - if (isset($counter['assign'])) { - $template->assign($counter['assign'], $counter['count']); - } - - if (isset($params['print'])) { - $print = (bool)$params['print']; - } else { - $print = empty($counter['assign']); - } - - if ($print) { - $retval = $counter['count']; - } else { - $retval = null; - } - - if (isset($params['skip'])) { - $counter['skip'] = $params['skip']; - } - - if (isset($params['direction'])) { - $counter['direction'] = $params['direction']; - } - - if ($counter['direction'] == "down") - $counter['count'] -= $counter['skip']; - else - $counter['count'] += $counter['skip']; - - return $retval; - -} - -?> \ No newline at end of file diff --git a/tools/smarty/plugins/function.cycle.php b/tools/smarty/plugins/function.cycle.php deleted file mode 100644 index 98e3e2878..000000000 --- a/tools/smarty/plugins/function.cycle.php +++ /dev/null @@ -1,106 +0,0 @@ - - * Name: cycle
      - * Date: May 3, 2002
      - * Purpose: cycle through given values
      - * Input: - * - name = name of cycle (optional) - * - values = comma separated list of values to cycle, - * or an array of values to cycle - * (this can be left out for subsequent calls) - * - reset = boolean - resets given var to true - * - print = boolean - print var or not. default is true - * - advance = boolean - whether or not to advance the cycle - * - delimiter = the value delimiter, default is "," - * - assign = boolean, assigns to template var instead of - * printed. - * - * Examples:
      - *
      - * {cycle values="#eeeeee,#d0d0d0d"}
      - * {cycle name=row values="one,two,three" reset=true}
      - * {cycle name=row}
      - * 
      - * @link http://smarty.php.net/manual/en/language.function.cycle.php {cycle} - * (Smarty online manual) - * @author Monte Ohrt - * @author credit to Mark Priatel - * @author credit to Gerard - * @author credit to Jason Sweat - * @version 1.3 - * @param array - * @param object $template template object - * @return string|null - */ - -function smarty_function_cycle($params, $template) -{ - static $cycle_vars; - - $name = (empty($params['name'])) ? 'default' : $params['name']; - $print = (isset($params['print'])) ? (bool)$params['print'] : true; - $advance = (isset($params['advance'])) ? (bool)$params['advance'] : true; - $reset = (isset($params['reset'])) ? (bool)$params['reset'] : false; - - if (!in_array('values', array_keys($params))) { - if(!isset($cycle_vars[$name]['values'])) { - trigger_error("cycle: missing 'values' parameter"); - return; - } - } else { - if(isset($cycle_vars[$name]['values']) - && $cycle_vars[$name]['values'] != $params['values'] ) { - $cycle_vars[$name]['index'] = 0; - } - $cycle_vars[$name]['values'] = $params['values']; - } - - if (isset($params['delimiter'])) { - $cycle_vars[$name]['delimiter'] = $params['delimiter']; - } elseif (!isset($cycle_vars[$name]['delimiter'])) { - $cycle_vars[$name]['delimiter'] = ','; - } - - if(is_array($cycle_vars[$name]['values'])) { - $cycle_array = $cycle_vars[$name]['values']; - } else { - $cycle_array = explode($cycle_vars[$name]['delimiter'],$cycle_vars[$name]['values']); - } - - if(!isset($cycle_vars[$name]['index']) || $reset ) { - $cycle_vars[$name]['index'] = 0; - } - - if (isset($params['assign'])) { - $print = false; - $template->assign($params['assign'], $cycle_array[$cycle_vars[$name]['index']]); - } - - if($print) { - $retval = $cycle_array[$cycle_vars[$name]['index']]; - } else { - $retval = null; - } - - if($advance) { - if ( $cycle_vars[$name]['index'] >= count($cycle_array) -1 ) { - $cycle_vars[$name]['index'] = 0; - } else { - $cycle_vars[$name]['index']++; - } - } - - return $retval; -} - -?> \ No newline at end of file diff --git a/tools/smarty/plugins/function.fetch.php b/tools/smarty/plugins/function.fetch.php deleted file mode 100644 index 2b09fb947..000000000 --- a/tools/smarty/plugins/function.fetch.php +++ /dev/null @@ -1,216 +0,0 @@ - - * Name: fetch
      - * Purpose: fetch file, web or ftp data and display results - * @link http://smarty.php.net/manual/en/language.function.fetch.php {fetch} - * (Smarty online manual) - * @author Monte Ohrt - * @param array $params parameters - * @param object $template template object - * @return string|null if the assign parameter is passed, Smarty assigns the - * result to a template variable - */ -function smarty_function_fetch($params, $template) -{ - if (empty($params['file'])) { - trigger_error("[plugin] fetch parameter 'file' cannot be empty",E_USER_NOTICE); - return; - } - - $content = ''; - if (isset($template->security_policy) && !preg_match('!^(http|ftp)://!i', $params['file'])) { - if(!$template->security_policy->isTrustedResourceDir($params['file'])) { - return; - } - - // fetch the file - if($fp = @fopen($params['file'],'r')) { - while(!feof($fp)) { - $content .= fgets ($fp,4096); - } - fclose($fp); - } else { - trigger_error('[plugin] fetch cannot read file \'' . $params['file'] . '\'',E_USER_NOTICE); - return; - } - } else { - // not a local file - if(preg_match('!^http://!i',$params['file'])) { - // http fetch - if($uri_parts = parse_url($params['file'])) { - // set defaults - $host = $server_name = $uri_parts['host']; - $timeout = 30; - $accept = "image/gif, image/x-xbitmap, image/jpeg, image/pjpeg, */*"; - $agent = "Smarty Template Engine ".$template->_version; - $referer = ""; - $uri = !empty($uri_parts['path']) ? $uri_parts['path'] : '/'; - $uri .= !empty($uri_parts['query']) ? '?' . $uri_parts['query'] : ''; - $_is_proxy = false; - if(empty($uri_parts['port'])) { - $port = 80; - } else { - $port = $uri_parts['port']; - } - if(!empty($uri_parts['user'])) { - $user = $uri_parts['user']; - } - if(!empty($uri_parts['pass'])) { - $pass = $uri_parts['pass']; - } - // loop through parameters, setup headers - foreach($params as $param_key => $param_value) { - switch($param_key) { - case "file": - case "assign": - case "assign_headers": - break; - case "user": - if(!empty($param_value)) { - $user = $param_value; - } - break; - case "pass": - if(!empty($param_value)) { - $pass = $param_value; - } - break; - case "accept": - if(!empty($param_value)) { - $accept = $param_value; - } - break; - case "header": - if(!empty($param_value)) { - if(!preg_match('![\w\d-]+: .+!',$param_value)) { - trigger_error("[plugin] invalid header format '".$param_value."'",E_USER_NOTICE); - return; - } else { - $extra_headers[] = $param_value; - } - } - break; - case "proxy_host": - if(!empty($param_value)) { - $proxy_host = $param_value; - } - break; - case "proxy_port": - if(!preg_match('!\D!', $param_value)) { - $proxy_port = (int) $param_value; - } else { - trigger_error("[plugin] invalid value for attribute '".$param_key."'",E_USER_NOTICE); - return; - } - break; - case "agent": - if(!empty($param_value)) { - $agent = $param_value; - } - break; - case "referer": - if(!empty($param_value)) { - $referer = $param_value; - } - break; - case "timeout": - if(!preg_match('!\D!', $param_value)) { - $timeout = (int) $param_value; - } else { - trigger_error("[plugin] invalid value for attribute '".$param_key."'",E_USER_NOTICE); - return; - } - break; - default: - trigger_error("[plugin] unrecognized attribute '".$param_key."'",E_USER_NOTICE); - return; - } - } - if(!empty($proxy_host) && !empty($proxy_port)) { - $_is_proxy = true; - $fp = fsockopen($proxy_host,$proxy_port,$errno,$errstr,$timeout); - } else { - $fp = fsockopen($server_name,$port,$errno,$errstr,$timeout); - } - - if(!$fp) { - trigger_error("[plugin] unable to fetch: $errstr ($errno)",E_USER_NOTICE); - return; - } else { - if($_is_proxy) { - fputs($fp, 'GET ' . $params['file'] . " HTTP/1.0\r\n"); - } else { - fputs($fp, "GET $uri HTTP/1.0\r\n"); - } - if(!empty($host)) { - fputs($fp, "Host: $host\r\n"); - } - if(!empty($accept)) { - fputs($fp, "Accept: $accept\r\n"); - } - if(!empty($agent)) { - fputs($fp, "User-Agent: $agent\r\n"); - } - if(!empty($referer)) { - fputs($fp, "Referer: $referer\r\n"); - } - if(isset($extra_headers) && is_array($extra_headers)) { - foreach($extra_headers as $curr_header) { - fputs($fp, $curr_header."\r\n"); - } - } - if(!empty($user) && !empty($pass)) { - fputs($fp, "Authorization: BASIC ".base64_encode("$user:$pass")."\r\n"); - } - - fputs($fp, "\r\n"); - while(!feof($fp)) { - $content .= fgets($fp,4096); - } - fclose($fp); - $csplit = preg_split("!\r\n\r\n!",$content,2); - - $content = $csplit[1]; - - if(!empty($params['assign_headers'])) { - $template->assign($params['assign_headers'],preg_split("!\r\n!",$csplit[0])); - } - } - } else { - trigger_error("[plugin fetch] unable to parse URL, check syntax",E_USER_NOTICE); - return; - } - } else { - // ftp fetch - if($fp = @fopen($params['file'],'r')) { - while(!feof($fp)) { - $content .= fgets ($fp,4096); - } - fclose($fp); - } else { - trigger_error('[plugin] fetch cannot read file \'' . $params['file'] .'\'',E_USER_NOTICE); - return; - } - } - - } - - - if (!empty($params['assign'])) { - $template->assign($params['assign'],$content); - } else { - return $content; - } -} - -?> \ No newline at end of file diff --git a/tools/smarty/plugins/function.html_checkboxes.php b/tools/smarty/plugins/function.html_checkboxes.php deleted file mode 100644 index 6a1a3ffdc..000000000 --- a/tools/smarty/plugins/function.html_checkboxes.php +++ /dev/null @@ -1,143 +0,0 @@ - - * Type: function
      - * Name: html_checkboxes
      - * Date: 24.Feb.2003
      - * Purpose: Prints out a list of checkbox input types
      - * Examples: - *
      - * {html_checkboxes values=$ids output=$names}
      - * {html_checkboxes values=$ids name='box' separator='
      ' output=$names} - * {html_checkboxes values=$ids checked=$checked separator='
      ' output=$names} - *
      - * @link http://smarty.php.net/manual/en/language.function.html.checkboxes.php {html_checkboxes} - * (Smarty online manual) - * @author Christopher Kvarme - * @author credits to Monte Ohrt - * @version 1.0 - * @param array $params parameters - * Input:
      - * - name (optional) - string default "checkbox" - * - values (required) - array - * - options (optional) - associative array - * - checked (optional) - array default not set - * - separator (optional) - ie
      or   - * - output (optional) - the output next to each checkbox - * - assign (optional) - assign the output as an array to this variable - * @param object $template template object - * @return string - * @uses smarty_function_escape_special_chars() - */ -function smarty_function_html_checkboxes($params, $template) -{ - require_once(SMARTY_PLUGINS_DIR . 'shared.escape_special_chars.php'); - - $name = 'checkbox'; - $values = null; - $options = null; - $selected = null; - $separator = ''; - $labels = true; - $output = null; - - $extra = ''; - - foreach($params as $_key => $_val) { - switch($_key) { - case 'name': - case 'separator': - $$_key = $_val; - break; - - case 'labels': - $$_key = (bool)$_val; - break; - - case 'options': - $$_key = (array)$_val; - break; - - case 'values': - case 'output': - $$_key = array_values((array)$_val); - break; - - case 'checked': - case 'selected': - $selected = array_map('strval', array_values((array)$_val)); - break; - - case 'checkboxes': - trigger_error('html_checkboxes: the use of the "checkboxes" attribute is deprecated, use "options" instead', E_USER_WARNING); - $options = (array)$_val; - break; - - case 'assign': - break; - - default: - if(!is_array($_val)) { - $extra .= ' '.$_key.'="'.smarty_function_escape_special_chars($_val).'"'; - } else { - trigger_error("html_checkboxes: extra attribute '$_key' cannot be an array", E_USER_NOTICE); - } - break; - } - } - - if (!isset($options) && !isset($values)) - return ''; /* raise error here? */ - - settype($selected, 'array'); - $_html_result = array(); - - if (isset($options)) { - - foreach ($options as $_key=>$_val) - $_html_result[] = smarty_function_html_checkboxes_output($name, $_key, $_val, $selected, $extra, $separator, $labels); - - - } else { - foreach ($values as $_i=>$_key) { - $_val = isset($output[$_i]) ? $output[$_i] : ''; - $_html_result[] = smarty_function_html_checkboxes_output($name, $_key, $_val, $selected, $extra, $separator, $labels); - } - - } - - if(!empty($params['assign'])) { - $template->assign($params['assign'], $_html_result); - } else { - return implode("\n",$_html_result); - } - -} - -function smarty_function_html_checkboxes_output($name, $value, $output, $selected, $extra, $separator, $labels) { - $_output = ''; - if ($labels) $_output .= ''; - $_output .= $separator; - - return $_output; -} - -?> \ No newline at end of file diff --git a/tools/smarty/plugins/function.html_image.php b/tools/smarty/plugins/function.html_image.php deleted file mode 100644 index abb7b5789..000000000 --- a/tools/smarty/plugins/function.html_image.php +++ /dev/null @@ -1,137 +0,0 @@ - - * Name: html_image
      - * Date: Feb 24, 2003
      - * Purpose: format HTML tags for the image
      - * Examples: {html_image file="/images/masthead.gif"} - * Output: - * - * @link http://smarty.php.net/manual/en/language.function.html.image.php {html_image} - * (Smarty online manual) - * @author Monte Ohrt - * @author credits to Duda - * @version 1.0 - * @param array $params parameters - * Input:
      - * - file = file (and path) of image (required) - * - height = image height (optional, default actual height) - * - width = image width (optional, default actual width) - * - basedir = base directory for absolute paths, default - * is environment variable DOCUMENT_ROOT - * - path_prefix = prefix for path output (optional, default empty) - * @param object $template template object - * @return string - * @uses smarty_function_escape_special_chars() - */ -function smarty_function_html_image($params, $template) -{ - require_once(SMARTY_PLUGINS_DIR . 'shared.escape_special_chars.php'); - - $alt = ''; - $file = ''; - $height = ''; - $width = ''; - $extra = ''; - $prefix = ''; - $suffix = ''; - $path_prefix = ''; - $server_vars = $_SERVER; - $basedir = isset($server_vars['DOCUMENT_ROOT']) ? $server_vars['DOCUMENT_ROOT'] : ''; - foreach($params as $_key => $_val) { - switch ($_key) { - case 'file': - case 'height': - case 'width': - case 'dpi': - case 'path_prefix': - case 'basedir': - $$_key = $_val; - break; - - case 'alt': - if (!is_array($_val)) { - $$_key = smarty_function_escape_special_chars($_val); - } else { - throw new SmartyException ("html_image: extra attribute '$_key' cannot be an array", E_USER_NOTICE); - } - break; - - case 'link': - case 'href': - $prefix = ''; - $suffix = ''; - break; - - default: - if (!is_array($_val)) { - $extra .= ' ' . $_key . '="' . smarty_function_escape_special_chars($_val) . '"'; - } else { - throw new SmartyException ("html_image: extra attribute '$_key' cannot be an array", E_USER_NOTICE); - } - break; - } - } - - if (empty($file)) { - trigger_error("html_image: missing 'file' parameter", E_USER_NOTICE); - return; - } - - if (substr($file, 0, 1) == '/') { - $_image_path = $basedir . $file; - } else { - $_image_path = $file; - } - - if (!isset($params['width']) || !isset($params['height'])) { - if (!$_image_data = @getimagesize($_image_path)) { - if (!file_exists($_image_path)) { - trigger_error("html_image: unable to find '$_image_path'", E_USER_NOTICE); - return; - } else if (!is_readable($_image_path)) { - trigger_error("html_image: unable to read '$_image_path'", E_USER_NOTICE); - return; - } else { - trigger_error("html_image: '$_image_path' is not a valid image file", E_USER_NOTICE); - return; - } - } - if (isset($template->security_policy)) { - if (!$template->security_policy->isTrustedResourceDir($_image_path)) { - return; - } - } - - if (!isset($params['width'])) { - $width = $_image_data[0]; - } - if (!isset($params['height'])) { - $height = $_image_data[1]; - } - } - - if (isset($params['dpi'])) { - if (strstr($server_vars['HTTP_USER_AGENT'], 'Mac')) { - $dpi_default = 72; - } else { - $dpi_default = 96; - } - $_resize = $dpi_default / $params['dpi']; - $width = round($width * $_resize); - $height = round($height * $_resize); - } - - return $prefix . '' . $alt . '' . $suffix; -} - -?> \ No newline at end of file diff --git a/tools/smarty/plugins/function.html_options.php b/tools/smarty/plugins/function.html_options.php deleted file mode 100644 index 7ac039028..000000000 --- a/tools/smarty/plugins/function.html_options.php +++ /dev/null @@ -1,133 +0,0 @@ - - * Name: html_options
      - * Purpose: Prints the list of